@builder.io/sdk-react 1.0.35 → 1.0.36

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.
Files changed (70) hide show
  1. package/lib/browser/blocks-exports.cjs +21 -21
  2. package/lib/browser/blocks-exports.mjs +228 -174
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/init.cjs +6 -6
  6. package/lib/browser/init.mjs +29 -19
  7. package/lib/browser/{server-entry-6bbf0d8e.cjs → server-entry-4168b816.cjs} +1 -1
  8. package/lib/browser/{server-entry-b3ba0c65.js → server-entry-b8f6be3b.js} +1 -1
  9. package/lib/browser/server-entry.cjs +1 -1
  10. package/lib/browser/server-entry.mjs +1 -1
  11. package/lib/edge/{accordion-5b4a3309.js → accordion-18fbb30e.js} +1 -1
  12. package/lib/edge/{accordion-5cca8f06.cjs → accordion-e40979bc.cjs} +1 -1
  13. package/lib/edge/{blocks-7855e195.cjs → blocks-48a9ac8c.cjs} +1 -1
  14. package/lib/edge/{blocks-30dbe829.js → blocks-9b142e90.js} +2 -2
  15. package/lib/edge/blocks-exports.cjs +1 -1
  16. package/lib/edge/blocks-exports.mjs +2 -2
  17. package/lib/edge/{button-94d3cdf8.js → button-be9403e7.js} +2 -2
  18. package/lib/edge/{button-1e80769d.cjs → button-c2ff97e9.cjs} +1 -1
  19. package/lib/edge/{columns-18e70134.cjs → columns-118e1fc1.cjs} +1 -1
  20. package/lib/edge/{columns-e5074ad9.js → columns-920ca800.js} +3 -3
  21. package/lib/edge/{content-variants-d6dca201.cjs → content-variants-1eb4aebc.cjs} +14 -14
  22. package/lib/edge/{content-variants-4450b25f.js → content-variants-ed1f803b.js} +139 -100
  23. package/lib/edge/{form-a08b5177.cjs → form-a9271b51.cjs} +1 -1
  24. package/lib/edge/{form-9ddabd0e.js → form-cbcf22d5.js} +3 -3
  25. package/lib/edge/{get-class-prop-name-d5155434.js → get-class-prop-name-90c8ac6c.js} +1 -1
  26. package/lib/edge/{get-class-prop-name-3a85a54d.cjs → get-class-prop-name-af6b922f.cjs} +1 -1
  27. package/lib/edge/{img-256419c6.js → img-1f1b4871.js} +1 -1
  28. package/lib/edge/{img-a38d9d0b.cjs → img-2deeb066.cjs} +1 -1
  29. package/lib/edge/index.cjs +1 -1
  30. package/lib/edge/index.mjs +1 -1
  31. package/lib/edge/init.cjs +6 -6
  32. package/lib/edge/init.mjs +29 -19
  33. package/lib/edge/{input-76252038.cjs → input-4b3e5f88.cjs} +1 -1
  34. package/lib/edge/{input-e030821e.js → input-514915f8.js} +1 -1
  35. package/lib/edge/{select-92af3038.js → select-3925e227.js} +5 -4
  36. package/lib/edge/select-82d8052d.cjs +1 -0
  37. package/lib/edge/{server-entry-b8d1a7db.js → server-entry-57fedeba.js} +1 -1
  38. package/lib/edge/{server-entry-5b4426a1.cjs → server-entry-a00fcff8.cjs} +1 -1
  39. package/lib/edge/server-entry.cjs +1 -1
  40. package/lib/edge/server-entry.mjs +1 -1
  41. package/lib/edge/{slot-27ff859a.cjs → slot-21fe373f.cjs} +1 -1
  42. package/lib/edge/{slot-27c3a577.js → slot-aa7280f8.js} +3 -3
  43. package/lib/edge/{symbol-3c1f8827.cjs → symbol-a0ab57ea.cjs} +1 -1
  44. package/lib/edge/{symbol-6c0f8a5c.js → symbol-ac48d2ec.js} +2 -2
  45. package/lib/edge/{tabs-5b4535f0.js → tabs-9b5261d0.js} +3 -3
  46. package/lib/edge/{tabs-770b1029.cjs → tabs-df436d1e.cjs} +1 -1
  47. package/lib/edge/textarea-56a875bc.cjs +1 -0
  48. package/lib/edge/textarea-d29025e9.js +17 -0
  49. package/lib/node/blocks-exports.cjs +23 -23
  50. package/lib/node/blocks-exports.mjs +202 -148
  51. package/lib/node/index.cjs +1 -1
  52. package/lib/node/index.mjs +2 -2
  53. package/lib/node/init.cjs +1 -1
  54. package/lib/node/init.mjs +2 -2
  55. package/lib/node/{node-runtime-79df5f59.js → node-runtime-1b85663b.js} +51 -41
  56. package/lib/node/node-runtime-d59eb154.cjs +48 -0
  57. package/lib/node/{server-entry-ea775ab5.js → server-entry-8081c6b9.js} +1 -1
  58. package/lib/node/{server-entry-11bc96ae.cjs → server-entry-dc1afebd.cjs} +1 -1
  59. package/lib/node/server-entry.cjs +1 -1
  60. package/lib/node/server-entry.mjs +1 -1
  61. package/package.json +1 -2
  62. package/types/blocks/form/select/select.d.ts +1 -0
  63. package/types/blocks/form/textarea/component-info.d.ts +2 -0
  64. package/types/blocks/{textarea → form/textarea}/textarea.d.ts +1 -0
  65. package/types/constants/sdk-name.d.ts +1 -0
  66. package/types/constants/sdk-version.d.ts +1 -1
  67. package/lib/edge/select-98849dc7.cjs +0 -1
  68. package/lib/node/node-runtime-80dbd8f2.cjs +0 -48
  69. package/types/blocks/textarea/component-info.d.ts +0 -2
  70. /package/types/blocks/{textarea → form/textarea}/index.d.ts +0 -0
@@ -2,10 +2,10 @@
2
2
  var He = Object.defineProperty;
