@builder.io/sdk-react 0.13.2 → 0.13.4

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 (36) hide show
  1. package/lib/browser/index.cjs +8 -8
  2. package/lib/browser/index.mjs +90 -90
  3. package/lib/browser/{server-entry-be000726.js → server-entry-2a8acf68.js} +1 -1
  4. package/lib/browser/{server-entry-af9b0dd3.cjs → server-entry-881c178e.cjs} +1 -1
  5. package/lib/browser/server-entry.cjs +1 -1
  6. package/lib/browser/server-entry.mjs +1 -1
  7. package/lib/edge/index.cjs +13 -13
  8. package/lib/edge/index.mjs +105 -105
  9. package/lib/edge/{server-entry-b02b5197.js → server-entry-13732838.js} +1 -1
  10. package/lib/edge/{server-entry-af9b0dd3.cjs → server-entry-881c178e.cjs} +1 -1
  11. package/lib/edge/server-entry.cjs +1 -1
  12. package/lib/edge/server-entry.mjs +1 -1
  13. package/lib/node/index.cjs +6 -6
  14. package/lib/node/index.mjs +283 -283
  15. package/lib/node/{server-entry-6e7475d7.cjs → server-entry-ad7cbbbf.cjs} +1 -1
  16. package/lib/node/{server-entry-9969d641.js → server-entry-c8223f30.js} +1 -1
  17. package/lib/node/server-entry.cjs +1 -1
  18. package/lib/node/server-entry.mjs +1 -1
  19. package/package.json +1 -1
  20. package/types/blocks/columns/columns.d.ts +1 -2
  21. package/types/blocks/columns/columns.types.d.ts +2 -2
  22. package/types/blocks/form/form/form.d.ts +3 -3
  23. package/types/blocks/slot/slot.d.ts +3 -3
  24. package/types/blocks/symbol/symbol.d.ts +1 -2
  25. package/types/blocks/symbol/symbol.types.d.ts +2 -2
  26. package/types/components/block/components/block-wrapper.d.ts +2 -2
  27. package/types/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
  28. package/types/components/block/components/interactive-element.d.ts +3 -2
  29. package/types/components/blocks/blocks-wrapper.d.ts +2 -2
  30. package/types/components/content/content.types.d.ts +1 -8
  31. package/types/components/content/contentProps.types.d.ts +12 -0
  32. package/types/components/dynamic-renderer/dynamic-renderer.d.ts +4 -3
  33. package/types/constants/sdk-version.d.ts +1 -1
  34. package/types/types/builder-props.d.ts +1 -1
  35. package/types/types/input.d.ts +1 -0
  36. package/types/types/typescript.d.ts +0 -3
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as h, Fragment as N, jsxs as ae } from "react/jsx-runtime";
3
3
  import { createContext as fr, useState as _, useEffect as te, useContext as Jn, useRef as St, createElement as Qt } from "react";
4
- import { T as at, i as me, k as Ve, l as qr, m as Oe, n as vt, o as en, p as bt, q as Xn, a as Jr, u as Xr, v as Yr, w as Zr, c as Qr, e as hr, x as ei, y as Yn, z as Zn, A as ti } from "./server-entry-b02b5197.js";
5
- import { _ as ua, f as da, d as fa, h as ha, g as ma, j as pa, r as ga, s as ya, b as va, t as ba } from "./server-entry-b02b5197.js";
4
+ import { T as at, i as me, k as Ve, l as qr, m as Oe, n as vt, o as en, p as bt, q as Xn, a as Jr, u as Xr, v as Yr, w as Zr, c as Qr, e as hr, x as ei, y as Yn, z as Zn, A as ti } from "./server-entry-13732838.js";
5
+ import { _ as ua, f as da, d as fa, h as ha, g as ma, j as pa, r as ga, s as ya, b as va, t as ba } from "./server-entry-13732838.js";
6
6
  const ni = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ri = (e) => typeof e == "string" && ni.has(e.toLowerCase());
7
7
  function tn(e) {
8
8
  return /* @__PURE__ */ h(N, { children: ri(e.TagName) ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ h(N, { children: typeof e.TagName == "string" ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) : /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) }) });
