@designcrowd/library.brand-page 6.0.6-undo-6 → 6.0.6-undo-7
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-BfSQG4or.js → CreatedOnBrandCrowd-de-de-BDxea4Se.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-CO07UsMZ.js → CreatedOnBrandCrowd-en-us-BvCtPc-H.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-BElFyN72.js → CreatedOnBrandCrowd-es-es-BFQR8krQ.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DnTxsYIb.js → CreatedOnBrandCrowd-fr-ca-Dy0Xb5GE.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DnTxsYIb.js → CreatedOnBrandCrowd-fr-fr-Dy0Xb5GE.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DSMhWz5Z.js → CreatedOnBrandCrowd-pt-br-BSGwZq7a.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DSMhWz5Z.js → CreatedOnBrandCrowd-pt-pt-BSGwZq7a.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-C2469ycC.js → CreatedOnDcom-de-de-DU42Z-z_.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-Cvz7kq6J.js → CreatedOnDcom-en-us-BR_2u6_i.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BvDTs1Y_.js → CreatedOnDcom-es-es-Dts49b6I.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-vJ9zwwPI.js → CreatedOnDcom-fr-ca-C7Lo2AbX.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-D90gm3ay.js → CreatedOnDcom-fr-fr-ZpEbqlkx.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-C1VGGfTF.js → CreatedOnDcom-pt-br-CrUIv-Ye.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-DGL1py4g.js → CreatedOnDcom-pt-pt-JlbQbaR1.js} +1 -1
- package/lib/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.js +65 -54
- package/lib/src/css/library.brand-page-brandCrowd.min.css +2 -2
- package/lib/src/css/library.brand-page-brandPage.min.css +2 -2
- package/lib/src/css/library.brand-page-designCom.min.css +2 -2
- package/lib/src/css/library.brand-page-preview.min.css +2 -2
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-nGjOXase.js → lib-6j91ExXu.js} +611 -600
- package/package.json +1 -1
- package/src/brand-page-maker/components/quick-link-bar/RedoButton.vue +9 -1
- package/src/brand-page-maker/components/quick-link-bar/UndoButton.vue +9 -1
- package/src/brand-page-maker/components/quick-link-bar/undo-redo-buttons.test.ts +29 -2
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.test.ts +130 -0
- package/src/brand-page-maker/stores/brandpage-maker/brandpage-maker-store.ts +71 -62
|
@@ -20992,7 +20992,7 @@ const uE = {
|
|
|
20992
20992
|
search: ""
|
|
20993
20993
|
}
|
|
20994
20994
|
};
|
|
20995
|
-
function
|
|
20995
|
+
function r9() {
|
|
20996
20996
|
const e = typeof document < "u" ? document : {};
|
|
20997
20997
|
return Rm(e, uE), e;
|
|
20998
20998
|
}
|
|
@@ -21077,7 +21077,7 @@ function s_1(e) {
|
|
|
21077
21077
|
function wo(e, t) {
|
|
21078
21078
|
return t === void 0 && (t = 0), setTimeout(e, t);
|
|
21079
21079
|
}
|
|
21080
|
-
function
|
|
21080
|
+
function x6() {
|
|
21081
21081
|
return Date.now();
|
|
21082
21082
|
}
|
|
21083
21083
|
function r_1(e) {
|
|
@@ -21159,7 +21159,7 @@ function wd(e, t) {
|
|
|
21159
21159
|
return n.classList.add(...Array.isArray(t) ? t : o_1(t)), n;
|
|
21160
21160
|
}
|
|
21161
21161
|
function d_1(e) {
|
|
21162
|
-
const t = e5(), n =
|
|
21162
|
+
const t = e5(), n = r9(), i = e.getBoundingClientRect(), o = n.body, s = e.clientTop || o.clientTop || 0, r = e.clientLeft || o.clientLeft || 0, a = e === t ? t.scrollY : e.scrollTop, l = e === t ? t.scrollX : e.scrollLeft;
|
|
21163
21163
|
return {
|
|
21164
21164
|
top: i.top + a - s,
|
|
21165
21165
|
left: i.left + l - r
|
|
@@ -21214,7 +21214,7 @@ function c4(e) {
|
|
|
21214
21214
|
}
|
|
21215
21215
|
let $u;
|
|
21216
21216
|
function u_1() {
|
|
21217
|
-
const e = e5(), t =
|
|
21217
|
+
const e = e5(), t = r9();
|
|
21218
21218
|
return {
|
|
21219
21219
|
smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
|
|
21220
21220
|
touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
|
|
@@ -22300,7 +22300,7 @@ var eM1 = {
|
|
|
22300
22300
|
function tM1(e, t) {
|
|
22301
22301
|
t === void 0 && (t = this);
|
|
22302
22302
|
function n(i) {
|
|
22303
|
-
if (!i || i ===
|
|
22303
|
+
if (!i || i === r9() || i === e5()) return null;
|
|
22304
22304
|
i.assignedSlot && (i = i.assignedSlot);
|
|
22305
22305
|
const o = i.closest(e);
|
|
22306
22306
|
return !o && !i.getRootNode ? null : o || n(i.getRootNode().host);
|
|
@@ -22314,7 +22314,7 @@ function mS(e, t, n) {
|
|
|
22314
22314
|
return s && (n <= r || n >= i.innerWidth - r) ? s === "prevent" ? (t.preventDefault(), !0) : !1 : !0;
|
|
22315
22315
|
}
|
|
22316
22316
|
function nM1(e) {
|
|
22317
|
-
const t = this, n =
|
|
22317
|
+
const t = this, n = r9();
|
|
22318
22318
|
let i = e;
|
|
22319
22319
|
i.originalEvent && (i = i.originalEvent);
|
|
22320
22320
|
const o = t.touchEventsData;
|
|
@@ -22356,14 +22356,14 @@ function nM1(e) {
|
|
|
22356
22356
|
allowTouchCallbacks: !0,
|
|
22357
22357
|
isScrolling: void 0,
|
|
22358
22358
|
startMoving: void 0
|
|
22359
|
-
}), r.startX = g, r.startY = m, o.touchStartTime =
|
|
22359
|
+
}), r.startX = g, r.startY = m, o.touchStartTime = x6(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, s.threshold > 0 && (o.allowThresholdMove = !1);
|
|
22360
22360
|
let y = !0;
|
|
22361
22361
|
l.matches(o.focusableElements) && (y = !1, l.nodeName === "SELECT" && (o.isTouched = !1)), n.activeElement && n.activeElement.matches(o.focusableElements) && n.activeElement !== l && n.activeElement.blur();
|
|
22362
22362
|
const w = y && t.allowTouchMove && s.touchStartPreventDefault;
|
|
22363
22363
|
(s.touchStartForcePreventDefault || w) && !l.isContentEditable && i.preventDefault(), s.freeMode && s.freeMode.enabled && t.freeMode && t.animating && !s.cssMode && t.freeMode.onTouchStart(), t.emit("touchStart", i);
|
|
22364
22364
|
}
|
|
22365
22365
|
function iM1(e) {
|
|
22366
|
-
const t =
|
|
22366
|
+
const t = r9(), n = this, i = n.touchEventsData, {
|
|
22367
22367
|
params: o,
|
|
22368
22368
|
touches: s,
|
|
22369
22369
|
rtlTranslate: r,
|
|
@@ -22393,7 +22393,7 @@ function iM1(e) {
|
|
|
22393
22393
|
startY: u,
|
|
22394
22394
|
currentX: c,
|
|
22395
22395
|
currentY: u
|
|
22396
|
-
}), i.touchStartTime =
|
|
22396
|
+
}), i.touchStartTime = x6());
|
|
22397
22397
|
return;
|
|
22398
22398
|
}
|
|
22399
22399
|
if (o.touchReleaseOnEdges && !o.loop) {
|
|
@@ -22499,12 +22499,12 @@ function oM1(e) {
|
|
|
22499
22499
|
return;
|
|
22500
22500
|
}
|
|
22501
22501
|
r.grabCursor && n.isMoved && n.isTouched && (t.allowSlideNext === !0 || t.allowSlidePrev === !0) && t.setGrabCursor(!1);
|
|
22502
|
-
const u =
|
|
22502
|
+
const u = x6(), h = u - n.touchStartTime;
|
|
22503
22503
|
if (t.allowClick) {
|
|
22504
22504
|
const x = i.path || i.composedPath && i.composedPath();
|
|
22505
22505
|
t.updateClickedSlide(x && x[0] || i.target, x), t.emit("tap click", i), h < 300 && u - n.lastClickTime < 300 && t.emit("doubleTap doubleClick", i);
|
|
22506
22506
|
}
|
|
22507
|
-
if (n.lastClickTime =
|
|
22507
|
+
if (n.lastClickTime = x6(), wo(() => {
|
|
22508
22508
|
t.destroyed || (t.allowClick = !0);
|
|
22509
22509
|
}), !n.isTouched || !n.isMoved || !t.swipeDirection || a.diff === 0 && !n.loopSwapReset || n.currentTranslate === n.startTranslate && !n.loopSwapReset) {
|
|
22510
22510
|
n.isTouched = !1, n.isMoved = !1, n.startMoving = !1;
|
|
@@ -22586,7 +22586,7 @@ function lM1() {
|
|
|
22586
22586
|
e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
|
|
22587
22587
|
}
|
|
22588
22588
|
const mE = (e, t) => {
|
|
22589
|
-
const n =
|
|
22589
|
+
const n = r9(), {
|
|
22590
22590
|
params: i,
|
|
22591
22591
|
el: o,
|
|
22592
22592
|
wrapperEl: s,
|
|
@@ -22916,7 +22916,7 @@ let Zm = class w8 {
|
|
|
22916
22916
|
for (var i = arguments.length, o = new Array(i), s = 0; s < i; s++)
|
|
22917
22917
|
o[s] = arguments[s];
|
|
22918
22918
|
o.length === 1 && o[0].constructor && Object.prototype.toString.call(o[0]).slice(8, -1) === "Object" ? n = o[0] : [t, n] = o, n || (n = {}), n = o6({}, n), t && !n.el && (n.el = t);
|
|
22919
|
-
const r =
|
|
22919
|
+
const r = r9();
|
|
22920
22920
|
if (n.el && typeof n.el == "string" && r.querySelectorAll(n.el).length > 1) {
|
|
22921
22921
|
const c = [];
|
|
22922
22922
|
return r.querySelectorAll(n.el).forEach((u) => {
|
|
@@ -24213,7 +24213,7 @@ function AM1(e) {
|
|
|
24213
24213
|
on: i,
|
|
24214
24214
|
emit: o
|
|
24215
24215
|
} = e;
|
|
24216
|
-
const s =
|
|
24216
|
+
const s = r9(), r = e5();
|
|
24217
24217
|
t.keyboard = {
|
|
24218
24218
|
enabled: !1
|
|
24219
24219
|
}, n({
|
|
@@ -24291,7 +24291,7 @@ function PM1(e) {
|
|
|
24291
24291
|
}), t.mousewheel = {
|
|
24292
24292
|
enabled: !1
|
|
24293
24293
|
};
|
|
24294
|
-
let r, a =
|
|
24294
|
+
let r, a = x6(), l;
|
|
24295
24295
|
const d = [];
|
|
24296
24296
|
function c(S) {
|
|
24297
24297
|
let D = 0, Z = 0, N = 0, F = 0;
|
|
@@ -24309,7 +24309,7 @@ function PM1(e) {
|
|
|
24309
24309
|
t.enabled && (t.mouseEntered = !1);
|
|
24310
24310
|
}
|
|
24311
24311
|
function g(S) {
|
|
24312
|
-
return t.params.mousewheel.thresholdDelta && S.delta < t.params.mousewheel.thresholdDelta || t.params.mousewheel.thresholdTime &&
|
|
24312
|
+
return t.params.mousewheel.thresholdDelta && S.delta < t.params.mousewheel.thresholdDelta || t.params.mousewheel.thresholdTime && x6() - a < t.params.mousewheel.thresholdTime ? !1 : S.delta >= 6 && x6() - a < 60 ? !0 : (S.direction < 0 ? (!t.isEnd || t.params.loop) && !t.animating && (t.slideNext(), o("scroll", S.raw)) : (!t.isBeginning || t.params.loop) && !t.animating && (t.slidePrev(), o("scroll", S.raw)), a = new s.Date().getTime(), !1);
|
|
24313
24313
|
}
|
|
24314
24314
|
function m(S) {
|
|
24315
24315
|
const _ = t.params.mousewheel;
|
|
@@ -24345,7 +24345,7 @@ function PM1(e) {
|
|
|
24345
24345
|
let e1 = t.getTranslate() + N * H.sensitivity;
|
|
24346
24346
|
if (e1 >= t.minTranslate() && (e1 = t.minTranslate()), e1 <= t.maxTranslate() && (e1 = t.maxTranslate()), x = t.params.loop ? !0 : !(e1 === t.minTranslate() || e1 === t.maxTranslate()), x && t.params.nested && _.stopPropagation(), !t.params.freeMode || !t.params.freeMode.enabled) {
|
|
24347
24347
|
const U = {
|
|
24348
|
-
time:
|
|
24348
|
+
time: x6(),
|
|
24349
24349
|
delta: Math.abs(N),
|
|
24350
24350
|
direction: Math.sign(N),
|
|
24351
24351
|
raw: S
|
|
@@ -24356,7 +24356,7 @@ function PM1(e) {
|
|
|
24356
24356
|
return !0;
|
|
24357
24357
|
} else {
|
|
24358
24358
|
const U = {
|
|
24359
|
-
time:
|
|
24359
|
+
time: x6(),
|
|
24360
24360
|
delta: Math.abs(N),
|
|
24361
24361
|
direction: Math.sign(N)
|
|
24362
24362
|
}, s1 = l && U.time < l.time + 500 && U.delta <= l.delta && U.direction === l.direction;
|
|
@@ -24822,7 +24822,7 @@ function OM1(e) {
|
|
|
24822
24822
|
t.isEnd && c < 0 && !t.params.loop || t.destroyed || !t.autoplay.running || (u = (/* @__PURE__ */ new Date()).getTime(), b ? (b = !1, H(c)) : H(), t.autoplay.paused = !1, o("autoplayResume"));
|
|
24823
24823
|
}, K = () => {
|
|
24824
24824
|
if (t.destroyed || !t.autoplay.running) return;
|
|
24825
|
-
const q =
|
|
24825
|
+
const q = r9();
|
|
24826
24826
|
q.visibilityState === "hidden" && (b = !0, N(!0)), q.visibilityState === "visible" && F();
|
|
24827
24827
|
}, e1 = (q) => {
|
|
24828
24828
|
q.pointerType === "mouse" && (b = !0, M = !0, !(t.animating || t.autoplay.paused) && N(!0));
|
|
@@ -24833,9 +24833,9 @@ function OM1(e) {
|
|
|
24833
24833
|
}, l1 = () => {
|
|
24834
24834
|
t.el.removeEventListener("pointerenter", e1), t.el.removeEventListener("pointerleave", U);
|
|
24835
24835
|
}, t1 = () => {
|
|
24836
|
-
|
|
24836
|
+
r9().addEventListener("visibilitychange", K);
|
|
24837
24837
|
}, G = () => {
|
|
24838
|
-
|
|
24838
|
+
r9().removeEventListener("visibilitychange", K);
|
|
24839
24839
|
};
|
|
24840
24840
|
i("init", () => {
|
|
24841
24841
|
t.params.autoplay.enabled && (s1(), t1(), D());
|
|
@@ -24911,7 +24911,7 @@ function DM1(e) {
|
|
|
24911
24911
|
time: l.touchStartTime
|
|
24912
24912
|
}), l.velocities.push({
|
|
24913
24913
|
position: d[t.isHorizontal() ? "currentX" : "currentY"],
|
|
24914
|
-
time:
|
|
24914
|
+
time: x6()
|
|
24915
24915
|
});
|
|
24916
24916
|
}
|
|
24917
24917
|
function a(l) {
|
|
@@ -24925,7 +24925,7 @@ function DM1(e) {
|
|
|
24925
24925
|
rtlTranslate: h,
|
|
24926
24926
|
snapGrid: g,
|
|
24927
24927
|
touchEventsData: m
|
|
24928
|
-
} = t, w =
|
|
24928
|
+
} = t, w = x6() - m.touchStartTime;
|
|
24929
24929
|
if (d < -t.minTranslate()) {
|
|
24930
24930
|
t.slideTo(t.activeIndex);
|
|
24931
24931
|
return;
|
|
@@ -24937,7 +24937,7 @@ function DM1(e) {
|
|
|
24937
24937
|
if (c.freeMode.momentum) {
|
|
24938
24938
|
if (m.velocities.length > 1) {
|
|
24939
24939
|
const Z = m.velocities.pop(), N = m.velocities.pop(), F = Z.position - N.position, K = Z.time - N.time;
|
|
24940
|
-
t.velocity = F / K, t.velocity /= 2, Math.abs(t.velocity) < c.freeMode.minimumVelocity && (t.velocity = 0), (K > 150 ||
|
|
24940
|
+
t.velocity = F / K, t.velocity /= 2, Math.abs(t.velocity) < c.freeMode.minimumVelocity && (t.velocity = 0), (K > 150 || x6() - Z.time > 300) && (t.velocity = 0);
|
|
24941
24941
|
} else
|
|
24942
24942
|
t.velocity = 0;
|
|
24943
24943
|
t.velocity *= c.freeMode.momentumVelocityRatio, m.velocities.length = 0;
|
|
@@ -25741,7 +25741,7 @@ function yk1(e, t, n, i, o, s) {
|
|
|
25741
25741
|
e.selfIsCollapsed ? k("", !0) : G1(e.$slots, "default", { key: 0 })
|
|
25742
25742
|
]);
|
|
25743
25743
|
}
|
|
25744
|
-
const
|
|
25744
|
+
const t9 = /* @__PURE__ */ v(uk1, [["render", yk1]]), wk1 = {
|
|
25745
25745
|
props: {
|
|
25746
25746
|
min: {
|
|
25747
25747
|
type: Number,
|
|
@@ -26563,7 +26563,7 @@ const Um = /* @__PURE__ */ v(Pk1, [["render", Bk1], ["__scopeId", "data-v-4cd691
|
|
|
26563
26563
|
"pt-PT": () => import("./bundled-translations.pt-PT-B9_wN0HR.js"),
|
|
26564
26564
|
"fr-CA": () => import("./bundled-translations.fr-CA-DCl5LJS4.js"),
|
|
26565
26565
|
"pt-BR": () => import("./bundled-translations.pt-BR-5PWpMPuM.js")
|
|
26566
|
-
}, BD2 = () => J4.createInstance(), ns = () => U8()?.appContext.app?.i18next || J4,
|
|
26566
|
+
}, BD2 = () => J4.createInstance(), ns = () => U8()?.appContext.app?.i18next || J4, a9 = () => {
|
|
26567
26567
|
const t = ns().language;
|
|
26568
26568
|
return zm.includes(t) ? t : sn;
|
|
26569
26569
|
}, OD2 = async (e) => {
|
|
@@ -26583,13 +26583,13 @@ const Um = /* @__PURE__ */ v(Pk1, [["render", Bk1], ["__scopeId", "data-v-4cd691
|
|
|
26583
26583
|
ns: _d,
|
|
26584
26584
|
...t
|
|
26585
26585
|
});
|
|
26586
|
-
}, i6 = (e) => d2(`model.${e}`), V2 = (e) => d2(`common.${e}`), HE = (e) => d2(`actionBar.${e}`),
|
|
26586
|
+
}, i6 = (e) => d2(`model.${e}`), V2 = (e) => d2(`common.${e}`), HE = (e) => d2(`actionBar.${e}`), M6 = (e) => d2(`brandPageSettings.${e}`), Fk1 = (e) => d2(`colorPalette.${e}`), m7 = (e) => d2(`navigation.${e}`), F3 = (e) => d2(`converter.${e}`), l4 = (e) => d2(`backgroundSettings.${e}`), Kh = (e) => d2(`colorPicker.${e}`), Uk1 = (e) => d2(`colorReplacementField.${e}`), O = (e) => d2(`contentSettings.${e}`), bi = (e) => d2(`formFields.${e}`), zk1 = (e) => d2(`genericTextInput.${e}`), qk1 = (e) => d2(`imagesField.${e}`), Gk1 = (e) => d2(`linksField.${e}`), P9 = (e) => d2(`paymentConfig.${e}`), jk1 = (e) => d2(`shapeField.${e}`), Wk1 = (e) => d2(`testimonialItemsField.${e}`), Kk1 = (e) => d2(`textField.${e}`), d4 = (e) => d2(`textImageField.${e}`), Yk1 = (e) => d2(`textItemsField.${e}`), Ai = (e) => d2(`textStyleField.${e}`), Xk1 = (e) => d2(`textAreaField.${e}`), Jk1 = (e) => d2(`bookingUrlField.${e}`), Qk1 = (e) => d2(`productConfigOption.${e}`), Yh = (e) => d2(`editLogoSettings.${e}`), IE = (e, t = {}) => d2(`myUploadSettings.${e}`, t), wt = (e) => d2(`pageSettings.${e}`), T8 = (e) => d2(`templateSettings.${e}`), k5 = (e) => d2(`seoSettings.${e}`), e4 = (e) => d2(`styleSettingsSection.${e}`), X0 = (e, t = {}) => d2(`saveContactSettings.${e}`, t), Uu = (e) => d2(`sensitiveContentSettings.${e}`), Xh = (e) => d2(`socialShare.${e}`), zu = (e) => d2(`cookieSettings.${e}`), u8 = (e) => d2(`googleAnalytics.${e}`), qu = (e) => d2(`colorField.${e}`), C6 = (e) => d2(`validator.${e}`), C4 = (e) => d2(`constants.${e}`), kS = (e) => d2(`layoutSwitcher.${e}`), eL1 = (e) => d2(`brandpageBackgroundSettings.${e}`), LS = (e) => d2(`loginMessage.${e}`), Gu = (e) => d2(`cookie.${e}`), dr = (e) => d2(`logoSelectionSettings.${e}`), tL1 = (e) => d2(`googleAddressField.${e}`), nL1 = (e) => d2(`myDesigns.${e}`), Ki = (e) => d2(`pageSettings.${e}`), ju = (e) => d2(`shapeLibrary.${e}`), he = (e, t = {}) => d2(`error.${e}`, t), V0 = (e) => d2(`dropzoneUploader.${e}`), cr = (e) => d2(`shop.${e}`), E7 = (e, t = {}) => d2(`payment.${e}`, t), at = (e, t = {}) => d2(`publishBrandPageModalWithState.${e}`, t), iL1 = (e) => d2(`existingDomainModal.${e}`), vi = (e) => d2(`uploadLogoModal.${e}`), p8 = (e, t = {}) => d2(`sensitiveContentModal.${e}`, t, !0), qt = (e) => d2(`quickLinkBar.${e}`), Cr = (e, t = {}) => d2(`brandPageFooter.${e}`, t), E3 = (e) => d2(`product.${e}`), oL1 = (e) => d2(`image.${e}`), TS = (e) => d2(`map.${e}`), VS = (e) => d2(`imagesSection.${e}`), zc = (e) => d2(`imageGallery.${e}`), sL1 = (e) => d2(`newPageModal.${e}`), Wu = (e, t = {}) => d2(`personalisationOverride.${e}`, t), x0 = (e, t = {}) => d2(`paymentModal.${e}`, t), rL1 = (e, t = {}) => d2(`mailingList.${e}`, t), aL1 = (e, t = {}) => d2(`deletePageModal.${e}`, t), H0 = (e, t = {}) => d2(`deleteDomainModal.${e}`, t), K6 = (e, t = {}) => d2(`requestPaymentStripe.${e}`, t), lt = (e, t = {}) => d2(`productDetailModal.${e}`, t), lL1 = (e, t = {}) => d2(`video.${e}`, t), dL1 = (e, t = {}) => d2(`confirmModal.${e}`, t), C7 = (e, t = {}) => d2(`videoLibrary.${e}`, t), xS = (e, t = {}) => d2(`logoSwitchConfirmationModal.${e}`, t), Ku = (e, t = {}) => d2(`logoTemplateSearchModal.${e}`, t), EE = (e, t = {}) => d2(`aiModal.${e}`, t), Ol = (e, t = {}) => d2(`saveContactWidget.${e}`, t), Y6 = (e, t = {}) => d2(`paymentShippingAddress.${e}`, t), cL1 = () => ns().t("countries", {
|
|
26587
26587
|
ns: _d,
|
|
26588
26588
|
returnObjects: !0
|
|
26589
26589
|
}), Pi = () => {
|
|
26590
26590
|
const t = ns().language;
|
|
26591
26591
|
return zm.includes(t) ? t : sn;
|
|
26592
|
-
}, CL1 = "Titles", uL1 = "Headings", pL1 = "Paragraphs", fL1 = "Button Texts", hL1 = void 0, gL1 = void 0, mL1 = "2.25em", qm = "1.5em", F5 = "1em", yL1 = "normal", h3 = "1.3", O4 = "1.4", N2 = "1.5", AE = 12, Gm = 12, qc = 128, jm = 0, Wm = 100, Km = 1, Ym = 2.5, b3 = 200,
|
|
26592
|
+
}, CL1 = "Titles", uL1 = "Headings", pL1 = "Paragraphs", fL1 = "Button Texts", hL1 = void 0, gL1 = void 0, mL1 = "2.25em", qm = "1.5em", F5 = "1em", yL1 = "normal", h3 = "1.3", O4 = "1.4", N2 = "1.5", AE = 12, Gm = 12, qc = 128, jm = 0, Wm = 100, Km = 1, Ym = 2.5, b3 = 200, f6 = 1e3, Jh = 2e3, Xm = () => he("maxCharacters"), wL1 = () => he("invalidUrlMessage"), bL1 = () => he("testimonialEmpty"), vL1 = () => he("textEmpty"), SL1 = "https://fonts.googleapis.com/css2", _L1 = "&display=swap", ML1 = "#000000", Md = {
|
|
26593
26593
|
url: "url",
|
|
26594
26594
|
google: "google"
|
|
26595
26595
|
};
|
|
@@ -28117,7 +28117,7 @@ const p1 = {
|
|
|
28117
28117
|
itemTextStyle: "itemTextStyle",
|
|
28118
28118
|
buttonTextStyle: "buttonTextStyle",
|
|
28119
28119
|
copyrightStyle: "copyrightStyle"
|
|
28120
|
-
}, xe = "center", ur = "0", Jm = "$", VL1 = "USD", bo = "rgb(0,0,0)", kd = "rgb(255,255,255)", c9 = "preview", Z7 = "collapsed", ze = "centered", z5 = "left-aligned",
|
|
28120
|
+
}, xe = "center", ur = "0", Jm = "$", VL1 = "USD", bo = "rgb(0,0,0)", kd = "rgb(255,255,255)", c9 = "preview", Z7 = "collapsed", ze = "centered", z5 = "left-aligned", h6 = "right-aligned", Qm = "justified", _n = "left-aligned-big-image", g3 = "center-card-aligned-image", Mn = "center-card-aligned", Gt = "left-card-aligned-image", Nl = "top-card-aligned-image", Rl = "bottom-card-aligned-image", Zl = "middle-card-aligned-image", Yi = "top-aligned-full-image", Xi = "bottom-aligned-full-image", Ji = "middle-aligned-full-image", Qh = 3, J6 = {
|
|
28121
28121
|
1: "1",
|
|
28122
28122
|
2: "2",
|
|
28123
28123
|
3: "3",
|
|
@@ -28137,7 +28137,7 @@ const p1 = {
|
|
|
28137
28137
|
Yi,
|
|
28138
28138
|
Xi,
|
|
28139
28139
|
Ji
|
|
28140
|
-
], PE = (e) => e && HL1.includes(e) ? 0 : xL1, IL1 = 32, eg = 48,
|
|
28140
|
+
], PE = (e) => e && HL1.includes(e) ? 0 : xL1, IL1 = 32, eg = 48, l9 = "big-image", X9 = "media-only", Yu = "columns", Wc = "100%", HS = {
|
|
28141
28141
|
FULL_HD: "q=80&w=1080",
|
|
28142
28142
|
ULTRA_HD: "q=80&w=2160"
|
|
28143
28143
|
}, qn = "csrf-token", r2 = Object.freeze({
|
|
@@ -28168,12 +28168,12 @@ const p1 = {
|
|
|
28168
28168
|
}
|
|
28169
28169
|
}, $E = {
|
|
28170
28170
|
Stripe: "Stripe"
|
|
28171
|
-
}, M8 = "Support Me Custom Amount", DL1 = "index", tg = "slug", Vd = "slug-pageSlug", ty = "slug-pageSlug-pageSlug2", ny = /\/asset\/shape\?/g,
|
|
28171
|
+
}, M8 = "Support Me Custom Amount", DL1 = "index", tg = "slug", Vd = "slug-pageSlug", ty = "slug-pageSlug-pageSlug2", ny = /\/asset\/shape\?/g, i9 = {
|
|
28172
28172
|
LOGO_WITH_TRANSPARENT_BACKGROUND: 0,
|
|
28173
28173
|
LOGO_WITH_BACKGROUND: 1,
|
|
28174
28174
|
LOGO_ONLY_WITH_TRANSPARENT_BACKGROUND: 2,
|
|
28175
28175
|
TEXT_ONLY_WITH_TRANSPARENT_BACKGROUND: 3
|
|
28176
|
-
}, iy =
|
|
28176
|
+
}, iy = i9.LOGO_WITH_TRANSPARENT_BACKGROUND, B1 = {
|
|
28177
28177
|
/** @deprecated */
|
|
28178
28178
|
tabs: "tabs",
|
|
28179
28179
|
// mapped to TAB_1
|
|
@@ -28206,7 +28206,7 @@ const p1 = {
|
|
|
28206
28206
|
ALIGN_LEFT_ALIGNED: z5,
|
|
28207
28207
|
// mapped to DESKTOP_TAB_1
|
|
28208
28208
|
/** @deprecated */
|
|
28209
|
-
ALIGN_RIGHT_ALIGNED:
|
|
28209
|
+
ALIGN_RIGHT_ALIGNED: h6,
|
|
28210
28210
|
/** @deprecated */
|
|
28211
28211
|
ALIGN_JUSTIFIED: Qm,
|
|
28212
28212
|
DESKTOP_TAB_1: "desktop-tab-horizontal-stack-left-logo-right-menu",
|
|
@@ -28755,7 +28755,7 @@ function ZL1() {
|
|
|
28755
28755
|
return z ? "Symbol(src)_1." + z : "";
|
|
28756
28756
|
})(), _1 = y1.toString, h1 = D1.hasOwnProperty, Q1 = D1.toString, u2 = RegExp(
|
|
28757
28757
|
"^" + _1.call(h1).replace(t1, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
28758
|
-
), m2 = x1 ? F1.Buffer : void 0, ne = F1.Symbol, we = F1.Uint8Array, M1 = Ie(Object.getPrototypeOf, Object), W1 = Object.create, C2 = D1.propertyIsEnumerable, z2 = X.splice, T1 = Object.getOwnPropertySymbols, l2 = m2 ? m2.isBuffer : void 0, P1 = Ie(Object.keys, Object), $1 = t7(F1, "DataView"), f2 = t7(F1, "Map"), a2 = t7(F1, "Promise"), ke = t7(F1, "Set"), e3 = t7(F1, "WeakMap"), X3 = t7(Object, "create"), D3 = v9($1), Y5 = v9(f2),
|
|
28758
|
+
), m2 = x1 ? F1.Buffer : void 0, ne = F1.Symbol, we = F1.Uint8Array, M1 = Ie(Object.getPrototypeOf, Object), W1 = Object.create, C2 = D1.propertyIsEnumerable, z2 = X.splice, T1 = Object.getOwnPropertySymbols, l2 = m2 ? m2.isBuffer : void 0, P1 = Ie(Object.keys, Object), $1 = t7(F1, "DataView"), f2 = t7(F1, "Map"), a2 = t7(F1, "Promise"), ke = t7(F1, "Set"), e3 = t7(F1, "WeakMap"), X3 = t7(Object, "create"), D3 = v9($1), Y5 = v9(f2), m6 = v9(a2), $e = v9(ke), b5 = v9(e3), y6 = ne ? ne.prototype : void 0, v5 = y6 ? y6.valueOf : void 0;
|
|
28759
28759
|
function s5(z) {
|
|
28760
28760
|
var k1 = -1, q1 = z ? z.length : 0;
|
|
28761
28761
|
for (this.clear(); ++k1 < q1; ) {
|
|
@@ -28793,28 +28793,28 @@ function ZL1() {
|
|
|
28793
28793
|
this.set(E2[0], E2[1]);
|
|
28794
28794
|
}
|
|
28795
28795
|
}
|
|
28796
|
-
function
|
|
28796
|
+
function U6() {
|
|
28797
28797
|
this.__data__ = [];
|
|
28798
28798
|
}
|
|
28799
28799
|
function s8(z) {
|
|
28800
|
-
var k1 = this.__data__, q1 =
|
|
28800
|
+
var k1 = this.__data__, q1 = w6(k1, z);
|
|
28801
28801
|
if (q1 < 0)
|
|
28802
28802
|
return !1;
|
|
28803
28803
|
var E2 = k1.length - 1;
|
|
28804
28804
|
return q1 == E2 ? k1.pop() : z2.call(k1, q1, 1), !0;
|
|
28805
28805
|
}
|
|
28806
28806
|
function r8(z) {
|
|
28807
|
-
var k1 = this.__data__, q1 =
|
|
28807
|
+
var k1 = this.__data__, q1 = w6(k1, z);
|
|
28808
28808
|
return q1 < 0 ? void 0 : k1[q1][1];
|
|
28809
28809
|
}
|
|
28810
28810
|
function r5(z) {
|
|
28811
|
-
return
|
|
28811
|
+
return w6(this.__data__, z) > -1;
|
|
28812
28812
|
}
|
|
28813
28813
|
function X8(z, k1) {
|
|
28814
|
-
var q1 = this.__data__, E2 =
|
|
28814
|
+
var q1 = this.__data__, E2 = w6(q1, z);
|
|
28815
28815
|
return E2 < 0 ? q1.push([z, k1]) : q1[E2][1] = k1, this;
|
|
28816
28816
|
}
|
|
28817
|
-
R4.prototype.clear =
|
|
28817
|
+
R4.prototype.clear = U6, R4.prototype.delete = s8, R4.prototype.get = r8, R4.prototype.has = r5, R4.prototype.set = X8;
|
|
28818
28818
|
function J5(z) {
|
|
28819
28819
|
var k1 = -1, q1 = z ? z.length : 0;
|
|
28820
28820
|
for (this.clear(); ++k1 < q1; ) {
|
|
@@ -28878,7 +28878,7 @@ function ZL1() {
|
|
|
28878
28878
|
var E2 = z[k1];
|
|
28879
28879
|
(!(h1.call(z, k1) && Rs(E2, q1)) || q1 === void 0 && !(k1 in z)) && (z[k1] = q1);
|
|
28880
28880
|
}
|
|
28881
|
-
function
|
|
28881
|
+
function w6(z, k1) {
|
|
28882
28882
|
for (var q1 = z.length; q1--; )
|
|
28883
28883
|
if (Rs(z[q1][0], k1))
|
|
28884
28884
|
return q1;
|
|
@@ -28887,9 +28887,9 @@ function ZL1() {
|
|
|
28887
28887
|
function m3(z, k1) {
|
|
28888
28888
|
return z && di(k1, _9(k1), z);
|
|
28889
28889
|
}
|
|
28890
|
-
function Je(z, k1, q1, E2, J3, Z4,
|
|
28890
|
+
function Je(z, k1, q1, E2, J3, Z4, q6) {
|
|
28891
28891
|
var M4;
|
|
28892
|
-
if (E2 && (M4 = Z4 ? E2(z, J3, Z4,
|
|
28892
|
+
if (E2 && (M4 = Z4 ? E2(z, J3, Z4, q6) : E2(z)), M4 !== void 0)
|
|
28893
28893
|
return M4;
|
|
28894
28894
|
if (!y0(z))
|
|
28895
28895
|
return z;
|
|
@@ -28912,17 +28912,17 @@ function ZL1() {
|
|
|
28912
28912
|
M4 = YC(z, n7, Je, k1);
|
|
28913
28913
|
}
|
|
28914
28914
|
}
|
|
28915
|
-
|
|
28916
|
-
var qs =
|
|
28915
|
+
q6 || (q6 = new X1());
|
|
28916
|
+
var qs = q6.get(z);
|
|
28917
28917
|
if (qs)
|
|
28918
28918
|
return qs;
|
|
28919
|
-
if (
|
|
28919
|
+
if (q6.set(z, M4), !Ci)
|
|
28920
28920
|
var Gs = q1 ? jC(z) : _9(z);
|
|
28921
28921
|
return g2(Gs || z, function(ui, w0) {
|
|
28922
|
-
Gs && (w0 = ui, ui = z[w0]), Q5(M4, w0, Je(ui, k1, q1, E2, w0, z,
|
|
28922
|
+
Gs && (w0 = ui, ui = z[w0]), Q5(M4, w0, Je(ui, k1, q1, E2, w0, z, q6));
|
|
28923
28923
|
}), M4;
|
|
28924
28924
|
}
|
|
28925
|
-
function
|
|
28925
|
+
function z6(z) {
|
|
28926
28926
|
return y0(z) ? W1(z) : {};
|
|
28927
28927
|
}
|
|
28928
28928
|
function a5(z, k1, q1) {
|
|
@@ -28988,8 +28988,8 @@ function ZL1() {
|
|
|
28988
28988
|
function di(z, k1, q1, E2) {
|
|
28989
28989
|
q1 || (q1 = {});
|
|
28990
28990
|
for (var J3 = -1, Z4 = k1.length; ++J3 < Z4; ) {
|
|
28991
|
-
var
|
|
28992
|
-
Q5(q1,
|
|
28991
|
+
var q6 = k1[J3], M4 = void 0;
|
|
28992
|
+
Q5(q1, q6, M4 === void 0 ? z[q6] : M4);
|
|
28993
28993
|
}
|
|
28994
28994
|
return q1;
|
|
28995
28995
|
}
|
|
@@ -29016,7 +29016,7 @@ function ZL1() {
|
|
|
29016
29016
|
return H;
|
|
29017
29017
|
case Y5:
|
|
29018
29018
|
return h;
|
|
29019
|
-
case
|
|
29019
|
+
case m6:
|
|
29020
29020
|
return y;
|
|
29021
29021
|
case $e:
|
|
29022
29022
|
return b;
|
|
@@ -29030,7 +29030,7 @@ function ZL1() {
|
|
|
29030
29030
|
return k1 && typeof z[0] == "string" && h1.call(z, "index") && (q1.index = z.index, q1.input = z.input), q1;
|
|
29031
29031
|
}
|
|
29032
29032
|
function KC(z) {
|
|
29033
|
-
return typeof z.constructor == "function" && !Ds(z) ?
|
|
29033
|
+
return typeof z.constructor == "function" && !Ds(z) ? z6(M1(z)) : {};
|
|
29034
29034
|
}
|
|
29035
29035
|
function YC(z, k1, q1, E2) {
|
|
29036
29036
|
var J3 = z.constructor;
|
|
@@ -29360,7 +29360,7 @@ class zE {
|
|
|
29360
29360
|
}, this.imageStyle = t.imageStyle || {};
|
|
29361
29361
|
}
|
|
29362
29362
|
}
|
|
29363
|
-
const
|
|
29363
|
+
const s9 = {
|
|
29364
29364
|
logoDraftToken: "",
|
|
29365
29365
|
logoVariation: 0,
|
|
29366
29366
|
logoLastUpdate: void 0
|
|
@@ -29527,7 +29527,7 @@ const U7 = {
|
|
|
29527
29527
|
email: "email",
|
|
29528
29528
|
phone: "phone",
|
|
29529
29529
|
"text-area": "text-area"
|
|
29530
|
-
},
|
|
29530
|
+
}, n9 = {
|
|
29531
29531
|
firstName: "firstName",
|
|
29532
29532
|
lastName: "lastName",
|
|
29533
29533
|
emailAddress: "emailAddress",
|
|
@@ -29551,7 +29551,7 @@ const U7 = {
|
|
|
29551
29551
|
}, Ne = {
|
|
29552
29552
|
image: "image",
|
|
29553
29553
|
shape: "shape"
|
|
29554
|
-
},
|
|
29554
|
+
}, V6 = {
|
|
29555
29555
|
none: "none",
|
|
29556
29556
|
square: "square",
|
|
29557
29557
|
circle: "circle"
|
|
@@ -29606,7 +29606,7 @@ class GE {
|
|
|
29606
29606
|
throw new Error('"navigation" is required');
|
|
29607
29607
|
if (typeof t.displayStyle > "u")
|
|
29608
29608
|
throw new Error('"displayStyle" is required');
|
|
29609
|
-
this.viewport = t.viewport, this.displayStyle = t.displayStyle, this.navigation = t.navigation, this.isLogoOptional = !1, this.isLogoVisible = t.isLogoVisible === void 0 ? !0 : t.isLogoVisible, this.logoImage = t.logoImage || { ...
|
|
29609
|
+
this.viewport = t.viewport, this.displayStyle = t.displayStyle, this.navigation = t.navigation, this.isLogoOptional = !1, this.isLogoVisible = t.isLogoVisible === void 0 ? !0 : t.isLogoVisible, this.logoImage = t.logoImage || { ...s9 }, this.logoImageHeight = t.logoImageHeight || U5, this.logoImageWidth = t.logoImageWidth || X7, this.logoTemplateImage = t.logoTemplateImage || void 0, this.logoImageBase64Url = t.logoImageBase64Url || "", this.logoImageStyle = t.logoImageStyle || {}, this.logoImageUrl = t.logoImageUrl || "", this.logoDraftToken = t.logoDraftToken || "", this.logoVariation = t.logoVariation || 0, this.style = t.style || {}, this.backgroundStyle = t.backgroundStyle || {};
|
|
29610
29610
|
}
|
|
29611
29611
|
}
|
|
29612
29612
|
class jt extends GE {
|
|
@@ -29657,7 +29657,7 @@ class jE {
|
|
|
29657
29657
|
textStyleType: S2.paragraphs,
|
|
29658
29658
|
textAlign: "center"
|
|
29659
29659
|
}, t.displayStyle ? this.displayStyle = t.displayStyle : this.displayStyle = d5.CENTERED, this.logoImageStyle = t.logoImageStyle || {}, this.logoImageUrl = t.logoImageUrl || "", this.logoDraftToken = t.logoDraftToken || "", this.logoVariation = t.logoVariation || 0, this.isLogoOptional = !0, this.isLogoVisible = t.isLogoVisible === void 0 ? !0 : t.isLogoVisible, this.logoImage = t.logoImage || {
|
|
29660
|
-
...
|
|
29660
|
+
...s9
|
|
29661
29661
|
}, this.logoTemplateImage = t.logoTemplateImage || void 0, this.logoImageBase64Url = t.logoImageBase64Url || "", this.logoImageHeight = t.logoImageHeight || U5, this.logoImageWidth = t.logoImageWidth || X7, this.socialLinks = t.socialLinks || [
|
|
29662
29662
|
{
|
|
29663
29663
|
width: 0,
|
|
@@ -31822,7 +31822,7 @@ function MV1(e, t, n) {
|
|
|
31822
31822
|
const zl = {
|
|
31823
31823
|
assertOptions: MV1,
|
|
31824
31824
|
validators: eC
|
|
31825
|
-
},
|
|
31825
|
+
}, b6 = zl.validators;
|
|
31826
31826
|
let At = class {
|
|
31827
31827
|
constructor(t) {
|
|
31828
31828
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -31859,18 +31859,18 @@ let At = class {
|
|
|
31859
31859
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Kt(this.defaults, n);
|
|
31860
31860
|
const { transitional: i, paramsSerializer: o, headers: s } = n;
|
|
31861
31861
|
i !== void 0 && zl.assertOptions(i, {
|
|
31862
|
-
silentJSONParsing:
|
|
31863
|
-
forcedJSONParsing:
|
|
31864
|
-
clarifyTimeoutError:
|
|
31865
|
-
legacyInterceptorReqResOrdering:
|
|
31862
|
+
silentJSONParsing: b6.transitional(b6.boolean),
|
|
31863
|
+
forcedJSONParsing: b6.transitional(b6.boolean),
|
|
31864
|
+
clarifyTimeoutError: b6.transitional(b6.boolean),
|
|
31865
|
+
legacyInterceptorReqResOrdering: b6.transitional(b6.boolean)
|
|
31866
31866
|
}, !1), o != null && (I1.isFunction(o) ? n.paramsSerializer = {
|
|
31867
31867
|
serialize: o
|
|
31868
31868
|
} : zl.assertOptions(o, {
|
|
31869
|
-
encode:
|
|
31870
|
-
serialize:
|
|
31869
|
+
encode: b6.function,
|
|
31870
|
+
serialize: b6.function
|
|
31871
31871
|
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), zl.assertOptions(n, {
|
|
31872
|
-
baseUrl:
|
|
31873
|
-
withXsrfToken:
|
|
31872
|
+
baseUrl: b6.spelling("baseURL"),
|
|
31873
|
+
withXsrfToken: b6.spelling("withXSRFToken")
|
|
31874
31874
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
31875
31875
|
let r = s && I1.merge(
|
|
31876
31876
|
s.common,
|
|
@@ -33497,9 +33497,9 @@ function jV1() {
|
|
|
33497
33497
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33498
33498
|
var R = X3(V, "rgb"), W = R[0], n1 = R[1], d1 = R[2], J = Math.min(W, n1, d1), m1 = Math.max(W, n1, d1), b1 = m1 - J, Z1 = b1 * 100 / 255, J1 = J / (255 - b1) * 100, b2;
|
|
33499
33499
|
return b1 === 0 ? b2 = Number.NaN : (W === m1 && (b2 = (n1 - d1) / b1), n1 === m1 && (b2 = 2 + (d1 - W) / b1), d1 === m1 && (b2 = 4 + (W - n1) / b1), b2 *= 60, b2 < 0 && (b2 += 360)), [b2, Z1, J1];
|
|
33500
|
-
}, Y5 = D3,
|
|
33500
|
+
}, Y5 = D3, m6 = y.unpack, $e = Math.floor, b5 = function() {
|
|
33501
33501
|
for (var V, A, R, W, n1, d1, J = [], m1 = arguments.length; m1--; ) J[m1] = arguments[m1];
|
|
33502
|
-
J =
|
|
33502
|
+
J = m6(J, "hcg");
|
|
33503
33503
|
var b1 = J[0], Z1 = J[1], J1 = J[2], b2, e2, x2;
|
|
33504
33504
|
J1 = J1 * 255;
|
|
33505
33505
|
var L2 = Z1 * 255;
|
|
@@ -33530,13 +33530,13 @@ function jV1() {
|
|
|
33530
33530
|
}
|
|
33531
33531
|
}
|
|
33532
33532
|
return [b2, e2, x2, J.length > 3 ? J[3] : 1];
|
|
33533
|
-
},
|
|
33533
|
+
}, y6 = b5, v5 = y.unpack, s5 = y.type, K8 = Z, o8 = H, Y8 = w, _4 = Y5;
|
|
33534
33534
|
o8.prototype.hcg = function() {
|
|
33535
33535
|
return _4(this._rgb);
|
|
33536
33536
|
}, K8.hcg = function() {
|
|
33537
33537
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33538
33538
|
return new (Function.prototype.bind.apply(o8, [null].concat(V, ["hcg"])))();
|
|
33539
|
-
}, Y8.format.hcg =
|
|
33539
|
+
}, Y8.format.hcg = y6, Y8.autodetect.push({
|
|
33540
33540
|
p: 1,
|
|
33541
33541
|
test: function() {
|
|
33542
33542
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
@@ -33544,13 +33544,13 @@ function jV1() {
|
|
|
33544
33544
|
return "hcg";
|
|
33545
33545
|
}
|
|
33546
33546
|
});
|
|
33547
|
-
var X5 = y.unpack, R4 = y.last,
|
|
33547
|
+
var X5 = y.unpack, R4 = y.last, U6 = Math.round, s8 = function() {
|
|
33548
33548
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33549
33549
|
var R = X5(V, "rgba"), W = R[0], n1 = R[1], d1 = R[2], J = R[3], m1 = R4(V) || "auto";
|
|
33550
|
-
J === void 0 && (J = 1), m1 === "auto" && (m1 = J < 1 ? "rgba" : "rgb"), W =
|
|
33550
|
+
J === void 0 && (J = 1), m1 === "auto" && (m1 = J < 1 ? "rgba" : "rgb"), W = U6(W), n1 = U6(n1), d1 = U6(d1);
|
|
33551
33551
|
var b1 = W << 16 | n1 << 8 | d1, Z1 = "000000" + b1.toString(16);
|
|
33552
33552
|
Z1 = Z1.substr(Z1.length - 6);
|
|
33553
|
-
var J1 = "0" +
|
|
33553
|
+
var J1 = "0" + U6(J * 255).toString(16);
|
|
33554
33554
|
switch (J1 = J1.substr(J1.length - 2), m1.toLowerCase()) {
|
|
33555
33555
|
case "rgba":
|
|
33556
33556
|
return "#" + Z1 + J1;
|
|
@@ -33591,11 +33591,11 @@ function jV1() {
|
|
|
33591
33591
|
W /= 255, n1 /= 255, d1 /= 255;
|
|
33592
33592
|
var J, m1 = k3(W, n1, d1), b1 = (W + n1 + d1) / 3, Z1 = b1 > 0 ? 1 - m1 / b1 : 0;
|
|
33593
33593
|
return Z1 === 0 ? J = NaN : (J = (W - n1 + (W - d1)) / 2, J /= r3((W - n1) * (W - n1) + (W - d1) * (n1 - d1)), J = t3(J), d1 > n1 && (J = N1 - J), J /= N1), [J * 360, Z1, b1];
|
|
33594
|
-
}, Q5 = L3,
|
|
33594
|
+
}, Q5 = L3, w6 = y.unpack, m3 = y.limit, Je = y.TWOPI, z6 = y.PITHIRD, a5 = Math.cos, e7 = function() {
|
|
33595
33595
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33596
|
-
V =
|
|
33596
|
+
V = w6(V, "hsi");
|
|
33597
33597
|
var R = V[0], W = V[1], n1 = V[2], d1, J, m1;
|
|
33598
|
-
return isNaN(R) && (R = 0), isNaN(W) && (W = 0), R > 360 && (R -= 360), R < 0 && (R += 360), R /= 360, R < 1 / 3 ? (m1 = (1 - W) / 3, d1 = (1 + W * a5(Je * R) / a5(
|
|
33598
|
+
return isNaN(R) && (R = 0), isNaN(W) && (W = 0), R > 360 && (R -= 360), R < 0 && (R += 360), R /= 360, R < 1 / 3 ? (m1 = (1 - W) / 3, d1 = (1 + W * a5(Je * R) / a5(z6 - Je * R)) / 3, J = 1 - (m1 + d1)) : R < 2 / 3 ? (R -= 1 / 3, d1 = (1 - W) / 3, J = (1 + W * a5(Je * R) / a5(z6 - Je * R)) / 3, m1 = 1 - (d1 + J)) : (R -= 2 / 3, J = (1 - W) / 3, m1 = (1 + W * a5(Je * R) / a5(z6 - Je * R)) / 3, d1 = 1 - (J + m1)), d1 = m3(n1 * d1 * 3), J = m3(n1 * J * 3), m1 = m3(n1 * m1 * 3), [d1 * 255, J * 255, m1 * 255, V.length > 3 ? V[3] : 1];
|
|
33599
33599
|
}, l8 = e7, b9 = y.unpack, ZC = y.type, li = Z, Ps = H, $s = w, FC = Q5;
|
|
33600
33600
|
Ps.prototype.hsi = function() {
|
|
33601
33601
|
return FC(this._rgb);
|
|
@@ -33710,10 +33710,10 @@ function jV1() {
|
|
|
33710
33710
|
return 255 * (V <= 304e-5 ? 12.92 * V : 1.055 * nu(V, 1 / 2.4) - 0.055);
|
|
33711
33711
|
}, q1 = function(V) {
|
|
33712
33712
|
return V > _9.t1 ? V * V * V : _9.t2 * (V - _9.t0);
|
|
33713
|
-
}, E2 = z, J3 = y.unpack, Z4 = y.type,
|
|
33713
|
+
}, E2 = z, J3 = y.unpack, Z4 = y.type, q6 = Z, M4 = H, Ci = w, n7 = Us;
|
|
33714
33714
|
M4.prototype.lab = function() {
|
|
33715
33715
|
return n7(this._rgb);
|
|
33716
|
-
},
|
|
33716
|
+
}, q6.lab = function() {
|
|
33717
33717
|
for (var V = [], A = arguments.length; A--; ) V[A] = arguments[A];
|
|
33718
33718
|
return new (Function.prototype.bind.apply(M4, [null].concat(V, ["lab"])))();
|
|
33719
33719
|
}, Ci.format.lab = E2, Ci.autodetect.push({
|
|
@@ -34303,12 +34303,12 @@ function jV1() {
|
|
|
34303
34303
|
W[0] += fu(m1[0], 2) * J, W[1] += fu(m1[1], 2) * J, W[2] += fu(m1[2], 2) * J, W[3] += m1[3] * J;
|
|
34304
34304
|
}
|
|
34305
34305
|
return W[0] = hu(W[0]), W[1] = hu(W[1]), W[2] = hu(W[2]), W[3] > 0.9999999 && (W[3] = 1), new pu(hZ(W));
|
|
34306
|
-
},
|
|
34307
|
-
var A = "rgb", R =
|
|
34308
|
-
if (t2 = t2 || ["#fff", "#000"], t2 && _0(t2) === "string" &&
|
|
34306
|
+
}, G6 = Z, _0 = y.type, wZ = Math.pow, mu = function(V) {
|
|
34307
|
+
var A = "rgb", R = G6("#ccc"), W = 0, n1 = [0, 1], d1 = [], J = [0, 0], m1 = !1, b1 = [], Z1 = !1, J1 = 0, b2 = 1, e2 = !1, x2 = {}, L2 = !0, ue = 1, be = function(t2) {
|
|
34308
|
+
if (t2 = t2 || ["#fff", "#000"], t2 && _0(t2) === "string" && G6.brewer && G6.brewer[t2.toLowerCase()] && (t2 = G6.brewer[t2.toLowerCase()]), _0(t2) === "array") {
|
|
34309
34309
|
t2.length === 1 && (t2 = [t2[0], t2[0]]), t2 = t2.slice(0);
|
|
34310
34310
|
for (var Z2 = 0; Z2 < t2.length; Z2++)
|
|
34311
|
-
t2[Z2] =
|
|
34311
|
+
t2[Z2] = G6(t2[Z2]);
|
|
34312
34312
|
d1.length = 0;
|
|
34313
34313
|
for (var ge = 0; ge < t2.length; ge++)
|
|
34314
34314
|
d1.push(ge / (t2.length - 1));
|
|
@@ -34352,7 +34352,7 @@ function jV1() {
|
|
|
34352
34352
|
break;
|
|
34353
34353
|
}
|
|
34354
34354
|
if (pe > Ze && pe < d1[Ae + 1]) {
|
|
34355
|
-
pe = (pe - Ze) / (d1[Ae + 1] - Ze), ge =
|
|
34355
|
+
pe = (pe - Ze) / (d1[Ae + 1] - Ze), ge = G6.interpolate(b1[Ae], b1[Ae + 1], pe, A);
|
|
34356
34356
|
break;
|
|
34357
34357
|
}
|
|
34358
34358
|
}
|
|
@@ -34365,7 +34365,7 @@ function jV1() {
|
|
|
34365
34365
|
};
|
|
34366
34366
|
be(V);
|
|
34367
34367
|
var Le = function(t2) {
|
|
34368
|
-
var Z2 =
|
|
34368
|
+
var Z2 = G6(r4(t2));
|
|
34369
34369
|
return Z1 && Z2[Z1] ? Z2[Z1]() : Z2;
|
|
34370
34370
|
};
|
|
34371
34371
|
return Le.classes = function(t2) {
|
|
@@ -34373,8 +34373,8 @@ function jV1() {
|
|
|
34373
34373
|
if (_0(t2) === "array")
|
|
34374
34374
|
m1 = t2, n1 = [t2[0], t2[t2.length - 1]];
|
|
34375
34375
|
else {
|
|
34376
|
-
var Z2 =
|
|
34377
|
-
t2 === 0 ? m1 = [Z2.min, Z2.max] : m1 =
|
|
34376
|
+
var Z2 = G6.analyze(n1);
|
|
34377
|
+
t2 === 0 ? m1 = [Z2.min, Z2.max] : m1 = G6.limits(Z2, "e", t2);
|
|
34378
34378
|
}
|
|
34379
34379
|
return Le;
|
|
34380
34380
|
}
|
|
@@ -34405,7 +34405,7 @@ function jV1() {
|
|
|
34405
34405
|
return Fe;
|
|
34406
34406
|
for (var Ke = 0; Fe >= Ze[Ke + 1]; )
|
|
34407
34407
|
Ke++;
|
|
34408
|
-
var
|
|
34408
|
+
var W6 = (Fe - Ze[Ke]) / (Ze[Ke + 1] - Ze[Ke]), s7 = Ae[Ke] + W6 * (Ae[Ke + 1] - Ae[Ke]);
|
|
34409
34409
|
return s7;
|
|
34410
34410
|
});
|
|
34411
34411
|
}
|
|
@@ -34421,7 +34421,7 @@ function jV1() {
|
|
|
34421
34421
|
return arguments.length ? (W = t2, Le) : W;
|
|
34422
34422
|
}, Le.correctLightness = function(t2) {
|
|
34423
34423
|
return t2 == null && (t2 = !0), e2 = t2, S5(), e2 ? Be = function(Z2) {
|
|
34424
|
-
for (var ge = r4(0, !0).lab()[0], pe = r4(1, !0).lab()[0], L4 = ge > pe, a3 = r4(Z2, !0).lab()[0], Ae = ge + (pe - ge) * Z2, Ze = a3 - Ae, Fe = 0, Ke = 1,
|
|
34424
|
+
for (var ge = r4(0, !0).lab()[0], pe = r4(1, !0).lab()[0], L4 = ge > pe, a3 = r4(Z2, !0).lab()[0], Ae = ge + (pe - ge) * Z2, Ze = a3 - Ae, Fe = 0, Ke = 1, W6 = 20; Math.abs(Ze) > 0.01 && W6-- > 0; )
|
|
34425
34425
|
(function() {
|
|
34426
34426
|
return L4 && (Ze *= -1), Ze < 0 ? (Fe = Z2, Z2 += (Ke - Z2) * 0.5) : (Ke = Z2, Z2 += (Fe - Z2) * 0.5), a3 = r4(Z2, !0).lab()[0], Ze = a3 - Ae;
|
|
34427
34427
|
})();
|
|
@@ -34455,7 +34455,7 @@ function jV1() {
|
|
|
34455
34455
|
return Le(Ke);
|
|
34456
34456
|
});
|
|
34457
34457
|
}
|
|
34458
|
-
return
|
|
34458
|
+
return G6[Z2] && (ge = ge.map(function(Ke) {
|
|
34459
34459
|
return Ke[Z2]();
|
|
34460
34460
|
})), ge;
|
|
34461
34461
|
}, Le.cache = function(t2) {
|
|
@@ -34463,7 +34463,7 @@ function jV1() {
|
|
|
34463
34463
|
}, Le.gamma = function(t2) {
|
|
34464
34464
|
return t2 != null ? (ue = t2, Le) : ue;
|
|
34465
34465
|
}, Le.nodata = function(t2) {
|
|
34466
|
-
return t2 != null ? (R =
|
|
34466
|
+
return t2 != null ? (R = G6(t2), Le) : R;
|
|
34467
34467
|
}, Le;
|
|
34468
34468
|
};
|
|
34469
34469
|
function bZ(V, A, R) {
|
|
@@ -34530,10 +34530,10 @@ function jV1() {
|
|
|
34530
34530
|
return A.scale = function() {
|
|
34531
34531
|
return vZ(A);
|
|
34532
34532
|
}, A;
|
|
34533
|
-
}, yu = Z,
|
|
34534
|
-
if (!
|
|
34533
|
+
}, yu = Z, j6 = function(V, A, R) {
|
|
34534
|
+
if (!j6[R])
|
|
34535
34535
|
throw new Error("unknown blend mode " + R);
|
|
34536
|
-
return
|
|
34536
|
+
return j6[R](V, A);
|
|
34537
34537
|
}, i7 = function(V) {
|
|
34538
34538
|
return function(A, R) {
|
|
34539
34539
|
var W = yu(R).rgb(), n1 = yu(A).rgb();
|
|
@@ -34561,8 +34561,8 @@ function jV1() {
|
|
|
34561
34561
|
}, EZ = function(V, A) {
|
|
34562
34562
|
return V === 255 ? 255 : (V = 255 * (A / 255) / (1 - V / 255), V > 255 ? 255 : V);
|
|
34563
34563
|
};
|
|
34564
|
-
|
|
34565
|
-
for (var AZ =
|
|
34564
|
+
j6.normal = i7(o7(kZ)), j6.multiply = i7(o7(LZ)), j6.screen = i7(o7(xZ)), j6.overlay = i7(o7(HZ)), j6.darken = i7(o7(TZ)), j6.lighten = i7(o7(VZ)), j6.dodge = i7(o7(EZ)), j6.burn = i7(o7(IZ));
|
|
34565
|
+
for (var AZ = j6, wu = y.type, PZ = y.clip_rgb, $Z = y.TWOPI, BZ = Math.pow, OZ = Math.sin, DZ = Math.cos, Ub = Z, NZ = function(V, A, R, W, n1) {
|
|
34566
34566
|
V === void 0 && (V = 300), A === void 0 && (A = -1.5), R === void 0 && (R = 1), W === void 0 && (W = 1), n1 === void 0 && (n1 = [0, 1]);
|
|
34567
34567
|
var d1 = 0, J;
|
|
34568
34568
|
wu(n1) === "array" ? J = n1[1] - n1[0] : (J = 0, n1 = [n1, n1]);
|
|
@@ -34651,8 +34651,8 @@ function jV1() {
|
|
|
34651
34651
|
Ze[Fe] = null;
|
|
34652
34652
|
for (var Ke = 0; Ke < be; Ke++)
|
|
34653
34653
|
ue = Ee[Ke], Ze[ue] === null ? Ze[ue] = d1[Ke] : Ze[ue] += d1[Ke];
|
|
34654
|
-
for (var
|
|
34655
|
-
Ze[
|
|
34654
|
+
for (var W6 = 0; W6 < R; W6++)
|
|
34655
|
+
Ze[W6] *= 1 / Be[W6];
|
|
34656
34656
|
k4 = !1;
|
|
34657
34657
|
for (var s7 = 0; s7 < R; s7++)
|
|
34658
34658
|
if (Ze[s7] !== S5[s7]) {
|
|
@@ -34690,7 +34690,7 @@ function jV1() {
|
|
|
34690
34690
|
V = new Kb(V), A = new Kb(A);
|
|
34691
34691
|
var m1 = Array.from(V.lab()), b1 = m1[0], Z1 = m1[1], J1 = m1[2], b2 = Array.from(A.lab()), e2 = b2[0], x2 = b2[1], L2 = b2[2], ue = (b1 + e2) / 2, be = c8(z3(Z1, 2) + z3(J1, 2)), Ee = c8(z3(x2, 2) + z3(L2, 2)), Be = (be + Ee) / 2, k4 = 0.5 * (1 - c8(z3(Be, 7) / (z3(Be, 7) + z3(25, 7)))), r4 = Z1 * (1 + k4), S5 = x2 * (1 + k4), Le = c8(z3(r4, 2) + z3(J1, 2)), t2 = c8(z3(S5, 2) + z3(L2, 2)), Z2 = (Le + t2) / 2, ge = d1(Yb(J1, r4)), pe = d1(Yb(L2, S5)), L4 = ge >= 0 ? ge : ge + 360, a3 = pe >= 0 ? pe : pe + 360, Ae = Xb(L4 - a3) > 180 ? (L4 + a3 + 360) / 2 : (L4 + a3) / 2, Ze = 1 - 0.17 * Js(J(Ae - 30)) + 0.24 * Js(J(2 * Ae)) + 0.32 * Js(J(3 * Ae + 6)) - 0.2 * Js(J(4 * Ae - 63)), Fe = a3 - L4;
|
|
34692
34692
|
Fe = Xb(Fe) <= 180 ? Fe : a3 <= L4 ? Fe + 360 : Fe - 360, Fe = 2 * c8(Le * t2) * Jb(J(Fe) / 2);
|
|
34693
|
-
var Ke = e2 - b1,
|
|
34693
|
+
var Ke = e2 - b1, W6 = t2 - Le, s7 = 1 + 0.015 * z3(ue - 50, 2) / c8(20 + z3(ue - 50, 2)), r7 = 1 + 0.045 * Z2, M0 = 1 + 0.015 * Z2 * Ze, k0 = 30 * XZ(-z3((Ae - 275) / 25, 2)), C8 = 2 * c8(z3(Z2, 7) / (z3(Z2, 7) + z3(25, 7))), st = -C8 * Jb(2 * J(k0)), hi = c8(z3(Ke / (R * s7), 2) + z3(W6 / (W * r7), 2) + z3(Fe / (n1 * M0), 2) + st * (W6 / (W * r7)) * (Fe / (n1 * M0)));
|
|
34694
34694
|
return YZ(0, KZ(100, hi));
|
|
34695
34695
|
}, ev = H, QZ = function(V, A, R) {
|
|
34696
34696
|
R === void 0 && (R = "lab"), V = new ev(V), A = new ev(A);
|
|
@@ -34856,7 +34856,7 @@ const {
|
|
|
34856
34856
|
} = Object;
|
|
34857
34857
|
let {
|
|
34858
34858
|
freeze: h5,
|
|
34859
|
-
seal:
|
|
34859
|
+
seal: $6,
|
|
34860
34860
|
create: yg
|
|
34861
34861
|
} = Object, {
|
|
34862
34862
|
apply: wg,
|
|
@@ -34865,7 +34865,7 @@ let {
|
|
|
34865
34865
|
h5 || (h5 = function(t) {
|
|
34866
34866
|
return t;
|
|
34867
34867
|
});
|
|
34868
|
-
|
|
34868
|
+
$6 || ($6 = function(t) {
|
|
34869
34869
|
return t;
|
|
34870
34870
|
});
|
|
34871
34871
|
wg || (wg = function(t, n) {
|
|
@@ -34878,7 +34878,7 @@ bg || (bg = function(t) {
|
|
|
34878
34878
|
i[o - 1] = arguments[o];
|
|
34879
34879
|
return new t(...i);
|
|
34880
34880
|
});
|
|
34881
|
-
const yr = g5(Array.prototype.forEach), ax1 = g5(Array.prototype.lastIndexOf), r_ = g5(Array.prototype.pop), _i = g5(Array.prototype.push), lx1 = g5(Array.prototype.splice), Gl = g5(String.prototype.toLowerCase), np = g5(String.prototype.toString), ip = g5(String.prototype.match), Mi = g5(String.prototype.replace), dx1 = g5(String.prototype.indexOf), cx1 = g5(String.prototype.trim),
|
|
34881
|
+
const yr = g5(Array.prototype.forEach), ax1 = g5(Array.prototype.lastIndexOf), r_ = g5(Array.prototype.pop), _i = g5(Array.prototype.push), lx1 = g5(Array.prototype.splice), Gl = g5(String.prototype.toLowerCase), np = g5(String.prototype.toString), ip = g5(String.prototype.match), Mi = g5(String.prototype.replace), dx1 = g5(String.prototype.indexOf), cx1 = g5(String.prototype.trim), Q6 = g5(Object.prototype.hasOwnProperty), l5 = g5(RegExp.prototype.test), ki = Cx1(TypeError);
|
|
34882
34882
|
function g5(e) {
|
|
34883
34883
|
return function(t) {
|
|
34884
34884
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -34910,13 +34910,13 @@ function me(e, t) {
|
|
|
34910
34910
|
}
|
|
34911
34911
|
function ux1(e) {
|
|
34912
34912
|
for (let t = 0; t < e.length; t++)
|
|
34913
|
-
|
|
34913
|
+
Q6(e, t) || (e[t] = null);
|
|
34914
34914
|
return e;
|
|
34915
34915
|
}
|
|
34916
34916
|
function V9(e) {
|
|
34917
34917
|
const t = yg(null);
|
|
34918
34918
|
for (const [n, i] of kA(e))
|
|
34919
|
-
|
|
34919
|
+
Q6(e, n) && (Array.isArray(i) ? t[n] = ux1(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = V9(i) : t[n] = i);
|
|
34920
34920
|
return t;
|
|
34921
34921
|
}
|
|
34922
34922
|
function Li(e, t) {
|
|
@@ -34935,13 +34935,13 @@ function Li(e, t) {
|
|
|
34935
34935
|
}
|
|
34936
34936
|
return n;
|
|
34937
34937
|
}
|
|
34938
|
-
const a_ = h5(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), op = h5(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), sp = h5(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), px1 = h5(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), rp = h5(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), fx1 = h5(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), l_ = h5(["#text"]), d_ = h5(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ap = h5(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), c_ = h5(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), wr = h5(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), hx1 =
|
|
34938
|
+
const a_ = h5(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), op = h5(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), sp = h5(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), px1 = h5(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), rp = h5(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), fx1 = h5(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), l_ = h5(["#text"]), d_ = h5(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ap = h5(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), c_ = h5(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), wr = h5(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), hx1 = $6(/\{\{[\w\W]*|[\w\W]*\}\}/gm), gx1 = $6(/<%[\w\W]*|[\w\W]*%>/gm), mx1 = $6(/\$\{[\w\W]*/gm), yx1 = $6(/^data-[\-\w.\u00B7-\uFFFF]+$/), wx1 = $6(/^aria-[\-\w]+$/), LA = $6(
|
|
34939
34939
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
34940
34940
|
// eslint-disable-line no-useless-escape
|
|
34941
|
-
), bx1 =
|
|
34941
|
+
), bx1 = $6(/^(?:\w+script|data):/i), vx1 = $6(
|
|
34942
34942
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
34943
34943
|
// eslint-disable-line no-control-regex
|
|
34944
|
-
), TA =
|
|
34944
|
+
), TA = $6(/^html$/i), Sx1 = $6(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
34945
34945
|
var C_ = /* @__PURE__ */ Object.freeze({
|
|
34946
34946
|
__proto__: null,
|
|
34947
34947
|
ARIA_ATTR: wx1,
|
|
@@ -35093,15 +35093,15 @@ function VA() {
|
|
|
35093
35093
|
let ke = me({}, ["mi", "mo", "mn", "ms", "mtext"]), e3 = me({}, ["annotation-xml"]);
|
|
35094
35094
|
const X3 = me({}, ["title", "style", "font", "a", "script"]);
|
|
35095
35095
|
let D3 = null;
|
|
35096
|
-
const Y5 = ["application/xhtml+xml", "text/html"],
|
|
35096
|
+
const Y5 = ["application/xhtml+xml", "text/html"], m6 = "text/html";
|
|
35097
35097
|
let $e = null, b5 = null;
|
|
35098
|
-
const
|
|
35098
|
+
const y6 = n.createElement("form"), v5 = function(i1) {
|
|
35099
35099
|
return i1 instanceof RegExp || i1 instanceof Function;
|
|
35100
35100
|
}, s5 = function() {
|
|
35101
35101
|
let i1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
35102
35102
|
if (!(b5 && b5 === i1)) {
|
|
35103
35103
|
if ((!i1 || typeof i1 != "object") && (i1 = {}), i1 = V9(i1), D3 = // eslint-disable-next-line unicorn/prefer-includes
|
|
35104
|
-
Y5.indexOf(i1.PARSER_MEDIA_TYPE) === -1 ?
|
|
35104
|
+
Y5.indexOf(i1.PARSER_MEDIA_TYPE) === -1 ? m6 : i1.PARSER_MEDIA_TYPE, $e = D3 === "application/xhtml+xml" ? np : Gl, a1 = Q6(i1, "ALLOWED_TAGS") ? me({}, i1.ALLOWED_TAGS, $e) : U1, F1 = Q6(i1, "ALLOWED_ATTR") ? me({}, i1.ALLOWED_ATTR, $e) : H1, f2 = Q6(i1, "ALLOWED_NAMESPACES") ? me({}, i1.ALLOWED_NAMESPACES, np) : a2, W1 = Q6(i1, "ADD_URI_SAFE_ATTR") ? me(V9(C2), i1.ADD_URI_SAFE_ATTR, $e) : C2, we = Q6(i1, "ADD_DATA_URI_TAGS") ? me(V9(M1), i1.ADD_DATA_URI_TAGS, $e) : M1, m2 = Q6(i1, "FORBID_CONTENTS") ? me({}, i1.FORBID_CONTENTS, $e) : ne, x1 = Q6(i1, "FORBID_TAGS") ? me({}, i1.FORBID_TAGS, $e) : V9({}), O1 = Q6(i1, "FORBID_ATTR") ? me({}, i1.FORBID_ATTR, $e) : V9({}), u2 = Q6(i1, "USE_PROFILES") ? i1.USE_PROFILES : !1, g2 = i1.ALLOW_ARIA_ATTR !== !1, A2 = i1.ALLOW_DATA_ATTR !== !1, U2 = i1.ALLOW_UNKNOWN_PROTOCOLS || !1, R2 = i1.ALLOW_SELF_CLOSE_IN_ATTR !== !1, $2 = i1.SAFE_FOR_TEMPLATES || !1, re = i1.SAFE_FOR_XML !== !1, He = i1.WHOLE_DOCUMENT || !1, X = i1.RETURN_DOM || !1, y1 = i1.RETURN_DOM_FRAGMENT || !1, D1 = i1.RETURN_TRUSTED_TYPE || !1, Y = i1.FORCE_BODY || !1, L1 = i1.SANITIZE_DOM !== !1, E1 = i1.SANITIZE_NAMED_PROPS || !1, h1 = i1.KEEP_CONTENT !== !1, Q1 = i1.IN_PLACE || !1, j = i1.ALLOWED_URI_REGEXP || LA, P1 = i1.NAMESPACE || l2, ke = i1.MATHML_TEXT_INTEGRATION_POINTS || ke, e3 = i1.HTML_INTEGRATION_POINTS || e3, g1 = i1.CUSTOM_ELEMENT_HANDLING || {}, i1.CUSTOM_ELEMENT_HANDLING && v5(i1.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (g1.tagNameCheck = i1.CUSTOM_ELEMENT_HANDLING.tagNameCheck), i1.CUSTOM_ELEMENT_HANDLING && v5(i1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (g1.attributeNameCheck = i1.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), i1.CUSTOM_ELEMENT_HANDLING && typeof i1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (g1.allowCustomizedBuiltInElements = i1.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), $2 && (A2 = !1), y1 && (X = !0), u2 && (a1 = me({}, l_), F1 = [], u2.html === !0 && (me(a1, a_), me(F1, d_)), u2.svg === !0 && (me(a1, op), me(F1, ap), me(F1, wr)), u2.svgFilters === !0 && (me(a1, sp), me(F1, ap), me(F1, wr)), u2.mathMl === !0 && (me(a1, rp), me(F1, c_), me(F1, wr))), i1.ADD_TAGS && (typeof i1.ADD_TAGS == "function" ? R1.tagCheck = i1.ADD_TAGS : (a1 === U1 && (a1 = V9(a1)), me(a1, i1.ADD_TAGS, $e))), i1.ADD_ATTR && (typeof i1.ADD_ATTR == "function" ? R1.attributeCheck = i1.ADD_ATTR : (F1 === H1 && (F1 = V9(F1)), me(F1, i1.ADD_ATTR, $e))), i1.ADD_URI_SAFE_ATTR && me(W1, i1.ADD_URI_SAFE_ATTR, $e), i1.FORBID_CONTENTS && (m2 === ne && (m2 = V9(m2)), me(m2, i1.FORBID_CONTENTS, $e)), i1.ADD_FORBID_CONTENTS && (m2 === ne && (m2 = V9(m2)), me(m2, i1.ADD_FORBID_CONTENTS, $e)), h1 && (a1["#text"] = !0), He && me(a1, ["html", "head", "body"]), a1.table && (me(a1, ["tbody"]), delete x1.tbody), i1.TRUSTED_TYPES_POLICY) {
|
|
35105
35105
|
if (typeof i1.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
35106
35106
|
throw ki('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
35107
35107
|
if (typeof i1.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -35175,7 +35175,7 @@ function VA() {
|
|
|
35175
35175
|
}
|
|
35176
35176
|
const k3 = X1.body || X1.documentElement;
|
|
35177
35177
|
return i1 && y2 && k3.insertBefore(n.createTextNode(y2), k3.childNodes[0] || null), P1 === l2 ? N.call(X1, He ? "html" : "body")[0] : He ? X1.documentElement : k3;
|
|
35178
|
-
},
|
|
35178
|
+
}, U6 = function(i1) {
|
|
35179
35179
|
return D.call(
|
|
35180
35180
|
i1.ownerDocument || i1,
|
|
35181
35181
|
i1,
|
|
@@ -35224,7 +35224,7 @@ function VA() {
|
|
|
35224
35224
|
element: i1.cloneNode()
|
|
35225
35225
|
}), i1.textContent = X1)), r5(K.afterSanitizeElements, i1, null), !1);
|
|
35226
35226
|
}, J5 = function(i1, X1, y2) {
|
|
35227
|
-
if (L1 && (X1 === "id" || X1 === "name") && (y2 in n || y2 in
|
|
35227
|
+
if (L1 && (X1 === "id" || X1 === "name") && (y2 in n || y2 in y6))
|
|
35228
35228
|
return !1;
|
|
35229
35229
|
if (!(A2 && !O1[X1] && l5(l1, X1))) {
|
|
35230
35230
|
if (!(g2 && l5(t1, X1))) {
|
|
@@ -35274,8 +35274,8 @@ function VA() {
|
|
|
35274
35274
|
name: r3,
|
|
35275
35275
|
namespaceURI: t3,
|
|
35276
35276
|
value: L3
|
|
35277
|
-
} = k3, Q5 = $e(r3),
|
|
35278
|
-
let m3 = r3 === "value" ?
|
|
35277
|
+
} = k3, Q5 = $e(r3), w6 = L3;
|
|
35278
|
+
let m3 = r3 === "value" ? w6 : cx1(w6);
|
|
35279
35279
|
if (y2.attrName = Q5, y2.attrValue = m3, y2.keepAttr = !0, y2.forceKeepAttr = void 0, r5(K.uponSanitizeAttribute, i1, y2), m3 = y2.attrValue, E1 && (Q5 === "id" || Q5 === "name") && (X5(r3, i1), m3 = _1 + m3), re && l5(/((--!?|])>)|<\/(style|title|textarea)/i, m3)) {
|
|
35280
35280
|
X5(r3, i1);
|
|
35281
35281
|
continue;
|
|
@@ -35294,8 +35294,8 @@ function VA() {
|
|
|
35294
35294
|
X5(r3, i1);
|
|
35295
35295
|
continue;
|
|
35296
35296
|
}
|
|
35297
|
-
$2 && yr([e1, U, s1], (
|
|
35298
|
-
m3 = Mi(m3,
|
|
35297
|
+
$2 && yr([e1, U, s1], (z6) => {
|
|
35298
|
+
m3 = Mi(m3, z6, " ");
|
|
35299
35299
|
});
|
|
35300
35300
|
const Je = $e(i1.nodeName);
|
|
35301
35301
|
if (!J5(Je, Q5, m3)) {
|
|
@@ -35313,7 +35313,7 @@ function VA() {
|
|
|
35313
35313
|
break;
|
|
35314
35314
|
}
|
|
35315
35315
|
}
|
|
35316
|
-
if (m3 !==
|
|
35316
|
+
if (m3 !== w6)
|
|
35317
35317
|
try {
|
|
35318
35318
|
t3 ? i1.setAttributeNS(t3, r3, m3) : i1.setAttribute(r3, m3), s8(i1) ? _4(i1) : r_(t.removed);
|
|
35319
35319
|
} catch {
|
|
@@ -35323,7 +35323,7 @@ function VA() {
|
|
|
35323
35323
|
r5(K.afterSanitizeAttributes, i1, null);
|
|
35324
35324
|
}, Q8 = function I2(i1) {
|
|
35325
35325
|
let X1 = null;
|
|
35326
|
-
const y2 =
|
|
35326
|
+
const y2 = U6(i1);
|
|
35327
35327
|
for (r5(K.beforeSanitizeShadowDOM, i1, null); X1 = y2.nextNode(); )
|
|
35328
35328
|
r5(K.uponSanitizeShadowNode, X1, null), X8(X1), J8(X1), X1.content instanceof s && I2(X1.content);
|
|
35329
35329
|
r5(K.afterSanitizeShadowDOM, i1, null);
|
|
@@ -35354,7 +35354,7 @@ function VA() {
|
|
|
35354
35354
|
return X ? null : D1 ? x : "";
|
|
35355
35355
|
}
|
|
35356
35356
|
X1 && Y && _4(X1.firstChild);
|
|
35357
|
-
const r3 =
|
|
35357
|
+
const r3 = U6(Q1 ? I2 : X1);
|
|
35358
35358
|
for (; N1 = r3.nextNode(); )
|
|
35359
35359
|
X8(N1), J8(N1), N1.content instanceof s && Q8(N1.content);
|
|
35360
35360
|
if (Q1)
|
|
@@ -35629,14 +35629,14 @@ const lp = /* @__PURE__ */ new WeakMap(), Pt = (e) => e ? e.startsWith("pageid:"
|
|
|
35629
35629
|
c = {
|
|
35630
35630
|
...c,
|
|
35631
35631
|
textAlign: l?.textAlign
|
|
35632
|
-
}, a[t.textField] =
|
|
35632
|
+
}, a[t.textField] = I6(
|
|
35633
35633
|
n,
|
|
35634
35634
|
a[t.textField],
|
|
35635
35635
|
c
|
|
35636
35636
|
);
|
|
35637
35637
|
} else if (!d && o && o.id === e.id && !Re(a[t.textField])) {
|
|
35638
35638
|
const u = o[t.styleField] || l;
|
|
35639
|
-
u && (a[t.textField] =
|
|
35639
|
+
u && (a[t.textField] = I6(
|
|
35640
35640
|
n,
|
|
35641
35641
|
a[t.textField],
|
|
35642
35642
|
u
|
|
@@ -35649,12 +35649,12 @@ const lp = /* @__PURE__ */ new WeakMap(), Pt = (e) => e ? e.startsWith("pageid:"
|
|
|
35649
35649
|
a = {
|
|
35650
35650
|
...a,
|
|
35651
35651
|
textAlign: s?.textAlign
|
|
35652
|
-
}, Re(o[t.textField]) || (o[t.textField] =
|
|
35652
|
+
}, Re(o[t.textField]) || (o[t.textField] = I6(
|
|
35653
35653
|
n,
|
|
35654
35654
|
o[t.textField],
|
|
35655
35655
|
a
|
|
35656
35656
|
));
|
|
35657
|
-
} else !r && s && !Re(o[t.textField]) && (o[t.textField] =
|
|
35657
|
+
} else !r && s && !Re(o[t.textField]) && (o[t.textField] = I6(
|
|
35658
35658
|
n,
|
|
35659
35659
|
o[t.textField],
|
|
35660
35660
|
s
|
|
@@ -35689,14 +35689,14 @@ const lp = /* @__PURE__ */ new WeakMap(), Pt = (e) => e ? e.startsWith("pageid:"
|
|
|
35689
35689
|
g = {
|
|
35690
35690
|
...g,
|
|
35691
35691
|
textAlign: u.textStyle.textAlign
|
|
35692
|
-
}, u.text =
|
|
35692
|
+
}, u.text = I6(
|
|
35693
35693
|
t,
|
|
35694
35694
|
u.text,
|
|
35695
35695
|
g
|
|
35696
35696
|
);
|
|
35697
35697
|
} else if (!h && i && i.id === d.id && !Re(u.text)) {
|
|
35698
35698
|
const g = i?.textItems?.[c]?.textStyle ?? i.textStyle;
|
|
35699
|
-
u.text =
|
|
35699
|
+
u.text = I6(
|
|
35700
35700
|
t,
|
|
35701
35701
|
u.text,
|
|
35702
35702
|
g
|
|
@@ -35710,14 +35710,14 @@ const lp = /* @__PURE__ */ new WeakMap(), Pt = (e) => e ? e.startsWith("pageid:"
|
|
|
35710
35710
|
u = {
|
|
35711
35711
|
...u,
|
|
35712
35712
|
textAlign: d.textStyle.textAlign
|
|
35713
|
-
}, d.text =
|
|
35713
|
+
}, d.text = I6(
|
|
35714
35714
|
t,
|
|
35715
35715
|
d.text,
|
|
35716
35716
|
u
|
|
35717
35717
|
);
|
|
35718
35718
|
} else if (!c && i && i.id === d.id && !Re(d.text)) {
|
|
35719
35719
|
const u = i.textStyle;
|
|
35720
|
-
d.text =
|
|
35720
|
+
d.text = I6(
|
|
35721
35721
|
t,
|
|
35722
35722
|
d.text,
|
|
35723
35723
|
u
|
|
@@ -35748,14 +35748,14 @@ const lp = /* @__PURE__ */ new WeakMap(), Pt = (e) => e ? e.startsWith("pageid:"
|
|
|
35748
35748
|
c = {
|
|
35749
35749
|
...c,
|
|
35750
35750
|
textAlign: l.textStyle.textAlign
|
|
35751
|
-
}, Re(l.text) || (l.text =
|
|
35751
|
+
}, Re(l.text) || (l.text = I6(
|
|
35752
35752
|
t,
|
|
35753
35753
|
l.text,
|
|
35754
35754
|
c
|
|
35755
35755
|
));
|
|
35756
35756
|
} else if (!d && !Re(l.text)) {
|
|
35757
35757
|
const c = l.textStyle;
|
|
35758
|
-
l.text =
|
|
35758
|
+
l.text = I6(
|
|
35759
35759
|
t,
|
|
35760
35760
|
l.text,
|
|
35761
35761
|
c
|
|
@@ -35769,14 +35769,14 @@ const lp = /* @__PURE__ */ new WeakMap(), Pt = (e) => e ? e.startsWith("pageid:"
|
|
|
35769
35769
|
l = {
|
|
35770
35770
|
...l,
|
|
35771
35771
|
textAlign: r.textStyle.textAlign
|
|
35772
|
-
}, Re(r.text) || (r.text =
|
|
35772
|
+
}, Re(r.text) || (r.text = I6(
|
|
35773
35773
|
t,
|
|
35774
35774
|
r.text,
|
|
35775
35775
|
l
|
|
35776
35776
|
));
|
|
35777
35777
|
} else if (!a && !Re(r.text)) {
|
|
35778
35778
|
const l = r.textStyle;
|
|
35779
|
-
r.text =
|
|
35779
|
+
r.text = I6(
|
|
35780
35780
|
t,
|
|
35781
35781
|
r.text,
|
|
35782
35782
|
l
|
|
@@ -35785,7 +35785,7 @@ const lp = /* @__PURE__ */ new WeakMap(), Pt = (e) => e ? e.startsWith("pageid:"
|
|
|
35785
35785
|
}
|
|
35786
35786
|
}
|
|
35787
35787
|
}
|
|
35788
|
-
},
|
|
35788
|
+
}, I6 = (e, t, n) => {
|
|
35789
35789
|
if (!t)
|
|
35790
35790
|
return t;
|
|
35791
35791
|
const i = t.includes(d0) ? q5(t) : t;
|
|
@@ -35901,9 +35901,9 @@ const Ox1 = () => (dp || (dp = kx1), dp), Dx1 = (e) => Rx1(e, Ox1()), Nx1 = (e)
|
|
|
35901
35901
|
(o) => e.startsWith(o)
|
|
35902
35902
|
);
|
|
35903
35903
|
return i ? `var(--${i})` : e;
|
|
35904
|
-
},
|
|
35904
|
+
}, L6 = (e) => Object.values(r2).some(
|
|
35905
35905
|
(t) => e.includes(t)
|
|
35906
|
-
),
|
|
35906
|
+
), d9 = (e) => {
|
|
35907
35907
|
if (!e) return !1;
|
|
35908
35908
|
let t = !1;
|
|
35909
35909
|
return Object.keys(r2).forEach((n) => {
|
|
@@ -37134,7 +37134,7 @@ const Cf = /* @__PURE__ */ f9(DH1), DA = (e) => {
|
|
|
37134
37134
|
return t;
|
|
37135
37135
|
const i = YA(e.displayStyle) ? HS.ULTRA_HD : HS.FULL_HD;
|
|
37136
37136
|
return `${t}${i}`;
|
|
37137
|
-
}, YA = (e) => e ===
|
|
37137
|
+
}, YA = (e) => e === l9 || e === _n || e === g3 || e === Gt, CC = (e, t, n) => {
|
|
37138
37138
|
const i = gy(t.buttonStyles), o = {
|
|
37139
37139
|
iconStyle: t.buttonStyles.iconStyle,
|
|
37140
37140
|
style: {
|
|
@@ -37402,7 +37402,7 @@ const Cf = /* @__PURE__ */ f9(DH1), DA = (e) => {
|
|
|
37402
37402
|
...o,
|
|
37403
37403
|
itemsId: s
|
|
37404
37404
|
})).filter(
|
|
37405
|
-
(o) => e.displayStyle === z5 || e.displayStyle ===
|
|
37405
|
+
(o) => e.displayStyle === z5 || e.displayStyle === h6 ? o.itemsId < Qh : !0
|
|
37406
37406
|
).map((o) => ({
|
|
37407
37407
|
...o,
|
|
37408
37408
|
buttonViewModel: o.buttonText && typeof o.buttonText == "string" ? CC(
|
|
@@ -42591,14 +42591,14 @@ function zE1() {
|
|
|
42591
42591
|
Object.defineProperty(t, "__esModule", {
|
|
42592
42592
|
value: !0
|
|
42593
42593
|
}), t.default = void 0;
|
|
42594
|
-
var i = N1(/* @__PURE__ */ by()), o = N1(/* @__PURE__ */ cP()), s = N1(/* @__PURE__ */ gI1()), r = N1(/* @__PURE__ */ mI1()), a = N1(/* @__PURE__ */ yI1()), l = N1(/* @__PURE__ */ wI1()), d = N1(/* @__PURE__ */ bI1()), c = N1(/* @__PURE__ */ fP()), u = N1(/* @__PURE__ */ gP()), h = N1(/* @__PURE__ */ vI1()), g = N1(/* @__PURE__ */ uC()), m = N1(/* @__PURE__ */ SI1()), y = N1(/* @__PURE__ */ vy()), w = N1(/* @__PURE__ */ mP()), b = N1(/* @__PURE__ */ _I1()), M = N1(/* @__PURE__ */ MI1()), S = N1(/* @__PURE__ */ kI1()), _ = N1(/* @__PURE__ */ LI1()), x = y2(/* @__PURE__ */ TI1()), H = y2(/* @__PURE__ */ VI1()), D = N1(/* @__PURE__ */ xI1()), Z = y2(/* @__PURE__ */ HI1()), N = N1(/* @__PURE__ */ II1()), F = N1(/* @__PURE__ */ EI1()), K = N1(/* @__PURE__ */ AI1()), e1 = N1(/* @__PURE__ */ PI1()), U = N1(/* @__PURE__ */ $I1()), s1 = N1(/* @__PURE__ */ yP()), l1 = N1(/* @__PURE__ */ wP()), t1 = N1(/* @__PURE__ */ BI1()), G = N1(/* @__PURE__ */ OI1()), q = N1(/* @__PURE__ */ NI1()), r1 = N1(/* @__PURE__ */ RI1()), j = N1(/* @__PURE__ */ Sy()), a1 = y2(/* @__PURE__ */ dP()), U1 = N1(/* @__PURE__ */ ZI1()), F1 = N1(/* @__PURE__ */ bP()), H1 = N1(/* @__PURE__ */ FI1()), g1 = N1(/* @__PURE__ */ UI1()), x1 = N1(/* @__PURE__ */ mA()), O1 = N1(/* @__PURE__ */ zI1()), R1 = N1(/* @__PURE__ */ qI1()), g2 = N1(/* @__PURE__ */ GI1()), A2 = y2(/* @__PURE__ */ jI1()), U2 = N1(/* @__PURE__ */ WI1()), R2 = N1(/* @__PURE__ */ KI1()), $2 = N1(/* @__PURE__ */ YI1()), re = N1(/* @__PURE__ */ XI1()), He = N1(/* @__PURE__ */ JI1()), Ie = N1(/* @__PURE__ */ QI1()), Y = N1(/* @__PURE__ */ eE1()), X = N1(/* @__PURE__ */ pP()), y1 = N1(/* @__PURE__ */ tE1()), D1 = N1(/* @__PURE__ */ nE1()), L1 = N1(/* @__PURE__ */ iE1()), E1 = N1(/* @__PURE__ */ oE1()), _1 = N1(/* @__PURE__ */ sE1()), h1 = N1(/* @__PURE__ */ rE1()), Q1 = N1(/* @__PURE__ */ _P()), u2 = N1(/* @__PURE__ */ aE1()), m2 = N1(/* @__PURE__ */ lE1()), ne = N1(/* @__PURE__ */ dE1()), we = N1(/* @__PURE__ */ cE1()), M1 = N1(/* @__PURE__ */ CE1()), W1 = N1(/* @__PURE__ */ uE1()), C2 = N1(/* @__PURE__ */ pE1()), z2 = y2(/* @__PURE__ */ fE1()), T1 = N1(/* @__PURE__ */ hE1()), l2 = N1(/* @__PURE__ */ gE1()), P1 = N1(/* @__PURE__ */ mE1()), $1 = /* @__PURE__ */ yE1(), f2 = N1(/* @__PURE__ */ wE1()), a2 = N1(/* @__PURE__ */ bE1()), ke = N1(/* @__PURE__ */ vE1()), e3 = N1(/* @__PURE__ */ SE1()), X3 = N1(/* @__PURE__ */ vP()), D3 = N1(/* @__PURE__ */ _E1()), Y5 = N1(/* @__PURE__ */ ME1()),
|
|
42594
|
+
var i = N1(/* @__PURE__ */ by()), o = N1(/* @__PURE__ */ cP()), s = N1(/* @__PURE__ */ gI1()), r = N1(/* @__PURE__ */ mI1()), a = N1(/* @__PURE__ */ yI1()), l = N1(/* @__PURE__ */ wI1()), d = N1(/* @__PURE__ */ bI1()), c = N1(/* @__PURE__ */ fP()), u = N1(/* @__PURE__ */ gP()), h = N1(/* @__PURE__ */ vI1()), g = N1(/* @__PURE__ */ uC()), m = N1(/* @__PURE__ */ SI1()), y = N1(/* @__PURE__ */ vy()), w = N1(/* @__PURE__ */ mP()), b = N1(/* @__PURE__ */ _I1()), M = N1(/* @__PURE__ */ MI1()), S = N1(/* @__PURE__ */ kI1()), _ = N1(/* @__PURE__ */ LI1()), x = y2(/* @__PURE__ */ TI1()), H = y2(/* @__PURE__ */ VI1()), D = N1(/* @__PURE__ */ xI1()), Z = y2(/* @__PURE__ */ HI1()), N = N1(/* @__PURE__ */ II1()), F = N1(/* @__PURE__ */ EI1()), K = N1(/* @__PURE__ */ AI1()), e1 = N1(/* @__PURE__ */ PI1()), U = N1(/* @__PURE__ */ $I1()), s1 = N1(/* @__PURE__ */ yP()), l1 = N1(/* @__PURE__ */ wP()), t1 = N1(/* @__PURE__ */ BI1()), G = N1(/* @__PURE__ */ OI1()), q = N1(/* @__PURE__ */ NI1()), r1 = N1(/* @__PURE__ */ RI1()), j = N1(/* @__PURE__ */ Sy()), a1 = y2(/* @__PURE__ */ dP()), U1 = N1(/* @__PURE__ */ ZI1()), F1 = N1(/* @__PURE__ */ bP()), H1 = N1(/* @__PURE__ */ FI1()), g1 = N1(/* @__PURE__ */ UI1()), x1 = N1(/* @__PURE__ */ mA()), O1 = N1(/* @__PURE__ */ zI1()), R1 = N1(/* @__PURE__ */ qI1()), g2 = N1(/* @__PURE__ */ GI1()), A2 = y2(/* @__PURE__ */ jI1()), U2 = N1(/* @__PURE__ */ WI1()), R2 = N1(/* @__PURE__ */ KI1()), $2 = N1(/* @__PURE__ */ YI1()), re = N1(/* @__PURE__ */ XI1()), He = N1(/* @__PURE__ */ JI1()), Ie = N1(/* @__PURE__ */ QI1()), Y = N1(/* @__PURE__ */ eE1()), X = N1(/* @__PURE__ */ pP()), y1 = N1(/* @__PURE__ */ tE1()), D1 = N1(/* @__PURE__ */ nE1()), L1 = N1(/* @__PURE__ */ iE1()), E1 = N1(/* @__PURE__ */ oE1()), _1 = N1(/* @__PURE__ */ sE1()), h1 = N1(/* @__PURE__ */ rE1()), Q1 = N1(/* @__PURE__ */ _P()), u2 = N1(/* @__PURE__ */ aE1()), m2 = N1(/* @__PURE__ */ lE1()), ne = N1(/* @__PURE__ */ dE1()), we = N1(/* @__PURE__ */ cE1()), M1 = N1(/* @__PURE__ */ CE1()), W1 = N1(/* @__PURE__ */ uE1()), C2 = N1(/* @__PURE__ */ pE1()), z2 = y2(/* @__PURE__ */ fE1()), T1 = N1(/* @__PURE__ */ hE1()), l2 = N1(/* @__PURE__ */ gE1()), P1 = N1(/* @__PURE__ */ mE1()), $1 = /* @__PURE__ */ yE1(), f2 = N1(/* @__PURE__ */ wE1()), a2 = N1(/* @__PURE__ */ bE1()), ke = N1(/* @__PURE__ */ vE1()), e3 = N1(/* @__PURE__ */ SE1()), X3 = N1(/* @__PURE__ */ vP()), D3 = N1(/* @__PURE__ */ _E1()), Y5 = N1(/* @__PURE__ */ ME1()), m6 = N1(/* @__PURE__ */ kE1()), $e = N1(/* @__PURE__ */ LE1()), b5 = N1(/* @__PURE__ */ TE1()), y6 = N1(/* @__PURE__ */ SP()), v5 = N1(/* @__PURE__ */ VE1()), s5 = N1(/* @__PURE__ */ xE1()), K8 = N1(/* @__PURE__ */ HE1()), o8 = N1(/* @__PURE__ */ IE1()), Y8 = N1(/* @__PURE__ */ EE1()), _4 = y2(/* @__PURE__ */ AE1()), X5 = N1(/* @__PURE__ */ LP()), R4 = N1(/* @__PURE__ */ kP()), U6 = N1(/* @__PURE__ */ TP()), s8 = N1(/* @__PURE__ */ PE1()), r8 = N1(/* @__PURE__ */ $E1()), r5 = N1(/* @__PURE__ */ BE1()), X8 = N1(/* @__PURE__ */ OE1()), J5 = N1(/* @__PURE__ */ VP()), a8 = N1(/* @__PURE__ */ DE1()), J8 = N1(/* @__PURE__ */ NE1()), Q8 = N1(/* @__PURE__ */ RE1()), I2 = N1(/* @__PURE__ */ ZE1()), i1 = N1(/* @__PURE__ */ FE1()), X1 = N1(/* @__PURE__ */ UE1());
|
|
42595
42595
|
function y2(t3, L3) {
|
|
42596
|
-
if (typeof WeakMap == "function") var Q5 = /* @__PURE__ */ new WeakMap(),
|
|
42597
|
-
return (y2 = function(Je,
|
|
42598
|
-
if (!
|
|
42596
|
+
if (typeof WeakMap == "function") var Q5 = /* @__PURE__ */ new WeakMap(), w6 = /* @__PURE__ */ new WeakMap();
|
|
42597
|
+
return (y2 = function(Je, z6) {
|
|
42598
|
+
if (!z6 && Je && Je.__esModule) return Je;
|
|
42599
42599
|
var a5, e7, l8 = { __proto__: null, default: Je };
|
|
42600
42600
|
if (Je === null || n(Je) != "object" && typeof Je != "function") return l8;
|
|
42601
|
-
if (a5 =
|
|
42601
|
+
if (a5 = z6 ? w6 : Q5) {
|
|
42602
42602
|
if (a5.has(Je)) return a5.get(Je);
|
|
42603
42603
|
a5.set(Je, l8);
|
|
42604
42604
|
}
|
|
@@ -42694,10 +42694,10 @@ function zE1() {
|
|
|
42694
42694
|
isISO31661Alpha2: X3.default,
|
|
42695
42695
|
isISO31661Alpha3: D3.default,
|
|
42696
42696
|
isISO31661Numeric: Y5.default,
|
|
42697
|
-
isISO4217:
|
|
42697
|
+
isISO4217: m6.default,
|
|
42698
42698
|
isBase32: $e.default,
|
|
42699
42699
|
isBase58: b5.default,
|
|
42700
|
-
isBase64:
|
|
42700
|
+
isBase64: y6.default,
|
|
42701
42701
|
isDataURI: v5.default,
|
|
42702
42702
|
isMagnetURI: s5.default,
|
|
42703
42703
|
isMailtoURI: K8.default,
|
|
@@ -42705,7 +42705,7 @@ function zE1() {
|
|
|
42705
42705
|
isLatLong: Y8.default,
|
|
42706
42706
|
ltrim: X5.default,
|
|
42707
42707
|
rtrim: R4.default,
|
|
42708
|
-
trim:
|
|
42708
|
+
trim: U6.default,
|
|
42709
42709
|
escape: s8.default,
|
|
42710
42710
|
unescape: r8.default,
|
|
42711
42711
|
stripLow: r5.default,
|
|
@@ -42727,7 +42727,7 @@ function zE1() {
|
|
|
42727
42727
|
})(br, br.exports)), br.exports;
|
|
42728
42728
|
}
|
|
42729
42729
|
var _y = /* @__PURE__ */ zE1();
|
|
42730
|
-
const qE1 = /* @__PURE__ */ f9(_y), My = (e) => typeof e == "string" || e instanceof String, K4 = (e, t) => My(e) && _y.isURL(e, t),
|
|
42730
|
+
const qE1 = /* @__PURE__ */ f9(_y), My = (e) => typeof e == "string" || e instanceof String, K4 = (e, t) => My(e) && _y.isURL(e, t), B6 = (e) => My(e) && _y.isEmail(e), R8 = (e) => {
|
|
42731
42731
|
const t = /^[0-9*+-\s]+$/;
|
|
42732
42732
|
return e.match(t) && e.length >= 3 && e.length <= 18;
|
|
42733
42733
|
}, GE1 = (e, t) => My(e) && e.length <= t, ky = (e) => {
|
|
@@ -42737,7 +42737,7 @@ const qE1 = /* @__PURE__ */ f9(_y), My = (e) => typeof e == "string" || e instan
|
|
|
42737
42737
|
if (e.trim() === "") {
|
|
42738
42738
|
if (t)
|
|
42739
42739
|
return he("contactFormEmailFieldRequired");
|
|
42740
|
-
} else return
|
|
42740
|
+
} else return B6(e) ? e.length >= jE1 ? he("contactFormEmailFieldTooLong") : void 0 : he("contactFormEmailFieldInvalid");
|
|
42741
42741
|
}, xP = (e, t) => {
|
|
42742
42742
|
if (e.trim() === "" && t)
|
|
42743
42743
|
return he("contactFormPhoneFieldRequired");
|
|
@@ -42794,7 +42794,7 @@ const qE1 = /* @__PURE__ */ f9(_y), My = (e) => typeof e == "string" || e instan
|
|
|
42794
42794
|
borderRadius: i
|
|
42795
42795
|
} : e > 1 && t === X9 && !i ? {
|
|
42796
42796
|
aspectRatio: uf
|
|
42797
|
-
} : (t === z5 || t ===
|
|
42797
|
+
} : (t === z5 || t === h6) && !i ? {
|
|
42798
42798
|
aspectRatio: uf
|
|
42799
42799
|
} : t === ze && !i ? {
|
|
42800
42800
|
aspectRatio: JE1
|
|
@@ -42804,7 +42804,7 @@ const qE1 = /* @__PURE__ */ f9(_y), My = (e) => typeof e == "string" || e instan
|
|
|
42804
42804
|
}, PP = (e, t, n) => !(n === u1.default && t === ze && e <= 1), Ty = (e) => e.isPreview ? "slug" : e.brandPageSlug, QE1 = {
|
|
42805
42805
|
imageUrls: ["backgroundImageUrl"],
|
|
42806
42806
|
shapes: ["name"]
|
|
42807
|
-
},
|
|
42807
|
+
}, v6 = {
|
|
42808
42808
|
ctaTitle: ["title"]
|
|
42809
42809
|
}, eA1 = {
|
|
42810
42810
|
ctaTitle: ["ctaTitle", "buttonText"],
|
|
@@ -42829,18 +42829,18 @@ const qE1 = /* @__PURE__ */ f9(_y), My = (e) => typeof e == "string" || e instan
|
|
|
42829
42829
|
"image-gallery",
|
|
42830
42830
|
"text"
|
|
42831
42831
|
], iA1 = {
|
|
42832
|
-
"general-link":
|
|
42833
|
-
facebook:
|
|
42834
|
-
instagram:
|
|
42835
|
-
linkedin:
|
|
42836
|
-
pinterest:
|
|
42837
|
-
tiktok:
|
|
42838
|
-
twitch:
|
|
42839
|
-
x:
|
|
42840
|
-
youtube:
|
|
42841
|
-
email:
|
|
42842
|
-
phone:
|
|
42843
|
-
website:
|
|
42832
|
+
"general-link": v6,
|
|
42833
|
+
facebook: v6,
|
|
42834
|
+
instagram: v6,
|
|
42835
|
+
linkedin: v6,
|
|
42836
|
+
pinterest: v6,
|
|
42837
|
+
tiktok: v6,
|
|
42838
|
+
twitch: v6,
|
|
42839
|
+
x: v6,
|
|
42840
|
+
youtube: v6,
|
|
42841
|
+
email: v6,
|
|
42842
|
+
phone: v6,
|
|
42843
|
+
website: v6,
|
|
42844
42844
|
style: QE1,
|
|
42845
42845
|
"text-media-items": tA1
|
|
42846
42846
|
};
|
|
@@ -43778,7 +43778,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
43778
43778
|
} catch {
|
|
43779
43779
|
return;
|
|
43780
43780
|
}
|
|
43781
|
-
}, _A1 = (e, t) => e?.length ? e === "preview_image_solid_no_buffer" ?
|
|
43781
|
+
}, _A1 = (e, t) => e?.length ? e === "preview_image_solid_no_buffer" ? i9.LOGO_WITH_BACKGROUND : t?.length ? t === "icontransparentbackgroundonly" ? i9.LOGO_ONLY_WITH_TRANSPARENT_BACKGROUND : t === "texttransparentbackgroundonly" ? i9.TEXT_ONLY_WITH_TRANSPARENT_BACKGROUND : iy : i9.LOGO_WITH_TRANSPARENT_BACKGROUND : i9.LOGO_WITH_TRANSPARENT_BACKGROUND, ln = (e) => Z8(e)?.logoVariation || iy, e$ = (e, t) => YP.map((n, i) => d3.getInstance().getLogoVariationUrlByLogoVariationIndex(
|
|
43782
43782
|
e,
|
|
43783
43783
|
t,
|
|
43784
43784
|
i
|
|
@@ -44056,7 +44056,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
44056
44056
|
...i.contents.filter(c0)
|
|
44057
44057
|
], []).forEach((n) => {
|
|
44058
44058
|
let i = "left";
|
|
44059
|
-
(n.displayStyle === g3 || n.displayStyle ===
|
|
44059
|
+
(n.displayStyle === g3 || n.displayStyle === l9 || n.displayStyle === ze) && (i = xe), n.titleStyle = {
|
|
44060
44060
|
...n.titleStyle,
|
|
44061
44061
|
textAlign: n.titleStyle?.textAlign || i,
|
|
44062
44062
|
fontFamily: n.titleStyle?.fontFamily || P2[G2].name,
|
|
@@ -44082,7 +44082,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
44082
44082
|
return;
|
|
44083
44083
|
const i = new URL(n.imageUrl);
|
|
44084
44084
|
!i.hostname.includes("unsplash.com") || ![
|
|
44085
|
-
|
|
44085
|
+
l9,
|
|
44086
44086
|
_n,
|
|
44087
44087
|
g3,
|
|
44088
44088
|
Gt
|
|
@@ -44114,7 +44114,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
44114
44114
|
)
|
|
44115
44115
|
], []).forEach((n) => {
|
|
44116
44116
|
let i = xe;
|
|
44117
|
-
n.displayStyle ===
|
|
44117
|
+
n.displayStyle === l9 && (i = "left"), n.titleStyle = {
|
|
44118
44118
|
...n.titleStyle,
|
|
44119
44119
|
textAlign: n.titleStyle?.textAlign || xe,
|
|
44120
44120
|
fontFamily: n.titleStyle?.fontFamily || P2[G2].name,
|
|
@@ -44419,7 +44419,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
44419
44419
|
let o = Z8(
|
|
44420
44420
|
n.logoImageUrl
|
|
44421
44421
|
);
|
|
44422
|
-
o || (o = { ...
|
|
44422
|
+
o || (o = { ...s9 }), n.imageStyle && (n.logoImageHeight = n.imageStyle.height, n.logoImageWidth = n.imageStyle.width, delete n.imageStyle), delete n.logoImageUrl, delete n.logoDraftToken, delete n.logoVariation, t.contents[i] = {
|
|
44423
44423
|
...n,
|
|
44424
44424
|
backgroundStyle: n.backgroundStyle || {},
|
|
44425
44425
|
isLogoVisible: n.isLogoVisible === void 0 ? !0 : n.isLogoVisible,
|
|
@@ -44896,19 +44896,19 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
44896
44896
|
if (u0(i)) {
|
|
44897
44897
|
const o = i;
|
|
44898
44898
|
o.fields.push({
|
|
44899
|
-
id:
|
|
44899
|
+
id: n9.customField1,
|
|
44900
44900
|
name: "Custom Field",
|
|
44901
44901
|
enabled: !1,
|
|
44902
44902
|
required: !1,
|
|
44903
44903
|
type: "text"
|
|
44904
44904
|
}), o.fields.push({
|
|
44905
|
-
id:
|
|
44905
|
+
id: n9.customField2,
|
|
44906
44906
|
name: "Custom Field",
|
|
44907
44907
|
enabled: !1,
|
|
44908
44908
|
required: !1,
|
|
44909
44909
|
type: "text"
|
|
44910
44910
|
}), o.fields.push({
|
|
44911
|
-
id:
|
|
44911
|
+
id: n9.customField3,
|
|
44912
44912
|
name: "Custom Field",
|
|
44913
44913
|
enabled: !1,
|
|
44914
44914
|
required: !1,
|
|
@@ -45262,7 +45262,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
45262
45262
|
isBookingContent: zA,
|
|
45263
45263
|
isButtonContent: Jn,
|
|
45264
45264
|
isContact: u0,
|
|
45265
|
-
isEmail:
|
|
45265
|
+
isEmail: B6,
|
|
45266
45266
|
isHexTransparent: J9,
|
|
45267
45267
|
isImageContent: qA,
|
|
45268
45268
|
isImagesContent: C0,
|
|
@@ -45464,7 +45464,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
45464
45464
|
textStyleType: S2.paragraphs,
|
|
45465
45465
|
textAlign: "center"
|
|
45466
45466
|
},
|
|
45467
|
-
columnStyle:
|
|
45467
|
+
columnStyle: J6[1],
|
|
45468
45468
|
textAlignment: {},
|
|
45469
45469
|
textColor: {},
|
|
45470
45470
|
backgroundColor: {}
|
|
@@ -45476,7 +45476,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
45476
45476
|
width: X7
|
|
45477
45477
|
},
|
|
45478
45478
|
logoImage: {
|
|
45479
|
-
...
|
|
45479
|
+
...s9
|
|
45480
45480
|
},
|
|
45481
45481
|
logoImageBase64Url: void 0,
|
|
45482
45482
|
logoImageHeight: void 0,
|
|
@@ -45649,56 +45649,56 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
45649
45649
|
imageUrl: "",
|
|
45650
45650
|
fields: [
|
|
45651
45651
|
{
|
|
45652
|
-
id:
|
|
45652
|
+
id: n9.firstName,
|
|
45653
45653
|
name: O("firstNameLabel"),
|
|
45654
45654
|
enabled: !0,
|
|
45655
45655
|
required: !0,
|
|
45656
45656
|
type: "text"
|
|
45657
45657
|
},
|
|
45658
45658
|
{
|
|
45659
|
-
id:
|
|
45659
|
+
id: n9.lastName,
|
|
45660
45660
|
name: O("lastNameLabel"),
|
|
45661
45661
|
enabled: !0,
|
|
45662
45662
|
required: !0,
|
|
45663
45663
|
type: "text"
|
|
45664
45664
|
},
|
|
45665
45665
|
{
|
|
45666
|
-
id:
|
|
45666
|
+
id: n9.emailAddress,
|
|
45667
45667
|
name: O("emailAddressLabel"),
|
|
45668
45668
|
enabled: !0,
|
|
45669
45669
|
required: !0,
|
|
45670
45670
|
type: "email"
|
|
45671
45671
|
},
|
|
45672
45672
|
{
|
|
45673
|
-
id:
|
|
45673
|
+
id: n9.phoneNumber,
|
|
45674
45674
|
name: O("phoneNumberLabel"),
|
|
45675
45675
|
enabled: !0,
|
|
45676
45676
|
required: !0,
|
|
45677
45677
|
type: "phone"
|
|
45678
45678
|
},
|
|
45679
45679
|
{
|
|
45680
|
-
id:
|
|
45680
|
+
id: n9.message,
|
|
45681
45681
|
name: O("messageLabel"),
|
|
45682
45682
|
enabled: !0,
|
|
45683
45683
|
required: !0,
|
|
45684
45684
|
type: "text-area"
|
|
45685
45685
|
},
|
|
45686
45686
|
{
|
|
45687
|
-
id:
|
|
45687
|
+
id: n9.customField1,
|
|
45688
45688
|
name: O("customFieldLabel"),
|
|
45689
45689
|
enabled: !1,
|
|
45690
45690
|
required: !1,
|
|
45691
45691
|
type: "text"
|
|
45692
45692
|
},
|
|
45693
45693
|
{
|
|
45694
|
-
id:
|
|
45694
|
+
id: n9.customField2,
|
|
45695
45695
|
name: O("customFieldLabel"),
|
|
45696
45696
|
enabled: !1,
|
|
45697
45697
|
required: !1,
|
|
45698
45698
|
type: "text"
|
|
45699
45699
|
},
|
|
45700
45700
|
{
|
|
45701
|
-
id:
|
|
45701
|
+
id: n9.customField3,
|
|
45702
45702
|
name: O("customFieldLabel"),
|
|
45703
45703
|
enabled: !1,
|
|
45704
45704
|
required: !1,
|
|
@@ -45963,7 +45963,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
45963
45963
|
imageLink: ""
|
|
45964
45964
|
}
|
|
45965
45965
|
],
|
|
45966
|
-
iconDisplayStyle:
|
|
45966
|
+
iconDisplayStyle: V6.none,
|
|
45967
45967
|
iconFillStyles: {},
|
|
45968
45968
|
iconBackgroundStyles: {},
|
|
45969
45969
|
backgroundStyles: {},
|
|
@@ -46160,7 +46160,7 @@ const XP = /brand-page\/([^?]*)/, SA1 = /logo\/([^\/]*)\//, JP = /(http|https):\
|
|
|
46160
46160
|
let ff;
|
|
46161
46161
|
const w4 = () => (ff || (ff = k2.create({
|
|
46162
46162
|
headers: {
|
|
46163
|
-
"Accept-Language":
|
|
46163
|
+
"Accept-Language": a9()
|
|
46164
46164
|
}
|
|
46165
46165
|
})), ff), D4 = (e) => {
|
|
46166
46166
|
switch (e) {
|
|
@@ -46259,7 +46259,7 @@ const w4 = () => (ff || (ff = k2.create({
|
|
|
46259
46259
|
query: e.query,
|
|
46260
46260
|
page: e.page.toString(),
|
|
46261
46261
|
pageSize: e.pageSize.toString(),
|
|
46262
|
-
locale:
|
|
46262
|
+
locale: a9()
|
|
46263
46263
|
})}`;
|
|
46264
46264
|
try {
|
|
46265
46265
|
const i = await w4().get(n);
|
|
@@ -47111,7 +47111,7 @@ const S$1 = {
|
|
|
47111
47111
|
r ? n.push(`URL;TYPE=${r}:${o}`) : n.push(`URL:${o}`), i.add(s);
|
|
47112
47112
|
}
|
|
47113
47113
|
}, c$ = (e, t, n, i, o) => {
|
|
47114
|
-
o === "email" ||
|
|
47114
|
+
o === "email" || B6(e) ? OL(e, n, i) : o === "phone" || R8(e) ? BL(e, n, i) : e.startsWith("tel:") ? BL(e.replace("tel:", ""), n, i) : e.startsWith("mailto:") ? OL(e.replace("mailto:", ""), n, i) : k$1(
|
|
47115
47115
|
e,
|
|
47116
47116
|
Og(e) || Og(t),
|
|
47117
47117
|
n,
|
|
@@ -53351,7 +53351,7 @@ function sT(e, t, n, i, o) {
|
|
|
53351
53351
|
for (var s; ; ) {
|
|
53352
53352
|
if (e == n && t == i)
|
|
53353
53353
|
return !0;
|
|
53354
|
-
if (t == (o < 0 ? 0 :
|
|
53354
|
+
if (t == (o < 0 ? 0 : H6(e))) {
|
|
53355
53355
|
let r = e.parentNode;
|
|
53356
53356
|
if (!r || r.nodeType != 1 || Ss(e) || AB1.test(e.nodeName) || e.contentEditable == "false")
|
|
53357
53357
|
return !1;
|
|
@@ -53364,12 +53364,12 @@ function sT(e, t, n, i, o) {
|
|
|
53364
53364
|
else
|
|
53365
53365
|
return !1;
|
|
53366
53366
|
else
|
|
53367
|
-
e = r, t = o < 0 ?
|
|
53367
|
+
e = r, t = o < 0 ? H6(e) : 0;
|
|
53368
53368
|
} else
|
|
53369
53369
|
return !1;
|
|
53370
53370
|
}
|
|
53371
53371
|
}
|
|
53372
|
-
function
|
|
53372
|
+
function H6(e) {
|
|
53373
53373
|
return e.nodeType == 3 ? e.nodeValue.length : e.childNodes.length;
|
|
53374
53374
|
}
|
|
53375
53375
|
function PB1(e, t) {
|
|
@@ -53379,7 +53379,7 @@ function PB1(e, t) {
|
|
|
53379
53379
|
if (e.nodeType == 1 && t > 0) {
|
|
53380
53380
|
if (e.contentEditable == "false")
|
|
53381
53381
|
return null;
|
|
53382
|
-
e = e.childNodes[t - 1], t =
|
|
53382
|
+
e = e.childNodes[t - 1], t = H6(e);
|
|
53383
53383
|
} else if (e.parentNode && !Ss(e))
|
|
53384
53384
|
t = x4(e), e = e.parentNode;
|
|
53385
53385
|
else
|
|
@@ -53401,13 +53401,13 @@ function $B1(e, t) {
|
|
|
53401
53401
|
}
|
|
53402
53402
|
}
|
|
53403
53403
|
function BB1(e, t, n) {
|
|
53404
|
-
for (let i = t == 0, o = t ==
|
|
53404
|
+
for (let i = t == 0, o = t == H6(e); i || o; ) {
|
|
53405
53405
|
if (e == n)
|
|
53406
53406
|
return !0;
|
|
53407
53407
|
let s = x4(e);
|
|
53408
53408
|
if (e = e.parentNode, !e)
|
|
53409
53409
|
return !1;
|
|
53410
|
-
i = i && s == 0, o = o && s ==
|
|
53410
|
+
i = i && s == 0, o = o && s == H6(e);
|
|
53411
53411
|
}
|
|
53412
53412
|
}
|
|
53413
53413
|
function Ss(e) {
|
|
@@ -53434,18 +53434,18 @@ function DB1(e, t, n) {
|
|
|
53434
53434
|
try {
|
|
53435
53435
|
let i = e.caretPositionFromPoint(t, n);
|
|
53436
53436
|
if (i)
|
|
53437
|
-
return { node: i.offsetNode, offset: Math.min(
|
|
53437
|
+
return { node: i.offsetNode, offset: Math.min(H6(i.offsetNode), i.offset) };
|
|
53438
53438
|
} catch {
|
|
53439
53439
|
}
|
|
53440
53440
|
if (e.caretRangeFromPoint) {
|
|
53441
53441
|
let i = e.caretRangeFromPoint(t, n);
|
|
53442
53442
|
if (i)
|
|
53443
|
-
return { node: i.startContainer, offset: Math.min(
|
|
53443
|
+
return { node: i.startContainer, offset: Math.min(H6(i.startContainer), i.startOffset) };
|
|
53444
53444
|
}
|
|
53445
53445
|
}
|
|
53446
|
-
const Q9 = typeof navigator < "u" ? navigator : null, rT = typeof document < "u" ? document : null, Q7 = Q9 && Q9.userAgent || "", jg = /Edge\/(\d+)/.exec(Q7), q$ = /MSIE \d/.exec(Q7), Wg = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Q7), D5 = !!(q$ || Wg || jg), O7 = q$ ? document.documentMode : Wg ? +Wg[1] : jg ? +jg[1] : 0,
|
|
53447
|
-
|
|
53448
|
-
const Kg = !D5 && /Chrome\/(\d+)/.exec(Q7), Y4 = !!Kg, G$ = Kg ? +Kg[1] : 0, m5 = !D5 && !!Q9 && /Apple Computer/.test(Q9.vendor), An = m5 && (/Mobile\/\w+/.test(Q7) || !!Q9 && Q9.maxTouchPoints > 2),
|
|
53446
|
+
const Q9 = typeof navigator < "u" ? navigator : null, rT = typeof document < "u" ? document : null, Q7 = Q9 && Q9.userAgent || "", jg = /Edge\/(\d+)/.exec(Q7), q$ = /MSIE \d/.exec(Q7), Wg = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Q7), D5 = !!(q$ || Wg || jg), O7 = q$ ? document.documentMode : Wg ? +Wg[1] : jg ? +jg[1] : 0, E6 = !D5 && /gecko\/(\d+)/i.test(Q7);
|
|
53447
|
+
E6 && +(/Firefox\/(\d+)/.exec(Q7) || [0, 0])[1];
|
|
53448
|
+
const Kg = !D5 && /Chrome\/(\d+)/.exec(Q7), Y4 = !!Kg, G$ = Kg ? +Kg[1] : 0, m5 = !D5 && !!Q9 && /Apple Computer/.test(Q9.vendor), An = m5 && (/Mobile\/\w+/.test(Q7) || !!Q9 && Q9.maxTouchPoints > 2), T6 = An || (Q9 ? /Mac/.test(Q9.platform) : !1), NB1 = Q9 ? /Win/.test(Q9.platform) : !1, x8 = /Android \d/.test(Q7), _s = !!rT && "webkitFontSmoothing" in rT.documentElement.style, RB1 = _s ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
53449
53449
|
function ZB1(e) {
|
|
53450
53450
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
53451
53451
|
return t ? {
|
|
@@ -53635,7 +53635,7 @@ function YB1(e, t) {
|
|
|
53635
53635
|
for (let d = r; i && d; d = En(d))
|
|
53636
53636
|
d.draggable && (i = void 0);
|
|
53637
53637
|
if (r = jB1(r, t), i) {
|
|
53638
|
-
if (
|
|
53638
|
+
if (E6 && i.nodeType == 1 && (o = Math.min(o, i.childNodes.length), o < i.childNodes.length)) {
|
|
53639
53639
|
let c = i.childNodes[o], u;
|
|
53640
53640
|
c.nodeName == "IMG" && (u = c.getBoundingClientRect()).right <= t.left && u.bottom > t.top && o++;
|
|
53641
53641
|
}
|
|
@@ -53660,11 +53660,11 @@ function c7(e, t) {
|
|
|
53660
53660
|
}
|
|
53661
53661
|
const XB1 = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
|
|
53662
53662
|
function X$(e, t, n) {
|
|
53663
|
-
let { node: i, offset: o, atom: s } = e.docView.domFromPos(t, n < 0 ? -1 : 1), r = _s ||
|
|
53663
|
+
let { node: i, offset: o, atom: s } = e.docView.domFromPos(t, n < 0 ? -1 : 1), r = _s || E6;
|
|
53664
53664
|
if (i.nodeType == 3)
|
|
53665
53665
|
if (r && (XB1.test(i.nodeValue) || (n < 0 ? !o : o == i.nodeValue.length))) {
|
|
53666
53666
|
let l = c7(v8(i, o, o), n);
|
|
53667
|
-
if (
|
|
53667
|
+
if (E6 && o && /\s/.test(i.nodeValue[o - 1]) && o < i.nodeValue.length) {
|
|
53668
53668
|
let d = c7(v8(i, o - 1, o - 1), -1);
|
|
53669
53669
|
if (d.top == l.top) {
|
|
53670
53670
|
let c = c7(v8(i, o, o + 1), -1);
|
|
@@ -53678,24 +53678,24 @@ function X$(e, t, n) {
|
|
|
53678
53678
|
return n < 0 && !o ? (d++, c = -1) : n >= 0 && o == i.nodeValue.length ? (l--, c = 1) : n < 0 ? l-- : d++, Vi(c7(v8(i, l, d), c), c < 0);
|
|
53679
53679
|
}
|
|
53680
53680
|
if (!e.state.doc.resolve(t - (s || 0)).parent.inlineContent) {
|
|
53681
|
-
if (s == null && o && (n < 0 || o ==
|
|
53681
|
+
if (s == null && o && (n < 0 || o == H6(i))) {
|
|
53682
53682
|
let l = i.childNodes[o - 1];
|
|
53683
53683
|
if (l.nodeType == 1)
|
|
53684
53684
|
return Vf(l.getBoundingClientRect(), !1);
|
|
53685
53685
|
}
|
|
53686
|
-
if (s == null && o <
|
|
53686
|
+
if (s == null && o < H6(i)) {
|
|
53687
53687
|
let l = i.childNodes[o];
|
|
53688
53688
|
if (l.nodeType == 1)
|
|
53689
53689
|
return Vf(l.getBoundingClientRect(), !0);
|
|
53690
53690
|
}
|
|
53691
53691
|
return Vf(i.getBoundingClientRect(), n >= 0);
|
|
53692
53692
|
}
|
|
53693
|
-
if (s == null && o && (n < 0 || o ==
|
|
53694
|
-
let l = i.childNodes[o - 1], d = l.nodeType == 3 ? v8(l,
|
|
53693
|
+
if (s == null && o && (n < 0 || o == H6(i))) {
|
|
53694
|
+
let l = i.childNodes[o - 1], d = l.nodeType == 3 ? v8(l, H6(l) - (r ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
|
|
53695
53695
|
if (d)
|
|
53696
53696
|
return Vi(c7(d, 1), !1);
|
|
53697
53697
|
}
|
|
53698
|
-
if (s == null && o <
|
|
53698
|
+
if (s == null && o < H6(i)) {
|
|
53699
53699
|
let l = i.childNodes[o];
|
|
53700
53700
|
for (; l.pmViewDesc && l.pmViewDesc.ignoreForCoords; )
|
|
53701
53701
|
l = l.nextSibling;
|
|
@@ -53779,10 +53779,10 @@ let dT = null, cT = null, CT = !1;
|
|
|
53779
53779
|
function tO1(e, t, n) {
|
|
53780
53780
|
return dT == t && cT == n ? CT : (dT = t, cT = n, CT = n == "up" || n == "down" ? JB1(e, t, n) : eO1(e, t, n));
|
|
53781
53781
|
}
|
|
53782
|
-
const
|
|
53782
|
+
const A6 = 0, uT = 1, _t = 2, e8 = 3;
|
|
53783
53783
|
class Ms {
|
|
53784
53784
|
constructor(t, n, i, o) {
|
|
53785
|
-
this.parent = t, this.children = n, this.dom = i, this.contentDOM = o, this.dirty =
|
|
53785
|
+
this.parent = t, this.children = n, this.dom = i, this.contentDOM = o, this.dirty = A6, i.pmViewDesc = this;
|
|
53786
53786
|
}
|
|
53787
53787
|
// Used to check whether a given description corresponds to a
|
|
53788
53788
|
// widget/mark/node.
|
|
@@ -54039,7 +54039,7 @@ class Ms {
|
|
|
54039
54039
|
m = w;
|
|
54040
54040
|
}
|
|
54041
54041
|
let a = this.domFromPos(t, t ? -1 : 1), l = n == t ? a : this.domFromPos(n, n ? -1 : 1), d = i.root.getSelection(), c = i.domSelectionRange(), u = !1;
|
|
54042
|
-
if ((
|
|
54042
|
+
if ((E6 || m5) && t == n) {
|
|
54043
54043
|
let { node: g, offset: m } = a;
|
|
54044
54044
|
if (g.nodeType == 3) {
|
|
54045
54045
|
if (u = !!(m && g.nodeValue[m - 1] == `
|
|
@@ -54058,14 +54058,14 @@ class Ms {
|
|
|
54058
54058
|
u = y && (y.nodeName == "BR" || y.contentEditable == "false");
|
|
54059
54059
|
}
|
|
54060
54060
|
}
|
|
54061
|
-
if (
|
|
54061
|
+
if (E6 && c.focusNode && c.focusNode != l.node && c.focusNode.nodeType == 1) {
|
|
54062
54062
|
let g = c.focusNode.childNodes[c.focusOffset];
|
|
54063
54063
|
g && g.contentEditable == "false" && (o = !0);
|
|
54064
54064
|
}
|
|
54065
54065
|
if (!(o || u && m5) && Qt(a.node, a.offset, c.anchorNode, c.anchorOffset) && Qt(l.node, l.offset, c.focusNode, c.focusOffset))
|
|
54066
54066
|
return;
|
|
54067
54067
|
let h = !1;
|
|
54068
|
-
if ((d.extend || t == n) && !(u &&
|
|
54068
|
+
if ((d.extend || t == n) && !(u && E6)) {
|
|
54069
54069
|
d.collapse(a.node, a.offset);
|
|
54070
54070
|
try {
|
|
54071
54071
|
t != n && d.extend(l.node, l.offset), h = !0;
|
|
@@ -54142,7 +54142,7 @@ class Q$ extends Ms {
|
|
|
54142
54142
|
super(t, [], r, null), this.widget = n, this.widget = n, s = this;
|
|
54143
54143
|
}
|
|
54144
54144
|
matchesWidget(t) {
|
|
54145
|
-
return this.dirty ==
|
|
54145
|
+
return this.dirty == A6 && t.type.eq(this.widget.type);
|
|
54146
54146
|
}
|
|
54147
54147
|
parseRule() {
|
|
54148
54148
|
return { ignore: !0 };
|
|
@@ -54199,11 +54199,11 @@ class e0 extends Ms {
|
|
|
54199
54199
|
return this.dirty != e8 && this.mark.eq(t);
|
|
54200
54200
|
}
|
|
54201
54201
|
markDirty(t, n) {
|
|
54202
|
-
if (super.markDirty(t, n), this.dirty !=
|
|
54202
|
+
if (super.markDirty(t, n), this.dirty != A6) {
|
|
54203
54203
|
let i = this.parent;
|
|
54204
54204
|
for (; !i.node; )
|
|
54205
54205
|
i = i.parent;
|
|
54206
|
-
i.dirty < this.dirty && (i.dirty = this.dirty), this.dirty =
|
|
54206
|
+
i.dirty < this.dirty && (i.dirty = this.dirty), this.dirty = A6;
|
|
54207
54207
|
}
|
|
54208
54208
|
}
|
|
54209
54209
|
slice(t, n, i) {
|
|
@@ -54271,7 +54271,7 @@ class D7 extends Ms {
|
|
|
54271
54271
|
return t;
|
|
54272
54272
|
}
|
|
54273
54273
|
matchesNode(t, n, i) {
|
|
54274
|
-
return this.dirty ==
|
|
54274
|
+
return this.dirty == A6 && t.eq(this.node) && Gd(n, this.outerDeco) && i.eq(this.innerDeco);
|
|
54275
54275
|
}
|
|
54276
54276
|
get size() {
|
|
54277
54277
|
return this.node.nodeSize;
|
|
@@ -54326,7 +54326,7 @@ class D7 extends Ms {
|
|
|
54326
54326
|
return this.dirty == e8 || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, n, i, o), !0);
|
|
54327
54327
|
}
|
|
54328
54328
|
updateInner(t, n, i, o) {
|
|
54329
|
-
this.updateOuterDeco(n), this.node = t, this.innerDeco = i, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty =
|
|
54329
|
+
this.updateOuterDeco(n), this.node = t, this.innerDeco = i, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = A6;
|
|
54330
54330
|
}
|
|
54331
54331
|
updateOuterDeco(t) {
|
|
54332
54332
|
if (Gd(t, this.outerDeco))
|
|
@@ -54362,7 +54362,7 @@ class bC extends D7 {
|
|
|
54362
54362
|
return { skip: t || !0 };
|
|
54363
54363
|
}
|
|
54364
54364
|
update(t, n, i, o) {
|
|
54365
|
-
return this.dirty == e8 || this.dirty !=
|
|
54365
|
+
return this.dirty == e8 || this.dirty != A6 && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(n), (this.dirty != A6 || 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 = A6, !0);
|
|
54366
54366
|
}
|
|
54367
54367
|
inParent() {
|
|
54368
54368
|
let t = this.parent.contentDOM;
|
|
@@ -54399,7 +54399,7 @@ class eB extends Ms {
|
|
|
54399
54399
|
return { ignore: !0 };
|
|
54400
54400
|
}
|
|
54401
54401
|
matchesHack(t) {
|
|
54402
|
-
return this.dirty ==
|
|
54402
|
+
return this.dirty == A6 && this.dom.nodeName == t;
|
|
54403
54403
|
}
|
|
54404
54404
|
get domAtom() {
|
|
54405
54405
|
return !0;
|
|
@@ -54557,7 +54557,7 @@ class sO1 {
|
|
|
54557
54557
|
for (; o < r && (o == s - 1 ? this.top : this.stack[o + 1 << 1]).matchesMark(t[o]) && t[o].type.spec.spanning !== !1; )
|
|
54558
54558
|
o++;
|
|
54559
54559
|
for (; o < s; )
|
|
54560
|
-
this.destroyRest(), this.top.dirty =
|
|
54560
|
+
this.destroyRest(), this.top.dirty = A6, this.index = this.stack.pop(), this.top = this.stack.pop(), s--;
|
|
54561
54561
|
for (; s < t.length; ) {
|
|
54562
54562
|
this.stack.push(this.top, this.index + 1);
|
|
54563
54563
|
let a = -1;
|
|
@@ -54627,7 +54627,7 @@ class sO1 {
|
|
|
54627
54627
|
if (!h && l.update(t, n, i, o))
|
|
54628
54628
|
return this.destroyBetween(this.index, a), l.dom != c && (this.changed = !0), this.index++, !0;
|
|
54629
54629
|
if (!h && (u = this.recreateWrapper(l, t, n, i, o, r)))
|
|
54630
|
-
return this.destroyBetween(this.index, a), this.top.children[this.index] = u, u.contentDOM && (u.dirty = _t, u.updateChildren(o, r + 1), u.dirty =
|
|
54630
|
+
return this.destroyBetween(this.index, a), this.top.children[this.index] = u, u.contentDOM && (u.dirty = _t, u.updateChildren(o, r + 1), u.dirty = A6), this.changed = !0, this.index++, !0;
|
|
54631
54631
|
break;
|
|
54632
54632
|
}
|
|
54633
54633
|
}
|
|
@@ -54944,7 +54944,7 @@ function bT(e, t, n) {
|
|
|
54944
54944
|
if (e.endOfTextblock(t > 0 ? "forward" : "backward")) {
|
|
54945
54945
|
let o = Jg(e.state, t);
|
|
54946
54946
|
return o && o instanceof O2 ? p7(e, o) : !1;
|
|
54947
|
-
} else if (!(
|
|
54947
|
+
} else if (!(T6 && n.indexOf("m") > -1)) {
|
|
54948
54948
|
let o = i.$head, s = o.textOffset ? null : t < 0 ? o.nodeBefore : o.nodeAfter, r;
|
|
54949
54949
|
if (!s || s.isText)
|
|
54950
54950
|
return !1;
|
|
@@ -54976,7 +54976,7 @@ function fO1(e) {
|
|
|
54976
54976
|
if (!n)
|
|
54977
54977
|
return;
|
|
54978
54978
|
let o, s, r = !1;
|
|
54979
|
-
for (
|
|
54979
|
+
for (E6 && n.nodeType == 1 && i < jd(n) && so(n.childNodes[i], -1) && (r = !0); ; )
|
|
54980
54980
|
if (i > 0) {
|
|
54981
54981
|
if (n.nodeType != 1)
|
|
54982
54982
|
break;
|
|
@@ -55104,7 +55104,7 @@ function vT(e, t) {
|
|
|
55104
55104
|
}
|
|
55105
55105
|
function ST(e, t, n) {
|
|
55106
55106
|
let i = e.state.selection;
|
|
55107
|
-
if (i instanceof ie && !i.empty || n.indexOf("s") > -1 ||
|
|
55107
|
+
if (i instanceof ie && !i.empty || n.indexOf("s") > -1 || T6 && n.indexOf("m") > -1)
|
|
55108
55108
|
return !1;
|
|
55109
55109
|
let { $from: o, $to: s } = i;
|
|
55110
55110
|
if (!o.parent.inlineContent || e.endOfTextblock(t < 0 ? "up" : "down")) {
|
|
@@ -55154,24 +55154,24 @@ function wO1(e) {
|
|
|
55154
55154
|
}
|
|
55155
55155
|
function bO1(e, t) {
|
|
55156
55156
|
let n = t.keyCode, i = wO1(t);
|
|
55157
|
-
if (n == 8 ||
|
|
55157
|
+
if (n == 8 || T6 && n == 72 && i == "c")
|
|
55158
55158
|
return _T(e, -1) || j0(e, -1);
|
|
55159
|
-
if (n == 46 && !t.shiftKey ||
|
|
55159
|
+
if (n == 46 && !t.shiftKey || T6 && n == 68 && i == "c")
|
|
55160
55160
|
return _T(e, 1) || j0(e, 1);
|
|
55161
55161
|
if (n == 13 || n == 27)
|
|
55162
55162
|
return !0;
|
|
55163
|
-
if (n == 37 ||
|
|
55163
|
+
if (n == 37 || T6 && n == 66 && i == "c") {
|
|
55164
55164
|
let o = n == 37 ? vT(e, e.state.selection.from) == "ltr" ? -1 : 1 : -1;
|
|
55165
55165
|
return bT(e, o, i) || j0(e, o);
|
|
55166
|
-
} else if (n == 39 ||
|
|
55166
|
+
} else if (n == 39 || T6 && n == 70 && i == "c") {
|
|
55167
55167
|
let o = n == 39 ? vT(e, e.state.selection.from) == "ltr" ? 1 : -1 : 1;
|
|
55168
55168
|
return bT(e, o, i) || j0(e, o);
|
|
55169
55169
|
} else {
|
|
55170
|
-
if (n == 38 ||
|
|
55170
|
+
if (n == 38 || T6 && n == 80 && i == "c")
|
|
55171
55171
|
return ST(e, -1, i) || j0(e, -1);
|
|
55172
|
-
if (n == 40 ||
|
|
55172
|
+
if (n == 40 || T6 && n == 78 && i == "c")
|
|
55173
55173
|
return yO1(e) || ST(e, 1, i) || j0(e, 1);
|
|
55174
|
-
if (i == (
|
|
55174
|
+
if (i == (T6 ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90))
|
|
55175
55175
|
return !0;
|
|
55176
55176
|
}
|
|
55177
55177
|
return !1;
|
|
@@ -55430,7 +55430,7 @@ w5.keyup = (e, t) => {
|
|
|
55430
55430
|
};
|
|
55431
55431
|
w5.keypress = (e, t) => {
|
|
55432
55432
|
let n = t;
|
|
55433
|
-
if (hB(e, n) || !n.charCode || n.ctrlKey && !n.altKey ||
|
|
55433
|
+
if (hB(e, n) || !n.charCode || n.ctrlKey && !n.altKey || T6 && n.metaKey)
|
|
55434
55434
|
return;
|
|
55435
55435
|
if (e.someProp("handleKeyPress", (o) => o(e, n))) {
|
|
55436
55436
|
n.preventDefault();
|
|
@@ -55515,7 +55515,7 @@ function NO1(e, t, n) {
|
|
|
55515
55515
|
function Qy(e) {
|
|
55516
55516
|
return Wd(e);
|
|
55517
55517
|
}
|
|
55518
|
-
const fB =
|
|
55518
|
+
const fB = T6 ? "metaKey" : "ctrlKey";
|
|
55519
55519
|
y5.mousedown = (e, t) => {
|
|
55520
55520
|
let n = t;
|
|
55521
55521
|
e.input.shiftKey = n.shiftKey;
|
|
@@ -55541,7 +55541,7 @@ class RO1 {
|
|
|
55541
55541
|
node: s,
|
|
55542
55542
|
pos: r,
|
|
55543
55543
|
addAttr: !!(this.target && !this.target.draggable),
|
|
55544
|
-
setUneditable: !!(this.target &&
|
|
55544
|
+
setUneditable: !!(this.target && E6 && !this.target.hasAttribute("contentEditable"))
|
|
55545
55545
|
}), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
|
|
55546
55546
|
this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
|
|
55547
55547
|
}, 20), this.view.domObserver.start()), t.root.addEventListener("mouseup", this.up = this.up.bind(this)), t.root.addEventListener("mousemove", this.move = this.move.bind(this)), x7(t, "pointer");
|
|
@@ -55587,7 +55587,7 @@ w5.compositionstart = w5.compositionupdate = (e) => {
|
|
|
55587
55587
|
let { state: t } = e, n = t.selection.$to;
|
|
55588
55588
|
if (t.selection instanceof ie && (t.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((i) => i.type.spec.inclusive === !1)))
|
|
55589
55589
|
e.markCursor = e.state.storedMarks || n.marks(), Wd(e, !0), e.markCursor = null;
|
|
55590
|
-
else if (Wd(e, !t.selection.empty),
|
|
55590
|
+
else if (Wd(e, !t.selection.empty), E6 && t.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
|
|
55591
55591
|
let i = e.domSelectionRange();
|
|
55592
55592
|
for (let o = i.focusNode, s = i.focusOffset; o && o.nodeType == 1 && s != 0; ) {
|
|
55593
55593
|
let r = s < 0 ? o.lastChild : o.childNodes[s - 1];
|
|
@@ -55706,7 +55706,7 @@ class wB {
|
|
|
55706
55706
|
this.slice = t, this.move = n, this.node = i;
|
|
55707
55707
|
}
|
|
55708
55708
|
}
|
|
55709
|
-
const jO1 =
|
|
55709
|
+
const jO1 = T6 ? "altKey" : "ctrlKey";
|
|
55710
55710
|
function bB(e, t) {
|
|
55711
55711
|
let n = e.someProp("dragCopies", (i) => !i(t));
|
|
55712
55712
|
return n ?? !t[jO1];
|
|
@@ -56418,7 +56418,7 @@ class QO1 {
|
|
|
56418
56418
|
let u = this.registerMutation(n[c], l);
|
|
56419
56419
|
u && (s = s < 0 ? u.from : Math.min(u.from, s), r = r < 0 ? u.to : Math.max(u.to, r), u.typeOver && (a = !0));
|
|
56420
56420
|
}
|
|
56421
|
-
if (
|
|
56421
|
+
if (E6 && l.length) {
|
|
56422
56422
|
let c = l.filter((u) => u.nodeName == "BR");
|
|
56423
56423
|
if (c.length == 2) {
|
|
56424
56424
|
let [u, h] = c;
|
|
@@ -56470,7 +56470,7 @@ class QO1 {
|
|
|
56470
56470
|
let VT = /* @__PURE__ */ new WeakMap(), xT = !1;
|
|
56471
56471
|
function eD1(e) {
|
|
56472
56472
|
if (!VT.has(e) && (VT.set(e, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace) !== -1)) {
|
|
56473
|
-
if (e.requiresGeckoHackNode =
|
|
56473
|
+
if (e.requiresGeckoHackNode = E6, xT)
|
|
56474
56474
|
return;
|
|
56475
56475
|
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), xT = !0;
|
|
56476
56476
|
}
|
|
@@ -58157,7 +58157,7 @@ function LC(e, t) {
|
|
|
58157
58157
|
pl(t[i]) && pl(e[i]) ? n[i] = LC(e[i], t[i]) : n[i] = t[i];
|
|
58158
58158
|
}), n;
|
|
58159
58159
|
}
|
|
58160
|
-
class
|
|
58160
|
+
class O6 {
|
|
58161
58161
|
constructor(t = {}) {
|
|
58162
58162
|
this.type = "mark", this.name = "mark", this.parent = null, this.child = null, this.config = {
|
|
58163
58163
|
name: this.name,
|
|
@@ -58173,7 +58173,7 @@ class B6 {
|
|
|
58173
58173
|
})) || {};
|
|
58174
58174
|
}
|
|
58175
58175
|
static create(t = {}) {
|
|
58176
|
-
return new
|
|
58176
|
+
return new O6(t);
|
|
58177
58177
|
}
|
|
58178
58178
|
configure(t = {}) {
|
|
58179
58179
|
const n = this.extend({
|
|
@@ -58183,7 +58183,7 @@ class B6 {
|
|
|
58183
58183
|
return n.name = this.name, n.parent = this.parent, n;
|
|
58184
58184
|
}
|
|
58185
58185
|
extend(t = {}) {
|
|
58186
|
-
const n = new
|
|
58186
|
+
const n = new O6(t);
|
|
58187
58187
|
return n.parent = this, this.child = n, n.name = t.name ? t.name : n.parent.name, t.defaultOptions && Object.keys(t.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`), n.options = fe(H2(n, "addOptions", {
|
|
58188
58188
|
name: n.name
|
|
58189
58189
|
})), n.storage = fe(H2(n, "addStorage", {
|
|
@@ -58426,7 +58426,7 @@ class cn {
|
|
|
58426
58426
|
type: $f(r.name, this.schema)
|
|
58427
58427
|
}, l = [], d = H2(r, "addKeyboardShortcuts", a);
|
|
58428
58428
|
let c = {};
|
|
58429
|
-
if (r.type === "mark" && H2(r, "exitable", a) && (c.ArrowRight = () =>
|
|
58429
|
+
if (r.type === "mark" && H2(r, "exitable", a) && (c.ArrowRight = () => O6.handleExit({ editor: t, mark: r })), d) {
|
|
58430
58430
|
const y = Object.fromEntries(Object.entries(d()).map(([w, b]) => [w, () => b({ editor: t })]));
|
|
58431
58431
|
c = { ...c, ...y };
|
|
58432
58432
|
}
|
|
@@ -60427,7 +60427,7 @@ function AR1(e, t) {
|
|
|
60427
60427
|
}
|
|
60428
60428
|
return !1;
|
|
60429
60429
|
}
|
|
60430
|
-
var N5 = "top",
|
|
60430
|
+
var N5 = "top", D6 = "bottom", N6 = "right", R5 = "left", hw = "auto", ks = [N5, D6, N6, R5], $n = "start", Do = "end", PR1 = "clippingParents", YB = "viewport", xi = "popper", $R1 = "reference", GT = /* @__PURE__ */ ks.reduce(function(e, t) {
|
|
60431
60431
|
return e.concat([t + "-" + $n, t + "-" + Do]);
|
|
60432
60432
|
}, []), XB = /* @__PURE__ */ [].concat(ks, [hw]).reduce(function(e, t) {
|
|
60433
60433
|
return e.concat([t, t + "-" + $n, t + "-" + Do]);
|
|
@@ -60435,7 +60435,7 @@ var N5 = "top", O6 = "bottom", D6 = "right", R5 = "left", hw = "auto", ks = [N5,
|
|
|
60435
60435
|
function t8(e) {
|
|
60436
60436
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
60437
60437
|
}
|
|
60438
|
-
function
|
|
60438
|
+
function g6(e) {
|
|
60439
60439
|
if (e == null)
|
|
60440
60440
|
return window;
|
|
60441
60441
|
if (e.toString() !== "[object Window]") {
|
|
@@ -60445,24 +60445,24 @@ function h6(e) {
|
|
|
60445
60445
|
return e;
|
|
60446
60446
|
}
|
|
60447
60447
|
function n0(e) {
|
|
60448
|
-
var t =
|
|
60448
|
+
var t = g6(e).Element;
|
|
60449
60449
|
return e instanceof t || e instanceof Element;
|
|
60450
60450
|
}
|
|
60451
|
-
function
|
|
60452
|
-
var t =
|
|
60451
|
+
function P6(e) {
|
|
60452
|
+
var t = g6(e).HTMLElement;
|
|
60453
60453
|
return e instanceof t || e instanceof HTMLElement;
|
|
60454
60454
|
}
|
|
60455
60455
|
function gw(e) {
|
|
60456
60456
|
if (typeof ShadowRoot > "u")
|
|
60457
60457
|
return !1;
|
|
60458
|
-
var t =
|
|
60458
|
+
var t = g6(e).ShadowRoot;
|
|
60459
60459
|
return e instanceof t || e instanceof ShadowRoot;
|
|
60460
60460
|
}
|
|
60461
60461
|
function GR1(e) {
|
|
60462
60462
|
var t = e.state;
|
|
60463
60463
|
Object.keys(t.elements).forEach(function(n) {
|
|
60464
60464
|
var i = t.styles[n] || {}, o = t.attributes[n] || {}, s = t.elements[n];
|
|
60465
|
-
!
|
|
60465
|
+
!P6(s) || !t8(s) || (Object.assign(s.style, i), Object.keys(o).forEach(function(r) {
|
|
60466
60466
|
var a = o[r];
|
|
60467
60467
|
a === !1 ? s.removeAttribute(r) : s.setAttribute(r, a === !0 ? "" : a);
|
|
60468
60468
|
}));
|
|
@@ -60486,7 +60486,7 @@ function jR1(e) {
|
|
|
60486
60486
|
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) {
|
|
60487
60487
|
return l[d] = "", l;
|
|
60488
60488
|
}, {});
|
|
60489
|
-
!
|
|
60489
|
+
!P6(o) || !t8(o) || (Object.assign(o.style, a), Object.keys(s).forEach(function(l) {
|
|
60490
60490
|
o.removeAttribute(l);
|
|
60491
60491
|
}));
|
|
60492
60492
|
});
|
|
@@ -60516,8 +60516,8 @@ function QB() {
|
|
|
60516
60516
|
function On(e, t, n) {
|
|
60517
60517
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
60518
60518
|
var i = e.getBoundingClientRect(), o = 1, s = 1;
|
|
60519
|
-
t &&
|
|
60520
|
-
var r = n0(e) ?
|
|
60519
|
+
t && P6(e) && (o = e.offsetWidth > 0 && Bn(i.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && Bn(i.height) / e.offsetHeight || 1);
|
|
60520
|
+
var r = n0(e) ? g6(e) : window, a = r.visualViewport, l = !QB() && n, d = (i.left + (l && a ? a.offsetLeft : 0)) / o, c = (i.top + (l && a ? a.offsetTop : 0)) / s, u = i.width / o, h = i.height / s;
|
|
60521
60521
|
return {
|
|
60522
60522
|
width: u,
|
|
60523
60523
|
height: h,
|
|
@@ -60553,7 +60553,7 @@ function eO(e, t) {
|
|
|
60553
60553
|
return !1;
|
|
60554
60554
|
}
|
|
60555
60555
|
function F8(e) {
|
|
60556
|
-
return
|
|
60556
|
+
return g6(e).getComputedStyle(e);
|
|
60557
60557
|
}
|
|
60558
60558
|
function WR1(e) {
|
|
60559
60559
|
return ["table", "td", "th"].indexOf(t8(e)) >= 0;
|
|
@@ -60577,18 +60577,18 @@ function xC(e) {
|
|
|
60577
60577
|
);
|
|
60578
60578
|
}
|
|
60579
60579
|
function jT(e) {
|
|
60580
|
-
return !
|
|
60580
|
+
return !P6(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
60581
60581
|
F8(e).position === "fixed" ? null : e.offsetParent;
|
|
60582
60582
|
}
|
|
60583
60583
|
function KR1(e) {
|
|
60584
60584
|
var t = /firefox/i.test(am()), n = /Trident/i.test(am());
|
|
60585
|
-
if (n &&
|
|
60585
|
+
if (n && P6(e)) {
|
|
60586
60586
|
var i = F8(e);
|
|
60587
60587
|
if (i.position === "fixed")
|
|
60588
60588
|
return null;
|
|
60589
60589
|
}
|
|
60590
60590
|
var o = xC(e);
|
|
60591
|
-
for (gw(o) && (o = o.host);
|
|
60591
|
+
for (gw(o) && (o = o.host); P6(o) && ["html", "body"].indexOf(t8(o)) < 0; ) {
|
|
60592
60592
|
var s = F8(o);
|
|
60593
60593
|
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")
|
|
60594
60594
|
return o;
|
|
@@ -60597,7 +60597,7 @@ function KR1(e) {
|
|
|
60597
60597
|
return null;
|
|
60598
60598
|
}
|
|
60599
60599
|
function Ls(e) {
|
|
60600
|
-
for (var t =
|
|
60600
|
+
for (var t = g6(e), n = jT(e); n && WR1(n) && F8(n).position === "static"; )
|
|
60601
60601
|
n = jT(n);
|
|
60602
60602
|
return n && (t8(n) === "html" || t8(n) === "body" && F8(n).position === "static") ? t : n || KR1(e) || t;
|
|
60603
60603
|
}
|
|
@@ -60633,9 +60633,9 @@ var XR1 = function(t, n) {
|
|
|
60633
60633
|
})) : t, nO(typeof t != "number" ? t : iO(t, ks));
|
|
60634
60634
|
};
|
|
60635
60635
|
function JR1(e) {
|
|
60636
|
-
var t, n = e.state, i = e.name, o = e.options, s = n.elements.arrow, r = n.modifiersData.popperOffsets, a = W9(n.placement), l = yw(a), d = [R5,
|
|
60636
|
+
var t, n = e.state, i = e.name, o = e.options, s = n.elements.arrow, r = n.modifiersData.popperOffsets, a = W9(n.placement), l = yw(a), d = [R5, N6].indexOf(a) >= 0, c = d ? "height" : "width";
|
|
60637
60637
|
if (!(!s || !r)) {
|
|
60638
|
-
var u = XR1(o.padding, n), h = mw(s), g = l === "y" ? N5 : R5, m = l === "y" ?
|
|
60638
|
+
var u = XR1(o.padding, n), h = mw(s), g = l === "y" ? N5 : R5, m = l === "y" ? D6 : N6, y = n.rects.reference[c] + n.rects.reference[l] - r[l] - n.rects.popper[c], w = r[l] - n.rects.reference[l], b = Ls(s), M = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, S = y / 2 - w / 2, _ = u[g], x = M - h[c] - u[m], H = M / 2 - h[c] / 2 + S, D = ro(_, H, x), Z = l;
|
|
60639
60639
|
n.modifiersData[i] = (t = {}, t[Z] = D, t.centerOffset = D - H, t);
|
|
60640
60640
|
}
|
|
60641
60641
|
}
|
|
@@ -60680,16 +60680,16 @@ function WT(e) {
|
|
|
60680
60680
|
var b = r.hasOwnProperty("x"), M = r.hasOwnProperty("y"), S = R5, _ = N5, x = window;
|
|
60681
60681
|
if (d) {
|
|
60682
60682
|
var H = Ls(n), D = "clientHeight", Z = "clientWidth";
|
|
60683
|
-
if (H ===
|
|
60684
|
-
_ =
|
|
60683
|
+
if (H === g6(n) && (H = tt(n), F8(H).position !== "static" && a === "absolute" && (D = "scrollHeight", Z = "scrollWidth")), H = H, o === N5 || (o === R5 || o === N6) && s === Do) {
|
|
60684
|
+
_ = D6;
|
|
60685
60685
|
var N = u && H === x && x.visualViewport ? x.visualViewport.height : (
|
|
60686
60686
|
// $FlowFixMe[prop-missing]
|
|
60687
60687
|
H[D]
|
|
60688
60688
|
);
|
|
60689
60689
|
y -= N - i.height, y *= l ? 1 : -1;
|
|
60690
60690
|
}
|
|
60691
|
-
if (o === R5 || (o === N5 || o ===
|
|
60692
|
-
S =
|
|
60691
|
+
if (o === R5 || (o === N5 || o === D6) && s === Do) {
|
|
60692
|
+
S = N6;
|
|
60693
60693
|
var F = u && H === x && x.visualViewport ? x.visualViewport.width : (
|
|
60694
60694
|
// $FlowFixMe[prop-missing]
|
|
60695
60695
|
H[Z]
|
|
@@ -60702,7 +60702,7 @@ function WT(e) {
|
|
|
60702
60702
|
}, d && tZ1), e1 = c === !0 ? nZ1({
|
|
60703
60703
|
x: g,
|
|
60704
60704
|
y
|
|
60705
|
-
},
|
|
60705
|
+
}, g6(n)) : {
|
|
60706
60706
|
x: g,
|
|
60707
60707
|
y
|
|
60708
60708
|
};
|
|
@@ -60746,7 +60746,7 @@ var gl = {
|
|
|
60746
60746
|
passive: !0
|
|
60747
60747
|
};
|
|
60748
60748
|
function sZ1(e) {
|
|
60749
|
-
var t = e.state, n = e.instance, i = e.options, o = i.scroll, s = o === void 0 ? !0 : o, r = i.resize, a = r === void 0 ? !0 : r, l =
|
|
60749
|
+
var t = e.state, n = e.instance, i = e.options, o = i.scroll, s = o === void 0 ? !0 : o, r = i.resize, a = r === void 0 ? !0 : r, l = g6(t.elements.popper), d = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
60750
60750
|
return s && d.forEach(function(c) {
|
|
60751
60751
|
c.addEventListener("scroll", n.update, gl);
|
|
60752
60752
|
}), a && l.addEventListener("resize", n.update, gl), function() {
|
|
@@ -60785,7 +60785,7 @@ function KT(e) {
|
|
|
60785
60785
|
});
|
|
60786
60786
|
}
|
|
60787
60787
|
function ww(e) {
|
|
60788
|
-
var t =
|
|
60788
|
+
var t = g6(e), n = t.pageXOffset, i = t.pageYOffset;
|
|
60789
60789
|
return {
|
|
60790
60790
|
scrollLeft: n,
|
|
60791
60791
|
scrollTop: i
|
|
@@ -60795,7 +60795,7 @@ function bw(e) {
|
|
|
60795
60795
|
return On(tt(e)).left + ww(e).scrollLeft;
|
|
60796
60796
|
}
|
|
60797
60797
|
function dZ1(e, t) {
|
|
60798
|
-
var n =
|
|
60798
|
+
var n = g6(e), i = tt(e), o = n.visualViewport, s = i.clientWidth, r = i.clientHeight, a = 0, l = 0;
|
|
60799
60799
|
if (o) {
|
|
60800
60800
|
s = o.width, r = o.height;
|
|
60801
60801
|
var d = QB();
|
|
@@ -60822,12 +60822,12 @@ function vw(e) {
|
|
|
60822
60822
|
return /auto|scroll|overlay|hidden/.test(n + o + i);
|
|
60823
60823
|
}
|
|
60824
60824
|
function oO(e) {
|
|
60825
|
-
return ["html", "body", "#document"].indexOf(t8(e)) >= 0 ? e.ownerDocument.body :
|
|
60825
|
+
return ["html", "body", "#document"].indexOf(t8(e)) >= 0 ? e.ownerDocument.body : P6(e) && vw(e) ? e : oO(xC(e));
|
|
60826
60826
|
}
|
|
60827
60827
|
function ao(e, t) {
|
|
60828
60828
|
var n;
|
|
60829
60829
|
t === void 0 && (t = []);
|
|
60830
|
-
var i = oO(e), o = i === ((n = e.ownerDocument) == null ? void 0 : n.body), s =
|
|
60830
|
+
var i = oO(e), o = i === ((n = e.ownerDocument) == null ? void 0 : n.body), s = g6(i), r = o ? [s].concat(s.visualViewport || [], vw(i) ? i : []) : i, a = t.concat(r);
|
|
60831
60831
|
return o ? a : (
|
|
60832
60832
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
60833
60833
|
a.concat(ao(xC(r)))
|
|
@@ -60849,7 +60849,7 @@ function YT(e, t, n) {
|
|
|
60849
60849
|
return t === YB ? lm(dZ1(e, n)) : n0(t) ? CZ1(t, n) : lm(cZ1(tt(e)));
|
|
60850
60850
|
}
|
|
60851
60851
|
function uZ1(e) {
|
|
60852
|
-
var t = ao(xC(e)), n = ["absolute", "fixed"].indexOf(F8(e).position) >= 0, i = n &&
|
|
60852
|
+
var t = ao(xC(e)), n = ["absolute", "fixed"].indexOf(F8(e).position) >= 0, i = n && P6(e) ? Ls(e) : e;
|
|
60853
60853
|
return n0(i) ? t.filter(function(o) {
|
|
60854
60854
|
return n0(o) && eO(o, i) && t8(o) !== "body";
|
|
60855
60855
|
}) : [];
|
|
@@ -60870,13 +60870,13 @@ function sO(e) {
|
|
|
60870
60870
|
y: t.y - n.height
|
|
60871
60871
|
};
|
|
60872
60872
|
break;
|
|
60873
|
-
case
|
|
60873
|
+
case D6:
|
|
60874
60874
|
l = {
|
|
60875
60875
|
x: r,
|
|
60876
60876
|
y: t.y + t.height
|
|
60877
60877
|
};
|
|
60878
60878
|
break;
|
|
60879
|
-
case
|
|
60879
|
+
case N6:
|
|
60880
60880
|
l = {
|
|
60881
60881
|
x: t.x + t.width,
|
|
60882
60882
|
y: a
|
|
@@ -60923,7 +60923,7 @@ function No(e, t) {
|
|
|
60923
60923
|
if (h === xi && K) {
|
|
60924
60924
|
var e1 = K[o];
|
|
60925
60925
|
Object.keys(F).forEach(function(U) {
|
|
60926
|
-
var s1 = [
|
|
60926
|
+
var s1 = [N6, D6].indexOf(U) >= 0 ? 1 : -1, l1 = [N5, D6].indexOf(U) >= 0 ? "y" : "x";
|
|
60927
60927
|
F[U] += e1[l1] * s1;
|
|
60928
60928
|
});
|
|
60929
60929
|
}
|
|
@@ -60968,13 +60968,13 @@ function gZ1(e) {
|
|
|
60968
60968
|
allowedAutoPlacements: y
|
|
60969
60969
|
}) : g1);
|
|
60970
60970
|
}, []), x = t.rects.reference, H = t.rects.popper, D = /* @__PURE__ */ new Map(), Z = !0, N = _[0], F = 0; F < _.length; F++) {
|
|
60971
|
-
var K = _[F], e1 = W9(K), U = Dn(K) === $n, s1 = [N5,
|
|
60971
|
+
var K = _[F], e1 = W9(K), U = Dn(K) === $n, s1 = [N5, D6].indexOf(e1) >= 0, l1 = s1 ? "width" : "height", t1 = No(t, {
|
|
60972
60972
|
placement: K,
|
|
60973
60973
|
boundary: c,
|
|
60974
60974
|
rootBoundary: u,
|
|
60975
60975
|
altBoundary: h,
|
|
60976
60976
|
padding: d
|
|
60977
|
-
}), G = s1 ? U ?
|
|
60977
|
+
}), G = s1 ? U ? N6 : R5 : U ? D6 : N5;
|
|
60978
60978
|
x[l1] > H[l1] && (G = Ql(G));
|
|
60979
60979
|
var q = Ql(G), r1 = [];
|
|
60980
60980
|
if (s && r1.push(t1[e1] <= 0), a && r1.push(t1[G] <= 0, t1[q] <= 0), r1.every(function(H1) {
|
|
@@ -61025,7 +61025,7 @@ function XT(e, t, n) {
|
|
|
61025
61025
|
};
|
|
61026
61026
|
}
|
|
61027
61027
|
function JT(e) {
|
|
61028
|
-
return [N5,
|
|
61028
|
+
return [N5, N6, D6, R5].some(function(t) {
|
|
61029
61029
|
return e[t] >= 0;
|
|
61030
61030
|
});
|
|
61031
61031
|
}
|
|
@@ -61056,7 +61056,7 @@ function bZ1(e, t, n) {
|
|
|
61056
61056
|
var i = W9(e), o = [R5, N5].indexOf(i) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
|
|
61057
61057
|
placement: e
|
|
61058
61058
|
})) : n, r = s[0], a = s[1];
|
|
61059
|
-
return r = r || 0, a = (a || 0) * o, [R5,
|
|
61059
|
+
return r = r || 0, a = (a || 0) * o, [R5, N6].indexOf(i) >= 0 ? {
|
|
61060
61060
|
x: a,
|
|
61061
61061
|
y: r
|
|
61062
61062
|
} : {
|
|
@@ -61115,14 +61115,14 @@ function LZ1(e) {
|
|
|
61115
61115
|
};
|
|
61116
61116
|
if (H) {
|
|
61117
61117
|
if (s) {
|
|
61118
|
-
var U, s1 = _ === "y" ? N5 : R5, l1 = _ === "y" ?
|
|
61118
|
+
var U, s1 = _ === "y" ? N5 : R5, l1 = _ === "y" ? D6 : N6, t1 = _ === "y" ? "height" : "width", G = H[_], q = G + w[s1], r1 = G - w[l1], j = g ? -Z[t1] / 2 : 0, a1 = M === $n ? D[t1] : Z[t1], U1 = M === $n ? -Z[t1] : -D[t1], F1 = t.elements.arrow, H1 = g && F1 ? mw(F1) : {
|
|
61119
61119
|
width: 0,
|
|
61120
61120
|
height: 0
|
|
61121
61121
|
}, g1 = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : tO(), x1 = g1[s1], O1 = g1[l1], R1 = ro(0, D[t1], H1[t1]), g2 = S ? D[t1] / 2 - j - R1 - x1 - F.mainAxis : a1 - R1 - x1 - F.mainAxis, A2 = S ? -D[t1] / 2 + j + R1 + O1 + F.mainAxis : U1 + R1 + O1 + F.mainAxis, U2 = t.elements.arrow && Ls(t.elements.arrow), R2 = U2 ? _ === "y" ? U2.clientTop || 0 : U2.clientLeft || 0 : 0, $2 = (U = K?.[_]) != null ? U : 0, re = G + g2 - $2 - R2, He = G + A2 - $2, Ie = ro(g ? Qd(q, re) : q, G, g ? Nt(r1, He) : r1);
|
|
61122
61122
|
H[_] = Ie, e1[_] = Ie - G;
|
|
61123
61123
|
}
|
|
61124
61124
|
if (a) {
|
|
61125
|
-
var Y, X = _ === "x" ? N5 : R5, y1 = _ === "x" ?
|
|
61125
|
+
var Y, X = _ === "x" ? N5 : R5, y1 = _ === "x" ? D6 : N6, D1 = H[x], L1 = x === "y" ? "height" : "width", E1 = D1 + w[X], _1 = D1 - w[y1], h1 = [N5, R5].indexOf(b) !== -1, Q1 = (Y = K?.[x]) != null ? Y : 0, u2 = h1 ? E1 : D1 - D[L1] - Z[L1] - Q1 + F.altAxis, m2 = h1 ? D1 + D[L1] + Z[L1] - Q1 - F.altAxis : _1, ne = g && h1 ? YR1(u2, D1, m2) : ro(g ? u2 : E1, D1, g ? m2 : _1);
|
|
61126
61126
|
H[x] = ne, e1[x] = ne - D1;
|
|
61127
61127
|
}
|
|
61128
61128
|
t.modifiersData[i] = e1;
|
|
@@ -61142,7 +61142,7 @@ function VZ1(e) {
|
|
|
61142
61142
|
};
|
|
61143
61143
|
}
|
|
61144
61144
|
function xZ1(e) {
|
|
61145
|
-
return e ===
|
|
61145
|
+
return e === g6(e) || !P6(e) ? ww(e) : VZ1(e);
|
|
61146
61146
|
}
|
|
61147
61147
|
function HZ1(e) {
|
|
61148
61148
|
var t = e.getBoundingClientRect(), n = Bn(t.width) / e.offsetWidth || 1, i = Bn(t.height) / e.offsetHeight || 1;
|
|
@@ -61150,7 +61150,7 @@ function HZ1(e) {
|
|
|
61150
61150
|
}
|
|
61151
61151
|
function IZ1(e, t, n) {
|
|
61152
61152
|
n === void 0 && (n = !1);
|
|
61153
|
-
var i =
|
|
61153
|
+
var i = P6(t), o = P6(t) && HZ1(t), s = tt(t), r = On(e, o, n), a = {
|
|
61154
61154
|
scrollLeft: 0,
|
|
61155
61155
|
scrollTop: 0
|
|
61156
61156
|
}, l = {
|
|
@@ -61158,7 +61158,7 @@ function IZ1(e, t, n) {
|
|
|
61158
61158
|
y: 0
|
|
61159
61159
|
};
|
|
61160
61160
|
return (i || !i && !n) && ((t8(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
61161
|
-
vw(s)) && (a = xZ1(t)),
|
|
61161
|
+
vw(s)) && (a = xZ1(t)), P6(t) ? (l = On(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : s && (l.x = bw(s))), {
|
|
61162
61162
|
x: r.left + a.scrollLeft - l.x,
|
|
61163
61163
|
y: r.top + a.scrollTop - l.y,
|
|
61164
61164
|
width: r.width,
|
|
@@ -61932,12 +61932,12 @@ function uF1(e, t) {
|
|
|
61932
61932
|
enabled: !0,
|
|
61933
61933
|
phase: "beforeWrite",
|
|
61934
61934
|
requires: ["computeStyles"],
|
|
61935
|
-
fn: function(
|
|
61936
|
-
var $e =
|
|
61935
|
+
fn: function(m6) {
|
|
61936
|
+
var $e = m6.state;
|
|
61937
61937
|
if (e1()) {
|
|
61938
|
-
var b5 = l1(),
|
|
61938
|
+
var b5 = l1(), y6 = b5.box;
|
|
61939
61939
|
["placement", "reference-hidden", "escaped"].forEach(function(v5) {
|
|
61940
|
-
v5 === "placement" ?
|
|
61940
|
+
v5 === "placement" ? y6.setAttribute("data-placement", $e.placement) : $e.attributes.popper["data-popper-" + v5] ? y6.setAttribute("data-" + v5, "") : y6.removeAttribute("data-" + v5);
|
|
61941
61941
|
}), $e.attributes.popper = {};
|
|
61942
61942
|
}
|
|
61943
61943
|
}
|
|
@@ -62055,8 +62055,8 @@ function uF1(e, t) {
|
|
|
62055
62055
|
var D3;
|
|
62056
62056
|
if (!(!_.state.isVisible || d)) {
|
|
62057
62057
|
if (d = !0, H.offsetHeight, H.style.transition = _.props.moveTransition, e1() && _.props.animation) {
|
|
62058
|
-
var Y5 = l1(),
|
|
62059
|
-
Nf([
|
|
62058
|
+
var Y5 = l1(), m6 = Y5.box, $e = Y5.content;
|
|
62059
|
+
Nf([m6, $e], f2), oV([m6, $e], "visible");
|
|
62060
62060
|
}
|
|
62061
62061
|
r1(), j(), nV(Zf, _), (D3 = _.popperInstance) == null || D3.forceUpdate(), q("onMount", [_]), _.props.animation && e1() && R1(f2, function() {
|
|
62062
62062
|
_.state.isShown = !0, q("onShown", [_]);
|
|
@@ -62595,7 +62595,7 @@ const mF1 = /^\s*>\s$/, yF1 = m9.create({
|
|
|
62595
62595
|
})
|
|
62596
62596
|
];
|
|
62597
62597
|
}
|
|
62598
|
-
}), wF1 = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, bF1 = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, vF1 = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, SF1 = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, _F1 =
|
|
62598
|
+
}), wF1 = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, bF1 = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, vF1 = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, SF1 = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, _F1 = O6.create({
|
|
62599
62599
|
name: "bold",
|
|
62600
62600
|
addOptions() {
|
|
62601
62601
|
return {
|
|
@@ -62709,7 +62709,7 @@ const mF1 = /^\s*>\s$/, yF1 = m9.create({
|
|
|
62709
62709
|
e
|
|
62710
62710
|
];
|
|
62711
62711
|
}
|
|
62712
|
-
}), LF1 = /(^|[^`])`([^`]+)`(?!`)/, TF1 = /(^|[^`])`([^`]+)`(?!`)/g, VF1 =
|
|
62712
|
+
}), LF1 = /(^|[^`])`([^`]+)`(?!`)/, TF1 = /(^|[^`])`([^`]+)`(?!`)/g, VF1 = O6.create({
|
|
62713
62713
|
name: "code",
|
|
62714
62714
|
addOptions() {
|
|
62715
62715
|
return {
|
|
@@ -63395,7 +63395,7 @@ var GF1 = /* @__PURE__ */ (function(e) {
|
|
|
63395
63395
|
}, t;
|
|
63396
63396
|
})(g4);
|
|
63397
63397
|
const jF1 = 500;
|
|
63398
|
-
class
|
|
63398
|
+
class o9 {
|
|
63399
63399
|
constructor(t, n) {
|
|
63400
63400
|
this.items = t, this.eventCount = n;
|
|
63401
63401
|
}
|
|
@@ -63425,7 +63425,7 @@ class i9 {
|
|
|
63425
63425
|
} else
|
|
63426
63426
|
r.maybeStep(u.step);
|
|
63427
63427
|
if (u.selection)
|
|
63428
|
-
return a = o ? u.selection.map(o.slice(s)) : u.selection, l = new
|
|
63428
|
+
return a = o ? u.selection.map(o.slice(s)) : u.selection, l = new o9(this.items.slice(0, i).append(c.reverse().concat(d)), this.eventCount - 1), !1;
|
|
63429
63429
|
}, this.items.length, 0), { remaining: l, transform: r, selection: a };
|
|
63430
63430
|
}
|
|
63431
63431
|
// Create a new branch with the given transform added.
|
|
@@ -63436,7 +63436,7 @@ class i9 {
|
|
|
63436
63436
|
(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);
|
|
63437
63437
|
}
|
|
63438
63438
|
let d = r - i.depth;
|
|
63439
|
-
return d > KF1 && (a = WF1(a, d), r -= d), new
|
|
63439
|
+
return d > KF1 && (a = WF1(a, d), r -= d), new o9(a.append(s), r);
|
|
63440
63440
|
}
|
|
63441
63441
|
remapping(t, n) {
|
|
63442
63442
|
let i = new Ho();
|
|
@@ -63446,7 +63446,7 @@ class i9 {
|
|
|
63446
63446
|
}, t, n), i;
|
|
63447
63447
|
}
|
|
63448
63448
|
addMaps(t) {
|
|
63449
|
-
return this.eventCount == 0 ? this : new
|
|
63449
|
+
return this.eventCount == 0 ? this : new o9(this.items.append(t.map((n) => new x9(n))), this.eventCount);
|
|
63450
63450
|
}
|
|
63451
63451
|
// When the collab module receives remote changes, the history has
|
|
63452
63452
|
// to know about those, so that it can adjust the steps that were
|
|
@@ -63475,7 +63475,7 @@ class i9 {
|
|
|
63475
63475
|
let d = [];
|
|
63476
63476
|
for (let h = n; h < r; h++)
|
|
63477
63477
|
d.push(new x9(s.maps[h]));
|
|
63478
|
-
let c = this.items.slice(0, o).append(d).append(i), u = new
|
|
63478
|
+
let c = this.items.slice(0, o).append(d).append(i), u = new o9(c, a);
|
|
63479
63479
|
return u.emptyItemCount() > jF1 && (u = u.compress(this.items.length - i.length)), u;
|
|
63480
63480
|
}
|
|
63481
63481
|
emptyItemCount() {
|
|
@@ -63504,10 +63504,10 @@ class i9 {
|
|
|
63504
63504
|
(h = o.length && o[g].merge(u)) ? o[g] = h : o.push(u);
|
|
63505
63505
|
}
|
|
63506
63506
|
} else r.map && i--;
|
|
63507
|
-
}, this.items.length, 0), new
|
|
63507
|
+
}, this.items.length, 0), new o9(g4.from(o.reverse()), s);
|
|
63508
63508
|
}
|
|
63509
63509
|
}
|
|
63510
|
-
|
|
63510
|
+
o9.empty = new o9(g4.empty, 0);
|
|
63511
63511
|
function WF1(e, t) {
|
|
63512
63512
|
let n;
|
|
63513
63513
|
return e.forEach((i, o) => {
|
|
@@ -63545,7 +63545,7 @@ function YF1(e, t, n, i) {
|
|
|
63545
63545
|
return r.getMeta(Rt).redo ? new f7(e.done.addTransform(n, void 0, i, ed(t)), e.undone, fV(n.mapping.maps), e.prevTime, e.prevComposition) : new f7(e.done, e.undone.addTransform(n, void 0, i, ed(t)), null, e.prevTime, e.prevComposition);
|
|
63546
63546
|
if (n.getMeta("addToHistory") !== !1 && !(r && r.getMeta("addToHistory") === !1)) {
|
|
63547
63547
|
let a = n.getMeta("composition"), l = e.prevTime == 0 || !r && e.prevComposition != a && (e.prevTime < (n.time || 0) - i.newGroupDelay || !XF1(n, e.prevRanges)), d = r ? Ff(e.prevRanges, n.mapping) : fV(n.mapping.maps);
|
|
63548
|
-
return new f7(e.done.addTransform(n, l ? t.selection.getBookmark() : void 0, i, ed(t)),
|
|
63548
|
+
return new f7(e.done.addTransform(n, l ? t.selection.getBookmark() : void 0, i, ed(t)), o9.empty, d, n.time, a ?? e.prevComposition);
|
|
63549
63549
|
} else return (s = n.getMeta("rebased")) ? new f7(e.done.rebased(n, s), e.undone.rebased(n, s), Ff(e.prevRanges, n.mapping), e.prevTime, e.prevComposition) : new f7(e.done.addMaps(n.mapping.maps), e.undone.addMaps(n.mapping.maps), Ff(e.prevRanges, n.mapping), e.prevTime, e.prevComposition);
|
|
63550
63550
|
}
|
|
63551
63551
|
function XF1(e, t) {
|
|
@@ -63604,7 +63604,7 @@ function eU1(e = {}) {
|
|
|
63604
63604
|
key: Rt,
|
|
63605
63605
|
state: {
|
|
63606
63606
|
init() {
|
|
63607
|
-
return new f7(
|
|
63607
|
+
return new f7(o9.empty, o9.empty, null, 0, -1);
|
|
63608
63608
|
},
|
|
63609
63609
|
apply(t, n, i) {
|
|
63610
63610
|
return YF1(n, i, t, e);
|
|
@@ -63714,7 +63714,7 @@ const SO = vO(!1, !0), _O = vO(!0, !0), tU1 = u3.create({
|
|
|
63714
63714
|
})
|
|
63715
63715
|
];
|
|
63716
63716
|
}
|
|
63717
|
-
}), iU1 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, oU1 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, sU1 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, rU1 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, aU1 =
|
|
63717
|
+
}), iU1 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, oU1 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, sU1 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, rU1 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, aU1 = O6.create({
|
|
63718
63718
|
name: "italic",
|
|
63719
63719
|
addOptions() {
|
|
63720
63720
|
return {
|
|
@@ -63901,7 +63901,7 @@ const SO = vO(!1, !0), _O = vO(!0, !0), tU1 = u3.create({
|
|
|
63901
63901
|
"Mod-Alt-0": () => this.editor.commands.setParagraph()
|
|
63902
63902
|
};
|
|
63903
63903
|
}
|
|
63904
|
-
}), uU1 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, pU1 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, fU1 =
|
|
63904
|
+
}), uU1 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, pU1 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, fU1 = O6.create({
|
|
63905
63905
|
name: "strike",
|
|
63906
63906
|
addOptions() {
|
|
63907
63907
|
return {
|
|
@@ -63967,7 +63967,7 @@ const SO = vO(!1, !0), _O = vO(!0, !0), tU1 = u3.create({
|
|
|
63967
63967
|
const M = [];
|
|
63968
63968
|
return this.options.bold !== !1 && M.push(_F1.configure((e = this.options) === null || e === void 0 ? void 0 : e.bold)), this.options.blockquote !== !1 && M.push(yF1.configure((t = this.options) === null || t === void 0 ? void 0 : t.blockquote)), this.options.bulletList !== !1 && M.push(kF1.configure((n = this.options) === null || n === void 0 ? void 0 : n.bulletList)), this.options.code !== !1 && M.push(VF1.configure((i = this.options) === null || i === void 0 ? void 0 : i.code)), this.options.codeBlock !== !1 && M.push(IF1.configure((o = this.options) === null || o === void 0 ? void 0 : o.codeBlock)), this.options.document !== !1 && M.push(EF1.configure((s = this.options) === null || s === void 0 ? void 0 : s.document)), this.options.dropcursor !== !1 && M.push($F1.configure((r = this.options) === null || r === void 0 ? void 0 : r.dropcursor)), this.options.gapcursor !== !1 && M.push(UF1.configure((a = this.options) === null || a === void 0 ? void 0 : a.gapcursor)), this.options.hardBreak !== !1 && M.push(zF1.configure((l = this.options) === null || l === void 0 ? void 0 : l.hardBreak)), this.options.heading !== !1 && M.push(qF1.configure((d = this.options) === null || d === void 0 ? void 0 : d.heading)), this.options.history !== !1 && M.push(tU1.configure((c = this.options) === null || c === void 0 ? void 0 : c.history)), this.options.horizontalRule !== !1 && M.push(nU1.configure((u = this.options) === null || u === void 0 ? void 0 : u.horizontalRule)), this.options.italic !== !1 && M.push(aU1.configure((h = this.options) === null || h === void 0 ? void 0 : h.italic)), this.options.listItem !== !1 && M.push(lU1.configure((g = this.options) === null || g === void 0 ? void 0 : g.listItem)), this.options.orderedList !== !1 && M.push(cU1.configure((m = this.options) === null || m === void 0 ? void 0 : m.orderedList)), this.options.paragraph !== !1 && M.push(CU1.configure((y = this.options) === null || y === void 0 ? void 0 : y.paragraph)), this.options.strike !== !1 && M.push(fU1.configure((w = this.options) === null || w === void 0 ? void 0 : w.strike)), this.options.text !== !1 && M.push(hU1.configure((b = this.options) === null || b === void 0 ? void 0 : b.text)), M;
|
|
63969
63969
|
}
|
|
63970
|
-
}), Lw =
|
|
63970
|
+
}), Lw = O6.create({
|
|
63971
63971
|
name: "underline",
|
|
63972
63972
|
addOptions() {
|
|
63973
63973
|
return {
|
|
@@ -64011,7 +64011,7 @@ const SO = vO(!1, !0), _O = vO(!0, !0), tU1 = u3.create({
|
|
|
64011
64011
|
const s = n.getAttribute("style"), r = (o = (i = n.parentElement) === null || i === void 0 ? void 0 : i.closest("span")) === null || o === void 0 ? void 0 : o.getAttribute("style");
|
|
64012
64012
|
n.setAttribute("style", `${r};${s}`);
|
|
64013
64013
|
});
|
|
64014
|
-
}, Tw =
|
|
64014
|
+
}, Tw = O6.create({
|
|
64015
64015
|
name: "textStyle",
|
|
64016
64016
|
priority: 101,
|
|
64017
64017
|
addOptions() {
|
|
@@ -64230,7 +64230,7 @@ const SO = vO(!1, !0), _O = vO(!0, !0), tU1 = u3.create({
|
|
|
64230
64230
|
getLineHeight: () => ({ editor: e }) => e.getAttributes("textStyle").lineHeight
|
|
64231
64231
|
};
|
|
64232
64232
|
}
|
|
64233
|
-
}), mU1 = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, yU1 = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, Pw =
|
|
64233
|
+
}), mU1 = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/, yU1 = /(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g, Pw = O6.create({
|
|
64234
64234
|
name: "highlight",
|
|
64235
64235
|
addOptions() {
|
|
64236
64236
|
return {
|
|
@@ -64474,7 +64474,7 @@ I5.prototype = {
|
|
|
64474
64474
|
return o.j[e] = r, r;
|
|
64475
64475
|
}
|
|
64476
64476
|
};
|
|
64477
|
-
const de = (e, t, n, i, o) => e.ta(t, n, i, o), V3 = (e, t, n, i, o) => e.tr(t, n, i, o), yV = (e, t, n, i, o) => e.ts(t, n, i, o), i2 = (e, t, n, i, o) => e.tt(t, n, i, o), b8 = "WORD", gm = "UWORD", kO = "ASCIINUMERICAL", LO = "ALPHANUMERICAL", Fo = "LOCALHOST", mm = "TLD", ym = "UTLD", td = "SCHEME", tn = "SLASH_SCHEME", $w = "NUM", wm = "WS", Bw = "NL", Co = "OPENBRACE", uo = "CLOSEBRACE", nc = "OPENBRACKET", ic = "CLOSEBRACKET", oc = "OPENPAREN", sc = "CLOSEPAREN", rc = "OPENANGLEBRACKET", ac = "CLOSEANGLEBRACKET", lc = "FULLWIDTHLEFTPAREN", dc = "FULLWIDTHRIGHTPAREN", cc = "LEFTCORNERBRACKET", Cc = "RIGHTCORNERBRACKET", uc = "LEFTWHITECORNERBRACKET", pc = "RIGHTWHITECORNERBRACKET", fc = "FULLWIDTHLESSTHAN", hc = "FULLWIDTHGREATERTHAN", gc = "AMPERSAND", mc = "APOSTROPHE", yc = "ASTERISK", h7 = "AT", wc = "BACKSLASH", bc = "BACKTICK", vc = "CARET", b7 = "COLON", Ow = "COMMA", Sc = "DOLLAR", H9 = "DOT", _c = "EQUALS", Dw = "EXCLAMATION",
|
|
64477
|
+
const de = (e, t, n, i, o) => e.ta(t, n, i, o), V3 = (e, t, n, i, o) => e.tr(t, n, i, o), yV = (e, t, n, i, o) => e.ts(t, n, i, o), i2 = (e, t, n, i, o) => e.tt(t, n, i, o), b8 = "WORD", gm = "UWORD", kO = "ASCIINUMERICAL", LO = "ALPHANUMERICAL", Fo = "LOCALHOST", mm = "TLD", ym = "UTLD", td = "SCHEME", tn = "SLASH_SCHEME", $w = "NUM", wm = "WS", Bw = "NL", Co = "OPENBRACE", uo = "CLOSEBRACE", nc = "OPENBRACKET", ic = "CLOSEBRACKET", oc = "OPENPAREN", sc = "CLOSEPAREN", rc = "OPENANGLEBRACKET", ac = "CLOSEANGLEBRACKET", lc = "FULLWIDTHLEFTPAREN", dc = "FULLWIDTHRIGHTPAREN", cc = "LEFTCORNERBRACKET", Cc = "RIGHTCORNERBRACKET", uc = "LEFTWHITECORNERBRACKET", pc = "RIGHTWHITECORNERBRACKET", fc = "FULLWIDTHLESSTHAN", hc = "FULLWIDTHGREATERTHAN", gc = "AMPERSAND", mc = "APOSTROPHE", yc = "ASTERISK", h7 = "AT", wc = "BACKSLASH", bc = "BACKTICK", vc = "CARET", b7 = "COLON", Ow = "COMMA", Sc = "DOLLAR", H9 = "DOT", _c = "EQUALS", Dw = "EXCLAMATION", k6 = "HYPHEN", po = "PERCENT", Mc = "PIPE", kc = "PLUS", Lc = "POUND", fo = "QUERY", Nw = "QUOTE", TO = "FULLWIDTHMIDDLEDOT", Rw = "SEMI", I9 = "SLASH", ho = "TILDE", Tc = "UNDERSCORE", VO = "EMOJI", Vc = "SYM";
|
|
64478
64478
|
var xO = /* @__PURE__ */ Object.freeze({
|
|
64479
64479
|
__proto__: null,
|
|
64480
64480
|
ALPHANUMERICAL: LO,
|
|
@@ -64502,7 +64502,7 @@ var xO = /* @__PURE__ */ Object.freeze({
|
|
|
64502
64502
|
FULLWIDTHLESSTHAN: fc,
|
|
64503
64503
|
FULLWIDTHMIDDLEDOT: TO,
|
|
64504
64504
|
FULLWIDTHRIGHTPAREN: dc,
|
|
64505
|
-
HYPHEN:
|
|
64505
|
+
HYPHEN: k6,
|
|
64506
64506
|
LEFTCORNERBRACKET: cc,
|
|
64507
64507
|
LEFTWHITECORNERBRACKET: uc,
|
|
64508
64508
|
LOCALHOST: Fo,
|
|
@@ -64540,7 +64540,7 @@ function VU1(e = []) {
|
|
|
64540
64540
|
const t = {};
|
|
64541
64541
|
I5.groups = t;
|
|
64542
64542
|
const n = new I5();
|
|
64543
|
-
wl == null && (wl = bV(bU1)), bl == null && (bl = bV(vU1)), i2(n, "'", mc), i2(n, "{", Co), i2(n, "}", uo), i2(n, "[", nc), i2(n, "]", ic), i2(n, "(", oc), i2(n, ")", sc), i2(n, "<", rc), i2(n, ">", ac), i2(n, "(", lc), i2(n, ")", dc), i2(n, "「", cc), i2(n, "」", Cc), i2(n, "『", uc), i2(n, "』", pc), i2(n, "<", fc), i2(n, ">", hc), i2(n, "&", gc), i2(n, "*", yc), i2(n, "@", h7), i2(n, "`", bc), i2(n, "^", vc), i2(n, ":", b7), i2(n, ",", Ow), i2(n, "$", Sc), i2(n, ".", H9), i2(n, "=", _c), i2(n, "!", Dw), i2(n, "-",
|
|
64543
|
+
wl == null && (wl = bV(bU1)), bl == null && (bl = bV(vU1)), i2(n, "'", mc), i2(n, "{", Co), i2(n, "}", uo), i2(n, "[", nc), i2(n, "]", ic), i2(n, "(", oc), i2(n, ")", sc), i2(n, "<", rc), i2(n, ">", ac), i2(n, "(", lc), i2(n, ")", dc), i2(n, "「", cc), i2(n, "」", Cc), i2(n, "『", uc), i2(n, "』", pc), i2(n, "<", fc), i2(n, ">", hc), i2(n, "&", gc), i2(n, "*", yc), i2(n, "@", h7), i2(n, "`", bc), i2(n, "^", vc), i2(n, ":", b7), i2(n, ",", Ow), i2(n, "$", Sc), i2(n, ".", H9), i2(n, "=", _c), i2(n, "!", Dw), i2(n, "-", k6), i2(n, "%", po), i2(n, "|", Mc), i2(n, "+", kc), i2(n, "#", Lc), i2(n, "?", fo), i2(n, '"', Nw), i2(n, "/", I9), i2(n, ";", Rw), i2(n, "~", ho), i2(n, "_", Tc), i2(n, "\\", wc), i2(n, "・", TO);
|
|
64544
64544
|
const i = V3(n, g8, $w, {
|
|
64545
64545
|
[um]: !0
|
|
64546
64546
|
});
|
|
@@ -64892,38 +64892,38 @@ const SV = HC("email", {
|
|
|
64892
64892
|
const e = this.tk;
|
|
64893
64893
|
return e.length >= 2 && e[0].t !== Fo && e[1].t === b7;
|
|
64894
64894
|
}
|
|
64895
|
-
}),
|
|
64895
|
+
}), S6 = (e) => new I5(e);
|
|
64896
64896
|
function IU1({
|
|
64897
64897
|
groups: e
|
|
64898
64898
|
}) {
|
|
64899
|
-
const t = e.domain.concat([gc, yc, h7, wc, bc, vc, Sc, _c,
|
|
64899
|
+
const t = e.domain.concat([gc, yc, h7, wc, bc, vc, Sc, _c, k6, $w, po, Mc, kc, Lc, I9, Vc, ho, Tc]), n = [mc, b7, Ow, H9, Dw, po, fo, Nw, Rw, rc, ac, Co, uo, ic, nc, oc, sc, lc, dc, cc, Cc, uc, pc, fc, hc], i = [gc, mc, yc, wc, bc, vc, Sc, _c, k6, Co, uo, po, Mc, kc, Lc, fo, I9, Vc, ho, Tc], o = S6(), s = i2(o, ho);
|
|
64900
64900
|
de(s, i, s), de(s, e.domain, s);
|
|
64901
|
-
const r =
|
|
64901
|
+
const r = S6(), a = S6(), l = S6();
|
|
64902
64902
|
de(o, e.domain, r), de(o, e.scheme, a), de(o, e.slashscheme, l), de(r, i, s), de(r, e.domain, r);
|
|
64903
64903
|
const d = i2(r, h7);
|
|
64904
64904
|
i2(s, h7, d), i2(a, h7, d), i2(l, h7, d);
|
|
64905
64905
|
const c = i2(s, H9);
|
|
64906
64906
|
de(c, i, s), de(c, e.domain, s);
|
|
64907
|
-
const u =
|
|
64907
|
+
const u = S6();
|
|
64908
64908
|
de(d, e.domain, u), de(u, e.domain, u);
|
|
64909
64909
|
const h = i2(u, H9);
|
|
64910
64910
|
de(h, e.domain, u);
|
|
64911
|
-
const g =
|
|
64911
|
+
const g = S6(SV);
|
|
64912
64912
|
de(h, e.tld, g), de(h, e.utld, g), i2(d, Fo, g);
|
|
64913
|
-
const m = i2(u,
|
|
64914
|
-
i2(m,
|
|
64913
|
+
const m = i2(u, k6);
|
|
64914
|
+
i2(m, k6, m), de(m, e.domain, u), de(g, e.domain, u), i2(g, H9, h), i2(g, k6, m);
|
|
64915
64915
|
const y = i2(g, b7);
|
|
64916
64916
|
de(y, e.numeric, SV);
|
|
64917
|
-
const w = i2(r,
|
|
64918
|
-
i2(w,
|
|
64919
|
-
const M =
|
|
64920
|
-
de(b, e.tld, M), de(b, e.utld, M), de(M, e.domain, r), de(M, i, s), i2(M, H9, b), i2(M,
|
|
64921
|
-
const S = i2(M, b7), _ =
|
|
64917
|
+
const w = i2(r, k6), b = i2(r, H9);
|
|
64918
|
+
i2(w, k6, w), de(w, e.domain, r), de(b, i, s), de(b, e.domain, r);
|
|
64919
|
+
const M = S6(vl);
|
|
64920
|
+
de(b, e.tld, M), de(b, e.utld, M), de(M, e.domain, r), de(M, i, s), i2(M, H9, b), i2(M, k6, w), i2(M, h7, d);
|
|
64921
|
+
const S = i2(M, b7), _ = S6(vl);
|
|
64922
64922
|
de(S, e.numeric, _);
|
|
64923
|
-
const x =
|
|
64923
|
+
const x = S6(vl), H = S6();
|
|
64924
64924
|
de(x, t, x), de(x, n, H), de(H, t, x), de(H, n, H), i2(M, I9, x), i2(_, I9, x);
|
|
64925
64925
|
const D = i2(a, b7), Z = i2(l, b7), N = i2(Z, I9), F = i2(N, I9);
|
|
64926
|
-
de(a, e.domain, r), i2(a, H9, b), i2(a,
|
|
64926
|
+
de(a, e.domain, r), i2(a, H9, b), i2(a, k6, w), de(l, e.domain, r), i2(l, H9, b), i2(l, k6, w), de(D, e.domain, x), i2(D, I9, x), i2(D, fo, x), de(F, e.domain, x), de(F, t, x), i2(F, I9, x);
|
|
64927
64927
|
const K = [
|
|
64928
64928
|
[Co, uo],
|
|
64929
64929
|
// {}
|
|
@@ -64945,9 +64945,9 @@ function IU1({
|
|
|
64945
64945
|
for (let e1 = 0; e1 < K.length; e1++) {
|
|
64946
64946
|
const [U, s1] = K[e1], l1 = i2(x, U);
|
|
64947
64947
|
i2(H, U, l1), i2(l1, s1, x);
|
|
64948
|
-
const t1 =
|
|
64948
|
+
const t1 = S6(vl);
|
|
64949
64949
|
de(l1, t, t1);
|
|
64950
|
-
const G =
|
|
64950
|
+
const G = S6();
|
|
64951
64951
|
de(l1, n), de(t1, t, t1), de(t1, n, G), de(G, t, t1), de(G, n, G), i2(t1, s1, x), i2(G, s1, x);
|
|
64952
64952
|
}
|
|
64953
64953
|
return i2(o, Fo, M), i2(o, Bw, HU1), {
|
|
@@ -65130,7 +65130,7 @@ function pt(e, t) {
|
|
|
65130
65130
|
"i"
|
|
65131
65131
|
));
|
|
65132
65132
|
}
|
|
65133
|
-
const Uw =
|
|
65133
|
+
const Uw = O6.create({
|
|
65134
65134
|
name: "link",
|
|
65135
65135
|
priority: 1e3,
|
|
65136
65136
|
keepOnSplit: !1,
|
|
@@ -65943,7 +65943,7 @@ const Zi = /* @__PURE__ */ f9(XU1), JU1 = (e, t, n) => {
|
|
|
65943
65943
|
parseFloat(A9(_1.fontSize))
|
|
65944
65944
|
) : i.selectedFontSizePx = Math.ceil(
|
|
65945
65945
|
parseFloat(A9(i.selectedFontSize))
|
|
65946
|
-
), _1 && _1.color ?
|
|
65946
|
+
), _1 && _1.color ? L6(_1.color) || (i.selectedTextColor = A3(_1.color).hex()) : i.selectedTextColor = "#000000", h1 && h1.color ? L6(h1.color) || (i.selectedBackgroundColor = A3(
|
|
65947
65947
|
h1.color
|
|
65948
65948
|
).hex()) : i.selectedBackgroundColor = "transparent", _1.lineHeight ? H1.value = _1.lineHeight : H1.value = "1", _1 && _1.letterSpacing ? F1.value = I8.convert({
|
|
65949
65949
|
letterSpacing: _1.letterSpacing
|
|
@@ -65973,22 +65973,22 @@ const Zi = /* @__PURE__ */ f9(XU1), JU1 = (e, t, n) => {
|
|
|
65973
65973
|
isHydrationWrite: !g.isFocused
|
|
65974
65974
|
}), i.selectedFont = h1?.fontFamily ?? "Lato", i.selectedFontSize = h1?.fontSize ?? "2.25em", i.selectedFontSizePx = Math.ceil(
|
|
65975
65975
|
parseFloat(A9(h1?.fontSize ?? "2.25em"))
|
|
65976
|
-
), i.selectedTextColor =
|
|
65976
|
+
), i.selectedTextColor = L6(h1.color ?? "") ? "#000000" : h1?.color ?? "#000000", i.selectedBackgroundColor = L6(
|
|
65977
65977
|
h1?.backgroundColor ?? ""
|
|
65978
65978
|
) ? "transparent" : h1?.backgroundColor ?? "transparent", H1.value = h1?.lineHeight?.includes("em") ? A9(h1?.lineHeight ?? "1em") : h1?.lineHeight ?? "1", F1.value = I8.convert(
|
|
65979
65979
|
h1 ?? {}
|
|
65980
65980
|
), t.styles?.textAlign && Q1?.textAlign !== t.styles.textAlign && U(t.styles.textAlign)) : t.styles && (i.selectedFont = t.styles?.fontFamily ?? "Lato", i.selectedFontSize = t.styles?.fontSize ?? "2.25em", i.selectedFontSizePx = Math.ceil(
|
|
65981
65981
|
parseFloat(A9(t.styles?.fontSize ?? "2.25em"))
|
|
65982
|
-
), i.selectedTextColor =
|
|
65982
|
+
), i.selectedTextColor = L6(
|
|
65983
65983
|
t.styles?.color ?? "#000000"
|
|
65984
|
-
) ? "#000000" : t.styles?.color ?? "#000000", i.selectedBackgroundColor =
|
|
65984
|
+
) ? "#000000" : t.styles?.color ?? "#000000", i.selectedBackgroundColor = L6(
|
|
65985
65985
|
t.styles?.backgroundColor ?? ""
|
|
65986
65986
|
) ? "transparent" : t.styles?.backgroundColor ?? "transparent", H1.value = t.styles?.lineHeight?.includes("em") ? A9(t.styles?.lineHeight ?? "1em") : t.styles?.lineHeight ?? "1", F1.value = I8.convert(
|
|
65987
65987
|
t.styles ?? {}
|
|
65988
65988
|
), t.styles?.textAlign && Q1?.textAlign !== t.styles.textAlign && U(t.styles.textAlign));
|
|
65989
65989
|
}, Ie = (_1) => {
|
|
65990
65990
|
const h1 = _1 ?? s.value?.style;
|
|
65991
|
-
h1 && (h1.fontWeight === "bold" && H(), h1.fontStyle && D(), h1.textDecoration?.includes("underline") && Z(), h1.textDecoration?.includes("line-through") && N(), h1.color && (
|
|
65991
|
+
h1 && (h1.fontWeight === "bold" && H(), h1.fontStyle && D(), h1.textDecoration?.includes("underline") && Z(), h1.textDecoration?.includes("line-through") && N(), h1.color && (L6(h1.color) ? (F(z7(h1.color, "text")), i.selectedTextColor = "#000000") : (F(h1.color), i.selectedTextColor = h1.color)), h1.fontFamily && r1(h1.fontFamily), h1.fontSize && j(h1.fontSize), h1.lineHeight && x1(h1.lineHeight), h1.letterSpacing && g1(h1.letterSpacing), t.styles.textAlign && U(t.styles.textAlign ?? "none"));
|
|
65992
65992
|
}, Y = (_1) => {
|
|
65993
65993
|
const h1 = { ...t.styles, textStyleType: void 0 };
|
|
65994
65994
|
switch (_1.type) {
|
|
@@ -66485,12 +66485,12 @@ const Zi = /* @__PURE__ */ f9(XU1), JU1 = (e, t, n) => {
|
|
|
66485
66485
|
setup(e, { emit: t }) {
|
|
66486
66486
|
const n = e, i = jo(null);
|
|
66487
66487
|
D2(() => n.context.isDesignCom, async () => {
|
|
66488
|
-
const M =
|
|
66488
|
+
const M = a9().toLowerCase(), S = n.context.isDesignCom ? "Dcom" : "BrandCrowd";
|
|
66489
66489
|
try {
|
|
66490
|
-
const { default: _ } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-
|
|
66490
|
+
const { default: _ } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-de-de.vue": () => import("./CreatedOnBrandCrowd-de-de-BDxea4Se.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BvCtPc-H.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-BFQR8krQ.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-Dy0Xb5GE.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-Dy0Xb5GE.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-BSGwZq7a.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-BSGwZq7a.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-DU42Z-z_.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BR_2u6_i.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-Dts49b6I.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-C7Lo2AbX.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-ZpEbqlkx.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-CrUIv-Ye.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-JlbQbaR1.js") }), `./watermark/CreatedOn${S}-${M}.vue`, 3);
|
|
66491
66491
|
i.value = _;
|
|
66492
66492
|
} catch {
|
|
66493
|
-
const { default: x } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-
|
|
66493
|
+
const { default: x } = await AV(/* @__PURE__ */ Object.assign({ "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-BvCtPc-H.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-BR_2u6_i.js") }), `./watermark/CreatedOn${S}-en-us.vue`, 3);
|
|
66494
66494
|
i.value = x;
|
|
66495
66495
|
}
|
|
66496
66496
|
}, {
|
|
@@ -66519,7 +66519,7 @@ const Zi = /* @__PURE__ */ f9(XU1), JU1 = (e, t, n) => {
|
|
|
66519
66519
|
n.context.isPreview,
|
|
66520
66520
|
n.context.brandPageType,
|
|
66521
66521
|
n.context.isDesignCom,
|
|
66522
|
-
|
|
66522
|
+
a9(),
|
|
66523
66523
|
"bp-footer-watermark"
|
|
66524
66524
|
)
|
|
66525
66525
|
), m = L(
|
|
@@ -66527,7 +66527,7 @@ const Zi = /* @__PURE__ */ f9(XU1), JU1 = (e, t, n) => {
|
|
|
66527
66527
|
n.context.isPreview,
|
|
66528
66528
|
n.context.brandPageType,
|
|
66529
66529
|
n.context.isDesignCom,
|
|
66530
|
-
|
|
66530
|
+
a9(),
|
|
66531
66531
|
"bp-footer-watermark-create-your-website"
|
|
66532
66532
|
)
|
|
66533
66533
|
), y = L(() => {
|
|
@@ -68492,7 +68492,7 @@ const j4 = /* @__PURE__ */ v(mY1, [["render", yY1], ["__scopeId", "data-v-649bc0
|
|
|
68492
68492
|
if (t.viewModel.role === "banner-section" || t.viewModel.role === "booking-section" || t.viewModel.role === "images-section")
|
|
68493
68493
|
switch (t.viewModel.buttonLinkType) {
|
|
68494
68494
|
case "mailTo":
|
|
68495
|
-
return
|
|
68495
|
+
return B6(t.viewModel.url);
|
|
68496
68496
|
case "tel":
|
|
68497
68497
|
return R8(t.viewModel.url);
|
|
68498
68498
|
default:
|
|
@@ -68500,7 +68500,7 @@ const j4 = /* @__PURE__ */ v(mY1, [["render", yY1], ["__scopeId", "data-v-649bc0
|
|
|
68500
68500
|
}
|
|
68501
68501
|
switch (t.viewModel.role) {
|
|
68502
68502
|
case "email":
|
|
68503
|
-
return
|
|
68503
|
+
return B6(t.viewModel.url);
|
|
68504
68504
|
case "phone":
|
|
68505
68505
|
return t.viewModel.url !== "";
|
|
68506
68506
|
default:
|
|
@@ -69683,7 +69683,7 @@ const gX1 = Q({
|
|
|
69683
69683
|
},
|
|
69684
69684
|
methods: {
|
|
69685
69685
|
updateGmapSrc() {
|
|
69686
|
-
const e =
|
|
69686
|
+
const e = a9();
|
|
69687
69687
|
this.gmapSrc = this.$gmap.getEmbedGoogleMapsSrc({
|
|
69688
69688
|
query: `${fX1}${this.placeId}`,
|
|
69689
69689
|
locale: e
|
|
@@ -70961,7 +70961,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
70961
70961
|
country: ""
|
|
70962
70962
|
}), a = L(() => cL1()), l = c1(!1), d = L(() => s.country ? a.value.find(
|
|
70963
70963
|
(_) => _.code === s.country
|
|
70964
|
-
)?.name ??
|
|
70964
|
+
)?.name ?? Y6("countryPlaceholder") : Y6("countryPlaceholder")), c = L(() => [
|
|
70965
70965
|
"tw-h-[2.6rem]",
|
|
70966
70966
|
"tw-w-full",
|
|
70967
70967
|
"tw-text-base",
|
|
@@ -70974,7 +70974,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
70974
70974
|
].join(" "));
|
|
70975
70975
|
function u(S) {
|
|
70976
70976
|
const _ = s[S].trim(), { min: x, max: H } = Qi[S];
|
|
70977
|
-
return x > 0 && !_ ? (r[S] =
|
|
70977
|
+
return x > 0 && !_ ? (r[S] = Y6("fieldRequired"), !1) : _.length > H ? (r[S] = Y6("fieldMaxLength", { max: H }), !1) : (r[S] = "", !0);
|
|
70978
70978
|
}
|
|
70979
70979
|
function h(S) {
|
|
70980
70980
|
return u(S);
|
|
@@ -71028,12 +71028,12 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71028
71028
|
), t({
|
|
71029
71029
|
validateAll: w
|
|
71030
71030
|
}), (S, _) => (C(), f("div", wJ1, [
|
|
71031
|
-
p("p", bJ1, P(I(
|
|
71031
|
+
p("p", bJ1, P(I(Y6)("shippingAddress")), 1),
|
|
71032
71032
|
T(I(J2), {
|
|
71033
71033
|
modelValue: s.name,
|
|
71034
71034
|
"onUpdate:modelValue": _[0] || (_[0] = (x) => s.name = x),
|
|
71035
71035
|
class: "tw-mb-1",
|
|
71036
|
-
placeholder: I(
|
|
71036
|
+
placeholder: I(Y6)("fullNamePlaceholder"),
|
|
71037
71037
|
error: !!r.name,
|
|
71038
71038
|
onBlur: _[1] || (_[1] = (x) => h("name")),
|
|
71039
71039
|
onInput: _[2] || (_[2] = (x) => g("name"))
|
|
@@ -71043,7 +71043,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71043
71043
|
modelValue: s.line1,
|
|
71044
71044
|
"onUpdate:modelValue": _[3] || (_[3] = (x) => s.line1 = x),
|
|
71045
71045
|
class: "tw-mb-1 tw-mt-3",
|
|
71046
|
-
placeholder: I(
|
|
71046
|
+
placeholder: I(Y6)("addressLine1Placeholder"),
|
|
71047
71047
|
error: !!r.line1,
|
|
71048
71048
|
onBlur: _[4] || (_[4] = (x) => h("line1")),
|
|
71049
71049
|
onInput: _[5] || (_[5] = (x) => g("line1"))
|
|
@@ -71053,7 +71053,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71053
71053
|
modelValue: s.line2,
|
|
71054
71054
|
"onUpdate:modelValue": _[6] || (_[6] = (x) => s.line2 = x),
|
|
71055
71055
|
class: "tw-mb-1 tw-mt-3",
|
|
71056
|
-
placeholder: I(
|
|
71056
|
+
placeholder: I(Y6)("addressLine2Placeholder"),
|
|
71057
71057
|
error: !!r.line2,
|
|
71058
71058
|
onBlur: _[7] || (_[7] = (x) => h("line2")),
|
|
71059
71059
|
onInput: _[8] || (_[8] = (x) => g("line2"))
|
|
@@ -71092,7 +71092,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71092
71092
|
T(I(J2), {
|
|
71093
71093
|
modelValue: s.city,
|
|
71094
71094
|
"onUpdate:modelValue": _[11] || (_[11] = (x) => s.city = x),
|
|
71095
|
-
placeholder: I(
|
|
71095
|
+
placeholder: I(Y6)("cityPlaceholder"),
|
|
71096
71096
|
error: !!r.city,
|
|
71097
71097
|
onBlur: _[12] || (_[12] = (x) => h("city")),
|
|
71098
71098
|
onInput: _[13] || (_[13] = (x) => g("city"))
|
|
@@ -71105,7 +71105,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71105
71105
|
T(I(J2), {
|
|
71106
71106
|
modelValue: s.state,
|
|
71107
71107
|
"onUpdate:modelValue": _[14] || (_[14] = (x) => s.state = x),
|
|
71108
|
-
placeholder: I(
|
|
71108
|
+
placeholder: I(Y6)("statePlaceholder"),
|
|
71109
71109
|
error: !!r.state,
|
|
71110
71110
|
onBlur: _[15] || (_[15] = (x) => h("state")),
|
|
71111
71111
|
onInput: _[16] || (_[16] = (x) => g("state"))
|
|
@@ -71116,7 +71116,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71116
71116
|
T(I(J2), {
|
|
71117
71117
|
modelValue: s.postalCode,
|
|
71118
71118
|
"onUpdate:modelValue": _[17] || (_[17] = (x) => s.postalCode = x),
|
|
71119
|
-
placeholder: I(
|
|
71119
|
+
placeholder: I(Y6)("postalCodePlaceholder"),
|
|
71120
71120
|
error: !!r.postalCode,
|
|
71121
71121
|
onBlur: _[18] || (_[18] = (x) => h("postalCode")),
|
|
71122
71122
|
onInput: _[19] || (_[19] = (x) => g("postalCode"))
|
|
@@ -71283,13 +71283,13 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71283
71283
|
}, F1 = () => {
|
|
71284
71284
|
if (!g.value) {
|
|
71285
71285
|
m.value = new Error(
|
|
71286
|
-
|
|
71286
|
+
K6("invalidEmailMessage")
|
|
71287
71287
|
);
|
|
71288
71288
|
return;
|
|
71289
71289
|
}
|
|
71290
71290
|
if (!qE1.isEmail(g.value)) {
|
|
71291
71291
|
m.value = new Error(
|
|
71292
|
-
|
|
71292
|
+
K6("invalidEmailMessage")
|
|
71293
71293
|
);
|
|
71294
71294
|
return;
|
|
71295
71295
|
}
|
|
@@ -71313,7 +71313,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71313
71313
|
}, null, 8, ["style"])
|
|
71314
71314
|
]),
|
|
71315
71315
|
p("div", OJ1, [
|
|
71316
|
-
p("span", DJ1, P(K.value) + P(N.value) + " (" + P(F.value) + ") " + P(!e.isShop && e.productName ? I(
|
|
71316
|
+
p("span", DJ1, P(K.value) + P(N.value) + " (" + P(F.value) + ") " + P(!e.isShop && e.productName ? I(K6)("forProduct", {
|
|
71317
71317
|
PRODUCT_NAME: e.productName
|
|
71318
71318
|
}) : ""), 1)
|
|
71319
71319
|
])
|
|
@@ -71327,18 +71327,18 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71327
71327
|
modelValue: D.value,
|
|
71328
71328
|
"onUpdate:modelValue": g1[0] || (g1[0] = (x1) => D.value = x1)
|
|
71329
71329
|
}, null, 8, ["modelValue"])) : k("", !0),
|
|
71330
|
-
p("p", RJ1, P(I(
|
|
71330
|
+
p("p", RJ1, P(I(K6)("emailAddress")), 1),
|
|
71331
71331
|
T(I(J2), {
|
|
71332
71332
|
modelValue: g.value,
|
|
71333
71333
|
"onUpdate:modelValue": g1[1] || (g1[1] = (x1) => g.value = x1),
|
|
71334
71334
|
class: "tw-mt-3 tw-mb-2",
|
|
71335
|
-
placeholder: I(
|
|
71335
|
+
placeholder: I(K6)("emailAddressPlaceholder"),
|
|
71336
71336
|
error: !!m.value,
|
|
71337
71337
|
onBlur: j,
|
|
71338
71338
|
onInput: j
|
|
71339
71339
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
71340
71340
|
m.value ? (C(), f("p", ZJ1, P(m.value.message), 1)) : k("", !0),
|
|
71341
|
-
p("p", FJ1, P(I(
|
|
71341
|
+
p("p", FJ1, P(I(K6)("cardNumber")), 1),
|
|
71342
71342
|
p("div", {
|
|
71343
71343
|
ref_key: "cardNumberRef",
|
|
71344
71344
|
ref: o,
|
|
@@ -71378,7 +71378,7 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71378
71378
|
value: x.value,
|
|
71379
71379
|
disabled: !U.value,
|
|
71380
71380
|
onClick: U1
|
|
71381
|
-
}, P(I(
|
|
71381
|
+
}, P(I(K6)("proceedToPayment", {
|
|
71382
71382
|
CURRENCY_SYMBOL: K.value,
|
|
71383
71383
|
AMOUNT: N.value,
|
|
71384
71384
|
CURRENCY_CODE: F.value
|
|
@@ -71388,13 +71388,13 @@ const yJ1 = /* @__PURE__ */ v(hJ1, [["render", mJ1]]), wJ1 = {
|
|
|
71388
71388
|
style: V1(t1.value)
|
|
71389
71389
|
}, [
|
|
71390
71390
|
p("p", KJ1, [
|
|
71391
|
-
F2(P(I(
|
|
71392
|
-
p("a", YJ1, P(I(
|
|
71393
|
-
F2(". " + P(I(
|
|
71391
|
+
F2(P(I(K6)("termsAgreement")) + " ", 1),
|
|
71392
|
+
p("a", YJ1, P(I(K6)("termsLinkText")), 1),
|
|
71393
|
+
F2(". " + P(I(K6)("termsDisclaimer")), 1)
|
|
71394
71394
|
]),
|
|
71395
71395
|
g1[2] || (g1[2] = p("br", null, null, -1)),
|
|
71396
71396
|
p("div", XJ1, [
|
|
71397
|
-
p("span", null, P(I(
|
|
71397
|
+
p("span", null, P(I(K6)("poweredBy")), 1),
|
|
71398
71398
|
T(yJ1, {
|
|
71399
71399
|
style: { width: "100px" },
|
|
71400
71400
|
"view-box": "0 0 700 210"
|
|
@@ -72323,7 +72323,7 @@ const $Q1 = /* @__PURE__ */ v(IQ1, [["render", PQ1]]), YV = Q({
|
|
|
72323
72323
|
return !!this.submitError;
|
|
72324
72324
|
},
|
|
72325
72325
|
isSubmitButtonVisible() {
|
|
72326
|
-
return this.viewModel.responseEmail === void 0 || this.viewModel.responseEmail === "" ||
|
|
72326
|
+
return this.viewModel.responseEmail === void 0 || this.viewModel.responseEmail === "" || B6(this.viewModel.responseEmail);
|
|
72327
72327
|
},
|
|
72328
72328
|
title() {
|
|
72329
72329
|
return this.viewModel.title && this.viewModel.title.trim() !== "" ? this.viewModel.title : "Contact Us";
|
|
@@ -72920,7 +72920,7 @@ const d12 = /* @__PURE__ */ v(BQ1, [["render", l12], ["__scopeId", "data-v-900bc
|
|
|
72920
72920
|
setup(e) {
|
|
72921
72921
|
const t = e, n = L(() => t.containerStyle), i = L(() => (s) => s ? K4(s) : !1), o = (s) => {
|
|
72922
72922
|
if (!(t.isPreview || !s)) {
|
|
72923
|
-
if (
|
|
72923
|
+
if (B6(s))
|
|
72924
72924
|
return `mailto:${s}`;
|
|
72925
72925
|
if (R8(s))
|
|
72926
72926
|
return `tel:${s}`;
|
|
@@ -72974,16 +72974,16 @@ const d12 = /* @__PURE__ */ v(BQ1, [["render", l12], ["__scopeId", "data-v-900bc
|
|
|
72974
72974
|
), o = L(() => t.viewModel.iconFillStyles || {}), s = L(() => {
|
|
72975
72975
|
let u = {};
|
|
72976
72976
|
switch (t.viewModel.iconDisplayStyle) {
|
|
72977
|
-
case
|
|
72977
|
+
case V6.none:
|
|
72978
72978
|
break;
|
|
72979
|
-
case
|
|
72979
|
+
case V6.circle:
|
|
72980
72980
|
u = Object.assign(
|
|
72981
72981
|
u,
|
|
72982
72982
|
{ borderRadius: "96px" },
|
|
72983
72983
|
t.viewModel.iconBackgroundStyles
|
|
72984
72984
|
);
|
|
72985
72985
|
break;
|
|
72986
|
-
case
|
|
72986
|
+
case V6.square:
|
|
72987
72987
|
u = Object.assign(u, t.viewModel.iconBackgroundStyles);
|
|
72988
72988
|
break;
|
|
72989
72989
|
}
|
|
@@ -73067,7 +73067,7 @@ const d12 = /* @__PURE__ */ v(BQ1, [["render", l12], ["__scopeId", "data-v-900bc
|
|
|
73067
73067
|
layout: "inline",
|
|
73068
73068
|
alignClass: "tw-items-center tw-w-full"
|
|
73069
73069
|
},
|
|
73070
|
-
[
|
|
73070
|
+
[l9]: {
|
|
73071
73071
|
layout: "inline",
|
|
73072
73072
|
alignClass: "tw-items-center tw-w-full"
|
|
73073
73073
|
},
|
|
@@ -73076,7 +73076,7 @@ const d12 = /* @__PURE__ */ v(BQ1, [["render", l12], ["__scopeId", "data-v-900bc
|
|
|
73076
73076
|
alignClass: "tw-items-start tw-w-2/3",
|
|
73077
73077
|
hasSideImage: !0
|
|
73078
73078
|
},
|
|
73079
|
-
[
|
|
73079
|
+
[h6]: {
|
|
73080
73080
|
layout: "inline",
|
|
73081
73081
|
alignClass: "tw-items-end tw-w-2/3",
|
|
73082
73082
|
hasSideImage: !0
|
|
@@ -73617,13 +73617,13 @@ const d12 = /* @__PURE__ */ v(BQ1, [["render", l12], ["__scopeId", "data-v-900bc
|
|
|
73617
73617
|
() => t.viewModel.displayStyle !== X9
|
|
73618
73618
|
), s = L(
|
|
73619
73619
|
() => t.context.isBrandSite && t.viewModel.areImagesFullWidth
|
|
73620
|
-
), r = L(() => (N8(t.viewModel.title) || "").length > 0), a = L(() => t.viewModel.displayStyle === z5 || t.viewModel.displayStyle ===
|
|
73620
|
+
), r = L(() => (N8(t.viewModel.title) || "").length > 0), a = L(() => t.viewModel.displayStyle === z5 || t.viewModel.displayStyle === h6), l = L(() => t.viewModel.displayStyle === ze || t.viewModel.displayStyle === X9 || t.viewModel.displayStyle === g3), d = L(
|
|
73621
73621
|
() => t.viewModel.displayStyle === g3
|
|
73622
73622
|
), c = L(() => d.value && t.viewModel.role === "shapes-section" && !t.context.isTemplate && !t.context.isBrandSite), u = L(
|
|
73623
73623
|
() => t.viewModel.displayStyle === Ld
|
|
73624
73624
|
), h = L(() => t.viewModel.backgroundStyle.backgroundColor ? !J9(t.viewModel.backgroundStyle.backgroundColor) : !1), g = L(() => t.context.isBrandPageOrIsBrandContact ? !h.value : t.viewModel.areImagesFullWidth), m = L(
|
|
73625
73625
|
() => t.context.isBrandSite && !t.viewModel.areImagesFullWidth
|
|
73626
|
-
), y = L(() => t.viewModel.displayStyle === z5 || t.viewModel.displayStyle ===
|
|
73626
|
+
), y = L(() => t.viewModel.displayStyle === z5 || t.viewModel.displayStyle === h6 || t.viewModel.displayStyle === Ld ? "tw-justify-start" : "tw-justify-center"), w = L(() => t.context.isBrandPageOrIsBrandContact ? !t.viewModel.areImagesFullWidth : !g.value), b = L(() => !t.context.isMobile), M = L(() => (N8(t.viewModel.description) || "").length > 0), S = (x) => x ? q5(x) : "", _ = (x) => {
|
|
73627
73627
|
if (!x.buttonViewModel)
|
|
73628
73628
|
return {};
|
|
73629
73629
|
const H = { ...x.buttonViewModel };
|
|
@@ -75940,7 +75940,7 @@ const l32 = /* @__PURE__ */ v(s32, [["render", a32]]), d32 = { key: 0 }, c32 = {
|
|
|
75940
75940
|
return Ol("createCard", { siteName: u });
|
|
75941
75941
|
}), d = (u) => `https://bcassetcdn.com/assets/images/modal/save-contact@2x.${u}.png`;
|
|
75942
75942
|
Se(() => {
|
|
75943
|
-
const u =
|
|
75943
|
+
const u = a9().toLowerCase(), h = new Image();
|
|
75944
75944
|
h.onload = () => {
|
|
75945
75945
|
s.value = h.src, o.value = !0;
|
|
75946
75946
|
}, h.onerror = () => {
|
|
@@ -76067,7 +76067,7 @@ const l32 = /* @__PURE__ */ v(s32, [["render", a32]]), d32 = { key: 0 }, c32 = {
|
|
|
76067
76067
|
n.context.isPreview,
|
|
76068
76068
|
n.context.brandPageType,
|
|
76069
76069
|
n.context.isDesignCom,
|
|
76070
|
-
|
|
76070
|
+
a9(),
|
|
76071
76071
|
"bp-save-contact"
|
|
76072
76072
|
) : "#"), y = L(() => n.buttonStyles?.iconStyle.fill || "");
|
|
76073
76073
|
return (w, b) => r.value ? (C(), f("footer", b32, [
|
|
@@ -77128,7 +77128,7 @@ const o0 = (e) => {
|
|
|
77128
77128
|
}, X32 = {
|
|
77129
77129
|
[U9.all]: "MakerPrePurchaseSidebarTemplatesAllTab",
|
|
77130
77130
|
[U9.categories]: "MakerPrePurchaseSidebarTemplatesCategoryTab"
|
|
77131
|
-
}, ex = 250,
|
|
77131
|
+
}, ex = 250, p6 = s3("uiTemplateSettings", {
|
|
77132
77132
|
state: () => ({
|
|
77133
77133
|
isBusy: !1,
|
|
77134
77134
|
pageCount: 0,
|
|
@@ -77259,7 +77259,7 @@ const o0 = (e) => {
|
|
|
77259
77259
|
throw new Error("templateType is not set");
|
|
77260
77260
|
this._setIsBusy({ isBusy: !0 });
|
|
77261
77261
|
try {
|
|
77262
|
-
const d = PL(), c =
|
|
77262
|
+
const d = PL(), c = a9(), u = s.logoTemplateAsset?.isByo ?? !1, h = s.logoTemplateAsset?.token ?? void 0, g = o.selectedLogoImage.logoVariation;
|
|
77263
77263
|
if (!u && await r.refreshS3TokenIfExpiredAsync(g)) {
|
|
77264
77264
|
setTimeout(() => {
|
|
77265
77265
|
this.loadPageNo({ pageNo: e });
|
|
@@ -77499,7 +77499,7 @@ const o0 = (e) => {
|
|
|
77499
77499
|
const t = p5(), n = w9();
|
|
77500
77500
|
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)))
|
|
77501
77501
|
throw new Error("logoDraftToken should be defined");
|
|
77502
|
-
const i = c2(), o =
|
|
77502
|
+
const i = c2(), o = p6();
|
|
77503
77503
|
this.brandPageBaseUrl = e.brandPageBaseUrl, this.baseFabricRenderUrl = t.baseFabricRenderDomain, this.brandPageDescription = e.brandPageDescription, this.brandPageDisplayName = e.brandPageDisplayName || this.brandPageDisplayName, this.templateTypeName = e.templateTypeName || this.brandPageDisplayName, this.brandPageSlug = e.brandPageSlug, this.brandPageStatus = e.brandPageStatus, this.brandPageTitle = e.brandPageTitle, this.sensitiveContent = e.sensitiveContent, this.brandPageToken = e.brandPageToken, this.designDraftToken = e.designDraftToken, this.designTemplateToken = e.designTemplateToken, this.isProduction = e.isProduction, this.backButtonLabel = e.backButtonLabel || m7("postPurchaseBackButtonLabel"), this.manageWebsiteDesignsUrl = e.manageWebsiteDesignsUrl, this.runtimeEnvironment = e.runtimeEnvironment, this.upgradeUrl = e.upgradeUrl, this.reactivationUrl = e.reactivationUrl, this.isReactivationModal = e.isReactivationModal, this.isPublishUpgradeModal = e.isPublishUpgradeModal, this.availableTaxes = e.availableTaxes, this.selectedTaxId = this.availableTaxes?.length > 0 ? this.availableTaxes[0].id : void 0, this.customDomain = e.brandPageCustomDomain ?? null, this.isCustomDomainEnabled = e.isBrandPageCustomDomainEnabled, this.isSellDomainNameEnabled = e.isSellDomainNameEnabled, this.isDesignCom = e.isDesignCom, this.isPrePurchase = e.isPrePurchase, this.makerFonts = e.makerFonts || [], this.showPublishOptionModal = e.showPublishOptionModal, this.abTests = RL1(e.abTests || {}), this.isSubsequentPublish = e.isSubsequentPublish, this.requestVerificationToken = e.requestVerificationToken, E4().initialise({
|
|
77504
77504
|
logoTemplateAsset: e.logoTemplateAsset,
|
|
77505
77505
|
logoDraftAssets: e.logoDraftAssets || []
|
|
@@ -78205,7 +78205,7 @@ const o0 = (e) => {
|
|
|
78205
78205
|
logoDraftToken: "",
|
|
78206
78206
|
editableLogoVariations: [
|
|
78207
78207
|
{
|
|
78208
|
-
variationId:
|
|
78208
|
+
variationId: i9.LOGO_WITH_TRANSPARENT_BACKGROUND,
|
|
78209
78209
|
base64: "",
|
|
78210
78210
|
dimensionType: L7.PREVIEW_IMAGE_TRANSPARENT_NO_BUFFER,
|
|
78211
78211
|
variationType: void 0,
|
|
@@ -78216,7 +78216,7 @@ const o0 = (e) => {
|
|
|
78216
78216
|
logoTheme: void 0
|
|
78217
78217
|
},
|
|
78218
78218
|
{
|
|
78219
|
-
variationId:
|
|
78219
|
+
variationId: i9.LOGO_WITH_BACKGROUND,
|
|
78220
78220
|
base64: "",
|
|
78221
78221
|
dimensionType: L7.PREVIEW_IMAGE_SOLID_NO_BUFFER,
|
|
78222
78222
|
variationType: void 0,
|
|
@@ -78227,7 +78227,7 @@ const o0 = (e) => {
|
|
|
78227
78227
|
logoTheme: void 0
|
|
78228
78228
|
},
|
|
78229
78229
|
{
|
|
78230
|
-
variationId:
|
|
78230
|
+
variationId: i9.LOGO_ONLY_WITH_TRANSPARENT_BACKGROUND,
|
|
78231
78231
|
base64: "",
|
|
78232
78232
|
dimensionType: L7.PREVIEW_IMAGE_TRANSPARENT_NO_BUFFER,
|
|
78233
78233
|
variationType: Od.ICON_TRANSPARENT_BACKGROUND_ONLY,
|
|
@@ -78238,7 +78238,7 @@ const o0 = (e) => {
|
|
|
78238
78238
|
logoTheme: void 0
|
|
78239
78239
|
},
|
|
78240
78240
|
{
|
|
78241
|
-
variationId:
|
|
78241
|
+
variationId: i9.TEXT_ONLY_WITH_TRANSPARENT_BACKGROUND,
|
|
78242
78242
|
base64: "",
|
|
78243
78243
|
dimensionType: L7.PREVIEW_IMAGE_TRANSPARENT_NO_BUFFER,
|
|
78244
78244
|
variationType: Od.TEXT_TRANSPARENT_BACKGROUND_ONLY,
|
|
@@ -78805,7 +78805,7 @@ const o0 = (e) => {
|
|
|
78805
78805
|
}), s42 = () => C6("invalidUrlMessage"), r42 = () => C6("invalidEmailMessage"), a42 = () => C6("invalidTelMessage"), l42 = () => C6("selectAPage"), d42 = (e) => typeof e == "string" && e.includes("@"), nD = (e) => e.buttonLinkType === ce.url && (!K4(e.url) || d42(e.url)) && e.buttonText !== !1 && e.buttonText?.length > 0 ? {
|
|
78806
78806
|
message: s42(),
|
|
78807
78807
|
isValid: !1
|
|
78808
|
-
} : e.buttonLinkType === ce.mailTo && typeof e.url == "string" &&
|
|
78808
|
+
} : e.buttonLinkType === ce.mailTo && typeof e.url == "string" && !B6(e.url) && e.buttonText !== !1 && e.buttonText?.length > 0 ? {
|
|
78809
78809
|
message: r42(),
|
|
78810
78810
|
isValid: !1
|
|
78811
78811
|
} : e.buttonLinkType === ce.tel && !R8(e.url) && e.buttonText !== !1 && e.buttonText?.length > 0 ? {
|
|
@@ -78845,7 +78845,7 @@ const o0 = (e) => {
|
|
|
78845
78845
|
} : aD.validate(e, t)
|
|
78846
78846
|
}, oD = {
|
|
78847
78847
|
validate: (e, t) => {
|
|
78848
|
-
const n = typeof t == "string" &&
|
|
78848
|
+
const n = typeof t == "string" && B6(t);
|
|
78849
78849
|
return {
|
|
78850
78850
|
isValid: n,
|
|
78851
78851
|
message: n ? "" : C6("invalidEmailMessage")
|
|
@@ -79855,7 +79855,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
79855
79855
|
},
|
|
79856
79856
|
setSelectedLogoImageToAll(e) {
|
|
79857
79857
|
const t = e.selectedLogoImage || {
|
|
79858
|
-
...
|
|
79858
|
+
...s9
|
|
79859
79859
|
};
|
|
79860
79860
|
this.setSelectedLogoImage(t);
|
|
79861
79861
|
const n = Pe(), i = c2(), o = Me();
|
|
@@ -79947,7 +79947,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
79947
79947
|
},
|
|
79948
79948
|
setLogoToAllContentsAndSectionsByCreateByoLogoDraftResult(e) {
|
|
79949
79949
|
const t = {
|
|
79950
|
-
...
|
|
79950
|
+
...s9,
|
|
79951
79951
|
logoDraftToken: e.logoDraftToken,
|
|
79952
79952
|
logoVariation: 0,
|
|
79953
79953
|
logoLastUpdate: Date.now().toString()
|
|
@@ -79991,7 +79991,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
79991
79991
|
)?.settings.content.logoTemplateImage;
|
|
79992
79992
|
},
|
|
79993
79993
|
logoVariationImageUrls() {
|
|
79994
|
-
return Object.values(
|
|
79994
|
+
return Object.values(i9).reduce(
|
|
79995
79995
|
(e, t) => (e[t] = d3.getInstance().getLogoVariationUrlByLogoVariationIndex(
|
|
79996
79996
|
this.selectedLogoImage.logoDraftToken,
|
|
79997
79997
|
this.selectedLogoImage.logoLastUpdate,
|
|
@@ -80087,7 +80087,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
80087
80087
|
o.logoImageUrl
|
|
80088
80088
|
);
|
|
80089
80089
|
n.setSelectedLogoImageToAll({
|
|
80090
|
-
selectedLogoImage:
|
|
80090
|
+
selectedLogoImage: s9,
|
|
80091
80091
|
selectedLogoTemplateImage: r
|
|
80092
80092
|
}), t.setLogoTheme({ logoTheme: s }), i.setRecommendedLogoColors({
|
|
80093
80093
|
recommendedLogoColors: o.logoTheme.backgroundColors
|
|
@@ -80413,7 +80413,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
80413
80413
|
);
|
|
80414
80414
|
},
|
|
80415
80415
|
async applySelectedTemplate() {
|
|
80416
|
-
const e = q2(), t = K3(), n = c5(), i =
|
|
80416
|
+
const e = q2(), t = K3(), n = c5(), i = p6(), o = $9(), s = u5(), r = B2(), a = w2(), l = Pe(), d = X4(), c = E4();
|
|
80417
80417
|
if (!this.selectedTemplateId)
|
|
80418
80418
|
return;
|
|
80419
80419
|
let u = i.getTemplateByTemplateId(
|
|
@@ -80656,39 +80656,42 @@ const Pe = s3("uiContentSettings", {
|
|
|
80656
80656
|
), a = i.logoDraftToken;
|
|
80657
80657
|
if (t)
|
|
80658
80658
|
try {
|
|
80659
|
-
const
|
|
80660
|
-
i.$patch({ logoEdits:
|
|
80661
|
-
} catch (
|
|
80659
|
+
const d = JSON.parse(t);
|
|
80660
|
+
i.$patch({ logoEdits: d });
|
|
80661
|
+
} catch (d) {
|
|
80662
80662
|
console.error(
|
|
80663
80663
|
"brandpage-maker-store: failed to restore logoEdits",
|
|
80664
|
-
|
|
80664
|
+
d
|
|
80665
80665
|
);
|
|
80666
80666
|
}
|
|
80667
80667
|
const l = Ag(e);
|
|
80668
|
-
if (
|
|
80669
|
-
n.setSelectedLogoImage({ ...l });
|
|
80670
|
-
const d = l.logoDraftToken;
|
|
80671
|
-
if (!d) return;
|
|
80672
|
-
const c = o.getLogoDraftAssetByToken(d);
|
|
80673
|
-
if (c && (i.setEnableEditMode(!c.isByo), c.templateAsset && o.setLogoTemplateAsset(c.templateAsset)), i.setLogoDraftToken(d), a === d && (t === void 0 || t === r)) {
|
|
80674
|
-
i.stampLogoBase64IntoBrandPageData();
|
|
80675
|
-
return;
|
|
80676
|
-
}
|
|
80677
|
-
if (!!c?.isByo) {
|
|
80678
|
-
i.restoreVariationsForDraftToken(d) && i.stampLogoBase64IntoBrandPageData();
|
|
80679
|
-
return;
|
|
80680
|
-
}
|
|
80681
|
-
if (s.isPrePurchase && t && o.logoTemplateAsset) {
|
|
80682
|
-
i.stampLogoBase64IntoBrandPageData();
|
|
80668
|
+
if (l)
|
|
80683
80669
|
try {
|
|
80684
|
-
|
|
80685
|
-
|
|
80686
|
-
|
|
80687
|
-
|
|
80688
|
-
|
|
80689
|
-
|
|
80670
|
+
const d = l.logoDraftToken;
|
|
80671
|
+
if (!d) return;
|
|
80672
|
+
const c = o.getLogoDraftAssetByToken(d);
|
|
80673
|
+
if (c && (i.setEnableEditMode(!c.isByo), c.templateAsset && o.setLogoTemplateAsset(c.templateAsset)), i.setLogoDraftToken(d), a === d && (t === void 0 || t === r)) {
|
|
80674
|
+
i.stampLogoBase64IntoBrandPageData();
|
|
80675
|
+
return;
|
|
80676
|
+
}
|
|
80677
|
+
if (!!c?.isByo) {
|
|
80678
|
+
i.restoreVariationsForDraftToken(d) && i.stampLogoBase64IntoBrandPageData();
|
|
80679
|
+
return;
|
|
80680
|
+
}
|
|
80681
|
+
if (s.isPrePurchase && t && o.logoTemplateAsset) {
|
|
80682
|
+
i.stampLogoBase64IntoBrandPageData();
|
|
80683
|
+
try {
|
|
80684
|
+
await i.updateEditableLogoImageUrlAsync();
|
|
80685
|
+
} catch (g) {
|
|
80686
|
+
console.error(
|
|
80687
|
+
"brandpage-maker-store: failed to re-render logo on history apply",
|
|
80688
|
+
g
|
|
80689
|
+
);
|
|
80690
|
+
}
|
|
80691
|
+
}
|
|
80692
|
+
} finally {
|
|
80693
|
+
n.setSelectedLogoImage({ ...l });
|
|
80690
80694
|
}
|
|
80691
|
-
}
|
|
80692
80695
|
},
|
|
80693
80696
|
/**
|
|
80694
80697
|
* Restore the active page after a history apply. The id passed in is
|
|
@@ -80811,7 +80814,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
80811
80814
|
shopConfigData: g,
|
|
80812
80815
|
isServerRenderOverride: m = !1
|
|
80813
80816
|
}) {
|
|
80814
|
-
const y = w2(), w = B2(), b = q2(), M =
|
|
80817
|
+
const y = w2(), w = B2(), b = q2(), M = p6(), S = K3(), _ = X4(), x = u5(), H = c5(), D = $9();
|
|
80815
80818
|
P4(), D.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
|
|
80816
80819
|
try {
|
|
80817
80820
|
const Z = j9(
|
|
@@ -81083,7 +81086,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81083
81086
|
await w2().showStripeOnboardingModal();
|
|
81084
81087
|
},
|
|
81085
81088
|
selectInitialCategories(e) {
|
|
81086
|
-
const t =
|
|
81089
|
+
const t = p6(), n = Pe();
|
|
81087
81090
|
e && (e.selectedTemplateCategory && t.selectInitialTemplateCategory({
|
|
81088
81091
|
selectedCategory: e.selectedTemplateCategory
|
|
81089
81092
|
}), e.selectedContentCategory && n.selectInitialContentCategory({
|
|
@@ -81176,7 +81179,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81176
81179
|
e.sections[T2.header][K1.mobile],
|
|
81177
81180
|
{
|
|
81178
81181
|
navigation: c[T2.header][K1.mobile],
|
|
81179
|
-
logoImage:
|
|
81182
|
+
logoImage: s9,
|
|
81180
81183
|
logoImageBase64Url: void 0,
|
|
81181
81184
|
logoTemplateImage: void 0
|
|
81182
81185
|
}
|
|
@@ -81186,7 +81189,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81186
81189
|
e.sections[T2.header][K1.desktop],
|
|
81187
81190
|
{
|
|
81188
81191
|
navigation: c[T2.header][K1.desktop],
|
|
81189
|
-
logoImage:
|
|
81192
|
+
logoImage: s9,
|
|
81190
81193
|
logoImageBase64Url: void 0,
|
|
81191
81194
|
logoTemplateImage: void 0
|
|
81192
81195
|
}
|
|
@@ -81195,7 +81198,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81195
81198
|
{},
|
|
81196
81199
|
e.sections[T2.footer][K1.mobile],
|
|
81197
81200
|
{
|
|
81198
|
-
logoImage:
|
|
81201
|
+
logoImage: s9,
|
|
81199
81202
|
logoImageBase64Url: void 0,
|
|
81200
81203
|
logoTemplateImage: void 0
|
|
81201
81204
|
}
|
|
@@ -81204,7 +81207,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81204
81207
|
{},
|
|
81205
81208
|
e.sections[T2.footer][K1.desktop],
|
|
81206
81209
|
{
|
|
81207
|
-
logoImage:
|
|
81210
|
+
logoImage: s9,
|
|
81208
81211
|
logoImageBase64Url: void 0,
|
|
81209
81212
|
logoTemplateImage: void 0
|
|
81210
81213
|
}
|
|
@@ -81978,8 +81981,8 @@ const ni = s3("snapshot", {
|
|
|
81978
81981
|
},
|
|
81979
81982
|
{
|
|
81980
81983
|
title: "",
|
|
81981
|
-
value:
|
|
81982
|
-
isSelected: e ===
|
|
81984
|
+
value: h6,
|
|
81985
|
+
isSelected: e === h6,
|
|
81983
81986
|
iconName: "display-style-banner-2",
|
|
81984
81987
|
iconViewBox: "0 0 110 64",
|
|
81985
81988
|
dataAttribute: "data-test-btn-right-aligned"
|
|
@@ -82042,8 +82045,8 @@ const ni = s3("snapshot", {
|
|
|
82042
82045
|
},
|
|
82043
82046
|
{
|
|
82044
82047
|
title: "",
|
|
82045
|
-
value:
|
|
82046
|
-
isSelected: e ===
|
|
82048
|
+
value: l9,
|
|
82049
|
+
isSelected: e === l9,
|
|
82047
82050
|
iconName: "display-style-banner-4",
|
|
82048
82051
|
iconViewBox: "0 0 110 64",
|
|
82049
82052
|
dataAttribute: "data-test-btn-full-image"
|
|
@@ -82095,7 +82098,7 @@ const ni = s3("snapshot", {
|
|
|
82095
82098
|
convertBack(e) {
|
|
82096
82099
|
const t = e.options.find((o) => o.isSelected);
|
|
82097
82100
|
let n = "left";
|
|
82098
|
-
(!t || t.value === ze || t.value ===
|
|
82101
|
+
(!t || t.value === ze || t.value === l9 || t.value === g3 || t.value === Nl || t.value === Rl || t.value === Zl || t.value === Yi || t.value === Xi || t.value === Ji) && (n = "center");
|
|
82099
82102
|
const i = PE(t?.value);
|
|
82100
82103
|
return {
|
|
82101
82104
|
displayStyle: t?.value,
|
|
@@ -82127,8 +82130,8 @@ const ni = s3("snapshot", {
|
|
|
82127
82130
|
},
|
|
82128
82131
|
{
|
|
82129
82132
|
title: "",
|
|
82130
|
-
value:
|
|
82131
|
-
isSelected: e ===
|
|
82133
|
+
value: h6,
|
|
82134
|
+
isSelected: e === h6,
|
|
82132
82135
|
iconName: "display-style-about-2",
|
|
82133
82136
|
iconViewBox: "0 0 50 25",
|
|
82134
82137
|
dataAttribute: "data-test-btn-right-aligned"
|
|
@@ -82283,8 +82286,8 @@ const ni = s3("snapshot", {
|
|
|
82283
82286
|
{
|
|
82284
82287
|
title: "",
|
|
82285
82288
|
label: "1",
|
|
82286
|
-
value:
|
|
82287
|
-
isSelected: e ===
|
|
82289
|
+
value: J6[1],
|
|
82290
|
+
isSelected: e === J6[1],
|
|
82288
82291
|
iconName: "column-1",
|
|
82289
82292
|
iconSize: "md",
|
|
82290
82293
|
dataAttribute: "data-test-btn-left-aligned"
|
|
@@ -82292,8 +82295,8 @@ const ni = s3("snapshot", {
|
|
|
82292
82295
|
{
|
|
82293
82296
|
title: "",
|
|
82294
82297
|
label: "2",
|
|
82295
|
-
value:
|
|
82296
|
-
isSelected: e ===
|
|
82298
|
+
value: J6[2],
|
|
82299
|
+
isSelected: e === J6[2],
|
|
82297
82300
|
iconName: "column-2",
|
|
82298
82301
|
iconSize: "md",
|
|
82299
82302
|
dataAttribute: "data-test-btn-right-aligned"
|
|
@@ -82301,8 +82304,8 @@ const ni = s3("snapshot", {
|
|
|
82301
82304
|
{
|
|
82302
82305
|
title: "",
|
|
82303
82306
|
label: "3",
|
|
82304
|
-
value:
|
|
82305
|
-
isSelected: e ===
|
|
82307
|
+
value: J6[3],
|
|
82308
|
+
isSelected: e === J6[3],
|
|
82306
82309
|
iconName: "column-3",
|
|
82307
82310
|
iconSize: "md",
|
|
82308
82311
|
dataAttribute: "data-test-btn-center-aligned"
|
|
@@ -82310,8 +82313,8 @@ const ni = s3("snapshot", {
|
|
|
82310
82313
|
{
|
|
82311
82314
|
title: "",
|
|
82312
82315
|
label: "4",
|
|
82313
|
-
value:
|
|
82314
|
-
isSelected: e ===
|
|
82316
|
+
value: J6[4],
|
|
82317
|
+
isSelected: e === J6[4],
|
|
82315
82318
|
iconName: "column-4",
|
|
82316
82319
|
iconSize: "md",
|
|
82317
82320
|
dataAttribute: "data-test-btn-text-only"
|
|
@@ -82322,7 +82325,7 @@ const ni = s3("snapshot", {
|
|
|
82322
82325
|
},
|
|
82323
82326
|
convertBack(e) {
|
|
82324
82327
|
const t = e.options.find((n) => n.isSelected);
|
|
82325
|
-
return t ? t?.value :
|
|
82328
|
+
return t ? t?.value : J6[1];
|
|
82326
82329
|
}
|
|
82327
82330
|
}, Y42 = {
|
|
82328
82331
|
convertBackToMultipleValues: !0,
|
|
@@ -82539,7 +82542,7 @@ const ni = s3("snapshot", {
|
|
|
82539
82542
|
const t = e.options.find((n) => n.isSelected);
|
|
82540
82543
|
return t ? t.value : null;
|
|
82541
82544
|
}
|
|
82542
|
-
}, km = (e, t) => t.isBrandSite, Hx = (e, t) => t.isBrandPage || t.isBrandContact, dh = (e) => !!e?.imageUrl, Ix = (e) => (e?.images?.length || 0) > 0, e52 = (e) => e?.requestPaymentConfig.paymentOptionDisplayType !== "text", t52 = (e) => e?.displayStyle !== "text", n52 = (e) => e.displayStyle === g3, i52 = (e) => e.displayStyle === g3, o52 = (e) => e?.displayStyle === "columns", s52 = (e) => e && e?.displayStyle === X9 ? "images" : "text-image-items", r52 = (e) => e && e?.displayStyle === X9 ? "shape-items" : "text-image-items", a52 = (e) => e?.dividerStyle !== "none", Xw = (e) => !!(e?.colorReplacements && e?.imageUrl && e?.mediaType === "shape"), l52 = (e) => !!(e?.colorReplacements && e?.avatarImageUrl && e?.mediaType === "shape"),
|
|
82545
|
+
}, km = (e, t) => t.isBrandSite, Hx = (e, t) => t.isBrandPage || t.isBrandContact, dh = (e) => !!e?.imageUrl, Ix = (e) => (e?.images?.length || 0) > 0, e52 = (e) => e?.requestPaymentConfig.paymentOptionDisplayType !== "text", t52 = (e) => e?.displayStyle !== "text", n52 = (e) => e.displayStyle === g3, i52 = (e) => e.displayStyle === g3, o52 = (e) => e?.displayStyle === "columns", s52 = (e) => e && e?.displayStyle === X9 ? "images" : "text-image-items", r52 = (e) => e && e?.displayStyle === X9 ? "shape-items" : "text-image-items", a52 = (e) => e?.dividerStyle !== "none", Xw = (e) => !!(e?.colorReplacements && e?.imageUrl && e?.mediaType === "shape"), l52 = (e) => !!(e?.colorReplacements && e?.avatarImageUrl && e?.mediaType === "shape"), R6 = (e) => !!(e?.colorReplacements && e?.iconUrl && e?.mediaType === "shape"), d52 = (e, t) => !!(e?.layoutStyle && [
|
|
82543
82546
|
g3,
|
|
82544
82547
|
Mn,
|
|
82545
82548
|
u6,
|
|
@@ -82588,23 +82591,23 @@ const ni = s3("snapshot", {
|
|
|
82588
82591
|
{
|
|
82589
82592
|
iconName: "icon-style-no-bg",
|
|
82590
82593
|
iconViewBox: "-5 -4 104 28",
|
|
82591
|
-
isSelected: !e || e ===
|
|
82594
|
+
isSelected: !e || e === V6.none,
|
|
82592
82595
|
title: O("styleNoneOption"),
|
|
82593
|
-
value:
|
|
82596
|
+
value: V6.none
|
|
82594
82597
|
},
|
|
82595
82598
|
{
|
|
82596
82599
|
iconName: "icon-style-square-bg",
|
|
82597
82600
|
iconViewBox: "-5 -4 104 28",
|
|
82598
|
-
isSelected: e ===
|
|
82601
|
+
isSelected: e === V6.square,
|
|
82599
82602
|
title: O("styleSquareOption"),
|
|
82600
|
-
value:
|
|
82603
|
+
value: V6.square
|
|
82601
82604
|
},
|
|
82602
82605
|
{
|
|
82603
82606
|
iconName: "icon-style-circle-bg",
|
|
82604
82607
|
iconViewBox: "-5 -4 104 28",
|
|
82605
82608
|
title: O("styleCircleOption"),
|
|
82606
|
-
isSelected: e ===
|
|
82607
|
-
value:
|
|
82609
|
+
isSelected: e === V6.circle,
|
|
82610
|
+
value: V6.circle
|
|
82608
82611
|
}
|
|
82609
82612
|
]
|
|
82610
82613
|
};
|
|
@@ -82628,8 +82631,8 @@ const ni = s3("snapshot", {
|
|
|
82628
82631
|
},
|
|
82629
82632
|
{
|
|
82630
82633
|
title: "",
|
|
82631
|
-
value:
|
|
82632
|
-
isSelected: n ===
|
|
82634
|
+
value: h6,
|
|
82635
|
+
isSelected: n === h6,
|
|
82633
82636
|
iconName: "display-style-images-2",
|
|
82634
82637
|
iconViewBox: "0 0 50 25",
|
|
82635
82638
|
dataAttribute: "data-test-btn-right-aligned"
|
|
@@ -82716,8 +82719,8 @@ const ni = s3("snapshot", {
|
|
|
82716
82719
|
},
|
|
82717
82720
|
{
|
|
82718
82721
|
title: F3("bigImage"),
|
|
82719
|
-
value:
|
|
82720
|
-
isSelected: e ===
|
|
82722
|
+
value: l9,
|
|
82723
|
+
isSelected: e === l9,
|
|
82721
82724
|
iconName: "testimonial-big-image",
|
|
82722
82725
|
iconViewBox: "0 0 94 24",
|
|
82723
82726
|
dataAttribute: "data-test-btn-big-image"
|
|
@@ -82782,7 +82785,7 @@ const ni = s3("snapshot", {
|
|
|
82782
82785
|
}, uD = (e) => e?.buttonLinkType !== ce.page && e?.buttonText !== !1 && e?.buttonText !== "", pD = (e) => e?.buttonLinkType === ce.page && e?.buttonText !== !1 && e?.buttonText.length > 0, fD = (e) => e?.buttonText !== "" && e?.buttonText !== !1, b52 = (e) => e?.displayStyle === g3 || e?.displayStyle === Gt, $x = (e) => !!((e.media?.type === "getty-video" || e.imageUrl) && [
|
|
82783
82786
|
g3,
|
|
82784
82787
|
Gt,
|
|
82785
|
-
|
|
82788
|
+
l9,
|
|
82786
82789
|
_n
|
|
82787
82790
|
].includes(e.displayStyle)), hD = (e) => e ? e.displayStyle !== X9 : !1, gD = (e) => {
|
|
82788
82791
|
switch (e?.buttonLinkType) {
|
|
@@ -82882,7 +82885,7 @@ const ni = s3("snapshot", {
|
|
|
82882
82885
|
defaultValue: {},
|
|
82883
82886
|
label: O("buttonTextStyleLabel"),
|
|
82884
82887
|
groupId: C1.style
|
|
82885
|
-
}),
|
|
82888
|
+
}), Z6 = () => ({
|
|
82886
82889
|
tabs: [
|
|
82887
82890
|
"ICON",
|
|
82888
82891
|
"MY_DESIGNS",
|
|
@@ -83201,14 +83204,14 @@ const ni = s3("snapshot", {
|
|
|
83201
83204
|
fields: {
|
|
83202
83205
|
[We.iconUrl]: {
|
|
83203
83206
|
type: "image",
|
|
83204
|
-
replaceImageSettings:
|
|
83207
|
+
replaceImageSettings: Z6(),
|
|
83205
83208
|
title: O("thumbnailTitle"),
|
|
83206
83209
|
groupId: C1.settings
|
|
83207
83210
|
},
|
|
83208
83211
|
colorReplacements: {
|
|
83209
83212
|
type: "color-replacements",
|
|
83210
83213
|
title: O("shapeColorsTitle"),
|
|
83211
|
-
visibilityAssessor:
|
|
83214
|
+
visibilityAssessor: R6,
|
|
83212
83215
|
groupId: C1.settings
|
|
83213
83216
|
},
|
|
83214
83217
|
title: {
|
|
@@ -83360,14 +83363,14 @@ const ni = s3("snapshot", {
|
|
|
83360
83363
|
fields: {
|
|
83361
83364
|
[We.iconUrl]: {
|
|
83362
83365
|
type: "image",
|
|
83363
|
-
replaceImageSettings:
|
|
83366
|
+
replaceImageSettings: Z6(),
|
|
83364
83367
|
title: O("thumbnailTitle"),
|
|
83365
83368
|
groupId: C1.settings
|
|
83366
83369
|
},
|
|
83367
83370
|
colorReplacements: {
|
|
83368
83371
|
type: "color-replacements",
|
|
83369
83372
|
title: O("shapeColorsTitle"),
|
|
83370
|
-
visibilityAssessor:
|
|
83373
|
+
visibilityAssessor: R6,
|
|
83371
83374
|
groupId: C1.settings
|
|
83372
83375
|
},
|
|
83373
83376
|
title: {
|
|
@@ -83409,14 +83412,14 @@ const ni = s3("snapshot", {
|
|
|
83409
83412
|
fields: {
|
|
83410
83413
|
[We.iconUrl]: {
|
|
83411
83414
|
type: "image",
|
|
83412
|
-
replaceImageSettings:
|
|
83415
|
+
replaceImageSettings: Z6(),
|
|
83413
83416
|
title: O("thumbnailTitle"),
|
|
83414
83417
|
groupId: C1.settings
|
|
83415
83418
|
},
|
|
83416
83419
|
colorReplacements: {
|
|
83417
83420
|
type: "color-replacements",
|
|
83418
83421
|
title: O("shapeColorsTitle"),
|
|
83419
|
-
visibilityAssessor:
|
|
83422
|
+
visibilityAssessor: R6,
|
|
83420
83423
|
groupId: C1.settings
|
|
83421
83424
|
},
|
|
83422
83425
|
title: {
|
|
@@ -83567,14 +83570,14 @@ const ni = s3("snapshot", {
|
|
|
83567
83570
|
fields: {
|
|
83568
83571
|
[We.iconUrl]: {
|
|
83569
83572
|
type: "image",
|
|
83570
|
-
replaceImageSettings:
|
|
83573
|
+
replaceImageSettings: Z6(),
|
|
83571
83574
|
title: O("thumbnailTitle"),
|
|
83572
83575
|
groupId: C1.settings
|
|
83573
83576
|
},
|
|
83574
83577
|
colorReplacements: {
|
|
83575
83578
|
type: "color-replacements",
|
|
83576
83579
|
title: O("shapeColorsTitle"),
|
|
83577
|
-
visibilityAssessor:
|
|
83580
|
+
visibilityAssessor: R6,
|
|
83578
83581
|
groupId: C1.settings
|
|
83579
83582
|
},
|
|
83580
83583
|
title: {
|
|
@@ -83676,7 +83679,7 @@ const ni = s3("snapshot", {
|
|
|
83676
83679
|
columnStyle: {
|
|
83677
83680
|
type: "radio",
|
|
83678
83681
|
role: "multi",
|
|
83679
|
-
defaultValue:
|
|
83682
|
+
defaultValue: J6[1],
|
|
83680
83683
|
title: O("columnsTitle"),
|
|
83681
83684
|
optionsConvertor: K42,
|
|
83682
83685
|
groupId: C1.style,
|
|
@@ -83708,14 +83711,14 @@ const ni = s3("snapshot", {
|
|
|
83708
83711
|
fields: {
|
|
83709
83712
|
[We.iconUrl]: {
|
|
83710
83713
|
type: "image",
|
|
83711
|
-
replaceImageSettings:
|
|
83714
|
+
replaceImageSettings: Z6(),
|
|
83712
83715
|
title: O("thumbnailTitle"),
|
|
83713
83716
|
groupId: C1.settings
|
|
83714
83717
|
},
|
|
83715
83718
|
colorReplacements: {
|
|
83716
83719
|
type: "color-replacements",
|
|
83717
83720
|
title: O("shapeColorsTitle"),
|
|
83718
|
-
visibilityAssessor:
|
|
83721
|
+
visibilityAssessor: R6,
|
|
83719
83722
|
groupId: C1.settings
|
|
83720
83723
|
},
|
|
83721
83724
|
title: {
|
|
@@ -83756,14 +83759,14 @@ const ni = s3("snapshot", {
|
|
|
83756
83759
|
fields: {
|
|
83757
83760
|
[We.iconUrl]: {
|
|
83758
83761
|
type: "image",
|
|
83759
|
-
replaceImageSettings:
|
|
83762
|
+
replaceImageSettings: Z6(),
|
|
83760
83763
|
title: O("thumbnailTitle"),
|
|
83761
83764
|
groupId: C1.settings
|
|
83762
83765
|
},
|
|
83763
83766
|
colorReplacements: {
|
|
83764
83767
|
type: "color-replacements",
|
|
83765
83768
|
title: O("shapeColorsTitle"),
|
|
83766
|
-
visibilityAssessor:
|
|
83769
|
+
visibilityAssessor: R6,
|
|
83767
83770
|
groupId: C1.settings
|
|
83768
83771
|
},
|
|
83769
83772
|
title: {
|
|
@@ -83804,14 +83807,14 @@ const ni = s3("snapshot", {
|
|
|
83804
83807
|
fields: {
|
|
83805
83808
|
[We.iconUrl]: {
|
|
83806
83809
|
type: "image",
|
|
83807
|
-
replaceImageSettings:
|
|
83810
|
+
replaceImageSettings: Z6(),
|
|
83808
83811
|
title: O("thumbnailTitle"),
|
|
83809
83812
|
groupId: C1.settings
|
|
83810
83813
|
},
|
|
83811
83814
|
colorReplacements: {
|
|
83812
83815
|
type: "color-replacements",
|
|
83813
83816
|
title: O("shapeColorsTitle"),
|
|
83814
|
-
visibilityAssessor:
|
|
83817
|
+
visibilityAssessor: R6,
|
|
83815
83818
|
groupId: C1.settings
|
|
83816
83819
|
},
|
|
83817
83820
|
title: {
|
|
@@ -83852,14 +83855,14 @@ const ni = s3("snapshot", {
|
|
|
83852
83855
|
fields: {
|
|
83853
83856
|
[We.iconUrl]: {
|
|
83854
83857
|
type: "image",
|
|
83855
|
-
replaceImageSettings:
|
|
83858
|
+
replaceImageSettings: Z6(),
|
|
83856
83859
|
title: O("thumbnailTitle"),
|
|
83857
83860
|
groupId: C1.settings
|
|
83858
83861
|
},
|
|
83859
83862
|
colorReplacements: {
|
|
83860
83863
|
type: "color-replacements",
|
|
83861
83864
|
title: O("shapeColorsTitle"),
|
|
83862
|
-
visibilityAssessor:
|
|
83865
|
+
visibilityAssessor: R6,
|
|
83863
83866
|
groupId: C1.settings
|
|
83864
83867
|
},
|
|
83865
83868
|
title: {
|
|
@@ -83900,14 +83903,14 @@ const ni = s3("snapshot", {
|
|
|
83900
83903
|
fields: {
|
|
83901
83904
|
[We.iconUrl]: {
|
|
83902
83905
|
type: "image",
|
|
83903
|
-
replaceImageSettings:
|
|
83906
|
+
replaceImageSettings: Z6(),
|
|
83904
83907
|
title: O("thumbnailTitle"),
|
|
83905
83908
|
groupId: C1.settings
|
|
83906
83909
|
},
|
|
83907
83910
|
colorReplacements: {
|
|
83908
83911
|
type: "color-replacements",
|
|
83909
83912
|
title: O("shapeColorsTitle"),
|
|
83910
|
-
visibilityAssessor:
|
|
83913
|
+
visibilityAssessor: R6,
|
|
83911
83914
|
groupId: C1.settings
|
|
83912
83915
|
},
|
|
83913
83916
|
title: {
|
|
@@ -83948,14 +83951,14 @@ const ni = s3("snapshot", {
|
|
|
83948
83951
|
fields: {
|
|
83949
83952
|
[We.iconUrl]: {
|
|
83950
83953
|
type: "image",
|
|
83951
|
-
replaceImageSettings:
|
|
83954
|
+
replaceImageSettings: Z6(),
|
|
83952
83955
|
title: O("thumbnailTitle"),
|
|
83953
83956
|
groupId: C1.settings
|
|
83954
83957
|
},
|
|
83955
83958
|
colorReplacements: {
|
|
83956
83959
|
type: "color-replacements",
|
|
83957
83960
|
title: O("shapeColorsTitle"),
|
|
83958
|
-
visibilityAssessor:
|
|
83961
|
+
visibilityAssessor: R6,
|
|
83959
83962
|
groupId: C1.settings
|
|
83960
83963
|
},
|
|
83961
83964
|
title: {
|
|
@@ -83996,14 +83999,14 @@ const ni = s3("snapshot", {
|
|
|
83996
83999
|
fields: {
|
|
83997
84000
|
[We.iconUrl]: {
|
|
83998
84001
|
type: "image",
|
|
83999
|
-
replaceImageSettings:
|
|
84002
|
+
replaceImageSettings: Z6(),
|
|
84000
84003
|
title: O("thumbnailTitle"),
|
|
84001
84004
|
groupId: C1.settings
|
|
84002
84005
|
},
|
|
84003
84006
|
colorReplacements: {
|
|
84004
84007
|
type: "color-replacements",
|
|
84005
84008
|
title: O("shapeColorsTitle"),
|
|
84006
|
-
visibilityAssessor:
|
|
84009
|
+
visibilityAssessor: R6,
|
|
84007
84010
|
groupId: C1.settings
|
|
84008
84011
|
},
|
|
84009
84012
|
title: {
|
|
@@ -84044,14 +84047,14 @@ const ni = s3("snapshot", {
|
|
|
84044
84047
|
fields: {
|
|
84045
84048
|
[We.iconUrl]: {
|
|
84046
84049
|
type: "image",
|
|
84047
|
-
replaceImageSettings:
|
|
84050
|
+
replaceImageSettings: Z6(),
|
|
84048
84051
|
title: O("thumbnailTitle"),
|
|
84049
84052
|
groupId: C1.settings
|
|
84050
84053
|
},
|
|
84051
84054
|
colorReplacements: {
|
|
84052
84055
|
type: "color-replacements",
|
|
84053
84056
|
title: O("shapeColorsTitle"),
|
|
84054
|
-
visibilityAssessor:
|
|
84057
|
+
visibilityAssessor: R6,
|
|
84055
84058
|
groupId: C1.settings
|
|
84056
84059
|
},
|
|
84057
84060
|
title: {
|
|
@@ -85016,7 +85019,7 @@ const ni = s3("snapshot", {
|
|
|
85016
85019
|
role: "multi",
|
|
85017
85020
|
groupId: L9.style,
|
|
85018
85021
|
title: O("displayStyleTitle"),
|
|
85019
|
-
defaultValue:
|
|
85022
|
+
defaultValue: V6.none,
|
|
85020
85023
|
optionsConvertor: g52,
|
|
85021
85024
|
variant: "icon"
|
|
85022
85025
|
},
|
|
@@ -85535,7 +85538,7 @@ const ni = s3("snapshot", {
|
|
|
85535
85538
|
accessibleDisplayName: "AI Website Builder",
|
|
85536
85539
|
isVisible: !0
|
|
85537
85540
|
}
|
|
85538
|
-
], m62 = 3e3, yN2 = () => C4("successfulSave"), ID = 300,
|
|
85541
|
+
], m62 = 3e3, yN2 = () => C4("successfulSave"), ID = 300, e9 = {
|
|
85539
85542
|
active: "active",
|
|
85540
85543
|
pending: "pending",
|
|
85541
85544
|
failed: "failed",
|
|
@@ -87327,7 +87330,7 @@ function G92(e) {
|
|
|
87327
87330
|
a: n
|
|
87328
87331
|
};
|
|
87329
87332
|
}
|
|
87330
|
-
var j92 = "[-\\+]?\\d+%?", W92 = "[-\\+]?\\d*\\.\\d+%?", H7 = "(?:".concat(W92, ")|(?:").concat(j92, ")"), ph = "[\\s|\\(]+(".concat(H7, ")[,|\\s]+(").concat(H7, ")[,|\\s]+(").concat(H7, ")\\s*\\)?"), fh = "[\\s|\\(]+(".concat(H7, ")[,|\\s]+(").concat(H7, ")[,|\\s]+(").concat(H7, ")[,|\\s]+(").concat(H7, ")\\s*\\)?"),
|
|
87333
|
+
var j92 = "[-\\+]?\\d+%?", W92 = "[-\\+]?\\d*\\.\\d+%?", H7 = "(?:".concat(W92, ")|(?:").concat(j92, ")"), ph = "[\\s|\\(]+(".concat(H7, ")[,|\\s]+(").concat(H7, ")[,|\\s]+(").concat(H7, ")\\s*\\)?"), fh = "[\\s|\\(]+(".concat(H7, ")[,|\\s]+(").concat(H7, ")[,|\\s]+(").concat(H7, ")[,|\\s]+(").concat(H7, ")\\s*\\)?"), X6 = {
|
|
87331
87334
|
CSS_UNIT: new RegExp(H7),
|
|
87332
87335
|
rgb: new RegExp("rgb" + ph),
|
|
87333
87336
|
rgba: new RegExp("rgba" + fh),
|
|
@@ -87348,25 +87351,25 @@ function K92(e) {
|
|
|
87348
87351
|
e = Vm[e], t = !0;
|
|
87349
87352
|
else if (e === "transparent")
|
|
87350
87353
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
87351
|
-
var n =
|
|
87352
|
-
return n ? { r: n[1], g: n[2], b: n[3] } : (n =
|
|
87354
|
+
var n = X6.rgb.exec(e);
|
|
87355
|
+
return n ? { r: n[1], g: n[2], b: n[3] } : (n = X6.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = X6.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = X6.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = X6.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = X6.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = X6.hex8.exec(e), n ? {
|
|
87353
87356
|
r: n6(n[1]),
|
|
87354
87357
|
g: n6(n[2]),
|
|
87355
87358
|
b: n6(n[3]),
|
|
87356
87359
|
a: Fx(n[4]),
|
|
87357
87360
|
format: t ? "name" : "hex8"
|
|
87358
|
-
} : (n =
|
|
87361
|
+
} : (n = X6.hex6.exec(e), n ? {
|
|
87359
87362
|
r: n6(n[1]),
|
|
87360
87363
|
g: n6(n[2]),
|
|
87361
87364
|
b: n6(n[3]),
|
|
87362
87365
|
format: t ? "name" : "hex"
|
|
87363
|
-
} : (n =
|
|
87366
|
+
} : (n = X6.hex4.exec(e), n ? {
|
|
87364
87367
|
r: n6(n[1] + n[1]),
|
|
87365
87368
|
g: n6(n[2] + n[2]),
|
|
87366
87369
|
b: n6(n[3] + n[3]),
|
|
87367
87370
|
a: Fx(n[4] + n[4]),
|
|
87368
87371
|
format: t ? "name" : "hex8"
|
|
87369
|
-
} : (n =
|
|
87372
|
+
} : (n = X6.hex3.exec(e), n ? {
|
|
87370
87373
|
r: n6(n[1] + n[1]),
|
|
87371
87374
|
g: n6(n[2] + n[2]),
|
|
87372
87375
|
b: n6(n[3] + n[3]),
|
|
@@ -87374,7 +87377,7 @@ function K92(e) {
|
|
|
87374
87377
|
} : !1)))))))));
|
|
87375
87378
|
}
|
|
87376
87379
|
function m8(e) {
|
|
87377
|
-
return !!
|
|
87380
|
+
return !!X6.CSS_UNIT.exec(String(e));
|
|
87378
87381
|
}
|
|
87379
87382
|
var Y92 = (
|
|
87380
87383
|
/** @class */
|
|
@@ -89002,7 +89005,7 @@ const O72 = /* @__PURE__ */ v(P72, [["render", B72]]), D72 = {
|
|
|
89002
89005
|
setup(e, { emit: t }) {
|
|
89003
89006
|
const n = e, i = t, o = u5(), s = c1(!1), r = c1(""), a = c1(""), l = c1(!1), d = c1(""), c = L(
|
|
89004
89007
|
() => o.recommendedLogoColors
|
|
89005
|
-
), u = L(() => o.logoColors), h = L(() =>
|
|
89008
|
+
), u = L(() => o.logoColors), h = L(() => d9(r.value)), g = L(() => n.toggleUniqueId ? `-${n.toggleUniqueId}` : ""), m = L(() => {
|
|
89006
89009
|
let H = [
|
|
89007
89010
|
{
|
|
89008
89011
|
label: qu("recommendedColors"),
|
|
@@ -89138,7 +89141,7 @@ const O72 = /* @__PURE__ */ v(P72, [["render", B72]]), D72 = {
|
|
|
89138
89141
|
setup(e) {
|
|
89139
89142
|
const t = e, n = B2(), i = u5(), o = L(() => n.isAdmin), s = L(
|
|
89140
89143
|
() => i.backgroundStyles
|
|
89141
|
-
), r = L(() => s.value.style.background ? s.value.style.background.startsWith("rgb") ? l3(s.value.style.background).toUpperCase() : s.value.style.background : null), a = L(() =>
|
|
89144
|
+
), r = L(() => s.value.style.background ? s.value.style.background.startsWith("rgb") ? l3(s.value.style.background).toUpperCase() : s.value.style.background : null), a = L(() => d9(r.value)), l = (d) => {
|
|
89142
89145
|
const c = d.value;
|
|
89143
89146
|
let u = "";
|
|
89144
89147
|
c && c.includes("logo-") ? u = c : Array.isArray(c) ? u = V8(c) : c ? u = O8(c, 1) : u = t.logoTheme?.logoTextColor?.rgb ? O8(t.logoTheme.logoTextColor.rgb, 1) : "", i.setBackgroundStyle({
|
|
@@ -89209,7 +89212,7 @@ const eb = /* @__PURE__ */ v(Q72, [["render", tt2]]), qx = Q({
|
|
|
89209
89212
|
return (this.colorType === "main" ? this.backgroundStyles.backgroundShapeStyle?.color : this.backgroundStyles.backgroundShapes[0]?.style.color) || "";
|
|
89210
89213
|
},
|
|
89211
89214
|
colorMatched() {
|
|
89212
|
-
return
|
|
89215
|
+
return d9(this.color);
|
|
89213
89216
|
}
|
|
89214
89217
|
},
|
|
89215
89218
|
methods: {
|
|
@@ -91963,7 +91966,7 @@ const Ln2 = { "data-component": "video-library" }, Tn2 = {
|
|
|
91963
91966
|
"logo-theme": c.value
|
|
91964
91967
|
}, null, 8, ["custom-groups", "logo-theme"]),
|
|
91965
91968
|
p("h4", ni2, P(I(l4)("addMedia")), 1),
|
|
91966
|
-
T(I(
|
|
91969
|
+
T(I(t9), {
|
|
91967
91970
|
"data-component": "collapsible-panel",
|
|
91968
91971
|
title: I(l4)("media")
|
|
91969
91972
|
}, {
|
|
@@ -92860,7 +92863,7 @@ const Vi2 = /* @__PURE__ */ v(Li2, [["render", Ti2], ["__scopeId", "data-v-0cd8c
|
|
|
92860
92863
|
l = await o.createPlaceAutocompleteElement({
|
|
92861
92864
|
value: n.value?.formattedAddress ?? "",
|
|
92862
92865
|
placeholder: tL1("addressPlaceholder"),
|
|
92863
|
-
requestedLanguage:
|
|
92866
|
+
requestedLanguage: a9(),
|
|
92864
92867
|
// Drop the widget's built-in search icon and clear button for a plain
|
|
92865
92868
|
// input that matches our design system.
|
|
92866
92869
|
noInputIcon: !0,
|
|
@@ -93258,7 +93261,7 @@ const Ri2 = /* @__PURE__ */ v(Bi2, [["render", Ni2]]), Zi2 = "image/png, image/j
|
|
|
93258
93261
|
return this.textIcons[e] ?? "globe";
|
|
93259
93262
|
},
|
|
93260
93263
|
detectedInputIcon(e) {
|
|
93261
|
-
return
|
|
93264
|
+
return B6(e) ? "email-at" : R8(e) ? "numeric" : "general-link";
|
|
93262
93265
|
},
|
|
93263
93266
|
onDelete(e) {
|
|
93264
93267
|
this.items = this.items.filter((t, n) => n !== e);
|
|
@@ -93295,7 +93298,7 @@ const Ri2 = /* @__PURE__ */ v(Bi2, [["render", Ni2]]), Zi2 = "image/png, image/j
|
|
|
93295
93298
|
this.focusedIndex = null, this.focusedDisplay = "";
|
|
93296
93299
|
const n = [...this.modelValue];
|
|
93297
93300
|
let i = !0;
|
|
93298
|
-
|
|
93301
|
+
B6(t) ? n[e][this.valuePropName] = t : R8(t) ? n[e][this.valuePropName] = t : (!Ed.test(t) && t ? n[e][this.valuePropName] = `${this.schema}://${t}` : n[e][this.valuePropName] = t, SA.test(n[e][this.valuePropName]) || (i = !1)), i ? (this.hasError[e] = !1, this.$emit("update:model-value", n)) : this.hasError[e] = !0;
|
|
93299
93302
|
},
|
|
93300
93303
|
isImageUrl(e) {
|
|
93301
93304
|
return K4(e);
|
|
@@ -93337,7 +93340,7 @@ const Ri2 = /* @__PURE__ */ v(Bi2, [["render", Ni2]]), Zi2 = "image/png, image/j
|
|
|
93337
93340
|
const r = L(
|
|
93338
93341
|
() => s.colorReplacements[0]?.replacementColor
|
|
93339
93342
|
), a = L(
|
|
93340
|
-
() => s.colorReplacements?.every((h) =>
|
|
93343
|
+
() => s.colorReplacements?.every((h) => d9(h.replacementColor))
|
|
93341
93344
|
), l = L(
|
|
93342
93345
|
() => n.toggleUniqueId ? `-${n.toggleUniqueId}` : ""
|
|
93343
93346
|
), d = (h, g) => {
|
|
@@ -94034,7 +94037,7 @@ const wo2 = /* @__PURE__ */ v(fo2, [["render", yo2], ["__scopeId", "data-v-8240b
|
|
|
94034
94037
|
return;
|
|
94035
94038
|
}
|
|
94036
94039
|
if (s.logoEditUrl) {
|
|
94037
|
-
const K =
|
|
94040
|
+
const K = a9();
|
|
94038
94041
|
r.redirectToLogoEditPage(s.logoEditUrl, K);
|
|
94039
94042
|
}
|
|
94040
94043
|
};
|
|
@@ -99036,7 +99039,7 @@ const OC = /* @__PURE__ */ v(Ww2, [["render", Xw2]]), Jw2 = {
|
|
|
99036
99039
|
selectedTextColor: "#000000",
|
|
99037
99040
|
selectedBackgroundColor: "transparent"
|
|
99038
99041
|
}), M = c1(!1), S = c1(!1), _ = c1(!1), x = () => {
|
|
99039
|
-
i.textItemIndex !== void 0 && D.value && (t1.value = D.value?.style?.color ?? ""), S.value =
|
|
99042
|
+
i.textItemIndex !== void 0 && D.value && (t1.value = D.value?.style?.color ?? ""), S.value = L6(G.value), _.value = L6(
|
|
99040
99043
|
r1.value
|
|
99041
99044
|
);
|
|
99042
99045
|
}, H = qe([
|
|
@@ -99086,7 +99089,7 @@ const OC = /* @__PURE__ */ v(Ww2, [["render", Xw2]]), Jw2 = {
|
|
|
99086
99089
|
D2(
|
|
99087
99090
|
() => i.styles.color,
|
|
99088
99091
|
(P1) => {
|
|
99089
|
-
y.value && (t1.value = P1 ?? "", S.value =
|
|
99092
|
+
y.value && (t1.value = P1 ?? "", S.value = L6(P1 ?? ""));
|
|
99090
99093
|
}
|
|
99091
99094
|
);
|
|
99092
99095
|
const q = c1(i.styles.backgroundColor ?? ""), r1 = L(
|
|
@@ -99095,13 +99098,13 @@ const OC = /* @__PURE__ */ v(Ww2, [["render", Xw2]]), Jw2 = {
|
|
|
99095
99098
|
D2(
|
|
99096
99099
|
() => i.styles.backgroundColor,
|
|
99097
99100
|
(P1) => {
|
|
99098
|
-
y.value && (q.value = P1 ?? "", _.value =
|
|
99101
|
+
y.value && (q.value = P1 ?? "", _.value = L6(P1 ?? ""));
|
|
99099
99102
|
}
|
|
99100
99103
|
), D2(
|
|
99101
99104
|
() => r.getItem(i.rawId)?.settings?.content?.textItemsStyle?.color,
|
|
99102
99105
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
99103
99106
|
(P1) => {
|
|
99104
|
-
y.value && i.textItemIndex !== void 0 && D && (t1.value = D.value.style.color ?? "", S.value =
|
|
99107
|
+
y.value && i.textItemIndex !== void 0 && D && (t1.value = D.value.style.color ?? "", S.value = L6(
|
|
99105
99108
|
D.value.style.color ?? ""
|
|
99106
99109
|
), r.updateTextItemTextStyleTypeWithStyles({
|
|
99107
99110
|
id: i.rawId,
|
|
@@ -101582,7 +101585,7 @@ const As = /* @__PURE__ */ v(kS2, [["render", $S2]]), BS2 = { "data-component":
|
|
|
101582
101585
|
buttonConfig: {},
|
|
101583
101586
|
pages: { default: void 0 },
|
|
101584
101587
|
titleLength: { default: b3 },
|
|
101585
|
-
descriptionLength: { default:
|
|
101588
|
+
descriptionLength: { default: f6 },
|
|
101586
101589
|
isAdmin: { type: Boolean, default: !1 }
|
|
101587
101590
|
},
|
|
101588
101591
|
emits: ["update:buttonConfig"],
|
|
@@ -101617,7 +101620,7 @@ const As = /* @__PURE__ */ v(kS2, [["render", $S2]]), BS2 = { "data-component":
|
|
|
101617
101620
|
if (!n.buttonConfig.url) return !0;
|
|
101618
101621
|
switch (r.value) {
|
|
101619
101622
|
case ce.mailTo:
|
|
101620
|
-
return
|
|
101623
|
+
return B6(n.buttonConfig.url);
|
|
101621
101624
|
case ce.tel:
|
|
101622
101625
|
return R8(n.buttonConfig.url);
|
|
101623
101626
|
default:
|
|
@@ -101883,10 +101886,10 @@ const As = /* @__PURE__ */ v(kS2, [["render", $S2]]), BS2 = { "data-component":
|
|
|
101883
101886
|
},
|
|
101884
101887
|
emits: ["update:modelValue", "on-intent-image-replace"],
|
|
101885
101888
|
setup(e, { emit: t }) {
|
|
101886
|
-
const n = e, i = t, o = c1(), s = c1([]), r = c1(Xm()), a = c1(wL1()), l = c1(b3), d = c1({}), c = c1(), u = c1(
|
|
101889
|
+
const n = e, i = t, o = c1(), s = c1([]), r = c1(Xm()), a = c1(wL1()), l = c1(b3), d = c1({}), c = c1(), u = c1(f6), h = c1(0), g = c1({}), m = c1({}), y = L(() => {
|
|
101887
101890
|
if (n.maxLength && n.maxLength > 2 && n.content.type === ss["images-section"]) {
|
|
101888
101891
|
const q = n.content;
|
|
101889
|
-
if ([z5,
|
|
101892
|
+
if ([z5, h6].some(
|
|
101890
101893
|
(r1) => q.displayStyle === r1
|
|
101891
101894
|
))
|
|
101892
101895
|
return b(Qh), n.value.length > 3 ? n.value.slice(0, Qh) : n.value;
|
|
@@ -102406,7 +102409,7 @@ const E_2 = /* @__PURE__ */ v(__2, [["render", I_2]]), A_2 = 250, P_2 = Q({
|
|
|
102406
102409
|
isEmpty: [],
|
|
102407
102410
|
isModified: [],
|
|
102408
102411
|
maxTitleLength: b3,
|
|
102409
|
-
maxTestimonialLength:
|
|
102412
|
+
maxTestimonialLength: f6,
|
|
102410
102413
|
testimonialEmptyErrorMessage: bL1(),
|
|
102411
102414
|
testimonialMaxLengthErrorMessage: Xm()
|
|
102412
102415
|
}),
|
|
@@ -104546,7 +104549,7 @@ const sk2 = /* @__PURE__ */ v(QM2, [["render", ok2]]), Th = () => [
|
|
|
104546
104549
|
)?.options ?? [];
|
|
104547
104550
|
},
|
|
104548
104551
|
isOptionColorMatched() {
|
|
104549
|
-
return (e) =>
|
|
104552
|
+
return (e) => d9(this.valueFuncDict[e]());
|
|
104550
104553
|
}
|
|
104551
104554
|
},
|
|
104552
104555
|
created() {
|
|
@@ -105389,7 +105392,7 @@ const Xk2 = /* @__PURE__ */ v(Vk2, [["render", Yk2], ["__scopeId", "data-v-c93e7
|
|
|
105389
105392
|
}), uL2 = /* @__PURE__ */ v(CL2, [["__scopeId", "data-v-b0405837"]]), pL2 = {
|
|
105390
105393
|
components: {
|
|
105391
105394
|
Button: j1,
|
|
105392
|
-
CollapsiblePanel:
|
|
105395
|
+
CollapsiblePanel: t9,
|
|
105393
105396
|
Toggle: B3,
|
|
105394
105397
|
SideBarSettingsHeader: n8,
|
|
105395
105398
|
SideBarSectionTitle: ab,
|
|
@@ -105690,7 +105693,7 @@ const bL2 = /* @__PURE__ */ v(pL2, [["render", wL2], ["__scopeId", "data-v-4686f
|
|
|
105690
105693
|
components: {
|
|
105691
105694
|
SideBarSettingsHeader: n8,
|
|
105692
105695
|
ContentSettingsItemField: QD,
|
|
105693
|
-
CollapsiblePanel:
|
|
105696
|
+
CollapsiblePanel: t9,
|
|
105694
105697
|
PersonalisationRoleField: nb
|
|
105695
105698
|
},
|
|
105696
105699
|
mixins: [bH],
|
|
@@ -106133,7 +106136,7 @@ const DL2 = /* @__PURE__ */ v(BL2, [["render", OL2], ["__scopeId", "data-v-050b1
|
|
|
106133
106136
|
}
|
|
106134
106137
|
}), SH = Q({
|
|
106135
106138
|
setup() {
|
|
106136
|
-
const e = X4(), t = K3(), n = q2(), i =
|
|
106139
|
+
const e = X4(), t = K3(), n = q2(), i = p6(), o = Ve();
|
|
106137
106140
|
return {
|
|
106138
106141
|
editableLogoStore: e,
|
|
106139
106142
|
logoStore: t,
|
|
@@ -106438,7 +106441,7 @@ const JL2 = /* @__PURE__ */ v(WL2, [["render", XL2]]), QL2 = { "data-component":
|
|
|
106438
106441
|
selectedTemplate: null,
|
|
106439
106442
|
showLogoSwitchConfirmationModal: !1,
|
|
106440
106443
|
isSwitchingLogo: !1
|
|
106441
|
-
}), s = E4(), r = X4(), a = K3(), l =
|
|
106444
|
+
}), s = E4(), r = X4(), a = K3(), l = p6(), d = w2(), c = Ve(), u = _3(() => {
|
|
106442
106445
|
o.currentPage = 1, l.notifySearchTermChanged(o.searchText), h(!0);
|
|
106443
106446
|
}, 400), h = async (M) => {
|
|
106444
106447
|
M && s.resetLogoTemplateSearchResults(), await s.searchLogoTemplatesAsync({
|
|
@@ -107393,7 +107396,7 @@ const LH = Q({
|
|
|
107393
107396
|
return !!this.undoRedoEnabled || this.isPublished;
|
|
107394
107397
|
},
|
|
107395
107398
|
brandPageUrl() {
|
|
107396
|
-
return this.brandPageContainerStore.isCustomDomainEnabled && this.brandPageContainerStore.customDomain && this.brandPageContainerStore.customDomain.status ===
|
|
107399
|
+
return this.brandPageContainerStore.isCustomDomainEnabled && this.brandPageContainerStore.customDomain && this.brandPageContainerStore.customDomain.status === e9.active ? `https://${this.brandPageContainerStore.customDomain.domainName}` : `${this.brandPageBaseUrl}/${this.slug}`;
|
|
107397
107400
|
},
|
|
107398
107401
|
copyButtonLabel() {
|
|
107399
107402
|
return this.copied ? qt("copiedButton") : qt("copyButton");
|
|
@@ -107417,12 +107420,16 @@ const LH = Q({
|
|
|
107417
107420
|
}), vV2 = { class: "tw-whitespace-nowrap tw-text-sm" }, SV2 = /* @__PURE__ */ Q({
|
|
107418
107421
|
__name: "UndoButton",
|
|
107419
107422
|
setup(e) {
|
|
107420
|
-
const t = C5(), n = s0(), i = w2(), o = L(
|
|
107421
|
-
() => !t.canUndo || n.isProcessing || i.isSaving
|
|
107422
|
-
|
|
107423
|
-
|
|
107424
|
-
|
|
107425
|
-
|
|
107423
|
+
const t = C5(), n = s0(), i = w2(), o = p6(), s = L(
|
|
107424
|
+
() => !t.canUndo || n.isProcessing || i.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
107425
|
+
// re-render) or the template previews are refetching: re-entering
|
|
107426
|
+
// mid-regeneration overlapped two reloads and left the sidebar keyed to
|
|
107427
|
+
// the wrong logo (fast undo→redo desync).
|
|
107428
|
+
t.isApplyingSnapshot || o.isBusy
|
|
107429
|
+
), r = () => {
|
|
107430
|
+
s.value || t.undo();
|
|
107431
|
+
};
|
|
107432
|
+
return (a, l) => (C(), $(I(Nm), {
|
|
107426
107433
|
direction: "top",
|
|
107427
107434
|
alignment: "center",
|
|
107428
107435
|
"should-show-icon": !1,
|
|
@@ -107439,12 +107446,12 @@ const LH = Q({
|
|
|
107439
107446
|
tabindex: "0",
|
|
107440
107447
|
class: B([
|
|
107441
107448
|
"tw-p-2 tw-rounded tw-transition-colors",
|
|
107442
|
-
|
|
107449
|
+
s.value ? "tw-text-grayscale-500 tw-cursor-not-allowed tw-opacity-50" : "tw-text-grayscale-800 tw-cursor-pointer hover:tw-bg-grayscale-300"
|
|
107443
107450
|
]),
|
|
107444
|
-
onClick: v1(
|
|
107451
|
+
onClick: v1(r, ["stop"]),
|
|
107445
107452
|
onKeydown: [
|
|
107446
|
-
j3(v1(
|
|
107447
|
-
j3(v1(
|
|
107453
|
+
j3(v1(r, ["stop"]), ["enter"]),
|
|
107454
|
+
j3(v1(r, ["stop", "prevent"]), ["space"])
|
|
107448
107455
|
]
|
|
107449
107456
|
}, null, 8, ["aria-label", "class", "onKeydown"])
|
|
107450
107457
|
]),
|
|
@@ -107454,15 +107461,19 @@ const LH = Q({
|
|
|
107454
107461
|
_: 1
|
|
107455
107462
|
}));
|
|
107456
107463
|
}
|
|
107457
|
-
}), _V2 = /* @__PURE__ */ v(SV2, [["__scopeId", "data-v-
|
|
107464
|
+
}), _V2 = /* @__PURE__ */ v(SV2, [["__scopeId", "data-v-9c6ca156"]]), MV2 = { class: "tw-whitespace-nowrap tw-text-sm" }, kV2 = /* @__PURE__ */ Q({
|
|
107458
107465
|
__name: "RedoButton",
|
|
107459
107466
|
setup(e) {
|
|
107460
|
-
const t = C5(), n = s0(), i = w2(), o = L(
|
|
107461
|
-
() => !t.canRedo || n.isProcessing || i.isSaving
|
|
107462
|
-
|
|
107463
|
-
|
|
107464
|
-
|
|
107465
|
-
|
|
107467
|
+
const t = C5(), n = s0(), i = w2(), o = p6(), s = L(
|
|
107468
|
+
() => !t.canRedo || n.isProcessing || i.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
107469
|
+
// re-render) or the template previews are refetching: re-entering
|
|
107470
|
+
// mid-regeneration overlapped two reloads and left the sidebar keyed to
|
|
107471
|
+
// the wrong logo (fast undo→redo desync).
|
|
107472
|
+
t.isApplyingSnapshot || o.isBusy
|
|
107473
|
+
), r = () => {
|
|
107474
|
+
s.value || t.redo();
|
|
107475
|
+
};
|
|
107476
|
+
return (a, l) => (C(), $(I(Nm), {
|
|
107466
107477
|
direction: "top",
|
|
107467
107478
|
alignment: "center",
|
|
107468
107479
|
"should-show-icon": !1,
|
|
@@ -107479,12 +107490,12 @@ const LH = Q({
|
|
|
107479
107490
|
tabindex: "0",
|
|
107480
107491
|
class: B([
|
|
107481
107492
|
"tw-p-2 tw-rounded tw-transition-colors",
|
|
107482
|
-
|
|
107493
|
+
s.value ? "tw-text-grayscale-500 tw-cursor-not-allowed tw-opacity-50" : "tw-text-grayscale-800 tw-cursor-pointer hover:tw-bg-grayscale-300"
|
|
107483
107494
|
]),
|
|
107484
|
-
onClick: v1(
|
|
107495
|
+
onClick: v1(r, ["stop"]),
|
|
107485
107496
|
onKeydown: [
|
|
107486
|
-
j3(v1(
|
|
107487
|
-
j3(v1(
|
|
107497
|
+
j3(v1(r, ["stop"]), ["enter"]),
|
|
107498
|
+
j3(v1(r, ["stop", "prevent"]), ["space"])
|
|
107488
107499
|
]
|
|
107489
107500
|
}, null, 8, ["aria-label", "class", "onKeydown"])
|
|
107490
107501
|
]),
|
|
@@ -107494,7 +107505,7 @@ const LH = Q({
|
|
|
107494
107505
|
_: 1
|
|
107495
107506
|
}));
|
|
107496
107507
|
}
|
|
107497
|
-
}), LV2 = /* @__PURE__ */ v(kV2, [["__scopeId", "data-v-
|
|
107508
|
+
}), LV2 = /* @__PURE__ */ v(kV2, [["__scopeId", "data-v-346c90b7"]]), TV2 = {
|
|
107498
107509
|
components: {
|
|
107499
107510
|
Button: j1,
|
|
107500
107511
|
UndoButton: _V2,
|
|
@@ -107821,15 +107832,15 @@ const WV2 = /* @__PURE__ */ v(FV2, [["render", jV2]]), xH = Q({
|
|
|
107821
107832
|
},
|
|
107822
107833
|
watch: {
|
|
107823
107834
|
buttonShadowColor(e) {
|
|
107824
|
-
this.isColorMatch.buttonShadowColor =
|
|
107835
|
+
this.isColorMatch.buttonShadowColor = d9(e);
|
|
107825
107836
|
},
|
|
107826
107837
|
buttonSoftShadowColor(e) {
|
|
107827
|
-
this.isColorMatch.buttonSoftShadowColor =
|
|
107838
|
+
this.isColorMatch.buttonSoftShadowColor = d9(e);
|
|
107828
107839
|
}
|
|
107829
107840
|
},
|
|
107830
107841
|
created() {
|
|
107831
107842
|
this.isAdmin && Object.keys(this.isColorMatch).forEach((e) => {
|
|
107832
|
-
this.isColorMatch[e] = typeof this[e] == "string" &&
|
|
107843
|
+
this.isColorMatch[e] = typeof this[e] == "string" && d9(this[e]);
|
|
107833
107844
|
});
|
|
107834
107845
|
},
|
|
107835
107846
|
methods: {
|
|
@@ -108450,7 +108461,7 @@ const Ox2 = 100, IH = Q({
|
|
|
108450
108461
|
},
|
|
108451
108462
|
emits: ["create-team-cards"],
|
|
108452
108463
|
setup() {
|
|
108453
|
-
const e = c2(), t = P4(), n = B2(), i = Pe(), o = q2(), s = Me(), r = w2(), a =
|
|
108464
|
+
const e = c2(), t = P4(), n = B2(), i = Pe(), o = q2(), s = Me(), r = w2(), a = p6(), l = f4(), d = ai(), c = vF(), u = p5(), h = ni(), { captureSnapshot: g } = Bx2(), m = w9(), y = f3();
|
|
108454
108465
|
return {
|
|
108455
108466
|
commonTr: V2,
|
|
108456
108467
|
currentNotificationMessage: L(
|
|
@@ -108670,7 +108681,7 @@ const Ox2 = 100, IH = Q({
|
|
|
108670
108681
|
}
|
|
108671
108682
|
},
|
|
108672
108683
|
setup() {
|
|
108673
|
-
const e =
|
|
108684
|
+
const e = p6(), t = w2(), n = c2(), i = q2(), o = Ve();
|
|
108674
108685
|
return {
|
|
108675
108686
|
isBusy: L(() => e.isBusy),
|
|
108676
108687
|
pageNo: L(() => e.pageNo),
|
|
@@ -108696,7 +108707,7 @@ const Ox2 = 100, IH = Q({
|
|
|
108696
108707
|
};
|
|
108697
108708
|
},
|
|
108698
108709
|
data() {
|
|
108699
|
-
const { tabsWithTranslations: e } =
|
|
108710
|
+
const { tabsWithTranslations: e } = p6();
|
|
108700
108711
|
return {
|
|
108701
108712
|
tabs: e.map((t) => t.displayName),
|
|
108702
108713
|
debounceOnSearch: void 0,
|
|
@@ -108720,7 +108731,7 @@ const Ox2 = 100, IH = Q({
|
|
|
108720
108731
|
computed: {
|
|
108721
108732
|
// typescript cannot resolve typing and throw TS4023
|
|
108722
108733
|
templates() {
|
|
108723
|
-
return
|
|
108734
|
+
return p6().templates;
|
|
108724
108735
|
},
|
|
108725
108736
|
isLoadMoreBtnEnabled() {
|
|
108726
108737
|
return this.isBusy || !this.pageCount ? !1 : this.pageNo < this.pageCount;
|
|
@@ -108955,7 +108966,7 @@ function Yx2(e, t, n, i, o, s) {
|
|
|
108955
108966
|
const Xx2 = /* @__PURE__ */ v(Nx2, [["render", Yx2], ["__scopeId", "data-v-246f2118"]]), Jx2 = 250, AH = Q({
|
|
108956
108967
|
emits: ["template-selected"],
|
|
108957
108968
|
setup() {
|
|
108958
|
-
const e = c2(), t = w2(), n = B2(), i =
|
|
108969
|
+
const e = c2(), t = w2(), n = B2(), i = p6();
|
|
108959
108970
|
return {
|
|
108960
108971
|
selectedTemplateId: L(
|
|
108961
108972
|
() => e.selectedTemplateId
|
|
@@ -109648,13 +109659,13 @@ const VH2 = /* @__PURE__ */ v(CH2, [["render", TH2]]), sN = {
|
|
|
109648
109659
|
if (!e)
|
|
109649
109660
|
return null;
|
|
109650
109661
|
switch (e) {
|
|
109651
|
-
case
|
|
109662
|
+
case e9.pending:
|
|
109652
109663
|
return this.isCustomDomainManagedByBrandCrowd ? k5("setupInProgress") : k5("pending");
|
|
109653
|
-
case
|
|
109664
|
+
case e9.active:
|
|
109654
109665
|
return k5("connected");
|
|
109655
|
-
case
|
|
109666
|
+
case e9.failed:
|
|
109656
109667
|
return k5("failed");
|
|
109657
|
-
case
|
|
109668
|
+
case e9.renewFailed:
|
|
109658
109669
|
return k5("failedToRenew");
|
|
109659
109670
|
default:
|
|
109660
109671
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -109667,12 +109678,12 @@ const VH2 = /* @__PURE__ */ v(CH2, [["render", TH2]]), sN = {
|
|
|
109667
109678
|
if (!e)
|
|
109668
109679
|
return null;
|
|
109669
109680
|
switch (e) {
|
|
109670
|
-
case
|
|
109681
|
+
case e9.pending:
|
|
109671
109682
|
return "tw-bg-warning-500";
|
|
109672
|
-
case
|
|
109683
|
+
case e9.active:
|
|
109673
109684
|
return "tw-bg-success-500";
|
|
109674
|
-
case
|
|
109675
|
-
case
|
|
109685
|
+
case e9.renewFailed:
|
|
109686
|
+
case e9.failed:
|
|
109676
109687
|
return "tw-bg-grayscale-600";
|
|
109677
109688
|
default:
|
|
109678
109689
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -109690,7 +109701,7 @@ const VH2 = /* @__PURE__ */ v(CH2, [["render", TH2]]), sN = {
|
|
|
109690
109701
|
return this.brandPageContainer.createCustomDomainErrorMessage;
|
|
109691
109702
|
},
|
|
109692
109703
|
customDomainDnsConfigurationErrorText() {
|
|
109693
|
-
if (this.brandPageContainer.customDomain?.status ===
|
|
109704
|
+
if (this.brandPageContainer.customDomain?.status === e9.active)
|
|
109694
109705
|
return null;
|
|
109695
109706
|
const e = this.brandPageContainer.customDomain?.dnsConfigurationStatus;
|
|
109696
109707
|
if (!e)
|
|
@@ -110621,7 +110632,7 @@ const rE2 = /* @__PURE__ */ v(sI2, [["render", sE2]]), aE2 = {
|
|
|
110621
110632
|
p("div", lE2, [
|
|
110622
110633
|
e.isMaker ? k("", !0) : (C(), f("div", dE2, [
|
|
110623
110634
|
p("div", cE2, [
|
|
110624
|
-
p("h3", CE2, P(I(
|
|
110635
|
+
p("h3", CE2, P(I(M6)("integrationSettings")), 1)
|
|
110625
110636
|
])
|
|
110626
110637
|
])),
|
|
110627
110638
|
p("div", {
|
|
@@ -111383,7 +111394,7 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111383
111394
|
title: I(V2)("settings")
|
|
111384
111395
|
}, null, 8, ["title"]),
|
|
111385
111396
|
p("div", LA2, [
|
|
111386
|
-
b.value ? (C(), $(I(
|
|
111397
|
+
b.value ? (C(), $(I(t9), {
|
|
111387
111398
|
key: 0,
|
|
111388
111399
|
"data-component": "collapsible-panel",
|
|
111389
111400
|
title: I(V2)("domains"),
|
|
@@ -111399,9 +111410,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111399
111410
|
]),
|
|
111400
111411
|
_: 1
|
|
111401
111412
|
}, 8, ["title"])) : k("", !0),
|
|
111402
|
-
T(I(
|
|
111413
|
+
T(I(t9), {
|
|
111403
111414
|
"data-component": "collapsible-panel",
|
|
111404
|
-
title: I(
|
|
111415
|
+
title: I(M6)("seoSettings"),
|
|
111405
111416
|
"is-collapsed": !0
|
|
111406
111417
|
}, {
|
|
111407
111418
|
default: o1(() => [
|
|
@@ -111415,9 +111426,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111415
111426
|
"tw-border-t tw-py-8": S.value
|
|
111416
111427
|
}])
|
|
111417
111428
|
}, [
|
|
111418
|
-
p("h3", TA2, P(I(
|
|
111419
|
-
p("p", VA2, P(I(
|
|
111420
|
-
p("h4", xA2, P(I(
|
|
111429
|
+
p("h3", TA2, P(I(M6)("favicon")), 1),
|
|
111430
|
+
p("p", VA2, P(I(M6)("faviconDescription")), 1),
|
|
111431
|
+
p("h4", xA2, P(I(M6)("icon")), 1),
|
|
111421
111432
|
T(it, {
|
|
111422
111433
|
name: "favicon",
|
|
111423
111434
|
"is-maker": !0,
|
|
@@ -111429,9 +111440,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111429
111440
|
]),
|
|
111430
111441
|
_: 1
|
|
111431
111442
|
}, 8, ["title"]),
|
|
111432
|
-
T(I(
|
|
111443
|
+
T(I(t9), {
|
|
111433
111444
|
"data-component": "collapsible-panel",
|
|
111434
|
-
title: I(
|
|
111445
|
+
title: I(M6)("integrationSettings"),
|
|
111435
111446
|
"is-collapsed": !0
|
|
111436
111447
|
}, {
|
|
111437
111448
|
default: o1(() => [
|
|
@@ -111445,9 +111456,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111445
111456
|
]),
|
|
111446
111457
|
_: 1
|
|
111447
111458
|
}, 8, ["title"]),
|
|
111448
|
-
T(I(
|
|
111459
|
+
T(I(t9), {
|
|
111449
111460
|
"data-component": "collapsible-panel",
|
|
111450
|
-
title: I(
|
|
111461
|
+
title: I(M6)("socialShareTitle"),
|
|
111451
111462
|
"is-collapsed": !0
|
|
111452
111463
|
}, {
|
|
111453
111464
|
default: o1(() => [
|
|
@@ -111462,18 +111473,18 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111462
111473
|
]),
|
|
111463
111474
|
_: 1
|
|
111464
111475
|
}, 8, ["title"]),
|
|
111465
|
-
D.value && !M.value ? (C(), $(I(
|
|
111476
|
+
D.value && !M.value ? (C(), $(I(t9), {
|
|
111466
111477
|
key: 1,
|
|
111467
111478
|
"data-component": "collapsible-panel",
|
|
111468
|
-
title: I(
|
|
111479
|
+
title: I(M6)("paymentProvidersTitle"),
|
|
111469
111480
|
"is-collapsed": !0
|
|
111470
111481
|
}, {
|
|
111471
111482
|
default: o1(() => [
|
|
111472
111483
|
p("div", HA2, [
|
|
111473
111484
|
T(ab, {
|
|
111474
|
-
title: I(
|
|
111485
|
+
title: I(M6)("paymentProvidersTitle")
|
|
111475
111486
|
}, null, 8, ["title"]),
|
|
111476
|
-
p("p", IA2, P(I(
|
|
111487
|
+
p("p", IA2, P(I(M6)("paymentProvidersDescription")), 1),
|
|
111477
111488
|
u.value ? (C(), $(I(kg1), {
|
|
111478
111489
|
key: 0,
|
|
111479
111490
|
class: "tw-mt-3",
|
|
@@ -111485,7 +111496,7 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111485
111496
|
key: 1,
|
|
111486
111497
|
class: "tw-mt-3",
|
|
111487
111498
|
variant: "outline",
|
|
111488
|
-
label: I(
|
|
111499
|
+
label: I(M6)("paymentProvidersAddProviderLabel"),
|
|
111489
111500
|
size: "small-wide",
|
|
111490
111501
|
onOnClick: v1(U, ["stop"])
|
|
111491
111502
|
}, null, 8, ["label"])) : k("", !0)
|
|
@@ -111493,7 +111504,7 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111493
111504
|
]),
|
|
111494
111505
|
_: 1
|
|
111495
111506
|
}, 8, ["title"])) : k("", !0),
|
|
111496
|
-
S.value ? (C(), $(I(
|
|
111507
|
+
S.value ? (C(), $(I(t9), {
|
|
111497
111508
|
key: 2,
|
|
111498
111509
|
"data-component": "collapsible-panel",
|
|
111499
111510
|
title: I(V2)("sensitiveContent"),
|
|
@@ -111511,7 +111522,7 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111511
111522
|
]),
|
|
111512
111523
|
_: 1
|
|
111513
111524
|
}, 8, ["title"])) : k("", !0),
|
|
111514
|
-
x.value ? (C(), $(I(
|
|
111525
|
+
x.value ? (C(), $(I(t9), {
|
|
111515
111526
|
key: 3,
|
|
111516
111527
|
ref_key: "saveContactPanel",
|
|
111517
111528
|
ref: s,
|
|
@@ -111530,9 +111541,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111530
111541
|
]),
|
|
111531
111542
|
_: 1
|
|
111532
111543
|
}, 8, ["title"])) : k("", !0),
|
|
111533
|
-
T(I(
|
|
111544
|
+
T(I(t9), {
|
|
111534
111545
|
"data-component": "collapsible-panel",
|
|
111535
|
-
title: I(
|
|
111546
|
+
title: I(M6)("cookieCollection"),
|
|
111536
111547
|
"is-collapsed": !0
|
|
111537
111548
|
}, {
|
|
111538
111549
|
default: o1(() => [
|
|
@@ -111700,17 +111711,17 @@ const RA2 = /* @__PURE__ */ v(OA2, [["render", NA2]]), l7 = {
|
|
|
111700
111711
|
(e) => {
|
|
111701
111712
|
switch (e) {
|
|
111702
111713
|
case l7.style:
|
|
111703
|
-
this.isColorMatch[e] =
|
|
111714
|
+
this.isColorMatch[e] = d9(
|
|
111704
111715
|
this.backgroundStyles?.style.background
|
|
111705
111716
|
);
|
|
111706
111717
|
return;
|
|
111707
111718
|
case l7.backgroundShapeStyle:
|
|
111708
|
-
this.isColorMatch[e] =
|
|
111719
|
+
this.isColorMatch[e] = d9(
|
|
111709
111720
|
this.backgroundStyles?.backgroundShapeStyle.color
|
|
111710
111721
|
);
|
|
111711
111722
|
return;
|
|
111712
111723
|
case l7.shape:
|
|
111713
|
-
this.isColorMatch[e] =
|
|
111724
|
+
this.isColorMatch[e] = d9(
|
|
111714
111725
|
this.backgroundStyles?.backgroundShapes[0]?.style.color
|
|
111715
111726
|
);
|
|
111716
111727
|
return;
|
|
@@ -112893,7 +112904,7 @@ const i$2 = [
|
|
|
112893
112904
|
if (!e || typeof e != "object") return null;
|
|
112894
112905
|
const t = e, n = {};
|
|
112895
112906
|
return typeof t.backgroundColor == "string" && t.backgroundColor && (n.backgroundColor = t.backgroundColor), typeof t.borderRadius == "string" && t.borderRadius && (n.borderRadius = t.borderRadius), typeof t.borderColor == "string" && t.borderColor && (n.borderColor = t.borderColor), Object.keys(n).length ? { cardStyle: n } : null;
|
|
112896
|
-
},
|
|
112907
|
+
}, _6 = (e) => {
|
|
112897
112908
|
if (!e || typeof e != "object") return null;
|
|
112898
112909
|
const n = e.backgroundColor;
|
|
112899
112910
|
return typeof n != "string" || !n ? null : { backgroundStyle: { backgroundColor: n } };
|
|
@@ -112947,7 +112958,7 @@ const i$2 = [
|
|
|
112947
112958
|
buttonTextStyle: o.buttonTextStyle
|
|
112948
112959
|
},
|
|
112949
112960
|
...xl(o.cardStyle),
|
|
112950
|
-
...
|
|
112961
|
+
..._6(o.backgroundStyle)
|
|
112951
112962
|
};
|
|
112952
112963
|
case "about-section":
|
|
112953
112964
|
return {
|
|
@@ -112960,7 +112971,7 @@ const i$2 = [
|
|
|
112960
112971
|
...Oe(o.paragraphStyle) && {
|
|
112961
112972
|
paragraphStyle: o.paragraphStyle
|
|
112962
112973
|
},
|
|
112963
|
-
...
|
|
112974
|
+
..._6(o.backgroundStyle)
|
|
112964
112975
|
};
|
|
112965
112976
|
case "testimonial-section":
|
|
112966
112977
|
return {
|
|
@@ -112985,7 +112996,7 @@ const i$2 = [
|
|
|
112985
112996
|
positionStyle: o.positionStyle
|
|
112986
112997
|
},
|
|
112987
112998
|
...xl(o.cardStyle),
|
|
112988
|
-
...
|
|
112999
|
+
..._6(o.backgroundStyle)
|
|
112989
113000
|
};
|
|
112990
113001
|
case "images-section":
|
|
112991
113002
|
case "shapes-section":
|
|
@@ -113017,7 +113028,7 @@ const i$2 = [
|
|
|
113017
113028
|
buttonTextStyle: o.buttonTextStyle
|
|
113018
113029
|
},
|
|
113019
113030
|
...xl(o.cardStyle),
|
|
113020
|
-
...
|
|
113031
|
+
..._6(o.backgroundStyle)
|
|
113021
113032
|
};
|
|
113022
113033
|
case "text":
|
|
113023
113034
|
return {
|
|
@@ -113031,7 +113042,7 @@ const i$2 = [
|
|
|
113031
113042
|
}))
|
|
113032
113043
|
},
|
|
113033
113044
|
...Oe(o.textStyle) && { textStyle: o.textStyle },
|
|
113034
|
-
...
|
|
113045
|
+
..._6(o.backgroundStyle)
|
|
113035
113046
|
};
|
|
113036
113047
|
case "profile":
|
|
113037
113048
|
return {
|
|
@@ -113049,7 +113060,7 @@ const i$2 = [
|
|
|
113049
113060
|
...Oe(o.descriptionStyle) && {
|
|
113050
113061
|
descriptionStyle: o.descriptionStyle
|
|
113051
113062
|
},
|
|
113052
|
-
...
|
|
113063
|
+
..._6(o.backgroundStyle)
|
|
113053
113064
|
};
|
|
113054
113065
|
case "contact-form":
|
|
113055
113066
|
return {
|
|
@@ -113068,7 +113079,7 @@ const i$2 = [
|
|
|
113068
113079
|
buttonTextStyle: o.buttonTextStyle
|
|
113069
113080
|
},
|
|
113070
113081
|
...xl(o.cardStyle),
|
|
113071
|
-
...
|
|
113082
|
+
..._6(o.backgroundStyle)
|
|
113072
113083
|
};
|
|
113073
113084
|
case "mailing-list":
|
|
113074
113085
|
return {
|
|
@@ -113079,7 +113090,7 @@ const i$2 = [
|
|
|
113079
113090
|
...Oe(o.buttonTextStyle) && {
|
|
113080
113091
|
buttonTextStyle: o.buttonTextStyle
|
|
113081
113092
|
},
|
|
113082
|
-
...
|
|
113093
|
+
..._6(o.backgroundStyle)
|
|
113083
113094
|
};
|
|
113084
113095
|
case "booking-section":
|
|
113085
113096
|
return {
|
|
@@ -113101,7 +113112,7 @@ const i$2 = [
|
|
|
113101
113112
|
...Oe(o.buttonTextStyle) && {
|
|
113102
113113
|
buttonTextStyle: o.buttonTextStyle
|
|
113103
113114
|
},
|
|
113104
|
-
...
|
|
113115
|
+
..._6(o.backgroundStyle)
|
|
113105
113116
|
};
|
|
113106
113117
|
case "social-links":
|
|
113107
113118
|
return {
|
|
@@ -113115,14 +113126,14 @@ const i$2 = [
|
|
|
113115
113126
|
}))
|
|
113116
113127
|
},
|
|
113117
113128
|
...Oe(o.titleStyle) && { titleStyle: o.titleStyle },
|
|
113118
|
-
...
|
|
113129
|
+
..._6(o.backgroundStyle)
|
|
113119
113130
|
};
|
|
113120
113131
|
case "divider-section":
|
|
113121
113132
|
return {
|
|
113122
113133
|
...i,
|
|
113123
113134
|
...o.paddingStyle !== void 0 && { paddingStyle: o.paddingStyle },
|
|
113124
113135
|
...v3(o.dividerStyle) && { dividerStyle: o.dividerStyle },
|
|
113125
|
-
...
|
|
113136
|
+
..._6(o.backgroundStyle)
|
|
113126
113137
|
};
|
|
113127
113138
|
case "shop-section":
|
|
113128
113139
|
return {
|
|
@@ -113135,7 +113146,7 @@ const i$2 = [
|
|
|
113135
113146
|
...Oe(o.descriptionStyle) && {
|
|
113136
113147
|
descriptionStyle: o.descriptionStyle
|
|
113137
113148
|
},
|
|
113138
|
-
...
|
|
113149
|
+
..._6(o.backgroundStyle)
|
|
113139
113150
|
};
|
|
113140
113151
|
case "image":
|
|
113141
113152
|
return {
|
|
@@ -113343,7 +113354,7 @@ const i$2 = [
|
|
|
113343
113354
|
// Website-level operations
|
|
113344
113355
|
UNDO_WEBSITE: "undo-website"
|
|
113345
113356
|
};
|
|
113346
|
-
class
|
|
113357
|
+
class F6 {
|
|
113347
113358
|
request;
|
|
113348
113359
|
logger;
|
|
113349
113360
|
eventTracker;
|
|
@@ -113377,7 +113388,7 @@ const l$2 = (e, t) => ({
|
|
|
113377
113388
|
o && typeof o == "string" && Re(o) ? e[t] = Sg(o, n) : e[t] = n;
|
|
113378
113389
|
}
|
|
113379
113390
|
};
|
|
113380
|
-
class c$2 extends
|
|
113391
|
+
class c$2 extends F6 {
|
|
113381
113392
|
constructor(t, n) {
|
|
113382
113393
|
super(t, n);
|
|
113383
113394
|
}
|
|
@@ -113521,7 +113532,7 @@ const C3 = (e) => typeof e == "object" && e !== null && e.type === "doc" && Arra
|
|
|
113521
113532
|
e[s] = a, e[t] = lN(e[t], a);
|
|
113522
113533
|
}
|
|
113523
113534
|
};
|
|
113524
|
-
class m$2 extends
|
|
113535
|
+
class m$2 extends F6 {
|
|
113525
113536
|
constructor(t, n) {
|
|
113526
113537
|
super(t, n);
|
|
113527
113538
|
}
|
|
@@ -113606,7 +113617,7 @@ const KH = (e, t) => {
|
|
|
113606
113617
|
} : void 0;
|
|
113607
113618
|
return i.createInitialContent(o);
|
|
113608
113619
|
};
|
|
113609
|
-
class j5 extends
|
|
113620
|
+
class j5 extends F6 {
|
|
113610
113621
|
/**
|
|
113611
113622
|
* Content ID resolved during `resolveAndRepositionContent` (CREATE: the
|
|
113612
113623
|
* id of the freshly-created content; UPDATE: the id of the located target).
|
|
@@ -114238,7 +114249,7 @@ const nB2 = () => new _w({
|
|
|
114238
114249
|
Q$2(e)
|
|
114239
114250
|
], oB2 = [
|
|
114240
114251
|
...w3("title", b3),
|
|
114241
|
-
...w3("description",
|
|
114252
|
+
...w3("description", f6),
|
|
114242
114253
|
...w3("button_text", b3),
|
|
114243
114254
|
o3("title_style"),
|
|
114244
114255
|
o3("description_style"),
|
|
@@ -114322,7 +114333,7 @@ class XH extends j5 {
|
|
|
114322
114333
|
}
|
|
114323
114334
|
const lB2 = [
|
|
114324
114335
|
...w3("title", b3),
|
|
114325
|
-
...w3("description",
|
|
114336
|
+
...w3("description", f6),
|
|
114326
114337
|
...w3("button_text", b3),
|
|
114327
114338
|
o3("title_style"),
|
|
114328
114339
|
o3("description_style"),
|
|
@@ -114371,7 +114382,7 @@ class JH extends j5 {
|
|
|
114371
114382
|
}
|
|
114372
114383
|
const cB2 = [
|
|
114373
114384
|
...w3("title", b3),
|
|
114374
|
-
...w3("paragraph",
|
|
114385
|
+
...w3("paragraph", f6),
|
|
114375
114386
|
o3("title_style"),
|
|
114376
114387
|
o3("paragraph_style"),
|
|
114377
114388
|
G5(
|
|
@@ -114426,7 +114437,7 @@ class QH extends j5 {
|
|
|
114426
114437
|
}
|
|
114427
114438
|
const uB2 = [
|
|
114428
114439
|
...w3("title", b3),
|
|
114429
|
-
...w3("description",
|
|
114440
|
+
...w3("description", f6),
|
|
114430
114441
|
...w3("button_text", b3),
|
|
114431
114442
|
...w3("success_message", b3),
|
|
114432
114443
|
o3("title_style"),
|
|
@@ -114684,7 +114695,7 @@ const Am = {
|
|
|
114684
114695
|
o3("testimonial_style"),
|
|
114685
114696
|
o3("name_style"),
|
|
114686
114697
|
o3("position_style"),
|
|
114687
|
-
K9("items", "testimonial",
|
|
114698
|
+
K9("items", "testimonial", f6),
|
|
114688
114699
|
Y9("items", "testimonial"),
|
|
114689
114700
|
K9("items", "name", b3),
|
|
114690
114701
|
Y9("items", "name"),
|
|
@@ -114846,14 +114857,14 @@ class iI extends j5 {
|
|
|
114846
114857
|
}
|
|
114847
114858
|
const LB2 = [
|
|
114848
114859
|
...w3("title", b3),
|
|
114849
|
-
...w3("description",
|
|
114860
|
+
...w3("description", f6),
|
|
114850
114861
|
o3("title_style"),
|
|
114851
114862
|
o3("description_style"),
|
|
114852
114863
|
o3("heading_style"),
|
|
114853
114864
|
o3("paragraph_style"),
|
|
114854
114865
|
K9("items", "heading", b3),
|
|
114855
114866
|
Y9("items", "heading"),
|
|
114856
|
-
K9("items", "text",
|
|
114867
|
+
K9("items", "text", f6),
|
|
114857
114868
|
Y9("items", "text"),
|
|
114858
114869
|
K9("items", "button_text", b3),
|
|
114859
114870
|
Y9("items", "button_text"),
|
|
@@ -115026,14 +115037,14 @@ class oI extends j5 {
|
|
|
115026
115037
|
}
|
|
115027
115038
|
const HB2 = [
|
|
115028
115039
|
...w3("title", b3),
|
|
115029
|
-
...w3("description",
|
|
115040
|
+
...w3("description", f6),
|
|
115030
115041
|
o3("title_style"),
|
|
115031
115042
|
o3("description_style"),
|
|
115032
115043
|
o3("heading_style"),
|
|
115033
115044
|
o3("paragraph_style"),
|
|
115034
115045
|
K9("items", "heading", b3),
|
|
115035
115046
|
Y9("items", "heading"),
|
|
115036
|
-
K9("items", "text",
|
|
115047
|
+
K9("items", "text", f6),
|
|
115037
115048
|
Y9("items", "text"),
|
|
115038
115049
|
G5(
|
|
115039
115050
|
"display_style",
|
|
@@ -115220,7 +115231,7 @@ class sI extends j5 {
|
|
|
115220
115231
|
const PB2 = [
|
|
115221
115232
|
G5(
|
|
115222
115233
|
"icon_style",
|
|
115223
|
-
Object.keys(
|
|
115234
|
+
Object.keys(V6),
|
|
115224
115235
|
"social-links"
|
|
115225
115236
|
),
|
|
115226
115237
|
RC(
|
|
@@ -115370,7 +115381,7 @@ class aI extends j5 {
|
|
|
115370
115381
|
const zB2 = [
|
|
115371
115382
|
...w3("name", b3),
|
|
115372
115383
|
...w3("title", b3),
|
|
115373
|
-
...w3("description",
|
|
115384
|
+
...w3("description", f6),
|
|
115374
115385
|
o3("name_style"),
|
|
115375
115386
|
o3("title_style"),
|
|
115376
115387
|
o3("description_style")
|
|
@@ -115458,7 +115469,7 @@ class y3 extends j5 {
|
|
|
115458
115469
|
return "error" in i ? i.error : (W5(i.content, this.args, this.sectionType), { request: this.request, model: t });
|
|
115459
115470
|
}
|
|
115460
115471
|
}
|
|
115461
|
-
class YB2 extends
|
|
115472
|
+
class YB2 extends F6 {
|
|
115462
115473
|
constructor(t, n, i) {
|
|
115463
115474
|
super(t, n, i);
|
|
115464
115475
|
}
|
|
@@ -115493,7 +115504,7 @@ class YB2 extends Z6 {
|
|
|
115493
115504
|
};
|
|
115494
115505
|
}
|
|
115495
115506
|
}
|
|
115496
|
-
class XB2 extends
|
|
115507
|
+
class XB2 extends F6 {
|
|
115497
115508
|
constructor(t, n) {
|
|
115498
115509
|
super(t, n);
|
|
115499
115510
|
}
|
|
@@ -115542,7 +115553,7 @@ const JB2 = [
|
|
|
115542
115553
|
(e) => e?.pageName ? null : "page_name is required for add_page",
|
|
115543
115554
|
(e) => e?.pageName && e.pageName.length > Nn.pageName ? `page_name exceeds the maximum length of ${Nn.pageName} characters (got ${e.pageName.length})` : null
|
|
115544
115555
|
];
|
|
115545
|
-
class QB2 extends
|
|
115556
|
+
class QB2 extends F6 {
|
|
115546
115557
|
constructor(t, n) {
|
|
115547
115558
|
super(t, n);
|
|
115548
115559
|
}
|
|
@@ -115586,7 +115597,7 @@ class QB2 extends Z6 {
|
|
|
115586
115597
|
}), { request: this.request, model: t };
|
|
115587
115598
|
}
|
|
115588
115599
|
}
|
|
115589
|
-
class eO2 extends
|
|
115600
|
+
class eO2 extends F6 {
|
|
115590
115601
|
constructor(t, n) {
|
|
115591
115602
|
super(t, n);
|
|
115592
115603
|
}
|
|
@@ -115621,7 +115632,7 @@ const tO2 = [
|
|
|
115621
115632
|
(e) => e?.pageName ? null : "page_name is required for rename_page",
|
|
115622
115633
|
(e) => e?.pageName && e.pageName.length > Nn.pageName ? `page_name exceeds the maximum length of ${Nn.pageName} characters (got ${e.pageName.length})` : null
|
|
115623
115634
|
];
|
|
115624
|
-
class nO2 extends
|
|
115635
|
+
class nO2 extends F6 {
|
|
115625
115636
|
constructor(t, n) {
|
|
115626
115637
|
super(t, n);
|
|
115627
115638
|
}
|
|
@@ -115737,7 +115748,7 @@ const iO2 = ["desktop", "mobile"].flatMap((e) => [
|
|
|
115737
115748
|
fill: t.icon_color
|
|
115738
115749
|
}), t.is_logo_visible !== void 0 && (e.isLogoVisible = t.is_logo_visible), t.logo_image_height !== void 0 && (e.logoImageHeight = t.logo_image_height), t.logo_image_width !== void 0 && (e.logoImageWidth = t.logo_image_width);
|
|
115739
115750
|
};
|
|
115740
|
-
class rO2 extends
|
|
115751
|
+
class rO2 extends F6 {
|
|
115741
115752
|
constructor(t, n) {
|
|
115742
115753
|
super(t, n);
|
|
115743
115754
|
}
|
|
@@ -115790,7 +115801,7 @@ const wN = [
|
|
|
115790
115801
|
}
|
|
115791
115802
|
)
|
|
115792
115803
|
];
|
|
115793
|
-
class lO2 extends
|
|
115804
|
+
class lO2 extends F6 {
|
|
115794
115805
|
constructor(t, n) {
|
|
115795
115806
|
super(t, n);
|
|
115796
115807
|
}
|
|
@@ -115943,7 +115954,7 @@ const dO2 = [
|
|
|
115943
115954
|
}
|
|
115944
115955
|
}
|
|
115945
115956
|
};
|
|
115946
|
-
class CO2 extends
|
|
115957
|
+
class CO2 extends F6 {
|
|
115947
115958
|
constructor(t, n) {
|
|
115948
115959
|
super(t, n);
|
|
115949
115960
|
}
|
|
@@ -115978,7 +115989,7 @@ class CO2 extends Z6 {
|
|
|
115978
115989
|
), { request: this.request, model: t };
|
|
115979
115990
|
}
|
|
115980
115991
|
}
|
|
115981
|
-
class uO2 extends
|
|
115992
|
+
class uO2 extends F6 {
|
|
115982
115993
|
constructor(t, n) {
|
|
115983
115994
|
super(t, n);
|
|
115984
115995
|
}
|
|
@@ -117203,7 +117214,7 @@ const IN2 = /* @__PURE__ */ v(IO2, [["render", qO2], ["__scopeId", "data-v-2e7e5
|
|
|
117203
117214
|
return this.purchasedDomains.length > 0;
|
|
117204
117215
|
},
|
|
117205
117216
|
isActiveDomain() {
|
|
117206
|
-
return this.brandPageContainerStore.isCustomDomainEnabled && this.customDomain && this.brandPageContainerStore.customDomain.status ===
|
|
117217
|
+
return this.brandPageContainerStore.isCustomDomainEnabled && this.customDomain && this.brandPageContainerStore.customDomain.status === e9.active;
|
|
117207
117218
|
}
|
|
117208
117219
|
},
|
|
117209
117220
|
watch: {
|
|
@@ -117529,7 +117540,7 @@ export {
|
|
|
117529
117540
|
V62 as R,
|
|
117530
117541
|
M62 as S,
|
|
117531
117542
|
y62 as T,
|
|
117532
|
-
|
|
117543
|
+
e9 as U,
|
|
117533
117544
|
N32 as V,
|
|
117534
117545
|
A62 as W,
|
|
117535
117546
|
G2 as X,
|
|
@@ -117576,10 +117587,10 @@ export {
|
|
|
117576
117587
|
jL1 as aZ,
|
|
117577
117588
|
Gn as a_,
|
|
117578
117589
|
N52 as aa,
|
|
117579
|
-
|
|
117590
|
+
s9 as ab,
|
|
117580
117591
|
q52 as ac,
|
|
117581
117592
|
P2 as ad,
|
|
117582
|
-
|
|
117593
|
+
n9 as ae,
|
|
117583
117594
|
dt as af,
|
|
117584
117595
|
d3 as ag,
|
|
117585
117596
|
E9 as ah,
|
|
@@ -117611,7 +117622,7 @@ export {
|
|
|
117611
117622
|
C62 as b5,
|
|
117612
117623
|
u62 as b6,
|
|
117613
117624
|
De as b7,
|
|
117614
|
-
|
|
117625
|
+
V6 as b8,
|
|
117615
117626
|
d62 as b9,
|
|
117616
117627
|
pn as bA,
|
|
117617
117628
|
A4 as bB,
|
|
@@ -117667,7 +117678,7 @@ export {
|
|
|
117667
117678
|
Tm as by,
|
|
117668
117679
|
x5 as bz,
|
|
117669
117680
|
U7 as c,
|
|
117670
|
-
|
|
117681
|
+
a9 as c0,
|
|
117671
117682
|
DE as c1,
|
|
117672
117683
|
By as c2,
|
|
117673
117684
|
Yt as c3,
|