@designcrowd/library.brand-page 5.18.3-undo-35 → 5.18.3-undo-37
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-nGPiEkaH.js → CreatedOnBrandCrowd-de-de-CM2cOZlw.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-D3ibxOrN.js → CreatedOnBrandCrowd-en-us-rq4QquAm.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-BAq0PV5c.js → CreatedOnBrandCrowd-es-es-BgbxyKPJ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-9foHt2a-.js → CreatedOnBrandCrowd-fr-ca-Dm1XphSl.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-9foHt2a-.js → CreatedOnBrandCrowd-fr-fr-Dm1XphSl.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DO739Uxl.js → CreatedOnBrandCrowd-pt-br-B2a5OfdX.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DO739Uxl.js → CreatedOnBrandCrowd-pt-pt-B2a5OfdX.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-CFbNW8tl.js → CreatedOnDcom-de-de-BClRSXzU.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-BL34V8eu.js → CreatedOnDcom-en-us-Cg4PeKOO.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BKXWvHkV.js → CreatedOnDcom-es-es-izSiOsWK.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-DCyU-m6J.js → CreatedOnDcom-fr-ca-IHiZuyNO.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-DEciA_zh.js → CreatedOnDcom-fr-fr-DLGYRMhZ.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-BVB2zdvU.js → CreatedOnDcom-pt-br-DAv_n1Hs.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-DatUuIK6.js → CreatedOnDcom-pt-pt-5DGgadD1.js} +1 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +64 -0
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.js +5 -0
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-C_Pc-5bF.js → lib-pHQ0LDnY.js} +380 -379
- package/package.json +1 -1
- package/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.ts +5 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var dN = Object.defineProperty;
|
|
2
2
|
var cN = (e, t, n) => t in e ? dN(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var H1 = (e, t, n) => cN(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { openBlock as C, createElementBlock as f, normalizeClass as O, renderSlot as F1, createTextVNode as z2, createCommentVNode as k, resolveComponent as E, createBlock as B, withCtx as o1, createElementVNode as p, toDisplayString as P, createStaticVNode as b1, Fragment as L1, resolveDynamicComponent as
|
|
4
|
+
import { openBlock as C, createElementBlock as f, normalizeClass as O, renderSlot as F1, createTextVNode as z2, createCommentVNode as k, resolveComponent as E, createBlock as B, withCtx as o1, createElementVNode as p, toDisplayString as P, createStaticVNode as b1, Fragment as L1, resolveDynamicComponent as Q6, createVNode as L, defineComponent as e1, useId as CN, unref as I, mergeProps as e3, withDirectives as o3, vModelText as Mt, renderList as R1, withModifiers as S1, normalizeStyle as A1, withKeys as Fe, vShow as Oe, resolveDirective as go, ref as d1, onMounted as v3, onBeforeUpdate as uN, onUpdated as nH, onBeforeUnmount as E7, computed as T, provide as iH, h as F4, watch as U2, nextTick as Xe, onUnmounted as Rt, getCurrentInstance as _8, reactive as U3, shallowRef as mo, markRaw as oH, customRef as pN, watchEffect as hN, toRaw as Mh, toRefs as fN, Teleport as gN, createSlots as X0, onServerPrefetch as mN, isVNode as yN, onBeforeMount as sH, isRef as ml, toRef as wN, useCssVars as bN, vModelSelect as Pw, useSlots as vN, useModel as SN, mergeModels as Bw } from "vue";
|
|
5
5
|
import _N from "vue-cropperjs";
|
|
6
6
|
import * as j3 from "uuid";
|
|
7
7
|
import { v5 as yl, v4 as U4, validate as MN } from "uuid";
|
|
@@ -164,7 +164,7 @@ let NN = class Lh {
|
|
|
164
164
|
return t = t || this.options, t.prefix = t.prefix || this.prefix, new Lh(this.logger, t);
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
|
-
var
|
|
167
|
+
var b9 = new NN();
|
|
168
168
|
let Rd = class {
|
|
169
169
|
constructor() {
|
|
170
170
|
this.observers = {};
|
|
@@ -280,7 +280,7 @@ var aH = {
|
|
|
280
280
|
const Zw = {}, Fw = (e) => !t3(e) && typeof e != "boolean" && typeof e != "number";
|
|
281
281
|
class vl extends Rd {
|
|
282
282
|
constructor(t, n = {}) {
|
|
283
|
-
super(), VN(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
283
|
+
super(), VN(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = b9.create("translator");
|
|
284
284
|
}
|
|
285
285
|
changeLanguage(t) {
|
|
286
286
|
t && (this.language = t);
|
|
@@ -532,7 +532,7 @@ class vl extends Rd {
|
|
|
532
532
|
}
|
|
533
533
|
class Uw {
|
|
534
534
|
constructor(t) {
|
|
535
|
-
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
535
|
+
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = b9.create("languageUtils");
|
|
536
536
|
}
|
|
537
537
|
getScriptPartFromCode(t) {
|
|
538
538
|
if (t = Di(t), !t || t.indexOf("-") < 0) return null;
|
|
@@ -609,7 +609,7 @@ const zw = {
|
|
|
609
609
|
};
|
|
610
610
|
class RN {
|
|
611
611
|
constructor(t, n = {}) {
|
|
612
|
-
this.languageUtils = t, this.options = n, this.logger =
|
|
612
|
+
this.languageUtils = t, this.options = n, this.logger = b9.create("pluralResolver"), this.pluralRulesCache = {};
|
|
613
613
|
}
|
|
614
614
|
addRule(t, n) {
|
|
615
615
|
this.rules[t] = n;
|
|
@@ -661,7 +661,7 @@ const Gw = (e, t, n, i = ".", o = !0) => {
|
|
|
661
661
|
class ZN {
|
|
662
662
|
constructor(t = {}) {
|
|
663
663
|
var n;
|
|
664
|
-
this.logger =
|
|
664
|
+
this.logger = b9.create("interpolator"), this.options = t, this.format = ((n = t == null ? void 0 : t.interpolation) == null ? void 0 : n.format) || ((i) => i), this.init(t);
|
|
665
665
|
}
|
|
666
666
|
init(t = {}) {
|
|
667
667
|
t.interpolation || (t.interpolation = {
|
|
@@ -815,7 +815,7 @@ const FN = (e) => {
|
|
|
815
815
|
}, UN = (e) => (t, n, i) => e(Di(n), i)(t);
|
|
816
816
|
class zN {
|
|
817
817
|
constructor(t = {}) {
|
|
818
|
-
this.logger =
|
|
818
|
+
this.logger = b9.create("formatter"), this.options = t, this.init(t);
|
|
819
819
|
}
|
|
820
820
|
init(t, n = {
|
|
821
821
|
interpolation: {}
|
|
@@ -899,7 +899,7 @@ const qN = (e, t) => {
|
|
|
899
899
|
class GN extends Rd {
|
|
900
900
|
constructor(t, n, i, o = {}) {
|
|
901
901
|
var s, r;
|
|
902
|
-
super(), this.backend = t, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = o, this.logger =
|
|
902
|
+
super(), this.backend = t, this.store = n, this.services = i, this.languageUtils = i.languageUtils, this.options = o, this.logger = b9.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], (r = (s = this.backend) == null ? void 0 : s.init) == null || r.call(s, i, o.backend, o);
|
|
903
903
|
}
|
|
904
904
|
queueLoad(t, n, i, o) {
|
|
905
905
|
const s = {}, r = {}, a = {}, l = {};
|
|
@@ -1096,7 +1096,7 @@ const jw = () => ({
|
|
|
1096
1096
|
};
|
|
1097
1097
|
class Ni extends Rd {
|
|
1098
1098
|
constructor(t = {}, n) {
|
|
1099
|
-
if (super(), this.options = Kw(t), this.services = {}, this.logger =
|
|
1099
|
+
if (super(), this.options = Kw(t), this.services = {}, this.logger = b9, this.modules = {
|
|
1100
1100
|
external: []
|
|
1101
1101
|
}, WN(this), n && !this.isInitialized && !t.isClone) {
|
|
1102
1102
|
if (!this.options.initAsync)
|
|
@@ -1119,13 +1119,13 @@ class Ni extends Rd {
|
|
|
1119
1119
|
}, t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
|
|
1120
1120
|
const o = (d) => d ? typeof d == "function" ? new d() : d : null;
|
|
1121
1121
|
if (!this.options.isClone) {
|
|
1122
|
-
this.modules.logger ?
|
|
1122
|
+
this.modules.logger ? b9.init(o(this.modules.logger), this.options) : b9.init(null, this.options);
|
|
1123
1123
|
let d;
|
|
1124
1124
|
this.modules.formatter ? d = this.modules.formatter : d = zN;
|
|
1125
1125
|
const c = new Uw(this.options);
|
|
1126
1126
|
this.store = new Rw(this.options.resources, this.options);
|
|
1127
1127
|
const u = this.services;
|
|
1128
|
-
u.logger =
|
|
1128
|
+
u.logger = b9, u.resourceStore = this.store, u.languageUtils = c, u.pluralResolver = new RN(c, {
|
|
1129
1129
|
prepend: this.options.pluralSeparator,
|
|
1130
1130
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1131
1131
|
}), d && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (u.formatter = o(d), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new ZN(this.options), u.utils = {
|
|
@@ -4054,14 +4054,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", dZ
|
|
|
4054
4054
|
hasBrowserEnv: LH,
|
|
4055
4055
|
hasStandardBrowserEnv: aZ,
|
|
4056
4056
|
hasStandardBrowserWebWorkerEnv: lZ
|
|
4057
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4057
|
+
}, Symbol.toStringTag, { value: "Module" })), v9 = {
|
|
4058
4058
|
...dZ,
|
|
4059
4059
|
...rZ
|
|
4060
4060
|
};
|
|
4061
4061
|
function cZ(e, t) {
|
|
4062
|
-
return qd(e, new
|
|
4062
|
+
return qd(e, new v9.classes.URLSearchParams(), Object.assign({
|
|
4063
4063
|
visitor: function(n, i, o, s) {
|
|
4064
|
-
return
|
|
4064
|
+
return v9.isNode && N1.isBuffer(n) ? (this.append(i, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
4065
4065
|
}
|
|
4066
4066
|
}, t));
|
|
4067
4067
|
}
|
|
@@ -4153,8 +4153,8 @@ const bo = {
|
|
|
4153
4153
|
maxContentLength: -1,
|
|
4154
4154
|
maxBodyLength: -1,
|
|
4155
4155
|
env: {
|
|
4156
|
-
FormData:
|
|
4157
|
-
Blob:
|
|
4156
|
+
FormData: v9.classes.FormData,
|
|
4157
|
+
Blob: v9.classes.Blob
|
|
4158
4158
|
},
|
|
4159
4159
|
validateStatus: function(t) {
|
|
4160
4160
|
return t >= 200 && t < 300;
|
|
@@ -4379,7 +4379,7 @@ function bZ(e, t, n) {
|
|
|
4379
4379
|
n
|
|
4380
4380
|
));
|
|
4381
4381
|
}
|
|
4382
|
-
const vZ =
|
|
4382
|
+
const vZ = v9.hasStandardBrowserEnv ? (
|
|
4383
4383
|
// Standard browser envs support document.cookie
|
|
4384
4384
|
{
|
|
4385
4385
|
write(e, t, n, i, o, s) {
|
|
@@ -4415,7 +4415,7 @@ function _Z(e, t) {
|
|
|
4415
4415
|
function HH(e, t) {
|
|
4416
4416
|
return e && !SZ(t) ? _Z(e, t) : t;
|
|
4417
4417
|
}
|
|
4418
|
-
const MZ =
|
|
4418
|
+
const MZ = v9.hasStandardBrowserEnv ? (
|
|
4419
4419
|
// Standard browser envs have full support of the APIs needed to test
|
|
4420
4420
|
// whether the request URL is of the same origin as current location.
|
|
4421
4421
|
(function() {
|
|
@@ -4495,7 +4495,7 @@ const TZ = typeof XMLHttpRequest < "u", VZ = TZ && function(e) {
|
|
|
4495
4495
|
}
|
|
4496
4496
|
let c;
|
|
4497
4497
|
if (N1.isFormData(o)) {
|
|
4498
|
-
if (
|
|
4498
|
+
if (v9.hasStandardBrowserEnv || v9.hasStandardBrowserWebWorkerEnv)
|
|
4499
4499
|
s.setContentType(!1);
|
|
4500
4500
|
else if ((c = s.getContentType()) !== !1) {
|
|
4501
4501
|
const [y, ...w] = c ? c.split(";").map((v) => v.trim()).filter(Boolean) : [];
|
|
@@ -4543,7 +4543,7 @@ const TZ = typeof XMLHttpRequest < "u", VZ = TZ && function(e) {
|
|
|
4543
4543
|
e,
|
|
4544
4544
|
u
|
|
4545
4545
|
)), u = null;
|
|
4546
|
-
},
|
|
4546
|
+
}, v9.hasStandardBrowserEnv && (a && N1.isFunction(a) && (a = a(e)), a || a !== !1 && MZ(h))) {
|
|
4547
4547
|
const y = e.xsrfHeaderName && e.xsrfCookieName && vZ.read(e.xsrfCookieName);
|
|
4548
4548
|
y && s.set(e.xsrfHeaderName, y);
|
|
4549
4549
|
}
|
|
@@ -4553,7 +4553,7 @@ const TZ = typeof XMLHttpRequest < "u", VZ = TZ && function(e) {
|
|
|
4553
4553
|
u && (i(!y || y.type ? new vo(null, e, u) : y), u.abort(), u = null);
|
|
4554
4554
|
}, e.cancelToken && e.cancelToken.subscribe(l), e.signal && (e.signal.aborted ? l() : e.signal.addEventListener("abort", l)));
|
|
4555
4555
|
const m = kZ(h);
|
|
4556
|
-
if (m &&
|
|
4556
|
+
if (m && v9.protocols.indexOf(m) === -1) {
|
|
4557
4557
|
i(new I3("Unsupported protocol " + m + ":", I3.ERR_BAD_REQUEST, e));
|
|
4558
4558
|
return;
|
|
4559
4559
|
}
|
|
@@ -5128,7 +5128,7 @@ const PZ = (e) => {
|
|
|
5128
5128
|
}, NZ = {
|
|
5129
5129
|
MAX_BYO_FILE_SIZE: 26214400
|
|
5130
5130
|
};
|
|
5131
|
-
function
|
|
5131
|
+
function M9(e) {
|
|
5132
5132
|
!e || !window || (window.dataLayer = window.dataLayer || [], window.dataLayer.push(e));
|
|
5133
5133
|
}
|
|
5134
5134
|
const RZ = {}, ZZ = {
|
|
@@ -11406,7 +11406,7 @@ function Wa1(e, t, n, i, o, s) {
|
|
|
11406
11406
|
id: `${n.name}-${o.id}-desc`,
|
|
11407
11407
|
lang: "en"
|
|
11408
11408
|
}, P(s.description), 9, Ga1)) : k("", !0),
|
|
11409
|
-
(C(), B(
|
|
11409
|
+
(C(), B(Q6(`icon-${s.iconName}`)))
|
|
11410
11410
|
], 10, qa1))
|
|
11411
11411
|
], 2);
|
|
11412
11412
|
}
|
|
@@ -11630,17 +11630,17 @@ const ml1 = {
|
|
|
11630
11630
|
i.response.data.logoImageDetails.textColors[0],
|
|
11631
11631
|
i.response.data.logoImageDetails.backgroundColors[0]
|
|
11632
11632
|
);
|
|
11633
|
-
|
|
11633
|
+
M9({
|
|
11634
11634
|
eventCategory: this.eventCategory,
|
|
11635
11635
|
eventAction: "timeTakenToUpload",
|
|
11636
11636
|
eventLabel: `${e}`,
|
|
11637
11637
|
event: "byoLogoUpload"
|
|
11638
|
-
}),
|
|
11638
|
+
}), M9({
|
|
11639
11639
|
eventCategory: this.eventCategory,
|
|
11640
11640
|
eventAction: "logoSize",
|
|
11641
11641
|
eventLabel: `${this.logoFile.file.size}`,
|
|
11642
11642
|
event: "byoLogoUpload"
|
|
11643
|
-
}),
|
|
11643
|
+
}), M9({
|
|
11644
11644
|
eventCategory: this.eventCategory,
|
|
11645
11645
|
eventAction: "colorDifference",
|
|
11646
11646
|
eventLabel: `${o}`,
|
|
@@ -12918,7 +12918,7 @@ function ac1(e, t, n, i, o, s) {
|
|
|
12918
12918
|
return C(), f("div", {
|
|
12919
12919
|
class: O([{ "tw-w-full": n.fullWidth }, n.containerClasses])
|
|
12920
12920
|
}, [
|
|
12921
|
-
(C(), B(
|
|
12921
|
+
(C(), B(Q6(`button-${n.theme || "brandCrowd"}-${n.variant}`), e3(n.dataAttribute ? { [n.dataAttribute]: "" } : {}, {
|
|
12922
12922
|
"data-scl-button": "",
|
|
12923
12923
|
attrs: n.attrs,
|
|
12924
12924
|
size: n.size,
|
|
@@ -13156,7 +13156,7 @@ const _c1 = /* @__PURE__ */ b(gc1, [["render", Sc1]]), Mc1 = {
|
|
|
13156
13156
|
bounds: o,
|
|
13157
13157
|
dataUrl: this.$refs.cropper.getCroppedCanvas().toDataURL(),
|
|
13158
13158
|
isCropped: a
|
|
13159
|
-
}),
|
|
13159
|
+
}), M9({
|
|
13160
13160
|
eventCategory: this.eventCategory,
|
|
13161
13161
|
eventAction: "cropLogo",
|
|
13162
13162
|
eventLabel: "Clicked_Continue",
|
|
@@ -13252,7 +13252,7 @@ const Ac1 = /* @__PURE__ */ b(Mc1, [["render", Ec1]]), Pc1 = {
|
|
|
13252
13252
|
this.$emit("on-continue", {
|
|
13253
13253
|
bounds: e,
|
|
13254
13254
|
dataUrl: this.logoData.logoImageUrl
|
|
13255
|
-
}),
|
|
13255
|
+
}), M9({
|
|
13256
13256
|
eventCategory: this.eventCategory,
|
|
13257
13257
|
eventAction: "previewLogo",
|
|
13258
13258
|
eventLabel: "Clicked_Continue",
|
|
@@ -13356,7 +13356,7 @@ const qc1 = /* @__PURE__ */ b(Pc1, [["render", zc1]]), Gc1 = {
|
|
|
13356
13356
|
const e = {
|
|
13357
13357
|
businessText: this.businessText
|
|
13358
13358
|
};
|
|
13359
|
-
this.sloganText && (e.sloganText = this.sloganText), this.$emit("on-save", e),
|
|
13359
|
+
this.sloganText && (e.sloganText = this.sloganText), this.$emit("on-save", e), M9({
|
|
13360
13360
|
eventCategory: this.eventCategory,
|
|
13361
13361
|
eventAction: "businessName",
|
|
13362
13362
|
eventLabel: "Clicked_Continue",
|
|
@@ -13653,7 +13653,7 @@ const A7 = /* @__PURE__ */ b(iC1, [["render", rC1]]), aC1 = {
|
|
|
13653
13653
|
},
|
|
13654
13654
|
methods: {
|
|
13655
13655
|
goToStep(e, t = !1) {
|
|
13656
|
-
this.currentStep = e, this.activeStep = this.steps[e], this.steps[e].active = !0, t && e === "backgroundColour" &&
|
|
13656
|
+
this.currentStep = e, this.activeStep = this.steps[e], this.steps[e].active = !0, t && e === "backgroundColour" && M9({
|
|
13657
13657
|
eventCategory: this.eventCategory,
|
|
13658
13658
|
eventAction: "textColor",
|
|
13659
13659
|
eventLabel: "Clicked_Continue",
|
|
@@ -13702,7 +13702,7 @@ const A7 = /* @__PURE__ */ b(iC1, [["render", rC1]]), aC1 = {
|
|
|
13702
13702
|
textColorUserSelected: n,
|
|
13703
13703
|
backgroundColorUserSelected: i
|
|
13704
13704
|
};
|
|
13705
|
-
this.$emit("on-save", o),
|
|
13705
|
+
this.$emit("on-save", o), M9({
|
|
13706
13706
|
eventCategory: this.eventCategory,
|
|
13707
13707
|
eventAction: "backgroundColor",
|
|
13708
13708
|
eventLabel: "Clicked_Continue",
|
|
@@ -13910,7 +13910,7 @@ const TC1 = /* @__PURE__ */ b(aC1, [["render", LC1], ["__scopeId", "data-v-cc85f
|
|
|
13910
13910
|
this.$emit("on-go-back");
|
|
13911
13911
|
},
|
|
13912
13912
|
save() {
|
|
13913
|
-
this.isLoading || (
|
|
13913
|
+
this.isLoading || (M9({
|
|
13914
13914
|
eventCategory: this.eventCategory,
|
|
13915
13915
|
eventAction: "keywords",
|
|
13916
13916
|
eventLabel: "Clicked_Continue",
|
|
@@ -14109,7 +14109,7 @@ const ZC1 = /* @__PURE__ */ b(VC1, [["render", RC1]]), FC1 = {
|
|
|
14109
14109
|
this.croppedImageBoxBounds = t, this.croppedImageBoxDataUrl = n, this.currentStep = 3;
|
|
14110
14110
|
},
|
|
14111
14111
|
onCancel() {
|
|
14112
|
-
this.isAttemptingToExit = !0, (this.currentStep === 0 || this.hasError) && this.onExitConfirm(),
|
|
14112
|
+
this.isAttemptingToExit = !0, (this.currentStep === 0 || this.hasError) && this.onExitConfirm(), M9({
|
|
14113
14113
|
eventCategory: this.eventCategory,
|
|
14114
14114
|
eventAction: this.currentStepTrackingLabel,
|
|
14115
14115
|
eventLabel: "Clicked_Cancel",
|
|
@@ -14761,7 +14761,7 @@ function pu1(e, t, n, i, o, s) {
|
|
|
14761
14761
|
}
|
|
14762
14762
|
const hu1 = /* @__PURE__ */ b(du1, [["render", pu1]]);
|
|
14763
14763
|
var z4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
14764
|
-
function
|
|
14764
|
+
function e9(e) {
|
|
14765
14765
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
14766
14766
|
}
|
|
14767
14767
|
var Ra = { exports: {} }, fu1 = Ra.exports, kb;
|
|
@@ -14823,7 +14823,7 @@ function gu1() {
|
|
|
14823
14823
|
})(Ra)), Ra.exports;
|
|
14824
14824
|
}
|
|
14825
14825
|
var So = gu1();
|
|
14826
|
-
const DH = /* @__PURE__ */
|
|
14826
|
+
const DH = /* @__PURE__ */ e9(So), X9 = Object.freeze({
|
|
14827
14827
|
active: "Active",
|
|
14828
14828
|
pendingPreOnboarding: "PendingPreOnboarding",
|
|
14829
14829
|
pendingPostOnboarding: "PendingPostOnboarding",
|
|
@@ -18726,7 +18726,7 @@ function Ey1(e, t, n, i, o, s) {
|
|
|
18726
18726
|
id: `${n.name}-${o.id}-desc`,
|
|
18727
18727
|
lang: "en"
|
|
18728
18728
|
}, P(s.description), 9, Iy1),
|
|
18729
|
-
(C(), B(
|
|
18729
|
+
(C(), B(Q6(`icon-${s.iconName}`)))
|
|
18730
18730
|
], 10, Hy1))
|
|
18731
18731
|
], 2);
|
|
18732
18732
|
}
|
|
@@ -19431,7 +19431,7 @@ function jH(e) {
|
|
|
19431
19431
|
};
|
|
19432
19432
|
u();
|
|
19433
19433
|
}
|
|
19434
|
-
function
|
|
19434
|
+
function S9(e, t) {
|
|
19435
19435
|
return t === void 0 && (t = ""), [...e.children].filter((n) => n.matches(t));
|
|
19436
19436
|
}
|
|
19437
19437
|
function Sl(e) {
|
|
@@ -19723,7 +19723,7 @@ function Mw1() {
|
|
|
19723
19723
|
size: s,
|
|
19724
19724
|
rtlTranslate: r,
|
|
19725
19725
|
wrongRTL: a
|
|
19726
|
-
} = e, l = e.virtual && n.virtual.enabled, d = l ? e.virtual.slides.length : e.slides.length, c =
|
|
19726
|
+
} = e, l = e.virtual && n.virtual.enabled, d = l ? e.virtual.slides.length : e.slides.length, c = S9(o, `.${e.params.slideClass}, swiper-slide`), u = l ? e.virtual.slides.length : c.length;
|
|
19727
19727
|
let h = [];
|
|
19728
19728
|
const g = [], m = [];
|
|
19729
19729
|
let y = n.slidesOffsetBefore;
|
|
@@ -19919,7 +19919,7 @@ function Hw1() {
|
|
|
19919
19919
|
params: n,
|
|
19920
19920
|
slidesEl: i,
|
|
19921
19921
|
activeIndex: o
|
|
19922
|
-
} = e, s = e.virtual && n.virtual.enabled, r = e.grid && n.grid && n.grid.rows > 1, a = (u) =>
|
|
19922
|
+
} = e, s = e.virtual && n.virtual.enabled, r = e.grid && n.grid && n.grid.rows > 1, a = (u) => S9(i, `.${n.slideClass}${u}, swiper-slide${u}`)[0];
|
|
19923
19923
|
t.forEach((u) => {
|
|
19924
19924
|
u.classList.remove(n.slideActiveClass, n.slideNextClass, n.slidePrevClass);
|
|
19925
19925
|
});
|
|
@@ -20386,9 +20386,9 @@ function Yw1() {
|
|
|
20386
20386
|
const r = e.isElement ? "swiper-slide" : `.${t.slideClass}`;
|
|
20387
20387
|
if (t.loop) {
|
|
20388
20388
|
if (e.animating) return;
|
|
20389
|
-
s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? o < e.loopedSlides - i / 2 || o > e.slides.length - e.loopedSlides + i / 2 ? (e.loopFix(), o = e.getSlideIndex(
|
|
20389
|
+
s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? o < e.loopedSlides - i / 2 || o > e.slides.length - e.loopedSlides + i / 2 ? (e.loopFix(), o = e.getSlideIndex(S9(n, `${r}[data-swiper-slide-index="${s}"]`)[0]), Fi(() => {
|
|
20390
20390
|
e.slideTo(o);
|
|
20391
|
-
})) : e.slideTo(o) : o > e.slides.length - i ? (e.loopFix(), o = e.getSlideIndex(
|
|
20391
|
+
})) : e.slideTo(o) : o > e.slides.length - i ? (e.loopFix(), o = e.getSlideIndex(S9(n, `${r}[data-swiper-slide-index="${s}"]`)[0]), Fi(() => {
|
|
20392
20392
|
e.slideTo(o);
|
|
20393
20393
|
})) : e.slideTo(o);
|
|
20394
20394
|
} else
|
|
@@ -20410,7 +20410,7 @@ function Jw1(e) {
|
|
|
20410
20410
|
} = t;
|
|
20411
20411
|
if (!n.loop || t.virtual && t.params.virtual.enabled) return;
|
|
20412
20412
|
const o = () => {
|
|
20413
|
-
|
|
20413
|
+
S9(i, `.${n.slideClass}, swiper-slide`).forEach((u, h) => {
|
|
20414
20414
|
u.setAttribute("data-swiper-slide-index", h);
|
|
20415
20415
|
});
|
|
20416
20416
|
}, s = t.grid && n.grid && n.grid.rows > 1, r = n.slidesPerGroup * (s ? n.grid.rows : 1), a = t.slides.length % r !== 0, l = s && t.slides.length % n.grid.rows !== 0, d = (c) => {
|
|
@@ -21322,7 +21322,7 @@ let Sg = class J9 {
|
|
|
21322
21322
|
const {
|
|
21323
21323
|
slidesEl: n,
|
|
21324
21324
|
params: i
|
|
21325
|
-
} = this, o =
|
|
21325
|
+
} = this, o = S9(n, `.${i.slideClass}, swiper-slide`), s = Ml(o[0]);
|
|
21326
21326
|
return Ml(t) - s;
|
|
21327
21327
|
}
|
|
21328
21328
|
getSlideIndexByData(t) {
|
|
@@ -21333,7 +21333,7 @@ let Sg = class J9 {
|
|
|
21333
21333
|
slidesEl: n,
|
|
21334
21334
|
params: i
|
|
21335
21335
|
} = t;
|
|
21336
|
-
t.slides =
|
|
21336
|
+
t.slides = S9(n, `.${i.slideClass}, swiper-slide`);
|
|
21337
21337
|
}
|
|
21338
21338
|
enable() {
|
|
21339
21339
|
const t = this;
|
|
@@ -21443,8 +21443,8 @@ let Sg = class J9 {
|
|
|
21443
21443
|
return !1;
|
|
21444
21444
|
i.swiper = n, i.parentNode && i.parentNode.host && i.parentNode.host.nodeName === n.params.swiperElementNodeName.toUpperCase() && (n.isElement = !0);
|
|
21445
21445
|
const o = () => `.${(n.params.wrapperClass || "").trim().split(" ").join(".")}`;
|
|
21446
|
-
let r = i && i.shadowRoot && i.shadowRoot.querySelector ? i.shadowRoot.querySelector(o()) :
|
|
21447
|
-
return !r && n.params.createElements && (r = _l("div", n.params.wrapperClass), i.append(r),
|
|
21446
|
+
let r = i && i.shadowRoot && i.shadowRoot.querySelector ? i.shadowRoot.querySelector(o()) : S9(i, o())[0];
|
|
21447
|
+
return !r && n.params.createElements && (r = _l("div", n.params.wrapperClass), i.append(r), S9(i, `.${n.params.slideClass}`).forEach((a) => {
|
|
21448
21448
|
r.append(a);
|
|
21449
21449
|
})), Object.assign(n, {
|
|
21450
21450
|
el: i,
|
|
@@ -22493,7 +22493,7 @@ function Pb1() {
|
|
|
22493
22493
|
return DC = w, DC;
|
|
22494
22494
|
}
|
|
22495
22495
|
var Bb1 = Pb1();
|
|
22496
|
-
const $b1 = /* @__PURE__ */
|
|
22496
|
+
const $b1 = /* @__PURE__ */ e9(Bb1);
|
|
22497
22497
|
function Ob1(e) {
|
|
22498
22498
|
let {
|
|
22499
22499
|
swiper: t,
|
|
@@ -22698,7 +22698,7 @@ function Db1(e) {
|
|
|
22698
22698
|
function ox(e, t, n, i) {
|
|
22699
22699
|
return e.params.createElements && Object.keys(i).forEach((o) => {
|
|
22700
22700
|
if (!n[o] && n.auto === !0) {
|
|
22701
|
-
let s =
|
|
22701
|
+
let s = S9(e.el, `.${i[o]}`)[0];
|
|
22702
22702
|
s || (s = _l("div", i[o]), s.className = i[o], e.el.append(s)), n[o] = s, t[o] = s;
|
|
22703
22703
|
}
|
|
22704
22704
|
}), n;
|
|
@@ -24875,7 +24875,7 @@ const Mg = /* @__PURE__ */ b(Dv1, [["render", Rv1], ["__scopeId", "data-v-4cd691
|
|
|
24875
24875
|
ns: Tl,
|
|
24876
24876
|
...t
|
|
24877
24877
|
});
|
|
24878
|
-
}, F5 = (e) => c2(`model.${e}`), V2 = (e) => c2(`common.${e}`), Cx = (e) => c2(`actionBar.${e}`), a6 = (e) => c2(`brandPageSettings.${e}`), Gv1 = (e) => c2(`colorPalette.${e}`), e7 = (e) => c2(`navigation.${e}`), De = (e) => c2(`converter.${e}`), o4 = (e) => c2(`backgroundSettings.${e}`), Dh = (e) => c2(`colorPicker.${e}`), Wv1 = (e) => c2(`colorReplacementField.${e}`), D = (e) => c2(`contentSettings.${e}`), jn = (e) => c2(`formFields.${e}`), jv1 = (e) => c2(`genericTextInput.${e}`), Kv1 = (e) => c2(`imagesField.${e}`), Yv1 = (e) => c2(`linksField.${e}`),
|
|
24878
|
+
}, F5 = (e) => c2(`model.${e}`), V2 = (e) => c2(`common.${e}`), Cx = (e) => c2(`actionBar.${e}`), a6 = (e) => c2(`brandPageSettings.${e}`), Gv1 = (e) => c2(`colorPalette.${e}`), e7 = (e) => c2(`navigation.${e}`), De = (e) => c2(`converter.${e}`), o4 = (e) => c2(`backgroundSettings.${e}`), Dh = (e) => c2(`colorPicker.${e}`), Wv1 = (e) => c2(`colorReplacementField.${e}`), D = (e) => c2(`contentSettings.${e}`), jn = (e) => c2(`formFields.${e}`), jv1 = (e) => c2(`genericTextInput.${e}`), Kv1 = (e) => c2(`imagesField.${e}`), Yv1 = (e) => c2(`linksField.${e}`), h9 = (e) => c2(`paymentConfig.${e}`), Xv1 = (e) => c2(`shapeField.${e}`), Jv1 = (e) => c2(`testimonialItemsField.${e}`), Qv1 = (e) => c2(`textField.${e}`), s4 = (e) => c2(`textImageField.${e}`), eS1 = (e) => c2(`textItemsField.${e}`), ri = (e) => c2(`textStyleField.${e}`), tS1 = (e) => c2(`textAreaField.${e}`), nS1 = (e) => c2(`bookingUrlField.${e}`), iS1 = (e) => c2(`productConfigOption.${e}`), Nh = (e) => c2(`editLogoSettings.${e}`), ux = (e, t = {}) => c2(`myUploadSettings.${e}`, t), it = (e) => c2(`pageSettings.${e}`), a8 = (e) => c2(`templateSettings.${e}`), p5 = (e) => c2(`seoSettings.${e}`), Ye = (e) => c2(`styleSettingsSection.${e}`), V0 = (e, t = {}) => c2(`saveContactSettings.${e}`, t), NC = (e) => c2(`sensitiveContentSettings.${e}`), Rh = (e) => c2(`socialShare.${e}`), RC = (e) => c2(`cookieSettings.${e}`), z9 = (e) => c2(`googleAnalytics.${e}`), ZC = (e) => c2(`colorField.${e}`), Y5 = (e) => c2(`validator.${e}`), a4 = (e) => c2(`constants.${e}`), $b = (e) => c2(`layoutSwitcher.${e}`), oS1 = (e) => c2(`brandpageBackgroundSettings.${e}`), Ob = (e) => c2(`loginMessage.${e}`), FC = (e) => c2(`cookie.${e}`), _s = (e) => c2(`logoSelectionSettings.${e}`), sS1 = (e) => c2(`googleAddressField.${e}`), rS1 = (e) => c2(`myDesigns.${e}`), bi = (e) => c2(`pageSettings.${e}`), UC = (e) => c2(`shapeLibrary.${e}`), f3 = (e, t = {}) => c2(`error.${e}`, t), a0 = (e) => c2(`dropzoneUploader.${e}`), Ms = (e) => c2(`shop.${e}`), f7 = (e, t = {}) => c2(`payment.${e}`, t), q7 = (e, t = {}) => c2(`publishBrandPageModalWithState.${e}`, t), aS1 = (e) => c2(`existingDomainModal.${e}`), Kn = (e) => c2(`uploadLogoModal.${e}`), q9 = (e, t = {}) => c2(`sensitiveContentModal.${e}`, t, !0), Lt = (e) => c2(`quickLinkBar.${e}`), ks = (e, t = {}) => c2(`brandPageFooter.${e}`, t), xe = (e) => c2(`product.${e}`), lS1 = (e) => c2(`image.${e}`), Db = (e) => c2(`map.${e}`), Nb = (e) => c2(`imagesSection.${e}`), Gd = (e) => c2(`imageGallery.${e}`), dS1 = (e) => c2(`newPageModal.${e}`), zC = (e, t = {}) => c2(`personalisationOverride.${e}`, t), l0 = (e, t = {}) => c2(`paymentModal.${e}`, t), cS1 = (e, t = {}) => c2(`mailingList.${e}`, t), CS1 = (e, t = {}) => c2(`deletePageModal.${e}`, t), d0 = (e, t = {}) => c2(`deleteDomainModal.${e}`, t), P6 = (e, t = {}) => c2(`requestPaymentStripe.${e}`, t), G7 = (e, t = {}) => c2(`productDetailModal.${e}`, t), uS1 = (e, t = {}) => c2(`video.${e}`, t), pS1 = (e, t = {}) => c2(`confirmModal.${e}`, t), W8 = (e, t = {}) => c2(`videoLibrary.${e}`, t), Rb = (e, t = {}) => c2(`logoSwitchConfirmationModal.${e}`, t), qC = (e, t = {}) => c2(`logoTemplateSearchModal.${e}`, t), px = (e, t = {}) => c2(`aiModal.${e}`, t), Ua = (e, t = {}) => c2(`saveContactWidget.${e}`, t), B6 = (e, t = {}) => c2(`paymentShippingAddress.${e}`, t), hS1 = () => Mo().t("countries", {
|
|
24879
24879
|
ns: Tl,
|
|
24880
24880
|
returnObjects: !0
|
|
24881
24881
|
}), ai = () => {
|
|
@@ -26414,7 +26414,7 @@ const p1 = {
|
|
|
26414
26414
|
2: "2",
|
|
26415
26415
|
3: "3",
|
|
26416
26416
|
4: "4"
|
|
26417
|
-
}, ut = "text-only", W6 = "left-aligned-full-image", X5 = "right-aligned-full-image", xl = "alternate-image", j6 = "big-image",
|
|
26417
|
+
}, ut = "text-only", W6 = "left-aligned-full-image", X5 = "right-aligned-full-image", xl = "alternate-image", j6 = "big-image", x9 = "media-only", GC = "columns", Yd = "100%", Zb = {
|
|
26418
26418
|
FULL_HD: "q=80&w=1080",
|
|
26419
26419
|
ULTRA_HD: "q=80&w=2160"
|
|
26420
26420
|
}, bn = "csrf-token", a2 = Object.freeze({
|
|
@@ -27032,7 +27032,7 @@ function FS1() {
|
|
|
27032
27032
|
return z ? "Symbol(src)_1." + z : "";
|
|
27033
27033
|
})(), c1 = q1.toString, Y1 = $1.hasOwnProperty, u2 = $1.toString, g2 = RegExp(
|
|
27034
27034
|
"^" + c1.call(Y1).replace(r1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
27035
|
-
), s3 = w1 ? X1.Buffer : void 0, q2 = X1.Symbol, E3 = X1.Uint8Array, M1 = U(Object.getPrototypeOf, Object), Z1 = Object.create, f2 = $1.propertyIsEnumerable, E2 = g1.splice, k1 = Object.getOwnPropertySymbols, s2 = s3 ? s3.isBuffer : void 0, T1 = U(Object.keys, Object), I1 = $8(X1, "DataView"), r2 = $8(X1, "Map"), K2 = $8(X1, "Promise"), l2 = $8(X1, "Set"), ce = $8(X1, "WeakMap"), we = $8(Object, "create"), y4 =
|
|
27035
|
+
), s3 = w1 ? X1.Buffer : void 0, q2 = X1.Symbol, E3 = X1.Uint8Array, M1 = U(Object.getPrototypeOf, Object), Z1 = Object.create, f2 = $1.propertyIsEnumerable, E2 = g1.splice, k1 = Object.getOwnPropertySymbols, s2 = s3 ? s3.isBuffer : void 0, T1 = U(Object.keys, Object), I1 = $8(X1, "DataView"), r2 = $8(X1, "Map"), K2 = $8(X1, "Promise"), l2 = $8(X1, "Set"), ce = $8(X1, "WeakMap"), we = $8(Object, "create"), y4 = s9(I1), B5 = s9(r2), G3 = s9(K2), Ge = s9(l2), N9 = s9(ce), $5 = q2 ? q2.prototype : void 0, J4 = $5 ? $5.valueOf : void 0;
|
|
27036
27036
|
function Q4(z) {
|
|
27037
27037
|
var V1 = -1, D1 = z ? z.length : 0;
|
|
27038
27038
|
for (this.clear(); ++V1 < D1; ) {
|
|
@@ -27146,7 +27146,7 @@ function FS1() {
|
|
|
27146
27146
|
}
|
|
27147
27147
|
_2.prototype.clear = D3, _2.prototype.delete = be, _2.prototype.get = G2, _2.prototype.has = Q3, _2.prototype.set = oe;
|
|
27148
27148
|
function H6(z, V1) {
|
|
27149
|
-
var D1 =
|
|
27149
|
+
var D1 = r9(z) || Yt(z) ? $2(z.length, String) : [], A2 = D1.length, We = !!A2;
|
|
27150
27150
|
for (var R4 in z)
|
|
27151
27151
|
Y1.call(z, R4) && !(We && (R4 == "length" || Xc(R4, A2))) && D1.push(R4);
|
|
27152
27152
|
return D1;
|
|
@@ -27162,7 +27162,7 @@ function FS1() {
|
|
|
27162
27162
|
return -1;
|
|
27163
27163
|
}
|
|
27164
27164
|
function P8(z, V1) {
|
|
27165
|
-
return z && Dn(V1,
|
|
27165
|
+
return z && Dn(V1, a9(V1), z);
|
|
27166
27166
|
}
|
|
27167
27167
|
function D5(z, V1, D1, A2, We, R4, x6) {
|
|
27168
27168
|
var b4;
|
|
@@ -27170,7 +27170,7 @@ function FS1() {
|
|
|
27170
27170
|
return b4;
|
|
27171
27171
|
if (!Jt(z))
|
|
27172
27172
|
return z;
|
|
27173
|
-
var Rn =
|
|
27173
|
+
var Rn = r9(z);
|
|
27174
27174
|
if (Rn) {
|
|
27175
27175
|
if (b4 = jc(z), !V1)
|
|
27176
27176
|
return Xo(z, b4);
|
|
@@ -27194,7 +27194,7 @@ function FS1() {
|
|
|
27194
27194
|
if (as)
|
|
27195
27195
|
return as;
|
|
27196
27196
|
if (x6.set(z, b4), !Rn)
|
|
27197
|
-
var ls = D1 ? Wc(z) :
|
|
27197
|
+
var ls = D1 ? Wc(z) : a9(z);
|
|
27198
27198
|
return n2(ls || z, function(Zn, Qt) {
|
|
27199
27199
|
ls && (Qt = Zn, Zn = z[Qt]), d5(b4, Qt, D5(Zn, V1, D1, A2, Qt, z, x6));
|
|
27200
27200
|
}), b4;
|
|
@@ -27204,7 +27204,7 @@ function FS1() {
|
|
|
27204
27204
|
}
|
|
27205
27205
|
function B8(z, V1, D1) {
|
|
27206
27206
|
var A2 = V1(z);
|
|
27207
|
-
return
|
|
27207
|
+
return r9(z) ? A2 : O2(A2, D1(z));
|
|
27208
27208
|
}
|
|
27209
27209
|
function Dc(z) {
|
|
27210
27210
|
return u2.call(z);
|
|
@@ -27213,7 +27213,7 @@ function FS1() {
|
|
|
27213
27213
|
if (!Jt(z) || Qc(z))
|
|
27214
27214
|
return !1;
|
|
27215
27215
|
var V1 = Xt(z) || P2(z) ? g2 : q;
|
|
27216
|
-
return V1.test(
|
|
27216
|
+
return V1.test(s9(z));
|
|
27217
27217
|
}
|
|
27218
27218
|
function Rc(z) {
|
|
27219
27219
|
if (!Qo(z))
|
|
@@ -27274,7 +27274,7 @@ function FS1() {
|
|
|
27274
27274
|
return Dn(z, Jo(z), V1);
|
|
27275
27275
|
}
|
|
27276
27276
|
function Wc(z) {
|
|
27277
|
-
return B8(z,
|
|
27277
|
+
return B8(z, a9, Jo);
|
|
27278
27278
|
}
|
|
27279
27279
|
function Kt(z, V1) {
|
|
27280
27280
|
var D1 = z.__data__;
|
|
@@ -27286,7 +27286,7 @@ function FS1() {
|
|
|
27286
27286
|
}
|
|
27287
27287
|
var Jo = k1 ? U(k1, Object) : tC, Z9 = Dc;
|
|
27288
27288
|
(I1 && Z9(new I1(new ArrayBuffer(1))) != x || r2 && Z9(new r2()) != h || K2 && Z9(K2.resolve()) != y || l2 && Z9(new l2()) != v || ce && Z9(new ce()) != _) && (Z9 = function(z) {
|
|
27289
|
-
var V1 = u2.call(z), D1 = V1 == m ? z.constructor : void 0, A2 = D1 ?
|
|
27289
|
+
var V1 = u2.call(z), D1 = V1 == m ? z.constructor : void 0, A2 = D1 ? s9(D1) : void 0;
|
|
27290
27290
|
if (A2)
|
|
27291
27291
|
switch (A2) {
|
|
27292
27292
|
case y4:
|
|
@@ -27356,7 +27356,7 @@ function FS1() {
|
|
|
27356
27356
|
var V1 = z && z.constructor, D1 = typeof V1 == "function" && V1.prototype || $1;
|
|
27357
27357
|
return z === D1;
|
|
27358
27358
|
}
|
|
27359
|
-
function
|
|
27359
|
+
function s9(z) {
|
|
27360
27360
|
if (z != null) {
|
|
27361
27361
|
try {
|
|
27362
27362
|
return c1.call(z);
|
|
@@ -27378,7 +27378,7 @@ function FS1() {
|
|
|
27378
27378
|
function Yt(z) {
|
|
27379
27379
|
return is(z) && Y1.call(z, "callee") && (!f2.call(z, "callee") || u2.call(z) == s);
|
|
27380
27380
|
}
|
|
27381
|
-
var
|
|
27381
|
+
var r9 = Array.isArray;
|
|
27382
27382
|
function ns(z) {
|
|
27383
27383
|
return z != null && Nn(z.length) && !Xt(z);
|
|
27384
27384
|
}
|
|
@@ -27400,7 +27400,7 @@ function FS1() {
|
|
|
27400
27400
|
function ss(z) {
|
|
27401
27401
|
return !!z && typeof z == "object";
|
|
27402
27402
|
}
|
|
27403
|
-
function
|
|
27403
|
+
function a9(z) {
|
|
27404
27404
|
return ns(z) ? H6(z) : Rc(z);
|
|
27405
27405
|
}
|
|
27406
27406
|
function tC() {
|
|
@@ -27413,7 +27413,7 @@ function FS1() {
|
|
|
27413
27413
|
})(li, li.exports)), li.exports;
|
|
27414
27414
|
}
|
|
27415
27415
|
var US1 = FS1();
|
|
27416
|
-
const Y3 = /* @__PURE__ */
|
|
27416
|
+
const Y3 = /* @__PURE__ */ e9(US1);
|
|
27417
27417
|
class mx {
|
|
27418
27418
|
constructor(t, n) {
|
|
27419
27419
|
H1(this, "defaultButtonStyle");
|
|
@@ -27735,17 +27735,17 @@ class zh {
|
|
|
27735
27735
|
}, this.personalisationRole = t.personalisationRole, this.media = t.media || void 0, this.mediaOverlayStyle = t.mediaOverlayStyle;
|
|
27736
27736
|
}
|
|
27737
27737
|
}
|
|
27738
|
-
const
|
|
27738
|
+
const u9 = {
|
|
27739
27739
|
grid: "grid",
|
|
27740
27740
|
carousel: "carousel",
|
|
27741
27741
|
masonry: "masonry"
|
|
27742
27742
|
}, GS1 = Object.freeze(
|
|
27743
|
-
Object.keys(
|
|
27743
|
+
Object.keys(u9)
|
|
27744
27744
|
);
|
|
27745
27745
|
class Mx {
|
|
27746
27746
|
constructor(t = {}) {
|
|
27747
27747
|
H1(this, "galleryType");
|
|
27748
|
-
this.galleryType = t.galleryType ||
|
|
27748
|
+
this.galleryType = t.galleryType || u9.grid;
|
|
27749
27749
|
}
|
|
27750
27750
|
}
|
|
27751
27751
|
class vn {
|
|
@@ -28604,7 +28604,7 @@ function XS1() {
|
|
|
28604
28604
|
return jC = w, jC;
|
|
28605
28605
|
}
|
|
28606
28606
|
var JS1 = XS1();
|
|
28607
|
-
const _e = /* @__PURE__ */
|
|
28607
|
+
const _e = /* @__PURE__ */ e9(JS1), qh = /^\s*(?:\d+px\s*)+\s(.+)$/i, qi = (e) => /^#([a-f0-9]{3}){1,2}$/i.test(e), Vo = (e) => /^(rgb).*/.test(e);
|
|
28608
28608
|
function m8(e, t = 1) {
|
|
28609
28609
|
let n = null;
|
|
28610
28610
|
if (qi(e))
|
|
@@ -28693,7 +28693,7 @@ function Vx() {
|
|
|
28693
28693
|
})(Ts, Ts.exports)), Ts.exports;
|
|
28694
28694
|
}
|
|
28695
28695
|
var t_1 = /* @__PURE__ */ Vx();
|
|
28696
|
-
const n_1 = /* @__PURE__ */
|
|
28696
|
+
const n_1 = /* @__PURE__ */ e9(t_1), Wh = {
|
|
28697
28697
|
aliceblue: [240, 248, 255],
|
|
28698
28698
|
antiquewhite: [250, 235, 215],
|
|
28699
28699
|
aqua: [0, 255, 255],
|
|
@@ -28844,9 +28844,9 @@ const n_1 = /* @__PURE__ */ Q6(t_1), Wh = {
|
|
|
28844
28844
|
yellowgreen: [154, 205, 50]
|
|
28845
28845
|
};
|
|
28846
28846
|
for (const e in Wh) Object.freeze(Wh[e]);
|
|
28847
|
-
const
|
|
28848
|
-
for (const e in
|
|
28849
|
-
Object.hasOwn(
|
|
28847
|
+
const k9 = Object.freeze(Wh), Hx = /* @__PURE__ */ Object.create(null);
|
|
28848
|
+
for (const e in k9)
|
|
28849
|
+
Object.hasOwn(k9, e) && (Hx[k9[e]] = e);
|
|
28850
28850
|
const Je = {
|
|
28851
28851
|
to: {},
|
|
28852
28852
|
get: {}
|
|
@@ -28893,7 +28893,7 @@ Je.get.rgb = function(e) {
|
|
|
28893
28893
|
for (l = 0; l < 3; l++)
|
|
28894
28894
|
r[l] = Math.round(Number.parseFloat(a[l + 1]) * 2.55);
|
|
28895
28895
|
a[4] && (r[3] = a[5] ? Number.parseFloat(a[4]) * 0.01 : Number.parseFloat(a[4]));
|
|
28896
|
-
} else return (a = e.toLowerCase().match(s)) ? a[1] === "transparent" ? [0, 0, 0, 0] : Object.hasOwn(
|
|
28896
|
+
} else return (a = e.toLowerCase().match(s)) ? a[1] === "transparent" ? [0, 0, 0, 0] : Object.hasOwn(k9, a[1]) ? (r = k9[a[1]].slice(), r[3] = 1, r) : null : null;
|
|
28897
28897
|
for (l = 0; l < 3; l++)
|
|
28898
28898
|
r[l] = m7(r[l], 0, 255);
|
|
28899
28899
|
return r[3] = m7(r[3], 0, 1), r;
|
|
@@ -28946,8 +28946,8 @@ function Hs(e) {
|
|
|
28946
28946
|
return t.length < 2 ? "0" + t : t;
|
|
28947
28947
|
}
|
|
28948
28948
|
const xx = {};
|
|
28949
|
-
for (const e of Object.keys(
|
|
28950
|
-
xx[
|
|
28949
|
+
for (const e of Object.keys(k9))
|
|
28950
|
+
xx[k9[e]] = e;
|
|
28951
28951
|
const m2 = {
|
|
28952
28952
|
rgb: { channels: 3, labels: "rgb" },
|
|
28953
28953
|
hsl: { channels: 3, labels: "hsl" },
|
|
@@ -29061,14 +29061,14 @@ m2.rgb.keyword = function(e) {
|
|
|
29061
29061
|
if (t)
|
|
29062
29062
|
return t;
|
|
29063
29063
|
let n = Number.POSITIVE_INFINITY, i;
|
|
29064
|
-
for (const o of Object.keys(
|
|
29065
|
-
const s =
|
|
29064
|
+
for (const o of Object.keys(k9)) {
|
|
29065
|
+
const s = k9[o], r = i_1(e, s);
|
|
29066
29066
|
r < n && (n = r, i = o);
|
|
29067
29067
|
}
|
|
29068
29068
|
return i;
|
|
29069
29069
|
};
|
|
29070
29070
|
m2.keyword.rgb = function(e) {
|
|
29071
|
-
return [...
|
|
29071
|
+
return [...k9[e]];
|
|
29072
29072
|
};
|
|
29073
29073
|
m2.rgb.xyz = function(e) {
|
|
29074
29074
|
const t = q0(e[0] / 255), n = q0(e[1] / 255), i = q0(e[2] / 255), o = t * 0.4124564 + n * 0.3575761 + i * 0.1804375, s = t * 0.2126729 + n * 0.7151522 + i * 0.072175, r = t * 0.0193339 + n * 0.119192 + i * 0.9503041;
|
|
@@ -29699,7 +29699,7 @@ const Yh = (e, t, n) => {
|
|
|
29699
29699
|
}, Pl = (e, t) => {
|
|
29700
29700
|
const n = m8(e).replace(/[^\d,]/g, "").split(","), i = m8(t).replace(/[^\d,]/g, "").split(","), o = Yh(n[0], n[1], n[2]), s = Yh(i[0], i[1], i[2]);
|
|
29701
29701
|
return o > s ? (s + 0.05) / (o + 0.05) : (o + 0.05) / (s + 0.05);
|
|
29702
|
-
},
|
|
29702
|
+
}, I9 = (e) => e.trim().substring(7, 9) === "00", tn = (e) => e.trim().substring(0, 7), Gi = (e) => `${tn(e)}00`, Xh = (e, t) => `${tn(e)}${Math.round(t * 255).toString(16)}`, Jh = (e, t) => {
|
|
29703
29703
|
n_1(e) && (e = m8(e));
|
|
29704
29704
|
const n = /rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d\.]+)\s*)?\)/i.exec(
|
|
29705
29705
|
e
|
|
@@ -30162,12 +30162,12 @@ function y_1() {
|
|
|
30162
30162
|
}
|
|
30163
30163
|
}
|
|
30164
30164
|
return [y2, J1, H2, Q.length > 3 ? Q[3] : 1];
|
|
30165
|
-
}, Xc = Yc, Jc = y.unpack, Qc = y.type, Qo = $,
|
|
30166
|
-
|
|
30165
|
+
}, Xc = Yc, Jc = y.unpack, Qc = y.type, Qo = $, s9 = x, es = w, ts = Z9;
|
|
30166
|
+
s9.prototype.hsv = function() {
|
|
30167
30167
|
return ts(this._rgb);
|
|
30168
30168
|
}, Qo.hsv = function() {
|
|
30169
30169
|
for (var H = [], A = arguments.length; A--; ) H[A] = arguments[A];
|
|
30170
|
-
return new (Function.prototype.bind.apply(
|
|
30170
|
+
return new (Function.prototype.bind.apply(s9, [null].concat(H, ["hsv"])))();
|
|
30171
30171
|
}, es.format.hsv = Xc, es.autodetect.push({
|
|
30172
30172
|
p: 2,
|
|
30173
30173
|
test: function() {
|
|
@@ -30191,27 +30191,27 @@ function y_1() {
|
|
|
30191
30191
|
// 3 * t1 * t1
|
|
30192
30192
|
t3: 8856452e-9
|
|
30193
30193
|
// t1 * t1 * t1
|
|
30194
|
-
},
|
|
30194
|
+
}, r9 = Yt, ns = y.unpack, is = Math.pow, eC = function() {
|
|
30195
30195
|
for (var H = [], A = arguments.length; A--; ) H[A] = arguments[A];
|
|
30196
30196
|
var R = ns(H, "rgb"), W = R[0], i1 = R[1], l1 = R[2], Q = Jt(W, i1, l1), y1 = Q[0], v1 = Q[1], O1 = Q[2], K1 = 116 * v1 - 16;
|
|
30197
30197
|
return [K1 < 0 ? 0 : K1, 500 * (y1 - v1), 200 * (v1 - O1)];
|
|
30198
30198
|
}, Xt = function(H) {
|
|
30199
30199
|
return (H /= 255) <= 0.04045 ? H / 12.92 : is((H + 0.055) / 1.055, 2.4);
|
|
30200
30200
|
}, Nn = function(H) {
|
|
30201
|
-
return H >
|
|
30201
|
+
return H > r9.t3 ? is(H, 1 / 3) : H / r9.t2 + r9.t0;
|
|
30202
30202
|
}, Jt = function(H, A, R) {
|
|
30203
30203
|
H = Xt(H), A = Xt(A), R = Xt(R);
|
|
30204
|
-
var W = Nn((0.4124564 * H + 0.3575761 * A + 0.1804375 * R) /
|
|
30204
|
+
var W = Nn((0.4124564 * H + 0.3575761 * A + 0.1804375 * R) / r9.Xn), i1 = Nn((0.2126729 * H + 0.7151522 * A + 0.072175 * R) / r9.Yn), l1 = Nn((0.0193339 * H + 0.119192 * A + 0.9503041 * R) / r9.Zn);
|
|
30205
30205
|
return [W, i1, l1];
|
|
30206
|
-
}, ss = eC,
|
|
30206
|
+
}, ss = eC, a9 = Yt, tC = y.unpack, nC = Math.pow, z = function() {
|
|
30207
30207
|
for (var H = [], A = arguments.length; A--; ) H[A] = arguments[A];
|
|
30208
30208
|
H = tC(H, "lab");
|
|
30209
30209
|
var R = H[0], W = H[1], i1 = H[2], l1, Q, y1, v1, O1, K1;
|
|
30210
|
-
return Q = (R + 16) / 116, l1 = isNaN(W) ? Q : Q + W / 500, y1 = isNaN(i1) ? Q : Q - i1 / 200, Q =
|
|
30210
|
+
return Q = (R + 16) / 116, l1 = isNaN(W) ? Q : Q + W / 500, y1 = isNaN(i1) ? Q : Q - i1 / 200, Q = a9.Yn * D1(Q), l1 = a9.Xn * D1(l1), y1 = a9.Zn * D1(y1), v1 = V1(3.2404542 * l1 - 1.5371385 * Q - 0.4985314 * y1), O1 = V1(-0.969266 * l1 + 1.8760108 * Q + 0.041556 * y1), K1 = V1(0.0556434 * l1 - 0.2040259 * Q + 1.0572252 * y1), [v1, O1, K1, H.length > 3 ? H[3] : 1];
|
|
30211
30211
|
}, V1 = function(H) {
|
|
30212
30212
|
return 255 * (H <= 304e-5 ? 12.92 * H : 1.055 * nC(H, 1 / 2.4) - 0.055);
|
|
30213
30213
|
}, D1 = function(H) {
|
|
30214
|
-
return H >
|
|
30214
|
+
return H > a9.t1 ? H * H * H : a9.t2 * (H - a9.t0);
|
|
30215
30215
|
}, A2 = z, We = y.unpack, R4 = y.type, x6 = $, b4 = x, Rn = w, O8 = ss;
|
|
30216
30216
|
b4.prototype.lab = function() {
|
|
30217
30217
|
return O8(this._rgb);
|
|
@@ -31268,7 +31268,7 @@ function y_1() {
|
|
|
31268
31268
|
})(Xa)), Xa.exports;
|
|
31269
31269
|
}
|
|
31270
31270
|
var w_1 = y_1();
|
|
31271
|
-
const Kb = /* @__PURE__ */
|
|
31271
|
+
const Kb = /* @__PURE__ */ e9(w_1), Qh = Object.freeze(["id", "type", "role"]), b_1 = Object.freeze([
|
|
31272
31272
|
"responseEmail",
|
|
31273
31273
|
"logoImageUrl"
|
|
31274
31274
|
]), Bl = /^(https?):\/\/(.*)$/i, Ax = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/, Jd = "side-bar-content", v_1 = (e) => (t) => ({
|
|
@@ -31281,7 +31281,7 @@ const Kb = /* @__PURE__ */ Q6(w_1), Qh = Object.freeze(["id", "type", "role"]),
|
|
|
31281
31281
|
isEnabled: typeof t.isEnabled == "function" ? t.isEnabled(e) : t.isEnabled,
|
|
31282
31282
|
isLocked: typeof t.isLocked == "function" ? t.isLocked(e) : !1
|
|
31283
31283
|
}), Yb = (e, t) => {
|
|
31284
|
-
const n =
|
|
31284
|
+
const n = m9()[e.type], i = Object.assign(
|
|
31285
31285
|
n.createInitialContent(t),
|
|
31286
31286
|
e
|
|
31287
31287
|
), o = Object.keys(
|
|
@@ -31348,7 +31348,7 @@ const Kb = /* @__PURE__ */ Q6(w_1), Qh = Object.freeze(["id", "type", "role"]),
|
|
|
31348
31348
|
for (; o.has(s); )
|
|
31349
31349
|
s += 1;
|
|
31350
31350
|
return s > 1 && (n = `${i.slugComponent}-${s}`), n;
|
|
31351
|
-
}, nn = (e) => `${parseFloat(e) / 16}em`,
|
|
31351
|
+
}, nn = (e) => `${parseFloat(e) / 16}em`, p9 = (e) => `${parseFloat(e) * 16}`, Bx = 1, Ut = "%0A", Jb = "rgba(0,0,0,0.5)", V_1 = 5;
|
|
31352
31352
|
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
31353
31353
|
const {
|
|
31354
31354
|
entries: $x,
|
|
@@ -32769,7 +32769,7 @@ const lM1 = () => (tu || (tu = Y_1), tu), dM1 = (e) => CM1(e, lM1()), cM1 = (e)
|
|
|
32769
32769
|
},
|
|
32770
32770
|
{}
|
|
32771
32771
|
);
|
|
32772
|
-
},
|
|
32772
|
+
}, L9 = ({
|
|
32773
32773
|
backgroundColors: e,
|
|
32774
32774
|
textColors: t
|
|
32775
32775
|
}) => {
|
|
@@ -33413,7 +33413,7 @@ function lk1() {
|
|
|
33413
33413
|
return tp = t, tp;
|
|
33414
33414
|
}
|
|
33415
33415
|
var dk1 = lk1();
|
|
33416
|
-
const np = /* @__PURE__ */
|
|
33416
|
+
const np = /* @__PURE__ */ e9(dk1), Yx = (e) => {
|
|
33417
33417
|
if (!document || Array.from(
|
|
33418
33418
|
document.querySelectorAll('head link[rel="stylesheet"]')
|
|
33419
33419
|
).some((i) => i.getAttribute("href") === e))
|
|
@@ -33570,7 +33570,7 @@ const np = /* @__PURE__ */ Q6(dk1), Yx = (e) => {
|
|
|
33570
33570
|
}, Wg = (e, t, n, i) => {
|
|
33571
33571
|
var a, l;
|
|
33572
33572
|
let o;
|
|
33573
|
-
(a = e.backgroundStyle) != null && a.background &&
|
|
33573
|
+
(a = e.backgroundStyle) != null && a.background && I9(e.backgroundStyle.background) ? o = void 0 : o = ((l = e.backgroundStyle) == null ? void 0 : l.background) || t.backgroundStyle.background;
|
|
33574
33574
|
const s = e.imageStyle || {};
|
|
33575
33575
|
!s.width && !t.imageStyle.width && (i != null && i.width) && (i != null && i.height) && (s.width = i.width, s.height = i.height);
|
|
33576
33576
|
const r = {
|
|
@@ -33654,7 +33654,7 @@ const np = /* @__PURE__ */ Q6(dk1), Yx = (e) => {
|
|
|
33654
33654
|
}, dI = (e, t) => {
|
|
33655
33655
|
var a, l, d, c, u, h, g, m;
|
|
33656
33656
|
const n = ((a = e.backgroundColor) == null ? void 0 : a.background) || ((l = e.backgroundColor) == null ? void 0 : l.backgroundColor);
|
|
33657
|
-
let i = n && !
|
|
33657
|
+
let i = n && !I9(n) ? {
|
|
33658
33658
|
...t.buttonStyles.style,
|
|
33659
33659
|
backgroundColor: n,
|
|
33660
33660
|
paddingTop: fk1
|
|
@@ -33688,7 +33688,7 @@ const np = /* @__PURE__ */ Q6(dk1), Yx = (e) => {
|
|
|
33688
33688
|
}, cI = (e, t, n) => {
|
|
33689
33689
|
var c, u;
|
|
33690
33690
|
const i = ((c = e.backgroundColor) == null ? void 0 : c.background) || ((u = e.backgroundColor) == null ? void 0 : u.backgroundColor);
|
|
33691
|
-
let o = i && !
|
|
33691
|
+
let o = i && !I9(i) ? {
|
|
33692
33692
|
...t.buttonStyles.style,
|
|
33693
33693
|
backgroundColor: i
|
|
33694
33694
|
} : void 0;
|
|
@@ -39050,7 +39050,7 @@ function CT1() {
|
|
|
39050
39050
|
})(Es, Es.exports)), Es.exports;
|
|
39051
39051
|
}
|
|
39052
39052
|
var Jg = /* @__PURE__ */ CT1();
|
|
39053
|
-
const uT1 = /* @__PURE__ */
|
|
39053
|
+
const uT1 = /* @__PURE__ */ e9(Jg), Qg = (e) => typeof e == "string" || e instanceof String, q4 = (e, t) => Qg(e) && Jg.isURL(e, t), S6 = (e) => Qg(e) && Jg.isEmail(e), b8 = (e) => {
|
|
39054
39054
|
const t = /^[0-9*+-\s]+$/;
|
|
39055
39055
|
return e.match(t) && e.length >= 3 && e.length <= 18;
|
|
39056
39056
|
}, pT1 = (e, t) => Qg(e) && e.length <= t, em = (e) => {
|
|
@@ -39115,7 +39115,7 @@ const uT1 = /* @__PURE__ */ Q6(Jg), Qg = (e) => typeof e == "string" || e instan
|
|
|
39115
39115
|
return n === "circle" ? {
|
|
39116
39116
|
aspectRatio: ip,
|
|
39117
39117
|
borderRadius: i
|
|
39118
|
-
} : e > 1 && t ===
|
|
39118
|
+
} : e > 1 && t === x9 && !i ? {
|
|
39119
39119
|
aspectRatio: ip
|
|
39120
39120
|
} : (t === H5 || t === Q5) && !i ? {
|
|
39121
39121
|
aspectRatio: ip
|
|
@@ -41552,7 +41552,7 @@ const oE = /brand-page\/([^?]*)/, FT1 = /logo\/([^\/]*)\//, sE = /(http|https):\
|
|
|
41552
41552
|
isButtonContent: Ln,
|
|
41553
41553
|
isContact: Gt,
|
|
41554
41554
|
isEmail: S6,
|
|
41555
|
-
isHexTransparent:
|
|
41555
|
+
isHexTransparent: I9,
|
|
41556
41556
|
isImageContent: iI,
|
|
41557
41557
|
isImagesContent: qt,
|
|
41558
41558
|
isImagesGalleryContent: oI,
|
|
@@ -41590,7 +41590,7 @@ const oE = /brand-page\/([^?]*)/, FT1 = /logo\/([^\/]*)\//, sE = /(http|https):\
|
|
|
41590
41590
|
mapToViewModel: yI,
|
|
41591
41591
|
migrateBrandPageModel: pm,
|
|
41592
41592
|
normalizeColorToHex: Wi,
|
|
41593
|
-
parseLogoThemeToCssStyles:
|
|
41593
|
+
parseLogoThemeToCssStyles: L9,
|
|
41594
41594
|
paymentOptionImageTypeToPaddingPercentage: yT1,
|
|
41595
41595
|
preloadImage: Ki,
|
|
41596
41596
|
removeAlphaFromHex: tn,
|
|
@@ -41599,7 +41599,7 @@ const oE = /brand-page\/([^?]*)/, FT1 = /logo\/([^\/]*)\//, sE = /(http|https):\
|
|
|
41599
41599
|
svgShapeUtil: HT1,
|
|
41600
41600
|
svgUtil: FV1,
|
|
41601
41601
|
unescapeContentText: wI
|
|
41602
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
41602
|
+
}, Symbol.toStringTag, { value: "Module" })), t9 = (e, t, n) => () => {
|
|
41603
41603
|
let i = "";
|
|
41604
41604
|
switch (e) {
|
|
41605
41605
|
case "website":
|
|
@@ -42346,24 +42346,24 @@ const oE = /brand-page\/([^?]*)/, FT1 = /logo\/([^\/]*)\//, sE = /(http|https):\
|
|
|
42346
42346
|
return {
|
|
42347
42347
|
options: [
|
|
42348
42348
|
{
|
|
42349
|
-
value:
|
|
42350
|
-
isSelected: !e || (e == null ? void 0 : e.galleryType) ===
|
|
42349
|
+
value: u9.grid,
|
|
42350
|
+
isSelected: !e || (e == null ? void 0 : e.galleryType) === u9.grid,
|
|
42351
42351
|
iconName: "image-gallery-grid",
|
|
42352
42352
|
iconViewBox: "0 0 94 24",
|
|
42353
42353
|
title: De("grid"),
|
|
42354
42354
|
dataAttribute: "data-test-btn-grid"
|
|
42355
42355
|
},
|
|
42356
42356
|
{
|
|
42357
|
-
value:
|
|
42358
|
-
isSelected: (e == null ? void 0 : e.galleryType) ===
|
|
42357
|
+
value: u9.carousel,
|
|
42358
|
+
isSelected: (e == null ? void 0 : e.galleryType) === u9.carousel,
|
|
42359
42359
|
iconName: "image-gallery-carousel",
|
|
42360
42360
|
iconViewBox: "0 0 94 24",
|
|
42361
42361
|
title: De("carousel"),
|
|
42362
42362
|
dataAttribute: "data-test-btn-carousel"
|
|
42363
42363
|
},
|
|
42364
42364
|
{
|
|
42365
|
-
value:
|
|
42366
|
-
isSelected: (e == null ? void 0 : e.galleryType) ===
|
|
42365
|
+
value: u9.masonry,
|
|
42366
|
+
isSelected: (e == null ? void 0 : e.galleryType) === u9.masonry,
|
|
42367
42367
|
iconName: "image-gallery-masonry",
|
|
42368
42368
|
iconViewBox: "0 0 94 24",
|
|
42369
42369
|
title: De("masonry"),
|
|
@@ -42374,7 +42374,7 @@ const oE = /brand-page\/([^?]*)/, FT1 = /logo\/([^\/]*)\//, sE = /(http|https):\
|
|
|
42374
42374
|
},
|
|
42375
42375
|
convertBack(e) {
|
|
42376
42376
|
const t = e.options.find((n) => n.isSelected);
|
|
42377
|
-
return t ? { galleryType: t.value } : { galleryType:
|
|
42377
|
+
return t ? { galleryType: t.value } : { galleryType: u9.grid };
|
|
42378
42378
|
}
|
|
42379
42379
|
}, pH1 = 2, N2 = ie("brandPageMakerUser", {
|
|
42380
42380
|
state: () => ({
|
|
@@ -42805,7 +42805,7 @@ const hH1 = {
|
|
|
42805
42805
|
}
|
|
42806
42806
|
}
|
|
42807
42807
|
}), fm = (e) => {
|
|
42808
|
-
const t =
|
|
42808
|
+
const t = m9()[e];
|
|
42809
42809
|
return t || (console.error(`Unsupported template type: "${e}"`), null);
|
|
42810
42810
|
}, kH1 = (e) => (e == null ? void 0 : e.displayName) || "", gm = (e, t, n) => {
|
|
42811
42811
|
const i = Object.keys(t.fields).filter((o) => {
|
|
@@ -43053,7 +43053,7 @@ const hH1 = {
|
|
|
43053
43053
|
PREMIUM: "premium",
|
|
43054
43054
|
EXIT: "exit",
|
|
43055
43055
|
FREEMIUM: "freemium"
|
|
43056
|
-
}, wf = mo(),
|
|
43056
|
+
}, wf = mo(), l9 = mo({
|
|
43057
43057
|
upsellOpenEventProps: {},
|
|
43058
43058
|
domainUpsellOpenEventProps: {},
|
|
43059
43059
|
publishOpenEventProps: {}
|
|
@@ -43092,10 +43092,10 @@ const hH1 = {
|
|
|
43092
43092
|
wf.value = n;
|
|
43093
43093
|
},
|
|
43094
43094
|
setUpsellBridgeState: (n) => {
|
|
43095
|
-
|
|
43095
|
+
l9.value.upsellOpenEventProps = n;
|
|
43096
43096
|
},
|
|
43097
43097
|
setDomainUpsellBridgeState: (n) => {
|
|
43098
|
-
|
|
43098
|
+
l9.value.domainUpsellOpenEventProps = n;
|
|
43099
43099
|
},
|
|
43100
43100
|
subscribe: (n) => {
|
|
43101
43101
|
mE.value.push(n);
|
|
@@ -43113,45 +43113,45 @@ const hH1 = {
|
|
|
43113
43113
|
// Upsell
|
|
43114
43114
|
sendUpsellOpenEvent: (n) => {
|
|
43115
43115
|
b3(Y2.WEBSITE_MAKER_UPSELL_MODAL, {
|
|
43116
|
-
...
|
|
43116
|
+
...l9.value.upsellOpenEventProps,
|
|
43117
43117
|
continuation: null,
|
|
43118
43118
|
cta_location: n
|
|
43119
43119
|
});
|
|
43120
43120
|
},
|
|
43121
43121
|
sendDomainUpsellOpenEvent: () => {
|
|
43122
43122
|
b3(Y2.WEBSITE_MAKER_DOMAIN_UPSELL_MODAL, {
|
|
43123
|
-
...
|
|
43123
|
+
...l9.value.domainUpsellOpenEventProps,
|
|
43124
43124
|
continuation: null
|
|
43125
43125
|
});
|
|
43126
43126
|
},
|
|
43127
43127
|
sendDomainUpsellContinuationEvent: (n) => {
|
|
43128
43128
|
b3(Y2.WEBSITE_MAKER_DOMAIN_UPSELL_MODAL, {
|
|
43129
|
-
...
|
|
43129
|
+
...l9.value.domainUpsellOpenEventProps,
|
|
43130
43130
|
continuation: n
|
|
43131
43131
|
});
|
|
43132
43132
|
},
|
|
43133
43133
|
sendUpsellContinuationEvent: (n) => {
|
|
43134
43134
|
b3(Y2.WEBSITE_MAKER_UPSELL_MODAL, {
|
|
43135
|
-
...
|
|
43135
|
+
...l9.value.upsellOpenEventProps,
|
|
43136
43136
|
continuation: n
|
|
43137
43137
|
});
|
|
43138
43138
|
},
|
|
43139
43139
|
// Publish
|
|
43140
43140
|
sendPublishOpenEvent: () => {
|
|
43141
43141
|
b3(Y2.WEBSITE_MAKER_PUBLISH_MODAL, {
|
|
43142
|
-
...
|
|
43142
|
+
...l9.value.publishOpenEventProps,
|
|
43143
43143
|
continuation: null
|
|
43144
43144
|
});
|
|
43145
43145
|
},
|
|
43146
43146
|
appendPublishBridgeState: (n) => {
|
|
43147
|
-
|
|
43148
|
-
...
|
|
43147
|
+
l9.value.publishOpenEventProps = {
|
|
43148
|
+
...l9.value.publishOpenEventProps,
|
|
43149
43149
|
...n
|
|
43150
43150
|
};
|
|
43151
43151
|
},
|
|
43152
43152
|
sendPublishContinuationEvent: (n, i) => {
|
|
43153
43153
|
b3(Y2.WEBSITE_MAKER_PUBLISH_MODAL, {
|
|
43154
|
-
...
|
|
43154
|
+
...l9.value.publishOpenEventProps,
|
|
43155
43155
|
continuation: n,
|
|
43156
43156
|
domain: i
|
|
43157
43157
|
});
|
|
@@ -43610,7 +43610,7 @@ const hH1 = {
|
|
|
43610
43610
|
this.logoStyles.backgroundStyle.backgroundColor
|
|
43611
43611
|
) ? Gh(
|
|
43612
43612
|
this.logoStyles.backgroundStyle.backgroundColor
|
|
43613
|
-
).every((n) => !
|
|
43613
|
+
).every((n) => !I9(re(n))) : !I9(
|
|
43614
43614
|
re(this.logoStyles.backgroundStyle.backgroundColor)
|
|
43615
43615
|
) : !1;
|
|
43616
43616
|
},
|
|
@@ -43641,7 +43641,7 @@ const hH1 = {
|
|
|
43641
43641
|
groups: {}
|
|
43642
43642
|
}), HH1 = () => ({
|
|
43643
43643
|
isCollapsed: !1
|
|
43644
|
-
}),
|
|
43644
|
+
}), f9 = ie(
|
|
43645
43645
|
"uiNavigationStyleSettings",
|
|
43646
43646
|
{
|
|
43647
43647
|
state: () => ({
|
|
@@ -47106,7 +47106,7 @@ class c7 extends X4 {
|
|
|
47106
47106
|
return Ue.fromReplace(t, this.from, this.to, s);
|
|
47107
47107
|
}
|
|
47108
47108
|
invert() {
|
|
47109
|
-
return new
|
|
47109
|
+
return new _9(this.from, this.to, this.mark);
|
|
47110
47110
|
}
|
|
47111
47111
|
map(t) {
|
|
47112
47112
|
let n = t.mapResult(this.from, 1), i = t.mapResult(this.to, -1);
|
|
@@ -47133,7 +47133,7 @@ class c7 extends X4 {
|
|
|
47133
47133
|
}
|
|
47134
47134
|
}
|
|
47135
47135
|
X4.jsonID("addMark", c7);
|
|
47136
|
-
class
|
|
47136
|
+
class _9 extends X4 {
|
|
47137
47137
|
/**
|
|
47138
47138
|
Create a mark-removing step.
|
|
47139
47139
|
*/
|
|
@@ -47149,10 +47149,10 @@ class S9 extends X4 {
|
|
|
47149
47149
|
}
|
|
47150
47150
|
map(t) {
|
|
47151
47151
|
let n = t.mapResult(this.from, 1), i = t.mapResult(this.to, -1);
|
|
47152
|
-
return n.deleted && i.deleted || n.pos >= i.pos ? null : new
|
|
47152
|
+
return n.deleted && i.deleted || n.pos >= i.pos ? null : new _9(n.pos, i.pos, this.mark);
|
|
47153
47153
|
}
|
|
47154
47154
|
merge(t) {
|
|
47155
|
-
return t instanceof
|
|
47155
|
+
return t instanceof _9 && t.mark.eq(this.mark) && this.from <= t.to && this.to >= t.from ? new _9(Math.min(this.from, t.from), Math.max(this.to, t.to), this.mark) : null;
|
|
47156
47156
|
}
|
|
47157
47157
|
toJSON() {
|
|
47158
47158
|
return {
|
|
@@ -47168,10 +47168,10 @@ class S9 extends X4 {
|
|
|
47168
47168
|
static fromJSON(t, n) {
|
|
47169
47169
|
if (typeof n.from != "number" || typeof n.to != "number")
|
|
47170
47170
|
throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");
|
|
47171
|
-
return new
|
|
47171
|
+
return new _9(n.from, n.to, t.markFromJSON(n.mark));
|
|
47172
47172
|
}
|
|
47173
47173
|
}
|
|
47174
|
-
X4.jsonID("removeMark",
|
|
47174
|
+
X4.jsonID("removeMark", _9);
|
|
47175
47175
|
class C7 extends X4 {
|
|
47176
47176
|
/**
|
|
47177
47177
|
Create a node mark step.
|
|
@@ -47384,7 +47384,7 @@ function tx1(e, t, n, i) {
|
|
|
47384
47384
|
if (!i.isInSet(u) && c.type.allowsMarkType(i.type)) {
|
|
47385
47385
|
let h = Math.max(d, t), g = Math.min(d + l.nodeSize, n), m = i.addToSet(u);
|
|
47386
47386
|
for (let y = 0; y < u.length; y++)
|
|
47387
|
-
u[y].isInSet(m) || (r && r.to == h && r.mark.eq(u[y]) ? r.to = g : o.push(r = new
|
|
47387
|
+
u[y].isInSet(m) || (r && r.to == h && r.mark.eq(u[y]) ? r.to = g : o.push(r = new _9(h, g, u[y])));
|
|
47388
47388
|
a && a.to == h ? a.to = g : s.push(a = new c7(h, g, i));
|
|
47389
47389
|
}
|
|
47390
47390
|
}), o.forEach((l) => e.step(l)), s.forEach((l) => e.step(l));
|
|
@@ -47412,7 +47412,7 @@ function nx1(e, t, n, i) {
|
|
|
47412
47412
|
h ? (h.to = d, h.step = s) : o.push({ style: u, from: Math.max(a, t), to: d, step: s });
|
|
47413
47413
|
}
|
|
47414
47414
|
}
|
|
47415
|
-
}), o.forEach((r) => e.step(new
|
|
47415
|
+
}), o.forEach((r) => e.step(new _9(r.from, r.to, r.style)));
|
|
47416
47416
|
}
|
|
47417
47417
|
function wm(e, t, n, i = n.contentMatch, o = !0) {
|
|
47418
47418
|
let s = e.doc.nodeAt(t), r = [], a = t + 1;
|
|
@@ -47423,7 +47423,7 @@ function wm(e, t, n, i = n.contentMatch, o = !0) {
|
|
|
47423
47423
|
else {
|
|
47424
47424
|
i = u;
|
|
47425
47425
|
for (let h = 0; h < d.marks.length; h++)
|
|
47426
|
-
n.allowsMarkType(d.marks[h].type) || e.step(new
|
|
47426
|
+
n.allowsMarkType(d.marks[h].type) || e.step(new _9(a, c, d.marks[h]));
|
|
47427
47427
|
if (o && d.isText && n.whitespace != "pre") {
|
|
47428
47428
|
let h, g = /\r?\n|\r/g, m;
|
|
47429
47429
|
for (; h = g.exec(d.text); )
|
|
@@ -49191,9 +49191,9 @@ function Ix1(e, t, n) {
|
|
|
49191
49191
|
return { node: i.startContainer, offset: Math.min(p6(i.startContainer), i.startOffset) };
|
|
49192
49192
|
}
|
|
49193
49193
|
}
|
|
49194
|
-
const
|
|
49194
|
+
const E9 = typeof navigator < "u" ? navigator : null, GM = typeof document < "u" ? document : null, $7 = E9 && E9.userAgent || "", Vf = /Edge\/(\d+)/.exec($7), JE = /MSIE \d/.exec($7), Hf = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec($7), _5 = !!(JE || Hf || Vf), b7 = JE ? document.documentMode : Hf ? +Hf[1] : Vf ? +Vf[1] : 0, y6 = !_5 && /gecko\/(\d+)/i.test($7);
|
|
49195
49195
|
y6 && +(/Firefox\/(\d+)/.exec($7) || [0, 0])[1];
|
|
49196
|
-
const xf = !_5 && /Chrome\/(\d+)/.exec($7), I4 = !!xf, QE = xf ? +xf[1] : 0, W4 = !_5 && !!
|
|
49196
|
+
const xf = !_5 && /Chrome\/(\d+)/.exec($7), I4 = !!xf, QE = xf ? +xf[1] : 0, W4 = !_5 && !!E9 && /Apple Computer/.test(E9.vendor), ln = W4 && (/Mobile\/\w+/.test($7) || !!E9 && E9.maxTouchPoints > 2), c6 = ln || (E9 ? /Mac/.test(E9.platform) : !1), eA = E9 ? /Win/.test(E9.platform) : !1, d8 = /Android \d/.test($7), Do = !!GM && "webkitFontSmoothing" in GM.documentElement.style, Ex1 = Do ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
49197
49197
|
function Ax1(e) {
|
|
49198
49198
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
49199
49199
|
return t ? {
|
|
@@ -49529,7 +49529,7 @@ let KM = null, YM = null, XM = !1;
|
|
|
49529
49529
|
function Wx1(e, t, n) {
|
|
49530
49530
|
return KM == t && YM == n ? XM : (KM = t, YM = n, XM = n == "up" || n == "down" ? zx1(e, t, n) : Gx1(e, t, n));
|
|
49531
49531
|
}
|
|
49532
|
-
const w6 = 0, JM = 1, rt = 2,
|
|
49532
|
+
const w6 = 0, JM = 1, rt = 2, A9 = 3;
|
|
49533
49533
|
class No {
|
|
49534
49534
|
constructor(t, n, i, o) {
|
|
49535
49535
|
this.parent = t, this.children = n, this.dom = i, this.contentDOM = o, this.dirty = w6, i.pmViewDesc = this;
|
|
@@ -49845,10 +49845,10 @@ class No {
|
|
|
49845
49845
|
if (i == r ? t <= r && n >= i : t < r && n > i) {
|
|
49846
49846
|
let a = i + s.border, l = r - s.border;
|
|
49847
49847
|
if (t >= a && n <= l) {
|
|
49848
|
-
this.dirty = t == i || n == r ? rt : JM, t == a && n == l && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty =
|
|
49848
|
+
this.dirty = t == i || n == r ? rt : JM, t == a && n == l && (s.contentLost || s.dom.parentNode != this.contentDOM) ? s.dirty = A9 : s.markDirty(t - a, n - a);
|
|
49849
49849
|
return;
|
|
49850
49850
|
} else
|
|
49851
|
-
s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? rt :
|
|
49851
|
+
s.dirty = s.dom == s.contentDOM && s.dom.parentNode == this.contentDOM && !s.children.length ? rt : A9;
|
|
49852
49852
|
}
|
|
49853
49853
|
i = r;
|
|
49854
49854
|
}
|
|
@@ -49943,10 +49943,10 @@ class Pt extends No {
|
|
|
49943
49943
|
return (!r || !r.dom) && (r = Wt.renderSpec(document, n.type.spec.toDOM(n, i), null, n.attrs)), new Pt(t, n, r.dom, r.contentDOM || r.dom, r);
|
|
49944
49944
|
}
|
|
49945
49945
|
parseRule() {
|
|
49946
|
-
return this.dirty &
|
|
49946
|
+
return this.dirty & A9 || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
49947
49947
|
}
|
|
49948
49948
|
matchesMark(t) {
|
|
49949
|
-
return this.dirty !=
|
|
49949
|
+
return this.dirty != A9 && this.mark.eq(t);
|
|
49950
49950
|
}
|
|
49951
49951
|
markDirty(t, n) {
|
|
49952
49952
|
if (super.markDirty(t, n), this.dirty != w6) {
|
|
@@ -50073,7 +50073,7 @@ class v7 extends No {
|
|
|
50073
50073
|
// If this desc must be updated to match the given node decoration,
|
|
50074
50074
|
// do so and return true.
|
|
50075
50075
|
update(t, n, i, o) {
|
|
50076
|
-
return this.dirty ==
|
|
50076
|
+
return this.dirty == A9 || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, n, i, o), !0);
|
|
50077
50077
|
}
|
|
50078
50078
|
updateInner(t, n, i, o) {
|
|
50079
50079
|
this.updateOuterDeco(n), this.node = t, this.innerDeco = i, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = w6;
|
|
@@ -50112,7 +50112,7 @@ class mc extends v7 {
|
|
|
50112
50112
|
return { skip: t || !0 };
|
|
50113
50113
|
}
|
|
50114
50114
|
update(t, n, i, o) {
|
|
50115
|
-
return this.dirty ==
|
|
50115
|
+
return this.dirty == A9 || this.dirty != w6 && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != w6 || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = w6, !0);
|
|
50116
50116
|
}
|
|
50117
50117
|
inParent() {
|
|
50118
50118
|
let t = this.parent.contentDOM;
|
|
@@ -50135,7 +50135,7 @@ class mc extends v7 {
|
|
|
50135
50135
|
return new mc(this.parent, o, this.outerDeco, this.innerDeco, s, s, i);
|
|
50136
50136
|
}
|
|
50137
50137
|
markDirty(t, n) {
|
|
50138
|
-
super.markDirty(t, n), this.dom != this.nodeDOM && (t == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty =
|
|
50138
|
+
super.markDirty(t, n), this.dom != this.nodeDOM && (t == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty = A9);
|
|
50139
50139
|
}
|
|
50140
50140
|
get domAtom() {
|
|
50141
50141
|
return !1;
|
|
@@ -50166,7 +50166,7 @@ class Kx1 extends v7 {
|
|
|
50166
50166
|
// through. If it does, and there's a `contentDOM` node, our logic
|
|
50167
50167
|
// updates the children.
|
|
50168
50168
|
update(t, n, i, o) {
|
|
50169
|
-
if (this.dirty ==
|
|
50169
|
+
if (this.dirty == A9)
|
|
50170
50170
|
return !1;
|
|
50171
50171
|
if (this.spec.update && (this.node.type == t.type || this.spec.multiType)) {
|
|
50172
50172
|
let s = this.spec.update(t, n, i);
|
|
@@ -50346,7 +50346,7 @@ class Xx1 {
|
|
|
50346
50346
|
}
|
|
50347
50347
|
updateNodeAt(t, n, i, o, s) {
|
|
50348
50348
|
let r = this.top.children[o];
|
|
50349
|
-
return r.dirty ==
|
|
50349
|
+
return r.dirty == A9 && r.dom == r.contentDOM && (r.dirty = rt), r.update(t, n, i, s) ? (this.destroyBetween(this.index, o), this.index++, !0) : !1;
|
|
50350
50350
|
}
|
|
50351
50351
|
findIndexWithChild(t) {
|
|
50352
50352
|
for (; ; ) {
|
|
@@ -50374,7 +50374,7 @@ class Xx1 {
|
|
|
50374
50374
|
let d = this.preMatch.matched.get(l);
|
|
50375
50375
|
if (d != null && d != s)
|
|
50376
50376
|
return !1;
|
|
50377
|
-
let c = l.dom, u, h = this.isLocked(c) && !(t.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == t.text && l.dirty !=
|
|
50377
|
+
let c = l.dom, u, h = this.isLocked(c) && !(t.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == t.text && l.dirty != A9 && jl(n, l.outerDeco));
|
|
50378
50378
|
if (!h && l.update(t, n, i, o))
|
|
50379
50379
|
return this.destroyBetween(this.index, a), l.dom != c && (this.changed = !0), this.index++, !0;
|
|
50380
50380
|
if (!h && (u = this.recreateWrapper(l, t, n, i, o, r)))
|
|
@@ -56153,7 +56153,7 @@ function ro(e) {
|
|
|
56153
56153
|
}
|
|
56154
56154
|
});
|
|
56155
56155
|
}
|
|
56156
|
-
let
|
|
56156
|
+
let n9 = class Zf {
|
|
56157
56157
|
constructor(t = {}) {
|
|
56158
56158
|
this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
|
|
56159
56159
|
name: this.name,
|
|
@@ -56226,7 +56226,7 @@ var M5 = "top", M6 = "bottom", k6 = "right", k5 = "left", Um = "auto", Ro = [M5,
|
|
|
56226
56226
|
}, []), sP = /* @__PURE__ */ [].concat(Ro, [Um]).reduce(function(e, t) {
|
|
56227
56227
|
return e.concat([t, t + "-" + cn, t + "-" + ao]);
|
|
56228
56228
|
}, []), IP1 = "beforeRead", EP1 = "read", AP1 = "afterRead", PP1 = "beforeMain", BP1 = "main", $P1 = "afterMain", OP1 = "beforeWrite", DP1 = "write", NP1 = "afterWrite", RP1 = [IP1, EP1, AP1, PP1, BP1, $P1, OP1, DP1, NP1];
|
|
56229
|
-
function
|
|
56229
|
+
function P9(e) {
|
|
56230
56230
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
56231
56231
|
}
|
|
56232
56232
|
function e6(e) {
|
|
@@ -56256,7 +56256,7 @@ function ZP1(e) {
|
|
|
56256
56256
|
var t = e.state;
|
|
56257
56257
|
Object.keys(t.elements).forEach(function(n) {
|
|
56258
56258
|
var i = t.styles[n] || {}, o = t.attributes[n] || {}, s = t.elements[n];
|
|
56259
|
-
!b6(s) || !
|
|
56259
|
+
!b6(s) || !P9(s) || (Object.assign(s.style, i), Object.keys(o).forEach(function(r) {
|
|
56260
56260
|
var a = o[r];
|
|
56261
56261
|
a === !1 ? s.removeAttribute(r) : s.setAttribute(r, a === !0 ? "" : a);
|
|
56262
56262
|
}));
|
|
@@ -56280,7 +56280,7 @@ function FP1(e) {
|
|
|
56280
56280
|
var o = t.elements[i], s = t.attributes[i] || {}, r = Object.keys(t.styles.hasOwnProperty(i) ? t.styles[i] : n[i]), a = r.reduce(function(l, d) {
|
|
56281
56281
|
return l[d] = "", l;
|
|
56282
56282
|
}, {});
|
|
56283
|
-
!b6(o) || !
|
|
56283
|
+
!b6(o) || !P9(o) || (Object.assign(o.style, a), Object.keys(s).forEach(function(l) {
|
|
56284
56284
|
o.removeAttribute(l);
|
|
56285
56285
|
}));
|
|
56286
56286
|
});
|
|
@@ -56294,7 +56294,7 @@ const rP = {
|
|
|
56294
56294
|
effect: FP1,
|
|
56295
56295
|
requires: ["computeStyles"]
|
|
56296
56296
|
};
|
|
56297
|
-
function
|
|
56297
|
+
function T9(e) {
|
|
56298
56298
|
return e.split("-")[0];
|
|
56299
56299
|
}
|
|
56300
56300
|
var vt = Math.max, nd = Math.min, Cn = Math.round;
|
|
@@ -56350,7 +56350,7 @@ function S8(e) {
|
|
|
56350
56350
|
return e6(e).getComputedStyle(e);
|
|
56351
56351
|
}
|
|
56352
56352
|
function UP1(e) {
|
|
56353
|
-
return ["table", "td", "th"].indexOf(
|
|
56353
|
+
return ["table", "td", "th"].indexOf(P9(e)) >= 0;
|
|
56354
56354
|
}
|
|
56355
56355
|
function D7(e) {
|
|
56356
56356
|
return (($t(e) ? e.ownerDocument : (
|
|
@@ -56359,7 +56359,7 @@ function D7(e) {
|
|
|
56359
56359
|
)) || window.document).documentElement;
|
|
56360
56360
|
}
|
|
56361
56361
|
function Lc(e) {
|
|
56362
|
-
return
|
|
56362
|
+
return P9(e) === "html" ? e : (
|
|
56363
56363
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
56364
56364
|
// $FlowFixMe[incompatible-return]
|
|
56365
56365
|
// $FlowFixMe[prop-missing]
|
|
@@ -56382,7 +56382,7 @@ function zP1(e) {
|
|
|
56382
56382
|
return null;
|
|
56383
56383
|
}
|
|
56384
56384
|
var o = Lc(e);
|
|
56385
|
-
for (zm(o) && (o = o.host); b6(o) && ["html", "body"].indexOf(
|
|
56385
|
+
for (zm(o) && (o = o.host); b6(o) && ["html", "body"].indexOf(P9(o)) < 0; ) {
|
|
56386
56386
|
var s = S8(o);
|
|
56387
56387
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
56388
56388
|
return o;
|
|
@@ -56393,7 +56393,7 @@ function zP1(e) {
|
|
|
56393
56393
|
function Zo(e) {
|
|
56394
56394
|
for (var t = e6(e), n = Pk(e); n && UP1(n) && S8(n).position === "static"; )
|
|
56395
56395
|
n = Pk(n);
|
|
56396
|
-
return n && (
|
|
56396
|
+
return n && (P9(n) === "html" || P9(n) === "body" && S8(n).position === "static") ? t : n || zP1(e) || t;
|
|
56397
56397
|
}
|
|
56398
56398
|
function Gm(e) {
|
|
56399
56399
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
@@ -56427,7 +56427,7 @@ var GP1 = function(t, n) {
|
|
|
56427
56427
|
})) : t, cP(typeof t != "number" ? t : CP(t, Ro));
|
|
56428
56428
|
};
|
|
56429
56429
|
function WP1(e) {
|
|
56430
|
-
var t, n = e.state, i = e.name, o = e.options, s = n.elements.arrow, r = n.modifiersData.popperOffsets, a =
|
|
56430
|
+
var t, n = e.state, i = e.name, o = e.options, s = n.elements.arrow, r = n.modifiersData.popperOffsets, a = T9(n.placement), l = Gm(a), d = [k5, k6].indexOf(a) >= 0, c = d ? "height" : "width";
|
|
56431
56431
|
if (!(!s || !r)) {
|
|
56432
56432
|
var u = GP1(o.padding, n), h = qm(s), g = l === "y" ? M5 : k5, m = l === "y" ? M6 : k6, y = n.rects.reference[c] + n.rects.reference[l] - r[l] - n.rects.popper[c], w = r[l] - n.rects.reference[l], v = Zo(s), S = v ? l === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, M = y / 2 - w / 2, _ = u[g], V = S - h[c] - u[m], x = S / 2 - h[c] / 2 + M, N = Hi(_, x, V), $ = l;
|
|
56433
56433
|
n.modifiersData[i] = (t = {}, t[$] = N, t.centerOffset = N - x, t);
|
|
@@ -56508,7 +56508,7 @@ function Bk(e) {
|
|
|
56508
56508
|
}
|
|
56509
56509
|
function JP1(e) {
|
|
56510
56510
|
var t = e.state, n = e.options, i = n.gpuAcceleration, o = i === void 0 ? !0 : i, s = n.adaptive, r = s === void 0 ? !0 : s, a = n.roundOffsets, l = a === void 0 ? !0 : a, d = {
|
|
56511
|
-
placement:
|
|
56511
|
+
placement: T9(t.placement),
|
|
56512
56512
|
variation: pn(t.placement),
|
|
56513
56513
|
popper: t.elements.popper,
|
|
56514
56514
|
popperRect: t.rects.popper,
|
|
@@ -56616,7 +56616,7 @@ function Km(e) {
|
|
|
56616
56616
|
return /auto|scroll|overlay|hidden/.test(n + o + i);
|
|
56617
56617
|
}
|
|
56618
56618
|
function uP(e) {
|
|
56619
|
-
return ["html", "body", "#document"].indexOf(
|
|
56619
|
+
return ["html", "body", "#document"].indexOf(P9(e)) >= 0 ? e.ownerDocument.body : b6(e) && Km(e) ? e : uP(Lc(e));
|
|
56620
56620
|
}
|
|
56621
56621
|
function xi(e, t) {
|
|
56622
56622
|
var n;
|
|
@@ -56645,7 +56645,7 @@ function Ok(e, t, n) {
|
|
|
56645
56645
|
function aB1(e) {
|
|
56646
56646
|
var t = xi(Lc(e)), n = ["absolute", "fixed"].indexOf(S8(e).position) >= 0, i = n && b6(e) ? Zo(e) : e;
|
|
56647
56647
|
return $t(i) ? t.filter(function(o) {
|
|
56648
|
-
return $t(o) && lP(o, i) &&
|
|
56648
|
+
return $t(o) && lP(o, i) && P9(o) !== "body";
|
|
56649
56649
|
}) : [];
|
|
56650
56650
|
}
|
|
56651
56651
|
function lB1(e, t, n, i) {
|
|
@@ -56656,7 +56656,7 @@ function lB1(e, t, n, i) {
|
|
|
56656
56656
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
56657
56657
|
}
|
|
56658
56658
|
function pP(e) {
|
|
56659
|
-
var t = e.reference, n = e.element, i = e.placement, o = i ?
|
|
56659
|
+
var t = e.reference, n = e.element, i = e.placement, o = i ? T9(i) : null, s = i ? pn(i) : null, r = t.x + t.width / 2 - n.width / 2, a = t.y + t.height / 2 - n.height / 2, l;
|
|
56660
56660
|
switch (o) {
|
|
56661
56661
|
case M5:
|
|
56662
56662
|
l = {
|
|
@@ -56737,14 +56737,14 @@ function dB1(e, t) {
|
|
|
56737
56737
|
boundary: o,
|
|
56738
56738
|
rootBoundary: s,
|
|
56739
56739
|
padding: r
|
|
56740
|
-
})[
|
|
56740
|
+
})[T9(y)], m;
|
|
56741
56741
|
}, {});
|
|
56742
56742
|
return Object.keys(g).sort(function(m, y) {
|
|
56743
56743
|
return g[m] - g[y];
|
|
56744
56744
|
});
|
|
56745
56745
|
}
|
|
56746
56746
|
function cB1(e) {
|
|
56747
|
-
if (
|
|
56747
|
+
if (T9(e) === Um)
|
|
56748
56748
|
return [];
|
|
56749
56749
|
var t = sl(e);
|
|
56750
56750
|
return [$k(e), t, $k(t)];
|
|
@@ -56752,8 +56752,8 @@ function cB1(e) {
|
|
|
56752
56752
|
function CB1(e) {
|
|
56753
56753
|
var t = e.state, n = e.options, i = e.name;
|
|
56754
56754
|
if (!t.modifiersData[i]._skip) {
|
|
56755
|
-
for (var o = n.mainAxis, s = o === void 0 ? !0 : o, r = n.altAxis, a = r === void 0 ? !0 : r, l = n.fallbackPlacements, d = n.padding, c = n.boundary, u = n.rootBoundary, h = n.altBoundary, g = n.flipVariations, m = g === void 0 ? !0 : g, y = n.allowedAutoPlacements, w = t.options.placement, v =
|
|
56756
|
-
return E1.concat(
|
|
56755
|
+
for (var o = n.mainAxis, s = o === void 0 ? !0 : o, r = n.altAxis, a = r === void 0 ? !0 : r, l = n.fallbackPlacements, d = n.padding, c = n.boundary, u = n.rootBoundary, h = n.altBoundary, g = n.flipVariations, m = g === void 0 ? !0 : g, y = n.allowedAutoPlacements, w = t.options.placement, v = T9(w), S = v === w, M = l || (S || !m ? [sl(w)] : cB1(w)), _ = [w].concat(M).reduce(function(E1, C1) {
|
|
56756
|
+
return E1.concat(T9(C1) === Um ? dB1(t, {
|
|
56757
56757
|
placement: C1,
|
|
56758
56758
|
boundary: c,
|
|
56759
56759
|
rootBoundary: u,
|
|
@@ -56762,7 +56762,7 @@ function CB1(e) {
|
|
|
56762
56762
|
allowedAutoPlacements: y
|
|
56763
56763
|
}) : C1);
|
|
56764
56764
|
}, []), V = t.rects.reference, x = t.rects.popper, N = /* @__PURE__ */ new Map(), $ = !0, Z = _[0], F = 0; F < _.length; F++) {
|
|
56765
|
-
var Y = _[F], t1 =
|
|
56765
|
+
var Y = _[F], t1 = T9(Y), G = pn(Y) === cn, n1 = [M5, M6].indexOf(t1) >= 0, J = n1 ? "width" : "height", r1 = lo(t, {
|
|
56766
56766
|
placement: Y,
|
|
56767
56767
|
boundary: c,
|
|
56768
56768
|
rootBoundary: u,
|
|
@@ -56847,7 +56847,7 @@ const hB1 = {
|
|
|
56847
56847
|
fn: pB1
|
|
56848
56848
|
};
|
|
56849
56849
|
function fB1(e, t, n) {
|
|
56850
|
-
var i =
|
|
56850
|
+
var i = T9(e), o = [k5, M5].indexOf(i) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
|
|
56851
56851
|
placement: e
|
|
56852
56852
|
})) : n, r = s[0], a = s[1];
|
|
56853
56853
|
return r = r || 0, a = (a || 0) * o, [k5, k6].indexOf(i) >= 0 ? {
|
|
@@ -56895,7 +56895,7 @@ function vB1(e) {
|
|
|
56895
56895
|
rootBoundary: d,
|
|
56896
56896
|
padding: u,
|
|
56897
56897
|
altBoundary: c
|
|
56898
|
-
}), v =
|
|
56898
|
+
}), v = T9(t.placement), S = pn(t.placement), M = !S, _ = Gm(v), V = bB1(_), x = t.modifiersData.popperOffsets, N = t.rects.reference, $ = t.rects.popper, Z = typeof y == "function" ? y(Object.assign({}, t.rects, {
|
|
56899
56899
|
placement: t.placement
|
|
56900
56900
|
})) : y, F = typeof Z == "number" ? {
|
|
56901
56901
|
mainAxis: Z,
|
|
@@ -56951,7 +56951,7 @@ function LB1(e, t, n) {
|
|
|
56951
56951
|
x: 0,
|
|
56952
56952
|
y: 0
|
|
56953
56953
|
};
|
|
56954
|
-
return (i || !i && !n) && ((
|
|
56954
|
+
return (i || !i && !n) && ((P9(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
56955
56955
|
Km(s)) && (a = MB1(t)), b6(t) ? (l = un(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : s && (l.x = jm(s))), {
|
|
56956
56956
|
x: r.left + a.scrollLeft - l.x,
|
|
56957
56957
|
y: r.top + a.scrollTop - l.y,
|
|
@@ -57244,15 +57244,15 @@ function Gk(e, t) {
|
|
|
57244
57244
|
}
|
|
57245
57245
|
return !1;
|
|
57246
57246
|
}
|
|
57247
|
-
var
|
|
57247
|
+
var g9 = {
|
|
57248
57248
|
isTouch: !1
|
|
57249
57249
|
}, Wk = 0;
|
|
57250
57250
|
function WB1() {
|
|
57251
|
-
|
|
57251
|
+
g9.isTouch || (g9.isTouch = !0, window.performance && document.addEventListener("mousemove", wP));
|
|
57252
57252
|
}
|
|
57253
57253
|
function wP() {
|
|
57254
57254
|
var e = performance.now();
|
|
57255
|
-
e - Wk < 20 && (
|
|
57255
|
+
e - Wk < 20 && (g9.isTouch = !1, document.removeEventListener("mousemove", wP)), Wk = e;
|
|
57256
57256
|
}
|
|
57257
57257
|
function jB1() {
|
|
57258
57258
|
var e = document.activeElement;
|
|
@@ -57550,7 +57550,7 @@ function a$1(e, t) {
|
|
|
57550
57550
|
return Gf(x);
|
|
57551
57551
|
}
|
|
57552
57552
|
function r1(k1) {
|
|
57553
|
-
return _.state.isMounted && !_.state.isVisible ||
|
|
57553
|
+
return _.state.isMounted && !_.state.isVisible || g9.isTouch || c && c.type === "focus" ? 0 : Lp(_.props.delay, k1 ? 0 : 1, G5.delay);
|
|
57554
57554
|
}
|
|
57555
57555
|
function K(k1) {
|
|
57556
57556
|
k1 === void 0 && (k1 = !1), x.style.pointerEvents = _.props.interactive && !k1 ? "" : "none", x.style.zIndex = "" + _.props.zIndex;
|
|
@@ -57592,13 +57592,13 @@ function a$1(e, t) {
|
|
|
57592
57592
|
});
|
|
57593
57593
|
}
|
|
57594
57594
|
function o2(k1) {
|
|
57595
|
-
if (!(
|
|
57595
|
+
if (!(g9.isTouch && (l || k1.type === "mousedown"))) {
|
|
57596
57596
|
var s2 = k1.composedPath && k1.composedPath()[0] || k1.target;
|
|
57597
57597
|
if (!(_.props.interactive && Gk(x, s2))) {
|
|
57598
57598
|
if (I0(_.props.triggerTarget || e).some(function(T1) {
|
|
57599
57599
|
return Gk(T1, s2);
|
|
57600
57600
|
})) {
|
|
57601
|
-
if (
|
|
57601
|
+
if (g9.isTouch || _.state.isVisible && _.props.trigger.indexOf("click") >= 0)
|
|
57602
57602
|
return;
|
|
57603
57603
|
} else
|
|
57604
57604
|
q("onClickOutside", [_, k1]);
|
|
@@ -57714,7 +57714,7 @@ function a$1(e, t) {
|
|
|
57714
57714
|
_.props.trigger.indexOf("focusin") < 0 && k1.target !== G() || _.props.interactive && k1.relatedTarget && x.contains(k1.relatedTarget) || c1(k1);
|
|
57715
57715
|
}
|
|
57716
57716
|
function X(k1) {
|
|
57717
|
-
return
|
|
57717
|
+
return g9.isTouch ? Y() !== k1.type.indexOf("touch") >= 0 : !1;
|
|
57718
57718
|
}
|
|
57719
57719
|
function g1() {
|
|
57720
57720
|
q1();
|
|
@@ -57792,7 +57792,7 @@ function a$1(e, t) {
|
|
|
57792
57792
|
function P1(k1) {
|
|
57793
57793
|
_.clearDelayTimeouts(), k1 && q("onTrigger", [_, k1]), C1();
|
|
57794
57794
|
var s2 = r1(!0), T1 = F(), I1 = T1[0], r2 = T1[1];
|
|
57795
|
-
|
|
57795
|
+
g9.isTouch && I1 === "hold" && r2 && (s2 = r2), s2 ? i = setTimeout(function() {
|
|
57796
57796
|
_.show();
|
|
57797
57797
|
}, s2) : _.show();
|
|
57798
57798
|
}
|
|
@@ -57839,7 +57839,7 @@ function a$1(e, t) {
|
|
|
57839
57839
|
}
|
|
57840
57840
|
function E3() {
|
|
57841
57841
|
process.env.NODE_ENV !== "production" && n8(_.state.isDestroyed, k0("show"));
|
|
57842
|
-
var k1 = _.state.isVisible, s2 = _.state.isDestroyed, T1 = !_.state.isEnabled, I1 =
|
|
57842
|
+
var k1 = _.state.isVisible, s2 = _.state.isDestroyed, T1 = !_.state.isEnabled, I1 = g9.isTouch && !_.props.touch, r2 = Lp(_.props.duration, 0, G5.duration);
|
|
57843
57843
|
if (!(k1 || s2 || T1 || I1) && !G().hasAttribute("disabled") && (q("onShow", [_], !1), _.props.onShow(_) !== !1)) {
|
|
57844
57844
|
if (_.state.isVisible = !0, t1() && (x.style.visibility = "visible"), K(), C1(), _.state.isMounted || (x.style.transition = "none"), t1()) {
|
|
57845
57845
|
var K2 = J(), l2 = K2.box, ce = K2.content;
|
|
@@ -57908,7 +57908,7 @@ function Vn(e, t) {
|
|
|
57908
57908
|
}
|
|
57909
57909
|
Vn.defaultProps = G5;
|
|
57910
57910
|
Vn.setDefaultProps = i$1;
|
|
57911
|
-
Vn.currentInput =
|
|
57911
|
+
Vn.currentInput = g9;
|
|
57912
57912
|
Object.assign({}, rP, {
|
|
57913
57913
|
effect: function(t) {
|
|
57914
57914
|
var n = t.state, i = {
|
|
@@ -58351,7 +58351,7 @@ e1({
|
|
|
58351
58351
|
}, (t = (e = this.$slots).default) === null || t === void 0 ? void 0 : t.call(e));
|
|
58352
58352
|
}
|
|
58353
58353
|
});
|
|
58354
|
-
const u$1 = /^\s*>\s$/, p$1 =
|
|
58354
|
+
const u$1 = /^\s*>\s$/, p$1 = n9.create({
|
|
58355
58355
|
name: "blockquote",
|
|
58356
58356
|
addOptions() {
|
|
58357
58357
|
return {
|
|
@@ -58455,7 +58455,7 @@ const u$1 = /^\s*>\s$/, p$1 = t9.create({
|
|
|
58455
58455
|
})
|
|
58456
58456
|
];
|
|
58457
58457
|
}
|
|
58458
|
-
}), w$1 = "listItem", Qk = "textStyle", eL = /^\s*([-+*])\s$/, b$1 =
|
|
58458
|
+
}), w$1 = "listItem", Qk = "textStyle", eL = /^\s*([-+*])\s$/, b$1 = n9.create({
|
|
58459
58459
|
name: "bulletList",
|
|
58460
58460
|
addOptions() {
|
|
58461
58461
|
return {
|
|
@@ -58549,7 +58549,7 @@ const u$1 = /^\s*>\s$/, p$1 = t9.create({
|
|
|
58549
58549
|
})
|
|
58550
58550
|
];
|
|
58551
58551
|
}
|
|
58552
|
-
}), M$1 = /^```([a-z]+)?[\s\n]$/, k$1 = /^~~~([a-z]+)?[\s\n]$/, L$1 =
|
|
58552
|
+
}), M$1 = /^```([a-z]+)?[\s\n]$/, k$1 = /^~~~([a-z]+)?[\s\n]$/, L$1 = n9.create({
|
|
58553
58553
|
name: "codeBlock",
|
|
58554
58554
|
addOptions() {
|
|
58555
58555
|
return {
|
|
@@ -58676,7 +58676,7 @@ const u$1 = /^\s*>\s$/, p$1 = t9.create({
|
|
|
58676
58676
|
})
|
|
58677
58677
|
];
|
|
58678
58678
|
}
|
|
58679
|
-
}), T$1 =
|
|
58679
|
+
}), T$1 = n9.create({
|
|
58680
58680
|
name: "doc",
|
|
58681
58681
|
topNode: !0,
|
|
58682
58682
|
content: "block+"
|
|
@@ -58991,7 +58991,7 @@ const D$1 = de.create({
|
|
|
58991
58991
|
allowGapCursor: (t = h3(I2(e, "allowGapCursor", n))) !== null && t !== void 0 ? t : null
|
|
58992
58992
|
};
|
|
58993
58993
|
}
|
|
58994
|
-
}), N$1 =
|
|
58994
|
+
}), N$1 = n9.create({
|
|
58995
58995
|
name: "hardBreak",
|
|
58996
58996
|
addOptions() {
|
|
58997
58997
|
return {
|
|
@@ -59041,7 +59041,7 @@ const D$1 = de.create({
|
|
|
59041
59041
|
"Shift-Enter": () => this.editor.commands.setHardBreak()
|
|
59042
59042
|
};
|
|
59043
59043
|
}
|
|
59044
|
-
}), R$1 =
|
|
59044
|
+
}), R$1 = n9.create({
|
|
59045
59045
|
name: "heading",
|
|
59046
59046
|
addOptions() {
|
|
59047
59047
|
return {
|
|
@@ -59213,9 +59213,9 @@ class U6 {
|
|
|
59213
59213
|
return;
|
|
59214
59214
|
}
|
|
59215
59215
|
if (o) {
|
|
59216
|
-
c.push(new
|
|
59216
|
+
c.push(new d9(u.map));
|
|
59217
59217
|
let g = u.step.map(o.slice(s)), m;
|
|
59218
|
-
g && r.maybeStep(g).doc && (m = r.mapping.maps[r.mapping.maps.length - 1], d.push(new
|
|
59218
|
+
g && r.maybeStep(g).doc && (m = r.mapping.maps[r.mapping.maps.length - 1], d.push(new d9(m, void 0, void 0, d.length + c.length))), s--, m && o.appendMap(m, s);
|
|
59219
59219
|
} else
|
|
59220
59220
|
r.maybeStep(u.step);
|
|
59221
59221
|
if (u.selection)
|
|
@@ -59226,7 +59226,7 @@ class U6 {
|
|
|
59226
59226
|
addTransform(t, n, i, o) {
|
|
59227
59227
|
let s = [], r = this.eventCount, a = this.items, l = !o && a.length ? a.get(a.length - 1) : null;
|
|
59228
59228
|
for (let c = 0; c < t.steps.length; c++) {
|
|
59229
|
-
let u = t.steps[c].invert(t.docs[c]), h = new
|
|
59229
|
+
let u = t.steps[c].invert(t.docs[c]), h = new d9(t.mapping.maps[c], u, n), g;
|
|
59230
59230
|
(g = l && l.merge(h)) && (h = g, c ? s.pop() : a = a.slice(0, a.length - 1)), s.push(h), n && (r++, n = void 0), o || (l = h);
|
|
59231
59231
|
}
|
|
59232
59232
|
let d = r - i.depth;
|
|
@@ -59240,7 +59240,7 @@ class U6 {
|
|
|
59240
59240
|
}, t, n), i;
|
|
59241
59241
|
}
|
|
59242
59242
|
addMaps(t) {
|
|
59243
|
-
return this.eventCount == 0 ? this : new U6(this.items.append(t.map((n) => new
|
|
59243
|
+
return this.eventCount == 0 ? this : new U6(this.items.append(t.map((n) => new d9(n))), this.eventCount);
|
|
59244
59244
|
}
|
|
59245
59245
|
// When the collab module receives remote changes, the history has
|
|
59246
59246
|
// to know about those, so that it can adjust the steps that were
|
|
@@ -59262,13 +59262,13 @@ class U6 {
|
|
|
59262
59262
|
let m = s.maps[g];
|
|
59263
59263
|
if (h.step) {
|
|
59264
59264
|
let y = t.steps[g].invert(t.docs[g]), w = h.selection && h.selection.map(s.slice(l + 1, g));
|
|
59265
|
-
w && a++, i.push(new
|
|
59265
|
+
w && a++, i.push(new d9(m, y, w));
|
|
59266
59266
|
} else
|
|
59267
|
-
i.push(new
|
|
59267
|
+
i.push(new d9(m));
|
|
59268
59268
|
}, o);
|
|
59269
59269
|
let d = [];
|
|
59270
59270
|
for (let h = n; h < r; h++)
|
|
59271
|
-
d.push(new
|
|
59271
|
+
d.push(new d9(s.maps[h]));
|
|
59272
59272
|
let c = this.items.slice(0, o).append(d).append(i), u = new U6(c, a);
|
|
59273
59273
|
return u.emptyItemCount() > F$1 && (u = u.compress(this.items.length - i.length)), u;
|
|
59274
59274
|
}
|
|
@@ -59294,7 +59294,7 @@ class U6 {
|
|
|
59294
59294
|
if (i--, d && n.appendMap(d, i), l) {
|
|
59295
59295
|
let c = r.selection && r.selection.map(n.slice(i));
|
|
59296
59296
|
c && s++;
|
|
59297
|
-
let u = new
|
|
59297
|
+
let u = new d9(d.invert(), l, c), h, g = o.length - 1;
|
|
59298
59298
|
(h = o.length && o[g].merge(u)) ? o[g] = h : o.push(u);
|
|
59299
59299
|
}
|
|
59300
59300
|
} else r.map && i--;
|
|
@@ -59309,7 +59309,7 @@ function U$1(e, t) {
|
|
|
59309
59309
|
return n = o, !1;
|
|
59310
59310
|
}), e.slice(n);
|
|
59311
59311
|
}
|
|
59312
|
-
class
|
|
59312
|
+
class d9 {
|
|
59313
59313
|
constructor(t, n, i, o) {
|
|
59314
59314
|
this.map = t, this.step = n, this.selection = i, this.mirrorOffset = o;
|
|
59315
59315
|
}
|
|
@@ -59317,7 +59317,7 @@ class l9 {
|
|
|
59317
59317
|
if (this.step && t.step && !t.selection) {
|
|
59318
59318
|
let n = t.step.merge(this.step);
|
|
59319
59319
|
if (n)
|
|
59320
|
-
return new
|
|
59320
|
+
return new d9(n.getMap().invert(), n, this.selection);
|
|
59321
59321
|
}
|
|
59322
59322
|
}
|
|
59323
59323
|
}
|
|
@@ -59456,7 +59456,7 @@ const xP = HP(!1, !0), IP = HP(!0, !0), Y$1 = de.create({
|
|
|
59456
59456
|
"Shift-Mod-я": () => this.editor.commands.redo()
|
|
59457
59457
|
};
|
|
59458
59458
|
}
|
|
59459
|
-
}), X$1 =
|
|
59459
|
+
}), X$1 = n9.create({
|
|
59460
59460
|
name: "horizontalRule",
|
|
59461
59461
|
addOptions() {
|
|
59462
59462
|
return {
|
|
@@ -59573,7 +59573,7 @@ const xP = HP(!1, !0), IP = HP(!0, !0), Y$1 = de.create({
|
|
|
59573
59573
|
})
|
|
59574
59574
|
];
|
|
59575
59575
|
}
|
|
59576
|
-
}), iO1 =
|
|
59576
|
+
}), iO1 = n9.create({
|
|
59577
59577
|
name: "listItem",
|
|
59578
59578
|
addOptions() {
|
|
59579
59579
|
return {
|
|
@@ -59601,7 +59601,7 @@ const xP = HP(!1, !0), IP = HP(!0, !0), Y$1 = de.create({
|
|
|
59601
59601
|
"Shift-Tab": () => this.editor.commands.liftListItem(this.name)
|
|
59602
59602
|
};
|
|
59603
59603
|
}
|
|
59604
|
-
}), oO1 = "listItem", iL = "textStyle", oL = /^(\d+)\.\s$/, sO1 =
|
|
59604
|
+
}), oO1 = "listItem", iL = "textStyle", oL = /^(\d+)\.\s$/, sO1 = n9.create({
|
|
59605
59605
|
name: "orderedList",
|
|
59606
59606
|
addOptions() {
|
|
59607
59607
|
return {
|
|
@@ -59667,7 +59667,7 @@ const xP = HP(!1, !0), IP = HP(!0, !0), Y$1 = de.create({
|
|
|
59667
59667
|
e
|
|
59668
59668
|
];
|
|
59669
59669
|
}
|
|
59670
|
-
}), rO1 =
|
|
59670
|
+
}), rO1 = n9.create({
|
|
59671
59671
|
name: "paragraph",
|
|
59672
59672
|
priority: 1e3,
|
|
59673
59673
|
addOptions() {
|
|
@@ -59751,7 +59751,7 @@ const xP = HP(!1, !0), IP = HP(!0, !0), Y$1 = de.create({
|
|
|
59751
59751
|
})
|
|
59752
59752
|
];
|
|
59753
59753
|
}
|
|
59754
|
-
}), cO1 =
|
|
59754
|
+
}), cO1 = n9.create({
|
|
59755
59755
|
name: "text",
|
|
59756
59756
|
group: "inline"
|
|
59757
59757
|
}), Qm = de.create({
|
|
@@ -60268,7 +60268,7 @@ w5.prototype = {
|
|
|
60268
60268
|
return o.j[e] = r, r;
|
|
60269
60269
|
}
|
|
60270
60270
|
};
|
|
60271
|
-
const l3 = (e, t, n, i, o) => e.ta(t, n, i, o), Le = (e, t, n, i, o) => e.tr(t, n, i, o), sL = (e, t, n, i, o) => e.ts(t, n, i, o), e2 = (e, t, n, i, o) => e.tt(t, n, i, o), e8 = "WORD", Xf = "UWORD", AP = "ASCIINUMERICAL", PP = "ALPHANUMERICAL", uo = "LOCALHOST", Jf = "TLD", Qf = "UTLD", al = "SCHEME", E0 = "SLASH_SCHEME", dy = "NUM", eg = "WS", cy = "NL", Ai = "OPENBRACE", Pi = "CLOSEBRACE", sd = "OPENBRACKET", rd = "CLOSEBRACKET", ad = "OPENPAREN", ld = "CLOSEPAREN", dd = "OPENANGLEBRACKET", cd = "CLOSEANGLEBRACKET", Cd = "FULLWIDTHLEFTPAREN", ud = "FULLWIDTHRIGHTPAREN", pd = "LEFTCORNERBRACKET", hd = "RIGHTCORNERBRACKET", fd = "LEFTWHITECORNERBRACKET", gd = "RIGHTWHITECORNERBRACKET", md = "FULLWIDTHLESSTHAN", yd = "FULLWIDTHGREATERTHAN", wd = "AMPERSAND", bd = "APOSTROPHE", vd = "ASTERISK", X8 = "AT", Sd = "BACKSLASH", _d = "BACKTICK", Md = "CARET", i7 = "COLON", Cy = "COMMA", kd = "DOLLAR",
|
|
60271
|
+
const l3 = (e, t, n, i, o) => e.ta(t, n, i, o), Le = (e, t, n, i, o) => e.tr(t, n, i, o), sL = (e, t, n, i, o) => e.ts(t, n, i, o), e2 = (e, t, n, i, o) => e.tt(t, n, i, o), e8 = "WORD", Xf = "UWORD", AP = "ASCIINUMERICAL", PP = "ALPHANUMERICAL", uo = "LOCALHOST", Jf = "TLD", Qf = "UTLD", al = "SCHEME", E0 = "SLASH_SCHEME", dy = "NUM", eg = "WS", cy = "NL", Ai = "OPENBRACE", Pi = "CLOSEBRACE", sd = "OPENBRACKET", rd = "CLOSEBRACKET", ad = "OPENPAREN", ld = "CLOSEPAREN", dd = "OPENANGLEBRACKET", cd = "CLOSEANGLEBRACKET", Cd = "FULLWIDTHLEFTPAREN", ud = "FULLWIDTHRIGHTPAREN", pd = "LEFTCORNERBRACKET", hd = "RIGHTCORNERBRACKET", fd = "LEFTWHITECORNERBRACKET", gd = "RIGHTWHITECORNERBRACKET", md = "FULLWIDTHLESSTHAN", yd = "FULLWIDTHGREATERTHAN", wd = "AMPERSAND", bd = "APOSTROPHE", vd = "ASTERISK", X8 = "AT", Sd = "BACKSLASH", _d = "BACKTICK", Md = "CARET", i7 = "COLON", Cy = "COMMA", kd = "DOLLAR", c9 = "DOT", Ld = "EQUALS", uy = "EXCLAMATION", l6 = "HYPHEN", Bi = "PERCENT", Td = "PIPE", Vd = "PLUS", Hd = "POUND", $i = "QUERY", py = "QUOTE", BP = "FULLWIDTHMIDDLEDOT", hy = "SEMI", C9 = "SLASH", Oi = "TILDE", xd = "UNDERSCORE", $P = "EMOJI", Id = "SYM";
|
|
60272
60272
|
var OP = /* @__PURE__ */ Object.freeze({
|
|
60273
60273
|
__proto__: null,
|
|
60274
60274
|
ALPHANUMERICAL: PP,
|
|
@@ -60287,7 +60287,7 @@ var OP = /* @__PURE__ */ Object.freeze({
|
|
|
60287
60287
|
COLON: i7,
|
|
60288
60288
|
COMMA: Cy,
|
|
60289
60289
|
DOLLAR: kd,
|
|
60290
|
-
DOT:
|
|
60290
|
+
DOT: c9,
|
|
60291
60291
|
EMOJI: $P,
|
|
60292
60292
|
EQUALS: Ld,
|
|
60293
60293
|
EXCLAMATION: uy,
|
|
@@ -60316,7 +60316,7 @@ var OP = /* @__PURE__ */ Object.freeze({
|
|
|
60316
60316
|
RIGHTWHITECORNERBRACKET: gd,
|
|
60317
60317
|
SCHEME: al,
|
|
60318
60318
|
SEMI: hy,
|
|
60319
|
-
SLASH:
|
|
60319
|
+
SLASH: C9,
|
|
60320
60320
|
SLASH_SCHEME: E0,
|
|
60321
60321
|
SYM: Id,
|
|
60322
60322
|
TILDE: Oi,
|
|
@@ -60334,7 +60334,7 @@ function _O1(e = []) {
|
|
|
60334
60334
|
const t = {};
|
|
60335
60335
|
w5.groups = t;
|
|
60336
60336
|
const n = new w5();
|
|
60337
|
-
Ta == null && (Ta = aL(fO1)), Va == null && (Va = aL(gO1)), e2(n, "'", bd), e2(n, "{", Ai), e2(n, "}", Pi), e2(n, "[", sd), e2(n, "]", rd), e2(n, "(", ad), e2(n, ")", ld), e2(n, "<", dd), e2(n, ">", cd), e2(n, "(", Cd), e2(n, ")", ud), e2(n, "「", pd), e2(n, "」", hd), e2(n, "『", fd), e2(n, "』", gd), e2(n, "<", md), e2(n, ">", yd), e2(n, "&", wd), e2(n, "*", vd), e2(n, "@", X8), e2(n, "`", _d), e2(n, "^", Md), e2(n, ":", i7), e2(n, ",", Cy), e2(n, "$", kd), e2(n, ".",
|
|
60337
|
+
Ta == null && (Ta = aL(fO1)), Va == null && (Va = aL(gO1)), e2(n, "'", bd), e2(n, "{", Ai), e2(n, "}", Pi), e2(n, "[", sd), e2(n, "]", rd), e2(n, "(", ad), e2(n, ")", ld), e2(n, "<", dd), e2(n, ">", cd), e2(n, "(", Cd), e2(n, ")", ud), e2(n, "「", pd), e2(n, "」", hd), e2(n, "『", fd), e2(n, "』", gd), e2(n, "<", md), e2(n, ">", yd), e2(n, "&", wd), e2(n, "*", vd), e2(n, "@", X8), e2(n, "`", _d), e2(n, "^", Md), e2(n, ":", i7), e2(n, ",", Cy), e2(n, "$", kd), e2(n, ".", c9), e2(n, "=", Ld), e2(n, "!", uy), e2(n, "-", l6), e2(n, "%", Bi), e2(n, "|", Td), e2(n, "+", Vd), e2(n, "#", Hd), e2(n, "?", $i), e2(n, '"', py), e2(n, "/", C9), e2(n, ";", hy), e2(n, "~", Oi), e2(n, "_", xd), e2(n, "\\", Sd), e2(n, "・", BP);
|
|
60338
60338
|
const i = Le(n, j9, dy, {
|
|
60339
60339
|
[Wf]: !0
|
|
60340
60340
|
});
|
|
@@ -60690,34 +60690,34 @@ const dL = Tc("email", {
|
|
|
60690
60690
|
function LO1({
|
|
60691
60691
|
groups: e
|
|
60692
60692
|
}) {
|
|
60693
|
-
const t = e.domain.concat([wd, vd, X8, Sd, _d, Md, kd, Ld, l6, dy, Bi, Td, Vd, Hd,
|
|
60693
|
+
const t = e.domain.concat([wd, vd, X8, Sd, _d, Md, kd, Ld, l6, dy, Bi, Td, Vd, Hd, C9, Id, Oi, xd]), n = [bd, i7, Cy, c9, uy, Bi, $i, py, hy, dd, cd, Ai, Pi, rd, sd, ad, ld, Cd, ud, pd, hd, fd, gd, md, yd], i = [wd, bd, vd, Sd, _d, Md, kd, Ld, l6, Ai, Pi, Bi, Td, Vd, Hd, $i, C9, Id, Oi, xd], o = o6(), s = e2(o, Oi);
|
|
60694
60694
|
l3(s, i, s), l3(s, e.domain, s);
|
|
60695
60695
|
const r = o6(), a = o6(), l = o6();
|
|
60696
60696
|
l3(o, e.domain, r), l3(o, e.scheme, a), l3(o, e.slashscheme, l), l3(r, i, s), l3(r, e.domain, r);
|
|
60697
60697
|
const d = e2(r, X8);
|
|
60698
60698
|
e2(s, X8, d), e2(a, X8, d), e2(l, X8, d);
|
|
60699
|
-
const c = e2(s,
|
|
60699
|
+
const c = e2(s, c9);
|
|
60700
60700
|
l3(c, i, s), l3(c, e.domain, s);
|
|
60701
60701
|
const u = o6();
|
|
60702
60702
|
l3(d, e.domain, u), l3(u, e.domain, u);
|
|
60703
|
-
const h = e2(u,
|
|
60703
|
+
const h = e2(u, c9);
|
|
60704
60704
|
l3(h, e.domain, u);
|
|
60705
60705
|
const g = o6(dL);
|
|
60706
60706
|
l3(h, e.tld, g), l3(h, e.utld, g), e2(d, uo, g);
|
|
60707
60707
|
const m = e2(u, l6);
|
|
60708
|
-
e2(m, l6, m), l3(m, e.domain, u), l3(g, e.domain, u), e2(g,
|
|
60708
|
+
e2(m, l6, m), l3(m, e.domain, u), l3(g, e.domain, u), e2(g, c9, h), e2(g, l6, m);
|
|
60709
60709
|
const y = e2(g, i7);
|
|
60710
60710
|
l3(y, e.numeric, dL);
|
|
60711
|
-
const w = e2(r, l6), v = e2(r,
|
|
60711
|
+
const w = e2(r, l6), v = e2(r, c9);
|
|
60712
60712
|
e2(w, l6, w), l3(w, e.domain, r), l3(v, i, s), l3(v, e.domain, r);
|
|
60713
60713
|
const S = o6(Ha);
|
|
60714
|
-
l3(v, e.tld, S), l3(v, e.utld, S), l3(S, e.domain, r), l3(S, i, s), e2(S,
|
|
60714
|
+
l3(v, e.tld, S), l3(v, e.utld, S), l3(S, e.domain, r), l3(S, i, s), e2(S, c9, v), e2(S, l6, w), e2(S, X8, d);
|
|
60715
60715
|
const M = e2(S, i7), _ = o6(Ha);
|
|
60716
60716
|
l3(M, e.numeric, _);
|
|
60717
60717
|
const V = o6(Ha), x = o6();
|
|
60718
|
-
l3(V, t, V), l3(V, n, x), l3(x, t, V), l3(x, n, x), e2(S,
|
|
60719
|
-
const N = e2(a, i7), $ = e2(l, i7), Z = e2($,
|
|
60720
|
-
l3(a, e.domain, r), e2(a,
|
|
60718
|
+
l3(V, t, V), l3(V, n, x), l3(x, t, V), l3(x, n, x), e2(S, C9, V), e2(_, C9, V);
|
|
60719
|
+
const N = e2(a, i7), $ = e2(l, i7), Z = e2($, C9), F = e2(Z, C9);
|
|
60720
|
+
l3(a, e.domain, r), e2(a, c9, v), e2(a, l6, w), l3(l, e.domain, r), e2(l, c9, v), e2(l, l6, w), l3(N, e.domain, V), e2(N, C9, V), e2(N, $i, V), l3(F, e.domain, V), l3(F, t, V), e2(F, C9, V);
|
|
60721
60721
|
const Y = [
|
|
60722
60722
|
[Ai, Pi],
|
|
60723
60723
|
// {}
|
|
@@ -61279,7 +61279,7 @@ function qO1() {
|
|
|
61279
61279
|
return zp = r, zp;
|
|
61280
61280
|
}
|
|
61281
61281
|
var GO1 = qO1();
|
|
61282
|
-
const hi = /* @__PURE__ */
|
|
61282
|
+
const hi = /* @__PURE__ */ e9(GO1), WO1 = (e, t, n) => {
|
|
61283
61283
|
const i = d1(t.selectedFont ?? "Lato"), o = (l) => {
|
|
61284
61284
|
var d, c;
|
|
61285
61285
|
(c = (d = n.value) == null ? void 0 : d.hideMenu) == null || c.call(d), i.value = l, t.selectedFont = l, e.chain().focus().setFontFamily(l).run();
|
|
@@ -61288,7 +61288,7 @@ const hi = /* @__PURE__ */ Q6(GO1), WO1 = (e, t, n) => {
|
|
|
61288
61288
|
e.chain().selectAll().setFontFamily(l)
|
|
61289
61289
|
).run();
|
|
61290
61290
|
}, r = hi((l) => {
|
|
61291
|
-
t.selectedFontSize = l.includes("em") ? l : nn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(
|
|
61291
|
+
t.selectedFontSize = l.includes("em") ? l : nn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(p9(l)) : parseInt(l), e.chain().setFontSize(t.selectedFontSize).run();
|
|
61292
61292
|
}, 150);
|
|
61293
61293
|
return {
|
|
61294
61294
|
selectedFont: i,
|
|
@@ -61296,7 +61296,7 @@ const hi = /* @__PURE__ */ Q6(GO1), WO1 = (e, t, n) => {
|
|
|
61296
61296
|
toggleFontAll: s,
|
|
61297
61297
|
toggleFontSize: r,
|
|
61298
61298
|
toggleFontSizeAll: (l) => {
|
|
61299
|
-
t.selectedFontSize = l.includes("em") ? l : nn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(
|
|
61299
|
+
t.selectedFontSize = l.includes("em") ? l : nn(l), t.selectedFontSizePx = l.includes("em") ? parseInt(p9(l)) : parseInt(l), y5(
|
|
61300
61300
|
e.chain().selectAll().setFontSize(t.selectedFontSize)
|
|
61301
61301
|
).run();
|
|
61302
61302
|
}
|
|
@@ -61714,7 +61714,7 @@ function pD1() {
|
|
|
61714
61714
|
return Gp = u2, Gp;
|
|
61715
61715
|
}
|
|
61716
61716
|
var hD1 = pD1();
|
|
61717
|
-
const bL = /* @__PURE__ */
|
|
61717
|
+
const bL = /* @__PURE__ */ e9(hD1);
|
|
61718
61718
|
function Ed(e, t) {
|
|
61719
61719
|
const n = e.replace(/\s+/g, "-").toLowerCase(), i = t ? `${t.id}-${t.name}` : "nv", o = Math.random().toString(36).substring(2, 8);
|
|
61720
61720
|
return `${n}-${i}-${o}`;
|
|
@@ -62242,7 +62242,7 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
62242
62242
|
actions: {
|
|
62243
62243
|
initialise(e) {
|
|
62244
62244
|
var a, l;
|
|
62245
|
-
const t = T4(), n =
|
|
62245
|
+
const t = T4(), n = o9();
|
|
62246
62246
|
if (process.env.NODE_ENV !== "production" && (typeof t.baseBrandPageDomain != "string" && console.error("brandPageBaseUrl should not be undefined"), !e.isPrePurchase && typeof t.upgradeSubscriptionUrlPath != "string" && console.error("upgradeUrl should not be undefined"), !e.isPrePurchase && (typeof e.logoDraftToken != "string" || !e.logoDraftToken)))
|
|
62247
62247
|
throw new Error("logoDraftToken should be defined");
|
|
62248
62248
|
const i = C2(), o = K6();
|
|
@@ -63449,7 +63449,7 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
63449
63449
|
return (t = e.logoEdits.textObjects.find((n) => n.role === "primary-text")) == null ? void 0 : t.text;
|
|
63450
63450
|
}
|
|
63451
63451
|
}
|
|
63452
|
-
}), vD1 = 1700, SD1 = 1e4, _D1 = 40, MD1 = 100 * 1024 * 1024, kD1 = 25 * 1024 * 1024, LD1 = 2e3,
|
|
63452
|
+
}), vD1 = 1700, SD1 = 1e4, _D1 = 40, MD1 = 100 * 1024 * 1024, kD1 = 25 * 1024 * 1024, LD1 = 2e3, J6 = ie("history", () => {
|
|
63453
63453
|
const e = _3(), t = mo([]), n = d1(-1), i = d1(!1), o = d1(!1), s = d1(!1);
|
|
63454
63454
|
let r = 0;
|
|
63455
63455
|
const a = T(() => n.value > 0), l = T(
|
|
@@ -63940,7 +63940,7 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
63940
63940
|
]
|
|
63941
63941
|
})
|
|
63942
63942
|
}), ED1 = (e, t, n, i, o, s, r, a, l, d, c, u) => {
|
|
63943
|
-
const h =
|
|
63943
|
+
const h = J6();
|
|
63944
63944
|
h.mergeNextMutation();
|
|
63945
63945
|
const g = new Xm({
|
|
63946
63946
|
content: e.value ?? "",
|
|
@@ -64128,9 +64128,9 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
64128
64128
|
} else
|
|
64129
64129
|
r1.value = "Lato", i.selectedFont = "Lato";
|
|
64130
64130
|
if (P1 && P1.fontSize ? i.selectedFontSizePx = Math.ceil(
|
|
64131
|
-
parseFloat(
|
|
64131
|
+
parseFloat(p9(P1.fontSize))
|
|
64132
64132
|
) : i.selectedFontSizePx = Math.ceil(
|
|
64133
|
-
parseFloat(
|
|
64133
|
+
parseFloat(p9(i.selectedFontSize))
|
|
64134
64134
|
), P1 && P1.color ? d6(P1.color) || (i.selectedTextColor = Ie(P1.color).hex()) : i.selectedTextColor = "#000000", c1 && c1.color ? d6(c1.color) || (i.selectedBackgroundColor = Ie(
|
|
64135
64135
|
c1.color
|
|
64136
64136
|
).hex()) : i.selectedBackgroundColor = "transparent", P1.lineHeight ? E1.value = P1.lineHeight : E1.value = "1", P1 && P1.letterSpacing ? X1.value = C8.convert({
|
|
@@ -64160,18 +64160,18 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
64160
64160
|
letterSpacing: c1.letterSpacing
|
|
64161
64161
|
}
|
|
64162
64162
|
}), i.selectedFont = (c1 == null ? void 0 : c1.fontFamily) ?? "Lato", i.selectedFontSize = (c1 == null ? void 0 : c1.fontSize) ?? "2.25em", i.selectedFontSizePx = Math.ceil(
|
|
64163
|
-
parseFloat(
|
|
64163
|
+
parseFloat(p9((c1 == null ? void 0 : c1.fontSize) ?? "2.25em"))
|
|
64164
64164
|
), i.selectedTextColor = d6(c1.color ?? "") ? "#000000" : (c1 == null ? void 0 : c1.color) ?? "#000000", i.selectedBackgroundColor = d6(
|
|
64165
64165
|
(c1 == null ? void 0 : c1.backgroundColor) ?? ""
|
|
64166
|
-
) ? "transparent" : (c1 == null ? void 0 : c1.backgroundColor) ?? "transparent", E1.value = (g2 = c1 == null ? void 0 : c1.lineHeight) != null && g2.includes("em") ?
|
|
64166
|
+
) ? "transparent" : (c1 == null ? void 0 : c1.backgroundColor) ?? "transparent", E1.value = (g2 = c1 == null ? void 0 : c1.lineHeight) != null && g2.includes("em") ? p9((c1 == null ? void 0 : c1.lineHeight) ?? "1em") : (c1 == null ? void 0 : c1.lineHeight) ?? "1", X1.value = C8.convert(
|
|
64167
64167
|
c1 ?? {}
|
|
64168
64168
|
), (s3 = t.styles) != null && s3.textAlign && (Y1 == null ? void 0 : Y1.textAlign) !== t.styles.textAlign && G(t.styles.textAlign)) : t.styles && (i.selectedFont = ((q2 = t.styles) == null ? void 0 : q2.fontFamily) ?? "Lato", i.selectedFontSize = ((E3 = t.styles) == null ? void 0 : E3.fontSize) ?? "2.25em", i.selectedFontSizePx = Math.ceil(
|
|
64169
|
-
parseFloat(
|
|
64169
|
+
parseFloat(p9(((M1 = t.styles) == null ? void 0 : M1.fontSize) ?? "2.25em"))
|
|
64170
64170
|
), i.selectedTextColor = d6(
|
|
64171
64171
|
((Z1 = t.styles) == null ? void 0 : Z1.color) ?? "#000000"
|
|
64172
64172
|
) ? "#000000" : ((f2 = t.styles) == null ? void 0 : f2.color) ?? "#000000", i.selectedBackgroundColor = d6(
|
|
64173
64173
|
((E2 = t.styles) == null ? void 0 : E2.backgroundColor) ?? ""
|
|
64174
|
-
) ? "transparent" : ((k1 = t.styles) == null ? void 0 : k1.backgroundColor) ?? "transparent", E1.value = (T1 = (s2 = t.styles) == null ? void 0 : s2.lineHeight) != null && T1.includes("em") ?
|
|
64174
|
+
) ? "transparent" : ((k1 = t.styles) == null ? void 0 : k1.backgroundColor) ?? "transparent", E1.value = (T1 = (s2 = t.styles) == null ? void 0 : s2.lineHeight) != null && T1.includes("em") ? p9(((I1 = t.styles) == null ? void 0 : I1.lineHeight) ?? "1em") : ((r2 = t.styles) == null ? void 0 : r2.lineHeight) ?? "1", X1.value = C8.convert(
|
|
64175
64175
|
t.styles ?? {}
|
|
64176
64176
|
), (K2 = t.styles) != null && K2.textAlign && (Y1 == null ? void 0 : Y1.textAlign) !== t.styles.textAlign && G(t.styles.textAlign));
|
|
64177
64177
|
}, Q2 = (P1) => {
|
|
@@ -64187,7 +64187,7 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
64187
64187
|
break;
|
|
64188
64188
|
case "fontSize":
|
|
64189
64189
|
const g2 = P1.value;
|
|
64190
|
-
i.selectedFontSizePx = g2.includes("em") ? Math.ceil(parseFloat(
|
|
64190
|
+
i.selectedFontSizePx = g2.includes("em") ? Math.ceil(parseFloat(p9(g2))) : parseInt(g2), q(g2), c1.fontSize = g2.includes("em") ? g2 : nn(g2);
|
|
64191
64191
|
break;
|
|
64192
64192
|
case "fontWeight":
|
|
64193
64193
|
w(), g.isActive("bold") ? c1.fontWeight = "bold" : c1.fontWeight = void 0;
|
|
@@ -64365,7 +64365,7 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
64365
64365
|
}, LL = e1({
|
|
64366
64366
|
mixins: [yf],
|
|
64367
64367
|
setup() {
|
|
64368
|
-
const e = x3(), t = C2(), n = w2(), i = N2(), o =
|
|
64368
|
+
const e = x3(), t = C2(), n = w2(), i = N2(), o = f9(), s = E4(), r = M3(), a = J2(), l = _3(), { externalEditor: d } = N7(), c = n5(), u = J6();
|
|
64369
64369
|
return {
|
|
64370
64370
|
items: T(() => e.items),
|
|
64371
64371
|
selectedItemId: T(() => e.selectedItemId),
|
|
@@ -64397,7 +64397,8 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
64397
64397
|
pageSettingsStore: r,
|
|
64398
64398
|
eventTracker: l,
|
|
64399
64399
|
externalEditor: d,
|
|
64400
|
-
styleSettingsStore: c
|
|
64400
|
+
styleSettingsStore: c,
|
|
64401
|
+
historyStore: u
|
|
64401
64402
|
};
|
|
64402
64403
|
},
|
|
64403
64404
|
data() {
|
|
@@ -64542,7 +64543,7 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
64542
64543
|
);
|
|
64543
64544
|
r && (s = r.settings.content);
|
|
64544
64545
|
}
|
|
64545
|
-
G0(
|
|
64546
|
+
this.historyStore.mergeNextMutation(), G0(
|
|
64546
64547
|
this.pageSettingsStore,
|
|
64547
64548
|
this.externalEditor,
|
|
64548
64549
|
this.styleSettingsStore,
|
|
@@ -64686,10 +64687,10 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
64686
64687
|
U2(() => n.context.isDesignCom, async () => {
|
|
64687
64688
|
const M = G6().toLowerCase(), _ = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
64688
64689
|
try {
|
|
64689
|
-
const { default: V } = await TL(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
64690
|
+
const { default: V } = await TL(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-CM2cOZlw.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-rq4QquAm.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BgbxyKPJ.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Dm1XphSl.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Dm1XphSl.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-B2a5OfdX.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-B2a5OfdX.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-BClRSXzU.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-Cg4PeKOO.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-izSiOsWK.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-IHiZuyNO.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-DLGYRMhZ.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-DAv_n1Hs.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-5DGgadD1.js") }), `./watermark/CreatedOn${_}-${M}.vue`, 3);
|
|
64690
64691
|
i.value = V;
|
|
64691
64692
|
} catch {
|
|
64692
|
-
const { default: x } = await TL(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
64693
|
+
const { default: x } = await TL(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-rq4QquAm.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-Cg4PeKOO.js") }), `./watermark/CreatedOn${_}-en-us.vue`, 3);
|
|
64693
64694
|
i.value = x;
|
|
64694
64695
|
}
|
|
64695
64696
|
}, {
|
|
@@ -64767,7 +64768,7 @@ const vL = () => Wp || (Wp = new yD1()), Ad = (e, t) => wD1(e).then(
|
|
|
64767
64768
|
class: "brand-page__footer-link",
|
|
64768
64769
|
onClick: _[0] || (_[0] = (V) => v(V, "watermark_logo"))
|
|
64769
64770
|
}, [
|
|
64770
|
-
(C(), B(
|
|
64771
|
+
(C(), B(Q6(i.value)))
|
|
64771
64772
|
], 8, BD1),
|
|
64772
64773
|
!M.context.isPreview || d.value ? (C(), f("a", {
|
|
64773
64774
|
key: 0,
|
|
@@ -66288,7 +66289,7 @@ function Nz1(e, t, n, i, o, s) {
|
|
|
66288
66289
|
], -1)
|
|
66289
66290
|
]), 4);
|
|
66290
66291
|
}
|
|
66291
|
-
const T8 = /* @__PURE__ */ b(Dz1, [["render", Nz1], ["__scopeId", "data-v-6ed918ee"]]), Rz1 = ["src", "alt", "aria-label", "loading"], Zz1 = ["src", "alt", "aria-label", "loading"],
|
|
66292
|
+
const T8 = /* @__PURE__ */ b(Dz1, [["render", Nz1], ["__scopeId", "data-v-6ed918ee"]]), Rz1 = ["src", "alt", "aria-label", "loading"], Zz1 = ["src", "alt", "aria-label", "loading"], i9 = /* @__PURE__ */ e1({
|
|
66292
66293
|
__name: "FallbackImage",
|
|
66293
66294
|
props: {
|
|
66294
66295
|
imageUrl: { default: "" },
|
|
@@ -66402,7 +66403,7 @@ const T8 = /* @__PURE__ */ b(Dz1, [["render", Nz1], ["__scopeId", "data-v-6ed918
|
|
|
66402
66403
|
await Xe(), i();
|
|
66403
66404
|
}), (o, s) => {
|
|
66404
66405
|
var r, a, l;
|
|
66405
|
-
return (r = o.context.options) != null && r.renderVideoAsImage ? (C(), B(
|
|
66406
|
+
return (r = o.context.options) != null && r.renderVideoAsImage ? (C(), B(i9, {
|
|
66406
66407
|
key: 1,
|
|
66407
66408
|
"data-component": "video",
|
|
66408
66409
|
"image-url": ((l = o.media) == null ? void 0 : l.previewImageUrl) || "",
|
|
@@ -66432,7 +66433,7 @@ const T8 = /* @__PURE__ */ b(Dz1, [["render", Nz1], ["__scopeId", "data-v-6ed918
|
|
|
66432
66433
|
};
|
|
66433
66434
|
}
|
|
66434
66435
|
}), zz1 = {
|
|
66435
|
-
components: { Shape: $z1, Placeholder: T8, FallbackImage:
|
|
66436
|
+
components: { Shape: $z1, Placeholder: T8, FallbackImage: i9, Video: Uz1 },
|
|
66436
66437
|
mixins: [Oz1]
|
|
66437
66438
|
};
|
|
66438
66439
|
function qz1(e, t, n, i, o, s) {
|
|
@@ -66671,7 +66672,7 @@ const b5 = /* @__PURE__ */ b(zz1, [["render", qz1], ["__scopeId", "data-v-649bc0
|
|
|
66671
66672
|
class: "tw-w-full empty-para",
|
|
66672
66673
|
style: A1(r.value ? s.value : o.value)
|
|
66673
66674
|
}, [
|
|
66674
|
-
(C(), B(
|
|
66675
|
+
(C(), B(Q6(m.element), {
|
|
66675
66676
|
class: O([[c.value, { "tw-inline": !r.value }], "tw-box-decoration-clone"]),
|
|
66676
66677
|
style: A1(r.value ? {} : i.value),
|
|
66677
66678
|
innerHTML: a.value
|
|
@@ -66873,7 +66874,7 @@ const b5 = /* @__PURE__ */ b(zz1, [["render", qz1], ["__scopeId", "data-v-649bc0
|
|
|
66873
66874
|
]);
|
|
66874
66875
|
};
|
|
66875
66876
|
}
|
|
66876
|
-
}),
|
|
66877
|
+
}), y9 = /* @__PURE__ */ b(tq1, [["__scopeId", "data-v-1cc1be4f"]]), nt = class nt {
|
|
66877
66878
|
constructor() {
|
|
66878
66879
|
H1(this, "_logoCache");
|
|
66879
66880
|
this._logoCache = {};
|
|
@@ -68248,7 +68249,7 @@ const JP = /* @__PURE__ */ b(oG1, [["render", rG1], ["__scopeId", "data-v-bddcef
|
|
|
68248
68249
|
components: {
|
|
68249
68250
|
ImageModal: JP,
|
|
68250
68251
|
Placeholder: T8,
|
|
68251
|
-
FallbackImage:
|
|
68252
|
+
FallbackImage: i9
|
|
68252
68253
|
},
|
|
68253
68254
|
mixins: [lG1],
|
|
68254
68255
|
setup() {
|
|
@@ -68368,7 +68369,7 @@ const QP = /* @__PURE__ */ b(dG1, [["render", uG1], ["__scopeId", "data-v-2de370
|
|
|
68368
68369
|
},
|
|
68369
68370
|
galleryType() {
|
|
68370
68371
|
var e;
|
|
68371
|
-
return ((e = this.viewModel.styles) == null ? void 0 : e.galleryType) ||
|
|
68372
|
+
return ((e = this.viewModel.styles) == null ? void 0 : e.galleryType) || u9.grid;
|
|
68372
68373
|
},
|
|
68373
68374
|
hasImages() {
|
|
68374
68375
|
return Array.isArray(this.viewModel.images) && this.viewModel.images.length > 0;
|
|
@@ -68453,7 +68454,7 @@ const QP = /* @__PURE__ */ b(dG1, [["render", uG1], ["__scopeId", "data-v-2de370
|
|
|
68453
68454
|
}), fG1 = {
|
|
68454
68455
|
components: {
|
|
68455
68456
|
Placeholder: T8,
|
|
68456
|
-
FallbackImage:
|
|
68457
|
+
FallbackImage: i9
|
|
68457
68458
|
},
|
|
68458
68459
|
mixins: [hG1],
|
|
68459
68460
|
setup() {
|
|
@@ -68561,7 +68562,7 @@ const yG1 = /* @__PURE__ */ b(fG1, [["render", mG1], ["__scopeId", "data-v-8931d
|
|
|
68561
68562
|
components: {
|
|
68562
68563
|
Carousel: _g,
|
|
68563
68564
|
Placeholder: T8,
|
|
68564
|
-
FallbackImage:
|
|
68565
|
+
FallbackImage: i9
|
|
68565
68566
|
},
|
|
68566
68567
|
mixins: [wG1],
|
|
68567
68568
|
setup() {
|
|
@@ -68697,7 +68698,7 @@ const _G1 = /* @__PURE__ */ b(bG1, [["render", SG1], ["__scopeId", "data-v-f08fc
|
|
|
68697
68698
|
components: {
|
|
68698
68699
|
Masonry: hv1,
|
|
68699
68700
|
Placeholder: T8,
|
|
68700
|
-
FallbackImage:
|
|
68701
|
+
FallbackImage: i9
|
|
68701
68702
|
},
|
|
68702
68703
|
mixins: [ZL],
|
|
68703
68704
|
setup() {
|
|
@@ -68905,7 +68906,7 @@ const EG1 = /* @__PURE__ */ b(HG1, [["render", IG1], ["__scopeId", "data-v-3d176
|
|
|
68905
68906
|
Icon: d2,
|
|
68906
68907
|
Loader: K3,
|
|
68907
68908
|
Carousel: _g,
|
|
68908
|
-
FallbackImage:
|
|
68909
|
+
FallbackImage: i9
|
|
68909
68910
|
},
|
|
68910
68911
|
mixins: [PG1]
|
|
68911
68912
|
}, $G1 = {
|
|
@@ -69032,7 +69033,7 @@ function NG1(e, t, n, i, o, s) {
|
|
|
69032
69033
|
}]),
|
|
69033
69034
|
style: A1(e.getContainerStyle)
|
|
69034
69035
|
}, [
|
|
69035
|
-
(C(), B(
|
|
69036
|
+
(C(), B(Q6(e.galleryType), {
|
|
69036
69037
|
context: e.context,
|
|
69037
69038
|
"view-model": e.viewModel,
|
|
69038
69039
|
"content-index": e.contentIndex,
|
|
@@ -69678,7 +69679,7 @@ const GG1 = /* @__PURE__ */ b(UG1, [["render", qG1]]), WG1 = {
|
|
|
69678
69679
|
])
|
|
69679
69680
|
], 4));
|
|
69680
69681
|
}
|
|
69681
|
-
}), tB = /* @__PURE__ */ b(LW1, [["__scopeId", "data-v-7731d899"]]),
|
|
69682
|
+
}), tB = /* @__PURE__ */ b(LW1, [["__scopeId", "data-v-7731d899"]]), w9 = {
|
|
69682
69683
|
safeSendRaygunError: (e, t) => {
|
|
69683
69684
|
var n;
|
|
69684
69685
|
if (typeof ((n = window == null ? void 0 : window.Raygun) == null ? void 0 : n.send) == "function")
|
|
@@ -69826,7 +69827,7 @@ const GG1 = /* @__PURE__ */ b(UG1, [["render", qG1]]), WG1 = {
|
|
|
69826
69827
|
);
|
|
69827
69828
|
this.isPaymentConfigActive = n === VW1;
|
|
69828
69829
|
} catch (n) {
|
|
69829
|
-
console.error(n), n instanceof Error &&
|
|
69830
|
+
console.error(n), n instanceof Error && w9.safeSendRaygunError(n);
|
|
69830
69831
|
}
|
|
69831
69832
|
},
|
|
69832
69833
|
async createCart() {
|
|
@@ -69850,7 +69851,7 @@ const GG1 = /* @__PURE__ */ b(UG1, [["render", qG1]]), WG1 = {
|
|
|
69850
69851
|
}
|
|
69851
69852
|
console.error("Unexpected payment provider details"), this.state = R5.PaymentOptionSelection;
|
|
69852
69853
|
} catch (e) {
|
|
69853
|
-
console.error(e), e instanceof Error &&
|
|
69854
|
+
console.error(e), e instanceof Error && w9.safeSendRaygunError(e), this.state = R5.PaymentOptionSelection;
|
|
69854
69855
|
}
|
|
69855
69856
|
},
|
|
69856
69857
|
onDoneButtonClick() {
|
|
@@ -69991,7 +69992,7 @@ const nB = /* @__PURE__ */ b(xW1, [["render", OW1]]), DW1 = {
|
|
|
69991
69992
|
Textarea: Zt,
|
|
69992
69993
|
Icon: d2,
|
|
69993
69994
|
TextWrapper: a3,
|
|
69994
|
-
FallbackImage:
|
|
69995
|
+
FallbackImage: i9
|
|
69995
69996
|
},
|
|
69996
69997
|
mixins: [FG1],
|
|
69997
69998
|
setup() {
|
|
@@ -71517,7 +71518,7 @@ const Oj1 = /* @__PURE__ */ b(Cj1, [["render", $j1], ["__scopeId", "data-v-b05af
|
|
|
71517
71518
|
p("div", {
|
|
71518
71519
|
class: O(["tw-w-full tw-flex", y.value])
|
|
71519
71520
|
}, [
|
|
71520
|
-
v.value ? (C(), B(
|
|
71521
|
+
v.value ? (C(), B(y9, {
|
|
71521
71522
|
key: 0,
|
|
71522
71523
|
"view-model": w.value,
|
|
71523
71524
|
context: e.context,
|
|
@@ -71560,7 +71561,7 @@ const Oj1 = /* @__PURE__ */ b(Cj1, [["render", $j1], ["__scopeId", "data-v-b05af
|
|
|
71560
71561
|
p("div", {
|
|
71561
71562
|
class: O(["tw-w-full tw-flex", y.value])
|
|
71562
71563
|
}, [
|
|
71563
|
-
v.value ? (C(), B(
|
|
71564
|
+
v.value ? (C(), B(y9, {
|
|
71564
71565
|
key: 0,
|
|
71565
71566
|
"view-model": w.value,
|
|
71566
71567
|
context: e.context,
|
|
@@ -71623,7 +71624,7 @@ const Oj1 = /* @__PURE__ */ b(Cj1, [["render", $j1], ["__scopeId", "data-v-b05af
|
|
|
71623
71624
|
p("div", {
|
|
71624
71625
|
class: O(["tw-w-full tw-flex", y.value])
|
|
71625
71626
|
}, [
|
|
71626
|
-
v.value ? (C(), B(
|
|
71627
|
+
v.value ? (C(), B(y9, {
|
|
71627
71628
|
key: 0,
|
|
71628
71629
|
"view-model": w.value,
|
|
71629
71630
|
context: e.context,
|
|
@@ -71662,7 +71663,7 @@ const Oj1 = /* @__PURE__ */ b(Cj1, [["render", $j1], ["__scopeId", "data-v-b05af
|
|
|
71662
71663
|
p("div", {
|
|
71663
71664
|
class: O(["tw-w-full tw-flex", y.value])
|
|
71664
71665
|
}, [
|
|
71665
|
-
v.value ? (C(), B(
|
|
71666
|
+
v.value ? (C(), B(y9, {
|
|
71666
71667
|
key: 0,
|
|
71667
71668
|
"view-model": w.value,
|
|
71668
71669
|
context: e.context,
|
|
@@ -71742,7 +71743,7 @@ const Oj1 = /* @__PURE__ */ b(Cj1, [["render", $j1], ["__scopeId", "data-v-b05af
|
|
|
71742
71743
|
p("div", {
|
|
71743
71744
|
class: O(["tw-w-full tw-flex", y.value])
|
|
71744
71745
|
}, [
|
|
71745
|
-
v.value ? (C(), B(
|
|
71746
|
+
v.value ? (C(), B(y9, {
|
|
71746
71747
|
key: 0,
|
|
71747
71748
|
"view-model": w.value,
|
|
71748
71749
|
context: e.context,
|
|
@@ -71890,14 +71891,14 @@ const Oj1 = /* @__PURE__ */ b(Cj1, [["render", $j1], ["__scopeId", "data-v-b05af
|
|
|
71890
71891
|
},
|
|
71891
71892
|
setup(e) {
|
|
71892
71893
|
const t = e, n = T(() => t.viewModel.items), i = T(
|
|
71893
|
-
() => t.viewModel.displayStyle !==
|
|
71894
|
+
() => t.viewModel.displayStyle !== x9
|
|
71894
71895
|
), o = T(
|
|
71895
71896
|
() => t.context.isBrandSite && t.viewModel.areImagesFullWidth
|
|
71896
|
-
), s = T(() => (w8(t.viewModel.title) || "").length > 0), r = T(() => t.viewModel.displayStyle === H5 || t.viewModel.displayStyle === Q5), a = T(() => t.viewModel.displayStyle === F3 || t.viewModel.displayStyle ===
|
|
71897
|
+
), s = T(() => (w8(t.viewModel.title) || "").length > 0), r = T(() => t.viewModel.displayStyle === H5 || t.viewModel.displayStyle === Q5), a = T(() => t.viewModel.displayStyle === F3 || t.viewModel.displayStyle === x9 || t.viewModel.displayStyle === ye), l = T(
|
|
71897
71898
|
() => t.viewModel.displayStyle === ye
|
|
71898
71899
|
), d = T(() => l.value && t.viewModel.role === "shapes-section" && !t.context.isTemplate && !t.context.isBrandSite), c = T(
|
|
71899
71900
|
() => t.viewModel.displayStyle === xl
|
|
71900
|
-
), u = T(() => t.viewModel.backgroundStyle.backgroundColor ? !
|
|
71901
|
+
), u = T(() => t.viewModel.backgroundStyle.backgroundColor ? !I9(t.viewModel.backgroundStyle.backgroundColor) : !1), h = T(() => t.context.isBrandPageOrIsBrandContact ? !u.value : t.viewModel.areImagesFullWidth), g = T(
|
|
71901
71902
|
() => t.context.isBrandSite && !t.viewModel.areImagesFullWidth
|
|
71902
71903
|
), m = T(() => t.viewModel.displayStyle === H5 || t.viewModel.displayStyle === Q5 || t.viewModel.displayStyle === xl ? "tw-justify-start" : "tw-justify-center"), y = T(() => t.context.isBrandPageOrIsBrandContact ? !t.viewModel.areImagesFullWidth : !h.value), w = T(() => !t.context.isMobile), v = T(() => (w8(t.viewModel.description) || "").length > 0), S = (_) => _ ? x5(_) : "", M = (_) => {
|
|
71903
71904
|
if (!_.buttonViewModel)
|
|
@@ -72003,7 +72004,7 @@ const Oj1 = /* @__PURE__ */ b(Cj1, [["render", $j1], ["__scopeId", "data-v-b05af
|
|
|
72003
72004
|
key: 0,
|
|
72004
72005
|
class: O(["tw-w-full tw-flex", m.value])
|
|
72005
72006
|
}, [
|
|
72006
|
-
L(
|
|
72007
|
+
L(y9, {
|
|
72007
72008
|
"view-model": M(x),
|
|
72008
72009
|
context: e.context,
|
|
72009
72010
|
class: "tw-w-fit"
|
|
@@ -72018,7 +72019,7 @@ const Oj1 = /* @__PURE__ */ b(Cj1, [["render", $j1], ["__scopeId", "data-v-b05af
|
|
|
72018
72019
|
}
|
|
72019
72020
|
}), oB = /* @__PURE__ */ b(tK1, [["__scopeId", "data-v-6e40b489"]]);
|
|
72020
72021
|
var nK1 = /* @__PURE__ */ kI();
|
|
72021
|
-
const qL = /* @__PURE__ */
|
|
72022
|
+
const qL = /* @__PURE__ */ e9(nK1), iK1 = "2/1", oK1 = /* @__PURE__ */ e1({
|
|
72022
72023
|
__name: "ImagesSection",
|
|
72023
72024
|
props: {
|
|
72024
72025
|
viewModel: {},
|
|
@@ -72052,7 +72053,7 @@ const qL = /* @__PURE__ */ Q6(nK1), iK1 = "2/1", oK1 = /* @__PURE__ */ e1({
|
|
|
72052
72053
|
} : {
|
|
72053
72054
|
aspectRatio: iK1
|
|
72054
72055
|
};
|
|
72055
|
-
}), a = T(() => t.viewModel.items || []), l = T(() => t.context.isPreview), d = T(() => t.viewModel.displayStyle ===
|
|
72056
|
+
}), a = T(() => t.viewModel.items || []), l = T(() => t.context.isPreview), d = T(() => t.viewModel.displayStyle === x9 && t.viewModel.items.length === 1), c = T(() => (x) => Mn(x, t.context)), u = T(() => {
|
|
72056
72057
|
const x = a.value[0];
|
|
72057
72058
|
if (x)
|
|
72058
72059
|
return {
|
|
@@ -72066,7 +72067,7 @@ const qL = /* @__PURE__ */ Q6(nK1), iK1 = "2/1", oK1 = /* @__PURE__ */ e1({
|
|
|
72066
72067
|
height: x.height,
|
|
72067
72068
|
width: x.width
|
|
72068
72069
|
};
|
|
72069
|
-
}), h = T(() => t.context.isBrandPageOrIsBrandContact && a.value.length === 1 && t.viewModel.displayStyle ===
|
|
72070
|
+
}), h = T(() => t.context.isBrandPageOrIsBrandContact && a.value.length === 1 && t.viewModel.displayStyle === x9), g = T(() => t.context.isBrandPageOrIsBrandContact), m = T(() => a.value.length == 1 || !d.value), y = (x) => {
|
|
72070
72071
|
if (x.imageLink && qL(x.imageLink)) {
|
|
72071
72072
|
window.open(x.imageLink, "_blank", "noopener,noreferrer");
|
|
72072
72073
|
return;
|
|
@@ -72102,7 +72103,7 @@ const qL = /* @__PURE__ */ Q6(nK1), iK1 = "2/1", oK1 = /* @__PURE__ */ e1({
|
|
|
72102
72103
|
"tw-cursor-pointer": w($)
|
|
72103
72104
|
}]),
|
|
72104
72105
|
onClick: (Z) => v($) ? y($) : void 0
|
|
72105
|
-
}, null, 8, ["view-model", "is-preview", "context", "content-index", "class", "onClick"])) : $.imageUrl && !M($.itemsId) ? (C(), B(
|
|
72106
|
+
}, null, 8, ["view-model", "is-preview", "context", "content-index", "class", "onClick"])) : $.imageUrl && !M($.itemsId) ? (C(), B(i9, {
|
|
72106
72107
|
key: 1,
|
|
72107
72108
|
"image-url": $.imageUrl,
|
|
72108
72109
|
classes: "tw-rounded-md tw-object-cover tw-max-h-full tw-max-w-full",
|
|
@@ -72666,7 +72667,7 @@ const bK1 = /* @__PURE__ */ b(mK1, [["render", wK1], ["__scopeId", "data-v-ef10c
|
|
|
72666
72667
|
onClick: (u) => r(c)
|
|
72667
72668
|
}, [
|
|
72668
72669
|
p("div", IK1, [
|
|
72669
|
-
c.imageUrl ? (C(), B(
|
|
72670
|
+
c.imageUrl ? (C(), B(i9, {
|
|
72670
72671
|
key: 0,
|
|
72671
72672
|
classes: "tw-object-cover tw-w-12",
|
|
72672
72673
|
"image-url": c.imageUrl,
|
|
@@ -72760,7 +72761,7 @@ const bK1 = /* @__PURE__ */ b(mK1, [["render", wK1], ["__scopeId", "data-v-ef10c
|
|
|
72760
72761
|
onClick: S1((u) => r(c), ["stop"])
|
|
72761
72762
|
}, [
|
|
72762
72763
|
c.imageUrl ? (C(), f("div", OK1, [
|
|
72763
|
-
c.imageUrl ? (C(), B(
|
|
72764
|
+
c.imageUrl ? (C(), B(i9, {
|
|
72764
72765
|
key: 0,
|
|
72765
72766
|
classes: "tw-object-cover tw-max-h-full tw-max-w-full tw-w-full",
|
|
72766
72767
|
"image-url": c.imageUrl,
|
|
@@ -73392,7 +73393,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
73392
73393
|
}
|
|
73393
73394
|
console.error("Unexpected payment provider details"), a.state = n.PaymentOptionSelection;
|
|
73394
73395
|
} catch (w) {
|
|
73395
|
-
console.error(w), w instanceof Error &&
|
|
73396
|
+
console.error(w), w instanceof Error && w9.safeSendRaygunError(w), a.state = n.PaymentOptionSelection;
|
|
73396
73397
|
}
|
|
73397
73398
|
}, u = T(() => i.successMessage ? i.successMessage : l0("paymentSuccessMessage")), h = T(() => l0("paymentFailedMessage")), g = () => {
|
|
73398
73399
|
a.state = n.Success, s.resetCart();
|
|
@@ -73494,7 +73495,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
73494
73495
|
);
|
|
73495
73496
|
a.isActivePaymentProvider = F === YY1;
|
|
73496
73497
|
} catch (F) {
|
|
73497
|
-
console.error(F), F instanceof Error &&
|
|
73498
|
+
console.error(F), F instanceof Error && w9.safeSendRaygunError(F);
|
|
73498
73499
|
}
|
|
73499
73500
|
};
|
|
73500
73501
|
v3(() => {
|
|
@@ -73713,7 +73714,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
73713
73714
|
element: "div"
|
|
73714
73715
|
}, null, 8, ["text-style", "text", "slug"])) : k("", !0),
|
|
73715
73716
|
o.value ? (C(), f("div", tX1, [
|
|
73716
|
-
L(
|
|
73717
|
+
L(y9, {
|
|
73717
73718
|
"view-model": s.value,
|
|
73718
73719
|
context: e.context,
|
|
73719
73720
|
class: "tw-w-fit"
|
|
@@ -73725,8 +73726,8 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
73725
73726
|
}
|
|
73726
73727
|
}), iX1 = /* @__PURE__ */ b(nX1, [["__scopeId", "data-v-bcef9bd4"]]), oX1 = {
|
|
73727
73728
|
components: {
|
|
73728
|
-
"bp-general-link":
|
|
73729
|
-
"bp-button":
|
|
73729
|
+
"bp-general-link": y9,
|
|
73730
|
+
"bp-button": y9,
|
|
73730
73731
|
"bp-logo": _y,
|
|
73731
73732
|
"bp-mailing-list": Nq1,
|
|
73732
73733
|
"bp-map": Yq1,
|
|
@@ -73751,7 +73752,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
73751
73752
|
mixins: [MK1]
|
|
73752
73753
|
};
|
|
73753
73754
|
function sX1(e, t, n, i, o, s) {
|
|
73754
|
-
return C(), B(
|
|
73755
|
+
return C(), B(Q6(`bp-${e.content.type}`), {
|
|
73755
73756
|
"data-component": "page-component",
|
|
73756
73757
|
"brand-page-token": e.brandPageToken,
|
|
73757
73758
|
"container-client-height": e.containerClientHeight,
|
|
@@ -74415,7 +74416,7 @@ const DX1 = /* @__PURE__ */ b(BX1, [["render", OX1]]), NX1 = { key: 0 }, RX1 = {
|
|
|
74415
74416
|
style: A1(a.buttonPositionStyle),
|
|
74416
74417
|
class: "tw-w-full tw-max-w-md tw-px-4 tw-pointer-events-auto tw-z-50 tw-flex tw-justify-center"
|
|
74417
74418
|
}, [
|
|
74418
|
-
L(
|
|
74419
|
+
L(y9, {
|
|
74419
74420
|
"view-model": h.value,
|
|
74420
74421
|
context: w.context,
|
|
74421
74422
|
class: "btn-max-width tw-cursor-pointer tw-transition-all tw-duration-100 tw-w-full",
|
|
@@ -75480,7 +75481,7 @@ const Nt = (e) => {
|
|
|
75480
75481
|
}), n;
|
|
75481
75482
|
}
|
|
75482
75483
|
return t;
|
|
75483
|
-
}, xa = "https://bc-getty-media.brandcrowd.com", ky = 5,
|
|
75484
|
+
}, xa = "https://bc-getty-media.brandcrowd.com", ky = 5, o9 = ie("video", {
|
|
75484
75485
|
state: () => ({
|
|
75485
75486
|
videoUrls: {},
|
|
75486
75487
|
gettyImagesKeyPrefix: "",
|
|
@@ -75576,7 +75577,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
75576
75577
|
return;
|
|
75577
75578
|
}
|
|
75578
75579
|
if (!t.settings.fields[e.name]) {
|
|
75579
|
-
if (!
|
|
75580
|
+
if (!m9()[t.type]) {
|
|
75580
75581
|
if (process.env.NODE_ENV !== "production")
|
|
75581
75582
|
throw new Error(
|
|
75582
75583
|
`Unable to locate content settings config by type '${t.type}'`
|
|
@@ -75671,7 +75672,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
75671
75672
|
media: t
|
|
75672
75673
|
}), t.type === "getty-video") {
|
|
75673
75674
|
const o = t;
|
|
75674
|
-
|
|
75675
|
+
o9().setVideoUrlsWithToken(
|
|
75675
75676
|
o.token,
|
|
75676
75677
|
o.videoSrc,
|
|
75677
75678
|
o.imageSrc,
|
|
@@ -75839,7 +75840,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
75839
75840
|
const s = o.createInitialContent({
|
|
75840
75841
|
userState: n.$state,
|
|
75841
75842
|
brandPageType: i.brandPageType
|
|
75842
|
-
}), r =
|
|
75843
|
+
}), r = m9()[s.type], a = Object.keys(
|
|
75843
75844
|
s
|
|
75844
75845
|
).filter((h) => Qh.every((g) => g !== h)).reduce((h, g) => {
|
|
75845
75846
|
var m;
|
|
@@ -75932,7 +75933,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
75932
75933
|
throw new Error("content item id should be unique");
|
|
75933
75934
|
}
|
|
75934
75935
|
e.items.forEach((t) => {
|
|
75935
|
-
const n =
|
|
75936
|
+
const n = m9()[t.type];
|
|
75936
75937
|
if (!n) {
|
|
75937
75938
|
process.env.NODE_ENV !== "production" && console.error(
|
|
75938
75939
|
`Unable to locate content settings config by type '${t.type}'`
|
|
@@ -75956,7 +75957,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
75956
75957
|
process.env.NODE_ENV !== "production" && console.error(`unable to locate content item by id '${e.id}'`);
|
|
75957
75958
|
return;
|
|
75958
75959
|
}
|
|
75959
|
-
const i =
|
|
75960
|
+
const i = m9()[n.type];
|
|
75960
75961
|
if (!i) {
|
|
75961
75962
|
process.env.NODE_ENV !== "production" && console.error(`unable to locate config by type '${n.type}'`);
|
|
75962
75963
|
return;
|
|
@@ -76010,7 +76011,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76010
76011
|
this.itemStates[e.id] || (this.setItemState({
|
|
76011
76012
|
id: e.id,
|
|
76012
76013
|
itemState: { ...VH1(), ...t || {} }
|
|
76013
|
-
}), (n =
|
|
76014
|
+
}), (n = m9()[e.type].fieldGroups) == null || n.map((i) => i.id).forEach(
|
|
76014
76015
|
(i) => this.initialiseItemGroupState({ id: e.id, groupId: i })
|
|
76015
76016
|
));
|
|
76016
76017
|
},
|
|
@@ -76079,7 +76080,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76079
76080
|
selectedItemTemplate() {
|
|
76080
76081
|
const e = this.selectedItem;
|
|
76081
76082
|
if (e)
|
|
76082
|
-
return
|
|
76083
|
+
return m9()[e.type];
|
|
76083
76084
|
}
|
|
76084
76085
|
}
|
|
76085
76086
|
}), $J1 = {
|
|
@@ -76245,7 +76246,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76245
76246
|
setBackgroundMedia(e) {
|
|
76246
76247
|
if (e.type === "getty-video") {
|
|
76247
76248
|
const t = e;
|
|
76248
|
-
|
|
76249
|
+
o9().setVideoUrlsWithToken(
|
|
76249
76250
|
t.token,
|
|
76250
76251
|
t.videoSrc,
|
|
76251
76252
|
t.imageSrc,
|
|
@@ -76417,7 +76418,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76417
76418
|
applyLogoDesignAttributes(e) {
|
|
76418
76419
|
const t = J2(), n = i5();
|
|
76419
76420
|
t.setLogoTheme({
|
|
76420
|
-
logoTheme:
|
|
76421
|
+
logoTheme: L9(e.logoTheme)
|
|
76421
76422
|
}), n.setRecommendedLogoColors({
|
|
76422
76423
|
recommendedLogoColors: e.recommendedLogoColors
|
|
76423
76424
|
}), n.setLogoColors({
|
|
@@ -76513,7 +76514,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76513
76514
|
}, e);
|
|
76514
76515
|
}), OJ1 = () => {
|
|
76515
76516
|
const e = N2(), t = C2(), n = e.features;
|
|
76516
|
-
return Object.values(
|
|
76517
|
+
return Object.values(m9()).filter((i) => i.type !== "image" || n.canAddImageContents).filter(
|
|
76517
76518
|
(i) => i.brandPageType === void 0 || i.brandPageType.includes(t.brandPageType)
|
|
76518
76519
|
);
|
|
76519
76520
|
}, DJ1 = (e) => {
|
|
@@ -76523,7 +76524,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76523
76524
|
)
|
|
76524
76525
|
});
|
|
76525
76526
|
}, NJ1 = (e, t) => (n) => {
|
|
76526
|
-
const i =
|
|
76527
|
+
const i = L9(n.logoTheme), { model: o } = ot(
|
|
76527
76528
|
i,
|
|
76528
76529
|
new t7({ contents: e, styles: new vn() })
|
|
76529
76530
|
), s = cc(
|
|
@@ -76589,7 +76590,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76589
76590
|
);
|
|
76590
76591
|
return;
|
|
76591
76592
|
}
|
|
76592
|
-
const s =
|
|
76593
|
+
const s = L9(o.logoTheme), r = cc(
|
|
76593
76594
|
o.logoImageUrl
|
|
76594
76595
|
);
|
|
76595
76596
|
n.setSelectedLogoImageToAll({
|
|
@@ -76923,7 +76924,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76923
76924
|
},
|
|
76924
76925
|
async applySelectedTemplate() {
|
|
76925
76926
|
var V, x, N;
|
|
76926
|
-
const e = J2(), t = ze(), n = n5(), i = K6(), o =
|
|
76927
|
+
const e = J2(), t = ze(), n = n5(), i = K6(), o = f9(), s = i5(), r = N2(), a = w2(), l = x3(), d = G4(), c = H4();
|
|
76927
76928
|
if (!this.selectedTemplateId)
|
|
76928
76929
|
return;
|
|
76929
76930
|
let u = i.getTemplateByTemplateId(
|
|
@@ -76960,7 +76961,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
76960
76961
|
else {
|
|
76961
76962
|
const Z = ((x = t.selectedLogoTemplateImage) == null ? void 0 : x.logoTemplateVersion) ?? 0, F = (N = d.editableLogoVariations[Z]) == null ? void 0 : N.logoTheme;
|
|
76962
76963
|
F && e.setLogoTheme({
|
|
76963
|
-
logoTheme:
|
|
76964
|
+
logoTheme: L9(F)
|
|
76964
76965
|
});
|
|
76965
76966
|
}
|
|
76966
76967
|
const $ = v8(g);
|
|
@@ -77068,7 +77069,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
77068
77069
|
label: V2("saveSuccess"),
|
|
77069
77070
|
description: e.noDescription ? "" : t
|
|
77070
77071
|
}
|
|
77071
|
-
}),
|
|
77072
|
+
}), J6().reset();
|
|
77072
77073
|
},
|
|
77073
77074
|
hideChangeTemplateConfirmModal() {
|
|
77074
77075
|
this.setIsChangeTemplateConfirmModalVisible({
|
|
@@ -77132,11 +77133,11 @@ const x3 = ie("uiContentSettings", {
|
|
|
77132
77133
|
* feature flag is on — see `BrandPageMaker.mixin.ts`).
|
|
77133
77134
|
*/
|
|
77134
77135
|
_captureTemplateSwitchIfEnabled() {
|
|
77135
|
-
const e =
|
|
77136
|
+
const e = J6();
|
|
77136
77137
|
e.baselineCaptured && e.captureTemplateSwitch();
|
|
77137
77138
|
},
|
|
77138
77139
|
async applyHistorySnapshot(e, t, n) {
|
|
77139
|
-
const i = n5(), o =
|
|
77140
|
+
const i = n5(), o = f9(), s = i5(), r = ue(), a = u4();
|
|
77140
77141
|
this.initialisePagesForCurrentPage({
|
|
77141
77142
|
pages: e.pages,
|
|
77142
77143
|
sections: {
|
|
@@ -77254,7 +77255,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
77254
77255
|
// TODO: refactor and extend this method for initialise stores.
|
|
77255
77256
|
// TODO: waiting to do undo/redo feature to extend this functionality
|
|
77256
77257
|
async initialiseStoresByBrandPageModelAsync(e) {
|
|
77257
|
-
const t = ue(), n = i5(), i = n5(), o =
|
|
77258
|
+
const t = ue(), n = i5(), i = n5(), o = f9();
|
|
77258
77259
|
t.setNav({ nav: e.nav }), this.initialisePagesForCurrentPage({
|
|
77259
77260
|
pages: e.pages,
|
|
77260
77261
|
sections: {
|
|
@@ -77332,10 +77333,10 @@ const x3 = ie("uiContentSettings", {
|
|
|
77332
77333
|
isServerRenderOverride: h = !1
|
|
77333
77334
|
}) {
|
|
77334
77335
|
var x, N, $, Z, F, Y, t1;
|
|
77335
|
-
const g = w2(), m = N2(), y = J2(), w = K6(), v = ze(), S = G4(), M = i5(), _ = n5(), V =
|
|
77336
|
+
const g = w2(), m = N2(), y = J2(), w = K6(), v = ze(), S = G4(), M = i5(), _ = n5(), V = f9();
|
|
77336
77337
|
E4(), V.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
|
|
77337
77338
|
try {
|
|
77338
|
-
const G =
|
|
77339
|
+
const G = L9(
|
|
77339
77340
|
n.logoTheme
|
|
77340
77341
|
), n1 = typeof e == "string" ? JSON.parse(e) : new t7(e), J = t || n1.brandPageType || u1.default;
|
|
77341
77342
|
this.setBrandPageType({
|
|
@@ -77375,7 +77376,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
77375
77376
|
}), this.brandPageType === u1.brandSite && (this.viewport = W1.desktop), w.setTemplateType({
|
|
77376
77377
|
templateType: FJ1[J]
|
|
77377
77378
|
}), y.setLogoTheme({
|
|
77378
|
-
logoTheme:
|
|
77379
|
+
logoTheme: L9(
|
|
77379
77380
|
n.logoTheme
|
|
77380
77381
|
)
|
|
77381
77382
|
}), y.setIsPersonalisationEnabled({ isPersonalisationEnabled: r }), s && s.length > 0 && y.setUserPersonalisationData({
|
|
@@ -77635,7 +77636,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
77635
77636
|
);
|
|
77636
77637
|
},
|
|
77637
77638
|
brandPageData() {
|
|
77638
|
-
const e = M3(), t = i5(), n = n5(), i =
|
|
77639
|
+
const e = M3(), t = i5(), n = n5(), i = f9(), o = u4(), s = ue(), r = e.pages.map((m) => ({
|
|
77639
77640
|
...m,
|
|
77640
77641
|
contents: m.contents.map((y) => y.settings.content)
|
|
77641
77642
|
})), a = t.backgroundStyles, l = n.logoStyles, d = n.buttonStyles, c = n.textStyles, u = n.galleryStyles, h = i.navigation, g = s.nav;
|
|
@@ -77685,7 +77686,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
77685
77686
|
return w2().brandPageSlug || "";
|
|
77686
77687
|
},
|
|
77687
77688
|
brandPageTemplate() {
|
|
77688
|
-
const e = M3(), t = i5(), n = n5(), i =
|
|
77689
|
+
const e = M3(), t = i5(), n = n5(), i = f9(), o = e.pages.map((g) => ({
|
|
77689
77690
|
...g,
|
|
77690
77691
|
contents: g.contents.map((m) => m.settings.content).map(M_1).map(k_1)
|
|
77691
77692
|
})), s = t.backgroundStyles, r = n.logoStyles, a = n.buttonStyles, l = n.textStyles, d = n.galleryStyles, c = i.navigation, h = ue().nav;
|
|
@@ -77745,7 +77746,7 @@ const x3 = ie("uiContentSettings", {
|
|
|
77745
77746
|
return w2().brandPageTitle;
|
|
77746
77747
|
},
|
|
77747
77748
|
brandPageViewModel() {
|
|
77748
|
-
const e = N2(), t = J2(), n =
|
|
77749
|
+
const e = N2(), t = J2(), n = o9(), i = w2();
|
|
77749
77750
|
if (e.isAdmin && t.logoTheme) {
|
|
77750
77751
|
const s = ot(
|
|
77751
77752
|
t.logoTheme,
|
|
@@ -78777,7 +78778,7 @@ const xn = ie("snapshot", {
|
|
|
78777
78778
|
}, rg = {
|
|
78778
78779
|
convertBackToMultipleValues: !1,
|
|
78779
78780
|
convert(e) {
|
|
78780
|
-
return e.fontSize ? Math.ceil(parseFloat(
|
|
78781
|
+
return e.fontSize ? Math.ceil(parseFloat(p9(e.fontSize))).toString() : hx.toString();
|
|
78781
78782
|
},
|
|
78782
78783
|
convertBack(e) {
|
|
78783
78784
|
return {
|
|
@@ -79048,7 +79049,7 @@ const xn = ie("snapshot", {
|
|
|
79048
79049
|
}, ag = (e, t) => t.isBrandSite, wT = (e, t) => t.isBrandPage || t.isBrandContact, eh = (e) => !!(e != null && e.imageUrl), bT = (e) => {
|
|
79049
79050
|
var t;
|
|
79050
79051
|
return (((t = e == null ? void 0 : e.images) == null ? void 0 : t.length) || 0) > 0;
|
|
79051
|
-
}, wQ1 = (e) => (e == null ? void 0 : e.requestPaymentConfig.paymentOptionDisplayType) !== "text", bQ1 = (e) => (e == null ? void 0 : e.displayStyle) !== "text", vQ1 = (e) => e.displayStyle === ye, SQ1 = (e) => e.displayStyle === ye, _Q1 = (e) => (e == null ? void 0 : e.displayStyle) === "columns", MQ1 = (e) => e && (e == null ? void 0 : e.displayStyle) ===
|
|
79052
|
+
}, wQ1 = (e) => (e == null ? void 0 : e.requestPaymentConfig.paymentOptionDisplayType) !== "text", bQ1 = (e) => (e == null ? void 0 : e.displayStyle) !== "text", vQ1 = (e) => e.displayStyle === ye, SQ1 = (e) => e.displayStyle === ye, _Q1 = (e) => (e == null ? void 0 : e.displayStyle) === "columns", MQ1 = (e) => e && (e == null ? void 0 : e.displayStyle) === x9 ? "images" : "text-image-items", kQ1 = (e) => e && (e == null ? void 0 : e.displayStyle) === x9 ? "shape-items" : "text-image-items", LQ1 = (e) => (e == null ? void 0 : e.dividerStyle) !== "none", Ly = (e) => !!(e != null && e.colorReplacements && (e != null && e.imageUrl) && (e == null ? void 0 : e.mediaType) === "shape"), TQ1 = (e) => !!(e != null && e.colorReplacements && (e != null && e.avatarImageUrl) && (e == null ? void 0 : e.mediaType) === "shape"), L6 = (e) => !!(e != null && e.colorReplacements && (e != null && e.iconUrl) && (e == null ? void 0 : e.mediaType) === "shape"), VQ1 = (e, t) => !!(e != null && e.layoutStyle && [
|
|
79052
79053
|
ye,
|
|
79053
79054
|
F0,
|
|
79054
79055
|
W6,
|
|
@@ -79073,7 +79074,7 @@ const xn = ie("snapshot", {
|
|
|
79073
79074
|
return {};
|
|
79074
79075
|
const n = e.pages.flatMap((a) => a.contents).find((a) => a.id === t), i = ((s = n.backgroundColor) == null ? void 0 : s.background) || ((r = n.backgroundColor) == null ? void 0 : r.backgroundColor);
|
|
79075
79076
|
return {
|
|
79076
|
-
color: i && !
|
|
79077
|
+
color: i && !I9(i) ? re(e.styles.buttonStyles.style.color) : re(e.styles.textStyles.style.color)
|
|
79077
79078
|
};
|
|
79078
79079
|
}, IQ1 = (e) => ({
|
|
79079
79080
|
backgroundColor: re(
|
|
@@ -79083,7 +79084,7 @@ const xn = ie("snapshot", {
|
|
|
79083
79084
|
var s, r;
|
|
79084
79085
|
const n = e.pages.flatMap((a) => a.contents).find((a) => a.id === t), i = ((s = n.backgroundColor) == null ? void 0 : s.background) || ((r = n.backgroundColor) == null ? void 0 : r.backgroundColor);
|
|
79085
79086
|
return {
|
|
79086
|
-
color: i && !
|
|
79087
|
+
color: i && !I9(i) ? re(e.styles.buttonStyles.style.color) : re(e.styles.textStyles.style.color)
|
|
79087
79088
|
};
|
|
79088
79089
|
}, EQ1 = (e) => ({
|
|
79089
79090
|
borderColor: e.styles.buttonStyles.style.backgroundColor
|
|
@@ -79155,8 +79156,8 @@ const xn = ie("snapshot", {
|
|
|
79155
79156
|
},
|
|
79156
79157
|
{
|
|
79157
79158
|
title: "",
|
|
79158
|
-
value:
|
|
79159
|
-
isSelected: n ===
|
|
79159
|
+
value: x9,
|
|
79160
|
+
isSelected: n === x9,
|
|
79160
79161
|
iconName: "display-style-images-4",
|
|
79161
79162
|
iconViewBox: "0 0 50 25",
|
|
79162
79163
|
dataAttribute: "data-test-btn-image-only"
|
|
@@ -79298,7 +79299,7 @@ const xn = ie("snapshot", {
|
|
|
79298
79299
|
j6,
|
|
79299
79300
|
Q0
|
|
79300
79301
|
].includes(e.displayStyle));
|
|
79301
|
-
}, _B = (e) => e ? e.displayStyle !==
|
|
79302
|
+
}, _B = (e) => e ? e.displayStyle !== x9 : !1, MB = (e) => {
|
|
79302
79303
|
switch (e == null ? void 0 : e.buttonLinkType) {
|
|
79303
79304
|
case "url":
|
|
79304
79305
|
return (e == null ? void 0 : e.type) === "booking-section" ? "booking-url" : "url";
|
|
@@ -79853,7 +79854,7 @@ const xn = ie("snapshot", {
|
|
|
79853
79854
|
type: "website",
|
|
79854
79855
|
brandPageType: [u1.default, u1.brandContact],
|
|
79855
79856
|
category: "general",
|
|
79856
|
-
createInitialContent: (e) =>
|
|
79857
|
+
createInitialContent: (e) => t9("website", "globe", e)(),
|
|
79857
79858
|
displayMode: z3.focused,
|
|
79858
79859
|
displayName: D("websiteDisplayName"),
|
|
79859
79860
|
defaultIconName: "maker-globe",
|
|
@@ -79902,7 +79903,7 @@ const xn = ie("snapshot", {
|
|
|
79902
79903
|
type: "email",
|
|
79903
79904
|
brandPageType: [u1.default, u1.brandContact],
|
|
79904
79905
|
category: "general",
|
|
79905
|
-
createInitialContent: (e) =>
|
|
79906
|
+
createInitialContent: (e) => t9("email", "email", e)(),
|
|
79906
79907
|
displayMode: z3.focused,
|
|
79907
79908
|
displayName: D("emailDisplayName"),
|
|
79908
79909
|
defaultIconName: "maker-email",
|
|
@@ -80058,7 +80059,7 @@ const xn = ie("snapshot", {
|
|
|
80058
80059
|
type: "phone",
|
|
80059
80060
|
brandPageType: [u1.default, u1.brandContact],
|
|
80060
80061
|
category: "general",
|
|
80061
|
-
createInitialContent: (e) =>
|
|
80062
|
+
createInitialContent: (e) => t9("phone", "phone", e)(),
|
|
80062
80063
|
displayMode: z3.focused,
|
|
80063
80064
|
displayName: D("phoneDisplayName"),
|
|
80064
80065
|
defaultIconName: "phone",
|
|
@@ -80198,7 +80199,7 @@ const xn = ie("snapshot", {
|
|
|
80198
80199
|
type: "facebook",
|
|
80199
80200
|
brandPageType: [u1.default, u1.brandContact],
|
|
80200
80201
|
category: "social-links",
|
|
80201
|
-
createInitialContent: (e) =>
|
|
80202
|
+
createInitialContent: (e) => t9("facebook", "facebook", e)(),
|
|
80202
80203
|
displayMode: z3.focused,
|
|
80203
80204
|
displayName: D("facebookDisplayName"),
|
|
80204
80205
|
defaultIconName: "maker-facebook",
|
|
@@ -80247,7 +80248,7 @@ const xn = ie("snapshot", {
|
|
|
80247
80248
|
brandPageType: [u1.default, u1.brandContact],
|
|
80248
80249
|
category: "social-links",
|
|
80249
80250
|
displayMode: z3.focused,
|
|
80250
|
-
createInitialContent: (e) =>
|
|
80251
|
+
createInitialContent: (e) => t9("x", "x", e)(),
|
|
80251
80252
|
displayName: D("twitterDisplayName"),
|
|
80252
80253
|
defaultIconName: "maker-twitter",
|
|
80253
80254
|
fieldGroups: g4(),
|
|
@@ -80294,7 +80295,7 @@ const xn = ie("snapshot", {
|
|
|
80294
80295
|
type: "instagram",
|
|
80295
80296
|
brandPageType: [u1.default, u1.brandContact],
|
|
80296
80297
|
category: "social-links",
|
|
80297
|
-
createInitialContent: (e) =>
|
|
80298
|
+
createInitialContent: (e) => t9("instagram", "instagram", e)(),
|
|
80298
80299
|
displayMode: z3.focused,
|
|
80299
80300
|
displayName: D("instagramDisplayName"),
|
|
80300
80301
|
defaultIconName: "maker-instagram",
|
|
@@ -80342,7 +80343,7 @@ const xn = ie("snapshot", {
|
|
|
80342
80343
|
type: "youtube",
|
|
80343
80344
|
brandPageType: [u1.default, u1.brandContact],
|
|
80344
80345
|
category: "social-links",
|
|
80345
|
-
createInitialContent: (e) =>
|
|
80346
|
+
createInitialContent: (e) => t9("youtube", "youtube", e)(),
|
|
80346
80347
|
displayMode: z3.focused,
|
|
80347
80348
|
displayName: D("youtubeDisplayName"),
|
|
80348
80349
|
defaultIconName: "maker-youtube",
|
|
@@ -80390,7 +80391,7 @@ const xn = ie("snapshot", {
|
|
|
80390
80391
|
type: "linkedin",
|
|
80391
80392
|
brandPageType: [u1.default, u1.brandContact],
|
|
80392
80393
|
category: "social-links",
|
|
80393
|
-
createInitialContent: (e) =>
|
|
80394
|
+
createInitialContent: (e) => t9("linkedin", "linkedin", e)(),
|
|
80394
80395
|
displayMode: z3.focused,
|
|
80395
80396
|
displayName: D("linkedinDisplayName"),
|
|
80396
80397
|
defaultIconName: "maker-linkedin",
|
|
@@ -80438,7 +80439,7 @@ const xn = ie("snapshot", {
|
|
|
80438
80439
|
type: "pinterest",
|
|
80439
80440
|
brandPageType: [u1.default, u1.brandContact],
|
|
80440
80441
|
category: "social-links",
|
|
80441
|
-
createInitialContent: (e) =>
|
|
80442
|
+
createInitialContent: (e) => t9("pinterest", "pinterest", e)(),
|
|
80442
80443
|
displayMode: z3.focused,
|
|
80443
80444
|
displayName: D("pinterestDisplayName"),
|
|
80444
80445
|
defaultIconName: "maker-pinterest",
|
|
@@ -80486,7 +80487,7 @@ const xn = ie("snapshot", {
|
|
|
80486
80487
|
type: "twitch",
|
|
80487
80488
|
brandPageType: [u1.default, u1.brandContact],
|
|
80488
80489
|
category: "social-links",
|
|
80489
|
-
createInitialContent: (e) =>
|
|
80490
|
+
createInitialContent: (e) => t9("twitch", "twitch", e)(),
|
|
80490
80491
|
displayMode: z3.focused,
|
|
80491
80492
|
displayName: D("twitchDisplayName"),
|
|
80492
80493
|
defaultIconName: "maker-twitch",
|
|
@@ -80534,7 +80535,7 @@ const xn = ie("snapshot", {
|
|
|
80534
80535
|
type: "tiktok",
|
|
80535
80536
|
brandPageType: [u1.default, u1.brandContact],
|
|
80536
80537
|
category: "social-links",
|
|
80537
|
-
createInitialContent: (e) =>
|
|
80538
|
+
createInitialContent: (e) => t9("tiktok", "tiktok", e)(),
|
|
80538
80539
|
displayMode: z3.focused,
|
|
80539
80540
|
displayName: D("tiktokDisplayName"),
|
|
80540
80541
|
defaultIconName: "maker-tiktok",
|
|
@@ -81896,7 +81897,7 @@ const xn = ie("snapshot", {
|
|
|
81896
81897
|
},
|
|
81897
81898
|
isEnabled: !0,
|
|
81898
81899
|
isLocked: !1
|
|
81899
|
-
}),
|
|
81900
|
+
}), m9 = () => ({
|
|
81900
81901
|
logo: e12(),
|
|
81901
81902
|
"general-link": t12(),
|
|
81902
81903
|
profile: n12(),
|
|
@@ -85541,7 +85542,7 @@ const t42 = /* @__PURE__ */ b(Je2, [["render", e42]]), n42 = {
|
|
|
85541
85542
|
x = "";
|
|
85542
85543
|
r.value = x, a.value = x, d.value = x;
|
|
85543
85544
|
}), v3(() => {
|
|
85544
|
-
const x = !!(r.value && typeof r.value == "string" && !
|
|
85545
|
+
const x = !!(r.value && typeof r.value == "string" && !I9(r.value));
|
|
85545
85546
|
i("on-toggle-state-change", x), s.value = !0;
|
|
85546
85547
|
}), U2(
|
|
85547
85548
|
() => n.isToggled,
|
|
@@ -85800,7 +85801,7 @@ const BT = /* @__PURE__ */ b(b42, [["render", v42]]), S42 = "image/png, image/jp
|
|
|
85800
85801
|
if (((e = this.content) == null ? void 0 : e.type) === "banner-section" && ((n = (t = this.content) == null ? void 0 : t.media) == null ? void 0 : n.type) === "getty-video" && this.name === "imageUrl") {
|
|
85801
85802
|
const o = (i = this.content) == null ? void 0 : i.media.gettyToken;
|
|
85802
85803
|
if (o) {
|
|
85803
|
-
const r =
|
|
85804
|
+
const r = o9().getVideoUrlsForToken(o);
|
|
85804
85805
|
if (r != null && r.previewImageUrl)
|
|
85805
85806
|
return r.previewImageUrl;
|
|
85806
85807
|
}
|
|
@@ -88283,7 +88284,7 @@ const z62 = { "data-component": "video-library" }, q62 = {
|
|
|
88283
88284
|
mediaType: { default: "" }
|
|
88284
88285
|
},
|
|
88285
88286
|
setup(e) {
|
|
88286
|
-
const t = e, n = [".png", ".ico"], i = C2(), o = N2(), s = i5(), r =
|
|
88287
|
+
const t = e, n = [".png", ".ico"], i = C2(), o = N2(), s = i5(), r = o9(), a = x3(), l = _3(), d = T(() => s.backgroundMode), c = T(() => o.isAdmin), u = T(() => {
|
|
88287
88288
|
var x;
|
|
88288
88289
|
return (x = i.fieldSettings) == null ? void 0 : x.replaceImageSettings;
|
|
88289
88290
|
}), h = T(() => {
|
|
@@ -88394,7 +88395,7 @@ const z62 = { "data-component": "video-library" }, q62 = {
|
|
|
88394
88395
|
if (s1.endsWith(".svg"))
|
|
88395
88396
|
return "";
|
|
88396
88397
|
if (j && j.type === "getty-video") {
|
|
88397
|
-
const o2 =
|
|
88398
|
+
const o2 = o9().getVideoUrlsForToken(j.gettyToken);
|
|
88398
88399
|
return (o2 == null ? void 0 : o2.previewImageUrl) || "";
|
|
88399
88400
|
}
|
|
88400
88401
|
return s1;
|
|
@@ -88770,7 +88771,7 @@ function q92(e, t, n, i, o, s) {
|
|
|
88770
88771
|
}
|
|
88771
88772
|
const G92 = /* @__PURE__ */ b(z92, [["render", q92], ["__scopeId", "data-v-0cd8c1a4"]]), qT = e1({
|
|
88772
88773
|
setup() {
|
|
88773
|
-
const e = C2(), t = x3(), n = M3(), i = ue(), o = n5(), s = N2(), r = _3(), a =
|
|
88774
|
+
const e = C2(), t = x3(), n = M3(), i = ue(), o = n5(), s = N2(), r = _3(), a = J6(), { externalEditor: l } = N7();
|
|
88774
88775
|
return {
|
|
88775
88776
|
mode: T(() => t.mode),
|
|
88776
88777
|
pages: T(() => n.pages),
|
|
@@ -90751,7 +90752,7 @@ const O82 = /* @__PURE__ */ b(E82, [["render", $82], ["__scopeId", "data-v-8240b
|
|
|
90751
90752
|
g.token
|
|
90752
90753
|
);
|
|
90753
90754
|
S && y.setLogoTheme({
|
|
90754
|
-
logoTheme:
|
|
90755
|
+
logoTheme: L9(S.logoTheme)
|
|
90755
90756
|
});
|
|
90756
90757
|
}
|
|
90757
90758
|
}, h = (g) => {
|
|
@@ -91109,7 +91110,7 @@ const QB = /* @__PURE__ */ b(C72, [["render", p72]]), h72 = (e) => {
|
|
|
91109
91110
|
}
|
|
91110
91111
|
},
|
|
91111
91112
|
setup() {
|
|
91112
|
-
const e = w2(), t = M3(), n = mB(), i = u4(), o =
|
|
91113
|
+
const e = w2(), t = M3(), n = mB(), i = u4(), o = J6();
|
|
91113
91114
|
return {
|
|
91114
91115
|
brandPageToken: T(() => e.brandPageToken),
|
|
91115
91116
|
isPaymentConfigSetupVisible: T(
|
|
@@ -91140,27 +91141,27 @@ const QB = /* @__PURE__ */ b(C72, [["render", p72]]), h72 = (e) => {
|
|
|
91140
91141
|
var e;
|
|
91141
91142
|
switch ((e = this.value.paymentConfig) == null ? void 0 : e.status) {
|
|
91142
91143
|
case "PendingPreOnboarding":
|
|
91143
|
-
return
|
|
91144
|
+
return h9("pendingPreOnboardingLabel");
|
|
91144
91145
|
case "PendingPostOnboarding":
|
|
91145
|
-
return
|
|
91146
|
+
return h9("pendingPostOnboardingLabel");
|
|
91146
91147
|
default:
|
|
91147
|
-
return
|
|
91148
|
+
return h9("defaultLabel");
|
|
91148
91149
|
}
|
|
91149
91150
|
},
|
|
91150
91151
|
requiredActionHelloBarDescription() {
|
|
91151
91152
|
var e;
|
|
91152
91153
|
switch ((e = this.value.paymentConfig) == null ? void 0 : e.status) {
|
|
91153
91154
|
case "PendingPreOnboarding":
|
|
91154
|
-
return
|
|
91155
|
+
return h9("pendingPreOnboardingDescription");
|
|
91155
91156
|
case "PendingPostOnboarding":
|
|
91156
|
-
return
|
|
91157
|
+
return h9("pendingPostOnboardingDescription");
|
|
91157
91158
|
default:
|
|
91158
91159
|
return;
|
|
91159
91160
|
}
|
|
91160
91161
|
},
|
|
91161
91162
|
requiredActionCtaLabel() {
|
|
91162
91163
|
var e;
|
|
91163
|
-
return `${
|
|
91164
|
+
return `${h9("requiredActionCtaLabel")}${(e = this.value.paymentConfig) == null ? void 0 : e.paymentProviderName}`;
|
|
91164
91165
|
},
|
|
91165
91166
|
requiredActionCtaTarget() {
|
|
91166
91167
|
var e;
|
|
@@ -91245,7 +91246,7 @@ const QB = /* @__PURE__ */ b(C72, [["render", p72]]), h72 = (e) => {
|
|
|
91245
91246
|
setup(e, t) {
|
|
91246
91247
|
return {
|
|
91247
91248
|
...JT.setup(e, t),
|
|
91248
|
-
paymentConfigTr:
|
|
91249
|
+
paymentConfigTr: h9
|
|
91249
91250
|
};
|
|
91250
91251
|
}
|
|
91251
91252
|
}, m72 = {
|
|
@@ -91621,7 +91622,7 @@ const jt = /* @__PURE__ */ b(H72, [["render", N72]]), R72 = {
|
|
|
91621
91622
|
setup() {
|
|
91622
91623
|
return {
|
|
91623
91624
|
commonTr: V2,
|
|
91624
|
-
paymentConfigTr:
|
|
91625
|
+
paymentConfigTr: h9
|
|
91625
91626
|
};
|
|
91626
91627
|
}
|
|
91627
91628
|
}, Z72 = {
|
|
@@ -91754,7 +91755,7 @@ const t$ = /* @__PURE__ */ b(R72, [["render", Y72]]), X72 = {
|
|
|
91754
91755
|
mixins: [f72],
|
|
91755
91756
|
setup() {
|
|
91756
91757
|
return {
|
|
91757
|
-
paymentConfigTr:
|
|
91758
|
+
paymentConfigTr: h9
|
|
91758
91759
|
};
|
|
91759
91760
|
}
|
|
91760
91761
|
}, J72 = { class: "tw-mb-2 tw-text-sm tw-font-bold" }, Q72 = { class: "tw-flex tw-flex-row tw-mb-2" }, et2 = { class: "tw-grow tw-text-sm" }, tt2 = { class: "tw-flex tw-flex-row" }, nt2 = { class: "tw-grow tw-text-sm" };
|
|
@@ -95061,7 +95062,7 @@ const Jp2 = /* @__PURE__ */ b(Kp2, [["render", Xp2]]), Qp2 = {
|
|
|
95061
95062
|
};
|
|
95062
95063
|
function th2(e, t, n, i, o, s) {
|
|
95063
95064
|
return C(), f("div", eh2, [
|
|
95064
|
-
(C(), B(
|
|
95065
|
+
(C(), B(Q6(n.fontFamily), {
|
|
95065
95066
|
class: O([n.innerClass, "tw-w-full tw-px-5 tw-box-border"])
|
|
95066
95067
|
}, null, 8, ["class"]))
|
|
95067
95068
|
]);
|
|
@@ -95488,7 +95489,7 @@ const Pc = /* @__PURE__ */ b(uh2, [["render", fh2]]), gh2 = {
|
|
|
95488
95489
|
},
|
|
95489
95490
|
emits: ["update:modelValue"],
|
|
95490
95491
|
setup(e, { emit: t }) {
|
|
95491
|
-
const n = e, i = t, o = ue(), s = M3(), r = N2(), a =
|
|
95492
|
+
const n = e, i = t, o = ue(), s = M3(), r = N2(), a = J6(), l = d1(""), d = T(() => {
|
|
95492
95493
|
var y;
|
|
95493
95494
|
return (y = o.routes.find((w) => w.pageId === n.value)) == null ? void 0 : y.pageId;
|
|
95494
95495
|
}), c = T(() => r.features.maxNumOfPages < 0 || s.pages.length < r.features.maxNumOfPages), u = T(() => c.value ? "outline" : "primary");
|
|
@@ -97581,7 +97582,7 @@ const s$ = /* @__PURE__ */ b(Ef2, [["render", Bf2], ["__scopeId", "data-v-b7154e
|
|
|
97581
97582
|
mixins: [Hg2],
|
|
97582
97583
|
setup() {
|
|
97583
97584
|
return {
|
|
97584
|
-
paymentConfigTr:
|
|
97585
|
+
paymentConfigTr: h9
|
|
97585
97586
|
};
|
|
97586
97587
|
}
|
|
97587
97588
|
}, Ig2 = {
|
|
@@ -99685,7 +99686,7 @@ function Ny2(e, t, n, i, o, s) {
|
|
|
99685
99686
|
color: "primary"
|
|
99686
99687
|
}, null, 8, ["id", "modelValue"])) : k("", !0)
|
|
99687
99688
|
], 2)) : k("", !0),
|
|
99688
|
-
o3((C(), B(
|
|
99689
|
+
o3((C(), B(Q6(`${e.fieldType}-field`), {
|
|
99689
99690
|
id: e.id,
|
|
99690
99691
|
key: e.showRichTextEditor ? `rte-${e.id}-${e.richTextEditorKey}` : `field-${e.id}`,
|
|
99691
99692
|
attrs: {
|
|
@@ -99810,7 +99811,7 @@ function Gy2(e, t, n, i, o, s) {
|
|
|
99810
99811
|
}
|
|
99811
99812
|
const Wy2 = /* @__PURE__ */ b(Ry2, [["render", Gy2]]), sV = e1({
|
|
99812
99813
|
setup() {
|
|
99813
|
-
const e = C2(), t = x3(), n = N2(), i = M3(), o =
|
|
99814
|
+
const e = C2(), t = x3(), n = N2(), i = M3(), o = o9(), s = _3();
|
|
99814
99815
|
return {
|
|
99815
99816
|
items: T(() => t.items),
|
|
99816
99817
|
selectedItemId: T(() => t.selectedItemId),
|
|
@@ -100283,7 +100284,7 @@ const pw2 = /* @__PURE__ */ b(rw2, [["render", uw2]]), u5 = {
|
|
|
100283
100284
|
}
|
|
100284
100285
|
}, aV = e1({
|
|
100285
100286
|
setup() {
|
|
100286
|
-
const e = C2(), t = J2(), n = N2(), i = M3(), o = x3(), s =
|
|
100287
|
+
const e = C2(), t = J2(), n = N2(), i = M3(), o = x3(), s = f9(), r = w2(), a = _3(), l = ue(), d = (y) => {
|
|
100287
100288
|
i.setPages({ pages: y.map((w) => w.page) });
|
|
100288
100289
|
}, c = T({
|
|
100289
100290
|
get() {
|
|
@@ -100884,7 +100885,7 @@ const _w2 = /* @__PURE__ */ b(mw2, [["render", Sw2]]), Mw2 = {
|
|
|
100884
100885
|
}
|
|
100885
100886
|
},
|
|
100886
100887
|
setup() {
|
|
100887
|
-
const e = C2(), t = M3(), n = n5(), i =
|
|
100888
|
+
const e = C2(), t = M3(), n = n5(), i = f9(), o = x3(), s = J2(), r = w2(), a = H4(), l = G4();
|
|
100888
100889
|
return {
|
|
100889
100890
|
sections: T(() => t.sections),
|
|
100890
100891
|
availableTextFontFamilyOptions: T(
|
|
@@ -100917,7 +100918,7 @@ const _w2 = /* @__PURE__ */ b(mw2, [["render", Sw2]]), Mw2 = {
|
|
|
100917
100918
|
return this.navigation.renderAfterLogo;
|
|
100918
100919
|
},
|
|
100919
100920
|
navigation() {
|
|
100920
|
-
const e =
|
|
100921
|
+
const e = f9();
|
|
100921
100922
|
return this.viewport === W1.mobile ? e.navigation[L2.header][W1.mobile] : e.navigation[L2.header][W1.desktop];
|
|
100922
100923
|
},
|
|
100923
100924
|
header() {
|
|
@@ -101250,7 +101251,7 @@ const _w2 = /* @__PURE__ */ b(mw2, [["render", Sw2]]), Mw2 = {
|
|
|
101250
101251
|
e.token
|
|
101251
101252
|
);
|
|
101252
101253
|
o && t.setLogoTheme({
|
|
101253
|
-
logoTheme:
|
|
101254
|
+
logoTheme: L9(
|
|
101254
101255
|
o.logoTheme
|
|
101255
101256
|
)
|
|
101256
101257
|
});
|
|
@@ -103787,7 +103788,7 @@ const xS2 = /* @__PURE__ */ b(LS2, [["render", HS2], ["__scopeId", "data-v-f3af5
|
|
|
103787
103788
|
}
|
|
103788
103789
|
},
|
|
103789
103790
|
setup() {
|
|
103790
|
-
const e = w2(), t = Uo(), n = C2(), i =
|
|
103791
|
+
const e = w2(), t = Uo(), n = C2(), i = o9();
|
|
103791
103792
|
return {
|
|
103792
103793
|
currentRoute: T(() => t.currentRoute),
|
|
103793
103794
|
isDesignCom: T(() => e.isDesignCom),
|
|
@@ -104028,7 +104029,7 @@ const fV = e1({
|
|
|
104028
104029
|
}), NS2 = { class: "tw-whitespace-nowrap tw-text-sm" }, RS2 = /* @__PURE__ */ e1({
|
|
104029
104030
|
__name: "UndoButton",
|
|
104030
104031
|
setup(e) {
|
|
104031
|
-
const t =
|
|
104032
|
+
const t = J6(), n = Ot(), i = w2(), o = T(
|
|
104032
104033
|
() => !t.canUndo || n.isProcessing || i.isSaving
|
|
104033
104034
|
), s = () => {
|
|
104034
104035
|
o.value || t.undo();
|
|
@@ -104068,7 +104069,7 @@ const fV = e1({
|
|
|
104068
104069
|
}), ZS2 = /* @__PURE__ */ b(RS2, [["__scopeId", "data-v-10e293db"]]), FS2 = { class: "tw-whitespace-nowrap tw-text-sm" }, US2 = /* @__PURE__ */ e1({
|
|
104069
104070
|
__name: "RedoButton",
|
|
104070
104071
|
setup(e) {
|
|
104071
|
-
const t =
|
|
104072
|
+
const t = J6(), n = Ot(), i = w2(), o = T(
|
|
104072
104073
|
() => !t.canRedo || n.isProcessing || i.isSaving
|
|
104073
104074
|
), s = () => {
|
|
104074
104075
|
o.value || t.redo();
|
|
@@ -104954,7 +104955,7 @@ const Y_2 = 100, wV = e1({
|
|
|
104954
104955
|
}
|
|
104955
104956
|
},
|
|
104956
104957
|
setup() {
|
|
104957
|
-
const e = C2(), t = E4(), n = N2(), i = x3(), o = J2(), s = M3(), r = w2(), a = K6(), l = u4(), d = Bn(), c = TN(), u = T4(), h = xn(), { captureSnapshot: g } = K_2(), m =
|
|
104958
|
+
const e = C2(), t = E4(), n = N2(), i = x3(), o = J2(), s = M3(), r = w2(), a = K6(), l = u4(), d = Bn(), c = TN(), u = T4(), h = xn(), { captureSnapshot: g } = K_2(), m = o9(), y = ue();
|
|
104958
104959
|
return {
|
|
104959
104960
|
commonTr: V2,
|
|
104960
104961
|
currentNotificationMessage: T(
|
|
@@ -105080,7 +105081,7 @@ const Y_2 = 100, wV = e1({
|
|
|
105080
105081
|
}).bind(this)
|
|
105081
105082
|
), (d = this.brandPageViewModel.nav.navItems) != null && d[0] && Nt(this.brandPageViewModel.nav.navItems[0].pageId), this.brandPageMakerStore.selectInitialCategories(
|
|
105082
105083
|
this.viewModel.initialCategories
|
|
105083
|
-
), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: W1.mobile }) : this.setViewportBasedOnDeviceWidth(!0), this.brandPageMakerStore.setIsBrandPageLoaded(!0), Oy().value &&
|
|
105084
|
+
), this.isBrandPageOrIsBrandContact ? this.brandPageMakerStore.setViewport({ viewport: W1.mobile }) : this.setViewportBasedOnDeviceWidth(!0), this.brandPageMakerStore.setIsBrandPageLoaded(!0), Oy().value && J6().captureBaseline(), this.$emit(u8.Initialised);
|
|
105084
105085
|
},
|
|
105085
105086
|
mounted() {
|
|
105086
105087
|
window && (window.removeEventListener("resize", this.onResizeWithDebounce), window.addEventListener("resize", this.onResizeWithDebounce)), document.body.classList.contains("sb-main-padded") && document.body.classList.remove("sb-main-padded"), Jx(), this.snapshotStore.registerCaptureCallback(
|
|
@@ -105274,7 +105275,7 @@ const Y_2 = 100, wV = e1({
|
|
|
105274
105275
|
"S3 token was expired in TemplatesSettings and has been refreshed"
|
|
105275
105276
|
);
|
|
105276
105277
|
} catch (a) {
|
|
105277
|
-
console.error("Error checking/refreshing S3 token:", a), a instanceof Error &&
|
|
105278
|
+
console.error("Error checking/refreshing S3 token:", a), a instanceof Error && w9.safeSendRaygunError(a);
|
|
105278
105279
|
}
|
|
105279
105280
|
},
|
|
105280
105281
|
async onNextClicked() {
|
|
@@ -105669,7 +105670,7 @@ const cM2 = /* @__PURE__ */ b(J_2, [["render", dM2], ["__scopeId", "data-v-246f2
|
|
|
105669
105670
|
var i, o;
|
|
105670
105671
|
if (!this.isAdmin)
|
|
105671
105672
|
return;
|
|
105672
|
-
const t =
|
|
105673
|
+
const t = o9();
|
|
105673
105674
|
let n = this.template.brandPageModel;
|
|
105674
105675
|
this.logoImageBase64Url ? n = dE(
|
|
105675
105676
|
n,
|
|
@@ -109025,7 +109026,7 @@ const IV2 = /* @__PURE__ */ b(uV2, [["render", xV2]]), EV2 = { class: "tw-flex t
|
|
|
109025
109026
|
class: "tw-flex-1 tw-overflow-y-auto tw-mb-4"
|
|
109026
109027
|
}, [
|
|
109027
109028
|
F1(d.$slots, "messages", {}, () => [
|
|
109028
|
-
(C(!0), f(L1, null, R1(d.messages, (u, h) => (C(), B(
|
|
109029
|
+
(C(!0), f(L1, null, R1(d.messages, (u, h) => (C(), B(Q6(u.type === "image" ? tH2 : jV2), e3({ key: h }, { ref_for: !0 }, u.props, {
|
|
109029
109030
|
"is-design-com": d.isDesignCom,
|
|
109030
109031
|
onUseText: (g) => d.$emit("use-text", u.props.text),
|
|
109031
109032
|
onStopGeneration: c[0] || (c[0] = (g) => d.$emit("stop-generation")),
|
|
@@ -110137,7 +110138,7 @@ class VH2 extends V6 {
|
|
|
110137
110138
|
}
|
|
110138
110139
|
}
|
|
110139
110140
|
const OV = (e, t) => {
|
|
110140
|
-
const i =
|
|
110141
|
+
const i = m9()[e];
|
|
110141
110142
|
if (!i)
|
|
110142
110143
|
return null;
|
|
110143
110144
|
const o = t ? {
|
|
@@ -110683,7 +110684,7 @@ const cx2 = (e, t) => (n) => {
|
|
|
110683
110684
|
}, Cx2 = (e) => (t) => {
|
|
110684
110685
|
const n = t[e];
|
|
110685
110686
|
return le(n) ? M$(e, n) : null;
|
|
110686
|
-
},
|
|
110687
|
+
}, V9 = (e, t, n) => (i) => {
|
|
110687
110688
|
const o = i[e];
|
|
110688
110689
|
if (!Array.isArray(o)) return null;
|
|
110689
110690
|
for (let s = 0; s < o.length; s++) {
|
|
@@ -110707,7 +110708,7 @@ const cx2 = (e, t) => (n) => {
|
|
|
110707
110708
|
if (r[0]) return r[0];
|
|
110708
110709
|
}
|
|
110709
110710
|
return null;
|
|
110710
|
-
},
|
|
110711
|
+
}, H9 = (e, t) => (n) => {
|
|
110711
110712
|
const i = n[e];
|
|
110712
110713
|
if (!Array.isArray(i)) return null;
|
|
110713
110714
|
for (let o = 0; o < i.length; o++) {
|
|
@@ -111068,8 +111069,8 @@ class UV extends E5 {
|
|
|
111068
111069
|
const Vx2 = [
|
|
111069
111070
|
...ge("text", Zh),
|
|
111070
111071
|
ne("text_style"),
|
|
111071
|
-
|
|
111072
|
-
|
|
111072
|
+
V9("items", "text", Zh),
|
|
111073
|
+
H9("items", "text"),
|
|
111073
111074
|
ux2("items", "text_style"),
|
|
111074
111075
|
I5("column_style", ["1", "2", "3", "4"], "text")
|
|
111075
111076
|
];
|
|
@@ -111236,12 +111237,12 @@ const fg = {
|
|
|
111236
111237
|
ne("testimonial_style"),
|
|
111237
111238
|
ne("name_style"),
|
|
111238
111239
|
ne("position_style"),
|
|
111239
|
-
|
|
111240
|
-
|
|
111241
|
-
|
|
111242
|
-
|
|
111243
|
-
|
|
111244
|
-
|
|
111240
|
+
V9("items", "testimonial", J5),
|
|
111241
|
+
H9("items", "testimonial"),
|
|
111242
|
+
V9("items", "name", me),
|
|
111243
|
+
H9("items", "name"),
|
|
111244
|
+
V9("items", "position", me),
|
|
111245
|
+
H9("items", "position"),
|
|
111245
111246
|
I5(
|
|
111246
111247
|
"display_style",
|
|
111247
111248
|
["centered", "big-image", "columns"],
|
|
@@ -111406,12 +111407,12 @@ const Dx2 = [
|
|
|
111406
111407
|
ne("description_style"),
|
|
111407
111408
|
ne("heading_style"),
|
|
111408
111409
|
ne("paragraph_style"),
|
|
111409
|
-
|
|
111410
|
-
|
|
111411
|
-
|
|
111412
|
-
|
|
111413
|
-
|
|
111414
|
-
|
|
111410
|
+
V9("items", "heading", me),
|
|
111411
|
+
H9("items", "heading"),
|
|
111412
|
+
V9("items", "text", J5),
|
|
111413
|
+
H9("items", "text"),
|
|
111414
|
+
V9("items", "button_text", me),
|
|
111415
|
+
H9("items", "button_text"),
|
|
111415
111416
|
I5(
|
|
111416
111417
|
"display_style",
|
|
111417
111418
|
[
|
|
@@ -111589,10 +111590,10 @@ const Fx2 = [
|
|
|
111589
111590
|
ne("description_style"),
|
|
111590
111591
|
ne("heading_style"),
|
|
111591
111592
|
ne("paragraph_style"),
|
|
111592
|
-
|
|
111593
|
-
|
|
111594
|
-
|
|
111595
|
-
|
|
111593
|
+
V9("items", "heading", me),
|
|
111594
|
+
H9("items", "heading"),
|
|
111595
|
+
V9("items", "text", J5),
|
|
111596
|
+
H9("items", "text"),
|
|
111596
111597
|
I5(
|
|
111597
111598
|
"display_style",
|
|
111598
111599
|
[
|
|
@@ -111836,8 +111837,8 @@ class jV extends E5 {
|
|
|
111836
111837
|
}
|
|
111837
111838
|
}
|
|
111838
111839
|
const Yx2 = [
|
|
111839
|
-
|
|
111840
|
-
|
|
111840
|
+
V9("images", "caption", me),
|
|
111841
|
+
H9("images", "caption"),
|
|
111841
111842
|
I5("gallery_type", ["grid", "carousel", "masonry"], "image-gallery")
|
|
111842
111843
|
];
|
|
111843
111844
|
function Xx2(e, t) {
|
|
@@ -112938,7 +112939,7 @@ class AI2 {
|
|
|
112938
112939
|
const PI2 = 6e5, T0 = new AI2();
|
|
112939
112940
|
let r6 = null;
|
|
112940
112941
|
function BI2() {
|
|
112941
|
-
const e = Ot(), t = xn(), n = C2(), i =
|
|
112942
|
+
const e = Ot(), t = xn(), n = C2(), i = J6(), o = Oy(), s = w2(), r = N2(), a = J2(), l = TI2(T0), d = aQ1(), c = _3(), u = e.messages.length > 0, h = d1(
|
|
112942
112943
|
e.messages.length > 0 ? e.messages : [
|
|
112943
112944
|
{
|
|
112944
112945
|
id: "1",
|
|
@@ -112988,7 +112989,7 @@ function BI2() {
|
|
|
112988
112989
|
const j = new Error(
|
|
112989
112990
|
"There was a disruption in the connection while building your website. Please try again."
|
|
112990
112991
|
);
|
|
112991
|
-
|
|
112992
|
+
w9.safeSendRaygunError(j, {
|
|
112992
112993
|
tags: [
|
|
112993
112994
|
"feature:ai-website-builder",
|
|
112994
112995
|
"failure:websocket_disconnect",
|
|
@@ -113014,7 +113015,7 @@ function BI2() {
|
|
|
113014
113015
|
if (!K) return;
|
|
113015
113016
|
const q = await K.getLogoAttributesByLogoDraftTokenAsync(r1);
|
|
113016
113017
|
if (!(q != null && q.logoTheme)) return;
|
|
113017
|
-
const { logoTextColor: s1, logoBackgroundColor: j } =
|
|
113018
|
+
const { logoTextColor: s1, logoBackgroundColor: j } = L9(
|
|
113018
113019
|
q.logoTheme
|
|
113019
113020
|
), _1 = {};
|
|
113020
113021
|
return s1.rgb && (_1.logoTextColor = s1.rgb), j.rgb && (_1.logoBackgroundColor = j.rgb), Object.keys(_1).length > 0 ? _1 : void 0;
|
|
@@ -113188,7 +113189,7 @@ function BI2() {
|
|
|
113188
113189
|
try {
|
|
113189
113190
|
if (U.length === 0) {
|
|
113190
113191
|
if (!!!(X.message || O2)) {
|
|
113191
|
-
|
|
113192
|
+
w9.safeSendRaygunError(
|
|
113192
113193
|
new Error(
|
|
113193
113194
|
"AI build server_response had empty toolCalls and empty message"
|
|
113194
113195
|
),
|
|
@@ -113246,7 +113247,7 @@ function BI2() {
|
|
|
113246
113247
|
}
|
|
113247
113248
|
G1.buildId && (e.buildId = G1.buildId), n2++;
|
|
113248
113249
|
} catch (g1) {
|
|
113249
|
-
T0.log("server_response apply error", { err: g1 }),
|
|
113250
|
+
T0.log("server_response apply error", { err: g1 }), w9.safeSendRaygunError(
|
|
113250
113251
|
g1 instanceof Error ? g1 : new Error("AI apply failed: non-Error thrown"),
|
|
113251
113252
|
{
|
|
113252
113253
|
tags: [
|
|
@@ -113270,7 +113271,7 @@ function BI2() {
|
|
|
113270
113271
|
if (Q2.type === "server_error" || Q2.type === "build_error") {
|
|
113271
113272
|
U1 = !0, clearTimeout(P2), D2();
|
|
113272
113273
|
const U = Q2;
|
|
113273
|
-
|
|
113274
|
+
w9.safeSendRaygunError(
|
|
113274
113275
|
new Error(
|
|
113275
113276
|
`AI build ${U.type}: ${U.code ?? U.error ?? "unknown"}`
|
|
113276
113277
|
),
|
|
@@ -113349,7 +113350,7 @@ function BI2() {
|
|
|
113349
113350
|
);
|
|
113350
113351
|
w1 !== -1 && (h.value[w1].text = C1 ? M : VI2(E1), h.value[w1].isTyping = !1, h.value[w1].isError = !0);
|
|
113351
113352
|
const x1 = EI2(E1, { stage: "submit" });
|
|
113352
|
-
x1 &&
|
|
113353
|
+
x1 && w9.safeSendRaygunError(x1.error, {
|
|
113353
113354
|
tags: x1.tags,
|
|
113354
113355
|
customData: x1.customData
|
|
113355
113356
|
});
|
|
@@ -113613,7 +113614,7 @@ function QI2(e, t, n, i, o, s) {
|
|
|
113613
113614
|
"has-quick-links": e.isPublished
|
|
113614
113615
|
}, {
|
|
113615
113616
|
tab: o1(() => [
|
|
113616
|
-
e.selectedTabName !== "Preview" ? (C(), B(
|
|
113617
|
+
e.selectedTabName !== "Preview" ? (C(), B(Q6(e.selectedTabName), {
|
|
113617
113618
|
key: 0,
|
|
113618
113619
|
ref: "sidebarTabComponent",
|
|
113619
113620
|
onCapturePreviewSnapshot: e.handleCaptureSnapshot
|
|
@@ -114084,7 +114085,7 @@ export {
|
|
|
114084
114085
|
t7 as M,
|
|
114085
114086
|
Dg as N,
|
|
114086
114087
|
S12 as O,
|
|
114087
|
-
|
|
114088
|
+
m9 as P,
|
|
114088
114089
|
Lo as Q,
|
|
114089
114090
|
G12 as R,
|
|
114090
114091
|
F12 as S,
|
|
@@ -114142,7 +114143,7 @@ export {
|
|
|
114142
114143
|
Z6 as ae,
|
|
114143
114144
|
W7 as af,
|
|
114144
114145
|
Pe as ag,
|
|
114145
|
-
|
|
114146
|
+
u9 as ah,
|
|
114146
114147
|
t12 as ai,
|
|
114147
114148
|
q12 as aj,
|
|
114148
114149
|
Z12 as ak,
|
|
@@ -114251,7 +114252,7 @@ export {
|
|
|
114251
114252
|
XP as cl,
|
|
114252
114253
|
u4 as cm,
|
|
114253
114254
|
J2 as cn,
|
|
114254
|
-
|
|
114255
|
+
o9 as co,
|
|
114255
114256
|
jS1 as d,
|
|
114256
114257
|
Lx as e,
|
|
114257
114258
|
kx as f,
|