@builder.io/sdk-vue 5.2.9 → 5.2.10
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-QtLKYOQC.cjs → awaiter-LIAqEcfX.cjs} +1 -1
- package/lib/browser/{awaiter-GiQQpYhW.js → awaiter-NXhCBvJj.js} +1 -1
- package/lib/browser/{block-wrapper-y-IsMpII.cjs → block-wrapper-Gx5cmGCs.cjs} +1 -1
- package/lib/browser/{block-wrapper-ViH1iyRS.js → block-wrapper-sJgW-hxB.js} +3 -3
- package/lib/browser/{component-ref-zhlOI1eN.js → component-ref-3CB2cdJW.js} +4 -4
- package/lib/browser/{component-ref-rZJpDoXF.cjs → component-ref-glX9-8fW.cjs} +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-GRPDkwr1.js → get-block-properties-Ejar3KRa.js} +1 -1
- package/lib/browser/{get-block-properties-d2CFs8mL.cjs → get-block-properties-hkrxv2Yw.cjs} +1 -1
- package/lib/browser/{index--piap5VV.cjs → index-SRaav2aL.cjs} +28 -28
- package/lib/browser/{index-jB9t6TLT.js → index-bjZ2qhB0.js} +307 -307
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-3N2WSAw-.js → live-edit-BGWSQRf6.js} +1 -1
- package/lib/browser/{live-edit-1ndmHzhK.cjs → live-edit-Sfr-FIGs.cjs} +1 -1
- package/lib/browser/{repeated-block-9RiEvqga.js → repeated-block-ECd9zh7f.js} +2 -2
- package/lib/browser/{repeated-block-XxWoPtha.cjs → repeated-block-y2NflOf1.cjs} +1 -1
- package/lib/browser/{style-wrapper--RSHsBTz.js → style-wrapper-9OtEbIRY.js} +1 -1
- package/lib/browser/{style-wrapper-_KapIYCB.cjs → style-wrapper-PR2ys7tw.cjs} +1 -1
- package/lib/edge/{awaiter-v2bPTW8r.cjs → awaiter-NONmvwQ6.cjs} +1 -1
- package/lib/edge/{awaiter-OrQGcr3m.js → awaiter-Rk0bT_z6.js} +1 -1
- package/lib/edge/{block-wrapper-ZzFH9Ulb.js → block-wrapper-bLEVePe1.js} +3 -3
- package/lib/{node/block-wrapper-9Cx64vVu.cjs → edge/block-wrapper-uQolhWhZ.cjs} +1 -1
- package/lib/edge/{component-ref-R3PgJrYU.cjs → component-ref-hvv1-QnL.cjs} +1 -1
- package/lib/edge/{component-ref-6FeHZp7H.js → component-ref-wRsXuO0w.js} +4 -4
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-nY3-hKH0.cjs → get-block-properties-Z_smIxVv.cjs} +1 -1
- package/lib/edge/{get-block-properties-yRp1-2RV.js → get-block-properties-kcXTpefp.js} +1 -1
- package/lib/edge/{index-dGvhih8u.cjs → index-TqjgraOe.cjs} +28 -28
- package/lib/edge/{index-ptOklu9Y.js → index-jT889Kr4.js} +307 -307
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{live-edit-B5uw3o8F.js → live-edit-UREQGwDx.js} +1 -1
- package/lib/{node/live-edit-LIJBIu6y.cjs → edge/live-edit-euz6qyjO.cjs} +1 -1
- package/lib/edge/{repeated-block-uNrMFIKx.js → repeated-block-XfL9MY4H.js} +2 -2
- package/lib/edge/{repeated-block-2_Qz4lsj.cjs → repeated-block-ocRd-7Ri.cjs} +1 -1
- package/lib/edge/{style-wrapper-Zga-Wtqn.cjs → style-wrapper-TUi2oGU5.cjs} +1 -1
- package/lib/edge/{style-wrapper-vpmAkV03.js → style-wrapper-cgk8YrFm.js} +1 -1
- package/lib/node/{awaiter-bswJZJnI.cjs → awaiter-d876EVrj.cjs} +1 -1
- package/lib/node/{awaiter-TiRf4nxt.js → awaiter-ooRB0LL_.js} +1 -1
- package/lib/{edge/block-wrapper-wbI15Y2t.cjs → node/block-wrapper-ZBxys5Pi.cjs} +1 -1
- package/lib/node/{block-wrapper-itY5eEAP.js → block-wrapper-heMQ0bQW.js} +3 -3
- package/lib/node/{component-ref-2UVw1lsO.cjs → component-ref-HjW6Dn5U.cjs} +1 -1
- package/lib/node/{component-ref-9RhufDjP.js → component-ref-w7KWdZU9.js} +5 -5
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-nLiNlxIX.cjs → get-block-properties-G6DNp62v.cjs} +1 -1
- package/lib/node/{get-block-properties-TbU7Zqh1.js → get-block-properties-kLYkiFmS.js} +2 -2
- package/lib/node/{index-demcjU9J.cjs → index-a8iqYi5t.cjs} +28 -28
- package/lib/node/{index-sSbqLpd0.js → index-quPzSfMY.js} +305 -305
- 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/node/{live-edit-RkqTgGBJ.js → live-edit-7Qru52il.js} +1 -1
- package/lib/{edge/live-edit-OxTeX9Lr.cjs → node/live-edit-T7SWvgRt.cjs} +1 -1
- package/lib/node/{repeated-block-XWWc2Vbn.js → repeated-block-h_P0vHI5.js} +2 -2
- package/lib/node/{repeated-block-wHkyYKX5.cjs → repeated-block-iHvrQwik.cjs} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-WtPYGMUG.js → should-force-browser-runtime-in-node-cuIgr-IV.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-raAbGE2L.cjs → should-force-browser-runtime-in-node-ovD5c_br.cjs} +1 -1
- package/lib/node/{style-wrapper-iWa0ZPUf.js → style-wrapper-MI0wKmtS.js} +2 -2
- package/lib/node/{style-wrapper-0ycJqVq3.cjs → style-wrapper-arJdhPdR.cjs} +1 -1
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ function Lt(e, t, n, o, r, i) {
|
|
|
38
38
|
}, 16))
|
|
39
39
|
], 64));
|
|
40
40
|
}
|
|
41
|
-
const $e = /* @__PURE__ */ v(Ut, [["render", Lt]]),
|
|
41
|
+
const $e = /* @__PURE__ */ v(Ut, [["render", Lt]]), Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
default: $e
|
|
44
44
|
}, Symbol.toStringTag, { value: "Module" })), E = "vue", j = () => {
|
|
@@ -174,7 +174,7 @@ const Gt = () => {
|
|
|
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
|
-
}, it = "5.2.
|
|
177
|
+
}, it = "5.2.10", st = () => ({
|
|
178
178
|
"X-Builder-SDK": E,
|
|
179
179
|
"X-Builder-SDK-GEN": "2",
|
|
180
180
|
"X-Builder-SDK-Version": it
|
|
@@ -369,7 +369,7 @@ async function se({
|
|
|
369
369
|
console.error("Failed to track: ", r);
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
|
-
const
|
|
372
|
+
const ws = (e) => se({
|
|
373
373
|
...e,
|
|
374
374
|
canTrack: !0
|
|
375
375
|
}), un = ({
|
|
@@ -674,7 +674,7 @@ function le(e) {
|
|
|
674
674
|
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Bn(n) : n));
|
|
675
675
|
}
|
|
676
676
|
const He = {};
|
|
677
|
-
function
|
|
677
|
+
function Is(e, t) {
|
|
678
678
|
e === "plugin" && (t = le(t));
|
|
679
679
|
let n = He[e];
|
|
680
680
|
if (n || (n = He[e] = []), n.push(t), T()) {
|
|
@@ -692,7 +692,7 @@ function ws(e, t) {
|
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function $s(e) {
|
|
696
696
|
var t;
|
|
697
697
|
if (T()) {
|
|
698
698
|
const n = JSON.parse(JSON.stringify(e));
|
|
@@ -703,7 +703,7 @@ function Is(e) {
|
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
const Me = {};
|
|
706
|
-
function
|
|
706
|
+
function Es(e) {
|
|
707
707
|
if (T()) {
|
|
708
708
|
Object.assign(Me, e);
|
|
709
709
|
const t = {
|
|
@@ -835,7 +835,7 @@ const gt = (e) => {
|
|
|
835
835
|
break;
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
|
-
},
|
|
838
|
+
}, Rs = ({
|
|
839
839
|
model: e,
|
|
840
840
|
apiKey: t,
|
|
841
841
|
callback: n,
|
|
@@ -997,7 +997,7 @@ function qe() {
|
|
|
997
997
|
}
|
|
998
998
|
let ve;
|
|
999
999
|
T() && E === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = qe()), ve = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ve = qe();
|
|
1000
|
-
const ce = ve,
|
|
1000
|
+
const ce = ve, Ps = (e) => {
|
|
1001
1001
|
ce.setUserAttributes(e);
|
|
1002
1002
|
}, G = (e) => {
|
|
1003
1003
|
const t = z(e) ? e : !0;
|
|
@@ -1084,7 +1084,7 @@ const qn = "v3", Ge = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ve = (
|
|
|
1084
1084
|
};
|
|
1085
1085
|
O = {
|
|
1086
1086
|
...O,
|
|
1087
|
-
...
|
|
1087
|
+
...Qn(J)
|
|
1088
1088
|
};
|
|
1089
1089
|
const Q = Se(J);
|
|
1090
1090
|
for (const D in Q)
|
|
@@ -1097,21 +1097,21 @@ const qn = "v3", Ge = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ve = (
|
|
|
1097
1097
|
w.searchParams.set(H, JSON.stringify(D[H]));
|
|
1098
1098
|
}
|
|
1099
1099
|
return w;
|
|
1100
|
-
}, Gn = (e) => {
|
|
1100
|
+
}, Gn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, Jn = (e) => {
|
|
1101
1101
|
const t = {};
|
|
1102
1102
|
for (const n in e)
|
|
1103
|
-
n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
|
|
1103
|
+
n.startsWith("userAttributes.") && (t[n] = Gn(e[n]), delete e[n]);
|
|
1104
1104
|
return t;
|
|
1105
|
-
},
|
|
1105
|
+
}, Qn = (e) => {
|
|
1106
1106
|
if (T() && e.preview === "BUILDER_STUDIO") {
|
|
1107
1107
|
e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
|
|
1108
|
-
const t =
|
|
1108
|
+
const t = Jn(e), {
|
|
1109
1109
|
userAttributes: n
|
|
1110
1110
|
} = Kn(t);
|
|
1111
1111
|
return n;
|
|
1112
1112
|
}
|
|
1113
1113
|
return {};
|
|
1114
|
-
},
|
|
1114
|
+
}, Yn = (e) => "results" in e;
|
|
1115
1115
|
async function Ne(e) {
|
|
1116
1116
|
var o;
|
|
1117
1117
|
const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
|
|
@@ -1119,13 +1119,13 @@ async function Ne(e) {
|
|
|
1119
1119
|
locale: t,
|
|
1120
1120
|
...e.userAttributes
|
|
1121
1121
|
});
|
|
1122
|
-
const n = await
|
|
1122
|
+
const n = await _n({
|
|
1123
1123
|
...e,
|
|
1124
1124
|
limit: 1
|
|
1125
1125
|
});
|
|
1126
1126
|
return n && n[0] || null;
|
|
1127
1127
|
}
|
|
1128
|
-
const
|
|
1128
|
+
const Xn = async (e) => {
|
|
1129
1129
|
var s;
|
|
1130
1130
|
const t = Ve(e), n = e.fetch ?? zn, o = {
|
|
1131
1131
|
...e.fetchOptions,
|
|
@@ -1135,7 +1135,7 @@ const Yn = async (e) => {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
};
|
|
1137
1137
|
return await (await n(t.href, o)).json();
|
|
1138
|
-
},
|
|
1138
|
+
}, Zn = async (e, t, n = Ve(e)) => {
|
|
1139
1139
|
const o = G(e.canTrack);
|
|
1140
1140
|
if (n.search.includes("preview="), !o || !(T() || E === "reactNative"))
|
|
1141
1141
|
return t.results;
|
|
@@ -1152,17 +1152,17 @@ const Yn = async (e) => {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
return t.results;
|
|
1154
1154
|
};
|
|
1155
|
-
async function
|
|
1156
|
-
const t = Ve(e), n = await
|
|
1157
|
-
if (!
|
|
1155
|
+
async function _n(e) {
|
|
1156
|
+
const t = Ve(e), n = await Xn(e);
|
|
1157
|
+
if (!Yn(n))
|
|
1158
1158
|
throw B.error("Error fetching data. ", {
|
|
1159
1159
|
url: t,
|
|
1160
1160
|
content: n,
|
|
1161
1161
|
options: e
|
|
1162
1162
|
}), n;
|
|
1163
|
-
return
|
|
1163
|
+
return Zn(e, n);
|
|
1164
1164
|
}
|
|
1165
|
-
const
|
|
1165
|
+
const As = async (e) => {
|
|
1166
1166
|
var o, r, i;
|
|
1167
1167
|
const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
|
|
1168
1168
|
...e,
|
|
@@ -1182,7 +1182,7 @@ const Ps = async (e) => {
|
|
|
1182
1182
|
content: await Ne(n)
|
|
1183
1183
|
};
|
|
1184
1184
|
}, We = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
1185
|
-
function
|
|
1185
|
+
function eo(e, t, n = {}) {
|
|
1186
1186
|
let o, r, i, s = null, l = 0;
|
|
1187
1187
|
const a = function() {
|
|
1188
1188
|
l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
|
|
@@ -1204,14 +1204,14 @@ function Z(e, ...t) {
|
|
|
1204
1204
|
}
|
|
1205
1205
|
return n;
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1207
|
+
function to(e) {
|
|
1208
1208
|
for (const t of e)
|
|
1209
1209
|
switch (t.trigger) {
|
|
1210
1210
|
case "pageLoad":
|
|
1211
1211
|
It(t);
|
|
1212
1212
|
break;
|
|
1213
1213
|
case "scrollInView":
|
|
1214
|
-
|
|
1214
|
+
oo(t);
|
|
1215
1215
|
break;
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
@@ -1219,12 +1219,12 @@ function Tt(e) {
|
|
|
1219
1219
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
1220
1220
|
}
|
|
1221
1221
|
function wt(e, t) {
|
|
1222
|
-
const n =
|
|
1222
|
+
const n = no(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
|
|
1223
1223
|
for (const l of s)
|
|
1224
1224
|
for (const a of n)
|
|
1225
1225
|
a in l || (l[a] = o[a]);
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function no(e) {
|
|
1228
1228
|
const t = [];
|
|
1229
1229
|
for (const n of e.steps)
|
|
1230
1230
|
for (const o in n.styles)
|
|
@@ -1245,7 +1245,7 @@ function It(e) {
|
|
|
1245
1245
|
});
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1248
|
+
function oo(e) {
|
|
1249
1249
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
1250
1250
|
if (!t.length) {
|
|
1251
1251
|
Tt(e.elementId || e.id || "");
|
|
@@ -1261,7 +1261,7 @@ function no(e) {
|
|
|
1261
1261
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
1262
1262
|
})) : e.repeat && o && !r && !l(n) && (o = !1, Z(n.style, e.steps[0].styles));
|
|
1263
1263
|
}
|
|
1264
|
-
const s =
|
|
1264
|
+
const s = eo(i, 200, {
|
|
1265
1265
|
leading: !1
|
|
1266
1266
|
});
|
|
1267
1267
|
function l(p) {
|
|
@@ -1283,28 +1283,28 @@ function no(e) {
|
|
|
1283
1283
|
const $t = (e) => Object.entries(e).map(([n, o]) => {
|
|
1284
1284
|
if (typeof o == "string")
|
|
1285
1285
|
return `${We(n)}: ${o};`;
|
|
1286
|
-
}).filter(z),
|
|
1287
|
-
`),
|
|
1286
|
+
}).filter(z), ro = (e) => $t(e).join(`
|
|
1287
|
+
`), Bs = ({
|
|
1288
1288
|
mediaQuery: e,
|
|
1289
1289
|
className: t,
|
|
1290
1290
|
styles: n
|
|
1291
1291
|
}) => {
|
|
1292
1292
|
const o = `.${t} {
|
|
1293
|
-
${
|
|
1293
|
+
${ro(n)}
|
|
1294
1294
|
}`;
|
|
1295
1295
|
return e ? `${e} {
|
|
1296
1296
|
${o}
|
|
1297
1297
|
}` : o;
|
|
1298
1298
|
};
|
|
1299
|
-
function
|
|
1299
|
+
function io({
|
|
1300
1300
|
style: e
|
|
1301
1301
|
}) {
|
|
1302
1302
|
return e;
|
|
1303
1303
|
}
|
|
1304
|
-
const
|
|
1304
|
+
const Vs = ({
|
|
1305
1305
|
block: e,
|
|
1306
1306
|
context: t
|
|
1307
|
-
}) => Et(
|
|
1307
|
+
}) => Et(io({
|
|
1308
1308
|
style: e.style || {},
|
|
1309
1309
|
context: t,
|
|
1310
1310
|
block: e
|
|
@@ -1323,7 +1323,7 @@ function Et(e) {
|
|
|
1323
1323
|
return e;
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
1326
|
-
const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0,
|
|
1326
|
+
const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, so = ({
|
|
1327
1327
|
block: e,
|
|
1328
1328
|
registeredComponents: t,
|
|
1329
1329
|
model: n
|
|
@@ -1340,7 +1340,7 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1340
1340
|
return;
|
|
1341
1341
|
} else
|
|
1342
1342
|
return r;
|
|
1343
|
-
},
|
|
1343
|
+
}, ao = ({
|
|
1344
1344
|
block: e,
|
|
1345
1345
|
context: t
|
|
1346
1346
|
}) => {
|
|
@@ -1373,59 +1373,59 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1373
1373
|
},
|
|
1374
1374
|
block: o
|
|
1375
1375
|
}));
|
|
1376
|
-
},
|
|
1376
|
+
}, lo = (e, t) => {
|
|
1377
1377
|
var n;
|
|
1378
1378
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
1379
1379
|
builderLinkComponent: t
|
|
1380
1380
|
} : {};
|
|
1381
|
-
},
|
|
1381
|
+
}, co = (e, t, n) => {
|
|
1382
1382
|
var o;
|
|
1383
1383
|
return (o = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && o.builderComponents ? {
|
|
1384
1384
|
builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !Rt(s, n)))
|
|
1385
1385
|
} : {};
|
|
1386
|
-
},
|
|
1386
|
+
}, uo = (e, t) => {
|
|
1387
1387
|
var n;
|
|
1388
1388
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
1389
1389
|
builderBlock: t
|
|
1390
1390
|
} : {};
|
|
1391
|
-
},
|
|
1391
|
+
}, po = (e, t) => {
|
|
1392
1392
|
var n;
|
|
1393
1393
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
1394
1394
|
builderContext: t
|
|
1395
1395
|
} : {};
|
|
1396
|
-
},
|
|
1396
|
+
}, mo = (e) => e.toString(), ho = () => Promise.resolve().then(() => Ro).then((e) => e.default).catch((e) => {
|
|
1397
1397
|
throw console.error(
|
|
1398
1398
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1399
1399
|
e
|
|
1400
1400
|
), e;
|
|
1401
|
-
}),
|
|
1401
|
+
}), fo = () => import("./block-wrapper-sJgW-hxB.js").then((e) => e.default).catch((e) => {
|
|
1402
1402
|
throw console.error(
|
|
1403
1403
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1404
1404
|
e
|
|
1405
1405
|
), e;
|
|
1406
|
-
}),
|
|
1406
|
+
}), bo = () => import("./component-ref-3CB2cdJW.js").then((e) => e.default).catch((e) => {
|
|
1407
1407
|
throw console.error(
|
|
1408
1408
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1409
1409
|
e
|
|
1410
1410
|
), e;
|
|
1411
|
-
}),
|
|
1411
|
+
}), go = () => import("./repeated-block-ECd9zh7f.js").then((e) => e.default).catch((e) => {
|
|
1412
1412
|
throw console.error(
|
|
1413
1413
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1414
1414
|
e
|
|
1415
1415
|
), e;
|
|
1416
|
-
}),
|
|
1416
|
+
}), yo = () => import("./style-wrapper-9OtEbIRY.js").then((e) => e.default).catch((e) => {
|
|
1417
1417
|
throw console.error(
|
|
1418
1418
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1419
1419
|
e
|
|
1420
1420
|
), e;
|
|
1421
|
-
}),
|
|
1421
|
+
}), vo = y({
|
|
1422
1422
|
name: "block",
|
|
1423
1423
|
components: {
|
|
1424
|
-
StyleWrapper: Y(
|
|
1425
|
-
RepeatedBlock: Y(
|
|
1426
|
-
ComponentRef: Y(
|
|
1427
|
-
BlockWrapper: Y(
|
|
1428
|
-
DynamicDiv: Y(
|
|
1424
|
+
StyleWrapper: Y(yo),
|
|
1425
|
+
RepeatedBlock: Y(go),
|
|
1426
|
+
ComponentRef: Y(bo),
|
|
1427
|
+
BlockWrapper: Y(fo),
|
|
1428
|
+
DynamicDiv: Y(ho)
|
|
1429
1429
|
},
|
|
1430
1430
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
1431
1431
|
data() {
|
|
@@ -1434,12 +1434,12 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1434
1434
|
value: null,
|
|
1435
1435
|
update: !1
|
|
1436
1436
|
},
|
|
1437
|
-
generateKey:
|
|
1437
|
+
generateKey: mo
|
|
1438
1438
|
};
|
|
1439
1439
|
},
|
|
1440
1440
|
mounted() {
|
|
1441
1441
|
const e = this.processedBlock.id, t = this.processedBlock.animations;
|
|
1442
|
-
t && e &&
|
|
1442
|
+
t && e && to(
|
|
1443
1443
|
t.map((n) => ({
|
|
1444
1444
|
...n,
|
|
1445
1445
|
elementId: e
|
|
@@ -1450,7 +1450,7 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1450
1450
|
},
|
|
1451
1451
|
computed: {
|
|
1452
1452
|
repeatItem() {
|
|
1453
|
-
return
|
|
1453
|
+
return ao({
|
|
1454
1454
|
block: this.block,
|
|
1455
1455
|
context: this.context
|
|
1456
1456
|
});
|
|
@@ -1466,7 +1466,7 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1466
1466
|
});
|
|
1467
1467
|
},
|
|
1468
1468
|
blockComponent() {
|
|
1469
|
-
return
|
|
1469
|
+
return so({
|
|
1470
1470
|
block: this.processedBlock,
|
|
1471
1471
|
registeredComponents: this.registeredComponents,
|
|
1472
1472
|
model: this.context.model
|
|
@@ -1494,10 +1494,10 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1494
1494
|
componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
|
|
1495
1495
|
componentOptions: {
|
|
1496
1496
|
...Sn(this.processedBlock, this.context),
|
|
1497
|
-
...
|
|
1498
|
-
...
|
|
1499
|
-
...
|
|
1500
|
-
...
|
|
1497
|
+
...uo(this.blockComponent, this.processedBlock),
|
|
1498
|
+
...po(this.blockComponent, this.context),
|
|
1499
|
+
...lo(this.blockComponent, this.linkComponent),
|
|
1500
|
+
...co(
|
|
1501
1501
|
this.blockComponent,
|
|
1502
1502
|
this.registeredComponents,
|
|
1503
1503
|
this.context.model
|
|
@@ -1513,7 +1513,7 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1513
1513
|
}
|
|
1514
1514
|
}
|
|
1515
1515
|
});
|
|
1516
|
-
function
|
|
1516
|
+
function So(e, t, n, o, r, i) {
|
|
1517
1517
|
var f;
|
|
1518
1518
|
const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
|
|
1519
1519
|
return e.canShowBlock ? (d(), h(I, { key: 0 }, [
|
|
@@ -1579,10 +1579,10 @@ function vo(e, t, n, o, r, i) {
|
|
|
1579
1579
|
], 64))
|
|
1580
1580
|
], 64)) : C("", !0);
|
|
1581
1581
|
}
|
|
1582
|
-
const Pt = /* @__PURE__ */ v(
|
|
1582
|
+
const Pt = /* @__PURE__ */ v(vo, [["render", So]]), Ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1583
1583
|
__proto__: null,
|
|
1584
1584
|
default: Pt
|
|
1585
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1585
|
+
}, Symbol.toStringTag, { value: "Module" })), ko = y({
|
|
1586
1586
|
name: "builder-blocks-wrapper",
|
|
1587
1587
|
props: [
|
|
1588
1588
|
"blocks",
|
|
@@ -1652,7 +1652,7 @@ const Pt = /* @__PURE__ */ v(yo, [["render", vo]]), Vs = /* @__PURE__ */ Object.
|
|
|
1652
1652
|
}
|
|
1653
1653
|
}
|
|
1654
1654
|
});
|
|
1655
|
-
function
|
|
1655
|
+
function Co(e, t, n, o, r, i) {
|
|
1656
1656
|
return d(), S(X(e.BlocksWrapper), $({
|
|
1657
1657
|
ref: "blocksWrapperRef",
|
|
1658
1658
|
class: e.className + " component-5vz8uirn7sc",
|
|
@@ -1669,9 +1669,9 @@ function ko(e, t, n, o, r, i) {
|
|
|
1669
1669
|
_: 3
|
|
1670
1670
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
1671
1671
|
}
|
|
1672
|
-
const
|
|
1672
|
+
const To = /* @__PURE__ */ v(ko, [["render", Co], ["__scopeId", "data-v-82fc93d6"]]), wo = y({
|
|
1673
1673
|
name: "builder-blocks",
|
|
1674
|
-
components: { BlocksWrapper:
|
|
1674
|
+
components: { BlocksWrapper: To, Block: Pt },
|
|
1675
1675
|
props: [
|
|
1676
1676
|
"blocks",
|
|
1677
1677
|
"parent",
|
|
@@ -1688,7 +1688,7 @@ const Co = /* @__PURE__ */ v(So, [["render", ko], ["__scopeId", "data-v-82fc93d6
|
|
|
1688
1688
|
componentsContext: et.key
|
|
1689
1689
|
}
|
|
1690
1690
|
});
|
|
1691
|
-
function
|
|
1691
|
+
function Io(e, t, n, o, r, i) {
|
|
1692
1692
|
var a, u, p, f;
|
|
1693
1693
|
const s = k("Block"), l = k("BlocksWrapper");
|
|
1694
1694
|
return d(), S(l, {
|
|
@@ -1716,16 +1716,16 @@ function wo(e, t, n, o, r, i) {
|
|
|
1716
1716
|
_: 3
|
|
1717
1717
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
1718
1718
|
}
|
|
1719
|
-
const K = /* @__PURE__ */ v(
|
|
1719
|
+
const K = /* @__PURE__ */ v(wo, [["render", Io]]), $o = y({
|
|
1720
1720
|
name: "dynamic-div",
|
|
1721
1721
|
props: []
|
|
1722
1722
|
});
|
|
1723
|
-
function
|
|
1723
|
+
function Eo(e, t, n, o, r, i) {
|
|
1724
1724
|
return d(), h("div", null, [
|
|
1725
1725
|
N(e.$slots, "default")
|
|
1726
1726
|
]);
|
|
1727
1727
|
}
|
|
1728
|
-
const te = /* @__PURE__ */ v(
|
|
1728
|
+
const te = /* @__PURE__ */ v($o, [["render", Eo]]), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1729
1729
|
__proto__: null,
|
|
1730
1730
|
default: te
|
|
1731
1731
|
}, Symbol.toStringTag, { value: "Module" })), pe = y({
|
|
@@ -1759,7 +1759,7 @@ const te = /* @__PURE__ */ v(Io, [["render", $o]]), Eo = /* @__PURE__ */ Object.
|
|
|
1759
1759
|
default: 991,
|
|
1760
1760
|
max: 1200
|
|
1761
1761
|
}
|
|
1762
|
-
},
|
|
1762
|
+
}, Ws = (e, t = At) => `@media (max-width: ${t[e].max}px)`, Po = (e) => {
|
|
1763
1763
|
const t = Pe(At);
|
|
1764
1764
|
if (!e)
|
|
1765
1765
|
return t;
|
|
@@ -1797,7 +1797,7 @@ const te = /* @__PURE__ */ v(Io, [["render", $o]]), Eo = /* @__PURE__ */ Object.
|
|
|
1797
1797
|
min: l,
|
|
1798
1798
|
default: l + 1
|
|
1799
1799
|
}, t;
|
|
1800
|
-
},
|
|
1800
|
+
}, Ao = (e) => `builder-columns ${e}-breakpoints`, Bo = y({
|
|
1801
1801
|
name: "builder-columns",
|
|
1802
1802
|
components: {
|
|
1803
1803
|
InlinedStyles: pe,
|
|
@@ -1816,7 +1816,7 @@ const te = /* @__PURE__ */ v(Io, [["render", $o]]), Eo = /* @__PURE__ */ Object.
|
|
|
1816
1816
|
"builderComponents"
|
|
1817
1817
|
],
|
|
1818
1818
|
data() {
|
|
1819
|
-
return { TARGET: E, getColumnsClass:
|
|
1819
|
+
return { TARGET: E, getColumnsClass: Ao };
|
|
1820
1820
|
},
|
|
1821
1821
|
computed: {
|
|
1822
1822
|
gutterSize() {
|
|
@@ -1895,7 +1895,7 @@ const te = /* @__PURE__ */ v(Io, [["render", $o]]), Eo = /* @__PURE__ */ Object.
|
|
|
1895
1895
|
},
|
|
1896
1896
|
getWidthForBreakpointSize(e) {
|
|
1897
1897
|
var n, o;
|
|
1898
|
-
return
|
|
1898
|
+
return Po(
|
|
1899
1899
|
((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
|
|
1900
1900
|
)[e].max;
|
|
1901
1901
|
},
|
|
@@ -1938,7 +1938,7 @@ const te = /* @__PURE__ */ v(Io, [["render", $o]]), Eo = /* @__PURE__ */ Object.
|
|
|
1938
1938
|
}
|
|
1939
1939
|
}
|
|
1940
1940
|
});
|
|
1941
|
-
function
|
|
1941
|
+
function Vo(e, t, n, o, r, i) {
|
|
1942
1942
|
var u;
|
|
1943
1943
|
const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
|
|
1944
1944
|
return d(), h("div", $({
|
|
@@ -1974,24 +1974,24 @@ function Bo(e, t, n, o, r, i) {
|
|
|
1974
1974
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
1975
1975
|
], 16);
|
|
1976
1976
|
}
|
|
1977
|
-
const
|
|
1977
|
+
const No = /* @__PURE__ */ v(Bo, [["render", Vo], ["__scopeId", "data-v-ab15749a"]]), Wo = y({
|
|
1978
1978
|
name: "builder-fragment-component",
|
|
1979
1979
|
props: []
|
|
1980
1980
|
});
|
|
1981
|
-
function
|
|
1981
|
+
function Oo(e, t, n, o, r, i) {
|
|
1982
1982
|
return d(), h("span", null, [
|
|
1983
1983
|
N(e.$slots, "default")
|
|
1984
1984
|
]);
|
|
1985
1985
|
}
|
|
1986
|
-
const
|
|
1986
|
+
const Do = /* @__PURE__ */ v(Wo, [["render", Oo]]);
|
|
1987
1987
|
function Je(e) {
|
|
1988
1988
|
return e.replace(/http(s)?:/, "");
|
|
1989
1989
|
}
|
|
1990
|
-
function
|
|
1990
|
+
function xo(e = "", t, n) {
|
|
1991
1991
|
const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
|
|
1992
1992
|
return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
|
|
1993
1993
|
}
|
|
1994
|
-
function
|
|
1994
|
+
function Uo(e, t) {
|
|
1995
1995
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
1996
1996
|
return e;
|
|
1997
1997
|
if (t === "master")
|
|
@@ -2010,11 +2010,11 @@ function oe(e) {
|
|
|
2010
2010
|
if (e.match(/builder\.io/)) {
|
|
2011
2011
|
let n = e;
|
|
2012
2012
|
const o = Number(e.split("?width=")[1]);
|
|
2013
|
-
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${
|
|
2013
|
+
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${xo(e, "width", r)} ${r}w`).concat([n]).join(", ");
|
|
2014
2014
|
}
|
|
2015
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
2015
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Uo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
|
|
2016
2016
|
}
|
|
2017
|
-
const
|
|
2017
|
+
const Lo = y({
|
|
2018
2018
|
name: "builder-image",
|
|
2019
2019
|
props: [
|
|
2020
2020
|
"lazy",
|
|
@@ -2068,11 +2068,11 @@ const Uo = y({
|
|
|
2068
2068
|
return this.aspectRatio ? e : void 0;
|
|
2069
2069
|
}
|
|
2070
2070
|
}
|
|
2071
|
-
}),
|
|
2071
|
+
}), Fo = ["srcset", "sizes"], Ho = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Mo = {
|
|
2072
2072
|
key: 2,
|
|
2073
2073
|
class: "div-t43jfuqn6g-2"
|
|
2074
2074
|
};
|
|
2075
|
-
function
|
|
2075
|
+
function jo(e, t, n, o, r, i) {
|
|
2076
2076
|
var s, l, a, u, p, f;
|
|
2077
2077
|
return d(), h(I, null, [
|
|
2078
2078
|
q("picture", null, [
|
|
@@ -2081,7 +2081,7 @@ function Mo(e, t, n, o, r, i) {
|
|
|
2081
2081
|
type: "image/webp",
|
|
2082
2082
|
srcset: e.webpSrcSet,
|
|
2083
2083
|
sizes: e.sizesToUse
|
|
2084
|
-
}, null, 8,
|
|
2084
|
+
}, null, 8, Fo)) : C("", !0),
|
|
2085
2085
|
q("img", {
|
|
2086
2086
|
loading: e.highPriority ? "eager" : "lazy",
|
|
2087
2087
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
@@ -2099,7 +2099,7 @@ function Mo(e, t, n, o, r, i) {
|
|
|
2099
2099
|
src: e.image,
|
|
2100
2100
|
srcset: e.srcSetToUse,
|
|
2101
2101
|
sizes: e.sizesToUse
|
|
2102
|
-
}, null, 14,
|
|
2102
|
+
}, null, 14, Ho)
|
|
2103
2103
|
]),
|
|
2104
2104
|
e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
|
|
2105
2105
|
key: 0,
|
|
@@ -2109,19 +2109,19 @@ function Mo(e, t, n, o, r, i) {
|
|
|
2109
2109
|
})
|
|
2110
2110
|
}, null, 4)) : C("", !0),
|
|
2111
2111
|
(u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? N(e.$slots, "default", { key: 1 }, void 0, !0) : C("", !0),
|
|
2112
|
-
!e.fitContent && ((f = (p = e.builderBlock) == null ? void 0 : p.children) != null && f.length) ? (d(), h("div",
|
|
2112
|
+
!e.fitContent && ((f = (p = e.builderBlock) == null ? void 0 : p.children) != null && f.length) ? (d(), h("div", Mo, [
|
|
2113
2113
|
N(e.$slots, "default", {}, void 0, !0)
|
|
2114
2114
|
])) : C("", !0)
|
|
2115
2115
|
], 64);
|
|
2116
2116
|
}
|
|
2117
|
-
const
|
|
2117
|
+
const zo = /* @__PURE__ */ v(Lo, [["render", jo], ["__scopeId", "data-v-bb2384ad"]]), Ko = y({
|
|
2118
2118
|
name: "builder-section-component",
|
|
2119
2119
|
props: ["attributes", "maxWidth"],
|
|
2120
2120
|
data() {
|
|
2121
2121
|
return { filterAttrs: W };
|
|
2122
2122
|
}
|
|
2123
2123
|
});
|
|
2124
|
-
function
|
|
2124
|
+
function qo(e, t, n, o, r, i) {
|
|
2125
2125
|
return d(), h("section", $({
|
|
2126
2126
|
style: {
|
|
2127
2127
|
width: "100%",
|
|
@@ -2139,8 +2139,8 @@ function Ko(e, t, n, o, r, i) {
|
|
|
2139
2139
|
N(e.$slots, "default")
|
|
2140
2140
|
], 16);
|
|
2141
2141
|
}
|
|
2142
|
-
const
|
|
2143
|
-
function
|
|
2142
|
+
const Go = /* @__PURE__ */ v(Ko, [["render", qo]]);
|
|
2143
|
+
function Jo(e, t, n, o) {
|
|
2144
2144
|
function r(u) {
|
|
2145
2145
|
return typeof u == "string";
|
|
2146
2146
|
}
|
|
@@ -2197,7 +2197,7 @@ function Go(e, t, n, o) {
|
|
|
2197
2197
|
}, a = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
2198
2198
|
return l.startDate && new Date(l.startDate) > a || l.endDate && new Date(l.endDate) < a ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => s(e, u));
|
|
2199
2199
|
}
|
|
2200
|
-
const
|
|
2200
|
+
const Qo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
|
|
2201
2201
|
if (!navigator.cookieEnabled) {
|
|
2202
2202
|
return;
|
|
2203
2203
|
}
|
|
@@ -2242,7 +2242,7 @@ const Jo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
2242
2242
|
thisScript.remove();
|
|
2243
2243
|
}
|
|
2244
2244
|
}
|
|
2245
|
-
}`,
|
|
2245
|
+
}`, Yo = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
|
|
2246
2246
|
function isString(val) {
|
|
2247
2247
|
return typeof val === 'string';
|
|
2248
2248
|
}
|
|
@@ -2320,7 +2320,7 @@ const Jo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
2320
2320
|
return item.query.every(filter => {
|
|
2321
2321
|
return objectMatchesQuery(userAttributes, filter);
|
|
2322
2322
|
});
|
|
2323
|
-
}`,
|
|
2323
|
+
}`, Xo = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
|
|
2324
2324
|
function getCookie(name) {
|
|
2325
2325
|
const nameEQ = name + '=';
|
|
2326
2326
|
const ca = document.cookie.split(';');
|
|
@@ -2358,11 +2358,11 @@ const Jo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
2358
2358
|
visibilityStylesEl.innerHTML = newStyleStr;
|
|
2359
2359
|
}
|
|
2360
2360
|
}
|
|
2361
|
-
}`, re = "default", Qe = "filterWithCustomTargeting", ke = "builderIoPersonalization", Ce = "updateVisibilityStylesScript",
|
|
2362
|
-
function
|
|
2361
|
+
}`, re = "default", Qe = "filterWithCustomTargeting", ke = "builderIoPersonalization", Ce = "updateVisibilityStylesScript", Zo = "PersonalizationContainer", Bt = ["react", "vue", "svelte", "qwik"], Vt = ["vue", "svelte", "qwik"];
|
|
2362
|
+
function _o(e, t) {
|
|
2363
2363
|
return !(e && e.length > 0) || !t ? !1 : Vt.includes(E) ? !0 : !T();
|
|
2364
2364
|
}
|
|
2365
|
-
function
|
|
2365
|
+
function er({
|
|
2366
2366
|
variants: e,
|
|
2367
2367
|
previewingIndex: t,
|
|
2368
2368
|
isHydrated: n,
|
|
@@ -2402,20 +2402,20 @@ function _o({
|
|
|
2402
2402
|
}
|
|
2403
2403
|
const Te = (e) => {
|
|
2404
2404
|
var t;
|
|
2405
|
-
return Array.isArray(e) ? e.some(Te) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) ===
|
|
2406
|
-
},
|
|
2405
|
+
return Array.isArray(e) ? e.some(Te) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Zo ? !0 : Object.values(e).some(Te);
|
|
2406
|
+
}, tr = (e) => Te(e), nr = () => `
|
|
2407
2407
|
(function() {
|
|
2408
2408
|
if (!window.${Qe}) {
|
|
2409
|
-
window.${Qe} = ${
|
|
2409
|
+
window.${Qe} = ${Yo};
|
|
2410
2410
|
}
|
|
2411
2411
|
if (!window.${ke}) {
|
|
2412
|
-
window.${ke} = ${
|
|
2412
|
+
window.${ke} = ${Qo};
|
|
2413
2413
|
}
|
|
2414
2414
|
if (!window.${Ce}) {
|
|
2415
|
-
window.${Ce} = ${
|
|
2415
|
+
window.${Ce} = ${Xo};
|
|
2416
2416
|
}
|
|
2417
2417
|
})();
|
|
2418
|
-
`, Nt = E === "react",
|
|
2418
|
+
`, Nt = E === "react", or = (e, t, n) => `window.${ke}(${JSON.stringify(e)}, "${t}", ${Nt}${n ? `, "${n}"` : ""})`, rr = (e, t, n) => `window.${Ce}(${JSON.stringify(e)}, "${t}", ${Nt}${n ? `, "${n}"` : ""})`, me = {
|
|
2419
2419
|
"@type": "@builder.io/sdk:Element",
|
|
2420
2420
|
layerName: "Accordion item title",
|
|
2421
2421
|
responsiveStyles: {
|
|
@@ -2475,7 +2475,7 @@ const Te = (e) => {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
}
|
|
2477
2477
|
}]
|
|
2478
|
-
},
|
|
2478
|
+
}, ir = {
|
|
2479
2479
|
name: "Builder:Accordion",
|
|
2480
2480
|
canHaveChildren: !0,
|
|
2481
2481
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -2539,7 +2539,7 @@ const Te = (e) => {
|
|
|
2539
2539
|
builderComponents: !0,
|
|
2540
2540
|
builderLinkComponent: !0
|
|
2541
2541
|
}
|
|
2542
|
-
},
|
|
2542
|
+
}, sr = (e) => e.toString(), ar = y({
|
|
2543
2543
|
name: "builder-accordion",
|
|
2544
2544
|
components: { Blocks: K },
|
|
2545
2545
|
props: [
|
|
@@ -2553,7 +2553,7 @@ const Te = (e) => {
|
|
|
2553
2553
|
"builderLinkComponent"
|
|
2554
2554
|
],
|
|
2555
2555
|
data() {
|
|
2556
|
-
return { open: [], convertOrderNumberToString:
|
|
2556
|
+
return { open: [], convertOrderNumberToString: sr };
|
|
2557
2557
|
},
|
|
2558
2558
|
computed: {
|
|
2559
2559
|
onlyOneAtATime() {
|
|
@@ -2634,8 +2634,8 @@ const Te = (e) => {
|
|
|
2634
2634
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
2635
2635
|
}
|
|
2636
2636
|
}
|
|
2637
|
-
}),
|
|
2638
|
-
function
|
|
2637
|
+
}), lr = ["data-index", "onClick"];
|
|
2638
|
+
function cr(e, t, n, o, r, i) {
|
|
2639
2639
|
const s = k("Blocks");
|
|
2640
2640
|
return d(), h("div", {
|
|
2641
2641
|
class: "builder-accordion",
|
|
@@ -2662,7 +2662,7 @@ function lr(e, t, n, o, r, i) {
|
|
|
2662
2662
|
registeredComponents: e.builderComponents,
|
|
2663
2663
|
linkComponent: e.builderLinkComponent
|
|
2664
2664
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
2665
|
-
], 14,
|
|
2665
|
+
], 14, lr),
|
|
2666
2666
|
e.open.includes(a) ? (d(), h("div", {
|
|
2667
2667
|
key: 0,
|
|
2668
2668
|
class: _(e.getAccordionDetailClassName(a)),
|
|
@@ -2680,7 +2680,7 @@ function lr(e, t, n, o, r, i) {
|
|
|
2680
2680
|
], 64))), 128))
|
|
2681
2681
|
], 4);
|
|
2682
2682
|
}
|
|
2683
|
-
const
|
|
2683
|
+
const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
|
|
2684
2684
|
name: "Core:Button",
|
|
2685
2685
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
2686
2686
|
defaultStyles: {
|
|
@@ -2716,7 +2716,7 @@ const cr = /* @__PURE__ */ v(sr, [["render", lr]]), dr = {
|
|
|
2716
2716
|
shouldReceiveBuilderProps: {
|
|
2717
2717
|
builderLinkComponent: !0
|
|
2718
2718
|
}
|
|
2719
|
-
},
|
|
2719
|
+
}, pr = {
|
|
2720
2720
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
2721
2721
|
name: "Columns",
|
|
2722
2722
|
isRSC: !0,
|
|
@@ -2923,13 +2923,13 @@ const cr = /* @__PURE__ */ v(sr, [["render", lr]]), dr = {
|
|
|
2923
2923
|
builderComponents: !0,
|
|
2924
2924
|
builderLinkComponent: !0
|
|
2925
2925
|
}
|
|
2926
|
-
},
|
|
2926
|
+
}, mr = {
|
|
2927
2927
|
name: "Fragment",
|
|
2928
2928
|
static: !0,
|
|
2929
2929
|
hidden: !0,
|
|
2930
2930
|
canHaveChildren: !0,
|
|
2931
2931
|
noWrap: !0
|
|
2932
|
-
}, Oe = ["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"],
|
|
2932
|
+
}, Oe = ["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"], hr = ["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"], fr = {
|
|
2933
2933
|
name: "Image",
|
|
2934
2934
|
static: !0,
|
|
2935
2935
|
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",
|
|
@@ -3042,7 +3042,7 @@ const cr = /* @__PURE__ */ v(sr, [["render", lr]]), dr = {
|
|
|
3042
3042
|
shouldReceiveBuilderProps: {
|
|
3043
3043
|
builderBlock: !0
|
|
3044
3044
|
}
|
|
3045
|
-
},
|
|
3045
|
+
}, br = {
|
|
3046
3046
|
name: "PersonalizationContainer",
|
|
3047
3047
|
shouldReceiveBuilderProps: {
|
|
3048
3048
|
builderBlock: !0,
|
|
@@ -3088,7 +3088,7 @@ const cr = /* @__PURE__ */ v(sr, [["render", lr]]), dr = {
|
|
|
3088
3088
|
},
|
|
3089
3089
|
name: "inlined-script",
|
|
3090
3090
|
props: ["scriptStr", "id", "nonce"]
|
|
3091
|
-
}),
|
|
3091
|
+
}), gr = y({
|
|
3092
3092
|
name: "builder-personalization-container",
|
|
3093
3093
|
components: {
|
|
3094
3094
|
Blocks: K,
|
|
@@ -3107,18 +3107,18 @@ const cr = /* @__PURE__ */ v(sr, [["render", lr]]), dr = {
|
|
|
3107
3107
|
var e, t, n, o, r, i, s;
|
|
3108
3108
|
return {
|
|
3109
3109
|
userAttributes: ce.getUserAttributes(),
|
|
3110
|
-
scriptStr:
|
|
3110
|
+
scriptStr: or(
|
|
3111
3111
|
this.variants,
|
|
3112
3112
|
((e = this.builderBlock) == null ? void 0 : e.id) || "none",
|
|
3113
3113
|
(n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
|
|
3114
3114
|
),
|
|
3115
|
-
updateVisibilityStylesScript:
|
|
3115
|
+
updateVisibilityStylesScript: rr(
|
|
3116
3116
|
this.variants,
|
|
3117
3117
|
((o = this.builderBlock) == null ? void 0 : o.id) || "none",
|
|
3118
3118
|
(i = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : i.locale
|
|
3119
3119
|
),
|
|
3120
3120
|
unsubscribers: [],
|
|
3121
|
-
shouldRenderVariants:
|
|
3121
|
+
shouldRenderVariants: _o(
|
|
3122
3122
|
this.variants,
|
|
3123
3123
|
G((s = this.builderContext) == null ? void 0 : s.canTrack)
|
|
3124
3124
|
),
|
|
@@ -3180,7 +3180,7 @@ const cr = /* @__PURE__ */ v(sr, [["render", lr]]), dr = {
|
|
|
3180
3180
|
filteredVariants() {
|
|
3181
3181
|
return (this.variants || []).filter((e) => {
|
|
3182
3182
|
var t, n, o, r;
|
|
3183
|
-
return
|
|
3183
|
+
return Jo(
|
|
3184
3184
|
{
|
|
3185
3185
|
...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
|
|
3186
3186
|
locale: (r = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : r.locale
|
|
@@ -3195,7 +3195,7 @@ const cr = /* @__PURE__ */ v(sr, [["render", lr]]), dr = {
|
|
|
3195
3195
|
},
|
|
3196
3196
|
blocksToRender() {
|
|
3197
3197
|
var e;
|
|
3198
|
-
return
|
|
3198
|
+
return er({
|
|
3199
3199
|
variants: this.variants,
|
|
3200
3200
|
fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
|
|
3201
3201
|
isHydrated: this.shouldResetVariants,
|
|
@@ -3213,7 +3213,7 @@ const cr = /* @__PURE__ */ v(sr, [["render", lr]]), dr = {
|
|
|
3213
3213
|
}
|
|
3214
3214
|
}
|
|
3215
3215
|
});
|
|
3216
|
-
function
|
|
3216
|
+
function yr(e, t, n, o, r, i) {
|
|
3217
3217
|
var u, p, f, c, m, b, g, A, U, V;
|
|
3218
3218
|
const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
|
|
3219
3219
|
return d(), h("div", $({ ref: "rootRef" }, e.attrs), [
|
|
@@ -3298,7 +3298,7 @@ function gr(e, t, n, o, r, i) {
|
|
|
3298
3298
|
], 64)) : C("", !0)
|
|
3299
3299
|
], 16);
|
|
3300
3300
|
}
|
|
3301
|
-
const
|
|
3301
|
+
const vr = /* @__PURE__ */ v(gr, [["render", yr]]), Sr = {
|
|
3302
3302
|
name: "Core:Section",
|
|
3303
3303
|
static: !0,
|
|
3304
3304
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3337,7 +3337,7 @@ const yr = /* @__PURE__ */ v(br, [["render", gr]]), vr = {
|
|
|
3337
3337
|
}
|
|
3338
3338
|
}
|
|
3339
3339
|
}]
|
|
3340
|
-
},
|
|
3340
|
+
}, kr = {
|
|
3341
3341
|
name: "Slot",
|
|
3342
3342
|
isRSC: !0,
|
|
3343
3343
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -3354,12 +3354,12 @@ const yr = /* @__PURE__ */ v(br, [["render", gr]]), vr = {
|
|
|
3354
3354
|
builderContext: !0,
|
|
3355
3355
|
builderComponents: !0
|
|
3356
3356
|
}
|
|
3357
|
-
},
|
|
3357
|
+
}, Cr = y({
|
|
3358
3358
|
name: "builder-slot",
|
|
3359
3359
|
components: { Blocks: K },
|
|
3360
3360
|
props: ["builderContext", "name", "builderComponents"]
|
|
3361
3361
|
});
|
|
3362
|
-
function
|
|
3362
|
+
function Tr(e, t, n, o, r, i) {
|
|
3363
3363
|
var l, a, u;
|
|
3364
3364
|
const s = k("Blocks");
|
|
3365
3365
|
return d(), h("div", $(
|
|
@@ -3379,7 +3379,7 @@ function Cr(e, t, n, o, r, i) {
|
|
|
3379
3379
|
}, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
|
|
3380
3380
|
], 16);
|
|
3381
3381
|
}
|
|
3382
|
-
const
|
|
3382
|
+
const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
|
|
3383
3383
|
name: "Symbol",
|
|
3384
3384
|
noWrap: !0,
|
|
3385
3385
|
static: !0,
|
|
@@ -3456,7 +3456,7 @@ const Tr = /* @__PURE__ */ v(kr, [["render", Cr]]), wr = {
|
|
|
3456
3456
|
text: "New tab content "
|
|
3457
3457
|
}
|
|
3458
3458
|
}
|
|
3459
|
-
},
|
|
3459
|
+
}, $r = {
|
|
3460
3460
|
name: "Builder: Tabs",
|
|
3461
3461
|
inputs: [{
|
|
3462
3462
|
name: "tabs",
|
|
@@ -3559,7 +3559,7 @@ const Tr = /* @__PURE__ */ v(kr, [["render", Cr]]), wr = {
|
|
|
3559
3559
|
builderComponents: !0,
|
|
3560
3560
|
builderLinkComponent: !0
|
|
3561
3561
|
}
|
|
3562
|
-
},
|
|
3562
|
+
}, Er = y({
|
|
3563
3563
|
name: "builder-tabs",
|
|
3564
3564
|
components: { Blocks: K },
|
|
3565
3565
|
props: [
|
|
@@ -3587,8 +3587,8 @@ const Tr = /* @__PURE__ */ v(kr, [["render", Cr]]), wr = {
|
|
|
3587
3587
|
e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
|
|
3588
3588
|
}
|
|
3589
3589
|
}
|
|
3590
|
-
}),
|
|
3591
|
-
function
|
|
3590
|
+
}), Rr = ["onClick"], Pr = { key: 0 };
|
|
3591
|
+
function Ar(e, t, n, o, r, i) {
|
|
3592
3592
|
const s = k("Blocks");
|
|
3593
3593
|
return d(), h("div", null, [
|
|
3594
3594
|
q("div", {
|
|
@@ -3614,9 +3614,9 @@ function Pr(e, t, n, o, r, i) {
|
|
|
3614
3614
|
registeredComponents: e.builderComponents,
|
|
3615
3615
|
linkComponent: e.builderLinkComponent
|
|
3616
3616
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
3617
|
-
], 14,
|
|
3617
|
+
], 14, Rr))), 128))
|
|
3618
3618
|
], 4),
|
|
3619
|
-
e.activeTabContent(e.activeTab) ? (d(), h("div",
|
|
3619
|
+
e.activeTabContent(e.activeTab) ? (d(), h("div", Pr, [
|
|
3620
3620
|
R(s, {
|
|
3621
3621
|
parent: e.builderBlock.id,
|
|
3622
3622
|
path: `tabs.${e.activeTab}.content`,
|
|
@@ -3628,7 +3628,7 @@ function Pr(e, t, n, o, r, i) {
|
|
|
3628
3628
|
])) : C("", !0)
|
|
3629
3629
|
]);
|
|
3630
3630
|
}
|
|
3631
|
-
const
|
|
3631
|
+
const Br = /* @__PURE__ */ v(Er, [["render", Ar]]), Vr = {
|
|
3632
3632
|
shouldReceiveBuilderProps: {},
|
|
3633
3633
|
name: "Text",
|
|
3634
3634
|
static: !0,
|
|
@@ -3646,11 +3646,11 @@ const Ar = /* @__PURE__ */ v($r, [["render", Pr]]), Br = {
|
|
|
3646
3646
|
height: "auto",
|
|
3647
3647
|
textAlign: "center"
|
|
3648
3648
|
}
|
|
3649
|
-
},
|
|
3649
|
+
}, Nr = y({
|
|
3650
3650
|
name: "builder-text",
|
|
3651
3651
|
props: ["text"]
|
|
3652
|
-
}),
|
|
3653
|
-
function
|
|
3652
|
+
}), Wr = ["innerHTML"];
|
|
3653
|
+
function Or(e, t, n, o, r, i) {
|
|
3654
3654
|
var s;
|
|
3655
3655
|
return d(), h("div", {
|
|
3656
3656
|
class: "builder-text",
|
|
@@ -3658,9 +3658,9 @@ function Wr(e, t, n, o, r, i) {
|
|
|
3658
3658
|
style: {
|
|
3659
3659
|
outline: "none"
|
|
3660
3660
|
}
|
|
3661
|
-
}, null, 8,
|
|
3661
|
+
}, null, 8, Wr);
|
|
3662
3662
|
}
|
|
3663
|
-
const
|
|
3663
|
+
const Dr = /* @__PURE__ */ v(Nr, [["render", Or]]), xr = {
|
|
3664
3664
|
name: "Custom Code",
|
|
3665
3665
|
static: !0,
|
|
3666
3666
|
requiredPermissions: ["editCode"],
|
|
@@ -3682,7 +3682,7 @@ const Or = /* @__PURE__ */ v(Vr, [["render", Wr]]), Dr = {
|
|
|
3682
3682
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
3683
3683
|
advanced: !0
|
|
3684
3684
|
}]
|
|
3685
|
-
},
|
|
3685
|
+
}, Ur = y({
|
|
3686
3686
|
name: "builder-custom-code",
|
|
3687
3687
|
props: ["code", "replaceNodes"],
|
|
3688
3688
|
data() {
|
|
@@ -3741,15 +3741,15 @@ const Or = /* @__PURE__ */ v(Vr, [["render", Wr]]), Dr = {
|
|
|
3741
3741
|
}
|
|
3742
3742
|
}
|
|
3743
3743
|
}
|
|
3744
|
-
}),
|
|
3745
|
-
function
|
|
3744
|
+
}), Lr = ["innerHTML"];
|
|
3745
|
+
function Fr(e, t, n, o, r, i) {
|
|
3746
3746
|
return d(), h("div", {
|
|
3747
3747
|
ref: "elementRef",
|
|
3748
3748
|
class: _("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
3749
3749
|
innerHTML: e.code
|
|
3750
|
-
}, null, 10,
|
|
3750
|
+
}, null, 10, Lr);
|
|
3751
3751
|
}
|
|
3752
|
-
const
|
|
3752
|
+
const Hr = /* @__PURE__ */ v(Ur, [["render", Fr]]), Mr = {
|
|
3753
3753
|
name: "Embed",
|
|
3754
3754
|
static: !0,
|
|
3755
3755
|
inputs: [{
|
|
@@ -3764,7 +3764,7 @@ const Fr = /* @__PURE__ */ v(xr, [["render", Lr]]), Hr = {
|
|
|
3764
3764
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
3765
3765
|
hideFromUI: !0
|
|
3766
3766
|
}]
|
|
3767
|
-
},
|
|
3767
|
+
}, jr = ["text/javascript", "application/javascript", "application/ecmascript"], zr = (e) => jr.includes(e.type), Kr = y({
|
|
3768
3768
|
name: "builder-embed",
|
|
3769
3769
|
props: ["content"],
|
|
3770
3770
|
data() {
|
|
@@ -3797,7 +3797,7 @@ const Fr = /* @__PURE__ */ v(xr, [["render", Lr]]), Hr = {
|
|
|
3797
3797
|
this.scriptsInserted.push(n.src);
|
|
3798
3798
|
const o = document.createElement("script");
|
|
3799
3799
|
o.async = !0, o.src = n.src, document.head.appendChild(o);
|
|
3800
|
-
} else if (
|
|
3800
|
+
} else if (zr(n) && !this.scriptsRun.includes(n.innerText))
|
|
3801
3801
|
try {
|
|
3802
3802
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
3803
3803
|
} catch (o) {
|
|
@@ -3806,15 +3806,15 @@ const Fr = /* @__PURE__ */ v(xr, [["render", Lr]]), Hr = {
|
|
|
3806
3806
|
}
|
|
3807
3807
|
}
|
|
3808
3808
|
}
|
|
3809
|
-
}),
|
|
3810
|
-
function
|
|
3809
|
+
}), qr = ["innerHTML"];
|
|
3810
|
+
function Gr(e, t, n, o, r, i) {
|
|
3811
3811
|
return d(), h("div", {
|
|
3812
3812
|
class: "builder-embed",
|
|
3813
3813
|
ref: "elem",
|
|
3814
3814
|
innerHTML: e.content
|
|
3815
|
-
}, null, 8,
|
|
3815
|
+
}, null, 8, qr);
|
|
3816
3816
|
}
|
|
3817
|
-
const
|
|
3817
|
+
const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
|
|
3818
3818
|
name: "Form:Form",
|
|
3819
3819
|
// editableTags: ['builder-form-error']
|
|
3820
3820
|
defaults: {
|
|
@@ -4051,10 +4051,10 @@ const Gr = /* @__PURE__ */ v(zr, [["render", qr]]), Jr = {
|
|
|
4051
4051
|
builderComponents: !0,
|
|
4052
4052
|
builderLinkComponent: !0
|
|
4053
4053
|
}
|
|
4054
|
-
},
|
|
4054
|
+
}, Yr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Xr = () => {
|
|
4055
4055
|
const e = process.env.NODE_ENV || "production";
|
|
4056
|
-
return
|
|
4057
|
-
},
|
|
4056
|
+
return Yr.includes(e) ? e : "production";
|
|
4057
|
+
}, Zr = y({
|
|
4058
4058
|
name: "builder-form-component",
|
|
4059
4059
|
components: { Blocks: K },
|
|
4060
4060
|
props: [
|
|
@@ -4165,7 +4165,7 @@ const Gr = /* @__PURE__ */ v(zr, [["render", qr]]), Jr = {
|
|
|
4165
4165
|
});
|
|
4166
4166
|
return;
|
|
4167
4167
|
}
|
|
4168
|
-
const p = `${
|
|
4168
|
+
const p = `${Xr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
|
|
4169
4169
|
this.sendSubmissionsToEmail || ""
|
|
4170
4170
|
)}&name=${encodeURIComponent(this.name || "")}`, f = this.sendSubmissionsTo === "email" ? p : this.action;
|
|
4171
4171
|
Re(f), fetch(f, {
|
|
@@ -4231,11 +4231,11 @@ const Gr = /* @__PURE__ */ v(zr, [["render", qr]]), Jr = {
|
|
|
4231
4231
|
}
|
|
4232
4232
|
}
|
|
4233
4233
|
}
|
|
4234
|
-
}),
|
|
4234
|
+
}), _r = ["validate", "action", "method", "name"], ei = {
|
|
4235
4235
|
key: 2,
|
|
4236
4236
|
class: "builder-form-error-text pre-2oa2wtipkzk"
|
|
4237
4237
|
};
|
|
4238
|
-
function
|
|
4238
|
+
function ti(e, t, n, o, r, i) {
|
|
4239
4239
|
const s = k("Blocks");
|
|
4240
4240
|
return d(), h("form", $({
|
|
4241
4241
|
validate: e.validate,
|
|
@@ -4258,16 +4258,16 @@ function ei(e, t, n, o, r, i) {
|
|
|
4258
4258
|
blocks: e.sendingMessage,
|
|
4259
4259
|
context: e.builderContext
|
|
4260
4260
|
}, null, 8, ["blocks", "context"])) : C("", !0),
|
|
4261
|
-
e.submissionState() === "error" && e.responseData ? (d(), h("pre",
|
|
4261
|
+
e.submissionState() === "error" && e.responseData ? (d(), h("pre", ei, de(e.errorResponse(e.responseData)), 1)) : C("", !0),
|
|
4262
4262
|
e.submissionState() === "success" ? (d(), S(s, {
|
|
4263
4263
|
key: 3,
|
|
4264
4264
|
path: "successMessage",
|
|
4265
4265
|
blocks: e.successMessage,
|
|
4266
4266
|
context: e.builderContext
|
|
4267
4267
|
}, null, 8, ["blocks", "context"])) : C("", !0)
|
|
4268
|
-
], 16,
|
|
4268
|
+
], 16, _r);
|
|
4269
4269
|
}
|
|
4270
|
-
const
|
|
4270
|
+
const ni = /* @__PURE__ */ v(Zr, [["render", ti], ["__scopeId", "data-v-77c7888c"]]), oi = {
|
|
4271
4271
|
name: "Form:Input",
|
|
4272
4272
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4273
4273
|
inputs: [
|
|
@@ -4318,7 +4318,7 @@ const ti = /* @__PURE__ */ v(Xr, [["render", ei], ["__scopeId", "data-v-77c7888c
|
|
|
4318
4318
|
borderStyle: "solid",
|
|
4319
4319
|
borderColor: "#ccc"
|
|
4320
4320
|
}
|
|
4321
|
-
},
|
|
4321
|
+
}, ri = y({
|
|
4322
4322
|
name: "builder-form-input-component",
|
|
4323
4323
|
props: [
|
|
4324
4324
|
"attributes",
|
|
@@ -4332,8 +4332,8 @@ const ti = /* @__PURE__ */ v(Xr, [["render", ei], ["__scopeId", "data-v-77c7888c
|
|
|
4332
4332
|
data() {
|
|
4333
4333
|
return { isEditing: P, filterAttrs: W };
|
|
4334
4334
|
}
|
|
4335
|
-
}),
|
|
4336
|
-
function
|
|
4335
|
+
}), ii = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
4336
|
+
function si(e, t, n, o, r, i) {
|
|
4337
4337
|
return d(), h("input", $({
|
|
4338
4338
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
4339
4339
|
placeholder: e.placeholder,
|
|
@@ -4342,9 +4342,9 @@ function ii(e, t, n, o, r, i) {
|
|
|
4342
4342
|
value: e.value,
|
|
4343
4343
|
defaultValue: e.defaultValue,
|
|
4344
4344
|
required: e.required
|
|
4345
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
4345
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, ii);
|
|
4346
4346
|
}
|
|
4347
|
-
const
|
|
4347
|
+
const ai = /* @__PURE__ */ v(ri, [["render", si]]), li = {
|
|
4348
4348
|
name: "Form:Select",
|
|
4349
4349
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4350
4350
|
defaultStyles: {
|
|
@@ -4386,14 +4386,14 @@ const si = /* @__PURE__ */ v(oi, [["render", ii]]), ai = {
|
|
|
4386
4386
|
}],
|
|
4387
4387
|
static: !0,
|
|
4388
4388
|
noWrap: !0
|
|
4389
|
-
},
|
|
4389
|
+
}, ci = y({
|
|
4390
4390
|
name: "builder-select-component",
|
|
4391
4391
|
props: ["attributes", "value", "defaultValue", "name", "required", "options"],
|
|
4392
4392
|
data() {
|
|
4393
4393
|
return { isEditing: P, filterAttrs: W };
|
|
4394
4394
|
}
|
|
4395
|
-
}),
|
|
4396
|
-
function
|
|
4395
|
+
}), di = ["value", "defaultValue", "name", "required"], ui = ["value"];
|
|
4396
|
+
function pi(e, t, n, o, r, i) {
|
|
4397
4397
|
return d(), h("select", $({
|
|
4398
4398
|
value: e.value,
|
|
4399
4399
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
@@ -4404,10 +4404,10 @@ function ui(e, t, n, o, r, i) {
|
|
|
4404
4404
|
(d(!0), h(I, null, F(e.options, (s, l) => (d(), h("option", {
|
|
4405
4405
|
key: `${s.name}-${l}`,
|
|
4406
4406
|
value: s.value
|
|
4407
|
-
}, de(s.name || s.value), 9,
|
|
4408
|
-
], 16,
|
|
4407
|
+
}, de(s.name || s.value), 9, ui))), 128))
|
|
4408
|
+
], 16, di);
|
|
4409
4409
|
}
|
|
4410
|
-
const
|
|
4410
|
+
const mi = /* @__PURE__ */ v(ci, [["render", pi]]), hi = {
|
|
4411
4411
|
name: "Form:SubmitButton",
|
|
4412
4412
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4413
4413
|
defaultStyles: {
|
|
@@ -4432,17 +4432,17 @@ const pi = /* @__PURE__ */ v(li, [["render", ui]]), mi = {
|
|
|
4432
4432
|
// that only shows if advanced setting is flipped
|
|
4433
4433
|
// TODO: defaultChildren
|
|
4434
4434
|
// canHaveChildren: true,
|
|
4435
|
-
},
|
|
4435
|
+
}, fi = y({
|
|
4436
4436
|
name: "builder-submit-button",
|
|
4437
4437
|
props: ["attributes", "text"],
|
|
4438
4438
|
data() {
|
|
4439
4439
|
return { filterAttrs: W };
|
|
4440
4440
|
}
|
|
4441
4441
|
});
|
|
4442
|
-
function
|
|
4442
|
+
function bi(e, t, n, o, r, i) {
|
|
4443
4443
|
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);
|
|
4444
4444
|
}
|
|
4445
|
-
const
|
|
4445
|
+
const gi = /* @__PURE__ */ v(fi, [["render", bi]]), yi = {
|
|
4446
4446
|
name: "Form:TextArea",
|
|
4447
4447
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4448
4448
|
inputs: [{
|
|
@@ -4478,7 +4478,7 @@ const bi = /* @__PURE__ */ v(hi, [["render", fi]]), gi = {
|
|
|
4478
4478
|
},
|
|
4479
4479
|
static: !0,
|
|
4480
4480
|
noWrap: !0
|
|
4481
|
-
},
|
|
4481
|
+
}, vi = y({
|
|
4482
4482
|
name: "builder-textarea",
|
|
4483
4483
|
props: [
|
|
4484
4484
|
"attributes",
|
|
@@ -4491,17 +4491,17 @@ const bi = /* @__PURE__ */ v(hi, [["render", fi]]), gi = {
|
|
|
4491
4491
|
data() {
|
|
4492
4492
|
return { filterAttrs: W };
|
|
4493
4493
|
}
|
|
4494
|
-
}),
|
|
4495
|
-
function
|
|
4494
|
+
}), Si = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
4495
|
+
function ki(e, t, n, o, r, i) {
|
|
4496
4496
|
return d(), h("textarea", $({
|
|
4497
4497
|
placeholder: e.placeholder,
|
|
4498
4498
|
name: e.name,
|
|
4499
4499
|
value: e.value,
|
|
4500
4500
|
defaultValue: e.defaultValue,
|
|
4501
4501
|
required: e.required
|
|
4502
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
4502
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Si);
|
|
4503
4503
|
}
|
|
4504
|
-
const
|
|
4504
|
+
const Ci = /* @__PURE__ */ v(vi, [["render", ki]]), Ti = {
|
|
4505
4505
|
name: "Raw:Img",
|
|
4506
4506
|
hideFromInsertMenu: !0,
|
|
4507
4507
|
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",
|
|
@@ -4545,7 +4545,7 @@ const ki = /* @__PURE__ */ v(yi, [["render", Si]]), Ci = {
|
|
|
4545
4545
|
defaultValue: 0.7041
|
|
4546
4546
|
}],
|
|
4547
4547
|
noWrap: !0
|
|
4548
|
-
},
|
|
4548
|
+
}, wi = y({
|
|
4549
4549
|
name: "builder-img-component",
|
|
4550
4550
|
props: [
|
|
4551
4551
|
"imgSrc",
|
|
@@ -4575,8 +4575,8 @@ const ki = /* @__PURE__ */ v(yi, [["render", Si]]), Ci = {
|
|
|
4575
4575
|
return delete e.style, e;
|
|
4576
4576
|
}
|
|
4577
4577
|
}
|
|
4578
|
-
}),
|
|
4579
|
-
function
|
|
4578
|
+
}), Ii = ["alt", "title", "src"];
|
|
4579
|
+
function $i(e, t, n, o, r, i) {
|
|
4580
4580
|
var s;
|
|
4581
4581
|
return d(), h("img", $({
|
|
4582
4582
|
loading: "lazy",
|
|
@@ -4590,9 +4590,9 @@ function Ii(e, t, n, o, r, i) {
|
|
|
4590
4590
|
aspectRatio: e.aspectRatio || void 0,
|
|
4591
4591
|
...((s = e.attributes) == null ? void 0 : s.style) || {}
|
|
4592
4592
|
}
|
|
4593
|
-
}, e.imgAttrs), null, 16,
|
|
4593
|
+
}, e.imgAttrs), null, 16, Ii);
|
|
4594
4594
|
}
|
|
4595
|
-
const
|
|
4595
|
+
const Ei = /* @__PURE__ */ v(wi, [["render", $i]]), Ri = {
|
|
4596
4596
|
name: "Video",
|
|
4597
4597
|
canHaveChildren: !0,
|
|
4598
4598
|
defaultStyles: {
|
|
@@ -4603,7 +4603,7 @@ const $i = /* @__PURE__ */ v(Ti, [["render", Ii]]), Ei = {
|
|
|
4603
4603
|
inputs: [{
|
|
4604
4604
|
name: "video",
|
|
4605
4605
|
type: "file",
|
|
4606
|
-
allowedFileTypes:
|
|
4606
|
+
allowedFileTypes: hr,
|
|
4607
4607
|
bubble: !0,
|
|
4608
4608
|
defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
|
|
4609
4609
|
required: !0
|
|
@@ -4676,7 +4676,7 @@ const $i = /* @__PURE__ */ v(Ti, [["render", Ii]]), Ei = {
|
|
|
4676
4676
|
shouldReceiveBuilderProps: {
|
|
4677
4677
|
builderBlock: !0
|
|
4678
4678
|
}
|
|
4679
|
-
},
|
|
4679
|
+
}, Pi = y({
|
|
4680
4680
|
name: "builder-video",
|
|
4681
4681
|
props: [
|
|
4682
4682
|
"lazyLoad",
|
|
@@ -4749,16 +4749,16 @@ const $i = /* @__PURE__ */ v(Ti, [["render", Ii]]), Ei = {
|
|
|
4749
4749
|
};
|
|
4750
4750
|
}
|
|
4751
4751
|
}
|
|
4752
|
-
}),
|
|
4752
|
+
}), Ai = { style: {
|
|
4753
4753
|
position: "relative"
|
|
4754
|
-
} },
|
|
4754
|
+
} }, Bi = ["preload", "poster"], Vi = {
|
|
4755
4755
|
key: 1,
|
|
4756
4756
|
style: {
|
|
4757
4757
|
display: "flex",
|
|
4758
4758
|
flexDirection: "column",
|
|
4759
4759
|
alignItems: "stretch"
|
|
4760
4760
|
}
|
|
4761
|
-
},
|
|
4761
|
+
}, Ni = {
|
|
4762
4762
|
key: 2,
|
|
4763
4763
|
style: {
|
|
4764
4764
|
pointerEvents: "none",
|
|
@@ -4772,9 +4772,9 @@ const $i = /* @__PURE__ */ v(Ti, [["render", Ii]]), Ei = {
|
|
|
4772
4772
|
height: "100%"
|
|
4773
4773
|
}
|
|
4774
4774
|
};
|
|
4775
|
-
function
|
|
4775
|
+
function Wi(e, t, n, o, r, i) {
|
|
4776
4776
|
var s, l, a, u, p, f, c;
|
|
4777
|
-
return d(), h("div",
|
|
4777
|
+
return d(), h("div", Ai, [
|
|
4778
4778
|
q("video", $({
|
|
4779
4779
|
class: "builder-video",
|
|
4780
4780
|
ref: "videoRef",
|
|
@@ -4802,7 +4802,7 @@ function Ni(e, t, n, o, r, i) {
|
|
|
4802
4802
|
src: e.video
|
|
4803
4803
|
}
|
|
4804
4804
|
), null, 16)
|
|
4805
|
-
], 16,
|
|
4805
|
+
], 16, Bi),
|
|
4806
4806
|
e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), h("div", {
|
|
4807
4807
|
key: 0,
|
|
4808
4808
|
style: M({
|
|
@@ -4812,75 +4812,75 @@ function Ni(e, t, n, o, r, i) {
|
|
|
4812
4812
|
fontSize: "0px"
|
|
4813
4813
|
})
|
|
4814
4814
|
}, null, 4)) : C("", !0),
|
|
4815
|
-
(p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div",
|
|
4815
|
+
(p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", Vi, [
|
|
4816
4816
|
N(e.$slots, "default")
|
|
4817
4817
|
])) : C("", !0),
|
|
4818
|
-
(c = (f = e.builderBlock) == null ? void 0 : f.children) != null && c.length && !e.fitContent ? (d(), h("div",
|
|
4818
|
+
(c = (f = e.builderBlock) == null ? void 0 : f.children) != null && c.length && !e.fitContent ? (d(), h("div", Ni, [
|
|
4819
4819
|
N(e.$slots, "default")
|
|
4820
4820
|
])) : C("", !0)
|
|
4821
4821
|
]);
|
|
4822
4822
|
}
|
|
4823
|
-
const
|
|
4824
|
-
component:
|
|
4825
|
-
...
|
|
4823
|
+
const Oi = /* @__PURE__ */ v(Pi, [["render", Wi]]), Di = () => [{
|
|
4824
|
+
component: Hr,
|
|
4825
|
+
...xr
|
|
4826
4826
|
}, {
|
|
4827
|
-
component:
|
|
4828
|
-
...
|
|
4827
|
+
component: Jr,
|
|
4828
|
+
...Mr
|
|
4829
4829
|
}, {
|
|
4830
|
-
component:
|
|
4831
|
-
...
|
|
4830
|
+
component: ni,
|
|
4831
|
+
...Qr
|
|
4832
4832
|
}, {
|
|
4833
|
-
component:
|
|
4834
|
-
...
|
|
4833
|
+
component: ai,
|
|
4834
|
+
...oi
|
|
4835
4835
|
}, {
|
|
4836
|
-
component:
|
|
4837
|
-
...
|
|
4836
|
+
component: gi,
|
|
4837
|
+
...hi
|
|
4838
4838
|
}, {
|
|
4839
|
-
component:
|
|
4840
|
-
...
|
|
4839
|
+
component: mi,
|
|
4840
|
+
...li
|
|
4841
4841
|
}, {
|
|
4842
|
-
component:
|
|
4843
|
-
...
|
|
4842
|
+
component: Ci,
|
|
4843
|
+
...yi
|
|
4844
4844
|
}, {
|
|
4845
|
-
component:
|
|
4846
|
-
...
|
|
4845
|
+
component: Ei,
|
|
4846
|
+
...Ti
|
|
4847
4847
|
}, {
|
|
4848
|
-
component:
|
|
4849
|
-
...
|
|
4848
|
+
component: Oi,
|
|
4849
|
+
...Ri
|
|
4850
4850
|
}], Ye = () => [{
|
|
4851
4851
|
component: Mt,
|
|
4852
|
-
...dr
|
|
4853
|
-
}, {
|
|
4854
|
-
component: Vo,
|
|
4855
4852
|
...ur
|
|
4856
4853
|
}, {
|
|
4857
|
-
component:
|
|
4854
|
+
component: No,
|
|
4858
4855
|
...pr
|
|
4859
4856
|
}, {
|
|
4860
|
-
component:
|
|
4861
|
-
...
|
|
4857
|
+
component: Do,
|
|
4858
|
+
...mr
|
|
4862
4859
|
}, {
|
|
4863
|
-
component:
|
|
4864
|
-
...
|
|
4860
|
+
component: zo,
|
|
4861
|
+
...fr
|
|
4865
4862
|
}, {
|
|
4866
|
-
component:
|
|
4863
|
+
component: Go,
|
|
4867
4864
|
...Sr
|
|
4868
4865
|
}, {
|
|
4869
|
-
component:
|
|
4870
|
-
...
|
|
4866
|
+
component: wr,
|
|
4867
|
+
...kr
|
|
4871
4868
|
}, {
|
|
4872
|
-
component:
|
|
4873
|
-
...
|
|
4869
|
+
component: Ss,
|
|
4870
|
+
...Ir
|
|
4871
|
+
}, {
|
|
4872
|
+
component: Dr,
|
|
4873
|
+
...Vr
|
|
4874
4874
|
}, ...Bt.includes(E) ? [{
|
|
4875
|
-
component:
|
|
4876
|
-
...
|
|
4875
|
+
component: vr,
|
|
4876
|
+
...br
|
|
4877
4877
|
}] : [], {
|
|
4878
|
-
component:
|
|
4879
|
-
|
|
4878
|
+
component: Br,
|
|
4879
|
+
...$r
|
|
4880
4880
|
}, {
|
|
4881
|
-
component:
|
|
4882
|
-
...
|
|
4883
|
-
}, ...
|
|
4881
|
+
component: dr,
|
|
4882
|
+
...ir
|
|
4883
|
+
}, ...Di()], xi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
|
|
4884
4884
|
function getAndSetVariantId() {
|
|
4885
4885
|
function setCookie(name, value, days) {
|
|
4886
4886
|
let expires = '';
|
|
@@ -4939,7 +4939,7 @@ const Wi = /* @__PURE__ */ v(Ri, [["render", Ni]]), Oi = () => [{
|
|
|
4939
4939
|
}).join('');
|
|
4940
4940
|
styleEl.innerHTML = newStyleStr;
|
|
4941
4941
|
}
|
|
4942
|
-
}`,
|
|
4942
|
+
}`, Ui = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
4943
4943
|
if (!navigator.cookieEnabled) {
|
|
4944
4944
|
return;
|
|
4945
4945
|
}
|
|
@@ -4977,24 +4977,24 @@ const Wi = /* @__PURE__ */ v(Ri, [["render", Ni]]), Oi = () => [{
|
|
|
4977
4977
|
...t,
|
|
4978
4978
|
testVariationId: t.id,
|
|
4979
4979
|
id: e == null ? void 0 : e.id
|
|
4980
|
-
})),
|
|
4980
|
+
})), Li = ({
|
|
4981
4981
|
canTrack: e,
|
|
4982
4982
|
content: t
|
|
4983
|
-
}) => !(!(ie(t).length > 0) || !e),
|
|
4983
|
+
}) => !(!(ie(t).length > 0) || !e), Fi = (e) => e === "react" || e === "reactNative", Hi = E === "angular", xe = Fi(E), Mi = () => `
|
|
4984
4984
|
(function() {
|
|
4985
4985
|
if (!window.${we}) {
|
|
4986
|
-
window.${we} = ${
|
|
4986
|
+
window.${we} = ${xi};
|
|
4987
4987
|
}
|
|
4988
4988
|
if (!window.${Ie}) {
|
|
4989
|
-
window.${Ie} = ${
|
|
4989
|
+
window.${Ie} = ${Ui};
|
|
4990
4990
|
}${xe ? `
|
|
4991
4991
|
var thisScriptEl = document.currentScript;
|
|
4992
4992
|
if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
|
|
4993
4993
|
})();
|
|
4994
|
-
`,
|
|
4994
|
+
`, ji = (e, t) => `
|
|
4995
4995
|
window.${we}(
|
|
4996
|
-
"${t}",${JSON.stringify(e)}, ${xe}, ${
|
|
4997
|
-
)`,
|
|
4996
|
+
"${t}",${JSON.stringify(e)}, ${xe}, ${Hi}
|
|
4997
|
+
)`, zi = ({
|
|
4998
4998
|
contentId: e,
|
|
4999
4999
|
variationId: t
|
|
5000
5000
|
}) => `window.${Ie}(
|
|
@@ -5003,7 +5003,7 @@ const Wi = /* @__PURE__ */ v(Ri, [["render", Ni]]), Oi = () => [{
|
|
|
5003
5003
|
function Xe(e) {
|
|
5004
5004
|
return Math.round(e * 1e3) / 1e3;
|
|
5005
5005
|
}
|
|
5006
|
-
const
|
|
5006
|
+
const Ki = (e, t, n = !0) => {
|
|
5007
5007
|
if (!(e instanceof HTMLElement))
|
|
5008
5008
|
return null;
|
|
5009
5009
|
let o = n ? e : e.parentElement;
|
|
@@ -5014,7 +5014,7 @@ const zi = (e, t, n = !0) => {
|
|
|
5014
5014
|
return o;
|
|
5015
5015
|
} while (o = o.parentElement);
|
|
5016
5016
|
return null;
|
|
5017
|
-
},
|
|
5017
|
+
}, qi = (e) => Ki(e, (t) => {
|
|
5018
5018
|
const n = t.getAttribute("builder-id") || t.id;
|
|
5019
5019
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
5020
5020
|
}), Ze = ({
|
|
@@ -5026,8 +5026,8 @@ const zi = (e, t, n = !0) => {
|
|
|
5026
5026
|
x: i,
|
|
5027
5027
|
y: s
|
|
5028
5028
|
};
|
|
5029
|
-
},
|
|
5030
|
-
const t = e.target, n = t &&
|
|
5029
|
+
}, Gi = (e) => {
|
|
5030
|
+
const t = e.target, n = t && qi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
5031
5031
|
return {
|
|
5032
5032
|
targetBuilderElement: o || void 0,
|
|
5033
5033
|
metadata: {
|
|
@@ -5042,7 +5042,7 @@ const zi = (e, t, n = !0) => {
|
|
|
5042
5042
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
5043
5043
|
}
|
|
5044
5044
|
};
|
|
5045
|
-
},
|
|
5045
|
+
}, Ji = ["svelte", "qwik", "vue"], Qi = () => Ji.includes(E) && (P() || Ae()), Yi = (e) => {
|
|
5046
5046
|
var i;
|
|
5047
5047
|
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);
|
|
5048
5048
|
let r = "";
|
|
@@ -5068,15 +5068,15 @@ font-weight: ${s};
|
|
|
5068
5068
|
`.trim());
|
|
5069
5069
|
}
|
|
5070
5070
|
return r;
|
|
5071
|
-
},
|
|
5071
|
+
}, Xi = ({
|
|
5072
5072
|
customFonts: e
|
|
5073
5073
|
}) => {
|
|
5074
5074
|
var t;
|
|
5075
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
5076
|
-
},
|
|
5075
|
+
return ((t = e == null ? void 0 : e.map((n) => Yi(n))) == null ? void 0 : t.join(" ")) || "";
|
|
5076
|
+
}, Zi = ({
|
|
5077
5077
|
cssCode: e,
|
|
5078
5078
|
contentId: t
|
|
5079
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
5079
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", _i = `
|
|
5080
5080
|
.builder-button {
|
|
5081
5081
|
all: unset;
|
|
5082
5082
|
}
|
|
@@ -5093,7 +5093,7 @@ font-weight: ${s};
|
|
|
5093
5093
|
text-align: inherit;
|
|
5094
5094
|
font-family: inherit;
|
|
5095
5095
|
}
|
|
5096
|
-
`,
|
|
5096
|
+
`, es = (e) => e ? "" : _i, ts = (e) => `variant-${e}`, ns = y({
|
|
5097
5097
|
name: "enable-editor",
|
|
5098
5098
|
components: { DynamicDiv: te },
|
|
5099
5099
|
props: [
|
|
@@ -5125,8 +5125,8 @@ font-weight: ${s};
|
|
|
5125
5125
|
httpReqsPending: {},
|
|
5126
5126
|
clicked: !1,
|
|
5127
5127
|
builderContext: ge,
|
|
5128
|
-
needsElementRefDivForEditing:
|
|
5129
|
-
getWrapperClassName:
|
|
5128
|
+
needsElementRefDivForEditing: Qi,
|
|
5129
|
+
getWrapperClassName: ts
|
|
5130
5130
|
};
|
|
5131
5131
|
},
|
|
5132
5132
|
provide() {
|
|
@@ -5297,7 +5297,7 @@ font-weight: ${s};
|
|
|
5297
5297
|
contentId: r,
|
|
5298
5298
|
apiKey: this.apiKey,
|
|
5299
5299
|
variationId: o !== r ? o : void 0,
|
|
5300
|
-
...
|
|
5300
|
+
...Gi(e),
|
|
5301
5301
|
unique: !this.clicked
|
|
5302
5302
|
});
|
|
5303
5303
|
}
|
|
@@ -5418,7 +5418,7 @@ font-weight: ${s};
|
|
|
5418
5418
|
}
|
|
5419
5419
|
}
|
|
5420
5420
|
});
|
|
5421
|
-
function
|
|
5421
|
+
function os(e, t, n, o, r, i) {
|
|
5422
5422
|
var s, l, a;
|
|
5423
5423
|
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(X(e.ContentWrapper), $({
|
|
5424
5424
|
key: 0,
|
|
@@ -5439,26 +5439,26 @@ function ns(e, t, n, o, r, i) {
|
|
|
5439
5439
|
_: 3
|
|
5440
5440
|
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : C("", !0);
|
|
5441
5441
|
}
|
|
5442
|
-
const
|
|
5442
|
+
const rs = /* @__PURE__ */ v(ns, [["render", os]]), is = y({
|
|
5443
5443
|
name: "content-styles",
|
|
5444
5444
|
components: { InlinedStyles: pe },
|
|
5445
5445
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
5446
5446
|
data() {
|
|
5447
5447
|
return {
|
|
5448
5448
|
injectedStyles: `
|
|
5449
|
-
${
|
|
5449
|
+
${Zi({
|
|
5450
5450
|
cssCode: this.cssCode,
|
|
5451
5451
|
contentId: this.contentId
|
|
5452
5452
|
})}
|
|
5453
|
-
${
|
|
5453
|
+
${Xi({
|
|
5454
5454
|
customFonts: this.customFonts
|
|
5455
5455
|
})}
|
|
5456
|
-
${
|
|
5456
|
+
${es(this.isNestedRender)}
|
|
5457
5457
|
`.trim()
|
|
5458
5458
|
};
|
|
5459
5459
|
}
|
|
5460
5460
|
});
|
|
5461
|
-
function
|
|
5461
|
+
function ss(e, t, n, o, r, i) {
|
|
5462
5462
|
const s = k("InlinedStyles");
|
|
5463
5463
|
return d(), S(s, {
|
|
5464
5464
|
id: "builderio-content",
|
|
@@ -5466,7 +5466,7 @@ function is(e, t, n, o, r, i) {
|
|
|
5466
5466
|
nonce: e.nonce
|
|
5467
5467
|
}, null, 8, ["styles", "nonce"]);
|
|
5468
5468
|
}
|
|
5469
|
-
const
|
|
5469
|
+
const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
|
|
5470
5470
|
content: e,
|
|
5471
5471
|
data: t,
|
|
5472
5472
|
locale: n
|
|
@@ -5483,7 +5483,7 @@ const ss = /* @__PURE__ */ v(rs, [["render", is]]), as = ({
|
|
|
5483
5483
|
locale: n
|
|
5484
5484
|
} : {}
|
|
5485
5485
|
};
|
|
5486
|
-
},
|
|
5486
|
+
}, cs = ({
|
|
5487
5487
|
content: e,
|
|
5488
5488
|
data: t
|
|
5489
5489
|
}) => e ? {
|
|
@@ -5493,12 +5493,12 @@ const ss = /* @__PURE__ */ v(rs, [["render", is]]), as = ({
|
|
|
5493
5493
|
...t
|
|
5494
5494
|
},
|
|
5495
5495
|
meta: e == null ? void 0 : e.meta
|
|
5496
|
-
} : void 0,
|
|
5496
|
+
} : void 0, ds = Ot, us = y({
|
|
5497
5497
|
name: "content-component",
|
|
5498
5498
|
components: {
|
|
5499
|
-
EnableEditor:
|
|
5499
|
+
EnableEditor: rs,
|
|
5500
5500
|
InlinedScript: De,
|
|
5501
|
-
ContentStyles:
|
|
5501
|
+
ContentStyles: as,
|
|
5502
5502
|
Blocks: K,
|
|
5503
5503
|
DynamicDiv: te
|
|
5504
5504
|
},
|
|
@@ -5528,7 +5528,7 @@ const ss = /* @__PURE__ */ v(rs, [["render", is]]), as = ({
|
|
|
5528
5528
|
data() {
|
|
5529
5529
|
var e, t;
|
|
5530
5530
|
return {
|
|
5531
|
-
scriptStr:
|
|
5531
|
+
scriptStr: zi({
|
|
5532
5532
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
5533
5533
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
5534
5534
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
@@ -5541,19 +5541,19 @@ const ss = /* @__PURE__ */ v(rs, [["render", is]]), as = ({
|
|
|
5541
5541
|
(n, { component: o, ...r }) => ({
|
|
5542
5542
|
...n,
|
|
5543
5543
|
[r.name]: {
|
|
5544
|
-
component:
|
|
5544
|
+
component: ds(o),
|
|
5545
5545
|
...le(r)
|
|
5546
5546
|
}
|
|
5547
5547
|
}),
|
|
5548
5548
|
{}
|
|
5549
5549
|
),
|
|
5550
5550
|
builderContextSignal: {
|
|
5551
|
-
content:
|
|
5551
|
+
content: cs({
|
|
5552
5552
|
content: this.content,
|
|
5553
5553
|
data: this.data
|
|
5554
5554
|
}),
|
|
5555
5555
|
localState: void 0,
|
|
5556
|
-
rootState:
|
|
5556
|
+
rootState: ls({
|
|
5557
5557
|
content: this.content,
|
|
5558
5558
|
data: this.data,
|
|
5559
5559
|
locale: this.locale
|
|
@@ -5629,7 +5629,7 @@ const ss = /* @__PURE__ */ v(rs, [["render", is]]), as = ({
|
|
|
5629
5629
|
}
|
|
5630
5630
|
}
|
|
5631
5631
|
});
|
|
5632
|
-
function
|
|
5632
|
+
function ps(e, t, n, o, r, i) {
|
|
5633
5633
|
const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
|
|
5634
5634
|
return d(), S(u, $({
|
|
5635
5635
|
apiHost: e.apiHost,
|
|
@@ -5677,12 +5677,12 @@ function us(e, t, n, o, r, i) {
|
|
|
5677
5677
|
_: 1
|
|
5678
5678
|
}, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
|
|
5679
5679
|
}
|
|
5680
|
-
const
|
|
5680
|
+
const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = y({
|
|
5681
5681
|
name: "content-variants",
|
|
5682
5682
|
components: {
|
|
5683
5683
|
InlinedScript: De,
|
|
5684
5684
|
InlinedStyles: pe,
|
|
5685
|
-
ContentComponent:
|
|
5685
|
+
ContentComponent: ms
|
|
5686
5686
|
},
|
|
5687
5687
|
props: [
|
|
5688
5688
|
"canTrack",
|
|
@@ -5707,15 +5707,15 @@ const ps = /* @__PURE__ */ v(ds, [["render", us]]), ms = y({
|
|
|
5707
5707
|
],
|
|
5708
5708
|
data() {
|
|
5709
5709
|
return {
|
|
5710
|
-
shouldRenderVariants:
|
|
5710
|
+
shouldRenderVariants: Li({
|
|
5711
5711
|
canTrack: G(this.canTrack),
|
|
5712
5712
|
content: this.content
|
|
5713
5713
|
}),
|
|
5714
|
-
shouldEmitPersonalizationFns:
|
|
5714
|
+
shouldEmitPersonalizationFns: tr(this.content),
|
|
5715
5715
|
SDKS_SUPPORTING_PERSONALIZATION: Bt,
|
|
5716
|
-
getInitPersonalizationVariantsFnsScriptString:
|
|
5716
|
+
getInitPersonalizationVariantsFnsScriptString: nr,
|
|
5717
5717
|
TARGET: E,
|
|
5718
|
-
getInitVariantsFnsScriptString:
|
|
5718
|
+
getInitVariantsFnsScriptString: Mi,
|
|
5719
5719
|
getVariants: ie
|
|
5720
5720
|
};
|
|
5721
5721
|
},
|
|
@@ -5724,7 +5724,7 @@ const ps = /* @__PURE__ */ v(ds, [["render", us]]), ms = y({
|
|
|
5724
5724
|
computed: {
|
|
5725
5725
|
updateCookieAndStylesScriptStr() {
|
|
5726
5726
|
var e;
|
|
5727
|
-
return
|
|
5727
|
+
return ji(
|
|
5728
5728
|
ie(this.content).map((t) => ({
|
|
5729
5729
|
id: t.testVariationId,
|
|
5730
5730
|
testRatio: t.testRatio
|
|
@@ -5747,7 +5747,7 @@ const ps = /* @__PURE__ */ v(ds, [["render", us]]), ms = y({
|
|
|
5747
5747
|
}
|
|
5748
5748
|
}
|
|
5749
5749
|
});
|
|
5750
|
-
function
|
|
5750
|
+
function fs(e, t, n, o, r, i) {
|
|
5751
5751
|
const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
|
|
5752
5752
|
return d(), h(I, null, [
|
|
5753
5753
|
e.shouldEmitPersonalizationFns ? (d(), h(I, { key: 0 }, [
|
|
@@ -5826,7 +5826,7 @@ function hs(e, t, n, o, r, i) {
|
|
|
5826
5826
|
}), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
5827
5827
|
], 64);
|
|
5828
5828
|
}
|
|
5829
|
-
const
|
|
5829
|
+
const bs = /* @__PURE__ */ v(hs, [["render", fs]]), gs = async ({
|
|
5830
5830
|
builderContextValue: e,
|
|
5831
5831
|
symbol: t
|
|
5832
5832
|
}) => {
|
|
@@ -5844,9 +5844,9 @@ const fs = /* @__PURE__ */ v(ms, [["render", hs]]), bs = async ({
|
|
|
5844
5844
|
}).catch((n) => {
|
|
5845
5845
|
B.error("Could not fetch symbol content: ", n);
|
|
5846
5846
|
});
|
|
5847
|
-
},
|
|
5847
|
+
}, ys = y({
|
|
5848
5848
|
name: "builder-symbol",
|
|
5849
|
-
components: { ContentVariants:
|
|
5849
|
+
components: { ContentVariants: bs, DynamicDiv: te },
|
|
5850
5850
|
props: [
|
|
5851
5851
|
"symbol",
|
|
5852
5852
|
"builderComponents",
|
|
@@ -5903,7 +5903,7 @@ const fs = /* @__PURE__ */ v(ms, [["render", hs]]), bs = async ({
|
|
|
5903
5903
|
methods: {
|
|
5904
5904
|
setContent() {
|
|
5905
5905
|
var e;
|
|
5906
|
-
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) ||
|
|
5906
|
+
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || gs({
|
|
5907
5907
|
symbol: this.symbol,
|
|
5908
5908
|
builderContextValue: this.builderContext
|
|
5909
5909
|
}).then((t) => {
|
|
@@ -5913,7 +5913,7 @@ const fs = /* @__PURE__ */ v(ms, [["render", hs]]), bs = async ({
|
|
|
5913
5913
|
}
|
|
5914
5914
|
}
|
|
5915
5915
|
});
|
|
5916
|
-
function
|
|
5916
|
+
function vs(e, t, n, o, r, i) {
|
|
5917
5917
|
var l, a, u, p, f, c, m;
|
|
5918
5918
|
const s = k("ContentVariants");
|
|
5919
5919
|
return d(), h("div", $({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -5941,47 +5941,47 @@ function ys(e, t, n, o, r, i) {
|
|
|
5941
5941
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
5942
5942
|
], 16);
|
|
5943
5943
|
}
|
|
5944
|
-
const
|
|
5944
|
+
const Ss = /* @__PURE__ */ v(ys, [["render", vs]]);
|
|
5945
5945
|
export {
|
|
5946
|
-
|
|
5946
|
+
Rs as A,
|
|
5947
5947
|
Pt as B,
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5948
|
+
No as C,
|
|
5949
|
+
As as D,
|
|
5950
|
+
Zn as E,
|
|
5951
|
+
Do as F,
|
|
5952
|
+
_n as G,
|
|
5953
5953
|
Ne as H,
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5954
|
+
zo as I,
|
|
5955
|
+
Ts as J,
|
|
5956
|
+
Ns as K,
|
|
5957
|
+
Go as S,
|
|
5958
5958
|
E as T,
|
|
5959
|
-
|
|
5959
|
+
Oi as V,
|
|
5960
5960
|
v as _,
|
|
5961
5961
|
j as a,
|
|
5962
5962
|
ge as b,
|
|
5963
5963
|
pe as c,
|
|
5964
5964
|
z as d,
|
|
5965
5965
|
ee as e,
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5966
|
+
Po as f,
|
|
5967
|
+
Vs as g,
|
|
5968
|
+
Bs as h,
|
|
5969
5969
|
P as i,
|
|
5970
|
-
|
|
5970
|
+
Ws as j,
|
|
5971
5971
|
We as k,
|
|
5972
5972
|
Pn as l,
|
|
5973
5973
|
Mt as m,
|
|
5974
|
-
|
|
5975
|
-
|
|
5974
|
+
Ss as n,
|
|
5975
|
+
Dr as o,
|
|
5976
5976
|
K as p,
|
|
5977
|
-
|
|
5977
|
+
bs as q,
|
|
5978
5978
|
Ae as r,
|
|
5979
|
-
|
|
5979
|
+
Ps as s,
|
|
5980
5980
|
An as t,
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5981
|
+
Is as u,
|
|
5982
|
+
$s as v,
|
|
5983
|
+
ds as w,
|
|
5984
|
+
Es as x,
|
|
5985
5985
|
ft as y,
|
|
5986
|
-
|
|
5986
|
+
ws as z
|
|
5987
5987
|
};
|