@designcrowd/library.brand-page 5.16.44 → 5.16.45

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.
Files changed (47) hide show
  1. package/lib/src/{CreatedOnBrandCrowd-de-de-TuSRObJQ.js → CreatedOnBrandCrowd-de-de-C7sXkIBb.js} +1 -1
  2. package/lib/src/{CreatedOnBrandCrowd-en-us-BX3P38jt.js → CreatedOnBrandCrowd-en-us-DhtnVceC.js} +1 -1
  3. package/lib/src/{CreatedOnBrandCrowd-es-es-CwpQMqO0.js → CreatedOnBrandCrowd-es-es-BptLAnJw.js} +1 -1
  4. package/lib/src/{CreatedOnBrandCrowd-fr-fr-C4u38Ym4.js → CreatedOnBrandCrowd-fr-ca-Dhd8PVKw.js} +1 -1
  5. package/lib/src/{CreatedOnBrandCrowd-fr-ca-C4u38Ym4.js → CreatedOnBrandCrowd-fr-fr-Dhd8PVKw.js} +1 -1
  6. package/lib/src/{CreatedOnBrandCrowd-pt-pt-B4-ro8pc.js → CreatedOnBrandCrowd-pt-br-X5oQu67A.js} +1 -1
  7. package/lib/src/{CreatedOnBrandCrowd-pt-br-B4-ro8pc.js → CreatedOnBrandCrowd-pt-pt-X5oQu67A.js} +1 -1
  8. package/lib/src/{CreatedOnDcom-de-de-Cl4pKvXX.js → CreatedOnDcom-de-de-D_2wZOXC.js} +1 -1
  9. package/lib/src/{CreatedOnDcom-en-us--Zj-GmSd.js → CreatedOnDcom-en-us-DYWjuLNy.js} +1 -1
  10. package/lib/src/{CreatedOnDcom-es-es-D7Kogzlt.js → CreatedOnDcom-es-es-DNcNR11_.js} +1 -1
  11. package/lib/src/{CreatedOnDcom-fr-ca-Br2Jrkb3.js → CreatedOnDcom-fr-ca-DqK95jxt.js} +1 -1
  12. package/lib/src/{CreatedOnDcom-fr-fr-CrO42IpU.js → CreatedOnDcom-fr-fr-CAaFVidi.js} +1 -1
  13. package/lib/src/{CreatedOnDcom-pt-br-ClEMPT95.js → CreatedOnDcom-pt-br-80W59bFj.js} +1 -1
  14. package/lib/src/{CreatedOnDcom-pt-pt-sYoiCgDC.js → CreatedOnDcom-pt-pt-BTELqfP0.js} +1 -1
  15. package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +2 -0
  16. package/lib/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.js +2 -0
  17. package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +2 -0
  18. package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +2 -0
  19. package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +2 -0
  20. package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +2 -0
  21. package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +2 -0
  22. package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +2 -0
  23. package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +2 -0
  24. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +3 -0
  25. package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +2 -0
  26. package/lib/src/brand-page-maker/stores/user/user-store.js +1 -0
  27. package/lib/src/clients/ai-assistant-client.d.ts +113 -0
  28. package/lib/src/clients/ai-assistant-client.js +117 -0
  29. package/lib/src/constants/ui.d.ts +1 -0
  30. package/lib/src/index.mjs +1 -1
  31. package/lib/src/{lib-pLG4c-nD.js → lib-xn7dUNvb.js} +109 -105
  32. package/lib/src/shared/content-settings/components/content-settings/ContentSettings.stories.js +1 -0
  33. package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +2 -0
  34. package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +2 -0
  35. package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +3 -0
  36. package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +2 -0
  37. package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +2 -0
  38. package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +2 -0
  39. package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +2 -0
  40. package/package.json +2 -2
  41. package/src/brand-page-maker/components/brand-page-maker/__fixtures__/brand-page-examples.ts +2 -0
  42. package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +3 -0
  43. package/src/brand-page-maker/stores/user/user-store.ts +1 -0
  44. package/src/clients/ai-assistant-client.ts +268 -0
  45. package/src/constants/ui.ts +1 -0
  46. package/src/shared/content-settings/components/content-settings/ContentSettings.stories.ts +1 -0
  47. package/src/shared/content-settings/components/generate-ai-button/GenerateAiButton.vue +7 -1
