@builder.io/sdk-react 2.0.3 → 2.0.5

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 +12 -12
  2. package/lib/browser/blocks-exports.mjs +185 -164
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/init.cjs +1 -1
  6. package/lib/browser/init.mjs +1 -1
  7. package/lib/{node/server-entry-0687830a.js → browser/server-entry-0c6c220c.js} +1 -1
  8. package/lib/browser/{server-entry-02cecfb7.cjs → server-entry-7e145817.cjs} +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-368a2cf8.cjs → accordion-72dab8ce.cjs} +1 -1
  12. package/lib/edge/{accordion-0eca9b08.js → accordion-99129d68.js} +1 -1
  13. package/lib/edge/blocks-426e0c44.js +808 -0
  14. package/lib/edge/blocks-53ae1b87.cjs +12 -0
  15. package/lib/edge/blocks-exports.cjs +1 -1
  16. package/lib/edge/blocks-exports.mjs +2 -2
  17. package/lib/edge/{button-e852700f.js → button-778062cd.js} +2 -2
  18. package/lib/edge/{button-3ed29654.cjs → button-967d0268.cjs} +1 -1
  19. package/lib/edge/{columns-ee464f6c.js → columns-3a8c4d3f.js} +10 -9
  20. package/lib/edge/columns-3b921658.cjs +28 -0
  21. package/lib/edge/{content-variants-c0257a99.js → content-variants-15d191de.js} +15 -13
  22. package/lib/edge/content-variants-4b8718f8.cjs +134 -0
  23. package/lib/edge/evaluate-26c0fdb7.js +2615 -0
  24. package/lib/edge/evaluate-c0eeb4f8.cjs +21 -0
  25. package/lib/edge/form-9d9dce5d.cjs +1 -0
  26. package/lib/edge/{form-8191004e.js → form-ccb0b912.js} +8 -7
  27. package/lib/edge/{get-class-prop-name-d18337d2.js → get-class-prop-name-0a91c3bd.js} +1 -1
  28. package/lib/edge/{get-class-prop-name-5fc98fcc.cjs → get-class-prop-name-eae60eae.cjs} +1 -1
  29. package/lib/edge/{image-e3fcd611.js → image-6a074aab.js} +27 -25
  30. package/lib/edge/image-eebfcbac.cjs +17 -0
  31. package/lib/edge/{img-10ef20a5.cjs → img-183de27d.cjs} +1 -1
  32. package/lib/edge/{img-a24ed75f.js → img-75751c89.js} +1 -1
  33. package/lib/edge/index.cjs +1 -1
  34. package/lib/edge/index.mjs +1 -1
  35. package/lib/edge/init.cjs +1 -1
  36. package/lib/edge/init.mjs +1 -1
  37. package/lib/edge/{input-3876429d.js → input-27972020.js} +1 -1
  38. package/lib/edge/{input-6325bfc0.cjs → input-fd18a67d.cjs} +1 -1
  39. package/lib/edge/{select-5dc1c7d1.js → select-60ff549c.js} +1 -1
  40. package/lib/edge/{select-3f0f00f3.cjs → select-6ea0d59f.cjs} +1 -1
  41. package/lib/edge/{server-entry-805b9266.cjs → server-entry-4133a544.cjs} +1 -1
  42. package/lib/edge/{server-entry-ff728468.js → server-entry-feff6177.js} +1 -1
  43. package/lib/edge/server-entry.cjs +1 -1
  44. package/lib/edge/server-entry.mjs +1 -1
  45. package/lib/edge/{slot-20fe5e4f.js → slot-2347377e.js} +12 -11
  46. package/lib/edge/slot-a4509cae.cjs +1 -0
  47. package/lib/edge/{symbol-5012ed02.cjs → symbol-98650b06.cjs} +1 -1
  48. package/lib/edge/{symbol-e95082e1.js → symbol-dcef0d8e.js} +2 -2
  49. package/lib/edge/{tabs-261e8cd4.js → tabs-0784574b.js} +10 -9
  50. package/lib/edge/tabs-4c131e17.cjs +1 -0
  51. package/lib/edge/text-1c1986aa.cjs +1 -0
  52. package/lib/edge/text-6f7cbc35.js +38 -0
  53. package/lib/node/blocks-exports.cjs +15 -15
  54. package/lib/node/blocks-exports.mjs +186 -165
  55. package/lib/node/index.cjs +1 -1
  56. package/lib/node/index.mjs +2 -2
  57. package/lib/node/init.cjs +1 -1
  58. package/lib/node/init.mjs +2 -2
  59. package/lib/node/{node-runtime-160b6846.cjs → node-runtime-4978bc21.cjs} +1 -1
  60. package/lib/node/{node-runtime-405effc5.js → node-runtime-ce5c71e5.js} +1 -1
  61. package/lib/{browser/server-entry-0687830a.js → node/server-entry-0c6c220c.js} +1 -1
  62. package/lib/node/{server-entry-02cecfb7.cjs → server-entry-7e145817.cjs} +1 -1
  63. package/lib/node/server-entry.cjs +1 -1
  64. package/lib/node/server-entry.mjs +1 -1
  65. package/package.json +1 -1
  66. package/types/blocks/image/image.types.d.ts +2 -0
  67. package/types/blocks/symbol/symbol.types.d.ts +1 -0
  68. package/types/constants/sdk-version.d.ts +1 -1
  69. package/lib/edge/blocks-db3cfcac.js +0 -3419
  70. package/lib/edge/blocks-f524a758.cjs +0 -32
  71. package/lib/edge/columns-1f84e26e.cjs +0 -28
  72. package/lib/edge/content-variants-42f2495b.cjs +0 -134
  73. package/lib/edge/form-4444faf2.cjs +0 -1
  74. package/lib/edge/image-344ddbb0.cjs +0 -17
  75. package/lib/edge/slot-a64b535f.cjs +0 -1
  76. package/lib/edge/tabs-d672f816.cjs +0 -1
  77. package/lib/edge/text-5915f038.js +0 -17
  78. package/lib/edge/text-e6dbb721.cjs +0 -1
@@ -2,15 +2,15 @@
2
2
  var He = Object.defineProperty;
3
3
  var qe = (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) => (qe(e, typeof t != "symbol" ? t + "" : t, n), n);