3
3
  var Ke = (e, t, n) => t in e ? He(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
4
  var ie = (e, t, n) => (Ke(e, typeof t != "symbol" ? t + "" : t, n), n);
5
- import { jsx as s, Fragment as E, jsxs as B } from "react/jsx-runtime";
6
- import { TARGET as L, checkIsDefined as Y, logger as Z, isBrowser as G, fastClone as de, isEditing as $, registerInsertMenu as qe, setupBrowserForEditing as _e, createRegisterComponentMessage as ze, getDefaultCanTrack as Q, _track as he, isPreviewing as Je, fetchOneEntry as Ie, createEditorListener as Ye, fetch as Ge, serializeComponentInfo as ge, handleABTestingSync as Qe } from "./server-entry-ea775ab5.js";
5
+ import { jsx as s, Fragment as E, jsxs as V } from "react/jsx-runtime";
6
+ import { TARGET as L, checkIsDefined as Y, logger as Z, isBrowser as G, fastClone as de, isEditing as $, registerInsertMenu as qe, setupBrowserForEditing as _e, createRegisterComponentMessage as ze, getDefaultCanTrack as Q, _track as he, isPreviewing as Je, fetchOneEntry as Ie, createEditorListener as Ye, fetch as Ge, serializeComponentInfo as ge, handleABTestingSync as Qe } from "./server-entry-8081c6b9.js";
7
7
  import { createContext as we, useState as C, useEffect as P, useContext as be, useRef as ee, createElement as Ee } from "react";
8
- import { getFunctionArguments as Xe, runInNode as Ze, parseCode as et, getBuilderGlobals as tt, set as Re } from "./node-runtime-79df5f59.js";
8
+ import { getFunctionArguments as Xe, runInNode as Ze, parseCode as et, getBuilderGlobals as tt, set as Re } from "./node-runtime-1b85663b.js";
9
9
  const nt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), it = (e) => typeof e == "string" && nt.has(e.toLowerCase());
10
10
  function ue(e) {
11
11
  return /* @__PURE__ */ s(E, { children: it(e.TagName) ? /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(E, { 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 }) }) });
