@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as U, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as Ct, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as Qe, createElementVNode as q, normalizeStyle as M, normalizeClass as Z, markRaw as Tt } from "vue";
|
|
2
|
-
import { T as R, g as wt, f as It, i as E, s as $t, r as Rt, p as Et, a as Pt, l as L, b as Ye, c as Te, d as At, n as Xe, S as Bt, e as we, h as re, j as Vt, k as Ze, m as Nt, o as A, q as _e, _ as xe } from "./should-force-browser-runtime-in-node-
|
|
2
|
+
import { T as R, g as wt, f as It, i as E, s as $t, r as Rt, p as Et, a as Pt, l as L, b as Ye, c as Te, d as At, n as Xe, S as Bt, e as we, h as re, j as Vt, k as Ze, m as Nt, o as A, q as _e, _ as xe } from "./should-force-browser-runtime-in-node-cuIgr-IV.js";
|
|
3
3
|
const Wt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Dt = (e) => typeof e == "string" && Wt.has(e.toLowerCase());
|
|
4
4
|
function N(e = {}, t, n) {
|
|
5
5
|
const o = {};
|
|
@@ -38,7 +38,7 @@ function Ot(e, t, n, o, r, i) {
|
|
|
38
38
|
}, 16))
|
|
39
39
|
], 64));
|
|
40
40
|
}
|
|
41
|
-
const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]),
|
|
41
|
+
const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
42
42
|
__proto__: null,
|
|
43
43
|
default: Ie
|
|
44
44
|
}, Symbol.toStringTag, { value: "Module" })), z = () => {
|
|
@@ -343,7 +343,7 @@ function se(e) {
|
|
|
343
343
|
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? sn(n) : n));
|
|
344
344
|
}
|
|
345
345
|
const Oe = {};
|
|
346
|
-
function
|
|
346
|
+
function _i(e, t) {
|
|
347
347
|
e === "plugin" && (t = se(t));
|
|
348
348
|
let n = Oe[e];
|
|
349
349
|
if (n || (n = Oe[e] = []), n.push(t), E()) {
|
|
@@ -361,7 +361,7 @@ function Zi(e, t) {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function es(e) {
|
|
365
365
|
var t;
|
|
366
366
|
if (E()) {
|
|
367
367
|
const n = JSON.parse(JSON.stringify(e));
|
|
@@ -372,7 +372,7 @@ function _i(e) {
|
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
const Ue = {};
|
|
375
|
-
function
|
|
375
|
+
function ts(e) {
|
|
376
376
|
if (E()) {
|
|
377
377
|
Object.assign(Ue, e);
|
|
378
378
|
const t = {
|
|
@@ -504,7 +504,7 @@ const it = (e) => {
|
|
|
504
504
|
break;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
},
|
|
507
|
+
}, ns = ({
|
|
508
508
|
model: e,
|
|
509
509
|
apiKey: t,
|
|
510
510
|
callback: n,
|
|
@@ -666,7 +666,7 @@ function Me() {
|
|
|
666
666
|
}
|
|
667
667
|
let be;
|
|
668
668
|
E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Me()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = Me();
|
|
669
|
-
const ae = be,
|
|
669
|
+
const ae = be, os = (e) => {
|
|
670
670
|
ae.setUserAttributes(e);
|
|
671
671
|
}, K = (e) => {
|
|
672
672
|
const t = re(e) ? e : !0;
|
|
@@ -753,7 +753,7 @@ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ee = (
|
|
|
753
753
|
};
|
|
754
754
|
W = {
|
|
755
755
|
...W,
|
|
756
|
-
...
|
|
756
|
+
...wn(J)
|
|
757
757
|
};
|
|
758
758
|
const G = ge(J);
|
|
759
759
|
for (const D in G)
|
|
@@ -766,21 +766,21 @@ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ee = (
|
|
|
766
766
|
T.searchParams.set(H, JSON.stringify(D[H]));
|
|
767
767
|
}
|
|
768
768
|
return T;
|
|
769
|
-
}, Cn = (e) => {
|
|
769
|
+
}, Cn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, Tn = (e) => {
|
|
770
770
|
const t = {};
|
|
771
771
|
for (const n in e)
|
|
772
|
-
n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
|
|
772
|
+
n.startsWith("userAttributes.") && (t[n] = Cn(e[n]), delete e[n]);
|
|
773
773
|
return t;
|
|
774
|
-
},
|
|
774
|
+
}, wn = (e) => {
|
|
775
775
|
if (E() && e.preview === "BUILDER_STUDIO") {
|
|
776
776
|
e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
|
|
777
|
-
const t =
|
|
777
|
+
const t = Tn(e), {
|
|
778
778
|
userAttributes: n
|
|
779
779
|
} = Sn(t);
|
|
780
780
|
return n;
|
|
781
781
|
}
|
|
782
782
|
return {};
|
|
783
|
-
},
|
|
783
|
+
}, In = (e) => "results" in e;
|
|
784
784
|
async function Pe(e) {
|
|
785
785
|
var o;
|
|
786
786
|
const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
|
|
@@ -788,13 +788,13 @@ async function Pe(e) {
|
|
|
788
788
|
locale: t,
|
|
789
789
|
...e.userAttributes
|
|
790
790
|
});
|
|
791
|
-
const n = await
|
|
791
|
+
const n = await En({
|
|
792
792
|
...e,
|
|
793
793
|
limit: 1
|
|
794
794
|
});
|
|
795
795
|
return n && n[0] || null;
|
|
796
796
|
}
|
|
797
|
-
const
|
|
797
|
+
const $n = async (e) => {
|
|
798
798
|
var s;
|
|
799
799
|
const t = Ee(e), n = e.fetch ?? vn, o = {
|
|
800
800
|
...e.fetchOptions,
|
|
@@ -804,7 +804,7 @@ const In = async (e) => {
|
|
|
804
804
|
}
|
|
805
805
|
};
|
|
806
806
|
return await (await n(t.href, o)).json();
|
|
807
|
-
},
|
|
807
|
+
}, Rn = async (e, t, n = Ee(e)) => {
|
|
808
808
|
const o = K(e.canTrack);
|
|
809
809
|
if (n.search.includes("preview="), !o || !(E() || R === "reactNative"))
|
|
810
810
|
return t.results;
|
|
@@ -821,17 +821,17 @@ const In = async (e) => {
|
|
|
821
821
|
}
|
|
822
822
|
return t.results;
|
|
823
823
|
};
|
|
824
|
-
async function
|
|
825
|
-
const t = Ee(e), n = await
|
|
826
|
-
if (!
|
|
824
|
+
async function En(e) {
|
|
825
|
+
const t = Ee(e), n = await $n(e);
|
|
826
|
+
if (!In(n))
|
|
827
827
|
throw L.error("Error fetching data. ", {
|
|
828
828
|
url: t,
|
|
829
829
|
content: n,
|
|
830
830
|
options: e
|
|
831
831
|
}), n;
|
|
832
|
-
return
|
|
832
|
+
return Rn(e, n);
|
|
833
833
|
}
|
|
834
|
-
const
|
|
834
|
+
const rs = async (e) => {
|
|
835
835
|
var o, r, i;
|
|
836
836
|
const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
|
|
837
837
|
...e,
|
|
@@ -851,7 +851,7 @@ const os = async (e) => {
|
|
|
851
851
|
content: await Pe(n)
|
|
852
852
|
};
|
|
853
853
|
}, Ae = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
854
|
-
function
|
|
854
|
+
function Pn(e, t, n = {}) {
|
|
855
855
|
let o, r, i, s = null, l = 0;
|
|
856
856
|
const a = function() {
|
|
857
857
|
l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
|
|
@@ -873,14 +873,14 @@ function X(e, ...t) {
|
|
|
873
873
|
}
|
|
874
874
|
return n;
|
|
875
875
|
}
|
|
876
|
-
function
|
|
876
|
+
function An(e) {
|
|
877
877
|
for (const t of e)
|
|
878
878
|
switch (t.trigger) {
|
|
879
879
|
case "pageLoad":
|
|
880
880
|
mt(t);
|
|
881
881
|
break;
|
|
882
882
|
case "scrollInView":
|
|
883
|
-
|
|
883
|
+
Vn(t);
|
|
884
884
|
break;
|
|
885
885
|
}
|
|
886
886
|
}
|
|
@@ -888,12 +888,12 @@ function ut(e) {
|
|
|
888
888
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
889
889
|
}
|
|
890
890
|
function pt(e, t) {
|
|
891
|
-
const n =
|
|
891
|
+
const n = Bn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
|
|
892
892
|
for (const l of s)
|
|
893
893
|
for (const a of n)
|
|
894
894
|
a in l || (l[a] = o[a]);
|
|
895
895
|
}
|
|
896
|
-
function
|
|
896
|
+
function Bn(e) {
|
|
897
897
|
const t = [];
|
|
898
898
|
for (const n of e.steps)
|
|
899
899
|
for (const o in n.styles)
|
|
@@ -914,7 +914,7 @@ function mt(e) {
|
|
|
914
914
|
});
|
|
915
915
|
});
|
|
916
916
|
}
|
|
917
|
-
function
|
|
917
|
+
function Vn(e) {
|
|
918
918
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
919
919
|
if (!t.length) {
|
|
920
920
|
ut(e.elementId || e.id || "");
|
|
@@ -930,7 +930,7 @@ function Bn(e) {
|
|
|
930
930
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
931
931
|
})) : e.repeat && o && !r && !l(n) && (o = !1, X(n.style, e.steps[0].styles));
|
|
932
932
|
}
|
|
933
|
-
const s =
|
|
933
|
+
const s = Pn(i, 200, {
|
|
934
934
|
leading: !1
|
|
935
935
|
});
|
|
936
936
|
function l(p) {
|
|
@@ -952,28 +952,28 @@ function Bn(e) {
|
|
|
952
952
|
const ht = (e) => Object.entries(e).map(([n, o]) => {
|
|
953
953
|
if (typeof o == "string")
|
|
954
954
|
return `${Ae(n)}: ${o};`;
|
|
955
|
-
}).filter(re),
|
|
956
|
-
`),
|
|
955
|
+
}).filter(re), Nn = (e) => ht(e).join(`
|
|
956
|
+
`), is = ({
|
|
957
957
|
mediaQuery: e,
|
|
958
958
|
className: t,
|
|
959
959
|
styles: n
|
|
960
960
|
}) => {
|
|
961
961
|
const o = `.${t} {
|
|
962
|
-
${
|
|
962
|
+
${Nn(n)}
|
|
963
963
|
}`;
|
|
964
964
|
return e ? `${e} {
|
|
965
965
|
${o}
|
|
966
966
|
}` : o;
|
|
967
967
|
};
|
|
968
|
-
function
|
|
968
|
+
function Wn({
|
|
969
969
|
style: e
|
|
970
970
|
}) {
|
|
971
971
|
return e;
|
|
972
972
|
}
|
|
973
|
-
const
|
|
973
|
+
const ss = ({
|
|
974
974
|
block: e,
|
|
975
975
|
context: t
|
|
976
|
-
}) => ft(
|
|
976
|
+
}) => ft(Wn({
|
|
977
977
|
style: e.style || {},
|
|
978
978
|
context: t,
|
|
979
979
|
block: e
|
|
@@ -992,7 +992,7 @@ function ft(e) {
|
|
|
992
992
|
return e;
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
|
-
const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0,
|
|
995
|
+
const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Dn = ({
|
|
996
996
|
block: e,
|
|
997
997
|
registeredComponents: t,
|
|
998
998
|
model: n
|
|
@@ -1009,7 +1009,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1009
1009
|
return;
|
|
1010
1010
|
} else
|
|
1011
1011
|
return r;
|
|
1012
|
-
},
|
|
1012
|
+
}, xn = ({
|
|
1013
1013
|
block: e,
|
|
1014
1014
|
context: t
|
|
1015
1015
|
}) => {
|
|
@@ -1042,59 +1042,59 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1042
1042
|
},
|
|
1043
1043
|
block: o
|
|
1044
1044
|
}));
|
|
1045
|
-
},
|
|
1045
|
+
}, On = (e, t) => {
|
|
1046
1046
|
var n;
|
|
1047
1047
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
1048
1048
|
builderLinkComponent: t
|
|
1049
1049
|
} : {};
|
|
1050
|
-
},
|
|
1050
|
+
}, Un = (e, t, n) => {
|
|
1051
1051
|
var o;
|
|
1052
1052
|
return (o = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && o.builderComponents ? {
|
|
1053
1053
|
builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !bt(s, n)))
|
|
1054
1054
|
} : {};
|
|
1055
|
-
},
|
|
1055
|
+
}, Fn = (e, t) => {
|
|
1056
1056
|
var n;
|
|
1057
1057
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
1058
1058
|
builderBlock: t
|
|
1059
1059
|
} : {};
|
|
1060
|
-
},
|
|
1060
|
+
}, Ln = (e, t) => {
|
|
1061
1061
|
var n;
|
|
1062
1062
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
1063
1063
|
builderContext: t
|
|
1064
1064
|
} : {};
|
|
1065
|
-
},
|
|
1065
|
+
}, Hn = (e) => e.toString(), Mn = () => Promise.resolve().then(() => no).then((e) => e.default).catch((e) => {
|
|
1066
1066
|
throw console.error(
|
|
1067
1067
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1068
1068
|
e
|
|
1069
1069
|
), e;
|
|
1070
|
-
}),
|
|
1070
|
+
}), zn = () => import("./block-wrapper-heMQ0bQW.js").then((e) => e.default).catch((e) => {
|
|
1071
1071
|
throw console.error(
|
|
1072
1072
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1073
1073
|
e
|
|
1074
1074
|
), e;
|
|
1075
|
-
}),
|
|
1075
|
+
}), jn = () => import("./component-ref-w7KWdZU9.js").then((e) => e.default).catch((e) => {
|
|
1076
1076
|
throw console.error(
|
|
1077
1077
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1078
1078
|
e
|
|
1079
1079
|
), e;
|
|
1080
|
-
}),
|
|
1080
|
+
}), qn = () => import("./repeated-block-h_P0vHI5.js").then((e) => e.default).catch((e) => {
|
|
1081
1081
|
throw console.error(
|
|
1082
1082
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1083
1083
|
e
|
|
1084
1084
|
), e;
|
|
1085
|
-
}),
|
|
1085
|
+
}), Kn = () => import("./style-wrapper-MI0wKmtS.js").then((e) => e.default).catch((e) => {
|
|
1086
1086
|
throw console.error(
|
|
1087
1087
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
1088
1088
|
e
|
|
1089
1089
|
), e;
|
|
1090
|
-
}),
|
|
1090
|
+
}), Jn = y({
|
|
1091
1091
|
name: "block",
|
|
1092
1092
|
components: {
|
|
1093
|
-
StyleWrapper: Q(
|
|
1094
|
-
RepeatedBlock: Q(
|
|
1095
|
-
ComponentRef: Q(
|
|
1096
|
-
BlockWrapper: Q(
|
|
1097
|
-
DynamicDiv: Q(
|
|
1093
|
+
StyleWrapper: Q(Kn),
|
|
1094
|
+
RepeatedBlock: Q(qn),
|
|
1095
|
+
ComponentRef: Q(jn),
|
|
1096
|
+
BlockWrapper: Q(zn),
|
|
1097
|
+
DynamicDiv: Q(Mn)
|
|
1098
1098
|
},
|
|
1099
1099
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
1100
1100
|
data() {
|
|
@@ -1103,12 +1103,12 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1103
1103
|
value: null,
|
|
1104
1104
|
update: !1
|
|
1105
1105
|
},
|
|
1106
|
-
generateKey:
|
|
1106
|
+
generateKey: Hn
|
|
1107
1107
|
};
|
|
1108
1108
|
},
|
|
1109
1109
|
mounted() {
|
|
1110
1110
|
const e = this.processedBlock.id, t = this.processedBlock.animations;
|
|
1111
|
-
t && e &&
|
|
1111
|
+
t && e && An(
|
|
1112
1112
|
t.map((n) => ({
|
|
1113
1113
|
...n,
|
|
1114
1114
|
elementId: e
|
|
@@ -1119,7 +1119,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1119
1119
|
},
|
|
1120
1120
|
computed: {
|
|
1121
1121
|
repeatItem() {
|
|
1122
|
-
return
|
|
1122
|
+
return xn({
|
|
1123
1123
|
block: this.block,
|
|
1124
1124
|
context: this.context
|
|
1125
1125
|
});
|
|
@@ -1135,7 +1135,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1135
1135
|
});
|
|
1136
1136
|
},
|
|
1137
1137
|
blockComponent() {
|
|
1138
|
-
return
|
|
1138
|
+
return Dn({
|
|
1139
1139
|
block: this.processedBlock,
|
|
1140
1140
|
registeredComponents: this.registeredComponents,
|
|
1141
1141
|
model: this.context.model
|
|
@@ -1163,10 +1163,10 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1163
1163
|
componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
|
|
1164
1164
|
componentOptions: {
|
|
1165
1165
|
...Gt(this.processedBlock, this.context),
|
|
1166
|
-
...
|
|
1167
|
-
...
|
|
1168
|
-
...
|
|
1169
|
-
...
|
|
1166
|
+
...Fn(this.blockComponent, this.processedBlock),
|
|
1167
|
+
...Ln(this.blockComponent, this.context),
|
|
1168
|
+
...On(this.blockComponent, this.linkComponent),
|
|
1169
|
+
...Un(
|
|
1170
1170
|
this.blockComponent,
|
|
1171
1171
|
this.registeredComponents,
|
|
1172
1172
|
this.context.model
|
|
@@ -1182,7 +1182,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
1184
|
});
|
|
1185
|
-
function
|
|
1185
|
+
function Gn(e, t, n, o, r, i) {
|
|
1186
1186
|
var f;
|
|
1187
1187
|
const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
|
|
1188
1188
|
return e.canShowBlock ? (d(), h(w, { key: 0 }, [
|
|
@@ -1248,10 +1248,10 @@ function Jn(e, t, n, o, r, i) {
|
|
|
1248
1248
|
], 64))
|
|
1249
1249
|
], 64)) : C("", !0);
|
|
1250
1250
|
}
|
|
1251
|
-
const gt = /* @__PURE__ */ v(
|
|
1251
|
+
const gt = /* @__PURE__ */ v(Jn, [["render", Gn]]), as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1252
1252
|
__proto__: null,
|
|
1253
1253
|
default: gt
|
|
1254
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1254
|
+
}, Symbol.toStringTag, { value: "Module" })), Qn = y({
|
|
1255
1255
|
name: "builder-blocks-wrapper",
|
|
1256
1256
|
props: [
|
|
1257
1257
|
"blocks",
|
|
@@ -1321,7 +1321,7 @@ const gt = /* @__PURE__ */ v(Kn, [["render", Jn]]), ss = /* @__PURE__ */ Object.
|
|
|
1321
1321
|
}
|
|
1322
1322
|
}
|
|
1323
1323
|
});
|
|
1324
|
-
function
|
|
1324
|
+
function Yn(e, t, n, o, r, i) {
|
|
1325
1325
|
return d(), S(Y(e.BlocksWrapper), I({
|
|
1326
1326
|
ref: "blocksWrapperRef",
|
|
1327
1327
|
class: e.className + " component-5vz8uirn7sc",
|
|
@@ -1338,9 +1338,9 @@ function Qn(e, t, n, o, r, i) {
|
|
|
1338
1338
|
_: 3
|
|
1339
1339
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
1340
1340
|
}
|
|
1341
|
-
const
|
|
1341
|
+
const Xn = /* @__PURE__ */ v(Qn, [["render", Yn], ["__scopeId", "data-v-82fc93d6"]]), Zn = y({
|
|
1342
1342
|
name: "builder-blocks",
|
|
1343
|
-
components: { BlocksWrapper:
|
|
1343
|
+
components: { BlocksWrapper: Xn, Block: gt },
|
|
1344
1344
|
props: [
|
|
1345
1345
|
"blocks",
|
|
1346
1346
|
"parent",
|
|
@@ -1357,7 +1357,7 @@ const Yn = /* @__PURE__ */ v(Gn, [["render", Qn], ["__scopeId", "data-v-82fc93d6
|
|
|
1357
1357
|
componentsContext: et.key
|
|
1358
1358
|
}
|
|
1359
1359
|
});
|
|
1360
|
-
function
|
|
1360
|
+
function _n(e, t, n, o, r, i) {
|
|
1361
1361
|
var a, u, p, f;
|
|
1362
1362
|
const s = k("Block"), l = k("BlocksWrapper");
|
|
1363
1363
|
return d(), S(l, {
|
|
@@ -1385,16 +1385,16 @@ function Zn(e, t, n, o, r, i) {
|
|
|
1385
1385
|
_: 3
|
|
1386
1386
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
1387
1387
|
}
|
|
1388
|
-
const j = /* @__PURE__ */ v(
|
|
1388
|
+
const j = /* @__PURE__ */ v(Zn, [["render", _n]]), eo = y({
|
|
1389
1389
|
name: "dynamic-div",
|
|
1390
1390
|
props: []
|
|
1391
1391
|
});
|
|
1392
|
-
function
|
|
1392
|
+
function to(e, t, n, o, r, i) {
|
|
1393
1393
|
return d(), h("div", null, [
|
|
1394
1394
|
V(e.$slots, "default")
|
|
1395
1395
|
]);
|
|
1396
1396
|
}
|
|
1397
|
-
const ee = /* @__PURE__ */ v(
|
|
1397
|
+
const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1398
1398
|
__proto__: null,
|
|
1399
1399
|
default: ee
|
|
1400
1400
|
}, Symbol.toStringTag, { value: "Module" })), ce = y({
|
|
@@ -1428,7 +1428,7 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
|
|
|
1428
1428
|
default: 991,
|
|
1429
1429
|
max: 1200
|
|
1430
1430
|
}
|
|
1431
|
-
},
|
|
1431
|
+
}, ls = (e, t = yt) => `@media (max-width: ${t[e].max}px)`, oo = (e) => {
|
|
1432
1432
|
const t = Te(yt);
|
|
1433
1433
|
if (!e)
|
|
1434
1434
|
return t;
|
|
@@ -1466,7 +1466,7 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
|
|
|
1466
1466
|
min: l,
|
|
1467
1467
|
default: l + 1
|
|
1468
1468
|
}, t;
|
|
1469
|
-
},
|
|
1469
|
+
}, ro = (e) => `builder-columns ${e}-breakpoints`, io = y({
|
|
1470
1470
|
name: "builder-columns",
|
|
1471
1471
|
components: {
|
|
1472
1472
|
InlinedStyles: ce,
|
|
@@ -1485,7 +1485,7 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
|
|
|
1485
1485
|
"builderComponents"
|
|
1486
1486
|
],
|
|
1487
1487
|
data() {
|
|
1488
|
-
return { TARGET: R, getColumnsClass:
|
|
1488
|
+
return { TARGET: R, getColumnsClass: ro };
|
|
1489
1489
|
},
|
|
1490
1490
|
computed: {
|
|
1491
1491
|
gutterSize() {
|
|
@@ -1564,7 +1564,7 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
|
|
|
1564
1564
|
},
|
|
1565
1565
|
getWidthForBreakpointSize(e) {
|
|
1566
1566
|
var n, o;
|
|
1567
|
-
return
|
|
1567
|
+
return oo(
|
|
1568
1568
|
((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
|
|
1569
1569
|
)[e].max;
|
|
1570
1570
|
},
|
|
@@ -1607,7 +1607,7 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
|
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
1609
|
});
|
|
1610
|
-
function
|
|
1610
|
+
function so(e, t, n, o, r, i) {
|
|
1611
1611
|
var u;
|
|
1612
1612
|
const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
|
|
1613
1613
|
return d(), h("div", I({
|
|
@@ -1643,24 +1643,24 @@ function io(e, t, n, o, r, i) {
|
|
|
1643
1643
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
1644
1644
|
], 16);
|
|
1645
1645
|
}
|
|
1646
|
-
const
|
|
1646
|
+
const ao = /* @__PURE__ */ v(io, [["render", so], ["__scopeId", "data-v-ab15749a"]]), lo = y({
|
|
1647
1647
|
name: "builder-fragment-component",
|
|
1648
1648
|
props: []
|
|
1649
1649
|
});
|
|
1650
|
-
function
|
|
1650
|
+
function co(e, t, n, o, r, i) {
|
|
1651
1651
|
return d(), h("span", null, [
|
|
1652
1652
|
V(e.$slots, "default")
|
|
1653
1653
|
]);
|
|
1654
1654
|
}
|
|
1655
|
-
const
|
|
1655
|
+
const uo = /* @__PURE__ */ v(lo, [["render", co]]);
|
|
1656
1656
|
function je(e) {
|
|
1657
1657
|
return e.replace(/http(s)?:/, "");
|
|
1658
1658
|
}
|
|
1659
|
-
function
|
|
1659
|
+
function po(e = "", t, n) {
|
|
1660
1660
|
const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
|
|
1661
1661
|
return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
|
|
1662
1662
|
}
|
|
1663
|
-
function
|
|
1663
|
+
function mo(e, t) {
|
|
1664
1664
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
1665
1665
|
return e;
|
|
1666
1666
|
if (t === "master")
|
|
@@ -1679,11 +1679,11 @@ function te(e) {
|
|
|
1679
1679
|
if (e.match(/builder\.io/)) {
|
|
1680
1680
|
let n = e;
|
|
1681
1681
|
const o = Number(e.split("?width=")[1]);
|
|
1682
|
-
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${
|
|
1682
|
+
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${po(e, "width", r)} ${r}w`).concat([n]).join(", ");
|
|
1683
1683
|
}
|
|
1684
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
1684
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [mo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
|
|
1685
1685
|
}
|
|
1686
|
-
const
|
|
1686
|
+
const ho = y({
|
|
1687
1687
|
name: "builder-image",
|
|
1688
1688
|
props: [
|
|
1689
1689
|
"lazy",
|
|
@@ -1737,11 +1737,11 @@ const mo = y({
|
|
|
1737
1737
|
return this.aspectRatio ? e : void 0;
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
|
-
}),
|
|
1740
|
+
}), fo = ["srcset", "sizes"], bo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], go = {
|
|
1741
1741
|
key: 2,
|
|
1742
1742
|
class: "div-t43jfuqn6g-2"
|
|
1743
1743
|
};
|
|
1744
|
-
function
|
|
1744
|
+
function yo(e, t, n, o, r, i) {
|
|
1745
1745
|
var s, l, a, u, p, f;
|
|
1746
1746
|
return d(), h(w, null, [
|
|
1747
1747
|
q("picture", null, [
|
|
@@ -1750,7 +1750,7 @@ function go(e, t, n, o, r, i) {
|
|
|
1750
1750
|
type: "image/webp",
|
|
1751
1751
|
srcset: e.webpSrcSet,
|
|
1752
1752
|
sizes: e.sizesToUse
|
|
1753
|
-
}, null, 8,
|
|
1753
|
+
}, null, 8, fo)) : C("", !0),
|
|
1754
1754
|
q("img", {
|
|
1755
1755
|
loading: e.highPriority ? "eager" : "lazy",
|
|
1756
1756
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
@@ -1768,7 +1768,7 @@ function go(e, t, n, o, r, i) {
|
|
|
1768
1768
|
src: e.image,
|
|
1769
1769
|
srcset: e.srcSetToUse,
|
|
1770
1770
|
sizes: e.sizesToUse
|
|
1771
|
-
}, null, 14,
|
|
1771
|
+
}, null, 14, bo)
|
|
1772
1772
|
]),
|
|
1773
1773
|
e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
|
|
1774
1774
|
key: 0,
|
|
@@ -1778,19 +1778,19 @@ function go(e, t, n, o, r, i) {
|
|
|
1778
1778
|
})
|
|
1779
1779
|
}, null, 4)) : C("", !0),
|
|
1780
1780
|
(u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? V(e.$slots, "default", { key: 1 }, void 0, !0) : C("", !0),
|
|
1781
|
-
!e.fitContent && ((f = (p = e.builderBlock) == null ? void 0 : p.children) != null && f.length) ? (d(), h("div",
|
|
1781
|
+
!e.fitContent && ((f = (p = e.builderBlock) == null ? void 0 : p.children) != null && f.length) ? (d(), h("div", go, [
|
|
1782
1782
|
V(e.$slots, "default", {}, void 0, !0)
|
|
1783
1783
|
])) : C("", !0)
|
|
1784
1784
|
], 64);
|
|
1785
1785
|
}
|
|
1786
|
-
const
|
|
1786
|
+
const vo = /* @__PURE__ */ v(ho, [["render", yo], ["__scopeId", "data-v-bb2384ad"]]), So = y({
|
|
1787
1787
|
name: "builder-section-component",
|
|
1788
1788
|
props: ["attributes", "maxWidth"],
|
|
1789
1789
|
data() {
|
|
1790
1790
|
return { filterAttrs: N };
|
|
1791
1791
|
}
|
|
1792
1792
|
});
|
|
1793
|
-
function
|
|
1793
|
+
function ko(e, t, n, o, r, i) {
|
|
1794
1794
|
return d(), h("section", I({
|
|
1795
1795
|
style: {
|
|
1796
1796
|
width: "100%",
|
|
@@ -1808,8 +1808,8 @@ function So(e, t, n, o, r, i) {
|
|
|
1808
1808
|
V(e.$slots, "default")
|
|
1809
1809
|
], 16);
|
|
1810
1810
|
}
|
|
1811
|
-
const
|
|
1812
|
-
function
|
|
1811
|
+
const Co = /* @__PURE__ */ v(So, [["render", ko]]);
|
|
1812
|
+
function To(e, t, n, o) {
|
|
1813
1813
|
function r(u) {
|
|
1814
1814
|
return typeof u == "string";
|
|
1815
1815
|
}
|
|
@@ -1866,7 +1866,7 @@ function Co(e, t, n, o) {
|
|
|
1866
1866
|
}, a = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
1867
1867
|
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));
|
|
1868
1868
|
}
|
|
1869
|
-
const
|
|
1869
|
+
const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
|
|
1870
1870
|
if (!navigator.cookieEnabled) {
|
|
1871
1871
|
return;
|
|
1872
1872
|
}
|
|
@@ -1911,7 +1911,7 @@ const To = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
1911
1911
|
thisScript.remove();
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
|
-
}`,
|
|
1914
|
+
}`, Io = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
|
|
1915
1915
|
function isString(val) {
|
|
1916
1916
|
return typeof val === 'string';
|
|
1917
1917
|
}
|
|
@@ -1989,7 +1989,7 @@ const To = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
1989
1989
|
return item.query.every(filter => {
|
|
1990
1990
|
return objectMatchesQuery(userAttributes, filter);
|
|
1991
1991
|
});
|
|
1992
|
-
}`,
|
|
1992
|
+
}`, $o = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
|
|
1993
1993
|
function getCookie(name) {
|
|
1994
1994
|
const nameEQ = name + '=';
|
|
1995
1995
|
const ca = document.cookie.split(';');
|
|
@@ -2027,11 +2027,11 @@ const To = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
2027
2027
|
visibilityStylesEl.innerHTML = newStyleStr;
|
|
2028
2028
|
}
|
|
2029
2029
|
}
|
|
2030
|
-
}`, ne = "default", qe = "filterWithCustomTargeting", ye = "builderIoPersonalization", ve = "updateVisibilityStylesScript",
|
|
2031
|
-
function
|
|
2030
|
+
}`, ne = "default", qe = "filterWithCustomTargeting", ye = "builderIoPersonalization", ve = "updateVisibilityStylesScript", Ro = "PersonalizationContainer", vt = ["react", "vue", "svelte", "qwik"], St = ["vue", "svelte", "qwik"];
|
|
2031
|
+
function Eo(e, t) {
|
|
2032
2032
|
return !(e && e.length > 0) || !t ? !1 : St.includes(R) ? !0 : !E();
|
|
2033
2033
|
}
|
|
2034
|
-
function
|
|
2034
|
+
function Po({
|
|
2035
2035
|
variants: e,
|
|
2036
2036
|
previewingIndex: t,
|
|
2037
2037
|
isHydrated: n,
|
|
@@ -2071,20 +2071,20 @@ function Eo({
|
|
|
2071
2071
|
}
|
|
2072
2072
|
const Se = (e) => {
|
|
2073
2073
|
var t;
|
|
2074
|
-
return Array.isArray(e) ? e.some(Se) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) ===
|
|
2075
|
-
},
|
|
2074
|
+
return Array.isArray(e) ? e.some(Se) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Ro ? !0 : Object.values(e).some(Se);
|
|
2075
|
+
}, Ao = (e) => Se(e), Bo = () => `
|
|
2076
2076
|
(function() {
|
|
2077
2077
|
if (!window.${qe}) {
|
|
2078
|
-
window.${qe} = ${
|
|
2078
|
+
window.${qe} = ${Io};
|
|
2079
2079
|
}
|
|
2080
2080
|
if (!window.${ye}) {
|
|
2081
|
-
window.${ye} = ${
|
|
2081
|
+
window.${ye} = ${wo};
|
|
2082
2082
|
}
|
|
2083
2083
|
if (!window.${ve}) {
|
|
2084
|
-
window.${ve} = ${
|
|
2084
|
+
window.${ve} = ${$o};
|
|
2085
2085
|
}
|
|
2086
2086
|
})();
|
|
2087
|
-
`, kt = R === "react",
|
|
2087
|
+
`, kt = R === "react", Vo = (e, t, n) => `window.${ye}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, No = (e, t, n) => `window.${ve}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, de = {
|
|
2088
2088
|
"@type": "@builder.io/sdk:Element",
|
|
2089
2089
|
layerName: "Accordion item title",
|
|
2090
2090
|
responsiveStyles: {
|
|
@@ -2144,7 +2144,7 @@ const Se = (e) => {
|
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
2146
2146
|
}]
|
|
2147
|
-
},
|
|
2147
|
+
}, Wo = {
|
|
2148
2148
|
name: "Builder:Accordion",
|
|
2149
2149
|
canHaveChildren: !0,
|
|
2150
2150
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -2208,7 +2208,7 @@ const Se = (e) => {
|
|
|
2208
2208
|
builderComponents: !0,
|
|
2209
2209
|
builderLinkComponent: !0
|
|
2210
2210
|
}
|
|
2211
|
-
},
|
|
2211
|
+
}, Do = (e) => e.toString(), xo = y({
|
|
2212
2212
|
name: "builder-accordion",
|
|
2213
2213
|
components: { Blocks: j },
|
|
2214
2214
|
props: [
|
|
@@ -2222,7 +2222,7 @@ const Se = (e) => {
|
|
|
2222
2222
|
"builderLinkComponent"
|
|
2223
2223
|
],
|
|
2224
2224
|
data() {
|
|
2225
|
-
return { open: [], convertOrderNumberToString:
|
|
2225
|
+
return { open: [], convertOrderNumberToString: Do };
|
|
2226
2226
|
},
|
|
2227
2227
|
computed: {
|
|
2228
2228
|
onlyOneAtATime() {
|
|
@@ -2303,8 +2303,8 @@ const Se = (e) => {
|
|
|
2303
2303
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
2304
2304
|
}
|
|
2305
2305
|
}
|
|
2306
|
-
}),
|
|
2307
|
-
function
|
|
2306
|
+
}), Oo = ["data-index", "onClick"];
|
|
2307
|
+
function Uo(e, t, n, o, r, i) {
|
|
2308
2308
|
const s = k("Blocks");
|
|
2309
2309
|
return d(), h("div", {
|
|
2310
2310
|
class: "builder-accordion",
|
|
@@ -2331,7 +2331,7 @@ function Oo(e, t, n, o, r, i) {
|
|
|
2331
2331
|
registeredComponents: e.builderComponents,
|
|
2332
2332
|
linkComponent: e.builderLinkComponent
|
|
2333
2333
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
2334
|
-
], 14,
|
|
2334
|
+
], 14, Oo),
|
|
2335
2335
|
e.open.includes(a) ? (d(), h("div", {
|
|
2336
2336
|
key: 0,
|
|
2337
2337
|
class: Z(e.getAccordionDetailClassName(a)),
|
|
@@ -2349,7 +2349,7 @@ function Oo(e, t, n, o, r, i) {
|
|
|
2349
2349
|
], 64))), 128))
|
|
2350
2350
|
], 4);
|
|
2351
2351
|
}
|
|
2352
|
-
const
|
|
2352
|
+
const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
|
|
2353
2353
|
name: "Core:Button",
|
|
2354
2354
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
2355
2355
|
defaultStyles: {
|
|
@@ -2385,7 +2385,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
|
|
|
2385
2385
|
shouldReceiveBuilderProps: {
|
|
2386
2386
|
builderLinkComponent: !0
|
|
2387
2387
|
}
|
|
2388
|
-
},
|
|
2388
|
+
}, Ho = {
|
|
2389
2389
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
2390
2390
|
name: "Columns",
|
|
2391
2391
|
isRSC: !0,
|
|
@@ -2592,13 +2592,13 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
|
|
|
2592
2592
|
builderComponents: !0,
|
|
2593
2593
|
builderLinkComponent: !0
|
|
2594
2594
|
}
|
|
2595
|
-
},
|
|
2595
|
+
}, Mo = {
|
|
2596
2596
|
name: "Fragment",
|
|
2597
2597
|
static: !0,
|
|
2598
2598
|
hidden: !0,
|
|
2599
2599
|
canHaveChildren: !0,
|
|
2600
2600
|
noWrap: !0
|
|
2601
|
-
}, Be = ["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"],
|
|
2601
|
+
}, Be = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], zo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], jo = {
|
|
2602
2602
|
name: "Image",
|
|
2603
2603
|
static: !0,
|
|
2604
2604
|
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",
|
|
@@ -2711,7 +2711,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
|
|
|
2711
2711
|
shouldReceiveBuilderProps: {
|
|
2712
2712
|
builderBlock: !0
|
|
2713
2713
|
}
|
|
2714
|
-
},
|
|
2714
|
+
}, qo = {
|
|
2715
2715
|
name: "PersonalizationContainer",
|
|
2716
2716
|
shouldReceiveBuilderProps: {
|
|
2717
2717
|
builderBlock: !0,
|
|
@@ -2757,7 +2757,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
|
|
|
2757
2757
|
},
|
|
2758
2758
|
name: "inlined-script",
|
|
2759
2759
|
props: ["scriptStr", "id", "nonce"]
|
|
2760
|
-
}),
|
|
2760
|
+
}), Ko = y({
|
|
2761
2761
|
name: "builder-personalization-container",
|
|
2762
2762
|
components: {
|
|
2763
2763
|
Blocks: j,
|
|
@@ -2776,18 +2776,18 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
|
|
|
2776
2776
|
var e, t, n, o, r, i, s;
|
|
2777
2777
|
return {
|
|
2778
2778
|
userAttributes: ae.getUserAttributes(),
|
|
2779
|
-
scriptStr:
|
|
2779
|
+
scriptStr: Vo(
|
|
2780
2780
|
this.variants,
|
|
2781
2781
|
((e = this.builderBlock) == null ? void 0 : e.id) || "none",
|
|
2782
2782
|
(n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
|
|
2783
2783
|
),
|
|
2784
|
-
updateVisibilityStylesScript:
|
|
2784
|
+
updateVisibilityStylesScript: No(
|
|
2785
2785
|
this.variants,
|
|
2786
2786
|
((o = this.builderBlock) == null ? void 0 : o.id) || "none",
|
|
2787
2787
|
(i = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : i.locale
|
|
2788
2788
|
),
|
|
2789
2789
|
unsubscribers: [],
|
|
2790
|
-
shouldRenderVariants:
|
|
2790
|
+
shouldRenderVariants: Eo(
|
|
2791
2791
|
this.variants,
|
|
2792
2792
|
K((s = this.builderContext) == null ? void 0 : s.canTrack)
|
|
2793
2793
|
),
|
|
@@ -2849,7 +2849,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
|
|
|
2849
2849
|
filteredVariants() {
|
|
2850
2850
|
return (this.variants || []).filter((e) => {
|
|
2851
2851
|
var t, n, o, r;
|
|
2852
|
-
return
|
|
2852
|
+
return To(
|
|
2853
2853
|
{
|
|
2854
2854
|
...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
|
|
2855
2855
|
locale: (r = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : r.locale
|
|
@@ -2864,7 +2864,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
|
|
|
2864
2864
|
},
|
|
2865
2865
|
blocksToRender() {
|
|
2866
2866
|
var e;
|
|
2867
|
-
return
|
|
2867
|
+
return Po({
|
|
2868
2868
|
variants: this.variants,
|
|
2869
2869
|
fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
|
|
2870
2870
|
isHydrated: this.shouldResetVariants,
|
|
@@ -2882,7 +2882,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
|
|
|
2882
2882
|
}
|
|
2883
2883
|
}
|
|
2884
2884
|
});
|
|
2885
|
-
function
|
|
2885
|
+
function Jo(e, t, n, o, r, i) {
|
|
2886
2886
|
var u, p, f, c, m, b, g, P, O, B;
|
|
2887
2887
|
const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
|
|
2888
2888
|
return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
|
|
@@ -2967,7 +2967,7 @@ function Ko(e, t, n, o, r, i) {
|
|
|
2967
2967
|
], 64)) : C("", !0)
|
|
2968
2968
|
], 16);
|
|
2969
2969
|
}
|
|
2970
|
-
const
|
|
2970
|
+
const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
|
|
2971
2971
|
name: "Core:Section",
|
|
2972
2972
|
static: !0,
|
|
2973
2973
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3006,7 +3006,7 @@ const Jo = /* @__PURE__ */ v(qo, [["render", Ko]]), Go = {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
}
|
|
3008
3008
|
}]
|
|
3009
|
-
},
|
|
3009
|
+
}, Yo = {
|
|
3010
3010
|
name: "Slot",
|
|
3011
3011
|
isRSC: !0,
|
|
3012
3012
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -3023,12 +3023,12 @@ const Jo = /* @__PURE__ */ v(qo, [["render", Ko]]), Go = {
|
|
|
3023
3023
|
builderContext: !0,
|
|
3024
3024
|
builderComponents: !0
|
|
3025
3025
|
}
|
|
3026
|
-
},
|
|
3026
|
+
}, Xo = y({
|
|
3027
3027
|
name: "builder-slot",
|
|
3028
3028
|
components: { Blocks: j },
|
|
3029
3029
|
props: ["builderContext", "name", "builderComponents"]
|
|
3030
3030
|
});
|
|
3031
|
-
function
|
|
3031
|
+
function Zo(e, t, n, o, r, i) {
|
|
3032
3032
|
var l, a, u;
|
|
3033
3033
|
const s = k("Blocks");
|
|
3034
3034
|
return d(), h("div", I(
|
|
@@ -3048,7 +3048,7 @@ function Xo(e, t, n, o, r, i) {
|
|
|
3048
3048
|
}, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
|
|
3049
3049
|
], 16);
|
|
3050
3050
|
}
|
|
3051
|
-
const
|
|
3051
|
+
const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
|
|
3052
3052
|
name: "Symbol",
|
|
3053
3053
|
noWrap: !0,
|
|
3054
3054
|
static: !0,
|
|
@@ -3125,7 +3125,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
|
|
|
3125
3125
|
text: "New tab content "
|
|
3126
3126
|
}
|
|
3127
3127
|
}
|
|
3128
|
-
},
|
|
3128
|
+
}, tr = {
|
|
3129
3129
|
name: "Builder: Tabs",
|
|
3130
3130
|
inputs: [{
|
|
3131
3131
|
name: "tabs",
|
|
@@ -3228,7 +3228,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
|
|
|
3228
3228
|
builderComponents: !0,
|
|
3229
3229
|
builderLinkComponent: !0
|
|
3230
3230
|
}
|
|
3231
|
-
},
|
|
3231
|
+
}, nr = y({
|
|
3232
3232
|
name: "builder-tabs",
|
|
3233
3233
|
components: { Blocks: j },
|
|
3234
3234
|
props: [
|
|
@@ -3256,8 +3256,8 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
|
|
|
3256
3256
|
e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
|
|
3257
3257
|
}
|
|
3258
3258
|
}
|
|
3259
|
-
}),
|
|
3260
|
-
function
|
|
3259
|
+
}), or = ["onClick"], rr = { key: 0 };
|
|
3260
|
+
function ir(e, t, n, o, r, i) {
|
|
3261
3261
|
const s = k("Blocks");
|
|
3262
3262
|
return d(), h("div", null, [
|
|
3263
3263
|
q("div", {
|
|
@@ -3283,9 +3283,9 @@ function rr(e, t, n, o, r, i) {
|
|
|
3283
3283
|
registeredComponents: e.builderComponents,
|
|
3284
3284
|
linkComponent: e.builderLinkComponent
|
|
3285
3285
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
3286
|
-
], 14,
|
|
3286
|
+
], 14, or))), 128))
|
|
3287
3287
|
], 4),
|
|
3288
|
-
e.activeTabContent(e.activeTab) ? (d(), h("div",
|
|
3288
|
+
e.activeTabContent(e.activeTab) ? (d(), h("div", rr, [
|
|
3289
3289
|
$(s, {
|
|
3290
3290
|
parent: e.builderBlock.id,
|
|
3291
3291
|
path: `tabs.${e.activeTab}.content`,
|
|
@@ -3297,7 +3297,7 @@ function rr(e, t, n, o, r, i) {
|
|
|
3297
3297
|
])) : C("", !0)
|
|
3298
3298
|
]);
|
|
3299
3299
|
}
|
|
3300
|
-
const
|
|
3300
|
+
const sr = /* @__PURE__ */ v(nr, [["render", ir]]), ar = {
|
|
3301
3301
|
shouldReceiveBuilderProps: {},
|
|
3302
3302
|
name: "Text",
|
|
3303
3303
|
static: !0,
|
|
@@ -3315,11 +3315,11 @@ const ir = /* @__PURE__ */ v(tr, [["render", rr]]), sr = {
|
|
|
3315
3315
|
height: "auto",
|
|
3316
3316
|
textAlign: "center"
|
|
3317
3317
|
}
|
|
3318
|
-
},
|
|
3318
|
+
}, lr = y({
|
|
3319
3319
|
name: "builder-text",
|
|
3320
3320
|
props: ["text"]
|
|
3321
|
-
}),
|
|
3322
|
-
function
|
|
3321
|
+
}), cr = ["innerHTML"];
|
|
3322
|
+
function dr(e, t, n, o, r, i) {
|
|
3323
3323
|
var s;
|
|
3324
3324
|
return d(), h("div", {
|
|
3325
3325
|
class: "builder-text",
|
|
@@ -3327,9 +3327,9 @@ function cr(e, t, n, o, r, i) {
|
|
|
3327
3327
|
style: {
|
|
3328
3328
|
outline: "none"
|
|
3329
3329
|
}
|
|
3330
|
-
}, null, 8,
|
|
3330
|
+
}, null, 8, cr);
|
|
3331
3331
|
}
|
|
3332
|
-
const
|
|
3332
|
+
const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
|
|
3333
3333
|
name: "Custom Code",
|
|
3334
3334
|
static: !0,
|
|
3335
3335
|
requiredPermissions: ["editCode"],
|
|
@@ -3351,7 +3351,7 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
|
|
|
3351
3351
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
3352
3352
|
advanced: !0
|
|
3353
3353
|
}]
|
|
3354
|
-
},
|
|
3354
|
+
}, mr = y({
|
|
3355
3355
|
name: "builder-custom-code",
|
|
3356
3356
|
props: ["code", "replaceNodes"],
|
|
3357
3357
|
data() {
|
|
@@ -3410,15 +3410,15 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
|
|
|
3410
3410
|
}
|
|
3411
3411
|
}
|
|
3412
3412
|
}
|
|
3413
|
-
}),
|
|
3414
|
-
function
|
|
3413
|
+
}), hr = ["innerHTML"];
|
|
3414
|
+
function fr(e, t, n, o, r, i) {
|
|
3415
3415
|
return d(), h("div", {
|
|
3416
3416
|
ref: "elementRef",
|
|
3417
3417
|
class: Z("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
3418
3418
|
innerHTML: e.code
|
|
3419
|
-
}, null, 10,
|
|
3419
|
+
}, null, 10, hr);
|
|
3420
3420
|
}
|
|
3421
|
-
const
|
|
3421
|
+
const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
|
|
3422
3422
|
name: "Embed",
|
|
3423
3423
|
static: !0,
|
|
3424
3424
|
inputs: [{
|
|
@@ -3433,7 +3433,7 @@ const fr = /* @__PURE__ */ v(pr, [["render", hr]]), br = {
|
|
|
3433
3433
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
3434
3434
|
hideFromUI: !0
|
|
3435
3435
|
}]
|
|
3436
|
-
},
|
|
3436
|
+
}, yr = ["text/javascript", "application/javascript", "application/ecmascript"], vr = (e) => yr.includes(e.type), Sr = y({
|
|
3437
3437
|
name: "builder-embed",
|
|
3438
3438
|
props: ["content"],
|
|
3439
3439
|
data() {
|
|
@@ -3466,7 +3466,7 @@ const fr = /* @__PURE__ */ v(pr, [["render", hr]]), br = {
|
|
|
3466
3466
|
this.scriptsInserted.push(n.src);
|
|
3467
3467
|
const o = document.createElement("script");
|
|
3468
3468
|
o.async = !0, o.src = n.src, document.head.appendChild(o);
|
|
3469
|
-
} else if (
|
|
3469
|
+
} else if (vr(n) && !this.scriptsRun.includes(n.innerText))
|
|
3470
3470
|
try {
|
|
3471
3471
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
3472
3472
|
} catch (o) {
|
|
@@ -3475,15 +3475,15 @@ const fr = /* @__PURE__ */ v(pr, [["render", hr]]), br = {
|
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
}
|
|
3478
|
-
}),
|
|
3479
|
-
function
|
|
3478
|
+
}), kr = ["innerHTML"];
|
|
3479
|
+
function Cr(e, t, n, o, r, i) {
|
|
3480
3480
|
return d(), h("div", {
|
|
3481
3481
|
class: "builder-embed",
|
|
3482
3482
|
ref: "elem",
|
|
3483
3483
|
innerHTML: e.content
|
|
3484
|
-
}, null, 8,
|
|
3484
|
+
}, null, 8, kr);
|
|
3485
3485
|
}
|
|
3486
|
-
const
|
|
3486
|
+
const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
|
|
3487
3487
|
name: "Form:Form",
|
|
3488
3488
|
// editableTags: ['builder-form-error']
|
|
3489
3489
|
defaults: {
|
|
@@ -3720,10 +3720,10 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
|
|
|
3720
3720
|
builderComponents: !0,
|
|
3721
3721
|
builderLinkComponent: !0
|
|
3722
3722
|
}
|
|
3723
|
-
},
|
|
3723
|
+
}, Ir = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], $r = () => {
|
|
3724
3724
|
const e = process.env.NODE_ENV || "production";
|
|
3725
|
-
return
|
|
3726
|
-
},
|
|
3725
|
+
return Ir.includes(e) ? e : "production";
|
|
3726
|
+
}, Rr = y({
|
|
3727
3727
|
name: "builder-form-component",
|
|
3728
3728
|
components: { Blocks: j },
|
|
3729
3729
|
props: [
|
|
@@ -3834,7 +3834,7 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
|
|
|
3834
3834
|
});
|
|
3835
3835
|
return;
|
|
3836
3836
|
}
|
|
3837
|
-
const p = `${
|
|
3837
|
+
const p = `${$r() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
|
|
3838
3838
|
this.sendSubmissionsToEmail || ""
|
|
3839
3839
|
)}&name=${encodeURIComponent(this.name || "")}`, f = this.sendSubmissionsTo === "email" ? p : this.action;
|
|
3840
3840
|
_e(f), fetch(f, {
|
|
@@ -3900,11 +3900,11 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
|
|
|
3900
3900
|
}
|
|
3901
3901
|
}
|
|
3902
3902
|
}
|
|
3903
|
-
}),
|
|
3903
|
+
}), Er = ["validate", "action", "method", "name"], Pr = {
|
|
3904
3904
|
key: 2,
|
|
3905
3905
|
class: "builder-form-error-text pre-2oa2wtipkzk"
|
|
3906
3906
|
};
|
|
3907
|
-
function
|
|
3907
|
+
function Ar(e, t, n, o, r, i) {
|
|
3908
3908
|
const s = k("Blocks");
|
|
3909
3909
|
return d(), h("form", I({
|
|
3910
3910
|
validate: e.validate,
|
|
@@ -3927,16 +3927,16 @@ function Pr(e, t, n, o, r, i) {
|
|
|
3927
3927
|
blocks: e.sendingMessage,
|
|
3928
3928
|
context: e.builderContext
|
|
3929
3929
|
}, null, 8, ["blocks", "context"])) : C("", !0),
|
|
3930
|
-
e.submissionState() === "error" && e.responseData ? (d(), h("pre",
|
|
3930
|
+
e.submissionState() === "error" && e.responseData ? (d(), h("pre", Pr, le(e.errorResponse(e.responseData)), 1)) : C("", !0),
|
|
3931
3931
|
e.submissionState() === "success" ? (d(), S(s, {
|
|
3932
3932
|
key: 3,
|
|
3933
3933
|
path: "successMessage",
|
|
3934
3934
|
blocks: e.successMessage,
|
|
3935
3935
|
context: e.builderContext
|
|
3936
3936
|
}, null, 8, ["blocks", "context"])) : C("", !0)
|
|
3937
|
-
], 16,
|
|
3937
|
+
], 16, Er);
|
|
3938
3938
|
}
|
|
3939
|
-
const
|
|
3939
|
+
const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c"]]), Vr = {
|
|
3940
3940
|
name: "Form:Input",
|
|
3941
3941
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
3942
3942
|
inputs: [
|
|
@@ -3987,7 +3987,7 @@ const Ar = /* @__PURE__ */ v($r, [["render", Pr], ["__scopeId", "data-v-77c7888c
|
|
|
3987
3987
|
borderStyle: "solid",
|
|
3988
3988
|
borderColor: "#ccc"
|
|
3989
3989
|
}
|
|
3990
|
-
},
|
|
3990
|
+
}, Nr = y({
|
|
3991
3991
|
name: "builder-form-input-component",
|
|
3992
3992
|
props: [
|
|
3993
3993
|
"attributes",
|
|
@@ -4001,8 +4001,8 @@ const Ar = /* @__PURE__ */ v($r, [["render", Pr], ["__scopeId", "data-v-77c7888c
|
|
|
4001
4001
|
data() {
|
|
4002
4002
|
return { isEditing: A, filterAttrs: N };
|
|
4003
4003
|
}
|
|
4004
|
-
}),
|
|
4005
|
-
function
|
|
4004
|
+
}), Wr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
4005
|
+
function Dr(e, t, n, o, r, i) {
|
|
4006
4006
|
return d(), h("input", I({
|
|
4007
4007
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
4008
4008
|
placeholder: e.placeholder,
|
|
@@ -4011,9 +4011,9 @@ function Wr(e, t, n, o, r, i) {
|
|
|
4011
4011
|
value: e.value,
|
|
4012
4012
|
defaultValue: e.defaultValue,
|
|
4013
4013
|
required: e.required
|
|
4014
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
4014
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wr);
|
|
4015
4015
|
}
|
|
4016
|
-
const
|
|
4016
|
+
const xr = /* @__PURE__ */ v(Nr, [["render", Dr]]), Or = {
|
|
4017
4017
|
name: "Form:Select",
|
|
4018
4018
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4019
4019
|
defaultStyles: {
|
|
@@ -4055,14 +4055,14 @@ const Dr = /* @__PURE__ */ v(Vr, [["render", Wr]]), xr = {
|
|
|
4055
4055
|
}],
|
|
4056
4056
|
static: !0,
|
|
4057
4057
|
noWrap: !0
|
|
4058
|
-
},
|
|
4058
|
+
}, Ur = y({
|
|
4059
4059
|
name: "builder-select-component",
|
|
4060
4060
|
props: ["attributes", "value", "defaultValue", "name", "required", "options"],
|
|
4061
4061
|
data() {
|
|
4062
4062
|
return { isEditing: A, filterAttrs: N };
|
|
4063
4063
|
}
|
|
4064
|
-
}),
|
|
4065
|
-
function
|
|
4064
|
+
}), Fr = ["value", "defaultValue", "name", "required"], Lr = ["value"];
|
|
4065
|
+
function Hr(e, t, n, o, r, i) {
|
|
4066
4066
|
return d(), h("select", I({
|
|
4067
4067
|
value: e.value,
|
|
4068
4068
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
@@ -4073,10 +4073,10 @@ function Lr(e, t, n, o, r, i) {
|
|
|
4073
4073
|
(d(!0), h(w, null, F(e.options, (s, l) => (d(), h("option", {
|
|
4074
4074
|
key: `${s.name}-${l}`,
|
|
4075
4075
|
value: s.value
|
|
4076
|
-
}, le(s.name || s.value), 9,
|
|
4077
|
-
], 16,
|
|
4076
|
+
}, le(s.name || s.value), 9, Lr))), 128))
|
|
4077
|
+
], 16, Fr);
|
|
4078
4078
|
}
|
|
4079
|
-
const
|
|
4079
|
+
const Mr = /* @__PURE__ */ v(Ur, [["render", Hr]]), zr = {
|
|
4080
4080
|
name: "Form:SubmitButton",
|
|
4081
4081
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
4082
4082
|
defaultStyles: {
|
|
@@ -4101,17 +4101,17 @@ const Hr = /* @__PURE__ */ v(Or, [["render", Lr]]), Mr = {
|
|
|
4101
4101
|
// that only shows if advanced setting is flipped
|
|
4102
4102
|
// TODO: defaultChildren
|
|
4103
4103
|
// canHaveChildren: true,
|
|
4104
|
-
},
|
|
4104
|
+
}, jr = y({
|
|
4105
4105
|
name: "builder-submit-button",
|
|
4106
4106
|
props: ["attributes", "text"],
|
|
4107
4107
|
data() {
|
|
4108
4108
|
return { filterAttrs: N };
|
|
4109
4109
|
}
|
|
4110
4110
|
});
|
|
4111
|
-
function
|
|
4111
|
+
function qr(e, t, n, o, r, i) {
|
|
4112
4112
|
return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
|
|
4113
4113
|
}
|
|
4114
|
-
const
|
|
4114
|
+
const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
|
|
4115
4115
|
name: "Form:TextArea",
|
|
4116
4116
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
4117
4117
|
inputs: [{
|
|
@@ -4147,7 +4147,7 @@ const qr = /* @__PURE__ */ v(zr, [["render", jr]]), Kr = {
|
|
|
4147
4147
|
},
|
|
4148
4148
|
static: !0,
|
|
4149
4149
|
noWrap: !0
|
|
4150
|
-
},
|
|
4150
|
+
}, Gr = y({
|
|
4151
4151
|
name: "builder-textarea",
|
|
4152
4152
|
props: [
|
|
4153
4153
|
"attributes",
|
|
@@ -4160,17 +4160,17 @@ const qr = /* @__PURE__ */ v(zr, [["render", jr]]), Kr = {
|
|
|
4160
4160
|
data() {
|
|
4161
4161
|
return { filterAttrs: N };
|
|
4162
4162
|
}
|
|
4163
|
-
}),
|
|
4164
|
-
function
|
|
4163
|
+
}), Qr = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
4164
|
+
function Yr(e, t, n, o, r, i) {
|
|
4165
4165
|
return d(), h("textarea", I({
|
|
4166
4166
|
placeholder: e.placeholder,
|
|
4167
4167
|
name: e.name,
|
|
4168
4168
|
value: e.value,
|
|
4169
4169
|
defaultValue: e.defaultValue,
|
|
4170
4170
|
required: e.required
|
|
4171
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
4171
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Qr);
|
|
4172
4172
|
}
|
|
4173
|
-
const
|
|
4173
|
+
const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
|
|
4174
4174
|
name: "Raw:Img",
|
|
4175
4175
|
hideFromInsertMenu: !0,
|
|
4176
4176
|
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",
|
|
@@ -4214,7 +4214,7 @@ const Yr = /* @__PURE__ */ v(Jr, [["render", Qr]]), Xr = {
|
|
|
4214
4214
|
defaultValue: 0.7041
|
|
4215
4215
|
}],
|
|
4216
4216
|
noWrap: !0
|
|
4217
|
-
},
|
|
4217
|
+
}, _r = y({
|
|
4218
4218
|
name: "builder-img-component",
|
|
4219
4219
|
props: [
|
|
4220
4220
|
"imgSrc",
|
|
@@ -4244,8 +4244,8 @@ const Yr = /* @__PURE__ */ v(Jr, [["render", Qr]]), Xr = {
|
|
|
4244
4244
|
return delete e.style, e;
|
|
4245
4245
|
}
|
|
4246
4246
|
}
|
|
4247
|
-
}),
|
|
4248
|
-
function
|
|
4247
|
+
}), ei = ["alt", "title", "src"];
|
|
4248
|
+
function ti(e, t, n, o, r, i) {
|
|
4249
4249
|
var s;
|
|
4250
4250
|
return d(), h("img", I({
|
|
4251
4251
|
loading: "lazy",
|
|
@@ -4259,9 +4259,9 @@ function ei(e, t, n, o, r, i) {
|
|
|
4259
4259
|
aspectRatio: e.aspectRatio || void 0,
|
|
4260
4260
|
...((s = e.attributes) == null ? void 0 : s.style) || {}
|
|
4261
4261
|
}
|
|
4262
|
-
}, e.imgAttrs), null, 16,
|
|
4262
|
+
}, e.imgAttrs), null, 16, ei);
|
|
4263
4263
|
}
|
|
4264
|
-
const
|
|
4264
|
+
const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
|
|
4265
4265
|
name: "Video",
|
|
4266
4266
|
canHaveChildren: !0,
|
|
4267
4267
|
defaultStyles: {
|
|
@@ -4272,7 +4272,7 @@ const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
|
|
|
4272
4272
|
inputs: [{
|
|
4273
4273
|
name: "video",
|
|
4274
4274
|
type: "file",
|
|
4275
|
-
allowedFileTypes:
|
|
4275
|
+
allowedFileTypes: zo,
|
|
4276
4276
|
bubble: !0,
|
|
4277
4277
|
defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
|
|
4278
4278
|
required: !0
|
|
@@ -4345,7 +4345,7 @@ const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
|
|
|
4345
4345
|
shouldReceiveBuilderProps: {
|
|
4346
4346
|
builderBlock: !0
|
|
4347
4347
|
}
|
|
4348
|
-
},
|
|
4348
|
+
}, ri = y({
|
|
4349
4349
|
name: "builder-video",
|
|
4350
4350
|
props: [
|
|
4351
4351
|
"lazyLoad",
|
|
@@ -4418,16 +4418,16 @@ const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
|
|
|
4418
4418
|
};
|
|
4419
4419
|
}
|
|
4420
4420
|
}
|
|
4421
|
-
}),
|
|
4421
|
+
}), ii = { style: {
|
|
4422
4422
|
position: "relative"
|
|
4423
|
-
} },
|
|
4423
|
+
} }, si = ["preload", "poster"], ai = {
|
|
4424
4424
|
key: 1,
|
|
4425
4425
|
style: {
|
|
4426
4426
|
display: "flex",
|
|
4427
4427
|
flexDirection: "column",
|
|
4428
4428
|
alignItems: "stretch"
|
|
4429
4429
|
}
|
|
4430
|
-
},
|
|
4430
|
+
}, li = {
|
|
4431
4431
|
key: 2,
|
|
4432
4432
|
style: {
|
|
4433
4433
|
pointerEvents: "none",
|
|
@@ -4441,9 +4441,9 @@ const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
|
|
|
4441
4441
|
height: "100%"
|
|
4442
4442
|
}
|
|
4443
4443
|
};
|
|
4444
|
-
function
|
|
4444
|
+
function ci(e, t, n, o, r, i) {
|
|
4445
4445
|
var s, l, a, u, p, f, c;
|
|
4446
|
-
return d(), h("div",
|
|
4446
|
+
return d(), h("div", ii, [
|
|
4447
4447
|
q("video", I({
|
|
4448
4448
|
class: "builder-video",
|
|
4449
4449
|
ref: "videoRef",
|
|
@@ -4471,7 +4471,7 @@ function li(e, t, n, o, r, i) {
|
|
|
4471
4471
|
src: e.video
|
|
4472
4472
|
}
|
|
4473
4473
|
), null, 16)
|
|
4474
|
-
], 16,
|
|
4474
|
+
], 16, si),
|
|
4475
4475
|
e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), h("div", {
|
|
4476
4476
|
key: 0,
|
|
4477
4477
|
style: M({
|
|
@@ -4481,75 +4481,75 @@ function li(e, t, n, o, r, i) {
|
|
|
4481
4481
|
fontSize: "0px"
|
|
4482
4482
|
})
|
|
4483
4483
|
}, null, 4)) : C("", !0),
|
|
4484
|
-
(p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div",
|
|
4484
|
+
(p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", ai, [
|
|
4485
4485
|
V(e.$slots, "default")
|
|
4486
4486
|
])) : C("", !0),
|
|
4487
|
-
(c = (f = e.builderBlock) == null ? void 0 : f.children) != null && c.length && !e.fitContent ? (d(), h("div",
|
|
4487
|
+
(c = (f = e.builderBlock) == null ? void 0 : f.children) != null && c.length && !e.fitContent ? (d(), h("div", li, [
|
|
4488
4488
|
V(e.$slots, "default")
|
|
4489
4489
|
])) : C("", !0)
|
|
4490
4490
|
]);
|
|
4491
4491
|
}
|
|
4492
|
-
const
|
|
4493
|
-
component:
|
|
4494
|
-
...
|
|
4492
|
+
const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
|
|
4493
|
+
component: br,
|
|
4494
|
+
...pr
|
|
4495
4495
|
}, {
|
|
4496
|
-
component:
|
|
4497
|
-
...
|
|
4496
|
+
component: Tr,
|
|
4497
|
+
...gr
|
|
4498
4498
|
}, {
|
|
4499
|
-
component:
|
|
4500
|
-
...
|
|
4499
|
+
component: Br,
|
|
4500
|
+
...wr
|
|
4501
4501
|
}, {
|
|
4502
|
-
component:
|
|
4503
|
-
...
|
|
4502
|
+
component: xr,
|
|
4503
|
+
...Vr
|
|
4504
4504
|
}, {
|
|
4505
|
-
component:
|
|
4506
|
-
...
|
|
4505
|
+
component: Kr,
|
|
4506
|
+
...zr
|
|
4507
4507
|
}, {
|
|
4508
|
-
component:
|
|
4509
|
-
...
|
|
4508
|
+
component: Mr,
|
|
4509
|
+
...Or
|
|
4510
4510
|
}, {
|
|
4511
|
-
component:
|
|
4512
|
-
...
|
|
4511
|
+
component: Xr,
|
|
4512
|
+
...Jr
|
|
4513
4513
|
}, {
|
|
4514
|
-
component:
|
|
4515
|
-
...
|
|
4514
|
+
component: ni,
|
|
4515
|
+
...Zr
|
|
4516
4516
|
}, {
|
|
4517
|
-
component:
|
|
4518
|
-
...
|
|
4517
|
+
component: di,
|
|
4518
|
+
...oi
|
|
4519
4519
|
}], Ke = () => [{
|
|
4520
4520
|
component: Lt,
|
|
4521
|
-
...Fo
|
|
4522
|
-
}, {
|
|
4523
|
-
component: so,
|
|
4524
4521
|
...Lo
|
|
4525
4522
|
}, {
|
|
4526
|
-
component:
|
|
4523
|
+
component: ao,
|
|
4527
4524
|
...Ho
|
|
4528
4525
|
}, {
|
|
4529
|
-
component:
|
|
4530
|
-
...
|
|
4526
|
+
component: uo,
|
|
4527
|
+
...Mo
|
|
4531
4528
|
}, {
|
|
4532
|
-
component:
|
|
4533
|
-
...
|
|
4529
|
+
component: vo,
|
|
4530
|
+
...jo
|
|
4534
4531
|
}, {
|
|
4535
|
-
component:
|
|
4532
|
+
component: Co,
|
|
4536
4533
|
...Qo
|
|
4537
4534
|
}, {
|
|
4538
|
-
component:
|
|
4539
|
-
...
|
|
4535
|
+
component: _o,
|
|
4536
|
+
...Yo
|
|
4540
4537
|
}, {
|
|
4541
|
-
component:
|
|
4542
|
-
...
|
|
4538
|
+
component: Qi,
|
|
4539
|
+
...er
|
|
4540
|
+
}, {
|
|
4541
|
+
component: ur,
|
|
4542
|
+
...ar
|
|
4543
4543
|
}, ...vt.includes(R) ? [{
|
|
4544
|
-
component:
|
|
4545
|
-
...
|
|
4544
|
+
component: Go,
|
|
4545
|
+
...qo
|
|
4546
4546
|
}] : [], {
|
|
4547
|
-
component:
|
|
4548
|
-
...
|
|
4547
|
+
component: sr,
|
|
4548
|
+
...tr
|
|
4549
4549
|
}, {
|
|
4550
|
-
component:
|
|
4551
|
-
...
|
|
4552
|
-
}, ...
|
|
4550
|
+
component: Fo,
|
|
4551
|
+
...Wo
|
|
4552
|
+
}, ...ui()], pi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
|
|
4553
4553
|
function getAndSetVariantId() {
|
|
4554
4554
|
function setCookie(name, value, days) {
|
|
4555
4555
|
let expires = '';
|
|
@@ -4608,7 +4608,7 @@ const ci = /* @__PURE__ */ v(oi, [["render", li]]), di = () => [{
|
|
|
4608
4608
|
}).join('');
|
|
4609
4609
|
styleEl.innerHTML = newStyleStr;
|
|
4610
4610
|
}
|
|
4611
|
-
}`,
|
|
4611
|
+
}`, mi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
4612
4612
|
if (!navigator.cookieEnabled) {
|
|
4613
4613
|
return;
|
|
4614
4614
|
}
|
|
@@ -4646,24 +4646,24 @@ const ci = /* @__PURE__ */ v(oi, [["render", li]]), di = () => [{
|
|
|
4646
4646
|
...t,
|
|
4647
4647
|
testVariationId: t.id,
|
|
4648
4648
|
id: e == null ? void 0 : e.id
|
|
4649
|
-
})),
|
|
4649
|
+
})), hi = ({
|
|
4650
4650
|
canTrack: e,
|
|
4651
4651
|
content: t
|
|
4652
|
-
}) => !(!(oe(t).length > 0) || !e),
|
|
4652
|
+
}) => !(!(oe(t).length > 0) || !e), fi = (e) => e === "react" || e === "reactNative", bi = R === "angular", Ne = fi(R), gi = () => `
|
|
4653
4653
|
(function() {
|
|
4654
4654
|
if (!window.${ke}) {
|
|
4655
|
-
window.${ke} = ${
|
|
4655
|
+
window.${ke} = ${pi};
|
|
4656
4656
|
}
|
|
4657
4657
|
if (!window.${Ce}) {
|
|
4658
|
-
window.${Ce} = ${
|
|
4658
|
+
window.${Ce} = ${mi};
|
|
4659
4659
|
}${Ne ? `
|
|
4660
4660
|
var thisScriptEl = document.currentScript;
|
|
4661
4661
|
if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
|
|
4662
4662
|
})();
|
|
4663
|
-
`,
|
|
4663
|
+
`, yi = (e, t) => `
|
|
4664
4664
|
window.${ke}(
|
|
4665
|
-
"${t}",${JSON.stringify(e)}, ${Ne}, ${
|
|
4666
|
-
)`,
|
|
4665
|
+
"${t}",${JSON.stringify(e)}, ${Ne}, ${bi}
|
|
4666
|
+
)`, vi = ({
|
|
4667
4667
|
contentId: e,
|
|
4668
4668
|
variationId: t
|
|
4669
4669
|
}) => `window.${Ce}(
|
|
@@ -4672,7 +4672,7 @@ const ci = /* @__PURE__ */ v(oi, [["render", li]]), di = () => [{
|
|
|
4672
4672
|
function Je(e) {
|
|
4673
4673
|
return Math.round(e * 1e3) / 1e3;
|
|
4674
4674
|
}
|
|
4675
|
-
const
|
|
4675
|
+
const Si = (e, t, n = !0) => {
|
|
4676
4676
|
if (!(e instanceof HTMLElement))
|
|
4677
4677
|
return null;
|
|
4678
4678
|
let o = n ? e : e.parentElement;
|
|
@@ -4683,7 +4683,7 @@ const vi = (e, t, n = !0) => {
|
|
|
4683
4683
|
return o;
|
|
4684
4684
|
} while (o = o.parentElement);
|
|
4685
4685
|
return null;
|
|
4686
|
-
},
|
|
4686
|
+
}, ki = (e) => Si(e, (t) => {
|
|
4687
4687
|
const n = t.getAttribute("builder-id") || t.id;
|
|
4688
4688
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
4689
4689
|
}), Ge = ({
|
|
@@ -4695,8 +4695,8 @@ const vi = (e, t, n = !0) => {
|
|
|
4695
4695
|
x: i,
|
|
4696
4696
|
y: s
|
|
4697
4697
|
};
|
|
4698
|
-
},
|
|
4699
|
-
const t = e.target, n = t &&
|
|
4698
|
+
}, Ci = (e) => {
|
|
4699
|
+
const t = e.target, n = t && ki(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
4700
4700
|
return {
|
|
4701
4701
|
targetBuilderElement: o || void 0,
|
|
4702
4702
|
metadata: {
|
|
@@ -4711,7 +4711,7 @@ const vi = (e, t, n = !0) => {
|
|
|
4711
4711
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
4712
4712
|
}
|
|
4713
4713
|
};
|
|
4714
|
-
},
|
|
4714
|
+
}, Ti = ["svelte", "qwik", "vue"], wi = () => Ti.includes(R) && (A() || $e()), Ii = (e) => {
|
|
4715
4715
|
var i;
|
|
4716
4716
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
4717
4717
|
let r = "";
|
|
@@ -4737,15 +4737,15 @@ font-weight: ${s};
|
|
|
4737
4737
|
`.trim());
|
|
4738
4738
|
}
|
|
4739
4739
|
return r;
|
|
4740
|
-
},
|
|
4740
|
+
}, $i = ({
|
|
4741
4741
|
customFonts: e
|
|
4742
4742
|
}) => {
|
|
4743
4743
|
var t;
|
|
4744
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
4745
|
-
},
|
|
4744
|
+
return ((t = e == null ? void 0 : e.map((n) => Ii(n))) == null ? void 0 : t.join(" ")) || "";
|
|
4745
|
+
}, Ri = ({
|
|
4746
4746
|
cssCode: e,
|
|
4747
4747
|
contentId: t
|
|
4748
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
4748
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
|
|
4749
4749
|
.builder-button {
|
|
4750
4750
|
all: unset;
|
|
4751
4751
|
}
|
|
@@ -4762,7 +4762,7 @@ font-weight: ${s};
|
|
|
4762
4762
|
text-align: inherit;
|
|
4763
4763
|
font-family: inherit;
|
|
4764
4764
|
}
|
|
4765
|
-
`,
|
|
4765
|
+
`, Pi = (e) => e ? "" : Ei, Ai = (e) => `variant-${e}`, Bi = y({
|
|
4766
4766
|
name: "enable-editor",
|
|
4767
4767
|
components: { DynamicDiv: ee },
|
|
4768
4768
|
props: [
|
|
@@ -4794,8 +4794,8 @@ font-weight: ${s};
|
|
|
4794
4794
|
httpReqsPending: {},
|
|
4795
4795
|
clicked: !1,
|
|
4796
4796
|
builderContext: he,
|
|
4797
|
-
needsElementRefDivForEditing:
|
|
4798
|
-
getWrapperClassName:
|
|
4797
|
+
needsElementRefDivForEditing: wi,
|
|
4798
|
+
getWrapperClassName: Ai
|
|
4799
4799
|
};
|
|
4800
4800
|
},
|
|
4801
4801
|
provide() {
|
|
@@ -4966,7 +4966,7 @@ font-weight: ${s};
|
|
|
4966
4966
|
contentId: r,
|
|
4967
4967
|
apiKey: this.apiKey,
|
|
4968
4968
|
variationId: o !== r ? o : void 0,
|
|
4969
|
-
...
|
|
4969
|
+
...Ci(e),
|
|
4970
4970
|
unique: !this.clicked
|
|
4971
4971
|
});
|
|
4972
4972
|
}
|
|
@@ -5087,7 +5087,7 @@ font-weight: ${s};
|
|
|
5087
5087
|
}
|
|
5088
5088
|
}
|
|
5089
5089
|
});
|
|
5090
|
-
function
|
|
5090
|
+
function Vi(e, t, n, o, r, i) {
|
|
5091
5091
|
var s, l, a;
|
|
5092
5092
|
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(Y(e.ContentWrapper), I({
|
|
5093
5093
|
key: 0,
|
|
@@ -5108,26 +5108,26 @@ function Bi(e, t, n, o, r, i) {
|
|
|
5108
5108
|
_: 3
|
|
5109
5109
|
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : C("", !0);
|
|
5110
5110
|
}
|
|
5111
|
-
const
|
|
5111
|
+
const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = y({
|
|
5112
5112
|
name: "content-styles",
|
|
5113
5113
|
components: { InlinedStyles: ce },
|
|
5114
5114
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
5115
5115
|
data() {
|
|
5116
5116
|
return {
|
|
5117
5117
|
injectedStyles: `
|
|
5118
|
-
${
|
|
5118
|
+
${Ri({
|
|
5119
5119
|
cssCode: this.cssCode,
|
|
5120
5120
|
contentId: this.contentId
|
|
5121
5121
|
})}
|
|
5122
|
-
${
|
|
5122
|
+
${$i({
|
|
5123
5123
|
customFonts: this.customFonts
|
|
5124
5124
|
})}
|
|
5125
|
-
${
|
|
5125
|
+
${Pi(this.isNestedRender)}
|
|
5126
5126
|
`.trim()
|
|
5127
5127
|
};
|
|
5128
5128
|
}
|
|
5129
5129
|
});
|
|
5130
|
-
function
|
|
5130
|
+
function Di(e, t, n, o, r, i) {
|
|
5131
5131
|
const s = k("InlinedStyles");
|
|
5132
5132
|
return d(), S(s, {
|
|
5133
5133
|
id: "builderio-content",
|
|
@@ -5135,7 +5135,7 @@ function Wi(e, t, n, o, r, i) {
|
|
|
5135
5135
|
nonce: e.nonce
|
|
5136
5136
|
}, null, 8, ["styles", "nonce"]);
|
|
5137
5137
|
}
|
|
5138
|
-
const
|
|
5138
|
+
const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
|
|
5139
5139
|
content: e,
|
|
5140
5140
|
data: t,
|
|
5141
5141
|
locale: n
|
|
@@ -5152,7 +5152,7 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
|
|
|
5152
5152
|
locale: n
|
|
5153
5153
|
} : {}
|
|
5154
5154
|
};
|
|
5155
|
-
},
|
|
5155
|
+
}, Ui = ({
|
|
5156
5156
|
content: e,
|
|
5157
5157
|
data: t
|
|
5158
5158
|
}) => e ? {
|
|
@@ -5162,12 +5162,12 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
|
|
|
5162
5162
|
...t
|
|
5163
5163
|
},
|
|
5164
5164
|
meta: e == null ? void 0 : e.meta
|
|
5165
|
-
} : void 0,
|
|
5165
|
+
} : void 0, Fi = Tt, Li = y({
|
|
5166
5166
|
name: "content-component",
|
|
5167
5167
|
components: {
|
|
5168
|
-
EnableEditor:
|
|
5168
|
+
EnableEditor: Ni,
|
|
5169
5169
|
InlinedScript: Ve,
|
|
5170
|
-
ContentStyles:
|
|
5170
|
+
ContentStyles: xi,
|
|
5171
5171
|
Blocks: j,
|
|
5172
5172
|
DynamicDiv: ee
|
|
5173
5173
|
},
|
|
@@ -5197,7 +5197,7 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
|
|
|
5197
5197
|
data() {
|
|
5198
5198
|
var e, t;
|
|
5199
5199
|
return {
|
|
5200
|
-
scriptStr:
|
|
5200
|
+
scriptStr: vi({
|
|
5201
5201
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
5202
5202
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
5203
5203
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
@@ -5210,19 +5210,19 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
|
|
|
5210
5210
|
(n, { component: o, ...r }) => ({
|
|
5211
5211
|
...n,
|
|
5212
5212
|
[r.name]: {
|
|
5213
|
-
component:
|
|
5213
|
+
component: Fi(o),
|
|
5214
5214
|
...se(r)
|
|
5215
5215
|
}
|
|
5216
5216
|
}),
|
|
5217
5217
|
{}
|
|
5218
5218
|
),
|
|
5219
5219
|
builderContextSignal: {
|
|
5220
|
-
content:
|
|
5220
|
+
content: Ui({
|
|
5221
5221
|
content: this.content,
|
|
5222
5222
|
data: this.data
|
|
5223
5223
|
}),
|
|
5224
5224
|
localState: void 0,
|
|
5225
|
-
rootState:
|
|
5225
|
+
rootState: Oi({
|
|
5226
5226
|
content: this.content,
|
|
5227
5227
|
data: this.data,
|
|
5228
5228
|
locale: this.locale
|
|
@@ -5298,7 +5298,7 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
|
|
|
5298
5298
|
}
|
|
5299
5299
|
}
|
|
5300
5300
|
});
|
|
5301
|
-
function
|
|
5301
|
+
function Hi(e, t, n, o, r, i) {
|
|
5302
5302
|
const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
|
|
5303
5303
|
return d(), S(u, I({
|
|
5304
5304
|
apiHost: e.apiHost,
|
|
@@ -5346,12 +5346,12 @@ function Li(e, t, n, o, r, i) {
|
|
|
5346
5346
|
_: 1
|
|
5347
5347
|
}, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
|
|
5348
5348
|
}
|
|
5349
|
-
const
|
|
5349
|
+
const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
|
|
5350
5350
|
name: "content-variants",
|
|
5351
5351
|
components: {
|
|
5352
5352
|
InlinedScript: Ve,
|
|
5353
5353
|
InlinedStyles: ce,
|
|
5354
|
-
ContentComponent:
|
|
5354
|
+
ContentComponent: Mi
|
|
5355
5355
|
},
|
|
5356
5356
|
props: [
|
|
5357
5357
|
"canTrack",
|
|
@@ -5376,15 +5376,15 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
|
|
|
5376
5376
|
],
|
|
5377
5377
|
data() {
|
|
5378
5378
|
return {
|
|
5379
|
-
shouldRenderVariants:
|
|
5379
|
+
shouldRenderVariants: hi({
|
|
5380
5380
|
canTrack: K(this.canTrack),
|
|
5381
5381
|
content: this.content
|
|
5382
5382
|
}),
|
|
5383
|
-
shouldEmitPersonalizationFns:
|
|
5383
|
+
shouldEmitPersonalizationFns: Ao(this.content),
|
|
5384
5384
|
SDKS_SUPPORTING_PERSONALIZATION: vt,
|
|
5385
|
-
getInitPersonalizationVariantsFnsScriptString:
|
|
5385
|
+
getInitPersonalizationVariantsFnsScriptString: Bo,
|
|
5386
5386
|
TARGET: R,
|
|
5387
|
-
getInitVariantsFnsScriptString:
|
|
5387
|
+
getInitVariantsFnsScriptString: gi,
|
|
5388
5388
|
getVariants: oe
|
|
5389
5389
|
};
|
|
5390
5390
|
},
|
|
@@ -5393,7 +5393,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
|
|
|
5393
5393
|
computed: {
|
|
5394
5394
|
updateCookieAndStylesScriptStr() {
|
|
5395
5395
|
var e;
|
|
5396
|
-
return
|
|
5396
|
+
return yi(
|
|
5397
5397
|
oe(this.content).map((t) => ({
|
|
5398
5398
|
id: t.testVariationId,
|
|
5399
5399
|
testRatio: t.testRatio
|
|
@@ -5416,7 +5416,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
|
|
|
5416
5416
|
}
|
|
5417
5417
|
}
|
|
5418
5418
|
});
|
|
5419
|
-
function
|
|
5419
|
+
function ji(e, t, n, o, r, i) {
|
|
5420
5420
|
const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
|
|
5421
5421
|
return d(), h(w, null, [
|
|
5422
5422
|
e.shouldEmitPersonalizationFns ? (d(), h(w, { key: 0 }, [
|
|
@@ -5495,7 +5495,7 @@ function zi(e, t, n, o, r, i) {
|
|
|
5495
5495
|
}), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
5496
5496
|
], 64);
|
|
5497
5497
|
}
|
|
5498
|
-
const
|
|
5498
|
+
const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
|
|
5499
5499
|
builderContextValue: e,
|
|
5500
5500
|
symbol: t
|
|
5501
5501
|
}) => {
|
|
@@ -5513,9 +5513,9 @@ const ji = /* @__PURE__ */ v(Mi, [["render", zi]]), qi = async ({
|
|
|
5513
5513
|
}).catch((n) => {
|
|
5514
5514
|
L.error("Could not fetch symbol content: ", n);
|
|
5515
5515
|
});
|
|
5516
|
-
},
|
|
5516
|
+
}, Ji = y({
|
|
5517
5517
|
name: "builder-symbol",
|
|
5518
|
-
components: { ContentVariants:
|
|
5518
|
+
components: { ContentVariants: qi, DynamicDiv: ee },
|
|
5519
5519
|
props: [
|
|
5520
5520
|
"symbol",
|
|
5521
5521
|
"builderComponents",
|
|
@@ -5572,7 +5572,7 @@ const ji = /* @__PURE__ */ v(Mi, [["render", zi]]), qi = async ({
|
|
|
5572
5572
|
methods: {
|
|
5573
5573
|
setContent() {
|
|
5574
5574
|
var e;
|
|
5575
|
-
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) ||
|
|
5575
|
+
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Ki({
|
|
5576
5576
|
symbol: this.symbol,
|
|
5577
5577
|
builderContextValue: this.builderContext
|
|
5578
5578
|
}).then((t) => {
|
|
@@ -5582,7 +5582,7 @@ const ji = /* @__PURE__ */ v(Mi, [["render", zi]]), qi = async ({
|
|
|
5582
5582
|
}
|
|
5583
5583
|
}
|
|
5584
5584
|
});
|
|
5585
|
-
function
|
|
5585
|
+
function Gi(e, t, n, o, r, i) {
|
|
5586
5586
|
var l, a, u, p, f, c, m;
|
|
5587
5587
|
const s = k("ContentVariants");
|
|
5588
5588
|
return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -5610,43 +5610,43 @@ function Ji(e, t, n, o, r, i) {
|
|
|
5610
5610
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
5611
5611
|
], 16);
|
|
5612
5612
|
}
|
|
5613
|
-
const
|
|
5613
|
+
const Qi = /* @__PURE__ */ v(Ji, [["render", Gi]]);
|
|
5614
5614
|
export {
|
|
5615
5615
|
Pe as A,
|
|
5616
5616
|
gt as B,
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5617
|
+
ao as C,
|
|
5618
|
+
Zi as D,
|
|
5619
|
+
as as E,
|
|
5620
|
+
uo as F,
|
|
5621
|
+
vo as I,
|
|
5622
|
+
Co as S,
|
|
5623
|
+
ur as T,
|
|
5624
|
+
di as V,
|
|
5625
5625
|
v as _,
|
|
5626
5626
|
z as a,
|
|
5627
5627
|
he as b,
|
|
5628
5628
|
ce as c,
|
|
5629
|
-
|
|
5629
|
+
oo as d,
|
|
5630
5630
|
_ as e,
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5631
|
+
is as f,
|
|
5632
|
+
ss as g,
|
|
5633
|
+
ls as h,
|
|
5634
5634
|
Ae as i,
|
|
5635
5635
|
on as j,
|
|
5636
5636
|
Lt as k,
|
|
5637
|
-
|
|
5637
|
+
Qi as l,
|
|
5638
5638
|
j as m,
|
|
5639
|
-
|
|
5639
|
+
qi as n,
|
|
5640
5640
|
$e as o,
|
|
5641
5641
|
rn as p,
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5642
|
+
es as q,
|
|
5643
|
+
_i as r,
|
|
5644
|
+
os as s,
|
|
5645
|
+
ts as t,
|
|
5646
5646
|
ot as u,
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5647
|
+
ns as v,
|
|
5648
|
+
Fi as w,
|
|
5649
|
+
rs as x,
|
|
5650
|
+
Rn as y,
|
|
5651
|
+
En as z
|
|
5652
5652
|
};
|