@builder.io/sdk-vue 5.2.4 → 5.2.6

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 (71) hide show
  1. package/lib/browser/{awaiter-4bKOAzti.cjs → awaiter-fjkJEwL2.cjs} +1 -1
  2. package/lib/browser/{awaiter-q_DSjMVD.js → awaiter-uv2UPA7r.js} +1 -1
  3. package/lib/browser/{block-wrapper-Q-de2c75.cjs → block-wrapper-78wlnbq2.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-YNVEwJsu.js → block-wrapper-JeL_jj_h.js} +3 -3
  5. package/lib/browser/blocks/image/image.vue.d.ts +4 -3
  6. package/lib/browser/{component-ref-watkJI0h.js → component-ref-mKp3QJjb.js} +4 -4
  7. package/lib/browser/{component-ref-YeF1fWsm.cjs → component-ref-x3D964Ui.cjs} +1 -1
  8. package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -0
  9. package/lib/browser/constants/sdk-version.d.ts +1 -1
  10. package/lib/browser/{get-block-properties-Q4RE1NYS.cjs → get-block-properties-OItA8P2h.cjs} +1 -1
  11. package/lib/browser/{get-block-properties-DvyFZA6k.js → get-block-properties-gsdrxoRd.js} +1 -1
  12. package/lib/browser/{index-DfB3iR8x.js → index-SDeF5ljo.js} +106 -97
  13. package/lib/browser/{index-U5K993_E.cjs → index-bSLOTVNj.cjs} +14 -14
  14. package/lib/browser/index.cjs +1 -1
  15. package/lib/browser/index.mjs +1 -1
  16. package/lib/browser/{live-edit-9dPB7jWd.js → live-edit-G9Y94Fp3.js} +1 -1
  17. package/lib/browser/{live-edit-naKnBygx.cjs → live-edit-tGxAmCBt.cjs} +1 -1
  18. package/lib/browser/{repeated-block-BQB7dngl.cjs → repeated-block-Fy3-rBBk.cjs} +1 -1
  19. package/lib/browser/{repeated-block-B84MBN4t.js → repeated-block-WgU2OssJ.js} +2 -2
  20. package/lib/browser/{style-wrapper-dtKxKeZ0.cjs → style-wrapper-EIQ0LSdQ.cjs} +1 -1
  21. package/lib/browser/{style-wrapper-1pU2q-Nj.js → style-wrapper-VY7cdn42.js} +1 -1
  22. package/lib/browser/style.css +1 -1
  23. package/lib/edge/{awaiter-HFBt_OAF.cjs → awaiter-To0MGZ0d.cjs} +1 -1
  24. package/lib/edge/{awaiter-n-gIbP8r.js → awaiter-xFN_a7xm.js} +1 -1
  25. package/lib/{node/block-wrapper-sEviqhU3.js → edge/block-wrapper-1dKtPesr.js} +3 -3
  26. package/lib/edge/{block-wrapper-Bu7g5EV_.cjs → block-wrapper-_thG9C3r.cjs} +1 -1
  27. package/lib/edge/blocks/image/image.vue.d.ts +4 -3
  28. package/lib/edge/{component-ref-4wKEKXCt.cjs → component-ref-Yf97BoLu.cjs} +1 -1
  29. package/lib/edge/{component-ref-JHSTjcJx.js → component-ref-e50s6g-8.js} +4 -4
  30. package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -0
  31. package/lib/edge/constants/sdk-version.d.ts +1 -1
  32. package/lib/edge/{get-block-properties-5Wxv-oHg.js → get-block-properties-EY1VltaD.js} +1 -1
  33. package/lib/edge/{get-block-properties--14I0FqA.cjs → get-block-properties-_upYTgwb.cjs} +1 -1
  34. package/lib/edge/{index-_fUTINXy.js → index-47Iqxag2.js} +225 -216
  35. package/lib/edge/{index-78yK7PsD.cjs → index-i395EE2u.cjs} +6 -6
  36. package/lib/edge/index.cjs +1 -1
  37. package/lib/edge/index.mjs +1 -1
  38. package/lib/{node/live-edit-267vHpIq.cjs → edge/live-edit-NYmL2A7N.cjs} +1 -1
  39. package/lib/{node/live-edit-U9pCBdly.js → edge/live-edit-pS9LVcQU.js} +1 -1
  40. package/lib/edge/{repeated-block-nCuqUDP7.cjs → repeated-block-PQOSkxIA.cjs} +1 -1
  41. package/lib/edge/{repeated-block-F75iqpVr.js → repeated-block-YtApB6_A.js} +2 -2
  42. package/lib/edge/{style-wrapper-w933365M.js → style-wrapper-_yXwiJwO.js} +1 -1
  43. package/lib/edge/{style-wrapper-rVAWy7o_.cjs → style-wrapper-lmmE3giL.cjs} +1 -1
  44. package/lib/edge/style.css +1 -1
  45. package/lib/node/{awaiter-aepEb5fm.js → awaiter-DD7OMOMu.js} +1 -1
  46. package/lib/node/{awaiter-MgDlcUHI.cjs → awaiter-ef2JaOpA.cjs} +1 -1
  47. package/lib/node/{block-wrapper-3kiJne4m.cjs → block-wrapper-2UZEHIep.cjs} +1 -1
  48. package/lib/{edge/block-wrapper-fPMgU7lR.js → node/block-wrapper-QV4wX7ge.js} +3 -3
  49. package/lib/node/blocks/image/image.vue.d.ts +4 -3
  50. package/lib/node/{component-ref-TyXWBWEx.js → component-ref-BVAWbmSM.js} +5 -5
  51. package/lib/node/{component-ref-6kTApMRL.cjs → component-ref-PBLhD067.cjs} +1 -1
  52. package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -0
  53. package/lib/node/constants/sdk-version.d.ts +1 -1
  54. package/lib/node/{get-block-properties-3uCiF9Qm.cjs → get-block-properties-FqOAzbbj.cjs} +1 -1
  55. package/lib/node/{get-block-properties-NjyNQiag.js → get-block-properties-jtxNpCjP.js} +2 -2
  56. package/lib/node/{index-YYQAkk5S.js → index-ebgoy2dh.js} +61 -52
  57. package/lib/node/{index-9WZ86cun.cjs → index-sUYiBczF.cjs} +5 -5
  58. package/lib/node/index.cjs +1 -1
  59. package/lib/node/index.mjs +2 -2
  60. package/lib/node/init.cjs +1 -1
  61. package/lib/node/init.mjs +1 -1
  62. package/lib/{edge/live-edit-nbVPESOp.cjs → node/live-edit-GjqOXJlY.cjs} +1 -1
  63. package/lib/{edge/live-edit-9xqNMwhC.js → node/live-edit-WlaTJPy3.js} +1 -1
  64. package/lib/node/{repeated-block-BfYZqoE0.cjs → repeated-block-M3uZwBiE.cjs} +1 -1
  65. package/lib/node/{repeated-block-f2s-IUoM.js → repeated-block-u2S52SQe.js} +2 -2
  66. package/lib/node/{should-force-browser-runtime-in-node-HsyT-bd2.js → should-force-browser-runtime-in-node-0fyWCMQO.js} +1 -1
  67. package/lib/node/{should-force-browser-runtime-in-node-yK_d4v-W.cjs → should-force-browser-runtime-in-node-djPOsLG6.cjs} +1 -1
  68. package/lib/node/{style-wrapper-vHL9MNhi.cjs → style-wrapper-Kc9lgaOA.cjs} +1 -1
  69. package/lib/node/{style-wrapper-MJzB79lB.js → style-wrapper-OtcV4kQU.js} +2 -2
  70. package/lib/node/style.css +1 -1
  71. package/package.json +1 -1
@@ -173,7 +173,7 @@ const ui = () => {
173
173
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
174
174
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
175
175
  };
