@builder.io/sdk-react 2.0.16 → 2.0.19

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 (78) hide show
  1. package/lib/browser/blocks-exports.cjs +23 -23
  2. package/lib/browser/blocks-exports.mjs +347 -324
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +22 -23
  5. package/lib/browser/{server-entry-1db0d96b.js → server-entry-12189812.js} +1 -2
  6. package/lib/browser/{server-entry-c1666709.cjs → server-entry-c8020f19.cjs} +2 -2
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-7c1c7c56.js → accordion-634b0466.js} +1 -1
  10. package/lib/edge/{accordion-09162a27.cjs → accordion-eaf2e50a.cjs} +1 -1
  11. package/lib/edge/{blocks-46c07b56.js → blocks-51761337.js} +91 -78
  12. package/lib/edge/blocks-b8c9a72a.cjs +12 -0
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-a923f8ff.js → button-6d2144c3.js} +2 -2
  16. package/lib/edge/{button-f2daea13.cjs → button-a0aad19e.cjs} +1 -1
  17. package/lib/edge/{columns-eee4f51c.js → columns-030a6892.js} +6 -7
  18. package/lib/edge/columns-44d76a14.cjs +28 -0
  19. package/lib/edge/content-variants-3eef022e.cjs +134 -0
  20. package/lib/edge/{content-variants-1368cab1.js → content-variants-46a433c2.js} +13 -14
  21. package/lib/edge/{evaluate-4c9b2e86.cjs → evaluate-29260bf8.cjs} +10 -10
  22. package/lib/edge/{evaluate-93701356.js → evaluate-6febb3ef.js} +331 -318
  23. package/lib/edge/form-59059e97.cjs +1 -0
  24. package/lib/edge/{form-d0eb0af4.js → form-855a28fc.js} +14 -15
  25. package/lib/edge/{get-class-prop-name-7cd1376f.cjs → get-class-prop-name-6320e936.cjs} +1 -1
  26. package/lib/edge/{get-class-prop-name-1c373615.js → get-class-prop-name-a6353748.js} +1 -1
  27. package/lib/edge/{img-6c8139db.cjs → img-1f88586f.cjs} +1 -1
  28. package/lib/edge/{img-6e16ade6.js → img-56b4a196.js} +1 -1
  29. package/lib/edge/index.cjs +1 -1
  30. package/lib/edge/index.mjs +1 -1
  31. package/lib/edge/{input-c78fef2b.cjs → input-35f6fbdd.cjs} +1 -1
  32. package/lib/edge/{input-a7e9c157.js → input-7873f170.js} +1 -1
  33. package/lib/edge/{select-3cf593bd.js → select-eb16d7cc.js} +1 -1
  34. package/lib/edge/{select-bd1e231b.cjs → select-f03c5ba6.cjs} +1 -1
  35. package/lib/edge/{server-entry-6b3ad048.js → server-entry-77a5a1a0.js} +1 -2
  36. package/lib/edge/{server-entry-d09af943.cjs → server-entry-dbe27fb2.cjs} +2 -2
  37. package/lib/edge/server-entry.cjs +1 -1
  38. package/lib/edge/server-entry.mjs +1 -1
  39. package/lib/edge/slot-93865012.cjs +1 -0
  40. package/lib/edge/{slot-a5a9a30f.js → slot-c9a7a451.js} +6 -7
  41. package/lib/edge/{symbol-77d331c6.js → symbol-6657c638.js} +2 -2
  42. package/lib/edge/{symbol-9de15518.cjs → symbol-b6b36212.cjs} +1 -1
  43. package/lib/edge/tabs-020fedaa.cjs +1 -0
  44. package/lib/edge/{tabs-63d6ea85.js → tabs-44484f49.js} +13 -14
  45. package/lib/edge/text-562c8568.cjs +1 -0
  46. package/lib/edge/{text-4d508bbc.js → text-e00e3cdc.js} +8 -9
  47. package/lib/node/blocks-exports.cjs +20 -20
  48. package/lib/node/blocks-exports.mjs +262 -250
  49. package/lib/node/index.cjs +1 -1
  50. package/lib/node/index.mjs +2 -2
  51. package/lib/node/init.cjs +1 -1
  52. package/lib/node/init.mjs +2 -2
  53. package/lib/node/{server-entry-c1666709.cjs → server-entry-82ab17f2.cjs} +1 -1
  54. package/lib/node/{server-entry-1db0d96b.js → server-entry-902ea0c4.js} +1 -1
  55. package/lib/node/server-entry.cjs +1 -1
  56. package/lib/node/server-entry.mjs +1 -1
  57. package/lib/node/{should-force-browser-runtime-in-node-1188ea7b.js → should-force-browser-runtime-in-node-0b0cefdf.js} +7 -7
  58. package/lib/node/{should-force-browser-runtime-in-node-37010e2f.cjs → should-force-browser-runtime-in-node-f20178fa.cjs} +5 -5
  59. package/package.json +1 -1
  60. package/types/components/awaiter.d.ts +14 -0
  61. package/types/constants/sdk-version.d.ts +1 -1
  62. package/types/context/component-reference-types.d.ts +4 -0
  63. package/types/context/types.d.ts +2 -1
  64. package/lib/browser/init.cjs +0 -8
  65. package/lib/browser/init.mjs +0 -64
  66. package/lib/browser/should-force-browser-runtime-in-node-00f3cfef.js +0 -17
  67. package/lib/browser/should-force-browser-runtime-in-node-f768fb5d.cjs +0 -1
  68. package/lib/edge/blocks-273f24cc.cjs +0 -12
  69. package/lib/edge/columns-0b8c2260.cjs +0 -28
  70. package/lib/edge/content-variants-575b5dbf.cjs +0 -134
  71. package/lib/edge/form-bd184008.cjs +0 -1
  72. package/lib/edge/init.cjs +0 -8
  73. package/lib/edge/init.mjs +0 -64
  74. package/lib/edge/should-force-browser-runtime-in-node-2b14e4a8.cjs +0 -1
  75. package/lib/edge/should-force-browser-runtime-in-node-560bddfb.js +0 -17
  76. package/lib/edge/slot-ab7fc875.cjs +0 -1
  77. package/lib/edge/tabs-e6fa664e.cjs +0 -1
  78. package/lib/edge/text-ab5d2747.cjs +0 -1
@@ -2,13 +2,13 @@
2
2
  var qe = Object.defineProperty;
3
3
  var _e = (e, t, n) => t in e ? qe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
4
  var ee = (e, t, n) => (_e(e, typeof t != "symbol" ? t + "" : t, n), n);
5
- import { jsx as l, Fragment as E, jsxs as V } from "react/jsx-runtime";
6
- import { TARGET as U, isBrowser as G, logger as ce, checkIsDefined as re, isPreviewing as we, isEditing as $, registerInsertMenu as ze, setupBrowserForEditing as Je, createRegisterComponentMessage as Ye, getDefaultCanTrack as Q, _track as he, fetchOneEntry as Re, createEditorListener as Ge, fetch as Qe, serializeIncludingFunctions as ge, handleABTestingSync as Xe } from "./server-entry-1db0d96b.js";
7
- import { createContext as Ee, useState as T, useEffect as P, useRef as _, useContext as be, createElement as Be } from "react";
8
- import { getFunctionArguments as Ze, shouldForceBrowserRuntimeInNode as et, runInNode as tt, parseCode as nt, getBuilderGlobals as it, set as Pe, fastClone as de } from "./should-force-browser-runtime-in-node-1188ea7b.js";
5
+ import { jsx as l, Fragment as I, jsxs as V } from "react/jsx-runtime";
6
+ import { TARGET as U, isBrowser as G, logger as ce, checkIsDefined as re, isPreviewing as we, isEditing as $, registerInsertMenu as ze, setupBrowserForEditing as Je, createRegisterComponentMessage as Ye, getDefaultCanTrack as Q, _track as he, fetchOneEntry as Re, createEditorListener as Ge, fetch as Qe, serializeIncludingFunctions as ge, handleABTestingSync as Xe } from "./server-entry-902ea0c4.js";
7
+ import { createContext as Ee, useState as T, useEffect as B, useRef as _, useContext as be, createElement as Pe } from "react";
8
+ import { getFunctionArguments as Ze, shouldForceBrowserRuntimeInNode as et, runInNode as tt, parseCode as nt, getBuilderGlobals as it, set as Be, fastClone as de } from "./should-force-browser-runtime-in-node-0b0cefdf.js";
9
9
  const ot = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), at = (e) => typeof e == "string" && ot.has(e.toLowerCase());
