@builder.io/sdk-vue 5.2.5 → 5.2.6
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/browser/{awaiter-RQWxLPh7.cjs → awaiter-fjkJEwL2.cjs} +1 -1
- package/lib/browser/{awaiter-BKtN2AMs.js → awaiter-uv2UPA7r.js} +1 -1
- package/lib/browser/{block-wrapper-nMKh8p11.cjs → block-wrapper-78wlnbq2.cjs} +1 -1
- package/lib/browser/{block-wrapper-tny9tjLX.js → block-wrapper-JeL_jj_h.js} +3 -3
- package/lib/browser/blocks/image/image.vue.d.ts +4 -3
- package/lib/browser/{component-ref-d2TAsp69.js → component-ref-mKp3QJjb.js} +4 -4
- package/lib/browser/{component-ref-Mw4IXQsf.cjs → component-ref-x3D964Ui.cjs} +1 -1
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-yuV5qbSy.cjs → get-block-properties-OItA8P2h.cjs} +1 -1
- package/lib/browser/{get-block-properties-DXgJ283y.js → get-block-properties-gsdrxoRd.js} +1 -1
- package/lib/browser/{index-NzYhd2fP.js → index-SDeF5ljo.js} +98 -92
- package/lib/browser/{index-yyjVNpWr.cjs → index-bSLOTVNj.cjs} +5 -5
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-MYo3p6a8.js → live-edit-G9Y94Fp3.js} +1 -1
- package/lib/browser/{live-edit-2xpHwDC6.cjs → live-edit-tGxAmCBt.cjs} +1 -1
- package/lib/browser/{repeated-block-2EBzVyUu.cjs → repeated-block-Fy3-rBBk.cjs} +1 -1
- package/lib/browser/{repeated-block-Ga5ASejd.js → repeated-block-WgU2OssJ.js} +2 -2
- package/lib/browser/{style-wrapper-L7DnOyfm.cjs → style-wrapper-EIQ0LSdQ.cjs} +1 -1
- package/lib/browser/{style-wrapper-dI5wRv59.js → style-wrapper-VY7cdn42.js} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-6AjvWUxL.cjs → awaiter-To0MGZ0d.cjs} +1 -1
- package/lib/edge/{awaiter-4nEUChYV.js → awaiter-xFN_a7xm.js} +1 -1
- package/lib/edge/{block-wrapper-46vOpFGy.js → block-wrapper-1dKtPesr.js} +3 -3
- package/lib/{node/block-wrapper-CVcdunhe.cjs → edge/block-wrapper-_thG9C3r.cjs} +1 -1
- package/lib/edge/blocks/image/image.vue.d.ts +4 -3
- package/lib/edge/{component-ref-DUyRq-EJ.cjs → component-ref-Yf97BoLu.cjs} +1 -1
- package/lib/edge/{component-ref-yTXpKy_r.js → component-ref-e50s6g-8.js} +4 -4
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-W3W_9H-Z.js → get-block-properties-EY1VltaD.js} +1 -1
- package/lib/edge/{get-block-properties-jJLbFHeq.cjs → get-block-properties-_upYTgwb.cjs} +1 -1
- package/lib/edge/{index-DHXkBA25.js → index-47Iqxag2.js} +218 -212
- package/lib/edge/{index-jpFEl6o1.cjs → index-i395EE2u.cjs} +5 -5
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-iOkS0wUg.cjs → edge/live-edit-NYmL2A7N.cjs} +1 -1
- package/lib/{node/live-edit-NBkhYc-u.js → edge/live-edit-pS9LVcQU.js} +1 -1
- package/lib/edge/{repeated-block-dGVzaSM5.cjs → repeated-block-PQOSkxIA.cjs} +1 -1
- package/lib/edge/{repeated-block-eANZkOUH.js → repeated-block-YtApB6_A.js} +2 -2
- package/lib/edge/{style-wrapper-GqtgkGuc.js → style-wrapper-_yXwiJwO.js} +1 -1
- package/lib/edge/{style-wrapper-CvNVb0wT.cjs → style-wrapper-lmmE3giL.cjs} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-6JHJCJgG.js → awaiter-DD7OMOMu.js} +1 -1
- package/lib/node/{awaiter-_rQTvMWR.cjs → awaiter-ef2JaOpA.cjs} +1 -1
- package/lib/{edge/block-wrapper-97OfjwlX.cjs → node/block-wrapper-2UZEHIep.cjs} +1 -1
- package/lib/node/{block-wrapper-3P0_XOfk.js → block-wrapper-QV4wX7ge.js} +3 -3
- package/lib/node/blocks/image/image.vue.d.ts +4 -3
- package/lib/node/{component-ref-RHwChjOp.js → component-ref-BVAWbmSM.js} +5 -5
- package/lib/node/{component-ref-tWjNsmU5.cjs → component-ref-PBLhD067.cjs} +1 -1
- package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-jknWz7As.cjs → get-block-properties-FqOAzbbj.cjs} +1 -1
- package/lib/node/{get-block-properties-9gqKfU1J.js → get-block-properties-jtxNpCjP.js} +2 -2
- package/lib/node/{index-CwfwLkvc.js → index-ebgoy2dh.js} +70 -64
- package/lib/node/{index-eeU-4w7r.cjs → index-sUYiBczF.cjs} +5 -5
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +1 -1
- package/lib/{edge/live-edit-WpboQZDv.cjs → node/live-edit-GjqOXJlY.cjs} +1 -1
- package/lib/{edge/live-edit-nhAMI-64.js → node/live-edit-WlaTJPy3.js} +1 -1
- package/lib/node/{repeated-block-BqCLqE8_.cjs → repeated-block-M3uZwBiE.cjs} +1 -1
- package/lib/node/{repeated-block-aHj4jtJt.js → repeated-block-u2S52SQe.js} +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-2bRYXF-W.js → should-force-browser-runtime-in-node-0fyWCMQO.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-j9YDACzy.cjs → should-force-browser-runtime-in-node-djPOsLG6.cjs} +1 -1
- package/lib/node/{style-wrapper-WxU8Uo4d.cjs → style-wrapper-Kc9lgaOA.cjs} +1 -1
- package/lib/node/{style-wrapper-kcTKCb_j.js → style-wrapper-OtcV4kQU.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as X, mergeProps as $, toHandlers as L, withCtx as
|
|
2
|
+
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as X, mergeProps as $, toHandlers as L, withCtx as O, renderSlot as N, resolveComponent as k, createTextVNode as Vt, toDisplayString as de, defineAsyncComponent as Y, createVNode as E, renderList as F, createCommentVNode as C, h as Qe, createElementVNode as q, normalizeStyle as M, normalizeClass as _, markRaw as Nt } from "vue";
|
|
3
3
|
const Wt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Dt = (e) => typeof e == "string" && Wt.has(e.toLowerCase());
|
|
4
4
|
function W(e = {}, t, n) {
|
|
5
5
|
const o = {};
|
|
@@ -11,7 +11,7 @@ function W(e = {}, t, n) {
|
|
|
11
11
|
}
|
|
12
12
|
return o;
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const xt = y({
|
|
15
15
|
name: "dynamic-renderer",
|
|
16
16
|
props: ["TagName", "attributes", "actionAttributes"],
|
|
17
17
|
data() {
|
|
@@ -23,22 +23,22 @@ const Ot = y({
|
|
|
23
23
|
n[o] = r;
|
|
24
24
|
return n;
|
|
25
25
|
};
|
|
26
|
-
function
|
|
26
|
+
function Ot(e, t, n, o, r, i) {
|
|
27
27
|
return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName), $({ key: 1 }, e.attributes, L(e.actionAttributes)), null, 16)) : (d(), h(I, { key: 0 }, [
|
|
28
28
|
typeof e.TagName == "string" ? (d(), S(X(e.TagName), $({ key: 0 }, e.attributes, L(e.actionAttributes)), {
|
|
29
|
-
default:
|
|
29
|
+
default: O(() => [
|
|
30
30
|
N(e.$slots, "default")
|
|
31
31
|
]),
|
|
32
32
|
_: 3
|
|
33
33
|
}, 16)) : (d(), S(X(e.TagName), $({ key: 1 }, e.attributes, L(e.actionAttributes)), {
|
|
34
|
-
default:
|
|
34
|
+
default: O(() => [
|
|
35
35
|
N(e.$slots, "default")
|
|
36
36
|
]),
|
|
37
37
|
_: 3
|
|
38
38
|
}, 16))
|
|
39
39
|
], 64));
|
|
40
40
|
}
|
|
41
|
-
const Te = /* @__PURE__ */ v(
|
|
41
|
+
const Te = /* @__PURE__ */ v(xt, [["render", Ot]]), vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
default: Te
|
|
44
44
|
}, Symbol.toStringTag, { value: "Module" })), R = "vue", j = () => {
|
|
@@ -90,7 +90,7 @@ function Lt(e, t, n, o, r, i) {
|
|
|
90
90
|
TagName: e.link ? e.builderLinkComponent || "a" : "button",
|
|
91
91
|
actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
|
|
92
92
|
}, {
|
|
93
|
-
default:
|
|
93
|
+
default: O(() => [
|
|
94
94
|
Vt(de(e.text), 1)
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
@@ -142,14 +142,14 @@ function A(e) {
|
|
|
142
142
|
return Kt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
|
|
143
143
|
_e(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
|
|
144
144
|
}
|
|
145
|
-
const
|
|
145
|
+
const zt = () => {
|
|
146
146
|
if (T()) {
|
|
147
147
|
const e = new URL(location.href);
|
|
148
148
|
return e.pathname === "" && (e.pathname = "/"), e;
|
|
149
149
|
} else
|
|
150
150
|
return console.warn("Cannot get location for tracking in non-browser environment"), null;
|
|
151
|
-
},
|
|
152
|
-
const e =
|
|
151
|
+
}, qt = () => typeof navigator == "object" && navigator.userAgent || "", et = () => {
|
|
152
|
+
const e = qt(), t = {
|
|
153
153
|
Android() {
|
|
154
154
|
return e.match(/Android/i);
|
|
155
155
|
},
|
|
@@ -168,13 +168,13 @@ const qt = () => {
|
|
|
168
168
|
any() {
|
|
169
169
|
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || R === "reactNative";
|
|
170
170
|
}
|
|
171
|
-
}, n = e.match(/Tablet|iPad/i), o =
|
|
171
|
+
}, n = e.match(/Tablet|iPad/i), o = zt();
|
|
172
172
|
return {
|
|
173
173
|
urlPath: o == null ? void 0 : o.pathname,
|
|
174
174
|
host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
|
|
175
175
|
device: n ? "tablet" : t.any() ? "mobile" : "desktop"
|
|
176
176
|
};
|
|
177
|
-
}, tt = "5.2.
|
|
177
|
+
}, tt = "5.2.6", nt = () => ({
|
|
178
178
|
"X-Builder-SDK": R,
|
|
179
179
|
"X-Builder-SDK-GEN": "2",
|
|
180
180
|
"X-Builder-SDK-Version": tt
|
|
@@ -432,7 +432,7 @@ function lt({
|
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
|
-
const
|
|
435
|
+
const Oe = ({
|
|
436
436
|
code: e,
|
|
437
437
|
builder: t,
|
|
438
438
|
context: n,
|
|
@@ -467,7 +467,7 @@ const mn = ({
|
|
|
467
467
|
return t && n && !o ? (e && B.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
|
|
468
468
|
}, hn = (e) => (T() || mn({
|
|
469
469
|
shouldLogWarning: !0
|
|
470
|
-
}),
|
|
470
|
+
}), Oe(e)), fn = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, bn = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, gn = (e) => {
|
|
471
471
|
var t, n, o, r, i, s;
|
|
472
472
|
return ((o = (n = (t = fn.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = bn.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
|
|
473
473
|
};
|
|
@@ -874,14 +874,14 @@ const mt = (e) => {
|
|
|
874
874
|
}) => ue({
|
|
875
875
|
name: Ee(e),
|
|
876
876
|
canTrack: !0
|
|
877
|
-
}),
|
|
877
|
+
}), xn = ({
|
|
878
878
|
contentId: e,
|
|
879
879
|
value: t
|
|
880
880
|
}) => we({
|
|
881
881
|
name: Ee(e),
|
|
882
882
|
value: t,
|
|
883
883
|
canTrack: !0
|
|
884
|
-
}), ft = (e) => K(e.id) && K(e.variations) && Object.keys(e.variations).length > 0,
|
|
884
|
+
}), ft = (e) => K(e.id) && K(e.variations) && Object.keys(e.variations).length > 0, On = ({
|
|
885
885
|
id: e,
|
|
886
886
|
variations: t
|
|
887
887
|
}) => {
|
|
@@ -895,8 +895,8 @@ const mt = (e) => {
|
|
|
895
895
|
}
|
|
896
896
|
return e;
|
|
897
897
|
}, bt = (e) => {
|
|
898
|
-
const t =
|
|
899
|
-
return
|
|
898
|
+
const t = On(e);
|
|
899
|
+
return xn({
|
|
900
900
|
contentId: e.id,
|
|
901
901
|
value: t
|
|
902
902
|
}).catch((n) => {
|
|
@@ -1072,11 +1072,11 @@ const Kn = "v3", Ke = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ae = (
|
|
|
1072
1072
|
w.searchParams.set("apiKey", i), w.searchParams.set("limit", String(t)), w.searchParams.set("noTraverse", String(U)), w.searchParams.set("includeRefs", String(!0)), l && w.searchParams.set("locale", l);
|
|
1073
1073
|
let D = n || {};
|
|
1074
1074
|
if (s && w.searchParams.set("enrich", String(s)), w.searchParams.set("omit", p ?? "meta.componentsUsed"), u && w.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && w.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && w.searchParams.set("includeUnpublished", String(g)), c && Ke(c) && w.searchParams.set("cacheSeconds", String(c)), m && Ke(m) && w.searchParams.set("staleCacheSeconds", String(m)), b) {
|
|
1075
|
-
const
|
|
1075
|
+
const x = Se({
|
|
1076
1076
|
sort: b
|
|
1077
1077
|
});
|
|
1078
|
-
for (const H in
|
|
1079
|
-
w.searchParams.set(H, JSON.stringify(
|
|
1078
|
+
for (const H in x)
|
|
1079
|
+
w.searchParams.set(H, JSON.stringify(x[H]));
|
|
1080
1080
|
}
|
|
1081
1081
|
const J = {
|
|
1082
1082
|
...Bn(),
|
|
@@ -1084,28 +1084,28 @@ const Kn = "v3", Ke = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ae = (
|
|
|
1084
1084
|
};
|
|
1085
1085
|
D = {
|
|
1086
1086
|
...D,
|
|
1087
|
-
...
|
|
1087
|
+
...qn(J)
|
|
1088
1088
|
};
|
|
1089
1089
|
const Q = Se(J);
|
|
1090
|
-
for (const
|
|
1091
|
-
w.searchParams.set(
|
|
1090
|
+
for (const x in Q)
|
|
1091
|
+
w.searchParams.set(x, String(Q[x]));
|
|
1092
1092
|
if (Object.keys(D).length > 0 && w.searchParams.set("userAttributes", JSON.stringify(D)), o) {
|
|
1093
|
-
const
|
|
1093
|
+
const x = yt({
|
|
1094
1094
|
query: o
|
|
1095
1095
|
});
|
|
1096
|
-
for (const H in
|
|
1097
|
-
w.searchParams.set(H, JSON.stringify(
|
|
1096
|
+
for (const H in x)
|
|
1097
|
+
w.searchParams.set(H, JSON.stringify(x[H]));
|
|
1098
1098
|
}
|
|
1099
1099
|
return w;
|
|
1100
|
-
},
|
|
1100
|
+
}, zn = (e) => {
|
|
1101
1101
|
const t = {};
|
|
1102
1102
|
for (const n in e)
|
|
1103
1103
|
n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
|
|
1104
1104
|
return t;
|
|
1105
|
-
},
|
|
1105
|
+
}, qn = (e) => {
|
|
1106
1106
|
if (T() && e.preview === "BUILDER_STUDIO") {
|
|
1107
1107
|
e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
|
|
1108
|
-
const t =
|
|
1108
|
+
const t = zn(e), {
|
|
1109
1109
|
userAttributes: n
|
|
1110
1110
|
} = jn(t);
|
|
1111
1111
|
return n;
|
|
@@ -1398,22 +1398,22 @@ const wt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1398
1398
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1399
1399
|
e
|
|
1400
1400
|
), e;
|
|
1401
|
-
}), po = () => import("./block-wrapper-
|
|
1401
|
+
}), po = () => import("./block-wrapper-JeL_jj_h.js").then((e) => e.default).catch((e) => {
|
|
1402
1402
|
throw console.error(
|
|
1403
1403
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1404
1404
|
e
|
|
1405
1405
|
), e;
|
|
1406
|
-
}), mo = () => import("./component-ref-
|
|
1406
|
+
}), mo = () => import("./component-ref-mKp3QJjb.js").then((e) => e.default).catch((e) => {
|
|
1407
1407
|
throw console.error(
|
|
1408
1408
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1409
1409
|
e
|
|
1410
1410
|
), e;
|
|
1411
|
-
}), ho = () => import("./repeated-block-
|
|
1411
|
+
}), ho = () => import("./repeated-block-WgU2OssJ.js").then((e) => e.default).catch((e) => {
|
|
1412
1412
|
throw console.error(
|
|
1413
1413
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1414
1414
|
e
|
|
1415
1415
|
), e;
|
|
1416
|
-
}), fo = () => import("./style-wrapper-
|
|
1416
|
+
}), fo = () => import("./style-wrapper-VY7cdn42.js").then((e) => e.default).catch((e) => {
|
|
1417
1417
|
throw console.error(
|
|
1418
1418
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1419
1419
|
e
|
|
@@ -1554,7 +1554,7 @@ function go(e, t, n, o, r, i) {
|
|
|
1554
1554
|
block: e.processedBlock,
|
|
1555
1555
|
context: e.context
|
|
1556
1556
|
}, {
|
|
1557
|
-
default:
|
|
1557
|
+
default: O(() => [
|
|
1558
1558
|
E(l, {
|
|
1559
1559
|
componentRef: e.componentRefProps.componentRef,
|
|
1560
1560
|
componentOptions: e.componentRefProps.componentOptions,
|
|
@@ -1663,7 +1663,7 @@ function vo(e, t, n, o, r, i) {
|
|
|
1663
1663
|
onMouseEnter: (s) => e.onMouseEnter(),
|
|
1664
1664
|
onKeyPress: (s) => e.onClick()
|
|
1665
1665
|
}, { ...e.BlocksWrapperProps }), {
|
|
1666
|
-
default:
|
|
1666
|
+
default: O(() => [
|
|
1667
1667
|
N(e.$slots, "default", {}, void 0, !0)
|
|
1668
1668
|
]),
|
|
1669
1669
|
_: 3
|
|
@@ -1700,7 +1700,7 @@ function Co(e, t, n, o, r, i) {
|
|
|
1700
1700
|
classNameProp: e.className,
|
|
1701
1701
|
BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((f = e.builderContext) == null ? void 0 : f.BlocksWrapper)
|
|
1702
1702
|
}, {
|
|
1703
|
-
default:
|
|
1703
|
+
default: O(() => [
|
|
1704
1704
|
N(e.$slots, "default"),
|
|
1705
1705
|
e.blocks ? (d(!0), h(I, { key: 0 }, F(e.blocks, (c, m) => {
|
|
1706
1706
|
var b;
|
|
@@ -1716,7 +1716,7 @@ function Co(e, t, n, o, r, i) {
|
|
|
1716
1716
|
_: 3
|
|
1717
1717
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
1718
1718
|
}
|
|
1719
|
-
const
|
|
1719
|
+
const z = /* @__PURE__ */ v(ko, [["render", Co]]), To = y({
|
|
1720
1720
|
name: "dynamic-div",
|
|
1721
1721
|
props: []
|
|
1722
1722
|
});
|
|
@@ -1802,7 +1802,7 @@ const te = /* @__PURE__ */ v(To, [["render", wo]]), Io = /* @__PURE__ */ Object.
|
|
|
1802
1802
|
components: {
|
|
1803
1803
|
InlinedStyles: pe,
|
|
1804
1804
|
DynamicRenderer: Te,
|
|
1805
|
-
Blocks:
|
|
1805
|
+
Blocks: z,
|
|
1806
1806
|
DynamicDiv: te
|
|
1807
1807
|
},
|
|
1808
1808
|
props: [
|
|
@@ -1957,7 +1957,7 @@ function Ao(e, t, n, o, r, i) {
|
|
|
1957
1957
|
actionAttributes: {},
|
|
1958
1958
|
attributes: e.getAttributes(p, f)
|
|
1959
1959
|
}, {
|
|
1960
|
-
default:
|
|
1960
|
+
default: O(() => [
|
|
1961
1961
|
E(l, {
|
|
1962
1962
|
path: `columns.${f}.blocks`,
|
|
1963
1963
|
parent: e.builderBlock.id,
|
|
@@ -1984,7 +1984,7 @@ function Vo(e, t, n, o, r, i) {
|
|
|
1984
1984
|
]);
|
|
1985
1985
|
}
|
|
1986
1986
|
const No = /* @__PURE__ */ v(Bo, [["render", Vo]]);
|
|
1987
|
-
function
|
|
1987
|
+
function ze(e) {
|
|
1988
1988
|
return e.replace(/http(s)?:/, "");
|
|
1989
1989
|
}
|
|
1990
1990
|
function Wo(e = "", t, n) {
|
|
@@ -1995,11 +1995,11 @@ function Do(e, t) {
|
|
|
1995
1995
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
1996
1996
|
return e;
|
|
1997
1997
|
if (t === "master")
|
|
1998
|
-
return
|
|
1998
|
+
return ze(e);
|
|
1999
1999
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
2000
2000
|
if (n) {
|
|
2001
2001
|
const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
|
|
2002
|
-
return
|
|
2002
|
+
return ze(`${o[0]}_${i}${r}`);
|
|
2003
2003
|
}
|
|
2004
2004
|
return null;
|
|
2005
2005
|
}
|
|
@@ -2014,7 +2014,7 @@ function oe(e) {
|
|
|
2014
2014
|
}
|
|
2015
2015
|
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Do(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
|
|
2016
2016
|
}
|
|
2017
|
-
const
|
|
2017
|
+
const xo = y({
|
|
2018
2018
|
name: "builder-image",
|
|
2019
2019
|
props: [
|
|
2020
2020
|
"lazy",
|
|
@@ -2022,14 +2022,14 @@ const Oo = y({
|
|
|
2022
2022
|
"src",
|
|
2023
2023
|
"srcset",
|
|
2024
2024
|
"noWebp",
|
|
2025
|
-
"
|
|
2025
|
+
"sizes",
|
|
2026
2026
|
"highPriority",
|
|
2027
|
+
"aspectRatio",
|
|
2027
2028
|
"altText",
|
|
2028
2029
|
"title",
|
|
2029
2030
|
"backgroundPosition",
|
|
2030
2031
|
"backgroundSize",
|
|
2031
2032
|
"className",
|
|
2032
|
-
"sizes",
|
|
2033
2033
|
"builderBlock",
|
|
2034
2034
|
"fitContent"
|
|
2035
2035
|
],
|
|
@@ -2054,6 +2054,9 @@ const Oo = y({
|
|
|
2054
2054
|
var e;
|
|
2055
2055
|
return (e = this.srcSetToUse) != null && e.match(/builder\.io/) && !this.noWebp ? this.srcSetToUse.replace(/\?/g, "?format=webp&") : "";
|
|
2056
2056
|
},
|
|
2057
|
+
sizesToUse() {
|
|
2058
|
+
return this.sizes || (this.highPriority ? void 0 : "auto");
|
|
2059
|
+
},
|
|
2057
2060
|
aspectRatioCss() {
|
|
2058
2061
|
const e = {
|
|
2059
2062
|
position: "absolute",
|
|
@@ -2065,20 +2068,21 @@ const Oo = y({
|
|
|
2065
2068
|
return this.aspectRatio ? e : void 0;
|
|
2066
2069
|
}
|
|
2067
2070
|
}
|
|
2068
|
-
}),
|
|
2071
|
+
}), Oo = ["srcset", "sizes"], Uo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Lo = {
|
|
2069
2072
|
key: 2,
|
|
2070
2073
|
class: "div-t43jfuqn6g-2"
|
|
2071
2074
|
};
|
|
2072
2075
|
function Fo(e, t, n, o, r, i) {
|
|
2073
2076
|
var s, l, a, u, p, f;
|
|
2074
2077
|
return d(), h(I, null, [
|
|
2075
|
-
|
|
2078
|
+
q("picture", null, [
|
|
2076
2079
|
e.webpSrcSet ? (d(), h("source", {
|
|
2077
2080
|
key: 0,
|
|
2078
2081
|
type: "image/webp",
|
|
2079
|
-
srcset: e.webpSrcSet
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
+
srcset: e.webpSrcSet,
|
|
2083
|
+
sizes: e.sizesToUse
|
|
2084
|
+
}, null, 8, Oo)) : C("", !0),
|
|
2085
|
+
q("img", {
|
|
2082
2086
|
loading: e.highPriority ? "eager" : "lazy",
|
|
2083
2087
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
2084
2088
|
alt: e.altText,
|
|
@@ -2094,7 +2098,7 @@ function Fo(e, t, n, o, r, i) {
|
|
|
2094
2098
|
),
|
|
2095
2099
|
src: e.image,
|
|
2096
2100
|
srcset: e.srcSetToUse,
|
|
2097
|
-
sizes: e.
|
|
2101
|
+
sizes: e.sizesToUse
|
|
2098
2102
|
}, null, 14, Uo)
|
|
2099
2103
|
]),
|
|
2100
2104
|
e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
|
|
@@ -2110,7 +2114,7 @@ function Fo(e, t, n, o, r, i) {
|
|
|
2110
2114
|
])) : C("", !0)
|
|
2111
2115
|
], 64);
|
|
2112
2116
|
}
|
|
2113
|
-
const Ho = /* @__PURE__ */ v(
|
|
2117
|
+
const Ho = /* @__PURE__ */ v(xo, [["render", Fo], ["__scopeId", "data-v-17b592cd"]]), Mo = y({
|
|
2114
2118
|
name: "builder-section-component",
|
|
2115
2119
|
props: ["attributes", "maxWidth"],
|
|
2116
2120
|
data() {
|
|
@@ -2136,7 +2140,7 @@ function jo(e, t, n, o, r, i) {
|
|
|
2136
2140
|
], 16);
|
|
2137
2141
|
}
|
|
2138
2142
|
const Ko = /* @__PURE__ */ v(Mo, [["render", jo]]);
|
|
2139
|
-
function
|
|
2143
|
+
function zo(e, t, n, o) {
|
|
2140
2144
|
function r(u) {
|
|
2141
2145
|
return typeof u == "string";
|
|
2142
2146
|
}
|
|
@@ -2193,7 +2197,7 @@ function qo(e, t, n, o) {
|
|
|
2193
2197
|
}, a = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
2194
2198
|
return l.startDate && new Date(l.startDate) > a || l.endDate && new Date(l.endDate) < a ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => s(e, u));
|
|
2195
2199
|
}
|
|
2196
|
-
const
|
|
2200
|
+
const qo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
|
|
2197
2201
|
if (!navigator.cookieEnabled) {
|
|
2198
2202
|
return;
|
|
2199
2203
|
}
|
|
@@ -2398,7 +2402,7 @@ function Xo({
|
|
|
2398
2402
|
}
|
|
2399
2403
|
const Zo = () => `
|
|
2400
2404
|
window.${Qo} = ${Go}
|
|
2401
|
-
window.${Rt} = ${
|
|
2405
|
+
window.${Rt} = ${qo}
|
|
2402
2406
|
window.${Et} = ${Jo}
|
|
2403
2407
|
`, Bt = R === "react", _o = (e, t, n) => `window.${Rt}(${JSON.stringify(e)}, "${t}", ${Bt}${n ? `, "${n}"` : ""})`, er = (e, t, n) => `window.${Et}(${JSON.stringify(e)}, "${t}", ${Bt}${n ? `, "${n}"` : ""})`, me = {
|
|
2404
2408
|
"@type": "@builder.io/sdk:Element",
|
|
@@ -2526,7 +2530,7 @@ const Zo = () => `
|
|
|
2526
2530
|
}
|
|
2527
2531
|
}, nr = (e) => e.toString(), or = y({
|
|
2528
2532
|
name: "builder-accordion",
|
|
2529
|
-
components: { Blocks:
|
|
2533
|
+
components: { Blocks: z },
|
|
2530
2534
|
props: [
|
|
2531
2535
|
"grid",
|
|
2532
2536
|
"oneAtATime",
|
|
@@ -2627,7 +2631,7 @@ function ir(e, t, n, o, r, i) {
|
|
|
2627
2631
|
style: M(e.accordionStyles)
|
|
2628
2632
|
}, [
|
|
2629
2633
|
(d(!0), h(I, null, F(e.items, (l, a) => (d(), h(I, { key: a }, [
|
|
2630
|
-
|
|
2634
|
+
q("div", {
|
|
2631
2635
|
class: _(e.getAccordionTitleClassName(a)),
|
|
2632
2636
|
style: M({
|
|
2633
2637
|
...e.accordionTitleStyles,
|
|
@@ -2996,7 +3000,8 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
2996
3000
|
}, {
|
|
2997
3001
|
name: "sizes",
|
|
2998
3002
|
type: "string",
|
|
2999
|
-
|
|
3003
|
+
advanced: !0,
|
|
3004
|
+
helperText: 'The sizes attribute for responsive images, e.g. "(max-width: 600px) 100vw, 50vw"'
|
|
3000
3005
|
}, {
|
|
3001
3006
|
name: "srcset",
|
|
3002
3007
|
type: "string",
|
|
@@ -3075,7 +3080,7 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
3075
3080
|
}), mr = y({
|
|
3076
3081
|
name: "builder-personalization-container",
|
|
3077
3082
|
components: {
|
|
3078
|
-
Blocks:
|
|
3083
|
+
Blocks: z,
|
|
3079
3084
|
InlinedStyles: pe,
|
|
3080
3085
|
InlinedScript: Ne
|
|
3081
3086
|
},
|
|
@@ -3164,7 +3169,7 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
3164
3169
|
filteredVariants() {
|
|
3165
3170
|
return (this.variants || []).filter((e) => {
|
|
3166
3171
|
var t, n, o, r;
|
|
3167
|
-
return
|
|
3172
|
+
return zo(
|
|
3168
3173
|
{
|
|
3169
3174
|
...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
|
|
3170
3175
|
locale: (r = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : r.locale
|
|
@@ -3226,14 +3231,14 @@ function hr(e, t, n, o, r, i) {
|
|
|
3226
3231
|
id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
|
|
3227
3232
|
}, null, 8, ["nonce", "scriptStr", "id"]),
|
|
3228
3233
|
(d(!0), h(I, null, F(e.variants, (w, D) => {
|
|
3229
|
-
var J, Q,
|
|
3234
|
+
var J, Q, x, H;
|
|
3230
3235
|
return d(), S(s, {
|
|
3231
3236
|
key: `${(J = e.builderBlock) == null ? void 0 : J.id}-${D}`,
|
|
3232
3237
|
BlocksWrapperProps: {
|
|
3233
3238
|
...(Q = e.builderContext) == null ? void 0 : Q.BlocksWrapperProps,
|
|
3234
3239
|
"aria-hidden": !0,
|
|
3235
3240
|
hidden: !0,
|
|
3236
|
-
"data-variant-id": `${(
|
|
3241
|
+
"data-variant-id": `${(x = e.builderBlock) == null ? void 0 : x.id}-${D}`
|
|
3237
3242
|
},
|
|
3238
3243
|
blocks: w.blocks,
|
|
3239
3244
|
parent: (H = e.builderBlock) == null ? void 0 : H.id,
|
|
@@ -3241,13 +3246,13 @@ function hr(e, t, n, o, r, i) {
|
|
|
3241
3246
|
context: e.builderContext,
|
|
3242
3247
|
registeredComponents: e.builderComponents
|
|
3243
3248
|
}, {
|
|
3244
|
-
default:
|
|
3245
|
-
var De,
|
|
3249
|
+
default: O(() => {
|
|
3250
|
+
var De, xe;
|
|
3246
3251
|
return [
|
|
3247
3252
|
E(a, {
|
|
3248
3253
|
nonce: ((De = e.builderContext) == null ? void 0 : De.nonce) || "",
|
|
3249
3254
|
scriptStr: e.scriptStr,
|
|
3250
|
-
id: `variants-script-${(
|
|
3255
|
+
id: `variants-script-${(xe = e.builderBlock) == null ? void 0 : xe.id}-${D}`
|
|
3251
3256
|
}, null, 8, ["nonce", "scriptStr", "id"])
|
|
3252
3257
|
];
|
|
3253
3258
|
}),
|
|
@@ -3266,7 +3271,7 @@ function hr(e, t, n, o, r, i) {
|
|
|
3266
3271
|
"data-variant-id": `${(V = e.builderBlock) == null ? void 0 : V.id}-${e.blocksToRender.index}`
|
|
3267
3272
|
}
|
|
3268
3273
|
}, {
|
|
3269
|
-
default:
|
|
3274
|
+
default: O(() => {
|
|
3270
3275
|
var w, D;
|
|
3271
3276
|
return [
|
|
3272
3277
|
e.shouldRenderVariants ? (d(), S(a, {
|
|
@@ -3340,7 +3345,7 @@ const fr = /* @__PURE__ */ v(mr, [["render", hr]]), br = {
|
|
|
3340
3345
|
}
|
|
3341
3346
|
}, yr = y({
|
|
3342
3347
|
name: "builder-slot",
|
|
3343
|
-
components: { Blocks:
|
|
3348
|
+
components: { Blocks: z },
|
|
3344
3349
|
props: ["builderContext", "name", "builderComponents"]
|
|
3345
3350
|
});
|
|
3346
3351
|
function vr(e, t, n, o, r, i) {
|
|
@@ -3545,7 +3550,7 @@ const Sr = /* @__PURE__ */ v(yr, [["render", vr]]), kr = {
|
|
|
3545
3550
|
}
|
|
3546
3551
|
}, Tr = y({
|
|
3547
3552
|
name: "builder-tabs",
|
|
3548
|
-
components: { Blocks:
|
|
3553
|
+
components: { Blocks: z },
|
|
3549
3554
|
props: [
|
|
3550
3555
|
"defaultActiveTab",
|
|
3551
3556
|
"tabs",
|
|
@@ -3575,7 +3580,7 @@ const Sr = /* @__PURE__ */ v(yr, [["render", vr]]), kr = {
|
|
|
3575
3580
|
function $r(e, t, n, o, r, i) {
|
|
3576
3581
|
const s = k("Blocks");
|
|
3577
3582
|
return d(), h("div", null, [
|
|
3578
|
-
|
|
3583
|
+
q("div", {
|
|
3579
3584
|
class: "builder-tabs-wrap",
|
|
3580
3585
|
style: M({
|
|
3581
3586
|
display: "flex",
|
|
@@ -3726,14 +3731,14 @@ const Vr = /* @__PURE__ */ v(Ar, [["render", Br]]), Nr = {
|
|
|
3726
3731
|
}
|
|
3727
3732
|
}
|
|
3728
3733
|
}), Dr = ["innerHTML"];
|
|
3729
|
-
function
|
|
3734
|
+
function xr(e, t, n, o, r, i) {
|
|
3730
3735
|
return d(), h("div", {
|
|
3731
3736
|
ref: "elementRef",
|
|
3732
3737
|
class: _("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
3733
3738
|
innerHTML: e.code
|
|
3734
3739
|
}, null, 10, Dr);
|
|
3735
3740
|
}
|
|
3736
|
-
const
|
|
3741
|
+
const Or = /* @__PURE__ */ v(Wr, [["render", xr]]), Ur = {
|
|
3737
3742
|
name: "Embed",
|
|
3738
3743
|
static: !0,
|
|
3739
3744
|
inputs: [{
|
|
@@ -3798,7 +3803,7 @@ function jr(e, t, n, o, r, i) {
|
|
|
3798
3803
|
innerHTML: e.content
|
|
3799
3804
|
}, null, 8, Mr);
|
|
3800
3805
|
}
|
|
3801
|
-
const Kr = /* @__PURE__ */ v(Hr, [["render", jr]]),
|
|
3806
|
+
const Kr = /* @__PURE__ */ v(Hr, [["render", jr]]), zr = {
|
|
3802
3807
|
name: "Form:Form",
|
|
3803
3808
|
// editableTags: ['builder-form-error']
|
|
3804
3809
|
defaults: {
|
|
@@ -4035,12 +4040,12 @@ const Kr = /* @__PURE__ */ v(Hr, [["render", jr]]), qr = {
|
|
|
4035
4040
|
builderComponents: !0,
|
|
4036
4041
|
builderLinkComponent: !0
|
|
4037
4042
|
}
|
|
4038
|
-
},
|
|
4043
|
+
}, qr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Gr = () => {
|
|
4039
4044
|
const e = process.env.NODE_ENV || "production";
|
|
4040
|
-
return
|
|
4045
|
+
return qr.includes(e) ? e : "production";
|
|
4041
4046
|
}, Jr = y({
|
|
4042
4047
|
name: "builder-form-component",
|
|
4043
|
-
components: { Blocks:
|
|
4048
|
+
components: { Blocks: z },
|
|
4044
4049
|
props: [
|
|
4045
4050
|
"builderContext",
|
|
4046
4051
|
"previewState",
|
|
@@ -4759,7 +4764,7 @@ const Ti = /* @__PURE__ */ v(Si, [["render", Ci]]), wi = {
|
|
|
4759
4764
|
function Pi(e, t, n, o, r, i) {
|
|
4760
4765
|
var s, l, a, u, p, f, c;
|
|
4761
4766
|
return d(), h("div", $i, [
|
|
4762
|
-
|
|
4767
|
+
q("video", $({
|
|
4763
4768
|
class: "builder-video",
|
|
4764
4769
|
ref: "videoRef",
|
|
4765
4770
|
preload: e.lazyLoad ? "none" : e.preload || "metadata",
|
|
@@ -4778,7 +4783,7 @@ function Pi(e, t, n, o, r, i) {
|
|
|
4778
4783
|
},
|
|
4779
4784
|
poster: e.posterImage
|
|
4780
4785
|
}, e.spreadProps), [
|
|
4781
|
-
|
|
4786
|
+
q("source", $(
|
|
4782
4787
|
{ type: "video/mp4" },
|
|
4783
4788
|
e.lazyLoad ? {
|
|
4784
4789
|
"data-src": e.video
|
|
@@ -4805,14 +4810,14 @@ function Pi(e, t, n, o, r, i) {
|
|
|
4805
4810
|
]);
|
|
4806
4811
|
}
|
|
4807
4812
|
const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
4808
|
-
component:
|
|
4813
|
+
component: Or,
|
|
4809
4814
|
...Nr
|
|
4810
4815
|
}, {
|
|
4811
4816
|
component: Kr,
|
|
4812
4817
|
...Ur
|
|
4813
4818
|
}, {
|
|
4814
4819
|
component: Zr,
|
|
4815
|
-
...
|
|
4820
|
+
...zr
|
|
4816
4821
|
}, {
|
|
4817
4822
|
component: oi,
|
|
4818
4823
|
..._r
|
|
@@ -4831,7 +4836,7 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4831
4836
|
}, {
|
|
4832
4837
|
component: Bi,
|
|
4833
4838
|
...wi
|
|
4834
|
-
}],
|
|
4839
|
+
}], qe = () => [{
|
|
4835
4840
|
component: Ft,
|
|
4836
4841
|
...ar
|
|
4837
4842
|
}, {
|
|
@@ -4964,7 +4969,7 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4964
4969
|
})), Di = ({
|
|
4965
4970
|
canTrack: e,
|
|
4966
4971
|
content: t
|
|
4967
|
-
}) => !(!(ie(t).length > 0) || !e),
|
|
4972
|
+
}) => !(!(ie(t).length > 0) || !e), xi = (e) => e === "react" || e === "reactNative", Oi = R === "angular", We = xi(R), Ui = () => `
|
|
4968
4973
|
(function() {
|
|
4969
4974
|
if (!window.${ke}) {
|
|
4970
4975
|
window.${ke} = ${Ni};
|
|
@@ -4977,7 +4982,7 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4977
4982
|
})();
|
|
4978
4983
|
`, Li = (e, t) => `
|
|
4979
4984
|
window.${ke}(
|
|
4980
|
-
"${t}",${JSON.stringify(e)}, ${We}, ${
|
|
4985
|
+
"${t}",${JSON.stringify(e)}, ${We}, ${Oi}
|
|
4981
4986
|
)`, Fi = ({
|
|
4982
4987
|
contentId: e,
|
|
4983
4988
|
variationId: t
|
|
@@ -5026,7 +5031,7 @@ const Hi = (e, t, n = !0) => {
|
|
|
5026
5031
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
5027
5032
|
}
|
|
5028
5033
|
};
|
|
5029
|
-
}, Ki = ["svelte", "qwik", "vue"],
|
|
5034
|
+
}, Ki = ["svelte", "qwik", "vue"], zi = () => Ki.includes(R) && (A() || Re()), qi = (e) => {
|
|
5030
5035
|
var i;
|
|
5031
5036
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
5032
5037
|
let r = "";
|
|
@@ -5056,7 +5061,7 @@ font-weight: ${s};
|
|
|
5056
5061
|
customFonts: e
|
|
5057
5062
|
}) => {
|
|
5058
5063
|
var t;
|
|
5059
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
5064
|
+
return ((t = e == null ? void 0 : e.map((n) => qi(n))) == null ? void 0 : t.join(" ")) || "";
|
|
5060
5065
|
}, Ji = ({
|
|
5061
5066
|
cssCode: e,
|
|
5062
5067
|
contentId: t
|
|
@@ -5103,12 +5108,13 @@ font-weight: ${s};
|
|
|
5103
5108
|
contextValue: this.builderContextSignal,
|
|
5104
5109
|
prevData: null,
|
|
5105
5110
|
prevLocale: "",
|
|
5111
|
+
prevContent: null,
|
|
5106
5112
|
ContentWrapper: this.contentWrapper || "div",
|
|
5107
5113
|
httpReqsData: {},
|
|
5108
5114
|
httpReqsPending: {},
|
|
5109
5115
|
clicked: !1,
|
|
5110
5116
|
builderContext: ge,
|
|
5111
|
-
needsElementRefDivForEditing:
|
|
5117
|
+
needsElementRefDivForEditing: zi,
|
|
5112
5118
|
getWrapperClassName: Xi
|
|
5113
5119
|
};
|
|
5114
5120
|
},
|
|
@@ -5416,7 +5422,7 @@ function _i(e, t, n, o, r, i) {
|
|
|
5416
5422
|
onIniteditingbldr: (u) => e.elementRef_onIniteditingbldr(u),
|
|
5417
5423
|
onInitpreviewingbldr: (u) => e.elementRef_onInitpreviewingbldr(u)
|
|
5418
5424
|
}, { ...e.showContentProps, ...e.contentWrapperProps }), {
|
|
5419
|
-
default:
|
|
5425
|
+
default: O(() => [
|
|
5420
5426
|
N(e.$slots, "default")
|
|
5421
5427
|
]),
|
|
5422
5428
|
_: 3
|
|
@@ -5482,7 +5488,7 @@ const os = /* @__PURE__ */ v(ts, [["render", ns]]), rs = ({
|
|
|
5482
5488
|
EnableEditor: es,
|
|
5483
5489
|
InlinedScript: Ne,
|
|
5484
5490
|
ContentStyles: os,
|
|
5485
|
-
Blocks:
|
|
5491
|
+
Blocks: z,
|
|
5486
5492
|
DynamicDiv: te
|
|
5487
5493
|
},
|
|
5488
5494
|
props: [
|
|
@@ -5518,7 +5524,7 @@ const os = /* @__PURE__ */ v(ts, [["render", ns]]), rs = ({
|
|
|
5518
5524
|
contentId: (t = this.content) == null ? void 0 : t.id
|
|
5519
5525
|
}),
|
|
5520
5526
|
registeredComponents: [
|
|
5521
|
-
...
|
|
5527
|
+
...qe(),
|
|
5522
5528
|
...this.customComponents || []
|
|
5523
5529
|
].reduce(
|
|
5524
5530
|
(n, { component: o, ...r }) => ({
|
|
@@ -5547,7 +5553,7 @@ const os = /* @__PURE__ */ v(ts, [["render", ns]]), rs = ({
|
|
|
5547
5553
|
apiKey: this.apiKey,
|
|
5548
5554
|
apiVersion: this.apiVersion,
|
|
5549
5555
|
componentInfos: [
|
|
5550
|
-
...
|
|
5556
|
+
...qe(),
|
|
5551
5557
|
...this.customComponents || []
|
|
5552
5558
|
].reduce(
|
|
5553
5559
|
(n, { component: o, ...r }) => ({
|
|
@@ -5632,7 +5638,7 @@ function ls(e, t, n, o, r, i) {
|
|
|
5632
5638
|
trustedHosts: e.trustedHosts,
|
|
5633
5639
|
isNestedRender: e.isNestedRender
|
|
5634
5640
|
}, {}), {
|
|
5635
|
-
default:
|
|
5641
|
+
default: O(() => {
|
|
5636
5642
|
var p, f, c, m, b, g, P;
|
|
5637
5643
|
return [
|
|
5638
5644
|
e.isSsrAbTest ? (d(), S(s, {
|
|
@@ -5955,7 +5961,7 @@ export {
|
|
|
5955
5961
|
Ft as m,
|
|
5956
5962
|
bs as n,
|
|
5957
5963
|
Vr as o,
|
|
5958
|
-
|
|
5964
|
+
z as p,
|
|
5959
5965
|
ps as q,
|
|
5960
5966
|
Re as r,
|
|
5961
5967
|
Is as s,
|