5
- import { jsx as s, Fragment as R, jsxs as P } from "react/jsx-runtime";
6
- import { TARGET as K, checkIsDefined as Y, logger as Z, isBrowser as G, isEditing as $, registerInsertMenu as Ke, setupBrowserForEditing as ze, createRegisterComponentMessage as _e, 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-0687830a.js";
7
- import { createContext as we, useState as T, useEffect as V, useContext as be, useRef as ee, createElement as Re } from "react";
8
- import { getFunctionArguments as Xe, runInNode as Ze, parseCode as et, getBuilderGlobals as tt, fastClone as de, set as Ee } from "./node-runtime-405effc5.js";
5
+ import { jsx as s, Fragment as R, jsxs as V } from "react/jsx-runtime";
6
+ import { TARGET as K, checkIsDefined as Y, logger as Z, isBrowser as G, isEditing as $, registerInsertMenu as Ke, setupBrowserForEditing as ze, createRegisterComponentMessage as _e, 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-0c6c220c.js";
7
+ import { createContext as we, useState as T, useEffect as P, useContext as be, useRef as ee, createElement as Re } from "react";
8
+ import { getFunctionArguments as Xe, runInNode as Ze, parseCode as et, getBuilderGlobals as tt, fastClone as de, set as Ee } from "./node-runtime-ce5c71e5.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(R, { children: it(e.TagName) ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(R, { 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 }) }) });
12
12
  }
13
- const H = () => {
13
+ const q = () => {
14
14
  switch (K) {
15
15
  case "react":
16
16
  case "reactNative":
@@ -28,7 +28,7 @@ function ot(e) {
28
28
  function t() {
29
29
  return {
30
30
  ...e.attributes,
31
- [H()]: `${e.link ? "" : "builder-button"} ${e.attributes[H()] || ""}`,
31
+ [q()]: `${e.link ? "" : "builder-button"} ${e.attributes[q()] || ""}`,
32
32
  ...e.link ? {
33
33
  href: e.link,
34
34
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -146,7 +146,7 @@ const st = () => {
146
146
  };
147
147
  ie(L, "cacheLimit", 20), ie(L, "cache", /* @__PURE__ */ new Map());
148
148
  let M = L;
149
- function q({
149
+ function U({
150
150
  code: e,
151
151
  context: t,
152
152
  localState: n,
@@ -170,19 +170,19 @@ function q({
170
170
  localState: n
171
171
  };
172
172
  if (r) {
173
- const u = M.getCacheKey(c), f = M.getCachedValue(u);
173
+ const d = M.getCacheKey(c), f = M.getCachedValue(d);
174
174
  if (f)
175
175
  return f.value;
176
176
  }
177
177
  try {
178
- const u = ct(c);
178
+ const d = ct(c);
179
179
  if (r) {
180
180
  const f = M.getCacheKey(c);
181
- M.setCachedValue(f, u);
181
+ M.setCachedValue(f, d);
182
182
  }
183
- return u;
184
- } catch (u) {
185
- Z.error("Failed code evaluation: " + u.message, {
183
+ return d;
184
+ } catch (d) {
185
+ Z.error("Failed code evaluation: " + d.message, {
186
186
  code: e
187
187
  });
188
188
  return;
@@ -207,7 +207,7 @@ const dt = ({
207
207
  }
208
208
  };
209
209
  for (const r in e.bindings) {
210
- const c = e.bindings[r], u = q({
210
+ const c = e.bindings[r], d = U({
211
211
  code: c,
212
212
  localState: n,
213
213
  rootState: i,
@@ -215,7 +215,7 @@ const dt = ({
215
215
  context: t,
216
216
  enableCache: !0
217
217
  });
218
- Ee(a, r, u);
218
+ Ee(a, r, d);
219
219
  }
220
220
  return a;
221
221
  };
@@ -243,13 +243,13 @@ function ut(e, t, n = {}) {
243
243
  r = n.leading === !1 ? 0 : Date.now(), a = null, l = e.apply(i, o), a || (i = o = null);
244
244
  };
245
245
  return function() {
246
- const u = Date.now();
247
- !r && n.leading === !1 && (r = u);
248
- const f = t - (u - r);
249
- return i = this, o = arguments, f <= 0 || f > t ? (a && (clearTimeout(a), a = null), r = u, l = e.apply(i, o), a || (i = o = null)) : !a && n.trailing !== !1 && (a = setTimeout(c, f)), l;
246
+ const d = Date.now();
247
+ !r && n.leading === !1 && (r = d);
248
+ const f = t - (d - r);
249
+ return i = this, o = arguments, f <= 0 || f > t ? (a && (clearTimeout(a), a = null), r = d, l = e.apply(i, o), a || (i = o = null)) : !a && n.trailing !== !1 && (a = setTimeout(c, f)), l;
250
250
  };
251
251
  }
252
- function U(e, ...t) {
252
+ function H(e, ...t) {
253
253
  const n = Object(e);
254
254
  for (let i = 1; i < arguments.length; i++) {
255
255
  const o = arguments[i];
@@ -293,8 +293,8 @@ function Ne(e) {
293
293
  return;
294
294
  }
295
295
  Array.from(t).forEach((n) => {
296
- Ae(e, n), n.style.transition = "none", n.style.transitionDelay = "0", U(n.style, e.steps[0].styles), setTimeout(() => {
297
- n.style.transition = `all ${e.duration}s ${te(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), U(n.style, e.steps[1].styles), setTimeout(() => {
296
+ Ae(e, n), n.style.transition = "none", n.style.transitionDelay = "0", H(n.style, e.steps[0].styles), setTimeout(() => {
297
+ n.style.transition = `all ${e.duration}s ${te(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), H(n.style, e.steps[1].styles), setTimeout(() => {
298
298
  n.style.transition = "", n.style.transitionDelay = "";
299
299
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
300
300
  });
@@ -311,23 +311,23 @@ function ht(e) {
311
311
  let i = !1, o = !1;
312
312
  function l() {
313
313
  !i && r(n) ? (i = !0, o = !0, setTimeout(() => {
314
- U(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
314
+ H(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
315
315
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
316
316
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
317
- })) : e.repeat && i && !o && !r(n) && (i = !1, U(n.style, e.steps[0].styles));
317
+ })) : e.repeat && i && !o && !r(n) && (i = !1, H(n.style, e.steps[0].styles));
318
318
  }
319
319
  const a = ut(l, 200, {
320
320
  leading: !1
321
321
  });
322
322
  function r(f) {
323
- const d = f.getBoundingClientRect(), m = window.innerHeight, y = (e.thresholdPercent || 0) / 100 * m;
324
- return d.bottom > y && d.top < m - y;
323
+ const u = f.getBoundingClientRect(), m = window.innerHeight, y = (e.thresholdPercent || 0) / 100 * m;
324
+ return u.bottom > y && u.top < m - y;
325
325
  }
326
326
  const c = e.steps[0].styles;
327
- function u() {
328
- U(n.style, c);
327
+ function d() {
328
+ H(n.style, c);
329
329
  }
330
- u(), setTimeout(() => {
330
+ d(), setTimeout(() => {
331
331
  n.style.transition = `all ${e.duration}s ${te(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
332
332
  }), document.addEventListener("scroll", a, {
333
333
  capture: !0,
@@ -410,7 +410,7 @@ const yt = ({
410
410
  } = e;
411
411
  if (!(n != null && n.collection))
412
412
  return;
413
- const o = q({
413
+ const o = U({
414
414
  code: n.collection,
415
415
  localState: t.localState,
416
416
  rootState: t.rootState,
@@ -421,15 +421,15 @@ const yt = ({
421
421
  if (!Array.isArray(o))
422
422
  return;
423
423
  const l = n.collection.split(".").pop(), a = n.itemName || (l ? l + "Item" : "item");
424
- return o.map((c, u) => ({
424
+ return o.map((c, d) => ({
425
425
  context: {
426
426
  ...t,
427
427
  localState: {
428
428
  ...t.localState,
429
- $index: u,
429
+ $index: d,
430
430
  $item: c,
431
431
  [a]: c,
432
- [`$${a}Index`]: u
432
+ [`$${a}Index`]: d
433
433
  }
434
434
  },
435
435
  block: i
@@ -530,10 +530,10 @@ function Tt(e) {
530
530
  shouldEvaluateBindings: !0
531
531
  }), o = i.responsiveStyles, l = e.context.content, a = De(
532
532
  ((p = l == null ? void 0 : l.meta) == null ? void 0 : p.breakpoints) || {}
533
- ), r = o == null ? void 0 : o.large, c = o == null ? void 0 : o.medium, u = o == null ? void 0 : o.small, f = i.id;
533
+ ), r = o == null ? void 0 : o.large, c = o == null ? void 0 : o.medium, d = o == null ? void 0 : o.small, f = i.id;
534
534
  if (!f)
535
535
  return "";
536
- const d = r ? _({
536
+ const u = r ? _({
537
537
  className: f,
538
538
  styles: r
539
539
  }) : "", m = c ? _({
@@ -543,9 +543,9 @@ function Tt(e) {
543
543
  "medium",
544
544
  a
545
545
  )
546
- }) : "", g = u ? _({
546
+ }) : "", g = d ? _({
547
547
  className: f,
548
- styles: u,
548
+ styles: d,
549
549
  mediaQuery: pe(
550
550
  "small",
551
551
  a
@@ -566,7 +566,7 @@ function Tt(e) {
566
566
  }) || "";
567
567
  }
568
568
  return [
569
- d,
569
+ u,
570
570
  m,
571
571
  g,
572
572
  C
@@ -584,7 +584,7 @@ function Tt(e) {
584
584
  function It(e) {
585
585
  return e.charAt(0).toUpperCase() + e.slice(1);
586
586
  }
587
- const wt = (e) => `on${It(e)}`, Rt = (e, t) => (n) => q({
587
+ const wt = (e) => `on${It(e)}`, Rt = (e, t) => (n) => U({
588
588
  code: e,
589
589
  context: t.context,
590
590
  localState: t.localState,
@@ -636,7 +636,7 @@ function fe({
636
636
  block: e,
637
637
  context: t
638
638
  }),
639
- [H()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
639
+ [q()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
640
640
  };
641
641
  return Et({
642
642
  properties: n,
@@ -757,7 +757,7 @@ function Nt(e) {
757
757
  ) });
758
758
  }
759
759
  function z(e) {
760
- var c, u, f;
760
+ var c, d, f;
761
761
  function t() {
762
762
  return yt({
763
763
  block: e.block,
@@ -772,8 +772,8 @@ function z(e) {
772
772
  });
773
773
  }
774
774
  function i() {
775
- var d;
776
- return (d = e.block.repeat) != null && d.collection ? e.block : X({
775
+ var u;
776
+ return (u = e.block.repeat) != null && u.collection ? e.block : X({
777
777
  block: e.block,
778
778
  localState: e.context.localState,
779
779
  rootState: e.context.rootState,
@@ -790,17 +790,17 @@ function z(e) {
790
790
  var g, y;
791
791
  if ((g = e.block.repeat) != null && g.collection)
792
792
  return !!((y = n == null ? void 0 : n()) != null && y.length);
793
- const d = "hide" in i() ? i().hide : !1;
794
- return ("show" in i() ? i().show : !0) && !d;
793
+ const u = "hide" in i() ? i().hide : !1;
794
+ return ("show" in i() ? i().show : !0) && !u;
795
795
  }
796
796
  function a() {
797
797
  var m, g;
798
798
  return !((m = t == null ? void 0 : t()) != null && m.component) && !n() ? (g = i().children) != null ? g : [] : [];
799
799
  }
800
800
  function r() {
801
- var d, m, g, y;
801
+ var u, m, g, y;
802
802
  return {
803
- blockChildren: (d = i().children) != null ? d : [],
803
+ blockChildren: (u = i().children) != null ? u : [],
804
804
  componentRef: (m = t == null ? void 0 : t()) == null ? void 0 : m.component,
805
805
  componentOptions: {
806
806
  ...at(i()),
@@ -820,15 +820,15 @@ function z(e) {
820
820
  isInteractive: !((y = t == null ? void 0 : t()) != null && y.isRSC)
821
821
  };
822
822
  }
823
- return V(() => {
824
- const d = i().id, m = i().animations;
825
- m && d && mt(
823
+ return P(() => {
824
+ const u = i().id, m = i().animations;
825
+ m && u && mt(
826
826
  m.map((g) => ({
827
827
  ...g,
828
- elementId: d
828
+ elementId: u
829
829
  }))
830
830
  );
831
- }, []), /* @__PURE__ */ s(R, { children: l() ? /* @__PURE__ */ P(R, { children: [
831
+ }, []), /* @__PURE__ */ s(R, { children: l() ? /* @__PURE__ */ V(R, { children: [
832
832
  /* @__PURE__ */ s(Tt, { block: e.block, context: e.context }),
833
833
  (c = t == null ? void 0 : t()) != null && c.noWrap ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
834
834
  ye,
@@ -843,16 +843,16 @@ function z(e) {
843
843
  includeBlockProps: r().includeBlockProps,
844
844
  isInteractive: r().isInteractive
845
845
  }
846
- ) }) : /* @__PURE__ */ s(R, { children: n() ? /* @__PURE__ */ s(R, { children: (f = n()) == null ? void 0 : f.map((d, m) => /* @__PURE__ */ s(
846
+ ) }) : /* @__PURE__ */ s(R, { children: n() ? /* @__PURE__ */ s(R, { children: (f = n()) == null ? void 0 : f.map((u, m) => /* @__PURE__ */ s(
847
847
  Nt,
848
848
  {
849
- repeatContext: d.context,
850
- block: d.block,
849
+ repeatContext: u.context,
850
+ block: u.block,
851
851
  registeredComponents: e.registeredComponents,
852
852
  linkComponent: e.linkComponent
853
853
  },
854
854
  m
855
- )) }) : /* @__PURE__ */ P(
855
+ )) }) : /* @__PURE__ */ V(
856
856
  Pt,
857
857
  {
858
858
  Wrapper: o(),
@@ -873,15 +873,15 @@ function z(e) {
873
873
  isInteractive: r().isInteractive
874
874
  }
875
875
  ),
876
- (u = a()) == null ? void 0 : u.map((d) => /* @__PURE__ */ s(
876
+ (d = a()) == null ? void 0 : d.map((u) => /* @__PURE__ */ s(
877
877
  z,
878
878
  {
879
- block: d,
879
+ block: u,
880
880
  registeredComponents: e.registeredComponents,
881
881
  linkComponent: e.linkComponent,
882
882
  context: e.context
883
883
  },
884
- d.id
884
+ u.id
885
885
  ))
886
886
  ]
887
887
  }
@@ -919,7 +919,7 @@ function Wt(e) {
919
919
  "*"
920
920
  ));
921
921
  }
922
- return /* @__PURE__ */ P(R, { children: [
922
+ return /* @__PURE__ */ V(R, { children: [
923
923
  /* @__PURE__ */ s(
924
924
  e.BlocksWrapper,
925
925
  {
@@ -981,7 +981,7 @@ function $t(e) {
981
981
  var w;
982
982
  return ((w = i[x]) == null ? void 0 : w.width) || 100 / i.length;
983
983
  }
984
- function u(x) {
984
+ function d(x) {
985
985
  const w = c(x), N = t * (i.length - 1) * (w / 100);
986
986
  return `calc(${w}% - ${N}px)`;
987
987
  }
@@ -991,7 +991,7 @@ function $t(e) {
991
991
  }) {
992
992
  return l === "tablet" ? x : w;
993
993
  }
994
- function d({
994
+ function u({
995
995
  stackedStyle: x,
996
996
  desktopStyle: w
997
997
  }) {
@@ -1010,7 +1010,7 @@ function $t(e) {
1010
1010
  };
1011
1011
  }
1012
1012
  function C(x) {
1013
- const w = x === 0 ? 0 : t, N = u(x), b = `${w}px`, h = "100%", v = 0;
1013
+ const w = x === 0 ? 0 : t, N = d(x), b = `${w}px`, h = "100%", v = 0;
1014
1014
  return {
1015
1015
  ...{
1016
1016
  display: "flex",
@@ -1019,11 +1019,11 @@ function $t(e) {
1019
1019
  },
1020
1020
  width: N,
1021
1021
  ["marginLeft"]: b,
1022
- "--column-width-mobile": d({
1022
+ "--column-width-mobile": u({
1023
1023
  stackedStyle: h,
1024
1024
  desktopStyle: N
1025
1025
  }),
1026
- "--column-margin-left-mobile": d({
1026
+ "--column-margin-left-mobile": u({
1027
1027
  stackedStyle: v,
1028
1028
  desktopStyle: b
1029
1029
  }),
@@ -1076,12 +1076,12 @@ function $t(e) {
1076
1076
  ...x.link ? {
1077
1077
  href: x.link
1078
1078
  } : {},
1079
- [H()]: "builder-column",
1079
+ [q()]: "builder-column",
1080
1080
  style: Fe(C(w))
1081
1081
  };
1082
1082
  }
1083
- return /* @__PURE__ */ P(R, { children: [
1084
- /* @__PURE__ */ P(
1083
+ return /* @__PURE__ */ V(R, { children: [
1084
+ /* @__PURE__ */ V(
1085
1085
  "div",
1086
1086
  {
1087
1087
  className: Ft((A = e.builderBlock) == null ? void 0 : A.id) + " div-34f576bb",
@@ -1161,21 +1161,21 @@ function oe(e) {
1161
1161
  return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ot(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1162
1162
  }
1163
1163
  function jt(e) {
1164
- var o, l, a, r, c, u;
1164
+ var o, l, a, r, c, d;
1165
1165
  function t() {
1166
1166
  var m;
1167
- const d = e.image || e.src;
1168
- if (!d || // We can auto add srcset for cdn.builder.io and shopify
1167
+ const u = e.image || e.src;
1168
+ if (!u || // We can auto add srcset for cdn.builder.io and shopify
1169
1169
  // images, otherwise you can supply this prop manually
1170
- !(d.match(/builder\.io/) || d.match(/cdn\.shopify\.com/)))
1170
+ !(u.match(/builder\.io/) || u.match(/cdn\.shopify\.com/)))
1171
1171
  return e.srcset;
1172
1172
  if (!e.noWebp) {
1173
1173
  if (e.srcset && ((m = e.image) != null && m.includes("builder.io/api/v1/image"))) {
1174
1174
  if (!e.srcset.includes(e.image.split("?")[0]))
1175
- return console.debug("Removed given srcset"), oe(d);
1175
+ return console.debug("Removed given srcset"), oe(u);
1176
1176
  } else if (e.image && !e.srcset)
1177
- return oe(d);
1178
- return oe(d);
1177
+ return oe(u);
1178
+ return oe(u);
1179
1179
  }
1180
1180
  }
1181
1181
  function n() {
@@ -1192,9 +1192,10 @@ function jt(e) {
1192
1192
  };
1193
1193
  return e.aspectRatio ? f : void 0;
1194
1194
  }
1195
- return /* @__PURE__ */ P(R, { children: [
1196
- /* @__PURE__ */ P(R, { children: [
1197
- /* @__PURE__ */ P("picture", { children: [
1195
+ return P(() => {
1196
+ }, []), /* @__PURE__ */ V(R, { children: [
1197
+ /* @__PURE__ */ V(R, { children: [
1198
+ /* @__PURE__ */ V("picture", { children: [
1198
1199
  n() ? /* @__PURE__ */ s("source", { type: "image/webp", srcSet: n() }) : null,
1199
1200
  /* @__PURE__ */ s(
1200
1201
  "img",
@@ -1208,7 +1209,7 @@ function jt(e) {
1208
1209
  objectFit: e.backgroundSize || "cover",
1209
1210
  ...i()
1210
1211
  },
1211
- className: "builder-image" + (e.className ? " " + e.className : "") + " img-56bbd606",
1212
+ className: "builder-image" + (e.className ? " " + e.className : "") + " img-2d6925f2",
1212
1213
  src: e.image,
1213
1214
  srcSet: t(),
1214
1215
  sizes: e.sizes
@@ -1218,23 +1219,23 @@ function jt(e) {
1218
1219
  e.aspectRatio && !((l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent) ? /* @__PURE__ */ s(
1219
1220
  "div",
1220
1221
  {
1221
- className: "builder-image-sizer div-56bbd606",
1222
+ className: "builder-image-sizer div-2d6925f2",
1222
1223
  style: {
1223
1224
  paddingTop: e.aspectRatio * 100 + "%"
1224
1225
  }
1225
1226
  }
1226
1227
  ) : null,
1227
1228
  (r = (a = e.builderBlock) == null ? void 0 : a.children) != null && r.length && e.fitContent ? /* @__PURE__ */ s(R, { children: e.children }) : null,
1228
- !e.fitContent && ((u = (c = e.builderBlock) == null ? void 0 : c.children) != null && u.length) ? /* @__PURE__ */ s("div", { className: "div-56bbd606-2", children: e.children }) : null
1229
+ !e.fitContent && ((d = (c = e.builderBlock) == null ? void 0 : c.children) != null && d.length) ? /* @__PURE__ */ s("div", { className: "div-2d6925f2-2", children: e.children }) : null
1229
1230
  ] }),
1230
- /* @__PURE__ */ s("style", { children: `.img-56bbd606 {
1231
+ /* @__PURE__ */ s("style", { children: `.img-2d6925f2 {
1231
1232
  opacity: 1;
1232
1233
  transition: opacity 0.2s ease-in-out;
1233
- }.div-56bbd606 {
1234
+ }.div-2d6925f2 {
1234
1235
  width: 100%;
1235
1236
  pointer-events: none;
1236
1237
  font-size: 0;
1237
- }.div-56bbd606-2 {
1238
+ }.div-2d6925f2-2 {
1238
1239
  display: flex;
1239
1240
  flex-direction: column;
1240
1241
  align-items: stretch;
@@ -1393,7 +1394,7 @@ const ae = {
1393
1394
  }
1394
1395
  }, ve = (e) => e.toString();
1395
1396
  function Ht(e) {
1396
- var d;
1397
+ var u;
1397
1398
  const [t, n] = T(() => []);
1398
1399
  function i() {
1399
1400
  return !!(e.grid || e.oneAtATime);
@@ -1456,7 +1457,7 @@ function Ht(e) {
1456
1457
  }
1457
1458
  return typeof m == "number" && (m = m + 1), m;
1458
1459
  }
1459
- function u() {
1460
+ function d() {
1460
1461
  const m = {
1461
1462
  order: typeof c() == "number" ? c() : void 0,
1462
1463
  ...e.grid && {
@@ -1470,7 +1471,7 @@ function Ht(e) {
1470
1471
  function f(m) {
1471
1472
  t.includes(m) ? n(i() ? [] : t.filter((g) => g !== m)) : n(i() ? [m] : t.concat(m));
1472
1473
  }
1473
- return /* @__PURE__ */ s("div", { className: "builder-accordion", style: o(), children: (d = e.items) == null ? void 0 : d.map((m, g) => /* @__PURE__ */ P(R, { children: [
1474
+ return /* @__PURE__ */ s("div", { className: "builder-accordion", style: o(), children: (u = e.items) == null ? void 0 : u.map((m, g) => /* @__PURE__ */ V(R, { children: [
1474
1475
  /* @__PURE__ */ s(
1475
1476
  "div",
1476
1477
  {
@@ -1499,7 +1500,7 @@ function Ht(e) {
1499
1500
  "div",
1500
1501
  {
1501
1502
  className: r(g),
1502
- style: u(),
1503
+ style: d(),
1503
1504
  children: /* @__PURE__ */ s(
1504
1505
  D,
1505
1506
  {
@@ -1785,15 +1786,15 @@ const qt = {
1785
1786
  onChange: (e) => {
1786
1787
  e.delete("srcset"), e.delete("noWebp");
1787
1788
  function n(a, r = 6e4) {
1788
- return new Promise((c, u) => {
1789
+ return new Promise((c, d) => {
1789
1790
  const f = document.createElement("img");
1790
- let d = !1;
1791
+ let u = !1;
1791
1792
  f.onload = () => {
1792
- d = !0, c(f);
1793
+ u = !0, c(f);
1793
1794
  }, f.addEventListener("error", (m) => {
1794
- console.warn("Image load failed", m.error), u(m.error);
1795
+ console.warn("Image load failed", m.error), d(m.error);
1795
1796
  }), f.src = a, setTimeout(() => {
1796
- d || u(new Error("Image load timed out"));
1797
+ u || d(new Error("Image load timed out"));
1797
1798
  }, r);
1798
1799
  });
1799
1800
  }
@@ -2143,7 +2144,7 @@ function Zt(e) {
2143
2144
  function o(a) {
2144
2145
  a === t && e.collapsible ? n(-1) : n(a);
2145
2146
  }
2146
- return /* @__PURE__ */ P("div", { children: [
2147
+ return /* @__PURE__ */ V("div", { children: [
2147
2148
  /* @__PURE__ */ s(
2148
2149
  "div",
2149
2150
  {
@@ -2193,7 +2194,8 @@ function Zt(e) {
2193
2194
  }
2194
2195
  const en = {
2195
2196
  shouldReceiveBuilderProps: {
2196
- builderBlock: !1
2197
+ builderBlock: !1,
2198
+ builderContext: !0
2197
2199
  },
2198
2200
  name: "Text",
2199
2201
  static: !0,
@@ -2214,12 +2216,31 @@ const en = {
2214
2216
  }
2215
2217
  };
2216
2218
  function tn(e) {
2217
- var t;
2219
+ function t() {
2220
+ var r;
2221
+ const n = e.builderContext, {
2222
+ context: i,
2223
+ localState: o,
2224
+ rootState: l,
2225
+ rootSetState: a
2226
+ } = n;
2227
+ return String(((r = e.text) == null ? void 0 : r.toString()) || "").replace(
2228
+ /{{([^}]+)}}/g,
2229
+ (c, d) => U({
2230
+ code: d,
2231
+ context: i,
2232
+ localState: o,
2233
+ rootState: l,
2234
+ rootSetState: a,
2235
+ enableCache: !1
2236
+ })
2237
+ );
2238
+ }
2218
2239
  return /* @__PURE__ */ s(
2219
2240
  "div",
2220
2241
  {
2221
2242
  className: "builder-text",
2222
- dangerouslySetInnerHTML: { __html: ((t = e.text) == null ? void 0 : t.toString()) || "" },
2243
+ dangerouslySetInnerHTML: { __html: t() },
2223
2244
  style: {
2224
2245
  outline: "none"
2225
2246
  }
@@ -2251,28 +2272,28 @@ const nn = {
2251
2272
  };
2252
2273
  function on(e) {
2253
2274
  const t = ee(null), [n, i] = T(() => []), [o, l] = T(() => []);
2254
- return V(() => {
2275
+ return P(() => {
2255
2276
  var r;
2256
2277
  if (!((r = t.current) != null && r.getElementsByTagName) || typeof window == "undefined")
2257
2278
  return;
2258
2279
  const a = t.current.getElementsByTagName("script");
2259
2280
  for (let c = 0; c < a.length; c++) {
2260
- const u = a[c];
2261
- if (u.src) {
2262
- if (n.includes(u.src))
2281
+ const d = a[c];
2282
+ if (d.src) {
2283
+ if (n.includes(d.src))
2263
2284
  continue;
2264
- n.push(u.src);
2285
+ n.push(d.src);
2265
2286
  const f = document.createElement("script");
2266
- f.async = !0, f.src = u.src, document.head.appendChild(f);
2267
- } else if (!u.type || [
2287
+ f.async = !0, f.src = d.src, document.head.appendChild(f);
2288
+ } else if (!d.type || [
2268
2289
  "text/javascript",
2269
2290
  "application/javascript",
2270
2291
  "application/ecmascript"
2271
- ].includes(u.type)) {
2272
- if (o.includes(u.innerText))
2292
+ ].includes(d.type)) {
2293
+ if (o.includes(d.innerText))
2273
2294
  continue;
2274
2295
  try {
2275
- o.push(u.innerText), new Function(u.innerText)();
2296
+ o.push(d.innerText), new Function(d.innerText)();
2276
2297
  } catch (f) {
2277
2298
  console.warn("`CustomCode`: Error running script:", f);
2278
2299
  }
@@ -2308,22 +2329,22 @@ function sn(e) {
2308
2329
  function c() {
2309
2330
  if (!t.current || !t.current.getElementsByTagName)
2310
2331
  return;
2311
- const u = t.current.getElementsByTagName("script");
2312
- for (let f = 0; f < u.length; f++) {
2313
- const d = u[f];
2314
- if (d.src && !n.includes(d.src)) {
2315
- n.push(d.src);
2332
+ const d = t.current.getElementsByTagName("script");
2333
+ for (let f = 0; f < d.length; f++) {
2334
+ const u = d[f];
2335
+ if (u.src && !n.includes(u.src)) {
2336
+ n.push(u.src);
2316
2337
  const m = document.createElement("script");
2317
- m.async = !0, m.src = d.src, document.head.appendChild(m);
2318
- } else if (ln(d) && !o.includes(d.innerText))
2338
+ m.async = !0, m.src = u.src, document.head.appendChild(m);
2339
+ } else if (ln(u) && !o.includes(u.innerText))
2319
2340
  try {
2320
- o.push(d.innerText), new Function(d.innerText)();
2341
+ o.push(u.innerText), new Function(u.innerText)();
2321
2342
  } catch (m) {
2322
2343
  console.warn("`Embed`: Error running script:", m);
2323
2344
  }
2324
2345
  }
2325
2346
  }
2326
- return V(() => {
2347
+ return P(() => {
2327
2348
  t.current && !a && (r(!0), c());
2328
2349
  }, [t.current, a]), /* @__PURE__ */ s(
2329
2350
  "div",
@@ -2579,7 +2600,7 @@ const cn = {
2579
2600
  return i === void 0 || i === e ? n : i;
2580
2601
  };
2581
2602
  function fn(e) {
2582
- var d, m;
2603
+ var u, m;
2583
2604
  const t = ee(null), [n, i] = T(() => "unsubmitted"), [o, l] = T(() => null), [a, r] = T(() => "");
2584
2605
  function c(g) {
2585
2606
  var C, p;
@@ -2589,7 +2610,7 @@ function fn(e) {
2589
2610
  };
2590
2611
  e.builderContext.rootSetState ? (p = (C = e.builderContext).rootSetState) == null || p.call(C, y) : e.builderContext.rootState = y;
2591
2612
  }
2592
- function u() {
2613
+ function d() {
2593
2614
  return $() && e.previewState || n;
2594
2615
  }
2595
2616
  function f(g) {
@@ -2687,9 +2708,9 @@ function fn(e) {
2687
2708
  );
2688
2709
  }
2689
2710
  }
2690
- return /* @__PURE__ */ P(R, { children: [
2711
+ return /* @__PURE__ */ V(R, { children: [
2691
2712
  " ",
2692
- /* @__PURE__ */ P(
2713
+ /* @__PURE__ */ V(
2693
2714
  "form",
2694
2715
  {
2695
2716
  validate: e.validate,
@@ -2700,7 +2721,7 @@ function fn(e) {
2700
2721
  onSubmit: (g) => f(g),
2701
2722
  ...e.attributes,
2702
2723
  children: [
2703
- e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ s(R, { children: (m = (d = e.builderBlock) == null ? void 0 : d.children) == null ? void 0 : m.map((g, y) => /* @__PURE__ */ s(
2724
+ e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ s(R, { children: (m = (u = e.builderBlock) == null ? void 0 : u.children) == null ? void 0 : m.map((g, y) => /* @__PURE__ */ s(
2704
2725
  z,
2705
2726
  {
2706
2727
  block: g,
@@ -2710,7 +2731,7 @@ function fn(e) {
2710
2731
  },
2711
2732
  `form-block-${y}`
2712
2733
  )) }) : null,
2713
- u() === "error" ? /* @__PURE__ */ s(
2734
+ d() === "error" ? /* @__PURE__ */ s(
2714
2735
  D,
2715
2736
  {
2716
2737
  path: "errorMessage",
@@ -2718,7 +2739,7 @@ function fn(e) {
2718
2739
  context: e.builderContext
2719
2740
  }
2720
2741
  ) : null,
2721
- u() === "sending" ? /* @__PURE__ */ s(
2742
+ d() === "sending" ? /* @__PURE__ */ s(
2722
2743
  D,
2723
2744
  {
2724
2745
  path: "sendingMessage",
@@ -2726,8 +2747,8 @@ function fn(e) {
2726
2747
  context: e.builderContext
2727
2748
  }
2728
2749
  ) : null,
2729
- u() === "error" && o ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-3a20f614", children: JSON.stringify(o, null, 2) }) : null,
2730
- u() === "success" ? /* @__PURE__ */ s(
2750
+ d() === "error" && o ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-3a20f614", children: JSON.stringify(o, null, 2) }) : null,
2751
+ d() === "success" ? /* @__PURE__ */ s(
2731
2752
  D,
2732
2753
  {
2733
2754
  path: "successMessage",
@@ -3063,7 +3084,7 @@ const Tn = {
3063
3084
  }
3064
3085
  };
3065
3086
  function In(e) {
3066
- var i, o, l, a, r, c, u;
3087
+ var i, o, l, a, r, c, d;
3067
3088
  function t() {
3068
3089
  return {
3069
3090
  ...e.autoPlay === !0 ? {
@@ -3088,7 +3109,7 @@ function In(e) {
3088
3109
  ...t()
3089
3110
  };
3090
3111
  }
3091
- return /* @__PURE__ */ P(
3112
+ return /* @__PURE__ */ V(
3092
3113
  "div",
3093
3114
  {
3094
3115
  style: {
@@ -3142,7 +3163,7 @@ function In(e) {
3142
3163
  children: e.children
3143
3164
  }
3144
3165
  ) : null,
3145
- (u = (c = e.builderBlock) == null ? void 0 : c.children) != null && u.length && !e.fitContent ? /* @__PURE__ */ s(
3166
+ (d = (c = e.builderBlock) == null ? void 0 : c.children) != null && d.length && !e.fitContent ? /* @__PURE__ */ s(
3146
3167
  "div",
3147
3168
  {
3148
3169
  style: {
@@ -3396,11 +3417,11 @@ font-weight: 400;
3396
3417
  for (const r in e.files) {
3397
3418
  if (!(String(Number(r)) === r))
3398
3419
  continue;
3399
- const u = e.files[r];
3400
- u && u !== i && (o += `
3420
+ const d = e.files[r];
3421
+ d && d !== i && (o += `
3401
3422
  @font-face {
3402
3423
  font-family: "${t}";
3403
- src: url('${u}') format('woff2');
3424
+ src: url('${d}') format('woff2');
3404
3425
  font-display: fallback;
3405
3426
  font-weight: ${r};
3406
3427
  }
@@ -3502,7 +3523,7 @@ function Hn(e) {
3502
3523
  function c() {
3503
3524
  var v, S;
3504
3525
  const h = (S = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : S.jsCode;
3505
- h && q({
3526
+ h && U({
3506
3527
  code: h,
3507
3528
  context: e.context || {},
3508
3529
  localState: void 0,
@@ -3514,7 +3535,7 @@ function Hn(e) {
3514
3535
  enableCache: !1
3515
3536
  });
3516
3537
  }
3517
- const [u, f] = T(() => ({})), [d, m] = T(() => ({})), [g, y] = T(() => !1);
3538
+ const [d, f] = T(() => ({})), [u, m] = T(() => ({})), [g, y] = T(() => !1);
3518
3539
  function C(h) {
3519
3540
  var v, S;
3520
3541
  if (e.builderContextSignal.content) {
@@ -3535,13 +3556,13 @@ function Hn(e) {
3535
3556
  var v, S, k;
3536
3557
  const h = (k = (S = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : S.httpRequests) != null ? k : {};
3537
3558
  Object.entries(h).forEach(([I, W]) => {
3538
- if (!W || d[I] || u[I] && !$())
3559
+ if (!W || u[I] || d[I] && !$())
3539
3560
  return;
3540
- d[I] = !0;
3561
+ u[I] = !0;
3541
3562
  const j = W.replace(
3542
3563
  /{{([^}]+)}}/g,
3543
3564
  (F, Ue) => String(
3544
- q({
3565
+ U({
3545
3566
  code: Ue,
3546
3567
  context: e.context || {},
3547
3568
  localState: void 0,
@@ -3554,11 +3575,11 @@ function Hn(e) {
3554
3575
  Ge(j).then((F) => F.json()).then((F) => {
3555
3576
  n({
3556
3577
  [I]: F
3557
- }), u[I] = !0;
3578
+ }), d[I] = !0;
3558
3579
  }).catch((F) => {
3559
3580
  console.error("error fetching dynamic data", W, F);
3560
3581
  }).finally(() => {
3561
- d[I] = !1;
3582
+ u[I] = !1;
3562
3583
  });
3563
3584
  });
3564
3585
  }
@@ -3577,7 +3598,7 @@ function Hn(e) {
3577
3598
  )
3578
3599
  );
3579
3600
  }
3580
- return V(() => {
3601
+ return P(() => {
3581
3602
  var h, v;
3582
3603
  if (G()) {
3583
3604
  if ($() && (window.addEventListener("message", r), Ke(), ze({
@@ -3622,25 +3643,25 @@ function Hn(e) {
3622
3643
  });
3623
3644
  }
3624
3645
  }
3625
- }, []), V(() => {
3646
+ }, []), P(() => {
3626
3647
  e.apiKey || Z.error(
3627
3648
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
3628
3649
  ), c(), p(), B();
3629
- }, []), V(() => {
3650
+ }, []), P(() => {
3630
3651
  e.content && i(e.content);
3631
- }, [e.content]), V(() => {
3652
+ }, [e.content]), P(() => {
3632
3653
  c();
3633
- }, [(A = (E = e.builderContextSignal.content) == null ? void 0 : E.data) == null ? void 0 : A.jsCode]), V(() => {
3654
+ }, [(A = (E = e.builderContextSignal.content) == null ? void 0 : E.data) == null ? void 0 : A.jsCode]), P(() => {
3634
3655
  p();
3635
- }, [(x = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : x.httpRequests]), V(() => {
3656
+ }, [(x = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : x.httpRequests]), P(() => {
3636
3657
  B();
3637
- }, [e.builderContextSignal.rootState]), V(() => {
3658
+ }, [e.builderContextSignal.rootState]), P(() => {
3638
3659
  e.data && n(e.data);
3639
- }, [e.data]), V(() => {
3660
+ }, [e.data]), P(() => {
3640
3661
  e.locale && n({
3641
3662
  locale: e.locale
3642
3663
  });
3643
- }, [e.locale]), V(() => () => {
3664
+ }, [e.locale]), P(() => () => {
3644
3665
  G() && (window.removeEventListener("message", r), window.removeEventListener(
3645
3666
  "builder:component:stateChangeListenerActivated",
3646
3667
  B
@@ -3712,7 +3733,7 @@ const Kn = ({
3712
3733
  meta: e == null ? void 0 : e.meta
3713
3734
  } : void 0;
3714
3735
  function Te(e) {
3715
- var c, u, f, d, m, g, y;
3736
+ var c, d, f, u, m, g, y;
3716
3737
  const [t, n] = T(
3717
3738
  () => {
3718
3739
  var C, p;
@@ -3787,7 +3808,7 @@ function Te(e) {
3787
3808
  value: {
3788
3809
  registeredComponents: o
3789
3810
  },
3790
- children: /* @__PURE__ */ P(
3811
+ children: /* @__PURE__ */ V(
3791
3812
  Hn,
3792
3813
  {
3793
3814
  nonce: e.nonce,
@@ -3820,8 +3841,8 @@ function Te(e) {
3820
3841
  nonce: e.nonce || "",
3821
3842
  isNestedRender: e.isNestedRender,
3822
3843
  contentId: (c = a.content) == null ? void 0 : c.id,
3823
- cssCode: (f = (u = a.content) == null ? void 0 : u.data) == null ? void 0 : f.cssCode,
3824
- customFonts: (m = (d = a.content) == null ? void 0 : d.data) == null ? void 0 : m.customFonts
3844
+ cssCode: (f = (d = a.content) == null ? void 0 : d.data) == null ? void 0 : f.cssCode,
3845
+ customFonts: (m = (u = a.content) == null ? void 0 : u.data) == null ? void 0 : m.customFonts
3825
3846
  }
3826
3847
  ),
3827
3848
  /* @__PURE__ */ s(
@@ -3870,8 +3891,8 @@ function _n(e) {
3870
3891
  canTrack: Q(e.canTrack)
3871
3892
  });
3872
3893
  }
3873
- return V(() => {
3874
- }, []), /* @__PURE__ */ P(R, { children: [
3894
+ return P(() => {
3895
+ }, []), /* @__PURE__ */ V(R, { children: [
3875
3896
  !e.isNestedRender && K !== "reactNative" ? /* @__PURE__ */ s(
3876
3897
  ce,
3877
3898
  {
@@ -3880,7 +3901,7 @@ function _n(e) {
3880
3901
  nonce: e.nonce || ""
3881
3902
  }
3882
3903
  ) : null,
3883
- t ? /* @__PURE__ */ P(R, { children: [
3904
+ t ? /* @__PURE__ */ V(R, { children: [
3884
3905
  /* @__PURE__ */ s(
3885
3906
  ne,
3886
3907
  {
@@ -3971,7 +3992,7 @@ const Jn = async ({
3971
3992
  });
3972
3993
  };
3973
3994
  function Yn(e) {
3974
- var r, c, u, f;
3995
+ var r, c, d, f;
3975
3996
  function t() {
3976
3997
  return "div";
3977
3998
  }
@@ -3979,28 +4000,28 @@ function Yn(e) {
3979
4000
  return "div";
3980
4001
  }
3981
4002
  function i() {
3982
- var d, m;
4003
+ var u, m;
3983
4004
  return [
3984
- e.attributes[H()],
4005
+ e.attributes[q()],
3985
4006
  "builder-symbol",
3986
- (d = e.symbol) != null && d.inline ? "builder-inline-symbol" : void 0,
4007
+ (u = e.symbol) != null && u.inline ? "builder-inline-symbol" : void 0,
3987
4008
  (m = e.symbol) != null && m.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
3988
4009
  ].filter(Boolean).join(" ");
3989
4010
  }
3990
4011
  const [o, l] = T(() => {
3991
- var d;
3992
- return (d = e.symbol) == null ? void 0 : d.content;
4012
+ var u;
4013
+ return (u = e.symbol) == null ? void 0 : u.content;
3993
4014
  });
3994
4015
  function a() {
3995
4016
  o || Jn({
3996
4017
  symbol: e.symbol,
3997
4018
  builderContextValue: e.builderContext
3998
- }).then((d) => {
3999
- d && l(d);
4019
+ }).then((u) => {
4020
+ u && l(u);
4000
4021
  });
4001
4022
  }
4002
- return V(() => {
4003
- }, []), V(() => {
4023
+ return P(() => {
4024
+ }, []), P(() => {
4004
4025
  a();
4005
4026
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ s(
4006
4027
  _n,
@@ -4017,7 +4038,7 @@ function Yn(e) {
4017
4038
  data: {
4018
4039
  ...(c = e.symbol) == null ? void 0 : c.data,
4019
4040
  ...e.builderContext.localState,
4020
- ...(u = o == null ? void 0 : o.data) == null ? void 0 : u.state
4041
+ ...(d = o == null ? void 0 : o.data) == null ? void 0 : d.state
4021
4042
  },
4022
4043
  canTrack: e.builderContext.canTrack,
4023
4044
  model: (f = e.symbol) == null ? void 0 : f.model,