10
10
  function ue(e) {
11
- return /* @__PURE__ */ l(E, { children: at(e.TagName) ? /* @__PURE__ */ l(E, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(E, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
11
+ return /* @__PURE__ */ l(I, { children: at(e.TagName) ? /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(I, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
12
12
  }
13
13
  const q = () => {
14
14
  switch (U) {
@@ -243,7 +243,7 @@ const mt = ["svelte", "vue", "angular", "qwik", "solid"].includes(U), ft = (e) =
243
243
  context: t,
244
244
  enableCache: !0
245
245
  });
246
- Pe(a, r, d);
246
+ Be(a, r, d);
247
247
  }
248
248
  return a;
249
249
  };
@@ -527,13 +527,13 @@ function Z(e) {
527
527
  }
528
528
  );
529
529
  }
530
- function Bt(e) {
530
+ function Pt(e) {
531
531
  function t() {
532
532
  const i = e.block;
533
533
  return re(i.hide) ? !i.hide : re(i.show) ? i.show : !0;
534
534
  }
535
535
  function n() {
536
- var f, w, B;
536
+ var f, R, P;
537
537
  const i = e.block, o = i.responsiveStyles, a = e.context.content, r = Oe(
538
538
  ((f = a == null ? void 0 : a.meta) == null ? void 0 : f.breakpoints) || {}
539
539
  ), s = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, u = i.id;
@@ -559,7 +559,7 @@ function Bt(e) {
559
559
  }) : "", h = i.animations && i.animations.find((A) => A.trigger === "hover");
560
560
  let p = "";
561
561
  if (h) {
562
- const A = ((B = (w = h.steps) == null ? void 0 : w[1]) == null ? void 0 : B.styles) || {};
562
+ const A = ((P = (R = h.steps) == null ? void 0 : R[1]) == null ? void 0 : P.styles) || {};
563
563
  p = J({
564
564
  className: `${u}:hover`,
565
565
  styles: {
@@ -578,7 +578,7 @@ function Bt(e) {
578
578
  p
579
579
  ].join(" ");
580
580
  }
581
- return /* @__PURE__ */ l(E, { children: n() && t() ? /* @__PURE__ */ l(E, { children: /* @__PURE__ */ l(
581
+ return /* @__PURE__ */ l(I, { children: n() && t() ? /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(
582
582
  Z,
583
583
  {
584
584
  id: "builderio-block",
@@ -587,10 +587,10 @@ function Bt(e) {
587
587
  }
588
588
  ) }) : null });
589
589
  }
590
- function Pt(e) {
590
+ function Bt(e) {
591
591
  return e.charAt(0).toUpperCase() + e.slice(1);
592
592
  }
593
- const Vt = (e) => `on${Pt(e)}`, At = (e, t) => (n) => H({
593
+ const Vt = (e) => `on${Bt(e)}`, At = (e, t) => (n) => H({
594
594
  code: e,
595
595
  context: t.context,
596
596
  localState: t.localState,
@@ -672,6 +672,9 @@ function Nt(e) {
672
672
  );
673
673
  }
674
674
  function $t(e) {
675
+ return /* @__PURE__ */ l(I, { children: e.children });
676
+ }
677
+ function Dt(e) {
675
678
  function t() {
676
679
  return e.includeBlockProps ? {
677
680
  ...fe({
@@ -687,9 +690,18 @@ function $t(e) {
687
690
  })
688
691
  } : {};
689
692
  }
690
- return /* @__PURE__ */ l(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children });
693
+ return /* @__PURE__ */ l(I, { children: e.Wrapper.load ? /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(
694
+ $t,
695
+ {
696
+ load: e.Wrapper.load,
697
+ fallback: e.Wrapper.fallback,
698
+ props: e.wrapperProps,
699
+ attributes: t(),
700
+ children: e.children
701
+ }
702
+ ) }) : /* @__PURE__ */ l(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children }) });
691
703
  }
692
- const Dt = ({
704
+ const Lt = ({
693
705
  componentOptions: e,
694
706
  builderBlock: t,
695
707
  context: n,
@@ -722,12 +734,12 @@ const Dt = ({
722
734
  function ye(e) {
723
735
  var i;
724
736
  const [t, n] = T(
725
- () => e.isInteractive ? $t : e.componentRef
737
+ () => e.isInteractive ? Dt : e.componentRef
726
738
  );
727
- return /* @__PURE__ */ l(E, { children: e.componentRef ? /* @__PURE__ */ l(E, { children: /* @__PURE__ */ l(
739
+ return /* @__PURE__ */ l(I, { children: e.componentRef ? /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(
728
740
  t,
729
741
  {
730
- ...Dt({
742
+ ...Lt({
731
743
  componentOptions: e.componentOptions,
732
744
  builderBlock: e.builderBlock,
733
745
  context: e.context,
@@ -799,9 +811,9 @@ function z(e) {
799
811
  return e.block.tagName === "a" || ((p = o().properties) == null ? void 0 : p.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
800
812
  }
801
813
  function s() {
802
- var f, w;
814
+ var f, R;
803
815
  if ((f = e.block.repeat) != null && f.collection)
804
- return !!((w = t == null ? void 0 : t()) != null && w.length);
816
+ return !!((R = t == null ? void 0 : t()) != null && R.length);
805
817
  const h = "hide" in o() ? o().hide : !1;
806
818
  return ("show" in o() ? o().show : !0) && !h;
807
819
  }
@@ -810,7 +822,7 @@ function z(e) {
810
822
  return !((p = a == null ? void 0 : a()) != null && p.component) && !t() ? (f = o().children) != null ? f : [] : [];
811
823
  }
812
824
  function c() {
813
- var h, p, f, w;
825
+ var h, p, f, R;
814
826
  return {
815
827
  blockChildren: (h = o().children) != null ? h : [],
816
828
  componentRef: (p = a == null ? void 0 : a()) == null ? void 0 : p.component,
@@ -829,10 +841,10 @@ function z(e) {
829
841
  registeredComponents: e.registeredComponents,
830
842
  builderBlock: o(),
831
843
  includeBlockProps: ((f = a == null ? void 0 : a()) == null ? void 0 : f.noWrap) === !0,
832
- isInteractive: !((w = a == null ? void 0 : a()) != null && w.isRSC && U === "rsc")
844
+ isInteractive: !((R = a == null ? void 0 : a()) != null && R.isRSC && U === "rsc")
833
845
  };
834
846
  }
835
- return P(() => {
847
+ return B(() => {
836
848
  const h = o().id, p = o().animations;
837
849
  p && h && pt(
838
850
  p.map((f) => ({
@@ -840,11 +852,11 @@ function z(e) {
840
852
  elementId: h
841
853
  }))
842
854
  );
843
- }, []), P(() => {
855
+ }, []), B(() => {
844
856
  n.update = !0;
845
- }), /* @__PURE__ */ l(E, { children: s() ? /* @__PURE__ */ V(E, { children: [
846
- /* @__PURE__ */ l(Bt, { block: o(), context: e.context }),
847
- (u = a == null ? void 0 : a()) != null && u.noWrap ? t() ? /* @__PURE__ */ l(E, { children: (x = t()) == null ? void 0 : x.map((h, p) => /* @__PURE__ */ l(
857
+ }), /* @__PURE__ */ l(I, { children: s() ? /* @__PURE__ */ V(I, { children: [
858
+ /* @__PURE__ */ l(Pt, { block: o(), context: e.context }),
859
+ (u = a == null ? void 0 : a()) != null && u.noWrap ? t() ? /* @__PURE__ */ l(I, { children: (x = t()) == null ? void 0 : x.map((h, p) => /* @__PURE__ */ l(
848
860
  xe,
849
861
  {
850
862
  repeatContext: h.context,
@@ -866,7 +878,7 @@ function z(e) {
866
878
  includeBlockProps: c().includeBlockProps,
867
879
  isInteractive: c().isInteractive
868
880
  }
869
- ) : /* @__PURE__ */ l(E, { children: t() ? /* @__PURE__ */ l(E, { children: (m = t()) == null ? void 0 : m.map((h, p) => /* @__PURE__ */ l(
881
+ ) : /* @__PURE__ */ l(I, { children: t() ? /* @__PURE__ */ l(I, { children: (m = t()) == null ? void 0 : m.map((h, p) => /* @__PURE__ */ l(
870
882
  xe,
871
883
  {
872
884
  repeatContext: h.context,
@@ -911,7 +923,7 @@ function z(e) {
911
923
  ) })
912
924
  ] }) : null });
913
925
  }
914
- function Lt(e) {
926
+ function Ot(e) {
915
927
  const t = _(null);
916
928
  function n() {
917
929
  var a;
@@ -943,8 +955,8 @@ function Lt(e) {
943
955
  "*"
944
956
  ));
945
957
  }
946
- return P(() => {
947
- }, []), /* @__PURE__ */ V(E, { children: [
958
+ return B(() => {
959
+ }, []), /* @__PURE__ */ V(I, { children: [
948
960
  /* @__PURE__ */ l(
949
961
  e.BlocksWrapper,
950
962
  {
@@ -971,7 +983,7 @@ function D(e) {
971
983
  var i, o, a;
972
984
  const t = be(me), n = be(Ve);
973
985
  return /* @__PURE__ */ l(
974
- Lt,
986
+ Ot,
975
987
  {
976
988
  blocks: e.blocks,
977
989
  parent: e.parent,
@@ -979,7 +991,7 @@ function D(e) {
979
991
  styleProp: e.styleProp,
980
992
  BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || t.BlocksWrapper,
981
993
  BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
982
- children: e.blocks ? /* @__PURE__ */ l(E, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ l(
994
+ children: e.blocks ? /* @__PURE__ */ l(I, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ l(
983
995
  z,
984
996
  {
985
997
  block: r,
@@ -992,8 +1004,8 @@ function D(e) {
992
1004
  }
993
1005
  );
994
1006
  }
995
- const Ot = (e) => `builder-columns ${e}-breakpoints`;
996
- function Ut(e) {
1007
+ const Ut = (e) => `builder-columns ${e}-breakpoints`;
1008
+ function jt(e) {
997
1009
  var A, O;
998
1010
  const [t, n] = T(
999
1011
  () => typeof e.space == "number" ? e.space || 0 : 20
@@ -1004,24 +1016,24 @@ function Ut(e) {
1004
1016
  return v.link ? e.builderLinkComponent || "a" : "div";
1005
1017
  }
1006
1018
  function d(v) {
1007
- var R;
1008
- return ((R = i[v]) == null ? void 0 : R.width) || 100 / i.length;
1019
+ var E;
1020
+ return ((E = i[v]) == null ? void 0 : E.width) || 100 / i.length;
1009
1021
  }
1010
1022
  function c(v) {
1011
- const R = d(v), W = t * (i.length - 1) * (R / 100);
1012
- return `calc(${R}% - ${W}px)`;
1023
+ const E = d(v), W = t * (i.length - 1) * (E / 100);
1024
+ return `calc(${E}% - ${W}px)`;
1013
1025
  }
1014
1026
  function u({
1015
1027
  stackedStyle: v,
1016
- desktopStyle: R
1028
+ desktopStyle: E
1017
1029
  }) {
1018
- return a === "tablet" ? v : R;
1030
+ return a === "tablet" ? v : E;
1019
1031
  }
1020
1032
  function g({
1021
1033
  stackedStyle: v,
1022
- desktopStyle: R
1034
+ desktopStyle: E
1023
1035
  }) {
1024
- return a === "never" ? R : v;
1036
+ return a === "never" ? E : v;
1025
1037
  }
1026
1038
  const [m, x] = T(
1027
1039
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
@@ -1036,7 +1048,7 @@ function Ut(e) {
1036
1048
  };
1037
1049
  }
1038
1050
  function p(v) {
1039
- const R = v === 0 ? 0 : t, W = c(v), y = `${R}px`, b = "100%", S = 0;
1051
+ const E = v === 0 ? 0 : t, W = c(v), y = `${E}px`, b = "100%", S = 0;
1040
1052
  return {
1041
1053
  ...{
1042
1054
  display: "flex",
@@ -1069,7 +1081,7 @@ function Ut(e) {
1069
1081
  ((y = (W = e.builderContext.content) == null ? void 0 : W.meta) == null ? void 0 : y.breakpoints) || {}
1070
1082
  )[v].max;
1071
1083
  }
1072
- function w() {
1084
+ function R() {
1073
1085
  const v = `.${e.builderBlock.id}-breakpoints > .builder-column`;
1074
1086
  return `
1075
1087
  @media (max-width: ${f("medium")}px) {
@@ -1097,40 +1109,40 @@ function Ut(e) {
1097
1109
  },
1098
1110
  `;
1099
1111
  }
1100
- function B(v, R) {
1112
+ function P(v, E) {
1101
1113
  return {
1102
1114
  ...v.link ? {
1103
1115
  href: v.link
1104
1116
  } : {},
1105
1117
  [q()]: "builder-column",
1106
- style: De(p(R))
1118
+ style: De(p(E))
1107
1119
  };
1108
1120
  }
1109
- return /* @__PURE__ */ V(E, { children: [
1121
+ return /* @__PURE__ */ V(I, { children: [
1110
1122
  /* @__PURE__ */ V(
1111
1123
  "div",
1112
1124
  {
1113
- className: Ot((A = e.builderBlock) == null ? void 0 : A.id) + " div-34f576bb",
1125
+ className: Ut((A = e.builderBlock) == null ? void 0 : A.id) + " div-34f576bb",
1114
1126
  style: h(),
1115
1127
  children: [
1116
1128
  /* @__PURE__ */ l(
1117
1129
  Z,
1118
1130
  {
1119
1131
  id: "builderio-columns",
1120
- styles: w(),
1132
+ styles: R(),
1121
1133
  nonce: e.builderContext.nonce
1122
1134
  }
1123
1135
  ),
1124
- (O = e.columns) == null ? void 0 : O.map((v, R) => /* @__PURE__ */ l(
1136
+ (O = e.columns) == null ? void 0 : O.map((v, E) => /* @__PURE__ */ l(
1125
1137
  ue,
1126
1138
  {
1127
1139
  TagName: s(v),
1128
1140
  actionAttributes: {},
1129
- attributes: B(v, R),
1141
+ attributes: P(v, E),
1130
1142
  children: /* @__PURE__ */ l(
1131
1143
  D,
1132
1144
  {
1133
- path: `component.options.columns.${R}.blocks`,
1145
+ path: `component.options.columns.${E}.blocks`,
1134
1146
  parent: e.builderBlock.id,
1135
1147
  styleProp: {
1136
1148
  flexGrow: "1"
@@ -1142,7 +1154,7 @@ function Ut(e) {
1142
1154
  }
1143
1155
  )
1144
1156
  },
1145
- R
1157
+ E
1146
1158
  ))
1147
1159
  ]
1148
1160
  }
@@ -1153,17 +1165,17 @@ function Ut(e) {
1153
1165
  }` })
1154
1166
  ] });
1155
1167
  }
1156
- function jt(e) {
1168
+ function Mt(e) {
1157
1169
  return /* @__PURE__ */ l("span", { children: e.children });
1158
1170
  }
1159
1171
  function ve(e) {
1160
1172
  return e.replace(/http(s)?:/, "");
1161
1173
  }
1162
- function Mt(e = "", t, n) {
1174
+ function Ht(e = "", t, n) {
1163
1175
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
1164
1176
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
1165
1177
  }
1166
- function Ht(e, t) {
1178
+ function Kt(e, t) {
1167
1179
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1168
1180
  return e;
1169
1181
  if (t === "master")
@@ -1182,11 +1194,11 @@ function te(e) {
1182
1194
  if (e.match(/builder\.io/)) {
1183
1195
  let n = e;
1184
1196
  const i = Number(e.split("?width=")[1]);
1185
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Mt(e, "width", o)} ${o}w`).concat([n]).join(", ");
1197
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Ht(e, "width", o)} ${o}w`).concat([n]).join(", ");
1186
1198
  }
1187
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ht(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1199
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Kt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1188
1200
  }
1189
- function Kt(e) {
1201
+ function qt(e) {
1190
1202
  var o, a, r, s, d, c;
1191
1203
  function t() {
1192
1204
  var m;
@@ -1218,9 +1230,9 @@ function Kt(e) {
1218
1230
  };
1219
1231
  return e.aspectRatio ? u : void 0;
1220
1232
  }
1221
- return P(() => {
1222
- }, []), /* @__PURE__ */ V(E, { children: [
1223
- /* @__PURE__ */ V(E, { children: [
1233
+ return B(() => {
1234
+ }, []), /* @__PURE__ */ V(I, { children: [
1235
+ /* @__PURE__ */ V(I, { children: [
1224
1236
  /* @__PURE__ */ V("picture", { children: [
1225
1237
  n() ? /* @__PURE__ */ l("source", { type: "image/webp", srcSet: n() }) : null,
1226
1238
  /* @__PURE__ */ l(
@@ -1251,7 +1263,7 @@ function Kt(e) {
1251
1263
  }
1252
1264
  }
1253
1265
  ) : null,
1254
- (s = (r = e.builderBlock) == null ? void 0 : r.children) != null && s.length && e.fitContent ? /* @__PURE__ */ l(E, { children: e.children }) : null,
1266
+ (s = (r = e.builderBlock) == null ? void 0 : r.children) != null && s.length && e.fitContent ? /* @__PURE__ */ l(I, { children: e.children }) : null,
1255
1267
  !e.fitContent && ((c = (d = e.builderBlock) == null ? void 0 : d.children) != null && c.length) ? /* @__PURE__ */ l("div", { className: "div-2d6925f2-2", children: e.children }) : null
1256
1268
  ] }),
1257
1269
  /* @__PURE__ */ l("style", { children: `.img-2d6925f2 {
@@ -1273,7 +1285,7 @@ function Kt(e) {
1273
1285
  }` })
1274
1286
  ] });
1275
1287
  }
1276
- function qt(e) {
1288
+ function _t(e) {
1277
1289
  return /* @__PURE__ */ l(
1278
1290
  "section",
1279
1291
  {
@@ -1354,7 +1366,7 @@ const ne = {
1354
1366
  }
1355
1367
  }
1356
1368
  }]
1357
- }, _t = {
1369
+ }, zt = {
1358
1370
  name: "Builder:Accordion",
1359
1371
  canHaveChildren: !0,
1360
1372
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1419,7 +1431,7 @@ const ne = {
1419
1431
  builderLinkComponent: !0
1420
1432
  }
1421
1433
  }, Se = (e) => e.toString();
1422
- function zt(e) {
1434
+ function Jt(e) {
1423
1435
  var g;
1424
1436
  const [t, n] = T(() => []);
1425
1437
  function i() {
@@ -1464,18 +1476,18 @@ function zt(e) {
1464
1476
  `.builder-accordion-title[data-index="${h}"]`
1465
1477
  );
1466
1478
  if (m = h, f) {
1467
- let w = f.getBoundingClientRect();
1479
+ let R = f.getBoundingClientRect();
1468
1480
  for (; f = f && f.nextElementSibling; )
1469
1481
  if (f) {
1470
1482
  if (f.classList.contains("builder-accordion-detail"))
1471
1483
  continue;
1472
- const B = f.getBoundingClientRect();
1473
- if (B.left > w.left) {
1484
+ const P = f.getBoundingClientRect();
1485
+ if (P.left > R.left) {
1474
1486
  const A = parseInt(
1475
1487
  f.getAttribute("data-index") || "",
1476
1488
  10
1477
1489
  );
1478
- isNaN(A) || (w = B, m = A);
1490
+ isNaN(A) || (R = P, m = A);
1479
1491
  } else
1480
1492
  break;
1481
1493
  }
@@ -1497,7 +1509,7 @@ function zt(e) {
1497
1509
  function u(m) {
1498
1510
  t.includes(m) ? n(i() ? [] : t.filter((x) => x !== m)) : n(i() ? [m] : t.concat(m));
1499
1511
  }
1500
- return /* @__PURE__ */ l("div", { className: "builder-accordion", style: o(), children: (g = e.items) == null ? void 0 : g.map((m, x) => /* @__PURE__ */ V(E, { children: [
1512
+ return /* @__PURE__ */ l("div", { className: "builder-accordion", style: o(), children: (g = e.items) == null ? void 0 : g.map((m, x) => /* @__PURE__ */ V(I, { children: [
1501
1513
  /* @__PURE__ */ l(
1502
1514
  "div",
1503
1515
  {
@@ -1542,7 +1554,7 @@ function zt(e) {
1542
1554
  ) : null
1543
1555
  ] })) });
1544
1556
  }
1545
- const Jt = {
1557
+ const Yt = {
1546
1558
  name: "Core:Button",
1547
1559
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1548
1560
  defaultStyles: {
@@ -1578,7 +1590,7 @@ const Jt = {
1578
1590
  shouldReceiveBuilderProps: {
1579
1591
  builderLinkComponent: !0
1580
1592
  }
1581
- }, Yt = {
1593
+ }, Gt = {
1582
1594
  // TODO: ways to statically preprocess JSON for references, functions, etc
1583
1595
  name: "Columns",
1584
1596
  isRSC: !0,
@@ -1785,13 +1797,13 @@ const Jt = {
1785
1797
  builderComponents: !0,
1786
1798
  builderLinkComponent: !0
1787
1799
  }
1788
- }, Gt = {
1800
+ }, Qt = {
1789
1801
  name: "Fragment",
1790
1802
  static: !0,
1791
1803
  hidden: !0,
1792
1804
  canHaveChildren: !0,
1793
1805
  noWrap: !0
1794
- }, Qt = {
1806
+ }, Xt = {
1795
1807
  name: "Image",
1796
1808
  static: !0,
1797
1809
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -1899,7 +1911,7 @@ const Jt = {
1899
1911
  shouldReceiveBuilderProps: {
1900
1912
  builderBlock: !0
1901
1913
  }
1902
- }, Xt = {
1914
+ }, Zt = {
1903
1915
  name: "Core:Section",
1904
1916
  static: !0,
1905
1917
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1938,7 +1950,7 @@ const Jt = {
1938
1950
  }
1939
1951
  }
1940
1952
  }]
1941
- }, Zt = {
1953
+ }, en = {
1942
1954
  name: "Slot",
1943
1955
  isRSC: !0,
1944
1956
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -1956,7 +1968,7 @@ const Jt = {
1956
1968
  builderComponents: !0
1957
1969
  }
1958
1970
  };
1959
- function en(e) {
1971
+ function tn(e) {
1960
1972
  var t, n, i;
1961
1973
  return /* @__PURE__ */ l(
1962
1974
  "div",
@@ -1980,7 +1992,7 @@ function en(e) {
1980
1992
  }
1981
1993
  );
1982
1994
  }
1983
- const tn = {
1995
+ const nn = {
1984
1996
  name: "Symbol",
1985
1997
  noWrap: !0,
1986
1998
  static: !0,
@@ -2057,7 +2069,7 @@ const tn = {
2057
2069
  text: "New tab content "
2058
2070
  }
2059
2071
  }
2060
- }, nn = {
2072
+ }, on = {
2061
2073
  name: "Builder: Tabs",
2062
2074
  inputs: [{
2063
2075
  name: "tabs",
@@ -2161,7 +2173,7 @@ const tn = {
2161
2173
  builderLinkComponent: !0
2162
2174
  }
2163
2175
  };
2164
- function on(e) {
2176
+ function an(e) {
2165
2177
  var a;
2166
2178
  const [t, n] = T(
2167
2179
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2220,7 +2232,7 @@ function on(e) {
2220
2232
  ) }) : null
2221
2233
  ] });
2222
2234
  }
2223
- const an = {
2235
+ const rn = {
2224
2236
  shouldReceiveBuilderProps: {
2225
2237
  builderBlock: !1,
2226
2238
  builderContext: !0
@@ -2243,7 +2255,7 @@ const an = {
2243
2255
  textAlign: "center"
2244
2256
  }
2245
2257
  };
2246
- function rn(e) {
2258
+ function ln(e) {
2247
2259
  function t() {
2248
2260
  var s;
2249
2261
  const n = e.builderContext, {
@@ -2275,7 +2287,7 @@ function rn(e) {
2275
2287
  }
2276
2288
  );
2277
2289
  }
2278
- const ln = {
2290
+ const sn = {
2279
2291
  name: "Custom Code",
2280
2292
  static: !0,
2281
2293
  requiredPermissions: ["editCode"],
@@ -2298,9 +2310,9 @@ const ln = {
2298
2310
  advanced: !0
2299
2311
  }]
2300
2312
  };
2301
- function sn(e) {
2313
+ function cn(e) {
2302
2314
  const t = _(null), [n, i] = T(() => []), [o, a] = T(() => []);
2303
- return P(() => {
2315
+ return B(() => {
2304
2316
  var s;
2305
2317
  if (!((s = t.current) != null && s.getElementsByTagName) || typeof window == "undefined")
2306
2318
  return;
@@ -2336,7 +2348,7 @@ function sn(e) {
2336
2348
  }
2337
2349
  );
2338
2350
  }
2339
- const cn = {
2351
+ const dn = {
2340
2352
  name: "Embed",
2341
2353
  static: !0,
2342
2354
  inputs: [{
@@ -2351,8 +2363,8 @@ const cn = {
2351
2363
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2352
2364
  hideFromUI: !0
2353
2365
  }]
2354
- }, dn = ["text/javascript", "application/javascript", "application/ecmascript"], un = (e) => dn.includes(e.type);
2355
- function mn(e) {
2366
+ }, un = ["text/javascript", "application/javascript", "application/ecmascript"], mn = (e) => un.includes(e.type);
2367
+ function fn(e) {
2356
2368
  const t = _(null), [n, i] = T(() => []), [o, a] = T(() => []), [r, s] = T(() => !1);
2357
2369
  function d() {
2358
2370
  if (!t.current || !t.current.getElementsByTagName)
@@ -2364,7 +2376,7 @@ function mn(e) {
2364
2376
  n.push(g.src);
2365
2377
  const m = document.createElement("script");
2366
2378
  m.async = !0, m.src = g.src, document.head.appendChild(m);
2367
- } else if (un(g) && !o.includes(g.innerText))
2379
+ } else if (mn(g) && !o.includes(g.innerText))
2368
2380
  try {
2369
2381
  o.push(g.innerText), new Function(g.innerText)();
2370
2382
  } catch (m) {
@@ -2372,7 +2384,7 @@ function mn(e) {
2372
2384
  }
2373
2385
  }
2374
2386
  }
2375
- return P(() => {
2387
+ return B(() => {
2376
2388
  t.current && !r && (s(!0), d());
2377
2389
  }, [t.current, r]), /* @__PURE__ */ l(
2378
2390
  "div",
@@ -2383,7 +2395,7 @@ function mn(e) {
2383
2395
  }
2384
2396
  );
2385
2397
  }
2386
- const fn = {
2398
+ const hn = {
2387
2399
  name: "Form:Form",
2388
2400
  // editableTags: ['builder-form-error']
2389
2401
  defaults: {
@@ -2620,14 +2632,14 @@ const fn = {
2620
2632
  builderComponents: !0,
2621
2633
  builderLinkComponent: !0
2622
2634
  }
2623
- }, hn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], gn = () => {
2635
+ }, gn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], bn = () => {
2624
2636
  const e = process.env.NODE_ENV || "production";
2625
- return hn.includes(e) ? e : "production";
2626
- }, bn = (e, t, n) => {
2637
+ return gn.includes(e) ? e : "production";
2638
+ }, pn = (e, t, n) => {
2627
2639
  const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
2628
2640
  return i === void 0 || i === e ? n : i;
2629
2641
  };
2630
- function pn(e) {
2642
+ function yn(e) {
2631
2643
  var g, m;
2632
2644
  const t = _(null), [n, i] = T(() => "unsubmitted"), [o, a] = T(() => null), [r, s] = T(() => "");
2633
2645
  function d(x) {
@@ -2652,8 +2664,8 @@ function pn(e) {
2652
2664
  return;
2653
2665
  }
2654
2666
  x.preventDefault();
2655
- const f = x.currentTarget || x.target, w = e.customHeaders || {};
2656
- let B;
2667
+ const f = x.currentTarget || x.target, R = e.customHeaders || {};
2668
+ let P;
2657
2669
  const A = new FormData(f), O = Array.from(f.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).map((y) => {
2658
2670
  let b;
2659
2671
  const S = y.name;
@@ -2682,30 +2694,30 @@ function pn(e) {
2682
2694
  if (e.sendSubmissionsTo === "email" && (v = "multipart/form-data"), Array.from(O).forEach(({ value: y }) => {
2683
2695
  (y instanceof File || Array.isArray(y) && y[0] instanceof File || y instanceof FileList) && (v = "multipart/form-data");
2684
2696
  }), v !== "application/json")
2685
- B = A;
2697
+ P = A;
2686
2698
  else {
2687
2699
  const y = {};
2688
2700
  Array.from(O).forEach(({ value: b, key: S }) => {
2689
- Pe(y, S, b);
2690
- }), B = JSON.stringify(y);
2701
+ Be(y, S, b);
2702
+ }), P = JSON.stringify(y);
2691
2703
  }
2692
- v && v !== "multipart/form-data" && (h && ((p = e.action) != null && p.includes("zapier.com")) || (w["content-type"] = v));
2693
- const R = new CustomEvent("presubmit", { detail: { body: B } });
2694
- if (t.current && (t.current.dispatchEvent(R), R.defaultPrevented))
2704
+ v && v !== "multipart/form-data" && (h && ((p = e.action) != null && p.includes("zapier.com")) || (R["content-type"] = v));
2705
+ const E = new CustomEvent("presubmit", { detail: { body: P } });
2706
+ if (t.current && (t.current.dispatchEvent(E), E.defaultPrevented))
2695
2707
  return;
2696
2708
  i("sending");
2697
- const W = `${gn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2709
+ const W = `${bn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2698
2710
  e.sendSubmissionsToEmail || ""
2699
2711
  )}&name=${encodeURIComponent(e.name || "")}`;
2700
2712
  fetch(
2701
2713
  e.sendSubmissionsTo === "email" ? W : e.action,
2702
- { body: B, headers: w, method: e.method || "post" }
2714
+ { body: P, headers: R, method: e.method || "post" }
2703
2715
  ).then(
2704
2716
  async (y) => {
2705
2717
  let b;
2706
2718
  const S = y.headers.get("content-type");
2707
2719
  if (S && S.indexOf("application/json") !== -1 ? b = await y.json() : b = await y.text(), !y.ok && e.errorMessagePath) {
2708
- let k = bn(b, e.errorMessagePath);
2720
+ let k = pn(b, e.errorMessagePath);
2709
2721
  k && (typeof k != "string" && (k = JSON.stringify(k)), s(k), d({ formErrorMessage: k }));
2710
2722
  }
2711
2723
  if (a(b), i(y.ok ? "success" : "error"), y.ok) {
@@ -2736,7 +2748,7 @@ function pn(e) {
2736
2748
  );
2737
2749
  }
2738
2750
  }
2739
- return /* @__PURE__ */ V(E, { children: [
2751
+ return /* @__PURE__ */ V(I, { children: [
2740
2752
  " ",
2741
2753
  /* @__PURE__ */ V(
2742
2754
  "form",
@@ -2749,7 +2761,7 @@ function pn(e) {
2749
2761
  onSubmit: (x) => u(x),
2750
2762
  ...e.attributes,
2751
2763
  children: [
2752
- e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ l(E, { children: (m = (g = e.builderBlock) == null ? void 0 : g.children) == null ? void 0 : m.map((x, h) => /* @__PURE__ */ l(
2764
+ e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ l(I, { children: (m = (g = e.builderBlock) == null ? void 0 : g.children) == null ? void 0 : m.map((x, h) => /* @__PURE__ */ l(
2753
2765
  z,
2754
2766
  {
2755
2767
  block: x,
@@ -2792,7 +2804,7 @@ function pn(e) {
2792
2804
  " "
2793
2805
  ] });
2794
2806
  }
2795
- const yn = {
2807
+ const xn = {
2796
2808
  name: "Form:Input",
2797
2809
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
2798
2810
  inputs: [
@@ -2844,8 +2856,8 @@ const yn = {
2844
2856
  borderColor: "#ccc"
2845
2857
  }
2846
2858
  };
2847
- function xn(e) {
2848
- return /* @__PURE__ */ Be(
2859
+ function vn(e) {
2860
+ return /* @__PURE__ */ Pe(
2849
2861
  "input",
2850
2862
  {
2851
2863
  ...e.attributes,
@@ -2859,7 +2871,7 @@ function xn(e) {
2859
2871
  }
2860
2872
  );
2861
2873
  }
2862
- const vn = {
2874
+ const Sn = {
2863
2875
  name: "Form:Select",
2864
2876
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
2865
2877
  defaultStyles: {
@@ -2902,9 +2914,9 @@ const vn = {
2902
2914
  static: !0,
2903
2915
  noWrap: !0
2904
2916
  };
2905
- function Sn(e) {
2917
+ function kn(e) {
2906
2918
  var t;
2907
- return /* @__PURE__ */ Be(
2919
+ return /* @__PURE__ */ Pe(
2908
2920
  "select",
2909
2921
  {
2910
2922
  ...e.attributes,
@@ -2917,7 +2929,7 @@ function Sn(e) {
2917
2929
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ l("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
2918
2930
  );
2919
2931
  }
2920
- const kn = {
2932
+ const Cn = {
2921
2933
  name: "Form:SubmitButton",
2922
2934
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
2923
2935
  defaultStyles: {
@@ -2943,10 +2955,10 @@ const kn = {
2943
2955
  // TODO: defaultChildren
2944
2956
  // canHaveChildren: true,
2945
2957
  };
2946
- function Cn(e) {
2958
+ function Tn(e) {
2947
2959
  return /* @__PURE__ */ l("button", { type: "submit", ...e.attributes, children: e.text });
2948
2960
  }
2949
- const Tn = {
2961
+ const In = {
2950
2962
  name: "Form:TextArea",
2951
2963
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
2952
2964
  inputs: [{
@@ -2983,7 +2995,7 @@ const Tn = {
2983
2995
  static: !0,
2984
2996
  noWrap: !0
2985
2997
  };
2986
- function In(e) {
2998
+ function wn(e) {
2987
2999
  return /* @__PURE__ */ l(
2988
3000
  "textarea",
2989
3001
  {
@@ -2996,7 +3008,7 @@ function In(e) {
2996
3008
  }
2997
3009
  );
2998
3010
  }
2999
- const wn = {
3011
+ const Rn = {
3000
3012
  // friendlyName?
3001
3013
  name: "Raw:Img",
3002
3014
  hideFromInsertMenu: !0,
@@ -3011,7 +3023,7 @@ const wn = {
3011
3023
  noWrap: !0,
3012
3024
  static: !0
3013
3025
  };
3014
- function Rn(e) {
3026
+ function En(e) {
3015
3027
  return /* @__PURE__ */ l(
3016
3028
  "img",
3017
3029
  {
@@ -3026,7 +3038,7 @@ function Rn(e) {
3026
3038
  $() && e.imgSrc || "default-key"
3027
3039
  );
3028
3040
  }
3029
- const En = {
3041
+ const Pn = {
3030
3042
  name: "Video",
3031
3043
  canHaveChildren: !0,
3032
3044
  defaultStyles: {
@@ -3212,64 +3224,64 @@ function Bn(e) {
3212
3224
  }
3213
3225
  );
3214
3226
  }
3215
- const Pn = () => [{
3216
- component: sn,
3217
- ...ln
3227
+ const Vn = () => [{
3228
+ component: cn,
3229
+ ...sn
3218
3230
  }, {
3219
- component: mn,
3220
- ...cn
3231
+ component: fn,
3232
+ ...dn
3221
3233
  }, {
3222
- component: pn,
3223
- ...fn
3234
+ component: yn,
3235
+ ...hn
3224
3236
  }, {
3225
- component: xn,
3226
- ...yn
3237
+ component: vn,
3238
+ ...xn
3227
3239
  }, {
3228
- component: Cn,
3229
- ...kn
3240
+ component: Tn,
3241
+ ...Cn
3230
3242
  }, {
3231
- component: Sn,
3232
- ...vn
3243
+ component: kn,
3244
+ ...Sn
3233
3245
  }, {
3234
- component: In,
3235
- ...Tn
3246
+ component: wn,
3247
+ ...In
3236
3248
  }, {
3237
- component: Rn,
3238
- ...wn
3249
+ component: En,
3250
+ ...Rn
3239
3251
  }, {
3240
3252
  component: Bn,
3241
- ...En
3253
+ ...Pn
3242
3254
  }], ke = () => [{
3243
3255
  component: rt,
3244
- ...Jt
3245
- }, {
3246
- component: Ut,
3247
3256
  ...Yt
3248
3257
  }, {
3249
3258
  component: jt,
3250
3259
  ...Gt
3251
3260
  }, {
3252
- component: Kt,
3261
+ component: Mt,
3253
3262
  ...Qt
3254
3263
  }, {
3255
3264
  component: qt,
3256
3265
  ...Xt
3257
3266
  }, {
3258
- component: en,
3267
+ component: _t,
3259
3268
  ...Zt
3260
3269
  }, {
3261
- component: Zn,
3262
- ...tn
3263
- }, {
3264
- component: rn,
3265
- ...an
3270
+ component: tn,
3271
+ ...en
3266
3272
  }, {
3267
- component: on,
3273
+ component: ei,
3268
3274
  ...nn
3269
3275
  }, {
3270
- component: zt,
3271
- ..._t
3272
- }, ...Pn()], Vn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3276
+ component: ln,
3277
+ ...rn
3278
+ }, {
3279
+ component: an,
3280
+ ...on
3281
+ }, {
3282
+ component: Jt,
3283
+ ...zt
3284
+ }, ...Vn()], An = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3273
3285
  function getAndSetVariantId() {
3274
3286
  function setCookie(name, value, days) {
3275
3287
  let expires = '';
@@ -3325,7 +3337,7 @@ const Pn = () => [{
3325
3337
  }).join('');
3326
3338
  styleEl.innerHTML = newStyleStr;
3327
3339
  }
3328
- }`, An = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3340
+ }`, Wn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3329
3341
  if (!navigator.cookieEnabled) {
3330
3342
  return;
3331
3343
  }
@@ -3363,16 +3375,16 @@ const Pn = () => [{
3363
3375
  ...t,
3364
3376
  testVariationId: t.id,
3365
3377
  id: e == null ? void 0 : e.id
3366
- })), Wn = ({
3378
+ })), Fn = ({
3367
3379
  canTrack: e,
3368
3380
  content: t
3369
- }) => !(!(Y(t).length > 0) || !e || G()), Fn = (e) => e === "react" || e === "reactNative", He = Fn(U), Nn = () => `
3370
- window.${je} = ${Vn}
3371
- window.${Me} = ${An}
3372
- `, $n = (e, t) => `
3381
+ }) => !(!(Y(t).length > 0) || !e || G()), Nn = (e) => e === "react" || e === "reactNative", He = Nn(U), $n = () => `
3382
+ window.${je} = ${An}
3383
+ window.${Me} = ${Wn}
3384
+ `, Dn = (e, t) => `
3373
3385
  window.${je}(
3374
3386
  "${t}",${JSON.stringify(e)}, ${He}
3375
- )`, Dn = ({
3387
+ )`, Ln = ({
3376
3388
  contentId: e,
3377
3389
  variationId: t
3378
3390
  }) => `window.${Me}(
@@ -3391,7 +3403,7 @@ function se(e) {
3391
3403
  function Ce(e) {
3392
3404
  return Math.round(e * 1e3) / 1e3;
3393
3405
  }
3394
- const Ln = (e, t, n = !0) => {
3406
+ const On = (e, t, n = !0) => {
3395
3407
  if (!(e instanceof HTMLElement))
3396
3408
  return null;
3397
3409
  let i = n ? e : e.parentElement;
@@ -3402,7 +3414,7 @@ const Ln = (e, t, n = !0) => {
3402
3414
  return i;
3403
3415
  } while (i = i.parentElement);
3404
3416
  return null;
3405
- }, On = (e) => Ln(e, (t) => {
3417
+ }, Un = (e) => On(e, (t) => {
3406
3418
  const n = t.getAttribute("builder-id") || t.id;
3407
3419
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3408
3420
  }), Te = ({
@@ -3414,8 +3426,8 @@ const Ln = (e, t, n = !0) => {
3414
3426
  x: a,
3415
3427
  y: r
3416
3428
  };
3417
- }, Un = (e) => {
3418
- const t = e.target, n = t && On(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3429
+ }, jn = (e) => {
3430
+ const t = e.target, n = t && Un(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3419
3431
  return {
3420
3432
  targetBuilderElement: i || void 0,
3421
3433
  metadata: {
@@ -3430,7 +3442,7 @@ const Ln = (e, t, n = !0) => {
3430
3442
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
3431
3443
  }
3432
3444
  };
3433
- }, jn = (e) => {
3445
+ }, Mn = (e) => {
3434
3446
  var a, r;
3435
3447
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
3436
3448
  let o = "";
@@ -3456,15 +3468,15 @@ font-weight: ${s};
3456
3468
  `.trim());
3457
3469
  }
3458
3470
  return o;
3459
- }, Mn = ({
3471
+ }, Hn = ({
3460
3472
  customFonts: e
3461
3473
  }) => {
3462
3474
  var t;
3463
- return ((t = e == null ? void 0 : e.map((n) => jn(n))) == null ? void 0 : t.join(" ")) || "";
3464
- }, Hn = ({
3475
+ return ((t = e == null ? void 0 : e.map((n) => Mn(n))) == null ? void 0 : t.join(" ")) || "";
3476
+ }, Kn = ({
3465
3477
  cssCode: e,
3466
3478
  contentId: t
3467
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Kn = `
3479
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", qn = `
3468
3480
  .builder-button {
3469
3481
  all: unset;
3470
3482
  }
@@ -3481,9 +3493,9 @@ font-weight: ${s};
3481
3493
  text-align: inherit;
3482
3494
  font-family: inherit;
3483
3495
  }
3484
- `, qn = (e) => e ? "" : Kn, _n = (e) => `variant-${e}`;
3485
- function zn(e) {
3486
- var B, A, O, v, R, W, y;
3496
+ `, _n = (e) => e ? "" : qn, zn = (e) => `variant-${e}`;
3497
+ function Jn(e) {
3498
+ var P, A, O, v, E, W, y;
3487
3499
  const t = _(null);
3488
3500
  function n(b) {
3489
3501
  var k, C;
@@ -3491,13 +3503,13 @@ function zn(e) {
3491
3503
  ...e.builderContextSignal.rootState,
3492
3504
  ...b
3493
3505
  };
3494
- e.builderContextSignal.rootSetState ? (C = (k = e.builderContextSignal).rootSetState) == null || C.call(k, S) : e.setBuilderContextSignal((I) => ({
3495
- ...I,
3506
+ e.builderContextSignal.rootSetState ? (C = (k = e.builderContextSignal).rootSetState) == null || C.call(k, S) : e.setBuilderContextSignal((w) => ({
3507
+ ...w,
3496
3508
  rootState: S
3497
3509
  }));
3498
3510
  }
3499
3511
  function i(b) {
3500
- var k, C, I, F, j;
3512
+ var k, C, w, F, j;
3501
3513
  const S = {
3502
3514
  ...e.builderContextSignal.content,
3503
3515
  ...b,
@@ -3508,7 +3520,7 @@ function zn(e) {
3508
3520
  meta: {
3509
3521
  ...(C = e.builderContextSignal.content) == null ? void 0 : C.meta,
3510
3522
  ...b == null ? void 0 : b.meta,
3511
- breakpoints: ((I = b == null ? void 0 : b.meta) == null ? void 0 : I.breakpoints) || ((j = (F = e.builderContextSignal.content) == null ? void 0 : F.meta) == null ? void 0 : j.breakpoints)
3523
+ breakpoints: ((w = b == null ? void 0 : b.meta) == null ? void 0 : w.breakpoints) || ((j = (F = e.builderContextSignal.content) == null ? void 0 : F.meta) == null ? void 0 : j.breakpoints)
3512
3524
  }
3513
3525
  };
3514
3526
  e.setBuilderContextSignal((N) => ({
@@ -3531,9 +3543,9 @@ function zn(e) {
3531
3543
  trustedHosts: e.trustedHosts,
3532
3544
  callbacks: {
3533
3545
  configureSdk: (S) => {
3534
- var I;
3546
+ var w;
3535
3547
  const { breakpoints: k, contentId: C } = S;
3536
- !C || C !== ((I = e.builderContextSignal.content) == null ? void 0 : I.id) || k && i({
3548
+ !C || C !== ((w = e.builderContextSignal.content) == null ? void 0 : w.id) || k && i({
3537
3549
  meta: {
3538
3550
  breakpoints: k
3539
3551
  }
@@ -3567,14 +3579,14 @@ function zn(e) {
3567
3579
  function p(b) {
3568
3580
  var S, k;
3569
3581
  if (e.builderContextSignal.content) {
3570
- const C = (S = e.builderContextSignal.content) == null ? void 0 : S.testVariationId, I = (k = e.builderContextSignal.content) == null ? void 0 : k.id;
3582
+ const C = (S = e.builderContextSignal.content) == null ? void 0 : S.testVariationId, w = (k = e.builderContextSignal.content) == null ? void 0 : k.id;
3571
3583
  he({
3572
3584
  type: "click",
3573
3585
  canTrack: Q(e.canTrack),
3574
- contentId: I,
3586
+ contentId: w,
3575
3587
  apiKey: e.apiKey,
3576
- variationId: C !== I ? C : void 0,
3577
- ...Un(b),
3588
+ variationId: C !== w ? C : void 0,
3589
+ ...jn(b),
3578
3590
  unique: !x
3579
3591
  });
3580
3592
  }
@@ -3583,10 +3595,10 @@ function zn(e) {
3583
3595
  function f() {
3584
3596
  var S, k, C;
3585
3597
  const b = (C = (k = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : k.httpRequests) != null ? C : {};
3586
- Object.entries(b).forEach(([I, F]) => {
3587
- if (!F || g[I] || c[I] && !$())
3598
+ Object.entries(b).forEach(([w, F]) => {
3599
+ if (!F || g[w] || c[w] && !$())
3588
3600
  return;
3589
- g[I] = !0;
3601
+ g[w] = !0;
3590
3602
  const j = F.replace(
3591
3603
  /{{([^}]+)}}/g,
3592
3604
  (N, Ke) => String(
@@ -3602,16 +3614,16 @@ function zn(e) {
3602
3614
  );
3603
3615
  Qe(j).then((N) => N.json()).then((N) => {
3604
3616
  n({
3605
- [I]: N
3606
- }), c[I] = !0;
3617
+ [w]: N
3618
+ }), c[w] = !0;
3607
3619
  }).catch((N) => {
3608
3620
  console.error("error fetching dynamic data", F, N);
3609
3621
  }).finally(() => {
3610
- g[I] = !1;
3622
+ g[w] = !1;
3611
3623
  });
3612
3624
  });
3613
3625
  }
3614
- function w() {
3626
+ function R() {
3615
3627
  $() && window.dispatchEvent(
3616
3628
  new CustomEvent(
3617
3629
  "builder:component:stateChange",
@@ -3626,7 +3638,7 @@ function zn(e) {
3626
3638
  )
3627
3639
  );
3628
3640
  }
3629
- return P(() => {
3641
+ return B(() => {
3630
3642
  var b, S;
3631
3643
  if (G()) {
3632
3644
  if ($() && (window.addEventListener("message", s), ze(), Je({
@@ -3643,26 +3655,26 @@ function zn(e) {
3643
3655
  e.builderContextSignal.componentInfos
3644
3656
  ).forEach((C) => {
3645
3657
  var F;
3646
- const I = Ye(C);
3647
- (F = window.parent) == null || F.postMessage(I, "*");
3658
+ const w = Ye(C);
3659
+ (F = window.parent) == null || F.postMessage(w, "*");
3648
3660
  }), window.addEventListener(
3649
3661
  "builder:component:stateChangeListenerActivated",
3650
- w
3662
+ R
3651
3663
  )), e.builderContextSignal.content && Q(e.canTrack)) {
3652
- const C = (b = e.builderContextSignal.content) == null ? void 0 : b.testVariationId, I = (S = e.builderContextSignal.content) == null ? void 0 : S.id, F = e.apiKey;
3664
+ const C = (b = e.builderContextSignal.content) == null ? void 0 : b.testVariationId, w = (S = e.builderContextSignal.content) == null ? void 0 : S.id, F = e.apiKey;
3653
3665
  he({
3654
3666
  type: "impression",
3655
3667
  canTrack: !0,
3656
- contentId: I,
3668
+ contentId: w,
3657
3669
  apiKey: F,
3658
- variationId: C !== I ? C : void 0
3670
+ variationId: C !== w ? C : void 0
3659
3671
  });
3660
3672
  }
3661
3673
  if (we() && !$()) {
3662
- const C = new URL(location.href).searchParams, I = C.get("builder.preview"), F = C.get(
3663
- `builder.overrides.${I}`
3674
+ const C = new URL(location.href).searchParams, w = C.get("builder.preview"), F = C.get(
3675
+ `builder.overrides.${w}`
3664
3676
  ), j = C.get("apiKey") || C.get("builder.space");
3665
- I === e.model && j === e.apiKey && (!e.content || F === e.content.id) && Re({
3677
+ w === e.model && j === e.apiKey && (!e.content || F === e.content.id) && Re({
3666
3678
  model: e.model,
3667
3679
  apiKey: e.apiKey,
3668
3680
  apiVersion: e.builderContextSignal.apiVersion
@@ -3671,56 +3683,56 @@ function zn(e) {
3671
3683
  });
3672
3684
  }
3673
3685
  }
3674
- }, []), P(() => {
3686
+ }, []), B(() => {
3675
3687
  e.apiKey || ce.error(
3676
3688
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
3677
- ), d(), f(), w();
3678
- }, []), P(() => {
3689
+ ), d(), f(), R();
3690
+ }, []), B(() => {
3679
3691
  e.content && i(e.content);
3680
- }, [e.content]), P(() => {
3692
+ }, [e.content]), B(() => {
3681
3693
  d();
3682
- }, [(A = (B = e.builderContextSignal.content) == null ? void 0 : B.data) == null ? void 0 : A.jsCode]), P(() => {
3694
+ }, [(A = (P = e.builderContextSignal.content) == null ? void 0 : P.data) == null ? void 0 : A.jsCode]), B(() => {
3683
3695
  f();
3684
- }, [(v = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : v.httpRequests]), P(() => {
3685
- w();
3686
- }, [e.builderContextSignal.rootState]), P(() => {
3696
+ }, [(v = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : v.httpRequests]), B(() => {
3697
+ R();
3698
+ }, [e.builderContextSignal.rootState]), B(() => {
3687
3699
  e.data && n(e.data);
3688
- }, [e.data]), P(() => {
3700
+ }, [e.data]), B(() => {
3689
3701
  e.locale && n({
3690
3702
  locale: e.locale
3691
3703
  });
3692
- }, [e.locale]), P(() => () => {
3704
+ }, [e.locale]), B(() => () => {
3693
3705
  G() && (window.removeEventListener("message", s), window.removeEventListener(
3694
3706
  "builder:component:stateChangeListenerActivated",
3695
- w
3707
+ R
3696
3708
  ));
3697
3709
  }, []), /* @__PURE__ */ l(me.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(
3698
3710
  a,
3699
3711
  {
3700
3712
  ref: t,
3701
3713
  onClick: (b) => p(b),
3702
- "builder-content-id": (R = e.builderContextSignal.content) == null ? void 0 : R.id,
3714
+ "builder-content-id": (E = e.builderContextSignal.content) == null ? void 0 : E.id,
3703
3715
  "builder-model": e.model,
3704
3716
  ...o(),
3705
3717
  ...e.contentWrapperProps,
3706
- className: _n(
3718
+ className: zn(
3707
3719
  ((W = e.content) == null ? void 0 : W.testVariationId) || ((y = e.content) == null ? void 0 : y.id)
3708
3720
  ),
3709
3721
  children: e.children
3710
3722
  }
3711
3723
  ) : null });
3712
3724
  }
3713
- function Jn(e) {
3725
+ function Yn(e) {
3714
3726
  const [t, n] = T(
3715
3727
  () => `
3716
- ${Hn({
3728
+ ${Kn({
3717
3729
  cssCode: e.cssCode,
3718
3730
  contentId: e.contentId
3719
3731
  })}
3720
- ${Mn({
3732
+ ${Hn({
3721
3733
  customFonts: e.customFonts
3722
3734
  })}
3723
- ${qn(e.isNestedRender)}
3735
+ ${_n(e.isNestedRender)}
3724
3736
  `.trim()
3725
3737
  );
3726
3738
  return /* @__PURE__ */ l(
@@ -3732,7 +3744,7 @@ ${qn(e.isNestedRender)}
3732
3744
  }
3733
3745
  );
3734
3746
  }
3735
- const Yn = ({
3747
+ const Gn = ({
3736
3748
  content: e,
3737
3749
  data: t,
3738
3750
  locale: n
@@ -3749,7 +3761,7 @@ const Yn = ({
3749
3761
  locale: n
3750
3762
  } : {}
3751
3763
  };
3752
- }, Gn = ({
3764
+ }, Qn = ({
3753
3765
  content: e,
3754
3766
  data: t
3755
3767
  }) => e ? {
@@ -3765,7 +3777,7 @@ function Ie(e) {
3765
3777
  const [t, n] = T(
3766
3778
  () => {
3767
3779
  var p, f;
3768
- return Dn({
3780
+ return Ln({
3769
3781
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3770
3782
  variationId: (p = e.content) == null ? void 0 : p.testVariationId,
3771
3783
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -3786,11 +3798,11 @@ function Ie(e) {
3786
3798
  ...ke(),
3787
3799
  ...((p = e.customComponents) == null ? void 0 : p.filter(({ models: f }) => !(f != null && f.length) || !e.model ? !0 : f.includes(e.model))) || []
3788
3800
  ].reduce(
3789
- (f, { component: w, ...B }) => ({
3801
+ (f, { component: R, ...P }) => ({
3790
3802
  ...f,
3791
- [B.name]: {
3792
- component: w,
3793
- ...ge(B)
3803
+ [P.name]: {
3804
+ component: R,
3805
+ ...ge(P)
3794
3806
  }
3795
3807
  }),
3796
3808
  {}
@@ -3799,12 +3811,12 @@ function Ie(e) {
3799
3811
  ), [r, s] = T(() => {
3800
3812
  var p;
3801
3813
  return {
3802
- content: Gn({
3814
+ content: Qn({
3803
3815
  content: e.content,
3804
3816
  data: e.data
3805
3817
  }),
3806
3818
  localState: void 0,
3807
- rootState: Yn({
3819
+ rootState: Gn({
3808
3820
  content: e.content,
3809
3821
  data: e.data,
3810
3822
  locale: e.locale
@@ -3818,9 +3830,9 @@ function Ie(e) {
3818
3830
  ...ke(),
3819
3831
  ...((p = e.customComponents) == null ? void 0 : p.filter(({ models: f }) => !(f != null && f.length) || !e.model ? !0 : f.includes(e.model))) || []
3820
3832
  ].reduce(
3821
- (f, { component: w, ...B }) => ({
3833
+ (f, { component: R, ...P }) => ({
3822
3834
  ...f,
3823
- [B.name]: ge(B)
3835
+ [P.name]: ge(P)
3824
3836
  }),
3825
3837
  {}
3826
3838
  ),
@@ -3837,7 +3849,7 @@ function Ie(e) {
3837
3849
  registeredComponents: o
3838
3850
  },
3839
3851
  children: /* @__PURE__ */ V(
3840
- zn,
3852
+ Jn,
3841
3853
  {
3842
3854
  nonce: e.nonce,
3843
3855
  content: e.content,
@@ -3864,7 +3876,7 @@ function Ie(e) {
3864
3876
  }
3865
3877
  ) : null,
3866
3878
  /* @__PURE__ */ l(
3867
- Jn,
3879
+ Yn,
3868
3880
  {
3869
3881
  nonce: e.nonce || "",
3870
3882
  isNestedRender: e.isNestedRender,
@@ -3888,17 +3900,17 @@ function Ie(e) {
3888
3900
  }
3889
3901
  );
3890
3902
  }
3891
- function Qn(e) {
3903
+ function Xn(e) {
3892
3904
  var r;
3893
3905
  const [t, n] = T(
3894
- () => Wn({
3906
+ () => Fn({
3895
3907
  canTrack: Q(e.canTrack),
3896
3908
  content: e.content
3897
3909
  })
3898
3910
  );
3899
3911
  function i() {
3900
3912
  var s;
3901
- return $n(
3913
+ return Dn(
3902
3914
  Y(e.content).map((d) => ({
3903
3915
  id: d.testVariationId,
3904
3916
  testRatio: d.testRatio
@@ -3919,17 +3931,17 @@ function Qn(e) {
3919
3931
  canTrack: Q(e.canTrack)
3920
3932
  });
3921
3933
  }
3922
- return P(() => {
3923
- }, []), /* @__PURE__ */ V(E, { children: [
3934
+ return B(() => {
3935
+ }, []), /* @__PURE__ */ V(I, { children: [
3924
3936
  !e.isNestedRender && U !== "reactNative" ? /* @__PURE__ */ l(
3925
3937
  se,
3926
3938
  {
3927
3939
  id: "builderio-init-variants-fns",
3928
- scriptStr: Nn(),
3940
+ scriptStr: $n(),
3929
3941
  nonce: e.nonce || ""
3930
3942
  }
3931
3943
  ) : null,
3932
- t ? /* @__PURE__ */ V(E, { children: [
3944
+ t ? /* @__PURE__ */ V(I, { children: [
3933
3945
  /* @__PURE__ */ l(
3934
3946
  Z,
3935
3947
  {
@@ -4000,7 +4012,7 @@ function Qn(e) {
4000
4012
  )
4001
4013
  ] });
4002
4014
  }
4003
- const Xn = async ({
4015
+ const Zn = async ({
4004
4016
  builderContextValue: e,
4005
4017
  symbol: t
4006
4018
  }) => {
@@ -4019,7 +4031,7 @@ const Xn = async ({
4019
4031
  ce.error("Could not fetch symbol content: ", n);
4020
4032
  });
4021
4033
  };
4022
- function Zn(e) {
4034
+ function ei(e) {
4023
4035
  var s, d, c, u;
4024
4036
  function t() {
4025
4037
  return "div";
@@ -4041,18 +4053,18 @@ function Zn(e) {
4041
4053
  return (g = e.symbol) == null ? void 0 : g.content;
4042
4054
  });
4043
4055
  function r() {
4044
- o || Xn({
4056
+ o || Zn({
4045
4057
  symbol: e.symbol,
4046
4058
  builderContextValue: e.builderContext
4047
4059
  }).then((g) => {
4048
4060
  g && a(g);
4049
4061
  });
4050
4062
  }
4051
- return P(() => {
4052
- }, []), P(() => {
4063
+ return B(() => {
4064
+ }, []), B(() => {
4053
4065
  r();
4054
4066
  }, [e.symbol]), /* @__PURE__ */ l("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ l(
4055
- Qn,
4067
+ Xn,
4056
4068
  {
4057
4069
  nonce: e.builderContext.nonce,
4058
4070
  isNestedRender: !0,
@@ -4081,12 +4093,12 @@ export {
4081
4093
  D as Blocks,
4082
4094
  me as BuilderContext,
4083
4095
  rt as Button,
4084
- Ut as Columns,
4085
- Qn as Content,
4086
- jt as Fragment,
4087
- Kt as Image,
4088
- qt as Section,
4089
- Zn as Symbol,
4090
- rn as Text,
4096
+ jt as Columns,
4097
+ Xn as Content,
4098
+ Mt as Fragment,
4099
+ qt as Image,
4100
+ _t as Section,
4101
+ ei as Symbol,
4102
+ ln as Text,
4091
4103
  Bn as Video
4092
4104
  };