@@ -23240,7 +23240,7 @@ const Wh = /* @__PURE__ */ v(AC1, [["render", BC1], ["__scopeId", "data-v-4cd691
23240
23240
  }, N6 = (e) => ee(`model.${e}`), he = (e) => ee(`common.${e}`), NL = (e) => ee(`actionBar.${e}`), $6 = (e) => ee(`brandPageSettings.${e}`), UC1 = (e) => ee(`colorPalette.${e}`), RL = (e) => ee(`navigation.${e}`), T2 = (e) => ee(`converter.${e}`), w3 = (e) => ee(`backgroundSettings.${e}`), yp = (e) => ee(`colorPicker.${e}`), ZC1 = (e) => ee(`colorReplacementField.${e}`), $ = (e) => ee(`contentSettings.${e}`), X0 = (e) => ee(`formFields.${e}`), zC1 = (e) => ee(`genericTextInput.${e}`), qC1 = (e) => ee(`imagesField.${e}`), GC1 = (e) => ee(`linksField.${e}`), N5 = (e) => ee(`paymentConfig.${e}`), WC1 = (e) => ee(`shapeField.${e}`), jC1 = (e) => ee(`testimonialItemsField.${e}`), KC1 = (e) => ee(`textField.${e}`), Z2 = (e) => ee(`textImageField.${e}`), YC1 = (e) => ee(`textItemsField.${e}`), cn = (e) => ee(`textStyleField.${e}`), XC1 = (e) => ee(`textAreaField.${e}`), JC1 = (e) => ee(`bookingUrlField.${e}`), QC1 = (e) => ee(`productConfigOption.${e}`), wp = (e) => ee(`editLogoSettings.${e}`), FL = (e, t = {}) => ee(`myUploadSettings.${e}`, t), vn = (e) => ee(`pageSettings.${e}`), T4 = (e) => ee(`templateSettings.${e}`), Y3 = (e) => ee(`seoSettings.${e}`), O2 = (e) => ee(`styleSettingsSection.${e}`), O8 = (e, t = {}) => ee(`saveContactSettings.${e}`, t), kc = (e) => ee(`sensitiveContentSettings.${e}`), bp = (e) => ee(`socialShare.${e}`), Tc = (e) => ee(`cookieSettings.${e}`), l4 = (e) => ee(`googleAnalytics.${e}`), Lc = (e) => ee(`colorField.${e}`), V6 = (e) => ee(`validator.${e}`), E3 = (e) => ee(`constants.${e}`), Ry = (e) => ee(`layoutSwitcher.${e}`), ep1 = (e) => ee(`brandpageBackgroundSettings.${e}`), Fy = (e) => ee(`loginMessage.${e}`), Uy = (e) => ee(`cookie.${e}`), Mo = (e) => ee(`logoSelectionSettings.${e}`), tp1 = (e) => ee(`googleAddressField.${e}`), np1 = (e) => ee(`myDesigns.${e}`), Sn = (e) => ee(`pageSettings.${e}`), Vc = (e) => ee(`shapeLibrary.${e}`), ot = (e, t = {}) => ee(`error.${e}`, t), f8 = (e) => ee(`dropzoneUploader.${e}`), ko = (e) => ee(`shop.${e}`), O9 = (e, t = {}) => ee(`payment.${e}`, t), g8 = (e, t = {}) => ee(`publishBrandPageModalWithState.${e}`, t), ip1 = (e) => ee(`existingDomainModal.${e}`), J0 = (e) => ee(`uploadLogoModal.${e}`), d4 = (e, t = {}) => ee(`sensitiveContentModal.${e}`, t, !0), vp = (e) => ee(`quickLinkBar.${e}`), To = (e, t = {}) => ee(`brandPageFooter.${e}`, t), b2 = (e) => ee(`product.${e}`), op1 = (e) => ee(`image.${e}`), Zy = (e) => ee(`map.${e}`), zy = (e) => ee(`imagesSection.${e}`), Nl = (e) => ee(`imageGallery.${e}`), sp1 = (e) => ee(`newPageModal.${e}`), Hc = (e, t = {}) => ee(`personalisationOverride.${e}`, t), m8 = (e, t = {}) => ee(`paymentModal.${e}`, t), rp1 = (e, t = {}) => ee(`mailingList.${e}`, t), ap1 = (e, t = {}) => ee(`deletePageModal.${e}`, t), y8 = (e, t = {}) => ee(`deleteDomainModal.${e}`, t), UL = (e, t = {}) => ee(`requestPaymentStripe.${e}`, t), r7 = (e, t = {}) => ee(`productDetailModal.${e}`, t), lp1 = (e, t = {}) => ee(`video.${e}`, t), dp1 = (e, t = {}) => ee(`confirmModal.${e}`, t), f9 = (e, t = {}) => ee(`videoLibrary.${e}`, t), qy = (e, t = {}) => ee(`logoSwitchConfirmationModal.${e}`, t), Lo = (e, t = {}) => ee(`logoTemplateSearchModal.${e}`, t), j3 = (e, t = {}) => ee(`aiModal.${e}`, t), Wr = (e, t = {}) => ee(`saveContactWidget.${e}`, t), un = () => {
23241
23241
  const t = Dl().language;
23242
23242
  return jh.includes(t) ? t : Z8;
23243
- }, cp1 = "Titles", up1 = "Headings", Cp1 = "Paragraphs", pp1 = "Button Texts", hp1 = void 0, fp1 = void 0, gp1 = "2.25rem", Kh = "1.5rem", d6 = "1rem", mp1 = "normal", s2 = "1.1", u3 = "1.4", He = "1.5", ZL = 12, zL = 12, Yh = 128, qL = 0, GL = 100, WL = 1, jL = 2.5, Xh = 200, Jh = 1e3, yp1 = 2e3, Qh = () => ot("maxCharacters"), wp1 = () => ot("invalidUrlMessage"), bp1 = () => ot("testimonialEmpty"), vp1 = () => ot("textEmpty"), Sp1 = "https://fonts.googleapis.com/css2", _p1 = "&display=swap", Mp1 = "#000000", va = {
23243
+ }, cp1 = "Titles", up1 = "Headings", Cp1 = "Paragraphs", pp1 = "Button Texts", hp1 = void 0, fp1 = void 0, gp1 = "2.25rem", Kh = "1.5rem", d6 = "1rem", mp1 = "normal", s2 = "1.1", u3 = "1.4", xe = "1.5", ZL = 12, zL = 12, Yh = 128, qL = 0, GL = 100, WL = 1, jL = 2.5, Xh = 200, Jh = 1e3, yp1 = 2e3, Qh = () => ot("maxCharacters"), wp1 = () => ot("invalidUrlMessage"), bp1 = () => ot("testimonialEmpty"), vp1 = () => ot("textEmpty"), Sp1 = "https://fonts.googleapis.com/css2", _p1 = "&display=swap", Mp1 = "#000000", va = {
23244
23244
  url: "url",
23245
23245
  google: "google"
23246
23246
  };
@@ -25502,14 +25502,14 @@ const eV = () => new V9(ge.titles, cp1, {
25502
25502
  style: {
25503
25503
  ...Ti,
25504
25504
  fontSize: d6,
25505
- lineHeight: He,
25505
+ lineHeight: xe,
25506
25506
  fontFamily: Le[Oe].name
25507
25507
  }
25508
25508
  }), iV = () => new V9(ge.buttons, pp1, {
25509
25509
  style: {
25510
25510
  ...Ti,
25511
25511
  fontSize: d6,
25512
- lineHeight: He,
25512
+ lineHeight: xe,
25513
25513
  fontFamily: Le[Oe].name
25514
25514
  }
25515
25515
  }), Fp1 = () => ({
@@ -31724,11 +31724,11 @@ const Nu = /* @__PURE__ */ k5(ig1), PV = (e) => {
31724
31724
  const o = {
31725
31725
  ...e.titleStyle,
31726
31726
  fontSize: ((d = e.titleStyle) == null ? void 0 : d.fontSize) || d6,
31727
- lineHeight: ((c = e.titleStyle) == null ? void 0 : c.lineHeight) || He
31727
+ lineHeight: ((c = e.titleStyle) == null ? void 0 : c.lineHeight) || xe
31728
31728
  }, s = {
31729
31729
  ...e.descriptionStyle,
31730
31730
  fontSize: ((C = e.descriptionStyle) == null ? void 0 : C.fontSize) || d6,
31731
- lineHeight: ((h = e.descriptionStyle) == null ? void 0 : h.lineHeight) || He
31731
+ lineHeight: ((h = e.descriptionStyle) == null ? void 0 : h.lineHeight) || xe
31732
31732
  }, r = {
31733
31733
  ...e.nameStyle,
31734
31734
  fontSize: ((g = e.nameStyle) == null ? void 0 : g.fontSize) || Kh,
@@ -31755,7 +31755,7 @@ const Nu = /* @__PURE__ */ k5(ig1), PV = (e) => {
31755
31755
  } : void 0;
31756
31756
  o = UV(o);
31757
31757
  const s = {
31758
- lineHeight: He,
31758
+ lineHeight: xe,
31759
31759
  ...e.textSize,
31760
31760
  ...e.textAlignment,
31761
31761
  ...e.textColor,
@@ -38225,7 +38225,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38225
38225
  ...c.textStyle,
38226
38226
  textAlign: ((C = c.textStyle) == null ? void 0 : C.textAlign) || "left",
38227
38227
  fontFamily: ((h = c.textStyle) == null ? void 0 : h.fontFamily) || Le[Oe].name,
38228
- lineHeight: (m = (g = c.textStyle) == null ? void 0 : g.lineHeight) != null && m.includes("rem") ? He : ((y = c.textStyle) == null ? void 0 : y.lineHeight) || He
38228
+ lineHeight: (m = (g = c.textStyle) == null ? void 0 : g.lineHeight) != null && m.includes("rem") ? xe : ((y = c.textStyle) == null ? void 0 : y.lineHeight) || xe
38229
38229
  };
38230
38230
  }), n.text = "";
38231
38231
  } else
@@ -38233,7 +38233,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38233
38233
  ...n.textStyle,
38234
38234
  textAlign: ((s = n.textStyle) == null ? void 0 : s.textAlign) || gt,
38235
38235
  fontFamily: ((r = n.textStyle) == null ? void 0 : r.fontFamily) || Le[Oe].name,
38236
- lineHeight: (l = (a = n.textStyle) == null ? void 0 : a.lineHeight) != null && l.includes("rem") ? He : ((d = n.textStyle) == null ? void 0 : d.lineHeight) || He
38236
+ lineHeight: (l = (a = n.textStyle) == null ? void 0 : a.lineHeight) != null && l.includes("rem") ? xe : ((d = n.textStyle) == null ? void 0 : d.lineHeight) || xe
38237
38237
  };
38238
38238
  });
38239
38239
  }, Oy1 = (e) => {
@@ -38246,7 +38246,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38246
38246
  ...n.titleStyle,
38247
38247
  textAlign: ((i = n.titleStyle) == null ? void 0 : i.textAlign) || gt,
38248
38248
  fontFamily: ((o = n.titleStyle) == null ? void 0 : o.fontFamily) || Le[Oe].name,
38249
- lineHeight: (r = (s = n.titleStyle) == null ? void 0 : s.lineHeight) != null && r.includes("rem") ? He : ((a = n.titleStyle) == null ? void 0 : a.lineHeight) || He
38249
+ lineHeight: (r = (s = n.titleStyle) == null ? void 0 : s.lineHeight) != null && r.includes("rem") ? xe : ((a = n.titleStyle) == null ? void 0 : a.lineHeight) || xe
38250
38250
  }, n.nameStyle = {
38251
38251
  ...n.nameStyle,
38252
38252
  textAlign: ((l = n.nameStyle) == null ? void 0 : l.textAlign) || gt,
@@ -38256,7 +38256,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38256
38256
  ...n.descriptionStyle,
38257
38257
  textAlign: ((g = n.descriptionStyle) == null ? void 0 : g.textAlign) || gt,
38258
38258
  fontFamily: ((m = n.descriptionStyle) == null ? void 0 : m.fontFamily) || Le[Oe].name,
38259
- lineHeight: (w = (y = n.descriptionStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? He : ((b = n.descriptionStyle) == null ? void 0 : b.lineHeight) || He
38259
+ lineHeight: (w = (y = n.descriptionStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? xe : ((b = n.descriptionStyle) == null ? void 0 : b.lineHeight) || xe
38260
38260
  };
38261
38261
  });
38262
38262
  }, $y1 = (e) => {
@@ -38274,7 +38274,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38274
38274
  ...n.buttonTextStyle,
38275
38275
  textAlign: ((l = n.buttonTextStyle) == null ? void 0 : l.textAlign) || gt,
38276
38276
  fontFamily: ((d = n.buttonTextStyle) == null ? void 0 : d.fontFamily) || Le[Oe].name,
38277
- lineHeight: (C = (c = n.buttonTextStyle) == null ? void 0 : c.lineHeight) != null && C.includes("rem") ? He : ((h = n.buttonTextStyle) == null ? void 0 : h.lineHeight) || He
38277
+ lineHeight: (C = (c = n.buttonTextStyle) == null ? void 0 : c.lineHeight) != null && C.includes("rem") ? xe : ((h = n.buttonTextStyle) == null ? void 0 : h.lineHeight) || xe
38278
38278
  };
38279
38279
  });
