@builder.io/sdk-react 5.1.1 → 5.2.0
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/blocks-exports.cjs +11 -11
- package/lib/browser/blocks-exports.mjs +281 -281
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{server-entry-85aa99e6.cjs → server-entry-1549d863.cjs} +1 -1
- package/lib/browser/{server-entry-a3b5302c.js → server-entry-81390e9b.js} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-83f68de4.js → accordion-90d607ca.js} +1 -1
- package/lib/edge/{accordion-1e467b30.cjs → accordion-ba377db1.cjs} +1 -1
- package/lib/edge/{blocks-6b821501.js → blocks-482bd303.js} +2 -2
- package/lib/edge/{blocks-4d57d38f.cjs → blocks-49400750.cjs} +1 -1
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-b2eb1d64.cjs → button-1dd20b20.cjs} +1 -1
- package/lib/edge/{button-52af8a54.js → button-76b09bda.js} +2 -2
- package/lib/edge/{columns-e0489b50.js → columns-89f6f5b7.js} +3 -3
- package/lib/edge/{columns-8eb66fad.cjs → columns-ed698360.cjs} +1 -1
- package/lib/edge/{content-variants-5003144d.js → content-variants-6e54d1d8.js} +12 -12
- package/lib/edge/{content-variants-6c1ee307.cjs → content-variants-98b86c90.cjs} +2 -2
- package/lib/edge/{custom-code-4e76fc0d.js → custom-code-3387f2ee.js} +1 -1
- package/lib/edge/{custom-code-bc787526.cjs → custom-code-62511fce.cjs} +1 -1
- package/lib/edge/{embed-8ef248c5.cjs → embed-54bfd2b5.cjs} +1 -1
- package/lib/edge/{embed-fd344d6d.js → embed-e24c574a.js} +1 -1
- package/lib/edge/{form-107c9eae.cjs → form-5c77fb87.cjs} +1 -1
- package/lib/edge/{form-4efa40a5.js → form-b3b23e9b.js} +3 -3
- package/lib/edge/{get-class-prop-name-e6f7321f.js → get-class-prop-name-2e01e11c.js} +1 -1
- package/lib/edge/{get-class-prop-name-2c2513e9.cjs → get-class-prop-name-3347a655.cjs} +1 -1
- package/lib/edge/{img-ab241f22.cjs → img-8430be52.cjs} +1 -1
- package/lib/edge/{img-a32b0723.js → img-d900f0a6.js} +2 -2
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{input-c48fe23a.js → input-6b9d2f0d.js} +1 -1
- package/lib/edge/{input-ada30ffb.cjs → input-e522b3f8.cjs} +1 -1
- package/lib/edge/{personalization-container-ad7cf89c.js → personalization-container-42afbf21.js} +4 -4
- package/lib/edge/{personalization-container-375a1501.cjs → personalization-container-9469f576.cjs} +1 -1
- package/lib/edge/{select-879c52dd.cjs → select-38371935.cjs} +1 -1
- package/lib/edge/{select-a49d819c.js → select-e1a9f4c9.js} +1 -1
- package/lib/edge/{server-entry-68d59577.js → server-entry-954fe774.js} +1 -1
- package/lib/edge/{server-entry-560732da.cjs → server-entry-a2bf7e77.cjs} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-5da991d1.cjs → slot-562ee3ff.cjs} +1 -1
- package/lib/edge/{slot-005d6258.js → slot-cc86bcca.js} +3 -3
- package/lib/edge/symbol-099ae199.cjs +1 -0
- package/lib/edge/symbol-6224d576.js +93 -0
- package/lib/edge/{tabs-69a36a5c.js → tabs-51cb7107.js} +3 -3
- package/lib/edge/{tabs-96367bf5.cjs → tabs-e1cf9ee7.cjs} +1 -1
- package/lib/node/blocks-exports.cjs +11 -11
- package/lib/node/blocks-exports.mjs +283 -283
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +3 -3
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +3 -3
- package/lib/node/{server-entry-2529c06e.cjs → server-entry-1c10e3d9.cjs} +1 -1
- package/lib/node/{server-entry-fc7f08d8.js → server-entry-85c98f9a.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/lib/node/{setIvm-b97cfb8b.cjs → setIvm-a5e6d580.cjs} +1 -1
- package/lib/node/{setIvm-41d8b067.js → setIvm-ed61fc8c.js} +1 -1
- package/lib/node/setIvm.cjs +1 -1
- package/lib/node/setIvm.mjs +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-fc5c3a06.js → should-force-browser-runtime-in-node-03c2678b.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-1d85a066.cjs → should-force-browser-runtime-in-node-36ea59a2.cjs} +1 -1
- package/package.json +1 -1
- package/types/blocks/symbol/symbol.helpers.d.ts +2 -0
- package/types/blocks/symbol/symbol.types.d.ts +2 -0
- package/types/constants/sdk-version.d.ts +1 -1
- package/lib/edge/symbol-155906ed.js +0 -93
- package/lib/edge/symbol-7e6ac72e.cjs +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { TARGET as F, isBrowser as G, logger as ee, checkIsDefined as be, isPreviewing as oe, isEditing as U, userAttributesService as Te, getDefaultCanTrack as Z, logFetch as Le, setupBrowserForEditing as st, createRegisterComponentMessage as ct, getCookieSync as ut, _track as Ie, fetchOneEntry as Oe, createEditorListener as dt, serializeIncludingFunctions as we, handleABTestingSync as mt } from "./server-entry-
|
|
3
|
-
import { setClientUserAttributes as qi } from "./server-entry-
|
|
2
|
+
import { TARGET as F, isBrowser as G, logger as ee, checkIsDefined as be, isPreviewing as oe, isEditing as U, userAttributesService as Te, getDefaultCanTrack as Z, logFetch as Le, setupBrowserForEditing as st, createRegisterComponentMessage as ct, getCookieSync as ut, _track as Ie, fetchOneEntry as Oe, createEditorListener as dt, serializeIncludingFunctions as we, handleABTestingSync as mt } from "./server-entry-85c98f9a.js";
|
|
3
|
+
import { setClientUserAttributes as qi } from "./server-entry-85c98f9a.js";
|
|
4
4
|
import { jsx as s, Fragment as w, jsxs as D } from "react/jsx-runtime";
|
|
5
5
|
import * as ft from "react";
|
|
6
6
|
import { createContext as _e, useEffect as B, useState as k, useContext as ye, useRef as z, createElement as Ue } from "react";
|
|
7
|
-
import { getFunctionArguments as ht, flattenState as gt, runInNode as bt, parseCode as yt, getBuilderGlobals as pt, set as He, fastClone as ve } from "./setIvm-
|
|
8
|
-
import { shouldForceBrowserRuntimeInNode as vt } from "./should-force-browser-runtime-in-node-
|
|
7
|
+
import { getFunctionArguments as ht, flattenState as gt, runInNode as bt, parseCode as yt, getBuilderGlobals as pt, set as He, fastClone as ve } from "./setIvm-ed61fc8c.js";
|
|
8
|
+
import { shouldForceBrowserRuntimeInNode as vt } from "./should-force-browser-runtime-in-node-03c2678b.js";
|
|
9
9
|
const xt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), St = (e) => typeof e == "string" && xt.has(e.toLowerCase());
|
|
10
10
|
function xe(e) {
|
|
11
11
|
return /* @__PURE__ */ s(w, { children: St(e.TagName) ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(w, { children: typeof e.TagName == "string" ? /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
|
|
@@ -359,8 +359,8 @@ function Ut(e) {
|
|
|
359
359
|
leading: !1
|
|
360
360
|
});
|
|
361
361
|
function l(h) {
|
|
362
|
-
const b = h.getBoundingClientRect(), u = window.innerHeight,
|
|
363
|
-
return b.bottom >
|
|
362
|
+
const b = h.getBoundingClientRect(), u = window.innerHeight, m = (e.thresholdPercent || 0) / 100 * u;
|
|
363
|
+
return b.bottom > m && b.top < u - m;
|
|
364
364
|
}
|
|
365
365
|
const c = e.steps[0].styles;
|
|
366
366
|
function d() {
|
|
@@ -781,51 +781,51 @@ function Ve(e) {
|
|
|
781
781
|
), l = !!((_ = (E = r == null ? void 0 : r.meta) == null ? void 0 : E.breakpoints) != null && _.xsmall), c = a == null ? void 0 : a.large, d = a == null ? void 0 : a.medium, h = a == null ? void 0 : a.small, b = a == null ? void 0 : a.xsmall, u = i.id;
|
|
782
782
|
if (!u)
|
|
783
783
|
return "";
|
|
784
|
-
const
|
|
784
|
+
const S = c ? Y({
|
|
785
785
|
className: u,
|
|
786
786
|
styles: c
|
|
787
|
-
}) : "",
|
|
787
|
+
}) : "", m = d ? Y({
|
|
788
788
|
className: u,
|
|
789
789
|
styles: d,
|
|
790
790
|
mediaQuery: ue(
|
|
791
791
|
"medium",
|
|
792
792
|
o
|
|
793
793
|
)
|
|
794
|
-
}) : "",
|
|
794
|
+
}) : "", g = h ? Y({
|
|
795
795
|
className: u,
|
|
796
796
|
styles: h,
|
|
797
797
|
mediaQuery: ue(
|
|
798
798
|
"small",
|
|
799
799
|
o
|
|
800
800
|
)
|
|
801
|
-
}) : "",
|
|
801
|
+
}) : "", p = b && l ? Y({
|
|
802
802
|
className: u,
|
|
803
803
|
styles: b,
|
|
804
804
|
mediaQuery: ue(
|
|
805
805
|
"xsmall",
|
|
806
806
|
o
|
|
807
807
|
)
|
|
808
|
-
}) : "",
|
|
809
|
-
let
|
|
810
|
-
if (
|
|
811
|
-
const
|
|
812
|
-
|
|
808
|
+
}) : "", f = i.animations && i.animations.find((y) => y.trigger === "hover");
|
|
809
|
+
let v = "";
|
|
810
|
+
if (f) {
|
|
811
|
+
const y = ((q = (H = f.steps) == null ? void 0 : H[1]) == null ? void 0 : q.styles) || {};
|
|
812
|
+
v = Y({
|
|
813
813
|
className: `${u}:hover`,
|
|
814
814
|
styles: {
|
|
815
|
-
...
|
|
816
|
-
transition: `all ${
|
|
817
|
-
|
|
815
|
+
...y,
|
|
816
|
+
transition: `all ${f.duration}s ${se(
|
|
817
|
+
f.easing
|
|
818
818
|
)}`,
|
|
819
|
-
transitionDelay:
|
|
819
|
+
transitionDelay: f.delay ? `${f.delay}s` : "0s"
|
|
820
820
|
}
|
|
821
821
|
}) || "";
|
|
822
822
|
}
|
|
823
823
|
return [
|
|
824
|
-
|
|
825
|
-
f,
|
|
824
|
+
S,
|
|
826
825
|
m,
|
|
827
|
-
|
|
828
|
-
|
|
826
|
+
g,
|
|
827
|
+
p,
|
|
828
|
+
v
|
|
829
829
|
].join(" ");
|
|
830
830
|
}
|
|
831
831
|
return /* @__PURE__ */ s(w, { children: n() && t() ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
|
|
@@ -844,7 +844,7 @@ function ln(e) {
|
|
|
844
844
|
}, []), /* @__PURE__ */ s(w, { children: t ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) }) : /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) });
|
|
845
845
|
}
|
|
846
846
|
function ce(e) {
|
|
847
|
-
var h, b, u,
|
|
847
|
+
var h, b, u, S;
|
|
848
848
|
function t() {
|
|
849
849
|
return zt({
|
|
850
850
|
block: e.block,
|
|
@@ -856,17 +856,17 @@ function ce(e) {
|
|
|
856
856
|
update: !1
|
|
857
857
|
}));
|
|
858
858
|
function a() {
|
|
859
|
-
var
|
|
859
|
+
var g;
|
|
860
860
|
if (n.value && !n.update && !oe())
|
|
861
861
|
return n.value;
|
|
862
|
-
const
|
|
862
|
+
const m = (g = e.block.repeat) != null && g.collection ? e.block : Ft({
|
|
863
863
|
block: e.block,
|
|
864
864
|
localState: e.context.localState,
|
|
865
865
|
rootState: e.context.rootState,
|
|
866
866
|
rootSetState: e.context.rootSetState,
|
|
867
867
|
context: e.context.context
|
|
868
868
|
});
|
|
869
|
-
return n.value =
|
|
869
|
+
return n.value = m, n.update = !1, m;
|
|
870
870
|
}
|
|
871
871
|
function r() {
|
|
872
872
|
return jt({
|
|
@@ -876,25 +876,25 @@ function ce(e) {
|
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
878
|
function o() {
|
|
879
|
-
var
|
|
880
|
-
return e.block.tagName === "a" || ((
|
|
879
|
+
var g;
|
|
880
|
+
return e.block.tagName === "a" || ((g = a().properties) == null ? void 0 : g.href) || a().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
881
881
|
}
|
|
882
882
|
function l() {
|
|
883
|
-
var
|
|
884
|
-
if ((
|
|
885
|
-
return !!((
|
|
886
|
-
const
|
|
887
|
-
return ("show" in a() ? a().show : !0) && !
|
|
883
|
+
var p, f;
|
|
884
|
+
if ((p = e.block.repeat) != null && p.collection)
|
|
885
|
+
return !!((f = t == null ? void 0 : t()) != null && f.length);
|
|
886
|
+
const m = "hide" in a() ? a().hide : !1;
|
|
887
|
+
return ("show" in a() ? a().show : !0) && !m;
|
|
888
888
|
}
|
|
889
889
|
function c() {
|
|
890
|
-
var
|
|
891
|
-
return !((
|
|
890
|
+
var g, p;
|
|
891
|
+
return !((g = r == null ? void 0 : r()) != null && g.component) && !t() ? (p = a().children) != null ? p : [] : [];
|
|
892
892
|
}
|
|
893
893
|
function d() {
|
|
894
|
-
var
|
|
894
|
+
var m, g, p, f;
|
|
895
895
|
return {
|
|
896
|
-
blockChildren: (
|
|
897
|
-
componentRef: (
|
|
896
|
+
blockChildren: (m = a().children) != null ? m : [],
|
|
897
|
+
componentRef: (g = r == null ? void 0 : r()) == null ? void 0 : g.component,
|
|
898
898
|
componentOptions: {
|
|
899
899
|
...Rt(a(), e.context),
|
|
900
900
|
...Gt(r(), a()),
|
|
@@ -910,16 +910,16 @@ function ce(e) {
|
|
|
910
910
|
linkComponent: e.linkComponent,
|
|
911
911
|
registeredComponents: e.registeredComponents,
|
|
912
912
|
builderBlock: a(),
|
|
913
|
-
includeBlockProps: ((
|
|
914
|
-
isInteractive: !((
|
|
913
|
+
includeBlockProps: ((p = r == null ? void 0 : r()) == null ? void 0 : p.noWrap) === !0,
|
|
914
|
+
isInteractive: !((f = r == null ? void 0 : r()) != null && f.isRSC && F === "rsc")
|
|
915
915
|
};
|
|
916
916
|
}
|
|
917
917
|
return B(() => {
|
|
918
|
-
const
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
...
|
|
922
|
-
elementId:
|
|
918
|
+
const m = a().id, g = a().animations;
|
|
919
|
+
g && m && Ot(
|
|
920
|
+
g.map((p) => ({
|
|
921
|
+
...p,
|
|
922
|
+
elementId: m
|
|
923
923
|
}))
|
|
924
924
|
);
|
|
925
925
|
}, []), B(() => {
|
|
@@ -933,15 +933,15 @@ function ce(e) {
|
|
|
933
933
|
id: e.block.id
|
|
934
934
|
}
|
|
935
935
|
),
|
|
936
|
-
(h = r == null ? void 0 : r()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(w, { children: (
|
|
936
|
+
(h = r == null ? void 0 : r()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(w, { children: (S = t()) == null ? void 0 : S.map((m, g) => /* @__PURE__ */ s(
|
|
937
937
|
Pe,
|
|
938
938
|
{
|
|
939
|
-
repeatContext:
|
|
940
|
-
block:
|
|
939
|
+
repeatContext: m.context,
|
|
940
|
+
block: m.block,
|
|
941
941
|
registeredComponents: e.registeredComponents,
|
|
942
942
|
linkComponent: e.linkComponent
|
|
943
943
|
},
|
|
944
|
-
Ee(
|
|
944
|
+
Ee(g)
|
|
945
945
|
)) }) : /* @__PURE__ */ s(
|
|
946
946
|
Re,
|
|
947
947
|
{
|
|
@@ -955,15 +955,15 @@ function ce(e) {
|
|
|
955
955
|
includeBlockProps: d().includeBlockProps,
|
|
956
956
|
isInteractive: d().isInteractive
|
|
957
957
|
}
|
|
958
|
-
) : /* @__PURE__ */ s(w, { children: t() ? /* @__PURE__ */ s(w, { children: (u = t()) == null ? void 0 : u.map((
|
|
958
|
+
) : /* @__PURE__ */ s(w, { children: t() ? /* @__PURE__ */ s(w, { children: (u = t()) == null ? void 0 : u.map((m, g) => /* @__PURE__ */ s(
|
|
959
959
|
Pe,
|
|
960
960
|
{
|
|
961
|
-
repeatContext:
|
|
962
|
-
block:
|
|
961
|
+
repeatContext: m.context,
|
|
962
|
+
block: m.block,
|
|
963
963
|
registeredComponents: e.registeredComponents,
|
|
964
964
|
linkComponent: e.linkComponent
|
|
965
965
|
},
|
|
966
|
-
Ee(
|
|
966
|
+
Ee(g)
|
|
967
967
|
)) }) : /* @__PURE__ */ D(
|
|
968
968
|
nn,
|
|
969
969
|
{
|
|
@@ -985,15 +985,15 @@ function ce(e) {
|
|
|
985
985
|
isInteractive: d().isInteractive
|
|
986
986
|
}
|
|
987
987
|
),
|
|
988
|
-
(b = c()) == null ? void 0 : b.map((
|
|
988
|
+
(b = c()) == null ? void 0 : b.map((m) => /* @__PURE__ */ s(
|
|
989
989
|
ce,
|
|
990
990
|
{
|
|
991
|
-
block:
|
|
991
|
+
block: m,
|
|
992
992
|
registeredComponents: e.registeredComponents,
|
|
993
993
|
linkComponent: e.linkComponent,
|
|
994
994
|
context: e.context
|
|
995
995
|
},
|
|
996
|
-
|
|
996
|
+
m.id
|
|
997
997
|
))
|
|
998
998
|
]
|
|
999
999
|
}
|
|
@@ -1099,7 +1099,7 @@ function M(e) {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
const cn = (e) => `builder-columns ${e}-breakpoints`;
|
|
1101
1101
|
function un(e) {
|
|
1102
|
-
var
|
|
1102
|
+
var g, p;
|
|
1103
1103
|
function t() {
|
|
1104
1104
|
return typeof e.space == "number" ? e.space || 0 : 20;
|
|
1105
1105
|
}
|
|
@@ -1109,28 +1109,28 @@ function un(e) {
|
|
|
1109
1109
|
function i() {
|
|
1110
1110
|
return e.stackColumnsAt || "tablet";
|
|
1111
1111
|
}
|
|
1112
|
-
function a(
|
|
1113
|
-
return
|
|
1112
|
+
function a(f) {
|
|
1113
|
+
return f.link ? e.builderLinkComponent || "a" : "div";
|
|
1114
1114
|
}
|
|
1115
|
-
function r(
|
|
1116
|
-
var
|
|
1117
|
-
return ((
|
|
1115
|
+
function r(f) {
|
|
1116
|
+
var v;
|
|
1117
|
+
return ((v = n()[f]) == null ? void 0 : v.width) || 100 / n().length;
|
|
1118
1118
|
}
|
|
1119
|
-
function o(
|
|
1120
|
-
const
|
|
1121
|
-
return `calc(${
|
|
1119
|
+
function o(f) {
|
|
1120
|
+
const v = r(f), T = t() * (n().length - 1) * (v / 100);
|
|
1121
|
+
return `calc(${v}% - ${T}px)`;
|
|
1122
1122
|
}
|
|
1123
1123
|
function l({
|
|
1124
|
-
stackedStyle:
|
|
1125
|
-
desktopStyle:
|
|
1124
|
+
stackedStyle: f,
|
|
1125
|
+
desktopStyle: v
|
|
1126
1126
|
}) {
|
|
1127
|
-
return i() === "tablet" ?
|
|
1127
|
+
return i() === "tablet" ? f : v;
|
|
1128
1128
|
}
|
|
1129
1129
|
function c({
|
|
1130
|
-
stackedStyle:
|
|
1131
|
-
desktopStyle:
|
|
1130
|
+
stackedStyle: f,
|
|
1131
|
+
desktopStyle: v
|
|
1132
1132
|
}) {
|
|
1133
|
-
return i() === "never" ?
|
|
1133
|
+
return i() === "never" ? v : f;
|
|
1134
1134
|
}
|
|
1135
1135
|
function d() {
|
|
1136
1136
|
return e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column";
|
|
@@ -1144,8 +1144,8 @@ function un(e) {
|
|
|
1144
1144
|
})
|
|
1145
1145
|
};
|
|
1146
1146
|
}
|
|
1147
|
-
function b(
|
|
1148
|
-
const
|
|
1147
|
+
function b(f) {
|
|
1148
|
+
const v = f === 0 ? 0 : t(), T = o(f), E = `${v}px`, _ = "100%", H = 0;
|
|
1149
1149
|
return {
|
|
1150
1150
|
...{
|
|
1151
1151
|
display: "flex",
|
|
@@ -1172,14 +1172,14 @@ function un(e) {
|
|
|
1172
1172
|
})
|
|
1173
1173
|
};
|
|
1174
1174
|
}
|
|
1175
|
-
function u(
|
|
1175
|
+
function u(f) {
|
|
1176
1176
|
var T, E;
|
|
1177
1177
|
return et(
|
|
1178
1178
|
((E = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : E.breakpoints) || {}
|
|
1179
|
-
)[
|
|
1179
|
+
)[f].max;
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1182
|
-
const
|
|
1181
|
+
function S() {
|
|
1182
|
+
const f = `.${e.builderBlock.id}-breakpoints > .builder-column`;
|
|
1183
1183
|
return `
|
|
1184
1184
|
@media (max-width: ${u("medium")}px) {
|
|
1185
1185
|
.${e.builderBlock.id}-breakpoints {
|
|
@@ -1187,7 +1187,7 @@ function un(e) {
|
|
|
1187
1187
|
align-items: stretch;
|
|
1188
1188
|
}
|
|
1189
1189
|
|
|
1190
|
-
${
|
|
1190
|
+
${f} {
|
|
1191
1191
|
width: var(--column-width-tablet) !important;
|
|
1192
1192
|
margin-left: var(--column-margin-left-tablet) !important;
|
|
1193
1193
|
}
|
|
@@ -1199,20 +1199,20 @@ function un(e) {
|
|
|
1199
1199
|
align-items: stretch;
|
|
1200
1200
|
}
|
|
1201
1201
|
|
|
1202
|
-
${
|
|
1202
|
+
${f} {
|
|
1203
1203
|
width: var(--column-width-mobile) !important;
|
|
1204
1204
|
margin-left: var(--column-margin-left-mobile) !important;
|
|
1205
1205
|
}
|
|
1206
1206
|
},
|
|
1207
1207
|
`;
|
|
1208
1208
|
}
|
|
1209
|
-
function f
|
|
1209
|
+
function m(f, v) {
|
|
1210
1210
|
return {
|
|
1211
|
-
...
|
|
1212
|
-
href:
|
|
1211
|
+
...f.link ? {
|
|
1212
|
+
href: f.link
|
|
1213
1213
|
} : {},
|
|
1214
1214
|
[K()]: "builder-column",
|
|
1215
|
-
style: Qe(b(
|
|
1215
|
+
style: Qe(b(v))
|
|
1216
1216
|
};
|
|
1217
1217
|
}
|
|
1218
1218
|
return /* @__PURE__ */ D(w, { children: [
|
|
@@ -1224,39 +1224,39 @@ function un(e) {
|
|
|
1224
1224
|
/* @__PURE__ */ D(
|
|
1225
1225
|
"div",
|
|
1226
1226
|
{
|
|
1227
|
-
className: cn((
|
|
1227
|
+
className: cn((g = e.builderBlock) == null ? void 0 : g.id) + " div-0369db37",
|
|
1228
1228
|
style: h(),
|
|
1229
1229
|
children: [
|
|
1230
1230
|
/* @__PURE__ */ s(
|
|
1231
1231
|
te,
|
|
1232
1232
|
{
|
|
1233
1233
|
id: "builderio-columns",
|
|
1234
|
-
styles:
|
|
1234
|
+
styles: S(),
|
|
1235
1235
|
nonce: e.builderContext.nonce
|
|
1236
1236
|
}
|
|
1237
1237
|
),
|
|
1238
|
-
(
|
|
1238
|
+
(p = e.columns) == null ? void 0 : p.map((f, v) => /* @__PURE__ */ s(
|
|
1239
1239
|
xe,
|
|
1240
1240
|
{
|
|
1241
|
-
TagName: a(
|
|
1241
|
+
TagName: a(f),
|
|
1242
1242
|
actionAttributes: {},
|
|
1243
|
-
attributes: f
|
|
1243
|
+
attributes: m(f, v),
|
|
1244
1244
|
children: /* @__PURE__ */ s(
|
|
1245
1245
|
M,
|
|
1246
1246
|
{
|
|
1247
|
-
path: `columns.${
|
|
1247
|
+
path: `columns.${v}.blocks`,
|
|
1248
1248
|
parent: e.builderBlock.id,
|
|
1249
1249
|
context: e.builderContext,
|
|
1250
1250
|
registeredComponents: e.builderComponents,
|
|
1251
1251
|
linkComponent: e.builderLinkComponent,
|
|
1252
|
-
blocks:
|
|
1252
|
+
blocks: f.blocks,
|
|
1253
1253
|
styleProp: {
|
|
1254
1254
|
flexGrow: "1"
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
1257
|
)
|
|
1258
1258
|
},
|
|
1259
|
-
|
|
1259
|
+
v
|
|
1260
1260
|
))
|
|
1261
1261
|
]
|
|
1262
1262
|
}
|
|
@@ -1414,42 +1414,42 @@ function bn(e, t, n, i) {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
function o(d, h) {
|
|
1416
1416
|
return (() => {
|
|
1417
|
-
const u = h.property,
|
|
1418
|
-
let
|
|
1419
|
-
if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (
|
|
1417
|
+
const u = h.property, S = h.operator;
|
|
1418
|
+
let m = h.value;
|
|
1419
|
+
if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (m = h.value.slice(0, -1)), !(u && S))
|
|
1420
1420
|
return !0;
|
|
1421
|
-
if (Array.isArray(
|
|
1422
|
-
return
|
|
1421
|
+
if (Array.isArray(m))
|
|
1422
|
+
return S === "isNot" ? m.every((p) => o(d, {
|
|
1423
1423
|
property: u,
|
|
1424
|
-
operator:
|
|
1425
|
-
value:
|
|
1426
|
-
})) : !!
|
|
1424
|
+
operator: S,
|
|
1425
|
+
value: p
|
|
1426
|
+
})) : !!m.find((p) => o(d, {
|
|
1427
1427
|
property: u,
|
|
1428
|
-
operator:
|
|
1429
|
-
value:
|
|
1428
|
+
operator: S,
|
|
1429
|
+
value: p
|
|
1430
1430
|
}));
|
|
1431
|
-
const
|
|
1432
|
-
if (Array.isArray(
|
|
1433
|
-
return
|
|
1434
|
-
switch (
|
|
1431
|
+
const g = d[u];
|
|
1432
|
+
if (Array.isArray(g))
|
|
1433
|
+
return g.includes(m);
|
|
1434
|
+
switch (S) {
|
|
1435
1435
|
case "is":
|
|
1436
|
-
return
|
|
1436
|
+
return g === m;
|
|
1437
1437
|
case "isNot":
|
|
1438
|
-
return
|
|
1438
|
+
return g !== m;
|
|
1439
1439
|
case "contains":
|
|
1440
|
-
return (a(
|
|
1440
|
+
return (a(g) || Array.isArray(g)) && g.includes(String(m));
|
|
1441
1441
|
case "startsWith":
|
|
1442
|
-
return a(
|
|
1442
|
+
return a(g) && g.startsWith(String(m));
|
|
1443
1443
|
case "endsWith":
|
|
1444
|
-
return a(
|
|
1444
|
+
return a(g) && g.endsWith(String(m));
|
|
1445
1445
|
case "greaterThan":
|
|
1446
|
-
return r(
|
|
1446
|
+
return r(g) && r(m) && g > m;
|
|
1447
1447
|
case "lessThan":
|
|
1448
|
-
return r(
|
|
1448
|
+
return r(g) && r(m) && g < m;
|
|
1449
1449
|
case "greaterThanOrEqualTo":
|
|
1450
|
-
return r(
|
|
1450
|
+
return r(g) && r(m) && g >= m;
|
|
1451
1451
|
case "lessThanOrEqualTo":
|
|
1452
|
-
return r(
|
|
1452
|
+
return r(g) && r(m) && g <= m;
|
|
1453
1453
|
default:
|
|
1454
1454
|
return !1;
|
|
1455
1455
|
}
|
|
@@ -1814,7 +1814,7 @@ function En(e) {
|
|
|
1814
1814
|
};
|
|
1815
1815
|
}
|
|
1816
1816
|
function r() {
|
|
1817
|
-
const
|
|
1817
|
+
const S = {
|
|
1818
1818
|
...{
|
|
1819
1819
|
display: "flex",
|
|
1820
1820
|
flexDirection: "column"
|
|
@@ -1823,7 +1823,7 @@ function En(e) {
|
|
|
1823
1823
|
cursor: "pointer"
|
|
1824
1824
|
};
|
|
1825
1825
|
return Object.fromEntries(
|
|
1826
|
-
Object.entries(
|
|
1826
|
+
Object.entries(S).filter(([m, g]) => g !== void 0)
|
|
1827
1827
|
);
|
|
1828
1828
|
}
|
|
1829
1829
|
function o(u) {
|
|
@@ -1835,23 +1835,23 @@ function En(e) {
|
|
|
1835
1835
|
function c() {
|
|
1836
1836
|
let u = null;
|
|
1837
1837
|
if (e.grid && t.length && document) {
|
|
1838
|
-
const
|
|
1839
|
-
let
|
|
1840
|
-
`.builder-accordion-title[data-index="${
|
|
1838
|
+
const m = t[0];
|
|
1839
|
+
let p = document.querySelector(
|
|
1840
|
+
`.builder-accordion-title[data-index="${m}"]`
|
|
1841
1841
|
);
|
|
1842
|
-
if (u =
|
|
1843
|
-
let
|
|
1844
|
-
for (;
|
|
1845
|
-
if (
|
|
1846
|
-
if (
|
|
1842
|
+
if (u = m, p) {
|
|
1843
|
+
let f = p.getBoundingClientRect();
|
|
1844
|
+
for (; p = p && p.nextElementSibling; )
|
|
1845
|
+
if (p) {
|
|
1846
|
+
if (p.classList.contains("builder-accordion-detail"))
|
|
1847
1847
|
continue;
|
|
1848
|
-
const
|
|
1849
|
-
if (
|
|
1848
|
+
const v = p.getBoundingClientRect();
|
|
1849
|
+
if (v.left > f.left) {
|
|
1850
1850
|
const T = parseInt(
|
|
1851
|
-
|
|
1851
|
+
p.getAttribute("data-index") || "",
|
|
1852
1852
|
10
|
|
1853
1853
|
);
|
|
1854
|
-
isNaN(T) || (
|
|
1854
|
+
isNaN(T) || (f = v, u = T);
|
|
1855
1855
|
} else
|
|
1856
1856
|
break;
|
|
1857
1857
|
}
|
|
@@ -1867,31 +1867,31 @@ function En(e) {
|
|
|
1867
1867
|
}
|
|
1868
1868
|
};
|
|
1869
1869
|
return Object.fromEntries(
|
|
1870
|
-
Object.entries(u).filter(([
|
|
1870
|
+
Object.entries(u).filter(([S, m]) => m !== void 0)
|
|
1871
1871
|
);
|
|
1872
1872
|
}
|
|
1873
1873
|
function h(u) {
|
|
1874
|
-
t.includes(u) ? n(i() ? [] : t.filter((
|
|
1874
|
+
t.includes(u) ? n(i() ? [] : t.filter((S) => S !== u)) : n(i() ? [u] : t.concat(u));
|
|
1875
1875
|
}
|
|
1876
|
-
return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (b = e.items) == null ? void 0 : b.map((u,
|
|
1876
|
+
return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (b = e.items) == null ? void 0 : b.map((u, S) => /* @__PURE__ */ D(ft.Fragment, { children: [
|
|
1877
1877
|
/* @__PURE__ */ s(
|
|
1878
1878
|
"div",
|
|
1879
1879
|
{
|
|
1880
|
-
className: o(
|
|
1880
|
+
className: o(S),
|
|
1881
1881
|
style: {
|
|
1882
1882
|
...r(),
|
|
1883
1883
|
...e.grid && {
|
|
1884
1884
|
width: e.gridRowWidth,
|
|
1885
|
-
order: c() !== null ? Be(
|
|
1885
|
+
order: c() !== null ? Be(S) : Be(S + 1)
|
|
1886
1886
|
}
|
|
1887
1887
|
},
|
|
1888
|
-
"data-index":
|
|
1889
|
-
onClick: (
|
|
1888
|
+
"data-index": S,
|
|
1889
|
+
onClick: (m) => h(S),
|
|
1890
1890
|
children: /* @__PURE__ */ s(
|
|
1891
1891
|
M,
|
|
1892
1892
|
{
|
|
1893
1893
|
blocks: u.title,
|
|
1894
|
-
path: `items.${
|
|
1894
|
+
path: `items.${S}.title`,
|
|
1895
1895
|
parent: e.builderBlock.id,
|
|
1896
1896
|
context: e.builderContext,
|
|
1897
1897
|
registeredComponents: e.builderComponents,
|
|
@@ -1900,16 +1900,16 @@ function En(e) {
|
|
|
1900
1900
|
)
|
|
1901
1901
|
}
|
|
1902
1902
|
),
|
|
1903
|
-
t.includes(
|
|
1903
|
+
t.includes(S) ? /* @__PURE__ */ s(
|
|
1904
1904
|
"div",
|
|
1905
1905
|
{
|
|
1906
|
-
className: l(
|
|
1906
|
+
className: l(S),
|
|
1907
1907
|
style: d(),
|
|
1908
1908
|
children: /* @__PURE__ */ s(
|
|
1909
1909
|
M,
|
|
1910
1910
|
{
|
|
1911
1911
|
blocks: u.detail,
|
|
1912
|
-
path: `items.${
|
|
1912
|
+
path: `items.${S}.detail`,
|
|
1913
1913
|
parent: e.builderBlock.id,
|
|
1914
1914
|
context: e.builderContext,
|
|
1915
1915
|
registeredComponents: e.builderComponents,
|
|
@@ -1918,7 +1918,7 @@ function En(e) {
|
|
|
1918
1918
|
)
|
|
1919
1919
|
}
|
|
1920
1920
|
) : null
|
|
1921
|
-
] },
|
|
1921
|
+
] }, S)) });
|
|
1922
1922
|
}
|
|
1923
1923
|
const Rn = {
|
|
1924
1924
|
name: "Core:Button",
|
|
@@ -2329,7 +2329,7 @@ function J(e) {
|
|
|
2329
2329
|
);
|
|
2330
2330
|
}
|
|
2331
2331
|
function $n(e) {
|
|
2332
|
-
var
|
|
2332
|
+
var v, T, E, _, H, q, y, x, V, A, $, R, P;
|
|
2333
2333
|
const t = z(null), [n, i] = k(
|
|
2334
2334
|
() => Te.getUserAttributes()
|
|
2335
2335
|
), [a, r] = k(
|
|
@@ -2358,14 +2358,14 @@ function $n(e) {
|
|
|
2358
2358
|
Z((I = e.builderContext) == null ? void 0 : I.canTrack)
|
|
2359
2359
|
);
|
|
2360
2360
|
}
|
|
2361
|
-
), [u,
|
|
2362
|
-
function
|
|
2361
|
+
), [u, S] = k(() => !1);
|
|
2362
|
+
function m() {
|
|
2363
2363
|
return {
|
|
2364
2364
|
...e.attributes,
|
|
2365
2365
|
[K()]: `builder-personalization-container ${e.attributes[K()] || ""}`
|
|
2366
2366
|
};
|
|
2367
2367
|
}
|
|
2368
|
-
function
|
|
2368
|
+
function g() {
|
|
2369
2369
|
return (e.variants || []).filter((I) => {
|
|
2370
2370
|
var N, C, W, L;
|
|
2371
2371
|
return bn(
|
|
@@ -2381,17 +2381,17 @@ function $n(e) {
|
|
|
2381
2381
|
);
|
|
2382
2382
|
});
|
|
2383
2383
|
}
|
|
2384
|
-
function
|
|
2384
|
+
function p() {
|
|
2385
2385
|
var I;
|
|
2386
2386
|
return kn({
|
|
2387
2387
|
variants: e.variants,
|
|
2388
2388
|
fallbackBlocks: (I = e.builderBlock) == null ? void 0 : I.children,
|
|
2389
2389
|
isHydrated: u,
|
|
2390
|
-
filteredVariants:
|
|
2390
|
+
filteredVariants: g(),
|
|
2391
2391
|
previewingIndex: e.previewingIndex
|
|
2392
2392
|
});
|
|
2393
2393
|
}
|
|
2394
|
-
function
|
|
2394
|
+
function f() {
|
|
2395
2395
|
return (e.variants || []).map(
|
|
2396
2396
|
(I, N) => {
|
|
2397
2397
|
var C;
|
|
@@ -2401,7 +2401,7 @@ function $n(e) {
|
|
|
2401
2401
|
}
|
|
2402
2402
|
return B(() => {
|
|
2403
2403
|
var N;
|
|
2404
|
-
|
|
2404
|
+
S(!0);
|
|
2405
2405
|
const I = Te.subscribeOnUserAttributesChange(
|
|
2406
2406
|
(C) => {
|
|
2407
2407
|
i(C);
|
|
@@ -2411,7 +2411,7 @@ function $n(e) {
|
|
|
2411
2411
|
}
|
|
2412
2412
|
);
|
|
2413
2413
|
if (!(U() || oe())) {
|
|
2414
|
-
const C =
|
|
2414
|
+
const C = g()[0];
|
|
2415
2415
|
t.current && (t.current.dispatchEvent(
|
|
2416
2416
|
new CustomEvent("builder.variantLoaded", {
|
|
2417
2417
|
detail: {
|
|
@@ -2438,18 +2438,18 @@ function $n(e) {
|
|
|
2438
2438
|
c.push(I);
|
|
2439
2439
|
}, []), B(() => () => {
|
|
2440
2440
|
c.forEach((I) => I());
|
|
2441
|
-
}, []), /* @__PURE__ */ D("div", { ref: t, ...
|
|
2441
|
+
}, []), /* @__PURE__ */ D("div", { ref: t, ...m(), children: [
|
|
2442
2442
|
u && ie.includes(F) ? /* @__PURE__ */ s(
|
|
2443
2443
|
M,
|
|
2444
2444
|
{
|
|
2445
|
-
blocks:
|
|
2446
|
-
parent: (
|
|
2447
|
-
path:
|
|
2445
|
+
blocks: p().blocks,
|
|
2446
|
+
parent: (v = e.builderBlock) == null ? void 0 : v.id,
|
|
2447
|
+
path: p().path,
|
|
2448
2448
|
context: e.builderContext,
|
|
2449
2449
|
registeredComponents: e.builderComponents,
|
|
2450
2450
|
BlocksWrapperProps: {
|
|
2451
2451
|
...(T = e.builderContext) == null ? void 0 : T.BlocksWrapperProps,
|
|
2452
|
-
"data-variant-id": `${(E = e.builderBlock) == null ? void 0 : E.id}-${
|
|
2452
|
+
"data-variant-id": `${(E = e.builderBlock) == null ? void 0 : E.id}-${p().index}`
|
|
2453
2453
|
}
|
|
2454
2454
|
}
|
|
2455
2455
|
) : null,
|
|
@@ -2459,7 +2459,7 @@ function $n(e) {
|
|
|
2459
2459
|
te,
|
|
2460
2460
|
{
|
|
2461
2461
|
nonce: ((_ = e.builderContext) == null ? void 0 : _.nonce) || "",
|
|
2462
|
-
styles:
|
|
2462
|
+
styles: f(),
|
|
2463
2463
|
id: `variants-styles-${(H = e.builderBlock) == null ? void 0 : H.id}`
|
|
2464
2464
|
}
|
|
2465
2465
|
),
|
|
@@ -2468,10 +2468,10 @@ function $n(e) {
|
|
|
2468
2468
|
{
|
|
2469
2469
|
nonce: ((q = e.builderContext) == null ? void 0 : q.nonce) || "",
|
|
2470
2470
|
scriptStr: o,
|
|
2471
|
-
id: `variants-visibility-script-${(
|
|
2471
|
+
id: `variants-visibility-script-${(y = e.builderBlock) == null ? void 0 : y.id}`
|
|
2472
2472
|
}
|
|
2473
2473
|
),
|
|
2474
|
-
(
|
|
2474
|
+
(x = e.variants) == null ? void 0 : x.map((I, N) => {
|
|
2475
2475
|
var C, W, L, O, j, Ce;
|
|
2476
2476
|
return /* @__PURE__ */ s(
|
|
2477
2477
|
M,
|
|
@@ -2503,14 +2503,14 @@ function $n(e) {
|
|
|
2503
2503
|
/* @__PURE__ */ s(
|
|
2504
2504
|
M,
|
|
2505
2505
|
{
|
|
2506
|
-
blocks:
|
|
2506
|
+
blocks: p().blocks,
|
|
2507
2507
|
parent: (V = e.builderBlock) == null ? void 0 : V.id,
|
|
2508
|
-
path:
|
|
2508
|
+
path: p().path,
|
|
2509
2509
|
context: e.builderContext,
|
|
2510
2510
|
registeredComponents: e.builderComponents,
|
|
2511
2511
|
BlocksWrapperProps: {
|
|
2512
2512
|
...(A = e.builderContext) == null ? void 0 : A.BlocksWrapperProps,
|
|
2513
|
-
"data-variant-id": `${($ = e.builderBlock) == null ? void 0 : $.id}-${
|
|
2513
|
+
"data-variant-id": `${($ = e.builderBlock) == null ? void 0 : $.id}-${p().index}`
|
|
2514
2514
|
},
|
|
2515
2515
|
children: h ? /* @__PURE__ */ s(
|
|
2516
2516
|
J,
|
|
@@ -3239,12 +3239,12 @@ const Gn = {
|
|
|
3239
3239
|
function Xn(e) {
|
|
3240
3240
|
const t = z(null), [n, i] = k(() => "unsubmitted"), [a, r] = k(() => null), [o, l] = k(() => "");
|
|
3241
3241
|
function c(u) {
|
|
3242
|
-
var
|
|
3243
|
-
const
|
|
3242
|
+
var m, g;
|
|
3243
|
+
const S = {
|
|
3244
3244
|
...e.builderContext.rootState,
|
|
3245
3245
|
...u
|
|
3246
3246
|
};
|
|
3247
|
-
e.builderContext.rootSetState ? (
|
|
3247
|
+
e.builderContext.rootSetState ? (g = (m = e.builderContext).rootSetState) == null || g.call(m, S) : e.builderContext.rootState = S;
|
|
3248
3248
|
}
|
|
3249
3249
|
function d() {
|
|
3250
3250
|
return U() && e.previewState || n;
|
|
@@ -3253,86 +3253,86 @@ function Xn(e) {
|
|
|
3253
3253
|
return JSON.stringify(u, null, 2);
|
|
3254
3254
|
}
|
|
3255
3255
|
function b(u) {
|
|
3256
|
-
var
|
|
3257
|
-
const
|
|
3256
|
+
var m;
|
|
3257
|
+
const S = e.sendWithJs || e.sendSubmissionsTo === "email";
|
|
3258
3258
|
if (e.sendSubmissionsTo === "zapier")
|
|
3259
3259
|
u.preventDefault();
|
|
3260
|
-
else if (
|
|
3260
|
+
else if (S) {
|
|
3261
3261
|
if (!(e.action || e.sendSubmissionsTo === "email")) {
|
|
3262
3262
|
u.preventDefault();
|
|
3263
3263
|
return;
|
|
3264
3264
|
}
|
|
3265
3265
|
u.preventDefault();
|
|
3266
|
-
const
|
|
3267
|
-
let
|
|
3268
|
-
const
|
|
3269
|
-
(
|
|
3270
|
-
).map((
|
|
3271
|
-
let
|
|
3272
|
-
const V =
|
|
3273
|
-
if (
|
|
3274
|
-
if (
|
|
3275
|
-
if (
|
|
3276
|
-
return
|
|
3266
|
+
const g = u.currentTarget || u.target, p = e.customHeaders || {};
|
|
3267
|
+
let f;
|
|
3268
|
+
const v = new FormData(g), T = Array.from(g.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).filter(
|
|
3269
|
+
(y) => !!y.name && (y.type !== "radio" || y.checked)
|
|
3270
|
+
).map((y) => {
|
|
3271
|
+
let x;
|
|
3272
|
+
const V = y.name;
|
|
3273
|
+
if (y instanceof HTMLInputElement)
|
|
3274
|
+
if (y.type === "radio") {
|
|
3275
|
+
if (y.checked)
|
|
3276
|
+
return x = y.value, {
|
|
3277
3277
|
key: V,
|
|
3278
|
-
value:
|
|
3278
|
+
value: x
|
|
3279
3279
|
};
|
|
3280
|
-
} else if (
|
|
3281
|
-
|
|
3282
|
-
else if (
|
|
3283
|
-
const A =
|
|
3284
|
-
isNaN(A) || (
|
|
3280
|
+
} else if (y.type === "checkbox")
|
|
3281
|
+
x = y.checked;
|
|
3282
|
+
else if (y.type === "number" || y.type === "range") {
|
|
3283
|
+
const A = y.valueAsNumber;
|
|
3284
|
+
isNaN(A) || (x = A);
|
|
3285
3285
|
} else
|
|
3286
|
-
|
|
3286
|
+
y.type === "file" ? x = y.files : x = y.value;
|
|
3287
3287
|
else
|
|
3288
|
-
|
|
3288
|
+
x = y.value;
|
|
3289
3289
|
return {
|
|
3290
3290
|
key: V,
|
|
3291
|
-
value:
|
|
3291
|
+
value: x
|
|
3292
3292
|
};
|
|
3293
3293
|
});
|
|
3294
3294
|
let E = e.contentType;
|
|
3295
|
-
if (e.sendSubmissionsTo === "email" && (E = "multipart/form-data"), Array.from(T).forEach(({ value:
|
|
3296
|
-
(
|
|
3295
|
+
if (e.sendSubmissionsTo === "email" && (E = "multipart/form-data"), Array.from(T).forEach(({ value: y }) => {
|
|
3296
|
+
(y instanceof File || Array.isArray(y) && y[0] instanceof File || y instanceof FileList) && (E = "multipart/form-data");
|
|
3297
3297
|
}), E !== "application/json")
|
|
3298
|
-
|
|
3298
|
+
f = v;
|
|
3299
3299
|
else {
|
|
3300
|
-
const
|
|
3301
|
-
Array.from(T).forEach(({ value:
|
|
3302
|
-
He(
|
|
3303
|
-
}),
|
|
3300
|
+
const y = {};
|
|
3301
|
+
Array.from(T).forEach(({ value: x, key: V }) => {
|
|
3302
|
+
He(y, V, x);
|
|
3303
|
+
}), f = JSON.stringify(y);
|
|
3304
3304
|
}
|
|
3305
|
-
E && E !== "multipart/form-data" && (
|
|
3306
|
-
const _ = new CustomEvent("presubmit", { detail: { body:
|
|
3305
|
+
E && E !== "multipart/form-data" && (S && ((m = e.action) != null && m.includes("zapier.com")) || (p["content-type"] = E));
|
|
3306
|
+
const _ = new CustomEvent("presubmit", { detail: { body: f } });
|
|
3307
3307
|
if (t.current && (t.current.dispatchEvent(_), _.defaultPrevented))
|
|
3308
3308
|
return;
|
|
3309
3309
|
if (i("sending"), e.sendSubmissionsTo === "email" && (e.sendSubmissionsToEmail === "your@email.com" || !e.sendSubmissionsToEmail)) {
|
|
3310
|
-
const
|
|
3311
|
-
console.error(
|
|
3310
|
+
const y = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
|
|
3311
|
+
console.error(y), i("error"), c({ formErrorMessage: y });
|
|
3312
3312
|
return;
|
|
3313
3313
|
}
|
|
3314
3314
|
const H = `${Yn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
|
|
3315
3315
|
e.sendSubmissionsToEmail || ""
|
|
3316
3316
|
)}&name=${encodeURIComponent(e.name || "")}`, q = e.sendSubmissionsTo === "email" ? H : e.action;
|
|
3317
|
-
Le(q), fetch(q, { body:
|
|
3318
|
-
async (
|
|
3317
|
+
Le(q), fetch(q, { body: f, headers: p, method: e.method || "post" }).then(
|
|
3318
|
+
async (y) => {
|
|
3319
3319
|
var A, $;
|
|
3320
|
-
let
|
|
3321
|
-
const V =
|
|
3322
|
-
if (V && V.indexOf("application/json") !== -1 ?
|
|
3320
|
+
let x;
|
|
3321
|
+
const V = y.headers.get("content-type");
|
|
3322
|
+
if (V && V.indexOf("application/json") !== -1 ? x = await y.json() : x = await y.text(), !y.ok) {
|
|
3323
3323
|
const R = new CustomEvent("submit:error", {
|
|
3324
|
-
detail: { error:
|
|
3324
|
+
detail: { error: x, status: y.status }
|
|
3325
3325
|
});
|
|
3326
3326
|
if ((A = t.current) != null && A.nativeElement && (($ = t.current) == null || $.nativeElement.dispatchEvent(R), R.defaultPrevented))
|
|
3327
3327
|
return;
|
|
3328
|
-
r(
|
|
3329
|
-
let P = e.errorMessagePath ? qe(
|
|
3328
|
+
r(x), i("error");
|
|
3329
|
+
let P = e.errorMessagePath ? qe(x, e.errorMessagePath) : x.message || x.error || x;
|
|
3330
3330
|
typeof P != "string" && (P = JSON.stringify(P)), l(P), c({ formErrorMessage: P });
|
|
3331
3331
|
return;
|
|
3332
3332
|
}
|
|
3333
|
-
if (r(
|
|
3333
|
+
if (r(x), i(y.ok ? "success" : "error"), y.ok) {
|
|
3334
3334
|
const R = new CustomEvent("submit:success", {
|
|
3335
|
-
detail: { res:
|
|
3335
|
+
detail: { res: y, body: x }
|
|
3336
3336
|
});
|
|
3337
3337
|
if (t.current) {
|
|
3338
3338
|
if (t.current.dispatchEvent(R), R.defaultPrevented)
|
|
@@ -3349,11 +3349,11 @@ function Xn(e) {
|
|
|
3349
3349
|
location.href = e.successUrl;
|
|
3350
3350
|
}
|
|
3351
3351
|
},
|
|
3352
|
-
(
|
|
3353
|
-
const
|
|
3354
|
-
detail: { error:
|
|
3352
|
+
(y) => {
|
|
3353
|
+
const x = new CustomEvent("submit:error", {
|
|
3354
|
+
detail: { error: y }
|
|
3355
3355
|
});
|
|
3356
|
-
t.current && (t.current.dispatchEvent(
|
|
3356
|
+
t.current && (t.current.dispatchEvent(x), x.defaultPrevented) || (r(y), i("error"));
|
|
3357
3357
|
}
|
|
3358
3358
|
);
|
|
3359
3359
|
}
|
|
@@ -3797,24 +3797,24 @@ function ui(e) {
|
|
|
3797
3797
|
});
|
|
3798
3798
|
return B(() => {
|
|
3799
3799
|
if (e.lazyLoad) {
|
|
3800
|
-
const
|
|
3801
|
-
|
|
3802
|
-
if (!
|
|
3800
|
+
const S = new IntersectionObserver(function(m) {
|
|
3801
|
+
m.forEach(function(g) {
|
|
3802
|
+
if (!g.isIntersecting)
|
|
3803
3803
|
return;
|
|
3804
|
-
const
|
|
3804
|
+
const p = g.target;
|
|
3805
3805
|
try {
|
|
3806
|
-
Array.from(
|
|
3807
|
-
(
|
|
3808
|
-
).forEach((
|
|
3809
|
-
const
|
|
3810
|
-
|
|
3811
|
-
}),
|
|
3812
|
-
} catch (
|
|
3813
|
-
console.error("Error loading lazy video:",
|
|
3806
|
+
Array.from(p.children).filter(
|
|
3807
|
+
(f) => f instanceof HTMLElement && f.tagName === "SOURCE"
|
|
3808
|
+
).forEach((f) => {
|
|
3809
|
+
const v = f.dataset.src;
|
|
3810
|
+
v && (f.src = v);
|
|
3811
|
+
}), p.load(), S.unobserve(p);
|
|
3812
|
+
} catch (f) {
|
|
3813
|
+
console.error("Error loading lazy video:", f);
|
|
3814
3814
|
}
|
|
3815
3815
|
});
|
|
3816
3816
|
});
|
|
3817
|
-
t.current &&
|
|
3817
|
+
t.current && S.observe(t.current), r(S);
|
|
3818
3818
|
}
|
|
3819
3819
|
}, []), B(() => () => {
|
|
3820
3820
|
a && a.disconnect();
|
|
@@ -4169,17 +4169,17 @@ font-weight: ${l};
|
|
|
4169
4169
|
}
|
|
4170
4170
|
`, Ri = (e) => e ? "" : Ei, Pi = (e) => `variant-${e}`;
|
|
4171
4171
|
function Vi(e) {
|
|
4172
|
-
var H, q,
|
|
4172
|
+
var H, q, y;
|
|
4173
4173
|
const t = z(null);
|
|
4174
4174
|
k(() => !1), k(
|
|
4175
4175
|
() => e.builderContextSignal
|
|
4176
4176
|
);
|
|
4177
4177
|
const [n, i] = k(() => null), [a, r] = k(() => "");
|
|
4178
|
-
function o(
|
|
4178
|
+
function o(x, V) {
|
|
4179
4179
|
var $, R;
|
|
4180
4180
|
const A = {
|
|
4181
4181
|
...e.builderContextSignal.rootState,
|
|
4182
|
-
...
|
|
4182
|
+
...x
|
|
4183
4183
|
};
|
|
4184
4184
|
e.builderContextSignal.rootSetState ? (R = ($ = e.builderContextSignal).rootSetState) == null || R.call($, A) : e.setBuilderContextSignal((P) => ({
|
|
4185
4185
|
...P,
|
|
@@ -4189,19 +4189,19 @@ function Vi(e) {
|
|
|
4189
4189
|
rootState: A
|
|
4190
4190
|
}));
|
|
4191
4191
|
}
|
|
4192
|
-
function l(
|
|
4192
|
+
function l(x, V) {
|
|
4193
4193
|
var $, R, P, I, N;
|
|
4194
4194
|
const A = {
|
|
4195
4195
|
...e.builderContextSignal.content,
|
|
4196
|
-
...
|
|
4196
|
+
...x,
|
|
4197
4197
|
data: {
|
|
4198
4198
|
...($ = e.builderContextSignal.content) == null ? void 0 : $.data,
|
|
4199
|
-
...
|
|
4199
|
+
...x == null ? void 0 : x.data
|
|
4200
4200
|
},
|
|
4201
4201
|
meta: {
|
|
4202
4202
|
...(R = e.builderContextSignal.content) == null ? void 0 : R.meta,
|
|
4203
|
-
...
|
|
4204
|
-
breakpoints: ((P =
|
|
4203
|
+
...x == null ? void 0 : x.meta,
|
|
4204
|
+
breakpoints: ((P = x == null ? void 0 : x.meta) == null ? void 0 : P.breakpoints) || ((N = (I = e.builderContextSignal.content) == null ? void 0 : I.meta) == null ? void 0 : N.breakpoints)
|
|
4205
4205
|
}
|
|
4206
4206
|
};
|
|
4207
4207
|
e.setBuilderContextSignal((C) => ({
|
|
@@ -4218,7 +4218,7 @@ function Vi(e) {
|
|
|
4218
4218
|
const [d, h] = k(
|
|
4219
4219
|
() => e.contentWrapper || "div"
|
|
4220
4220
|
);
|
|
4221
|
-
function b(
|
|
4221
|
+
function b(x) {
|
|
4222
4222
|
return dt({
|
|
4223
4223
|
model: e.model,
|
|
4224
4224
|
trustedHosts: e.trustedHosts,
|
|
@@ -4242,10 +4242,10 @@ function Vi(e) {
|
|
|
4242
4242
|
o(V);
|
|
4243
4243
|
}
|
|
4244
4244
|
}
|
|
4245
|
-
})(
|
|
4245
|
+
})(x);
|
|
4246
4246
|
}
|
|
4247
|
-
const [u,
|
|
4248
|
-
function
|
|
4247
|
+
const [u, S] = k(() => ({})), [m, g] = k(() => ({})), [p, f] = k(() => !1);
|
|
4248
|
+
function v(x) {
|
|
4249
4249
|
var V, A;
|
|
4250
4250
|
if (e.builderContextSignal.content) {
|
|
4251
4251
|
const $ = (V = e.builderContextSignal.content) == null ? void 0 : V.testVariationId, R = (A = e.builderContextSignal.content) == null ? void 0 : A.id;
|
|
@@ -4256,24 +4256,24 @@ function Vi(e) {
|
|
|
4256
4256
|
contentId: R,
|
|
4257
4257
|
apiKey: e.apiKey,
|
|
4258
4258
|
variationId: $ !== R ? $ : void 0,
|
|
4259
|
-
...ki(
|
|
4260
|
-
unique: !
|
|
4259
|
+
...ki(x),
|
|
4260
|
+
unique: !p
|
|
4261
4261
|
});
|
|
4262
4262
|
}
|
|
4263
|
-
|
|
4263
|
+
p || f(!0);
|
|
4264
4264
|
}
|
|
4265
4265
|
function T() {
|
|
4266
4266
|
var V, A, $;
|
|
4267
|
-
const
|
|
4268
|
-
Object.entries(
|
|
4267
|
+
const x = ($ = (A = (V = e.builderContextSignal.content) == null ? void 0 : V.data) == null ? void 0 : A.httpRequests) != null ? $ : {};
|
|
4268
|
+
Object.entries(x).forEach(
|
|
4269
4269
|
([R, P]) => {
|
|
4270
4270
|
if (!P)
|
|
4271
4271
|
return;
|
|
4272
4272
|
const I = typeof P == "object" && P["@type"] === "@builder.io/core:Request";
|
|
4273
|
-
if (
|
|
4273
|
+
if (m[R] || u[R] && !U())
|
|
4274
4274
|
return;
|
|
4275
4275
|
const N = I ? P.request.url : P;
|
|
4276
|
-
|
|
4276
|
+
m[R] = !0;
|
|
4277
4277
|
const C = N.replace(
|
|
4278
4278
|
/{{([^}]+)}}/g,
|
|
4279
4279
|
(O, j) => String(
|
|
@@ -4311,7 +4311,7 @@ function Vi(e) {
|
|
|
4311
4311
|
O
|
|
4312
4312
|
);
|
|
4313
4313
|
}).finally(() => {
|
|
4314
|
-
|
|
4314
|
+
m[R] = !1;
|
|
4315
4315
|
});
|
|
4316
4316
|
}
|
|
4317
4317
|
);
|
|
@@ -4333,7 +4333,7 @@ function Vi(e) {
|
|
|
4333
4333
|
}
|
|
4334
4334
|
const _ = z(!1);
|
|
4335
4335
|
return _.current || (T(), E(), _.current = !0), B(() => {
|
|
4336
|
-
var
|
|
4336
|
+
var x, V, A, $, R;
|
|
4337
4337
|
if (G()) {
|
|
4338
4338
|
U() && !e.isNestedRender && (window.addEventListener("message", b), st({
|
|
4339
4339
|
...e.locale ? {
|
|
@@ -4345,7 +4345,7 @@ function Vi(e) {
|
|
|
4345
4345
|
...e.trustedHosts ? {
|
|
4346
4346
|
trustedHosts: e.trustedHosts
|
|
4347
4347
|
} : {},
|
|
4348
|
-
modelName: (
|
|
4348
|
+
modelName: (x = e.model) != null ? x : "",
|
|
4349
4349
|
apiKey: e.apiKey
|
|
4350
4350
|
}), Object.values(
|
|
4351
4351
|
e.builderContextSignal.componentInfos
|
|
@@ -4419,11 +4419,11 @@ function Vi(e) {
|
|
|
4419
4419
|
d,
|
|
4420
4420
|
{
|
|
4421
4421
|
ref: t,
|
|
4422
|
-
onClick: (
|
|
4422
|
+
onClick: (x) => v(x),
|
|
4423
4423
|
"builder-content-id": (H = e.builderContextSignal.content) == null ? void 0 : H.id,
|
|
4424
4424
|
"builder-model": e.model,
|
|
4425
4425
|
className: Pi(
|
|
4426
|
-
((q = e.content) == null ? void 0 : q.testVariationId) || ((
|
|
4426
|
+
((q = e.content) == null ? void 0 : q.testVariationId) || ((y = e.content) == null ? void 0 : y.id)
|
|
4427
4427
|
),
|
|
4428
4428
|
style: {
|
|
4429
4429
|
display: !e.builderContextSignal.content && De() ? "none" : void 0
|
|
@@ -4485,22 +4485,22 @@ const Bi = ({
|
|
|
4485
4485
|
meta: e == null ? void 0 : e.meta
|
|
4486
4486
|
} : void 0;
|
|
4487
4487
|
function Fe(e) {
|
|
4488
|
-
var d, h, b, u,
|
|
4488
|
+
var d, h, b, u, S, m, g, p, f;
|
|
4489
4489
|
const [t, n] = k(
|
|
4490
4490
|
() => {
|
|
4491
|
-
var
|
|
4491
|
+
var v, T;
|
|
4492
4492
|
return vi({
|
|
4493
4493
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4494
|
-
variationId: (
|
|
4494
|
+
variationId: (v = e.content) == null ? void 0 : v.testVariationId,
|
|
4495
4495
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4496
4496
|
contentId: (T = e.content) == null ? void 0 : T.id
|
|
4497
4497
|
});
|
|
4498
4498
|
}
|
|
4499
4499
|
);
|
|
4500
|
-
function i(
|
|
4500
|
+
function i(v) {
|
|
4501
4501
|
l((T) => ({
|
|
4502
4502
|
...T,
|
|
4503
|
-
rootState:
|
|
4503
|
+
rootState: v
|
|
4504
4504
|
}));
|
|
4505
4505
|
}
|
|
4506
4506
|
const [a, r] = k(
|
|
@@ -4508,8 +4508,8 @@ function Fe(e) {
|
|
|
4508
4508
|
...Ne(),
|
|
4509
4509
|
...e.customComponents || []
|
|
4510
4510
|
].reduce(
|
|
4511
|
-
(
|
|
4512
|
-
...
|
|
4511
|
+
(v, { component: T, ...E }) => ({
|
|
4512
|
+
...v,
|
|
4513
4513
|
[E.name]: {
|
|
4514
4514
|
component: T,
|
|
4515
4515
|
...we(E)
|
|
@@ -4537,8 +4537,8 @@ function Fe(e) {
|
|
|
4537
4537
|
...Ne(),
|
|
4538
4538
|
...e.customComponents || []
|
|
4539
4539
|
].reduce(
|
|
4540
|
-
(
|
|
4541
|
-
...
|
|
4540
|
+
(v, { component: T, ...E }) => ({
|
|
4541
|
+
...v,
|
|
4542
4542
|
[E.name]: we(E)
|
|
4543
4543
|
}),
|
|
4544
4544
|
{}
|
|
@@ -4553,9 +4553,9 @@ function Fe(e) {
|
|
|
4553
4553
|
e.apiKey || ee.error(
|
|
4554
4554
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
4555
4555
|
);
|
|
4556
|
-
const
|
|
4557
|
-
|
|
4558
|
-
code:
|
|
4556
|
+
const v = (h = (d = o.content) == null ? void 0 : d.data) == null ? void 0 : h.jsCode;
|
|
4557
|
+
v && Q({
|
|
4558
|
+
code: v,
|
|
4559
4559
|
context: e.context || {},
|
|
4560
4560
|
localState: void 0,
|
|
4561
4561
|
rootState: o.rootState,
|
|
@@ -4607,14 +4607,14 @@ function Fe(e) {
|
|
|
4607
4607
|
nonce: e.nonce || "",
|
|
4608
4608
|
isNestedRender: e.isNestedRender,
|
|
4609
4609
|
contentId: (b = o.content) == null ? void 0 : b.id,
|
|
4610
|
-
cssCode: (
|
|
4611
|
-
customFonts: (
|
|
4610
|
+
cssCode: (S = (u = o.content) == null ? void 0 : u.data) == null ? void 0 : S.cssCode,
|
|
4611
|
+
customFonts: (g = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : g.customFonts
|
|
4612
4612
|
}
|
|
4613
4613
|
),
|
|
4614
4614
|
/* @__PURE__ */ s(
|
|
4615
4615
|
M,
|
|
4616
4616
|
{
|
|
4617
|
-
blocks: (
|
|
4617
|
+
blocks: (f = (p = o.content) == null ? void 0 : p.data) == null ? void 0 : f.blocks,
|
|
4618
4618
|
context: o,
|
|
4619
4619
|
registeredComponents: a,
|
|
4620
4620
|
linkComponent: e.linkComponent
|
|
@@ -4758,7 +4758,7 @@ const Wi = async ({
|
|
|
4758
4758
|
(e != null && e.apiKey))
|
|
4759
4759
|
return Oe({
|
|
4760
4760
|
model: t.model,
|
|
4761
|
-
apiKey: e.apiKey,
|
|
4761
|
+
apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
|
|
4762
4762
|
apiVersion: e.apiVersion,
|
|
4763
4763
|
...(t == null ? void 0 : t.entry) && {
|
|
4764
4764
|
query: {
|
|
@@ -4770,7 +4770,7 @@ const Wi = async ({
|
|
|
4770
4770
|
});
|
|
4771
4771
|
};
|
|
4772
4772
|
function Di(e) {
|
|
4773
|
-
var h, b, u,
|
|
4773
|
+
var h, b, u, S, m, g, p;
|
|
4774
4774
|
function t() {
|
|
4775
4775
|
return "div";
|
|
4776
4776
|
}
|
|
@@ -4781,29 +4781,29 @@ function Di(e) {
|
|
|
4781
4781
|
return Object.values(e.builderComponents);
|
|
4782
4782
|
}
|
|
4783
4783
|
function a() {
|
|
4784
|
-
var
|
|
4784
|
+
var f, v;
|
|
4785
4785
|
return [
|
|
4786
4786
|
e.attributes[K()],
|
|
4787
4787
|
"builder-symbol",
|
|
4788
|
-
(
|
|
4789
|
-
(
|
|
4788
|
+
(f = e.symbol) != null && f.inline ? "builder-inline-symbol" : void 0,
|
|
4789
|
+
(v = e.symbol) != null && v.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
4790
4790
|
].filter(Boolean).join(" ");
|
|
4791
4791
|
}
|
|
4792
4792
|
const [r, o] = k(() => {
|
|
4793
|
-
var
|
|
4794
|
-
return (
|
|
4793
|
+
var f;
|
|
4794
|
+
return (f = e.symbol) == null ? void 0 : f.content;
|
|
4795
4795
|
}), [l, c] = k(() => {
|
|
4796
|
-
var
|
|
4797
|
-
return (
|
|
4796
|
+
var f;
|
|
4797
|
+
return (f = e.symbol) == null ? void 0 : f.entry;
|
|
4798
4798
|
});
|
|
4799
4799
|
function d() {
|
|
4800
|
-
var
|
|
4801
|
-
r && l === ((
|
|
4800
|
+
var f;
|
|
4801
|
+
r && l === ((f = e.symbol) == null ? void 0 : f.entry) || Wi({
|
|
4802
4802
|
symbol: e.symbol,
|
|
4803
4803
|
builderContextValue: e.builderContext
|
|
4804
|
-
}).then((
|
|
4805
|
-
var
|
|
4806
|
-
|
|
4804
|
+
}).then((v) => {
|
|
4805
|
+
var T;
|
|
4806
|
+
v && (o(v), c((T = e.symbol) == null ? void 0 : T.entry));
|
|
4807
4807
|
});
|
|
4808
4808
|
}
|
|
4809
4809
|
return B(() => {
|
|
@@ -4815,19 +4815,19 @@ function Di(e) {
|
|
|
4815
4815
|
nonce: e.builderContext.nonce,
|
|
4816
4816
|
isNestedRender: !0,
|
|
4817
4817
|
apiVersion: e.builderContext.apiVersion,
|
|
4818
|
-
apiKey: e.builderContext.apiKey,
|
|
4818
|
+
apiKey: (h = e.symbol) != null && h.global && ((b = e.symbol) != null && b.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
|
|
4819
4819
|
context: {
|
|
4820
4820
|
...e.builderContext.context,
|
|
4821
|
-
symbolId: (
|
|
4821
|
+
symbolId: (u = e.builderBlock) == null ? void 0 : u.id
|
|
4822
4822
|
},
|
|
4823
4823
|
customComponents: i(),
|
|
4824
4824
|
data: {
|
|
4825
|
-
...(
|
|
4825
|
+
...(S = e.symbol) == null ? void 0 : S.data,
|
|
4826
4826
|
...e.builderContext.localState,
|
|
4827
|
-
...(
|
|
4827
|
+
...(m = r == null ? void 0 : r.data) == null ? void 0 : m.state
|
|
4828
4828
|
},
|
|
4829
4829
|
canTrack: e.builderContext.canTrack,
|
|
4830
|
-
model: (
|
|
4830
|
+
model: (p = (g = e.symbol) == null ? void 0 : g.model) != null ? p : "",
|
|
4831
4831
|
content: r,
|
|
4832
4832
|
linkComponent: e.builderLinkComponent,
|
|
4833
4833
|
blocksWrapper: t(),
|