@@ -61,7 +61,7 @@ const me = we({
61
61
  inheritedStyles: {},
62
62
  BlocksWrapper: "div",
63
63
  BlocksWrapperProps: {}
64
- }), Be = we({ registeredComponents: {} });
64
+ }), Ve = we({ registeredComponents: {} });
65
65
  function at(e) {
66
66
  var t;
67
67
  return {
@@ -82,7 +82,7 @@ const rt = ({
82
82
  builder: t,
83
83
  context: n,
84
84
  event: i,
85
- state: Ve({
85
+ state: Be({
86
86
  rootState: a,
87
87
  localState: o,
88
88
  rootSetState: l
@@ -90,7 +90,7 @@ const rt = ({
90
90
  });
91
91
  return new Function(...r.map(([c]) => c), e)(...r.map(([, c]) => c));
92
92
  };
93
- function Ve({
93
+ function Be({
94
94
  rootState: e,
95
95
  localState: t,
96
96
  rootSetState: n
@@ -100,7 +100,7 @@ function Ve({
100
100
  if (t && o in t)
101
101
  return t[o];
102
102
  const l = i[o];
103
- return typeof l == "object" && l !== null ? Ve({
103
+ return typeof l == "object" && l !== null ? Be({
104
104
  rootState: l,
105
105
  localState: void 0,
106
106
  rootSetState: n ? (a) => {
@@ -433,9 +433,9 @@ const yt = ({
433
433
  },
434
434
  block: i
435
435
  }));
436
- }, St = (e, t) => e && (e.isRSC && L === "rsc" || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
436
+ }, vt = (e, t) => e && (e.isRSC && L === "rsc" || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
437
437
  builderLinkComponent: t
438
- } : {}, vt = (e, t) => e && (e.isRSC && L === "rsc" || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
438
+ } : {}, St = (e, t) => e && (e.isRSC && L === "rsc" || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
439
439
  builderComponents: t
440
440
  } : {}, kt = (e, t) => e && (e.isRSC && L === "rsc" || L === "reactNative" || ["Builder:Accordion", "Columns", "Form:Form", "Builder: Tabs", "Symbol", "Image", "Video"].includes(e.name)) ? {
441
441
  builderBlock: t
@@ -506,7 +506,7 @@ function Tt(e) {
506
506
  return Y(i.hide) ? !i.hide : Y(i.show) ? i.show : !0;
507
507
  }
508
508
  function n() {
509
- var x, R, V;
509
+ var x, R, B;
510
510
  const i = X({
511
511
  block: e.block,
512
512
  localState: e.context.localState,
@@ -539,7 +539,7 @@ function Tt(e) {
539
539
  }) : "", p = i.animations && i.animations.find((A) => A.trigger === "hover");
540
540
  let I = "";
541
541
  if (p) {
542
- const A = ((V = (R = p.steps) == null ? void 0 : R[1]) == null ? void 0 : V.styles) || {};
542
+ const A = ((B = (R = p.steps) == null ? void 0 : R[1]) == null ? void 0 : B.styles) || {};
543
543
  I = z({
544
544
  className: `${f}:hover`,
545
545
  styles: {
@@ -599,7 +599,7 @@ function Rt({
599
599
  }) {
600
600
  return e;
601
601
  }
602
- const Bt = (e) => ({
602
+ const Vt = (e) => ({
603
603
  href: e.href
604
604
  });
605
605
  function fe({
@@ -608,7 +608,7 @@ function fe({
608
608
  }) {
609
609
  var i;
610
610
  const n = {
611
- ...Bt(e),
611
+ ...Vt(e),
612
612
  ...e.properties,
613
613
  "builder-id": e.id,
614
614
  style: pt({
@@ -623,7 +623,7 @@ function fe({
623
623
  block: e
624
624
  });
625
625
  }
626
- function Vt(e) {
626
+ function Bt(e) {
627
627
  return /* @__PURE__ */ s(
628
628
  ue,
629
629
  {
@@ -785,8 +785,8 @@ function _(e) {
785
785
  ...at(i()),
786
786
  ...kt(t(), i()),
787
787
  ...Ct(t(), e.context),
788
- ...St(t(), e.linkComponent),
789
- ...vt(
788
+ ...vt(t(), e.linkComponent),
789
+ ...St(
790
790
  t(),
791
791
  e.registeredComponents
792
792
  )
@@ -807,7 +807,7 @@ function _(e) {
807
807
  elementId: d
808
808
  }))
809
809
  );
810
- }, []), /* @__PURE__ */ s(E, { children: l() ? /* @__PURE__ */ B(E, { children: [
810
+ }, []), /* @__PURE__ */ s(E, { children: l() ? /* @__PURE__ */ V(E, { children: [
811
811
  /* @__PURE__ */ s(Tt, { block: e.block, context: e.context }),
812
812
  (c = t == null ? void 0 : t()) != null && c.noWrap ? /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(
813
813
  ye,
@@ -831,8 +831,8 @@ function _(e) {
831
831
  linkComponent: e.linkComponent
832
832
  },
833
833
  m
834
- )) }) : /* @__PURE__ */ B(
835
- Vt,
834
+ )) }) : /* @__PURE__ */ V(
835
+ Bt,
836
836
  {
837
837
  Wrapper: o(),
838
838
  block: i(),
@@ -898,7 +898,7 @@ function Ft(e) {
898
898
  "*"
899
899
  ));
900
900
  }
901
- return /* @__PURE__ */ B(E, { children: [
901
+ return /* @__PURE__ */ V(E, { children: [
902
902
  /* @__PURE__ */ s(
903
903
  e.BlocksWrapper,
904
904
  {
@@ -922,7 +922,7 @@ function Ft(e) {
922
922
  }
923
923
  function D(e) {
924
924
  var i, o, l;
925
- const t = be(me), n = be(Be);
925
+ const t = be(me), n = be(Ve);
926
926
  return /* @__PURE__ */ s(
927
927
  Ft,
928
928
  {
@@ -953,28 +953,28 @@ function $t(e) {
953
953
  ), [i, o] = C(() => e.columns || []), [l, a] = C(
954
954
  () => e.stackColumnsAt || "tablet"
955
955
  );
956
- function r(v) {
957
- return v.link ? e.builderLinkComponent || "a" : "div";
956
+ function r(S) {
957
+ return S.link ? e.builderLinkComponent || "a" : "div";
958
958
  }
959
- function c(v) {
959
+ function c(S) {
960
960
  var w;
961
- return ((w = i[v]) == null ? void 0 : w.width) || 100 / i.length;
961
+ return ((w = i[S]) == null ? void 0 : w.width) || 100 / i.length;
962
962
  }
963
- function u(v) {
963
+ function u(S) {
964
964
  const w = t * (i.length - 1) / i.length;
965
- return `calc(${c(v)}% - ${w}px)`;
965
+ return `calc(${c(S)}% - ${w}px)`;
966
966
  }
967
967
  function f({
968
- stackedStyle: v,
968
+ stackedStyle: S,
969
969
  desktopStyle: w
970
970
  }) {
971
- return l === "tablet" ? v : w;
971
+ return l === "tablet" ? S : w;
972
972
  }
973
973
  function d({
974
- stackedStyle: v,
974
+ stackedStyle: S,
975
975
  desktopStyle: w
976
976
  }) {
977
- return l === "never" ? w : v;
977
+ return l === "never" ? w : S;
978
978
  }
979
979
  const [m, g] = C(
980
980
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
@@ -988,8 +988,8 @@ function $t(e) {
988
988
  })
989
989
  };
990
990
  }
991
- function I(v) {
992
- const w = v === 0 ? 0 : t, F = u(v), b = `${w}px`, h = "100%", y = 0;
991
+ function I(S) {
992
+ const w = S === 0 ? 0 : t, F = u(S), b = `${w}px`, h = "100%", y = 0;
993
993
  return {
994
994
  ...{
995
995
  display: "flex",
@@ -1016,11 +1016,11 @@ function $t(e) {
1016
1016
  })
1017
1017
  };
1018
1018
  }
1019
- function x(v) {
1019
+ function x(S) {
1020
1020
  var F, b;
1021
1021
  return De(
1022
1022
  ((b = (F = e.builderContext.content) == null ? void 0 : F.meta) == null ? void 0 : b.breakpoints) || {}
1023
- )[v].max;
1023
+ )[S].max;
1024
1024
  }
1025
1025
  function R() {
1026
1026
  return `
@@ -1049,29 +1049,29 @@ function $t(e) {
1049
1049
  },
1050
1050
  `;
1051
1051
  }
1052
- function V(v, w) {
1052
+ function B(S, w) {
1053
1053
  return {
1054
- ...v.link ? {
1055
- href: v.link
1054
+ ...S.link ? {
1055
+ href: S.link
1056
1056
  } : {},
1057
1057
  [K()]: "builder-column",
1058
1058
  style: We(I(w))
1059
1059
  };
1060
1060
  }
1061
- return /* @__PURE__ */ B(E, { children: [
1062
- /* @__PURE__ */ B(
1061
+ return /* @__PURE__ */ V(E, { children: [
1062
+ /* @__PURE__ */ V(
1063
1063
  "div",
1064
1064
  {
1065
1065
  className: Wt((A = e.builderBlock) == null ? void 0 : A.id) + " div-bade6b34",
1066
1066
  style: p(),
1067
1067
  children: [
1068
1068
  /* @__PURE__ */ s(ne, { id: "builderio-columns", styles: R() }),
1069
- (j = e.columns) == null ? void 0 : j.map((v, w) => /* @__PURE__ */ s(
1069
+ (j = e.columns) == null ? void 0 : j.map((S, w) => /* @__PURE__ */ s(
1070
1070
  ue,
1071
1071
  {
1072
- TagName: r(v),
1072
+ TagName: r(S),
1073
1073
  actionAttributes: {},
1074
- attributes: V(v, w),
1074
+ attributes: B(S, w),
1075
1075
  children: /* @__PURE__ */ s(
1076
1076
  D,
1077
1077
  {
@@ -1083,7 +1083,7 @@ function $t(e) {
1083
1083
  context: e.builderContext,
1084
1084
  registeredComponents: e.builderComponents,
1085
1085
  linkComponent: e.builderLinkComponent,
1086
- blocks: v.blocks
1086
+ blocks: S.blocks
1087
1087
  }
1088
1088
  )
1089
1089
  },
@@ -1161,9 +1161,9 @@ function jt(e) {
1161
1161
  };
1162
1162
  return e.aspectRatio ? f : void 0;
1163
1163
  }
1164
- return /* @__PURE__ */ B(E, { children: [
1165
- /* @__PURE__ */ B(E, { children: [
1166
- /* @__PURE__ */ B("picture", { children: [
1164
+ return /* @__PURE__ */ V(E, { children: [
1165
+ /* @__PURE__ */ V(E, { children: [
1166
+ /* @__PURE__ */ V("picture", { children: [
1167
1167
  n() ? /* @__PURE__ */ s("source", { type: "image/webp", srcSet: n() }) : null,
1168
1168
  /* @__PURE__ */ s(
1169
1169
  "img",
@@ -1354,7 +1354,7 @@ const ae = {
1354
1354
  e.get("useChildrenForItems") === !0 && e.set("items", []);
1355
1355
  }
1356
1356
  }]
1357
- }, Se = (e) => e.toString();
1357
+ }, ve = (e) => e.toString();
1358
1358
  function Ht(e) {
1359
1359
  var d;
1360
1360
  const [t, n] = C(() => []);
@@ -1405,13 +1405,13 @@ function Ht(e) {
1405
1405
  if (x) {
1406
1406
  if (x.classList.contains("builder-accordion-detail"))
1407
1407
  continue;
1408
- const V = x.getBoundingClientRect();
1409
- if (V.left > R.left) {
1408
+ const B = x.getBoundingClientRect();
1409
+ if (B.left > R.left) {
1410
1410
  const A = parseInt(
1411
1411
  x.getAttribute("data-index") || "",
1412
1412
  10
1413
1413
  );
1414
- isNaN(A) || (R = V, m = A);
1414
+ isNaN(A) || (R = B, m = A);
1415
1415
  } else
1416
1416
  break;
1417
1417
  }
@@ -1433,7 +1433,7 @@ function Ht(e) {
1433
1433
  function f(m) {
1434
1434
  t.includes(m) ? n(i() ? [] : t.filter((g) => g !== m)) : n(i() ? [m] : t.concat(m));
1435
1435
  }
1436
- return /* @__PURE__ */ s("div", { className: "builder-accordion", style: o(), children: (d = e.items) == null ? void 0 : d.map((m, g) => /* @__PURE__ */ B(E, { children: [
1436
+ return /* @__PURE__ */ s("div", { className: "builder-accordion", style: o(), children: (d = e.items) == null ? void 0 : d.map((m, g) => /* @__PURE__ */ V(E, { children: [
1437
1437
  /* @__PURE__ */ s(
1438
1438
  "div",
1439
1439
  {
@@ -1441,7 +1441,7 @@ function Ht(e) {
1441
1441
  style: {
1442
1442
  ...l(),
1443
1443
  width: e.grid ? e.gridRowWidth : void 0,
1444
- order: c() !== null ? Se(g) : Se(g + 1)
1444
+ order: c() !== null ? ve(g) : ve(g + 1)
1445
1445
  },
1446
1446
  "data-index": g,
1447
1447
  onClick: (p) => f(g),
@@ -2079,7 +2079,7 @@ function Zt(e) {
2079
2079
  function o(a) {
2080
2080
  a === t && e.collapsible ? n(-1) : n(a);
2081
2081
  }
2082
- return /* @__PURE__ */ B("div", { children: [
2082
+ return /* @__PURE__ */ V("div", { children: [
2083
2083
  /* @__PURE__ */ s(
2084
2084
  "div",
2085
2085
  {
@@ -2544,7 +2544,7 @@ function fn(e) {
2544
2544
  }
2545
2545
  g.preventDefault();
2546
2546
  const x = g.currentTarget || g.target, R = e.customHeaders || {};
2547
- let V;
2547
+ let B;
2548
2548
  const A = new FormData(x), j = Array.from(x.querySelectorAll("input,select,textarea")).filter((b) => !!b.name).map((b) => {
2549
2549
  let h;
2550
2550
  const y = b.name;
@@ -2558,8 +2558,8 @@ function fn(e) {
2558
2558
  } else if (b.type === "checkbox")
2559
2559
  h = b.checked;
2560
2560
  else if (b.type === "number" || b.type === "range") {
2561
- const S = b.valueAsNumber;
2562
- isNaN(S) || (h = S);
2561
+ const v = b.valueAsNumber;
2562
+ isNaN(v) || (h = v);
2563
2563
  } else
2564
2564
  b.type === "file" ? h = b.files : h = b.value;
2565
2565
  else
@@ -2569,19 +2569,19 @@ function fn(e) {
2569
2569
  value: h
2570
2570
  };
2571
2571
  });
2572
- let v = e.contentType;
2573
- if (e.sendSubmissionsTo === "email" && (v = "multipart/form-data"), Array.from(j).forEach(({ value: b }) => {
2574
- (b instanceof File || Array.isArray(b) && b[0] instanceof File || b instanceof FileList) && (v = "multipart/form-data");
2575
- }), v !== "application/json")
2576
- V = A;
2572
+ let S = e.contentType;
2573
+ if (e.sendSubmissionsTo === "email" && (S = "multipart/form-data"), Array.from(j).forEach(({ value: b }) => {
2574
+ (b instanceof File || Array.isArray(b) && b[0] instanceof File || b instanceof FileList) && (S = "multipart/form-data");
2575
+ }), S !== "application/json")
2576
+ B = A;
2577
2577
  else {
2578
2578
  const b = {};
2579
2579
  Array.from(j).forEach(({ value: h, key: y }) => {
2580
2580
  Re(b, y, h);
2581
- }), V = JSON.stringify(b);
2581
+ }), B = JSON.stringify(b);
2582
2582
  }
2583
- v && v !== "multipart/form-data" && (p && ((I = e.action) != null && I.includes("zapier.com")) || (R["content-type"] = v));
2584
- const w = new CustomEvent("presubmit", { detail: { body: V } });
2583
+ S && S !== "multipart/form-data" && (p && ((I = e.action) != null && I.includes("zapier.com")) || (R["content-type"] = S));
2584
+ const w = new CustomEvent("presubmit", { detail: { body: B } });
2585
2585
  if (t.current && (t.current.dispatchEvent(w), w.defaultPrevented))
2586
2586
  return;
2587
2587
  i("sending");
@@ -2590,21 +2590,21 @@ function fn(e) {
2590
2590
  )}&name=${encodeURIComponent(e.name || "")}`;
2591
2591
  fetch(
2592
2592
  e.sendSubmissionsTo === "email" ? F : e.action,
2593
- { body: V, headers: R, method: e.method || "post" }
2593
+ { body: B, headers: R, method: e.method || "post" }
2594
2594
  ).then(
2595
2595
  async (b) => {
2596
2596
  let h;
2597
2597
  const y = b.headers.get("content-type");
2598
2598
  if (y && y.indexOf("application/json") !== -1 ? h = await b.json() : h = await b.text(), !b.ok && e.errorMessagePath) {
2599
- let S = mn(h, e.errorMessagePath);
2600
- S && (typeof S != "string" && (S = JSON.stringify(S)), r(S), c({ formErrorMessage: S }));
2599
+ let v = mn(h, e.errorMessagePath);
2600
+ v && (typeof v != "string" && (v = JSON.stringify(v)), r(v), c({ formErrorMessage: v }));
2601
2601
  }
2602
2602
  if (l(h), i(b.ok ? "success" : "error"), b.ok) {
2603
- const S = new CustomEvent("submit:success", {
2603
+ const v = new CustomEvent("submit:success", {
2604
2604
  detail: { res: b, body: h }
2605
2605
  });
2606
2606
  if (t.current) {
2607
- if (t.current.dispatchEvent(S), S.defaultPrevented)
2607
+ if (t.current.dispatchEvent(v), v.defaultPrevented)
2608
2608
  return;
2609
2609
  e.resetFormOnSubmit !== !1 && t.current.reset();
2610
2610
  }
@@ -2627,9 +2627,9 @@ function fn(e) {
2627
2627
  );
2628
2628
  }
2629
2629
  }
2630
- return /* @__PURE__ */ B(E, { children: [
2630
+ return /* @__PURE__ */ V(E, { children: [
2631
2631
  " ",
2632
- /* @__PURE__ */ B(
2632
+ /* @__PURE__ */ V(
2633
2633
  "form",
2634
2634
  {
2635
2635
  validate: e.validate,
@@ -2802,7 +2802,8 @@ function pn(e) {
2802
2802
  value: e.value,
2803
2803
  key: $() && e.defaultValue ? e.defaultValue : "default-key",
2804
2804
  defaultValue: e.defaultValue,
2805
- name: e.name
2805
+ name: e.name,
2806
+ required: e.required
2806
2807
  },
2807
2808
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ s("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
2808
2809
  );
@@ -2836,7 +2837,57 @@ const yn = {
2836
2837
  function xn(e) {
2837
2838
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
2838
2839
  }
2839
- const Sn = {
2840
+ const vn = {
2841
+ name: "Form:TextArea",
2842
+ image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
2843
+ inputs: [{
2844
+ advanced: !0,
2845
+ name: "value",
2846
+ type: "string"
2847
+ }, {
2848
+ name: "name",
2849
+ type: "string",
2850
+ required: !0,
2851
+ helperText: 'Every input in a form needs a unique name describing what it gets, e.g. "email"'
2852
+ }, {
2853
+ name: "defaultValue",
2854
+ type: "string"
2855
+ }, {
2856
+ name: "placeholder",
2857
+ type: "string",
2858
+ defaultValue: "Hello there"
2859
+ }, {
2860
+ name: "required",
2861
+ type: "boolean",
2862
+ defaultValue: !1
2863
+ }],
2864
+ defaultStyles: {
2865
+ paddingTop: "10px",
2866
+ paddingBottom: "10px",
2867
+ paddingLeft: "10px",
2868
+ paddingRight: "10px",
2869
+ borderRadius: "3px",
2870
+ borderWidth: "1px",
2871
+ borderStyle: "solid",
2872
+ borderColor: "#ccc"
2873
+ },
2874
+ static: !0,
2875
+ noWrap: !0
2876
+ };
2877
+ function Sn(e) {
2878
+ return /* @__PURE__ */ s(
2879
+ "textarea",
2880
+ {
2881
+ ...e.attributes,
2882
+ placeholder: e.placeholder,
2883
+ name: e.name,
2884
+ value: e.value,
2885
+ defaultValue: e.defaultValue,
2886
+ required: e.required
2887
+ }
2888
+ );
2889
+ }
2890
+ const kn = {
2840
2891
  // friendlyName?
2841
2892
  name: "Raw:Img",
2842
2893
  hideFromInsertMenu: !0,
@@ -2851,7 +2902,7 @@ const Sn = {
2851
2902
  noWrap: !0,
2852
2903
  static: !0
2853
2904
  };
2854
- function vn(e) {
2905
+ function Cn(e) {
2855
2906
  return /* @__PURE__ */ s(
2856
2907
  "img",
2857
2908
  {
@@ -2866,7 +2917,7 @@ function vn(e) {
2866
2917
  $() && e.imgSrc || "default-key"
2867
2918
  );
2868
2919
  }
2869
- const kn = {
2920
+ const Tn = {
2870
2921
  name: "Video",
2871
2922
  canHaveChildren: !0,
2872
2923
  defaultStyles: {
@@ -2948,7 +2999,7 @@ const kn = {
2948
2999
  advanced: !0
2949
3000
  }]
2950
3001
  };
2951
- function Cn(e) {
3002
+ function In(e) {
2952
3003
  var i, o, l, a, r, c, u;
2953
3004
  function t() {
2954
3005
  return {
@@ -2974,7 +3025,7 @@ function Cn(e) {
2974
3025
  ...t()
2975
3026
  };
2976
3027
  }
2977
- return /* @__PURE__ */ B(
3028
+ return /* @__PURE__ */ V(
2978
3029
  "div",
2979
3030
  {
2980
3031
  style: {
@@ -3049,7 +3100,7 @@ function Cn(e) {
3049
3100
  }
3050
3101
  );
3051
3102
  }
3052
- const Tn = () => [{
3103
+ const wn = () => [{
3053
3104
  component: on,
3054
3105
  ...nn
3055
3106
  }, {
@@ -3068,12 +3119,15 @@ const Tn = () => [{
3068
3119
  component: pn,
3069
3120
  ...bn
3070
3121
  }, {
3071
- component: vn,
3072
- ...Sn
3122
+ component: Sn,
3123
+ ...vn
3073
3124
  }, {
3074
3125
  component: Cn,
3075
3126
  ...kn
3076
- }], ve = () => [{
3127
+ }, {
3128
+ component: In,
3129
+ ...Tn
3130
+ }], Se = () => [{
3077
3131
  component: ot,
3078
3132
  ...Kt
3079
3133
  }, {
@@ -3092,7 +3146,7 @@ const Tn = () => [{
3092
3146
  component: Gt,
3093
3147
  ...Yt
3094
3148
  }, {
3095
- component: zn,
3149
+ component: Yn,
3096
3150
  ...Qt
3097
3151
  }, {
3098
3152
  component: tn,
@@ -3103,7 +3157,7 @@ const Tn = () => [{
3103
3157
  }, {
3104
3158
  component: Ht,
3105
3159
  ...Mt
3106
- }, ...Tn()], In = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3160
+ }, ...wn()], En = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3107
3161
  function getAndSetVariantId() {
3108
3162
  function setCookie(name, value, days) {
3109
3163
  let expires = '';
@@ -3159,7 +3213,7 @@ const Tn = () => [{
3159
3213
  }).join('');
3160
3214
  styleEl.innerHTML = newStyleStr;
3161
3215
  }
3162
- }`, wn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3216
+ }`, Rn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3163
3217
  if (!navigator.cookieEnabled) {
3164
3218
  return;
3165
3219
  }
@@ -3197,16 +3251,16 @@ const Tn = () => [{
3197
3251
  ...t,
3198
3252
  testVariationId: t.id,
3199
3253
  id: e == null ? void 0 : e.id
3200
- })), En = ({
3254
+ })), Vn = ({
3201
3255
  canTrack: e,
3202
3256
  content: t
3203
- }) => !(!(J(t).length > 0) || !e || G()), Rn = (e) => e === "react" || e === "reactNative", Ue = Rn(L), Bn = () => `
3204
- window.${Oe} = ${In}
3205
- window.${je} = ${wn}
3206
- `, Vn = (e, t) => `
3257
+ }) => !(!(J(t).length > 0) || !e || G()), Bn = (e) => e === "react" || e === "reactNative", Ue = Bn(L), Pn = () => `
3258
+ window.${Oe} = ${En}
3259
+ window.${je} = ${Rn}
3260
+ `, An = (e, t) => `
3207
3261
  window.${Oe}(
3208
3262
  "${t}",${JSON.stringify(e)}, ${Ue}
3209
- )`, Pn = ({
3263
+ )`, Nn = ({
3210
3264
  contentId: e,
3211
3265
  variationId: t
3212
3266
  }) => `window.${je}(
@@ -3224,7 +3278,7 @@ function ce(e) {
3224
3278
  function ke(e) {
3225
3279
  return Math.round(e * 1e3) / 1e3;
3226
3280
  }
3227
- const An = (e, t, n = !0) => {
3281
+ const Fn = (e, t, n = !0) => {
3228
3282
  if (!(e instanceof HTMLElement))
3229
3283
  return null;
3230
3284
  let i = n ? e : e.parentElement;
@@ -3235,7 +3289,7 @@ const An = (e, t, n = !0) => {
3235
3289
  return i;
3236
3290
  } while (i = i.parentElement);
3237
3291
  return null;
3238
- }, Nn = (e) => An(e, (t) => {
3292
+ }, Wn = (e) => Fn(e, (t) => {
3239
3293
  const n = t.getAttribute("builder-id") || t.id;
3240
3294
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3241
3295
  }), Ce = ({
@@ -3247,8 +3301,8 @@ const An = (e, t, n = !0) => {
3247
3301
  x: l,
3248
3302
  y: a
3249
3303
  };
3250
- }, Fn = (e) => {
3251
- const t = e.target, n = t && Nn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3304
+ }, $n = (e) => {
3305
+ const t = e.target, n = t && Wn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3252
3306
  return {
3253
3307
  targetBuilderElement: i || void 0,
3254
3308
  metadata: {
@@ -3263,7 +3317,7 @@ const An = (e, t, n = !0) => {
3263
3317
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
3264
3318
  }
3265
3319
  };
3266
- }, Wn = (e) => {
3320
+ }, Dn = (e) => {
3267
3321
  var l, a;
3268
3322
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (l = e == null ? void 0 : e.files) == null ? void 0 : l.regular;
3269
3323
  let o = "";
@@ -3289,15 +3343,15 @@ font-weight: ${r};
3289
3343
  `.trim());
3290
3344
  }
3291
3345
  return o;
3292
- }, $n = ({
3346
+ }, Ln = ({
3293
3347
  customFonts: e
3294
3348
  }) => {
3295
3349
  var t;
3296
- return ((t = e == null ? void 0 : e.map((n) => Wn(n))) == null ? void 0 : t.join(" ")) || "";
3297
- }, Dn = ({
3350
+ return ((t = e == null ? void 0 : e.map((n) => Dn(n))) == null ? void 0 : t.join(" ")) || "";
3351
+ }, On = ({
3298
3352
  cssCode: e,
3299
3353
  contentId: t
3300
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ln = `
3354
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", jn = `
3301
3355
  .builder-button {
3302
3356
  all: unset;
3303
3357
  }
@@ -3314,28 +3368,28 @@ font-weight: ${r};
3314
3368
  text-align: inherit;
3315
3369
  font-family: inherit;
3316
3370
  }
3317
- `, On = (e) => e ? "" : Ln, jn = (e) => `variant-${e}`;
3318
- function Un(e) {
3319
- var V, A, j, v, w, F, b;
3371
+ `, Un = (e) => e ? "" : jn, Mn = (e) => `variant-${e}`;
3372
+ function Hn(e) {
3373
+ var B, A, j, S, w, F, b;
3320
3374
  const t = ee(null);
3321
3375
  function n(h) {
3322
- var S, k;
3376
+ var v, k;
3323
3377
  const y = {
3324
3378
  ...e.builderContextSignal.rootState,
3325
3379
  ...h
3326
3380
  };
3327
- e.builderContextSignal.rootSetState ? (k = (S = e.builderContextSignal).rootSetState) == null || k.call(S, y) : e.setBuilderContextSignal((T) => ({
3381
+ e.builderContextSignal.rootSetState ? (k = (v = e.builderContextSignal).rootSetState) == null || k.call(v, y) : e.setBuilderContextSignal((T) => ({
3328
3382
  ...T,
3329
3383
  rootState: y
3330
3384
  }));
3331
3385
  }
3332
3386
  function i(h) {
3333
- var S, k, T, N, U;
3387
+ var v, k, T, N, U;
3334
3388
  const y = {
3335
3389
  ...e.builderContextSignal.content,
3336
3390
  ...h,
3337
3391
  data: {
3338
- ...(S = e.builderContextSignal.content) == null ? void 0 : S.data,
3392
+ ...(v = e.builderContextSignal.content) == null ? void 0 : v.data,
3339
3393
  ...h == null ? void 0 : h.data
3340
3394
  },
3341
3395
  meta: {
@@ -3365,10 +3419,10 @@ function Un(e) {
3365
3419
  callbacks: {
3366
3420
  configureSdk: (y) => {
3367
3421
  var T;
3368
- const { breakpoints: S, contentId: k } = y;
3369
- !k || k !== ((T = e.builderContextSignal.content) == null ? void 0 : T.id) || S && i({
3422
+ const { breakpoints: v, contentId: k } = y;
3423
+ !k || k !== ((T = e.builderContextSignal.content) == null ? void 0 : T.id) || v && i({
3370
3424
  meta: {
3371
- breakpoints: S
3425
+ breakpoints: v
3372
3426
  }
3373
3427
  });
3374
3428
  },
@@ -3382,8 +3436,8 @@ function Un(e) {
3382
3436
  })(h);
3383
3437
  }
3384
3438
  function c() {
3385
- var y, S;
3386
- const h = (S = (y = e.builderContextSignal.content) == null ? void 0 : y.data) == null ? void 0 : S.jsCode;
3439
+ var y, v;
3440
+ const h = (v = (y = e.builderContextSignal.content) == null ? void 0 : y.data) == null ? void 0 : v.jsCode;
3387
3441
  h && q({
3388
3442
  code: h,
3389
3443
  context: e.context || {},
@@ -3398,24 +3452,24 @@ function Un(e) {
3398
3452
  }
3399
3453
  const [u, f] = C(() => ({})), [d, m] = C(() => ({})), [g, p] = C(() => !1);
3400
3454
  function I(h) {
3401
- var y, S;
3455
+ var y, v;
3402
3456
  if (e.builderContextSignal.content) {
3403
- const k = (y = e.builderContextSignal.content) == null ? void 0 : y.testVariationId, T = (S = e.builderContextSignal.content) == null ? void 0 : S.id;
3457
+ const k = (y = e.builderContextSignal.content) == null ? void 0 : y.testVariationId, T = (v = e.builderContextSignal.content) == null ? void 0 : v.id;
3404
3458
  he({
3405
3459
  type: "click",
3406
3460
  canTrack: Q(e.canTrack),
3407
3461
  contentId: T,
3408
3462
  apiKey: e.apiKey,
3409
3463
  variationId: k !== T ? k : void 0,
3410
- ...Fn(h),
3464
+ ...$n(h),
3411
3465
  unique: !g
3412
3466
  });
3413
3467
  }
3414
3468
  g || p(!0);
3415
3469
  }
3416
3470
  function x() {
3417
- var y, S, k;
3418
- const h = (k = (S = (y = e.builderContextSignal.content) == null ? void 0 : y.data) == null ? void 0 : S.httpRequests) != null ? k : {};
3471
+ var y, v, k;
3472
+ const h = (k = (v = (y = e.builderContextSignal.content) == null ? void 0 : y.data) == null ? void 0 : v.httpRequests) != null ? k : {};
3419
3473
  Object.entries(h).forEach(([T, N]) => {
3420
3474
  if (!N || d[T] || u[T] && !$())
3421
3475
  return;
@@ -3512,9 +3566,9 @@ function Un(e) {
3512
3566
  e.content && i(e.content);
3513
3567
  }, [e.content]), P(() => {
3514
3568
  c();
3515
- }, [(A = (V = e.builderContextSignal.content) == null ? void 0 : V.data) == null ? void 0 : A.jsCode]), P(() => {
3569
+ }, [(A = (B = e.builderContextSignal.content) == null ? void 0 : B.data) == null ? void 0 : A.jsCode]), P(() => {
3516
3570
  x();
3517
- }, [(v = (j = e.builderContextSignal.content) == null ? void 0 : j.data) == null ? void 0 : v.httpRequests]), P(() => {
3571
+ }, [(S = (j = e.builderContextSignal.content) == null ? void 0 : j.data) == null ? void 0 : S.httpRequests]), P(() => {
3518
3572
  R();
3519
3573
  }, [e.builderContextSignal.rootState]), P(() => {
3520
3574
  e.data && n(e.data);
@@ -3536,29 +3590,29 @@ function Un(e) {
3536
3590
  "builder-model": e.model,
3537
3591
  ...o(),
3538
3592
  ...e.contentWrapperProps,
3539
- className: jn(
3593
+ className: Mn(
3540
3594
  ((F = e.content) == null ? void 0 : F.testVariationId) || ((b = e.content) == null ? void 0 : b.id)
3541
3595
  ),
3542
3596
  children: e.children
3543
3597
  }
3544
3598
  ) : null });
3545
3599
  }
3546
- function Mn(e) {
3600
+ function Kn(e) {
3547
3601
  const [t, n] = C(
3548
3602
  () => `
3549
- ${Dn({
3603
+ ${On({
3550
3604
  cssCode: e.cssCode,
3551
3605
  contentId: e.contentId
3552
3606
  })}
3553
- ${$n({
3607
+ ${Ln({
3554
3608
  customFonts: e.customFonts
3555
3609
  })}
3556
- ${On(e.isNestedRender)}
3610
+ ${Un(e.isNestedRender)}
3557
3611
  `.trim()
3558
3612
  );
3559
3613
  return /* @__PURE__ */ s(ne, { id: "builderio-content", styles: t });
3560
3614
  }
3561
- const Hn = ({
3615
+ const qn = ({
3562
3616
  content: e,
3563
3617
  data: t,
3564
3618
  locale: n
@@ -3575,7 +3629,7 @@ const Hn = ({
3575
3629
  locale: n
3576
3630
  } : {}
3577
3631
  };
3578
- }, Kn = ({
3632
+ }, _n = ({
3579
3633
  content: e,
3580
3634
  data: t
3581
3635
  }) => e ? {
@@ -3591,7 +3645,7 @@ function Te(e) {
3591
3645
  const [t, n] = C(
3592
3646
  () => {
3593
3647
  var I, x;
3594
- return Pn({
3648
+ return Nn({
3595
3649
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3596
3650
  variationId: (I = e.content) == null ? void 0 : I.testVariationId,
3597
3651
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -3607,7 +3661,7 @@ function Te(e) {
3607
3661
  }
3608
3662
  const [o, l] = C(
3609
3663
  () => [
3610
- ...ve(),
3664
+ ...Se(),
3611
3665
  ...e.customComponents || []
3612
3666
  ].reduce(
3613
3667
  (I, { component: x, ...R }) => ({
@@ -3620,12 +3674,12 @@ function Te(e) {
3620
3674
  {}
3621
3675
  )
3622
3676
  ), [a, r] = C(() => ({
3623
- content: Kn({
3677
+ content: _n({
3624
3678
  content: e.content,
3625
3679
  data: e.data
3626
3680
  }),
3627
3681
  localState: void 0,
3628
- rootState: Hn({
3682
+ rootState: qn({
3629
3683
  content: e.content,
3630
3684
  data: e.data,
3631
3685
  locale: e.locale
@@ -3636,7 +3690,7 @@ function Te(e) {
3636
3690
  apiKey: e.apiKey,
3637
3691
  apiVersion: e.apiVersion,
3638
3692
  componentInfos: [
3639
- ...ve(),
3693
+ ...Se(),
3640
3694
  ...e.customComponents || []
3641
3695
  ].reduce(
3642
3696
  (I, { component: x, ...R }) => ({
@@ -3650,13 +3704,13 @@ function Te(e) {
3650
3704
  BlocksWrapperProps: e.blocksWrapperProps || {}
3651
3705
  }));
3652
3706
  return /* @__PURE__ */ s(
3653
- Be.Provider,
3707
+ Ve.Provider,
3654
3708
  {
3655
3709
  value: {
3656
3710
  registeredComponents: o
3657
3711
  },
3658
- children: /* @__PURE__ */ B(
3659
- Un,
3712
+ children: /* @__PURE__ */ V(
3713
+ Hn,
3660
3714
  {
3661
3715
  content: e.content,
3662
3716
  data: e.data,
@@ -3681,7 +3735,7 @@ function Te(e) {
3681
3735
  }
3682
3736
  ) : null,
3683
3737
  /* @__PURE__ */ s(
3684
- Mn,
3738
+ Kn,
3685
3739
  {
3686
3740
  isNestedRender: e.isNestedRender,
3687
3741
  contentId: (c = a.content) == null ? void 0 : c.id,
@@ -3704,17 +3758,17 @@ function Te(e) {
3704
3758
  }
3705
3759
  );
3706
3760
  }
3707
- function qn(e) {
3761
+ function zn(e) {
3708
3762
  var a;
3709
3763
  const [t, n] = C(
3710
- () => En({
3764
+ () => Vn({
3711
3765
  canTrack: Q(e.canTrack),
3712
3766
  content: e.content
3713
3767
  })
3714
3768
  );
3715
3769
  function i() {
3716
3770
  var r;
3717
- return Vn(
3771
+ return An(
3718
3772
  J(e.content).map((c) => ({
3719
3773
  id: c.testVariationId,
3720
3774
  testRatio: c.testRatio
@@ -3736,15 +3790,15 @@ function qn(e) {
3736
3790
  });
3737
3791
  }
3738
3792
  return P(() => {
3739
- }, []), /* @__PURE__ */ B(E, { children: [
3793
+ }, []), /* @__PURE__ */ V(E, { children: [
3740
3794
  !e.isNestedRender && L !== "reactNative" ? /* @__PURE__ */ s(
3741
3795
  ce,
3742
3796
  {
3743
3797
  id: "builderio-init-variants-fns",
3744
- scriptStr: Bn()
3798
+ scriptStr: Pn()
3745
3799
  }
3746
3800
  ) : null,
3747
- t ? /* @__PURE__ */ B(E, { children: [
3801
+ t ? /* @__PURE__ */ V(E, { children: [
3748
3802
  /* @__PURE__ */ s(
3749
3803
  ne,
3750
3804
  {
@@ -3811,7 +3865,7 @@ function qn(e) {
3811
3865
  )
3812
3866
  ] });
3813
3867
  }
3814
- const _n = async ({
3868
+ const Jn = async ({
3815
3869
  builderContextValue: e,
3816
3870
  symbol: t
3817
3871
  }) => {
@@ -3830,7 +3884,7 @@ const _n = async ({
3830
3884
  Z.error("Could not fetch symbol content: ", n);
3831
3885
  });
3832
3886
  };
3833
- function zn(e) {
3887
+ function Yn(e) {
3834
3888
  var r, c, u, f;
3835
3889
  function t() {
3836
3890
  return "div";
@@ -3852,7 +3906,7 @@ function zn(e) {
3852
3906
  return (d = e.symbol) == null ? void 0 : d.content;
3853
3907
  });
3854
3908
  function a() {
3855
- o || _n({
3909
+ o || Jn({
3856
3910
  symbol: e.symbol,
3857
3911
  builderContextValue: e.builderContext
3858
3912
  }).then((d) => {
@@ -3863,7 +3917,7 @@ function zn(e) {
3863
3917
  }, []), P(() => {
3864
3918
  a();
3865
3919
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ s(
3866
- qn,
3920
+ zn,
3867
3921
  {
3868
3922
  isNestedRender: !0,
3869
3923
  apiVersion: e.builderContext.apiVersion,
@@ -3892,11 +3946,11 @@ export {
3892
3946
  me as BuilderContext,
3893
3947
  ot as Button,
3894
3948
  $t as Columns,
3895
- qn as Content,
3949
+ zn as Content,
3896
3950
  Dt as Fragment,
3897
3951
  jt as Image,
3898
3952
  Ut as Section,
3899
- zn as Symbol,
3953
+ Yn as Symbol,
3900
3954
  tn as Text,
3901
- Cn as Video
3955
+ In as Video
3902
3956
  };