38280
38280
  }, Dy1 = (e) => {
@@ -38292,22 +38292,22 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38292
38292
  ...n.headingStyle,
38293
38293
  textAlign: ((l = n.headingStyle) == null ? void 0 : l.textAlign) || gt,
38294
38294
  fontFamily: ((d = n.headingStyle) == null ? void 0 : d.fontFamily) || Le[Oe].name,
38295
- lineHeight: (C = (c = n.headingStyle) == null ? void 0 : c.lineHeight) != null && C.includes("rem") ? He : ((h = n.headingStyle) == null ? void 0 : h.lineHeight) || He
38295
+ lineHeight: (C = (c = n.headingStyle) == null ? void 0 : c.lineHeight) != null && C.includes("rem") ? xe : ((h = n.headingStyle) == null ? void 0 : h.lineHeight) || xe
38296
38296
  }, n.descriptionStyle = {
38297
38297
  ...n.descriptionStyle,
38298
38298
  textAlign: ((g = n.descriptionStyle) == null ? void 0 : g.textAlign) || gt,
38299
38299
  fontFamily: ((m = n.descriptionStyle) == null ? void 0 : m.fontFamily) || Le[Oe].name,
38300
- lineHeight: (w = (y = n.descriptionStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? He : ((b = n.descriptionStyle) == null ? void 0 : b.lineHeight) || He
38300
+ lineHeight: (w = (y = n.descriptionStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? xe : ((b = n.descriptionStyle) == null ? void 0 : b.lineHeight) || xe
38301
38301
  }, n.buttonTextStyle = {
38302
38302
  ...n.buttonTextStyle,
38303
38303
  textAlign: ((S = n.buttonTextStyle) == null ? void 0 : S.textAlign) || gt,
38304
38304
  fontFamily: ((_ = n.buttonTextStyle) == null ? void 0 : _.fontFamily) || Le[Oe].name,
38305
- lineHeight: (H = (k = n.buttonTextStyle) == null ? void 0 : k.lineHeight) != null && H.includes("rem") ? He : ((V = n.buttonTextStyle) == null ? void 0 : V.lineHeight) || He
38305
+ lineHeight: (H = (k = n.buttonTextStyle) == null ? void 0 : k.lineHeight) != null && H.includes("rem") ? xe : ((V = n.buttonTextStyle) == null ? void 0 : V.lineHeight) || xe
38306
38306
  }, n.itemTextStyle = {
38307
38307
  ...n.itemTextStyle,
38308
38308
  textAlign: ((R = n.itemTextStyle) == null ? void 0 : R.textAlign) || gt,
38309
38309
  fontFamily: ((B = n.itemTextStyle) == null ? void 0 : B.fontFamily) || Le[Oe].name,
38310
- lineHeight: (Z = (F = n.itemTextStyle) == null ? void 0 : F.lineHeight) != null && Z.includes("rem") ? He : ((Y = n.itemTextStyle) == null ? void 0 : Y.lineHeight) || He
38310
+ lineHeight: (Z = (F = n.itemTextStyle) == null ? void 0 : F.lineHeight) != null && Z.includes("rem") ? xe : ((Y = n.itemTextStyle) == null ? void 0 : Y.lineHeight) || xe
38311
38311
  };
38312
38312
  });
38313
38313
  }, Ny1 = (e) => {
@@ -38320,7 +38320,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38320
38320
  ...n.titleStyle,
38321
38321
  textAlign: ((i = n.titleStyle) == null ? void 0 : i.textAlign) || gt,
38322
38322
  fontFamily: ((o = n.titleStyle) == null ? void 0 : o.fontFamily) || Le[Oe].name,
38323
- lineHeight: (r = (s = n.titleStyle) == null ? void 0 : s.lineHeight) != null && r.includes("rem") ? He : ((a = n.titleStyle) == null ? void 0 : a.lineHeight) || He
38323
+ lineHeight: (r = (s = n.titleStyle) == null ? void 0 : s.lineHeight) != null && r.includes("rem") ? xe : ((a = n.titleStyle) == null ? void 0 : a.lineHeight) || xe
38324
38324
  };
38325
38325
  });
38326
38326
  }, Ry1 = (e) => {
@@ -38339,12 +38339,12 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38339
38339
  ...n.descriptionStyle,
38340
38340
  textAlign: n.descriptionStyle && n.descriptionStyle.textAlign ? n.descriptionStyle.textAlign : (d = n.titleStyle) == null ? void 0 : d.textAlign,
38341
38341
  fontFamily: ((c = n.descriptionStyle) == null ? void 0 : c.fontFamily) || Le[Oe].name,
38342
- lineHeight: (h = (C = n.descriptionStyle) == null ? void 0 : C.lineHeight) != null && h.includes("rem") ? He : ((g = n.descriptionStyle) == null ? void 0 : g.lineHeight) || He
38342
+ lineHeight: (h = (C = n.descriptionStyle) == null ? void 0 : C.lineHeight) != null && h.includes("rem") ? xe : ((g = n.descriptionStyle) == null ? void 0 : g.lineHeight) || xe
38343
38343
  }, n.buttonTextStyle = {
38344
38344
  ...n.buttonTextStyle,
38345
38345
  textAlign: n.buttonTextStyle && n.buttonTextStyle.textAlign ? n.buttonTextStyle.textAlign : (m = n.titleStyle) == null ? void 0 : m.textAlign,
38346
38346
  fontFamily: ((y = n.buttonTextStyle) == null ? void 0 : y.fontFamily) || Le[Oe].name,
38347
- lineHeight: (b = (w = n.buttonTextStyle) == null ? void 0 : w.lineHeight) != null && b.includes("rem") ? He : ((S = n.buttonTextStyle) == null ? void 0 : S.lineHeight) || He
38347
+ lineHeight: (b = (w = n.buttonTextStyle) == null ? void 0 : w.lineHeight) != null && b.includes("rem") ? xe : ((S = n.buttonTextStyle) == null ? void 0 : S.lineHeight) || xe
38348
38348
  };
38349
38349
  });
38350
38350
  }, Fy1 = (e) => {
@@ -38378,7 +38378,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38378
38378
  ...n.paragraphStyle,
38379
38379
  textAlign: ((d = n.paragraphStyle) == null ? void 0 : d.textAlign) || i,
38380
38380
  fontFamily: ((c = n.paragraphStyle) == null ? void 0 : c.fontFamily) || Le[Oe].name,
38381
- lineHeight: (h = (C = n.paragraphStyle) == null ? void 0 : C.lineHeight) != null && h.includes("rem") ? He : ((g = n.paragraphStyle) == null ? void 0 : g.lineHeight) || He
38381
+ lineHeight: (h = (C = n.paragraphStyle) == null ? void 0 : C.lineHeight) != null && h.includes("rem") ? xe : ((g = n.paragraphStyle) == null ? void 0 : g.lineHeight) || xe
38382
38382
  };
38383
38383
  });
38384
38384
  }, Zy1 = (e) => {
@@ -38404,12 +38404,12 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38404
38404
  ...n.nameStyle,
38405
38405
  textAlign: ((m = n.nameStyle) == null ? void 0 : m.textAlign) || i,
38406
38406
  fontFamily: ((y = n.nameStyle) == null ? void 0 : y.fontFamily) || Le[Oe].name,
38407
- lineHeight: (b = (w = n.nameStyle) == null ? void 0 : w.lineHeight) != null && b.includes("rem") ? He : ((S = n.nameStyle) == null ? void 0 : S.lineHeight) || He
38407
+ lineHeight: (b = (w = n.nameStyle) == null ? void 0 : w.lineHeight) != null && b.includes("rem") ? xe : ((S = n.nameStyle) == null ? void 0 : S.lineHeight) || xe
38408
38408
  }, n.positionStyle = {
38409
38409
  ...n.positionStyle,
38410
38410
  textAlign: ((_ = n.positionStyle) == null ? void 0 : _.textAlign) || i,
38411
38411
  fontFamily: ((k = n.positionStyle) == null ? void 0 : k.fontFamily) || Le[Oe].name,
38412
- lineHeight: (V = (H = n.positionStyle) == null ? void 0 : H.lineHeight) != null && V.includes("rem") ? He : ((R = n.positionStyle) == null ? void 0 : R.lineHeight) || He
38412
+ lineHeight: (V = (H = n.positionStyle) == null ? void 0 : H.lineHeight) != null && V.includes("rem") ? xe : ((R = n.positionStyle) == null ? void 0 : R.lineHeight) || xe
38413
38413
  };
38414
38414
  });
38415
38415
  }, zy1 = (e) => {
@@ -38432,7 +38432,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38432
38432
  ...n.paragraphStyle,
38433
38433
  textAlign: ((g = n.paragraphStyle) == null ? void 0 : g.textAlign) || gt,
38434
38434
  fontFamily: ((m = n.paragraphStyle) == null ? void 0 : m.fontFamily) || Le[Oe].name,
38435
- lineHeight: (w = (y = n.paragraphStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? He : ((b = n.paragraphStyle) == null ? void 0 : b.lineHeight) || He
38435
+ lineHeight: (w = (y = n.paragraphStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? xe : ((b = n.paragraphStyle) == null ? void 0 : b.lineHeight) || xe
38436
38436
  };
38437
38437
  });
38438
38438
  }, qy1 = (e) => {
@@ -38455,7 +38455,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38455
38455
  ...n.paragraphStyle,
38456
38456
  textAlign: ((g = n.paragraphStyle) == null ? void 0 : g.textAlign) || gt,
38457
38457
  fontFamily: ((m = n.paragraphStyle) == null ? void 0 : m.fontFamily) || Le[Oe].name,
38458
- lineHeight: (w = (y = n.paragraphStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? He : ((b = n.paragraphStyle) == null ? void 0 : b.lineHeight) || He
38458
+ lineHeight: (w = (y = n.paragraphStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? xe : ((b = n.paragraphStyle) == null ? void 0 : b.lineHeight) || xe
38459
38459
  };
38460
38460
  });
38461
38461
  }, Gy1 = (e) => {
@@ -38482,7 +38482,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38482
38482
  ...n.itemTextStyle,
38483
38483
  textAlign: ((o = n.itemTextStyle) == null ? void 0 : o.textAlign) || i,
38484
38484
  fontFamily: ((s = n.itemTextStyle) == null ? void 0 : s.fontFamily) || Le[Oe].name,
38485
- lineHeight: (a = (r = n.itemTextStyle) == null ? void 0 : r.lineHeight) != null && a.includes("rem") ? He : ((l = n.itemTextStyle) == null ? void 0 : l.lineHeight) || He
38485
+ lineHeight: (a = (r = n.itemTextStyle) == null ? void 0 : r.lineHeight) != null && a.includes("rem") ? xe : ((l = n.itemTextStyle) == null ? void 0 : l.lineHeight) || xe
38486
38486
  };
38487
38487
  });