@@ -137,7 +137,7 @@ const rn = (e, t, n) => {
137
137
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
138
138
  return r.slice(0, -1).reduce((i, o, s) => Object(i[o]) === i[o] ? i[o] : i[o] = Math.abs(Number(r[s + 1])) >> 0 === +r[s + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
139
139
  };
140
- var L, ci = function(e) {
140
+ var W, ci = function(e) {
141
141
  function t(a) {
142
142
  return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && zr.test(String.fromCharCode(a));
143
143
  }
@@ -211,7 +211,7 @@ var L, ci = function(e) {
211
211
  function p(a) {
212
212
  switch (a) {
213
213
  case 46:
214
- a = S.charCodeAt(d + 1), 48 <= a && 57 >= a ? k(!0) : (++d, s(Wn));
214
+ a = S.charCodeAt(d + 1), 48 <= a && 57 >= a ? k(!0) : (++d, s(Ln));
215
215
  return;
216
216
  case 40:
217
217
  return ++d, s(ye);
@@ -232,7 +232,7 @@ var L, ci = function(e) {
232
232
  case 58:
233
233
  return ++d, s(qe);
234
234
  case 63:
235
- return ++d, s(Ln);
235
+ return ++d, s(Wn);
236
236
  case 48:
237
237
  if (a = S.charCodeAt(d + 1), a === 120 || a === 88) {
238
238
  d += 2, a = T(16), a === null && r(Q + 2, "Expected hexadecimal number"), n(S.charCodeAt(d)) && r(d, "Identifier directly after number"), s(ze, a);
@@ -326,11 +326,11 @@ var L, ci = function(e) {
326
326
  return;
327
327
  case 43:
328
328
  case 45:
329
- l = S.charCodeAt(d + 1), l === a ? l === 45 && S.charCodeAt(d + 2) === 62 && pt.test(S.slice(we, d)) ? (d += 3, c(), f(), v()) : x(Fr, 2) : l === 61 ? x(Ae, 2) : x(Lr, 1);
329
+ l = S.charCodeAt(d + 1), l === a ? l === 45 && S.charCodeAt(d + 2) === 62 && pt.test(S.slice(we, d)) ? (d += 3, c(), f(), v()) : x(Fr, 2) : l === 61 ? x(Ae, 2) : x(Wr, 1);
330
330
  return;
331
331
  case 60:
332
332
  case 62:
333
- l = S.charCodeAt(d + 1), u = 1, l === a ? (u = a === 62 && S.charCodeAt(d + 2) === 62 ? 3 : 2, S.charCodeAt(d + u) === 61 ? x(Ae, u + 1) : x(Wr, u)) : l === 33 && a === 60 && S.charCodeAt(d + 2) === 45 && S.charCodeAt(d + 3) === 45 ? (d += 4, c(), f(), v()) : (l === 61 && (u = S.charCodeAt(d + 2) === 61 ? 3 : 2), x(Vr, u));
333
+ l = S.charCodeAt(d + 1), u = 1, l === a ? (u = a === 62 && S.charCodeAt(d + 2) === 62 ? 3 : 2, S.charCodeAt(d + u) === 61 ? x(Ae, u + 1) : x(Lr, u)) : l === 33 && a === 60 && S.charCodeAt(d + 2) === 45 && S.charCodeAt(d + 3) === 45 ? (d += 4, c(), f(), v()) : (l === 61 && (u = S.charCodeAt(d + 2) === 61 ? 3 : 2), x(Vr, u));
334
334
  return;
335
335
  case 61:
336
336
  case 33:
@@ -437,7 +437,7 @@ var L, ci = function(e) {
437
437
  function G() {
438
438
  this.start = Ot, this.end = null, Rt && (this.source = Rt);
439
439
  }
440
- function W() {
440
+ function L() {
441
441
  var a = new J();
442
442
  return F.C && (a.X = new G()), F.vb && (a.sourceFile = F.vb), F.Xa && (a.j = [Q, 0]), a;
443
443
  }
@@ -471,7 +471,7 @@ var L, ci = function(e) {
471
471
  }
472
472
  function R() {
473
473
  (O === _n || O === Ae && fe === "/=") && v(!0);
474
- var a = O, l = W();
474
+ var a = O, l = L();
475
475
  switch (a) {
476
476
  case Bt:
477
477
  case wn:
@@ -487,9 +487,9 @@ var L, ci = function(e) {
487
487
  case Cn:
488
488
  return b(), ue(), g(l, "DebuggerStatement");
489
489
  case In:
490
- return b(), Y.push(Ht), l.body = R(), Y.pop(), z(Lt), l.test = U(), ue(), g(l, "DoWhileStatement");
490
+ return b(), Y.push(Ht), l.body = R(), Y.pop(), z(Wt), l.test = U(), ue(), g(l, "DoWhileStatement");
491
491
  case jn:
492
- return b(), Y.push(Ht), z(ye), O === ve ? re(l, null) : O === Wt ? (a = W(), b(), ut(a, !0), g(a, "VariableDeclaration"), a.fa.length === 1 && M(ht) ? Ie(l, a) : re(l, a)) : (a = oe(!1, !0), M(ht) ? (j(a), Ie(l, a)) : re(l, a));
492
+ return b(), Y.push(Ht), z(ye), O === ve ? re(l, null) : O === Lt ? (a = L(), b(), ut(a, !0), g(a, "VariableDeclaration"), a.fa.length === 1 && M(ht) ? Ie(l, a) : re(l, a)) : (a = oe(!1, !0), M(ht) ? (j(a), Ie(l, a)) : re(l, a));
493
493
  case Ut:
494
494
  return b(), At(l, !0);
495
495
  case Rn:
@@ -498,15 +498,15 @@ var L, ci = function(e) {
498
498
  return Ke || F.Ib || r(Q, "'return' outside of function"), b(), M(ve) || X() ? l.K = null : (l.K = oe(), ue()), g(l, "ReturnStatement");
499
499
  case Vt:
500
500
  for (b(), l.Qb = U(), l.tb = [], z(Ge), Y.push(Gr); O !== Me; )
501
- O === Dt || O === En ? (a = O === Dt, m && g(m, "SwitchCase"), l.tb.push(m = W()), m.da = [], b(), a ? m.test = oe() : (u && r(Nt, "Multiple default clauses"), u = !0, m.test = null), z(qe)) : (m || I(), m.da.push(R()));
501
+ O === Dt || O === En ? (a = O === Dt, m && g(m, "SwitchCase"), l.tb.push(m = L()), m.da = [], b(), a ? m.test = oe() : (u && r(Nt, "Multiple default clauses"), u = !0, m.test = null), z(qe)) : (m || I(), m.da.push(R()));
502
502
  return m && g(m, "SwitchCase"), b(), Y.pop(), g(l, "SwitchStatement");
503
503
  case Pn:
504
504
  return b(), pt.test(S.slice(we, Q)) && r(we, "Illegal newline after throw"), l.K = oe(), ue(), g(l, "ThrowStatement");
505
505
  case Nn:
506
- return b(), l.block = K(), l.Ea = null, O === kn && (a = W(), b(), z(ye), a.Ua = pe(), de && mt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), z(he), a.body = K(), l.Ea = g(a, "CatchClause")), l.fb = M(An) ? K() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), g(l, "TryStatement");
507
- case Wt:
508
- return b(), ut(l), ue(), g(l, "VariableDeclaration");
506
+ return b(), l.block = K(), l.Ea = null, O === kn && (a = L(), b(), z(ye), a.Ua = pe(), de && mt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), z(he), a.body = K(), l.Ea = g(a, "CatchClause")), l.fb = M(An) ? K() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), g(l, "TryStatement");
509
507
  case Lt:
508
+ return b(), ut(l), ue(), g(l, "VariableDeclaration");
509
+ case Wt:
510
510
  return b(), l.test = U(), Y.push(Ht), l.body = R(), Y.pop(), g(l, "WhileStatement");
511
511
  case Fn:
512
512
  return de && r(Q, "'with' in strict mode"), b(), l.object = U(), l.body = R(), g(l, "WithStatement");
@@ -532,7 +532,7 @@ var L, ci = function(e) {
532
532
  return z(he), a;
533
533
  }
534
534
  function K(a) {
535
- var l = W(), u = !0, m = !1;
535
+ var l = L(), u = !0, m = !1;
536
536
  for (l.body = [], z(Ge); !M(Me); ) {
537
537
  var P = R();
538
538
  if (l.body.push(P), u && a && H(P)) {
@@ -551,7 +551,7 @@ var L, ci = function(e) {
551
551
  }
552
552
  function ut(a, l) {
553
553
  for (a.fa = [], a.kind = "var"; ; ) {
554
- var u = W();
554
+ var u = L();
555
555
  if (u.id = pe(), de && mt(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = M($n) ? oe(!0, l) : null, a.fa.push(g(u, "VariableDeclarator")), !M(Ce))
556
556
  break;
557
557
  }
@@ -567,7 +567,7 @@ var L, ci = function(e) {
567
567
  }
568
568
  function Et(a) {
569
569
  var l = It(Tt(), -1, a);
570
- if (M(Ln)) {
570
+ if (M(Wn)) {
571
571
  var u = Z(l);
572
572
  u.test = l, u.da = oe(!0), z(qe), u.alternate = oe(!0, a), l = g(u, "ConditionalExpression");
573
573
  }
@@ -583,7 +583,7 @@ var L, ci = function(e) {
583
583
  }
584
584
  function Tt() {
585
585
  if (O.prefix) {
586
- var a = W(), l = O.$b;
586
+ var a = L(), l = O.$b;
587
587
  return a.operator = fe, He = a.prefix = !0, b(), a.K = Tt(), l ? j(a.K) : de && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), g(a, l ? "UpdateExpression" : "UnaryExpression");
588
588
  }
589
589
  for (l = $e(dt()); O.cc && !X(); )
@@ -591,7 +591,7 @@ var L, ci = function(e) {
591
591
  return l;
592
592
  }
593
593
  function $e(a, l) {
594
- if (M(Wn)) {
594
+ if (M(Ln)) {
595
595
  var u = Z(a);
596
596
  return u.object = a, u.Wa = pe(!0), u.bb = !1, $e(g(u, "MemberExpression"), l);
597
597
  }
@@ -600,18 +600,18 @@ var L, ci = function(e) {
600
600
  function dt() {
601
601
  switch (O) {
602
602
  case Bn:
603
- var a = W();
603
+ var a = L();
604
604
  return b(), g(a, "ThisExpression");
605
605
  case Fe:
606
606
  return pe();
607
607
  case ze:
608
608
  case ft:
609
609
  case Sn:
610
- return a = W(), a.value = fe, a.raw = S.slice(Q, Ne), b(), g(a, "Literal");
610
+ return a = L(), a.value = fe, a.raw = S.slice(Q, Ne), b(), g(a, "Literal");
611
611
  case Dn:
612
612
  case Un:
613
613
  case Vn:
614
- return a = W(), a.value = O.$a, a.raw = O.l, b(), g(a, "Literal");
614
+ return a = L(), a.value = O.$a, a.raw = O.l, b(), g(a, "Literal");
615
615
  case ye:
616
616
  a = Ot;
617
617
  var l = Q;
@@ -619,9 +619,9 @@ var L, ci = function(e) {
619
619
  var u = oe();
620
620
  return u.start = l, u.end = Ne, F.C && (u.X.start = a, u.X.end = Pt), F.Xa && (u.j = [l, Ne]), z(he), u;
621
621
  case _t:
622
- return a = W(), b(), a.elements = jt($t, !0, !0), g(a, "ArrayExpression");
622
+ return a = L(), b(), a.elements = jt($t, !0, !0), g(a, "ArrayExpression");
623
623
  case Ge:
624
- for (a = W(), l = !0, u = !1, a.h = [], b(); !M(Me); ) {
624
+ for (a = L(), l = !0, u = !1, a.h = [], b(); !M(Me); ) {
625
625
  if (l)
626
626
  l = !1;
627
627
  else if (z(Ce), F.sb && M(Me))
@@ -633,7 +633,7 @@ var L, ci = function(e) {
633
633
  m.value = oe(!0);
634
634
  var ee = m.kind = "init";
635
635
  } else
636
- m.key.type !== "Identifier" || m.key.name !== "get" && m.key.name !== "set" ? I() : (P = u = !0, ee = m.kind = m.key.name, m.key = O === ze || O === ft ? dt() : pe(!0), O !== ye && I(), m.value = At(W(), !1));
636
+ m.key.type !== "Identifier" || m.key.name !== "get" && m.key.name !== "set" ? I() : (P = u = !0, ee = m.kind = m.key.name, m.key = O === ze || O === ft ? dt() : pe(!0), O !== ye && I(), m.value = At(L(), !1));
637
637
  if (m.key.type === "Identifier" && (de || u))
638
638
  for (var se = 0; se < a.h.length; ++se) {
639
639
  var De = a.h[se];
@@ -646,9 +646,9 @@ var L, ci = function(e) {
646
646
  }
647
647
  return g(a, "ObjectExpression");
648
648
  case Ut:
649
- return a = W(), b(), At(a, !1);
649
+ return a = L(), b(), At(a, !1);
650
650
  case Mn:
651
- return a = W(), b(), a.callee = $e(dt(), !0), a.arguments = M(ye) ? jt(he, !1) : Pr, g(a, "NewExpression");
651
+ return a = L(), b(), a.callee = $e(dt(), !0), a.arguments = M(ye) ? jt(he, !1) : Pr, g(a, "NewExpression");
652
652
  }
653
653
  I();
654
654
  }
@@ -678,7 +678,7 @@ var L, ci = function(e) {
678
678
  return m;
679
679
  }
680
680
  function pe(a) {
681
- var l = W();
681
+ var l = L();
682
682
  return a && F.yb === "everywhere" && (a = !1), O === Fe ? (!a && (F.yb && $r(fe) || de && Gn(fe)) && S.slice(Q, Ne).indexOf("\\") === -1 && r(Q, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && O.l ? l.name = O.l : I(), He = !1, b(), g(l, "Identifier");
683
683
  }
684
684
  e.version = "0.5.0";
@@ -687,7 +687,7 @@ var L, ci = function(e) {
687
687
  S = String(a), Pe = S.length, F = l || {};
688
688
  for (var u in xn)
689
689
  Object.prototype.hasOwnProperty.call(F, u) || (F[u] = xn[u]);
690
- for (Rt = F.sourceFile, Te = 1, d = ge = 0, He = !0, f(), u = F.dc, Nt = we = d, F.C && (Ft = new o()), Ke = de = !1, Y = [], v(), a = u || W(), l = !0, u || (a.body = []); O !== Mt; )
690
+ for (Rt = F.sourceFile, Te = 1, d = ge = 0, He = !0, f(), u = F.dc, Nt = we = d, F.C && (Ft = new o()), Ke = de = !1, Y = [], v(), a = u || L(), l = !0, u || (a.body = []); O !== Mt; )
691
691
  u = R(), a.body.push(u), l && H(u) && $(!0), l = !1;
692
692
  return g(a, "Program");
693
693
  };
@@ -750,9 +750,9 @@ var L, ci = function(e) {
750
750
  m: !0
751
751
  }, Nn = {
752
752
  l: "try"
753
- }, Wt = {
754
- l: "var"
755
753
  }, Lt = {
754
+ l: "var"
755
+ }, Wt = {
756
756
  l: "while",
757
757
  W: !0
758
758
  }, Fn = {
@@ -792,8 +792,8 @@ var L, ci = function(e) {
792
792
  switch: Vt,
793
793
  throw: Pn,
794
794
  try: Nn,
795
- var: Wt,
796
- while: Lt,
795
+ var: Lt,
796
+ while: Wt,
797
797
  with: Fn,
798
798
  null: Dn,
799
799
  true: Un,
@@ -845,9 +845,9 @@ var L, ci = function(e) {
845
845
  }, qe = {
846
846
  type: ":",
847
847
  m: !0
848
- }, Wn = {
849
- type: "."
850
848
  }, Ln = {
849
+ type: "."
850
+ }, Wn = {
851
851
  type: "?",
852
852
  m: !0
853
853
  }, _n = {
@@ -887,10 +887,10 @@ var L, ci = function(e) {
887
887
  }, Vr = {
888
888
  L: 7,
889
889
  m: !0
890
- }, Wr = {
890
+ }, Lr = {
891
891
  L: 8,
892
892
  m: !0
893
- }, Lr = {
893
+ }, Wr = {
894
894
  L: 9,
895
895
  prefix: !0,
896
896
  m: !0
@@ -905,7 +905,7 @@ var L, ci = function(e) {
905
905
  }, Jt = Jt = typeof globalThis == "undefined" ? void 0 : globalThis;
906
906
  ci(Jt.j || (Jt.j = {}));
907
907
  function y(e, t) {
908
- typeof e == "string" && (e = We(e, "code"));
908
+ typeof e == "string" && (e = Le(e, "code"));
909
909
  var n = e.constructor;
910
910
  this.ya = function() {
911
911
  return new n({
@@ -919,7 +919,7 @@ function y(e, t) {
919
919
  var o, s;
920
920
  for (s in this)
921
921
  typeof this[s] == "function" && (o = s.match(e)) && (this.rb[o[1]] = this[s].bind(this));
922
- this.N = Yt(this, this.ra, null), this.Na = this.N.object, this.ra = We(this.ba.join(`
922
+ this.N = Yt(this, this.ra, null), this.Na = this.N.object, this.ra = Le(this.ba.join(`
923
923
  `), "polyfills"), this.ba = void 0, kt(this.ra), o = new C(this.ra, this.N), o.done = !1, this.o = [o], this.Eb(), this.value = void 0, this.ra = r, o = new C(this.ra, this.N), o.done = !1, this.o.length = 0, this.o[0] = o;
924
924
  }
925
925
  var Qn = {
@@ -973,26 +973,26 @@ function kt(e, t, n) {
973
973
  y.prototype.REGEXP_MODE = 2;
974
974
  y.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
975
975
  y.prototype.POLYFILL_TIMEOUT = 1e3;
976
- L = y.prototype;
977
- L.P = !1;
978
- L.Ka = !1;
979
- L.Kb = 0;
980
- L.ic = 0;
981
- function We(e, t) {
976
+ W = y.prototype;
977
+ W.P = !1;
978
+ W.Ka = !1;
979
+ W.Kb = 0;
980
+ W.ic = 0;
981
+ function Le(e, t) {
982
982
  var n = {}, r;
983
983
  for (r in Qn)
984
984
  n[r] = Qn[r];
985
985
  return n.sourceFile = t, Ee.j.parse(e, n);
986
986
  }
987
- L.Jb = function(e) {
987
+ W.Jb = function(e) {
988
988
  var t = this.o[0];
989
989
  if (!t || t.node.type !== "Program")
990
990
  throw Error("Expecting original AST to start with a Program node");
991
- if (typeof e == "string" && (e = We(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
991
+ if (typeof e == "string" && (e = Le(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
992
992
  throw Error("Expecting new AST to start with a Program node");
993
993
  it(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
994
994
  };
995
- L.lb = function() {
995
+ W.lb = function() {
996
996
  var e = this.o, t;
997
997
  do {
998
998
  var n = e[e.length - 1];
@@ -1030,7 +1030,7 @@ L.lb = function() {
1030
1030
  } while (!r.end && t > Date.now());
1031
1031
  return !0;
1032
1032
  };
1033
- L.Eb = function() {
1033
+ W.Eb = function() {
1034
1034
  for (; !this.za && this.lb(); )
1035
1035
  ;
1036
1036
  return this.za;
@@ -1061,7 +1061,7 @@ function di(e, t) {
1061
1061
  rr(e, o);
1062
1062
  }, e.g(t, "clearInterval", e.i(n, !1), w), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1063
1063
  }
1064
- L.Wb = 0;
1064
+ W.Wb = 0;
1065
1065
  function fi(e, t) {
1066
1066
  var n = /^[A-Za-z_$][\w$]*$/, r = function(i) {
1067
1067
  var o = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
@@ -1074,7 +1074,7 @@ function fi(e, t) {
1074
1074
  s = s.join(", ");
1075
1075
  }
1076
1076
  try {
1077
- var p = We("(function(" + s + ") {" + o + "})", "function" + e.Wb++);
1077
+ var p = Le("(function(" + s + ") {" + o + "})", "function" + e.Wb++);
1078
1078
  } catch (v) {
1079
1079
  E(e, e.T, "Invalid code: " + v.message);
1080
1080
  }
@@ -1143,7 +1143,7 @@ function hi(e, t) {
1143
1143
  }
1144
1144
  function mi(e, t) {
1145
1145
  var n = function(r) {
1146
- var i = ke(e) ? this : Le(e), o = arguments[0];
1146
+ var i = ke(e) ? this : We(e), o = arguments[0];
1147
1147
  if (arguments.length === 1 && typeof o == "number")
1148
1148
  isNaN(an(o)) && E(e, e.ob, "Invalid array length: " + o), i.h.length = o;
1149
1149
  else {
@@ -1424,7 +1424,7 @@ function Xt(e, t, n) {
1424
1424
  }
1425
1425
  e.g(t, "stack", o.trim(), w);
1426
1426
  }
1427
- L.ha = function() {
1427
+ W.ha = function() {
1428
1428
  var e = this.ha.Mb;
1429
1429
  return e || (e = new Blob([ui.join(`
1430
1430
  `)], {
@@ -1470,15 +1470,15 @@ function Ze(e, t, n, r) {
1470
1470
  }
1471
1471
  }, e.REGEXP_THREAD_TIMEOUT);
1472
1472
  }
1473
- L.Aa = function(e) {
1473
+ W.Aa = function(e) {
1474
1474
  return this.s(e && e.h.prototype);
1475
1475
  };
1476
- L.s = function(e) {
1476
+ W.s = function(e) {
1477
1477
  if (typeof e != "object")
1478
1478
  throw Error("Non object prototype");
1479
1479
  return e = new B(e), ie(this, e, this.D) && (e.H = "Error"), e;
1480
1480
  };
1481
- function Le(e) {
1481
+ function We(e) {
1482
1482
  var t = e.s(e.La);
1483
1483
  return e.g(t, "length", 0, {
1484
1484
  configurable: !1,
@@ -1494,14 +1494,14 @@ function cn(e, t, n, r) {
1494
1494
  var i = ln(e, t.oa.length, !0);
1495
1495
  return i.Va = n, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : r || "", ce), i;
1496
1496
  }
1497
- L.i = function(e, t) {
1497
+ W.i = function(e, t) {
1498
1498
  return t = ln(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ce), t;
1499
1499
  };
1500
- L.ub = function(e) {
1500
+ W.ub = function(e) {
1501
1501
  var t = ln(this, e.length, !0);
1502
1502
  return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ce), t;
1503
1503
  };
1504
- L.Ia = function(e) {
1504
+ W.Ia = function(e) {
1505
1505
  if (e instanceof B)
1506
1506
  throw Error("Object is already pseudo");
1507
1507
  if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
@@ -1522,7 +1522,7 @@ L.Ia = function(e) {
1522
1522
  }, !!t);
1523
1523
  }
1524
1524
  if (Array.isArray(e)) {
1525
- t = Le(this);
1525
+ t = We(this);
1526
1526
  for (var r = 0; r < e.length; r++)
1527
1527
  r in e && this.g(t, r, this.Ia(e[r]));
1528
1528
  return t;
@@ -1532,7 +1532,7 @@ L.Ia = function(e) {
1532
1532
  this.g(t, r, this.Ia(e[r]));
1533
1533
  return t;
1534
1534
  };
1535
- L.R = function(e, t) {
1535
+ W.R = function(e, t) {
1536
1536
  if (typeof e != "object" && typeof e != "function" || e === null)
1537
1537
  return e;
1538
1538
  if (!(e instanceof B))
@@ -1563,7 +1563,7 @@ L.R = function(e, t) {
1563
1563
  return t.hb.pop(), t.Sa.pop(), n;
1564
1564
  };
1565
1565
  function be(e, t) {
1566
- for (var n = Le(e), r = Object.getOwnPropertyNames(t), i = 0; i < r.length; i++)
1566
+ for (var n = We(e), r = Object.getOwnPropertyNames(t), i = 0; i < r.length; i++)
1567
1567
  e.g(n, r[i], t[r[i]]);
1568
1568
  return n;
1569
1569
  }
@@ -1584,7 +1584,7 @@ function Se(e, t) {
1584
1584
  }
1585
1585
  return t ? t.xa : null;
1586
1586
  }
1587
- L.G = function(e, t) {
1587
+ W.G = function(e, t) {
1588
1588
  if (this.P)
1589
1589
  throw Error("Getter not supported in that context");
1590
1590
  if (t = String(t), e != null || E(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof B))
@@ -1618,7 +1618,7 @@ function wt(e, t, n) {
1618
1618
  while (t = Se(e, t));
1619
1619
  return !1;
1620
1620
  }
1621
- L.g = function(e, t, n, r) {
1621
+ W.g = function(e, t, n, r) {
1622
1622
  if (this.Ka)
1623
1623
  throw Error("Setter not supported in that context");
1624
1624
  if (t = String(t), e != null || E(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof B))
@@ -1680,10 +1680,10 @@ L.g = function(e, t, n, r) {
1680
1680
  } else
1681
1681
  i && E(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1682
1682
  };
1683
- L.g.ac = function() {
1683
+ W.g.ac = function() {
1684
1684
  throw Error("Placeholder getter");
1685
1685
  };
1686
- L.g.bc = function() {
1686
+ W.g.bc = function() {
1687
1687
  throw Error("Placeholder setter");
1688
1688
  };
1689
1689
  function ne(e, t, n, r) {
@@ -1884,7 +1884,7 @@ function nr(e, t, n) {
1884
1884
  s.type = "CallExpression", r = r.scope;
1885
1885
  } else {
1886
1886
  try {
1887
- var f = We(String(o), "taskCode" + e.ic++);
1887
+ var f = Le(String(o), "taskCode" + e.ic++);
1888
1888
  } catch (p) {
1889
1889
  E(e, e.T, "Invalid code: " + p.message);
1890
1890
  }
@@ -1921,13 +1921,13 @@ function pn(e, t, n, r) {
1921
1921
  function zt(e, t) {
1922
1922
  return t == null ? e.Na : t instanceof B ? t : (e = e.s(Se(e, t)), e.data = t, e);
1923
1923
  }
1924
- L.Xb = function() {
1924
+ W.Xb = function() {
1925
1925
  return this.N;
1926
1926
  };
1927
- L.Yb = function() {
1927
+ W.Yb = function() {
1928
1928
  return this.o;
1929
1929
  };
1930
- L.ec = function(e) {
1930
+ W.ec = function(e) {
1931
1931
  this.o = e;
1932
1932
  };
1933
1933
  function C(e, t) {
@@ -1939,11 +1939,11 @@ function Sr(e, t, n) {
1939
1939
  function B(e) {
1940
1940
  this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
1941
1941
  }
1942
- L = B.prototype;
1943
- L.xa = null;
1944
- L.H = "Object";
1945
- L.data = null;
1946
- L.toString = function() {
1942
+ W = B.prototype;
1943
+ W.xa = null;
1944
+ W.H = "Object";
1945
+ W.data = null;
1946
+ W.toString = function() {
1947
1947
  if (!et)
1948
1948
  return "[object Interpreter.Object]";
1949
1949
  if (!(this instanceof B))
@@ -1991,7 +1991,7 @@ L.toString = function() {
1991
1991
  }
1992
1992
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
1993
1993
  };
1994
- L.valueOf = function() {
1994
+ W.valueOf = function() {
1995
1995
  return !et || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
1996
1996
  };
1997
1997
  function wi(e, t, n, r, i) {
@@ -2001,7 +2001,7 @@ var Ci = 0;
2001
2001
  y.prototype.stepArrayExpression = function(e, t, n) {
2002
2002
  n = n.elements;
2003
2003
  var r = t.A || 0;
2004
- for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Le(this), t.Oa.h.length = n.length); r < n.length; ) {
2004
+ for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = We(this), t.Oa.h.length = n.length); r < n.length; ) {
2005
2005
  if (n[r])
2006
2006
  return t.A = r, new C(n[r], t.scope);
2007
2007
  r++;
@@ -2169,7 +2169,7 @@ y.prototype.stepCallExpression = function(e, t, n) {
2169
2169
  return new C(n.arguments[t.A++], t.scope);
2170
2170
  if (n.type === "NewExpression") {
2171
2171
  if (i instanceof B && !i.Ab || E(this, this.j, le(this, n.callee) + " is not a constructor"), i === this.qa)
2172
- t.B = Le(this);
2172
+ t.B = We(this);
2173
2173
  else {
2174
2174
  var o = i.h.prototype;
2175
2175
  (typeof o != "object" || o === null) && (o = this.M), t.B = this.s(o);
@@ -2182,7 +2182,7 @@ y.prototype.stepCallExpression = function(e, t, n) {
2182
2182
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2183
2183
  else {
2184
2184
  if (t.eb = !0, i instanceof B || E(this, this.j, le(this, n.callee) + " is not a function"), e = i.node) {
2185
- for (n = Yt(this, e.body, i.Va), r = Le(this), i = 0; i < t.F.length; i++)
2185
+ for (n = Yt(this, e.body, i.Va), r = We(this), i = 0; i < t.F.length; i++)
2186
2186
  this.g(r, i, t.F[i]);
2187
2187
  for (this.g(n.object, "arguments", r), i = 0; i < e.oa.length; i++)
2188
2188
  this.g(n.object, e.oa[i].name, t.F.length > i ? t.F[i] : void 0);
@@ -2193,7 +2193,7 @@ y.prototype.stepCallExpression = function(e, t, n) {
2193
2193
  t.value = i;
2194
2194
  else {
2195
2195
  try {
2196
- r = We(String(i), "eval" + this.Hb++);
2196
+ r = Le(String(i), "eval" + this.Hb++);
2197
2197
  } catch (c) {
2198
2198
  E(this, this.T, "Invalid code: " + c.message);
2199
2199
  }
@@ -2939,7 +2939,7 @@ const Bi = ({
2939
2939
  function Ct(e) {
2940
2940
  return /* @__PURE__ */ h("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2941
2941
  }
2942
- function Wi(e) {
2942
+ function Li(e) {
2943
2943
  function t() {
2944
2944
  const r = xt({
2945
2945
  block: e.block,
@@ -2987,10 +2987,10 @@ function Wi(e) {
2987
2987
  }
2988
2988
  return /* @__PURE__ */ h(N, { children: n() && t() ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(Ct, { styles: n() }) }) : null });
2989
2989
  }
2990
- function Li(e) {
2990
+ function Wi(e) {
2991
2991
  return e.charAt(0).toUpperCase() + e.slice(1);
2992
2992
  }
2993
- const _i = (e) => `on${Li(e)}`, $i = (e, t) => (n) => ot({
2993
+ const _i = (e) => `on${Wi(e)}`, $i = (e, t) => (n) => ot({
2994
2994
  code: e,
2995
2995
  context: t.context,
2996
2996
  localState: t.localState,
@@ -3233,7 +3233,7 @@ function ct(e) {
3233
3233
  return !((k = t == null ? void 0 : t()) != null && k.component) && !n() ? (A = r().children) != null ? A : [] : [];
3234
3234
  }
3235
3235
  function c() {
3236
- var T, k, A, V, q, b, $, J, G, W, Z;
3236
+ var T, k, A, V, q, b, $, J, G, L, Z;
3237
3237
  return {
3238
3238
  blockChildren: (T = r().children) != null ? T : [],
3239
3239
  componentRef: (k = t == null ? void 0 : t()) == null ? void 0 : k.component,
@@ -3251,7 +3251,7 @@ function ct(e) {
3251
3251
  linkComponent: e.linkComponent,
3252
3252
  registeredComponents: e.registeredComponents,
3253
3253
  builderBlock: r(),
3254
- includeBlockProps: ((W = t == null ? void 0 : t()) == null ? void 0 : W.noWrap) === !0,
3254
+ includeBlockProps: ((L = t == null ? void 0 : t()) == null ? void 0 : L.noWrap) === !0,
3255
3255
  isInteractive: !((Z = t == null ? void 0 : t()) != null && Z.isRSC)
3256
3256
  };
3257
3257
  }
@@ -3265,7 +3265,7 @@ function ct(e) {
3265
3265
  }))
3266
3266
  );
3267
3267
  }, []), /* @__PURE__ */ h(N, { children: o() ? /* @__PURE__ */ ae(N, { children: [
3268
- /* @__PURE__ */ h(Wi, { block: e.block, context: e.context }),
3268
+ /* @__PURE__ */ h(Li, { block: e.block, context: e.context }),
3269
3269
  (v = t == null ? void 0 : t()) != null && v.noWrap ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(
3270
3270
  ar,
3271
3271
  {
@@ -3360,7 +3360,7 @@ function Zi(e) {
3360
3360
  /* @__PURE__ */ h(
3361
3361
  e.BlocksWrapper,
3362
3362
  {
3363
- className: t() + " props-blocks-wrapper-4f2c12d8",
3363
+ className: t() + " props-blocks-wrapper-7354e098",
3364
3364
  "builder-path": e.path,
3365
3365
  "builder-parent-id": e.parent,
3366
3366
  style: e.styleProp,
@@ -3371,7 +3371,7 @@ function Zi(e) {
3371
3371
  children: e.children
3372
3372
  }
3373
3373
  ),
3374
- /* @__PURE__ */ h("style", { children: `.props-blocks-wrapper-4f2c12d8 {
3374
+ /* @__PURE__ */ h("style", { children: `.props-blocks-wrapper-7354e098 {
3375
3375
  display: flex;
3376
3376
  flex-direction: column;
3377
3377
  align-items: stretch;
@@ -3443,7 +3443,7 @@ function Qi(e) {
3443
3443
  };
3444
3444
  }
3445
3445
  function k(b) {
3446
- const $ = b === 0 ? 0 : t, J = f(b), G = `${$}px`, W = "100%", Z = 0;
3446
+ const $ = b === 0 ? 0 : t, J = f(b), G = `${$}px`, L = "100%", Z = 0;
3447
3447
  return {
3448
3448
  ...{
3449
3449
  display: "flex",
@@ -3453,7 +3453,7 @@ function Qi(e) {
3453
3453
  width: J,
3454
3454
  ["marginLeft"]: G,
3455
3455
  "--column-width-mobile": v({
3456
- stackedStyle: W,
3456
+ stackedStyle: L,
3457
3457
  desktopStyle: J
3458
3458
  }),
3459
3459
  "--column-margin-left-mobile": v({
@@ -3461,7 +3461,7 @@ function Qi(e) {
3461
3461
  desktopStyle: G
3462
3462
  }),
3463
3463
  "--column-width-tablet": p({
3464
- stackedStyle: W,
3464
+ stackedStyle: L,
3465
3465
  desktopStyle: J
3466
3466
  }),
3467
3467
  "--column-margin-left-tablet": p({
@@ -3507,7 +3507,7 @@ function Qi(e) {
3507
3507
  /* @__PURE__ */ ae(
3508
3508
  "div",
3509
3509
  {
3510
- className: `builder-columns ${e.builderBlock.id}-breakpoints div-002fb3ba`,
3510
+ className: `builder-columns ${e.builderBlock.id}-breakpoints div-1046d78c`,
3511
3511
  style: T(),
3512
3512
  children: [
3513
3513
  /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(Ct, { styles: V() }) }),
@@ -3543,7 +3543,7 @@ function Qi(e) {
3543
3543
  ]
3544
3544
  }
3545
3545
  ),
3546
- /* @__PURE__ */ h("style", { children: `.div-002fb3ba {
3546
+ /* @__PURE__ */ h("style", { children: `.div-1046d78c {
3547
3547
  display: flex;
3548
3548
  line-height: normal;
3549
3549
  }` })
@@ -4588,8 +4588,8 @@ function Io(e) {
4588
4588
  }), b = JSON.stringify(g);
4589
4589
  }
4590
4590
  G && G !== "multipart/form-data" && (k && ((A = e.action) != null && A.includes("zapier.com")) || (q["content-type"] = G));
4591
- const W = new CustomEvent("presubmit", { detail: { body: b } });
4592
- if (t.current && (t.current.dispatchEvent(W), W.defaultPrevented))
4591
+ const L = new CustomEvent("presubmit", { detail: { body: b } });
4592
+ if (t.current && (t.current.dispatchEvent(L), L.defaultPrevented))
4593
4593
  return;
4594
4594
  r("sending");
4595
4595
  const Z = `${Co() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
@@ -4677,7 +4677,7 @@ function Io(e) {
4677
4677
  }
4678
4678
  ) }) : null,
4679
4679
  " ",
4680
- p() === "error" && i ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ ae("pre", { className: "builder-form-error-text pre-8fbb5280", children: [
4680
+ p() === "error" && i ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ ae("pre", { className: "builder-form-error-text pre-25b9edf0", children: [
4681
4681
  " ",
4682
4682
  JSON.stringify(i, null, 2),
4683
4683
  " "
@@ -4696,7 +4696,7 @@ function Io(e) {
4696
4696
  }
4697
4697
  ),
4698
4698
  " ",
4699
- /* @__PURE__ */ h("style", { children: ".pre-8fbb5280 { padding: 10px; color: red; text-align: center; }" }),
4699
+ /* @__PURE__ */ h("style", { children: ".pre-25b9edf0 { padding: 10px; color: red; text-align: center; }" }),
4700
4700
  " "
4701
4701
  ] });
4702
4702
  }
@@ -4896,7 +4896,7 @@ const Mo = {
4896
4896
  type: "file",
4897
4897
  allowedFileTypes: ["mp4"],
4898
4898
  bubble: !0,
4899
- defaultValue: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",
4899
+ defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
4900
4900
  required: !0
4901
4901
  }, {
4902
4902
  name: "posterImage",
@@ -5208,10 +5208,10 @@ const Do = () => [{
5208
5208
  ...t,
5209
5209
  testVariationId: t.id,
5210
5210
  id: e == null ? void 0 : e.id
5211
- })), Wo = ({
5211
+ })), Lo = ({
5212
5212
  canTrack: e,
5213
5213
  content: t
5214
- }) => !(!(yt(t).length > 0) || !e || Ve()), Lo = (e) => e === "react" || e === "reactNative", Rr = Lo(at), _o = () => `
5214
+ }) => !(!(yt(t).length > 0) || !e || Ve()), Wo = (e) => e === "react" || e === "reactNative", Rr = Wo(at), _o = () => `
5215
5215
  window.${Ar} = ${Uo}
5216
5216
  window.${jr} = ${Vo}
5217
5217
  `, $o = (e, t) => `
@@ -5444,7 +5444,7 @@ function qo(e) {
5444
5444
  J
5445
5445
  );
5446
5446
  }
5447
- function W(I) {
5447
+ function L(I) {
5448
5448
  const j = new URL(location.href).searchParams, R = j.get("builder.preview"), U = j.get(
5449
5449
  `builder.preview.${R}`
5450
5450
  ), K = j.get("apiKey") || j.get("builder.space");
@@ -5472,12 +5472,12 @@ function qo(e) {
5472
5472
  var I;
5473
5473
  return (I = t.current) == null || I.addEventListener(
5474
5474
  "initpreviewingbldr",
5475
- W
5475
+ L
5476
5476
  ), () => {
5477
5477
  var j;
5478
5478
  return (j = t.current) == null ? void 0 : j.removeEventListener(
5479
5479
  "initpreviewingbldr",
5480
- W
5480
+ L
5481
5481
  );
5482
5482
  };
5483
5483
  }, []), te(() => {
@@ -5758,7 +5758,7 @@ function dr(e) {
5758
5758
  function Or(e) {
5759
5759
  var s, c;
5760
5760
  const [t, n] = _(
5761
- () => Wo({
5761
+ () => Lo({
5762
5762
  canTrack: bt(e.canTrack),
5763
5763
  content: e.content
5764
5764
  })