@builder.io/sdk-vue 1.0.12 → 1.0.14
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/{block-styles-xXC5xD7m.cjs → block-styles-FdmS__fC.cjs} +1 -1
- package/lib/browser/{block-styles-xasGILBF.js → block-styles-z7sGkBTw.js} +1 -1
- package/lib/browser/{block-wrapper-N_9kN83W.js → block-wrapper-OUFH1h7n.js} +3 -3
- package/lib/browser/{block-wrapper-4N6UCZUb.cjs → block-wrapper-R9MDSksK.cjs} +1 -1
- package/lib/browser/{component-ref-NZYFpLyY.js → component-ref-LhEgM7QI.js} +2 -2
- package/lib/browser/{component-ref-CtedueX1.cjs → component-ref-cnl1wJ7V.cjs} +1 -1
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -8
- package/lib/browser/components/content/components/styles.helpers.d.ts +1 -0
- package/lib/browser/components/content/components/styles.vue.d.ts +3 -0
- package/lib/browser/components/content/content.vue.d.ts +3 -0
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -3
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-XpDJWplm.js → get-block-properties-8me_ULV1.js} +1 -1
- package/lib/browser/{get-block-properties-BYv9arve.cjs → get-block-properties-MB_CAVzA.cjs} +1 -1
- package/lib/browser/{index-TLgvBIUm.cjs → index-ad1QjFMU.cjs} +18 -17
- package/lib/browser/{index-IiLTuw5y.js → index-lxlrEO9W.js} +202 -208
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.js +1 -1
- package/lib/browser/{repeated-block-2uW65br0.js → repeated-block-5r2RNm5K.js} +2 -2
- package/lib/browser/{repeated-block-R55GuInH.cjs → repeated-block-LUwQWzPp.cjs} +1 -1
- package/lib/{node/block-styles-rVezFfnK.js → edge/block-styles-B3awvzyT.js} +1 -1
- package/lib/edge/{block-styles-OQkHmuXv.cjs → block-styles-Xju5355Z.cjs} +1 -1
- package/lib/{node/block-wrapper-HZs0reB7.cjs → edge/block-wrapper-xCm3uEEu.cjs} +1 -1
- package/lib/edge/{block-wrapper-amJaBkpx.js → block-wrapper-y2793ZN5.js} +3 -3
- package/lib/{node/component-ref-pR-6yx5E.cjs → edge/component-ref-wcbtAeIh.cjs} +1 -1
- package/lib/{node/component-ref-lZGzt5_2.js → edge/component-ref-znPa_yPg.js} +2 -2
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -8
- package/lib/edge/components/content/components/styles.helpers.d.ts +1 -0
- package/lib/edge/components/content/components/styles.vue.d.ts +3 -0
- package/lib/edge/components/content/content.vue.d.ts +3 -0
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -3
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/{node/get-block-properties-huGrIrmB.js → edge/get-block-properties-abyvkMNc.js} +1 -1
- package/lib/edge/{get-block-properties-I4wR6gqz.cjs → get-block-properties-wnBoh6NI.cjs} +1 -1
- package/lib/edge/{index-Y1Ul7p-a.cjs → index-17AnhyKn.cjs} +16 -15
- package/lib/edge/{index-QGDyn3F4.js → index-xBtUJWIQ.js} +198 -204
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.js +1 -1
- package/lib/edge/{repeated-block-cho6OAg2.cjs → repeated-block-7K33zRnk.cjs} +1 -1
- package/lib/edge/{repeated-block-SXw3PYRg.js → repeated-block-e19DbJ9g.js} +2 -2
- package/lib/{edge/block-styles-1Y-luUbF.js → node/block-styles-XgGq-J65.js} +1 -1
- package/lib/node/{block-styles-duIy1mDJ.cjs → block-styles-YqghwSbU.cjs} +1 -1
- package/lib/node/{block-wrapper-pazX_RJj.js → block-wrapper-I1JmYM5e.js} +3 -3
- package/lib/{edge/block-wrapper-qcbYIhCp.cjs → node/block-wrapper-sv0gfrKF.cjs} +1 -1
- package/lib/{edge/component-ref-G4Y_2Wev.js → node/component-ref--eSEr7Gt.js} +2 -2
- package/lib/{edge/component-ref-TBA1YCG5.cjs → node/component-ref-rsCbGdca.cjs} +1 -1
- package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -8
- package/lib/node/components/content/components/styles.helpers.d.ts +1 -0
- package/lib/node/components/content/components/styles.vue.d.ts +3 -0
- package/lib/node/components/content/content.vue.d.ts +3 -0
- package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -3
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-R1EbzpGB.cjs → get-block-properties-FOFsIVzD.cjs} +1 -1
- package/lib/{edge/get-block-properties-Mf8j3xxz.js → node/get-block-properties-jJY9Yegb.js} +1 -1
- package/lib/node/{index-3Ry2GjhV.cjs → index-5GO07feh.cjs} +9 -8
- package/lib/node/{index-whwvaDGF.js → index-IFSblmpH.js} +46 -52
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.js +1 -1
- package/lib/node/{repeated-block-11rZMkW-.cjs → repeated-block-buhSqMYu.cjs} +1 -1
- package/lib/node/{repeated-block-q2Om5NKj.js → repeated-block-lNY93wED.js} +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ao = Object.defineProperty;
|
|
2
2
|
var $o = (e, t, n) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var rn = (e, t, n) => ($o(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { defineComponent as N, openBlock as v, createElementBlock as $, Fragment as re, createBlock as B, resolveDynamicComponent as lt, mergeProps as J, toHandlers as ce, withCtx as we, renderSlot as pe, resolveComponent as
|
|
4
|
+
import { defineComponent as N, openBlock as v, createElementBlock as $, Fragment as re, createBlock as B, resolveDynamicComponent as lt, mergeProps as J, toHandlers as ce, withCtx as we, renderSlot as pe, resolveComponent as U, createTextVNode as Po, toDisplayString as $t, defineAsyncComponent as It, createVNode as Se, renderList as Ve, createCommentVNode as D, h as Ar, createElementVNode as an, normalizeStyle as ln, normalizeClass as $r, markRaw as jo } from "vue";
|
|
5
5
|
const Oo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), No = (e) => typeof e == "string" && Oo.has(e.toLowerCase());
|
|
6
6
|
function Pe(e = {}, t, n) {
|
|
7
7
|
const r = {};
|
|
@@ -19,13 +19,13 @@ const Bo = N({
|
|
|
19
19
|
data() {
|
|
20
20
|
return { isEmptyElement: No };
|
|
21
21
|
}
|
|
22
|
-
}),
|
|
22
|
+
}), V = (e, t) => {
|
|
23
23
|
const n = e.__vccOpts || e;
|
|
24
24
|
for (const [r, o] of t)
|
|
25
25
|
n[r] = o;
|
|
26
26
|
return n;
|
|
27
27
|
};
|
|
28
|
-
function
|
|
28
|
+
function Vo(e, t, n, r, o, i) {
|
|
29
29
|
return e.isEmptyElement(e.TagName) ? (v(), B(lt(e.TagName), J({ key: 1 }, e.attributes, ce(e.actionAttributes)), null, 16)) : (v(), $(re, { key: 0 }, [
|
|
30
30
|
typeof e.TagName == "string" ? (v(), B(lt(e.TagName), J({ key: 0 }, e.attributes, ce(e.actionAttributes)), {
|
|
31
31
|
default: we(() => [
|
|
@@ -40,7 +40,7 @@ function Uo(e, t, n, r, o, i) {
|
|
|
40
40
|
}, 16))
|
|
41
41
|
], 64));
|
|
42
42
|
}
|
|
43
|
-
const mn = /* @__PURE__ */
|
|
43
|
+
const mn = /* @__PURE__ */ V(Bo, [["render", Vo]]), Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
44
44
|
__proto__: null,
|
|
45
45
|
default: mn
|
|
46
46
|
}, Symbol.toStringTag, { value: "Module" })), de = "vue", gn = () => {
|
|
@@ -55,7 +55,7 @@ const mn = /* @__PURE__ */ U(Bo, [["render", Uo]]), Nl = /* @__PURE__ */ Object.
|
|
|
55
55
|
case "qwik":
|
|
56
56
|
return "class";
|
|
57
57
|
}
|
|
58
|
-
},
|
|
58
|
+
}, Mo = N({
|
|
59
59
|
name: "builder-button",
|
|
60
60
|
components: { DynamicRenderer: mn },
|
|
61
61
|
props: [
|
|
@@ -69,8 +69,8 @@ const mn = /* @__PURE__ */ U(Bo, [["render", Uo]]), Nl = /* @__PURE__ */ Object.
|
|
|
69
69
|
return { getClassPropName: gn, filterAttrs: Pe };
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
|
-
function
|
|
73
|
-
const a =
|
|
72
|
+
function Uo(e, t, n, r, o, i) {
|
|
73
|
+
const a = U("dynamic-renderer");
|
|
74
74
|
return v(), B(a, {
|
|
75
75
|
attributes: {
|
|
76
76
|
...e.filterAttrs(e.attributes, "v-on:", !1),
|
|
@@ -92,7 +92,7 @@ function Mo(e, t, n, r, o, i) {
|
|
|
92
92
|
_: 1
|
|
93
93
|
}, 8, ["attributes", "TagName", "actionAttributes"]);
|
|
94
94
|
}
|
|
95
|
-
const Fo = /* @__PURE__ */
|
|
95
|
+
const Fo = /* @__PURE__ */ V(Mo, [["render", Uo]]), Wo = Symbol(), un = {
|
|
96
96
|
Builder: {
|
|
97
97
|
content: null,
|
|
98
98
|
context: {},
|
|
@@ -208,7 +208,7 @@ const _o = () => {
|
|
|
208
208
|
builder: t,
|
|
209
209
|
context: n,
|
|
210
210
|
event: r,
|
|
211
|
-
state:
|
|
211
|
+
state: Vr({
|
|
212
212
|
rootState: a,
|
|
213
213
|
localState: o,
|
|
214
214
|
rootSetState: i
|
|
@@ -216,7 +216,7 @@ const _o = () => {
|
|
|
216
216
|
});
|
|
217
217
|
return new Function(...u.map(([d]) => d), e)(...u.map(([, d]) => d));
|
|
218
218
|
};
|
|
219
|
-
function
|
|
219
|
+
function Vr({
|
|
220
220
|
rootState: e,
|
|
221
221
|
localState: t,
|
|
222
222
|
rootSetState: n
|
|
@@ -226,7 +226,7 @@ function Ur({
|
|
|
226
226
|
if (t && o in t)
|
|
227
227
|
return t[o];
|
|
228
228
|
const i = r[o];
|
|
229
|
-
return typeof i == "object" && i !== null ?
|
|
229
|
+
return typeof i == "object" && i !== null ? Vr({
|
|
230
230
|
rootState: i,
|
|
231
231
|
localState: void 0,
|
|
232
232
|
rootSetState: n ? (a) => {
|
|
@@ -283,12 +283,12 @@ var O, Xo = function(e) {
|
|
|
283
283
|
Fe = p, R.C && (Ht = new i()), I = s, d(), oe = l, Ze = s.m;
|
|
284
284
|
}
|
|
285
285
|
function u() {
|
|
286
|
-
for (var s = p, l = R.va && R.C && new i(), c = b.charCodeAt(p += 2); p <
|
|
286
|
+
for (var s = p, l = R.va && R.C && new i(), c = b.charCodeAt(p += 2); p < Ue && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
|
|
287
287
|
++p, c = b.charCodeAt(p);
|
|
288
288
|
R.va && R.va(!1, b.slice(s + 2, p), s, p, l, R.C && new i());
|
|
289
289
|
}
|
|
290
290
|
function d() {
|
|
291
|
-
for (; p <
|
|
291
|
+
for (; p < Ue; ) {
|
|
292
292
|
var s = b.charCodeAt(p);
|
|
293
293
|
if (s === 32)
|
|
294
294
|
++p;
|
|
@@ -362,7 +362,7 @@ var O, Xo = function(e) {
|
|
|
362
362
|
case 39:
|
|
363
363
|
p++;
|
|
364
364
|
for (var l = ""; ; ) {
|
|
365
|
-
p >=
|
|
365
|
+
p >= Ue && r(K, "Unterminated string constant");
|
|
366
366
|
var c = b.charCodeAt(p);
|
|
367
367
|
if (c === s) {
|
|
368
368
|
++p, a(kt, l);
|
|
@@ -454,7 +454,7 @@ var O, Xo = function(e) {
|
|
|
454
454
|
function y(s) {
|
|
455
455
|
if (s ? p = K + 1 : K = p, R.C && (Lt = new i()), s)
|
|
456
456
|
return C();
|
|
457
|
-
if (p >=
|
|
457
|
+
if (p >= Ue)
|
|
458
458
|
return a(zt);
|
|
459
459
|
if (s = b.charCodeAt(p), n(s) || s === 92)
|
|
460
460
|
return W();
|
|
@@ -470,7 +470,7 @@ var O, Xo = function(e) {
|
|
|
470
470
|
}
|
|
471
471
|
function C() {
|
|
472
472
|
for (var s, l, c = p; ; ) {
|
|
473
|
-
p >=
|
|
473
|
+
p >= Ue && r(c, "Unterminated regexp");
|
|
474
474
|
var h = b.charAt(p);
|
|
475
475
|
if (wt.test(h) && r(c, "Unterminated regexp"), s)
|
|
476
476
|
s = !1;
|
|
@@ -534,7 +534,7 @@ var O, Xo = function(e) {
|
|
|
534
534
|
function A() {
|
|
535
535
|
Kt = K, xe = Fe, _t = Ht, y();
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function Me(s) {
|
|
538
538
|
if (ne = s, p = K, R.C)
|
|
539
539
|
for (; p < me; )
|
|
540
540
|
me = b.lastIndexOf(`
|
|
@@ -561,14 +561,14 @@ var O, Xo = function(e) {
|
|
|
561
561
|
function Nt(s) {
|
|
562
562
|
return s.type === "ExpressionStatement" && s.la.type === "Literal" && s.la.value === "use strict";
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function M(s) {
|
|
565
565
|
return I === s ? (A(), !0) : !1;
|
|
566
566
|
}
|
|
567
567
|
function yt() {
|
|
568
568
|
return !R.fc && (I === zt || I === De || wt.test(b.slice(xe, K)));
|
|
569
569
|
}
|
|
570
570
|
function je() {
|
|
571
|
-
|
|
571
|
+
M(ye) || yt() || he();
|
|
572
572
|
}
|
|
573
573
|
function L(s) {
|
|
574
574
|
I === s ? A() : he();
|
|
@@ -587,7 +587,7 @@ var O, Xo = function(e) {
|
|
|
587
587
|
case Ln:
|
|
588
588
|
A();
|
|
589
589
|
var c = s === Gt;
|
|
590
|
-
|
|
590
|
+
M(ye) || yt() ? l.label = null : I !== We ? he() : (l.label = fe(), je());
|
|
591
591
|
for (var h = 0; h < H.length; ++h) {
|
|
592
592
|
var T = H[h];
|
|
593
593
|
if ((l.label === null || T.name === l.label.name) && (T.kind !== null && (c || T.kind === "loop") || l.label && c))
|
|
@@ -599,13 +599,13 @@ var O, Xo = function(e) {
|
|
|
599
599
|
case _n:
|
|
600
600
|
return A(), H.push(tn), l.body = le(), H.pop(), L(Zt), l.test = Je(), je(), x(l, "DoWhileStatement");
|
|
601
601
|
case qn:
|
|
602
|
-
return A(), H.push(tn), L(ge), I === ye ? Bt(l, null) : I === Yt ? (s = G(), A(),
|
|
602
|
+
return A(), H.push(tn), L(ge), I === ye ? Bt(l, null) : I === Yt ? (s = G(), A(), Un(s, !0), x(s, "VariableDeclaration"), s.fa.length === 1 && M(St) ? Mn(l, s) : Bt(l, s)) : (s = Y(!1, !0), M(St) ? (vt(s), Mn(l, s)) : Bt(l, s));
|
|
603
603
|
case Jt:
|
|
604
604
|
return A(), Ft(l, !0);
|
|
605
605
|
case Jn:
|
|
606
|
-
return A(), l.test = Je(), l.da = le(), l.alternate =
|
|
606
|
+
return A(), l.test = Je(), l.da = le(), l.alternate = M(zn) ? le() : null, x(l, "IfStatement");
|
|
607
607
|
case Xn:
|
|
608
|
-
return Qe || R.Ib || r(K, "'return' outside of function"), A(),
|
|
608
|
+
return Qe || R.Ib || r(K, "'return' outside of function"), A(), M(ye) || yt() ? l.K = null : (l.K = Y(), je()), x(l, "ReturnStatement");
|
|
609
609
|
case Xt:
|
|
610
610
|
for (A(), l.Qb = Je(), l.tb = [], L(tt), H.push(Ro); I !== De; )
|
|
611
611
|
I === qt || I === Kn ? (s = I === qt, h && x(h, "SwitchCase"), l.tb.push(h = G()), h.da = [], A(), s ? h.test = Y() : (c && r(Kt, "Multiple default clauses"), c = !0, h.test = null), L(nt)) : (h || he(), h.da.push(le()));
|
|
@@ -613,9 +613,9 @@ var O, Xo = function(e) {
|
|
|
613
613
|
case Yn:
|
|
614
614
|
return A(), wt.test(b.slice(xe, K)) && r(xe, "Illegal newline after throw"), l.K = Y(), je(), x(l, "ThrowStatement");
|
|
615
615
|
case Zn:
|
|
616
|
-
return A(), l.block = Xe(), l.Ea = null, I === Dn && (s = G(), A(), L(ge), s.Ua = fe(), ne && Ct(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), L(ue), s.body = Xe(), l.Ea = x(s, "CatchClause")), l.fb =
|
|
616
|
+
return A(), l.block = Xe(), l.Ea = null, I === Dn && (s = G(), A(), L(ge), s.Ua = fe(), ne && Ct(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), L(ue), s.body = Xe(), l.Ea = x(s, "CatchClause")), l.fb = M(Gn) ? Xe() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), x(l, "TryStatement");
|
|
617
617
|
case Yt:
|
|
618
|
-
return A(),
|
|
618
|
+
return A(), Un(l), je(), x(l, "VariableDeclaration");
|
|
619
619
|
case Zt:
|
|
620
620
|
return A(), l.test = Je(), H.push(tn), l.body = le(), H.pop(), x(l, "WhileStatement");
|
|
621
621
|
case Qn:
|
|
@@ -625,7 +625,7 @@ var O, Xo = function(e) {
|
|
|
625
625
|
case ye:
|
|
626
626
|
return A(), x(l, "EmptyStatement");
|
|
627
627
|
default:
|
|
628
|
-
if (c = oe, T = Y(), s === We && T.type === "Identifier" &&
|
|
628
|
+
if (c = oe, T = Y(), s === We && T.type === "Identifier" && M(nt)) {
|
|
629
629
|
for (h = 0; h < H.length; ++h)
|
|
630
630
|
H[h].name === c && r(T.start, "Label '" + c + "' is already declared");
|
|
631
631
|
return H.push({
|
|
@@ -643,69 +643,69 @@ var O, Xo = function(e) {
|
|
|
643
643
|
}
|
|
644
644
|
function Xe(s) {
|
|
645
645
|
var l = G(), c = !0, h = !1;
|
|
646
|
-
for (l.body = [], L(tt); !
|
|
646
|
+
for (l.body = [], L(tt); !M(De); ) {
|
|
647
647
|
var T = le();
|
|
648
648
|
if (l.body.push(T), c && s && Nt(T)) {
|
|
649
649
|
var _ = h;
|
|
650
|
-
|
|
650
|
+
Me(h = !0);
|
|
651
651
|
}
|
|
652
652
|
c = !1;
|
|
653
653
|
}
|
|
654
|
-
return h && !_ &&
|
|
654
|
+
return h && !_ && Me(!1), x(l, "BlockStatement");
|
|
655
655
|
}
|
|
656
656
|
function Bt(s, l) {
|
|
657
657
|
return s.ua = l, L(ye), s.test = I === ye ? null : Y(), L(ye), s.update = I === ue ? null : Y(), L(ue), s.body = le(), H.pop(), x(s, "ForStatement");
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function Mn(s, l) {
|
|
660
660
|
return s.left = l, s.right = Y(), L(ue), s.body = le(), H.pop(), x(s, "ForInStatement");
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function Un(s, l) {
|
|
663
663
|
for (s.fa = [], s.kind = "var"; ; ) {
|
|
664
664
|
var c = G();
|
|
665
|
-
if (c.id = fe(), ne && Ct(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua =
|
|
665
|
+
if (c.id = fe(), ne && Ct(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = M(lr) ? Y(!0, l) : null, s.fa.push(x(c, "VariableDeclarator")), !M(Re))
|
|
666
666
|
break;
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
function Y(s, l) {
|
|
670
|
-
var c =
|
|
670
|
+
var c = Vt(l);
|
|
671
671
|
if (!s && I === Re) {
|
|
672
|
-
for (s = Te(c), s.xb = [c];
|
|
673
|
-
s.xb.push(
|
|
672
|
+
for (s = Te(c), s.xb = [c]; M(Re); )
|
|
673
|
+
s.xb.push(Vt(l));
|
|
674
674
|
return x(s, "SequenceExpression");
|
|
675
675
|
}
|
|
676
676
|
return c;
|
|
677
677
|
}
|
|
678
|
-
function
|
|
679
|
-
var l =
|
|
680
|
-
if (
|
|
678
|
+
function Vt(s) {
|
|
679
|
+
var l = Mt(Ut(), -1, s);
|
|
680
|
+
if (M(sr)) {
|
|
681
681
|
var c = Te(l);
|
|
682
682
|
c.test = l, c.da = Y(!0), L(nt), c.alternate = Y(!0, s), l = x(c, "ConditionalExpression");
|
|
683
683
|
}
|
|
684
|
-
return I.Cb ? (c = Te(l), c.operator = oe, c.left = l, A(), c.right =
|
|
684
|
+
return I.Cb ? (c = Te(l), c.operator = oe, c.left = l, A(), c.right = Vt(s), vt(l), x(c, "AssignmentExpression")) : l;
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function Mt(s, l, c) {
|
|
687
687
|
var h = I.L;
|
|
688
688
|
if (h !== null && (!c || I !== St) && h > l) {
|
|
689
689
|
var T = Te(s);
|
|
690
|
-
return T.left = s, T.operator = oe, s = I, A(), T.right =
|
|
690
|
+
return T.left = s, T.operator = oe, s = I, A(), T.right = Mt(Ut(), h, c), h = x(T, s === cr || s === pr ? "LogicalExpression" : "BinaryExpression"), Mt(h, l, c);
|
|
691
691
|
}
|
|
692
692
|
return s;
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function Ut() {
|
|
695
695
|
if (I.prefix) {
|
|
696
696
|
var s = G(), l = I.$b;
|
|
697
|
-
return s.operator = oe, Ze = s.prefix = !0, A(), s.K =
|
|
697
|
+
return s.operator = oe, Ze = s.prefix = !0, A(), s.K = Ut(), l ? vt(s.K) : ne && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), x(s, l ? "UpdateExpression" : "UnaryExpression");
|
|
698
698
|
}
|
|
699
699
|
for (l = Ye(bt()); I.cc && !yt(); )
|
|
700
700
|
s = Te(l), s.operator = oe, s.prefix = !1, s.K = l, vt(l), A(), l = x(s, "UpdateExpression");
|
|
701
701
|
return l;
|
|
702
702
|
}
|
|
703
703
|
function Ye(s, l) {
|
|
704
|
-
if (
|
|
704
|
+
if (M(ir)) {
|
|
705
705
|
var c = Te(s);
|
|
706
706
|
return c.object = s, c.Wa = fe(!0), c.bb = !1, Ye(x(c, "MemberExpression"), l);
|
|
707
707
|
}
|
|
708
|
-
return
|
|
708
|
+
return M(Qt) ? (c = Te(s), c.object = s, c.Wa = Y(), c.bb = !0, L(en), Ye(x(c, "MemberExpression"), l)) : !l && M(ge) ? (c = Te(s), c.callee = s, c.arguments = Wt(ue, !1), Ye(x(c, "CallExpression"), l)) : s;
|
|
709
709
|
}
|
|
710
710
|
function bt() {
|
|
711
711
|
switch (I) {
|
|
@@ -731,15 +731,15 @@ var O, Xo = function(e) {
|
|
|
731
731
|
case Qt:
|
|
732
732
|
return s = G(), A(), s.elements = Wt(en, !0, !0), x(s, "ArrayExpression");
|
|
733
733
|
case tt:
|
|
734
|
-
for (s = G(), l = !0, c = !1, s.h = [], A(); !
|
|
734
|
+
for (s = G(), l = !0, c = !1, s.h = [], A(); !M(De); ) {
|
|
735
735
|
if (l)
|
|
736
736
|
l = !1;
|
|
737
|
-
else if (L(Re), R.sb &&
|
|
737
|
+
else if (L(Re), R.sb && M(De))
|
|
738
738
|
break;
|
|
739
739
|
var h = {
|
|
740
740
|
key: I === et || I === kt ? bt() : fe(!0)
|
|
741
741
|
}, T = !1;
|
|
742
|
-
if (
|
|
742
|
+
if (M(nt)) {
|
|
743
743
|
h.value = Y(!0);
|
|
744
744
|
var _ = h.kind = "init";
|
|
745
745
|
} else
|
|
@@ -758,14 +758,14 @@ var O, Xo = function(e) {
|
|
|
758
758
|
case Jt:
|
|
759
759
|
return s = G(), A(), Ft(s, !1);
|
|
760
760
|
case er:
|
|
761
|
-
return s = G(), A(), s.callee = Ye(bt(), !0), s.arguments =
|
|
761
|
+
return s = G(), A(), s.callee = Ye(bt(), !0), s.arguments = M(ge) ? Wt(ue, !1) : ho, x(s, "NewExpression");
|
|
762
762
|
}
|
|
763
763
|
he();
|
|
764
764
|
}
|
|
765
765
|
function Ft(s, l) {
|
|
766
766
|
I === We ? s.id = fe() : l ? he() : s.id = null, s.oa = [];
|
|
767
767
|
var c = !0;
|
|
768
|
-
for (L(ge); !
|
|
768
|
+
for (L(ge); !M(ue); )
|
|
769
769
|
c ? c = !1 : L(Re), s.oa.push(fe());
|
|
770
770
|
c = Qe;
|
|
771
771
|
var h = H;
|
|
@@ -778,10 +778,10 @@ var O, Xo = function(e) {
|
|
|
778
778
|
return x(s, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
779
779
|
}
|
|
780
780
|
function Wt(s, l, c) {
|
|
781
|
-
for (var h = [], T = !0; !
|
|
781
|
+
for (var h = [], T = !0; !M(s); ) {
|
|
782
782
|
if (T)
|
|
783
783
|
T = !1;
|
|
784
|
-
else if (L(Re), l && R.sb &&
|
|
784
|
+
else if (L(Re), l && R.sb && M(s))
|
|
785
785
|
break;
|
|
786
786
|
h.push(c && I === Re ? null : Y(!0));
|
|
787
787
|
}
|
|
@@ -792,13 +792,13 @@ var O, Xo = function(e) {
|
|
|
792
792
|
return s && R.yb === "everywhere" && (s = !1), I === We ? (!s && (R.yb && Eo(oe) || ne && dr(oe)) && b.slice(K, Fe).indexOf("\\") === -1 && r(K, "The keyword '" + oe + "' is reserved"), l.name = oe) : s && I.l ? l.name = I.l : he(), Ze = !1, A(), x(l, "Identifier");
|
|
793
793
|
}
|
|
794
794
|
e.version = "0.5.0";
|
|
795
|
-
var R, b = "",
|
|
795
|
+
var R, b = "", Ue, Dt;
|
|
796
796
|
e.parse = function(s, l) {
|
|
797
|
-
b = String(s),
|
|
797
|
+
b = String(s), Ue = b.length, R = l || {};
|
|
798
798
|
for (var c in Fn)
|
|
799
799
|
Object.prototype.hasOwnProperty.call(R, c) || (R[c] = Fn[c]);
|
|
800
800
|
for (Dt = R.sourceFile, Oe = 1, p = me = 0, Ze = !0, d(), c = R.dc, Kt = xe = p, R.C && (_t = new i()), Qe = ne = !1, H = [], y(), s = c || G(), l = !0, c || (s.body = []); I !== zt; )
|
|
801
|
-
c = le(), s.body.push(c), l && Nt(c) &&
|
|
801
|
+
c = le(), s.body.push(c), l && Nt(c) && Me(!0), l = !1;
|
|
802
802
|
return x(s, "Program");
|
|
803
803
|
};
|
|
804
804
|
var Fn = {
|
|
@@ -1055,7 +1055,7 @@ var fr = {
|
|
|
1055
1055
|
configurable: !1,
|
|
1056
1056
|
enumerable: !0,
|
|
1057
1057
|
writable: !0
|
|
1058
|
-
},
|
|
1058
|
+
}, Mr = {
|
|
1059
1059
|
STEP_ERROR: !0
|
|
1060
1060
|
}, qe = {
|
|
1061
1061
|
SCOPE_REFERENCE: !0
|
|
@@ -1127,7 +1127,7 @@ O.lb = function() {
|
|
|
1127
1127
|
try {
|
|
1128
1128
|
var i = this.rb[r.type](e, n, r);
|
|
1129
1129
|
} catch (a) {
|
|
1130
|
-
if (a !==
|
|
1130
|
+
if (a !== Mr)
|
|
1131
1131
|
throw this.value !== a && (this.value = void 0), a;
|
|
1132
1132
|
} finally {
|
|
1133
1133
|
ut = o;
|
|
@@ -1193,7 +1193,7 @@ function Qo(e, t) {
|
|
|
1193
1193
|
e.O = e.i(r, !0), e.g(t, "Function", e.O, k), e.g(e.O, "prototype", e.Z, k), e.g(e.Z, "constructor", e.O, k), e.Z.Ta = function() {
|
|
1194
1194
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, te), e.Z.H = "Function", r = function(o, i) {
|
|
1195
1195
|
var a = e.o[e.o.length - 1];
|
|
1196
|
-
a.U = this, a.B = o, a.F = [], i != null && (i instanceof P ? a.F =
|
|
1196
|
+
a.U = this, a.B = o, a.F = [], i != null && (i instanceof P ? a.F = Ur(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
|
|
1197
1197
|
}, z(e, e.O, "apply", r), r = function(o) {
|
|
1198
1198
|
var i = e.o[e.o.length - 1];
|
|
1199
1199
|
i.U = this, i.B = o, i.F = [];
|
|
@@ -1491,7 +1491,7 @@ function ui(e, t) {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
return e.Ia(o);
|
|
1493
1493
|
}, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
|
|
1494
|
-
o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o =
|
|
1494
|
+
o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Ur(e, o), o = o.filter(function(u) {
|
|
1495
1495
|
return typeof u == "string" || typeof u == "number";
|
|
1496
1496
|
})) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
|
|
1497
1497
|
try {
|
|
@@ -1677,7 +1677,7 @@ function be(e, t) {
|
|
|
1677
1677
|
e.g(n, r[o], t[r[o]]);
|
|
1678
1678
|
return n;
|
|
1679
1679
|
}
|
|
1680
|
-
function
|
|
1680
|
+
function Ur(e, t) {
|
|
1681
1681
|
var n = [], r;
|
|
1682
1682
|
for (r in t.h)
|
|
1683
1683
|
n[r] = e.G(t, r);
|
|
@@ -1907,7 +1907,7 @@ function xn(e, t, n) {
|
|
|
1907
1907
|
return t[0] === qe ? Fr(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1908
1908
|
}
|
|
1909
1909
|
function w(e, t, n) {
|
|
1910
|
-
throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), pn(e, t, n)), ft(e, 4, t),
|
|
1910
|
+
throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), pn(e, t, n)), ft(e, 4, t), Mr) : n === void 0 ? t : n;
|
|
1911
1911
|
}
|
|
1912
1912
|
function ft(e, t, n, r) {
|
|
1913
1913
|
if (t === 0)
|
|
@@ -2969,7 +2969,7 @@ const wi = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase
|
|
|
2969
2969
|
if (typeof r == "string")
|
|
2970
2970
|
return `${wi(n)}: ${r};`;
|
|
2971
2971
|
}).filter($e), Ei = (e) => Kr(e).join(`
|
|
2972
|
-
`),
|
|
2972
|
+
`), Ml = ({
|
|
2973
2973
|
mediaQuery: e,
|
|
2974
2974
|
className: t,
|
|
2975
2975
|
styles: n
|
|
@@ -3063,22 +3063,22 @@ const Ti = ({
|
|
|
3063
3063
|
},
|
|
3064
3064
|
block: r
|
|
3065
3065
|
}));
|
|
3066
|
-
}, Ri = () => import("./block-styles-
|
|
3066
|
+
}, Ri = () => import("./block-styles-B3awvzyT.js").then((e) => e.default).catch((e) => {
|
|
3067
3067
|
throw console.error(
|
|
3068
3068
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
3069
3069
|
e
|
|
3070
3070
|
), e;
|
|
3071
|
-
}), Ai = () => import("./block-wrapper-
|
|
3071
|
+
}), Ai = () => import("./block-wrapper-y2793ZN5.js").then((e) => e.default).catch((e) => {
|
|
3072
3072
|
throw console.error(
|
|
3073
3073
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
3074
3074
|
e
|
|
3075
3075
|
), e;
|
|
3076
|
-
}), $i = () => import("./component-ref-
|
|
3076
|
+
}), $i = () => import("./component-ref-znPa_yPg.js").then((e) => e.default).catch((e) => {
|
|
3077
3077
|
throw console.error(
|
|
3078
3078
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
3079
3079
|
e
|
|
3080
3080
|
), e;
|
|
3081
|
-
}), Pi = () => import("./repeated-block-
|
|
3081
|
+
}), Pi = () => import("./repeated-block-e19DbJ9g.js").then((e) => e.default).catch((e) => {
|
|
3082
3082
|
throw console.error(
|
|
3083
3083
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
3084
3084
|
e
|
|
@@ -3168,7 +3168,7 @@ const Ti = ({
|
|
|
3168
3168
|
});
|
|
3169
3169
|
function Oi(e, t, n, r, o, i) {
|
|
3170
3170
|
var f;
|
|
3171
|
-
const a =
|
|
3171
|
+
const a = U("block-styles"), u = U("component-ref"), d = U("block", !0), m = U("block-wrapper"), y = U("repeated-block");
|
|
3172
3172
|
return e.canShowBlock ? (v(), $(re, { key: 0 }, [
|
|
3173
3173
|
Se(a, {
|
|
3174
3174
|
block: e.block,
|
|
@@ -3186,7 +3186,7 @@ function Oi(e, t, n, r, o, i) {
|
|
|
3186
3186
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
3187
3187
|
isInteractive: e.componentRefProps.isInteractive
|
|
3188
3188
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"])) : (v(), $(re, { key: 0 }, [
|
|
3189
|
-
e.repeatItem ? (v(!0), $(re, { key: 1 },
|
|
3189
|
+
e.repeatItem ? (v(!0), $(re, { key: 1 }, Ve(e.repeatItem, (C, j) => (v(), B(y, {
|
|
3190
3190
|
key: j,
|
|
3191
3191
|
repeatContext: C.context,
|
|
3192
3192
|
block: C.block,
|
|
@@ -3211,7 +3211,7 @@ function Oi(e, t, n, r, o, i) {
|
|
|
3211
3211
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
3212
3212
|
isInteractive: e.componentRefProps.isInteractive
|
|
3213
3213
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
|
|
3214
|
-
(v(!0), $(re, null,
|
|
3214
|
+
(v(!0), $(re, null, Ve(e.childrenWithoutParentComponent, (C, j) => (v(), B(d, {
|
|
3215
3215
|
key: C.id,
|
|
3216
3216
|
block: C,
|
|
3217
3217
|
registeredComponents: e.registeredComponents,
|
|
@@ -3224,7 +3224,7 @@ function Oi(e, t, n, r, o, i) {
|
|
|
3224
3224
|
], 64))
|
|
3225
3225
|
], 64)) : D("", !0);
|
|
3226
3226
|
}
|
|
3227
|
-
const jn = /* @__PURE__ */
|
|
3227
|
+
const jn = /* @__PURE__ */ V(ji, [["render", Oi]]), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3228
3228
|
__proto__: null,
|
|
3229
3229
|
default: jn
|
|
3230
3230
|
}, Symbol.toStringTag, { value: "Module" })), Ni = N({
|
|
@@ -3288,9 +3288,9 @@ function Bi(e, t, n, r, o, i) {
|
|
|
3288
3288
|
_: 3
|
|
3289
3289
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
3290
3290
|
}
|
|
3291
|
-
const
|
|
3291
|
+
const Vi = /* @__PURE__ */ V(Ni, [["render", Bi], ["__scopeId", "data-v-b8add99a"]]), Mi = N({
|
|
3292
3292
|
name: "builder-blocks",
|
|
3293
|
-
components: { BlocksWrapper:
|
|
3293
|
+
components: { BlocksWrapper: Vi, Block: jn },
|
|
3294
3294
|
props: [
|
|
3295
3295
|
"blocks",
|
|
3296
3296
|
"parent",
|
|
@@ -3305,9 +3305,9 @@ const Ui = /* @__PURE__ */ U(Ni, [["render", Bi], ["__scopeId", "data-v-b8add99a
|
|
|
3305
3305
|
componentsContext: Pr.key
|
|
3306
3306
|
}
|
|
3307
3307
|
});
|
|
3308
|
-
function
|
|
3308
|
+
function Ui(e, t, n, r, o, i) {
|
|
3309
3309
|
var d, m;
|
|
3310
|
-
const a =
|
|
3310
|
+
const a = U("block"), u = U("blocks-wrapper");
|
|
3311
3311
|
return v(), B(u, {
|
|
3312
3312
|
blocks: e.blocks,
|
|
3313
3313
|
parent: e.parent,
|
|
@@ -3317,7 +3317,7 @@ function Mi(e, t, n, r, o, i) {
|
|
|
3317
3317
|
BlocksWrapperProps: ((m = e.context) == null ? void 0 : m.BlocksWrapperProps) || e.builderContext.BlocksWrapperProps
|
|
3318
3318
|
}, {
|
|
3319
3319
|
default: we(() => [
|
|
3320
|
-
e.blocks ? (v(!0), $(re, { key: 0 },
|
|
3320
|
+
e.blocks ? (v(!0), $(re, { key: 0 }, Ve(e.blocks, (y, f) => (v(), B(a, {
|
|
3321
3321
|
key: y.id,
|
|
3322
3322
|
block: y,
|
|
3323
3323
|
linkComponent: e.linkComponent,
|
|
@@ -3328,7 +3328,7 @@ function Mi(e, t, n, r, o, i) {
|
|
|
3328
3328
|
_: 1
|
|
3329
3329
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
|
|
3330
3330
|
}
|
|
3331
|
-
const Ot = /* @__PURE__ */
|
|
3331
|
+
const Ot = /* @__PURE__ */ V(Mi, [["render", Ui]]), On = N({
|
|
3332
3332
|
render() {
|
|
3333
3333
|
return Ar("style", { id: this.id, innerHTML: this.styles });
|
|
3334
3334
|
},
|
|
@@ -3350,7 +3350,7 @@ const Ot = /* @__PURE__ */ U(Vi, [["render", Mi]]), On = N({
|
|
|
3350
3350
|
default: 991,
|
|
3351
3351
|
max: 1200
|
|
3352
3352
|
}
|
|
3353
|
-
},
|
|
3353
|
+
}, Wl = (e, t = zr) => `@media (max-width: ${t[e].max}px)`, Fi = ({
|
|
3354
3354
|
small: e,
|
|
3355
3355
|
medium: t
|
|
3356
3356
|
}) => {
|
|
@@ -3500,7 +3500,7 @@ const Ot = /* @__PURE__ */ U(Vi, [["render", Mi]]), On = N({
|
|
|
3500
3500
|
}
|
|
3501
3501
|
});
|
|
3502
3502
|
function Di(e, t, n, r, o, i) {
|
|
3503
|
-
const a =
|
|
3503
|
+
const a = U("inlined-styles"), u = U("blocks"), d = U("dynamic-renderer");
|
|
3504
3504
|
return v(), $("div", J({
|
|
3505
3505
|
class: `builder-columns ${e.builderBlock.id}-breakpoints div-2fnk003dqad`,
|
|
3506
3506
|
style: e.columnsCssVars
|
|
@@ -3509,7 +3509,7 @@ function Di(e, t, n, r, o, i) {
|
|
|
3509
3509
|
key: 0,
|
|
3510
3510
|
styles: e.columnsStyles
|
|
3511
3511
|
}, null, 8, ["styles"])) : D("", !0),
|
|
3512
|
-
(v(!0), $(re, null,
|
|
3512
|
+
(v(!0), $(re, null, Ve(e.columns, (m, y) => (v(), B(d, {
|
|
3513
3513
|
key: y,
|
|
3514
3514
|
TagName: m.link ? e.builderLinkComponent || "a" : "div",
|
|
3515
3515
|
actionAttributes: {},
|
|
@@ -3538,7 +3538,7 @@ function Di(e, t, n, r, o, i) {
|
|
|
3538
3538
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
3539
3539
|
], 16);
|
|
3540
3540
|
}
|
|
3541
|
-
const Li = /* @__PURE__ */
|
|
3541
|
+
const Li = /* @__PURE__ */ V(Wi, [["render", Di], ["__scopeId", "data-v-d0d8b675"]]), Hi = N({
|
|
3542
3542
|
name: "builder-fragment-component",
|
|
3543
3543
|
props: []
|
|
3544
3544
|
});
|
|
@@ -3547,7 +3547,7 @@ function Ki(e, t, n, r, o, i) {
|
|
|
3547
3547
|
pe(e.$slots, "default")
|
|
3548
3548
|
]);
|
|
3549
3549
|
}
|
|
3550
|
-
const _i = /* @__PURE__ */
|
|
3550
|
+
const _i = /* @__PURE__ */ V(Hi, [["render", Ki]]);
|
|
3551
3551
|
function kr(e) {
|
|
3552
3552
|
return e.replace(/http(s)?:/, "");
|
|
3553
3553
|
}
|
|
@@ -3667,7 +3667,7 @@ function Zi(e, t, n, r, o, i) {
|
|
|
3667
3667
|
])) : D("", !0)
|
|
3668
3668
|
], 64);
|
|
3669
3669
|
}
|
|
3670
|
-
const Qi = /* @__PURE__ */
|
|
3670
|
+
const Qi = /* @__PURE__ */ V(qi, [["render", Zi], ["__scopeId", "data-v-c23615d2"]]), es = N({
|
|
3671
3671
|
name: "builder-section-component",
|
|
3672
3672
|
props: ["attributes", "maxWidth"],
|
|
3673
3673
|
data() {
|
|
@@ -3692,7 +3692,7 @@ function ts(e, t, n, r, o, i) {
|
|
|
3692
3692
|
pe(e.$slots, "default")
|
|
3693
3693
|
], 16);
|
|
3694
3694
|
}
|
|
3695
|
-
const ns = /* @__PURE__ */
|
|
3695
|
+
const ns = /* @__PURE__ */ V(es, [["render", ts]]), rs = (e) => {
|
|
3696
3696
|
if (e === "localhost" || e === "127.0.0.1")
|
|
3697
3697
|
return e;
|
|
3698
3698
|
const t = e.split(".");
|
|
@@ -4226,7 +4226,7 @@ const ns = /* @__PURE__ */ U(es, [["render", ts]]), rs = (e) => {
|
|
|
4226
4226
|
});
|
|
4227
4227
|
function Ss(e, t, n, r, o, i) {
|
|
4228
4228
|
var u, d, m;
|
|
4229
|
-
const a =
|
|
4229
|
+
const a = U("blocks");
|
|
4230
4230
|
return v(), $("div", J(
|
|
4231
4231
|
{ style: {
|
|
4232
4232
|
pointerEvents: "auto"
|
|
@@ -4243,7 +4243,7 @@ function Ss(e, t, n, r, o, i) {
|
|
|
4243
4243
|
}, null, 8, ["parent", "path", "context", "blocks"])
|
|
4244
4244
|
], 16);
|
|
4245
4245
|
}
|
|
4246
|
-
const Cs = /* @__PURE__ */
|
|
4246
|
+
const Cs = /* @__PURE__ */ V(ks, [["render", Ss]]), ws = {
|
|
4247
4247
|
name: "Symbol",
|
|
4248
4248
|
noWrap: !0,
|
|
4249
4249
|
static: !0,
|
|
@@ -4308,7 +4308,7 @@ function xs(e, t, n, r, o, i) {
|
|
|
4308
4308
|
}
|
|
4309
4309
|
}, null, 8, Ts);
|
|
4310
4310
|
}
|
|
4311
|
-
const Rs = /* @__PURE__ */
|
|
4311
|
+
const Rs = /* @__PURE__ */ V(Is, [["render", xs]]), As = {
|
|
4312
4312
|
name: "Custom Code",
|
|
4313
4313
|
static: !0,
|
|
4314
4314
|
requiredPermissions: ["editCode"],
|
|
@@ -4372,7 +4372,7 @@ function js(e, t, n, r, o, i) {
|
|
|
4372
4372
|
innerHTML: e.code
|
|
4373
4373
|
}, null, 10, Ps);
|
|
4374
4374
|
}
|
|
4375
|
-
const Os = /* @__PURE__ */
|
|
4375
|
+
const Os = /* @__PURE__ */ V($s, [["render", js]]), Ns = {
|
|
4376
4376
|
name: "Embed",
|
|
4377
4377
|
static: !0,
|
|
4378
4378
|
inputs: [{
|
|
@@ -4397,7 +4397,7 @@ const Os = /* @__PURE__ */ U($s, [["render", js]]), Ns = {
|
|
|
4397
4397
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
4398
4398
|
hideFromUI: !0
|
|
4399
4399
|
}]
|
|
4400
|
-
}, Bs = ["text/javascript", "application/javascript", "application/ecmascript"],
|
|
4400
|
+
}, Bs = ["text/javascript", "application/javascript", "application/ecmascript"], Vs = (e) => Bs.includes(e.type), Ms = N({
|
|
4401
4401
|
name: "builder-embed",
|
|
4402
4402
|
props: ["content"],
|
|
4403
4403
|
data() {
|
|
@@ -4430,7 +4430,7 @@ const Os = /* @__PURE__ */ U($s, [["render", js]]), Ns = {
|
|
|
4430
4430
|
this.scriptsInserted.push(n.src);
|
|
4431
4431
|
const r = document.createElement("script");
|
|
4432
4432
|
r.async = !0, r.src = n.src, document.head.appendChild(r);
|
|
4433
|
-
} else if (
|
|
4433
|
+
} else if (Vs(n) && !this.scriptsRun.includes(n.innerText))
|
|
4434
4434
|
try {
|
|
4435
4435
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
4436
4436
|
} catch (r) {
|
|
@@ -4439,15 +4439,15 @@ const Os = /* @__PURE__ */ U($s, [["render", js]]), Ns = {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
}
|
|
4441
4441
|
}
|
|
4442
|
-
}),
|
|
4442
|
+
}), Us = ["innerHTML"];
|
|
4443
4443
|
function Fs(e, t, n, r, o, i) {
|
|
4444
4444
|
return v(), $("div", {
|
|
4445
4445
|
class: "builder-embed",
|
|
4446
4446
|
ref: "elem",
|
|
4447
4447
|
innerHTML: e.content
|
|
4448
|
-
}, null, 8,
|
|
4448
|
+
}, null, 8, Us);
|
|
4449
4449
|
}
|
|
4450
|
-
const Ws = /* @__PURE__ */
|
|
4450
|
+
const Ws = /* @__PURE__ */ V(Ms, [["render", Fs]]), Ds = {
|
|
4451
4451
|
name: "Form:Form",
|
|
4452
4452
|
// editableTags: ['builder-form-error']
|
|
4453
4453
|
defaults: {
|
|
@@ -4852,7 +4852,7 @@ const Ws = /* @__PURE__ */ U(Vs, [["render", Fs]]), Ds = {
|
|
|
4852
4852
|
};
|
|
4853
4853
|
function qs(e, t, n, r, o, i) {
|
|
4854
4854
|
var d;
|
|
4855
|
-
const a =
|
|
4855
|
+
const a = U("block"), u = U("blocks");
|
|
4856
4856
|
return v(), $("form", J({
|
|
4857
4857
|
validate: e.validate,
|
|
4858
4858
|
ref: "formRef",
|
|
@@ -4861,7 +4861,7 @@ function qs(e, t, n, r, o, i) {
|
|
|
4861
4861
|
name: e.name,
|
|
4862
4862
|
onSubmit: t[0] || (t[0] = (m) => e.onSubmit(m))
|
|
4863
4863
|
}, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
4864
|
-
e.builderBlock && e.builderBlock.children ? (v(!0), $(re, { key: 0 },
|
|
4864
|
+
e.builderBlock && e.builderBlock.children ? (v(!0), $(re, { key: 0 }, Ve((d = e.builderBlock) == null ? void 0 : d.children, (m, y) => (v(), B(a, {
|
|
4865
4865
|
key: `form-block-${e.idx}`,
|
|
4866
4866
|
block: m,
|
|
4867
4867
|
context: e.builderContext,
|
|
@@ -4889,7 +4889,7 @@ function qs(e, t, n, r, o, i) {
|
|
|
4889
4889
|
}, null, 8, ["blocks", "context"])) : D("", !0)
|
|
4890
4890
|
], 16, zs);
|
|
4891
4891
|
}
|
|
4892
|
-
const Js = /* @__PURE__ */
|
|
4892
|
+
const Js = /* @__PURE__ */ V(_s, [["render", qs], ["__scopeId", "data-v-541b06ed"]]), Xs = {
|
|
4893
4893
|
name: "Form:Input",
|
|
4894
4894
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4895
4895
|
inputs: [
|
|
@@ -4966,7 +4966,7 @@ function Qs(e, t, n, r, o, i) {
|
|
|
4966
4966
|
required: e.required
|
|
4967
4967
|
}, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Zs);
|
|
4968
4968
|
}
|
|
4969
|
-
const ea = /* @__PURE__ */
|
|
4969
|
+
const ea = /* @__PURE__ */ V(Ys, [["render", Qs]]), ta = {
|
|
4970
4970
|
name: "Form:Select",
|
|
4971
4971
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
4972
4972
|
defaultStyles: {
|
|
@@ -5022,13 +5022,13 @@ function ia(e, t, n, r, o, i) {
|
|
|
5022
5022
|
defaultValue: e.defaultValue,
|
|
5023
5023
|
name: e.name
|
|
5024
5024
|
}, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
5025
|
-
(v(!0), $(re, null,
|
|
5025
|
+
(v(!0), $(re, null, Ve(e.options, (a, u) => (v(), $("option", {
|
|
5026
5026
|
key: u,
|
|
5027
5027
|
value: a.value
|
|
5028
5028
|
}, $t(a.name || a.value), 9, oa))), 128))
|
|
5029
5029
|
], 16, ra);
|
|
5030
5030
|
}
|
|
5031
|
-
const sa = /* @__PURE__ */
|
|
5031
|
+
const sa = /* @__PURE__ */ V(na, [["render", ia]]), aa = {
|
|
5032
5032
|
name: "Form:SubmitButton",
|
|
5033
5033
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
5034
5034
|
defaultStyles: {
|
|
@@ -5063,7 +5063,7 @@ const sa = /* @__PURE__ */ U(na, [["render", ia]]), aa = {
|
|
|
5063
5063
|
function ua(e, t, n, r, o, i) {
|
|
5064
5064
|
return v(), $("button", J({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), $t(e.text), 17);
|
|
5065
5065
|
}
|
|
5066
|
-
const ca = /* @__PURE__ */
|
|
5066
|
+
const ca = /* @__PURE__ */ V(la, [["render", ua]]), pa = {
|
|
5067
5067
|
// friendlyName?
|
|
5068
5068
|
name: "Raw:Img",
|
|
5069
5069
|
hideFromInsertMenu: !0,
|
|
@@ -5102,7 +5102,7 @@ function fa(e, t, n, r, o, i) {
|
|
|
5102
5102
|
src: e.imgSrc || e.image
|
|
5103
5103
|
}, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, ha);
|
|
5104
5104
|
}
|
|
5105
|
-
const ma = /* @__PURE__ */
|
|
5105
|
+
const ma = /* @__PURE__ */ V(da, [["render", fa]]), ga = {
|
|
5106
5106
|
name: "Video",
|
|
5107
5107
|
canHaveChildren: !0,
|
|
5108
5108
|
defaultStyles: {
|
|
@@ -5297,7 +5297,7 @@ function wa(e, t, n, r, o, i) {
|
|
|
5297
5297
|
])) : D("", !0)
|
|
5298
5298
|
]);
|
|
5299
5299
|
}
|
|
5300
|
-
const Ea = /* @__PURE__ */
|
|
5300
|
+
const Ea = /* @__PURE__ */ V(ya, [["render", wa]]), Ia = () => [{
|
|
5301
5301
|
component: Os,
|
|
5302
5302
|
...As
|
|
5303
5303
|
}, {
|
|
@@ -5340,7 +5340,7 @@ const Ea = /* @__PURE__ */ U(ya, [["render", wa]]), Ia = () => [{
|
|
|
5340
5340
|
component: Cs,
|
|
5341
5341
|
...bs
|
|
5342
5342
|
}, {
|
|
5343
|
-
component:
|
|
5343
|
+
component: Ol,
|
|
5344
5344
|
...ws
|
|
5345
5345
|
}, {
|
|
5346
5346
|
component: Rs,
|
|
@@ -5475,17 +5475,17 @@ const Ea = /* @__PURE__ */ U(ya, [["render", wa]]), Ia = () => [{
|
|
|
5475
5475
|
name: "inlined-script",
|
|
5476
5476
|
props: ["scriptStr", "id"]
|
|
5477
5477
|
});
|
|
5478
|
-
function
|
|
5478
|
+
function Va() {
|
|
5479
5479
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
5480
5480
|
}
|
|
5481
|
-
function
|
|
5482
|
-
const e =
|
|
5481
|
+
function Ma() {
|
|
5482
|
+
const e = Va().fetch;
|
|
5483
5483
|
if (typeof e > "u")
|
|
5484
5484
|
throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
5485
5485
|
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
|
|
5486
5486
|
return e;
|
|
5487
5487
|
}
|
|
5488
|
-
const ro =
|
|
5488
|
+
const ro = Ma();
|
|
5489
5489
|
function Rt(e, t = null, n = ".") {
|
|
5490
5490
|
return Object.keys(e).reduce((r, o) => {
|
|
5491
5491
|
const i = e[o], a = [t, o].filter(Boolean).join(n);
|
|
@@ -5498,7 +5498,7 @@ function Rt(e, t = null, n = ".") {
|
|
|
5498
5498
|
};
|
|
5499
5499
|
}, {});
|
|
5500
5500
|
}
|
|
5501
|
-
const
|
|
5501
|
+
const Ua = "v3", Cr = "builder.", Fa = "options.", oo = (e) => {
|
|
5502
5502
|
if (!e)
|
|
5503
5503
|
return {};
|
|
5504
5504
|
const t = jr(e), n = {};
|
|
@@ -5522,7 +5522,7 @@ const Ma = "v3", Cr = "builder.", Fa = "options.", oo = (e) => {
|
|
|
5522
5522
|
apiKey: i,
|
|
5523
5523
|
enrich: a,
|
|
5524
5524
|
locale: u,
|
|
5525
|
-
apiVersion: d =
|
|
5525
|
+
apiVersion: d = Ua,
|
|
5526
5526
|
fields: m,
|
|
5527
5527
|
omit: y,
|
|
5528
5528
|
offset: f,
|
|
@@ -5546,9 +5546,9 @@ const Ma = "v3", Cr = "builder.", Fa = "options.", oo = (e) => {
|
|
|
5546
5546
|
const A = {
|
|
5547
5547
|
...Wa(),
|
|
5548
5548
|
...jr(e.options || {})
|
|
5549
|
-
},
|
|
5550
|
-
for (const ae in
|
|
5551
|
-
W.searchParams.set(ae, String(
|
|
5549
|
+
}, Me = Rt(A);
|
|
5550
|
+
for (const ae in Me)
|
|
5551
|
+
W.searchParams.set(ae, String(Me[ae]));
|
|
5552
5552
|
if (n && W.searchParams.set("userAttributes", JSON.stringify(n)), r) {
|
|
5553
5553
|
const ae = Rt({
|
|
5554
5554
|
query: r
|
|
@@ -5558,7 +5558,7 @@ const Ma = "v3", Cr = "builder.", Fa = "options.", oo = (e) => {
|
|
|
5558
5558
|
}
|
|
5559
5559
|
return W;
|
|
5560
5560
|
}, Da = (e) => "results" in e;
|
|
5561
|
-
async function
|
|
5561
|
+
async function Vn(e) {
|
|
5562
5562
|
const t = await Ka({
|
|
5563
5563
|
...e,
|
|
5564
5564
|
limit: 1
|
|
@@ -5741,7 +5741,7 @@ async function fn(e) {
|
|
|
5741
5741
|
console.error("Failed to track: ", t);
|
|
5742
5742
|
});
|
|
5743
5743
|
}
|
|
5744
|
-
const
|
|
5744
|
+
const Dl = (e) => fn({
|
|
5745
5745
|
...e,
|
|
5746
5746
|
canTrack: !0
|
|
5747
5747
|
});
|
|
@@ -5792,7 +5792,7 @@ function uo(e, t) {
|
|
|
5792
5792
|
const n = new URL(t.origin), r = n.hostname;
|
|
5793
5793
|
return (e || sl).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
|
|
5794
5794
|
}
|
|
5795
|
-
const al = "1.0.
|
|
5795
|
+
const al = "1.0.14", Tr = {};
|
|
5796
5796
|
function ll(e, t) {
|
|
5797
5797
|
let n = Tr[e];
|
|
5798
5798
|
if (n || (n = Tr[e] = []), n.push(t), X()) {
|
|
@@ -5921,7 +5921,7 @@ const co = (e = {}) => {
|
|
|
5921
5921
|
break;
|
|
5922
5922
|
}
|
|
5923
5923
|
}
|
|
5924
|
-
},
|
|
5924
|
+
}, Ll = (e, t, n) => {
|
|
5925
5925
|
if (!X)
|
|
5926
5926
|
return Z.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
|
|
5927
5927
|
};
|
|
@@ -5959,10 +5959,6 @@ const co = (e = {}) => {
|
|
|
5959
5959
|
],
|
|
5960
5960
|
data() {
|
|
5961
5961
|
return {
|
|
5962
|
-
forceReRenderCount: 0,
|
|
5963
|
-
firstRender: !0,
|
|
5964
|
-
lastUpdated: 0,
|
|
5965
|
-
shouldSendResetCookie: !1,
|
|
5966
5962
|
ContentWrapper: this.contentWrapper || "div",
|
|
5967
5963
|
httpReqsData: {},
|
|
5968
5964
|
clicked: !1,
|
|
@@ -6008,33 +6004,31 @@ const co = (e = {}) => {
|
|
|
6008
6004
|
},
|
|
6009
6005
|
immediate: !0
|
|
6010
6006
|
},
|
|
6011
|
-
onUpdateHook1: {
|
|
6012
|
-
}, immediate: !0 },
|
|
6013
|
-
onUpdateHook2: {
|
|
6007
|
+
onUpdateHook1: {
|
|
6014
6008
|
handler() {
|
|
6015
6009
|
this.evaluateJsCode();
|
|
6016
6010
|
},
|
|
6017
6011
|
immediate: !0
|
|
6018
6012
|
},
|
|
6019
|
-
|
|
6013
|
+
onUpdateHook2: {
|
|
6020
6014
|
handler() {
|
|
6021
6015
|
this.runHttpRequests();
|
|
6022
6016
|
},
|
|
6023
6017
|
immediate: !0
|
|
6024
6018
|
},
|
|
6025
|
-
|
|
6019
|
+
onUpdateHook3: {
|
|
6026
6020
|
handler() {
|
|
6027
6021
|
this.emitStateUpdate();
|
|
6028
6022
|
},
|
|
6029
6023
|
immediate: !0
|
|
6030
6024
|
},
|
|
6031
|
-
|
|
6025
|
+
onUpdateHook4: {
|
|
6032
6026
|
handler() {
|
|
6033
6027
|
this.data && this.mergeNewRootState(this.data);
|
|
6034
6028
|
},
|
|
6035
6029
|
immediate: !0
|
|
6036
6030
|
},
|
|
6037
|
-
|
|
6031
|
+
onUpdateHook5: {
|
|
6038
6032
|
handler() {
|
|
6039
6033
|
this.locale && this.mergeNewRootState({
|
|
6040
6034
|
locale: this.locale
|
|
@@ -6056,33 +6050,28 @@ const co = (e = {}) => {
|
|
|
6056
6050
|
};
|
|
6057
6051
|
},
|
|
6058
6052
|
onUpdateHook1() {
|
|
6059
|
-
return {
|
|
6060
|
-
0: this.shouldSendResetCookie
|
|
6061
|
-
};
|
|
6062
|
-
},
|
|
6063
|
-
onUpdateHook2() {
|
|
6064
6053
|
var e, t;
|
|
6065
6054
|
return {
|
|
6066
6055
|
0: (t = (e = this.builderContextSignal.content) == null ? void 0 : e.data) == null ? void 0 : t.jsCode
|
|
6067
6056
|
};
|
|
6068
6057
|
},
|
|
6069
|
-
|
|
6058
|
+
onUpdateHook2() {
|
|
6070
6059
|
var e, t;
|
|
6071
6060
|
return {
|
|
6072
6061
|
0: (t = (e = this.builderContextSignal.content) == null ? void 0 : e.data) == null ? void 0 : t.httpRequests
|
|
6073
6062
|
};
|
|
6074
6063
|
},
|
|
6075
|
-
|
|
6064
|
+
onUpdateHook3() {
|
|
6076
6065
|
return {
|
|
6077
6066
|
0: this.builderContextSignal.rootState
|
|
6078
6067
|
};
|
|
6079
6068
|
},
|
|
6080
|
-
|
|
6069
|
+
onUpdateHook4() {
|
|
6081
6070
|
return {
|
|
6082
6071
|
0: this.data
|
|
6083
6072
|
};
|
|
6084
6073
|
},
|
|
6085
|
-
|
|
6074
|
+
onUpdateHook5() {
|
|
6086
6075
|
return {
|
|
6087
6076
|
0: this.locale
|
|
6088
6077
|
};
|
|
@@ -6122,17 +6111,17 @@ const co = (e = {}) => {
|
|
|
6122
6111
|
configureSdk: (t) => {
|
|
6123
6112
|
var o;
|
|
6124
6113
|
const { breakpoints: n, contentId: r } = t;
|
|
6125
|
-
!r || r !== ((o = this.builderContextSignal.content) == null ? void 0 : o.id) || n &&
|
|
6114
|
+
!r || r !== ((o = this.builderContextSignal.content) == null ? void 0 : o.id) || n && this.mergeNewContent({
|
|
6126
6115
|
meta: {
|
|
6127
6116
|
breakpoints: n
|
|
6128
6117
|
}
|
|
6129
|
-
})
|
|
6118
|
+
});
|
|
6130
6119
|
},
|
|
6131
6120
|
animation: (t) => {
|
|
6132
6121
|
Hr(t);
|
|
6133
6122
|
},
|
|
6134
6123
|
contentUpdate: (t) => {
|
|
6135
|
-
this.mergeNewContent(t)
|
|
6124
|
+
this.mergeNewContent(t);
|
|
6136
6125
|
}
|
|
6137
6126
|
}
|
|
6138
6127
|
})(e);
|
|
@@ -6224,7 +6213,7 @@ const co = (e = {}) => {
|
|
|
6224
6213
|
);
|
|
6225
6214
|
},
|
|
6226
6215
|
elementRef_onIniteditingbldr(e) {
|
|
6227
|
-
|
|
6216
|
+
window.addEventListener("message", this.processMessage), ul(), co({
|
|
6228
6217
|
...this.locale ? {
|
|
6229
6218
|
locale: this.locale
|
|
6230
6219
|
} : {},
|
|
@@ -6249,7 +6238,7 @@ const co = (e = {}) => {
|
|
|
6249
6238
|
const t = new URL(location.href).searchParams, n = t.get("builder.preview"), r = t.get(
|
|
6250
6239
|
`builder.preview.${n}`
|
|
6251
6240
|
), o = t.get("apiKey") || t.get("builder.space");
|
|
6252
|
-
n === this.model && o === this.apiKey && (!this.content || r === this.content.id) &&
|
|
6241
|
+
n === this.model && o === this.apiKey && (!this.content || r === this.content.id) && Vn({
|
|
6253
6242
|
model: this.model,
|
|
6254
6243
|
apiKey: this.apiKey,
|
|
6255
6244
|
apiVersion: this.builderContextSignal.apiVersion
|
|
@@ -6262,7 +6251,7 @@ const co = (e = {}) => {
|
|
|
6262
6251
|
function pl(e, t, n, r, o, i) {
|
|
6263
6252
|
var a, u, d;
|
|
6264
6253
|
return e.builderContextSignal.content ? (v(), B(lt(e.ContentWrapper), J({
|
|
6265
|
-
key:
|
|
6254
|
+
key: 0,
|
|
6266
6255
|
ref: "elementRef",
|
|
6267
6256
|
onClick: (m) => e.onClick(m),
|
|
6268
6257
|
"builder-content-id": (a = e.builderContextSignal.content) == null ? void 0 : a.id,
|
|
@@ -6283,7 +6272,7 @@ function pl(e, t, n, r, o, i) {
|
|
|
6283
6272
|
_: 3
|
|
6284
6273
|
}, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : D("", !0);
|
|
6285
6274
|
}
|
|
6286
|
-
const dl = /* @__PURE__ */
|
|
6275
|
+
const dl = /* @__PURE__ */ V(cl, [["render", pl]]), hl = (e) => {
|
|
6287
6276
|
var i;
|
|
6288
6277
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
6289
6278
|
let o = "";
|
|
@@ -6317,21 +6306,7 @@ font-weight: ${a};
|
|
|
6317
6306
|
}, ml = ({
|
|
6318
6307
|
cssCode: e,
|
|
6319
6308
|
contentId: t
|
|
6320
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", gl =
|
|
6321
|
-
name: "content-styles",
|
|
6322
|
-
components: { InlinedStyles: On },
|
|
6323
|
-
props: ["cssCode", "contentId", "customFonts"],
|
|
6324
|
-
data() {
|
|
6325
|
-
return {
|
|
6326
|
-
injectedStyles: `
|
|
6327
|
-
${ml({
|
|
6328
|
-
cssCode: this.cssCode,
|
|
6329
|
-
contentId: this.contentId
|
|
6330
|
-
})}
|
|
6331
|
-
${fl({
|
|
6332
|
-
customFonts: this.customFonts
|
|
6333
|
-
})}
|
|
6334
|
-
|
|
6309
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", gl = `
|
|
6335
6310
|
.builder-button {
|
|
6336
6311
|
all: unset;
|
|
6337
6312
|
}
|
|
@@ -6348,15 +6323,30 @@ ${fl({
|
|
|
6348
6323
|
text-align: inherit;
|
|
6349
6324
|
font-family: inherit;
|
|
6350
6325
|
}
|
|
6326
|
+
`, yl = (e) => e ? "" : gl, vl = N({
|
|
6327
|
+
name: "content-styles",
|
|
6328
|
+
components: { InlinedStyles: On },
|
|
6329
|
+
props: ["cssCode", "contentId", "customFonts", "isNestedRender"],
|
|
6330
|
+
data() {
|
|
6331
|
+
return {
|
|
6332
|
+
injectedStyles: `
|
|
6333
|
+
${ml({
|
|
6334
|
+
cssCode: this.cssCode,
|
|
6335
|
+
contentId: this.contentId
|
|
6336
|
+
})}
|
|
6337
|
+
${fl({
|
|
6338
|
+
customFonts: this.customFonts
|
|
6339
|
+
})}
|
|
6340
|
+
${yl(this.isNestedRender)}
|
|
6351
6341
|
`.trim()
|
|
6352
6342
|
};
|
|
6353
6343
|
}
|
|
6354
6344
|
});
|
|
6355
|
-
function
|
|
6356
|
-
const a =
|
|
6345
|
+
function bl(e, t, n, r, o, i) {
|
|
6346
|
+
const a = U("inlined-styles");
|
|
6357
6347
|
return v(), B(a, { styles: e.injectedStyles }, null, 8, ["styles"]);
|
|
6358
6348
|
}
|
|
6359
|
-
const
|
|
6349
|
+
const kl = /* @__PURE__ */ V(vl, [["render", bl]]), Sl = ({
|
|
6360
6350
|
content: e,
|
|
6361
6351
|
data: t,
|
|
6362
6352
|
locale: n
|
|
@@ -6373,7 +6363,7 @@ const vl = /* @__PURE__ */ U(gl, [["render", yl]]), bl = ({
|
|
|
6373
6363
|
locale: n
|
|
6374
6364
|
} : {}
|
|
6375
6365
|
};
|
|
6376
|
-
},
|
|
6366
|
+
}, Cl = ({
|
|
6377
6367
|
content: e,
|
|
6378
6368
|
data: t
|
|
6379
6369
|
}) => e ? {
|
|
@@ -6383,12 +6373,12 @@ const vl = /* @__PURE__ */ U(gl, [["render", yl]]), bl = ({
|
|
|
6383
6373
|
...t
|
|
6384
6374
|
},
|
|
6385
6375
|
meta: e == null ? void 0 : e.meta
|
|
6386
|
-
} : void 0,
|
|
6376
|
+
} : void 0, wl = jo, El = N({
|
|
6387
6377
|
name: "content-component",
|
|
6388
6378
|
components: {
|
|
6389
6379
|
EnableEditor: dl,
|
|
6390
6380
|
InlinedScript: no,
|
|
6391
|
-
ContentStyles:
|
|
6381
|
+
ContentStyles: kl,
|
|
6392
6382
|
Blocks: Ot
|
|
6393
6383
|
},
|
|
6394
6384
|
props: [
|
|
@@ -6409,7 +6399,8 @@ const vl = /* @__PURE__ */ U(gl, [["render", yl]]), bl = ({
|
|
|
6409
6399
|
"contentWrapperProps",
|
|
6410
6400
|
"linkComponent",
|
|
6411
6401
|
"trustedHosts",
|
|
6412
|
-
"isSsrAbTest"
|
|
6402
|
+
"isSsrAbTest",
|
|
6403
|
+
"isNestedRender"
|
|
6413
6404
|
],
|
|
6414
6405
|
data() {
|
|
6415
6406
|
var e, t;
|
|
@@ -6427,19 +6418,19 @@ const vl = /* @__PURE__ */ U(gl, [["render", yl]]), bl = ({
|
|
|
6427
6418
|
(n, { component: r, ...o }) => ({
|
|
6428
6419
|
...n,
|
|
6429
6420
|
[o.name]: {
|
|
6430
|
-
component:
|
|
6421
|
+
component: wl(r),
|
|
6431
6422
|
...hn(o)
|
|
6432
6423
|
}
|
|
6433
6424
|
}),
|
|
6434
6425
|
{}
|
|
6435
6426
|
),
|
|
6436
6427
|
builderContextSignal: {
|
|
6437
|
-
content:
|
|
6428
|
+
content: Cl({
|
|
6438
6429
|
content: this.content,
|
|
6439
6430
|
data: this.data
|
|
6440
6431
|
}),
|
|
6441
6432
|
localState: void 0,
|
|
6442
|
-
rootState:
|
|
6433
|
+
rootState: Sl({
|
|
6443
6434
|
content: this.content,
|
|
6444
6435
|
data: this.data,
|
|
6445
6436
|
locale: this.locale
|
|
@@ -6479,8 +6470,8 @@ const vl = /* @__PURE__ */ U(gl, [["render", yl]]), bl = ({
|
|
|
6479
6470
|
}
|
|
6480
6471
|
}
|
|
6481
6472
|
});
|
|
6482
|
-
function
|
|
6483
|
-
const a =
|
|
6473
|
+
function Il(e, t, n, r, o, i) {
|
|
6474
|
+
const a = U("inlined-script"), u = U("content-styles"), d = U("blocks"), m = U("enable-editor");
|
|
6484
6475
|
return v(), B(m, J({
|
|
6485
6476
|
content: e.content,
|
|
6486
6477
|
data: e.data,
|
|
@@ -6506,10 +6497,11 @@ function wl(e, t, n, r, o, i) {
|
|
|
6506
6497
|
}, null, 8, ["scriptStr"])) : D("", !0),
|
|
6507
6498
|
e.TARGET !== "reactNative" ? (v(), B(u, {
|
|
6508
6499
|
key: 1,
|
|
6500
|
+
isNestedRender: e.isNestedRender,
|
|
6509
6501
|
contentId: (y = e.builderContextSignal.content) == null ? void 0 : y.id,
|
|
6510
6502
|
cssCode: (C = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : C.cssCode,
|
|
6511
6503
|
customFonts: (E = (j = e.builderContextSignal.content) == null ? void 0 : j.data) == null ? void 0 : E.customFonts
|
|
6512
|
-
}, null, 8, ["contentId", "cssCode", "customFonts"])) : D("", !0),
|
|
6504
|
+
}, null, 8, ["isNestedRender", "contentId", "cssCode", "customFonts"])) : D("", !0),
|
|
6513
6505
|
Se(d, {
|
|
6514
6506
|
blocks: (se = (F = e.builderContextSignal.content) == null ? void 0 : F.data) == null ? void 0 : se.blocks,
|
|
6515
6507
|
context: e.builderContextSignal,
|
|
@@ -6521,17 +6513,17 @@ function wl(e, t, n, r, o, i) {
|
|
|
6521
6513
|
_: 1
|
|
6522
6514
|
}, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "linkComponent", "trustedHosts"]);
|
|
6523
6515
|
}
|
|
6524
|
-
const
|
|
6516
|
+
const Tl = /* @__PURE__ */ V(El, [["render", Il]]), xl = N({
|
|
6525
6517
|
name: "content-variants",
|
|
6526
6518
|
components: {
|
|
6527
6519
|
InlinedScript: no,
|
|
6528
6520
|
InlinedStyles: On,
|
|
6529
|
-
ContentComponent:
|
|
6521
|
+
ContentComponent: Tl
|
|
6530
6522
|
},
|
|
6531
6523
|
props: [
|
|
6532
6524
|
"canTrack",
|
|
6533
6525
|
"content",
|
|
6534
|
-
"
|
|
6526
|
+
"isNestedRender",
|
|
6535
6527
|
"model",
|
|
6536
6528
|
"data",
|
|
6537
6529
|
"context",
|
|
@@ -6587,11 +6579,11 @@ const El = /* @__PURE__ */ U(Cl, [["render", wl]]), Il = N({
|
|
|
6587
6579
|
}
|
|
6588
6580
|
}
|
|
6589
6581
|
});
|
|
6590
|
-
function
|
|
6582
|
+
function Rl(e, t, n, r, o, i) {
|
|
6591
6583
|
var m;
|
|
6592
|
-
const a =
|
|
6584
|
+
const a = U("inlined-script"), u = U("inlined-styles"), d = U("content-component");
|
|
6593
6585
|
return v(), $(re, null, [
|
|
6594
|
-
!e.
|
|
6586
|
+
!e.isNestedRender && e.TARGET !== "reactNative" ? (v(), B(a, {
|
|
6595
6587
|
key: 0,
|
|
6596
6588
|
scriptStr: e.getScriptString()
|
|
6597
6589
|
}, null, 8, ["scriptStr"])) : D("", !0),
|
|
@@ -6601,8 +6593,9 @@ function Tl(e, t, n, r, o, i) {
|
|
|
6601
6593
|
styles: e.hideVariantsStyleString
|
|
6602
6594
|
}, null, 8, ["id", "styles"]),
|
|
6603
6595
|
Se(a, { scriptStr: e.updateCookieAndStylesScriptStr }, null, 8, ["scriptStr"]),
|
|
6604
|
-
(v(!0), $(re, null,
|
|
6596
|
+
(v(!0), $(re, null, Ve(e.getVariants(e.content), (y, f) => (v(), B(d, {
|
|
6605
6597
|
key: y.testVariationId,
|
|
6598
|
+
isNestedRender: e.isNestedRender,
|
|
6606
6599
|
content: y,
|
|
6607
6600
|
showContent: !1,
|
|
6608
6601
|
model: e.model,
|
|
@@ -6621,9 +6614,10 @@ function Tl(e, t, n, r, o, i) {
|
|
|
6621
6614
|
contentWrapper: e.contentWrapper,
|
|
6622
6615
|
contentWrapperProps: e.contentWrapperProps,
|
|
6623
6616
|
trustedHosts: e.trustedHosts
|
|
6624
|
-
}, null, 8, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
|
|
6617
|
+
}, null, 8, ["isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
|
|
6625
6618
|
], 64)) : D("", !0),
|
|
6626
6619
|
Se(d, J({
|
|
6620
|
+
isNestedRender: e.isNestedRender,
|
|
6627
6621
|
content: e.defaultContent,
|
|
6628
6622
|
showContent: !0,
|
|
6629
6623
|
model: e.model,
|
|
@@ -6644,16 +6638,16 @@ function Tl(e, t, n, r, o, i) {
|
|
|
6644
6638
|
trustedHosts: e.trustedHosts
|
|
6645
6639
|
}, {
|
|
6646
6640
|
key: e.shouldRenderVariants.toString()
|
|
6647
|
-
}), null, 16, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
6641
|
+
}), null, 16, ["isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
6648
6642
|
], 64);
|
|
6649
6643
|
}
|
|
6650
|
-
const
|
|
6644
|
+
const Al = /* @__PURE__ */ V(xl, [["render", Rl]]), $l = async ({
|
|
6651
6645
|
builderContextValue: e,
|
|
6652
6646
|
symbol: t
|
|
6653
6647
|
}) => {
|
|
6654
6648
|
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
6655
6649
|
(e != null && e.apiKey))
|
|
6656
|
-
return
|
|
6650
|
+
return Vn({
|
|
6657
6651
|
model: t.model,
|
|
6658
6652
|
apiKey: e.apiKey,
|
|
6659
6653
|
apiVersion: e.apiVersion,
|
|
@@ -6665,9 +6659,9 @@ const xl = /* @__PURE__ */ U(Il, [["render", Tl]]), Rl = async ({
|
|
|
6665
6659
|
}).catch((n) => {
|
|
6666
6660
|
Z.error("Could not fetch symbol content: ", n);
|
|
6667
6661
|
});
|
|
6668
|
-
},
|
|
6662
|
+
}, Pl = N({
|
|
6669
6663
|
name: "builder-symbol",
|
|
6670
|
-
components: { ContentVariants:
|
|
6664
|
+
components: { ContentVariants: Al },
|
|
6671
6665
|
props: [
|
|
6672
6666
|
"attributes",
|
|
6673
6667
|
"symbol",
|
|
@@ -6710,7 +6704,7 @@ const xl = /* @__PURE__ */ U(Il, [["render", Tl]]), Rl = async ({
|
|
|
6710
6704
|
},
|
|
6711
6705
|
methods: {
|
|
6712
6706
|
setContent() {
|
|
6713
|
-
this.contentToUse ||
|
|
6707
|
+
this.contentToUse || $l({
|
|
6714
6708
|
symbol: this.symbol,
|
|
6715
6709
|
builderContextValue: this.builderContext
|
|
6716
6710
|
}).then((e) => {
|
|
@@ -6719,12 +6713,12 @@ const xl = /* @__PURE__ */ U(Il, [["render", Tl]]), Rl = async ({
|
|
|
6719
6713
|
}
|
|
6720
6714
|
}
|
|
6721
6715
|
});
|
|
6722
|
-
function
|
|
6716
|
+
function jl(e, t, n, r, o, i) {
|
|
6723
6717
|
var u, d, m, y, f;
|
|
6724
|
-
const a =
|
|
6718
|
+
const a = U("content-variants");
|
|
6725
6719
|
return v(), $("div", J({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
6726
6720
|
Se(a, {
|
|
6727
|
-
|
|
6721
|
+
isNestedRender: !0,
|
|
6728
6722
|
apiVersion: e.builderContext.apiVersion,
|
|
6729
6723
|
apiKey: e.builderContext.apiKey,
|
|
6730
6724
|
context: {
|
|
@@ -6745,8 +6739,8 @@ function $l(e, t, n, r, o, i) {
|
|
|
6745
6739
|
}, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content", "linkComponent"])
|
|
6746
6740
|
], 16);
|
|
6747
6741
|
}
|
|
6748
|
-
const
|
|
6749
|
-
function
|
|
6742
|
+
const Ol = /* @__PURE__ */ V(Pl, [["render", jl]]), Rr = {};
|
|
6743
|
+
function Hl(e) {
|
|
6750
6744
|
if (X()) {
|
|
6751
6745
|
Object.assign(Rr, e);
|
|
6752
6746
|
const t = {
|
|
@@ -6756,7 +6750,7 @@ function Dl(e) {
|
|
|
6756
6750
|
parent.postMessage(t, "*");
|
|
6757
6751
|
}
|
|
6758
6752
|
}
|
|
6759
|
-
const
|
|
6753
|
+
const Kl = async (e) => {
|
|
6760
6754
|
var r, o, i;
|
|
6761
6755
|
const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
|
|
6762
6756
|
...e,
|
|
@@ -6773,46 +6767,46 @@ const Ll = async (e) => {
|
|
|
6773
6767
|
return {
|
|
6774
6768
|
apiKey: n.apiKey,
|
|
6775
6769
|
model: n.model,
|
|
6776
|
-
content: await
|
|
6770
|
+
content: await Vn(n)
|
|
6777
6771
|
};
|
|
6778
6772
|
};
|
|
6779
6773
|
export {
|
|
6780
6774
|
Ka as A,
|
|
6781
6775
|
jn as B,
|
|
6782
6776
|
Li as C,
|
|
6783
|
-
|
|
6784
|
-
|
|
6777
|
+
Vn as D,
|
|
6778
|
+
Vl as E,
|
|
6785
6779
|
_i as F,
|
|
6786
|
-
|
|
6780
|
+
Fl as G,
|
|
6787
6781
|
Qi as I,
|
|
6788
6782
|
ns as S,
|
|
6789
6783
|
de as T,
|
|
6790
6784
|
Ea as V,
|
|
6791
6785
|
On as _,
|
|
6792
6786
|
Fi as a,
|
|
6793
|
-
|
|
6787
|
+
Ml as b,
|
|
6794
6788
|
$e as c,
|
|
6795
|
-
|
|
6796
|
-
|
|
6789
|
+
Wl as d,
|
|
6790
|
+
V as e,
|
|
6797
6791
|
At as f,
|
|
6798
6792
|
Lr as g,
|
|
6799
6793
|
Ul as h,
|
|
6800
6794
|
gn as i,
|
|
6801
6795
|
un as j,
|
|
6802
6796
|
Fo as k,
|
|
6803
|
-
|
|
6797
|
+
Ol as l,
|
|
6804
6798
|
Rs as m,
|
|
6805
6799
|
Ot as n,
|
|
6806
|
-
|
|
6800
|
+
Al as o,
|
|
6807
6801
|
ie as p,
|
|
6808
6802
|
_a as q,
|
|
6809
6803
|
Ta as r,
|
|
6810
6804
|
ll as s,
|
|
6811
|
-
|
|
6805
|
+
Hl as t,
|
|
6812
6806
|
oo as u,
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6807
|
+
Dl as v,
|
|
6808
|
+
wl as w,
|
|
6809
|
+
Ll as x,
|
|
6810
|
+
Kl as y,
|
|
6817
6811
|
Ha as z
|
|
6818
6812
|
};
|