@designcrowd/library.brand-page 6.2.9 → 6.2.10
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/lib/src/{CreatedOnBrandCrowd-de-de-9uC6t5HU.js → CreatedOnBrandCrowd-de-de-CTEj6D-p.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-P6TzcklZ.js → CreatedOnBrandCrowd-en-us-ByFNuMoA.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-DimkGb1_.js → CreatedOnBrandCrowd-es-es-lA_3mWIj.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-CL_iFuJw.js → CreatedOnBrandCrowd-fr-ca-CS_YkUz3.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-CL_iFuJw.js → CreatedOnBrandCrowd-fr-fr-CS_YkUz3.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DSIjEoMv.js → CreatedOnBrandCrowd-pt-br-BoduQ7zJ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DSIjEoMv.js → CreatedOnBrandCrowd-pt-pt-BoduQ7zJ.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-CKRvl9Ky.js → CreatedOnDcom-de-de-Co1OO4_u.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-ChplPDfS.js → CreatedOnDcom-en-us-DqFyqxOJ.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-DCIXsW9X.js → CreatedOnDcom-es-es-DhQWyb7C.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-lakt1nLU.js → CreatedOnDcom-fr-ca-DIxstLTf.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-RsGK1y5g.js → CreatedOnDcom-fr-fr-B-z8V1cH.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-DyA4XodM.js → CreatedOnDcom-pt-br-B7AMR1sc.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-BK51dTyw.js → CreatedOnDcom-pt-pt-Cdci4yr3.js} +1 -1
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +6 -5
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +6 -5
- package/lib/src/brand-page-maker/components/quick-link-bar/QuickLinkBar.mixin.d.ts +6 -5
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.d.ts +7 -5
- package/lib/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.js +5 -0
- package/lib/src/brand-page-maker/components/seo-settings/UrlSettings.mixin.d.ts +6 -5
- package/lib/src/brand-page-maker/components/seo-settings/UseExistingDomainModal.mixin.d.ts +6 -5
- package/lib/src/brand-page-maker/components/template-preview/TemplatePreview.mixin.d.ts +6 -5
- package/lib/src/brand-page-maker/components/upgrade-to-premium-button/UpgradeToPremiumButton.mixin.d.ts +6 -5
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.d.ts +7 -6
- package/lib/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.js +52 -5
- package/lib/src/css/library.brand-page-brandCrowd.min.css +1 -1
- package/lib/src/css/library.brand-page-brandPage.min.css +1 -1
- package/lib/src/css/library.brand-page-designCom.min.css +1 -1
- package/lib/src/css/library.brand-page-preview.min.css +1 -1
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-Ca7GMpcR.js → lib-Y-hakSU_.js} +265 -233
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +6 -5
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +6 -5
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +6 -5
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +6 -5
- package/lib/src/shared/publish-brand-page-with-state/PublishBrandPageModalWithState.mixin.d.ts +6 -5
- package/lib/src/shared/side-bar/components/SideBar.mixin.d.ts +6 -5
- package/lib/src/shared/style-settings/components/StyleSettings.mixin.d.ts +6 -5
- package/package.json +1 -1
- package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.test.ts +323 -0
- package/src/brand-page-maker/components/brandpage-settings/BrandPageSettings.vue +3 -3
- package/src/brand-page-maker/components/sensitive-content/SensitiveContent.vue +23 -3
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.mixin.ts +5 -0
- package/src/brand-page-maker/components/seo-settings/SeoPageSettings.vue +2 -0
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.save.test.ts +332 -1
- package/src/brand-page-maker/stores/brandpage-container/brand-page-container-store.ts +83 -5
|
@@ -29589,7 +29589,7 @@ function V$1() {
|
|
|
29589
29589
|
return G ? "Symbol(src)_1." + G : "";
|
|
29590
29590
|
})(), M1 = v1.toString, P1 = D1.hasOwnProperty, j1 = D1.toString, ae = RegExp(
|
|
29591
29591
|
"^" + M1.call(P1).replace(n1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
29592
|
-
), Oe = G1 ? L1.Buffer : void 0, s2 = L1.Symbol,
|
|
29592
|
+
), Oe = G1 ? L1.Buffer : void 0, s2 = L1.Symbol, J1 = L1.Uint8Array, s1 = k2(Object.getPrototypeOf, Object), E1 = Object.create, R1 = D1.propertyIsEnumerable, Ke = t1.splice, h3 = Object.getOwnPropertySymbols, c3 = Oe ? Oe.isBuffer : void 0, L4 = k2(Object.keys, Object), M3 = b8(L1, "DataView"), g3 = b8(L1, "Map"), $5 = b8(L1, "Promise"), B3 = b8(L1, "Set"), q3 = b8(L1, "WeakMap"), G4 = b8(Object, "create"), n6 = I9(M3), Ct = I9(g3), M7 = I9($5), d3 = I9(B3), y6 = I9(q3), p8 = s2 ? s2.prototype : void 0, ut = p8 ? p8.valueOf : void 0;
|
|
29593
29593
|
function u5(G) {
|
|
29594
29594
|
var k1 = -1, F1 = G ? G.length : 0;
|
|
29595
29595
|
for (this.clear(); ++k1 < F1; ) {
|
|
@@ -29788,7 +29788,7 @@ function V$1() {
|
|
|
29788
29788
|
}
|
|
29789
29789
|
function Bo(G) {
|
|
29790
29790
|
var k1 = new G.constructor(G.byteLength);
|
|
29791
|
-
return new
|
|
29791
|
+
return new J1(k1).set(new J1(G)), k1;
|
|
29792
29792
|
}
|
|
29793
29793
|
function Mr(G, k1) {
|
|
29794
29794
|
var F1 = k1 ? Bo(G.buffer) : G.buffer;
|
|
@@ -33185,7 +33185,7 @@ function mB1() {
|
|
|
33185
33185
|
H = [t1(Y1[0] * 255), t1(Y1[1] * 255), t1(Y1[2] * 255)], o1 = H[0], w1 = H[1], S1 = H[2];
|
|
33186
33186
|
}
|
|
33187
33187
|
return A.length > 3 ? [o1, w1, S1, A[3]] : [o1, w1, S1, 1];
|
|
33188
|
-
}, D1 = v1, Z1 = D1, y1 = w, M1 = /^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/, P1 = /^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/, j1 = /^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/, ae = /^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/, Oe = /^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/, s2 = /^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,
|
|
33188
|
+
}, D1 = v1, Z1 = D1, y1 = w, M1 = /^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/, P1 = /^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/, j1 = /^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/, ae = /^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/, Oe = /^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/, s2 = /^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/, J1 = Math.round, s1 = function(H) {
|
|
33189
33189
|
H = H.toLowerCase().trim();
|
|
33190
33190
|
var A;
|
|
33191
33191
|
if (y1.format.named)
|
|
@@ -33205,12 +33205,12 @@ function mB1() {
|
|
|
33205
33205
|
}
|
|
33206
33206
|
if (A = H.match(j1)) {
|
|
33207
33207
|
for (var o1 = A.slice(1, 4), w1 = 0; w1 < 3; w1++)
|
|
33208
|
-
o1[w1] =
|
|
33208
|
+
o1[w1] = J1(o1[w1] * 2.55);
|
|
33209
33209
|
return o1[3] = 1, o1;
|
|
33210
33210
|
}
|
|
33211
33211
|
if (A = H.match(ae)) {
|
|
33212
33212
|
for (var S1 = A.slice(1, 5), B1 = 0; B1 < 3; B1++)
|
|
33213
|
-
S1[B1] =
|
|
33213
|
+
S1[B1] = J1(S1[B1] * 2.55);
|
|
33214
33214
|
return S1[3] = +S1[3], S1;
|
|
33215
33215
|
}
|
|
33216
33216
|
if (A = H.match(Oe)) {
|
|
@@ -36406,7 +36406,7 @@ function HO() {
|
|
|
36406
36406
|
const M1 = "user-content-";
|
|
36407
36407
|
let P1 = !0, j1 = !1, ae = {}, Oe = null;
|
|
36408
36408
|
const s2 = u2({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
36409
|
-
let
|
|
36409
|
+
let J1 = null;
|
|
36410
36410
|
const s1 = u2({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
36411
36411
|
let E1 = null;
|
|
36412
36412
|
const R1 = u2({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ke = "http://www.w3.org/1998/Math/MathML", h3 = "http://www.w3.org/2000/svg", c3 = "http://www.w3.org/1999/xhtml";
|
|
@@ -36423,7 +36423,7 @@ function HO() {
|
|
|
36423
36423
|
let l1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
36424
36424
|
if (!(y6 && y6 === l1)) {
|
|
36425
36425
|
if ((!l1 || typeof l1 != "object") && (l1 = {}), l1 = O9(l1), n6 = // eslint-disable-next-line unicorn/prefer-includes
|
|
36426
|
-
Ct.indexOf(l1.PARSER_MEDIA_TYPE) === -1 ? M7 : l1.PARSER_MEDIA_TYPE, d3 = n6 === "application/xhtml+xml" ? vf : Wc, r1 = i9(l1, "ALLOWED_TAGS") ? u2({}, l1.ALLOWED_TAGS, d3) : x1, L1 = i9(l1, "ALLOWED_ATTR") ? u2({}, l1.ALLOWED_ATTR, d3) : $1, g3 = i9(l1, "ALLOWED_NAMESPACES") ? u2({}, l1.ALLOWED_NAMESPACES, vf) : $5, E1 = i9(l1, "ADD_URI_SAFE_ATTR") ? u2(O9(R1), l1.ADD_URI_SAFE_ATTR, d3) : R1,
|
|
36426
|
+
Ct.indexOf(l1.PARSER_MEDIA_TYPE) === -1 ? M7 : l1.PARSER_MEDIA_TYPE, d3 = n6 === "application/xhtml+xml" ? vf : Wc, r1 = i9(l1, "ALLOWED_TAGS") ? u2({}, l1.ALLOWED_TAGS, d3) : x1, L1 = i9(l1, "ALLOWED_ATTR") ? u2({}, l1.ALLOWED_ATTR, d3) : $1, g3 = i9(l1, "ALLOWED_NAMESPACES") ? u2({}, l1.ALLOWED_NAMESPACES, vf) : $5, E1 = i9(l1, "ADD_URI_SAFE_ATTR") ? u2(O9(R1), l1.ADD_URI_SAFE_ATTR, d3) : R1, J1 = i9(l1, "ADD_DATA_URI_TAGS") ? u2(O9(s1), l1.ADD_DATA_URI_TAGS, d3) : s1, Oe = i9(l1, "FORBID_CONTENTS") ? u2({}, l1.FORBID_CONTENTS, d3) : s2, G1 = i9(l1, "FORBID_TAGS") ? u2({}, l1.FORBID_TAGS, d3) : O9({}), N1 = i9(l1, "FORBID_ATTR") ? u2({}, l1.FORBID_ATTR, d3) : O9({}), ae = i9(l1, "USE_PROFILES") ? l1.USE_PROFILES : !1, he = l1.ALLOW_ARIA_ATTR !== !1, ye = l1.ALLOW_DATA_ATTR !== !1, We = l1.ALLOW_UNKNOWN_PROTOCOLS || !1, Ye = l1.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = l1.SAFE_FOR_TEMPLATES || !1, Qe = l1.SAFE_FOR_XML !== !1, o2 = l1.WHOLE_DOCUMENT || !1, t1 = l1.RETURN_DOM || !1, v1 = l1.RETURN_DOM_FRAGMENT || !1, D1 = l1.RETURN_TRUSTED_TYPE || !1, X = l1.FORCE_BODY || !1, Z1 = l1.SANITIZE_DOM !== !1, y1 = l1.SANITIZE_NAMED_PROPS || !1, P1 = l1.KEEP_CONTENT !== !1, j1 = l1.IN_PLACE || !1, q = l1.ALLOWED_URI_REGEXP || xO, L4 = l1.NAMESPACE || c3, B3 = l1.MATHML_TEXT_INTEGRATION_POINTS || B3, q3 = l1.HTML_INTEGRATION_POINTS || q3, p1 = l1.CUSTOM_ELEMENT_HANDLING || {}, l1.CUSTOM_ELEMENT_HANDLING && ut(l1.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (p1.tagNameCheck = l1.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l1.CUSTOM_ELEMENT_HANDLING && ut(l1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (p1.attributeNameCheck = l1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l1.CUSTOM_ELEMENT_HANDLING && typeof l1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (p1.allowCustomizedBuiltInElements = l1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (ye = !1), v1 && (t1 = !0), ae && (r1 = u2({}, mk), L1 = [], ae.html === !0 && (u2(r1, gk), u2(L1, yk)), ae.svg === !0 && (u2(r1, _f), u2(L1, Lf), u2(L1, da)), ae.svgFilters === !0 && (u2(r1, Mf), u2(L1, Lf), u2(L1, da)), ae.mathMl === !0 && (u2(r1, kf), u2(L1, wk), u2(L1, da))), l1.ADD_TAGS && (typeof l1.ADD_TAGS == "function" ? se.tagCheck = l1.ADD_TAGS : (r1 === x1 && (r1 = O9(r1)), u2(r1, l1.ADD_TAGS, d3))), l1.ADD_ATTR && (typeof l1.ADD_ATTR == "function" ? se.attributeCheck = l1.ADD_ATTR : (L1 === $1 && (L1 = O9(L1)), u2(L1, l1.ADD_ATTR, d3))), l1.ADD_URI_SAFE_ATTR && u2(E1, l1.ADD_URI_SAFE_ATTR, d3), l1.FORBID_CONTENTS && (Oe === s2 && (Oe = O9(Oe)), u2(Oe, l1.FORBID_CONTENTS, d3)), l1.ADD_FORBID_CONTENTS && (Oe === s2 && (Oe = O9(Oe)), u2(Oe, l1.ADD_FORBID_CONTENTS, d3)), P1 && (r1["#text"] = !0), o2 && u2(r1, ["html", "head", "body"]), r1.table && (u2(r1, ["tbody"]), delete G1.tbody), l1.TRUSTED_TYPES_POLICY) {
|
|
36427
36427
|
if (typeof l1.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
36428
36428
|
throw ei('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
36429
36429
|
if (typeof l1.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -36562,7 +36562,7 @@ function HO() {
|
|
|
36562
36562
|
) return !1;
|
|
36563
36563
|
} else if (!E1[K1]) {
|
|
36564
36564
|
if (!g5(q, Qo(pe, Y, ""))) {
|
|
36565
|
-
if (!((K1 === "src" || K1 === "xlink:href" || K1 === "href") && l1 !== "script" && wD1(pe, "data:") === 0 &&
|
|
36565
|
+
if (!((K1 === "src" || K1 === "xlink:href" || K1 === "href") && l1 !== "script" && wD1(pe, "data:") === 0 && J1[l1])) {
|
|
36566
36566
|
if (!(We && !g5(g1, Qo(pe, Y, "")))) {
|
|
36567
36567
|
if (pe)
|
|
36568
36568
|
return !1;
|
|
@@ -61346,9 +61346,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61346
61346
|
var Oe = "".concat(t1[6]).concat(t1[7], "/").concat(j1, "/").concat(ae);
|
|
61347
61347
|
if (!(0, s.default)(Oe, "YY/MM/DD"))
|
|
61348
61348
|
return !1;
|
|
61349
|
-
for (var s2 = 0,
|
|
61350
|
-
var s1 = parseInt(t1[
|
|
61351
|
-
isNaN(s1) && (s1 = t1[
|
|
61349
|
+
for (var s2 = 0, J1 = 1; J1 < t1.length - 1; J1 += 2) {
|
|
61350
|
+
var s1 = parseInt(t1[J1], 10);
|
|
61351
|
+
isNaN(s1) && (s1 = t1[J1].charCodeAt(0) - 65), s2 += s1;
|
|
61352
61352
|
}
|
|
61353
61353
|
for (var E1 = {
|
|
61354
61354
|
// Maps of characters at odd places
|
|
@@ -61484,8 +61484,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61484
61484
|
if (s2 !== parseInt(P1.charAt(0), 10))
|
|
61485
61485
|
return !1;
|
|
61486
61486
|
y1 += 1, M1 = X.substring(0, y1), j1 = 0, ae = y1 - 7;
|
|
61487
|
-
for (var
|
|
61488
|
-
j1 += M1.charAt(y1 -
|
|
61487
|
+
for (var J1 = y1; J1 >= 1; J1--)
|
|
61488
|
+
j1 += M1.charAt(y1 - J1) * ae, ae -= 1, ae < 2 && (ae = 9);
|
|
61489
61489
|
return s2 = j1 % 11 < 2 ? 0 : 11 - j1 % 11, s2 === parseInt(P1.charAt(1), 10);
|
|
61490
61490
|
}
|
|
61491
61491
|
function G1(X) {
|
|
@@ -63110,7 +63110,7 @@ function _Y1() {
|
|
|
63110
63110
|
Object.defineProperty(t, "__esModule", {
|
|
63111
63111
|
value: !0
|
|
63112
63112
|
}), t.default = void 0;
|
|
63113
|
-
var o = A1(/* @__PURE__ */ dv()), i = A1(/* @__PURE__ */ jR()), s = A1(/* @__PURE__ */ WW1()), r = A1(/* @__PURE__ */ KW1()), a = A1(/* @__PURE__ */ YW1()), l = A1(/* @__PURE__ */ XW1()), c = A1(/* @__PURE__ */ JW1()), d = A1(/* @__PURE__ */ XR()), C = A1(/* @__PURE__ */ QW1()), h = A1(/* @__PURE__ */ eK1()), g = A1(/* @__PURE__ */ Ru()), m = A1(/* @__PURE__ */ tK1()), y = A1(/* @__PURE__ */ Cv()), w = A1(/* @__PURE__ */ QR()), b = A1(/* @__PURE__ */ nK1()), _ = A1(/* @__PURE__ */ oK1()), S = A1(/* @__PURE__ */ iK1()), k = A1(/* @__PURE__ */ sK1()), x = pe(/* @__PURE__ */ rK1()), I = pe(/* @__PURE__ */ aK1()), O = A1(/* @__PURE__ */ lK1()), R = pe(/* @__PURE__ */ cK1()), Z = A1(/* @__PURE__ */ dK1()), D = A1(/* @__PURE__ */ CK1()), z = A1(/* @__PURE__ */ uK1()), K = A1(/* @__PURE__ */ pK1()), U = A1(/* @__PURE__ */ fK1()), Q = A1(/* @__PURE__ */ eZ()), j = A1(/* @__PURE__ */ tZ()), n1 = A1(/* @__PURE__ */ hK1()), g1 = A1(/* @__PURE__ */ gK1()), Y = A1(/* @__PURE__ */ yK1()), J = A1(/* @__PURE__ */ wK1()), q = A1(/* @__PURE__ */ uv()), r1 = pe(/* @__PURE__ */ GR()), x1 = A1(/* @__PURE__ */ bK1()), L1 = A1(/* @__PURE__ */ nZ()), $1 = A1(/* @__PURE__ */ vK1()), p1 = A1(/* @__PURE__ */ SK1()), G1 = A1(/* @__PURE__ */ CO()), N1 = A1(/* @__PURE__ */ _K1()), se = A1(/* @__PURE__ */ MK1()), he = A1(/* @__PURE__ */ kK1()), ye = pe(/* @__PURE__ */ LK1()), We = A1(/* @__PURE__ */ TK1()), Ye = A1(/* @__PURE__ */ xK1()), Ee = A1(/* @__PURE__ */ VK1()), Qe = A1(/* @__PURE__ */ HK1()), o2 = A1(/* @__PURE__ */ IK1()), k2 = A1(/* @__PURE__ */ EK1()), X = A1(/* @__PURE__ */ PK1()), t1 = A1(/* @__PURE__ */ YR()), v1 = A1(/* @__PURE__ */ AK1()), D1 = A1(/* @__PURE__ */ $K1()), Z1 = A1(/* @__PURE__ */ OK1()), y1 = A1(/* @__PURE__ */ BK1()), M1 = A1(/* @__PURE__ */ DK1()), P1 = A1(/* @__PURE__ */ NK1()), j1 = A1(/* @__PURE__ */ sZ()), ae = A1(/* @__PURE__ */ RK1()), Oe = A1(/* @__PURE__ */ ZK1()), s2 = A1(/* @__PURE__ */ FK1()),
|
|
63113
|
+
var o = A1(/* @__PURE__ */ dv()), i = A1(/* @__PURE__ */ jR()), s = A1(/* @__PURE__ */ WW1()), r = A1(/* @__PURE__ */ KW1()), a = A1(/* @__PURE__ */ YW1()), l = A1(/* @__PURE__ */ XW1()), c = A1(/* @__PURE__ */ JW1()), d = A1(/* @__PURE__ */ XR()), C = A1(/* @__PURE__ */ QW1()), h = A1(/* @__PURE__ */ eK1()), g = A1(/* @__PURE__ */ Ru()), m = A1(/* @__PURE__ */ tK1()), y = A1(/* @__PURE__ */ Cv()), w = A1(/* @__PURE__ */ QR()), b = A1(/* @__PURE__ */ nK1()), _ = A1(/* @__PURE__ */ oK1()), S = A1(/* @__PURE__ */ iK1()), k = A1(/* @__PURE__ */ sK1()), x = pe(/* @__PURE__ */ rK1()), I = pe(/* @__PURE__ */ aK1()), O = A1(/* @__PURE__ */ lK1()), R = pe(/* @__PURE__ */ cK1()), Z = A1(/* @__PURE__ */ dK1()), D = A1(/* @__PURE__ */ CK1()), z = A1(/* @__PURE__ */ uK1()), K = A1(/* @__PURE__ */ pK1()), U = A1(/* @__PURE__ */ fK1()), Q = A1(/* @__PURE__ */ eZ()), j = A1(/* @__PURE__ */ tZ()), n1 = A1(/* @__PURE__ */ hK1()), g1 = A1(/* @__PURE__ */ gK1()), Y = A1(/* @__PURE__ */ yK1()), J = A1(/* @__PURE__ */ wK1()), q = A1(/* @__PURE__ */ uv()), r1 = pe(/* @__PURE__ */ GR()), x1 = A1(/* @__PURE__ */ bK1()), L1 = A1(/* @__PURE__ */ nZ()), $1 = A1(/* @__PURE__ */ vK1()), p1 = A1(/* @__PURE__ */ SK1()), G1 = A1(/* @__PURE__ */ CO()), N1 = A1(/* @__PURE__ */ _K1()), se = A1(/* @__PURE__ */ MK1()), he = A1(/* @__PURE__ */ kK1()), ye = pe(/* @__PURE__ */ LK1()), We = A1(/* @__PURE__ */ TK1()), Ye = A1(/* @__PURE__ */ xK1()), Ee = A1(/* @__PURE__ */ VK1()), Qe = A1(/* @__PURE__ */ HK1()), o2 = A1(/* @__PURE__ */ IK1()), k2 = A1(/* @__PURE__ */ EK1()), X = A1(/* @__PURE__ */ PK1()), t1 = A1(/* @__PURE__ */ YR()), v1 = A1(/* @__PURE__ */ AK1()), D1 = A1(/* @__PURE__ */ $K1()), Z1 = A1(/* @__PURE__ */ OK1()), y1 = A1(/* @__PURE__ */ BK1()), M1 = A1(/* @__PURE__ */ DK1()), P1 = A1(/* @__PURE__ */ NK1()), j1 = A1(/* @__PURE__ */ sZ()), ae = A1(/* @__PURE__ */ RK1()), Oe = A1(/* @__PURE__ */ ZK1()), s2 = A1(/* @__PURE__ */ FK1()), J1 = A1(/* @__PURE__ */ UK1()), s1 = A1(/* @__PURE__ */ zK1()), E1 = A1(/* @__PURE__ */ qK1()), R1 = A1(/* @__PURE__ */ GK1()), Ke = pe(/* @__PURE__ */ jK1()), h3 = A1(/* @__PURE__ */ WK1()), c3 = A1(/* @__PURE__ */ KK1()), L4 = A1(/* @__PURE__ */ YK1()), M3 = /* @__PURE__ */ XK1(), g3 = A1(/* @__PURE__ */ JK1()), $5 = A1(/* @__PURE__ */ QK1()), B3 = A1(/* @__PURE__ */ eY1()), q3 = A1(/* @__PURE__ */ tY1()), G4 = A1(/* @__PURE__ */ oZ()), n6 = A1(/* @__PURE__ */ nY1()), Ct = A1(/* @__PURE__ */ oY1()), M7 = A1(/* @__PURE__ */ iY1()), d3 = A1(/* @__PURE__ */ sY1()), y6 = A1(/* @__PURE__ */ rY1()), p8 = A1(/* @__PURE__ */ iZ()), ut = A1(/* @__PURE__ */ aY1()), u5 = A1(/* @__PURE__ */ lY1()), f8 = A1(/* @__PURE__ */ cY1()), pt = A1(/* @__PURE__ */ dY1()), h8 = A1(/* @__PURE__ */ CY1()), T4 = pe(/* @__PURE__ */ uY1()), o6 = A1(/* @__PURE__ */ lZ()), j4 = A1(/* @__PURE__ */ aZ()), K6 = A1(/* @__PURE__ */ cZ()), ft = A1(/* @__PURE__ */ pY1()), ht = A1(/* @__PURE__ */ fY1()), p5 = A1(/* @__PURE__ */ hY1()), g8 = A1(/* @__PURE__ */ gY1()), i6 = A1(/* @__PURE__ */ dZ()), gt = A1(/* @__PURE__ */ mY1()), m8 = A1(/* @__PURE__ */ yY1()), y8 = A1(/* @__PURE__ */ wY1()), ke = A1(/* @__PURE__ */ bY1()), l1 = A1(/* @__PURE__ */ vY1()), K1 = A1(/* @__PURE__ */ SY1());
|
|
63114
63114
|
function pe(X2, L3) {
|
|
63115
63115
|
if (typeof WeakMap == "function") var s6 = /* @__PURE__ */ new WeakMap(), w6 = /* @__PURE__ */ new WeakMap();
|
|
63116
63116
|
return (pe = function(z2, Y6) {
|
|
@@ -63194,7 +63194,7 @@ function _Y1() {
|
|
|
63194
63194
|
isCreditCard: ae.default,
|
|
63195
63195
|
isIdentityCard: Oe.default,
|
|
63196
63196
|
isEAN: s2.default,
|
|
63197
|
-
isISIN:
|
|
63197
|
+
isISIN: J1.default,
|
|
63198
63198
|
isISBN: s1.default,
|
|
63199
63199
|
isISSN: E1.default,
|
|
63200
63200
|
isMobilePhone: Ke.default,
|
|
@@ -68537,7 +68537,7 @@ const gc = (e, t) => {
|
|
|
68537
68537
|
// editing) and pre-purchase sessions have no subscription to upgrade, so the
|
|
68538
68538
|
// cap never applies to them; otherwise a negative cap means unlimited.
|
|
68539
68539
|
canAddPage() {
|
|
68540
|
-
const e =
|
|
68540
|
+
const e = X1(), { maxNumOfPages: t } = L2().features;
|
|
68541
68541
|
return e.isPrePurchase || e.isAdminMaker || t < 0 || this.pages.length < t;
|
|
68542
68542
|
},
|
|
68543
68543
|
getFirstOrDefaultPage() {
|
|
@@ -69561,13 +69561,13 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69561
69561
|
copy(y1, M1) {
|
|
69562
69562
|
const P1 = y1.state.selection;
|
|
69563
69563
|
if (P1.empty) return;
|
|
69564
|
-
const j1 = M1.clipboardData, ae = JSON.stringify(t.styles), Oe = P1.content(), { dom: s2, text:
|
|
69565
|
-
return j1 && (M1.preventDefault(), j1.clearData(), j1.setData("text/html", s2.innerHTML), j1.setData("text/plain",
|
|
69564
|
+
const j1 = M1.clipboardData, ae = JSON.stringify(t.styles), Oe = P1.content(), { dom: s2, text: J1 } = y1.serializeForClipboard(Oe);
|
|
69565
|
+
return j1 && (M1.preventDefault(), j1.clearData(), j1.setData("text/html", s2.innerHTML), j1.setData("text/plain", J1), ae && j1.setData("application/x-rte-styles", ae)), !0;
|
|
69566
69566
|
},
|
|
69567
69567
|
paste(y1, M1) {
|
|
69568
69568
|
const P1 = M1.clipboardData?.getData(
|
|
69569
69569
|
"application/x-rte-styles"
|
|
69570
|
-
), j1 = M1.clipboardData?.getData("text/plain") || "", { state: ae, dispatch: Oe } = y1, { from: s2, to:
|
|
69570
|
+
), j1 = M1.clipboardData?.getData("text/plain") || "", { state: ae, dispatch: Oe } = y1, { from: s2, to: J1 } = ae.selection;
|
|
69571
69571
|
let s1 = ae.tr;
|
|
69572
69572
|
if (P1)
|
|
69573
69573
|
try {
|
|
@@ -69588,7 +69588,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69588
69588
|
} catch {
|
|
69589
69589
|
}
|
|
69590
69590
|
else {
|
|
69591
|
-
M1.preventDefault(), s1.delete(s2,
|
|
69591
|
+
M1.preventDefault(), s1.delete(s2, J1);
|
|
69592
69592
|
const E1 = kk(ae, t.styles);
|
|
69593
69593
|
s1 = s1.setStoredMarks(E1).insertText(j1, s2), r({ label: "None" });
|
|
69594
69594
|
}
|
|
@@ -69833,14 +69833,14 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69833
69833
|
if (M1?.href && M1?.text)
|
|
69834
69834
|
he(M1.href), c.value = M1.text;
|
|
69835
69835
|
else {
|
|
69836
|
-
const
|
|
69837
|
-
if (
|
|
69836
|
+
const J1 = g.getAttributes("link"), s1 = g.state.selection;
|
|
69837
|
+
if (J1.href) {
|
|
69838
69838
|
g.commands.extendMarkRange("link");
|
|
69839
69839
|
const E1 = g.state.doc.textBetween(
|
|
69840
69840
|
s1.from,
|
|
69841
69841
|
s1.to
|
|
69842
69842
|
);
|
|
69843
|
-
he(
|
|
69843
|
+
he(J1.href), c.value = E1;
|
|
69844
69844
|
} else {
|
|
69845
69845
|
const E1 = s1.empty ? "" : g.state.doc.textBetween(s1.from, s1.to);
|
|
69846
69846
|
he(""), c.value = E1;
|
|
@@ -69908,7 +69908,7 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
69908
69908
|
}, OH = e1({
|
|
69909
69909
|
mixins: [Dy],
|
|
69910
69910
|
setup() {
|
|
69911
|
-
const e = M2(), t = le(), n =
|
|
69911
|
+
const e = M2(), t = le(), n = X1(), o = L2(), i = U9(), s = i4(), r = w2(), a = Ne(), l = m2(), { externalEditor: c } = b7(), d = B4(), C = g6();
|
|
69912
69912
|
return {
|
|
69913
69913
|
items: L(() => e.items),
|
|
69914
69914
|
selectedItemId: L(() => e.selectedItemId),
|
|
@@ -70203,16 +70203,16 @@ const yi = /* @__PURE__ */ lt(WQ1), KQ1 = (e, t, n) => {
|
|
|
70203
70203
|
xe(() => n.context.isDesignCom, async () => {
|
|
70204
70204
|
const _ = $6().toLowerCase(), S = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
70205
70205
|
try {
|
|
70206
|
-
const { default: k } = await BH(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
70206
|
+
const { default: k } = await BH(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-CTEj6D-p.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-ByFNuMoA.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-lA_3mWIj.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-CS_YkUz3.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-CS_YkUz3.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-BoduQ7zJ.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-BoduQ7zJ.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-Co1OO4_u.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DqFyqxOJ.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-DhQWyb7C.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-DIxstLTf.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-B-z8V1cH.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-B7AMR1sc.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-Cdci4yr3.js") }), `./watermark/CreatedOn${S}-${_}.vue`, 3);
|
|
70207
70207
|
o.value = k;
|
|
70208
70208
|
} catch {
|
|
70209
|
-
const { default: x } = await BH(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
70209
|
+
const { default: x } = await BH(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-ByFNuMoA.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-DqFyqxOJ.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
|
|
70210
70210
|
o.value = x;
|
|
70211
70211
|
}
|
|
70212
70212
|
}, {
|
|
70213
70213
|
immediate: !0
|
|
70214
70214
|
});
|
|
70215
|
-
const s = n.context.abTests?.bp_3926_freemium_watermark, r =
|
|
70215
|
+
const s = n.context.abTests?.bp_3926_freemium_watermark, r = X1(), a = S5(), l = m2(), c = L(() => !!s?.isVariation), d = R2({
|
|
70216
70216
|
extraHeightStyle: { height: "0px" }
|
|
70217
70217
|
}), C = Ov(), h = (_) => {
|
|
70218
70218
|
_ ? setTimeout(() => {
|
|
@@ -71450,7 +71450,7 @@ const j5e = /* @__PURE__ */ v(q5e, [["render", G5e]]), W5e = e1({
|
|
|
71450
71450
|
mixins: [W5e]
|
|
71451
71451
|
}, Y5e = ["viewBox"];
|
|
71452
71452
|
function X5e(e, t, n, o, i, s) {
|
|
71453
|
-
const r = E("IconAmazon"), a = E("IconAppstore"), l = E("IconBehance"), c = E("IconBell"), d = E("IconCalendar"), C = E("IconCoffee"), h = E("IconComment"), g = E("IconController"), m = E("IconDesktop"), y = E("IconDiscord"), w = E("IconDonate"), b = E("IconDribbble"), _ = E("IconEbay"), S = E("IconEmail"), k = E("IconEnvelope"), x = E("IconEtsy"), I = E("IconFacebook"), O = E("IconFax"), R = E("IconForm"), Z = E("IconGeneralLink"), D = E("IconGift"), z = E("IconGlobe"), K = E("IconGoogle"), U = E("IconGooglePlus"), Q = E("IconHeadphones"), j = E("IconHeart"), n1 = E("IconHome"), g1 = E("IconImages"), Y = E("IconImageGallery"), J = E("IconInfo"), q = E("IconInstagram"), r1 = E("IconLinkedIn"), x1 = E("IconMap"), L1 = E("IconMobile"), $1 = E("IconMusic"), p1 = E("IconPhone"), G1 = E("IconPin"), N1 = E("IconPinterest"), se = E("IconPlaystore"), he = E("IconPodcast"), ye = E("IconQuestion"), We = E("IconRequestPayment"), Ye = E("IconShape"), Ee = E("IconShipping"), Qe = E("IconShoppingBag"), o2 = E("IconShoppingCart"), k2 = E("IconSlack"), X = E("IconSnapchat"), t1 = E("IconSoundcloud"), v1 = E("IconSpotify"), D1 = E("IconStar"), Z1 = E("IconStore"), y1 = E("IconThumbsUp"), M1 = E("IconTikTok"), P1 = E("IconTumblr"), j1 = E("IconTwitch"), ae = E("IconTwitter"), Oe = E("IconX"), s2 = E("IconThreads"),
|
|
71453
|
+
const r = E("IconAmazon"), a = E("IconAppstore"), l = E("IconBehance"), c = E("IconBell"), d = E("IconCalendar"), C = E("IconCoffee"), h = E("IconComment"), g = E("IconController"), m = E("IconDesktop"), y = E("IconDiscord"), w = E("IconDonate"), b = E("IconDribbble"), _ = E("IconEbay"), S = E("IconEmail"), k = E("IconEnvelope"), x = E("IconEtsy"), I = E("IconFacebook"), O = E("IconFax"), R = E("IconForm"), Z = E("IconGeneralLink"), D = E("IconGift"), z = E("IconGlobe"), K = E("IconGoogle"), U = E("IconGooglePlus"), Q = E("IconHeadphones"), j = E("IconHeart"), n1 = E("IconHome"), g1 = E("IconImages"), Y = E("IconImageGallery"), J = E("IconInfo"), q = E("IconInstagram"), r1 = E("IconLinkedIn"), x1 = E("IconMap"), L1 = E("IconMobile"), $1 = E("IconMusic"), p1 = E("IconPhone"), G1 = E("IconPin"), N1 = E("IconPinterest"), se = E("IconPlaystore"), he = E("IconPodcast"), ye = E("IconQuestion"), We = E("IconRequestPayment"), Ye = E("IconShape"), Ee = E("IconShipping"), Qe = E("IconShoppingBag"), o2 = E("IconShoppingCart"), k2 = E("IconSlack"), X = E("IconSnapchat"), t1 = E("IconSoundcloud"), v1 = E("IconSpotify"), D1 = E("IconStar"), Z1 = E("IconStore"), y1 = E("IconThumbsUp"), M1 = E("IconTikTok"), P1 = E("IconTumblr"), j1 = E("IconTwitch"), ae = E("IconTwitter"), Oe = E("IconX"), s2 = E("IconThreads"), J1 = E("IconUser"), s1 = E("IconUtensils"), E1 = E("IconVideo"), R1 = E("IconWhatsapp"), Ke = E("IconWineGlass"), h3 = E("IconYoutube"), c3 = E("IconReddit"), L4 = E("IconTelegram"), M3 = E("IconSubstack"), g3 = E("IconPatreon"), $5 = E("IconMessenger"), B3 = E("IconAppleMusic"), q3 = E("IconEmailAt"), G4 = E("IconNumeric"), n6 = E("IconGoogleAdsense"), Ct = E("IconGoogleAnalytics");
|
|
71454
71454
|
return u(), f("div", null, [
|
|
71455
71455
|
(u(), f("svg", {
|
|
71456
71456
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -71521,7 +71521,7 @@ function X5e(e, t, n, o, i, s) {
|
|
|
71521
71521
|
e.name === "twitter" ? (u(), $(ae, { key: 56 })) : M("", !0),
|
|
71522
71522
|
e.name === "x" ? (u(), $(Oe, { key: 57 })) : M("", !0),
|
|
71523
71523
|
e.name === "threads" ? (u(), $(s2, { key: 58 })) : M("", !0),
|
|
71524
|
-
e.name === "user" ? (u(), $(
|
|
71524
|
+
e.name === "user" ? (u(), $(J1, { key: 59 })) : M("", !0),
|
|
71525
71525
|
e.name === "utensils" ? (u(), $(s1, { key: 60 })) : M("", !0),
|
|
71526
71526
|
e.name === "video" ? (u(), $(E1, { key: 61 })) : M("", !0),
|
|
71527
71527
|
e.name === "whatsapp" ? (u(), $(R1, { key: 62 })) : M("", !0),
|
|
@@ -81275,7 +81275,7 @@ const _0 = (e) => {
|
|
|
81275
81275
|
);
|
|
81276
81276
|
function C(J) {
|
|
81277
81277
|
try {
|
|
81278
|
-
if (!
|
|
81278
|
+
if (!X1().isPrePurchase) return;
|
|
81279
81279
|
} catch {
|
|
81280
81280
|
return;
|
|
81281
81281
|
}
|
|
@@ -81766,7 +81766,7 @@ const _0 = (e) => {
|
|
|
81766
81766
|
return lo(t, "gettyAssetId").length >= Zv;
|
|
81767
81767
|
},
|
|
81768
81768
|
canAddNewVideo() {
|
|
81769
|
-
const e = L2(), t =
|
|
81769
|
+
const e = L2(), t = X1(), n = e.features.canUseGettyVideos, o = t.isPrePurchase, i = e.hasPremiumSubscription;
|
|
81770
81770
|
return n && (t.isAdminMaker || o || i);
|
|
81771
81771
|
}
|
|
81772
81772
|
}
|
|
@@ -82216,7 +82216,7 @@ const M2 = W2("uiContentSettings", {
|
|
|
82216
82216
|
}), this._setItems(e), this.onContentChanged();
|
|
82217
82217
|
},
|
|
82218
82218
|
validateItem(e) {
|
|
82219
|
-
const t =
|
|
82219
|
+
const t = X1(), n = this.items.find((C) => C.id === e.id);
|
|
82220
82220
|
if (!n) {
|
|
82221
82221
|
process.env.NODE_ENV !== "production" && console.error(`unable to locate content item by id '${e.id}'`);
|
|
82222
82222
|
return;
|
|
@@ -82965,7 +82965,7 @@ function uie() {
|
|
|
82965
82965
|
}
|
|
82966
82966
|
var v1 = U && 1 / b(new U([, -0]))[1] == n ? function(s1) {
|
|
82967
82967
|
return new U(s1);
|
|
82968
|
-
} :
|
|
82968
|
+
} : J1;
|
|
82969
82969
|
function D1(s1, E1) {
|
|
82970
82970
|
var R1 = s1.__data__;
|
|
82971
82971
|
return y1(E1) ? R1[typeof E1 == "string" ? "string" : "hash"] : R1.map;
|
|
@@ -83008,7 +83008,7 @@ function uie() {
|
|
|
83008
83008
|
var E1 = typeof s1;
|
|
83009
83009
|
return !!s1 && (E1 == "object" || E1 == "function");
|
|
83010
83010
|
}
|
|
83011
|
-
function
|
|
83011
|
+
function J1() {
|
|
83012
83012
|
}
|
|
83013
83013
|
return mg = j1, mg;
|
|
83014
83014
|
}
|
|
@@ -83117,7 +83117,7 @@ const sI = () => yg || (yg = new mie()), HC = (e, t) => yie(e).then(
|
|
|
83117
83117
|
}),
|
|
83118
83118
|
getters: {
|
|
83119
83119
|
renderAsImage() {
|
|
83120
|
-
return !
|
|
83120
|
+
return !X1().isAdminMaker;
|
|
83121
83121
|
}
|
|
83122
83122
|
},
|
|
83123
83123
|
actions: {
|
|
@@ -83193,7 +83193,7 @@ const sI = () => yg || (yg = new mie()), HC = (e, t) => yie(e).then(
|
|
|
83193
83193
|
}
|
|
83194
83194
|
},
|
|
83195
83195
|
async loadPageNo({ pageNo: e }) {
|
|
83196
|
-
const t = le(), n =
|
|
83196
|
+
const t = le(), n = X1(), o = X3(), i = R4(), s = t5(), r = n.designTemplateToken;
|
|
83197
83197
|
if (t.isInitialising) {
|
|
83198
83198
|
setTimeout(() => {
|
|
83199
83199
|
this.loadPageNo({ pageNo: e });
|
|
@@ -83376,7 +83376,7 @@ const sI = () => yg || (yg = new mie()), HC = (e, t) => yie(e).then(
|
|
|
83376
83376
|
* re-fetch templates when the logo changes to regenerate preview images with the new logo.
|
|
83377
83377
|
*/
|
|
83378
83378
|
setupLogoChangeWatcher() {
|
|
83379
|
-
const e = X3(), t = t5(), n =
|
|
83379
|
+
const e = X3(), t = t5(), n = X1(), { selectedLogoImage: o } = gd(e), { editableLogoVariations: i } = gd(t);
|
|
83380
83380
|
let s = null;
|
|
83381
83381
|
xe(
|
|
83382
83382
|
() => o.value,
|
|
@@ -83407,7 +83407,7 @@ const sI = () => yg || (yg = new mie()), HC = (e, t) => yie(e).then(
|
|
|
83407
83407
|
}), lI = Object.freeze({
|
|
83408
83408
|
Published: "Published",
|
|
83409
83409
|
Unpublished: "Unpublished"
|
|
83410
|
-
}),
|
|
83410
|
+
}), X1 = W2("brandPageContainer", {
|
|
83411
83411
|
state: () => ({
|
|
83412
83412
|
brandPageBaseUrl: "",
|
|
83413
83413
|
baseFabricRenderUrl: "",
|
|
@@ -84014,34 +84014,38 @@ const sI = () => yg || (yg = new mie()), HC = (e, t) => yie(e).then(
|
|
|
84014
84014
|
console.error(t);
|
|
84015
84015
|
}
|
|
84016
84016
|
},
|
|
84017
|
-
async updateBrandPageSettings(
|
|
84018
|
-
|
|
84017
|
+
async updateBrandPageSettings(e) {
|
|
84018
|
+
if (!this.designDraftToken && !await this.saveSiteBeforeFirstSettingsWrite())
|
|
84019
|
+
return;
|
|
84020
|
+
const t = le();
|
|
84019
84021
|
try {
|
|
84020
84022
|
this.setIsPublishing({ isPublishing: !0 });
|
|
84021
|
-
const
|
|
84022
|
-
|
|
84023
|
+
const n = await I3.updateBrandPageMetaAsync(
|
|
84024
|
+
t.brandPageType,
|
|
84023
84025
|
this.designDraftToken,
|
|
84024
84026
|
{
|
|
84025
|
-
pageDescription: e,
|
|
84026
|
-
pageTitle:
|
|
84027
|
+
pageDescription: e.description,
|
|
84028
|
+
pageTitle: e.title,
|
|
84027
84029
|
metaKeywords: []
|
|
84028
84030
|
}
|
|
84029
84031
|
);
|
|
84030
|
-
if (!
|
|
84031
|
-
await
|
|
84032
|
+
if (!n) {
|
|
84033
|
+
await t.enqueueErrorMessage();
|
|
84032
84034
|
return;
|
|
84033
84035
|
}
|
|
84034
|
-
this.updateBrandPageMeta(
|
|
84036
|
+
this.updateBrandPageMeta(n), await t.enqueueSaveSuccessMessage({
|
|
84035
84037
|
description: W3("settingsSaveSuccessMessage"),
|
|
84036
84038
|
isPublished: this.isPublished
|
|
84037
84039
|
});
|
|
84038
|
-
} catch (
|
|
84039
|
-
await
|
|
84040
|
+
} catch (n) {
|
|
84041
|
+
await t.enqueueErrorMessage(), process.env.NODE_ENV !== "production" && console.error(n);
|
|
84040
84042
|
} finally {
|
|
84041
|
-
this.setIsPublishing({ isPublishing: !1 }), await
|
|
84043
|
+
this.setIsPublishing({ isPublishing: !1 }), await t.showNextNotificationMessage();
|
|
84042
84044
|
}
|
|
84043
84045
|
},
|
|
84044
|
-
async updateSensitiveContent(
|
|
84046
|
+
async updateSensitiveContent(e) {
|
|
84047
|
+
if (!this.designDraftToken && !await this.saveSiteBeforeFirstSettingsWrite())
|
|
84048
|
+
return;
|
|
84045
84049
|
const t = le();
|
|
84046
84050
|
try {
|
|
84047
84051
|
this.setIsPublishing({ isPublishing: !0 });
|
|
@@ -84049,7 +84053,7 @@ const sI = () => yg || (yg = new mie()), HC = (e, t) => yie(e).then(
|
|
|
84049
84053
|
t.brandPageType,
|
|
84050
84054
|
this.designDraftToken,
|
|
84051
84055
|
{
|
|
84052
|
-
sensitiveContentType: e
|
|
84056
|
+
sensitiveContentType: e.sensitiveContent
|
|
84053
84057
|
}
|
|
84054
84058
|
);
|
|
84055
84059
|
if (!n) {
|
|
@@ -84066,6 +84070,23 @@ const sI = () => yg || (yg = new mie()), HC = (e, t) => yie(e).then(
|
|
|
84066
84070
|
this.setIsPublishing({ isPublishing: !1 }), await t.showNextNotificationMessage();
|
|
84067
84071
|
}
|
|
84068
84072
|
},
|
|
84073
|
+
// Pre-purchase drafts are saved by the host, never the maker — save-publish.md.
|
|
84074
|
+
async saveSiteBeforeFirstSettingsWrite() {
|
|
84075
|
+
if (this.isAdminMaker)
|
|
84076
|
+
return !1;
|
|
84077
|
+
const e = le();
|
|
84078
|
+
if (this.isPrePurchase)
|
|
84079
|
+
return window.dispatchEvent(new Event("SAVE_PROGRESS_CLICKED")), this.isSaving || (await e.enqueueErrorMessage(), await e.showNextNotificationMessage()), !1;
|
|
84080
|
+
if (this.isSaving || this.isPublishing)
|
|
84081
|
+
return await e.enqueueErrorMessage(), await e.showNextNotificationMessage(), !1;
|
|
84082
|
+
this.setIsPublishing({ isPublishing: !0 });
|
|
84083
|
+
const t = [
|
|
84084
|
+
...e.notificationMessageQueue
|
|
84085
|
+
], n = await this.saveBrandPage({ saveOnly: !0 });
|
|
84086
|
+
return !n || !n.saved ? (e.notificationMessageQueue.some(
|
|
84087
|
+
(i) => i.type === "error" && !t.includes(i)
|
|
84088
|
+
) || await e.enqueueErrorMessage(), this.setIsPublishing({ isPublishing: !1 }), await e.showNextNotificationMessage(), !1) : (this.setTriggerSaveSuccessMessage({ triggerSaveSuccessMessage: !1 }), !0);
|
|
84089
|
+
},
|
|
84069
84090
|
async createBrandPageCustomDomain({ domainName: e }) {
|
|
84070
84091
|
const t = le(), n = await I3.createBrandPageCustomDomainAsync(
|
|
84071
84092
|
t.brandPageType,
|
|
@@ -84161,7 +84182,7 @@ const sI = () => yg || (yg = new mie()), HC = (e, t) => yie(e).then(
|
|
|
84161
84182
|
}, cI = () => "/api/assistant/thread/website", dI = (e) => `/api/assistant/thread/website/${e}`, CI = (e) => `/api/assistant/thread/website/${e}/tool-submission`;
|
|
84162
84183
|
class Sie {
|
|
84163
84184
|
getRequestVerificationToken() {
|
|
84164
|
-
return
|
|
84185
|
+
return X1().requestVerificationToken || "";
|
|
84165
84186
|
}
|
|
84166
84187
|
getRequestHeaders() {
|
|
84167
84188
|
const t = this.getRequestVerificationToken();
|
|
@@ -84559,12 +84580,12 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
84559
84580
|
},
|
|
84560
84581
|
getters: {
|
|
84561
84582
|
currentPublishedSlugUrl: (e) => () => {
|
|
84562
|
-
const t =
|
|
84583
|
+
const t = X1();
|
|
84563
84584
|
if (!(!t.brandPageSlug || !e.baseBrandPageDomain))
|
|
84564
84585
|
return `${e.baseBrandPageDomain}/${t.brandPageSlug}`;
|
|
84565
84586
|
},
|
|
84566
84587
|
currentBrandPageUrl: (e) => () => {
|
|
84567
|
-
const t =
|
|
84588
|
+
const t = X1();
|
|
84568
84589
|
return t.brandPageSlug ? `${e.baseBrandPageDomain}/${t.brandPageSlug}` : "";
|
|
84569
84590
|
},
|
|
84570
84591
|
getPostpurchaseByDesignDraftTokenUrl: () => (e, t) => Tie(e, {
|
|
@@ -84758,7 +84779,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
84758
84779
|
this.selectedTemplateId = e.templateId;
|
|
84759
84780
|
},
|
|
84760
84781
|
async recalculateLogoSizes(e = !1) {
|
|
84761
|
-
const t =
|
|
84782
|
+
const t = X1(), n = w2(), o = X3(), i = t5();
|
|
84762
84783
|
!t.isAdminMaker && this.isBrandSite ? await RZ(
|
|
84763
84784
|
n,
|
|
84764
84785
|
o,
|
|
@@ -84774,7 +84795,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
84774
84795
|
);
|
|
84775
84796
|
},
|
|
84776
84797
|
async applySelectedTemplate() {
|
|
84777
|
-
const e = Ne(), t = X3(), n = B4(), o = b5(), i = p6(), s = U9(), r = D4(), a =
|
|
84798
|
+
const e = Ne(), t = X3(), n = B4(), o = b5(), i = p6(), s = U9(), r = D4(), a = X1(), l = M2(), c = t5(), d = R4();
|
|
84778
84799
|
if (!this.selectedTemplateId)
|
|
84779
84800
|
return;
|
|
84780
84801
|
let C = i.getTemplateByTemplateId(
|
|
@@ -85024,7 +85045,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85024
85045
|
}), e.isModifiedAfterTemplateApplied !== void 0 && (this.isModifiedAfterTemplateApplied = e.isModifiedAfterTemplateApplied), e.brandPageType && this.setBrandPageType({ brandPageType: e.brandPageType }), this.faviconUrl = e.faviconUrl, this.ogImageUrl = e.ogImageUrl, this.measurementID = e.measurementID, this.adsenseID = e.adsenseID, this.ogTitle = e.ogTitle, this.ogDescription = e.ogDescription, this.cookieOptions = e.cookieOptions, this.saveContactSettings = e.saveContactSettings, o !== void 0 && this.setSelectedTemplateId({ templateId: o }), await this._syncLogoSettingsFromSnapshot(e, n), this._fallbackSidebarIfSelectedContentMissing(e), this._navigateToActivePage(t);
|
|
85025
85046
|
},
|
|
85026
85047
|
async _syncLogoSettingsFromSnapshot(e, t) {
|
|
85027
|
-
const n = X3(), o = t5(), i = R4(), s =
|
|
85048
|
+
const n = X3(), o = t5(), i = R4(), s = X1(), r = JSON.stringify(
|
|
85028
85049
|
Wg(o.logoEdits)
|
|
85029
85050
|
), a = o.logoDraftToken;
|
|
85030
85051
|
if (t)
|
|
@@ -85187,7 +85208,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85187
85208
|
shopConfigData: g,
|
|
85188
85209
|
isServerRenderOverride: m = !1
|
|
85189
85210
|
}) {
|
|
85190
|
-
const y =
|
|
85211
|
+
const y = X1(), w = L2(), b = Ne(), _ = b5(), S = p6(), k = X3(), x = t5(), I = D4(), O = B4(), R = U9();
|
|
85191
85212
|
i4(), R.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
|
|
85192
85213
|
try {
|
|
85193
85214
|
const Z = Q9(
|
|
@@ -85417,7 +85438,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85417
85438
|
},
|
|
85418
85439
|
initialiseAdminMaker(e) {
|
|
85419
85440
|
const t = HF(), n = M2();
|
|
85420
|
-
if (!
|
|
85441
|
+
if (!X1().isAdminMaker)
|
|
85421
85442
|
return;
|
|
85422
85443
|
t.setPreviewLogoTemplateModels({
|
|
85423
85444
|
models: e.models
|
|
@@ -85432,25 +85453,25 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85432
85453
|
});
|
|
85433
85454
|
},
|
|
85434
85455
|
async setIsSaving(e) {
|
|
85435
|
-
await
|
|
85456
|
+
await X1().setIsSaving(e);
|
|
85436
85457
|
},
|
|
85437
85458
|
async showBrandPageSlugEditModal() {
|
|
85438
|
-
await
|
|
85459
|
+
await X1().showBrandPageSlugEditModal(
|
|
85439
85460
|
o4.SLUG_CHANGE_MAKER_SIDEBAR_SETTINGS
|
|
85440
85461
|
);
|
|
85441
85462
|
},
|
|
85442
85463
|
async updateBrandPageSettings(e) {
|
|
85443
|
-
await
|
|
85464
|
+
await X1().updateBrandPageSettings(e), e.shouldRefresh && typeof window < "u" && window.location.reload();
|
|
85444
85465
|
},
|
|
85445
85466
|
async updateSensitiveContentSettings(e) {
|
|
85446
|
-
await
|
|
85467
|
+
await X1().updateSensitiveContent(e), e.shouldRefresh && typeof window < "u" && window.location.reload();
|
|
85447
85468
|
},
|
|
85448
85469
|
async updateAndSaveMeasurementID(e) {
|
|
85449
|
-
const t =
|
|
85470
|
+
const t = X1();
|
|
85450
85471
|
this.setMeasurementID({ measurementID: e.measurementID }), await t.saveBrandPage();
|
|
85451
85472
|
},
|
|
85452
85473
|
async updateAndSaveAdsenseID(e) {
|
|
85453
|
-
const t =
|
|
85474
|
+
const t = X1();
|
|
85454
85475
|
this.setAdsenseID({ adsenseID: e.adsenseID }), await t.saveBrandPage();
|
|
85455
85476
|
},
|
|
85456
85477
|
async validateContentItems() {
|
|
@@ -85473,7 +85494,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85473
85494
|
);
|
|
85474
85495
|
},
|
|
85475
85496
|
async showStripeOnboardingModal() {
|
|
85476
|
-
await
|
|
85497
|
+
await X1().showStripeOnboardingModal();
|
|
85477
85498
|
},
|
|
85478
85499
|
selectInitialCategories(e) {
|
|
85479
85500
|
const t = p6(), n = M2();
|
|
@@ -85541,13 +85562,13 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85541
85562
|
};
|
|
85542
85563
|
},
|
|
85543
85564
|
brandPageToken() {
|
|
85544
|
-
return
|
|
85565
|
+
return X1().brandPageToken;
|
|
85545
85566
|
},
|
|
85546
85567
|
brandPageDescription() {
|
|
85547
|
-
return
|
|
85568
|
+
return X1().brandPageDescription;
|
|
85548
85569
|
},
|
|
85549
85570
|
brandPageSlug() {
|
|
85550
|
-
return
|
|
85571
|
+
return X1().brandPageSlug || "";
|
|
85551
85572
|
},
|
|
85552
85573
|
brandPageTemplate() {
|
|
85553
85574
|
const e = w2(), t = D4(), n = B4(), o = U9(), i = b5(), s = e.pages.map((m) => ({
|
|
@@ -85614,10 +85635,10 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85614
85635
|
};
|
|
85615
85636
|
},
|
|
85616
85637
|
brandPageTitle() {
|
|
85617
|
-
return
|
|
85638
|
+
return X1().brandPageTitle;
|
|
85618
85639
|
},
|
|
85619
85640
|
brandPageViewModel() {
|
|
85620
|
-
const e = L2(), t = T9(), n =
|
|
85641
|
+
const e = L2(), t = T9(), n = X1(), o = Ne(), i = e.features.showBrandCrowdLogo, { model: s } = Ed(
|
|
85621
85642
|
this.brandPageData,
|
|
85622
85643
|
o.logoTheme
|
|
85623
85644
|
);
|
|
@@ -85642,30 +85663,30 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85642
85663
|
return Ne().screenSizeMode !== X8.mobile;
|
|
85643
85664
|
},
|
|
85644
85665
|
isProduction() {
|
|
85645
|
-
return
|
|
85666
|
+
return X1().isProduction;
|
|
85646
85667
|
},
|
|
85647
85668
|
isPublishButtonEnabled() {
|
|
85648
85669
|
return !this.isSaving;
|
|
85649
85670
|
},
|
|
85650
85671
|
isPublished() {
|
|
85651
|
-
const e =
|
|
85672
|
+
const e = X1();
|
|
85652
85673
|
return !e.isAdminMaker && e.isPublished;
|
|
85653
85674
|
},
|
|
85654
85675
|
isPublishing() {
|
|
85655
|
-
return
|
|
85676
|
+
return X1().isPublishing;
|
|
85656
85677
|
},
|
|
85657
85678
|
isSaving() {
|
|
85658
|
-
return
|
|
85679
|
+
return X1().isSaving;
|
|
85659
85680
|
},
|
|
85660
85681
|
isUserDraft() {
|
|
85661
|
-
return
|
|
85682
|
+
return X1().isUserDraft;
|
|
85662
85683
|
},
|
|
85663
85684
|
runtimeEnvironment() {
|
|
85664
|
-
return
|
|
85685
|
+
return X1().runtimeEnvironment;
|
|
85665
85686
|
},
|
|
85666
85687
|
showBrandCrowdLogo() {
|
|
85667
85688
|
const e = L2();
|
|
85668
|
-
return !
|
|
85689
|
+
return !X1().isAdminMaker && e.features.showBrandCrowdLogo;
|
|
85669
85690
|
}
|
|
85670
85691
|
}
|
|
85671
85692
|
}), Ne = W2("ui", {
|
|
@@ -85731,16 +85752,16 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85731
85752
|
le().onStyleChanged();
|
|
85732
85753
|
},
|
|
85733
85754
|
async redirectToCreateNewDesignPage() {
|
|
85734
|
-
await
|
|
85755
|
+
await X1().redirectToCreateNewDesignPage();
|
|
85735
85756
|
},
|
|
85736
85757
|
async showStripeOnboardingModal() {
|
|
85737
|
-
await
|
|
85758
|
+
await X1().showStripeOnboardingModal();
|
|
85738
85759
|
},
|
|
85739
85760
|
setLogoDraftToken(e) {
|
|
85740
85761
|
this.logoDraftToken = e.logoDraftToken;
|
|
85741
85762
|
},
|
|
85742
85763
|
async triggerLockedContentClickedEvent(e) {
|
|
85743
|
-
const t =
|
|
85764
|
+
const t = X1();
|
|
85744
85765
|
t.isAdminMaker || await t.triggerLockedContentClickedEvent(
|
|
85745
85766
|
e.type
|
|
85746
85767
|
);
|
|
@@ -85752,7 +85773,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85752
85773
|
le().onTemplateSelected(e);
|
|
85753
85774
|
},
|
|
85754
85775
|
async showUpgradeModalAndSaveAsync(e) {
|
|
85755
|
-
await
|
|
85776
|
+
await X1().showUpgradeModalAndSaveAsync(
|
|
85756
85777
|
e
|
|
85757
85778
|
);
|
|
85758
85779
|
},
|
|
@@ -85763,7 +85784,7 @@ const _ie = () => wg || (wg = new Sie()), p7 = W2(
|
|
|
85763
85784
|
}
|
|
85764
85785
|
},
|
|
85765
85786
|
getters: {
|
|
85766
|
-
endpoints: () =>
|
|
85787
|
+
endpoints: () => X1().isAdminMaker ? Rre : Nre
|
|
85767
85788
|
}
|
|
85768
85789
|
}), pI = 2e3, Hie = "brandPageActive", Iie = "brandPageInactive", Eie = "editorCopyUrlButton", Pie = "editorSaveButton", Aie = "editorPublishButton", fI = "editorPublishModal", $ie = "editorViewWebPageLink", Oie = "manageWebPageCopyUrlButton", Bie = "manageWebPageCreateNewWebsiteButton", Die = "manageWebPageDuplicateButton", Nie = "manageWebPagePublishButton", hI = "manageWebPagePublishModal", gI = "manageWebPageSetUrlModal", Rie = "manageWebPageViewWebPageLink", Zie = "manageWebPageUpdateSettingsButton", Fie = "manageWebPageSensitiveContentButton", Uie = "manageWebPageUnpublishButton", zie = "publishSuccessModalCopyUrlButton", qie = "publishSuccessModalViewWebPageButton", Gie = "requestPayment", mI = "saveProgress", jie = "supportMe", yI = "updateSettings", V3 = async (e, { waitForEventCallback: t } = {}) => window ? new Promise((n) => {
|
|
85769
85790
|
if (window.dataLayer = window.dataLayer || [], t) {
|
|
@@ -90776,7 +90797,7 @@ class vae {
|
|
|
90776
90797
|
isReconnecting = !1;
|
|
90777
90798
|
isBuildActive = !1;
|
|
90778
90799
|
getRequestVerificationToken() {
|
|
90779
|
-
return
|
|
90800
|
+
return X1().requestVerificationToken || "";
|
|
90780
90801
|
}
|
|
90781
90802
|
async connect() {
|
|
90782
90803
|
this.ws && this.closeSocket();
|
|
@@ -90904,7 +90925,7 @@ class vae {
|
|
|
90904
90925
|
const PC = e1({
|
|
90905
90926
|
emits: ["create-team-cards"],
|
|
90906
90927
|
setup() {
|
|
90907
|
-
const e = L2(), t = le(), n =
|
|
90928
|
+
const e = L2(), t = le(), n = X1();
|
|
90908
90929
|
return {
|
|
90909
90930
|
isAdminMaker: L(() => n.isAdminMaker),
|
|
90910
90931
|
isSaving: L(() => t.isSaving),
|
|
@@ -93866,7 +93887,7 @@ const Qce = /* @__PURE__ */ v(Yce, [["render", Jce]]), ede = {
|
|
|
93866
93887
|
logoTheme: { default: void 0 }
|
|
93867
93888
|
},
|
|
93868
93889
|
setup(e) {
|
|
93869
|
-
const t = e, n =
|
|
93890
|
+
const t = e, n = X1(), o = D4(), i = L(() => n.isAdminMaker), s = L(
|
|
93870
93891
|
() => o.backgroundStyles
|
|
93871
93892
|
), r = (a) => {
|
|
93872
93893
|
const l = a.value;
|
|
@@ -94347,7 +94368,7 @@ const dt = /* @__PURE__ */ v(Ede, [["render", $de]]), Ode = {
|
|
|
94347
94368
|
}
|
|
94348
94369
|
},
|
|
94349
94370
|
setup(e) {
|
|
94350
|
-
const t = D4(), n =
|
|
94371
|
+
const t = D4(), n = X1(), o = L(() => n.isAdminMaker), {
|
|
94351
94372
|
backgroundShapes: i,
|
|
94352
94373
|
onShapeScreenXChange: s,
|
|
94353
94374
|
onShapeScreenYChange: r,
|
|
@@ -94542,7 +94563,7 @@ const dt = /* @__PURE__ */ v(Ede, [["render", $de]]), Ode = {
|
|
|
94542
94563
|
}
|
|
94543
94564
|
},
|
|
94544
94565
|
setup(e) {
|
|
94545
|
-
const t = D4(), n =
|
|
94566
|
+
const t = D4(), n = X1(), o = L(() => n.isAdminMaker), {
|
|
94546
94567
|
shapeUrl: i,
|
|
94547
94568
|
opacityPercentage: s,
|
|
94548
94569
|
shapeColorValue: r,
|
|
@@ -94699,7 +94720,7 @@ const iCe = { key: 2 }, sCe = { class: "tw-grid tw-gap-4 tw-grid-cols-2" }, rCe
|
|
|
94699
94720
|
__name: "ShapeLibrary",
|
|
94700
94721
|
emits: ["on-select-image", "on-collection-enabled"],
|
|
94701
94722
|
setup(e, { emit: t }) {
|
|
94702
|
-
const n = t, o = Ne(), i =
|
|
94723
|
+
const n = t, o = Ne(), i = X1(), s = le(), r = i4(), a = L(() => i.isAdminMaker), l = L(
|
|
94703
94724
|
() => r.selectedTabName === "BackgroundSettings"
|
|
94704
94725
|
), c = L(
|
|
94705
94726
|
() => i.isAdminMaker ? `admin_${s.brandPageType.toLocaleLowerCase()}` : s.brandPageType.toLocaleLowerCase()
|
|
@@ -95719,7 +95740,7 @@ const fue = /* @__PURE__ */ v(tue, [["render", pue], ["__scopeId", "data-v-68941
|
|
|
95719
95740
|
},
|
|
95720
95741
|
emits: ["on-delete-image", "on-select-image"],
|
|
95721
95742
|
setup() {
|
|
95722
|
-
const e = Ne(), t = L2(), n =
|
|
95743
|
+
const e = Ne(), t = L2(), n = X1();
|
|
95723
95744
|
return {
|
|
95724
95745
|
dropzoneImageUploaderRef: c1(null),
|
|
95725
95746
|
endpoints: L(() => e.endpoints),
|
|
@@ -96789,7 +96810,7 @@ const bpe = { "data-component": "video-library" }, vpe = {
|
|
|
96789
96810
|
},
|
|
96790
96811
|
emits: ["on-back", "on-image-picked", "on-image-removed", "on-design-selected", "on-shape-selected", "on-video-selected"],
|
|
96791
96812
|
setup(e, { emit: t }) {
|
|
96792
|
-
const n = (x) => ee(`replaceImageSetting.${x}`), o = e, i = t, s =
|
|
96813
|
+
const n = (x) => ee(`replaceImageSetting.${x}`), o = e, i = t, s = X1(), r = L2(), a = L(() => s.isPrePurchase), l = L(() => r.features.canUseGettyVideos), c = c1(!0), d = c1([
|
|
96793
96814
|
{
|
|
96794
96815
|
id: "ICON",
|
|
96795
96816
|
label: n("icon"),
|
|
@@ -96937,7 +96958,7 @@ const bpe = { "data-component": "video-library" }, vpe = {
|
|
|
96937
96958
|
mediaType: { default: "" }
|
|
96938
96959
|
},
|
|
96939
96960
|
setup(e) {
|
|
96940
|
-
const t = e, n = [".png", ".ico"], o = le(), i =
|
|
96961
|
+
const t = e, n = [".png", ".ico"], o = le(), i = X1(), s = D4(), r = T9(), a = M2(), l = m2(), c = L(() => s.backgroundMode), d = L(() => i.isAdminMaker), C = L(() => o.fieldSettings?.replaceImageSettings), h = L(() => o.fieldSettings?.replaceImageSettings?.tabs), g = L(() => {
|
|
96941
96962
|
const I = o.fieldSettings?.replaceImageSettings;
|
|
96942
96963
|
return I ? I.contentMediaFieldName ? I.titleReplace : I.titleAdd : "";
|
|
96943
96964
|
}), m = L(() => {
|
|
@@ -97015,7 +97036,7 @@ const bpe = { "data-component": "video-library" }, vpe = {
|
|
|
97015
97036
|
__name: "BackgroundSettings",
|
|
97016
97037
|
emits: ["on-intent-image-replace"],
|
|
97017
97038
|
setup(e) {
|
|
97018
|
-
const t = D4(), n =
|
|
97039
|
+
const t = D4(), n = X1(), o = le(), i = Ne(), s = m2(), r = L(
|
|
97019
97040
|
() => t.backgroundStyles
|
|
97020
97041
|
), a = L(
|
|
97021
97042
|
() => t.recommendedLogoColors
|
|
@@ -97222,7 +97243,7 @@ const bpe = { "data-component": "video-library" }, vpe = {
|
|
|
97222
97243
|
}
|
|
97223
97244
|
},
|
|
97224
97245
|
setup: () => ({
|
|
97225
|
-
brandPageContainerStore:
|
|
97246
|
+
brandPageContainerStore: X1()
|
|
97226
97247
|
}),
|
|
97227
97248
|
methods: {
|
|
97228
97249
|
async onUpgradeButtonClick() {
|
|
@@ -97392,7 +97413,7 @@ function yfe(e, t, n, o, i, s) {
|
|
|
97392
97413
|
const wfe = /* @__PURE__ */ v(mfe, [["render", yfe], ["__scopeId", "data-v-0cd8c1a4"]]), uE = e1({
|
|
97393
97414
|
emits: ["capture-preview-snapshot"],
|
|
97394
97415
|
setup() {
|
|
97395
|
-
const e = M2(), t = w2(), n = q2(), o = B4(), i = i4(), s = L2(), r =
|
|
97416
|
+
const e = M2(), t = w2(), n = q2(), o = B4(), i = i4(), s = L2(), r = X1(), a = m2(), l = g6(), { externalEditor: c } = b7();
|
|
97396
97417
|
return {
|
|
97397
97418
|
mode: L(() => e.mode),
|
|
97398
97419
|
activePageId: L(() => n.activePageId),
|
|
@@ -97774,7 +97795,7 @@ const wfe = /* @__PURE__ */ v(mfe, [["render", yfe], ["__scopeId", "data-v-0cd8c
|
|
|
97774
97795
|
"capture-preview-snapshot"
|
|
97775
97796
|
],
|
|
97776
97797
|
setup() {
|
|
97777
|
-
const e = M2(), t = i4(), n = le(), o = Ne(), i =
|
|
97798
|
+
const e = M2(), t = i4(), n = le(), o = Ne(), i = X1(), s = yr(), r = m2();
|
|
97778
97799
|
return {
|
|
97779
97800
|
currentRoute: L(() => s.currentRoute),
|
|
97780
97801
|
getContent: L(() => e.getContent),
|
|
@@ -97971,7 +97992,7 @@ const wfe = /* @__PURE__ */ v(mfe, [["render", yfe], ["__scopeId", "data-v-0cd8c
|
|
|
97971
97992
|
},
|
|
97972
97993
|
emits: ["capture-preview-snapshot"],
|
|
97973
97994
|
setup() {
|
|
97974
|
-
const e = M2(), t = le(), n = L2(), o = Ne(), i = i4(), s = w2(), r =
|
|
97995
|
+
const e = M2(), t = le(), n = L2(), o = Ne(), i = i4(), s = w2(), r = X1(), a = Vo(), l = X3(), c = g6();
|
|
97975
97996
|
return {
|
|
97976
97997
|
getFieldSettings: L(() => e.getFieldSettings),
|
|
97977
97998
|
getContent: L(() => e.getContent),
|
|
@@ -99285,7 +99306,7 @@ const Vhe = /* @__PURE__ */ v(Mhe, [["render", xhe], ["__scopeId", "data-v-8240b
|
|
|
99285
99306
|
__name: "WebsiteByoUpload",
|
|
99286
99307
|
emits: ["on-logo-upload"],
|
|
99287
99308
|
setup(e, { emit: t }) {
|
|
99288
|
-
const n =
|
|
99309
|
+
const n = X1(), o = R4(), i = t5(), s = X3(), r = t, a = async (d) => {
|
|
99289
99310
|
i.setEnableEditMode(!1), n.isPrePurchase ? await l(d) : c(d);
|
|
99290
99311
|
}, l = async (d) => {
|
|
99291
99312
|
o.setLogoTemplateAsset({
|
|
@@ -99359,7 +99380,7 @@ const Vhe = /* @__PURE__ */ v(Mhe, [["render", xhe], ["__scopeId", "data-v-8240b
|
|
|
99359
99380
|
// "derive from props".
|
|
99360
99381
|
manualVisibleChoice: null,
|
|
99361
99382
|
logoEditUrl: ""
|
|
99362
|
-
}), r =
|
|
99383
|
+
}), r = X1(), a = R4(), l = t5(), c = i4(), d = L(() => !!a.getLogoDraftAssetByToken(
|
|
99363
99384
|
n.selectedLogoDraftToken
|
|
99364
99385
|
)?.isByo), C = L(() => n.isLogoVisible ? d.value ? 2 : s.manualVisibleChoice ?? 1 : 0), h = L(() => {
|
|
99365
99386
|
const D = [
|
|
@@ -99993,7 +100014,7 @@ const kU = /* @__PURE__ */ v(oge, [["render", sge]]), rge = (e) => e.paymentConf
|
|
|
99993
100014
|
}
|
|
99994
100015
|
},
|
|
99995
100016
|
setup() {
|
|
99996
|
-
const e =
|
|
100017
|
+
const e = X1(), t = w2(), n = IF(), o = s4();
|
|
99997
100018
|
return {
|
|
99998
100019
|
brandPageToken: L(() => e.brandPageToken),
|
|
99999
100020
|
isPaymentConfigSetupVisible: L(
|
|
@@ -106428,20 +106449,20 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106428
106449
|
setup(e, { expose: t, emit: n }) {
|
|
106429
106450
|
const o = e, i = q2(), s = B4(), r = M2(), a = c1(), l = c1(), c = L(
|
|
106430
106451
|
() => s.availableTextFontFamilyOptions
|
|
106431
|
-
), d = Ej(e, "modelValue"), C = n, h = c1(!1), g =
|
|
106452
|
+
), d = Ej(e, "modelValue"), C = n, h = c1(!1), g = X1(), m = Ne(), y = L(() => g.isAdminMaker), w = L(() => m.logoTheme), b = c1(!1), _ = R2([
|
|
106432
106453
|
{
|
|
106433
106454
|
value: void 0,
|
|
106434
106455
|
label: c9().none,
|
|
106435
106456
|
isSelected: !1
|
|
106436
106457
|
},
|
|
106437
|
-
...Object.keys(de).map((
|
|
106438
|
-
value:
|
|
106439
|
-
label: c9()[
|
|
106440
|
-
isSelected: o.styles.textStyleType ===
|
|
106458
|
+
...Object.keys(de).map((J1) => ({
|
|
106459
|
+
value: J1,
|
|
106460
|
+
label: c9()[J1][0].toUpperCase() + c9()[J1].slice(1),
|
|
106461
|
+
isSelected: o.styles.textStyleType === J1
|
|
106441
106462
|
}))
|
|
106442
106463
|
]), S = L({
|
|
106443
|
-
get: () => s.textStyles.textStyleOptions[_.find((
|
|
106444
|
-
set: (
|
|
106464
|
+
get: () => s.textStyles.textStyleOptions[_.find((J1) => J1.isSelected)?.value ?? "none"],
|
|
106465
|
+
set: (J1) => s.textStyles.textStyleOptions[J1]
|
|
106445
106466
|
}), k = R2({
|
|
106446
106467
|
selectedTextStyle: "",
|
|
106447
106468
|
selectedFont: "Lato",
|
|
@@ -106470,26 +106491,26 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106470
106491
|
}
|
|
106471
106492
|
]), Z = L({
|
|
106472
106493
|
get: () => O.value,
|
|
106473
|
-
set: (
|
|
106474
|
-
O.value =
|
|
106494
|
+
set: (J1) => {
|
|
106495
|
+
O.value = J1;
|
|
106475
106496
|
}
|
|
106476
106497
|
}), D = L(() => Un(Ee.value?.value) ? "" : Ee.value?.value || ""), z = L(() => {
|
|
106477
|
-
const
|
|
106498
|
+
const J1 = D.value, s1 = !J1 || SO.test(J1);
|
|
106478
106499
|
return {
|
|
106479
106500
|
isValid: s1,
|
|
106480
106501
|
errorMessage: s1 ? "" : N("enterValidUrlError")
|
|
106481
106502
|
};
|
|
106482
106503
|
}), K = L(() => {
|
|
106483
106504
|
if (Z.value === I4.url) {
|
|
106484
|
-
const
|
|
106485
|
-
return !
|
|
106505
|
+
const J1 = D.value, s1 = J1.startsWith("https://") || J1.startsWith("http://");
|
|
106506
|
+
return !J1 || !z.value.isValid || !s1;
|
|
106486
106507
|
}
|
|
106487
106508
|
return Z.value === I4.page && !I.value;
|
|
106488
106509
|
});
|
|
106489
106510
|
xe(
|
|
106490
106511
|
() => r.getItem(o.rawId)?.settings?.content?.textItemsStyle?.color,
|
|
106491
106512
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
106492
|
-
(
|
|
106513
|
+
(J1) => {
|
|
106493
106514
|
y.value && o.textItemIndex !== void 0 && S && r.updateTextItemTextStyleTypeWithStyles({
|
|
106494
106515
|
id: o.rawId,
|
|
106495
106516
|
name: o.name,
|
|
@@ -106501,10 +106522,10 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106501
106522
|
}
|
|
106502
106523
|
), xe(
|
|
106503
106524
|
() => o.styles.textStyleType,
|
|
106504
|
-
(
|
|
106505
|
-
if (
|
|
106525
|
+
(J1) => {
|
|
106526
|
+
if (J1) {
|
|
106506
106527
|
We();
|
|
106507
|
-
const s1 = s.textStyles.textStyleOptions[
|
|
106528
|
+
const s1 = s.textStyles.textStyleOptions[J1 ?? "titles"].style;
|
|
106508
106529
|
if (ye(s1), y.value) {
|
|
106509
106530
|
const E1 = {
|
|
106510
106531
|
color: s1.color ?? "",
|
|
@@ -106528,14 +106549,14 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106528
106549
|
}
|
|
106529
106550
|
), xe(
|
|
106530
106551
|
() => i.routes.length,
|
|
106531
|
-
(
|
|
106532
|
-
|
|
106552
|
+
(J1) => {
|
|
106553
|
+
J1 <= 1 && O.value === I4.page && (O.value = I4.url);
|
|
106533
106554
|
}
|
|
106534
106555
|
);
|
|
106535
|
-
const U = (
|
|
106556
|
+
const U = (J1) => {
|
|
106536
106557
|
_.forEach((s1) => {
|
|
106537
|
-
if (s1.value ===
|
|
106538
|
-
if (S.value = s1.value,
|
|
106558
|
+
if (s1.value === J1.value) {
|
|
106559
|
+
if (S.value = s1.value, J1.value === void 0)
|
|
106539
106560
|
o.name === "textItems" ? r.updateTextItemTextStyleTypeWithStyles({
|
|
106540
106561
|
id: o.rawId,
|
|
106541
106562
|
name: o.name,
|
|
@@ -106553,8 +106574,8 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106553
106574
|
}
|
|
106554
106575
|
});
|
|
106555
106576
|
else {
|
|
106556
|
-
const R1 = s.textStyles.textStyleOptions[
|
|
106557
|
-
textStyleType:
|
|
106577
|
+
const R1 = s.textStyles.textStyleOptions[J1.value ?? "titles"].style, Ke = {
|
|
106578
|
+
textStyleType: J1.value,
|
|
106558
106579
|
fontSize: R1.fontSize,
|
|
106559
106580
|
color: void 0,
|
|
106560
106581
|
backgroundColor: void 0
|
|
@@ -106574,19 +106595,19 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106574
106595
|
} else
|
|
106575
106596
|
s1.isSelected = !1;
|
|
106576
106597
|
}), l.value?.hideMenu();
|
|
106577
|
-
}, Q = (
|
|
106578
|
-
const { target: E1 } =
|
|
106598
|
+
}, Q = (J1, s1) => {
|
|
106599
|
+
const { target: E1 } = J1;
|
|
106579
106600
|
return !(E1 instanceof Element) || !E1.closest(s1);
|
|
106580
|
-
}, j = (
|
|
106581
|
-
Q(
|
|
106582
|
-
}, n1 = (
|
|
106583
|
-
Q(
|
|
106584
|
-
}, g1 = (
|
|
106585
|
-
Q(
|
|
106586
|
-
}, Y = (
|
|
106587
|
-
Q(
|
|
106588
|
-
}, J = (
|
|
106589
|
-
|
|
106601
|
+
}, j = (J1) => {
|
|
106602
|
+
Q(J1, ".toolbar-editor-button") && l.value?.hideMenu();
|
|
106603
|
+
}, n1 = (J1) => {
|
|
106604
|
+
Q(J1, ".toolbar-editor-button") && a.value?.hideMenu();
|
|
106605
|
+
}, g1 = (J1) => {
|
|
106606
|
+
Q(J1, ".spacing-popup") && (h.value = !1);
|
|
106607
|
+
}, Y = (J1) => {
|
|
106608
|
+
Q(J1, ".hyperlink-popup") && (x.value = !1);
|
|
106609
|
+
}, J = (J1) => {
|
|
106610
|
+
J1.value === I4.page && i.routes.length <= 1 || (Z.value = J1.value);
|
|
106590
106611
|
};
|
|
106591
106612
|
h2(() => {
|
|
106592
106613
|
he();
|
|
@@ -106627,31 +106648,31 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106627
106648
|
x,
|
|
106628
106649
|
Z
|
|
106629
106650
|
), X = ["title", "name"], t1 = L(() => X.includes(o.name)), v1 = L(() => {
|
|
106630
|
-
const
|
|
106631
|
-
return
|
|
106651
|
+
const J1 = x1.getAttributes("link").href;
|
|
106652
|
+
return J1 && (J1.startsWith("http://") || J1.startsWith("https://"));
|
|
106632
106653
|
}), D1 = () => {
|
|
106633
|
-
const
|
|
106634
|
-
|
|
106635
|
-
}, Z1 = (
|
|
106636
|
-
const s1 = i.routes.find((E1) => E1.pageId ===
|
|
106654
|
+
const J1 = Z.value === I4.page ? Z1(I.value) : Ee.value?.value || "";
|
|
106655
|
+
J1 ? (Qe(J1), Ye("apply")) : x.value = !1;
|
|
106656
|
+
}, Z1 = (J1) => {
|
|
106657
|
+
const s1 = i.routes.find((E1) => E1.pageId === J1);
|
|
106637
106658
|
return $D1(s1?.pageId || "");
|
|
106638
|
-
}, y1 = (
|
|
106639
|
-
I.value =
|
|
106640
|
-
}, M1 = (
|
|
106641
|
-
if (!Un(
|
|
106659
|
+
}, y1 = (J1) => {
|
|
106660
|
+
I.value = J1.value;
|
|
106661
|
+
}, M1 = (J1) => {
|
|
106662
|
+
if (!Un(J1))
|
|
106642
106663
|
return null;
|
|
106643
|
-
const s1 = $m(
|
|
106664
|
+
const s1 = $m(J1);
|
|
106644
106665
|
return i.routes.find((E1) => s1 === E1.pageId);
|
|
106645
106666
|
}, P1 = () => {
|
|
106646
106667
|
I.value = "", Qe(""), r1.value = "", O.value = I4.url;
|
|
106647
|
-
}, j1 = (
|
|
106648
|
-
Z.value = I4.page, I.value =
|
|
106649
|
-
}, ae = (
|
|
106668
|
+
}, j1 = (J1) => {
|
|
106669
|
+
Z.value = I4.page, I.value = J1.pageId, Ye("toggle");
|
|
106670
|
+
}, ae = (J1, s1) => {
|
|
106650
106671
|
Z.value = I4.url, Ye(
|
|
106651
106672
|
"toggle",
|
|
106652
106673
|
void 0
|
|
106653
106674
|
);
|
|
106654
|
-
}, Oe = (
|
|
106675
|
+
}, Oe = (J1, s1) => {
|
|
106655
106676
|
P1();
|
|
106656
106677
|
const E1 = x1.getAttributes("link").href;
|
|
106657
106678
|
if (E1) {
|
|
@@ -106659,14 +106680,14 @@ const Sr = /* @__PURE__ */ v(jIe, [["render", YIe]]), XIe = {
|
|
|
106659
106680
|
R1 ? j1(R1) : ae();
|
|
106660
106681
|
} else
|
|
106661
106682
|
ae();
|
|
106662
|
-
}, s2 = (
|
|
106663
|
-
if (Un(
|
|
106664
|
-
const s1 = $m(
|
|
106683
|
+
}, s2 = (J1) => {
|
|
106684
|
+
if (Un(J1)) {
|
|
106685
|
+
const s1 = $m(J1), E1 = i.routes.find((R1) => R1.pageId === s1);
|
|
106665
106686
|
return E1 ? E1.pageSlug : "";
|
|
106666
106687
|
}
|
|
106667
|
-
return
|
|
106688
|
+
return J1;
|
|
106668
106689
|
};
|
|
106669
|
-
return (
|
|
106690
|
+
return (J1, s1) => {
|
|
106670
106691
|
const E1 = Vs("click-outside");
|
|
106671
106692
|
return u(), f("div", eEe, [
|
|
106672
106693
|
p("div", null, [
|
|
@@ -109140,7 +109161,7 @@ const Oo = /* @__PURE__ */ v(vAe, [["render", VAe]]), HAe = { "data-component":
|
|
|
109140
109161
|
},
|
|
109141
109162
|
emits: ["update:modelValue"],
|
|
109142
109163
|
setup(e, { emit: t }) {
|
|
109143
|
-
const n =
|
|
109164
|
+
const n = X1(), o = le(), i = t, s = c1(null), r = e, a = R2({
|
|
109144
109165
|
isCollapsed: !0
|
|
109145
109166
|
}), l = L(() => r.name.replace(/Override$/, "")), c = L(() => r.object || r.content), d = L(() => {
|
|
109146
109167
|
const w = Mv(
|
|
@@ -111111,7 +111132,7 @@ function QOe(e, t, n, o, i, s) {
|
|
|
111111
111132
|
}
|
|
111112
111133
|
const eBe = /* @__PURE__ */ v(jOe, [["render", QOe]]), FE = e1({
|
|
111113
111134
|
setup() {
|
|
111114
|
-
const e = le(), t = M2(), n = L2(), o =
|
|
111135
|
+
const e = le(), t = M2(), n = L2(), o = X1(), i = w2(), s = T9(), r = m2();
|
|
111115
111136
|
return {
|
|
111116
111137
|
items: L(() => t.items),
|
|
111117
111138
|
selectedItemId: L(() => t.selectedItemId),
|
|
@@ -111555,7 +111576,7 @@ const rS = /* @__PURE__ */ v(CBe, [["render", mBe]]), zE = e1({
|
|
|
111555
111576
|
setup() {
|
|
111556
111577
|
const e = M2(), t = le();
|
|
111557
111578
|
w2(), B4();
|
|
111558
|
-
const n = L2(), o =
|
|
111579
|
+
const n = L2(), o = X1(), i = Ne(), s = yr(), { externalEditor: r } = b7();
|
|
111559
111580
|
return {
|
|
111560
111581
|
currentRoute: L(() => s.currentRoute),
|
|
111561
111582
|
selectedItemId: L(() => e.selectedItemId),
|
|
@@ -112188,7 +112209,7 @@ const $Be = /* @__PURE__ */ v(PBe, [["render", ABe], ["__scopeId", "data-v-3a40a
|
|
|
112188
112209
|
}
|
|
112189
112210
|
}), qE = e1({
|
|
112190
112211
|
setup() {
|
|
112191
|
-
const e = R4(), t = X3(), n = le(), o = t5(), i =
|
|
112212
|
+
const e = R4(), t = X3(), n = le(), o = t5(), i = X1(), s = w2();
|
|
112192
112213
|
return {
|
|
112193
112214
|
logoDraftToken: L(() => o.logoDraftToken),
|
|
112194
112215
|
logoSettingsStore: t,
|
|
@@ -112520,7 +112541,7 @@ const KBe = /* @__PURE__ */ v(qBe, [["render", WBe]]), YBe = { "data-component":
|
|
|
112520
112541
|
selectedTemplate: null,
|
|
112521
112542
|
showLogoSwitchConfirmationModal: !1,
|
|
112522
112543
|
isSwitchingLogo: !1
|
|
112523
|
-
}), s = R4(), r = t5(), a = X3(), l = p6(), c =
|
|
112544
|
+
}), s = R4(), r = t5(), a = X3(), l = p6(), c = X1(), d = m2(), C = v3(() => {
|
|
112524
112545
|
i.currentPage = 1, l.notifySearchTermChanged(i.searchText), h(!0);
|
|
112525
112546
|
}, 400), h = async (_) => {
|
|
112526
112547
|
_ && s.resetLogoTemplateSearchResults(), await s.searchLogoTemplatesAsync({
|
|
@@ -113122,7 +113143,7 @@ const JDe = /* @__PURE__ */ v(jDe, [["render", XDe]]), QDe = ["value", "maxlengt
|
|
|
113122
113143
|
}), nNe = /* @__PURE__ */ v(tNe, [["__scopeId", "data-v-97be2e87"]]), oNe = ["href"], WE = "navigation.", iNe = /* @__PURE__ */ e1({
|
|
113123
113144
|
__name: "WebsiteBreadcrumb",
|
|
113124
113145
|
setup(e) {
|
|
113125
|
-
const t =
|
|
113146
|
+
const t = X1(), n = L(() => t.isDesignCom), o = S5(), i = t.brandPageDisplayName, s = t.templateTypeName, a = c1(i !== s ? i : ""), l = L(() => {
|
|
113126
113147
|
switch (s) {
|
|
113127
113148
|
case "Website":
|
|
113128
113149
|
return $8("websiteFriendlyName");
|
|
@@ -113195,7 +113216,7 @@ const JDe = /* @__PURE__ */ v(jDe, [["render", XDe]]), QDe = ["value", "maxlengt
|
|
|
113195
113216
|
},
|
|
113196
113217
|
mixins: [FDe],
|
|
113197
113218
|
setup(e) {
|
|
113198
|
-
const t =
|
|
113219
|
+
const t = X1(), n = L(() => t.isUserDraft), o = L(() => t.isPrePurchase), i = L(
|
|
113199
113220
|
() => n.value && !o.value
|
|
113200
113221
|
), s = L(
|
|
113201
113222
|
() => o.value ? $8("defaultBackButtonLabel") : e.backButtonLabel
|
|
@@ -113286,7 +113307,7 @@ const cNe = /* @__PURE__ */ v(sNe, [["render", lNe], ["__scopeId", "data-v-978bb
|
|
|
113286
113307
|
}
|
|
113287
113308
|
}, KE = e1({
|
|
113288
113309
|
setup() {
|
|
113289
|
-
const e = le(), t = Ne(), n = L2(), o = w2(), i = M2(), s = U9(), r =
|
|
113310
|
+
const e = le(), t = Ne(), n = L2(), o = w2(), i = M2(), s = U9(), r = X1(), a = m2(), l = q2(), c = (m) => {
|
|
113290
113311
|
o.setPages({ pages: m.map((y) => y.page) });
|
|
113291
113312
|
}, d = L({
|
|
113292
113313
|
get() {
|
|
@@ -113709,7 +113730,7 @@ const wNe = /* @__PURE__ */ v(pNe, [["render", yNe]]), bNe = () => ({
|
|
|
113709
113730
|
}
|
|
113710
113731
|
},
|
|
113711
113732
|
setup() {
|
|
113712
|
-
const e = le(), t = w2(), n = B4(), o = U9(), i = M2(), s = Ne(), r =
|
|
113733
|
+
const e = le(), t = w2(), n = B4(), o = U9(), i = M2(), s = Ne(), r = X1(), a = R4(), l = t5();
|
|
113713
113734
|
return {
|
|
113714
113735
|
sections: L(() => t.sections),
|
|
113715
113736
|
availableTextFontFamilyOptions: L(
|
|
@@ -115387,7 +115408,7 @@ const xRe = /* @__PURE__ */ v(fRe, [["render", TRe], ["__scopeId", "data-v-670bf
|
|
|
115387
115408
|
},
|
|
115388
115409
|
mixins: [KE],
|
|
115389
115410
|
setup(e, t) {
|
|
115390
|
-
const n =
|
|
115411
|
+
const n = X1();
|
|
115391
115412
|
return {
|
|
115392
115413
|
...KE.setup(),
|
|
115393
115414
|
pageSettingsTr: a9,
|
|
@@ -115545,7 +115566,7 @@ const eZe = /* @__PURE__ */ v(GRe, [["render", QRe], ["__scopeId", "data-v-1d12f
|
|
|
115545
115566
|
}
|
|
115546
115567
|
},
|
|
115547
115568
|
setup() {
|
|
115548
|
-
const e =
|
|
115569
|
+
const e = X1(), t = yr(), n = le(), o = T9();
|
|
115549
115570
|
return {
|
|
115550
115571
|
currentRoute: L(() => t.currentRoute),
|
|
115551
115572
|
isDesignCom: L(() => e.isDesignCom),
|
|
@@ -115707,7 +115728,7 @@ const aZe = /* @__PURE__ */ v(nZe, [["render", rZe], ["__scopeId", "data-v-ba06f
|
|
|
115707
115728
|
setup(e) {
|
|
115708
115729
|
const t = L(
|
|
115709
115730
|
() => o.brandPageViewModel
|
|
115710
|
-
), n =
|
|
115731
|
+
), n = X1(), o = le(), i = L(() => n.isProduction), s = L(
|
|
115711
115732
|
() => n.runtimeEnvironment
|
|
115712
115733
|
), r = L(() => o.brandPageTitle);
|
|
115713
115734
|
return (a, l) => (u(), $(aZe, {
|
|
@@ -115721,13 +115742,13 @@ const aZe = /* @__PURE__ */ v(nZe, [["render", rZe], ["__scopeId", "data-v-ba06f
|
|
|
115721
115742
|
}
|
|
115722
115743
|
});
|
|
115723
115744
|
function tp() {
|
|
115724
|
-
const e = L2(), t =
|
|
115745
|
+
const e = L2(), t = X1();
|
|
115725
115746
|
return L(
|
|
115726
115747
|
() => e.features.canUseUndoRedo && !t.isAdminMaker
|
|
115727
115748
|
);
|
|
115728
115749
|
}
|
|
115729
115750
|
function hz() {
|
|
115730
|
-
const e =
|
|
115751
|
+
const e = X1(), t = tp();
|
|
115731
115752
|
return L(() => t.value || e.isPublished);
|
|
115732
115753
|
}
|
|
115733
115754
|
const XE = e1({
|
|
@@ -115743,7 +115764,7 @@ const XE = e1({
|
|
|
115743
115764
|
},
|
|
115744
115765
|
setup() {
|
|
115745
115766
|
return {
|
|
115746
|
-
brandPageContainerStore:
|
|
115767
|
+
brandPageContainerStore: X1(),
|
|
115747
115768
|
eventManagerStore: IF(),
|
|
115748
115769
|
undoRedoEnabled: tp(),
|
|
115749
115770
|
// Single source of truth for whether the bar renders — shared with the
|
|
@@ -115785,7 +115806,7 @@ const XE = e1({
|
|
|
115785
115806
|
}), cZe = { class: "tw-whitespace-nowrap tw-text-sm" }, dZe = /* @__PURE__ */ e1({
|
|
115786
115807
|
__name: "UndoButton",
|
|
115787
115808
|
setup(e) {
|
|
115788
|
-
const t = g6(), n = p7(), o =
|
|
115809
|
+
const t = g6(), n = p7(), o = X1(), i = p6(), s = Ne(), r = L(
|
|
115789
115810
|
() => s.screenSizeMode === X8.mobile
|
|
115790
115811
|
), a = L(
|
|
115791
115812
|
() => !t.canUndo || n.isProcessing || o.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
@@ -115834,7 +115855,7 @@ const XE = e1({
|
|
|
115834
115855
|
}), CZe = /* @__PURE__ */ v(dZe, [["__scopeId", "data-v-e0132471"]]), uZe = { class: "tw-whitespace-nowrap tw-text-sm" }, pZe = /* @__PURE__ */ e1({
|
|
115835
115856
|
__name: "RedoButton",
|
|
115836
115857
|
setup(e) {
|
|
115837
|
-
const t = g6(), n = p7(), o =
|
|
115858
|
+
const t = g6(), n = p7(), o = X1(), i = p6(), s = Ne(), r = L(
|
|
115838
115859
|
() => s.screenSizeMode === X8.mobile
|
|
115839
115860
|
), a = L(
|
|
115840
115861
|
() => !t.canRedo || n.isProcessing || o.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
@@ -115955,7 +115976,7 @@ const _Ze = /* @__PURE__ */ v(hZe, [["render", SZe], ["__scopeId", "data-v-d1836
|
|
|
115955
115976
|
}
|
|
115956
115977
|
},
|
|
115957
115978
|
setup() {
|
|
115958
|
-
const e = i4(), t =
|
|
115979
|
+
const e = i4(), t = X1(), n = L2(), o = M2(), i = le();
|
|
115959
115980
|
return {
|
|
115960
115981
|
brandPageContainerStore: t,
|
|
115961
115982
|
tabs: L(() => e.tabs),
|
|
@@ -116017,7 +116038,7 @@ const _Ze = /* @__PURE__ */ v(hZe, [["render", SZe], ["__scopeId", "data-v-d1836
|
|
|
116017
116038
|
}
|
|
116018
116039
|
},
|
|
116019
116040
|
setup() {
|
|
116020
|
-
const e = i4(), t =
|
|
116041
|
+
const e = i4(), t = X1(), n = m2();
|
|
116021
116042
|
return {
|
|
116022
116043
|
selectedTabName: L(() => e.selectedTabName),
|
|
116023
116044
|
sideBarStore: e,
|
|
@@ -116124,7 +116145,7 @@ function $Ze(e, t, n, o, i, s) {
|
|
|
116124
116145
|
}
|
|
116125
116146
|
const OZe = /* @__PURE__ */ v(HZe, [["render", $Ze]]), eP = e1({
|
|
116126
116147
|
setup() {
|
|
116127
|
-
const e = Ne(), t = B4(), n = L2(), o = le(), i =
|
|
116148
|
+
const e = Ne(), t = B4(), n = L2(), o = le(), i = X1(), s = D4(), r = m2();
|
|
116128
116149
|
return {
|
|
116129
116150
|
logoTheme: L(() => e.logoTheme),
|
|
116130
116151
|
availableButtonStyleConfigs: L(
|
|
@@ -116263,7 +116284,7 @@ function NZe(e, t) {
|
|
|
116263
116284
|
const RZe = /* @__PURE__ */ v(BZe, [["render", NZe]]), ZZe = { "data-component": "text-style-options-settings-with-state" }, FZe = /* @__PURE__ */ e1({
|
|
116264
116285
|
__name: "TextStyleOptionsSettingsWithState",
|
|
116265
116286
|
setup(e) {
|
|
116266
|
-
const t = B4(), n = L2(), o =
|
|
116287
|
+
const t = B4(), n = L2(), o = X1(), i = Ne(), s = w2(), r = L(
|
|
116267
116288
|
() => t.availableTextFontFamilyOptions
|
|
116268
116289
|
), a = L(
|
|
116269
116290
|
() => t.textStyles.textStyleOptions
|
|
@@ -116318,7 +116339,7 @@ const RZe = /* @__PURE__ */ v(BZe, [["render", NZe]]), ZZe = { "data-component":
|
|
|
116318
116339
|
}, YZe = { class: "tw-font-sans tw-font-bold tw-text-secondary-800 tw-text-sm tw-mt-4 tw-mb-3" }, XZe = { class: "tw-flex tw-flex-row tw-flex-wrap tw-items-center tw-gap-3" }, JZe = ["data-test"], QZe = /* @__PURE__ */ e1({
|
|
116319
116340
|
__name: "ColorPaletteSettingsWithState",
|
|
116320
116341
|
setup(e) {
|
|
116321
|
-
const t = b5(), n = Ne(), o =
|
|
116342
|
+
const t = b5(), n = Ne(), o = X1(), i = L(() => n.logoTheme), s = L(() => o.isAdminMaker), r = nU(), a = L(() => t.paletteRoles), l = L(() => t.customs), c = (C) => Xt(C).kind === "gradient", d = (C, h) => {
|
|
116322
116343
|
t.updateColorValue({ id: C, value: h });
|
|
116323
116344
|
};
|
|
116324
116345
|
return (C, h) => (u(), f("div", UZe, [
|
|
@@ -116695,7 +116716,7 @@ const SFe = 100, nP = e1({
|
|
|
116695
116716
|
},
|
|
116696
116717
|
emits: ["create-team-cards"],
|
|
116697
116718
|
setup() {
|
|
116698
|
-
const e = le(), t = i4(), n = L2(), o = M2(), i = Ne(), s = w2(), r =
|
|
116719
|
+
const e = le(), t = i4(), n = L2(), o = M2(), i = Ne(), s = w2(), r = X1(), a = p6(), l = s4(), c = $o(), d = rw(), C = S5(), h = Vo(), { captureSnapshot: g } = vFe(), m = T9(), y = q2();
|
|
116699
116720
|
return {
|
|
116700
116721
|
commonTr: Se,
|
|
116701
116722
|
currentNotificationMessage: L(
|
|
@@ -116947,7 +116968,7 @@ const SFe = 100, nP = e1({
|
|
|
116947
116968
|
}
|
|
116948
116969
|
},
|
|
116949
116970
|
setup() {
|
|
116950
|
-
const e = p6(), t =
|
|
116971
|
+
const e = p6(), t = X1(), n = le(), o = Ne(), i = m2();
|
|
116951
116972
|
return {
|
|
116952
116973
|
isBusy: L(() => e.isBusy),
|
|
116953
116974
|
pageNo: L(() => e.pageNo),
|
|
@@ -117038,7 +117059,7 @@ const SFe = 100, nP = e1({
|
|
|
117038
117059
|
},
|
|
117039
117060
|
methods: {
|
|
117040
117061
|
async checkAndRefreshS3TokenIfExpired() {
|
|
117041
|
-
const e =
|
|
117062
|
+
const e = X1(), t = t5(), n = R4(), o = X3();
|
|
117042
117063
|
if (e.isAdminMaker || !e.isPrePurchase || (n.logoTemplateAsset?.isByo ?? !1))
|
|
117043
117064
|
return;
|
|
117044
117065
|
const s = o.selectedLogoImage.logoVariation;
|
|
@@ -117238,7 +117259,7 @@ const OFe = /* @__PURE__ */ v(MFe, [["render", $Fe], ["__scopeId", "data-v-246f2
|
|
|
117238
117259
|
}, NFe = 250, iP = e1({
|
|
117239
117260
|
emits: ["template-selected"],
|
|
117240
117261
|
setup() {
|
|
117241
|
-
const e = le(), t =
|
|
117262
|
+
const e = le(), t = X1(), n = L2(), o = p6();
|
|
117242
117263
|
return {
|
|
117243
117264
|
selectedTemplateId: L(
|
|
117244
117265
|
() => e.selectedTemplateId
|
|
@@ -117593,7 +117614,7 @@ const mz = /* @__PURE__ */ v(FFe, [["render", jFe], ["__scopeId", "data-v-a17238
|
|
|
117593
117614
|
}
|
|
117594
117615
|
}), sP = e1({
|
|
117595
117616
|
setup() {
|
|
117596
|
-
const e = le(), t =
|
|
117617
|
+
const e = le(), t = X1();
|
|
117597
117618
|
return {
|
|
117598
117619
|
brandPageType: L(() => e.brandPageType),
|
|
117599
117620
|
isBrandSite: L(() => e.isBrandSite),
|
|
@@ -117673,7 +117694,7 @@ const XFe = /* @__PURE__ */ v(KFe, [["render", YFe]]), rP = e1({
|
|
|
117673
117694
|
setup() {
|
|
117674
117695
|
const e = le(), t = S5();
|
|
117675
117696
|
return {
|
|
117676
|
-
brandPageContainerStore:
|
|
117697
|
+
brandPageContainerStore: X1(),
|
|
117677
117698
|
isBrandSite: L(() => e.isBrandSite),
|
|
117678
117699
|
isBrandPageOrIsBrandContact: L(
|
|
117679
117700
|
() => e.isBrandPageOrIsBrandContact
|
|
@@ -117720,8 +117741,12 @@ const XFe = /* @__PURE__ */ v(KFe, [["render", YFe]]), rP = e1({
|
|
|
117720
117741
|
isPublishing() {
|
|
117721
117742
|
return this.brandPageContainerStore.isPublishing;
|
|
117722
117743
|
},
|
|
117744
|
+
// Scoped to isMaker: the Manage page's save must never gate on the maker's own in-flight state.
|
|
117745
|
+
isSaving() {
|
|
117746
|
+
return this.isMaker && this.brandPageContainerStore.isSaving;
|
|
117747
|
+
},
|
|
117723
117748
|
isUpdateButtonEnabled() {
|
|
117724
|
-
return (this.myPageDescription?.length ?? 0) <= cd && (this.myPageTitle?.length ?? 0) <= dd && !this.brandPageContainerStore.isPublishing && this.isDirty && this.isInternalDescriptionValid && this.isInternalTitleValid;
|
|
117749
|
+
return (this.myPageDescription?.length ?? 0) <= cd && (this.myPageTitle?.length ?? 0) <= dd && !this.brandPageContainerStore.isPublishing && !this.isSaving && this.isDirty && this.isInternalDescriptionValid && this.isInternalTitleValid;
|
|
117725
117750
|
},
|
|
117726
117751
|
isDirty() {
|
|
117727
117752
|
const e = this.isMaker ? this.internalDescription !== this.brandPageContainerStore.brandPageDescription : this.internalDescription !== this.myPageDescription, t = this.isMaker ? this.internalTitle !== this.brandPageContainerStore.brandPageTitle : this.internalTitle !== this.myPageTitle;
|
|
@@ -117798,8 +117823,9 @@ function fUe(e, t, n, o, i, s) {
|
|
|
117798
117823
|
modelValue: e.internalTitle,
|
|
117799
117824
|
"onUpdate:modelValue": t[2] || (t[2] = (c) => e.internalTitle = c),
|
|
117800
117825
|
label: o.commonTr("pageTitle"),
|
|
117801
|
-
error: !!e.internalTitleErrorMessage
|
|
117802
|
-
|
|
117826
|
+
error: !!e.internalTitleErrorMessage,
|
|
117827
|
+
disabled: e.isSaving || e.isPublishing
|
|
117828
|
+
}, null, 8, ["modelValue", "label", "error", "disabled"]),
|
|
117803
117829
|
t2(p("p", { class: "tw-text-error-500 tw-text-xs" }, P(e.internalTitleErrorMessage), 513), [
|
|
117804
117830
|
[Z3, !e.isInternalTitleValid]
|
|
117805
117831
|
])
|
|
@@ -117810,8 +117836,9 @@ function fUe(e, t, n, o, i, s) {
|
|
|
117810
117836
|
label: o.commonTr("description"),
|
|
117811
117837
|
placeholder: o.seoSettingsTr("websiteDescription"),
|
|
117812
117838
|
error: !!e.internalDescriptionErrorMessage,
|
|
117813
|
-
resize: !1
|
|
117814
|
-
|
|
117839
|
+
resize: !1,
|
|
117840
|
+
disabled: e.isSaving || e.isPublishing
|
|
117841
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error", "disabled"]),
|
|
117815
117842
|
t2(p("p", { class: "tw-text-error-500 tw-text-xs" }, P(e.internalDescriptionErrorMessage), 513), [
|
|
117816
117843
|
[Z3, !e.isInternalDescriptionValid]
|
|
117817
117844
|
]),
|
|
@@ -117902,7 +117929,7 @@ const hUe = /* @__PURE__ */ v(JFe, [["render", fUe]]), yz = {
|
|
|
117902
117929
|
}
|
|
117903
117930
|
},
|
|
117904
117931
|
setup() {
|
|
117905
|
-
const e =
|
|
117932
|
+
const e = X1(), t = le(), n = S5();
|
|
117906
117933
|
return {
|
|
117907
117934
|
customDomain: L(() => e.customDomain),
|
|
117908
117935
|
brandPageType: L(() => t.brandPageType),
|
|
@@ -118214,7 +118241,7 @@ const hUe = /* @__PURE__ */ v(JFe, [["render", fUe]]), yz = {
|
|
|
118214
118241
|
}
|
|
118215
118242
|
},
|
|
118216
118243
|
setup() {
|
|
118217
|
-
const e =
|
|
118244
|
+
const e = X1(), t = L(() => e.isPublished);
|
|
118218
118245
|
return { brandPageContainer: e, isPublished: t };
|
|
118219
118246
|
},
|
|
118220
118247
|
emits: ["on-close"],
|
|
@@ -118859,7 +118886,7 @@ const jze = /* @__PURE__ */ v(GUe, [["render", Gze]]), Wze = {
|
|
|
118859
118886
|
i.adsenseID = _, i.isAdsenseIdHasValue = !!_;
|
|
118860
118887
|
}
|
|
118861
118888
|
);
|
|
118862
|
-
const s = le(), r =
|
|
118889
|
+
const s = le(), r = X1(), a = async () => {
|
|
118863
118890
|
m2().setUpsellBridgeState({
|
|
118864
118891
|
cta_location: o4.GOOGLE_ADSENSE,
|
|
118865
118892
|
trigger_type: E6.USER_TRIGGERED,
|
|
@@ -119192,7 +119219,7 @@ function Tqe(e, t, n, o, i, s) {
|
|
|
119192
119219
|
const xqe = /* @__PURE__ */ v(mqe, [["render", Tqe]]), Vqe = { class: "tw-relative" }, Hqe = {
|
|
119193
119220
|
key: 0,
|
|
119194
119221
|
class: "tw-border-0 tw-border-b tw-border-solid tw-border-grayscale-400 tw-pb-3 tw-mb-1"
|
|
119195
|
-
}, Iqe = { class: "tw-w-full md:tw-inline-flex tw-px-4 tw-pt-4 tw-pb-2 tw-items-center tw-text-center md:tw-text-left" }, Eqe = { class: "tw-inline tw-text-xl tw-font-bold" }, Pqe = ["onClick"], Aqe = ["checked", "value"], $qe = ["value"], Oqe = {
|
|
119222
|
+
}, Iqe = { class: "tw-w-full md:tw-inline-flex tw-px-4 tw-pt-4 tw-pb-2 tw-items-center tw-text-center md:tw-text-left" }, Eqe = { class: "tw-inline tw-text-xl tw-font-bold" }, Pqe = ["onClick"], Aqe = ["checked", "value", "disabled"], $qe = ["value"], Oqe = {
|
|
119196
119223
|
for: "radio1",
|
|
119197
119224
|
class: "tw-font-sans tw-text-sm tw-cursor-pointer tw-h-fit tw-text-grayscale-600"
|
|
119198
119225
|
}, Bqe = /* @__PURE__ */ e1({
|
|
@@ -119207,7 +119234,7 @@ const xqe = /* @__PURE__ */ v(mqe, [["render", Tqe]]), Vqe = { class: "tw-relati
|
|
|
119207
119234
|
"pre-submit-edit-sensitive-content"
|
|
119208
119235
|
],
|
|
119209
119236
|
setup(e, { emit: t }) {
|
|
119210
|
-
const n = le(), o =
|
|
119237
|
+
const n = le(), o = X1(), i = e, s = R2({
|
|
119211
119238
|
sensitiveSettings: [
|
|
119212
119239
|
{
|
|
119213
119240
|
label: lf("offSetting"),
|
|
@@ -119226,22 +119253,26 @@ const xqe = /* @__PURE__ */ v(mqe, [["render", Tqe]]), Vqe = { class: "tw-relati
|
|
|
119226
119253
|
value: R5.sensitiveContent
|
|
119227
119254
|
}
|
|
119228
119255
|
],
|
|
119229
|
-
selectedSensitiveSettings:
|
|
119256
|
+
selectedSensitiveSettings: i.value ?? R5.off
|
|
119230
119257
|
});
|
|
119231
|
-
|
|
119232
|
-
const
|
|
119233
|
-
i.
|
|
119234
|
-
|
|
119235
|
-
|
|
119236
|
-
|
|
119237
|
-
|
|
119258
|
+
s.selectedSensitiveSettings = i.value;
|
|
119259
|
+
const r = L(() => s.selectedSensitiveSettings === i.value), a = L(
|
|
119260
|
+
() => i.isMaker && o.isPublishing
|
|
119261
|
+
), l = L(
|
|
119262
|
+
() => i.isMaker && o.isSaving
|
|
119263
|
+
), c = t, d = (g) => {
|
|
119264
|
+
l.value || a.value || (s.selectedSensitiveSettings = g);
|
|
119265
|
+
}, C = () => {
|
|
119266
|
+
c("change-sensitive-settings", s.selectedSensitiveSettings);
|
|
119267
|
+
}, h = () => {
|
|
119268
|
+
c("pre-submit-edit-sensitive-content", s.selectedSensitiveSettings), R3(() => {
|
|
119238
119269
|
n.updateSensitiveContentSettings({
|
|
119239
|
-
sensitiveContent:
|
|
119270
|
+
sensitiveContent: s.selectedSensitiveSettings,
|
|
119240
119271
|
shouldRefresh: !0
|
|
119241
119272
|
});
|
|
119242
119273
|
});
|
|
119243
119274
|
};
|
|
119244
|
-
return (
|
|
119275
|
+
return (g, m) => (u(), f("div", Vqe, [
|
|
119245
119276
|
e.isMaker ? M("", !0) : (u(), f("div", Hqe, [
|
|
119246
119277
|
p("div", Iqe, [
|
|
119247
119278
|
p("h3", Eqe, P(V(Se)("sensitiveContent")), 1)
|
|
@@ -119256,26 +119287,27 @@ const xqe = /* @__PURE__ */ v(mqe, [["render", Tqe]]), Vqe = { class: "tw-relati
|
|
|
119256
119287
|
p("div", {
|
|
119257
119288
|
class: B(["tw-mt-4 tw-items-center tw-grid tw-grid-cols-2 tw-gap-4", { "tw-grid-cols-5": !e.isMaker }])
|
|
119258
119289
|
}, [
|
|
119259
|
-
(u(!0), f(b1, null, q1(
|
|
119260
|
-
key:
|
|
119290
|
+
(u(!0), f(b1, null, q1(s.sensitiveSettings, (y) => (u(), f("div", {
|
|
119291
|
+
key: y.value,
|
|
119261
119292
|
class: B(["tw-flex tw-items-center", {
|
|
119262
|
-
"tw-col-span-2": !e.isMaker &&
|
|
119293
|
+
"tw-col-span-2": !e.isMaker && y.value === V(R5).sensitiveContent
|
|
119263
119294
|
}]),
|
|
119264
|
-
onClick: (
|
|
119295
|
+
onClick: (w) => d(y.value)
|
|
119265
119296
|
}, [
|
|
119266
119297
|
p("input", {
|
|
119267
119298
|
type: "radio",
|
|
119268
119299
|
class: "tw-w-5 tw-h-5 tw-cursor-pointer tw-mb-0 tw-accent-primary-500 tw-mr-2",
|
|
119269
119300
|
name: "sensitiveContent",
|
|
119270
|
-
checked:
|
|
119271
|
-
value:
|
|
119301
|
+
checked: s.selectedSensitiveSettings === y.value,
|
|
119302
|
+
value: y.value,
|
|
119303
|
+
disabled: l.value || a.value
|
|
119272
119304
|
}, null, 8, Aqe),
|
|
119273
119305
|
p("input", {
|
|
119274
119306
|
hidden: "",
|
|
119275
119307
|
name: "sensitiveContentType",
|
|
119276
|
-
value:
|
|
119308
|
+
value: s.selectedSensitiveSettings
|
|
119277
119309
|
}, null, 8, $qe),
|
|
119278
|
-
p("label", Oqe, P(
|
|
119310
|
+
p("label", Oqe, P(y.label), 1)
|
|
119279
119311
|
], 10, Pqe))), 128))
|
|
119280
119312
|
], 2)
|
|
119281
119313
|
], 2),
|
|
@@ -119290,8 +119322,8 @@ const xqe = /* @__PURE__ */ v(mqe, [["render", Tqe]]), Vqe = { class: "tw-relati
|
|
|
119290
119322
|
label: V(Se)("updateSettings"),
|
|
119291
119323
|
variant: "primary",
|
|
119292
119324
|
type: "submit",
|
|
119293
|
-
disabled:
|
|
119294
|
-
onClick:
|
|
119325
|
+
disabled: r.value || a.value || l.value,
|
|
119326
|
+
onClick: C
|
|
119295
119327
|
}, null, 8, ["label", "disabled"])
|
|
119296
119328
|
], 2)) : (u(), f("div", {
|
|
119297
119329
|
key: 2,
|
|
@@ -119303,8 +119335,8 @@ const xqe = /* @__PURE__ */ v(mqe, [["render", Tqe]]), Vqe = { class: "tw-relati
|
|
|
119303
119335
|
class: "tw-uppercase",
|
|
119304
119336
|
label: V(Se)("updateSettings"),
|
|
119305
119337
|
variant: "primary",
|
|
119306
|
-
disabled:
|
|
119307
|
-
onClick:
|
|
119338
|
+
disabled: r.value,
|
|
119339
|
+
onClick: h
|
|
119308
119340
|
}, null, 8, ["label", "disabled"])
|
|
119309
119341
|
], 2))
|
|
119310
119342
|
]));
|
|
@@ -119389,7 +119421,7 @@ const xqe = /* @__PURE__ */ v(mqe, [["render", Tqe]]), Vqe = { class: "tw-relati
|
|
|
119389
119421
|
}
|
|
119390
119422
|
},
|
|
119391
119423
|
setup() {
|
|
119392
|
-
const e = le(), t = L2(), n =
|
|
119424
|
+
const e = le(), t = L2(), n = X1();
|
|
119393
119425
|
return {
|
|
119394
119426
|
mode: L(() => e.mode),
|
|
119395
119427
|
isAdminMaker: L(() => n.isAdminMaker),
|
|
@@ -119501,7 +119533,7 @@ const Xqe = /* @__PURE__ */ v(Wqe, [["render", Yqe]]), Jqe = {
|
|
|
119501
119533
|
isDesignCom: { type: Boolean }
|
|
119502
119534
|
},
|
|
119503
119535
|
setup(e) {
|
|
119504
|
-
const t = e, n = le(), o =
|
|
119536
|
+
const t = e, n = le(), o = X1(), i = m2(), s = L(
|
|
119505
119537
|
() => n.saveContactSettings.isSavingEnabled
|
|
119506
119538
|
), r = L(
|
|
119507
119539
|
() => n.saveContactSettings.hideBranding
|
|
@@ -119593,7 +119625,7 @@ const Xqe = /* @__PURE__ */ v(Wqe, [["render", Yqe]]), Jqe = {
|
|
|
119593
119625
|
}), CGe = { "data-component": "brand-page-settings" }, uGe = { key: 1 }, pGe = { class: "tw-mx-1" }, fGe = { class: "tw-text-left tw-font-bold tw-mb-2" }, hGe = { class: "tw-font-sans tw-text-sm tw-text-grayscale-600" }, gGe = { class: "tw-mt-3 tw-mb-1.5 tw-text-sm tw-font-bold" }, mGe = { class: "tw-mt-5" }, yGe = { class: "tw-font-sans tw-text-sm tw-text-grayscale-600" }, wGe = { class: "tw-mt-2" }, bGe = { class: "tw-mt-2" }, vGe = "saveContact", SGe = /* @__PURE__ */ e1({
|
|
119594
119626
|
__name: "BrandPageSettings",
|
|
119595
119627
|
setup(e) {
|
|
119596
|
-
const t = le(), n = L2(), o =
|
|
119628
|
+
const t = le(), n = L2(), o = X1(), i = i4(), s = c1(
|
|
119597
119629
|
null
|
|
119598
119630
|
), { selectedSettingsSection: r } = gd(i), a = (q) => {
|
|
119599
119631
|
q && R3(() => {
|
|
@@ -119698,14 +119730,14 @@ const Xqe = /* @__PURE__ */ v(Wqe, [["render", Yqe]]), Jqe = {
|
|
|
119698
119730
|
"is-collapsed": !0
|
|
119699
119731
|
}, {
|
|
119700
119732
|
default: i1(() => [
|
|
119701
|
-
|
|
119733
|
+
m.value ? M("", !0) : (u(), $(hUe, {
|
|
119702
119734
|
key: 0,
|
|
119703
119735
|
"is-maker": !0,
|
|
119704
119736
|
onUpdateSettings: j
|
|
119705
|
-
}))
|
|
119737
|
+
})),
|
|
119706
119738
|
p("div", {
|
|
119707
119739
|
class: B(["tw-border-0 tw-border-solid tw-border-grayscale-400 tw-mt-6", {
|
|
119708
|
-
"tw-border-t tw-py-8":
|
|
119740
|
+
"tw-border-t tw-py-8": !m.value
|
|
119709
119741
|
}])
|
|
119710
119742
|
}, [
|
|
119711
119743
|
p("h3", fGe, P(V(M6)("favicon")), 1),
|
|
@@ -119786,7 +119818,7 @@ const Xqe = /* @__PURE__ */ v(Wqe, [["render", Yqe]]), Jqe = {
|
|
|
119786
119818
|
]),
|
|
119787
119819
|
_: 1
|
|
119788
119820
|
}, 8, ["title"])) : M("", !0),
|
|
119789
|
-
|
|
119821
|
+
m.value ? M("", !0) : (u(), $(V(P4), {
|
|
119790
119822
|
key: 2,
|
|
119791
119823
|
"data-component": "collapsible-panel",
|
|
119792
119824
|
title: V(Se)("sensitiveContent"),
|
|
@@ -119803,7 +119835,7 @@ const Xqe = /* @__PURE__ */ v(Wqe, [["render", Yqe]]), Jqe = {
|
|
|
119803
119835
|
])
|
|
119804
119836
|
]),
|
|
119805
119837
|
_: 1
|
|
119806
|
-
}, 8, ["title"]))
|
|
119838
|
+
}, 8, ["title"])),
|
|
119807
119839
|
x.value ? (u(), $(V(P4), {
|
|
119808
119840
|
key: 3,
|
|
119809
119841
|
ref_key: "saveContactPanel",
|
|
@@ -119839,7 +119871,7 @@ const Xqe = /* @__PURE__ */ v(Wqe, [["render", Yqe]]), Jqe = {
|
|
|
119839
119871
|
])) : M("", !0)
|
|
119840
119872
|
]));
|
|
119841
119873
|
}
|
|
119842
|
-
}), _Ge = /* @__PURE__ */ v(SGe, [["__scopeId", "data-v-
|
|
119874
|
+
}), _Ge = /* @__PURE__ */ v(SGe, [["__scopeId", "data-v-522de2cd"]]), uP = e1({
|
|
119843
119875
|
setup() {
|
|
119844
119876
|
const e = HF(), t = M2(), n = le();
|
|
119845
119877
|
return {
|
|
@@ -120017,7 +120049,7 @@ const HGe = /* @__PURE__ */ v(xGe, [["render", VGe]]), IGe = { key: 0 }, EGe = {
|
|
|
120017
120049
|
},
|
|
120018
120050
|
emits: ["confirm", "cancel"],
|
|
120019
120051
|
setup() {
|
|
120020
|
-
const e =
|
|
120052
|
+
const e = X1();
|
|
120021
120053
|
return {
|
|
120022
120054
|
confirmModalTr: KA1,
|
|
120023
120055
|
isDesignCom: L(() => e.isDesignCom)
|
|
@@ -120294,7 +120326,7 @@ const UGe = /* @__PURE__ */ v(BGe, [["render", FGe]]), zGe = { class: "tw-flex t
|
|
|
120294
120326
|
},
|
|
120295
120327
|
emits: ["close", "publish", "edit"],
|
|
120296
120328
|
setup(e, { emit: t }) {
|
|
120297
|
-
const n = e, o = t, i =
|
|
120329
|
+
const n = e, o = t, i = X1(), s = le(), r = m2(), a = L(() => i.isAnyModalVisible), l = L(
|
|
120298
120330
|
() => eje(s.brandPageType)
|
|
120299
120331
|
), c = c1(""), d = c1(!1), C = c1(!1), h = async () => {
|
|
120300
120332
|
if (d.value = !1, c.value = "", !i.isPrePurchase) {
|
|
@@ -124427,7 +124459,7 @@ function eYe(e) {
|
|
|
124427
124459
|
const tYe = 6e5, vn = new JKe();
|
|
124428
124460
|
let l6 = null;
|
|
124429
124461
|
function nYe() {
|
|
124430
|
-
const e = p7(), t = Vo(), n = le(), o = g6(), i = tp(), s =
|
|
124462
|
+
const e = p7(), t = Vo(), n = le(), o = g6(), i = tp(), s = X1(), r = L2(), a = Ne(), l = b5(), c = qKe(vn), d = VF(), C = m2(), h = () => ({
|
|
124431
124463
|
id: "1",
|
|
124432
124464
|
type: "text",
|
|
124433
124465
|
role: "agent",
|
|
@@ -124715,7 +124747,7 @@ function nYe() {
|
|
|
124715
124747
|
failedResults: s2,
|
|
124716
124748
|
retryCount: Ye
|
|
124717
124749
|
});
|
|
124718
|
-
const
|
|
124750
|
+
const J1 = await L1.submitToolResultsBuildAsync(
|
|
124719
124751
|
e.threadId,
|
|
124720
124752
|
{
|
|
124721
124753
|
toolCalls: ae,
|
|
@@ -124733,7 +124765,7 @@ function nYe() {
|
|
|
124733
124765
|
});
|
|
124734
124766
|
return;
|
|
124735
124767
|
}
|
|
124736
|
-
|
|
124768
|
+
J1.buildId && (e.buildId = J1.buildId), Ye += 1;
|
|
124737
124769
|
} catch (ae) {
|
|
124738
124770
|
vn.log("server_response apply error", { err: ae }), G9.safeSendRaygunError(
|
|
124739
124771
|
ae instanceof Error ? ae : new Error("AI apply failed: non-Error thrown"),
|
|
@@ -124928,7 +124960,7 @@ const oYe = {
|
|
|
124928
124960
|
__name: "AiWebsiteBuilder",
|
|
124929
124961
|
emits: ["back"],
|
|
124930
124962
|
setup(e, { expose: t, emit: n }) {
|
|
124931
|
-
const o = i4(), i = Vo(), s =
|
|
124963
|
+
const o = i4(), i = Vo(), s = X1(), r = p7(), { promptText: a } = gd(r), l = n, {
|
|
124932
124964
|
isProcessing: c,
|
|
124933
124965
|
sendMessageAsync: d,
|
|
124934
124966
|
formattedMessages: C,
|
|
@@ -125234,7 +125266,7 @@ const dJe = /* @__PURE__ */ v(rYe, [["render", bYe], ["__scopeId", "data-v-c3aaa
|
|
|
125234
125266
|
"on-create-team-cards-click"
|
|
125235
125267
|
],
|
|
125236
125268
|
setup() {
|
|
125237
|
-
const e = le(), t =
|
|
125269
|
+
const e = le(), t = X1(), n = m2(), o = S5();
|
|
125238
125270
|
return {
|
|
125239
125271
|
brandPageBaseUrl: L(() => o.baseBrandPageDomain),
|
|
125240
125272
|
brandPageSlug: L(() => t.brandPageSlug),
|
|
@@ -125836,7 +125868,7 @@ export {
|
|
|
125836
125868
|
cJe as cs,
|
|
125837
125869
|
ZN as ct,
|
|
125838
125870
|
ee as cu,
|
|
125839
|
-
|
|
125871
|
+
X1 as cv,
|
|
125840
125872
|
le as cw,
|
|
125841
125873
|
L2 as cx,
|
|
125842
125874
|
Ov as cy,
|