@designcrowd/library.brand-page 6.0.6-undo-6 → 6.0.6-undo-8
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-DdT7VIEh.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-CO07UsMZ.js → CreatedOnBrandCrowd-en-us-YSkiGVKr.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-BElFyN72.js → CreatedOnBrandCrowd-es-es-1EPcCaOy.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DnTxsYIb.js → CreatedOnBrandCrowd-fr-ca-C8fnEHlw.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DnTxsYIb.js → CreatedOnBrandCrowd-fr-fr-C8fnEHlw.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DSMhWz5Z.js → CreatedOnBrandCrowd-pt-br-Dl3Se_ur.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DSMhWz5Z.js → CreatedOnBrandCrowd-pt-pt-Dl3Se_ur.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-C2469ycC.js → CreatedOnDcom-de-de-rXbL8YwY.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-Cvz7kq6J.js → CreatedOnDcom-en-us-Bm9CAhKw.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-BvDTs1Y_.js → CreatedOnDcom-es-es-B8diEgO8.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-vJ9zwwPI.js → CreatedOnDcom-fr-ca-b6jqk1vU.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-D90gm3ay.js → CreatedOnDcom-fr-fr-ECBv8SyF.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-C1VGGfTF.js → CreatedOnDcom-pt-br-C7THecsn.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-DGL1py4g.js → CreatedOnDcom-pt-pt-C7f06hrr.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 +13 -13
- package/lib/src/css/library.brand-page-brandPage.min.css +13 -13
- package/lib/src/css/library.brand-page-designCom.min.css +13 -13
- package/lib/src/css/library.brand-page-preview.min.css +13 -13
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-nGjOXase.js → lib-DQvE17ni.js} +612 -602
- package/package.json +1 -1
- package/src/brand-page/components/shop/Shop.vue +0 -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-DdT7VIEh.js"), "./watermark/CreatedOnBrandCrowd-en-us.vue": () => import("./CreatedOnBrandCrowd-en-us-YSkiGVKr.js"), "./watermark/CreatedOnBrandCrowd-es-es.vue": () => import("./CreatedOnBrandCrowd-es-es-1EPcCaOy.js"), "./watermark/CreatedOnBrandCrowd-fr-ca.vue": () => import("./CreatedOnBrandCrowd-fr-ca-C8fnEHlw.js"), "./watermark/CreatedOnBrandCrowd-fr-fr.vue": () => import("./CreatedOnBrandCrowd-fr-fr-C8fnEHlw.js"), "./watermark/CreatedOnBrandCrowd-pt-br.vue": () => import("./CreatedOnBrandCrowd-pt-br-Dl3Se_ur.js"), "./watermark/CreatedOnBrandCrowd-pt-pt.vue": () => import("./CreatedOnBrandCrowd-pt-pt-Dl3Se_ur.js"), "./watermark/CreatedOnDcom-de-de.vue": () => import("./CreatedOnDcom-de-de-rXbL8YwY.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-Bm9CAhKw.js"), "./watermark/CreatedOnDcom-es-es.vue": () => import("./CreatedOnDcom-es-es-B8diEgO8.js"), "./watermark/CreatedOnDcom-fr-ca.vue": () => import("./CreatedOnDcom-fr-ca-b6jqk1vU.js"), "./watermark/CreatedOnDcom-fr-fr.vue": () => import("./CreatedOnDcom-fr-fr-ECBv8SyF.js"), "./watermark/CreatedOnDcom-pt-br.vue": () => import("./CreatedOnDcom-pt-br-C7THecsn.js"), "./watermark/CreatedOnDcom-pt-pt.vue": () => import("./CreatedOnDcom-pt-pt-C7f06hrr.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-YSkiGVKr.js"), "./watermark/CreatedOnDcom-en-us.vue": () => import("./CreatedOnDcom-en-us-Bm9CAhKw.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 };
|
|
@@ -75205,7 +75205,6 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75205
75205
|
s.value ? (C(), f("div", {
|
|
75206
75206
|
key: 0,
|
|
75207
75207
|
class: B(["tw-relative outer-container", {
|
|
75208
|
-
"tw-my-8": e.context.isBrandSite,
|
|
75209
75208
|
"tw-mb-4": e.context.isBrandPageOrIsBrandContact
|
|
75210
75209
|
}]),
|
|
75211
75210
|
style: V1([S.value, M.value])
|
|
@@ -75314,7 +75313,7 @@ ${e.notes}` : e.notes)) : this.cartItems.push({
|
|
|
75314
75313
|
}, null, 8, ["is-visible", "button-style", "description-style", "shop-payment-config", "context", "success-message", "is-shipping-enabled"])) : k("", !0)
|
|
75315
75314
|
]));
|
|
75316
75315
|
}
|
|
75317
|
-
}), Se2 = /* @__PURE__ */ v(ve2, [["__scopeId", "data-v-
|
|
75316
|
+
}), Se2 = /* @__PURE__ */ v(ve2, [["__scopeId", "data-v-24954146"]]), _e2 = { "data-component": "booking-section" }, Me2 = { class: "tw-flex tw-gap-8 tw-w-full tw-h-full tw-items-center c_banner-container tw-flex-col tw-gap-5" }, ke2 = {
|
|
75318
75317
|
key: 2,
|
|
75319
75318
|
class: "tw-w-full tw-flex tw-justify-center"
|
|
75320
75319
|
}, Le2 = /* @__PURE__ */ Q({
|
|
@@ -75940,7 +75939,7 @@ const l32 = /* @__PURE__ */ v(s32, [["render", a32]]), d32 = { key: 0 }, c32 = {
|
|
|
75940
75939
|
return Ol("createCard", { siteName: u });
|
|
75941
75940
|
}), d = (u) => `https://bcassetcdn.com/assets/images/modal/save-contact@2x.${u}.png`;
|
|
75942
75941
|
Se(() => {
|
|
75943
|
-
const u =
|
|
75942
|
+
const u = a9().toLowerCase(), h = new Image();
|
|
75944
75943
|
h.onload = () => {
|
|
75945
75944
|
s.value = h.src, o.value = !0;
|
|
75946
75945
|
}, h.onerror = () => {
|
|
@@ -76067,7 +76066,7 @@ const l32 = /* @__PURE__ */ v(s32, [["render", a32]]), d32 = { key: 0 }, c32 = {
|
|
|
76067
76066
|
n.context.isPreview,
|
|
76068
76067
|
n.context.brandPageType,
|
|
76069
76068
|
n.context.isDesignCom,
|
|
76070
|
-
|
|
76069
|
+
a9(),
|
|
76071
76070
|
"bp-save-contact"
|
|
76072
76071
|
) : "#"), y = L(() => n.buttonStyles?.iconStyle.fill || "");
|
|
76073
76072
|
return (w, b) => r.value ? (C(), f("footer", b32, [
|
|
@@ -77128,7 +77127,7 @@ const o0 = (e) => {
|
|
|
77128
77127
|
}, X32 = {
|
|
77129
77128
|
[U9.all]: "MakerPrePurchaseSidebarTemplatesAllTab",
|
|
77130
77129
|
[U9.categories]: "MakerPrePurchaseSidebarTemplatesCategoryTab"
|
|
77131
|
-
}, ex = 250,
|
|
77130
|
+
}, ex = 250, p6 = s3("uiTemplateSettings", {
|
|
77132
77131
|
state: () => ({
|
|
77133
77132
|
isBusy: !1,
|
|
77134
77133
|
pageCount: 0,
|
|
@@ -77259,7 +77258,7 @@ const o0 = (e) => {
|
|
|
77259
77258
|
throw new Error("templateType is not set");
|
|
77260
77259
|
this._setIsBusy({ isBusy: !0 });
|
|
77261
77260
|
try {
|
|
77262
|
-
const d = PL(), c =
|
|
77261
|
+
const d = PL(), c = a9(), u = s.logoTemplateAsset?.isByo ?? !1, h = s.logoTemplateAsset?.token ?? void 0, g = o.selectedLogoImage.logoVariation;
|
|
77263
77262
|
if (!u && await r.refreshS3TokenIfExpiredAsync(g)) {
|
|
77264
77263
|
setTimeout(() => {
|
|
77265
77264
|
this.loadPageNo({ pageNo: e });
|
|
@@ -77499,7 +77498,7 @@ const o0 = (e) => {
|
|
|
77499
77498
|
const t = p5(), n = w9();
|
|
77500
77499
|
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
77500
|
throw new Error("logoDraftToken should be defined");
|
|
77502
|
-
const i = c2(), o =
|
|
77501
|
+
const i = c2(), o = p6();
|
|
77503
77502
|
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
77503
|
logoTemplateAsset: e.logoTemplateAsset,
|
|
77505
77504
|
logoDraftAssets: e.logoDraftAssets || []
|
|
@@ -78205,7 +78204,7 @@ const o0 = (e) => {
|
|
|
78205
78204
|
logoDraftToken: "",
|
|
78206
78205
|
editableLogoVariations: [
|
|
78207
78206
|
{
|
|
78208
|
-
variationId:
|
|
78207
|
+
variationId: i9.LOGO_WITH_TRANSPARENT_BACKGROUND,
|
|
78209
78208
|
base64: "",
|
|
78210
78209
|
dimensionType: L7.PREVIEW_IMAGE_TRANSPARENT_NO_BUFFER,
|
|
78211
78210
|
variationType: void 0,
|
|
@@ -78216,7 +78215,7 @@ const o0 = (e) => {
|
|
|
78216
78215
|
logoTheme: void 0
|
|
78217
78216
|
},
|
|
78218
78217
|
{
|
|
78219
|
-
variationId:
|
|
78218
|
+
variationId: i9.LOGO_WITH_BACKGROUND,
|
|
78220
78219
|
base64: "",
|
|
78221
78220
|
dimensionType: L7.PREVIEW_IMAGE_SOLID_NO_BUFFER,
|
|
78222
78221
|
variationType: void 0,
|
|
@@ -78227,7 +78226,7 @@ const o0 = (e) => {
|
|
|
78227
78226
|
logoTheme: void 0
|
|
78228
78227
|
},
|
|
78229
78228
|
{
|
|
78230
|
-
variationId:
|
|
78229
|
+
variationId: i9.LOGO_ONLY_WITH_TRANSPARENT_BACKGROUND,
|
|
78231
78230
|
base64: "",
|
|
78232
78231
|
dimensionType: L7.PREVIEW_IMAGE_TRANSPARENT_NO_BUFFER,
|
|
78233
78232
|
variationType: Od.ICON_TRANSPARENT_BACKGROUND_ONLY,
|
|
@@ -78238,7 +78237,7 @@ const o0 = (e) => {
|
|
|
78238
78237
|
logoTheme: void 0
|
|
78239
78238
|
},
|
|
78240
78239
|
{
|
|
78241
|
-
variationId:
|
|
78240
|
+
variationId: i9.TEXT_ONLY_WITH_TRANSPARENT_BACKGROUND,
|
|
78242
78241
|
base64: "",
|
|
78243
78242
|
dimensionType: L7.PREVIEW_IMAGE_TRANSPARENT_NO_BUFFER,
|
|
78244
78243
|
variationType: Od.TEXT_TRANSPARENT_BACKGROUND_ONLY,
|
|
@@ -78805,7 +78804,7 @@ const o0 = (e) => {
|
|
|
78805
78804
|
}), 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
78805
|
message: s42(),
|
|
78807
78806
|
isValid: !1
|
|
78808
|
-
} : e.buttonLinkType === ce.mailTo && typeof e.url == "string" &&
|
|
78807
|
+
} : e.buttonLinkType === ce.mailTo && typeof e.url == "string" && !B6(e.url) && e.buttonText !== !1 && e.buttonText?.length > 0 ? {
|
|
78809
78808
|
message: r42(),
|
|
78810
78809
|
isValid: !1
|
|
78811
78810
|
} : e.buttonLinkType === ce.tel && !R8(e.url) && e.buttonText !== !1 && e.buttonText?.length > 0 ? {
|
|
@@ -78845,7 +78844,7 @@ const o0 = (e) => {
|
|
|
78845
78844
|
} : aD.validate(e, t)
|
|
78846
78845
|
}, oD = {
|
|
78847
78846
|
validate: (e, t) => {
|
|
78848
|
-
const n = typeof t == "string" &&
|
|
78847
|
+
const n = typeof t == "string" && B6(t);
|
|
78849
78848
|
return {
|
|
78850
78849
|
isValid: n,
|
|
78851
78850
|
message: n ? "" : C6("invalidEmailMessage")
|
|
@@ -79855,7 +79854,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
79855
79854
|
},
|
|
79856
79855
|
setSelectedLogoImageToAll(e) {
|
|
79857
79856
|
const t = e.selectedLogoImage || {
|
|
79858
|
-
...
|
|
79857
|
+
...s9
|
|
79859
79858
|
};
|
|
79860
79859
|
this.setSelectedLogoImage(t);
|
|
79861
79860
|
const n = Pe(), i = c2(), o = Me();
|
|
@@ -79947,7 +79946,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
79947
79946
|
},
|
|
79948
79947
|
setLogoToAllContentsAndSectionsByCreateByoLogoDraftResult(e) {
|
|
79949
79948
|
const t = {
|
|
79950
|
-
...
|
|
79949
|
+
...s9,
|
|
79951
79950
|
logoDraftToken: e.logoDraftToken,
|
|
79952
79951
|
logoVariation: 0,
|
|
79953
79952
|
logoLastUpdate: Date.now().toString()
|
|
@@ -79991,7 +79990,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
79991
79990
|
)?.settings.content.logoTemplateImage;
|
|
79992
79991
|
},
|
|
79993
79992
|
logoVariationImageUrls() {
|
|
79994
|
-
return Object.values(
|
|
79993
|
+
return Object.values(i9).reduce(
|
|
79995
79994
|
(e, t) => (e[t] = d3.getInstance().getLogoVariationUrlByLogoVariationIndex(
|
|
79996
79995
|
this.selectedLogoImage.logoDraftToken,
|
|
79997
79996
|
this.selectedLogoImage.logoLastUpdate,
|
|
@@ -80087,7 +80086,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
80087
80086
|
o.logoImageUrl
|
|
80088
80087
|
);
|
|
80089
80088
|
n.setSelectedLogoImageToAll({
|
|
80090
|
-
selectedLogoImage:
|
|
80089
|
+
selectedLogoImage: s9,
|
|
80091
80090
|
selectedLogoTemplateImage: r
|
|
80092
80091
|
}), t.setLogoTheme({ logoTheme: s }), i.setRecommendedLogoColors({
|
|
80093
80092
|
recommendedLogoColors: o.logoTheme.backgroundColors
|
|
@@ -80413,7 +80412,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
80413
80412
|
);
|
|
80414
80413
|
},
|
|
80415
80414
|
async applySelectedTemplate() {
|
|
80416
|
-
const e = q2(), t = K3(), n = c5(), i =
|
|
80415
|
+
const e = q2(), t = K3(), n = c5(), i = p6(), o = $9(), s = u5(), r = B2(), a = w2(), l = Pe(), d = X4(), c = E4();
|
|
80417
80416
|
if (!this.selectedTemplateId)
|
|
80418
80417
|
return;
|
|
80419
80418
|
let u = i.getTemplateByTemplateId(
|
|
@@ -80656,39 +80655,42 @@ const Pe = s3("uiContentSettings", {
|
|
|
80656
80655
|
), a = i.logoDraftToken;
|
|
80657
80656
|
if (t)
|
|
80658
80657
|
try {
|
|
80659
|
-
const
|
|
80660
|
-
i.$patch({ logoEdits:
|
|
80661
|
-
} catch (
|
|
80658
|
+
const d = JSON.parse(t);
|
|
80659
|
+
i.$patch({ logoEdits: d });
|
|
80660
|
+
} catch (d) {
|
|
80662
80661
|
console.error(
|
|
80663
80662
|
"brandpage-maker-store: failed to restore logoEdits",
|
|
80664
|
-
|
|
80663
|
+
d
|
|
80665
80664
|
);
|
|
80666
80665
|
}
|
|
80667
80666
|
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();
|
|
80667
|
+
if (l)
|
|
80683
80668
|
try {
|
|
80684
|
-
|
|
80685
|
-
|
|
80686
|
-
|
|
80687
|
-
|
|
80688
|
-
|
|
80689
|
-
|
|
80669
|
+
const d = l.logoDraftToken;
|
|
80670
|
+
if (!d) return;
|
|
80671
|
+
const c = o.getLogoDraftAssetByToken(d);
|
|
80672
|
+
if (c && (i.setEnableEditMode(!c.isByo), c.templateAsset && o.setLogoTemplateAsset(c.templateAsset)), i.setLogoDraftToken(d), a === d && (t === void 0 || t === r)) {
|
|
80673
|
+
i.stampLogoBase64IntoBrandPageData();
|
|
80674
|
+
return;
|
|
80675
|
+
}
|
|
80676
|
+
if (!!c?.isByo) {
|
|
80677
|
+
i.restoreVariationsForDraftToken(d) && i.stampLogoBase64IntoBrandPageData();
|
|
80678
|
+
return;
|
|
80679
|
+
}
|
|
80680
|
+
if (s.isPrePurchase && t && o.logoTemplateAsset) {
|
|
80681
|
+
i.stampLogoBase64IntoBrandPageData();
|
|
80682
|
+
try {
|
|
80683
|
+
await i.updateEditableLogoImageUrlAsync();
|
|
80684
|
+
} catch (g) {
|
|
80685
|
+
console.error(
|
|
80686
|
+
"brandpage-maker-store: failed to re-render logo on history apply",
|
|
80687
|
+
g
|
|
80688
|
+
);
|
|
80689
|
+
}
|
|
80690
|
+
}
|
|
80691
|
+
} finally {
|
|
80692
|
+
n.setSelectedLogoImage({ ...l });
|
|
80690
80693
|
}
|
|
80691
|
-
}
|
|
80692
80694
|
},
|
|
80693
80695
|
/**
|
|
80694
80696
|
* Restore the active page after a history apply. The id passed in is
|
|
@@ -80811,7 +80813,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
80811
80813
|
shopConfigData: g,
|
|
80812
80814
|
isServerRenderOverride: m = !1
|
|
80813
80815
|
}) {
|
|
80814
|
-
const y = w2(), w = B2(), b = q2(), M =
|
|
80816
|
+
const y = w2(), w = B2(), b = q2(), M = p6(), S = K3(), _ = X4(), x = u5(), H = c5(), D = $9();
|
|
80815
80817
|
P4(), D.initialise({ reset: !1 }), this.setIsInitialising({ isInitialising: !0 });
|
|
80816
80818
|
try {
|
|
80817
80819
|
const Z = j9(
|
|
@@ -81083,7 +81085,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81083
81085
|
await w2().showStripeOnboardingModal();
|
|
81084
81086
|
},
|
|
81085
81087
|
selectInitialCategories(e) {
|
|
81086
|
-
const t =
|
|
81088
|
+
const t = p6(), n = Pe();
|
|
81087
81089
|
e && (e.selectedTemplateCategory && t.selectInitialTemplateCategory({
|
|
81088
81090
|
selectedCategory: e.selectedTemplateCategory
|
|
81089
81091
|
}), e.selectedContentCategory && n.selectInitialContentCategory({
|
|
@@ -81176,7 +81178,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81176
81178
|
e.sections[T2.header][K1.mobile],
|
|
81177
81179
|
{
|
|
81178
81180
|
navigation: c[T2.header][K1.mobile],
|
|
81179
|
-
logoImage:
|
|
81181
|
+
logoImage: s9,
|
|
81180
81182
|
logoImageBase64Url: void 0,
|
|
81181
81183
|
logoTemplateImage: void 0
|
|
81182
81184
|
}
|
|
@@ -81186,7 +81188,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81186
81188
|
e.sections[T2.header][K1.desktop],
|
|
81187
81189
|
{
|
|
81188
81190
|
navigation: c[T2.header][K1.desktop],
|
|
81189
|
-
logoImage:
|
|
81191
|
+
logoImage: s9,
|
|
81190
81192
|
logoImageBase64Url: void 0,
|
|
81191
81193
|
logoTemplateImage: void 0
|
|
81192
81194
|
}
|
|
@@ -81195,7 +81197,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81195
81197
|
{},
|
|
81196
81198
|
e.sections[T2.footer][K1.mobile],
|
|
81197
81199
|
{
|
|
81198
|
-
logoImage:
|
|
81200
|
+
logoImage: s9,
|
|
81199
81201
|
logoImageBase64Url: void 0,
|
|
81200
81202
|
logoTemplateImage: void 0
|
|
81201
81203
|
}
|
|
@@ -81204,7 +81206,7 @@ const Pe = s3("uiContentSettings", {
|
|
|
81204
81206
|
{},
|
|
81205
81207
|
e.sections[T2.footer][K1.desktop],
|
|
81206
81208
|
{
|
|
81207
|
-
logoImage:
|
|
81209
|
+
logoImage: s9,
|
|
81208
81210
|
logoImageBase64Url: void 0,
|
|
81209
81211
|
logoTemplateImage: void 0
|
|
81210
81212
|
}
|
|
@@ -81978,8 +81980,8 @@ const ni = s3("snapshot", {
|
|
|
81978
81980
|
},
|
|
81979
81981
|
{
|
|
81980
81982
|
title: "",
|
|
81981
|
-
value:
|
|
81982
|
-
isSelected: e ===
|
|
81983
|
+
value: h6,
|
|
81984
|
+
isSelected: e === h6,
|
|
81983
81985
|
iconName: "display-style-banner-2",
|
|
81984
81986
|
iconViewBox: "0 0 110 64",
|
|
81985
81987
|
dataAttribute: "data-test-btn-right-aligned"
|
|
@@ -82042,8 +82044,8 @@ const ni = s3("snapshot", {
|
|
|
82042
82044
|
},
|
|
82043
82045
|
{
|
|
82044
82046
|
title: "",
|
|
82045
|
-
value:
|
|
82046
|
-
isSelected: e ===
|
|
82047
|
+
value: l9,
|
|
82048
|
+
isSelected: e === l9,
|
|
82047
82049
|
iconName: "display-style-banner-4",
|
|
82048
82050
|
iconViewBox: "0 0 110 64",
|
|
82049
82051
|
dataAttribute: "data-test-btn-full-image"
|
|
@@ -82095,7 +82097,7 @@ const ni = s3("snapshot", {
|
|
|
82095
82097
|
convertBack(e) {
|
|
82096
82098
|
const t = e.options.find((o) => o.isSelected);
|
|
82097
82099
|
let n = "left";
|
|
82098
|
-
(!t || t.value === ze || t.value ===
|
|
82100
|
+
(!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
82101
|
const i = PE(t?.value);
|
|
82100
82102
|
return {
|
|
82101
82103
|
displayStyle: t?.value,
|
|
@@ -82127,8 +82129,8 @@ const ni = s3("snapshot", {
|
|
|
82127
82129
|
},
|
|
82128
82130
|
{
|
|
82129
82131
|
title: "",
|
|
82130
|
-
value:
|
|
82131
|
-
isSelected: e ===
|
|
82132
|
+
value: h6,
|
|
82133
|
+
isSelected: e === h6,
|
|
82132
82134
|
iconName: "display-style-about-2",
|
|
82133
82135
|
iconViewBox: "0 0 50 25",
|
|
82134
82136
|
dataAttribute: "data-test-btn-right-aligned"
|
|
@@ -82283,8 +82285,8 @@ const ni = s3("snapshot", {
|
|
|
82283
82285
|
{
|
|
82284
82286
|
title: "",
|
|
82285
82287
|
label: "1",
|
|
82286
|
-
value:
|
|
82287
|
-
isSelected: e ===
|
|
82288
|
+
value: J6[1],
|
|
82289
|
+
isSelected: e === J6[1],
|
|
82288
82290
|
iconName: "column-1",
|
|
82289
82291
|
iconSize: "md",
|
|
82290
82292
|
dataAttribute: "data-test-btn-left-aligned"
|
|
@@ -82292,8 +82294,8 @@ const ni = s3("snapshot", {
|
|
|
82292
82294
|
{
|
|
82293
82295
|
title: "",
|
|
82294
82296
|
label: "2",
|
|
82295
|
-
value:
|
|
82296
|
-
isSelected: e ===
|
|
82297
|
+
value: J6[2],
|
|
82298
|
+
isSelected: e === J6[2],
|
|
82297
82299
|
iconName: "column-2",
|
|
82298
82300
|
iconSize: "md",
|
|
82299
82301
|
dataAttribute: "data-test-btn-right-aligned"
|
|
@@ -82301,8 +82303,8 @@ const ni = s3("snapshot", {
|
|
|
82301
82303
|
{
|
|
82302
82304
|
title: "",
|
|
82303
82305
|
label: "3",
|
|
82304
|
-
value:
|
|
82305
|
-
isSelected: e ===
|
|
82306
|
+
value: J6[3],
|
|
82307
|
+
isSelected: e === J6[3],
|
|
82306
82308
|
iconName: "column-3",
|
|
82307
82309
|
iconSize: "md",
|
|
82308
82310
|
dataAttribute: "data-test-btn-center-aligned"
|
|
@@ -82310,8 +82312,8 @@ const ni = s3("snapshot", {
|
|
|
82310
82312
|
{
|
|
82311
82313
|
title: "",
|
|
82312
82314
|
label: "4",
|
|
82313
|
-
value:
|
|
82314
|
-
isSelected: e ===
|
|
82315
|
+
value: J6[4],
|
|
82316
|
+
isSelected: e === J6[4],
|
|
82315
82317
|
iconName: "column-4",
|
|
82316
82318
|
iconSize: "md",
|
|
82317
82319
|
dataAttribute: "data-test-btn-text-only"
|
|
@@ -82322,7 +82324,7 @@ const ni = s3("snapshot", {
|
|
|
82322
82324
|
},
|
|
82323
82325
|
convertBack(e) {
|
|
82324
82326
|
const t = e.options.find((n) => n.isSelected);
|
|
82325
|
-
return t ? t?.value :
|
|
82327
|
+
return t ? t?.value : J6[1];
|
|
82326
82328
|
}
|
|
82327
82329
|
}, Y42 = {
|
|
82328
82330
|
convertBackToMultipleValues: !0,
|
|
@@ -82539,7 +82541,7 @@ const ni = s3("snapshot", {
|
|
|
82539
82541
|
const t = e.options.find((n) => n.isSelected);
|
|
82540
82542
|
return t ? t.value : null;
|
|
82541
82543
|
}
|
|
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"),
|
|
82544
|
+
}, 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
82545
|
g3,
|
|
82544
82546
|
Mn,
|
|
82545
82547
|
u6,
|
|
@@ -82588,23 +82590,23 @@ const ni = s3("snapshot", {
|
|
|
82588
82590
|
{
|
|
82589
82591
|
iconName: "icon-style-no-bg",
|
|
82590
82592
|
iconViewBox: "-5 -4 104 28",
|
|
82591
|
-
isSelected: !e || e ===
|
|
82593
|
+
isSelected: !e || e === V6.none,
|
|
82592
82594
|
title: O("styleNoneOption"),
|
|
82593
|
-
value:
|
|
82595
|
+
value: V6.none
|
|
82594
82596
|
},
|
|
82595
82597
|
{
|
|
82596
82598
|
iconName: "icon-style-square-bg",
|
|
82597
82599
|
iconViewBox: "-5 -4 104 28",
|
|
82598
|
-
isSelected: e ===
|
|
82600
|
+
isSelected: e === V6.square,
|
|
82599
82601
|
title: O("styleSquareOption"),
|
|
82600
|
-
value:
|
|
82602
|
+
value: V6.square
|
|
82601
82603
|
},
|
|
82602
82604
|
{
|
|
82603
82605
|
iconName: "icon-style-circle-bg",
|
|
82604
82606
|
iconViewBox: "-5 -4 104 28",
|
|
82605
82607
|
title: O("styleCircleOption"),
|
|
82606
|
-
isSelected: e ===
|
|
82607
|
-
value:
|
|
82608
|
+
isSelected: e === V6.circle,
|
|
82609
|
+
value: V6.circle
|
|
82608
82610
|
}
|
|
82609
82611
|
]
|
|
82610
82612
|
};
|
|
@@ -82628,8 +82630,8 @@ const ni = s3("snapshot", {
|
|
|
82628
82630
|
},
|
|
82629
82631
|
{
|
|
82630
82632
|
title: "",
|
|
82631
|
-
value:
|
|
82632
|
-
isSelected: n ===
|
|
82633
|
+
value: h6,
|
|
82634
|
+
isSelected: n === h6,
|
|
82633
82635
|
iconName: "display-style-images-2",
|
|
82634
82636
|
iconViewBox: "0 0 50 25",
|
|
82635
82637
|
dataAttribute: "data-test-btn-right-aligned"
|
|
@@ -82716,8 +82718,8 @@ const ni = s3("snapshot", {
|
|
|
82716
82718
|
},
|
|
82717
82719
|
{
|
|
82718
82720
|
title: F3("bigImage"),
|
|
82719
|
-
value:
|
|
82720
|
-
isSelected: e ===
|
|
82721
|
+
value: l9,
|
|
82722
|
+
isSelected: e === l9,
|
|
82721
82723
|
iconName: "testimonial-big-image",
|
|
82722
82724
|
iconViewBox: "0 0 94 24",
|
|
82723
82725
|
dataAttribute: "data-test-btn-big-image"
|
|
@@ -82782,7 +82784,7 @@ const ni = s3("snapshot", {
|
|
|
82782
82784
|
}, 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
82785
|
g3,
|
|
82784
82786
|
Gt,
|
|
82785
|
-
|
|
82787
|
+
l9,
|
|
82786
82788
|
_n
|
|
82787
82789
|
].includes(e.displayStyle)), hD = (e) => e ? e.displayStyle !== X9 : !1, gD = (e) => {
|
|
82788
82790
|
switch (e?.buttonLinkType) {
|
|
@@ -82882,7 +82884,7 @@ const ni = s3("snapshot", {
|
|
|
82882
82884
|
defaultValue: {},
|
|
82883
82885
|
label: O("buttonTextStyleLabel"),
|
|
82884
82886
|
groupId: C1.style
|
|
82885
|
-
}),
|
|
82887
|
+
}), Z6 = () => ({
|
|
82886
82888
|
tabs: [
|
|
82887
82889
|
"ICON",
|
|
82888
82890
|
"MY_DESIGNS",
|
|
@@ -83201,14 +83203,14 @@ const ni = s3("snapshot", {
|
|
|
83201
83203
|
fields: {
|
|
83202
83204
|
[We.iconUrl]: {
|
|
83203
83205
|
type: "image",
|
|
83204
|
-
replaceImageSettings:
|
|
83206
|
+
replaceImageSettings: Z6(),
|
|
83205
83207
|
title: O("thumbnailTitle"),
|
|
83206
83208
|
groupId: C1.settings
|
|
83207
83209
|
},
|
|
83208
83210
|
colorReplacements: {
|
|
83209
83211
|
type: "color-replacements",
|
|
83210
83212
|
title: O("shapeColorsTitle"),
|
|
83211
|
-
visibilityAssessor:
|
|
83213
|
+
visibilityAssessor: R6,
|
|
83212
83214
|
groupId: C1.settings
|
|
83213
83215
|
},
|
|
83214
83216
|
title: {
|
|
@@ -83360,14 +83362,14 @@ const ni = s3("snapshot", {
|
|
|
83360
83362
|
fields: {
|
|
83361
83363
|
[We.iconUrl]: {
|
|
83362
83364
|
type: "image",
|
|
83363
|
-
replaceImageSettings:
|
|
83365
|
+
replaceImageSettings: Z6(),
|
|
83364
83366
|
title: O("thumbnailTitle"),
|
|
83365
83367
|
groupId: C1.settings
|
|
83366
83368
|
},
|
|
83367
83369
|
colorReplacements: {
|
|
83368
83370
|
type: "color-replacements",
|
|
83369
83371
|
title: O("shapeColorsTitle"),
|
|
83370
|
-
visibilityAssessor:
|
|
83372
|
+
visibilityAssessor: R6,
|
|
83371
83373
|
groupId: C1.settings
|
|
83372
83374
|
},
|
|
83373
83375
|
title: {
|
|
@@ -83409,14 +83411,14 @@ const ni = s3("snapshot", {
|
|
|
83409
83411
|
fields: {
|
|
83410
83412
|
[We.iconUrl]: {
|
|
83411
83413
|
type: "image",
|
|
83412
|
-
replaceImageSettings:
|
|
83414
|
+
replaceImageSettings: Z6(),
|
|
83413
83415
|
title: O("thumbnailTitle"),
|
|
83414
83416
|
groupId: C1.settings
|
|
83415
83417
|
},
|
|
83416
83418
|
colorReplacements: {
|
|
83417
83419
|
type: "color-replacements",
|
|
83418
83420
|
title: O("shapeColorsTitle"),
|
|
83419
|
-
visibilityAssessor:
|
|
83421
|
+
visibilityAssessor: R6,
|
|
83420
83422
|
groupId: C1.settings
|
|
83421
83423
|
},
|
|
83422
83424
|
title: {
|
|
@@ -83567,14 +83569,14 @@ const ni = s3("snapshot", {
|
|
|
83567
83569
|
fields: {
|
|
83568
83570
|
[We.iconUrl]: {
|
|
83569
83571
|
type: "image",
|
|
83570
|
-
replaceImageSettings:
|
|
83572
|
+
replaceImageSettings: Z6(),
|
|
83571
83573
|
title: O("thumbnailTitle"),
|
|
83572
83574
|
groupId: C1.settings
|
|
83573
83575
|
},
|
|
83574
83576
|
colorReplacements: {
|
|
83575
83577
|
type: "color-replacements",
|
|
83576
83578
|
title: O("shapeColorsTitle"),
|
|
83577
|
-
visibilityAssessor:
|
|
83579
|
+
visibilityAssessor: R6,
|
|
83578
83580
|
groupId: C1.settings
|
|
83579
83581
|
},
|
|
83580
83582
|
title: {
|
|
@@ -83676,7 +83678,7 @@ const ni = s3("snapshot", {
|
|
|
83676
83678
|
columnStyle: {
|
|
83677
83679
|
type: "radio",
|
|
83678
83680
|
role: "multi",
|
|
83679
|
-
defaultValue:
|
|
83681
|
+
defaultValue: J6[1],
|
|
83680
83682
|
title: O("columnsTitle"),
|
|
83681
83683
|
optionsConvertor: K42,
|
|
83682
83684
|
groupId: C1.style,
|
|
@@ -83708,14 +83710,14 @@ const ni = s3("snapshot", {
|
|
|
83708
83710
|
fields: {
|
|
83709
83711
|
[We.iconUrl]: {
|
|
83710
83712
|
type: "image",
|
|
83711
|
-
replaceImageSettings:
|
|
83713
|
+
replaceImageSettings: Z6(),
|
|
83712
83714
|
title: O("thumbnailTitle"),
|
|
83713
83715
|
groupId: C1.settings
|
|
83714
83716
|
},
|
|
83715
83717
|
colorReplacements: {
|
|
83716
83718
|
type: "color-replacements",
|
|
83717
83719
|
title: O("shapeColorsTitle"),
|
|
83718
|
-
visibilityAssessor:
|
|
83720
|
+
visibilityAssessor: R6,
|
|
83719
83721
|
groupId: C1.settings
|
|
83720
83722
|
},
|
|
83721
83723
|
title: {
|
|
@@ -83756,14 +83758,14 @@ const ni = s3("snapshot", {
|
|
|
83756
83758
|
fields: {
|
|
83757
83759
|
[We.iconUrl]: {
|
|
83758
83760
|
type: "image",
|
|
83759
|
-
replaceImageSettings:
|
|
83761
|
+
replaceImageSettings: Z6(),
|
|
83760
83762
|
title: O("thumbnailTitle"),
|
|
83761
83763
|
groupId: C1.settings
|
|
83762
83764
|
},
|
|
83763
83765
|
colorReplacements: {
|
|
83764
83766
|
type: "color-replacements",
|
|
83765
83767
|
title: O("shapeColorsTitle"),
|
|
83766
|
-
visibilityAssessor:
|
|
83768
|
+
visibilityAssessor: R6,
|
|
83767
83769
|
groupId: C1.settings
|
|
83768
83770
|
},
|
|
83769
83771
|
title: {
|
|
@@ -83804,14 +83806,14 @@ const ni = s3("snapshot", {
|
|
|
83804
83806
|
fields: {
|
|
83805
83807
|
[We.iconUrl]: {
|
|
83806
83808
|
type: "image",
|
|
83807
|
-
replaceImageSettings:
|
|
83809
|
+
replaceImageSettings: Z6(),
|
|
83808
83810
|
title: O("thumbnailTitle"),
|
|
83809
83811
|
groupId: C1.settings
|
|
83810
83812
|
},
|
|
83811
83813
|
colorReplacements: {
|
|
83812
83814
|
type: "color-replacements",
|
|
83813
83815
|
title: O("shapeColorsTitle"),
|
|
83814
|
-
visibilityAssessor:
|
|
83816
|
+
visibilityAssessor: R6,
|
|
83815
83817
|
groupId: C1.settings
|
|
83816
83818
|
},
|
|
83817
83819
|
title: {
|
|
@@ -83852,14 +83854,14 @@ const ni = s3("snapshot", {
|
|
|
83852
83854
|
fields: {
|
|
83853
83855
|
[We.iconUrl]: {
|
|
83854
83856
|
type: "image",
|
|
83855
|
-
replaceImageSettings:
|
|
83857
|
+
replaceImageSettings: Z6(),
|
|
83856
83858
|
title: O("thumbnailTitle"),
|
|
83857
83859
|
groupId: C1.settings
|
|
83858
83860
|
},
|
|
83859
83861
|
colorReplacements: {
|
|
83860
83862
|
type: "color-replacements",
|
|
83861
83863
|
title: O("shapeColorsTitle"),
|
|
83862
|
-
visibilityAssessor:
|
|
83864
|
+
visibilityAssessor: R6,
|
|
83863
83865
|
groupId: C1.settings
|
|
83864
83866
|
},
|
|
83865
83867
|
title: {
|
|
@@ -83900,14 +83902,14 @@ const ni = s3("snapshot", {
|
|
|
83900
83902
|
fields: {
|
|
83901
83903
|
[We.iconUrl]: {
|
|
83902
83904
|
type: "image",
|
|
83903
|
-
replaceImageSettings:
|
|
83905
|
+
replaceImageSettings: Z6(),
|
|
83904
83906
|
title: O("thumbnailTitle"),
|
|
83905
83907
|
groupId: C1.settings
|
|
83906
83908
|
},
|
|
83907
83909
|
colorReplacements: {
|
|
83908
83910
|
type: "color-replacements",
|
|
83909
83911
|
title: O("shapeColorsTitle"),
|
|
83910
|
-
visibilityAssessor:
|
|
83912
|
+
visibilityAssessor: R6,
|
|
83911
83913
|
groupId: C1.settings
|
|
83912
83914
|
},
|
|
83913
83915
|
title: {
|
|
@@ -83948,14 +83950,14 @@ const ni = s3("snapshot", {
|
|
|
83948
83950
|
fields: {
|
|
83949
83951
|
[We.iconUrl]: {
|
|
83950
83952
|
type: "image",
|
|
83951
|
-
replaceImageSettings:
|
|
83953
|
+
replaceImageSettings: Z6(),
|
|
83952
83954
|
title: O("thumbnailTitle"),
|
|
83953
83955
|
groupId: C1.settings
|
|
83954
83956
|
},
|
|
83955
83957
|
colorReplacements: {
|
|
83956
83958
|
type: "color-replacements",
|
|
83957
83959
|
title: O("shapeColorsTitle"),
|
|
83958
|
-
visibilityAssessor:
|
|
83960
|
+
visibilityAssessor: R6,
|
|
83959
83961
|
groupId: C1.settings
|
|
83960
83962
|
},
|
|
83961
83963
|
title: {
|
|
@@ -83996,14 +83998,14 @@ const ni = s3("snapshot", {
|
|
|
83996
83998
|
fields: {
|
|
83997
83999
|
[We.iconUrl]: {
|
|
83998
84000
|
type: "image",
|
|
83999
|
-
replaceImageSettings:
|
|
84001
|
+
replaceImageSettings: Z6(),
|
|
84000
84002
|
title: O("thumbnailTitle"),
|
|
84001
84003
|
groupId: C1.settings
|
|
84002
84004
|
},
|
|
84003
84005
|
colorReplacements: {
|
|
84004
84006
|
type: "color-replacements",
|
|
84005
84007
|
title: O("shapeColorsTitle"),
|
|
84006
|
-
visibilityAssessor:
|
|
84008
|
+
visibilityAssessor: R6,
|
|
84007
84009
|
groupId: C1.settings
|
|
84008
84010
|
},
|
|
84009
84011
|
title: {
|
|
@@ -84044,14 +84046,14 @@ const ni = s3("snapshot", {
|
|
|
84044
84046
|
fields: {
|
|
84045
84047
|
[We.iconUrl]: {
|
|
84046
84048
|
type: "image",
|
|
84047
|
-
replaceImageSettings:
|
|
84049
|
+
replaceImageSettings: Z6(),
|
|
84048
84050
|
title: O("thumbnailTitle"),
|
|
84049
84051
|
groupId: C1.settings
|
|
84050
84052
|
},
|
|
84051
84053
|
colorReplacements: {
|
|
84052
84054
|
type: "color-replacements",
|
|
84053
84055
|
title: O("shapeColorsTitle"),
|
|
84054
|
-
visibilityAssessor:
|
|
84056
|
+
visibilityAssessor: R6,
|
|
84055
84057
|
groupId: C1.settings
|
|
84056
84058
|
},
|
|
84057
84059
|
title: {
|
|
@@ -85016,7 +85018,7 @@ const ni = s3("snapshot", {
|
|
|
85016
85018
|
role: "multi",
|
|
85017
85019
|
groupId: L9.style,
|
|
85018
85020
|
title: O("displayStyleTitle"),
|
|
85019
|
-
defaultValue:
|
|
85021
|
+
defaultValue: V6.none,
|
|
85020
85022
|
optionsConvertor: g52,
|
|
85021
85023
|
variant: "icon"
|
|
85022
85024
|
},
|
|
@@ -85535,7 +85537,7 @@ const ni = s3("snapshot", {
|
|
|
85535
85537
|
accessibleDisplayName: "AI Website Builder",
|
|
85536
85538
|
isVisible: !0
|
|
85537
85539
|
}
|
|
85538
|
-
], m62 = 3e3, yN2 = () => C4("successfulSave"), ID = 300,
|
|
85540
|
+
], m62 = 3e3, yN2 = () => C4("successfulSave"), ID = 300, e9 = {
|
|
85539
85541
|
active: "active",
|
|
85540
85542
|
pending: "pending",
|
|
85541
85543
|
failed: "failed",
|
|
@@ -87327,7 +87329,7 @@ function G92(e) {
|
|
|
87327
87329
|
a: n
|
|
87328
87330
|
};
|
|
87329
87331
|
}
|
|
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*\\)?"),
|
|
87332
|
+
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
87333
|
CSS_UNIT: new RegExp(H7),
|
|
87332
87334
|
rgb: new RegExp("rgb" + ph),
|
|
87333
87335
|
rgba: new RegExp("rgba" + fh),
|
|
@@ -87348,25 +87350,25 @@ function K92(e) {
|
|
|
87348
87350
|
e = Vm[e], t = !0;
|
|
87349
87351
|
else if (e === "transparent")
|
|
87350
87352
|
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 =
|
|
87353
|
+
var n = X6.rgb.exec(e);
|
|
87354
|
+
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
87355
|
r: n6(n[1]),
|
|
87354
87356
|
g: n6(n[2]),
|
|
87355
87357
|
b: n6(n[3]),
|
|
87356
87358
|
a: Fx(n[4]),
|
|
87357
87359
|
format: t ? "name" : "hex8"
|
|
87358
|
-
} : (n =
|
|
87360
|
+
} : (n = X6.hex6.exec(e), n ? {
|
|
87359
87361
|
r: n6(n[1]),
|
|
87360
87362
|
g: n6(n[2]),
|
|
87361
87363
|
b: n6(n[3]),
|
|
87362
87364
|
format: t ? "name" : "hex"
|
|
87363
|
-
} : (n =
|
|
87365
|
+
} : (n = X6.hex4.exec(e), n ? {
|
|
87364
87366
|
r: n6(n[1] + n[1]),
|
|
87365
87367
|
g: n6(n[2] + n[2]),
|
|
87366
87368
|
b: n6(n[3] + n[3]),
|
|
87367
87369
|
a: Fx(n[4] + n[4]),
|
|
87368
87370
|
format: t ? "name" : "hex8"
|
|
87369
|
-
} : (n =
|
|
87371
|
+
} : (n = X6.hex3.exec(e), n ? {
|
|
87370
87372
|
r: n6(n[1] + n[1]),
|
|
87371
87373
|
g: n6(n[2] + n[2]),
|
|
87372
87374
|
b: n6(n[3] + n[3]),
|
|
@@ -87374,7 +87376,7 @@ function K92(e) {
|
|
|
87374
87376
|
} : !1)))))))));
|
|
87375
87377
|
}
|
|
87376
87378
|
function m8(e) {
|
|
87377
|
-
return !!
|
|
87379
|
+
return !!X6.CSS_UNIT.exec(String(e));
|
|
87378
87380
|
}
|
|
87379
87381
|
var Y92 = (
|
|
87380
87382
|
/** @class */
|
|
@@ -89002,7 +89004,7 @@ const O72 = /* @__PURE__ */ v(P72, [["render", B72]]), D72 = {
|
|
|
89002
89004
|
setup(e, { emit: t }) {
|
|
89003
89005
|
const n = e, i = t, o = u5(), s = c1(!1), r = c1(""), a = c1(""), l = c1(!1), d = c1(""), c = L(
|
|
89004
89006
|
() => o.recommendedLogoColors
|
|
89005
|
-
), u = L(() => o.logoColors), h = L(() =>
|
|
89007
|
+
), u = L(() => o.logoColors), h = L(() => d9(r.value)), g = L(() => n.toggleUniqueId ? `-${n.toggleUniqueId}` : ""), m = L(() => {
|
|
89006
89008
|
let H = [
|
|
89007
89009
|
{
|
|
89008
89010
|
label: qu("recommendedColors"),
|
|
@@ -89138,7 +89140,7 @@ const O72 = /* @__PURE__ */ v(P72, [["render", B72]]), D72 = {
|
|
|
89138
89140
|
setup(e) {
|
|
89139
89141
|
const t = e, n = B2(), i = u5(), o = L(() => n.isAdmin), s = L(
|
|
89140
89142
|
() => 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(() =>
|
|
89143
|
+
), 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
89144
|
const c = d.value;
|
|
89143
89145
|
let u = "";
|
|
89144
89146
|
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 +89211,7 @@ const eb = /* @__PURE__ */ v(Q72, [["render", tt2]]), qx = Q({
|
|
|
89209
89211
|
return (this.colorType === "main" ? this.backgroundStyles.backgroundShapeStyle?.color : this.backgroundStyles.backgroundShapes[0]?.style.color) || "";
|
|
89210
89212
|
},
|
|
89211
89213
|
colorMatched() {
|
|
89212
|
-
return
|
|
89214
|
+
return d9(this.color);
|
|
89213
89215
|
}
|
|
89214
89216
|
},
|
|
89215
89217
|
methods: {
|
|
@@ -91963,7 +91965,7 @@ const Ln2 = { "data-component": "video-library" }, Tn2 = {
|
|
|
91963
91965
|
"logo-theme": c.value
|
|
91964
91966
|
}, null, 8, ["custom-groups", "logo-theme"]),
|
|
91965
91967
|
p("h4", ni2, P(I(l4)("addMedia")), 1),
|
|
91966
|
-
T(I(
|
|
91968
|
+
T(I(t9), {
|
|
91967
91969
|
"data-component": "collapsible-panel",
|
|
91968
91970
|
title: I(l4)("media")
|
|
91969
91971
|
}, {
|
|
@@ -92860,7 +92862,7 @@ const Vi2 = /* @__PURE__ */ v(Li2, [["render", Ti2], ["__scopeId", "data-v-0cd8c
|
|
|
92860
92862
|
l = await o.createPlaceAutocompleteElement({
|
|
92861
92863
|
value: n.value?.formattedAddress ?? "",
|
|
92862
92864
|
placeholder: tL1("addressPlaceholder"),
|
|
92863
|
-
requestedLanguage:
|
|
92865
|
+
requestedLanguage: a9(),
|
|
92864
92866
|
// Drop the widget's built-in search icon and clear button for a plain
|
|
92865
92867
|
// input that matches our design system.
|
|
92866
92868
|
noInputIcon: !0,
|
|
@@ -93258,7 +93260,7 @@ const Ri2 = /* @__PURE__ */ v(Bi2, [["render", Ni2]]), Zi2 = "image/png, image/j
|
|
|
93258
93260
|
return this.textIcons[e] ?? "globe";
|
|
93259
93261
|
},
|
|
93260
93262
|
detectedInputIcon(e) {
|
|
93261
|
-
return
|
|
93263
|
+
return B6(e) ? "email-at" : R8(e) ? "numeric" : "general-link";
|
|
93262
93264
|
},
|
|
93263
93265
|
onDelete(e) {
|
|
93264
93266
|
this.items = this.items.filter((t, n) => n !== e);
|
|
@@ -93295,7 +93297,7 @@ const Ri2 = /* @__PURE__ */ v(Bi2, [["render", Ni2]]), Zi2 = "image/png, image/j
|
|
|
93295
93297
|
this.focusedIndex = null, this.focusedDisplay = "";
|
|
93296
93298
|
const n = [...this.modelValue];
|
|
93297
93299
|
let i = !0;
|
|
93298
|
-
|
|
93300
|
+
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
93301
|
},
|
|
93300
93302
|
isImageUrl(e) {
|
|
93301
93303
|
return K4(e);
|
|
@@ -93337,7 +93339,7 @@ const Ri2 = /* @__PURE__ */ v(Bi2, [["render", Ni2]]), Zi2 = "image/png, image/j
|
|
|
93337
93339
|
const r = L(
|
|
93338
93340
|
() => s.colorReplacements[0]?.replacementColor
|
|
93339
93341
|
), a = L(
|
|
93340
|
-
() => s.colorReplacements?.every((h) =>
|
|
93342
|
+
() => s.colorReplacements?.every((h) => d9(h.replacementColor))
|
|
93341
93343
|
), l = L(
|
|
93342
93344
|
() => n.toggleUniqueId ? `-${n.toggleUniqueId}` : ""
|
|
93343
93345
|
), d = (h, g) => {
|
|
@@ -94034,7 +94036,7 @@ const wo2 = /* @__PURE__ */ v(fo2, [["render", yo2], ["__scopeId", "data-v-8240b
|
|
|
94034
94036
|
return;
|
|
94035
94037
|
}
|
|
94036
94038
|
if (s.logoEditUrl) {
|
|
94037
|
-
const K =
|
|
94039
|
+
const K = a9();
|
|
94038
94040
|
r.redirectToLogoEditPage(s.logoEditUrl, K);
|
|
94039
94041
|
}
|
|
94040
94042
|
};
|
|
@@ -99036,7 +99038,7 @@ const OC = /* @__PURE__ */ v(Ww2, [["render", Xw2]]), Jw2 = {
|
|
|
99036
99038
|
selectedTextColor: "#000000",
|
|
99037
99039
|
selectedBackgroundColor: "transparent"
|
|
99038
99040
|
}), M = c1(!1), S = c1(!1), _ = c1(!1), x = () => {
|
|
99039
|
-
i.textItemIndex !== void 0 && D.value && (t1.value = D.value?.style?.color ?? ""), S.value =
|
|
99041
|
+
i.textItemIndex !== void 0 && D.value && (t1.value = D.value?.style?.color ?? ""), S.value = L6(G.value), _.value = L6(
|
|
99040
99042
|
r1.value
|
|
99041
99043
|
);
|
|
99042
99044
|
}, H = qe([
|
|
@@ -99086,7 +99088,7 @@ const OC = /* @__PURE__ */ v(Ww2, [["render", Xw2]]), Jw2 = {
|
|
|
99086
99088
|
D2(
|
|
99087
99089
|
() => i.styles.color,
|
|
99088
99090
|
(P1) => {
|
|
99089
|
-
y.value && (t1.value = P1 ?? "", S.value =
|
|
99091
|
+
y.value && (t1.value = P1 ?? "", S.value = L6(P1 ?? ""));
|
|
99090
99092
|
}
|
|
99091
99093
|
);
|
|
99092
99094
|
const q = c1(i.styles.backgroundColor ?? ""), r1 = L(
|
|
@@ -99095,13 +99097,13 @@ const OC = /* @__PURE__ */ v(Ww2, [["render", Xw2]]), Jw2 = {
|
|
|
99095
99097
|
D2(
|
|
99096
99098
|
() => i.styles.backgroundColor,
|
|
99097
99099
|
(P1) => {
|
|
99098
|
-
y.value && (q.value = P1 ?? "", _.value =
|
|
99100
|
+
y.value && (q.value = P1 ?? "", _.value = L6(P1 ?? ""));
|
|
99099
99101
|
}
|
|
99100
99102
|
), D2(
|
|
99101
99103
|
() => r.getItem(i.rawId)?.settings?.content?.textItemsStyle?.color,
|
|
99102
99104
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
99103
99105
|
(P1) => {
|
|
99104
|
-
y.value && i.textItemIndex !== void 0 && D && (t1.value = D.value.style.color ?? "", S.value =
|
|
99106
|
+
y.value && i.textItemIndex !== void 0 && D && (t1.value = D.value.style.color ?? "", S.value = L6(
|
|
99105
99107
|
D.value.style.color ?? ""
|
|
99106
99108
|
), r.updateTextItemTextStyleTypeWithStyles({
|
|
99107
99109
|
id: i.rawId,
|
|
@@ -101582,7 +101584,7 @@ const As = /* @__PURE__ */ v(kS2, [["render", $S2]]), BS2 = { "data-component":
|
|
|
101582
101584
|
buttonConfig: {},
|
|
101583
101585
|
pages: { default: void 0 },
|
|
101584
101586
|
titleLength: { default: b3 },
|
|
101585
|
-
descriptionLength: { default:
|
|
101587
|
+
descriptionLength: { default: f6 },
|
|
101586
101588
|
isAdmin: { type: Boolean, default: !1 }
|
|
101587
101589
|
},
|
|
101588
101590
|
emits: ["update:buttonConfig"],
|
|
@@ -101617,7 +101619,7 @@ const As = /* @__PURE__ */ v(kS2, [["render", $S2]]), BS2 = { "data-component":
|
|
|
101617
101619
|
if (!n.buttonConfig.url) return !0;
|
|
101618
101620
|
switch (r.value) {
|
|
101619
101621
|
case ce.mailTo:
|
|
101620
|
-
return
|
|
101622
|
+
return B6(n.buttonConfig.url);
|
|
101621
101623
|
case ce.tel:
|
|
101622
101624
|
return R8(n.buttonConfig.url);
|
|
101623
101625
|
default:
|
|
@@ -101883,10 +101885,10 @@ const As = /* @__PURE__ */ v(kS2, [["render", $S2]]), BS2 = { "data-component":
|
|
|
101883
101885
|
},
|
|
101884
101886
|
emits: ["update:modelValue", "on-intent-image-replace"],
|
|
101885
101887
|
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(
|
|
101888
|
+
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
101889
|
if (n.maxLength && n.maxLength > 2 && n.content.type === ss["images-section"]) {
|
|
101888
101890
|
const q = n.content;
|
|
101889
|
-
if ([z5,
|
|
101891
|
+
if ([z5, h6].some(
|
|
101890
101892
|
(r1) => q.displayStyle === r1
|
|
101891
101893
|
))
|
|
101892
101894
|
return b(Qh), n.value.length > 3 ? n.value.slice(0, Qh) : n.value;
|
|
@@ -102406,7 +102408,7 @@ const E_2 = /* @__PURE__ */ v(__2, [["render", I_2]]), A_2 = 250, P_2 = Q({
|
|
|
102406
102408
|
isEmpty: [],
|
|
102407
102409
|
isModified: [],
|
|
102408
102410
|
maxTitleLength: b3,
|
|
102409
|
-
maxTestimonialLength:
|
|
102411
|
+
maxTestimonialLength: f6,
|
|
102410
102412
|
testimonialEmptyErrorMessage: bL1(),
|
|
102411
102413
|
testimonialMaxLengthErrorMessage: Xm()
|
|
102412
102414
|
}),
|
|
@@ -104546,7 +104548,7 @@ const sk2 = /* @__PURE__ */ v(QM2, [["render", ok2]]), Th = () => [
|
|
|
104546
104548
|
)?.options ?? [];
|
|
104547
104549
|
},
|
|
104548
104550
|
isOptionColorMatched() {
|
|
104549
|
-
return (e) =>
|
|
104551
|
+
return (e) => d9(this.valueFuncDict[e]());
|
|
104550
104552
|
}
|
|
104551
104553
|
},
|
|
104552
104554
|
created() {
|
|
@@ -105389,7 +105391,7 @@ const Xk2 = /* @__PURE__ */ v(Vk2, [["render", Yk2], ["__scopeId", "data-v-c93e7
|
|
|
105389
105391
|
}), uL2 = /* @__PURE__ */ v(CL2, [["__scopeId", "data-v-b0405837"]]), pL2 = {
|
|
105390
105392
|
components: {
|
|
105391
105393
|
Button: j1,
|
|
105392
|
-
CollapsiblePanel:
|
|
105394
|
+
CollapsiblePanel: t9,
|
|
105393
105395
|
Toggle: B3,
|
|
105394
105396
|
SideBarSettingsHeader: n8,
|
|
105395
105397
|
SideBarSectionTitle: ab,
|
|
@@ -105690,7 +105692,7 @@ const bL2 = /* @__PURE__ */ v(pL2, [["render", wL2], ["__scopeId", "data-v-4686f
|
|
|
105690
105692
|
components: {
|
|
105691
105693
|
SideBarSettingsHeader: n8,
|
|
105692
105694
|
ContentSettingsItemField: QD,
|
|
105693
|
-
CollapsiblePanel:
|
|
105695
|
+
CollapsiblePanel: t9,
|
|
105694
105696
|
PersonalisationRoleField: nb
|
|
105695
105697
|
},
|
|
105696
105698
|
mixins: [bH],
|
|
@@ -106133,7 +106135,7 @@ const DL2 = /* @__PURE__ */ v(BL2, [["render", OL2], ["__scopeId", "data-v-050b1
|
|
|
106133
106135
|
}
|
|
106134
106136
|
}), SH = Q({
|
|
106135
106137
|
setup() {
|
|
106136
|
-
const e = X4(), t = K3(), n = q2(), i =
|
|
106138
|
+
const e = X4(), t = K3(), n = q2(), i = p6(), o = Ve();
|
|
106137
106139
|
return {
|
|
106138
106140
|
editableLogoStore: e,
|
|
106139
106141
|
logoStore: t,
|
|
@@ -106438,7 +106440,7 @@ const JL2 = /* @__PURE__ */ v(WL2, [["render", XL2]]), QL2 = { "data-component":
|
|
|
106438
106440
|
selectedTemplate: null,
|
|
106439
106441
|
showLogoSwitchConfirmationModal: !1,
|
|
106440
106442
|
isSwitchingLogo: !1
|
|
106441
|
-
}), s = E4(), r = X4(), a = K3(), l =
|
|
106443
|
+
}), s = E4(), r = X4(), a = K3(), l = p6(), d = w2(), c = Ve(), u = _3(() => {
|
|
106442
106444
|
o.currentPage = 1, l.notifySearchTermChanged(o.searchText), h(!0);
|
|
106443
106445
|
}, 400), h = async (M) => {
|
|
106444
106446
|
M && s.resetLogoTemplateSearchResults(), await s.searchLogoTemplatesAsync({
|
|
@@ -107393,7 +107395,7 @@ const LH = Q({
|
|
|
107393
107395
|
return !!this.undoRedoEnabled || this.isPublished;
|
|
107394
107396
|
},
|
|
107395
107397
|
brandPageUrl() {
|
|
107396
|
-
return this.brandPageContainerStore.isCustomDomainEnabled && this.brandPageContainerStore.customDomain && this.brandPageContainerStore.customDomain.status ===
|
|
107398
|
+
return this.brandPageContainerStore.isCustomDomainEnabled && this.brandPageContainerStore.customDomain && this.brandPageContainerStore.customDomain.status === e9.active ? `https://${this.brandPageContainerStore.customDomain.domainName}` : `${this.brandPageBaseUrl}/${this.slug}`;
|
|
107397
107399
|
},
|
|
107398
107400
|
copyButtonLabel() {
|
|
107399
107401
|
return this.copied ? qt("copiedButton") : qt("copyButton");
|
|
@@ -107417,12 +107419,16 @@ const LH = Q({
|
|
|
107417
107419
|
}), vV2 = { class: "tw-whitespace-nowrap tw-text-sm" }, SV2 = /* @__PURE__ */ Q({
|
|
107418
107420
|
__name: "UndoButton",
|
|
107419
107421
|
setup(e) {
|
|
107420
|
-
const t = C5(), n = s0(), i = w2(), o = L(
|
|
107421
|
-
() => !t.canUndo || n.isProcessing || i.isSaving
|
|
107422
|
-
|
|
107423
|
-
|
|
107424
|
-
|
|
107425
|
-
|
|
107422
|
+
const t = C5(), n = s0(), i = w2(), o = p6(), s = L(
|
|
107423
|
+
() => !t.canUndo || n.isProcessing || i.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
107424
|
+
// re-render) or the template previews are refetching: re-entering
|
|
107425
|
+
// mid-regeneration overlapped two reloads and left the sidebar keyed to
|
|
107426
|
+
// the wrong logo (fast undo→redo desync).
|
|
107427
|
+
t.isApplyingSnapshot || o.isBusy
|
|
107428
|
+
), r = () => {
|
|
107429
|
+
s.value || t.undo();
|
|
107430
|
+
};
|
|
107431
|
+
return (a, l) => (C(), $(I(Nm), {
|
|
107426
107432
|
direction: "top",
|
|
107427
107433
|
alignment: "center",
|
|
107428
107434
|
"should-show-icon": !1,
|
|
@@ -107439,12 +107445,12 @@ const LH = Q({
|
|
|
107439
107445
|
tabindex: "0",
|
|
107440
107446
|
class: B([
|
|
107441
107447
|
"tw-p-2 tw-rounded tw-transition-colors",
|
|
107442
|
-
|
|
107448
|
+
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
107449
|
]),
|
|
107444
|
-
onClick: v1(
|
|
107450
|
+
onClick: v1(r, ["stop"]),
|
|
107445
107451
|
onKeydown: [
|
|
107446
|
-
j3(v1(
|
|
107447
|
-
j3(v1(
|
|
107452
|
+
j3(v1(r, ["stop"]), ["enter"]),
|
|
107453
|
+
j3(v1(r, ["stop", "prevent"]), ["space"])
|
|
107448
107454
|
]
|
|
107449
107455
|
}, null, 8, ["aria-label", "class", "onKeydown"])
|
|
107450
107456
|
]),
|
|
@@ -107454,15 +107460,19 @@ const LH = Q({
|
|
|
107454
107460
|
_: 1
|
|
107455
107461
|
}));
|
|
107456
107462
|
}
|
|
107457
|
-
}), _V2 = /* @__PURE__ */ v(SV2, [["__scopeId", "data-v-
|
|
107463
|
+
}), _V2 = /* @__PURE__ */ v(SV2, [["__scopeId", "data-v-9c6ca156"]]), MV2 = { class: "tw-whitespace-nowrap tw-text-sm" }, kV2 = /* @__PURE__ */ Q({
|
|
107458
107464
|
__name: "RedoButton",
|
|
107459
107465
|
setup(e) {
|
|
107460
|
-
const t = C5(), n = s0(), i = w2(), o = L(
|
|
107461
|
-
() => !t.canRedo || n.isProcessing || i.isSaving
|
|
107462
|
-
|
|
107463
|
-
|
|
107464
|
-
|
|
107465
|
-
|
|
107466
|
+
const t = C5(), n = s0(), i = w2(), o = p6(), s = L(
|
|
107467
|
+
() => !t.canRedo || n.isProcessing || i.isSaving || // Locked while a restore is applying (the apply awaits the designed-logo
|
|
107468
|
+
// re-render) or the template previews are refetching: re-entering
|
|
107469
|
+
// mid-regeneration overlapped two reloads and left the sidebar keyed to
|
|
107470
|
+
// the wrong logo (fast undo→redo desync).
|
|
107471
|
+
t.isApplyingSnapshot || o.isBusy
|
|
107472
|
+
), r = () => {
|
|
107473
|
+
s.value || t.redo();
|
|
107474
|
+
};
|
|
107475
|
+
return (a, l) => (C(), $(I(Nm), {
|
|
107466
107476
|
direction: "top",
|
|
107467
107477
|
alignment: "center",
|
|
107468
107478
|
"should-show-icon": !1,
|
|
@@ -107479,12 +107489,12 @@ const LH = Q({
|
|
|
107479
107489
|
tabindex: "0",
|
|
107480
107490
|
class: B([
|
|
107481
107491
|
"tw-p-2 tw-rounded tw-transition-colors",
|
|
107482
|
-
|
|
107492
|
+
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
107493
|
]),
|
|
107484
|
-
onClick: v1(
|
|
107494
|
+
onClick: v1(r, ["stop"]),
|
|
107485
107495
|
onKeydown: [
|
|
107486
|
-
j3(v1(
|
|
107487
|
-
j3(v1(
|
|
107496
|
+
j3(v1(r, ["stop"]), ["enter"]),
|
|
107497
|
+
j3(v1(r, ["stop", "prevent"]), ["space"])
|
|
107488
107498
|
]
|
|
107489
107499
|
}, null, 8, ["aria-label", "class", "onKeydown"])
|
|
107490
107500
|
]),
|
|
@@ -107494,7 +107504,7 @@ const LH = Q({
|
|
|
107494
107504
|
_: 1
|
|
107495
107505
|
}));
|
|
107496
107506
|
}
|
|
107497
|
-
}), LV2 = /* @__PURE__ */ v(kV2, [["__scopeId", "data-v-
|
|
107507
|
+
}), LV2 = /* @__PURE__ */ v(kV2, [["__scopeId", "data-v-346c90b7"]]), TV2 = {
|
|
107498
107508
|
components: {
|
|
107499
107509
|
Button: j1,
|
|
107500
107510
|
UndoButton: _V2,
|
|
@@ -107821,15 +107831,15 @@ const WV2 = /* @__PURE__ */ v(FV2, [["render", jV2]]), xH = Q({
|
|
|
107821
107831
|
},
|
|
107822
107832
|
watch: {
|
|
107823
107833
|
buttonShadowColor(e) {
|
|
107824
|
-
this.isColorMatch.buttonShadowColor =
|
|
107834
|
+
this.isColorMatch.buttonShadowColor = d9(e);
|
|
107825
107835
|
},
|
|
107826
107836
|
buttonSoftShadowColor(e) {
|
|
107827
|
-
this.isColorMatch.buttonSoftShadowColor =
|
|
107837
|
+
this.isColorMatch.buttonSoftShadowColor = d9(e);
|
|
107828
107838
|
}
|
|
107829
107839
|
},
|
|
107830
107840
|
created() {
|
|
107831
107841
|
this.isAdmin && Object.keys(this.isColorMatch).forEach((e) => {
|
|
107832
|
-
this.isColorMatch[e] = typeof this[e] == "string" &&
|
|
107842
|
+
this.isColorMatch[e] = typeof this[e] == "string" && d9(this[e]);
|
|
107833
107843
|
});
|
|
107834
107844
|
},
|
|
107835
107845
|
methods: {
|
|
@@ -108450,7 +108460,7 @@ const Ox2 = 100, IH = Q({
|
|
|
108450
108460
|
},
|
|
108451
108461
|
emits: ["create-team-cards"],
|
|
108452
108462
|
setup() {
|
|
108453
|
-
const e = c2(), t = P4(), n = B2(), i = Pe(), o = q2(), s = Me(), r = w2(), a =
|
|
108463
|
+
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
108464
|
return {
|
|
108455
108465
|
commonTr: V2,
|
|
108456
108466
|
currentNotificationMessage: L(
|
|
@@ -108670,7 +108680,7 @@ const Ox2 = 100, IH = Q({
|
|
|
108670
108680
|
}
|
|
108671
108681
|
},
|
|
108672
108682
|
setup() {
|
|
108673
|
-
const e =
|
|
108683
|
+
const e = p6(), t = w2(), n = c2(), i = q2(), o = Ve();
|
|
108674
108684
|
return {
|
|
108675
108685
|
isBusy: L(() => e.isBusy),
|
|
108676
108686
|
pageNo: L(() => e.pageNo),
|
|
@@ -108696,7 +108706,7 @@ const Ox2 = 100, IH = Q({
|
|
|
108696
108706
|
};
|
|
108697
108707
|
},
|
|
108698
108708
|
data() {
|
|
108699
|
-
const { tabsWithTranslations: e } =
|
|
108709
|
+
const { tabsWithTranslations: e } = p6();
|
|
108700
108710
|
return {
|
|
108701
108711
|
tabs: e.map((t) => t.displayName),
|
|
108702
108712
|
debounceOnSearch: void 0,
|
|
@@ -108720,7 +108730,7 @@ const Ox2 = 100, IH = Q({
|
|
|
108720
108730
|
computed: {
|
|
108721
108731
|
// typescript cannot resolve typing and throw TS4023
|
|
108722
108732
|
templates() {
|
|
108723
|
-
return
|
|
108733
|
+
return p6().templates;
|
|
108724
108734
|
},
|
|
108725
108735
|
isLoadMoreBtnEnabled() {
|
|
108726
108736
|
return this.isBusy || !this.pageCount ? !1 : this.pageNo < this.pageCount;
|
|
@@ -108955,7 +108965,7 @@ function Yx2(e, t, n, i, o, s) {
|
|
|
108955
108965
|
const Xx2 = /* @__PURE__ */ v(Nx2, [["render", Yx2], ["__scopeId", "data-v-246f2118"]]), Jx2 = 250, AH = Q({
|
|
108956
108966
|
emits: ["template-selected"],
|
|
108957
108967
|
setup() {
|
|
108958
|
-
const e = c2(), t = w2(), n = B2(), i =
|
|
108968
|
+
const e = c2(), t = w2(), n = B2(), i = p6();
|
|
108959
108969
|
return {
|
|
108960
108970
|
selectedTemplateId: L(
|
|
108961
108971
|
() => e.selectedTemplateId
|
|
@@ -109648,13 +109658,13 @@ const VH2 = /* @__PURE__ */ v(CH2, [["render", TH2]]), sN = {
|
|
|
109648
109658
|
if (!e)
|
|
109649
109659
|
return null;
|
|
109650
109660
|
switch (e) {
|
|
109651
|
-
case
|
|
109661
|
+
case e9.pending:
|
|
109652
109662
|
return this.isCustomDomainManagedByBrandCrowd ? k5("setupInProgress") : k5("pending");
|
|
109653
|
-
case
|
|
109663
|
+
case e9.active:
|
|
109654
109664
|
return k5("connected");
|
|
109655
|
-
case
|
|
109665
|
+
case e9.failed:
|
|
109656
109666
|
return k5("failed");
|
|
109657
|
-
case
|
|
109667
|
+
case e9.renewFailed:
|
|
109658
109668
|
return k5("failedToRenew");
|
|
109659
109669
|
default:
|
|
109660
109670
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -109667,12 +109677,12 @@ const VH2 = /* @__PURE__ */ v(CH2, [["render", TH2]]), sN = {
|
|
|
109667
109677
|
if (!e)
|
|
109668
109678
|
return null;
|
|
109669
109679
|
switch (e) {
|
|
109670
|
-
case
|
|
109680
|
+
case e9.pending:
|
|
109671
109681
|
return "tw-bg-warning-500";
|
|
109672
|
-
case
|
|
109682
|
+
case e9.active:
|
|
109673
109683
|
return "tw-bg-success-500";
|
|
109674
|
-
case
|
|
109675
|
-
case
|
|
109684
|
+
case e9.renewFailed:
|
|
109685
|
+
case e9.failed:
|
|
109676
109686
|
return "tw-bg-grayscale-600";
|
|
109677
109687
|
default:
|
|
109678
109688
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -109690,7 +109700,7 @@ const VH2 = /* @__PURE__ */ v(CH2, [["render", TH2]]), sN = {
|
|
|
109690
109700
|
return this.brandPageContainer.createCustomDomainErrorMessage;
|
|
109691
109701
|
},
|
|
109692
109702
|
customDomainDnsConfigurationErrorText() {
|
|
109693
|
-
if (this.brandPageContainer.customDomain?.status ===
|
|
109703
|
+
if (this.brandPageContainer.customDomain?.status === e9.active)
|
|
109694
109704
|
return null;
|
|
109695
109705
|
const e = this.brandPageContainer.customDomain?.dnsConfigurationStatus;
|
|
109696
109706
|
if (!e)
|
|
@@ -110621,7 +110631,7 @@ const rE2 = /* @__PURE__ */ v(sI2, [["render", sE2]]), aE2 = {
|
|
|
110621
110631
|
p("div", lE2, [
|
|
110622
110632
|
e.isMaker ? k("", !0) : (C(), f("div", dE2, [
|
|
110623
110633
|
p("div", cE2, [
|
|
110624
|
-
p("h3", CE2, P(I(
|
|
110634
|
+
p("h3", CE2, P(I(M6)("integrationSettings")), 1)
|
|
110625
110635
|
])
|
|
110626
110636
|
])),
|
|
110627
110637
|
p("div", {
|
|
@@ -111383,7 +111393,7 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111383
111393
|
title: I(V2)("settings")
|
|
111384
111394
|
}, null, 8, ["title"]),
|
|
111385
111395
|
p("div", LA2, [
|
|
111386
|
-
b.value ? (C(), $(I(
|
|
111396
|
+
b.value ? (C(), $(I(t9), {
|
|
111387
111397
|
key: 0,
|
|
111388
111398
|
"data-component": "collapsible-panel",
|
|
111389
111399
|
title: I(V2)("domains"),
|
|
@@ -111399,9 +111409,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111399
111409
|
]),
|
|
111400
111410
|
_: 1
|
|
111401
111411
|
}, 8, ["title"])) : k("", !0),
|
|
111402
|
-
T(I(
|
|
111412
|
+
T(I(t9), {
|
|
111403
111413
|
"data-component": "collapsible-panel",
|
|
111404
|
-
title: I(
|
|
111414
|
+
title: I(M6)("seoSettings"),
|
|
111405
111415
|
"is-collapsed": !0
|
|
111406
111416
|
}, {
|
|
111407
111417
|
default: o1(() => [
|
|
@@ -111415,9 +111425,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111415
111425
|
"tw-border-t tw-py-8": S.value
|
|
111416
111426
|
}])
|
|
111417
111427
|
}, [
|
|
111418
|
-
p("h3", TA2, P(I(
|
|
111419
|
-
p("p", VA2, P(I(
|
|
111420
|
-
p("h4", xA2, P(I(
|
|
111428
|
+
p("h3", TA2, P(I(M6)("favicon")), 1),
|
|
111429
|
+
p("p", VA2, P(I(M6)("faviconDescription")), 1),
|
|
111430
|
+
p("h4", xA2, P(I(M6)("icon")), 1),
|
|
111421
111431
|
T(it, {
|
|
111422
111432
|
name: "favicon",
|
|
111423
111433
|
"is-maker": !0,
|
|
@@ -111429,9 +111439,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111429
111439
|
]),
|
|
111430
111440
|
_: 1
|
|
111431
111441
|
}, 8, ["title"]),
|
|
111432
|
-
T(I(
|
|
111442
|
+
T(I(t9), {
|
|
111433
111443
|
"data-component": "collapsible-panel",
|
|
111434
|
-
title: I(
|
|
111444
|
+
title: I(M6)("integrationSettings"),
|
|
111435
111445
|
"is-collapsed": !0
|
|
111436
111446
|
}, {
|
|
111437
111447
|
default: o1(() => [
|
|
@@ -111445,9 +111455,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111445
111455
|
]),
|
|
111446
111456
|
_: 1
|
|
111447
111457
|
}, 8, ["title"]),
|
|
111448
|
-
T(I(
|
|
111458
|
+
T(I(t9), {
|
|
111449
111459
|
"data-component": "collapsible-panel",
|
|
111450
|
-
title: I(
|
|
111460
|
+
title: I(M6)("socialShareTitle"),
|
|
111451
111461
|
"is-collapsed": !0
|
|
111452
111462
|
}, {
|
|
111453
111463
|
default: o1(() => [
|
|
@@ -111462,18 +111472,18 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111462
111472
|
]),
|
|
111463
111473
|
_: 1
|
|
111464
111474
|
}, 8, ["title"]),
|
|
111465
|
-
D.value && !M.value ? (C(), $(I(
|
|
111475
|
+
D.value && !M.value ? (C(), $(I(t9), {
|
|
111466
111476
|
key: 1,
|
|
111467
111477
|
"data-component": "collapsible-panel",
|
|
111468
|
-
title: I(
|
|
111478
|
+
title: I(M6)("paymentProvidersTitle"),
|
|
111469
111479
|
"is-collapsed": !0
|
|
111470
111480
|
}, {
|
|
111471
111481
|
default: o1(() => [
|
|
111472
111482
|
p("div", HA2, [
|
|
111473
111483
|
T(ab, {
|
|
111474
|
-
title: I(
|
|
111484
|
+
title: I(M6)("paymentProvidersTitle")
|
|
111475
111485
|
}, null, 8, ["title"]),
|
|
111476
|
-
p("p", IA2, P(I(
|
|
111486
|
+
p("p", IA2, P(I(M6)("paymentProvidersDescription")), 1),
|
|
111477
111487
|
u.value ? (C(), $(I(kg1), {
|
|
111478
111488
|
key: 0,
|
|
111479
111489
|
class: "tw-mt-3",
|
|
@@ -111485,7 +111495,7 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111485
111495
|
key: 1,
|
|
111486
111496
|
class: "tw-mt-3",
|
|
111487
111497
|
variant: "outline",
|
|
111488
|
-
label: I(
|
|
111498
|
+
label: I(M6)("paymentProvidersAddProviderLabel"),
|
|
111489
111499
|
size: "small-wide",
|
|
111490
111500
|
onOnClick: v1(U, ["stop"])
|
|
111491
111501
|
}, null, 8, ["label"])) : k("", !0)
|
|
@@ -111493,7 +111503,7 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111493
111503
|
]),
|
|
111494
111504
|
_: 1
|
|
111495
111505
|
}, 8, ["title"])) : k("", !0),
|
|
111496
|
-
S.value ? (C(), $(I(
|
|
111506
|
+
S.value ? (C(), $(I(t9), {
|
|
111497
111507
|
key: 2,
|
|
111498
111508
|
"data-component": "collapsible-panel",
|
|
111499
111509
|
title: I(V2)("sensitiveContent"),
|
|
@@ -111511,7 +111521,7 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111511
111521
|
]),
|
|
111512
111522
|
_: 1
|
|
111513
111523
|
}, 8, ["title"])) : k("", !0),
|
|
111514
|
-
x.value ? (C(), $(I(
|
|
111524
|
+
x.value ? (C(), $(I(t9), {
|
|
111515
111525
|
key: 3,
|
|
111516
111526
|
ref_key: "saveContactPanel",
|
|
111517
111527
|
ref: s,
|
|
@@ -111530,9 +111540,9 @@ const cA2 = /* @__PURE__ */ v(aA2, [["render", dA2]]), CA2 = {
|
|
|
111530
111540
|
]),
|
|
111531
111541
|
_: 1
|
|
111532
111542
|
}, 8, ["title"])) : k("", !0),
|
|
111533
|
-
T(I(
|
|
111543
|
+
T(I(t9), {
|
|
111534
111544
|
"data-component": "collapsible-panel",
|
|
111535
|
-
title: I(
|
|
111545
|
+
title: I(M6)("cookieCollection"),
|
|
111536
111546
|
"is-collapsed": !0
|
|
111537
111547
|
}, {
|
|
111538
111548
|
default: o1(() => [
|
|
@@ -111700,17 +111710,17 @@ const RA2 = /* @__PURE__ */ v(OA2, [["render", NA2]]), l7 = {
|
|
|
111700
111710
|
(e) => {
|
|
111701
111711
|
switch (e) {
|
|
111702
111712
|
case l7.style:
|
|
111703
|
-
this.isColorMatch[e] =
|
|
111713
|
+
this.isColorMatch[e] = d9(
|
|
111704
111714
|
this.backgroundStyles?.style.background
|
|
111705
111715
|
);
|
|
111706
111716
|
return;
|
|
111707
111717
|
case l7.backgroundShapeStyle:
|
|
111708
|
-
this.isColorMatch[e] =
|
|
111718
|
+
this.isColorMatch[e] = d9(
|
|
111709
111719
|
this.backgroundStyles?.backgroundShapeStyle.color
|
|
111710
111720
|
);
|
|
111711
111721
|
return;
|
|
111712
111722
|
case l7.shape:
|
|
111713
|
-
this.isColorMatch[e] =
|
|
111723
|
+
this.isColorMatch[e] = d9(
|
|
111714
111724
|
this.backgroundStyles?.backgroundShapes[0]?.style.color
|
|
111715
111725
|
);
|
|
111716
111726
|
return;
|
|
@@ -112893,7 +112903,7 @@ const i$2 = [
|
|
|
112893
112903
|
if (!e || typeof e != "object") return null;
|
|
112894
112904
|
const t = e, n = {};
|
|
112895
112905
|
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
|
-
},
|
|
112906
|
+
}, _6 = (e) => {
|
|
112897
112907
|
if (!e || typeof e != "object") return null;
|
|
112898
112908
|
const n = e.backgroundColor;
|
|
112899
112909
|
return typeof n != "string" || !n ? null : { backgroundStyle: { backgroundColor: n } };
|
|
@@ -112947,7 +112957,7 @@ const i$2 = [
|
|
|
112947
112957
|
buttonTextStyle: o.buttonTextStyle
|
|
112948
112958
|
},
|
|
112949
112959
|
...xl(o.cardStyle),
|
|
112950
|
-
...
|
|
112960
|
+
..._6(o.backgroundStyle)
|
|
112951
112961
|
};
|
|
112952
112962
|
case "about-section":
|
|
112953
112963
|
return {
|
|
@@ -112960,7 +112970,7 @@ const i$2 = [
|
|
|
112960
112970
|
...Oe(o.paragraphStyle) && {
|
|
112961
112971
|
paragraphStyle: o.paragraphStyle
|
|
112962
112972
|
},
|
|
112963
|
-
...
|
|
112973
|
+
..._6(o.backgroundStyle)
|
|
112964
112974
|
};
|
|
112965
112975
|
case "testimonial-section":
|
|
112966
112976
|
return {
|
|
@@ -112985,7 +112995,7 @@ const i$2 = [
|
|
|
112985
112995
|
positionStyle: o.positionStyle
|
|
112986
112996
|
},
|
|
112987
112997
|
...xl(o.cardStyle),
|
|
112988
|
-
...
|
|
112998
|
+
..._6(o.backgroundStyle)
|
|
112989
112999
|
};
|
|
112990
113000
|
case "images-section":
|
|
112991
113001
|
case "shapes-section":
|
|
@@ -113017,7 +113027,7 @@ const i$2 = [
|
|
|
113017
113027
|
buttonTextStyle: o.buttonTextStyle
|
|
113018
113028
|
},
|
|
113019
113029
|
...xl(o.cardStyle),
|
|
113020
|
-
...
|
|
113030
|
+
..._6(o.backgroundStyle)
|
|
113021
113031
|
};
|
|
113022
113032
|
case "text":
|
|
113023
113033
|
return {
|
|
@@ -113031,7 +113041,7 @@ const i$2 = [
|
|
|
113031
113041
|
}))
|
|
113032
113042
|
},
|
|
113033
113043
|
...Oe(o.textStyle) && { textStyle: o.textStyle },
|
|
113034
|
-
...
|
|
113044
|
+
..._6(o.backgroundStyle)
|
|
113035
113045
|
};
|
|
113036
113046
|
case "profile":
|
|
113037
113047
|
return {
|
|
@@ -113049,7 +113059,7 @@ const i$2 = [
|
|
|
113049
113059
|
...Oe(o.descriptionStyle) && {
|
|
113050
113060
|
descriptionStyle: o.descriptionStyle
|
|
113051
113061
|
},
|
|
113052
|
-
...
|
|
113062
|
+
..._6(o.backgroundStyle)
|
|
113053
113063
|
};
|
|
113054
113064
|
case "contact-form":
|
|
113055
113065
|
return {
|
|
@@ -113068,7 +113078,7 @@ const i$2 = [
|
|
|
113068
113078
|
buttonTextStyle: o.buttonTextStyle
|
|
113069
113079
|
},
|
|
113070
113080
|
...xl(o.cardStyle),
|
|
113071
|
-
...
|
|
113081
|
+
..._6(o.backgroundStyle)
|
|
113072
113082
|
};
|
|
113073
113083
|
case "mailing-list":
|
|
113074
113084
|
return {
|
|
@@ -113079,7 +113089,7 @@ const i$2 = [
|
|
|
113079
113089
|
...Oe(o.buttonTextStyle) && {
|
|
113080
113090
|
buttonTextStyle: o.buttonTextStyle
|
|
113081
113091
|
},
|
|
113082
|
-
...
|
|
113092
|
+
..._6(o.backgroundStyle)
|
|
113083
113093
|
};
|
|
113084
113094
|
case "booking-section":
|
|
113085
113095
|
return {
|
|
@@ -113101,7 +113111,7 @@ const i$2 = [
|
|
|
113101
113111
|
...Oe(o.buttonTextStyle) && {
|
|
113102
113112
|
buttonTextStyle: o.buttonTextStyle
|
|
113103
113113
|
},
|
|
113104
|
-
...
|
|
113114
|
+
..._6(o.backgroundStyle)
|
|
113105
113115
|
};
|
|
113106
113116
|
case "social-links":
|
|
113107
113117
|
return {
|
|
@@ -113115,14 +113125,14 @@ const i$2 = [
|
|
|
113115
113125
|
}))
|
|
113116
113126
|
},
|
|
113117
113127
|
...Oe(o.titleStyle) && { titleStyle: o.titleStyle },
|
|
113118
|
-
...
|
|
113128
|
+
..._6(o.backgroundStyle)
|
|
113119
113129
|
};
|
|
113120
113130
|
case "divider-section":
|
|
113121
113131
|
return {
|
|
113122
113132
|
...i,
|
|
113123
113133
|
...o.paddingStyle !== void 0 && { paddingStyle: o.paddingStyle },
|
|
113124
113134
|
...v3(o.dividerStyle) && { dividerStyle: o.dividerStyle },
|
|
113125
|
-
...
|
|
113135
|
+
..._6(o.backgroundStyle)
|
|
113126
113136
|
};
|
|
113127
113137
|
case "shop-section":
|
|
113128
113138
|
return {
|
|
@@ -113135,7 +113145,7 @@ const i$2 = [
|
|
|
113135
113145
|
...Oe(o.descriptionStyle) && {
|
|
113136
113146
|
descriptionStyle: o.descriptionStyle
|
|
113137
113147
|
},
|
|
113138
|
-
...
|
|
113148
|
+
..._6(o.backgroundStyle)
|
|
113139
113149
|
};
|
|
113140
113150
|
case "image":
|
|
113141
113151
|
return {
|
|
@@ -113343,7 +113353,7 @@ const i$2 = [
|
|
|
113343
113353
|
// Website-level operations
|
|
113344
113354
|
UNDO_WEBSITE: "undo-website"
|
|
113345
113355
|
};
|
|
113346
|
-
class
|
|
113356
|
+
class F6 {
|
|
113347
113357
|
request;
|
|
113348
113358
|
logger;
|
|
113349
113359
|
eventTracker;
|
|
@@ -113377,7 +113387,7 @@ const l$2 = (e, t) => ({
|
|
|
113377
113387
|
o && typeof o == "string" && Re(o) ? e[t] = Sg(o, n) : e[t] = n;
|
|
113378
113388
|
}
|
|
113379
113389
|
};
|
|
113380
|
-
class c$2 extends
|
|
113390
|
+
class c$2 extends F6 {
|
|
113381
113391
|
constructor(t, n) {
|
|
113382
113392
|
super(t, n);
|
|
113383
113393
|
}
|
|
@@ -113521,7 +113531,7 @@ const C3 = (e) => typeof e == "object" && e !== null && e.type === "doc" && Arra
|
|
|
113521
113531
|
e[s] = a, e[t] = lN(e[t], a);
|
|
113522
113532
|
}
|
|
113523
113533
|
};
|
|
113524
|
-
class m$2 extends
|
|
113534
|
+
class m$2 extends F6 {
|
|
113525
113535
|
constructor(t, n) {
|
|
113526
113536
|
super(t, n);
|
|
113527
113537
|
}
|
|
@@ -113606,7 +113616,7 @@ const KH = (e, t) => {
|
|
|
113606
113616
|
} : void 0;
|
|
113607
113617
|
return i.createInitialContent(o);
|
|
113608
113618
|
};
|
|
113609
|
-
class j5 extends
|
|
113619
|
+
class j5 extends F6 {
|
|
113610
113620
|
/**
|
|
113611
113621
|
* Content ID resolved during `resolveAndRepositionContent` (CREATE: the
|
|
113612
113622
|
* id of the freshly-created content; UPDATE: the id of the located target).
|
|
@@ -114238,7 +114248,7 @@ const nB2 = () => new _w({
|
|
|
114238
114248
|
Q$2(e)
|
|
114239
114249
|
], oB2 = [
|
|
114240
114250
|
...w3("title", b3),
|
|
114241
|
-
...w3("description",
|
|
114251
|
+
...w3("description", f6),
|
|
114242
114252
|
...w3("button_text", b3),
|
|
114243
114253
|
o3("title_style"),
|
|
114244
114254
|
o3("description_style"),
|
|
@@ -114322,7 +114332,7 @@ class XH extends j5 {
|
|
|
114322
114332
|
}
|
|
114323
114333
|
const lB2 = [
|
|
114324
114334
|
...w3("title", b3),
|
|
114325
|
-
...w3("description",
|
|
114335
|
+
...w3("description", f6),
|
|
114326
114336
|
...w3("button_text", b3),
|
|
114327
114337
|
o3("title_style"),
|
|
114328
114338
|
o3("description_style"),
|
|
@@ -114371,7 +114381,7 @@ class JH extends j5 {
|
|
|
114371
114381
|
}
|
|
114372
114382
|
const cB2 = [
|
|
114373
114383
|
...w3("title", b3),
|
|
114374
|
-
...w3("paragraph",
|
|
114384
|
+
...w3("paragraph", f6),
|
|
114375
114385
|
o3("title_style"),
|
|
114376
114386
|
o3("paragraph_style"),
|
|
114377
114387
|
G5(
|
|
@@ -114426,7 +114436,7 @@ class QH extends j5 {
|
|
|
114426
114436
|
}
|
|
114427
114437
|
const uB2 = [
|
|
114428
114438
|
...w3("title", b3),
|
|
114429
|
-
...w3("description",
|
|
114439
|
+
...w3("description", f6),
|
|
114430
114440
|
...w3("button_text", b3),
|
|
114431
114441
|
...w3("success_message", b3),
|
|
114432
114442
|
o3("title_style"),
|
|
@@ -114684,7 +114694,7 @@ const Am = {
|
|
|
114684
114694
|
o3("testimonial_style"),
|
|
114685
114695
|
o3("name_style"),
|
|
114686
114696
|
o3("position_style"),
|
|
114687
|
-
K9("items", "testimonial",
|
|
114697
|
+
K9("items", "testimonial", f6),
|
|
114688
114698
|
Y9("items", "testimonial"),
|
|
114689
114699
|
K9("items", "name", b3),
|
|
114690
114700
|
Y9("items", "name"),
|
|
@@ -114846,14 +114856,14 @@ class iI extends j5 {
|
|
|
114846
114856
|
}
|
|
114847
114857
|
const LB2 = [
|
|
114848
114858
|
...w3("title", b3),
|
|
114849
|
-
...w3("description",
|
|
114859
|
+
...w3("description", f6),
|
|
114850
114860
|
o3("title_style"),
|
|
114851
114861
|
o3("description_style"),
|
|
114852
114862
|
o3("heading_style"),
|
|
114853
114863
|
o3("paragraph_style"),
|
|
114854
114864
|
K9("items", "heading", b3),
|
|
114855
114865
|
Y9("items", "heading"),
|
|
114856
|
-
K9("items", "text",
|
|
114866
|
+
K9("items", "text", f6),
|
|
114857
114867
|
Y9("items", "text"),
|
|
114858
114868
|
K9("items", "button_text", b3),
|
|
114859
114869
|
Y9("items", "button_text"),
|
|
@@ -115026,14 +115036,14 @@ class oI extends j5 {
|
|
|
115026
115036
|
}
|
|
115027
115037
|
const HB2 = [
|
|
115028
115038
|
...w3("title", b3),
|
|
115029
|
-
...w3("description",
|
|
115039
|
+
...w3("description", f6),
|
|
115030
115040
|
o3("title_style"),
|
|
115031
115041
|
o3("description_style"),
|
|
115032
115042
|
o3("heading_style"),
|
|
115033
115043
|
o3("paragraph_style"),
|
|
115034
115044
|
K9("items", "heading", b3),
|
|
115035
115045
|
Y9("items", "heading"),
|
|
115036
|
-
K9("items", "text",
|
|
115046
|
+
K9("items", "text", f6),
|
|
115037
115047
|
Y9("items", "text"),
|
|
115038
115048
|
G5(
|
|
115039
115049
|
"display_style",
|
|
@@ -115220,7 +115230,7 @@ class sI extends j5 {
|
|
|
115220
115230
|
const PB2 = [
|
|
115221
115231
|
G5(
|
|
115222
115232
|
"icon_style",
|
|
115223
|
-
Object.keys(
|
|
115233
|
+
Object.keys(V6),
|
|
115224
115234
|
"social-links"
|
|
115225
115235
|
),
|
|
115226
115236
|
RC(
|
|
@@ -115370,7 +115380,7 @@ class aI extends j5 {
|
|
|
115370
115380
|
const zB2 = [
|
|
115371
115381
|
...w3("name", b3),
|
|
115372
115382
|
...w3("title", b3),
|
|
115373
|
-
...w3("description",
|
|
115383
|
+
...w3("description", f6),
|
|
115374
115384
|
o3("name_style"),
|
|
115375
115385
|
o3("title_style"),
|
|
115376
115386
|
o3("description_style")
|
|
@@ -115458,7 +115468,7 @@ class y3 extends j5 {
|
|
|
115458
115468
|
return "error" in i ? i.error : (W5(i.content, this.args, this.sectionType), { request: this.request, model: t });
|
|
115459
115469
|
}
|
|
115460
115470
|
}
|
|
115461
|
-
class YB2 extends
|
|
115471
|
+
class YB2 extends F6 {
|
|
115462
115472
|
constructor(t, n, i) {
|
|
115463
115473
|
super(t, n, i);
|
|
115464
115474
|
}
|
|
@@ -115493,7 +115503,7 @@ class YB2 extends Z6 {
|
|
|
115493
115503
|
};
|
|
115494
115504
|
}
|
|
115495
115505
|
}
|
|
115496
|
-
class XB2 extends
|
|
115506
|
+
class XB2 extends F6 {
|
|
115497
115507
|
constructor(t, n) {
|
|
115498
115508
|
super(t, n);
|
|
115499
115509
|
}
|
|
@@ -115542,7 +115552,7 @@ const JB2 = [
|
|
|
115542
115552
|
(e) => e?.pageName ? null : "page_name is required for add_page",
|
|
115543
115553
|
(e) => e?.pageName && e.pageName.length > Nn.pageName ? `page_name exceeds the maximum length of ${Nn.pageName} characters (got ${e.pageName.length})` : null
|
|
115544
115554
|
];
|
|
115545
|
-
class QB2 extends
|
|
115555
|
+
class QB2 extends F6 {
|
|
115546
115556
|
constructor(t, n) {
|
|
115547
115557
|
super(t, n);
|
|
115548
115558
|
}
|
|
@@ -115586,7 +115596,7 @@ class QB2 extends Z6 {
|
|
|
115586
115596
|
}), { request: this.request, model: t };
|
|
115587
115597
|
}
|
|
115588
115598
|
}
|
|
115589
|
-
class eO2 extends
|
|
115599
|
+
class eO2 extends F6 {
|
|
115590
115600
|
constructor(t, n) {
|
|
115591
115601
|
super(t, n);
|
|
115592
115602
|
}
|
|
@@ -115621,7 +115631,7 @@ const tO2 = [
|
|
|
115621
115631
|
(e) => e?.pageName ? null : "page_name is required for rename_page",
|
|
115622
115632
|
(e) => e?.pageName && e.pageName.length > Nn.pageName ? `page_name exceeds the maximum length of ${Nn.pageName} characters (got ${e.pageName.length})` : null
|
|
115623
115633
|
];
|
|
115624
|
-
class nO2 extends
|
|
115634
|
+
class nO2 extends F6 {
|
|
115625
115635
|
constructor(t, n) {
|
|
115626
115636
|
super(t, n);
|
|
115627
115637
|
}
|
|
@@ -115737,7 +115747,7 @@ const iO2 = ["desktop", "mobile"].flatMap((e) => [
|
|
|
115737
115747
|
fill: t.icon_color
|
|
115738
115748
|
}), 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
115749
|
};
|
|
115740
|
-
class rO2 extends
|
|
115750
|
+
class rO2 extends F6 {
|
|
115741
115751
|
constructor(t, n) {
|
|
115742
115752
|
super(t, n);
|
|
115743
115753
|
}
|
|
@@ -115790,7 +115800,7 @@ const wN = [
|
|
|
115790
115800
|
}
|
|
115791
115801
|
)
|
|
115792
115802
|
];
|
|
115793
|
-
class lO2 extends
|
|
115803
|
+
class lO2 extends F6 {
|
|
115794
115804
|
constructor(t, n) {
|
|
115795
115805
|
super(t, n);
|
|
115796
115806
|
}
|
|
@@ -115943,7 +115953,7 @@ const dO2 = [
|
|
|
115943
115953
|
}
|
|
115944
115954
|
}
|
|
115945
115955
|
};
|
|
115946
|
-
class CO2 extends
|
|
115956
|
+
class CO2 extends F6 {
|
|
115947
115957
|
constructor(t, n) {
|
|
115948
115958
|
super(t, n);
|
|
115949
115959
|
}
|
|
@@ -115978,7 +115988,7 @@ class CO2 extends Z6 {
|
|
|
115978
115988
|
), { request: this.request, model: t };
|
|
115979
115989
|
}
|
|
115980
115990
|
}
|
|
115981
|
-
class uO2 extends
|
|
115991
|
+
class uO2 extends F6 {
|
|
115982
115992
|
constructor(t, n) {
|
|
115983
115993
|
super(t, n);
|
|
115984
115994
|
}
|
|
@@ -117203,7 +117213,7 @@ const IN2 = /* @__PURE__ */ v(IO2, [["render", qO2], ["__scopeId", "data-v-2e7e5
|
|
|
117203
117213
|
return this.purchasedDomains.length > 0;
|
|
117204
117214
|
},
|
|
117205
117215
|
isActiveDomain() {
|
|
117206
|
-
return this.brandPageContainerStore.isCustomDomainEnabled && this.customDomain && this.brandPageContainerStore.customDomain.status ===
|
|
117216
|
+
return this.brandPageContainerStore.isCustomDomainEnabled && this.customDomain && this.brandPageContainerStore.customDomain.status === e9.active;
|
|
117207
117217
|
}
|
|
117208
117218
|
},
|
|
117209
117219
|
watch: {
|
|
@@ -117529,7 +117539,7 @@ export {
|
|
|
117529
117539
|
V62 as R,
|
|
117530
117540
|
M62 as S,
|
|
117531
117541
|
y62 as T,
|
|
117532
|
-
|
|
117542
|
+
e9 as U,
|
|
117533
117543
|
N32 as V,
|
|
117534
117544
|
A62 as W,
|
|
117535
117545
|
G2 as X,
|
|
@@ -117576,10 +117586,10 @@ export {
|
|
|
117576
117586
|
jL1 as aZ,
|
|
117577
117587
|
Gn as a_,
|
|
117578
117588
|
N52 as aa,
|
|
117579
|
-
|
|
117589
|
+
s9 as ab,
|
|
117580
117590
|
q52 as ac,
|
|
117581
117591
|
P2 as ad,
|
|
117582
|
-
|
|
117592
|
+
n9 as ae,
|
|
117583
117593
|
dt as af,
|
|
117584
117594
|
d3 as ag,
|
|
117585
117595
|
E9 as ah,
|
|
@@ -117611,7 +117621,7 @@ export {
|
|
|
117611
117621
|
C62 as b5,
|
|
117612
117622
|
u62 as b6,
|
|
117613
117623
|
De as b7,
|
|
117614
|
-
|
|
117624
|
+
V6 as b8,
|
|
117615
117625
|
d62 as b9,
|
|
117616
117626
|
pn as bA,
|
|
117617
117627
|
A4 as bB,
|
|
@@ -117667,7 +117677,7 @@ export {
|
|
|
117667
117677
|
Tm as by,
|
|
117668
117678
|
x5 as bz,
|
|
117669
117679
|
U7 as c,
|
|
117670
|
-
|
|
117680
|
+
a9 as c0,
|
|
117671
117681
|
DE as c1,
|
|
117672
117682
|
By as c2,
|
|
117673
117683
|
Yt as c3,
|