@builder.io/sdk-vue 5.2.2 → 5.2.3
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-hHorxjIR.cjs → awaiter-0ES-HtKy.cjs} +1 -1
- package/lib/browser/{awaiter-PiTJ_7wp.js → awaiter-TGpflqNO.js} +1 -1
- package/lib/browser/{block-wrapper-v0E7yyzI.cjs → block-wrapper-6JBj9wlj.cjs} +1 -1
- package/lib/browser/{block-wrapper-8FiWiPra.js → block-wrapper-M2woB-L4.js} +3 -3
- package/lib/browser/{component-ref-u11yYjHx.js → component-ref-7xUvXH6j.js} +4 -4
- package/lib/browser/{component-ref-jU5sC23e.cjs → component-ref-TmVziQMC.cjs} +1 -1
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +0 -1
- package/lib/browser/components/content-variants/helpers.d.ts +0 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-AT7KmjRH.cjs → get-block-properties-2RZMZvVf.cjs} +1 -1
- package/lib/browser/{get-block-properties-UD7oT_P6.js → get-block-properties-IPH_xTi-.js} +1 -1
- package/lib/browser/{index-qBdmc4Tf.js → index-bHeXSwpO.js} +182 -218
- package/lib/browser/{index-9zsNLjBY.cjs → index-yGDaT-4c.cjs} +20 -50
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-yO4ZTgek.js → live-edit-ncQFzx-S.js} +1 -1
- package/lib/browser/{live-edit-9FW3XnJY.cjs → live-edit-zea3UB3U.cjs} +1 -1
- package/lib/browser/{repeated-block-HJlXpRlA.cjs → repeated-block-6Car73NY.cjs} +1 -1
- package/lib/browser/{repeated-block-7Kr5DU4s.js → repeated-block-Mk8O3Rpy.js} +2 -2
- package/lib/browser/{style-wrapper-NagZ3htF.cjs → style-wrapper-5rtVLsI3.cjs} +1 -1
- package/lib/browser/{style-wrapper-oGUCilmw.js → style-wrapper-r-s-if-A.js} +1 -1
- package/lib/edge/{awaiter-yr8VAu_H.cjs → awaiter-S6rT9Vve.cjs} +1 -1
- package/lib/edge/{awaiter-acJdczkp.js → awaiter-rfhkeWZf.js} +1 -1
- package/lib/edge/{block-wrapper-mCaWnoxQ.js → block-wrapper-C8-WoYjv.js} +3 -3
- package/lib/edge/{block-wrapper-aEKGXQsG.cjs → block-wrapper-SyvaobbZ.cjs} +1 -1
- package/lib/edge/{component-ref-wzojJNtP.cjs → component-ref-Gc_mK-yZ.cjs} +1 -1
- package/lib/edge/{component-ref-pA4-SwIs.js → component-ref-u0-6ifHM.js} +4 -4
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +0 -1
- package/lib/edge/components/content-variants/helpers.d.ts +0 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-T1Ci7dP5.js → get-block-properties-HX4IkuJ7.js} +1 -1
- package/lib/edge/{get-block-properties-vOCtFmny.cjs → get-block-properties-YVTdp4N_.cjs} +1 -1
- package/lib/edge/{index-OZxVFmQK.cjs → index-Ep-06GOr.cjs} +23 -53
- package/lib/edge/{index-9d4BROG7.js → index-z9siWBN1.js} +374 -410
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{live-edit-oX2tpNY4.js → live-edit-XsT9ZiMs.js} +1 -1
- package/lib/{node/live-edit-g3b-brGl.cjs → edge/live-edit-nkpalAUa.cjs} +1 -1
- package/lib/edge/{repeated-block-uS6k8BJT.cjs → repeated-block-QAF0iXDX.cjs} +1 -1
- package/lib/edge/{repeated-block-WFlqwuyL.js → repeated-block-e-bO_PW3.js} +2 -2
- package/lib/edge/{style-wrapper-UNbimac8.cjs → style-wrapper-IpBgNlUT.cjs} +1 -1
- package/lib/edge/{style-wrapper-QjzY0pp1.js → style-wrapper-UVIpB1x8.js} +1 -1
- package/lib/node/{awaiter-j4ORMLjV.js → awaiter-iuox8UDW.js} +1 -1
- package/lib/node/{awaiter-68BBjUeZ.cjs → awaiter-o04icQ1E.cjs} +1 -1
- package/lib/node/{block-wrapper-xbWj7xN4.cjs → block-wrapper-1Y-CVNTM.cjs} +1 -1
- package/lib/node/{block-wrapper-MpV_yto9.js → block-wrapper-Lg6Dv_gm.js} +3 -3
- package/lib/node/{component-ref-FMaZUEHA.js → component-ref-MVFxzC_h.js} +5 -5
- package/lib/node/{component-ref-gcCyaLPb.cjs → component-ref-k5AyvYBo.cjs} +1 -1
- package/lib/node/components/content-variants/content-variants.vue.d.ts +0 -1
- package/lib/node/components/content-variants/helpers.d.ts +0 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-xyodoUq1.cjs → get-block-properties-Kb0sj2FV.cjs} +1 -1
- package/lib/node/{get-block-properties-OFyB13c0.js → get-block-properties-Rq2VRXzM.js} +2 -2
- package/lib/node/{index-TU01S1LU.js → index-9hkAOr_P.js} +218 -254
- package/lib/node/{index-INlBMXV-.cjs → index-yxMSSBrC.cjs} +19 -49
- 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-DElUbmBW.cjs → node/live-edit-YzqrW2ZO.cjs} +1 -1
- package/lib/node/{live-edit-047YZnu-.js → live-edit-k8OIvz20.js} +1 -1
- package/lib/node/{repeated-block-EcOLRgeJ.cjs → repeated-block-0laikCiE.cjs} +1 -1
- package/lib/node/{repeated-block-om1ZGsyQ.js → repeated-block-km0tNI0j.js} +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-A9wQILFE.cjs → should-force-browser-runtime-in-node-HK08_EA6.cjs} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-dW9p7rxg.js → should-force-browser-runtime-in-node-o843UKK7.js} +1 -1
- package/lib/node/{style-wrapper-lvW1HnEu.cjs → style-wrapper-O4HZcJNK.cjs} +1 -1
- package/lib/node/{style-wrapper-2Rqb9g04.js → style-wrapper-tc5B1slA.js} +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as
|
|
2
|
+
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as X, mergeProps as $, toHandlers as L, withCtx as x, renderSlot as N, resolveComponent as k, createTextVNode as Vt, toDisplayString as de, defineAsyncComponent as Y, createVNode as E, renderList as F, createCommentVNode as C, h as ze, createElementVNode as z, normalizeStyle as M, normalizeClass as _, markRaw as Nt } from "vue";
|
|
3
3
|
const Wt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Dt = (e) => typeof e == "string" && Wt.has(e.toLowerCase());
|
|
4
4
|
function W(e = {}, t, n) {
|
|
5
5
|
const o = {};
|
|
@@ -24,13 +24,13 @@ const Ot = y({
|
|
|
24
24
|
return n;
|
|
25
25
|
};
|
|
26
26
|
function xt(e, t, n, o, r, i) {
|
|
27
|
-
return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName),
|
|
28
|
-
typeof e.TagName == "string" ? (d(), S(X(e.TagName),
|
|
27
|
+
return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName), $({ key: 1 }, e.attributes, L(e.actionAttributes)), null, 16)) : (d(), h(I, { key: 0 }, [
|
|
28
|
+
typeof e.TagName == "string" ? (d(), S(X(e.TagName), $({ key: 0 }, e.attributes, L(e.actionAttributes)), {
|
|
29
29
|
default: x(() => [
|
|
30
30
|
N(e.$slots, "default")
|
|
31
31
|
]),
|
|
32
32
|
_: 3
|
|
33
|
-
}, 16)) : (d(), S(X(e.TagName),
|
|
33
|
+
}, 16)) : (d(), S(X(e.TagName), $({ key: 1 }, e.attributes, L(e.actionAttributes)), {
|
|
34
34
|
default: x(() => [
|
|
35
35
|
N(e.$slots, "default")
|
|
36
36
|
]),
|
|
@@ -38,11 +38,11 @@ function xt(e, t, n, o, r, i) {
|
|
|
38
38
|
}, 16))
|
|
39
39
|
], 64));
|
|
40
40
|
}
|
|
41
|
-
const ke = /* @__PURE__ */ v(Ot, [["render", xt]]),
|
|
41
|
+
const ke = /* @__PURE__ */ v(Ot, [["render", xt]]), vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
default: ke
|
|
44
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
45
|
-
switch (
|
|
44
|
+
}, Symbol.toStringTag, { value: "Module" })), R = "vue", j = () => {
|
|
45
|
+
switch (R) {
|
|
46
46
|
case "react":
|
|
47
47
|
case "reactNative":
|
|
48
48
|
case "rsc":
|
|
@@ -71,7 +71,7 @@ const ke = /* @__PURE__ */ v(Ot, [["render", xt]]), Ss = /* @__PURE__ */ Object.
|
|
|
71
71
|
attrs() {
|
|
72
72
|
return {
|
|
73
73
|
...W(this.attributes, "v-on:", !1),
|
|
74
|
-
[
|
|
74
|
+
[j()]: `${this.link ? "" : "builder-button"} ${this.attributes[j()] || ""}`,
|
|
75
75
|
...this.link ? {
|
|
76
76
|
href: this.link,
|
|
77
77
|
target: this.openLinkInNewTab ? "_blank" : void 0,
|
|
@@ -129,17 +129,17 @@ const Ft = /* @__PURE__ */ v(Ut, [["render", Lt]]), Ht = Symbol(), ge = {
|
|
|
129
129
|
function T() {
|
|
130
130
|
return typeof window < "u" && typeof document < "u";
|
|
131
131
|
}
|
|
132
|
-
const
|
|
132
|
+
const jt = (e) => {
|
|
133
133
|
const t = {};
|
|
134
134
|
return e.forEach((n, o) => {
|
|
135
135
|
t[o] = n;
|
|
136
136
|
}), t;
|
|
137
|
-
}, Qe = (e) => e instanceof URLSearchParams ?
|
|
138
|
-
function
|
|
137
|
+
}, Qe = (e) => e instanceof URLSearchParams ? jt(e) : e, Ye = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
|
|
138
|
+
function Kt() {
|
|
139
139
|
return T() && window.self !== window.top;
|
|
140
140
|
}
|
|
141
141
|
function A(e) {
|
|
142
|
-
return
|
|
142
|
+
return Kt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
|
|
143
143
|
Ye(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
|
|
144
144
|
}
|
|
145
145
|
const qt = () => {
|
|
@@ -166,7 +166,7 @@ const qt = () => {
|
|
|
166
166
|
return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
|
|
167
167
|
},
|
|
168
168
|
any() {
|
|
169
|
-
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() ||
|
|
169
|
+
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || R === "reactNative";
|
|
170
170
|
}
|
|
171
171
|
}, n = e.match(/Tablet|iPad/i), o = qt();
|
|
172
172
|
return {
|
|
@@ -174,11 +174,11 @@ const qt = () => {
|
|
|
174
174
|
host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
|
|
175
175
|
device: n ? "tablet" : t.any() ? "mobile" : "desktop"
|
|
176
176
|
};
|
|
177
|
-
}, Ze = "5.2.
|
|
178
|
-
"X-Builder-SDK":
|
|
177
|
+
}, Ze = "5.2.3", _e = () => ({
|
|
178
|
+
"X-Builder-SDK": R,
|
|
179
179
|
"X-Builder-SDK-GEN": "2",
|
|
180
180
|
"X-Builder-SDK-Version": Ze
|
|
181
|
-
}),
|
|
181
|
+
}), K = (e) => e != null, Gt = (e) => {
|
|
182
182
|
if (e === "localhost" || e === "127.0.0.1")
|
|
183
183
|
return e;
|
|
184
184
|
const t = e.split(".");
|
|
@@ -194,7 +194,7 @@ const qt = () => {
|
|
|
194
194
|
B.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
|
-
}, et = async (e) => ue(e), Jt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(
|
|
197
|
+
}, et = async (e) => ue(e), Jt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(K).join("; "), Qt = [["secure", ""], ["SameSite", "None"]], Yt = ({
|
|
198
198
|
name: e,
|
|
199
199
|
value: t,
|
|
200
200
|
expires: n
|
|
@@ -238,7 +238,7 @@ const nt = "builderSessionId", Zt = async ({
|
|
|
238
238
|
name: nt,
|
|
239
239
|
canTrack: e
|
|
240
240
|
});
|
|
241
|
-
if (
|
|
241
|
+
if (K(t))
|
|
242
242
|
return t;
|
|
243
243
|
{
|
|
244
244
|
const n = _t();
|
|
@@ -285,7 +285,7 @@ const nt = "builderSessionId", Zt = async ({
|
|
|
285
285
|
key: rt,
|
|
286
286
|
canTrack: e
|
|
287
287
|
});
|
|
288
|
-
if (
|
|
288
|
+
if (K(t))
|
|
289
289
|
return t;
|
|
290
290
|
{
|
|
291
291
|
const n = rn();
|
|
@@ -352,7 +352,7 @@ async function se({
|
|
|
352
352
|
B.error("Missing API key for track call. Please provide your API key.");
|
|
353
353
|
return;
|
|
354
354
|
}
|
|
355
|
-
if (!t.canTrack || A() || !(T() ||
|
|
355
|
+
if (!t.canTrack || A() || !(T() || R === "reactNative"))
|
|
356
356
|
return;
|
|
357
357
|
const o = `${e || "https://cdn.builder.io"}/api/v1/track`;
|
|
358
358
|
return Te(o), fetch(o, {
|
|
@@ -369,7 +369,7 @@ async function se({
|
|
|
369
369
|
console.error("Failed to track: ", r);
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
|
-
const
|
|
372
|
+
const Ss = (e) => se({
|
|
373
373
|
...e,
|
|
374
374
|
canTrack: !0
|
|
375
375
|
}), cn = ({
|
|
@@ -455,7 +455,7 @@ const We = ({
|
|
|
455
455
|
};
|
|
456
456
|
function pn() {
|
|
457
457
|
var e;
|
|
458
|
-
return typeof process < "u" &&
|
|
458
|
+
return typeof process < "u" && K((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
459
459
|
}
|
|
460
460
|
const mn = ({
|
|
461
461
|
shouldLogWarning: e
|
|
@@ -595,7 +595,7 @@ function ye(e) {
|
|
|
595
595
|
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ye(e[n]));
|
|
596
596
|
return t;
|
|
597
597
|
}
|
|
598
|
-
const wn = ["svelte", "vue", "angular", "qwik", "solid"].includes(
|
|
598
|
+
const wn = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), In = (e) => {
|
|
599
599
|
if (wn) {
|
|
600
600
|
const t = we(e);
|
|
601
601
|
return {
|
|
@@ -674,7 +674,7 @@ function le(e) {
|
|
|
674
674
|
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? An(n) : n));
|
|
675
675
|
}
|
|
676
676
|
const De = {};
|
|
677
|
-
function
|
|
677
|
+
function ks(e, t) {
|
|
678
678
|
e === "plugin" && (t = le(t));
|
|
679
679
|
let n = De[e];
|
|
680
680
|
if (n || (n = De[e] = []), n.push(t), T()) {
|
|
@@ -692,7 +692,7 @@ function Cs(e, t) {
|
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function Cs(e) {
|
|
696
696
|
var t;
|
|
697
697
|
if (T()) {
|
|
698
698
|
const n = JSON.parse(JSON.stringify(e));
|
|
@@ -703,7 +703,7 @@ function Ts(e) {
|
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
const Oe = {};
|
|
706
|
-
function
|
|
706
|
+
function Ts(e) {
|
|
707
707
|
if (T()) {
|
|
708
708
|
Object.assign(Oe, e);
|
|
709
709
|
const t = {
|
|
@@ -741,7 +741,7 @@ const dt = (e) => {
|
|
|
741
741
|
Ue || (Ue = !0, T() && ((t = window.parent) == null || t.postMessage({
|
|
742
742
|
type: "builder.sdkInfo",
|
|
743
743
|
data: {
|
|
744
|
-
target:
|
|
744
|
+
target: R,
|
|
745
745
|
version: Ze,
|
|
746
746
|
supportsPatchUpdates: !1,
|
|
747
747
|
// Supports builder-model="..." attribute which is needed to
|
|
@@ -832,7 +832,7 @@ const dt = (e) => {
|
|
|
832
832
|
break;
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
|
-
},
|
|
835
|
+
}, ws = ({
|
|
836
836
|
model: e,
|
|
837
837
|
apiKey: t,
|
|
838
838
|
callback: n,
|
|
@@ -878,7 +878,7 @@ const dt = (e) => {
|
|
|
878
878
|
name: $e(e),
|
|
879
879
|
value: t,
|
|
880
880
|
canTrack: !0
|
|
881
|
-
}), pt = (e) =>
|
|
881
|
+
}), pt = (e) => K(e.id) && K(e.variations) && Object.keys(e.variations).length > 0, xn = ({
|
|
882
882
|
id: e,
|
|
883
883
|
variations: t
|
|
884
884
|
}) => {
|
|
@@ -993,11 +993,11 @@ function Fe() {
|
|
|
993
993
|
};
|
|
994
994
|
}
|
|
995
995
|
let ve;
|
|
996
|
-
T() &&
|
|
997
|
-
const ce = ve,
|
|
996
|
+
T() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Fe()), ve = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ve = Fe();
|
|
997
|
+
const ce = ve, Is = (e) => {
|
|
998
998
|
ce.setUserAttributes(e);
|
|
999
999
|
}, G = (e) => {
|
|
1000
|
-
const t =
|
|
1000
|
+
const t = K(e) ? e : !0;
|
|
1001
1001
|
return ce.setCanTrack(t), t;
|
|
1002
1002
|
};
|
|
1003
1003
|
function Fn() {
|
|
@@ -1030,7 +1030,7 @@ function ft(e, t, n = {}) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
return n;
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function jn(e) {
|
|
1034
1034
|
const t = {};
|
|
1035
1035
|
for (const n in e) {
|
|
1036
1036
|
const o = n.split(".");
|
|
@@ -1042,7 +1042,7 @@ function Kn(e) {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
return t;
|
|
1044
1044
|
}
|
|
1045
|
-
const
|
|
1045
|
+
const Kn = "v3", He = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Re = (e) => {
|
|
1046
1046
|
const {
|
|
1047
1047
|
limit: t = 30,
|
|
1048
1048
|
userAttributes: n,
|
|
@@ -1051,7 +1051,7 @@ const jn = "v3", He = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Re = (
|
|
|
1051
1051
|
apiKey: i,
|
|
1052
1052
|
enrich: s,
|
|
1053
1053
|
locale: l,
|
|
1054
|
-
apiVersion: a =
|
|
1054
|
+
apiVersion: a = Kn,
|
|
1055
1055
|
fields: u,
|
|
1056
1056
|
omit: p,
|
|
1057
1057
|
offset: f,
|
|
@@ -1104,7 +1104,7 @@ const jn = "v3", He = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Re = (
|
|
|
1104
1104
|
e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
|
|
1105
1105
|
const t = qn(e), {
|
|
1106
1106
|
userAttributes: n
|
|
1107
|
-
} =
|
|
1107
|
+
} = jn(t);
|
|
1108
1108
|
return n;
|
|
1109
1109
|
}
|
|
1110
1110
|
return {};
|
|
@@ -1134,7 +1134,7 @@ const Jn = async (e) => {
|
|
|
1134
1134
|
return await (await n(t.href, o)).json();
|
|
1135
1135
|
}, Qn = async (e, t, n = Re(e)) => {
|
|
1136
1136
|
const o = G(e.canTrack);
|
|
1137
|
-
if (n.search.includes("preview="), !o || !(T() ||
|
|
1137
|
+
if (n.search.includes("preview="), !o || !(T() || R === "reactNative"))
|
|
1138
1138
|
return t.results;
|
|
1139
1139
|
try {
|
|
1140
1140
|
const r = [];
|
|
@@ -1159,7 +1159,7 @@ async function Yn(e) {
|
|
|
1159
1159
|
}), n;
|
|
1160
1160
|
return Qn(e, n);
|
|
1161
1161
|
}
|
|
1162
|
-
const
|
|
1162
|
+
const $s = async (e) => {
|
|
1163
1163
|
var o, r, i;
|
|
1164
1164
|
const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
|
|
1165
1165
|
...e,
|
|
@@ -1280,8 +1280,8 @@ function eo(e) {
|
|
|
1280
1280
|
const vt = (e) => Object.entries(e).map(([n, o]) => {
|
|
1281
1281
|
if (typeof o == "string")
|
|
1282
1282
|
return `${Ae(n)}: ${o};`;
|
|
1283
|
-
}).filter(
|
|
1284
|
-
`),
|
|
1283
|
+
}).filter(K), to = (e) => vt(e).join(`
|
|
1284
|
+
`), Rs = ({
|
|
1285
1285
|
mediaQuery: e,
|
|
1286
1286
|
className: t,
|
|
1287
1287
|
styles: n
|
|
@@ -1298,7 +1298,7 @@ function no({
|
|
|
1298
1298
|
}) {
|
|
1299
1299
|
return e;
|
|
1300
1300
|
}
|
|
1301
|
-
const
|
|
1301
|
+
const Es = ({
|
|
1302
1302
|
block: e,
|
|
1303
1303
|
context: t
|
|
1304
1304
|
}) => St(no({
|
|
@@ -1307,7 +1307,7 @@ const As = ({
|
|
|
1307
1307
|
block: e
|
|
1308
1308
|
}));
|
|
1309
1309
|
function St(e) {
|
|
1310
|
-
switch (
|
|
1310
|
+
switch (R) {
|
|
1311
1311
|
case "svelte":
|
|
1312
1312
|
case "vue":
|
|
1313
1313
|
case "solid":
|
|
@@ -1395,22 +1395,22 @@ const kt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1395
1395
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1396
1396
|
e
|
|
1397
1397
|
), e;
|
|
1398
|
-
}), po = () => import("./block-wrapper-
|
|
1398
|
+
}), po = () => import("./block-wrapper-M2woB-L4.js").then((e) => e.default).catch((e) => {
|
|
1399
1399
|
throw console.error(
|
|
1400
1400
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1401
1401
|
e
|
|
1402
1402
|
), e;
|
|
1403
|
-
}), mo = () => import("./component-ref-
|
|
1403
|
+
}), mo = () => import("./component-ref-7xUvXH6j.js").then((e) => e.default).catch((e) => {
|
|
1404
1404
|
throw console.error(
|
|
1405
1405
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1406
1406
|
e
|
|
1407
1407
|
), e;
|
|
1408
|
-
}), ho = () => import("./repeated-block-
|
|
1408
|
+
}), ho = () => import("./repeated-block-Mk8O3Rpy.js").then((e) => e.default).catch((e) => {
|
|
1409
1409
|
throw console.error(
|
|
1410
1410
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1411
1411
|
e
|
|
1412
1412
|
), e;
|
|
1413
|
-
}), fo = () => import("./style-wrapper-
|
|
1413
|
+
}), fo = () => import("./style-wrapper-r-s-if-A.js").then((e) => e.default).catch((e) => {
|
|
1414
1414
|
throw console.error(
|
|
1415
1415
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1416
1416
|
e
|
|
@@ -1505,7 +1505,7 @@ const kt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1505
1505
|
registeredComponents: this.registeredComponents,
|
|
1506
1506
|
builderBlock: this.processedBlock,
|
|
1507
1507
|
includeBlockProps: ((t = this.blockComponent) == null ? void 0 : t.noWrap) === !0,
|
|
1508
|
-
isInteractive: !((n = this.blockComponent) != null && n.isRSC &&
|
|
1508
|
+
isInteractive: !((n = this.blockComponent) != null && n.isRSC && R === "rsc")
|
|
1509
1509
|
};
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
@@ -1513,14 +1513,14 @@ const kt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1513
1513
|
function go(e, t, n, o, r, i) {
|
|
1514
1514
|
var f;
|
|
1515
1515
|
const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
|
|
1516
|
-
return e.canShowBlock ? (d(), h(
|
|
1516
|
+
return e.canShowBlock ? (d(), h(I, { key: 0 }, [
|
|
1517
1517
|
E(s, {
|
|
1518
1518
|
block: e.processedBlock,
|
|
1519
1519
|
context: e.context,
|
|
1520
1520
|
id: e.block.id
|
|
1521
1521
|
}, null, 8, ["block", "context", "id"]),
|
|
1522
|
-
(f = e.blockComponent) != null && f.noWrap ? (d(), h(
|
|
1523
|
-
e.repeatItem ? (d(!0), h(
|
|
1522
|
+
(f = e.blockComponent) != null && f.noWrap ? (d(), h(I, { key: 1 }, [
|
|
1523
|
+
e.repeatItem ? (d(!0), h(I, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
|
|
1524
1524
|
key: e.generateKey(m),
|
|
1525
1525
|
repeatContext: c.context,
|
|
1526
1526
|
block: c.block,
|
|
@@ -1538,8 +1538,8 @@ function go(e, t, n, o, r, i) {
|
|
|
1538
1538
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
1539
1539
|
isInteractive: e.componentRefProps.isInteractive
|
|
1540
1540
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
|
|
1541
|
-
], 64)) : (d(), h(
|
|
1542
|
-
e.repeatItem ? (d(!0), h(
|
|
1541
|
+
], 64)) : (d(), h(I, { key: 0 }, [
|
|
1542
|
+
e.repeatItem ? (d(!0), h(I, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
|
|
1543
1543
|
key: e.generateKey(m),
|
|
1544
1544
|
repeatContext: c.context,
|
|
1545
1545
|
block: c.block,
|
|
@@ -1563,7 +1563,7 @@ function go(e, t, n, o, r, i) {
|
|
|
1563
1563
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
1564
1564
|
isInteractive: e.componentRefProps.isInteractive
|
|
1565
1565
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
|
|
1566
|
-
(d(!0), h(
|
|
1566
|
+
(d(!0), h(I, null, F(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
|
|
1567
1567
|
key: c.id,
|
|
1568
1568
|
block: c,
|
|
1569
1569
|
registeredComponents: e.registeredComponents,
|
|
@@ -1576,7 +1576,7 @@ function go(e, t, n, o, r, i) {
|
|
|
1576
1576
|
], 64))
|
|
1577
1577
|
], 64)) : C("", !0);
|
|
1578
1578
|
}
|
|
1579
|
-
const Ct = /* @__PURE__ */ v(bo, [["render", go]]),
|
|
1579
|
+
const Ct = /* @__PURE__ */ v(bo, [["render", go]]), As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1580
1580
|
__proto__: null,
|
|
1581
1581
|
default: Ct
|
|
1582
1582
|
}, Symbol.toStringTag, { value: "Module" })), yo = y({
|
|
@@ -1650,7 +1650,7 @@ const Ct = /* @__PURE__ */ v(bo, [["render", go]]), Ps = /* @__PURE__ */ Object.
|
|
|
1650
1650
|
}
|
|
1651
1651
|
});
|
|
1652
1652
|
function vo(e, t, n, o, r, i) {
|
|
1653
|
-
return d(), S(X(e.BlocksWrapper),
|
|
1653
|
+
return d(), S(X(e.BlocksWrapper), $({
|
|
1654
1654
|
ref: "blocksWrapperRef",
|
|
1655
1655
|
class: e.className + " component-5vz8uirn7sc",
|
|
1656
1656
|
"builder-path": e.dataPath,
|
|
@@ -1699,7 +1699,7 @@ function Co(e, t, n, o, r, i) {
|
|
|
1699
1699
|
}, {
|
|
1700
1700
|
default: x(() => [
|
|
1701
1701
|
N(e.$slots, "default"),
|
|
1702
|
-
e.blocks ? (d(!0), h(
|
|
1702
|
+
e.blocks ? (d(!0), h(I, { key: 0 }, F(e.blocks, (c, m) => {
|
|
1703
1703
|
var b;
|
|
1704
1704
|
return d(), S(s, {
|
|
1705
1705
|
key: c.id,
|
|
@@ -1756,7 +1756,7 @@ const te = /* @__PURE__ */ v(To, [["render", wo]]), Io = /* @__PURE__ */ Object.
|
|
|
1756
1756
|
default: 991,
|
|
1757
1757
|
max: 1200
|
|
1758
1758
|
}
|
|
1759
|
-
},
|
|
1759
|
+
}, Ps = (e, t = Tt) => `@media (max-width: ${t[e].max}px)`, $o = (e) => {
|
|
1760
1760
|
const t = we(Tt);
|
|
1761
1761
|
if (!e)
|
|
1762
1762
|
return t;
|
|
@@ -1813,7 +1813,7 @@ const te = /* @__PURE__ */ v(To, [["render", wo]]), Io = /* @__PURE__ */ Object.
|
|
|
1813
1813
|
"builderComponents"
|
|
1814
1814
|
],
|
|
1815
1815
|
data() {
|
|
1816
|
-
return { TARGET:
|
|
1816
|
+
return { TARGET: R, getColumnsClass: Ro };
|
|
1817
1817
|
},
|
|
1818
1818
|
computed: {
|
|
1819
1819
|
gutterSize() {
|
|
@@ -1929,7 +1929,7 @@ const te = /* @__PURE__ */ v(To, [["render", wo]]), Io = /* @__PURE__ */ Object.
|
|
|
1929
1929
|
...e.link ? {
|
|
1930
1930
|
href: e.link
|
|
1931
1931
|
} : {},
|
|
1932
|
-
[
|
|
1932
|
+
[j()]: "builder-column",
|
|
1933
1933
|
style: St(this.columnCssVars(t))
|
|
1934
1934
|
};
|
|
1935
1935
|
}
|
|
@@ -1938,7 +1938,7 @@ const te = /* @__PURE__ */ v(To, [["render", wo]]), Io = /* @__PURE__ */ Object.
|
|
|
1938
1938
|
function Ao(e, t, n, o, r, i) {
|
|
1939
1939
|
var u;
|
|
1940
1940
|
const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
|
|
1941
|
-
return d(), h("div",
|
|
1941
|
+
return d(), h("div", $({
|
|
1942
1942
|
class: e.getColumnsClass((u = e.builderBlock) == null ? void 0 : u.id) + " div-1be3j8m9ewb",
|
|
1943
1943
|
style: e.columnsCssVars()
|
|
1944
1944
|
}, {}), [
|
|
@@ -1948,7 +1948,7 @@ function Ao(e, t, n, o, r, i) {
|
|
|
1948
1948
|
styles: e.columnsStyles(),
|
|
1949
1949
|
nonce: e.builderContext.nonce
|
|
1950
1950
|
}, null, 8, ["styles", "nonce"])) : C("", !0),
|
|
1951
|
-
(d(!0), h(
|
|
1951
|
+
(d(!0), h(I, null, F(e.columns, (p, f) => (d(), S(a, {
|
|
1952
1952
|
key: f,
|
|
1953
1953
|
TagName: e.getTagName(p),
|
|
1954
1954
|
actionAttributes: {},
|
|
@@ -2068,7 +2068,7 @@ const Oo = y({
|
|
|
2068
2068
|
};
|
|
2069
2069
|
function Fo(e, t, n, o, r, i) {
|
|
2070
2070
|
var s, l, a, u, p, f;
|
|
2071
|
-
return d(), h(
|
|
2071
|
+
return d(), h(I, null, [
|
|
2072
2072
|
z("picture", null, [
|
|
2073
2073
|
e.webpSrcSet ? (d(), h("source", {
|
|
2074
2074
|
key: 0,
|
|
@@ -2114,8 +2114,8 @@ const Ho = /* @__PURE__ */ v(Oo, [["render", Fo], ["__scopeId", "data-v-741b9bbc
|
|
|
2114
2114
|
return { filterAttrs: W };
|
|
2115
2115
|
}
|
|
2116
2116
|
});
|
|
2117
|
-
function
|
|
2118
|
-
return d(), h("section",
|
|
2117
|
+
function jo(e, t, n, o, r, i) {
|
|
2118
|
+
return d(), h("section", $({
|
|
2119
2119
|
style: {
|
|
2120
2120
|
width: "100%",
|
|
2121
2121
|
alignSelf: "stretch",
|
|
@@ -2132,7 +2132,7 @@ function Ko(e, t, n, o, r, i) {
|
|
|
2132
2132
|
N(e.$slots, "default")
|
|
2133
2133
|
], 16);
|
|
2134
2134
|
}
|
|
2135
|
-
const
|
|
2135
|
+
const Ko = /* @__PURE__ */ v(Mo, [["render", jo]]);
|
|
2136
2136
|
function qo(e, t, n, o) {
|
|
2137
2137
|
function r(u) {
|
|
2138
2138
|
return typeof u == "string";
|
|
@@ -2353,7 +2353,7 @@ const zo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
2353
2353
|
}
|
|
2354
2354
|
}`, re = "default", Qo = "filterWithCustomTargeting", wt = "builderIoPersonalization", It = "updateVisibilityStylesScript", $t = ["react", "vue", "svelte", "qwik"], Rt = ["vue", "svelte", "qwik"];
|
|
2355
2355
|
function Yo(e, t) {
|
|
2356
|
-
return !(e && e.length > 0) || !t ? !1 : Rt.includes(
|
|
2356
|
+
return !(e && e.length > 0) || !t ? !1 : Rt.includes(R) ? !0 : !T();
|
|
2357
2357
|
}
|
|
2358
2358
|
function Xo({
|
|
2359
2359
|
variants: e,
|
|
@@ -2397,7 +2397,7 @@ const Zo = () => `
|
|
|
2397
2397
|
window.${Qo} = ${Go}
|
|
2398
2398
|
window.${wt} = ${zo}
|
|
2399
2399
|
window.${It} = ${Jo}
|
|
2400
|
-
`, Et =
|
|
2400
|
+
`, Et = R === "react", _o = (e, t, n) => `window.${wt}(${JSON.stringify(e)}, "${t}", ${Et}${n ? `, "${n}"` : ""})`, er = (e, t, n) => `window.${It}(${JSON.stringify(e)}, "${t}", ${Et}${n ? `, "${n}"` : ""})`, me = {
|
|
2401
2401
|
"@type": "@builder.io/sdk:Element",
|
|
2402
2402
|
layerName: "Accordion item title",
|
|
2403
2403
|
responsiveStyles: {
|
|
@@ -2623,7 +2623,7 @@ function ir(e, t, n, o, r, i) {
|
|
|
2623
2623
|
class: "builder-accordion",
|
|
2624
2624
|
style: M(e.accordionStyles)
|
|
2625
2625
|
}, [
|
|
2626
|
-
(d(!0), h(
|
|
2626
|
+
(d(!0), h(I, null, F(e.items, (l, a) => (d(), h(I, { key: a }, [
|
|
2627
2627
|
z("div", {
|
|
2628
2628
|
class: _(e.getAccordionTitleClassName(a)),
|
|
2629
2629
|
style: M({
|
|
@@ -3104,7 +3104,7 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
3104
3104
|
G((s = this.builderContext) == null ? void 0 : s.canTrack)
|
|
3105
3105
|
),
|
|
3106
3106
|
shouldResetVariants: !1,
|
|
3107
|
-
TARGET:
|
|
3107
|
+
TARGET: R,
|
|
3108
3108
|
DEFAULT_INDEX: re,
|
|
3109
3109
|
SDKS_REQUIRING_RESET_APPROACH: Rt
|
|
3110
3110
|
};
|
|
@@ -3117,7 +3117,7 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
3117
3117
|
this.userAttributes = n;
|
|
3118
3118
|
},
|
|
3119
3119
|
{
|
|
3120
|
-
fireImmediately:
|
|
3120
|
+
fireImmediately: R === "qwik"
|
|
3121
3121
|
}
|
|
3122
3122
|
);
|
|
3123
3123
|
if (!(A() || Ie())) {
|
|
@@ -3155,7 +3155,7 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
3155
3155
|
return {
|
|
3156
3156
|
...W(this.attributes, "v-on:", !1),
|
|
3157
3157
|
...W(this.attributes, "v-on:", !0),
|
|
3158
|
-
[
|
|
3158
|
+
[j()]: `builder-personalization-container ${this.attributes[j()] || ""}`
|
|
3159
3159
|
};
|
|
3160
3160
|
},
|
|
3161
3161
|
filteredVariants() {
|
|
@@ -3197,7 +3197,7 @@ const sr = /* @__PURE__ */ v(or, [["render", ir]]), ar = {
|
|
|
3197
3197
|
function hr(e, t, n, o, r, i) {
|
|
3198
3198
|
var u, p, f, c, m, b, g, P, U, V;
|
|
3199
3199
|
const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
|
|
3200
|
-
return d(), h("div",
|
|
3200
|
+
return d(), h("div", $({ ref: "rootRef" }, e.attrs), [
|
|
3201
3201
|
e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), S(s, {
|
|
3202
3202
|
key: 0,
|
|
3203
3203
|
blocks: e.blocksToRender.blocks,
|
|
@@ -3210,8 +3210,8 @@ function hr(e, t, n, o, r, i) {
|
|
|
3210
3210
|
"data-variant-id": `${(f = e.builderBlock) == null ? void 0 : f.id}-${e.blocksToRender.index}`
|
|
3211
3211
|
}
|
|
3212
3212
|
}, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : C("", !0),
|
|
3213
|
-
!e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(
|
|
3214
|
-
e.shouldRenderVariants ? (d(), h(
|
|
3213
|
+
!e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(I, { key: 1 }, [
|
|
3214
|
+
e.shouldRenderVariants ? (d(), h(I, { key: 0 }, [
|
|
3215
3215
|
E(l, {
|
|
3216
3216
|
nonce: ((c = e.builderContext) == null ? void 0 : c.nonce) || "",
|
|
3217
3217
|
styles: e.hideVariantsStyleString,
|
|
@@ -3222,7 +3222,7 @@ function hr(e, t, n, o, r, i) {
|
|
|
3222
3222
|
scriptStr: e.updateVisibilityStylesScript,
|
|
3223
3223
|
id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
|
|
3224
3224
|
}, null, 8, ["nonce", "scriptStr", "id"]),
|
|
3225
|
-
(d(!0), h(
|
|
3225
|
+
(d(!0), h(I, null, F(e.variants, (w, D) => {
|
|
3226
3226
|
var J, Q, O, H;
|
|
3227
3227
|
return d(), S(s, {
|
|
3228
3228
|
key: `${(J = e.builderBlock) == null ? void 0 : J.id}-${D}`,
|
|
@@ -3343,7 +3343,7 @@ const fr = /* @__PURE__ */ v(mr, [["render", hr]]), br = {
|
|
|
3343
3343
|
function vr(e, t, n, o, r, i) {
|
|
3344
3344
|
var l, a, u;
|
|
3345
3345
|
const s = k("Blocks");
|
|
3346
|
-
return d(), h("div",
|
|
3346
|
+
return d(), h("div", $(
|
|
3347
3347
|
{ style: {
|
|
3348
3348
|
pointerEvents: "auto"
|
|
3349
3349
|
} },
|
|
@@ -3581,7 +3581,7 @@ function $r(e, t, n, o, r, i) {
|
|
|
3581
3581
|
overflow: "auto"
|
|
3582
3582
|
})
|
|
3583
3583
|
}, [
|
|
3584
|
-
(d(!0), h(
|
|
3584
|
+
(d(!0), h(I, null, F(e.tabs, (l, a) => (d(), h("span", {
|
|
3585
3585
|
key: a,
|
|
3586
3586
|
class: _(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
|
|
3587
3587
|
style: M(e.getTabStyle(a)),
|
|
@@ -3788,14 +3788,14 @@ const xr = /* @__PURE__ */ v(Wr, [["render", Or]]), Ur = {
|
|
|
3788
3788
|
}
|
|
3789
3789
|
}
|
|
3790
3790
|
}), Mr = ["innerHTML"];
|
|
3791
|
-
function
|
|
3791
|
+
function jr(e, t, n, o, r, i) {
|
|
3792
3792
|
return d(), h("div", {
|
|
3793
3793
|
class: "builder-embed",
|
|
3794
3794
|
ref: "elem",
|
|
3795
3795
|
innerHTML: e.content
|
|
3796
3796
|
}, null, 8, Mr);
|
|
3797
3797
|
}
|
|
3798
|
-
const
|
|
3798
|
+
const Kr = /* @__PURE__ */ v(Hr, [["render", jr]]), qr = {
|
|
3799
3799
|
name: "Form:Form",
|
|
3800
3800
|
// editableTags: ['builder-form-error']
|
|
3801
3801
|
defaults: {
|
|
@@ -4218,7 +4218,7 @@ const jr = /* @__PURE__ */ v(Hr, [["render", Kr]]), qr = {
|
|
|
4218
4218
|
};
|
|
4219
4219
|
function Xr(e, t, n, o, r, i) {
|
|
4220
4220
|
const s = k("Blocks");
|
|
4221
|
-
return d(), h("form",
|
|
4221
|
+
return d(), h("form", $({
|
|
4222
4222
|
validate: e.validate,
|
|
4223
4223
|
ref: "formRef",
|
|
4224
4224
|
action: !e.sendWithJs && e.action,
|
|
@@ -4315,7 +4315,7 @@ const Zr = /* @__PURE__ */ v(Jr, [["render", Xr], ["__scopeId", "data-v-77c7888c
|
|
|
4315
4315
|
}
|
|
4316
4316
|
}), ti = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
4317
4317
|
function ni(e, t, n, o, r, i) {
|
|
4318
|
-
return d(), h("input",
|
|
4318
|
+
return d(), h("input", $({
|
|
4319
4319
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
4320
4320
|
placeholder: e.placeholder,
|
|
4321
4321
|
type: e.type,
|
|
@@ -4375,14 +4375,14 @@ const oi = /* @__PURE__ */ v(ei, [["render", ni]]), ri = {
|
|
|
4375
4375
|
}
|
|
4376
4376
|
}), si = ["value", "defaultValue", "name", "required"], ai = ["value"];
|
|
4377
4377
|
function li(e, t, n, o, r, i) {
|
|
4378
|
-
return d(), h("select",
|
|
4378
|
+
return d(), h("select", $({
|
|
4379
4379
|
value: e.value,
|
|
4380
4380
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
4381
4381
|
defaultValue: e.defaultValue,
|
|
4382
4382
|
name: e.name,
|
|
4383
4383
|
required: e.required
|
|
4384
4384
|
}, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
4385
|
-
(d(!0), h(
|
|
4385
|
+
(d(!0), h(I, null, F(e.options, (s, l) => (d(), h("option", {
|
|
4386
4386
|
key: `${s.name}-${l}`,
|
|
4387
4387
|
value: s.value
|
|
4388
4388
|
}, de(s.name || s.value), 9, ai))), 128))
|
|
@@ -4421,7 +4421,7 @@ const ci = /* @__PURE__ */ v(ii, [["render", li]]), di = {
|
|
|
4421
4421
|
}
|
|
4422
4422
|
});
|
|
4423
4423
|
function pi(e, t, n, o, r, i) {
|
|
4424
|
-
return d(), h("button",
|
|
4424
|
+
return d(), h("button", $({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), de(e.text), 17);
|
|
4425
4425
|
}
|
|
4426
4426
|
const mi = /* @__PURE__ */ v(ui, [["render", pi]]), hi = {
|
|
4427
4427
|
name: "Form:TextArea",
|
|
@@ -4474,7 +4474,7 @@ const mi = /* @__PURE__ */ v(ui, [["render", pi]]), hi = {
|
|
|
4474
4474
|
}
|
|
4475
4475
|
}), bi = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
4476
4476
|
function gi(e, t, n, o, r, i) {
|
|
4477
|
-
return d(), h("textarea",
|
|
4477
|
+
return d(), h("textarea", $({
|
|
4478
4478
|
placeholder: e.placeholder,
|
|
4479
4479
|
name: e.name,
|
|
4480
4480
|
value: e.value,
|
|
@@ -4551,7 +4551,7 @@ const yi = /* @__PURE__ */ v(fi, [["render", gi]]), vi = {
|
|
|
4551
4551
|
const e = {
|
|
4552
4552
|
...W(this.attributes, "v-on:", !1),
|
|
4553
4553
|
...W(this.attributes, "v-on:", !0),
|
|
4554
|
-
[
|
|
4554
|
+
[j()]: `builder-raw-img ${this.attributes[j()] || ""}`
|
|
4555
4555
|
};
|
|
4556
4556
|
return delete e.style, e;
|
|
4557
4557
|
}
|
|
@@ -4559,7 +4559,7 @@ const yi = /* @__PURE__ */ v(fi, [["render", gi]]), vi = {
|
|
|
4559
4559
|
}), ki = ["alt", "title", "src"];
|
|
4560
4560
|
function Ci(e, t, n, o, r, i) {
|
|
4561
4561
|
var s;
|
|
4562
|
-
return d(), h("img",
|
|
4562
|
+
return d(), h("img", $({
|
|
4563
4563
|
loading: "lazy",
|
|
4564
4564
|
key: e.isEditing() && e.imgSrc || "default-key",
|
|
4565
4565
|
alt: e.altText,
|
|
@@ -4756,7 +4756,7 @@ const Ti = /* @__PURE__ */ v(Si, [["render", Ci]]), wi = {
|
|
|
4756
4756
|
function Pi(e, t, n, o, r, i) {
|
|
4757
4757
|
var s, l, a, u, p, f, c;
|
|
4758
4758
|
return d(), h("div", $i, [
|
|
4759
|
-
z("video",
|
|
4759
|
+
z("video", $({
|
|
4760
4760
|
class: "builder-video",
|
|
4761
4761
|
ref: "videoRef",
|
|
4762
4762
|
preload: e.lazyLoad ? "none" : e.preload || "metadata",
|
|
@@ -4775,7 +4775,7 @@ function Pi(e, t, n, o, r, i) {
|
|
|
4775
4775
|
},
|
|
4776
4776
|
poster: e.posterImage
|
|
4777
4777
|
}, e.spreadProps), [
|
|
4778
|
-
z("source",
|
|
4778
|
+
z("source", $(
|
|
4779
4779
|
{ type: "video/mp4" },
|
|
4780
4780
|
e.lazyLoad ? {
|
|
4781
4781
|
"data-src": e.video
|
|
@@ -4805,7 +4805,7 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4805
4805
|
component: xr,
|
|
4806
4806
|
...Nr
|
|
4807
4807
|
}, {
|
|
4808
|
-
component:
|
|
4808
|
+
component: Kr,
|
|
4809
4809
|
...Ur
|
|
4810
4810
|
}, {
|
|
4811
4811
|
component: Zr,
|
|
@@ -4828,7 +4828,7 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4828
4828
|
}, {
|
|
4829
4829
|
component: Bi,
|
|
4830
4830
|
...wi
|
|
4831
|
-
}],
|
|
4831
|
+
}], je = () => [{
|
|
4832
4832
|
component: Ft,
|
|
4833
4833
|
...ar
|
|
4834
4834
|
}, {
|
|
@@ -4841,18 +4841,18 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4841
4841
|
component: Ho,
|
|
4842
4842
|
...ur
|
|
4843
4843
|
}, {
|
|
4844
|
-
component:
|
|
4844
|
+
component: Ko,
|
|
4845
4845
|
...br
|
|
4846
4846
|
}, {
|
|
4847
4847
|
component: Sr,
|
|
4848
4848
|
...gr
|
|
4849
4849
|
}, {
|
|
4850
|
-
component:
|
|
4850
|
+
component: bs,
|
|
4851
4851
|
...kr
|
|
4852
4852
|
}, {
|
|
4853
4853
|
component: Vr,
|
|
4854
4854
|
...Er
|
|
4855
|
-
}, ...$t.includes(
|
|
4855
|
+
}, ...$t.includes(R) ? [{
|
|
4856
4856
|
component: fr,
|
|
4857
4857
|
...pr
|
|
4858
4858
|
}] : [], {
|
|
@@ -4961,52 +4961,22 @@ const Bi = /* @__PURE__ */ v(Ii, [["render", Pi]]), Vi = () => [{
|
|
|
4961
4961
|
})), Di = ({
|
|
4962
4962
|
canTrack: e,
|
|
4963
4963
|
content: t
|
|
4964
|
-
}) => !(!(ie(t).length > 0) || !e), Oi = (e) => e === "react" || e === "reactNative", xi =
|
|
4965
|
-
(function() {
|
|
4966
|
-
var selector = 'script[data-id="${e}"]';
|
|
4967
|
-
var scriptKey = '__builderioScriptInitialized_${e}';
|
|
4968
|
-
var observerKey = '__builderioScriptObserver_${e}';
|
|
4969
|
-
|
|
4970
|
-
// Synchronously remove any duplicates already in the DOM
|
|
4971
|
-
var existing = document.querySelectorAll(selector);
|
|
4972
|
-
existing.forEach(function(script, index) {
|
|
4973
|
-
if (index > 0) {
|
|
4974
|
-
script.parentNode && script.parentNode.removeChild(script);
|
|
4975
|
-
}
|
|
4976
|
-
});
|
|
4977
|
-
|
|
4978
|
-
// Watch for duplicates added later (e.g. RSC streaming chunks)
|
|
4979
|
-
if (!window[observerKey] && typeof MutationObserver !== 'undefined') {
|
|
4980
|
-
window[observerKey] = new MutationObserver(function() {
|
|
4981
|
-
var all = document.querySelectorAll(selector);
|
|
4982
|
-
for (var i = 1; i < all.length; i++) {
|
|
4983
|
-
all[i].parentNode && all[i].parentNode.removeChild(all[i]);
|
|
4984
|
-
}
|
|
4985
|
-
});
|
|
4986
|
-
window[observerKey].observe(document.documentElement, { childList: true, subtree: true });
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
if (!window[scriptKey]) {
|
|
4990
|
-
window[scriptKey] = true;
|
|
4991
|
-
${t}
|
|
4992
|
-
}
|
|
4993
|
-
})();
|
|
4994
|
-
`, Li = () => `
|
|
4964
|
+
}) => !(!(ie(t).length > 0) || !e), Oi = (e) => e === "react" || e === "reactNative", xi = R === "angular", Bt = Oi(R), Ui = () => `
|
|
4995
4965
|
window.${At} = ${Ni}
|
|
4996
4966
|
window.${Pt} = ${Wi}
|
|
4997
|
-
`,
|
|
4967
|
+
`, Li = (e, t) => `
|
|
4998
4968
|
window.${At}(
|
|
4999
4969
|
"${t}",${JSON.stringify(e)}, ${Bt}, ${xi}
|
|
5000
|
-
)`,
|
|
4970
|
+
)`, Fi = ({
|
|
5001
4971
|
contentId: e,
|
|
5002
4972
|
variationId: t
|
|
5003
4973
|
}) => `window.${Pt}(
|
|
5004
4974
|
"${t}", "${e}", ${Bt}
|
|
5005
4975
|
)`;
|
|
5006
|
-
function
|
|
4976
|
+
function Ke(e) {
|
|
5007
4977
|
return Math.round(e * 1e3) / 1e3;
|
|
5008
4978
|
}
|
|
5009
|
-
const
|
|
4979
|
+
const Hi = (e, t, n = !0) => {
|
|
5010
4980
|
if (!(e instanceof HTMLElement))
|
|
5011
4981
|
return null;
|
|
5012
4982
|
let o = n ? e : e.parentElement;
|
|
@@ -5017,20 +4987,20 @@ const Mi = (e, t, n = !0) => {
|
|
|
5017
4987
|
return o;
|
|
5018
4988
|
} while (o = o.parentElement);
|
|
5019
4989
|
return null;
|
|
5020
|
-
},
|
|
4990
|
+
}, Mi = (e) => Hi(e, (t) => {
|
|
5021
4991
|
const n = t.getAttribute("builder-id") || t.id;
|
|
5022
4992
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
5023
4993
|
}), qe = ({
|
|
5024
4994
|
event: e,
|
|
5025
4995
|
target: t
|
|
5026
4996
|
}) => {
|
|
5027
|
-
const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i =
|
|
4997
|
+
const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Ke(o / n.width), s = Ke(r / n.height);
|
|
5028
4998
|
return {
|
|
5029
4999
|
x: i,
|
|
5030
5000
|
y: s
|
|
5031
5001
|
};
|
|
5032
5002
|
}, ji = (e) => {
|
|
5033
|
-
const t = e.target, n = t &&
|
|
5003
|
+
const t = e.target, n = t && Mi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
5034
5004
|
return {
|
|
5035
5005
|
targetBuilderElement: o || void 0,
|
|
5036
5006
|
metadata: {
|
|
@@ -5045,7 +5015,7 @@ const Mi = (e, t, n = !0) => {
|
|
|
5045
5015
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
5046
5016
|
}
|
|
5047
5017
|
};
|
|
5048
|
-
},
|
|
5018
|
+
}, Ki = ["svelte", "qwik", "vue"], qi = () => Ki.includes(R) && (A() || Ie()), zi = (e) => {
|
|
5049
5019
|
var i;
|
|
5050
5020
|
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);
|
|
5051
5021
|
let r = "";
|
|
@@ -5071,15 +5041,15 @@ font-weight: ${s};
|
|
|
5071
5041
|
`.trim());
|
|
5072
5042
|
}
|
|
5073
5043
|
return r;
|
|
5074
|
-
},
|
|
5044
|
+
}, Gi = ({
|
|
5075
5045
|
customFonts: e
|
|
5076
5046
|
}) => {
|
|
5077
5047
|
var t;
|
|
5078
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
5079
|
-
},
|
|
5048
|
+
return ((t = e == null ? void 0 : e.map((n) => zi(n))) == null ? void 0 : t.join(" ")) || "";
|
|
5049
|
+
}, Ji = ({
|
|
5080
5050
|
cssCode: e,
|
|
5081
5051
|
contentId: t
|
|
5082
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
5052
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Qi = `
|
|
5083
5053
|
.builder-button {
|
|
5084
5054
|
all: unset;
|
|
5085
5055
|
}
|
|
@@ -5096,7 +5066,7 @@ font-weight: ${s};
|
|
|
5096
5066
|
text-align: inherit;
|
|
5097
5067
|
font-family: inherit;
|
|
5098
5068
|
}
|
|
5099
|
-
`,
|
|
5069
|
+
`, Yi = (e) => e ? "" : Qi, Xi = (e) => `variant-${e}`, Zi = y({
|
|
5100
5070
|
name: "enable-editor",
|
|
5101
5071
|
components: { DynamicDiv: te },
|
|
5102
5072
|
props: [
|
|
@@ -5127,8 +5097,8 @@ font-weight: ${s};
|
|
|
5127
5097
|
httpReqsPending: {},
|
|
5128
5098
|
clicked: !1,
|
|
5129
5099
|
builderContext: ge,
|
|
5130
|
-
needsElementRefDivForEditing:
|
|
5131
|
-
getWrapperClassName:
|
|
5100
|
+
needsElementRefDivForEditing: qi,
|
|
5101
|
+
getWrapperClassName: Xi
|
|
5132
5102
|
};
|
|
5133
5103
|
},
|
|
5134
5104
|
provide() {
|
|
@@ -5420,9 +5390,9 @@ font-weight: ${s};
|
|
|
5420
5390
|
}
|
|
5421
5391
|
}
|
|
5422
5392
|
});
|
|
5423
|
-
function
|
|
5393
|
+
function _i(e, t, n, o, r, i) {
|
|
5424
5394
|
var s, l, a;
|
|
5425
|
-
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(X(e.ContentWrapper),
|
|
5395
|
+
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(X(e.ContentWrapper), $({
|
|
5426
5396
|
key: 0,
|
|
5427
5397
|
ref: "elementRef",
|
|
5428
5398
|
onClick: (u) => e.onClick(u),
|
|
@@ -5441,26 +5411,26 @@ function es(e, t, n, o, r, i) {
|
|
|
5441
5411
|
_: 3
|
|
5442
5412
|
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : C("", !0);
|
|
5443
5413
|
}
|
|
5444
|
-
const
|
|
5414
|
+
const es = /* @__PURE__ */ v(Zi, [["render", _i]]), ts = y({
|
|
5445
5415
|
name: "content-styles",
|
|
5446
5416
|
components: { InlinedStyles: pe },
|
|
5447
5417
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
5448
5418
|
data() {
|
|
5449
5419
|
return {
|
|
5450
5420
|
injectedStyles: `
|
|
5451
|
-
${
|
|
5421
|
+
${Ji({
|
|
5452
5422
|
cssCode: this.cssCode,
|
|
5453
5423
|
contentId: this.contentId
|
|
5454
5424
|
})}
|
|
5455
|
-
${
|
|
5425
|
+
${Gi({
|
|
5456
5426
|
customFonts: this.customFonts
|
|
5457
5427
|
})}
|
|
5458
|
-
${
|
|
5428
|
+
${Yi(this.isNestedRender)}
|
|
5459
5429
|
`.trim()
|
|
5460
5430
|
};
|
|
5461
5431
|
}
|
|
5462
5432
|
});
|
|
5463
|
-
function
|
|
5433
|
+
function ns(e, t, n, o, r, i) {
|
|
5464
5434
|
const s = k("InlinedStyles");
|
|
5465
5435
|
return d(), S(s, {
|
|
5466
5436
|
id: "builderio-content",
|
|
@@ -5468,7 +5438,7 @@ function os(e, t, n, o, r, i) {
|
|
|
5468
5438
|
nonce: e.nonce
|
|
5469
5439
|
}, null, 8, ["styles", "nonce"]);
|
|
5470
5440
|
}
|
|
5471
|
-
const
|
|
5441
|
+
const os = /* @__PURE__ */ v(ts, [["render", ns]]), rs = ({
|
|
5472
5442
|
content: e,
|
|
5473
5443
|
data: t,
|
|
5474
5444
|
locale: n
|
|
@@ -5485,7 +5455,7 @@ const rs = /* @__PURE__ */ v(ns, [["render", os]]), is = ({
|
|
|
5485
5455
|
locale: n
|
|
5486
5456
|
} : {}
|
|
5487
5457
|
};
|
|
5488
|
-
},
|
|
5458
|
+
}, is = ({
|
|
5489
5459
|
content: e,
|
|
5490
5460
|
data: t
|
|
5491
5461
|
}) => e ? {
|
|
@@ -5495,12 +5465,12 @@ const rs = /* @__PURE__ */ v(ns, [["render", os]]), is = ({
|
|
|
5495
5465
|
...t
|
|
5496
5466
|
},
|
|
5497
5467
|
meta: e == null ? void 0 : e.meta
|
|
5498
|
-
} : void 0,
|
|
5468
|
+
} : void 0, ss = Nt, as = y({
|
|
5499
5469
|
name: "content-component",
|
|
5500
5470
|
components: {
|
|
5501
|
-
EnableEditor:
|
|
5471
|
+
EnableEditor: es,
|
|
5502
5472
|
InlinedScript: Be,
|
|
5503
|
-
ContentStyles:
|
|
5473
|
+
ContentStyles: os,
|
|
5504
5474
|
Blocks: q,
|
|
5505
5475
|
DynamicDiv: te
|
|
5506
5476
|
},
|
|
@@ -5530,32 +5500,32 @@ const rs = /* @__PURE__ */ v(ns, [["render", os]]), is = ({
|
|
|
5530
5500
|
data() {
|
|
5531
5501
|
var e, t;
|
|
5532
5502
|
return {
|
|
5533
|
-
scriptStr:
|
|
5503
|
+
scriptStr: Fi({
|
|
5534
5504
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
5535
5505
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
5536
5506
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
5537
5507
|
contentId: (t = this.content) == null ? void 0 : t.id
|
|
5538
5508
|
}),
|
|
5539
5509
|
registeredComponents: [
|
|
5540
|
-
...
|
|
5510
|
+
...je(),
|
|
5541
5511
|
...this.customComponents || []
|
|
5542
5512
|
].reduce(
|
|
5543
5513
|
(n, { component: o, ...r }) => ({
|
|
5544
5514
|
...n,
|
|
5545
5515
|
[r.name]: {
|
|
5546
|
-
component:
|
|
5516
|
+
component: ss(o),
|
|
5547
5517
|
...le(r)
|
|
5548
5518
|
}
|
|
5549
5519
|
}),
|
|
5550
5520
|
{}
|
|
5551
5521
|
),
|
|
5552
5522
|
builderContextSignal: {
|
|
5553
|
-
content:
|
|
5523
|
+
content: is({
|
|
5554
5524
|
content: this.content,
|
|
5555
5525
|
data: this.data
|
|
5556
5526
|
}),
|
|
5557
5527
|
localState: void 0,
|
|
5558
|
-
rootState:
|
|
5528
|
+
rootState: rs({
|
|
5559
5529
|
content: this.content,
|
|
5560
5530
|
data: this.data,
|
|
5561
5531
|
locale: this.locale
|
|
@@ -5566,7 +5536,7 @@ const rs = /* @__PURE__ */ v(ns, [["render", os]]), is = ({
|
|
|
5566
5536
|
apiKey: this.apiKey,
|
|
5567
5537
|
apiVersion: this.apiVersion,
|
|
5568
5538
|
componentInfos: [
|
|
5569
|
-
...
|
|
5539
|
+
...je(),
|
|
5570
5540
|
...this.customComponents || []
|
|
5571
5541
|
].reduce(
|
|
5572
5542
|
(n, { component: o, ...r }) => ({
|
|
@@ -5581,7 +5551,7 @@ const rs = /* @__PURE__ */ v(ns, [["render", os]]), is = ({
|
|
|
5581
5551
|
nonce: this.nonce || "",
|
|
5582
5552
|
model: this.model
|
|
5583
5553
|
},
|
|
5584
|
-
TARGET:
|
|
5554
|
+
TARGET: R
|
|
5585
5555
|
};
|
|
5586
5556
|
},
|
|
5587
5557
|
provide() {
|
|
@@ -5631,9 +5601,9 @@ const rs = /* @__PURE__ */ v(ns, [["render", os]]), is = ({
|
|
|
5631
5601
|
}
|
|
5632
5602
|
}
|
|
5633
5603
|
});
|
|
5634
|
-
function
|
|
5604
|
+
function ls(e, t, n, o, r, i) {
|
|
5635
5605
|
const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
|
|
5636
|
-
return d(), S(u,
|
|
5606
|
+
return d(), S(u, $({
|
|
5637
5607
|
apiHost: e.apiHost,
|
|
5638
5608
|
nonce: e.nonce,
|
|
5639
5609
|
content: e.content,
|
|
@@ -5679,12 +5649,12 @@ function cs(e, t, n, o, r, i) {
|
|
|
5679
5649
|
_: 1
|
|
5680
5650
|
}, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
|
|
5681
5651
|
}
|
|
5682
|
-
const
|
|
5652
|
+
const cs = /* @__PURE__ */ v(as, [["render", ls]]), ds = y({
|
|
5683
5653
|
name: "content-variants",
|
|
5684
5654
|
components: {
|
|
5685
5655
|
InlinedScript: Be,
|
|
5686
5656
|
InlinedStyles: pe,
|
|
5687
|
-
ContentComponent:
|
|
5657
|
+
ContentComponent: cs
|
|
5688
5658
|
},
|
|
5689
5659
|
props: [
|
|
5690
5660
|
"canTrack",
|
|
@@ -5715,10 +5685,9 @@ const ds = /* @__PURE__ */ v(ls, [["render", cs]]), us = y({
|
|
|
5715
5685
|
}),
|
|
5716
5686
|
SDKS_SUPPORTING_PERSONALIZATION: $t,
|
|
5717
5687
|
getInitPersonalizationVariantsFnsScriptString: Zo,
|
|
5718
|
-
TARGET:
|
|
5719
|
-
getInitVariantsFnsScriptString:
|
|
5720
|
-
getVariants: ie
|
|
5721
|
-
removeDuplicateScript: Ui
|
|
5688
|
+
TARGET: R,
|
|
5689
|
+
getInitVariantsFnsScriptString: Ui,
|
|
5690
|
+
getVariants: ie
|
|
5722
5691
|
};
|
|
5723
5692
|
},
|
|
5724
5693
|
mounted() {
|
|
@@ -5726,7 +5695,7 @@ const ds = /* @__PURE__ */ v(ls, [["render", cs]]), us = y({
|
|
|
5726
5695
|
computed: {
|
|
5727
5696
|
updateCookieAndStylesScriptStr() {
|
|
5728
5697
|
var e;
|
|
5729
|
-
return
|
|
5698
|
+
return Li(
|
|
5730
5699
|
ie(this.content).map((t) => ({
|
|
5731
5700
|
id: t.testVariationId,
|
|
5732
5701
|
testRatio: t.testRatio
|
|
@@ -5749,28 +5718,23 @@ const ds = /* @__PURE__ */ v(ls, [["render", cs]]), us = y({
|
|
|
5749
5718
|
}
|
|
5750
5719
|
}
|
|
5751
5720
|
});
|
|
5752
|
-
function
|
|
5721
|
+
function us(e, t, n, o, r, i) {
|
|
5753
5722
|
const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
|
|
5754
|
-
return d(), h(
|
|
5755
|
-
!e.isNestedRender && e.TARGET !== "reactNative" ? (d(),
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
"
|
|
5760
|
-
|
|
5761
|
-
),
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
"builderio-init-personalization-variants-fns",
|
|
5770
|
-
e.getInitPersonalizationVariantsFnsScriptString()
|
|
5771
|
-
)
|
|
5772
|
-
}, null, 8, ["nonce", "scriptStr"])) : C("", !0),
|
|
5773
|
-
e.shouldRenderVariants ? (d(), h(R, { key: 2 }, [
|
|
5723
|
+
return d(), h(I, null, [
|
|
5724
|
+
!e.isNestedRender && e.TARGET !== "reactNative" ? (d(), h(I, { key: 0 }, [
|
|
5725
|
+
E(s, {
|
|
5726
|
+
id: "builderio-init-variants-fns",
|
|
5727
|
+
scriptStr: e.getInitVariantsFnsScriptString(),
|
|
5728
|
+
nonce: e.nonce || ""
|
|
5729
|
+
}, null, 8, ["scriptStr", "nonce"]),
|
|
5730
|
+
e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (d(), S(s, {
|
|
5731
|
+
key: 0,
|
|
5732
|
+
id: "builderio-init-personalization-variants-fns",
|
|
5733
|
+
nonce: e.nonce || "",
|
|
5734
|
+
scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
|
|
5735
|
+
}, null, 8, ["nonce", "scriptStr"])) : C("", !0)
|
|
5736
|
+
], 64)) : C("", !0),
|
|
5737
|
+
e.shouldRenderVariants ? (d(), h(I, { key: 1 }, [
|
|
5774
5738
|
E(l, {
|
|
5775
5739
|
id: "builderio-variants",
|
|
5776
5740
|
styles: e.hideVariantsStyleString,
|
|
@@ -5781,7 +5745,7 @@ function ps(e, t, n, o, r, i) {
|
|
|
5781
5745
|
scriptStr: e.updateCookieAndStylesScriptStr,
|
|
5782
5746
|
nonce: e.nonce || ""
|
|
5783
5747
|
}, null, 8, ["scriptStr", "nonce"]),
|
|
5784
|
-
(d(!0), h(
|
|
5748
|
+
(d(!0), h(I, null, F(e.getVariants(e.content), (u, p) => (d(), S(a, $({
|
|
5785
5749
|
key: u.testVariationId,
|
|
5786
5750
|
apiHost: e.apiHost,
|
|
5787
5751
|
isNestedRender: e.isNestedRender,
|
|
@@ -5806,7 +5770,7 @@ function ps(e, t, n, o, r, i) {
|
|
|
5806
5770
|
trustedHosts: e.trustedHosts
|
|
5807
5771
|
}, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
|
|
5808
5772
|
], 64)) : C("", !0),
|
|
5809
|
-
E(a,
|
|
5773
|
+
E(a, $({
|
|
5810
5774
|
apiHost: e.apiHost,
|
|
5811
5775
|
nonce: e.nonce,
|
|
5812
5776
|
isNestedRender: e.isNestedRender,
|
|
@@ -5833,7 +5797,7 @@ function ps(e, t, n, o, r, i) {
|
|
|
5833
5797
|
}), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
5834
5798
|
], 64);
|
|
5835
5799
|
}
|
|
5836
|
-
const
|
|
5800
|
+
const ps = /* @__PURE__ */ v(ds, [["render", us]]), ms = async ({
|
|
5837
5801
|
builderContextValue: e,
|
|
5838
5802
|
symbol: t
|
|
5839
5803
|
}) => {
|
|
@@ -5851,9 +5815,9 @@ const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = async ({
|
|
|
5851
5815
|
}).catch((n) => {
|
|
5852
5816
|
B.error("Could not fetch symbol content: ", n);
|
|
5853
5817
|
});
|
|
5854
|
-
},
|
|
5818
|
+
}, hs = y({
|
|
5855
5819
|
name: "builder-symbol",
|
|
5856
|
-
components: { ContentVariants:
|
|
5820
|
+
components: { ContentVariants: ps, DynamicDiv: te },
|
|
5857
5821
|
props: [
|
|
5858
5822
|
"symbol",
|
|
5859
5823
|
"builderComponents",
|
|
@@ -5895,7 +5859,7 @@ const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = async ({
|
|
|
5895
5859
|
className() {
|
|
5896
5860
|
var e, t;
|
|
5897
5861
|
return [
|
|
5898
|
-
this.attributes[
|
|
5862
|
+
this.attributes[j()],
|
|
5899
5863
|
"builder-symbol",
|
|
5900
5864
|
(e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
|
|
5901
5865
|
(t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
@@ -5910,7 +5874,7 @@ const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = async ({
|
|
|
5910
5874
|
methods: {
|
|
5911
5875
|
setContent() {
|
|
5912
5876
|
var e;
|
|
5913
|
-
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) ||
|
|
5877
|
+
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || ms({
|
|
5914
5878
|
symbol: this.symbol,
|
|
5915
5879
|
builderContextValue: this.builderContext
|
|
5916
5880
|
}).then((t) => {
|
|
@@ -5920,10 +5884,10 @@ const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = async ({
|
|
|
5920
5884
|
}
|
|
5921
5885
|
}
|
|
5922
5886
|
});
|
|
5923
|
-
function
|
|
5887
|
+
function fs(e, t, n, o, r, i) {
|
|
5924
5888
|
var l, a, u, p, f, c, m;
|
|
5925
5889
|
const s = k("ContentVariants");
|
|
5926
|
-
return d(), h("div",
|
|
5890
|
+
return d(), h("div", $({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
5927
5891
|
E(s, {
|
|
5928
5892
|
nonce: e.builderContext.nonce,
|
|
5929
5893
|
isNestedRender: !0,
|
|
@@ -5948,47 +5912,47 @@ function bs(e, t, n, o, r, i) {
|
|
|
5948
5912
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
5949
5913
|
], 16);
|
|
5950
5914
|
}
|
|
5951
|
-
const
|
|
5915
|
+
const bs = /* @__PURE__ */ v(hs, [["render", fs]]);
|
|
5952
5916
|
export {
|
|
5953
|
-
|
|
5917
|
+
ws as A,
|
|
5954
5918
|
Ct as B,
|
|
5955
5919
|
Po as C,
|
|
5956
|
-
|
|
5920
|
+
$s as D,
|
|
5957
5921
|
Qn as E,
|
|
5958
5922
|
No as F,
|
|
5959
5923
|
Yn as G,
|
|
5960
5924
|
Ee as H,
|
|
5961
5925
|
Ho as I,
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5926
|
+
vs as J,
|
|
5927
|
+
As as K,
|
|
5928
|
+
Ko as S,
|
|
5929
|
+
R as T,
|
|
5966
5930
|
Bi as V,
|
|
5967
5931
|
v as _,
|
|
5968
|
-
|
|
5932
|
+
j as a,
|
|
5969
5933
|
ge as b,
|
|
5970
5934
|
pe as c,
|
|
5971
|
-
|
|
5935
|
+
K as d,
|
|
5972
5936
|
ee as e,
|
|
5973
5937
|
$o as f,
|
|
5974
|
-
|
|
5975
|
-
|
|
5938
|
+
Es as g,
|
|
5939
|
+
Rs as h,
|
|
5976
5940
|
A as i,
|
|
5977
|
-
|
|
5941
|
+
Ps as j,
|
|
5978
5942
|
Ae as k,
|
|
5979
5943
|
Rn as l,
|
|
5980
5944
|
Ft as m,
|
|
5981
|
-
|
|
5945
|
+
bs as n,
|
|
5982
5946
|
Vr as o,
|
|
5983
5947
|
q as p,
|
|
5984
|
-
|
|
5948
|
+
ps as q,
|
|
5985
5949
|
Ie as r,
|
|
5986
|
-
|
|
5950
|
+
Is as s,
|
|
5987
5951
|
En as t,
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5952
|
+
ks as u,
|
|
5953
|
+
Cs as v,
|
|
5954
|
+
ss as w,
|
|
5955
|
+
Ts as x,
|
|
5992
5956
|
lt as y,
|
|
5993
|
-
|
|
5957
|
+
Ss as z
|
|
5994
5958
|
};
|