176
- }, Yr = "5.2.4", Qr = () => ({
176
+ }, Yr = "5.2.6", Qr = () => ({
177
177
  "X-Builder-SDK": G,
178
178
  "X-Builder-SDK-GEN": "2",
179
179
  "X-Builder-SDK-Version": Yr
@@ -193,12 +193,12 @@ const ui = () => {
193
193
  ue.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
194
194
  return;
195
195
  }
196
- }, Zr = async (e) => Lt(e), di = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Ne).join("; "), fi = [["secure", ""], ["SameSite", "None"]], hi = ({
196
+ }, Zr = async (e) => Lt(e), di = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Ne).join("; "), hi = [["secure", ""], ["SameSite", "None"]], fi = ({
197
197
  name: e,
198
198
  value: t,
199
199
  expires: n
200
200
  }) => {
201
- const o = (M() ? location.protocol === "https:" : !0) ? fi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", pi(window.location.hostname)], ...o];
201
+ const o = (M() ? location.protocol === "https:" : !0) ? hi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", pi(window.location.hostname)], ...o];
202
202
  return di(s);
203
203
  }, An = async ({
204
204
  name: e,
@@ -209,7 +209,7 @@ const ui = () => {
209
209
  try {
210
210
  if (!r)
211
211
  return;
212
- const o = hi({
212
+ const o = fi({
213
213
  name: e,
214
214
  value: t,
215
215
  expires: n
@@ -460,16 +460,16 @@ var V, $i = function(e) {
460
460
  return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Rr.test(String.fromCharCode(a));
461
461
  }
462
462
  function r(a, l) {
463
- for (var p = k, f = 1, P = 0; ; ) {
463
+ for (var p = k, h = 1, P = 0; ; ) {
464
464
  xt.lastIndex = P;
465
465
  var Q = xt.exec(p);
466
466
  if (Q && Q.index < a)
467
- ++f, P = Q.index + Q[0].length;
467
+ ++h, P = Q.index + Q[0].length;
468
468
  else
469
469
  break;
470
470
  }
471
471
  throw p = {
472
- line: f,
472
+ line: h,
473
473
  ab: a - P
474
474
  }, l += " (" + p.line + ":" + p.ab + ")", l = new SyntaxError(l), l.j = a, l.X = p, l.o = d, l;
475
475
  }
@@ -477,15 +477,15 @@ var V, $i = function(e) {
477
477
  a = a.split(" ");
478
478
  for (var l = /* @__PURE__ */ Object.create(null), p = 0; p < a.length; p++)
479
479
  l[a[p]] = !0;
480
- return function(f) {
481
- return l[f] || !1;
480
+ return function(h) {
481
+ return l[h] || !1;
482
482
  };
483
483
  }
484
484
  function i() {
485
485
  this.line = Ve, this.ab = d - ke;
486
486
  }
487
487
  function s(a, l) {
488
- Fe = d, O.C && (Qt = new i()), x = a, c(), fe = l, tt = a.m;
488
+ Fe = d, O.C && (Qt = new i()), x = a, c(), he = l, tt = a.m;
489
489
  }
490
490
  function u() {
491
491
  for (var a = d, l = O.va && O.C && new i(), p = k.charCodeAt(d += 2); d < Le && p !== 10 && p !== 13 && p !== 8232 && p !== 8233; )
@@ -506,11 +506,11 @@ var V, $i = function(e) {
506
506
  else if (a === 47)
507
507
  if (a = k.charCodeAt(d + 1), a === 42) {
508
508
  a = void 0;
509
- var l = O.va && O.C && new i(), p = d, f = k.indexOf("*/", d += 2);
510
- if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, O.C)
509
+ var l = O.va && O.C && new i(), p = d, h = k.indexOf("*/", d += 2);
510
+ if (h === -1 && r(d - 2, "Unterminated comment"), d = h + 2, O.C)
511
511
  for (xt.lastIndex = p; (a = xt.exec(k)) && a.index < d; )
512
512
  ++Ve, ke = a.index + a[0].length;
513
- O.va && O.va(!0, k.slice(p + 2, f), p, d, l, O.C && new i());
513
+ O.va && O.va(!0, k.slice(p + 2, h), p, d, l, O.C && new i());
514
514
  } else if (a === 47)
515
515
  u();
516
516
  else
@@ -575,11 +575,11 @@ var V, $i = function(e) {
575
575
  }
576
576
  if (p === 92) {
577
577
  p = k.charCodeAt(++d);
578
- var f = /^[0-7]+/.exec(k.slice(d, d + 3));
579
- for (f && (f = f[0]); f && 255 < parseInt(f, 8); )
580
- f = f.slice(0, -1);
581
- if (f === "0" && (f = null), ++d, f)
582
- ce && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(f, 8)), d += f.length - 1;
578
+ var h = /^[0-7]+/.exec(k.slice(d, d + 3));
579
+ for (h && (h = h[0]); h && 255 < parseInt(h, 8); )
580
+ h = h.slice(0, -1);
581
+ if (h === "0" && (h = null), ++d, h)
582
+ ce && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(h, 8)), d += h.length - 1;
583
583
  else
584
584
  switch (p) {
585
585
  case 110:
@@ -626,7 +626,7 @@ var V, $i = function(e) {
626
626
  }
627
627
  return;
628
628
  case 47:
629
- a = k.charCodeAt(d + 1), tt ? (++d, h()) : a === 61 ? b(De, 2) : b(kr, 1);
629
+ a = k.charCodeAt(d + 1), tt ? (++d, f()) : a === 61 ? b(De, 2) : b(kr, 1);
630
630
  return;
631
631
  case 37:
632
632
  case 42:
@@ -658,7 +658,7 @@ var V, $i = function(e) {
658
658
  }
659
659
  function y(a) {
660
660
  if (a ? d = Y + 1 : Y = d, O.C && (Yt = new i()), a)
661
- return h();
661
+ return f();
662
662
  if (d >= Le)
663
663
  return s(tn);
664
664
  if (a = k.charCodeAt(d), n(a) || a === 92)
@@ -673,20 +673,20 @@ var V, $i = function(e) {
673
673
  var p = k.slice(d, d + l);
674
674
  d += l, s(a, p);
675
675
  }
676
- function h() {
676
+ function f() {
677
677
  for (var a, l, p = d; ; ) {
678
678
  d >= Le && r(p, "Unterminated regexp");
679
- var f = k.charAt(d);
680
- if ($t.test(f) && r(p, "Unterminated regexp"), a)
679
+ var h = k.charAt(d);
680
+ if ($t.test(h) && r(p, "Unterminated regexp"), a)
681
681
  a = !1;
682
682
  else {
683
- if (f === "[")
683
+ if (h === "[")
684
684
  l = !0;
685
- else if (f === "]" && l)
685
+ else if (h === "]" && l)
686
686
  l = !1;
687
- else if (f === "/" && !l)
687
+ else if (h === "/" && !l)
688
688
  break;
689
- a = f === "\\";
689
+ a = h === "\\";
690
690
  }
691
691
  ++d;
692
692
  }
@@ -699,19 +699,19 @@ var V, $i = function(e) {
699
699
  s(er, P);
700
700
  }
701
701
  function S(a, l) {
702
- for (var p = d, f = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
702
+ for (var p = d, h = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
703
703
  var se = k.charCodeAt(d);
704
704
  if (se = 97 <= se ? se - 97 + 10 : 65 <= se ? se - 65 + 10 : 48 <= se && 57 >= se ? se - 48 : 1 / 0, se >= a)
705
705
  break;
706
- ++d, f = f * a + se;
706
+ ++d, h = h * a + se;
707
707
  }
708
- return d === p || l !== void 0 && d - p !== l ? null : f;
708
+ return d === p || l !== void 0 && d - p !== l ? null : h;
709
709
  }
710
710
  function A(a) {
711
- var l = d, p = !1, f = k.charCodeAt(d) === 48;
711
+ var l = d, p = !1, h = k.charCodeAt(d) === 48;
712
712
  a || S(10) !== null || r(l, "Invalid number"), k.charCodeAt(d) === 46 && (++d, S(10), p = !0), a = k.charCodeAt(d), (a === 69 || a === 101) && (a = k.charCodeAt(++d), a !== 43 && a !== 45 || ++d, S(10) === null && r(l, "Invalid number"), p = !0), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), a = k.slice(l, d);
713
713
  var P;
714
- p ? P = parseFloat(a) : f && a.length !== 1 ? /[89]/.test(a) || ce ? r(l, "Invalid number") : P = parseInt(a, 8) : P = parseInt(a, 10), s(rt, P);
714
+ p ? P = parseFloat(a) : h && a.length !== 1 ? /[89]/.test(a) || ce ? r(l, "Invalid number") : P = parseInt(a, 8) : P = parseInt(a, 10), s(rt, P);
715
715
  }
716
716
  function $(a) {
717
717
  return a = S(16, a), a === null && r(Y, "Bad character escape sequence"), a;
@@ -719,13 +719,13 @@ var V, $i = function(e) {
719
719
  function H() {
720
720
  Ke = !1;
721
721
  for (var a, l = !0, p = d; ; ) {
722
- var f = k.charCodeAt(d);
723
- if (t(f))
722
+ var h = k.charCodeAt(d);
723
+ if (t(h))
724
724
  Ke && (a += k.charAt(d)), ++d;
725
- else if (f === 92) {
726
- Ke || (a = k.slice(p, d)), Ke = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = $(4);
727
- var P = String.fromCharCode(f);
728
- P || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), a += P;
725
+ else if (h === 92) {
726
+ Ke || (a = k.slice(p, d)), Ke = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = $(4);
727
+ var P = String.fromCharCode(h);
728
+ P || r(d - 1, "Invalid Unicode escape"), (l ? n(h) : t(h)) || r(d - 4, "Invalid Unicode escape"), a += P;
729
729
  } else
730
730
  break;
731
731
  l = !1;
@@ -784,8 +784,8 @@ var V, $i = function(e) {
784
784
  function Tt(a) {
785
785
  a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), ce && a.type === "Identifier" && At(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
786
786
  }
787
- function he() {
788
- (x === kr || x === De && fe === "/=") && y(!0);
787
+ function fe() {
788
+ (x === kr || x === De && he === "/=") && y(!0);
789
789
  var a = x, l = K();
790
790
  switch (a) {
791
791
  case nn:
@@ -793,28 +793,28 @@ var V, $i = function(e) {
793
793
  E();
794
794
  var p = a === nn;
795
795
  L(we) || wt() ? l.label = null : x !== Me ? be() : (l.label = Se(), je());
796
- for (var f = 0; f < X.length; ++f) {
797
- var P = X[f];
796
+ for (var h = 0; h < X.length; ++h) {
797
+ var P = X[h];
798
798
  if ((l.label === null || P.name === l.label.name) && (P.kind !== null && (p || P.kind === "loop") || l.label && p))
799
799
  break;
800
800
  }
801
- return f === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
801
+ return h === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
802
802
  case rr:
803
803
  return E(), je(), R(l, "DebuggerStatement");
804
804
  case ir:
805
- return E(), X.push(pn), l.body = he(), X.pop(), J(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
805
+ return E(), X.push(pn), l.body = fe(), X.pop(), J(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
806
806
  case lr:
807
807
  return E(), X.push(pn), J(Ce), x === we ? Kt(l, null) : x === an ? (a = K(), E(), Qn(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? Yn(l, a) : Kt(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), Yn(l, a)) : Kt(l, a));
808
808
  case on:
809
809
  return E(), _t(l, !0);
810
810
  case ur:
811
- return E(), l.test = Qe(), l.da = he(), l.alternate = L(sr) ? he() : null, R(l, "IfStatement");
811
+ return E(), l.test = Qe(), l.da = fe(), l.alternate = L(sr) ? fe() : null, R(l, "IfStatement");
812
812
  case cr:
813
813
  return nt || O.Ib || r(Y, "'return' outside of function"), E(), L(we) || wt() ? l.K = null : (l.K = re(), je()), R(l, "ReturnStatement");
814
814
  case sn:
815
815
  for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Jo); x !== He; )
816
- x === rn || x === or ? (a = x === rn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], E(), a ? f.test = re() : (p && r(Zt, "Multiple default clauses"), p = !0, f.test = null), J(it)) : (f || be(), f.da.push(he()));
817
- return f && R(f, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
816
+ x === rn || x === or ? (a = x === rn, h && R(h, "SwitchCase"), l.tb.push(h = K()), h.da = [], E(), a ? h.test = re() : (p && r(Zt, "Multiple default clauses"), p = !0, h.test = null), J(it)) : (h || be(), h.da.push(fe()));
817
+ return h && R(h, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
818
818
  case pr:
819
819
  return E(), $t.test(k.slice($e, Y)) && r($e, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
820
820
  case dr:
@@ -822,21 +822,21 @@ var V, $i = function(e) {
822
822
  case an:
823
823
  return E(), Qn(l), je(), R(l, "VariableDeclaration");
824
824
  case ln:
825
- return E(), l.test = Qe(), X.push(pn), l.body = he(), X.pop(), R(l, "WhileStatement");
826
- case fr:
827
- return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = he(), R(l, "WithStatement");
825
+ return E(), l.test = Qe(), X.push(pn), l.body = fe(), X.pop(), R(l, "WhileStatement");
826
+ case hr:
827
+ return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = fe(), R(l, "WithStatement");
828
828
  case ot:
829
829
  return Ze();
830
830
  case we:
831
831
  return E(), R(l, "EmptyStatement");
832
832
  default:
833
- if (p = fe, P = re(), a === Me && P.type === "Identifier" && L(it)) {
834
- for (f = 0; f < X.length; ++f)
835
- X[f].name === p && r(P.start, "Label '" + p + "' is already declared");
833
+ if (p = he, P = re(), a === Me && P.type === "Identifier" && L(it)) {
834
+ for (h = 0; h < X.length; ++h)
835
+ X[h].name === p && r(P.start, "Label '" + p + "' is already declared");
836
836
  return X.push({
837
837
  name: p,
838
838
  kind: x.W ? "loop" : x === sn ? "switch" : null
839
- }), l.body = he(), X.pop(), l.label = P, R(l, "LabeledStatement");
839
+ }), l.body = fe(), X.pop(), l.label = P, R(l, "LabeledStatement");
840
840
  }
841
841
  return l.la = P, je(), R(l, "ExpressionStatement");
842
842
  }
@@ -847,22 +847,22 @@ var V, $i = function(e) {
847
847
  return J(ge), a;
848
848
  }
849
849
  function Ze(a) {
850
- var l = K(), p = !0, f = !1;
850
+ var l = K(), p = !0, h = !1;
851
851
  for (l.body = [], J(ot); !L(He); ) {
852
- var P = he();
852
+ var P = fe();
853
853
  if (l.body.push(P), p && a && We(P)) {
854
- var Q = f;
855
- D(f = !0);
854
+ var Q = h;
855
+ D(h = !0);
856
856
  }
857
857
  p = !1;
858
858
  }
859
- return f && !Q && D(!1), R(l, "BlockStatement");
859
+ return h && !Q && D(!1), R(l, "BlockStatement");
860
860
  }
861
861
  function Kt(a, l) {
862
- return a.ua = l, J(we), a.test = x === we ? null : re(), J(we), a.update = x === ge ? null : re(), J(ge), a.body = he(), X.pop(), R(a, "ForStatement");
862
+ return a.ua = l, J(we), a.test = x === we ? null : re(), J(we), a.update = x === ge ? null : re(), J(ge), a.body = fe(), X.pop(), R(a, "ForStatement");
863
863
  }
864
864
  function Yn(a, l) {
865
- return a.left = l, a.right = re(), J(ge), a.body = he(), X.pop(), R(a, "ForInStatement");
865
+ return a.left = l, a.right = re(), J(ge), a.body = fe(), X.pop(), R(a, "ForInStatement");
866
866
  }
867
867
  function Qn(a, l) {
868
868
  for (a.fa = [], a.kind = "var"; ; ) {
@@ -886,23 +886,23 @@ var V, $i = function(e) {
886
886
  var p = _(l);
887
887
  p.test = l, p.da = re(!0), J(it), p.alternate = re(!0, a), l = R(p, "ConditionalExpression");
888
888
  }
889
- return x.Cb ? (p = _(l), p.operator = fe, p.left = l, E(), p.right = zt(a), Tt(l), R(p, "AssignmentExpression")) : l;
889
+ return x.Cb ? (p = _(l), p.operator = he, p.left = l, E(), p.right = zt(a), Tt(l), R(p, "AssignmentExpression")) : l;
890
890
  }
891
891
  function qt(a, l, p) {
892
- var f = x.L;
893
- if (f !== null && (!p || x !== Rt) && f > l) {
892
+ var h = x.L;
893
+ if (h !== null && (!p || x !== Rt) && h > l) {
894
894
  var P = _(a);
895
- return P.left = a, P.operator = fe, a = x, E(), P.right = qt(Gt(), f, p), f = R(P, a === Tr || a === Er ? "LogicalExpression" : "BinaryExpression"), qt(f, l, p);
895
+ return P.left = a, P.operator = he, a = x, E(), P.right = qt(Gt(), h, p), h = R(P, a === Tr || a === Er ? "LogicalExpression" : "BinaryExpression"), qt(h, l, p);
896
896
  }
897
897
  return a;
898
898
  }
899
899
  function Gt() {
900
900
  if (x.prefix) {
901
901
  var a = K(), l = x.$b;
902
- return a.operator = fe, tt = a.prefix = !0, E(), a.K = Gt(), l ? Tt(a.K) : ce && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), R(a, l ? "UpdateExpression" : "UnaryExpression");
902
+ return a.operator = he, tt = a.prefix = !0, E(), a.K = Gt(), l ? Tt(a.K) : ce && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), R(a, l ? "UpdateExpression" : "UnaryExpression");
903
903
  }
904
904
  for (l = et(Et()); x.cc && !wt(); )
905
- a = _(l), a.operator = fe, a.prefix = !1, a.K = l, Tt(l), E(), l = R(a, "UpdateExpression");
905
+ a = _(l), a.operator = he, a.prefix = !1, a.K = l, Tt(l), E(), l = R(a, "UpdateExpression");
906
906
  return l;
907
907
  }
908
908
  function et(a, l) {
@@ -922,7 +922,7 @@ var V, $i = function(e) {
922
922
  case rt:
923
923
  case It:
924
924
  case er:
925
- return a = K(), a.value = fe, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
925
+ return a = K(), a.value = he, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
926
926
  case gr:
927
927
  case yr:
928
928
  case vr:
@@ -941,28 +941,28 @@ var V, $i = function(e) {
941
941
  l = !1;
942
942
  else if (J(xe), O.sb && L(He))
943
943
  break;
944
- var f = {
944
+ var h = {
945
945
  key: x === rt || x === It ? Et() : Se(!0)
946
946
  }, P = !1;
947
947
  if (L(it)) {
948
- f.value = re(!0);
949
- var Q = f.kind = "init";
948
+ h.value = re(!0);
949
+ var Q = h.kind = "init";
950
950
  } else
951
- f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? be() : (P = p = !0, Q = f.kind = f.key.name, f.key = x === rt || x === It ? Et() : Se(!0), x !== Ce && be(), f.value = _t(K(), !1));
952
- if (f.key.type === "Identifier" && (ce || p))
951
+ h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? be() : (P = p = !0, Q = h.kind = h.key.name, h.key = x === rt || x === It ? Et() : Se(!0), x !== Ce && be(), h.value = _t(K(), !1));
952
+ if (h.key.type === "Identifier" && (ce || p))
953
953
  for (var se = 0; se < a.h.length; ++se) {
954
954
  var ze = a.h[se];
955
- if (ze.key.name === f.key.name) {
955
+ if (ze.key.name === h.key.name) {
956
956
  var dn = Q === ze.kind || P && ze.kind === "init" || Q === "init" && (ze.kind === "get" || ze.kind === "set");
957
- dn && !ce && Q === "init" && ze.kind === "init" && (dn = !1), dn && r(f.key.start, "Redefinition of property");
957
+ dn && !ce && Q === "init" && ze.kind === "init" && (dn = !1), dn && r(h.key.start, "Redefinition of property");
958
958
  }
959
959
  }
960
- a.h.push(f);
960
+ a.h.push(h);
961
961
  }
962
962
  return R(a, "ObjectExpression");
963
963
  case on:
964
964
  return a = K(), E(), _t(a, !1);
965
- case hr:
965
+ case fr:
966
966
  return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? Jt(ge, !1) : Bo, R(a, "NewExpression");
967
967
  }
968
968
  be();
@@ -973,28 +973,28 @@ var V, $i = function(e) {
973
973
  for (J(Ce); !L(ge); )
974
974
  p ? p = !1 : J(xe), a.oa.push(Se());
975
975
  p = nt;
976
- var f = X;
977
- if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = f, ce || a.body.body.length && We(a.body.body[0])) {
976
+ var h = X;
977
+ if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = h, ce || a.body.body.length && We(a.body.body[0])) {
978
978
  for (p = a.id ? -1 : 0; p < a.oa.length; ++p)
979
- if (f = 0 > p ? a.id : a.oa[p], (Ir(f.name) || At(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= p)
979
+ if (h = 0 > p ? a.id : a.oa[p], (Ir(h.name) || At(h.name)) && r(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= p)
980
980
  for (var P = 0; P < p; ++P)
981
- f.name === a.oa[P].name && r(f.start, "Argument name clash in strict mode");
981
+ h.name === a.oa[P].name && r(h.start, "Argument name clash in strict mode");
982
982
  }
983
983
  return R(a, l ? "FunctionDeclaration" : "FunctionExpression");
984
984
  }
985
985
  function Jt(a, l, p) {
986
- for (var f = [], P = !0; !L(a); ) {
986
+ for (var h = [], P = !0; !L(a); ) {
987
987
  if (P)
988
988
  P = !1;
989
989
  else if (J(xe), l && O.sb && L(a))
990
990
  break;
991
- f.push(p && x === xe ? null : re(!0));
991
+ h.push(p && x === xe ? null : re(!0));
992
992
  }
993
- return f;
993
+ return h;
994
994
  }
995
995
  function Se(a) {
996
996
  var l = K();
997
- return a && O.yb === "everywhere" && (a = !1), x === Me ? (!a && (O.yb && zo(fe) || ce && Ir(fe)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && x.l ? l.name = x.l : be(), tt = !1, E(), R(l, "Identifier");
997
+ return a && O.yb === "everywhere" && (a = !1), x === Me ? (!a && (O.yb && zo(he) || ce && Ir(he)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + he + "' is reserved"), l.name = he) : a && x.l ? l.name = x.l : be(), tt = !1, E(), R(l, "Identifier");
998
998
  }
999
999
  e.version = "0.5.0";
1000
1000
  var O, k = "", Le, Xt;
@@ -1003,7 +1003,7 @@ var V, $i = function(e) {
1003
1003
  for (var p in Zn)
1004
1004
  Object.prototype.hasOwnProperty.call(O, p) || (O[p] = Zn[p]);
1005
1005
  for (Xt = O.sourceFile, Ve = 1, d = ke = 0, tt = !0, c(), p = O.dc, Zt = $e = d, O.C && (en = new i()), nt = ce = !1, X = [], y(), a = p || K(), l = !0, p || (a.body = []); x !== tn; )
1006
- p = he(), a.body.push(p), l && We(p) && D(!0), l = !1;
1006
+ p = fe(), a.body.push(p), l && We(p) && D(!0), l = !1;
1007
1007
  return R(a, "Program");
1008
1008
  };
1009
1009
  var Zn = {
@@ -1017,7 +1017,7 @@ var V, $i = function(e) {
1017
1017
  dc: null,
1018
1018
  sourceFile: null,
1019
1019
  vb: null
1020
- }, d = 0, Y = 0, Fe = 0, Yt, Qt, x, fe, tt, Ve, ke, Zt = 0, $e = 0, en, nt, X, ce, Bo = [], rt = {
1020
+ }, d = 0, Y = 0, Fe = 0, Yt, Qt, x, he, tt, Ve, ke, Zt = 0, $e = 0, en, nt, X, ce, Bo = [], rt = {
1021
1021
  type: "num"
1022
1022
  }, er = {
1023
1023
  type: "regexp"
@@ -1070,9 +1070,9 @@ var V, $i = function(e) {
1070
1070
  }, ln = {
1071
1071
  l: "while",
1072
1072
  W: !0
1073
- }, fr = {
1074
- l: "with"
1075
1073
  }, hr = {
1074
+ l: "with"
1075
+ }, fr = {
1076
1076
  l: "new",
1077
1077
  m: !0
1078
1078
  }, mr = {
@@ -1109,11 +1109,11 @@ var V, $i = function(e) {
1109
1109
  try: dr,
1110
1110
  var: an,
1111
1111
  while: ln,
1112
- with: fr,
1112
+ with: hr,
1113
1113
  null: gr,
1114
1114
  true: yr,
1115
1115
  false: vr,
1116
- new: hr,
1116
+ new: fr,
1117
1117
  in: Rt,
1118
1118
  instanceof: {
1119
1119
  l: "instanceof",
@@ -1268,12 +1268,12 @@ var Ar = {
1268
1268
  VALUE_IN_DESCRIPTOR: !0
1269
1269
  }, qe = {
1270
1270
  REGEXP_TIMEOUT: !0
1271
- }, xr = [], Ee = null, ft = null, Be = typeof globalThis > "u" ? void 0 : globalThis, xi = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1271
+ }, xr = [], Ee = null, ht = null, Be = typeof globalThis > "u" ? void 0 : globalThis, xi = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1272
1272
  function On(e) {
1273
1273
  var t = e >>> 0;
1274
1274
  return t === Number(e) ? t : NaN;
1275
1275
  }
1276
- function ht(e) {
1276
+ function ft(e) {
1277
1277
  var t = e >>> 0;
1278
1278
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
1279
1279
  }
@@ -1327,15 +1327,15 @@ V.lb = function() {
1327
1327
  break;
1328
1328
  }
1329
1329
  r = n.node;
1330
- var o = ft;
1331
- ft = this;
1330
+ var o = ht;
1331
+ ht = this;
1332
1332
  try {
1333
1333
  var i = this.rb[r.type](e, n, r);
1334
1334
  } catch (s) {
1335
1335
  if (s !== io)
1336
1336
  throw this.value !== s && (this.value = void 0), s;
1337
1337
  } finally {
1338
- ft = o;
1338
+ ht = o;
1339
1339
  }
1340
1340
  if (i && e.push(i), this.P)
1341
1341
  throw this.value = void 0, Error("Getter not supported in this context");
@@ -1908,7 +1908,7 @@ V.G = function(e, t) {
1908
1908
  if (ne(this, e, this.J))
1909
1909
  return String(e).length;
1910
1910
  } else if (64 > t.charCodeAt(0) && ne(this, e, this.J)) {
1911
- var n = ht(t);
1911
+ var n = ft(t);
1912
1912
  if (!isNaN(n) && n < String(e).length)
1913
1913
  return String(e)[n];
1914
1914
  }
@@ -1923,7 +1923,7 @@ function Mt(e, t, n) {
1923
1923
  if (n = String(n), n === "length" && ne(e, t, e.J))
1924
1924
  return !0;
1925
1925
  if (ne(e, t, e.J)) {
1926
- var r = ht(n);
1926
+ var r = ft(n);
1927
1927
  if (!isNaN(r) && r < String(t).length)
1928
1928
  return !0;
1929
1929
  }
@@ -1942,7 +1942,7 @@ V.g = function(e, t, n, r) {
1942
1942
  var o = !this.o || Vn(this).S;
1943
1943
  if (e instanceof N) {
1944
1944
  if (ne(this, e, this.J)) {
1945
- var i = ht(t);
1945
+ var i = ft(t);
1946
1946
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1947
1947
  o && I(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1948
1948
  return;
@@ -1957,11 +1957,11 @@ V.g = function(e, t, n, r) {
1957
1957
  }
1958
1958
  if (n = On(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
1959
1959
  for (s in e.h) {
1960
- var s = ht(s);
1960
+ var s = ft(s);
1961
1961
  !isNaN(s) && n <= s && delete e.h[s];
1962
1962
  }
1963
1963
  } else
1964
- isNaN(s = ht(t)) || (e.h.length = Math.max(i, s + 1));
1964
+ isNaN(s = ft(t)) || (e.h.length = Math.max(i, s + 1));
1965
1965
  if (!e.preventExtensions || t in e.h)
1966
1966
  if (r) {
1967
1967
  o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== yt && (o.value = n, delete e.V[t], delete e.Y[t]);
@@ -2233,7 +2233,7 @@ function Fn(e, t, n, r) {
2233
2233
  var o = e.ya();
2234
2234
  return o.type = "CallExpression", e = new T(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
2235
2235
  }
2236
- function fn(e, t) {
2236
+ function hn(e, t) {
2237
2237
  return t == null ? e.Na : t instanceof N ? t : (e = e.s(Ie(e, t)), e.data = t, e);
2238
2238
  }
2239
2239
  V.Xb = function() {
@@ -2259,7 +2259,7 @@ V.xa = null;
2259
2259
  V.H = "Object";
2260
2260
  V.data = null;
2261
2261
  V.toString = function() {
2262
- if (!ft)
2262
+ if (!ht)
2263
2263
  return "[object Interpreter.Object]";
2264
2264
  if (!(this instanceof N))
2265
2265
  return String(this);
@@ -2307,7 +2307,7 @@ V.toString = function() {
2307
2307
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
2308
2308
  };
2309
2309
  V.valueOf = function() {
2310
- return !ft || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2310
+ return !ht || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2311
2311
  };
2312
2312
  function Hi(e, t, n, r, o) {
2313
2313
  this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Ki, this.time = 0;
@@ -2501,7 +2501,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2501
2501
  this.g(r, o, t.F[o]);
2502
2502
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2503
2503
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
2504
- return n.S || (t.B = fn(this, t.B)), this.g(n.object, "this", t.B, Pn), t.value = void 0, new T(e.body, n);
2504
+ return n.S || (t.B = hn(this, t.B)), this.g(n.object, "this", t.B, Pn), t.value = void 0, new T(e.body, n);
2505
2505
  }
2506
2506
  if (o.eval)
2507
2507
  if (o = t.F[0], typeof o != "string")
@@ -2515,12 +2515,12 @@ g.prototype.stepCallExpression = function(e, t, n) {
2515
2515
  return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Ft(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = kn(this, r, n) : vt(this, r, n), this.value = void 0, new T(o, n);
2516
2516
  }
2517
2517
  else if (o.Ta)
2518
- t.scope.S || (t.B = fn(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2518
+ t.scope.S || (t.B = hn(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2519
2519
  else if (o.Za) {
2520
2520
  var s = this;
2521
2521
  r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(u) {
2522
2522
  t.value = u, s.za = !1;
2523
- }), this.za = !0, t.scope.S || (t.B = fn(this, t.B)), o.Za.apply(t.B, r);
2523
+ }), this.za = !0, t.scope.S || (t.B = hn(this, t.B)), o.Za.apply(t.B, r);
2524
2524
  } else
2525
2525
  I(this, this.j, ae(this, n.callee) + " is not callable");
2526
2526
  }
@@ -2921,7 +2921,7 @@ function theFunction() {
2921
2921
  ${y}
2922
2922
  }
2923
2923
  theFunction();
2924
- `, h = function($, H) {
2924
+ `, f = function($, H) {
2925
2925
  c.forEach(([te, E]) => {
2926
2926
  if (te === "state")
2927
2927
  $.setProperty(H, te, $.createConnectedObject(E), $.READONLY_DESCRIPTOR);
@@ -2930,7 +2930,7 @@ theFunction();
2930
2930
  $.setProperty(H, Nr(te), D);
2931
2931
  }
2932
2932
  });
2933
- }, S = new g(b, h);
2933
+ }, S = new g(b, f);
2934
2934
  return S.run(), S.pseudoToNative(S.value);
2935
2935
  };
2936
2936
  function _i() {
@@ -3193,7 +3193,7 @@ function rc(e) {
3193
3193
  parent.postMessage(t, "*");
3194
3194
  }
3195
3195
  }
3196
- const Vr = "builder.", ds = "options.", fo = (e) => {
3196
+ const Vr = "builder.", ds = "options.", ho = (e) => {
3197
3197
  if (!e)
3198
3198
  return {};
3199
3199
  const t = _r(e), n = {};
@@ -3203,17 +3203,20 @@ const Vr = "builder.", ds = "options.", fo = (e) => {
3203
3203
  n[o] = t[r];
3204
3204
  }
3205
3205
  }), n;
3206
- }, fs = () => {
3206
+ }, hs = () => {
3207
3207
  if (!M())
3208
3208
  return {};
3209
3209
  const e = new URLSearchParams(window.location.search);
3210
- return fo(e);
3211
- }, hs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3212
- function ho(e, t) {
3213
- if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
3210
+ return ho(e);
3211
+ }, fs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3212
+ function fo(e, t) {
3213
+ let n;
3214
+ try {
3215
+ n = new URL(t.origin);
3216
+ } catch {
3214
3217
  return !1;
3215
- const n = new URL(t.origin), r = n.hostname;
3216
- return (e || hs).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3218
+ }
3219
+ return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || fs).findIndex((r) => r.startsWith("*.") ? n.hostname.endsWith(r.slice(1)) : r === n.hostname) > -1;
3217
3220
  }
3218
3221
  let Dr = !1;
3219
3222
  const mo = (e) => {
@@ -3240,7 +3243,7 @@ const mo = (e) => {
3240
3243
  }
3241
3244
  }, "*"), window.addEventListener("message", (r) => {
3242
3245
  var i, s;
3243
- if (!ho(e.trustedHosts, r))
3246
+ if (!fo(e.trustedHosts, r))
3244
3247
  return;
3245
3248
  const {
3246
3249
  data: o
@@ -3249,17 +3252,17 @@ const mo = (e) => {
3249
3252
  switch (o.type) {
3250
3253
  case "builder.evaluate": {
3251
3254
  const u = o.data.text, c = o.data.arguments || [], m = o.data.id, y = new Function(u);
3252
- let b, h = null;
3255
+ let b, f = null;
3253
3256
  try {
3254
3257
  b = y.apply(null, c);
3255
3258
  } catch (S) {
3256
- h = S;
3259
+ f = S;
3257
3260
  }
3258
- h ? (i = window.parent) == null || i.postMessage({
3261
+ f ? (i = window.parent) == null || i.postMessage({
3259
3262
  type: "builder.evaluateError",
3260
3263
  data: {
3261
3264
  id: m,
3262
- error: h.message
3265
+ error: f.message
3263
3266
  }
3264
3267
  }, "*") : b && typeof b.then == "function" ? b.then((S) => {
3265
3268
  var A;
@@ -3286,7 +3289,7 @@ const mo = (e) => {
3286
3289
  trustedHosts: t,
3287
3290
  callbacks: n
3288
3291
  }) => (r) => {
3289
- if (!ho(t, r))
3292
+ if (!fo(t, r))
3290
3293
  return;
3291
3294
  const {
3292
3295
  data: o
@@ -3535,7 +3538,7 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
3535
3538
  fields: m,
3536
3539
  omit: y,
3537
3540
  offset: b,
3538
- cacheSeconds: h,
3541
+ cacheSeconds: f,
3539
3542
  staleCacheSeconds: S,
3540
3543
  sort: A,
3541
3544
  includeUnpublished: $,
@@ -3548,7 +3551,7 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
3548
3551
  const te = t !== 1, E = H || "https://cdn.builder.io", D = new URL(`${E}/api/${c}/content/${o}`);
3549
3552
  D.searchParams.set("apiKey", i), D.searchParams.set("limit", String(t)), D.searchParams.set("noTraverse", String(te)), D.searchParams.set("includeRefs", String(!0)), u && D.searchParams.set("locale", u);
3550
3553
  let ie = n || {};
3551
- if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), m && D.searchParams.set("fields", m), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), h && Lr(h) && D.searchParams.set("cacheSeconds", String(h)), S && Lr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3554
+ if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), m && D.searchParams.set("fields", m), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), f && Lr(f) && D.searchParams.set("cacheSeconds", String(f)), S && Lr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3552
3555
  const _ = Tn({
3553
3556
  sort: A
3554
3557
  });
@@ -3556,7 +3559,7 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
3556
3559
  D.searchParams.set(R, JSON.stringify(_[R]));
3557
3560
  }
3558
3561
  const Ae = {
3559
- ...fs(),
3562
+ ...hs(),
3560
3563
  ..._r(e.options || {})
3561
3564
  };
3562
3565
  ie = {
@@ -3651,7 +3654,7 @@ const sc = async (e) => {
3651
3654
  urlPath: t
3652
3655
  } : {}
3653
3656
  },
3654
- options: fo(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3657
+ options: ho(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3655
3658
  };
3656
3659
  return {
3657
3660
  apiKey: n.apiKey,
@@ -3742,8 +3745,8 @@ function Vs(e) {
3742
3745
  leading: !1
3743
3746
  });
3744
3747
  function u(y) {
3745
- const b = y.getBoundingClientRect(), h = window.innerHeight, A = (e.thresholdPercent || 0) / 100 * h;
3746
- return b.bottom > A && b.top < h - A;
3748
+ const b = y.getBoundingClientRect(), f = window.innerHeight, A = (e.thresholdPercent || 0) / 100 * f;
3749
+ return b.bottom > A && b.top < f - A;
3747
3750
  }
3748
3751
  const c = e.steps[0].styles;
3749
3752
  function m() {
@@ -3875,22 +3878,22 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3875
3878
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3876
3879
  e
3877
3880
  ), e;
3878
- }), Gs = () => import("./block-wrapper-fPMgU7lR.js").then((e) => e.default).catch((e) => {
3881
+ }), Gs = () => import("./block-wrapper-1dKtPesr.js").then((e) => e.default).catch((e) => {
3879
3882
  throw console.error(
3880
3883
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3881
3884
  e
3882
3885
  ), e;
3883
- }), _s = () => import("./component-ref-JHSTjcJx.js").then((e) => e.default).catch((e) => {
3886
+ }), _s = () => import("./component-ref-e50s6g-8.js").then((e) => e.default).catch((e) => {
3884
3887
  throw console.error(
3885
3888
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3886
3889
  e
3887
3890
  ), e;
3888
- }), Js = () => import("./repeated-block-F75iqpVr.js").then((e) => e.default).catch((e) => {
3891
+ }), Js = () => import("./repeated-block-YtApB6_A.js").then((e) => e.default).catch((e) => {
3889
3892
  throw console.error(
3890
3893
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3891
3894
  e
3892
3895
  ), e;
3893
- }), Xs = () => import("./style-wrapper-w933365M.js").then((e) => e.default).catch((e) => {
3896
+ }), Xs = () => import("./style-wrapper-_yXwiJwO.js").then((e) => e.default).catch((e) => {
3894
3897
  throw console.error(
3895
3898
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
3896
3899
  e
@@ -4000,10 +4003,10 @@ function Qs(e, t, n, r, o, i) {
4000
4003
  id: e.block.id
4001
4004
  }, null, 8, ["block", "context", "id"]),
4002
4005
  (b = e.blockComponent) != null && b.noWrap ? (v(), w(z, { key: 1 }, [
4003
- e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (h, S) => (v(), U(y, {
4006
+ e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (f, S) => (v(), U(y, {
4004
4007
  key: e.generateKey(S),
4005
- repeatContext: h.context,
4006
- block: h.block,
4008
+ repeatContext: f.context,
4009
+ block: f.block,
4007
4010
  registeredComponents: e.registeredComponents,
4008
4011
  linkComponent: e.linkComponent
4009
4012
  }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(u, {
@@ -4019,10 +4022,10 @@ function Qs(e, t, n, r, o, i) {
4019
4022
  isInteractive: e.componentRefProps.isInteractive
4020
4023
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
4021
4024
  ], 64)) : (v(), w(z, { key: 0 }, [
4022
- e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (h, S) => (v(), U(y, {
4025
+ e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (f, S) => (v(), U(y, {
4023
4026
  key: e.generateKey(S),
4024
- repeatContext: h.context,
4025
- block: h.block,
4027
+ repeatContext: f.context,
4028
+ block: f.block,
4026
4029
  registeredComponents: e.registeredComponents,
4027
4030
  linkComponent: e.linkComponent
4028
4031
  }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(m, {
@@ -4043,9 +4046,9 @@ function Qs(e, t, n, r, o, i) {
4043
4046
  includeBlockProps: e.componentRefProps.includeBlockProps,
4044
4047
  isInteractive: e.componentRefProps.isInteractive
4045
4048
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
4046
- (v(!0), w(z, null, ve(e.childrenWithoutParentComponent, (h, S) => (v(), U(c, {
4047
- key: h.id,
4048
- block: h,
4049
+ (v(!0), w(z, null, ve(e.childrenWithoutParentComponent, (f, S) => (v(), U(c, {
4050
+ key: f.id,
4051
+ block: f,
4049
4052
  registeredComponents: e.registeredComponents,
4050
4053
  linkComponent: e.linkComponent,
4051
4054
  context: e.context
@@ -4179,11 +4182,11 @@ function ra(e, t, n, r, o, i) {
4179
4182
  }, {
4180
4183
  default: me(() => [
4181
4184
  pe(e.$slots, "default"),
4182
- e.blocks ? (v(!0), w(z, { key: 0 }, ve(e.blocks, (h, S) => {
4185
+ e.blocks ? (v(!0), w(z, { key: 0 }, ve(e.blocks, (f, S) => {
4183
4186
  var A;
4184
4187
  return v(), U(s, {
4185
- key: h.id,
4186
- block: h,
4188
+ key: f.id,
4189
+ block: f,
4187
4190
  linkComponent: e.linkComponent,
4188
4191
  context: e.context || e.builderContext,
4189
4192
  registeredComponents: e.registeredComponents || ((A = e.componentsContext) == null ? void 0 : A.registeredComponents)
@@ -4455,12 +4458,12 @@ const pa = /* @__PURE__ */ j(ua, [["render", ca], ["__scopeId", "data-v-ab15749a
4455
4458
  name: "builder-fragment-component",
4456
4459
  props: []
4457
4460
  });
4458
- function fa(e, t, n, r, o, i) {
4461
+ function ha(e, t, n, r, o, i) {
4459
4462
  return v(), w("span", null, [
4460
4463
  pe(e.$slots, "default")
4461
4464
  ]);
4462
4465
  }
4463
- const ha = /* @__PURE__ */ j(da, [["render", fa]]);
4466
+ const fa = /* @__PURE__ */ j(da, [["render", ha]]);
4464
4467
  function Fr(e) {
4465
4468
  return e.replace(/http(s)?:/, "");
4466
4469
  }
@@ -4499,14 +4502,14 @@ const ya = B({
4499
4502
  "src",
4500
4503
  "srcset",
4501
4504
  "noWebp",
4502
- "aspectRatio",
4505
+ "sizes",
4503
4506
  "highPriority",
4507
+ "aspectRatio",
4504
4508
  "altText",
4505
4509
  "title",
4506
4510
  "backgroundPosition",
4507
4511
  "backgroundSize",
4508
4512
  "className",
4509
- "sizes",
4510
4513
  "builderBlock",
4511
4514
  "fitContent"
4512
4515
  ],
@@ -4531,6 +4534,9 @@ const ya = B({
4531
4534
  var e;
4532
4535
  return (e = this.srcSetToUse) != null && e.match(/builder\.io/) && !this.noWebp ? this.srcSetToUse.replace(/\?/g, "?format=webp&") : "";
4533
4536
  },
4537
+ sizesToUse() {
4538
+ return this.sizes || (this.highPriority ? void 0 : "auto");
4539
+ },
4534
4540
  aspectRatioCss() {
4535
4541
  const e = {
4536
4542
  position: "absolute",
@@ -4542,7 +4548,7 @@ const ya = B({
4542
4548
  return this.aspectRatio ? e : void 0;
4543
4549
  }
4544
4550
  }
4545
- }), va = ["srcset"], ba = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Sa = {
4551
+ }), va = ["srcset", "sizes"], ba = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Sa = {
4546
4552
  key: 2,
4547
4553
  class: "div-t43jfuqn6g-2"
4548
4554
  };
@@ -4553,7 +4559,8 @@ function ka(e, t, n, r, o, i) {
4553
4559
  e.webpSrcSet ? (v(), w("source", {
4554
4560
  key: 0,
4555
4561
  type: "image/webp",
4556
- srcset: e.webpSrcSet
4562
+ srcset: e.webpSrcSet,
4563
+ sizes: e.sizesToUse
4557
4564
  }, null, 8, va)) : F("", !0),
4558
4565
  Ge("img", {
4559
4566
  loading: e.highPriority ? "eager" : "lazy",
@@ -4571,7 +4578,7 @@ function ka(e, t, n, r, o, i) {
4571
4578
  ),
4572
4579
  src: e.image,
4573
4580
  srcset: e.srcSetToUse,
4574
- sizes: e.sizes
4581
+ sizes: e.sizesToUse
4575
4582
  }, null, 14, ba)
4576
4583
  ]),
4577
4584
  e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (v(), w("div", {
@@ -4587,7 +4594,7 @@ function ka(e, t, n, r, o, i) {
4587
4594
  ])) : F("", !0)
4588
4595
  ], 64);
4589
4596
  }
4590
- const Ca = /* @__PURE__ */ j(ya, [["render", ka], ["__scopeId", "data-v-741b9bbc"]]), wa = B({
4597
+ const Ca = /* @__PURE__ */ j(ya, [["render", ka], ["__scopeId", "data-v-17b592cd"]]), wa = B({
4591
4598
  name: "builder-section-component",
4592
4599
  props: ["attributes", "maxWidth"],
4593
4600
  data() {
@@ -4622,21 +4629,21 @@ function Ia(e, t, n, r) {
4622
4629
  }
4623
4630
  function s(m, y) {
4624
4631
  return (() => {
4625
- const h = y.property, S = y.operator;
4632
+ const f = y.property, S = y.operator;
4626
4633
  let A = y.value;
4627
- if (y && y.property === "urlPath" && y.value && typeof y.value == "string" && y.value !== "/" && y.value.endsWith("/") && (A = y.value.slice(0, -1)), !(h && S))
4634
+ if (y && y.property === "urlPath" && y.value && typeof y.value == "string" && y.value !== "/" && y.value.endsWith("/") && (A = y.value.slice(0, -1)), !(f && S))
4628
4635
  return !0;
4629
4636
  if (Array.isArray(A))
4630
4637
  return S === "isNot" ? A.every((H) => s(m, {
4631
- property: h,
4638
+ property: f,
4632
4639
  operator: S,
4633
4640
  value: H
4634
4641
  })) : !!A.find((H) => s(m, {
4635
- property: h,
4642
+ property: f,
4636
4643
  operator: S,
4637
4644
  value: H
4638
4645
  }));
4639
- const $ = m[h];
4646
+ const $ = m[f];
4640
4647
  if (Array.isArray($))
4641
4648
  return $.includes(A);
4642
4649
  switch (S) {
@@ -4877,7 +4884,7 @@ const Na = () => `
4877
4884
  window.${xa} = ${Aa}
4878
4885
  window.${$o} = ${Ra}
4879
4886
  window.${xo} = ${$a}
4880
- `, No = G === "react", Ba = (e, t, n) => `window.${$o}(${JSON.stringify(e)}, "${t}", ${No}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${xo}(${JSON.stringify(e)}, "${t}", ${No}${n ? `, "${n}"` : ""})`, hn = {
4887
+ `, No = G === "react", Ba = (e, t, n) => `window.${$o}(${JSON.stringify(e)}, "${t}", ${No}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${xo}(${JSON.stringify(e)}, "${t}", ${No}${n ? `, "${n}"` : ""})`, fn = {
4881
4888
  "@type": "@builder.io/sdk:Element",
4882
4889
  layerName: "Accordion item title",
4883
4890
  responsiveStyles: {
@@ -4954,7 +4961,7 @@ const Na = () => `
4954
4961
  name: "title",
4955
4962
  type: "uiBlocks",
4956
4963
  hideFromUI: !0,
4957
- defaultValue: [hn]
4964
+ defaultValue: [fn]
4958
4965
  }, {
4959
4966
  name: "detail",
4960
4967
  type: "uiBlocks",
@@ -4962,10 +4969,10 @@ const Na = () => `
4962
4969
  defaultValue: [mn]
4963
4970
  }],
4964
4971
  defaultValue: [{
4965
- title: [hn],
4972
+ title: [fn],
4966
4973
  detail: [mn]
4967
4974
  }, {
4968
- title: [hn],
4975
+ title: [fn],
4969
4976
  detail: [mn]
4970
4977
  }],
4971
4978
  showIf: (e) => !e.get("useChildrenForItems")
@@ -5417,8 +5424,8 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5417
5424
  let b = !1;
5418
5425
  y.onload = () => {
5419
5426
  b = !0, c(y);
5420
- }, y.addEventListener("error", (h) => {
5421
- console.warn("Image load failed", h.error), m(h.error);
5427
+ }, y.addEventListener("error", (f) => {
5428
+ console.warn("Image load failed", f.error), m(f.error);
5422
5429
  }), y.src = s, setTimeout(() => {
5423
5430
  b || m(new Error("Image load timed out"));
5424
5431
  }, u);
@@ -5473,7 +5480,8 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5473
5480
  }, {
5474
5481
  name: "sizes",
5475
5482
  type: "string",
5476
- hideFromUI: !0
5483
+ advanced: !0,
5484
+ helperText: 'The sizes attribute for responsive images, e.g. "(max-width: 600px) 100vw, 50vw"'
5477
5485
  }, {
5478
5486
  name: "srcset",
5479
5487
  type: "string",
@@ -5675,7 +5683,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5675
5683
  }
5676
5684
  });
5677
5685
  function Ja(e, t, n, r, o, i) {
5678
- var m, y, b, h, S, A, $, H, te, E;
5686
+ var m, y, b, f, S, A, $, H, te, E;
5679
5687
  const s = W("Blocks"), u = W("InlinedStyles"), c = W("InlinedScript");
5680
5688
  return v(), w("div", q({ ref: "rootRef" }, e.attrs), [
5681
5689
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), U(s, {
@@ -5693,7 +5701,7 @@ function Ja(e, t, n, r, o, i) {
5693
5701
  !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), w(z, { key: 1 }, [
5694
5702
  e.shouldRenderVariants ? (v(), w(z, { key: 0 }, [
5695
5703
  ee(u, {
5696
- nonce: ((h = e.builderContext) == null ? void 0 : h.nonce) || "",
5704
+ nonce: ((f = e.builderContext) == null ? void 0 : f.nonce) || "",
5697
5705
  styles: e.hideVariantsStyleString,
5698
5706
  id: `variants-styles-${(S = e.builderBlock) == null ? void 0 : S.id}`
5699
5707
  }, null, 8, ["nonce", "styles", "id"]),
@@ -6121,7 +6129,7 @@ function dl(e, t, n, r, o, i) {
6121
6129
  }
6122
6130
  }, null, 8, pl);
6123
6131
  }
6124
- const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6132
+ const hl = /* @__PURE__ */ j(cl, [["render", dl]]), fl = {
6125
6133
  name: "Custom Code",
6126
6134
  static: !0,
6127
6135
  requiredPermissions: ["editCode"],
@@ -6574,42 +6582,42 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6574
6582
  e.preventDefault();
6575
6583
  const r = e.currentTarget || e.target, o = this.customHeaders || {};
6576
6584
  let i;
6577
- const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((h) => !!h.name).filter(
6578
- (h) => !!h.name && (h.type !== "radio" || h.checked)
6579
- ).map((h) => {
6585
+ const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((f) => !!f.name).filter(
6586
+ (f) => !!f.name && (f.type !== "radio" || f.checked)
6587
+ ).map((f) => {
6580
6588
  let S;
6581
- const A = h.name;
6582
- if (h instanceof HTMLInputElement)
6583
- if (h.type === "radio") {
6584
- if (h.checked)
6585
- return S = h.value, {
6589
+ const A = f.name;
6590
+ if (f instanceof HTMLInputElement)
6591
+ if (f.type === "radio") {
6592
+ if (f.checked)
6593
+ return S = f.value, {
6586
6594
  key: A,
6587
6595
  value: S
6588
6596
  };
6589
- } else if (h.type === "checkbox")
6590
- S = h.checked;
6591
- else if (h.type === "number" || h.type === "range") {
6592
- const $ = h.valueAsNumber;
6597
+ } else if (f.type === "checkbox")
6598
+ S = f.checked;
6599
+ else if (f.type === "number" || f.type === "range") {
6600
+ const $ = f.valueAsNumber;
6593
6601
  isNaN($) || (S = $);
6594
6602
  } else
6595
- h.type === "file" ? S = h.files : S = h.value;
6603
+ f.type === "file" ? S = f.files : S = f.value;
6596
6604
  else
6597
- S = h.value;
6605
+ S = f.value;
6598
6606
  return {
6599
6607
  key: A,
6600
6608
  value: S
6601
6609
  };
6602
6610
  });
6603
6611
  let c = this.contentType;
6604
- if (this.sendSubmissionsTo === "email" && (c = "multipart/form-data"), Array.from(u).forEach(({ value: h }) => {
6605
- (h instanceof File || Array.isArray(h) && h[0] instanceof File || h instanceof FileList) && (c = "multipart/form-data");
6612
+ if (this.sendSubmissionsTo === "email" && (c = "multipart/form-data"), Array.from(u).forEach(({ value: f }) => {
6613
+ (f instanceof File || Array.isArray(f) && f[0] instanceof File || f instanceof FileList) && (c = "multipart/form-data");
6606
6614
  }), c !== "application/json")
6607
6615
  i = s;
6608
6616
  else {
6609
- const h = {};
6617
+ const f = {};
6610
6618
  Array.from(u).forEach(({ value: S, key: A }) => {
6611
- po(h, A, S);
6612
- }), i = JSON.stringify(h);
6619
+ po(f, A, S);
6620
+ }), i = JSON.stringify(f);
6613
6621
  }
6614
6622
  c && c !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = c));
6615
6623
  const m = new CustomEvent("presubmit", {
@@ -6620,9 +6628,9 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6620
6628
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(m), m.defaultPrevented))
6621
6629
  return;
6622
6630
  if (this.formState = "sending", this.sendSubmissionsTo === "email" && (this.sendSubmissionsToEmail === "your@email.com" || !this.sendSubmissionsToEmail)) {
6623
- const h = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
6624
- console.error(h), this.formState = "error", this.mergeNewRootState({
6625
- formErrorMessage: h
6631
+ const f = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
6632
+ console.error(f), this.formState = "error", this.mergeNewRootState({
6633
+ formErrorMessage: f
6626
6634
  });
6627
6635
  return;
6628
6636
  }
@@ -6634,15 +6642,15 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6634
6642
  headers: o,
6635
6643
  method: this.method || "post"
6636
6644
  }).then(
6637
- async (h) => {
6645
+ async (f) => {
6638
6646
  var $, H;
6639
6647
  let S;
6640
- const A = h.headers.get("content-type");
6641
- if (A && A.indexOf("application/json") !== -1 ? S = await h.json() : S = await h.text(), !h.ok) {
6648
+ const A = f.headers.get("content-type");
6649
+ if (A && A.indexOf("application/json") !== -1 ? S = await f.json() : S = await f.text(), !f.ok) {
6642
6650
  const te = new CustomEvent("submit:error", {
6643
6651
  detail: {
6644
6652
  error: S,
6645
- status: h.status
6653
+ status: f.status
6646
6654
  }
6647
6655
  });
6648
6656
  if (($ = this.$refs.formRef) != null && $.nativeElement && ((H = this.$refs.formRef) == null || H.nativeElement.dispatchEvent(
@@ -6656,10 +6664,10 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6656
6664
  });
6657
6665
  return;
6658
6666
  }
6659
- if (this.responseData = S, this.formState = h.ok ? "success" : "error", h.ok) {
6667
+ if (this.responseData = S, this.formState = f.ok ? "success" : "error", f.ok) {
6660
6668
  const te = new CustomEvent("submit:success", {
6661
6669
  detail: {
6662
- res: h,
6670
+ res: f,
6663
6671
  body: S
6664
6672
  }
6665
6673
  });
@@ -6680,13 +6688,13 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6680
6688
  location.href = this.successUrl;
6681
6689
  }
6682
6690
  },
6683
- (h) => {
6691
+ (f) => {
6684
6692
  const S = new CustomEvent("submit:error", {
6685
6693
  detail: {
6686
- error: h
6694
+ error: f
6687
6695
  }
6688
6696
  });
6689
- this.$refs.formRef && (this.$refs.formRef.dispatchEvent(S), S.defaultPrevented) || (this.responseData = h, this.formState = "error");
6697
+ this.$refs.formRef && (this.$refs.formRef.dispatchEvent(S), S.defaultPrevented) || (this.responseData = f, this.formState = "error");
6690
6698
  }
6691
6699
  );
6692
6700
  }
@@ -6694,7 +6702,7 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6694
6702
  }
6695
6703
  }), xl = ["validate", "action", "method", "name"], Pl = {
6696
6704
  key: 2,
6697
- class: "builder-form-error-text pre-1hjwvu3r5mj"
6705
+ class: "builder-form-error-text pre-2oa2wtipkzk"
6698
6706
  };
6699
6707
  function Ol(e, t, n, r, o, i) {
6700
6708
  const s = W("Blocks");
@@ -6728,7 +6736,7 @@ function Ol(e, t, n, r, o, i) {
6728
6736
  }, null, 8, ["blocks", "context"])) : F("", !0)
6729
6737
  ], 16, xl);
6730
6738
  }
6731
- const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-3c8c685f"]]), Bl = {
6739
+ const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-77c7888c"]]), Bl = {
6732
6740
  name: "Form:Input",
6733
6741
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
6734
6742
  inputs: [
@@ -7234,7 +7242,7 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7234
7242
  }
7235
7243
  };
7236
7244
  function pu(e, t, n, r, o, i) {
7237
- var s, u, c, m, y, b, h;
7245
+ var s, u, c, m, y, b, f;
7238
7246
  return v(), w("div", au, [
7239
7247
  Ge("video", q({
7240
7248
  class: "builder-video",
@@ -7276,14 +7284,14 @@ function pu(e, t, n, r, o, i) {
7276
7284
  (y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), w("div", uu, [
7277
7285
  pe(e.$slots, "default")
7278
7286
  ])) : F("", !0),
7279
- (h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), w("div", cu, [
7287
+ (f = (b = e.builderBlock) == null ? void 0 : b.children) != null && f.length && !e.fitContent ? (v(), w("div", cu, [
7280
7288
  pe(e.$slots, "default")
7281
7289
  ])) : F("", !0)
7282
7290
  ]);
7283
7291
  }
7284
- const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7292
+ const du = /* @__PURE__ */ j(su, [["render", pu]]), hu = () => [{
7285
7293
  component: vl,
7286
- ...hl
7294
+ ...fl
7287
7295
  }, {
7288
7296
  component: El,
7289
7297
  ...bl
@@ -7315,7 +7323,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7315
7323
  component: pa,
7316
7324
  ...Ha
7317
7325
  }, {
7318
- component: ha,
7326
+ component: fa,
7319
7327
  ...Ka
7320
7328
  }, {
7321
7329
  component: Ca,
@@ -7330,7 +7338,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7330
7338
  component: Yu,
7331
7339
  ...nl
7332
7340
  }, {
7333
- component: fl,
7341
+ component: hl,
7334
7342
  ...ul
7335
7343
  }, ...Po.includes(G) ? [{
7336
7344
  component: Xa,
@@ -7341,7 +7349,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7341
7349
  }, {
7342
7350
  component: Fa,
7343
7351
  ...Va
7344
- }, ...fu()], hu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7352
+ }, ...hu()], fu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7345
7353
  function getAndSetVariantId() {
7346
7354
  function setCookie(name, value, days) {
7347
7355
  let expires = '';
@@ -7444,7 +7452,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7444
7452
  }) => !(!(Bt(t).length > 0) || !e), yu = (e) => e === "react" || e === "reactNative", vu = G === "angular", Xn = yu(G), bu = () => `
7445
7453
  (function() {
7446
7454
  if (!window.${En}) {
7447
- window.${En} = ${hu};
7455
+ window.${En} = ${fu};
7448
7456
  }
7449
7457
  if (!window.${In}) {
7450
7458
  window.${In} = ${mu};
@@ -7580,6 +7588,7 @@ font-weight: ${s};
7580
7588
  contextValue: this.builderContextSignal,
7581
7589
  prevData: null,
7582
7590
  prevLocale: "",
7591
+ prevContent: null,
7583
7592
  ContentWrapper: this.contentWrapper || "div",
7584
7593
  httpReqsData: {},
7585
7594
  httpReqsPending: {},
@@ -8110,7 +8119,7 @@ function Hu(e, t, n, r, o, i) {
8110
8119
  isNestedRender: e.isNestedRender
8111
8120
  }, {}), {
8112
8121
  default: me(() => {
8113
- var y, b, h, S, A, $, H;
8122
+ var y, b, f, S, A, $, H;
8114
8123
  return [
8115
8124
  e.isSsrAbTest ? (v(), U(s, {
8116
8125
  key: 0,
@@ -8123,7 +8132,7 @@ function Hu(e, t, n, r, o, i) {
8123
8132
  nonce: e.nonce || "",
8124
8133
  isNestedRender: e.isNestedRender,
8125
8134
  contentId: (y = e.builderContextSignal.content) == null ? void 0 : y.id,
8126
- cssCode: (h = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : h.cssCode,
8135
+ cssCode: (f = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : f.cssCode,
8127
8136
  customFonts: (A = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : A.customFonts
8128
8137
  }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : F("", !0),
8129
8138
  ee(c, {
@@ -8373,7 +8382,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8373
8382
  }
8374
8383
  });
8375
8384
  function Xu(e, t, n, r, o, i) {
8376
- var u, c, m, y, b, h, S;
8385
+ var u, c, m, y, b, f, S;
8377
8386
  const s = W("ContentVariants");
8378
8387
  return v(), w("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
8379
8388
  ee(s, {
@@ -8389,7 +8398,7 @@ function Xu(e, t, n, r, o, i) {
8389
8398
  data: {
8390
8399
  ...(y = e.symbol) == null ? void 0 : y.data,
8391
8400
  ...e.builderContext.localState,
8392
- ...(h = (b = e.contentToUse) == null ? void 0 : b.data) == null ? void 0 : h.state
8401
+ ...(f = (b = e.contentToUse) == null ? void 0 : b.data) == null ? void 0 : f.state
8393
8402
  },
8394
8403
  canTrack: e.builderContext.canTrack,
8395
8404
  model: ((S = e.symbol) == null ? void 0 : S.model) ?? "",
@@ -8407,7 +8416,7 @@ export {
8407
8416
  pa as C,
8408
8417
  sc as D,
8409
8418
  Ps as E,
8410
- ha as F,
8419
+ fa as F,
8411
8420
  Os as G,
8412
8421
  qn as H,
8413
8422
  Ca as I,
@@ -8431,7 +8440,7 @@ export {
8431
8440
  us as l,
8432
8441
  oi as m,
8433
8442
  Yu as n,
8434
- fl as o,
8443
+ hl as o,
8435
8444
  Ue as p,
8436
8445
  Gu as q,
8437
8446
  Hn as r,
@@ -8441,6 +8450,6 @@ export {
8441
8450
  nc as v,
8442
8451
  Fu as w,
8443
8452
  rc as x,
8444
- fo as y,
8453
+ ho as y,
8445
8454
  ec as z
8446
8455
  };