38488
38488
  }, jy1 = (e) => {
@@ -38500,12 +38500,12 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38500
38500
  ...n.descriptionStyle,
38501
38501
  textAlign: n.descriptionStyle && n.descriptionStyle.textAlign ? n.descriptionStyle.textAlign : (l = n.titleStyle) == null ? void 0 : l.textAlign,
38502
38502
  fontFamily: ((d = n.descriptionStyle) == null ? void 0 : d.fontFamily) || Le[Oe].name,
38503
- lineHeight: (C = (c = n.descriptionStyle) == null ? void 0 : c.lineHeight) != null && C.includes("rem") ? He : ((h = n.descriptionStyle) == null ? void 0 : h.lineHeight) || He
38503
+ lineHeight: (C = (c = n.descriptionStyle) == null ? void 0 : c.lineHeight) != null && C.includes("rem") ? xe : ((h = n.descriptionStyle) == null ? void 0 : h.lineHeight) || xe
38504
38504
  }, n.buttonTextStyle = {
38505
38505
  ...n.buttonTextStyle,
38506
38506
  textAlign: n.buttonTextStyle && n.buttonTextStyle.textAlign ? n.buttonTextStyle.textAlign : (g = n.titleStyle) == null ? void 0 : g.textAlign,
38507
38507
  fontFamily: ((m = n.buttonTextStyle) == null ? void 0 : m.fontFamily) || Le[Oe].name,
38508
- lineHeight: (w = (y = n.buttonTextStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? He : ((b = n.buttonTextStyle) == null ? void 0 : b.lineHeight) || He
38508
+ lineHeight: (w = (y = n.buttonTextStyle) == null ? void 0 : y.lineHeight) != null && w.includes("rem") ? xe : ((b = n.buttonTextStyle) == null ? void 0 : b.lineHeight) || xe
38509
38509
  };
38510
38510
  });
