@builder.io/sdk-vue 5.2.10 → 5.2.11
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-LIAqEcfX.cjs → awaiter-MAyQwJUp.cjs} +1 -1
- package/lib/browser/{awaiter-NXhCBvJj.js → awaiter-quz2SFrg.js} +1 -1
- package/lib/browser/{block-wrapper-sJgW-hxB.js → block-wrapper-SCckT0M5.js} +3 -3
- package/lib/browser/{block-wrapper-Gx5cmGCs.cjs → block-wrapper-vBu_Ygm8.cjs} +1 -1
- package/lib/browser/{component-ref-glX9-8fW.cjs → component-ref-HWBSC66Y.cjs} +1 -1
- package/lib/browser/{component-ref-3CB2cdJW.js → component-ref-owc3e0h8.js} +4 -4
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +3 -0
- package/lib/browser/components/content/content.vue.d.ts +3 -0
- package/lib/browser/components/content-variants/content-variants.types.d.ts +8 -0
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/get-content/types.d.ts +27 -0
- package/lib/browser/{get-block-properties-Ejar3KRa.js → get-block-properties-Hny6jqGG.js} +1 -1
- package/lib/browser/{get-block-properties-hkrxv2Yw.cjs → get-block-properties-odFddSWh.cjs} +1 -1
- package/lib/browser/{index-bjZ2qhB0.js → index-7bXAC1Q8.js} +442 -432
- package/lib/browser/index-uDRmkrr4.cjs +350 -0
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-Sfr-FIGs.cjs → live-edit-AUagAEej.cjs} +1 -1
- package/lib/browser/{live-edit-BGWSQRf6.js → live-edit-x4eHrcJh.js} +1 -1
- package/lib/browser/{repeated-block-y2NflOf1.cjs → repeated-block-ZGXPYgA8.cjs} +1 -1
- package/lib/browser/{repeated-block-ECd9zh7f.js → repeated-block-uVi8A50N.js} +2 -2
- package/lib/browser/scripts/init-editing.d.ts +2 -0
- package/lib/browser/{style-wrapper-PR2ys7tw.cjs → style-wrapper-C_c9B5_Y.cjs} +1 -1
- package/lib/browser/{style-wrapper-9OtEbIRY.js → style-wrapper-usFESjt5.js} +1 -1
- package/lib/edge/{awaiter-Rk0bT_z6.js → awaiter-RSfMls5f.js} +1 -1
- package/lib/edge/{awaiter-NONmvwQ6.cjs → awaiter-zow2zgzw.cjs} +1 -1
- package/lib/{node/block-wrapper-ZBxys5Pi.cjs → edge/block-wrapper-4qKpWsP8.cjs} +1 -1
- package/lib/edge/{block-wrapper-bLEVePe1.js → block-wrapper-GT2d4luN.js} +3 -3
- package/lib/edge/{component-ref-wRsXuO0w.js → component-ref-1iPK0xOE.js} +4 -4
- package/lib/edge/{component-ref-hvv1-QnL.cjs → component-ref-WdOIbmOU.cjs} +1 -1
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +3 -0
- package/lib/edge/components/content/content.vue.d.ts +3 -0
- package/lib/edge/components/content-variants/content-variants.types.d.ts +8 -0
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/get-content/types.d.ts +27 -0
- package/lib/edge/{get-block-properties-Z_smIxVv.cjs → get-block-properties-2E03ld67.cjs} +1 -1
- package/lib/edge/{get-block-properties-kcXTpefp.js → get-block-properties-bMVCvUX0.js} +1 -1
- package/lib/edge/{index-jT889Kr4.js → index-Bgm0yCrN.js} +1001 -991
- package/lib/edge/index-LWGIJNVx.cjs +368 -0
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-T7SWvgRt.cjs → edge/live-edit-oLYhcuYs.cjs} +1 -1
- package/lib/{node/live-edit-7Qru52il.js → edge/live-edit-tegdYGJO.js} +1 -1
- package/lib/edge/{repeated-block-ocRd-7Ri.cjs → repeated-block--MhEsXmR.cjs} +1 -1
- package/lib/edge/{repeated-block-XfL9MY4H.js → repeated-block-yZJM5I60.js} +2 -2
- package/lib/edge/scripts/init-editing.d.ts +2 -0
- package/lib/edge/{style-wrapper-TUi2oGU5.cjs → style-wrapper-8JiLG-FF.cjs} +1 -1
- package/lib/edge/{style-wrapper-cgk8YrFm.js → style-wrapper-i8R7NpdY.js} +1 -1
- package/lib/node/{awaiter-d876EVrj.cjs → awaiter-Vwjft2v-.cjs} +1 -1
- package/lib/node/{awaiter-ooRB0LL_.js → awaiter-o3ynOQKr.js} +1 -1
- package/lib/{edge/block-wrapper-uQolhWhZ.cjs → node/block-wrapper-KX1-Y2Oq.cjs} +1 -1
- package/lib/node/{block-wrapper-heMQ0bQW.js → block-wrapper-PUFgSKq_.js} +3 -3
- package/lib/node/{component-ref-w7KWdZU9.js → component-ref-HmJKie9z.js} +5 -5
- package/lib/node/{component-ref-HjW6Dn5U.cjs → component-ref-o3vjSyAQ.cjs} +1 -1
- package/lib/node/components/content/components/enable-editor.vue.d.ts +3 -0
- package/lib/node/components/content/content.vue.d.ts +3 -0
- package/lib/node/components/content-variants/content-variants.types.d.ts +8 -0
- package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/get-content/types.d.ts +27 -0
- package/lib/node/{get-block-properties-G6DNp62v.cjs → get-block-properties-2yGkQVh7.cjs} +1 -1
- package/lib/node/{get-block-properties-kLYkiFmS.js → get-block-properties-DGfMhs4M.js} +2 -2
- package/lib/node/index-7xT7wMXt.cjs +350 -0
- package/lib/node/{index-quPzSfMY.js → index-JQgNoVXs.js} +392 -382
- 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-UREQGwDx.js → node/live-edit-hxNZMHld.js} +1 -1
- package/lib/{edge/live-edit-euz6qyjO.cjs → node/live-edit-xPik2aUh.cjs} +1 -1
- package/lib/node/{repeated-block-iHvrQwik.cjs → repeated-block-LHiXlO3e.cjs} +1 -1
- package/lib/node/{repeated-block-h_P0vHI5.js → repeated-block-PvGSbsHD.js} +2 -2
- package/lib/node/scripts/init-editing.d.ts +2 -0
- package/lib/node/{should-force-browser-runtime-in-node-ovD5c_br.cjs → should-force-browser-runtime-in-node-aeKfQiEQ.cjs} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-cuIgr-IV.js → should-force-browser-runtime-in-node-ooRgTwqs.js} +1 -1
- package/lib/node/{style-wrapper-arJdhPdR.cjs → style-wrapper-3l8xaVr4.cjs} +1 -1
- package/lib/node/{style-wrapper-MI0wKmtS.js → style-wrapper-U-7exIwN.js} +2 -2
- package/package.json +1 -1
- package/lib/browser/index-SRaav2aL.cjs +0 -350
- package/lib/edge/index-TqjgraOe.cjs +0 -368
- package/lib/node/index-a8iqYi5t.cjs +0 -350
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as
|
|
2
|
-
import { T as R, g as wt, f as It, i as E, s as $t, r as Rt, p as Et, a as Pt, l as
|
|
1
|
+
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as X, mergeProps as I, toHandlers as x, withCtx as D, renderSlot as V, resolveComponent as k, createTextVNode as Ct, toDisplayString as ce, defineAsyncComponent as Y, createVNode as $, renderList as U, createCommentVNode as T, h as Qe, createElementVNode as K, normalizeStyle as H, normalizeClass as _, markRaw as Tt } from "vue";
|
|
2
|
+
import { T as R, g as wt, f as It, i as E, s as $t, r as Rt, p as Et, a as Pt, l as F, b as Ye, c as we, d as At, n as Xe, S as Bt, e as Ie, h as ie, j as Vt, k as Ze, m as Nt, o as A, q as _e, _ as Oe } from "./should-force-browser-runtime-in-node-ooRgTwqs.js";
|
|
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 N(e = {}, t, n) {
|
|
5
5
|
const o = {};
|
|
@@ -11,7 +11,7 @@ function N(e = {}, t, n) {
|
|
|
11
11
|
}
|
|
12
12
|
return o;
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const Ot = y({
|
|
15
15
|
name: "dynamic-renderer",
|
|
16
16
|
props: ["TagName", "attributes", "actionAttributes"],
|
|
17
17
|
data() {
|
|
@@ -23,25 +23,25 @@ const xt = y({
|
|
|
23
23
|
n[o] = r;
|
|
24
24
|
return n;
|
|
25
25
|
};
|
|
26
|
-
function
|
|
27
|
-
return e.isEmptyElement(e.TagName) ? (d(), S(
|
|
28
|
-
typeof e.TagName == "string" ? (d(), S(
|
|
29
|
-
default:
|
|
26
|
+
function xt(e, t, n, o, r, i) {
|
|
27
|
+
return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName), I({ key: 1 }, e.attributes, x(e.actionAttributes)), null, 16)) : (d(), h(w, { key: 0 }, [
|
|
28
|
+
typeof e.TagName == "string" ? (d(), S(X(e.TagName), I({ key: 0 }, e.attributes, x(e.actionAttributes)), {
|
|
29
|
+
default: D(() => [
|
|
30
30
|
V(e.$slots, "default")
|
|
31
31
|
]),
|
|
32
32
|
_: 3
|
|
33
|
-
}, 16)) : (d(), S(
|
|
34
|
-
default:
|
|
33
|
+
}, 16)) : (d(), S(X(e.TagName), I({ key: 1 }, e.attributes, x(e.actionAttributes)), {
|
|
34
|
+
default: D(() => [
|
|
35
35
|
V(e.$slots, "default")
|
|
36
36
|
]),
|
|
37
37
|
_: 3
|
|
38
38
|
}, 16))
|
|
39
39
|
], 64));
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const $e = /* @__PURE__ */ v(Ot, [["render", xt]]), Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
|
-
default:
|
|
44
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
43
|
+
default: $e
|
|
44
|
+
}, Symbol.toStringTag, { value: "Module" })), M = () => {
|
|
45
45
|
switch (R) {
|
|
46
46
|
case "react":
|
|
47
47
|
case "reactNative":
|
|
@@ -56,7 +56,7 @@ const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Zi = /* @__PURE__ */ Object.
|
|
|
56
56
|
}
|
|
57
57
|
}, Ut = y({
|
|
58
58
|
name: "builder-button",
|
|
59
|
-
components: { DynamicRenderer:
|
|
59
|
+
components: { DynamicRenderer: $e },
|
|
60
60
|
props: [
|
|
61
61
|
"attributes",
|
|
62
62
|
"link",
|
|
@@ -71,7 +71,7 @@ const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Zi = /* @__PURE__ */ Object.
|
|
|
71
71
|
attrs() {
|
|
72
72
|
return {
|
|
73
73
|
...N(this.attributes, "v-on:", !1),
|
|
74
|
-
[
|
|
74
|
+
[M()]: `${this.link ? "" : "builder-button"} ${this.attributes[M()] || ""}`,
|
|
75
75
|
...this.link ? {
|
|
76
76
|
href: this.link,
|
|
77
77
|
target: this.openLinkInNewTab ? "_blank" : void 0,
|
|
@@ -90,13 +90,13 @@ function Ft(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:
|
|
94
|
-
Ct(
|
|
93
|
+
default: D(() => [
|
|
94
|
+
Ct(ce(e.text), 1)
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
97
97
|
}, 8, ["attributes", "TagName", "actionAttributes"]);
|
|
98
98
|
}
|
|
99
|
-
const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(),
|
|
99
|
+
const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), fe = {
|
|
100
100
|
Builder: {
|
|
101
101
|
content: null,
|
|
102
102
|
context: {},
|
|
@@ -146,7 +146,7 @@ const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), he = {
|
|
|
146
146
|
var t, n, o, r, i, s;
|
|
147
147
|
return ((o = (n = (t = qt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Kt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
|
|
148
148
|
};
|
|
149
|
-
function
|
|
149
|
+
function ee({
|
|
150
150
|
code: e,
|
|
151
151
|
context: t,
|
|
152
152
|
localState: n,
|
|
@@ -178,7 +178,7 @@ function _({
|
|
|
178
178
|
try {
|
|
179
179
|
return jt(u);
|
|
180
180
|
} catch (p) {
|
|
181
|
-
|
|
181
|
+
F.error("Failed code evaluation: " + p.message, {
|
|
182
182
|
code: e
|
|
183
183
|
});
|
|
184
184
|
return;
|
|
@@ -197,7 +197,7 @@ const Qt = (e, t) => {
|
|
|
197
197
|
if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((o = e.component.options) != null && o.text) && typeof e.component.options.text == "string")
|
|
198
198
|
return {
|
|
199
199
|
...e.component.options,
|
|
200
|
-
text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, i) =>
|
|
200
|
+
text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, i) => ee({
|
|
201
201
|
code: i,
|
|
202
202
|
context: t,
|
|
203
203
|
localState: t.localState,
|
|
@@ -212,7 +212,7 @@ function Yt(e, ...t) {
|
|
|
212
212
|
delete n[o];
|
|
213
213
|
return n;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function se(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
|
|
216
216
|
if (e == null || typeof e != "object") {
|
|
217
217
|
t(e, (i) => {
|
|
218
218
|
n !== null && o !== null && (n[o] = i);
|
|
@@ -222,11 +222,11 @@ function ie(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
|
|
|
222
222
|
r.has(e) || (r.add(e), Array.isArray(e) ? e.forEach((i, s) => {
|
|
223
223
|
t(i, (a) => {
|
|
224
224
|
e[s] = a;
|
|
225
|
-
}),
|
|
225
|
+
}), se(i, t, e, s, r);
|
|
226
226
|
}) : Object.entries(e).forEach(([i, s]) => {
|
|
227
227
|
t(s, (a) => {
|
|
228
228
|
e[i] = a;
|
|
229
|
-
}),
|
|
229
|
+
}), se(s, t, e, i, r);
|
|
230
230
|
}));
|
|
231
231
|
}
|
|
232
232
|
function nt(e) {
|
|
@@ -236,7 +236,7 @@ function Xt(e) {
|
|
|
236
236
|
if (!e || !Object.getOwnPropertyNames(e).length)
|
|
237
237
|
return !1;
|
|
238
238
|
let t = !1;
|
|
239
|
-
return
|
|
239
|
+
return se(e, (n) => {
|
|
240
240
|
if (nt(n)) {
|
|
241
241
|
t = !0;
|
|
242
242
|
return;
|
|
@@ -244,7 +244,7 @@ function Xt(e) {
|
|
|
244
244
|
}), t;
|
|
245
245
|
}
|
|
246
246
|
function Zt(e, t) {
|
|
247
|
-
return !e || !Object.getOwnPropertyNames(e).length ? {} : (
|
|
247
|
+
return !e || !Object.getOwnPropertyNames(e).length ? {} : (se(e, (n, o) => {
|
|
248
248
|
nt(n) && o(n[t] ?? void 0);
|
|
249
249
|
}), e);
|
|
250
250
|
}
|
|
@@ -252,21 +252,21 @@ function _t(e, t) {
|
|
|
252
252
|
var n, o;
|
|
253
253
|
return (n = e.component) != null && n.options && Xt((o = e.component) == null ? void 0 : o.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Zt(e.component.options, t ?? "Default")), e;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function be(e) {
|
|
256
256
|
if (e === null || typeof e != "object")
|
|
257
257
|
return e;
|
|
258
258
|
if (Array.isArray(e))
|
|
259
|
-
return e.map((n) =>
|
|
259
|
+
return e.map((n) => be(n));
|
|
260
260
|
if (e["@type"] === "@builder.io/sdk:Element")
|
|
261
261
|
return e;
|
|
262
262
|
const t = {};
|
|
263
263
|
for (const n in e)
|
|
264
|
-
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] =
|
|
264
|
+
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = be(e[n]));
|
|
265
265
|
return t;
|
|
266
266
|
}
|
|
267
267
|
const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) => {
|
|
268
268
|
if (en) {
|
|
269
|
-
const t =
|
|
269
|
+
const t = we(e);
|
|
270
270
|
return {
|
|
271
271
|
...t,
|
|
272
272
|
properties: {
|
|
@@ -277,7 +277,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
|
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
} else {
|
|
280
|
-
const t =
|
|
280
|
+
const t = be(Yt(e, "children", "meta"));
|
|
281
281
|
return {
|
|
282
282
|
...t,
|
|
283
283
|
properties: {
|
|
@@ -301,7 +301,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
|
|
|
301
301
|
return e;
|
|
302
302
|
const i = tn(e);
|
|
303
303
|
for (const s in e.bindings) {
|
|
304
|
-
const l = e.bindings[s], a =
|
|
304
|
+
const l = e.bindings[s], a = ee({
|
|
305
305
|
code: l,
|
|
306
306
|
localState: n,
|
|
307
307
|
rootState: o,
|
|
@@ -328,25 +328,25 @@ function on({
|
|
|
328
328
|
context: t
|
|
329
329
|
}), i = _t(i, o.locale), i;
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Re(e) {
|
|
332
332
|
const t = e || (E() ? window.location.search : void 0);
|
|
333
333
|
return t ? At(t).indexOf("builder.preview=") !== -1 : !1;
|
|
334
334
|
}
|
|
335
335
|
const rn = (e) => ({
|
|
336
336
|
type: "builder.registerComponent",
|
|
337
|
-
data:
|
|
337
|
+
data: ae(e)
|
|
338
338
|
}), sn = (e) => {
|
|
339
339
|
const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
|
|
340
340
|
return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
|
|
341
341
|
};
|
|
342
|
-
function
|
|
342
|
+
function ae(e) {
|
|
343
343
|
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? sn(n) : n));
|
|
344
344
|
}
|
|
345
|
-
const
|
|
345
|
+
const xe = {};
|
|
346
346
|
function _i(e, t) {
|
|
347
|
-
e === "plugin" && (t =
|
|
348
|
-
let n =
|
|
349
|
-
if (n || (n =
|
|
347
|
+
e === "plugin" && (t = ae(t));
|
|
348
|
+
let n = xe[e];
|
|
349
|
+
if (n || (n = xe[e] = []), n.push(t), E()) {
|
|
350
350
|
const o = {
|
|
351
351
|
type: "builder.register",
|
|
352
352
|
data: {
|
|
@@ -441,9 +441,9 @@ const it = (e) => {
|
|
|
441
441
|
switch (r.type) {
|
|
442
442
|
case "builder.evaluate": {
|
|
443
443
|
const l = r.data.text, a = r.data.arguments || [], u = r.data.id, p = new Function(l);
|
|
444
|
-
let
|
|
444
|
+
let b, c = null;
|
|
445
445
|
try {
|
|
446
|
-
|
|
446
|
+
b = p.apply(null, a);
|
|
447
447
|
} catch (m) {
|
|
448
448
|
c = m;
|
|
449
449
|
}
|
|
@@ -453,9 +453,9 @@ const it = (e) => {
|
|
|
453
453
|
id: u,
|
|
454
454
|
error: c.message
|
|
455
455
|
}
|
|
456
|
-
}, "*") :
|
|
457
|
-
var
|
|
458
|
-
(
|
|
456
|
+
}, "*") : b && typeof b.then == "function" ? b.then((m) => {
|
|
457
|
+
var f;
|
|
458
|
+
(f = window.parent) == null || f.postMessage({
|
|
459
459
|
type: "builder.evaluateResult",
|
|
460
460
|
data: {
|
|
461
461
|
id: u,
|
|
@@ -465,7 +465,7 @@ const it = (e) => {
|
|
|
465
465
|
}).catch(console.error) : (s = window.parent) == null || s.postMessage({
|
|
466
466
|
type: "builder.evaluateResult",
|
|
467
467
|
data: {
|
|
468
|
-
result:
|
|
468
|
+
result: b,
|
|
469
469
|
id: u
|
|
470
470
|
}
|
|
471
471
|
}, "*");
|
|
@@ -511,7 +511,7 @@ const it = (e) => {
|
|
|
511
511
|
trustedHosts: o
|
|
512
512
|
}) => {
|
|
513
513
|
if (!E)
|
|
514
|
-
return
|
|
514
|
+
return F.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
|
|
515
515
|
};
|
|
516
516
|
it({
|
|
517
517
|
modelName: e,
|
|
@@ -533,24 +533,24 @@ const it = (e) => {
|
|
|
533
533
|
return window.addEventListener("message", r), () => {
|
|
534
534
|
window.removeEventListener("message", r);
|
|
535
535
|
};
|
|
536
|
-
}, dn = "builder.tests",
|
|
536
|
+
}, dn = "builder.tests", Ee = (e) => `${dn}.${e}`, un = ({
|
|
537
537
|
contentId: e
|
|
538
538
|
}) => Vt({
|
|
539
|
-
name:
|
|
539
|
+
name: Ee(e),
|
|
540
540
|
canTrack: !0
|
|
541
541
|
}), pn = ({
|
|
542
542
|
contentId: e
|
|
543
|
-
}) =>
|
|
544
|
-
name:
|
|
543
|
+
}) => Ie({
|
|
544
|
+
name: Ee(e),
|
|
545
545
|
canTrack: !0
|
|
546
546
|
}), mn = ({
|
|
547
547
|
contentId: e,
|
|
548
548
|
value: t
|
|
549
549
|
}) => Ze({
|
|
550
|
-
name:
|
|
550
|
+
name: Ee(e),
|
|
551
551
|
value: t,
|
|
552
552
|
canTrack: !0
|
|
553
|
-
}), at = (e) =>
|
|
553
|
+
}), at = (e) => ie(e.id) && ie(e.variations) && Object.keys(e.variations).length > 0, hn = ({
|
|
554
554
|
id: e,
|
|
555
555
|
variations: t
|
|
556
556
|
}) => {
|
|
@@ -569,7 +569,7 @@ const it = (e) => {
|
|
|
569
569
|
contentId: e.id,
|
|
570
570
|
value: t
|
|
571
571
|
}).catch((n) => {
|
|
572
|
-
|
|
572
|
+
F.error("could not store A/B test variation: ", n);
|
|
573
573
|
}), t;
|
|
574
574
|
}, ct = ({
|
|
575
575
|
item: e,
|
|
@@ -647,7 +647,7 @@ function Me() {
|
|
|
647
647
|
}), t.forEach((r) => r(o));
|
|
648
648
|
},
|
|
649
649
|
getUserAttributes() {
|
|
650
|
-
return E() ? JSON.parse(
|
|
650
|
+
return E() ? JSON.parse(Ie({
|
|
651
651
|
name: He,
|
|
652
652
|
canTrack: e
|
|
653
653
|
}) || "{}") : {};
|
|
@@ -664,13 +664,13 @@ function Me() {
|
|
|
664
664
|
}
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
|
-
let
|
|
668
|
-
E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Me()),
|
|
669
|
-
const
|
|
670
|
-
|
|
671
|
-
},
|
|
672
|
-
const t =
|
|
673
|
-
return
|
|
667
|
+
let ge;
|
|
668
|
+
E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Me()), ge = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ge = Me();
|
|
669
|
+
const le = ge, os = (e) => {
|
|
670
|
+
le.setUserAttributes(e);
|
|
671
|
+
}, J = (e) => {
|
|
672
|
+
const t = ie(e) ? e : !0;
|
|
673
|
+
return le.setCanTrack(t), t;
|
|
674
674
|
};
|
|
675
675
|
function gn() {
|
|
676
676
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
@@ -683,12 +683,12 @@ function yn() {
|
|
|
683
683
|
return e;
|
|
684
684
|
}
|
|
685
685
|
const vn = yn();
|
|
686
|
-
function
|
|
686
|
+
function ye(e, t = null, n = ".") {
|
|
687
687
|
return Object.keys(e).reduce((o, r) => {
|
|
688
688
|
const i = e[r], s = [t, r].filter(Boolean).join(n);
|
|
689
689
|
return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
|
|
690
690
|
...o,
|
|
691
|
-
...
|
|
691
|
+
...ye(i, s, n)
|
|
692
692
|
} : {
|
|
693
693
|
...o,
|
|
694
694
|
[s]: i
|
|
@@ -714,7 +714,7 @@ function Sn(e) {
|
|
|
714
714
|
}
|
|
715
715
|
return t;
|
|
716
716
|
}
|
|
717
|
-
const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0,
|
|
717
|
+
const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Pe = (e) => {
|
|
718
718
|
const {
|
|
719
719
|
limit: t = 30,
|
|
720
720
|
userAttributes: n,
|
|
@@ -722,50 +722,51 @@ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ee = (
|
|
|
722
722
|
model: r,
|
|
723
723
|
apiKey: i,
|
|
724
724
|
enrich: s,
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
725
|
+
enrichOptions: l,
|
|
726
|
+
locale: a,
|
|
727
|
+
apiVersion: u = kn,
|
|
728
|
+
fields: p,
|
|
729
|
+
omit: b,
|
|
730
|
+
offset: c,
|
|
731
|
+
cacheSeconds: m,
|
|
732
|
+
staleCacheSeconds: f,
|
|
733
|
+
sort: g,
|
|
734
|
+
includeUnpublished: P,
|
|
735
|
+
apiHost: O
|
|
735
736
|
} = e;
|
|
736
737
|
if (!i)
|
|
737
738
|
throw new Error("Missing API key");
|
|
738
|
-
if (!["v3"].includes(
|
|
739
|
-
throw new Error(`Invalid apiVersion: expected 'v3', received '${
|
|
740
|
-
const
|
|
741
|
-
|
|
742
|
-
let
|
|
743
|
-
if (s &&
|
|
744
|
-
const
|
|
745
|
-
sort:
|
|
739
|
+
if (!["v3"].includes(u))
|
|
740
|
+
throw new Error(`Invalid apiVersion: expected 'v3', received '${u}'`);
|
|
741
|
+
const B = t !== 1, q = O || "https://cdn.builder.io", C = new URL(`${q}/api/${u}/content/${r}`);
|
|
742
|
+
C.searchParams.set("apiKey", i), C.searchParams.set("limit", String(t)), C.searchParams.set("noTraverse", String(B)), C.searchParams.set("includeRefs", String(!0)), a && C.searchParams.set("locale", a);
|
|
743
|
+
let z = n || {};
|
|
744
|
+
if (s && C.searchParams.set("enrich", String(s)), s && l && C.searchParams.set("enrichOptions", JSON.stringify(l)), C.searchParams.set("omit", b ?? "meta.componentsUsed"), p && C.searchParams.set("fields", p), Number.isFinite(c) && c > -1 && C.searchParams.set("offset", String(Math.floor(c))), typeof P == "boolean" && C.searchParams.set("includeUnpublished", String(P)), m && ze(m) && C.searchParams.set("cacheSeconds", String(m)), f && ze(f) && C.searchParams.set("staleCacheSeconds", String(f)), g) {
|
|
745
|
+
const W = ye({
|
|
746
|
+
sort: g
|
|
746
747
|
});
|
|
747
|
-
for (const
|
|
748
|
-
|
|
748
|
+
for (const L in W)
|
|
749
|
+
C.searchParams.set(L, JSON.stringify(W[L]));
|
|
749
750
|
}
|
|
750
|
-
const
|
|
751
|
+
const G = {
|
|
751
752
|
...ln(),
|
|
752
753
|
...Xe(e.options || {})
|
|
753
754
|
};
|
|
754
|
-
|
|
755
|
-
...
|
|
756
|
-
...wn(
|
|
755
|
+
z = {
|
|
756
|
+
...z,
|
|
757
|
+
...wn(G)
|
|
757
758
|
};
|
|
758
|
-
const
|
|
759
|
-
for (const
|
|
760
|
-
|
|
761
|
-
if (Object.keys(
|
|
762
|
-
const
|
|
759
|
+
const Q = ye(G);
|
|
760
|
+
for (const W in Q)
|
|
761
|
+
C.searchParams.set(W, String(Q[W]));
|
|
762
|
+
if (Object.keys(z).length > 0 && C.searchParams.set("userAttributes", JSON.stringify(z)), o) {
|
|
763
|
+
const W = dt({
|
|
763
764
|
query: o
|
|
764
765
|
});
|
|
765
|
-
for (const
|
|
766
|
-
|
|
766
|
+
for (const L in W)
|
|
767
|
+
C.searchParams.set(L, JSON.stringify(W[L]));
|
|
767
768
|
}
|
|
768
|
-
return
|
|
769
|
+
return C;
|
|
769
770
|
}, Cn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, Tn = (e) => {
|
|
770
771
|
const t = {};
|
|
771
772
|
for (const n in e)
|
|
@@ -781,7 +782,7 @@ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ee = (
|
|
|
781
782
|
}
|
|
782
783
|
return {};
|
|
783
784
|
}, In = (e) => "results" in e;
|
|
784
|
-
async function
|
|
785
|
+
async function Ae(e) {
|
|
785
786
|
var o;
|
|
786
787
|
const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
|
|
787
788
|
t && (e.locale = t, e.userAttributes = {
|
|
@@ -796,7 +797,7 @@ async function Pe(e) {
|
|
|
796
797
|
}
|
|
797
798
|
const $n = async (e) => {
|
|
798
799
|
var s;
|
|
799
|
-
const t =
|
|
800
|
+
const t = Pe(e), n = e.fetch ?? vn, o = {
|
|
800
801
|
...e.fetchOptions,
|
|
801
802
|
headers: {
|
|
802
803
|
...(s = e.fetchOptions) == null ? void 0 : s.headers,
|
|
@@ -804,8 +805,8 @@ const $n = async (e) => {
|
|
|
804
805
|
}
|
|
805
806
|
};
|
|
806
807
|
return await (await n(t.href, o)).json();
|
|
807
|
-
}, Rn = async (e, t, n =
|
|
808
|
-
const o =
|
|
808
|
+
}, Rn = async (e, t, n = Pe(e)) => {
|
|
809
|
+
const o = J(e.canTrack);
|
|
809
810
|
if (n.search.includes("preview="), !o || !(E() || R === "reactNative"))
|
|
810
811
|
return t.results;
|
|
811
812
|
try {
|
|
@@ -817,14 +818,14 @@ const $n = async (e) => {
|
|
|
817
818
|
}));
|
|
818
819
|
t.results = r;
|
|
819
820
|
} catch (r) {
|
|
820
|
-
|
|
821
|
+
F.error("Could not process A/B tests. ", r);
|
|
821
822
|
}
|
|
822
823
|
return t.results;
|
|
823
824
|
};
|
|
824
825
|
async function En(e) {
|
|
825
|
-
const t =
|
|
826
|
+
const t = Pe(e), n = await $n(e);
|
|
826
827
|
if (!In(n))
|
|
827
|
-
throw
|
|
828
|
+
throw F.error("Error fetching data. ", {
|
|
828
829
|
url: t,
|
|
829
830
|
content: n,
|
|
830
831
|
options: e
|
|
@@ -848,9 +849,9 @@ const rs = async (e) => {
|
|
|
848
849
|
return {
|
|
849
850
|
apiKey: n.apiKey,
|
|
850
851
|
model: n.model,
|
|
851
|
-
content: await
|
|
852
|
+
content: await Ae(n)
|
|
852
853
|
};
|
|
853
|
-
},
|
|
854
|
+
}, Be = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
854
855
|
function Pn(e, t, n = {}) {
|
|
855
856
|
let o, r, i, s = null, l = 0;
|
|
856
857
|
const a = function() {
|
|
@@ -863,7 +864,7 @@ function Pn(e, t, n = {}) {
|
|
|
863
864
|
return o = this, r = arguments, p <= 0 || p > t ? (s && (clearTimeout(s), s = null), l = u, i = e.apply(o, r), s || (o = r = null)) : !s && n.trailing !== !1 && (s = setTimeout(a, p)), i;
|
|
864
865
|
};
|
|
865
866
|
}
|
|
866
|
-
function
|
|
867
|
+
function Z(e, ...t) {
|
|
867
868
|
const n = Object(e);
|
|
868
869
|
for (let o = 1; o < arguments.length; o++) {
|
|
869
870
|
const r = arguments[o];
|
|
@@ -907,8 +908,8 @@ function mt(e) {
|
|
|
907
908
|
return;
|
|
908
909
|
}
|
|
909
910
|
Array.from(t).forEach((n) => {
|
|
910
|
-
pt(e, n), n.style.transition = "none", n.style.transitionDelay = "0",
|
|
911
|
-
n.style.transition = `all ${e.duration}s ${
|
|
911
|
+
pt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Z(n.style, e.steps[0].styles), setTimeout(() => {
|
|
912
|
+
n.style.transition = `all ${e.duration}s ${Be(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Z(n.style, e.steps[1].styles), setTimeout(() => {
|
|
912
913
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
913
914
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
914
915
|
});
|
|
@@ -925,24 +926,24 @@ function Vn(e) {
|
|
|
925
926
|
let o = !1, r = !1;
|
|
926
927
|
function i() {
|
|
927
928
|
!o && l(n) ? (o = !0, r = !0, setTimeout(() => {
|
|
928
|
-
|
|
929
|
+
Z(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
|
|
929
930
|
r = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
|
|
930
931
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
931
|
-
})) : e.repeat && o && !r && !l(n) && (o = !1,
|
|
932
|
+
})) : e.repeat && o && !r && !l(n) && (o = !1, Z(n.style, e.steps[0].styles));
|
|
932
933
|
}
|
|
933
934
|
const s = Pn(i, 200, {
|
|
934
935
|
leading: !1
|
|
935
936
|
});
|
|
936
937
|
function l(p) {
|
|
937
|
-
const
|
|
938
|
-
return
|
|
938
|
+
const b = p.getBoundingClientRect(), c = window.innerHeight, f = (e.thresholdPercent || 0) / 100 * c;
|
|
939
|
+
return b.bottom > f && b.top < c - f;
|
|
939
940
|
}
|
|
940
941
|
const a = e.steps[0].styles;
|
|
941
942
|
function u() {
|
|
942
|
-
|
|
943
|
+
Z(n.style, a);
|
|
943
944
|
}
|
|
944
945
|
u(), setTimeout(() => {
|
|
945
|
-
n.style.transition = `all ${e.duration}s ${
|
|
946
|
+
n.style.transition = `all ${e.duration}s ${Be(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
946
947
|
}), document.addEventListener("scroll", s, {
|
|
947
948
|
capture: !0,
|
|
948
949
|
passive: !0
|
|
@@ -951,8 +952,8 @@ function Vn(e) {
|
|
|
951
952
|
}
|
|
952
953
|
const ht = (e) => Object.entries(e).map(([n, o]) => {
|
|
953
954
|
if (typeof o == "string")
|
|
954
|
-
return `${
|
|
955
|
-
}).filter(
|
|
955
|
+
return `${Be(n)}: ${o};`;
|
|
956
|
+
}).filter(ie), Nn = (e) => ht(e).join(`
|
|
956
957
|
`), is = ({
|
|
957
958
|
mediaQuery: e,
|
|
958
959
|
className: t,
|
|
@@ -1009,7 +1010,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1009
1010
|
return;
|
|
1010
1011
|
} else
|
|
1011
1012
|
return r;
|
|
1012
|
-
},
|
|
1013
|
+
}, On = ({
|
|
1013
1014
|
block: e,
|
|
1014
1015
|
context: t
|
|
1015
1016
|
}) => {
|
|
@@ -1019,7 +1020,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1019
1020
|
} = e;
|
|
1020
1021
|
if (!(n != null && n.collection))
|
|
1021
1022
|
return;
|
|
1022
|
-
const r =
|
|
1023
|
+
const r = ee({
|
|
1023
1024
|
code: n.collection,
|
|
1024
1025
|
localState: t.localState,
|
|
1025
1026
|
rootState: t.rootState,
|
|
@@ -1042,7 +1043,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1042
1043
|
},
|
|
1043
1044
|
block: o
|
|
1044
1045
|
}));
|
|
1045
|
-
},
|
|
1046
|
+
}, xn = (e, t) => {
|
|
1046
1047
|
var n;
|
|
1047
1048
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
1048
1049
|
builderLinkComponent: t
|
|
@@ -1067,22 +1068,22 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1067
1068
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1068
1069
|
e
|
|
1069
1070
|
), e;
|
|
1070
|
-
}), zn = () => import("./block-wrapper-
|
|
1071
|
+
}), zn = () => import("./block-wrapper-PUFgSKq_.js").then((e) => e.default).catch((e) => {
|
|
1071
1072
|
throw console.error(
|
|
1072
1073
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1073
1074
|
e
|
|
1074
1075
|
), e;
|
|
1075
|
-
}), jn = () => import("./component-ref-
|
|
1076
|
+
}), jn = () => import("./component-ref-HmJKie9z.js").then((e) => e.default).catch((e) => {
|
|
1076
1077
|
throw console.error(
|
|
1077
1078
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1078
1079
|
e
|
|
1079
1080
|
), e;
|
|
1080
|
-
}), qn = () => import("./repeated-block-
|
|
1081
|
+
}), qn = () => import("./repeated-block-PvGSbsHD.js").then((e) => e.default).catch((e) => {
|
|
1081
1082
|
throw console.error(
|
|
1082
1083
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1083
1084
|
e
|
|
1084
1085
|
), e;
|
|
1085
|
-
}), Kn = () => import("./style-wrapper-
|
|
1086
|
+
}), Kn = () => import("./style-wrapper-U-7exIwN.js").then((e) => e.default).catch((e) => {
|
|
1086
1087
|
throw console.error(
|
|
1087
1088
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1088
1089
|
e
|
|
@@ -1090,11 +1091,11 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1090
1091
|
}), Jn = y({
|
|
1091
1092
|
name: "block",
|
|
1092
1093
|
components: {
|
|
1093
|
-
StyleWrapper:
|
|
1094
|
-
RepeatedBlock:
|
|
1095
|
-
ComponentRef:
|
|
1096
|
-
BlockWrapper:
|
|
1097
|
-
DynamicDiv:
|
|
1094
|
+
StyleWrapper: Y(Kn),
|
|
1095
|
+
RepeatedBlock: Y(qn),
|
|
1096
|
+
ComponentRef: Y(jn),
|
|
1097
|
+
BlockWrapper: Y(zn),
|
|
1098
|
+
DynamicDiv: Y(Mn)
|
|
1098
1099
|
},
|
|
1099
1100
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
1100
1101
|
data() {
|
|
@@ -1119,7 +1120,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1119
1120
|
},
|
|
1120
1121
|
computed: {
|
|
1121
1122
|
repeatItem() {
|
|
1122
|
-
return
|
|
1123
|
+
return On({
|
|
1123
1124
|
block: this.block,
|
|
1124
1125
|
context: this.context
|
|
1125
1126
|
});
|
|
@@ -1165,7 +1166,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1165
1166
|
...Gt(this.processedBlock, this.context),
|
|
1166
1167
|
...Fn(this.blockComponent, this.processedBlock),
|
|
1167
1168
|
...Ln(this.blockComponent, this.context),
|
|
1168
|
-
...
|
|
1169
|
+
...xn(this.blockComponent, this.linkComponent),
|
|
1169
1170
|
...Un(
|
|
1170
1171
|
this.blockComponent,
|
|
1171
1172
|
this.registeredComponents,
|
|
@@ -1183,7 +1184,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1183
1184
|
}
|
|
1184
1185
|
});
|
|
1185
1186
|
function Gn(e, t, n, o, r, i) {
|
|
1186
|
-
var
|
|
1187
|
+
var b;
|
|
1187
1188
|
const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
|
|
1188
1189
|
return e.canShowBlock ? (d(), h(w, { key: 0 }, [
|
|
1189
1190
|
$(s, {
|
|
@@ -1191,8 +1192,8 @@ function Gn(e, t, n, o, r, i) {
|
|
|
1191
1192
|
context: e.context,
|
|
1192
1193
|
id: e.block.id
|
|
1193
1194
|
}, null, 8, ["block", "context", "id"]),
|
|
1194
|
-
(
|
|
1195
|
-
e.repeatItem ? (d(!0), h(w, { key: 1 },
|
|
1195
|
+
(b = e.blockComponent) != null && b.noWrap ? (d(), h(w, { key: 1 }, [
|
|
1196
|
+
e.repeatItem ? (d(!0), h(w, { key: 1 }, U(e.repeatItem, (c, m) => (d(), S(p, {
|
|
1196
1197
|
key: e.generateKey(m),
|
|
1197
1198
|
repeatContext: c.context,
|
|
1198
1199
|
block: c.block,
|
|
@@ -1211,7 +1212,7 @@ function Gn(e, t, n, o, r, i) {
|
|
|
1211
1212
|
isInteractive: e.componentRefProps.isInteractive
|
|
1212
1213
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
|
|
1213
1214
|
], 64)) : (d(), h(w, { key: 0 }, [
|
|
1214
|
-
e.repeatItem ? (d(!0), h(w, { key: 1 },
|
|
1215
|
+
e.repeatItem ? (d(!0), h(w, { key: 1 }, U(e.repeatItem, (c, m) => (d(), S(p, {
|
|
1215
1216
|
key: e.generateKey(m),
|
|
1216
1217
|
repeatContext: c.context,
|
|
1217
1218
|
block: c.block,
|
|
@@ -1223,7 +1224,7 @@ function Gn(e, t, n, o, r, i) {
|
|
|
1223
1224
|
block: e.processedBlock,
|
|
1224
1225
|
context: e.context
|
|
1225
1226
|
}, {
|
|
1226
|
-
default:
|
|
1227
|
+
default: D(() => [
|
|
1227
1228
|
$(l, {
|
|
1228
1229
|
componentRef: e.componentRefProps.componentRef,
|
|
1229
1230
|
componentOptions: e.componentRefProps.componentOptions,
|
|
@@ -1235,7 +1236,7 @@ function Gn(e, t, n, o, r, i) {
|
|
|
1235
1236
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
1236
1237
|
isInteractive: e.componentRefProps.isInteractive
|
|
1237
1238
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
|
|
1238
|
-
(d(!0), h(w, null,
|
|
1239
|
+
(d(!0), h(w, null, U(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
|
|
1239
1240
|
key: c.id,
|
|
1240
1241
|
block: c,
|
|
1241
1242
|
registeredComponents: e.registeredComponents,
|
|
@@ -1246,7 +1247,7 @@ function Gn(e, t, n, o, r, i) {
|
|
|
1246
1247
|
_: 1
|
|
1247
1248
|
}, 8, ["Wrapper", "block", "context"]))
|
|
1248
1249
|
], 64))
|
|
1249
|
-
], 64)) :
|
|
1250
|
+
], 64)) : T("", !0);
|
|
1250
1251
|
}
|
|
1251
1252
|
const gt = /* @__PURE__ */ v(Jn, [["render", Gn]]), as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1252
1253
|
__proto__: null,
|
|
@@ -1322,7 +1323,7 @@ const gt = /* @__PURE__ */ v(Jn, [["render", Gn]]), as = /* @__PURE__ */ Object.
|
|
|
1322
1323
|
}
|
|
1323
1324
|
});
|
|
1324
1325
|
function Yn(e, t, n, o, r, i) {
|
|
1325
|
-
return d(), S(
|
|
1326
|
+
return d(), S(X(e.BlocksWrapper), I({
|
|
1326
1327
|
ref: "blocksWrapperRef",
|
|
1327
1328
|
class: e.className + " component-5vz8uirn7sc",
|
|
1328
1329
|
"builder-path": e.dataPath,
|
|
@@ -1332,7 +1333,7 @@ function Yn(e, t, n, o, r, i) {
|
|
|
1332
1333
|
onMouseEnter: (s) => e.onMouseEnter(),
|
|
1333
1334
|
onKeyPress: (s) => e.onClick()
|
|
1334
1335
|
}, { ...e.BlocksWrapperProps }), {
|
|
1335
|
-
default:
|
|
1336
|
+
default: D(() => [
|
|
1336
1337
|
V(e.$slots, "default", {}, void 0, !0)
|
|
1337
1338
|
]),
|
|
1338
1339
|
_: 3
|
|
@@ -1353,12 +1354,12 @@ const Xn = /* @__PURE__ */ v(Qn, [["render", Yn], ["__scopeId", "data-v-82fc93d6
|
|
|
1353
1354
|
"registeredComponents"
|
|
1354
1355
|
],
|
|
1355
1356
|
inject: {
|
|
1356
|
-
builderContext:
|
|
1357
|
+
builderContext: fe.key,
|
|
1357
1358
|
componentsContext: et.key
|
|
1358
1359
|
}
|
|
1359
1360
|
});
|
|
1360
1361
|
function _n(e, t, n, o, r, i) {
|
|
1361
|
-
var a, u, p,
|
|
1362
|
+
var a, u, p, b;
|
|
1362
1363
|
const s = k("Block"), l = k("BlocksWrapper");
|
|
1363
1364
|
return d(), S(l, {
|
|
1364
1365
|
blocks: e.blocks,
|
|
@@ -1367,20 +1368,20 @@ function _n(e, t, n, o, r, i) {
|
|
|
1367
1368
|
styleProp: e.styleProp,
|
|
1368
1369
|
BlocksWrapperProps: e.BlocksWrapperProps || ((a = e.context) == null ? void 0 : a.BlocksWrapperProps) || ((u = e.builderContext) == null ? void 0 : u.BlocksWrapperProps),
|
|
1369
1370
|
classNameProp: e.className,
|
|
1370
|
-
BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((
|
|
1371
|
+
BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
|
|
1371
1372
|
}, {
|
|
1372
|
-
default:
|
|
1373
|
+
default: D(() => [
|
|
1373
1374
|
V(e.$slots, "default"),
|
|
1374
|
-
e.blocks ? (d(!0), h(w, { key: 0 },
|
|
1375
|
-
var
|
|
1375
|
+
e.blocks ? (d(!0), h(w, { key: 0 }, U(e.blocks, (c, m) => {
|
|
1376
|
+
var f;
|
|
1376
1377
|
return d(), S(s, {
|
|
1377
1378
|
key: c.id,
|
|
1378
1379
|
block: c,
|
|
1379
1380
|
linkComponent: e.linkComponent,
|
|
1380
1381
|
context: e.context || e.builderContext,
|
|
1381
|
-
registeredComponents: e.registeredComponents || ((
|
|
1382
|
+
registeredComponents: e.registeredComponents || ((f = e.componentsContext) == null ? void 0 : f.registeredComponents)
|
|
1382
1383
|
}, null, 8, ["block", "linkComponent", "context", "registeredComponents"]);
|
|
1383
|
-
}), 128)) :
|
|
1384
|
+
}), 128)) : T("", !0)
|
|
1384
1385
|
]),
|
|
1385
1386
|
_: 3
|
|
1386
1387
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
@@ -1394,10 +1395,10 @@ function to(e, t, n, o, r, i) {
|
|
|
1394
1395
|
V(e.$slots, "default")
|
|
1395
1396
|
]);
|
|
1396
1397
|
}
|
|
1397
|
-
const
|
|
1398
|
+
const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1398
1399
|
__proto__: null,
|
|
1399
|
-
default:
|
|
1400
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1400
|
+
default: te
|
|
1401
|
+
}, Symbol.toStringTag, { value: "Module" })), de = y({
|
|
1401
1402
|
render() {
|
|
1402
1403
|
return Qe("style", {
|
|
1403
1404
|
innerHTML: this.styles,
|
|
@@ -1429,7 +1430,7 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
|
|
|
1429
1430
|
max: 1200
|
|
1430
1431
|
}
|
|
1431
1432
|
}, ls = (e, t = yt) => `@media (max-width: ${t[e].max}px)`, oo = (e) => {
|
|
1432
|
-
const t =
|
|
1433
|
+
const t = we(yt);
|
|
1433
1434
|
if (!e)
|
|
1434
1435
|
return t;
|
|
1435
1436
|
const {
|
|
@@ -1469,10 +1470,10 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
|
|
|
1469
1470
|
}, ro = (e) => `builder-columns ${e}-breakpoints`, io = y({
|
|
1470
1471
|
name: "builder-columns",
|
|
1471
1472
|
components: {
|
|
1472
|
-
InlinedStyles:
|
|
1473
|
-
DynamicRenderer:
|
|
1473
|
+
InlinedStyles: de,
|
|
1474
|
+
DynamicRenderer: $e,
|
|
1474
1475
|
Blocks: j,
|
|
1475
|
-
DynamicDiv:
|
|
1476
|
+
DynamicDiv: te
|
|
1476
1477
|
},
|
|
1477
1478
|
props: [
|
|
1478
1479
|
"space",
|
|
@@ -1601,7 +1602,7 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
|
|
|
1601
1602
|
...e.link ? {
|
|
1602
1603
|
href: e.link
|
|
1603
1604
|
} : {},
|
|
1604
|
-
[
|
|
1605
|
+
[M()]: "builder-column",
|
|
1605
1606
|
style: ft(this.columnCssVars(t))
|
|
1606
1607
|
};
|
|
1607
1608
|
}
|
|
@@ -1619,16 +1620,16 @@ function so(e, t, n, o, r, i) {
|
|
|
1619
1620
|
id: "builderio-columns",
|
|
1620
1621
|
styles: e.columnsStyles(),
|
|
1621
1622
|
nonce: e.builderContext.nonce
|
|
1622
|
-
}, null, 8, ["styles", "nonce"])) :
|
|
1623
|
-
(d(!0), h(w, null,
|
|
1624
|
-
key:
|
|
1623
|
+
}, null, 8, ["styles", "nonce"])) : T("", !0),
|
|
1624
|
+
(d(!0), h(w, null, U(e.columns, (p, b) => (d(), S(a, {
|
|
1625
|
+
key: b,
|
|
1625
1626
|
TagName: e.getTagName(p),
|
|
1626
1627
|
actionAttributes: {},
|
|
1627
|
-
attributes: e.getAttributes(p,
|
|
1628
|
+
attributes: e.getAttributes(p, b)
|
|
1628
1629
|
}, {
|
|
1629
|
-
default:
|
|
1630
|
+
default: D(() => [
|
|
1630
1631
|
$(l, {
|
|
1631
|
-
path: `columns.${
|
|
1632
|
+
path: `columns.${b}.blocks`,
|
|
1632
1633
|
parent: e.builderBlock.id,
|
|
1633
1634
|
context: e.builderContext,
|
|
1634
1635
|
registeredComponents: e.builderComponents,
|
|
@@ -1672,7 +1673,7 @@ function mo(e, t) {
|
|
|
1672
1673
|
}
|
|
1673
1674
|
return null;
|
|
1674
1675
|
}
|
|
1675
|
-
function
|
|
1676
|
+
function ne(e) {
|
|
1676
1677
|
if (!e)
|
|
1677
1678
|
return e;
|
|
1678
1679
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
@@ -1713,10 +1714,10 @@ const ho = y({
|
|
|
1713
1714
|
if (!this.noWebp) {
|
|
1714
1715
|
if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
|
|
1715
1716
|
if (!this.srcset.includes(this.image.split("?")[0]))
|
|
1716
|
-
return console.debug("Removed given srcset"),
|
|
1717
|
+
return console.debug("Removed given srcset"), ne(t);
|
|
1717
1718
|
} else if (this.image && !this.srcset)
|
|
1718
|
-
return
|
|
1719
|
-
return
|
|
1719
|
+
return ne(t);
|
|
1720
|
+
return ne(t);
|
|
1720
1721
|
}
|
|
1721
1722
|
},
|
|
1722
1723
|
webpSrcSet() {
|
|
@@ -1742,27 +1743,27 @@ const ho = y({
|
|
|
1742
1743
|
class: "div-t43jfuqn6g-2"
|
|
1743
1744
|
};
|
|
1744
1745
|
function yo(e, t, n, o, r, i) {
|
|
1745
|
-
var s, l, a, u, p,
|
|
1746
|
+
var s, l, a, u, p, b;
|
|
1746
1747
|
return d(), h(w, null, [
|
|
1747
|
-
|
|
1748
|
+
K("picture", null, [
|
|
1748
1749
|
e.webpSrcSet ? (d(), h("source", {
|
|
1749
1750
|
key: 0,
|
|
1750
1751
|
type: "image/webp",
|
|
1751
1752
|
srcset: e.webpSrcSet,
|
|
1752
1753
|
sizes: e.sizesToUse
|
|
1753
|
-
}, null, 8, fo)) :
|
|
1754
|
-
|
|
1754
|
+
}, null, 8, fo)) : T("", !0),
|
|
1755
|
+
K("img", {
|
|
1755
1756
|
loading: e.highPriority ? "eager" : "lazy",
|
|
1756
1757
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
1757
1758
|
alt: e.altText || "",
|
|
1758
1759
|
title: e.title,
|
|
1759
1760
|
role: e.altText ? void 0 : "presentation",
|
|
1760
|
-
style:
|
|
1761
|
+
style: H({
|
|
1761
1762
|
objectPosition: e.backgroundPosition || "center",
|
|
1762
1763
|
objectFit: e.backgroundSize || "cover",
|
|
1763
1764
|
...e.aspectRatioCss
|
|
1764
1765
|
}),
|
|
1765
|
-
class:
|
|
1766
|
+
class: _(
|
|
1766
1767
|
"builder-image" + (e.className ? " " + e.className : "") + " img-t43jfuqn6g"
|
|
1767
1768
|
),
|
|
1768
1769
|
src: e.image,
|
|
@@ -1773,14 +1774,14 @@ function yo(e, t, n, o, r, i) {
|
|
|
1773
1774
|
e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
|
|
1774
1775
|
key: 0,
|
|
1775
1776
|
class: "builder-image-sizer div-t43jfuqn6g",
|
|
1776
|
-
style:
|
|
1777
|
+
style: H({
|
|
1777
1778
|
paddingTop: e.aspectRatio * 100 + "%"
|
|
1778
1779
|
})
|
|
1779
|
-
}, null, 4)) :
|
|
1780
|
-
(u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? V(e.$slots, "default", { key: 1 }, void 0, !0) :
|
|
1781
|
-
!e.fitContent && ((
|
|
1780
|
+
}, null, 4)) : T("", !0),
|
|
1781
|
+
(u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? V(e.$slots, "default", { key: 1 }, void 0, !0) : T("", !0),
|
|
1782
|
+
!e.fitContent && ((b = (p = e.builderBlock) == null ? void 0 : p.children) != null && b.length) ? (d(), h("div", go, [
|
|
1782
1783
|
V(e.$slots, "default", {}, void 0, !0)
|
|
1783
|
-
])) :
|
|
1784
|
+
])) : T("", !0)
|
|
1784
1785
|
], 64);
|
|
1785
1786
|
}
|
|
1786
1787
|
const vo = /* @__PURE__ */ v(ho, [["render", yo], ["__scopeId", "data-v-bb2384ad"]]), So = y({
|
|
@@ -1804,7 +1805,7 @@ function ko(e, t, n, o, r, i) {
|
|
|
1804
1805
|
marginLeft: "auto",
|
|
1805
1806
|
marginRight: "auto"
|
|
1806
1807
|
}
|
|
1807
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
1808
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
1808
1809
|
V(e.$slots, "default")
|
|
1809
1810
|
], 16);
|
|
1810
1811
|
}
|
|
@@ -1819,41 +1820,41 @@ function To(e, t, n, o) {
|
|
|
1819
1820
|
function s(u, p) {
|
|
1820
1821
|
return (() => {
|
|
1821
1822
|
const c = p.property, m = p.operator;
|
|
1822
|
-
let
|
|
1823
|
-
if (p && p.property === "urlPath" && p.value && typeof p.value == "string" && p.value !== "/" && p.value.endsWith("/") && (
|
|
1823
|
+
let f = p.value;
|
|
1824
|
+
if (p && p.property === "urlPath" && p.value && typeof p.value == "string" && p.value !== "/" && p.value.endsWith("/") && (f = p.value.slice(0, -1)), !(c && m))
|
|
1824
1825
|
return !0;
|
|
1825
|
-
if (Array.isArray(
|
|
1826
|
-
return m === "isNot" ?
|
|
1826
|
+
if (Array.isArray(f))
|
|
1827
|
+
return m === "isNot" ? f.every((P) => s(u, {
|
|
1827
1828
|
property: c,
|
|
1828
1829
|
operator: m,
|
|
1829
1830
|
value: P
|
|
1830
|
-
})) : !!
|
|
1831
|
+
})) : !!f.find((P) => s(u, {
|
|
1831
1832
|
property: c,
|
|
1832
1833
|
operator: m,
|
|
1833
1834
|
value: P
|
|
1834
1835
|
}));
|
|
1835
1836
|
const g = u[c];
|
|
1836
1837
|
if (Array.isArray(g))
|
|
1837
|
-
return g.includes(
|
|
1838
|
+
return g.includes(f);
|
|
1838
1839
|
switch (m) {
|
|
1839
1840
|
case "is":
|
|
1840
|
-
return g ===
|
|
1841
|
+
return g === f;
|
|
1841
1842
|
case "isNot":
|
|
1842
|
-
return g !==
|
|
1843
|
+
return g !== f;
|
|
1843
1844
|
case "contains":
|
|
1844
|
-
return (r(g) || Array.isArray(g)) && g.includes(String(
|
|
1845
|
+
return (r(g) || Array.isArray(g)) && g.includes(String(f));
|
|
1845
1846
|
case "startsWith":
|
|
1846
|
-
return r(g) && g.startsWith(String(
|
|
1847
|
+
return r(g) && g.startsWith(String(f));
|
|
1847
1848
|
case "endsWith":
|
|
1848
|
-
return r(g) && g.endsWith(String(
|
|
1849
|
+
return r(g) && g.endsWith(String(f));
|
|
1849
1850
|
case "greaterThan":
|
|
1850
|
-
return i(g) && i(
|
|
1851
|
+
return i(g) && i(f) && g > f;
|
|
1851
1852
|
case "lessThan":
|
|
1852
|
-
return i(g) && i(
|
|
1853
|
+
return i(g) && i(f) && g < f;
|
|
1853
1854
|
case "greaterThanOrEqualTo":
|
|
1854
|
-
return i(g) && i(
|
|
1855
|
+
return i(g) && i(f) && g >= f;
|
|
1855
1856
|
case "lessThanOrEqualTo":
|
|
1856
|
-
return i(g) && i(
|
|
1857
|
+
return i(g) && i(f) && g <= f;
|
|
1857
1858
|
default:
|
|
1858
1859
|
return !1;
|
|
1859
1860
|
}
|
|
@@ -2027,7 +2028,7 @@ const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
2027
2028
|
visibilityStylesEl.innerHTML = newStyleStr;
|
|
2028
2029
|
}
|
|
2029
2030
|
}
|
|
2030
|
-
}`,
|
|
2031
|
+
}`, oe = "default", qe = "filterWithCustomTargeting", ve = "builderIoPersonalization", Se = "updateVisibilityStylesScript", Ro = "PersonalizationContainer", vt = ["react", "vue", "svelte", "qwik"], St = ["vue", "svelte", "qwik"];
|
|
2031
2032
|
function Eo(e, t) {
|
|
2032
2033
|
return !(e && e.length > 0) || !t ? !1 : St.includes(R) ? !0 : !E();
|
|
2033
2034
|
}
|
|
@@ -2041,7 +2042,7 @@ function Po({
|
|
|
2041
2042
|
const i = {
|
|
2042
2043
|
blocks: r ?? [],
|
|
2043
2044
|
path: "this.children",
|
|
2044
|
-
index:
|
|
2045
|
+
index: oe
|
|
2045
2046
|
};
|
|
2046
2047
|
if (n && A()) {
|
|
2047
2048
|
if (typeof t == "number" && t < ((e == null ? void 0 : e.length) ?? 0)) {
|
|
@@ -2069,22 +2070,22 @@ function Po({
|
|
|
2069
2070
|
}
|
|
2070
2071
|
return i;
|
|
2071
2072
|
}
|
|
2072
|
-
const
|
|
2073
|
+
const ke = (e) => {
|
|
2073
2074
|
var t;
|
|
2074
|
-
return Array.isArray(e) ? e.some(
|
|
2075
|
-
}, Ao = (e) =>
|
|
2075
|
+
return Array.isArray(e) ? e.some(ke) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Ro ? !0 : Object.values(e).some(ke);
|
|
2076
|
+
}, Ao = (e) => ke(e), Bo = () => `
|
|
2076
2077
|
(function() {
|
|
2077
2078
|
if (!window.${qe}) {
|
|
2078
2079
|
window.${qe} = ${Io};
|
|
2079
2080
|
}
|
|
2080
|
-
if (!window.${ye}) {
|
|
2081
|
-
window.${ye} = ${wo};
|
|
2082
|
-
}
|
|
2083
2081
|
if (!window.${ve}) {
|
|
2084
|
-
window.${ve} = ${
|
|
2082
|
+
window.${ve} = ${wo};
|
|
2083
|
+
}
|
|
2084
|
+
if (!window.${Se}) {
|
|
2085
|
+
window.${Se} = ${$o};
|
|
2085
2086
|
}
|
|
2086
2087
|
})();
|
|
2087
|
-
`, kt = R === "react", Vo = (e, t, n) => `window.${
|
|
2088
|
+
`, kt = R === "react", Vo = (e, t, n) => `window.${ve}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, No = (e, t, n) => `window.${Se}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, ue = {
|
|
2088
2089
|
"@type": "@builder.io/sdk:Element",
|
|
2089
2090
|
layerName: "Accordion item title",
|
|
2090
2091
|
responsiveStyles: {
|
|
@@ -2113,7 +2114,7 @@ const Se = (e) => {
|
|
|
2113
2114
|
}
|
|
2114
2115
|
}
|
|
2115
2116
|
}]
|
|
2116
|
-
},
|
|
2117
|
+
}, pe = {
|
|
2117
2118
|
"@type": "@builder.io/sdk:Element",
|
|
2118
2119
|
layerName: "Accordion item detail",
|
|
2119
2120
|
responsiveStyles: {
|
|
@@ -2161,19 +2162,19 @@ const Se = (e) => {
|
|
|
2161
2162
|
name: "title",
|
|
2162
2163
|
type: "uiBlocks",
|
|
2163
2164
|
hideFromUI: !0,
|
|
2164
|
-
defaultValue: [
|
|
2165
|
+
defaultValue: [ue]
|
|
2165
2166
|
}, {
|
|
2166
2167
|
name: "detail",
|
|
2167
2168
|
type: "uiBlocks",
|
|
2168
2169
|
hideFromUI: !0,
|
|
2169
|
-
defaultValue: [
|
|
2170
|
+
defaultValue: [pe]
|
|
2170
2171
|
}],
|
|
2171
2172
|
defaultValue: [{
|
|
2172
|
-
title: [
|
|
2173
|
-
detail: [
|
|
2173
|
+
title: [ue],
|
|
2174
|
+
detail: [pe]
|
|
2174
2175
|
}, {
|
|
2175
|
-
title: [
|
|
2176
|
-
detail: [
|
|
2176
|
+
title: [ue],
|
|
2177
|
+
detail: [pe]
|
|
2177
2178
|
}],
|
|
2178
2179
|
showIf: (e) => !e.get("useChildrenForItems")
|
|
2179
2180
|
}, {
|
|
@@ -2208,7 +2209,7 @@ const Se = (e) => {
|
|
|
2208
2209
|
builderComponents: !0,
|
|
2209
2210
|
builderLinkComponent: !0
|
|
2210
2211
|
}
|
|
2211
|
-
}, Do = (e) => e.toString(),
|
|
2212
|
+
}, Do = (e) => e.toString(), Oo = y({
|
|
2212
2213
|
name: "builder-accordion",
|
|
2213
2214
|
components: { Blocks: j },
|
|
2214
2215
|
props: [
|
|
@@ -2303,17 +2304,17 @@ const Se = (e) => {
|
|
|
2303
2304
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
2304
2305
|
}
|
|
2305
2306
|
}
|
|
2306
|
-
}),
|
|
2307
|
+
}), xo = ["data-index", "onClick"];
|
|
2307
2308
|
function Uo(e, t, n, o, r, i) {
|
|
2308
2309
|
const s = k("Blocks");
|
|
2309
2310
|
return d(), h("div", {
|
|
2310
2311
|
class: "builder-accordion",
|
|
2311
|
-
style:
|
|
2312
|
+
style: H(e.accordionStyles)
|
|
2312
2313
|
}, [
|
|
2313
|
-
(d(!0), h(w, null,
|
|
2314
|
-
|
|
2315
|
-
class:
|
|
2316
|
-
style:
|
|
2314
|
+
(d(!0), h(w, null, U(e.items, (l, a) => (d(), h(w, { key: a }, [
|
|
2315
|
+
K("div", {
|
|
2316
|
+
class: _(e.getAccordionTitleClassName(a)),
|
|
2317
|
+
style: H({
|
|
2317
2318
|
...e.accordionTitleStyles,
|
|
2318
2319
|
...e.grid && {
|
|
2319
2320
|
width: e.gridRowWidth,
|
|
@@ -2331,11 +2332,11 @@ function Uo(e, t, n, o, r, i) {
|
|
|
2331
2332
|
registeredComponents: e.builderComponents,
|
|
2332
2333
|
linkComponent: e.builderLinkComponent
|
|
2333
2334
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
2334
|
-
], 14,
|
|
2335
|
+
], 14, xo),
|
|
2335
2336
|
e.open.includes(a) ? (d(), h("div", {
|
|
2336
2337
|
key: 0,
|
|
2337
|
-
class:
|
|
2338
|
-
style:
|
|
2338
|
+
class: _(e.getAccordionDetailClassName(a)),
|
|
2339
|
+
style: H(e.accordionDetailStyles)
|
|
2339
2340
|
}, [
|
|
2340
2341
|
$(s, {
|
|
2341
2342
|
blocks: l.detail,
|
|
@@ -2345,11 +2346,11 @@ function Uo(e, t, n, o, r, i) {
|
|
|
2345
2346
|
registeredComponents: e.builderComponents,
|
|
2346
2347
|
linkComponent: e.builderLinkComponent
|
|
2347
2348
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
2348
|
-
], 6)) :
|
|
2349
|
+
], 6)) : T("", !0)
|
|
2349
2350
|
], 64))), 128))
|
|
2350
2351
|
], 4);
|
|
2351
2352
|
}
|
|
2352
|
-
const Fo = /* @__PURE__ */ v(
|
|
2353
|
+
const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
|
|
2353
2354
|
name: "Core:Button",
|
|
2354
2355
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
2355
2356
|
defaultStyles: {
|
|
@@ -2598,7 +2599,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2598
2599
|
hidden: !0,
|
|
2599
2600
|
canHaveChildren: !0,
|
|
2600
2601
|
noWrap: !0
|
|
2601
|
-
},
|
|
2602
|
+
}, Ve = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], zo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], jo = {
|
|
2602
2603
|
name: "Image",
|
|
2603
2604
|
static: !0,
|
|
2604
2605
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -2613,7 +2614,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2613
2614
|
name: "image",
|
|
2614
2615
|
type: "file",
|
|
2615
2616
|
bubble: !0,
|
|
2616
|
-
allowedFileTypes:
|
|
2617
|
+
allowedFileTypes: Ve,
|
|
2617
2618
|
required: !0,
|
|
2618
2619
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
2619
2620
|
onChange: (e) => {
|
|
@@ -2621,13 +2622,13 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2621
2622
|
function n(s, l = 6e4) {
|
|
2622
2623
|
return new Promise((a, u) => {
|
|
2623
2624
|
const p = document.createElement("img");
|
|
2624
|
-
let
|
|
2625
|
+
let b = !1;
|
|
2625
2626
|
p.onload = () => {
|
|
2626
|
-
|
|
2627
|
+
b = !0, a(p);
|
|
2627
2628
|
}, p.addEventListener("error", (c) => {
|
|
2628
2629
|
console.warn("Image load failed", c.error), u(c.error);
|
|
2629
2630
|
}), p.src = s, setTimeout(() => {
|
|
2630
|
-
|
|
2631
|
+
b || u(new Error("Image load timed out"));
|
|
2631
2632
|
}, l);
|
|
2632
2633
|
});
|
|
2633
2634
|
}
|
|
@@ -2747,7 +2748,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2747
2748
|
defaultValue: []
|
|
2748
2749
|
}]
|
|
2749
2750
|
}]
|
|
2750
|
-
},
|
|
2751
|
+
}, Ne = y({
|
|
2751
2752
|
render() {
|
|
2752
2753
|
return Qe("script", {
|
|
2753
2754
|
innerHTML: this.scriptStr,
|
|
@@ -2761,8 +2762,8 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2761
2762
|
name: "builder-personalization-container",
|
|
2762
2763
|
components: {
|
|
2763
2764
|
Blocks: j,
|
|
2764
|
-
InlinedStyles:
|
|
2765
|
-
InlinedScript:
|
|
2765
|
+
InlinedStyles: de,
|
|
2766
|
+
InlinedScript: Ne
|
|
2766
2767
|
},
|
|
2767
2768
|
props: [
|
|
2768
2769
|
"builderContext",
|
|
@@ -2775,7 +2776,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2775
2776
|
data() {
|
|
2776
2777
|
var e, t, n, o, r, i, s;
|
|
2777
2778
|
return {
|
|
2778
|
-
userAttributes:
|
|
2779
|
+
userAttributes: le.getUserAttributes(),
|
|
2779
2780
|
scriptStr: Vo(
|
|
2780
2781
|
this.variants,
|
|
2781
2782
|
((e = this.builderBlock) == null ? void 0 : e.id) || "none",
|
|
@@ -2789,18 +2790,18 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2789
2790
|
unsubscribers: [],
|
|
2790
2791
|
shouldRenderVariants: Eo(
|
|
2791
2792
|
this.variants,
|
|
2792
|
-
|
|
2793
|
+
J((s = this.builderContext) == null ? void 0 : s.canTrack)
|
|
2793
2794
|
),
|
|
2794
2795
|
shouldResetVariants: !1,
|
|
2795
2796
|
TARGET: R,
|
|
2796
|
-
DEFAULT_INDEX:
|
|
2797
|
+
DEFAULT_INDEX: oe,
|
|
2797
2798
|
SDKS_REQUIRING_RESET_APPROACH: St
|
|
2798
2799
|
};
|
|
2799
2800
|
},
|
|
2800
2801
|
mounted() {
|
|
2801
2802
|
var t;
|
|
2802
2803
|
this.shouldResetVariants = !0;
|
|
2803
|
-
const e =
|
|
2804
|
+
const e = le.subscribeOnUserAttributesChange(
|
|
2804
2805
|
(n) => {
|
|
2805
2806
|
this.userAttributes = n;
|
|
2806
2807
|
},
|
|
@@ -2808,12 +2809,12 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2808
2809
|
fireImmediately: R === "qwik"
|
|
2809
2810
|
}
|
|
2810
2811
|
);
|
|
2811
|
-
if (!(A() ||
|
|
2812
|
+
if (!(A() || Re())) {
|
|
2812
2813
|
const n = this.filteredVariants[0];
|
|
2813
2814
|
this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
|
|
2814
2815
|
new CustomEvent("builder.variantLoaded", {
|
|
2815
2816
|
detail: {
|
|
2816
|
-
variant: n ||
|
|
2817
|
+
variant: n || oe,
|
|
2817
2818
|
content: (t = this.builderContext) == null ? void 0 : t.content
|
|
2818
2819
|
},
|
|
2819
2820
|
bubbles: !0
|
|
@@ -2824,7 +2825,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2824
2825
|
i.isIntersecting && this.$refs.rootRef && this.$refs.rootRef.dispatchEvent(
|
|
2825
2826
|
new CustomEvent("builder.variantDisplayed", {
|
|
2826
2827
|
detail: {
|
|
2827
|
-
variant: n ||
|
|
2828
|
+
variant: n || oe,
|
|
2828
2829
|
content: (s = this.builderContext) == null ? void 0 : s.content
|
|
2829
2830
|
},
|
|
2830
2831
|
bubbles: !0
|
|
@@ -2843,7 +2844,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2843
2844
|
return {
|
|
2844
2845
|
...N(this.attributes, "v-on:", !1),
|
|
2845
2846
|
...N(this.attributes, "v-on:", !0),
|
|
2846
|
-
[
|
|
2847
|
+
[M()]: `builder-personalization-container ${this.attributes[M()] || ""}`
|
|
2847
2848
|
};
|
|
2848
2849
|
},
|
|
2849
2850
|
filteredVariants() {
|
|
@@ -2883,7 +2884,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
|
2883
2884
|
}
|
|
2884
2885
|
});
|
|
2885
2886
|
function Jo(e, t, n, o, r, i) {
|
|
2886
|
-
var u, p,
|
|
2887
|
+
var u, p, b, c, m, f, g, P, O, B;
|
|
2887
2888
|
const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
|
|
2888
2889
|
return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
|
|
2889
2890
|
e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), S(s, {
|
|
@@ -2895,9 +2896,9 @@ function Jo(e, t, n, o, r, i) {
|
|
|
2895
2896
|
registeredComponents: e.builderComponents,
|
|
2896
2897
|
BlocksWrapperProps: {
|
|
2897
2898
|
...(p = e.builderContext) == null ? void 0 : p.BlocksWrapperProps,
|
|
2898
|
-
"data-variant-id": `${(
|
|
2899
|
+
"data-variant-id": `${(b = e.builderBlock) == null ? void 0 : b.id}-${e.blocksToRender.index}`
|
|
2899
2900
|
}
|
|
2900
|
-
}, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) :
|
|
2901
|
+
}, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : T("", !0),
|
|
2901
2902
|
!e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(w, { key: 1 }, [
|
|
2902
2903
|
e.shouldRenderVariants ? (d(), h(w, { key: 0 }, [
|
|
2903
2904
|
$(l, {
|
|
@@ -2906,40 +2907,40 @@ function Jo(e, t, n, o, r, i) {
|
|
|
2906
2907
|
id: `variants-styles-${(m = e.builderBlock) == null ? void 0 : m.id}`
|
|
2907
2908
|
}, null, 8, ["nonce", "styles", "id"]),
|
|
2908
2909
|
$(a, {
|
|
2909
|
-
nonce: ((
|
|
2910
|
+
nonce: ((f = e.builderContext) == null ? void 0 : f.nonce) || "",
|
|
2910
2911
|
scriptStr: e.updateVisibilityStylesScript,
|
|
2911
2912
|
id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
|
|
2912
2913
|
}, null, 8, ["nonce", "scriptStr", "id"]),
|
|
2913
|
-
(d(!0), h(w, null,
|
|
2914
|
-
var
|
|
2914
|
+
(d(!0), h(w, null, U(e.variants, (q, C) => {
|
|
2915
|
+
var z, G, Q, W;
|
|
2915
2916
|
return d(), S(s, {
|
|
2916
|
-
key: `${(
|
|
2917
|
+
key: `${(z = e.builderBlock) == null ? void 0 : z.id}-${C}`,
|
|
2917
2918
|
BlocksWrapperProps: {
|
|
2918
2919
|
...(G = e.builderContext) == null ? void 0 : G.BlocksWrapperProps,
|
|
2919
2920
|
"aria-hidden": !0,
|
|
2920
2921
|
hidden: !0,
|
|
2921
|
-
"data-variant-id": `${(
|
|
2922
|
+
"data-variant-id": `${(Q = e.builderBlock) == null ? void 0 : Q.id}-${C}`
|
|
2922
2923
|
},
|
|
2923
|
-
blocks:
|
|
2924
|
-
parent: (
|
|
2925
|
-
path: `component.options.variants.${
|
|
2924
|
+
blocks: q.blocks,
|
|
2925
|
+
parent: (W = e.builderBlock) == null ? void 0 : W.id,
|
|
2926
|
+
path: `component.options.variants.${C}.blocks`,
|
|
2926
2927
|
context: e.builderContext,
|
|
2927
2928
|
registeredComponents: e.builderComponents
|
|
2928
2929
|
}, {
|
|
2929
|
-
default:
|
|
2930
|
-
var
|
|
2930
|
+
default: D(() => {
|
|
2931
|
+
var L, De;
|
|
2931
2932
|
return [
|
|
2932
2933
|
$(a, {
|
|
2933
|
-
nonce: ((
|
|
2934
|
+
nonce: ((L = e.builderContext) == null ? void 0 : L.nonce) || "",
|
|
2934
2935
|
scriptStr: e.scriptStr,
|
|
2935
|
-
id: `variants-script-${(De = e.builderBlock) == null ? void 0 : De.id}-${
|
|
2936
|
+
id: `variants-script-${(De = e.builderBlock) == null ? void 0 : De.id}-${C}`
|
|
2936
2937
|
}, null, 8, ["nonce", "scriptStr", "id"])
|
|
2937
2938
|
];
|
|
2938
2939
|
}),
|
|
2939
2940
|
_: 2
|
|
2940
2941
|
}, 1032, ["BlocksWrapperProps", "blocks", "parent", "path", "context", "registeredComponents"]);
|
|
2941
2942
|
}), 128))
|
|
2942
|
-
], 64)) :
|
|
2943
|
+
], 64)) : T("", !0),
|
|
2943
2944
|
$(s, {
|
|
2944
2945
|
blocks: e.blocksToRender.blocks,
|
|
2945
2946
|
parent: (P = e.builderBlock) == null ? void 0 : P.id,
|
|
@@ -2951,20 +2952,20 @@ function Jo(e, t, n, o, r, i) {
|
|
|
2951
2952
|
"data-variant-id": `${(B = e.builderBlock) == null ? void 0 : B.id}-${e.blocksToRender.index}`
|
|
2952
2953
|
}
|
|
2953
2954
|
}, {
|
|
2954
|
-
default:
|
|
2955
|
-
var
|
|
2955
|
+
default: D(() => {
|
|
2956
|
+
var q, C;
|
|
2956
2957
|
return [
|
|
2957
2958
|
e.shouldRenderVariants ? (d(), S(a, {
|
|
2958
2959
|
key: 0,
|
|
2959
|
-
nonce: ((
|
|
2960
|
+
nonce: ((q = e.builderContext) == null ? void 0 : q.nonce) || "",
|
|
2960
2961
|
scriptStr: e.scriptStr,
|
|
2961
|
-
id: `variants-script-${(
|
|
2962
|
-
}, null, 8, ["nonce", "scriptStr", "id"])) :
|
|
2962
|
+
id: `variants-script-${(C = e.builderBlock) == null ? void 0 : C.id}-${e.DEFAULT_INDEX}`
|
|
2963
|
+
}, null, 8, ["nonce", "scriptStr", "id"])) : T("", !0)
|
|
2963
2964
|
];
|
|
2964
2965
|
}),
|
|
2965
2966
|
_: 1
|
|
2966
2967
|
}, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])
|
|
2967
|
-
], 64)) :
|
|
2968
|
+
], 64)) : T("", !0)
|
|
2968
2969
|
], 16);
|
|
2969
2970
|
}
|
|
2970
2971
|
const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
|
|
@@ -3087,7 +3088,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
|
|
|
3087
3088
|
builderComponents: !0,
|
|
3088
3089
|
builderLinkComponent: !0
|
|
3089
3090
|
}
|
|
3090
|
-
},
|
|
3091
|
+
}, me = {
|
|
3091
3092
|
"@type": "@builder.io/sdk:Element",
|
|
3092
3093
|
responsiveStyles: {
|
|
3093
3094
|
large: {
|
|
@@ -3109,7 +3110,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
|
|
|
3109
3110
|
text: "New tab"
|
|
3110
3111
|
}
|
|
3111
3112
|
}
|
|
3112
|
-
},
|
|
3113
|
+
}, he = {
|
|
3113
3114
|
"@type": "@builder.io/sdk:Element",
|
|
3114
3115
|
responsiveStyles: {
|
|
3115
3116
|
large: {
|
|
@@ -3135,16 +3136,16 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
|
|
|
3135
3136
|
name: "label",
|
|
3136
3137
|
type: "uiBlocks",
|
|
3137
3138
|
hideFromUI: !0,
|
|
3138
|
-
defaultValue: [
|
|
3139
|
+
defaultValue: [me]
|
|
3139
3140
|
}, {
|
|
3140
3141
|
name: "content",
|
|
3141
3142
|
type: "uiBlocks",
|
|
3142
3143
|
hideFromUI: !0,
|
|
3143
|
-
defaultValue: [
|
|
3144
|
+
defaultValue: [he]
|
|
3144
3145
|
}],
|
|
3145
3146
|
defaultValue: [{
|
|
3146
3147
|
label: [{
|
|
3147
|
-
...
|
|
3148
|
+
...me,
|
|
3148
3149
|
component: {
|
|
3149
3150
|
name: "Text",
|
|
3150
3151
|
options: {
|
|
@@ -3153,7 +3154,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
|
|
|
3153
3154
|
}
|
|
3154
3155
|
}],
|
|
3155
3156
|
content: [{
|
|
3156
|
-
...
|
|
3157
|
+
...he,
|
|
3157
3158
|
component: {
|
|
3158
3159
|
name: "Text",
|
|
3159
3160
|
options: {
|
|
@@ -3163,7 +3164,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
|
|
|
3163
3164
|
}]
|
|
3164
3165
|
}, {
|
|
3165
3166
|
label: [{
|
|
3166
|
-
...
|
|
3167
|
+
...me,
|
|
3167
3168
|
component: {
|
|
3168
3169
|
name: "Text",
|
|
3169
3170
|
options: {
|
|
@@ -3172,7 +3173,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
|
|
|
3172
3173
|
}
|
|
3173
3174
|
}],
|
|
3174
3175
|
content: [{
|
|
3175
|
-
...
|
|
3176
|
+
...he,
|
|
3176
3177
|
component: {
|
|
3177
3178
|
name: "Text",
|
|
3178
3179
|
options: {
|
|
@@ -3260,19 +3261,19 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
|
|
|
3260
3261
|
function ir(e, t, n, o, r, i) {
|
|
3261
3262
|
const s = k("Blocks");
|
|
3262
3263
|
return d(), h("div", null, [
|
|
3263
|
-
|
|
3264
|
+
K("div", {
|
|
3264
3265
|
class: "builder-tabs-wrap",
|
|
3265
|
-
style:
|
|
3266
|
+
style: H({
|
|
3266
3267
|
display: "flex",
|
|
3267
3268
|
flexDirection: "row",
|
|
3268
3269
|
justifyContent: e.tabHeaderLayout || "flex-start",
|
|
3269
3270
|
overflow: "auto"
|
|
3270
3271
|
})
|
|
3271
3272
|
}, [
|
|
3272
|
-
(d(!0), h(w, null,
|
|
3273
|
+
(d(!0), h(w, null, U(e.tabs, (l, a) => (d(), h("span", {
|
|
3273
3274
|
key: a,
|
|
3274
|
-
class:
|
|
3275
|
-
style:
|
|
3275
|
+
class: _(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
|
|
3276
|
+
style: H(e.getTabStyle(a)),
|
|
3276
3277
|
onClick: async (u) => e.onClick(a)
|
|
3277
3278
|
}, [
|
|
3278
3279
|
$(s, {
|
|
@@ -3294,7 +3295,7 @@ function ir(e, t, n, o, r, i) {
|
|
|
3294
3295
|
registeredComponents: e.builderComponents,
|
|
3295
3296
|
linkComponent: e.builderLinkComponent
|
|
3296
3297
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
3297
|
-
])) :
|
|
3298
|
+
])) : T("", !0)
|
|
3298
3299
|
]);
|
|
3299
3300
|
}
|
|
3300
3301
|
const sr = /* @__PURE__ */ v(nr, [["render", ir]]), ar = {
|
|
@@ -3401,7 +3402,7 @@ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
|
|
|
3401
3402
|
try {
|
|
3402
3403
|
this.scriptsRun.push(o.innerText), new Function(o.innerText)();
|
|
3403
3404
|
} catch (r) {
|
|
3404
|
-
|
|
3405
|
+
F.warn(
|
|
3405
3406
|
"[BUILDER.IO] `CustomCode`: Error running script:",
|
|
3406
3407
|
r
|
|
3407
3408
|
);
|
|
@@ -3414,7 +3415,7 @@ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
|
|
|
3414
3415
|
function fr(e, t, n, o, r, i) {
|
|
3415
3416
|
return d(), h("div", {
|
|
3416
3417
|
ref: "elementRef",
|
|
3417
|
-
class:
|
|
3418
|
+
class: _("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
3418
3419
|
innerHTML: e.code
|
|
3419
3420
|
}, null, 10, hr);
|
|
3420
3421
|
}
|
|
@@ -3470,7 +3471,7 @@ const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
|
|
|
3470
3471
|
try {
|
|
3471
3472
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
3472
3473
|
} catch (o) {
|
|
3473
|
-
|
|
3474
|
+
F.warn("[BUILDER.IO] `Embed`: Error running script:", o);
|
|
3474
3475
|
}
|
|
3475
3476
|
}
|
|
3476
3477
|
}
|
|
@@ -3786,12 +3787,12 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
|
|
|
3786
3787
|
(c) => !!c.name && (c.type !== "radio" || c.checked)
|
|
3787
3788
|
).map((c) => {
|
|
3788
3789
|
let m;
|
|
3789
|
-
const
|
|
3790
|
+
const f = c.name;
|
|
3790
3791
|
if (c instanceof HTMLInputElement)
|
|
3791
3792
|
if (c.type === "radio") {
|
|
3792
3793
|
if (c.checked)
|
|
3793
3794
|
return m = c.value, {
|
|
3794
|
-
key:
|
|
3795
|
+
key: f,
|
|
3795
3796
|
value: m
|
|
3796
3797
|
};
|
|
3797
3798
|
} else if (c.type === "checkbox")
|
|
@@ -3804,7 +3805,7 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
|
|
|
3804
3805
|
else
|
|
3805
3806
|
m = c.value;
|
|
3806
3807
|
return {
|
|
3807
|
-
key:
|
|
3808
|
+
key: f,
|
|
3808
3809
|
value: m
|
|
3809
3810
|
};
|
|
3810
3811
|
});
|
|
@@ -3815,8 +3816,8 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
|
|
|
3815
3816
|
i = s;
|
|
3816
3817
|
else {
|
|
3817
3818
|
const c = {};
|
|
3818
|
-
Array.from(l).forEach(({ value: m, key:
|
|
3819
|
-
Ye(c,
|
|
3819
|
+
Array.from(l).forEach(({ value: m, key: f }) => {
|
|
3820
|
+
Ye(c, f, m);
|
|
3820
3821
|
}), i = JSON.stringify(c);
|
|
3821
3822
|
}
|
|
3822
3823
|
a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
|
|
@@ -3836,8 +3837,8 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
|
|
|
3836
3837
|
}
|
|
3837
3838
|
const p = `${$r() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
|
|
3838
3839
|
this.sendSubmissionsToEmail || ""
|
|
3839
|
-
)}&name=${encodeURIComponent(this.name || "")}`,
|
|
3840
|
-
_e(
|
|
3840
|
+
)}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? p : this.action;
|
|
3841
|
+
_e(b), fetch(b, {
|
|
3841
3842
|
body: i,
|
|
3842
3843
|
headers: r,
|
|
3843
3844
|
method: this.method || "post"
|
|
@@ -3845,8 +3846,8 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
|
|
|
3845
3846
|
async (c) => {
|
|
3846
3847
|
var g, P;
|
|
3847
3848
|
let m;
|
|
3848
|
-
const
|
|
3849
|
-
if (
|
|
3849
|
+
const f = c.headers.get("content-type");
|
|
3850
|
+
if (f && f.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
|
|
3850
3851
|
const O = new CustomEvent("submit:error", {
|
|
3851
3852
|
detail: {
|
|
3852
3853
|
error: m,
|
|
@@ -3913,27 +3914,27 @@ function Ar(e, t, n, o, r, i) {
|
|
|
3913
3914
|
method: e.method,
|
|
3914
3915
|
name: e.name,
|
|
3915
3916
|
onSubmit: t[0] || (t[0] = async (l) => e.onSubmit(l))
|
|
3916
|
-
}, { ...e.filterAttrs(e.attributes, "v-on:", !1) },
|
|
3917
|
+
}, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
3917
3918
|
V(e.$slots, "default", {}, void 0, !0),
|
|
3918
3919
|
e.submissionState() === "error" ? (d(), S(s, {
|
|
3919
3920
|
key: 0,
|
|
3920
3921
|
path: "errorMessage",
|
|
3921
3922
|
blocks: e.errorMessage,
|
|
3922
3923
|
context: e.builderContext
|
|
3923
|
-
}, null, 8, ["blocks", "context"])) :
|
|
3924
|
+
}, null, 8, ["blocks", "context"])) : T("", !0),
|
|
3924
3925
|
e.submissionState() === "sending" ? (d(), S(s, {
|
|
3925
3926
|
key: 1,
|
|
3926
3927
|
path: "sendingMessage",
|
|
3927
3928
|
blocks: e.sendingMessage,
|
|
3928
3929
|
context: e.builderContext
|
|
3929
|
-
}, null, 8, ["blocks", "context"])) :
|
|
3930
|
-
e.submissionState() === "error" && e.responseData ? (d(), h("pre", Pr,
|
|
3930
|
+
}, null, 8, ["blocks", "context"])) : T("", !0),
|
|
3931
|
+
e.submissionState() === "error" && e.responseData ? (d(), h("pre", Pr, ce(e.errorResponse(e.responseData)), 1)) : T("", !0),
|
|
3931
3932
|
e.submissionState() === "success" ? (d(), S(s, {
|
|
3932
3933
|
key: 3,
|
|
3933
3934
|
path: "successMessage",
|
|
3934
3935
|
blocks: e.successMessage,
|
|
3935
3936
|
context: e.builderContext
|
|
3936
|
-
}, null, 8, ["blocks", "context"])) :
|
|
3937
|
+
}, null, 8, ["blocks", "context"])) : T("", !0)
|
|
3937
3938
|
], 16, Er);
|
|
3938
3939
|
}
|
|
3939
3940
|
const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c"]]), Vr = {
|
|
@@ -4011,9 +4012,9 @@ function Dr(e, t, n, o, r, i) {
|
|
|
4011
4012
|
value: e.value,
|
|
4012
4013
|
defaultValue: e.defaultValue,
|
|
4013
4014
|
required: e.required
|
|
4014
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
4015
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wr);
|
|
4015
4016
|
}
|
|
4016
|
-
const
|
|
4017
|
+
const Or = /* @__PURE__ */ v(Nr, [["render", Dr]]), xr = {
|
|
4017
4018
|
name: "Form:Select",
|
|
4018
4019
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4019
4020
|
defaultStyles: {
|
|
@@ -4069,11 +4070,11 @@ function Hr(e, t, n, o, r, i) {
|
|
|
4069
4070
|
defaultValue: e.defaultValue,
|
|
4070
4071
|
name: e.name,
|
|
4071
4072
|
required: e.required
|
|
4072
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
4073
|
-
(d(!0), h(w, null,
|
|
4073
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
4074
|
+
(d(!0), h(w, null, U(e.options, (s, l) => (d(), h("option", {
|
|
4074
4075
|
key: `${s.name}-${l}`,
|
|
4075
4076
|
value: s.value
|
|
4076
|
-
},
|
|
4077
|
+
}, ce(s.name || s.value), 9, Lr))), 128))
|
|
4077
4078
|
], 16, Fr);
|
|
4078
4079
|
}
|
|
4079
4080
|
const Mr = /* @__PURE__ */ v(Ur, [["render", Hr]]), zr = {
|
|
@@ -4109,7 +4110,7 @@ const Mr = /* @__PURE__ */ v(Ur, [["render", Hr]]), zr = {
|
|
|
4109
4110
|
}
|
|
4110
4111
|
});
|
|
4111
4112
|
function qr(e, t, n, o, r, i) {
|
|
4112
|
-
return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
4113
|
+
return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ce(e.text), 17);
|
|
4113
4114
|
}
|
|
4114
4115
|
const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
|
|
4115
4116
|
name: "Form:TextArea",
|
|
@@ -4168,7 +4169,7 @@ function Yr(e, t, n, o, r, i) {
|
|
|
4168
4169
|
value: e.value,
|
|
4169
4170
|
defaultValue: e.defaultValue,
|
|
4170
4171
|
required: e.required
|
|
4171
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1),
|
|
4172
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Qr);
|
|
4172
4173
|
}
|
|
4173
4174
|
const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
|
|
4174
4175
|
name: "Raw:Img",
|
|
@@ -4178,7 +4179,7 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
|
|
|
4178
4179
|
name: "image",
|
|
4179
4180
|
bubble: !0,
|
|
4180
4181
|
type: "file",
|
|
4181
|
-
allowedFileTypes:
|
|
4182
|
+
allowedFileTypes: Ve,
|
|
4182
4183
|
required: !0
|
|
4183
4184
|
}, {
|
|
4184
4185
|
name: "backgroundSize",
|
|
@@ -4233,13 +4234,13 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
|
|
|
4233
4234
|
srcSetToUse() {
|
|
4234
4235
|
const e = this.imgSrc || this.image;
|
|
4235
4236
|
if (!(!e || typeof e != "string") && e.match(/builder\.io/))
|
|
4236
|
-
return
|
|
4237
|
+
return ne(e);
|
|
4237
4238
|
},
|
|
4238
4239
|
imgAttrs() {
|
|
4239
4240
|
const e = {
|
|
4240
4241
|
...N(this.attributes, "v-on:", !1),
|
|
4241
4242
|
...N(this.attributes, "v-on:", !0),
|
|
4242
|
-
[
|
|
4243
|
+
[M()]: `builder-raw-img ${this.attributes[M()] || ""}`
|
|
4243
4244
|
};
|
|
4244
4245
|
return delete e.style, e;
|
|
4245
4246
|
}
|
|
@@ -4279,7 +4280,7 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
|
|
|
4279
4280
|
}, {
|
|
4280
4281
|
name: "posterImage",
|
|
4281
4282
|
type: "file",
|
|
4282
|
-
allowedFileTypes:
|
|
4283
|
+
allowedFileTypes: Ve,
|
|
4283
4284
|
helperText: "Image to show before the video plays"
|
|
4284
4285
|
}, {
|
|
4285
4286
|
name: "autoPlay",
|
|
@@ -4442,9 +4443,9 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
|
|
|
4442
4443
|
}
|
|
4443
4444
|
};
|
|
4444
4445
|
function ci(e, t, n, o, r, i) {
|
|
4445
|
-
var s, l, a, u, p,
|
|
4446
|
+
var s, l, a, u, p, b, c;
|
|
4446
4447
|
return d(), h("div", ii, [
|
|
4447
|
-
|
|
4448
|
+
K("video", I({
|
|
4448
4449
|
class: "builder-video",
|
|
4449
4450
|
ref: "videoRef",
|
|
4450
4451
|
preload: e.lazyLoad ? "none" : e.preload || "metadata",
|
|
@@ -4463,7 +4464,7 @@ function ci(e, t, n, o, r, i) {
|
|
|
4463
4464
|
},
|
|
4464
4465
|
poster: e.posterImage
|
|
4465
4466
|
}, e.spreadProps), [
|
|
4466
|
-
|
|
4467
|
+
K("source", I(
|
|
4467
4468
|
{ type: "video/mp4" },
|
|
4468
4469
|
e.lazyLoad ? {
|
|
4469
4470
|
"data-src": e.video
|
|
@@ -4474,19 +4475,19 @@ function ci(e, t, n, o, r, i) {
|
|
|
4474
4475
|
], 16, si),
|
|
4475
4476
|
e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), h("div", {
|
|
4476
4477
|
key: 0,
|
|
4477
|
-
style:
|
|
4478
|
+
style: H({
|
|
4478
4479
|
width: "100%",
|
|
4479
4480
|
paddingTop: e.aspectRatio * 100 + "%",
|
|
4480
4481
|
pointerEvents: "none",
|
|
4481
4482
|
fontSize: "0px"
|
|
4482
4483
|
})
|
|
4483
|
-
}, null, 4)) :
|
|
4484
|
+
}, null, 4)) : T("", !0),
|
|
4484
4485
|
(p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", ai, [
|
|
4485
4486
|
V(e.$slots, "default")
|
|
4486
|
-
])) :
|
|
4487
|
-
(c = (
|
|
4487
|
+
])) : T("", !0),
|
|
4488
|
+
(c = (b = e.builderBlock) == null ? void 0 : b.children) != null && c.length && !e.fitContent ? (d(), h("div", li, [
|
|
4488
4489
|
V(e.$slots, "default")
|
|
4489
|
-
])) :
|
|
4490
|
+
])) : T("", !0)
|
|
4490
4491
|
]);
|
|
4491
4492
|
}
|
|
4492
4493
|
const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
|
|
@@ -4499,14 +4500,14 @@ const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
|
|
|
4499
4500
|
component: Br,
|
|
4500
4501
|
...wr
|
|
4501
4502
|
}, {
|
|
4502
|
-
component:
|
|
4503
|
+
component: Or,
|
|
4503
4504
|
...Vr
|
|
4504
4505
|
}, {
|
|
4505
4506
|
component: Kr,
|
|
4506
4507
|
...zr
|
|
4507
4508
|
}, {
|
|
4508
4509
|
component: Mr,
|
|
4509
|
-
...
|
|
4510
|
+
...xr
|
|
4510
4511
|
}, {
|
|
4511
4512
|
component: Xr,
|
|
4512
4513
|
...Jr
|
|
@@ -4642,32 +4643,32 @@ const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
|
|
|
4642
4643
|
thisScriptEl?.remove();
|
|
4643
4644
|
}
|
|
4644
4645
|
return;
|
|
4645
|
-
}`,
|
|
4646
|
+
}`, Ce = "builderIoAbTest", Te = "builderIoRenderContent", re = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
4646
4647
|
...t,
|
|
4647
4648
|
testVariationId: t.id,
|
|
4648
4649
|
id: e == null ? void 0 : e.id
|
|
4649
4650
|
})), hi = ({
|
|
4650
4651
|
canTrack: e,
|
|
4651
4652
|
content: t
|
|
4652
|
-
}) => !(!(
|
|
4653
|
+
}) => !(!(re(t).length > 0) || !e), fi = (e) => e === "react" || e === "reactNative", bi = R === "angular", We = fi(R), gi = () => `
|
|
4653
4654
|
(function() {
|
|
4654
|
-
if (!window.${ke}) {
|
|
4655
|
-
window.${ke} = ${pi};
|
|
4656
|
-
}
|
|
4657
4655
|
if (!window.${Ce}) {
|
|
4658
|
-
window.${Ce} = ${
|
|
4659
|
-
}
|
|
4656
|
+
window.${Ce} = ${pi};
|
|
4657
|
+
}
|
|
4658
|
+
if (!window.${Te}) {
|
|
4659
|
+
window.${Te} = ${mi};
|
|
4660
|
+
}${We ? `
|
|
4660
4661
|
var thisScriptEl = document.currentScript;
|
|
4661
4662
|
if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
|
|
4662
4663
|
})();
|
|
4663
4664
|
`, yi = (e, t) => `
|
|
4664
|
-
window.${
|
|
4665
|
-
"${t}",${JSON.stringify(e)}, ${
|
|
4665
|
+
window.${Ce}(
|
|
4666
|
+
"${t}",${JSON.stringify(e)}, ${We}, ${bi}
|
|
4666
4667
|
)`, vi = ({
|
|
4667
4668
|
contentId: e,
|
|
4668
4669
|
variationId: t
|
|
4669
|
-
}) => `window.${
|
|
4670
|
-
"${t}", "${e}", ${
|
|
4670
|
+
}) => `window.${Te}(
|
|
4671
|
+
"${t}", "${e}", ${We}
|
|
4671
4672
|
)`;
|
|
4672
4673
|
function Je(e) {
|
|
4673
4674
|
return Math.round(e * 1e3) / 1e3;
|
|
@@ -4711,7 +4712,7 @@ const Si = (e, t, n = !0) => {
|
|
|
4711
4712
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
4712
4713
|
}
|
|
4713
4714
|
};
|
|
4714
|
-
}, Ti = ["svelte", "qwik", "vue"], wi = () => Ti.includes(R) && (A() ||
|
|
4715
|
+
}, Ti = ["svelte", "qwik", "vue"], wi = () => Ti.includes(R) && (A() || Re()), Ii = (e) => {
|
|
4715
4716
|
var i;
|
|
4716
4717
|
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);
|
|
4717
4718
|
let r = "";
|
|
@@ -4764,7 +4765,7 @@ font-weight: ${s};
|
|
|
4764
4765
|
}
|
|
4765
4766
|
`, Pi = (e) => e ? "" : Ei, Ai = (e) => `variant-${e}`, Bi = y({
|
|
4766
4767
|
name: "enable-editor",
|
|
4767
|
-
components: { DynamicDiv:
|
|
4768
|
+
components: { DynamicDiv: te },
|
|
4768
4769
|
props: [
|
|
4769
4770
|
"isNestedRender",
|
|
4770
4771
|
"builderContextSignal",
|
|
@@ -4773,6 +4774,7 @@ font-weight: ${s};
|
|
|
4773
4774
|
"apiHost",
|
|
4774
4775
|
"locale",
|
|
4775
4776
|
"enrich",
|
|
4777
|
+
"enrichOptions",
|
|
4776
4778
|
"trustedHosts",
|
|
4777
4779
|
"model",
|
|
4778
4780
|
"content",
|
|
@@ -4793,7 +4795,7 @@ font-weight: ${s};
|
|
|
4793
4795
|
httpReqsData: {},
|
|
4794
4796
|
httpReqsPending: {},
|
|
4795
4797
|
clicked: !1,
|
|
4796
|
-
builderContext:
|
|
4798
|
+
builderContext: fe,
|
|
4797
4799
|
needsElementRefDivForEditing: wi,
|
|
4798
4800
|
getWrapperClassName: Ai
|
|
4799
4801
|
};
|
|
@@ -4801,7 +4803,7 @@ font-weight: ${s};
|
|
|
4801
4803
|
provide() {
|
|
4802
4804
|
const e = this;
|
|
4803
4805
|
return {
|
|
4804
|
-
[
|
|
4806
|
+
[fe.key]: e.builderContextSignal
|
|
4805
4807
|
};
|
|
4806
4808
|
},
|
|
4807
4809
|
created() {
|
|
@@ -4813,13 +4815,13 @@ font-weight: ${s};
|
|
|
4813
4815
|
A() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
4814
4816
|
new CustomEvent("initeditingbldr")
|
|
4815
4817
|
);
|
|
4816
|
-
const o = this.builderContextSignal.content &&
|
|
4818
|
+
const o = this.builderContextSignal.content && J(this.canTrack), r = Ie({
|
|
4817
4819
|
name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
|
|
4818
4820
|
canTrack: !0
|
|
4819
4821
|
}), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
|
|
4820
4822
|
if (o && i === r) {
|
|
4821
4823
|
const s = (n = this.builderContextSignal.content) == null ? void 0 : n.id, l = this.apiKey;
|
|
4822
|
-
|
|
4824
|
+
Oe({
|
|
4823
4825
|
apiHost: this.apiHost,
|
|
4824
4826
|
type: "impression",
|
|
4825
4827
|
canTrack: !0,
|
|
@@ -4828,7 +4830,7 @@ font-weight: ${s};
|
|
|
4828
4830
|
variationId: r !== s ? r : void 0
|
|
4829
4831
|
});
|
|
4830
4832
|
}
|
|
4831
|
-
|
|
4833
|
+
Re() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
4832
4834
|
new CustomEvent("initpreviewingbldr")
|
|
4833
4835
|
);
|
|
4834
4836
|
}
|
|
@@ -4959,10 +4961,10 @@ font-weight: ${s};
|
|
|
4959
4961
|
var t, n;
|
|
4960
4962
|
if (this.builderContextSignal.content) {
|
|
4961
4963
|
const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
|
|
4962
|
-
|
|
4964
|
+
Oe({
|
|
4963
4965
|
apiHost: this.apiHost,
|
|
4964
4966
|
type: "click",
|
|
4965
|
-
canTrack:
|
|
4967
|
+
canTrack: J(this.canTrack),
|
|
4966
4968
|
contentId: r,
|
|
4967
4969
|
apiKey: this.apiKey,
|
|
4968
4970
|
variationId: o !== r ? o : void 0,
|
|
@@ -4986,9 +4988,9 @@ font-weight: ${s};
|
|
|
4986
4988
|
this.httpReqsPending[o] = !0;
|
|
4987
4989
|
const l = s.replace(
|
|
4988
4990
|
/{{([^}]+)}}/g,
|
|
4989
|
-
(p,
|
|
4990
|
-
|
|
4991
|
-
code:
|
|
4991
|
+
(p, b) => String(
|
|
4992
|
+
ee({
|
|
4993
|
+
code: b,
|
|
4992
4994
|
context: this.context || {},
|
|
4993
4995
|
localState: void 0,
|
|
4994
4996
|
rootState: this.builderContextSignal.rootState,
|
|
@@ -5032,7 +5034,7 @@ font-weight: ${s};
|
|
|
5032
5034
|
"builder:component:stateChange",
|
|
5033
5035
|
{
|
|
5034
5036
|
detail: {
|
|
5035
|
-
state:
|
|
5037
|
+
state: we(this.builderContextSignal.rootState),
|
|
5036
5038
|
ref: {
|
|
5037
5039
|
name: this.model
|
|
5038
5040
|
}
|
|
@@ -5049,6 +5051,9 @@ font-weight: ${s};
|
|
|
5049
5051
|
...this.enrich ? {
|
|
5050
5052
|
enrich: this.enrich
|
|
5051
5053
|
} : {},
|
|
5054
|
+
...this.enrichOptions ? {
|
|
5055
|
+
enrichOptions: this.enrichOptions
|
|
5056
|
+
} : {},
|
|
5052
5057
|
...this.trustedHosts ? {
|
|
5053
5058
|
trustedHosts: this.trustedHosts
|
|
5054
5059
|
} : {},
|
|
@@ -5072,7 +5077,7 @@ font-weight: ${s};
|
|
|
5072
5077
|
const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
|
|
5073
5078
|
`builder.overrides.${n}`
|
|
5074
5079
|
), r = t.get("apiKey") || t.get("builder.space");
|
|
5075
|
-
(n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) &&
|
|
5080
|
+
(n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && Ae({
|
|
5076
5081
|
model: this.model,
|
|
5077
5082
|
apiKey: this.apiKey,
|
|
5078
5083
|
apiVersion: this.builderContextSignal.apiVersion,
|
|
@@ -5089,7 +5094,7 @@ font-weight: ${s};
|
|
|
5089
5094
|
});
|
|
5090
5095
|
function Vi(e, t, n, o, r, i) {
|
|
5091
5096
|
var s, l, a;
|
|
5092
|
-
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(
|
|
5097
|
+
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(X(e.ContentWrapper), I({
|
|
5093
5098
|
key: 0,
|
|
5094
5099
|
ref: "elementRef",
|
|
5095
5100
|
onClick: (u) => e.onClick(u),
|
|
@@ -5102,15 +5107,15 @@ function Vi(e, t, n, o, r, i) {
|
|
|
5102
5107
|
onIniteditingbldr: (u) => e.elementRef_onIniteditingbldr(u),
|
|
5103
5108
|
onInitpreviewingbldr: (u) => e.elementRef_onInitpreviewingbldr(u)
|
|
5104
5109
|
}, { ...e.showContentProps, ...e.contentWrapperProps }), {
|
|
5105
|
-
default:
|
|
5110
|
+
default: D(() => [
|
|
5106
5111
|
V(e.$slots, "default")
|
|
5107
5112
|
]),
|
|
5108
5113
|
_: 3
|
|
5109
|
-
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) :
|
|
5114
|
+
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : T("", !0);
|
|
5110
5115
|
}
|
|
5111
5116
|
const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = y({
|
|
5112
5117
|
name: "content-styles",
|
|
5113
|
-
components: { InlinedStyles:
|
|
5118
|
+
components: { InlinedStyles: de },
|
|
5114
5119
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
5115
5120
|
data() {
|
|
5116
5121
|
return {
|
|
@@ -5135,7 +5140,7 @@ function Di(e, t, n, o, r, i) {
|
|
|
5135
5140
|
nonce: e.nonce
|
|
5136
5141
|
}, null, 8, ["styles", "nonce"]);
|
|
5137
5142
|
}
|
|
5138
|
-
const
|
|
5143
|
+
const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
|
|
5139
5144
|
content: e,
|
|
5140
5145
|
data: t,
|
|
5141
5146
|
locale: n
|
|
@@ -5166,10 +5171,10 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
|
|
|
5166
5171
|
name: "content-component",
|
|
5167
5172
|
components: {
|
|
5168
5173
|
EnableEditor: Ni,
|
|
5169
|
-
InlinedScript:
|
|
5170
|
-
ContentStyles:
|
|
5174
|
+
InlinedScript: Ne,
|
|
5175
|
+
ContentStyles: Oi,
|
|
5171
5176
|
Blocks: j,
|
|
5172
|
-
DynamicDiv:
|
|
5177
|
+
DynamicDiv: te
|
|
5173
5178
|
},
|
|
5174
5179
|
props: [
|
|
5175
5180
|
"content",
|
|
@@ -5186,6 +5191,7 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
|
|
|
5186
5191
|
"model",
|
|
5187
5192
|
"apiHost",
|
|
5188
5193
|
"enrich",
|
|
5194
|
+
"enrichOptions",
|
|
5189
5195
|
"showContent",
|
|
5190
5196
|
"contentWrapper",
|
|
5191
5197
|
"contentWrapperProps",
|
|
@@ -5211,7 +5217,7 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
|
|
|
5211
5217
|
...n,
|
|
5212
5218
|
[r.name]: {
|
|
5213
5219
|
component: Fi(o),
|
|
5214
|
-
...
|
|
5220
|
+
...ae(r)
|
|
5215
5221
|
}
|
|
5216
5222
|
}),
|
|
5217
5223
|
{}
|
|
@@ -5222,7 +5228,7 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
|
|
|
5222
5228
|
data: this.data
|
|
5223
5229
|
}),
|
|
5224
5230
|
localState: void 0,
|
|
5225
|
-
rootState:
|
|
5231
|
+
rootState: xi({
|
|
5226
5232
|
content: this.content,
|
|
5227
5233
|
data: this.data,
|
|
5228
5234
|
locale: this.locale
|
|
@@ -5238,7 +5244,7 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
|
|
|
5238
5244
|
].reduce(
|
|
5239
5245
|
(n, { component: o, ...r }) => ({
|
|
5240
5246
|
...n,
|
|
5241
|
-
[r.name]:
|
|
5247
|
+
[r.name]: ae(r)
|
|
5242
5248
|
}),
|
|
5243
5249
|
{}
|
|
5244
5250
|
),
|
|
@@ -5261,11 +5267,11 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
|
|
|
5261
5267
|
},
|
|
5262
5268
|
created() {
|
|
5263
5269
|
var t, n;
|
|
5264
|
-
this.apiKey ||
|
|
5270
|
+
this.apiKey || F.error(
|
|
5265
5271
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
5266
5272
|
);
|
|
5267
5273
|
const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
|
|
5268
|
-
e &&
|
|
5274
|
+
e && ee({
|
|
5269
5275
|
code: e,
|
|
5270
5276
|
context: this.context || {},
|
|
5271
5277
|
localState: void 0,
|
|
@@ -5311,6 +5317,7 @@ function Hi(e, t, n, o, r, i) {
|
|
|
5311
5317
|
canTrack: e.canTrack,
|
|
5312
5318
|
locale: e.locale,
|
|
5313
5319
|
enrich: e.enrich,
|
|
5320
|
+
enrichOptions: e.enrichOptions,
|
|
5314
5321
|
showContent: e.showContent,
|
|
5315
5322
|
builderContextSignal: e.builderContextSignal,
|
|
5316
5323
|
contentWrapper: e.contentWrapper,
|
|
@@ -5318,23 +5325,23 @@ function Hi(e, t, n, o, r, i) {
|
|
|
5318
5325
|
trustedHosts: e.trustedHosts,
|
|
5319
5326
|
isNestedRender: e.isNestedRender
|
|
5320
5327
|
}, {}), {
|
|
5321
|
-
default:
|
|
5322
|
-
var p,
|
|
5328
|
+
default: D(() => {
|
|
5329
|
+
var p, b, c, m, f, g, P;
|
|
5323
5330
|
return [
|
|
5324
5331
|
e.isSsrAbTest ? (d(), S(s, {
|
|
5325
5332
|
key: 0,
|
|
5326
5333
|
id: "builderio-variant-visibility",
|
|
5327
5334
|
scriptStr: e.scriptStr,
|
|
5328
5335
|
nonce: e.nonce || ""
|
|
5329
|
-
}, null, 8, ["scriptStr", "nonce"])) :
|
|
5336
|
+
}, null, 8, ["scriptStr", "nonce"])) : T("", !0),
|
|
5330
5337
|
e.TARGET !== "reactNative" ? (d(), S(l, {
|
|
5331
5338
|
key: 1,
|
|
5332
5339
|
nonce: e.nonce || "",
|
|
5333
5340
|
isNestedRender: e.isNestedRender,
|
|
5334
5341
|
contentId: (p = e.builderContextSignal.content) == null ? void 0 : p.id,
|
|
5335
|
-
cssCode: (c = (
|
|
5336
|
-
customFonts: (
|
|
5337
|
-
}, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) :
|
|
5342
|
+
cssCode: (c = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : c.cssCode,
|
|
5343
|
+
customFonts: (f = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : f.customFonts
|
|
5344
|
+
}, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : T("", !0),
|
|
5338
5345
|
$(a, {
|
|
5339
5346
|
blocks: (P = (g = e.builderContextSignal.content) == null ? void 0 : g.data) == null ? void 0 : P.blocks,
|
|
5340
5347
|
context: e.builderContextSignal,
|
|
@@ -5344,13 +5351,13 @@ function Hi(e, t, n, o, r, i) {
|
|
|
5344
5351
|
];
|
|
5345
5352
|
}),
|
|
5346
5353
|
_: 1
|
|
5347
|
-
}, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
|
|
5354
|
+
}, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "enrichOptions", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
|
|
5348
5355
|
}
|
|
5349
5356
|
const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
|
|
5350
5357
|
name: "content-variants",
|
|
5351
5358
|
components: {
|
|
5352
|
-
InlinedScript:
|
|
5353
|
-
InlinedStyles:
|
|
5359
|
+
InlinedScript: Ne,
|
|
5360
|
+
InlinedStyles: de,
|
|
5354
5361
|
ContentComponent: Mi
|
|
5355
5362
|
},
|
|
5356
5363
|
props: [
|
|
@@ -5368,6 +5375,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
|
|
|
5368
5375
|
"linkComponent",
|
|
5369
5376
|
"locale",
|
|
5370
5377
|
"enrich",
|
|
5378
|
+
"enrichOptions",
|
|
5371
5379
|
"blocksWrapper",
|
|
5372
5380
|
"blocksWrapperProps",
|
|
5373
5381
|
"contentWrapper",
|
|
@@ -5377,7 +5385,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
|
|
|
5377
5385
|
data() {
|
|
5378
5386
|
return {
|
|
5379
5387
|
shouldRenderVariants: hi({
|
|
5380
|
-
canTrack:
|
|
5388
|
+
canTrack: J(this.canTrack),
|
|
5381
5389
|
content: this.content
|
|
5382
5390
|
}),
|
|
5383
5391
|
shouldEmitPersonalizationFns: Ao(this.content),
|
|
@@ -5385,7 +5393,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
|
|
|
5385
5393
|
getInitPersonalizationVariantsFnsScriptString: Bo,
|
|
5386
5394
|
TARGET: R,
|
|
5387
5395
|
getInitVariantsFnsScriptString: gi,
|
|
5388
|
-
getVariants:
|
|
5396
|
+
getVariants: re
|
|
5389
5397
|
};
|
|
5390
5398
|
},
|
|
5391
5399
|
mounted() {
|
|
@@ -5394,7 +5402,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
|
|
|
5394
5402
|
updateCookieAndStylesScriptStr() {
|
|
5395
5403
|
var e;
|
|
5396
5404
|
return yi(
|
|
5397
|
-
|
|
5405
|
+
re(this.content).map((t) => ({
|
|
5398
5406
|
id: t.testVariationId,
|
|
5399
5407
|
testRatio: t.testRatio
|
|
5400
5408
|
})),
|
|
@@ -5402,7 +5410,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
|
|
|
5402
5410
|
);
|
|
5403
5411
|
},
|
|
5404
5412
|
hideVariantsStyleString() {
|
|
5405
|
-
return
|
|
5413
|
+
return re(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
|
|
5406
5414
|
},
|
|
5407
5415
|
defaultContent() {
|
|
5408
5416
|
var e;
|
|
@@ -5411,7 +5419,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
|
|
|
5411
5419
|
testVariationId: (e = this.content) == null ? void 0 : e.id
|
|
5412
5420
|
} : fn({
|
|
5413
5421
|
item: this.content,
|
|
5414
|
-
canTrack:
|
|
5422
|
+
canTrack: J(this.canTrack)
|
|
5415
5423
|
});
|
|
5416
5424
|
}
|
|
5417
5425
|
}
|
|
@@ -5425,8 +5433,8 @@ function ji(e, t, n, o, r, i) {
|
|
|
5425
5433
|
id: "builderio-init-personalization-variants-fns",
|
|
5426
5434
|
nonce: e.nonce || "",
|
|
5427
5435
|
scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
|
|
5428
|
-
}, null, 8, ["nonce", "scriptStr"])) :
|
|
5429
|
-
], 64)) :
|
|
5436
|
+
}, null, 8, ["nonce", "scriptStr"])) : T("", !0)
|
|
5437
|
+
], 64)) : T("", !0),
|
|
5430
5438
|
e.shouldRenderVariants ? (d(), h(w, { key: 1 }, [
|
|
5431
5439
|
$(s, {
|
|
5432
5440
|
id: "builderio-init-variants-fns",
|
|
@@ -5443,7 +5451,7 @@ function ji(e, t, n, o, r, i) {
|
|
|
5443
5451
|
scriptStr: e.updateCookieAndStylesScriptStr,
|
|
5444
5452
|
nonce: e.nonce || ""
|
|
5445
5453
|
}, null, 8, ["scriptStr", "nonce"]),
|
|
5446
|
-
(d(!0), h(w, null,
|
|
5454
|
+
(d(!0), h(w, null, U(e.getVariants(e.content), (u, p) => (d(), S(a, I({
|
|
5447
5455
|
key: u.testVariationId,
|
|
5448
5456
|
apiHost: e.apiHost,
|
|
5449
5457
|
isNestedRender: e.isNestedRender,
|
|
@@ -5460,14 +5468,15 @@ function ji(e, t, n, o, r, i) {
|
|
|
5460
5468
|
canTrack: e.canTrack,
|
|
5461
5469
|
locale: e.locale,
|
|
5462
5470
|
enrich: e.enrich,
|
|
5471
|
+
enrichOptions: e.enrichOptions,
|
|
5463
5472
|
isSsrAbTest: e.shouldRenderVariants,
|
|
5464
5473
|
blocksWrapper: e.blocksWrapper,
|
|
5465
5474
|
blocksWrapperProps: e.blocksWrapperProps,
|
|
5466
5475
|
contentWrapper: e.contentWrapper,
|
|
5467
5476
|
contentWrapperProps: e.contentWrapperProps,
|
|
5468
5477
|
trustedHosts: e.trustedHosts
|
|
5469
|
-
}, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
|
|
5470
|
-
], 64)) :
|
|
5478
|
+
}, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
|
|
5479
|
+
], 64)) : T("", !0),
|
|
5471
5480
|
$(a, I({
|
|
5472
5481
|
apiHost: e.apiHost,
|
|
5473
5482
|
nonce: e.nonce,
|
|
@@ -5484,6 +5493,7 @@ function ji(e, t, n, o, r, i) {
|
|
|
5484
5493
|
canTrack: e.canTrack,
|
|
5485
5494
|
locale: e.locale,
|
|
5486
5495
|
enrich: e.enrich,
|
|
5496
|
+
enrichOptions: e.enrichOptions,
|
|
5487
5497
|
isSsrAbTest: e.shouldRenderVariants,
|
|
5488
5498
|
blocksWrapper: e.blocksWrapper,
|
|
5489
5499
|
blocksWrapperProps: e.blocksWrapperProps,
|
|
@@ -5492,7 +5502,7 @@ function ji(e, t, n, o, r, i) {
|
|
|
5492
5502
|
trustedHosts: e.trustedHosts
|
|
5493
5503
|
}, {
|
|
5494
5504
|
key: e.shouldRenderVariants.toString()
|
|
5495
|
-
}), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
5505
|
+
}), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
5496
5506
|
], 64);
|
|
5497
5507
|
}
|
|
5498
5508
|
const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
|
|
@@ -5501,7 +5511,7 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
|
|
|
5501
5511
|
}) => {
|
|
5502
5512
|
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
5503
5513
|
(e != null && e.apiKey))
|
|
5504
|
-
return
|
|
5514
|
+
return Ae({
|
|
5505
5515
|
model: t.model,
|
|
5506
5516
|
apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
|
|
5507
5517
|
apiVersion: e.apiVersion,
|
|
@@ -5511,11 +5521,11 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
|
|
|
5511
5521
|
}
|
|
5512
5522
|
}
|
|
5513
5523
|
}).catch((n) => {
|
|
5514
|
-
|
|
5524
|
+
F.error("Could not fetch symbol content: ", n);
|
|
5515
5525
|
});
|
|
5516
5526
|
}, Ji = y({
|
|
5517
5527
|
name: "builder-symbol",
|
|
5518
|
-
components: { ContentVariants: qi, DynamicDiv:
|
|
5528
|
+
components: { ContentVariants: qi, DynamicDiv: te },
|
|
5519
5529
|
props: [
|
|
5520
5530
|
"symbol",
|
|
5521
5531
|
"builderComponents",
|
|
@@ -5557,7 +5567,7 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
|
|
|
5557
5567
|
className() {
|
|
5558
5568
|
var e, t;
|
|
5559
5569
|
return [
|
|
5560
|
-
this.attributes[
|
|
5570
|
+
this.attributes[M()],
|
|
5561
5571
|
"builder-symbol",
|
|
5562
5572
|
(e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
|
|
5563
5573
|
(t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
@@ -5583,9 +5593,9 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
|
|
|
5583
5593
|
}
|
|
5584
5594
|
});
|
|
5585
5595
|
function Gi(e, t, n, o, r, i) {
|
|
5586
|
-
var l, a, u, p,
|
|
5596
|
+
var l, a, u, p, b, c, m;
|
|
5587
5597
|
const s = k("ContentVariants");
|
|
5588
|
-
return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) },
|
|
5598
|
+
return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
5589
5599
|
$(s, {
|
|
5590
5600
|
nonce: e.builderContext.nonce,
|
|
5591
5601
|
isNestedRender: !0,
|
|
@@ -5599,7 +5609,7 @@ function Gi(e, t, n, o, r, i) {
|
|
|
5599
5609
|
data: {
|
|
5600
5610
|
...(p = e.symbol) == null ? void 0 : p.data,
|
|
5601
5611
|
...e.builderContext.localState,
|
|
5602
|
-
...(c = (
|
|
5612
|
+
...(c = (b = e.contentToUse) == null ? void 0 : b.data) == null ? void 0 : c.state
|
|
5603
5613
|
},
|
|
5604
5614
|
canTrack: e.builderContext.canTrack,
|
|
5605
5615
|
model: ((m = e.symbol) == null ? void 0 : m.model) ?? "",
|
|
@@ -5612,7 +5622,7 @@ function Gi(e, t, n, o, r, i) {
|
|
|
5612
5622
|
}
|
|
5613
5623
|
const Qi = /* @__PURE__ */ v(Ji, [["render", Gi]]);
|
|
5614
5624
|
export {
|
|
5615
|
-
|
|
5625
|
+
Ae as A,
|
|
5616
5626
|
gt as B,
|
|
5617
5627
|
ao as C,
|
|
5618
5628
|
Zi as D,
|
|
@@ -5623,21 +5633,21 @@ export {
|
|
|
5623
5633
|
ur as T,
|
|
5624
5634
|
di as V,
|
|
5625
5635
|
v as _,
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5636
|
+
M as a,
|
|
5637
|
+
fe as b,
|
|
5638
|
+
de as c,
|
|
5629
5639
|
oo as d,
|
|
5630
|
-
|
|
5640
|
+
ee as e,
|
|
5631
5641
|
is as f,
|
|
5632
5642
|
ss as g,
|
|
5633
5643
|
ls as h,
|
|
5634
|
-
|
|
5644
|
+
Be as i,
|
|
5635
5645
|
on as j,
|
|
5636
5646
|
Lt as k,
|
|
5637
5647
|
Qi as l,
|
|
5638
5648
|
j as m,
|
|
5639
5649
|
qi as n,
|
|
5640
|
-
|
|
5650
|
+
Re as o,
|
|
5641
5651
|
rn as p,
|
|
5642
5652
|
es as q,
|
|
5643
5653
|
_i as r,
|