38511
38511
  }, Ky1 = (e) => {
@@ -38641,7 +38641,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38641
38641
  ...l,
38642
38642
  fontFamily: (l == null ? void 0 : l.fontFamily) || Le[Oe].name,
38643
38643
  letterSpacing: l.letterSpacing || Vo,
38644
- lineHeight: (o = l == null ? void 0 : l.lineHeight) != null && o.includes("rem") ? He : (l == null ? void 0 : l.lineHeight) || He,
38644
+ lineHeight: (o = l == null ? void 0 : l.lineHeight) != null && o.includes("rem") ? xe : (l == null ? void 0 : l.lineHeight) || xe,
38645
38645
  fontWeight: l.fontWeight || void 0,
38646
38646
  fontStyle: l.fontStyle || void 0,
38647
38647
  textDecoration: l.textDecoration || void 0
@@ -38649,7 +38649,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
38649
38649
  ...d,
38650
38650
  fontFamily: (d == null ? void 0 : d.fontFamily) || Le[Oe].name,
38651
38651
  letterSpacing: d.letterSpacing || Vo,
38652
- lineHeight: (s = d == null ? void 0 : d.lineHeight) != null && s.includes("rem") ? He : (d == null ? void 0 : d.lineHeight) || He,
38652
+ lineHeight: (s = d == null ? void 0 : d.lineHeight) != null && s.includes("rem") ? xe : (d == null ? void 0 : d.lineHeight) || xe,
38653
38653
  fontWeight: d.fontWeight || void 0,
38654
38654
  fontStyle: d.fontStyle || void 0,
38655
38655
  textDecoration: d.textDecoration || void 0
@@ -39563,7 +39563,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
39563
39563
  type: "text",
39564
39564
  textSize: {
39565
39565
  fontSize: d6,
39566
- lineHeight: He
39566
+ lineHeight: xe
39567
39567
  },
39568
39568
  textStyle: {
39569
39569
  applyAutoScale: (e == null ? void 0 : e.brandPageType) === t1.brandSite,
@@ -40196,7 +40196,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
40196
40196
  const t = e.options.find((n) => n.isSelected);
40197
40197
  return t ? { galleryType: t.value } : { galleryType: $5.grid };
40198
40198
  }
40199
- }, Yw1 = 2, xe = p2("brandPageMakerUser", {
40199
+ }, Yw1 = 2, He = p2("brandPageMakerUser", {
40200
40200
  state: () => ({
40201
40201
  features: {
40202
40202
  canAddImageContents: !0,
@@ -40212,6 +40212,7 @@ const DH = /brand-page\/([^?]*)/, xy1 = /logo\/([^\/]*)\//, NH = /(http|https):\
40212
40212
  canUsePremiumFontFamily: !1,
40213
40213
  maxNumOfPages: Yw1,
40214
40214
  canUseGettyVideos: !1,
40215
+ canUseAITextGenerator: !1,
40215
40216
  canUseGoogleAdsense: !1,
40216
40217
  googleAdsenseEnabled: !1
40217
40218
  },
@@ -41303,7 +41304,7 @@ const Xw1 = {
41303
41304
  },
41304
41305
  getters: {
41305
41306
  availableTextFontFamilyOptions() {
41306
- const e = xe(), { canUsePremiumFontFamily: t } = e.features;
41307
+ const e = He(), { canUsePremiumFontFamily: t } = e.features;
41307
41308
  return Object.entries(Le).map(([n, i]) => ({
41308
41309
  key: n,
41309
41310
  name: i.name,
@@ -59641,7 +59642,7 @@ const yn = /* @__PURE__ */ k5(TV1), LV1 = (e, t, n) => {
59641
59642
  }, bM = J({
59642
59643
  mixins: [qp],
59643
59644
  setup() {
59644
- const e = kt(), t = ne(), n = we(), i = xe(), o = x9(), s = $3(), r = _t(), a = Fe(), l = St(), { externalEditor: d } = fd(), c = k6();
59645
+ const e = kt(), t = ne(), n = we(), i = He(), o = x9(), s = $3(), r = _t(), a = Fe(), l = St(), { externalEditor: d } = fd(), c = k6();
59645
59646
  return {
59646
59647
  items: x(() => e.items),
59647
59648
  selectedItemId: x(() => e.selectedItemId),
@@ -59953,10 +59954,10 @@ const yn = /* @__PURE__ */ k5(TV1), LV1 = (e, t, n) => {
59953
59954
  at(() => n.context.isDesignCom, async () => {
59954
59955
  const S = D4().toLowerCase(), _ = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
59955
59956
  try {
59956
- const { default: k } = await vM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-TuSRObJQ.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BX3P38jt.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-CwpQMqO0.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-C4u38Ym4.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-C4u38Ym4.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-B4-ro8pc.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-B4-ro8pc.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-Cl4pKvXX.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us--Zj-GmSd.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-D7Kogzlt.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-Br2Jrkb3.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CrO42IpU.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-ClEMPT95.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-sYoiCgDC.js") }), `./watermark/CreatedOn${_}-${S}.vue`, 3);
59957
+ const { default: k } = await vM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-C7sXkIBb.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DhtnVceC.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BptLAnJw.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Dhd8PVKw.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Dhd8PVKw.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-X5oQu67A.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-X5oQu67A.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-D_2wZOXC.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DYWjuLNy.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-DNcNR11_.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-DqK95jxt.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-CAaFVidi.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-80W59bFj.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-BTELqfP0.js") }), `./watermark/CreatedOn${_}-${S}.vue`, 3);
59957
59958
  i.value = k;
59958
59959
  } catch {
59959
- const { default: H } = await vM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BX3P38jt.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us--Zj-GmSd.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
59960
+ const { default: H } = await vM(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-DhtnVceC.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DYWjuLNy.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
59960
59961
  i.value = H;
59961
59962
  }
59962
59963
  }, {
@@ -69848,7 +69849,7 @@ const Rn = (e) => {
69848
69849
  async setNewPageModalVisibilityAsync({
69849
69850
  isNewPageModalVisible: e
69850
69851
  }) {
69851
- const t = Fe(), n = xe(), i = we(), o = St(), { maxNumOfPages: s } = n.features;
69852
+ const t = Fe(), n = He(), i = we(), o = St(), { maxNumOfPages: s } = n.features;
69852
69853
  if (!i.isPrePurchase && s > 0 && e && this.pages.length >= s) {
69853
69854
  o.setUpsellBridgeState({
69854
69855
  cta_location: O3.ADD_NEW_PAGE,
@@ -70742,7 +70743,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
70742
70743
  }),
70743
70744
  getters: {
70744
70745
  renderAsImage() {
70745
- return !xe().isAdmin;
70746
+ return !He().isAdmin;
70746
70747
  }
70747
70748
  },
70748
70749
  actions: {
@@ -70819,7 +70820,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
70819
70820
  },
70820
70821
  async loadPageNo({ pageNo: e }) {
70821
70822
  var d, c;
70822
- const t = ne(), n = we(), i = xe(), o = D2(), s = _3(), r = l6(), a = n.designTemplateToken;
70823
+ const t = ne(), n = we(), i = He(), o = D2(), s = _3(), r = l6(), a = n.designTemplateToken;
70823
70824
  if (t.isInitialising) {
70824
70825
  setTimeout(() => {
70825
70826
  this.loadPageNo({ pageNo: e });
@@ -70970,7 +70971,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
70970
70971
  * re-fetch templates when the logo changes to regenerate preview images with the new logo.
70971
70972
  */
70972
70973
  setupLogoChangeWatcher() {
70973
- const e = D2(), t = l6(), n = xe(), { selectedLogoImage: i } = ip(e), { editableLogoVariations: o } = ip(t);
70974
+ const e = D2(), t = l6(), n = He(), { selectedLogoImage: i } = ip(e), { editableLogoVariations: o } = ip(t);
70974
70975
  let s = null;
70975
70976
  at(
70976
70977
  () => i.value,
@@ -71044,7 +71045,8 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
71044
71045
  abTests: {},
71045
71046
  isSubsequentPublish: !1,
71046
71047
  isContextualUpgradeModalVisible: !1,
71047
- contextualUpgradeType: void 0
71048
+ contextualUpgradeType: void 0,
71049
+ requestVerificationToken: void 0
71048
71050
  }),
71049
71051
  actions: {
71050
71052
  initialise(e) {
@@ -71053,7 +71055,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
71053
71055
  if (process.env.NODE_ENV !== "production" && (typeof t.baseBrandPageDomain != "string" && console.error("brandPageBaseUrl should not be undefined"), !e.isPrePurchase && typeof t.upgradeSubscriptionUrlPath != "string" && console.error("upgradeUrl should not be undefined"), !e.isPrePurchase && (typeof e.logoDraftToken != "string" || !e.logoDraftToken)))
71054
71056
  throw new Error("logoDraftToken should be defined");
71055
71057
  const i = ne(), o = K5();
71056
- this.brandPageBaseUrl = e.brandPageBaseUrl, this.baseFabricRenderUrl = t.baseFabricRenderDomain, this.brandPageDescription = e.brandPageDescription, this.brandPageDisplayName = e.brandPageDisplayName || this.brandPageDisplayName, this.brandPageSlug = e.brandPageSlug, this.brandPageStatus = e.brandPageStatus, this.brandPageTitle = e.brandPageTitle, this.sensitiveContent = e.sensitiveContent, this.brandPageToken = e.brandPageToken, this.designDraftToken = e.designDraftToken, this.designTemplateToken = e.designTemplateToken, this.isProduction = e.isProduction, this.backButtonLabel = e.backButtonLabel || RL("postPurchaseBackButtonLabel"), this.manageWebsiteDesignsUrl = e.manageWebsiteDesignsUrl, this.runtimeEnvironment = e.runtimeEnvironment, this.upgradeUrl = e.upgradeUrl, this.reactivationUrl = e.reactivationUrl, this.isReactivationModal = e.isReactivationModal, this.isPublishUpgradeModal = e.isPublishUpgradeModal, this.availableTaxes = e.availableTaxes, this.selectedTaxId = ((a = this.availableTaxes) == null ? void 0 : a.length) > 0 ? this.availableTaxes[0].id : void 0, this.customDomain = e.brandPageCustomDomain ?? null, this.isCustomDomainEnabled = e.isBrandPageCustomDomainEnabled, this.isSellDomainNameEnabled = e.isSellDomainNameEnabled, this.isDesignCom = e.isDesignCom, this.isPrePurchase = e.isPrePurchase, this.makerFonts = e.makerFonts || [], this.showPublishOptionModal = e.showPublishOptionModal, this.abTests = Dp1(e.abTests || {}), this.isSubsequentPublish = e.isSubsequentPublish, _3().initialise({
71058
+ this.brandPageBaseUrl = e.brandPageBaseUrl, this.baseFabricRenderUrl = t.baseFabricRenderDomain, this.brandPageDescription = e.brandPageDescription, this.brandPageDisplayName = e.brandPageDisplayName || this.brandPageDisplayName, this.brandPageSlug = e.brandPageSlug, this.brandPageStatus = e.brandPageStatus, this.brandPageTitle = e.brandPageTitle, this.sensitiveContent = e.sensitiveContent, this.brandPageToken = e.brandPageToken, this.designDraftToken = e.designDraftToken, this.designTemplateToken = e.designTemplateToken, this.isProduction = e.isProduction, this.backButtonLabel = e.backButtonLabel || RL("postPurchaseBackButtonLabel"), this.manageWebsiteDesignsUrl = e.manageWebsiteDesignsUrl, this.runtimeEnvironment = e.runtimeEnvironment, this.upgradeUrl = e.upgradeUrl, this.reactivationUrl = e.reactivationUrl, this.isReactivationModal = e.isReactivationModal, this.isPublishUpgradeModal = e.isPublishUpgradeModal, this.availableTaxes = e.availableTaxes, this.selectedTaxId = ((a = this.availableTaxes) == null ? void 0 : a.length) > 0 ? this.availableTaxes[0].id : void 0, this.customDomain = e.brandPageCustomDomain ?? null, this.isCustomDomainEnabled = e.isBrandPageCustomDomainEnabled, this.isSellDomainNameEnabled = e.isSellDomainNameEnabled, this.isDesignCom = e.isDesignCom, this.isPrePurchase = e.isPrePurchase, this.makerFonts = e.makerFonts || [], this.showPublishOptionModal = e.showPublishOptionModal, this.abTests = Dp1(e.abTests || {}), this.isSubsequentPublish = e.isSubsequentPublish, this.requestVerificationToken = e.requestVerificationToken, _3().initialise({
71057
71059
  logoTemplateAsset: e.logoTemplateAsset,
71058
71060
  logoDraftAssets: e.logoDraftAssets || []
71059
71061
  }), o.setInitialSearchTerm({
@@ -71397,7 +71399,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
71397
71399
  },
71398
71400
  async saveBrandPage(e = {}) {
71399
71401
  var i, o;
71400
- const t = xe(), n = ne();
71402
+ const t = He(), n = ne();
71401
71403
  if (t.isAdmin)
71402
71404
  throw new Error("save brand page is not allowed in admin mode");
71403
71405
  if (this.standalone)
@@ -71453,7 +71455,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
71453
71455
  }
71454
71456
  },
71455
71457
  async saveAndPublishBrandPage(e) {
71456
- if (xe().isAdmin)
71458
+ if (He().isAdmin)
71457
71459
  throw new Error("save brand page is not allowed in admin mode");
71458
71460
  const n = await this.saveBrandPage({
71459
71461
  isPublish: !0,
@@ -71476,7 +71478,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
71476
71478
  },
71477
71479
  async saveTemplate() {
71478
71480
  var a;
71479
- const e = xe(), t = ne();
71481
+ const e = He(), t = ne();
71480
71482
  if (!e.isAdmin)
71481
71483
  throw new Error("saveTemplate is not allowed in non admin mode");
71482
71484
  const n = t.brandPageTemplate, i = JSON.stringify(n);
@@ -71731,7 +71733,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
71731
71733
  return ne().brandPageContentTypes;
71732
71734
  },
71733
71735
  isAdmin() {
71734
- return xe().isAdmin;
71736
+ return He().isAdmin;
71735
71737
  },
71736
71738
  isPublished: (e) => e.brandPageStatus === "Published",
71737
71739
  isUserDraft: (e) => !!e.designDraftToken
@@ -71768,7 +71770,7 @@ const Eh = () => BC || (BC = new NU1()), Ll = (e, t) => RU1(e).then(
71768
71770
  return a0(t, "gettyAssetId").length >= Ig;
71769
71771
  },
71770
71772
  canAddNewVideo() {
71771
- const e = xe(), t = we(), n = e.features.canUseGettyVideos, i = t.isPrePurchase, o = e.hasPremiumSubscription;
71773
+ const e = He(), t = we(), n = e.features.canUseGettyVideos, i = t.isPrePurchase, o = e.hasPremiumSubscription;
71772
71774
  return n && (e.isAdmin || i || o);
71773
71775
  }
71774
71776
  }
@@ -72087,7 +72089,7 @@ const kt = p2("uiContentSettings", {
72087
72089
  index: t
72088
72090
  }) {
72089
72091
  var C;
72090
- const n = xe(), i = ne(), o = this.addContentOptions.find((h) => h.type === e);
72092
+ const n = He(), i = ne(), o = this.addContentOptions.find((h) => h.type === e);
72091
72093
  if (!o) {
72092
72094
  console.error(`Unable to locate add content option type for '${e}'`);
72093
72095
  return;
@@ -72207,7 +72209,7 @@ const kt = p2("uiContentSettings", {
72207
72209
  },
72208
72210
  validateItem(e) {
72209
72211
  var C;
72210
- const t = xe(), n = this.items.find((h) => h.id === e.id);
72212
+ const t = He(), n = this.items.find((h) => h.id === e.id);
72211
72213
  if (!n) {
72212
72214
  process.env.NODE_ENV !== "production" && console.error(`unable to locate content item by id '${e.id}'`);
72213
72215
  return;
@@ -73052,7 +73054,7 @@ const kt = p2("uiContentSettings", {
73052
73054
  t();
73053
73055
  }, e);
73054
73056
  }), zU1 = () => {
73055
- const e = xe(), t = ne(), n = e.features;
73057
+ const e = He(), t = ne(), n = e.features;
73056
73058
  return Object.values(S4()).filter((i) => i.type !== "image" || n.canAddImageContents).filter(
73057
73059
  (i) => i.brandPageType === void 0 || i.brandPageType.includes(t.brandPageType)
73058
73060
  );
@@ -73439,7 +73441,7 @@ const kt = p2("uiContentSettings", {
73439
73441
  this.selectedTemplateId = e.templateId;
73440
73442
  },
73441
73443
  async recalculateLogoSizes(e = !1) {
73442
- const t = we(), n = xe(), i = _t(), o = D2(), s = l6();
73444
+ const t = we(), n = He(), i = _t(), o = D2(), s = l6();
73443
73445
  !n.isAdmin && this.isBrandSite ? await qH(
73444
73446
  i,
73445
73447
  o,
@@ -73456,7 +73458,7 @@ const kt = p2("uiContentSettings", {
73456
73458
  },
73457
73459
  async applySelectedTemplate() {
73458
73460
  var k, H, V;
73459
- const e = Fe(), t = D2(), n = k6(), i = K5(), o = x9(), s = L6(), r = xe(), a = we(), l = kt(), d = l6(), c = _3();
73461
+ const e = Fe(), t = D2(), n = k6(), i = K5(), o = x9(), s = L6(), r = He(), a = we(), l = kt(), d = l6(), c = _3();
73460
73462
  if (!this.selectedTemplateId)
73461
73463
  return;
73462
73464
  let C = i.getTemplateByTemplateId(
@@ -73657,7 +73659,7 @@ const kt = p2("uiContentSettings", {
73657
73659
  isServerRenderOverride: C = !1
73658
73660
  }) {
73659
73661
  var H, V, R, B, F, Z, Y;
73660
- const h = we(), g = xe(), m = Fe(), y = K5(), w = D2(), b = l6(), S = L6(), _ = k6(), k = x9();
73662
+ const h = we(), g = He(), m = Fe(), y = K5(), w = D2(), b = l6(), S = L6(), _ = k6(), k = x9();
73661
73663
  $3(), k.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
73662
73664
  try {
73663
73665
  const f1 = P4(
@@ -73820,7 +73822,7 @@ const kt = p2("uiContentSettings", {
73820
73822
  pages: e,
73821
73823
  sections: t
73822
73824
  }) {
73823
- const n = xe(), i = kt(), o = _t(), s = e.map((r) => ({
73825
+ const n = He(), i = kt(), o = _t(), s = e.map((r) => ({
73824
73826
  ...r,
73825
73827
  contents: r.contents.map(
73826
73828
  (a) => gh1(a, {
@@ -73839,7 +73841,7 @@ const kt = p2("uiContentSettings", {
73839
73841
  });
73840
73842
  },
73841
73843
  initialiseAdminMaker(e) {
73842
- const t = xe(), n = dA(), i = kt();
73844
+ const t = He(), n = dA(), i = kt();
73843
73845
  if (!t.isAdmin)
73844
73846
  return;
73845
73847
  n.setPreviewLogoTemplateModels({
@@ -74031,7 +74033,7 @@ const kt = p2("uiContentSettings", {
74031
74033
  return we().brandPageTitle;
74032
74034
  },
74033
74035
  brandPageViewModel() {
74034
- const e = xe(), t = Fe(), n = V5();
74036
+ const e = He(), t = Fe(), n = V5();
74035
74037
  if (e.isAdmin && t.logoTheme) {
74036
74038
  const o = w7(
74037
74039
  t.logoTheme,
@@ -74094,7 +74096,7 @@ const kt = p2("uiContentSettings", {
74094
74096
  return !this.isSaving;
74095
74097
  },
74096
74098
  isPublished() {
74097
- const e = xe(), t = we();
74099
+ const e = He(), t = we();
74098
74100
  return !e.isAdmin && t.isPublished;
74099
74101
  },
74100
74102
  isPublishing() {
@@ -74110,7 +74112,7 @@ const kt = p2("uiContentSettings", {
74110
74112
  return we().runtimeEnvironment;
74111
74113
  },
74112
74114
  showBrandCrowdLogo() {
74113
- const e = xe();
74115
+ const e = He();
74114
74116
  return !e.isAdmin && e.features.showBrandCrowdLogo;
74115
74117
  }
74116
74118
  }
@@ -74178,7 +74180,7 @@ const kt = p2("uiContentSettings", {
74178
74180
  this.logoDraftToken = e.logoDraftToken;
74179
74181
  },
74180
74182
  async triggerLockedContentClickedEvent(e) {
74181
- const t = xe(), n = we();
74183
+ const t = He(), n = we();
74182
74184
  t.isAdmin || await n.triggerLockedContentClickedEvent(
74183
74185
  e.type
74184
74186
  );
@@ -74201,7 +74203,7 @@ const kt = p2("uiContentSettings", {
74201
74203
  }
74202
74204
  },
74203
74205
  getters: {
74204
- endpoints: () => xe().isAdmin ? nq1 : tq1
74206
+ endpoints: () => He().isAdmin ? nq1 : tq1
74205
74207
  }
74206
74208
  }), qM = 2e3, KU1 = "brandPageActive", YU1 = "brandPageInactive", XU1 = "editorCopyUrlButton", JU1 = "editorSaveButton", QU1 = "editorPublishButton", GM = "editorPublishModal", eZ1 = "editorViewWebPageLink", tZ1 = "manageWebPageCopyUrlButton", nZ1 = "manageWebPageCreateNewWebsiteButton", iZ1 = "manageWebPageDuplicateButton", oZ1 = "manageWebPagePublishButton", WM = "manageWebPagePublishModal", jM = "manageWebPageSetUrlModal", sZ1 = "manageWebPageViewWebPageLink", rZ1 = "manageWebPageUpdateSettingsButton", aZ1 = "manageWebPageSensitiveContentButton", lZ1 = "manageWebPageUnpublishButton", dZ1 = "publishSuccessModalCopyUrlButton", cZ1 = "publishSuccessModalViewWebPageButton", uZ1 = "requestPayment", KM = "saveProgress", CZ1 = "supportMe", YM = "updateSettings", m2 = async (e, { waitForEventCallback: t } = {}) => window ? new Promise((n) => {
74207
74209
  if (window.dataLayer = window.dataLayer || [], t) {
@@ -74218,7 +74220,7 @@ const kt = p2("uiContentSettings", {
74218
74220
  } else
74219
74221
  window.dataLayer.push(e), n(!0);
74220
74222
  }).catch((n) => (process.env.NODE_ENV !== "production" && console.error(n), !1)) : Promise.resolve(!1), y2 = () => {
74221
- const e = xe();
74223
+ const e = He();
74222
74224
  return process.env.NODE_ENV !== "production" && typeof e.hasPremiumSubscription != "boolean" && console.error("hasPremiumSubscription should be a boolean"), e.hasPremiumSubscription ? KU1 : YU1;
74223
74225
  }, cA = p2("eventManager", {
74224
74226
  actions: {
@@ -75121,7 +75123,7 @@ const kt = p2("uiContentSettings", {
75121
75123
  convertBackToMultipleValues: !1,
75122
75124
  convert(e) {
75123
75125
  var t;
75124
- return ((t = e.lineHeight) == null ? void 0 : t.toString()) || He;
75126
+ return ((t = e.lineHeight) == null ? void 0 : t.toString()) || xe;
75125
75127
  },
75126
75128
  convertBack(e) {
75127
75129
  return {
@@ -76339,7 +76341,7 @@ const kt = p2("uiContentSettings", {
76339
76341
  type: "slider",
76340
76342
  defaultValue: {
76341
76343
  fontSize: d6,
76342
- lineHeight: He
76344
+ lineHeight: xe
76343
76345
  },
76344
76346
  title: $("sizeTitle"),
76345
76347
  valueConvertor: Ph,
@@ -79057,7 +79059,7 @@ const kt = p2("uiContentSettings", {
79057
79059
  hardCodedImageStoryData: NC(Hq1)
79058
79060
  }, Vl = J({
79059
79061
  setup() {
79060
- const e = xe(), t = ne();
79062
+ const e = He(), t = ne();
79061
79063
  return {
79062
79064
  isAdmin: x(() => e.isAdmin),
79063
79065
  isSaving: x(() => t.isSaving),
@@ -81648,7 +81650,7 @@ const XW1 = /* @__PURE__ */ v(jW1, [["render", YW1]]), JW1 = { class: "u-inline"
81648
81650
  logoTheme: { default: void 0 }
81649
81651
  },
81650
81652
  setup(e) {
81651
- const t = e, n = xe(), i = L6(), o = x(() => n.isAdmin), s = x(
81653
+ const t = e, n = He(), i = L6(), o = x(() => n.isAdmin), s = x(
81652
81654
  () => i.backgroundStyles
81653
81655
  ), r = x(() => s.value.style.background ? s.value.style.background.startsWith("rgb") ? o2(s.value.style.background).toUpperCase() : s.value.style.background : null), a = x(() => S5(r.value)), l = (d) => {
81654
81656
  var h, g;
@@ -81704,7 +81706,7 @@ const Bg = /* @__PURE__ */ v(Cj1, [["render", hj1]]), xk = J({
81704
81706
  }
81705
81707
  },
81706
81708
  setup() {
81707
- const e = xe(), t = L6();
81709
+ const e = He(), t = L6();
81708
81710
  return {
81709
81711
  isAdmin: x(() => e.isAdmin),
81710
81712
  backgroundStyles: x(
@@ -82091,7 +82093,7 @@ const Mj1 = { key: 2 }, kj1 = { class: "tw-grid tw-gap-4 tw-grid-cols-2" }, Tj1
82091
82093
  __name: "ShapeLibrary",
82092
82094
  emits: ["on-select-image", "on-collection-enabled"],
82093
82095
  setup(e, { emit: t }) {
82094
- const n = t, i = Fe(), o = we(), s = ne(), r = xe(), a = $3(), l = x(() => r.isAdmin), d = x(
82096
+ const n = t, i = Fe(), o = we(), s = ne(), r = He(), a = $3(), l = x(() => r.isAdmin), d = x(
82095
82097
  () => a.selectedTabName === "BackgroundSettings"
82096
82098
  ), c = x(
82097
82099
  () => r.isAdmin ? `admin_${s.brandPageType.toLocaleLowerCase()}` : s.brandPageType.toLocaleLowerCase()
@@ -83066,7 +83068,7 @@ const AK1 = /* @__PURE__ */ v(bK1, [["render", EK1], ["__scopeId", "data-v-b29f3
83066
83068
  }
83067
83069
  },
83068
83070
  setup() {
83069
- const e = Fe(), t = xe();
83071
+ const e = Fe(), t = He();
83070
83072
  return {
83071
83073
  dropzoneImageUploaderRef: x1(null),
83072
83074
  endpoints: x(() => e.endpoints),
@@ -83284,7 +83286,7 @@ const NA = () => YC || (YC = new KK1()), Ok = J({
83284
83286
  Loader: Zt
83285
83287
  },
83286
83288
  setup() {
83287
- const e = Fe(), t = D2(), n = xe();
83289
+ const e = Fe(), t = D2(), n = He();
83288
83290
  return {
83289
83291
  endpoints: x(() => e.endpoints),
83290
83292
  uiStore: e,
@@ -84145,7 +84147,7 @@ const $Y1 = {
84145
84147
  },
84146
84148
  emits: ["on-back", "on-image-picked", "on-image-removed", "on-design-selected", "on-shape-selected", "on-video-selected"],
84147
84149
  setup(e, { emit: t }) {
84148
- const n = (H) => ee(`replaceImageSetting.${H}`), i = e, o = t, s = we(), r = xe(), a = x(() => s.isPrePurchase), l = x(() => r.features.canUseGettyVideos), d = x1(!0), c = x1([
84150
+ const n = (H) => ee(`replaceImageSetting.${H}`), i = e, o = t, s = we(), r = He(), a = x(() => s.isPrePurchase), l = x(() => r.features.canUseGettyVideos), d = x1(!0), c = x1([
84149
84151
  {
84150
84152
  id: "ICON",
84151
84153
  label: n("icon"),
@@ -84296,7 +84298,7 @@ const $Y1 = {
84296
84298
  mediaType: { default: "" }
84297
84299
  },
84298
84300
  setup(e) {
84299
- const t = e, n = [".png", ".ico"], i = ne(), o = xe(), s = L6(), r = V5(), a = kt(), l = St(), d = x(() => s.backgroundMode), c = x(() => o.isAdmin), C = x(() => {
84301
+ const t = e, n = [".png", ".ico"], i = ne(), o = He(), s = L6(), r = V5(), a = kt(), l = St(), d = x(() => s.backgroundMode), c = x(() => o.isAdmin), C = x(() => {
84300
84302
  var V;
84301
84303
  return (V = i.fieldSettings) == null ? void 0 : V.replaceImageSettings;
84302
84304
  }), h = x(() => {
@@ -84390,7 +84392,7 @@ const $Y1 = {
84390
84392
  __name: "BackgroundSettings",
84391
84393
  emits: ["on-intent-image-replace"],
84392
84394
  setup(e, { emit: t }) {
84393
- const n = L6(), i = xe(), o = we(), s = ne(), r = Fe(), a = St(), l = x(
84395
+ const n = L6(), i = He(), o = we(), s = ne(), r = Fe(), a = St(), l = x(
84394
84396
  () => n.backgroundStyles
84395
84397
  ), d = x(
84396
84398
  () => n.recommendedLogoColors
@@ -84735,7 +84737,7 @@ function AX1(e, t, n, i, o, s) {
84735
84737
  }
84736
84738
  const PX1 = /* @__PURE__ */ v(EX1, [["render", AX1], ["__scopeId", "data-v-f7e4513e"]]), Fk = J({
84737
84739
  setup() {
84738
- const e = ne(), t = kt(), n = _t(), i = k6(), o = xe(), s = St(), { externalEditor: r } = fd();
84740
+ const e = ne(), t = kt(), n = _t(), i = k6(), o = He(), s = St(), { externalEditor: r } = fd();
84739
84741
  return {
84740
84742
  mode: x(() => t.mode),
84741
84743
  pages: x(() => n.pages),
@@ -84929,7 +84931,7 @@ const PX1 = /* @__PURE__ */ v(EX1, [["render", AX1], ["__scopeId", "data-v-f7e45
84929
84931
  }
84930
84932
  },
84931
84933
  setup() {
84932
- const e = kt(), t = $3(), n = ne(), i = Fe(), o = xe(), s = E0(), r = St();
84934
+ const e = kt(), t = $3(), n = ne(), i = Fe(), o = He(), s = E0(), r = St();
84933
84935
  return {
84934
84936
  currentRoute: x(() => s.currentRoute),
84935
84937
  getContent: x(() => e.getContent),
@@ -85120,7 +85122,7 @@ const PX1 = /* @__PURE__ */ v(EX1, [["render", AX1], ["__scopeId", "data-v-f7e45
85120
85122
  }
85121
85123
  },
85122
85124
  setup() {
85123
- const e = kt(), t = ne(), n = xe(), i = Fe(), o = $3(), s = _t(), r = we(), a = A0(), l = D2();
85125
+ const e = kt(), t = ne(), n = He(), i = Fe(), o = $3(), s = _t(), r = we(), a = A0(), l = D2();
85124
85126
  return {
85125
85127
  getFieldSettings: x(() => e.getFieldSettings),
85126
85128
  getContent: x(() => e.getContent),
@@ -86264,7 +86266,7 @@ const xJ1 = /* @__PURE__ */ v(kJ1, [["render", HJ1], ["__scopeId", "data-v-8240b
86264
86266
  setup(e) {
86265
86267
  const t = Ht({
86266
86268
  showUploadModal: !1
86267
- }), n = x1(null), i = xe(), o = () => {
86269
+ }), n = x1(null), i = He(), o = () => {
86268
86270
  i.emailAddress ? t.showUploadModal = !0 : window.dispatchEvent(
86269
86271
  new CustomEvent("SHOW_EMAIL_CAPTURE_MODAL", {
86270
86272
  detail: {
@@ -86437,7 +86439,7 @@ const xJ1 = /* @__PURE__ */ v(kJ1, [["render", HJ1], ["__scopeId", "data-v-8240b
86437
86439
  }
86438
86440
  ];
86439
86441
  return s.currentLogoIsByo ? F.filter((Z) => Z.value !== "1") : F;
86440
- }), l = _3(), d = l6(), c = $3(), C = xe();
86442
+ }), l = _3(), d = l6(), c = $3(), C = He();
86441
86443
  zt(() => h()), at(
86442
86444
  () => n.isLogoVisible,
86443
86445
  () => h()
@@ -90549,7 +90551,7 @@ const _d = /* @__PURE__ */ v(S8e, [["render", M8e]]), Jk = J({
90549
90551
  }
90550
90552
  },
90551
90553
  setup() {
90552
- const e = _t(), t = xe();
90554
+ const e = _t(), t = He();
90553
90555
  return {
90554
90556
  pageSettingsStore: e,
90555
90557
  userStore: t
@@ -90720,7 +90722,7 @@ const Fg = /* @__PURE__ */ v(k8e, [["render", T8e]]), L8e = {
90720
90722
  setup(e, { expose: t, emit: n }) {
90721
90723
  const i = e, o = k6(), s = kt(), r = _t(), a = x1(), l = x1(), d = x(
90722
90724
  () => o.availableTextFontFamilyOptions
90723
- ), c = JO(e, "modelValue"), C = n, h = x(() => `fontFamilySelector-${P3()}`), g = x1(!1), m = xe(), y = Fe(), w = x(() => m.isAdmin), b = x(() => y.logoTheme), S = Ht({
90725
+ ), c = JO(e, "modelValue"), C = n, h = x(() => `fontFamilySelector-${P3()}`), g = x1(!1), m = He(), y = Fe(), w = x(() => m.isAdmin), b = x(() => y.logoTheme), S = Ht({
90724
90726
  selectedTextStyle: "",
90725
90727
  selectedFont: "Lato",
90726
90728
  selectedFontSize: "2.25em",
@@ -93411,7 +93413,7 @@ const Ki = /* @__PURE__ */ v(zne, [["render", eie]]), tie = { class: "tw-flex tw
93411
93413
  },
93412
93414
  emits: ["update:modelValue"],
93413
93415
  setup(e, { emit: t }) {
93414
- const n = xe(), i = ne(), o = t, s = x1(null), r = e, a = Ht({
93416
+ const n = He(), i = ne(), o = t, s = x1(null), r = e, a = Ht({
93415
93417
  isCollapsed: !0
93416
93418
  }), l = x(() => r.name.replace(/Override$/, "")), d = x(() => r.object || r.content), c = x(() => {
93417
93419
  const w = Lf(
@@ -94545,11 +94547,13 @@ const jie = /* @__PURE__ */ v(Rie, [["render", Wie]]), Kie = 250, Yie = J({
94545
94547
  },
94546
94548
  emits: ["on-use-text", "capture-snapshot"],
94547
94549
  setup(e, { emit: t }) {
94548
- const n = e, i = t, o = we(), s = St(), r = A0(), a = x(() => o.abTests), l = x(() => {
94549
- const m = a.value.bp_4572_ai_text_generation_post_purchase;
94550
- return (m == null ? void 0 : m.isVariation) ?? !1;
94551
- }), d = x1(!1), c = he("generateText"), C = () => {
94552
- d.value = !0, s.sendWebsiteEvent({
94550
+ const n = e, i = t, o = we(), s = St(), r = A0(), a = He(), l = x(() => o.abTests), d = x(
94551
+ () => a.features.canUseAITextGenerator
94552
+ ), c = x(() => {
94553
+ const w = l.value.bp_4572_ai_text_generation_post_purchase;
94554
+ return d.value && (w == null ? void 0 : w.isVariation);
94555
+ }), C = x1(!1), h = he("generateText"), g = () => {
94556
+ C.value = !0, s.sendWebsiteEvent({
94553
94557
  eventName: Be.WEBSITE_MAKER_AI_GENERATE_TEXT,
94554
94558
  eventProps: {
94555
94559
  cta_location: n.ctaLocation,
@@ -94558,37 +94562,37 @@ const jie = /* @__PURE__ */ v(Rie, [["render", Wie]]), Kie = 250, Yie = J({
94558
94562
  }), r.clearSnapshot(), setTimeout(() => {
94559
94563
  i("capture-snapshot");
94560
94564
  }, 50);
94561
- }, h = () => {
94562
- d.value = !1, s.sendGenerateTextContinuationEvent(
94565
+ }, m = () => {
94566
+ C.value = !1, s.sendGenerateTextContinuationEvent(
94563
94567
  n.ctaLocation,
94564
94568
  XH.EXIT
94565
94569
  );
94566
- }, g = (m) => {
94567
- i("on-use-text", m), d.value = !1;
94570
+ }, y = (w) => {
94571
+ i("on-use-text", w), C.value = !1;
94568
94572
  };
94569
- return (m, y) => l.value ? (u(), f("div", yoe, [
94573
+ return (w, b) => c.value ? (u(), f("div", yoe, [
94570
94574
  p("p", {
94571
- title: A(c),
94575
+ title: A(h),
94572
94576
  class: D(["tw-text-xs tw-text-primary-500 tw-font-bold tw-cursor-pointer tw-flex tw-items-center tw-border-solid tw-border-primary-500 tw-border-2 tw-rounded-md tw-px-2 tw-py-1", {
94573
94577
  "tw-uppercase": !n.isDesignCom
94574
94578
  }]),
94575
- onClick: C
94579
+ onClick: g
94576
94580
  }, [
94577
94581
  T(A(le), {
94578
94582
  name: "ai",
94579
94583
  class: "tw-mr-1 tw-flex"
94580
94584
  }),
94581
- Ie(" " + P(A(c)), 1)
94585
+ Ie(" " + P(A(h)), 1)
94582
94586
  ], 10, woe),
94583
94587
  T(moe, {
94584
94588
  id: n.id,
94585
94589
  "field-name": n.fieldName,
94586
- "is-visible": d.value,
94590
+ "is-visible": C.value,
94587
94591
  "existing-text": n.existingText,
94588
94592
  "is-design-com": n.isDesignCom,
94589
94593
  "cta-location": n.ctaLocation,
94590
- onOnClose: h,
94591
- onOnUseText: g
94594
+ onOnClose: m,
94595
+ onOnUseText: y
94592
94596
  }, null, 8, ["id", "field-name", "is-visible", "existing-text", "is-design-com", "cta-location"])
94593
94597
  ])) : M("", !0);
94594
94598
  }
@@ -95358,7 +95362,7 @@ function dse(e, t, n, i, o, s) {
95358
95362
  }
95359
95363
  const cse = /* @__PURE__ */ v(ise, [["render", dse]]), nT = J({
95360
95364
  setup() {
95361
- const e = ne(), t = kt(), n = xe(), i = _t(), o = V5(), s = St();
95365
+ const e = ne(), t = kt(), n = He(), i = _t(), o = V5(), s = St();
95362
95366
  return {
95363
95367
  items: x(() => t.items),
95364
95368
  selectedItemId: x(() => t.selectedItemId),
@@ -95794,7 +95798,7 @@ const Tse = /* @__PURE__ */ v(vse, [["render", kse]]), K3 = {
95794
95798
  logo: "logo"
95795
95799
  }, sT = J({
95796
95800
  setup() {
95797
- const e = ne(), t = Fe(), n = xe(), i = _t(), o = kt(), s = x9(), r = we(), a = St(), l = (g) => {
95801
+ const e = ne(), t = Fe(), n = He(), i = _t(), o = kt(), s = x9(), r = we(), a = St(), l = (g) => {
95798
95802
  i.setPages({ pages: g.map((m) => m.page) });
95799
95803
  }, d = x({
95800
95804
  get() {
@@ -97314,7 +97318,7 @@ const zre = /* @__PURE__ */ v(Dre, [["render", Zre]]), aT = J({
97314
97318
  setup() {
97315
97319
  const e = kt(), t = ne();
97316
97320
  _t(), k6();
97317
- const n = xe(), i = Fe(), o = E0(), { externalEditor: s } = fd();
97321
+ const n = He(), i = Fe(), o = E0(), { externalEditor: s } = fd();
97318
97322
  return {
97319
97323
  currentRoute: x(() => o.currentRoute),
97320
97324
  selectedItemId: x(() => e.selectedItemId),
@@ -98975,7 +98979,7 @@ const Fle = /* @__PURE__ */ v(Ple, [["render", Rle], ["__scopeId", "data-v-ac721
98975
98979
  }
98976
98980
  },
98977
98981
  setup() {
98978
- const e = $3(), t = we(), n = xe(), i = kt(), o = ne();
98982
+ const e = $3(), t = we(), n = He(), i = kt(), o = ne();
98979
98983
  return {
98980
98984
  brandPageContainerStore: t,
98981
98985
  tabs: x(() => e.tabs),
@@ -99132,7 +99136,7 @@ function ede(e, t, n, i, o, s) {
99132
99136
  }
99133
99137
  const tde = /* @__PURE__ */ v(jle, [["render", ede]]), fT = J({
99134
99138
  setup() {
99135
- const e = Fe(), t = k6(), n = xe(), i = ne(), o = we(), s = L6(), r = St();
99139
+ const e = Fe(), t = k6(), n = He(), i = ne(), o = we(), s = L6(), r = St();
99136
99140
  return {
99137
99141
  logoTheme: x(() => e.logoTheme),
99138
99142
  availableButtonStyleConfigs: x(
@@ -99360,7 +99364,7 @@ const tde = /* @__PURE__ */ v(jle, [["render", ede]]), fT = J({
99360
99364
  }), sde = /* @__PURE__ */ J({
99361
99365
  __name: "TextStyleOptionsSettingsWithState",
99362
99366
  setup(e) {
99363
- const t = k6(), n = xe(), i = Fe(), o = _t(), s = x(
99367
+ const t = k6(), n = He(), i = Fe(), o = _t(), s = x(
99364
99368
  () => t.availableTextFontFamilyOptions
99365
99369
  ), r = x(
99366
99370
  () => t.textStyles.textStyleOptions
@@ -99704,7 +99708,7 @@ const $de = 100, gT = J({
99704
99708
  }
99705
99709
  },
99706
99710
  setup() {
99707
- const e = ne(), t = $3(), n = xe(), i = kt(), o = Fe(), s = _t(), r = we(), a = K5(), l = p3(), d = D0(), c = i$(), C = B3(), h = A0(), { captureSnapshot: g } = Ode(), m = V5();
99711
+ const e = ne(), t = $3(), n = He(), i = kt(), o = Fe(), s = _t(), r = we(), a = K5(), l = p3(), d = D0(), c = i$(), C = B3(), h = A0(), { captureSnapshot: g } = Ode(), m = V5();
99708
99712
  return {
99709
99713
  commonTr: he,
99710
99714
  currentNotificationMessage: x(
@@ -100201,7 +100205,7 @@ function Kde(e, t, n, i, o, s) {
100201
100205
  const Yde = /* @__PURE__ */ v(Nde, [["render", Kde], ["__scopeId", "data-v-88329098"]]), Xde = 250, yT = J({
100202
100206
  emits: ["template-selected"],
100203
100207
  setup() {
100204
- const e = ne(), t = we(), n = xe(), i = K5();
100208
+ const e = ne(), t = we(), n = He(), i = K5();
100205
100209
  return {
100206
100210
  selectedTemplateId: x(
100207
100211
  () => e.selectedTemplateId
@@ -102416,7 +102420,7 @@ const qCe = /* @__PURE__ */ v(PCe, [["render", zCe]]), GCe = { class: "tw-relati
102416
102420
  }
102417
102421
  },
102418
102422
  setup() {
102419
- const e = ne(), t = xe();
102423
+ const e = ne(), t = He();
102420
102424
  return {
102421
102425
  mode: x(() => e.mode),
102422
102426
  isAdmin: x(() => t.isAdmin),
@@ -102623,7 +102627,7 @@ const ppe = /* @__PURE__ */ v(upe, [["render", Cpe]]), hpe = {
102623
102627
  }), Lpe = { key: 1 }, Vpe = { class: "tw-mx-1" }, Hpe = { class: "tw-text-left tw-font-bold tw-mb-2" }, xpe = { class: "tw-font-sans tw-text-sm tw-text-grayscale-600" }, Ipe = { class: "tw-mt-3 tw-mb-1.5 tw-text-sm tw-font-bold" }, Epe = { class: "tw-mt-5" }, Ape = { class: "tw-font-sans tw-text-sm tw-text-grayscale-600" }, Ppe = { class: "tw-mt-2" }, Bpe = { class: "tw-mt-2" }, Ope = "saveContact", $pe = /* @__PURE__ */ J({
102624
102628
  __name: "BrandPageSettings",
102625
102629
  setup(e) {
102626
- const t = ne(), n = xe(), i = we(), o = $3(), s = x1(
102630
+ const t = ne(), n = He(), i = we(), o = $3(), s = x1(
102627
102631
  null
102628
102632
  ), { selectedSettingsSection: r } = ip(o), a = (g1) => {
102629
102633
  g1 && $4(() => {
@@ -103978,7 +103982,7 @@ export {
103978
103982
  J1 as H,
103979
103983
  nw as I,
103980
103984
  ne as J,
103981
- xe as K,
103985
+ He as K,
103982
103986
  wn as L,
103983
103987
  Fe as M,
103984
103988
  T1 as N,