@builder.io/sdk-react-nextjs 0.10.0 → 0.11.1

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 (31) hide show
  1. package/lib/{node/USE_CLIENT_BUNDLE-fcb61de5.cjs → browser/USE_CLIENT_BUNDLE-5f863786.cjs} +4 -4
  2. package/lib/browser/{USE_CLIENT_BUNDLE-8a469a88.js → USE_CLIENT_BUNDLE-9460c0fe.js} +6 -6
  3. package/lib/{edge/USE_SERVER_BUNDLE-da7c49b1.js → browser/USE_SERVER_BUNDLE-a256863c.js} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-b5ccb43b.cjs → browser/USE_SERVER_BUNDLE-f508b13e.cjs} +1 -1
  5. package/lib/browser/{bundle-f23172a5.js → bundle-387d13d7.js} +25 -23
  6. package/lib/browser/{bundle-6593f46a.cjs → bundle-3e6c6669.cjs} +8 -8
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +3 -3
  9. package/lib/{browser/USE_CLIENT_BUNDLE-bd42f34e.cjs → edge/USE_CLIENT_BUNDLE-4ad3927b.cjs} +4 -4
  10. package/lib/{node/USE_CLIENT_BUNDLE-39759ac3.js → edge/USE_CLIENT_BUNDLE-7d2509b4.js} +6 -6
  11. package/lib/{node/USE_SERVER_BUNDLE-9a538e9b.cjs → edge/USE_SERVER_BUNDLE-42c61f06.cjs} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-9cade0d5.js → edge/USE_SERVER_BUNDLE-5a6633cc.js} +1 -1
  13. package/lib/edge/{bundle-bd18331d.js → bundle-33765141.js} +104 -102
  14. package/lib/edge/{bundle-7c571d18.cjs → bundle-59cf1181.cjs} +3 -3
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +3 -3
  17. package/lib/{edge/USE_CLIENT_BUNDLE-2ee2538b.cjs → node/USE_CLIENT_BUNDLE-09aea24d.cjs} +4 -4
  18. package/lib/{edge/USE_CLIENT_BUNDLE-474e3242.js → node/USE_CLIENT_BUNDLE-e7bc5bc3.js} +6 -6
  19. package/lib/{browser/USE_SERVER_BUNDLE-b0fcc116.js → node/USE_SERVER_BUNDLE-09b66e65.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-608eb1c6.cjs → node/USE_SERVER_BUNDLE-84387e43.cjs} +1 -1
  21. package/lib/node/{bundle-ad89090d.cjs → bundle-c361a3b2.cjs} +3 -3
  22. package/lib/node/{bundle-49222e30.js → bundle-d073dfea.js} +25 -23
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +3 -3
  25. package/package.json +1 -1
  26. package/types/cjs/components/block/components/interactive-element.d.ts +3 -2
  27. package/types/cjs/constants/sdk-version.d.ts +1 -1
  28. package/types/cjs/types/targets.d.ts +1 -1
  29. package/types/esm/components/block/components/interactive-element.d.ts +3 -2
  30. package/types/esm/constants/sdk-version.d.ts +1 -1
  31. package/types/esm/types/targets.d.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  import { LRUCache as Qr } from "lru-cache";
2
2
  import { jsx as C, Fragment as D, jsxs as ue } from "react/jsx-runtime";
3
3
  import { createElement as eo } from "react";
4
- import { I as to, B as $n, a as no, b as ro, C as oo, E as io, F as ao, c as so, d as lo, S as co, V as uo, e as fo } from "./USE_CLIENT_BUNDLE-474e3242.js";
4
+ import { I as to, B as $n, a as no, b as ro, C as oo, E as io, F as ao, c as so, d as lo, S as co, V as uo, e as fo } from "./USE_CLIENT_BUNDLE-7d2509b4.js";
5
5
  import "next/navigation";
6
6
  function po(e) {
7
7
  var t;
@@ -190,7 +190,7 @@ var P, wo = function(e) {
190
190
  function E(a) {
191
191
  switch (a) {
192
192
  case 46:
193
- a = g.charCodeAt(f + 1), 48 <= a && 57 >= a ? S(!0) : (++f, s(Bn));
193
+ a = g.charCodeAt(f + 1), 48 <= a && 57 >= a ? S(!0) : (++f, s(Mn));
194
194
  return;
195
195
  case 40:
196
196
  return ++f, s(ie);
@@ -201,9 +201,9 @@ var P, wo = function(e) {
201
201
  case 44:
202
202
  return ++f, s(ye);
203
203
  case 91:
204
- return ++f, s(Bt);
205
- case 93:
206
204
  return ++f, s(Mt);
205
+ case 93:
206
+ return ++f, s(Bt);
207
207
  case 123:
208
208
  return ++f, s(_e);
209
209
  case 125:
@@ -211,7 +211,7 @@ var P, wo = function(e) {
211
211
  case 58:
212
212
  return ++f, s(De);
213
213
  case 63:
214
- return ++f, s(Mn);
214
+ return ++f, s(Bn);
215
215
  case 48:
216
216
  if (a = g.charCodeAt(f + 1), a === 120 || a === 88) {
217
217
  f += 2, a = O(16), a === null && r(L + 2, "Expected hexadecimal number"), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), s(Ve, a);
@@ -290,7 +290,7 @@ var P, wo = function(e) {
290
290
  }
291
291
  return;
292
292
  case 47:
293
- a = g.charCodeAt(f + 1), Ue ? (++f, B()) : a === 61 ? w(Se, 2) : w(Un, 1);
293
+ a = g.charCodeAt(f + 1), Ue ? (++f, M()) : a === 61 ? w(Se, 2) : w(Un, 1);
294
294
  return;
295
295
  case 37:
296
296
  case 42:
@@ -322,7 +322,7 @@ var P, wo = function(e) {
322
322
  }
323
323
  function k(a) {
324
324
  if (a ? f = L + 1 : L = f, j.C && (kt = new i()), a)
325
- return B();
325
+ return M();
326
326
  if (f >= ke)
327
327
  return s(Tt);
328
328
  if (a = g.charCodeAt(f), n(a) || a === 92)
@@ -337,7 +337,7 @@ var P, wo = function(e) {
337
337
  var c = g.slice(f, f + l);
338
338
  f += l, s(a, c);
339
339
  }
340
- function B() {
340
+ function M() {
341
341
  for (var a, l, c = f; ; ) {
342
342
  f >= ke && r(c, "Unterminated regexp");
343
343
  var p = g.charAt(f);
@@ -416,7 +416,7 @@ var P, wo = function(e) {
416
416
  function Z() {
417
417
  this.start = kt, this.end = null, St && (this.source = St);
418
418
  }
419
- function M() {
419
+ function B() {
420
420
  var a = new he();
421
421
  return j.C && (a.X = new Z()), j.vb && (a.sourceFile = j.vb), j.Xa && (a.j = [L, 0]), a;
422
422
  }
@@ -450,7 +450,7 @@ var P, wo = function(e) {
450
450
  }
451
451
  function ee() {
452
452
  (I === Un || I === Se && Q === "/=") && k(!0);
453
- var a = I, l = M();
453
+ var a = I, l = B();
454
454
  switch (a) {
455
455
  case At:
456
456
  case yn:
@@ -468,7 +468,7 @@ var P, wo = function(e) {
468
468
  case xn:
469
469
  return m(), _.push(Ut), l.body = ee(), _.pop(), V(Nt), l.test = Ne(), xe(), A(l, "DoWhileStatement");
470
470
  case kn:
471
- return m(), _.push(Ut), V(ie), I === ae ? gt(l, null) : I === Pt ? (a = M(), m(), dn(a, !0), A(a, "VariableDeclaration"), a.fa.length === 1 && U(nt) ? pn(l, a) : gt(l, a)) : (a = K(!1, !0), U(nt) ? (Qe(a), pn(l, a)) : gt(l, a));
471
+ return m(), _.push(Ut), V(ie), I === ae ? gt(l, null) : I === Pt ? (a = B(), m(), dn(a, !0), A(a, "VariableDeclaration"), a.fa.length === 1 && U(nt) ? pn(l, a) : gt(l, a)) : (a = K(!1, !0), U(nt) ? (Qe(a), pn(l, a)) : gt(l, a));
472
472
  case jt:
473
473
  return m(), xt(l, !0);
474
474
  case Cn:
@@ -477,12 +477,12 @@ var P, wo = function(e) {
477
477
  return Fe || j.Ib || r(L, "'return' outside of function"), m(), U(ae) || Ze() ? l.K = null : (l.K = K(), xe()), A(l, "ReturnStatement");
478
478
  case Rt:
479
479
  for (m(), l.Qb = Ne(), l.tb = [], V(_e), _.push(Zr); I !== Ie; )
480
- I === Ot || I === bn ? (a = I === Ot, p && A(p, "SwitchCase"), l.tb.push(p = M()), p.da = [], m(), a ? p.test = K() : (c && r(Et, "Multiple default clauses"), c = !0, p.test = null), V(De)) : (p || ne(), p.da.push(ee()));
480
+ I === Ot || I === bn ? (a = I === Ot, p && A(p, "SwitchCase"), l.tb.push(p = B()), p.da = [], m(), a ? p.test = K() : (c && r(Et, "Multiple default clauses"), c = !0, p.test = null), V(De)) : (p || ne(), p.da.push(ee()));
481
481
  return p && A(p, "SwitchCase"), m(), _.pop(), A(l, "SwitchStatement");
482
482
  case In:
483
483
  return m(), ot.test(g.slice(ge, L)) && r(ge, "Illegal newline after throw"), l.K = K(), xe(), A(l, "ThrowStatement");
484
484
  case Tn:
485
- return m(), l.block = Be(), l.Ea = null, I === gn && (a = M(), m(), V(ie), a.Ua = re(), z && rt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), V(te), a.body = Be(), l.Ea = A(a, "CatchClause")), l.fb = U(Sn) ? Be() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
485
+ return m(), l.block = Me(), l.Ea = null, I === gn && (a = B(), m(), V(ie), a.Ua = re(), z && rt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), V(te), a.body = Me(), l.Ea = A(a, "CatchClause")), l.fb = U(Sn) ? Me() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
486
486
  case Pt:
487
487
  return m(), dn(l), xe(), A(l, "VariableDeclaration");
488
488
  case Nt:
@@ -490,7 +490,7 @@ var P, wo = function(e) {
490
490
  case An:
491
491
  return z && r(L, "'with' in strict mode"), m(), l.object = Ne(), l.body = ee(), A(l, "WithStatement");
492
492
  case _e:
493
- return Be();
493
+ return Me();
494
494
  case ae:
495
495
  return m(), A(l, "EmptyStatement");
496
496
  default:
@@ -510,8 +510,8 @@ var P, wo = function(e) {
510
510
  var a = K();
511
511
  return V(te), a;
512
512
  }
513
- function Be(a) {
514
- var l = M(), c = !0, p = !1;
513
+ function Me(a) {
514
+ var l = B(), c = !0, p = !1;
515
515
  for (l.body = [], V(_e); !U(Ie); ) {
516
516
  var T = ee();
517
517
  if (l.body.push(T), c && a && mt(T)) {
@@ -530,7 +530,7 @@ var P, wo = function(e) {
530
530
  }
531
531
  function dn(a, l) {
532
532
  for (a.fa = [], a.kind = "var"; ; ) {
533
- var c = M();
533
+ var c = B();
534
534
  if (c.id = re(), z && rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = U(Fn) ? K(!0, l) : null, a.fa.push(A(c, "VariableDeclarator")), !U(ye))
535
535
  break;
536
536
  }
@@ -546,7 +546,7 @@ var P, wo = function(e) {
546
546
  }
547
547
  function yt(a) {
548
548
  var l = vt(bt(), -1, a);
549
- if (U(Mn)) {
549
+ if (U(Bn)) {
550
550
  var c = me(l);
551
551
  c.test = l, c.da = K(!0), V(De), c.alternate = K(!0, a), l = A(c, "ConditionalExpression");
552
552
  }
@@ -562,45 +562,45 @@ var P, wo = function(e) {
562
562
  }
563
563
  function bt() {
564
564
  if (I.prefix) {
565
- var a = M(), l = I.$b;
565
+ var a = B(), l = I.$b;
566
566
  return a.operator = Q, Ue = a.prefix = !0, m(), a.K = bt(), l ? Qe(a.K) : z && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), A(a, l ? "UpdateExpression" : "UnaryExpression");
567
567
  }
568
- for (l = Me(et()); I.cc && !Ze(); )
568
+ for (l = Be(et()); I.cc && !Ze(); )
569
569
  a = me(l), a.operator = Q, a.prefix = !1, a.K = l, Qe(l), m(), l = A(a, "UpdateExpression");
570
570
  return l;
571
571
  }
572
- function Me(a, l) {
573
- if (U(Bn)) {
572
+ function Be(a, l) {
573
+ if (U(Mn)) {
574
574
  var c = me(a);
575
- return c.object = a, c.Wa = re(!0), c.bb = !1, Me(A(c, "MemberExpression"), l);
575
+ return c.object = a, c.Wa = re(!0), c.bb = !1, Be(A(c, "MemberExpression"), l);
576
576
  }
577
- return U(Bt) ? (c = me(a), c.object = a, c.Wa = K(), c.bb = !0, V(Mt), Me(A(c, "MemberExpression"), l)) : !l && U(ie) ? (c = me(a), c.callee = a, c.arguments = wt(te, !1), Me(A(c, "CallExpression"), l)) : a;
577
+ return U(Mt) ? (c = me(a), c.object = a, c.Wa = K(), c.bb = !0, V(Bt), Be(A(c, "MemberExpression"), l)) : !l && U(ie) ? (c = me(a), c.callee = a, c.arguments = wt(te, !1), Be(A(c, "CallExpression"), l)) : a;
578
578
  }
579
579
  function et() {
580
580
  switch (I) {
581
581
  case jn:
582
- var a = M();
582
+ var a = B();
583
583
  return m(), A(a, "ThisExpression");
584
584
  case Ee:
585
585
  return re();
586
586
  case Ve:
587
587
  case tt:
588
588
  case mn:
589
- return a = M(), a.value = Q, a.raw = g.slice(L, Ce), m(), A(a, "Literal");
589
+ return a = B(), a.value = Q, a.raw = g.slice(L, Ce), m(), A(a, "Literal");
590
590
  case Rn:
591
591
  case Pn:
592
592
  case Nn:
593
- return a = M(), a.value = I.$a, a.raw = I.l, m(), A(a, "Literal");
593
+ return a = B(), a.value = I.$a, a.raw = I.l, m(), A(a, "Literal");
594
594
  case ie:
595
595
  a = kt;
596
596
  var l = L;
597
597
  m();
598
598
  var c = K();
599
599
  return c.start = l, c.end = Ce, j.C && (c.X.start = a, c.X.end = Ct), j.Xa && (c.j = [l, Ce]), V(te), c;
600
- case Bt:
601
- return a = M(), m(), a.elements = wt(Mt, !0, !0), A(a, "ArrayExpression");
600
+ case Mt:
601
+ return a = B(), m(), a.elements = wt(Bt, !0, !0), A(a, "ArrayExpression");
602
602
  case _e:
603
- for (a = M(), l = !0, c = !1, a.h = [], m(); !U(Ie); ) {
603
+ for (a = B(), l = !0, c = !1, a.h = [], m(); !U(Ie); ) {
604
604
  if (l)
605
605
  l = !1;
606
606
  else if (V(ye), j.sb && U(Ie))
@@ -612,7 +612,7 @@ var P, wo = function(e) {
612
612
  p.value = K(!0);
613
613
  var W = p.kind = "init";
614
614
  } else
615
- p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ne() : (T = c = !0, W = p.kind = p.key.name, p.key = I === Ve || I === tt ? et() : re(!0), I !== ie && ne(), p.value = xt(M(), !1));
615
+ p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ne() : (T = c = !0, W = p.kind = p.key.name, p.key = I === Ve || I === tt ? et() : re(!0), I !== ie && ne(), p.value = xt(B(), !1));
616
616
  if (p.key.type === "Identifier" && (z || c))
617
617
  for (var X = 0; X < a.h.length; ++X) {
618
618
  var Ae = a.h[X];
@@ -625,9 +625,9 @@ var P, wo = function(e) {
625
625
  }
626
626
  return A(a, "ObjectExpression");
627
627
  case jt:
628
- return a = M(), m(), xt(a, !1);
628
+ return a = B(), m(), xt(a, !1);
629
629
  case On:
630
- return a = M(), m(), a.callee = Me(et(), !0), a.arguments = U(ie) ? wt(te, !1) : Fr, A(a, "NewExpression");
630
+ return a = B(), m(), a.callee = Be(et(), !0), a.arguments = U(ie) ? wt(te, !1) : Fr, A(a, "NewExpression");
631
631
  }
632
632
  ne();
633
633
  }
@@ -638,7 +638,7 @@ var P, wo = function(e) {
638
638
  c ? c = !1 : V(ye), a.oa.push(re());
639
639
  c = Fe;
640
640
  var p = _;
641
- if (Fe = !0, _ = [], a.body = Be(!0), Fe = c, _ = p, z || a.body.body.length && mt(a.body.body[0])) {
641
+ if (Fe = !0, _ = [], a.body = Me(!0), Fe = c, _ = p, z || a.body.body.length && mt(a.body.body[0])) {
642
642
  for (c = a.id ? -1 : 0; c < a.oa.length; ++c)
643
643
  if (p = 0 > c ? a.id : a.oa[c], (Ln(p.name) || rt(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= c)
644
644
  for (var T = 0; T < c; ++T)
@@ -657,7 +657,7 @@ var P, wo = function(e) {
657
657
  return p;
658
658
  }
659
659
  function re(a) {
660
- var l = M();
660
+ var l = B();
661
661
  return a && j.yb === "everywhere" && (a = !1), I === Ee ? (!a && (j.yb && Yr(Q) || z && Ln(Q)) && g.slice(L, Ce).indexOf("\\") === -1 && r(L, "The keyword '" + Q + "' is reserved"), l.name = Q) : a && I.l ? l.name = I.l : ne(), Ue = !1, m(), A(l, "Identifier");
662
662
  }
663
663
  e.version = "0.5.0";
@@ -666,7 +666,7 @@ var P, wo = function(e) {
666
666
  g = String(a), ke = g.length, j = l || {};
667
667
  for (var c in hn)
668
668
  Object.prototype.hasOwnProperty.call(j, c) || (j[c] = hn[c]);
669
- for (St = j.sourceFile, we = 1, f = oe = 0, Ue = !0, d(), c = j.dc, Et = ge = f, j.C && (It = new i()), Fe = z = !1, _ = [], k(), a = c || M(), l = !0, c || (a.body = []); I !== Tt; )
669
+ for (St = j.sourceFile, we = 1, f = oe = 0, Ue = !0, d(), c = j.dc, Et = ge = f, j.C && (It = new i()), Fe = z = !1, _ = [], k(), a = c || B(), l = !0, c || (a.body = []); I !== Tt; )
670
670
  c = ee(), a.body.push(c), l && mt(c) && de(!0), l = !1;
671
671
  return A(a, "Program");
672
672
  };
@@ -800,10 +800,10 @@ var P, wo = function(e) {
800
800
  prefix: !0,
801
801
  m: !0
802
802
  }
803
- }, Bt = {
803
+ }, Mt = {
804
804
  type: "[",
805
805
  m: !0
806
- }, Mt = {
806
+ }, Bt = {
807
807
  type: "]"
808
808
  }, _e = {
809
809
  type: "{",
@@ -824,9 +824,9 @@ var P, wo = function(e) {
824
824
  }, De = {
825
825
  type: ":",
826
826
  m: !0
827
- }, Bn = {
828
- type: "."
829
827
  }, Mn = {
828
+ type: "."
829
+ }, Bn = {
830
830
  type: "?",
831
831
  m: !0
832
832
  }, Un = {
@@ -1015,7 +1015,7 @@ P.Eb = function() {
1015
1015
  return this.za;
1016
1016
  };
1017
1017
  function ko(e, t) {
1018
- e.g(t, "NaN", NaN, Le), e.g(t, "Infinity", 1 / 0, Le), e.g(t, "undefined", void 0, Le), e.g(t, "window", t, Yt), e.g(t, "this", t, Le), e.g(t, "self", t), e.M = new R(null), e.Z = new R(e.M), Co(e, t), Eo(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Io(e, t), To(e, t), Ao(e, t), Oo(e, t), jo(e, t), Ro(e, t), Po(e, t), No(e, t), Bo(e, t);
1018
+ e.g(t, "NaN", NaN, Le), e.g(t, "Infinity", 1 / 0, Le), e.g(t, "undefined", void 0, Le), e.g(t, "window", t, Yt), e.g(t, "this", t, Le), e.g(t, "self", t), e.M = new R(null), e.Z = new R(e.M), Co(e, t), Eo(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Io(e, t), To(e, t), Ao(e, t), Oo(e, t), jo(e, t), Ro(e, t), Po(e, t), No(e, t), Mo(e, t);
1019
1019
  var n = e.i(function() {
1020
1020
  throw EvalError("Can't happen");
1021
1021
  }, !1);
@@ -1350,7 +1350,7 @@ function No(e, t) {
1350
1350
  for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
1351
1351
  e.g(n, r[t], e.i(Math[r[t]], !1), y);
1352
1352
  }
1353
- function Bo(e, t) {
1353
+ function Mo(e, t) {
1354
1354
  var n = e.s(e.M);
1355
1355
  e.g(t, "JSON", n, y), t = function(r) {
1356
1356
  try {
@@ -1869,7 +1869,7 @@ function Xn(e, t, n) {
1869
1869
  }
1870
1870
  s.type = "EvalProgram_", s.body = d.body, r = r.node.arguments[0], ut(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1871
1871
  }
1872
- return t = new Mo(u, o, r, s, t ? n : -1), mr(e, t, n), t.Db;
1872
+ return t = new Bo(u, o, r, s, t ? n : -1), mr(e, t, n), t.Db;
1873
1873
  }
1874
1874
  function mr(e, t, n) {
1875
1875
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
@@ -1973,7 +1973,7 @@ P.toString = function() {
1973
1973
  P.valueOf = function() {
1974
1974
  return !Ge || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
1975
1975
  };
1976
- function Mo(e, t, n, r, o) {
1976
+ function Bo(e, t, n, r, o) {
1977
1977
  this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Uo, this.time = 0;
1978
1978
  }
1979
1979
  var Uo = 0;
@@ -2570,14 +2570,14 @@ function theFunction() {
2570
2570
  ${k}
2571
2571
  }
2572
2572
  theFunction();
2573
- `, B = (S, b) => {
2573
+ `, M = (S, b) => {
2574
2574
  const N = fr(u, S, b);
2575
2575
  i == null || i(N);
2576
2576
  }, O = function(S, b) {
2577
2577
  d.forEach(([N, F]) => {
2578
2578
  const m = JSON.stringify(F);
2579
2579
  S.setProperty(b, Jn(N), m);
2580
- }), S.setProperty(b, "setRootState", S.createNativeFunction(B));
2580
+ }), S.setProperty(b, "setRootState", S.createNativeFunction(M));
2581
2581
  };
2582
2582
  try {
2583
2583
  const S = new h(w, O);
@@ -2811,7 +2811,7 @@ function sn(e) {
2811
2811
  ), d = i == null ? void 0 : i.large, E = i == null ? void 0 : i.medium, k = i == null ? void 0 : i.small, w = o.id;
2812
2812
  if (!w)
2813
2813
  return "";
2814
- const B = d ? Dt({
2814
+ const M = d ? Dt({
2815
2815
  className: w,
2816
2816
  styles: d
2817
2817
  }) : "", O = E ? Dt({
@@ -2829,7 +2829,7 @@ function sn(e) {
2829
2829
  u
2830
2830
  )
2831
2831
  }) : "";
2832
- return [B, O, S].join(" ");
2832
+ return [M, O, S].join(" ");
2833
2833
  };
2834
2834
  return /* @__PURE__ */ C(D, { children: n() && t() ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(dt, { styles: n() }) }) : null });
2835
2835
  }
@@ -2854,8 +2854,7 @@ function Ea(e) {
2854
2854
  let i = Xo(r);
2855
2855
  if (e.stripPrefix)
2856
2856
  switch (be) {
2857
- case "vue2":
2858
- case "vue3":
2857
+ case "vue":
2859
2858
  i = i.replace("v-on:", "");
2860
2859
  break;
2861
2860
  case "svelte":
@@ -2895,8 +2894,7 @@ function qo({
2895
2894
  function Zo(e) {
2896
2895
  switch (be) {
2897
2896
  case "svelte":
2898
- case "vue2":
2899
- case "vue3":
2897
+ case "vue":
2900
2898
  case "solid":
2901
2899
  return br(e).join(" ");
2902
2900
  case "qwik":
@@ -2914,23 +2912,27 @@ const Qo = ({
2914
2912
  includeBlockProps: o,
2915
2913
  isInteractive: i,
2916
2914
  contextValue: s
2917
- }) => i ? {
2918
- Wrapper: r,
2919
- block: t,
2920
- context: n,
2921
- wrapperProps: e
2922
- } : {
2923
- ...e,
2924
- /**
2925
- * If `noWrap` is set to `true`, then the block's props/attributes are provided to the
2926
- * component itself directly. Otherwise, they are provided to the wrapper element.
2927
- */
2928
- ...o ? {
2929
- attributes: qo({
2930
- block: t,
2931
- context: s
2932
- })
2933
- } : {}
2915
+ }) => {
2916
+ const u = {
2917
+ ...e,
2918
+ /**
2919
+ * If `noWrap` is set to `true`, then the block's props/attributes are provided to the
2920
+ * component itself directly. Otherwise, they are provided to the wrapper element.
2921
+ */
2922
+ ...o ? {
2923
+ attributes: qo({
2924
+ block: t,
2925
+ context: s
2926
+ })
2927
+ } : {}
2928
+ };
2929
+ return i ? {
2930
+ Wrapper: r,
2931
+ block: t,
2932
+ context: n,
2933
+ wrapperProps: e,
2934
+ includeBlockProps: o
2935
+ } : u;
2934
2936
  };
2935
2937
  function qn(e) {
2936
2938
  var n, r;
@@ -2981,7 +2983,7 @@ function ei(e) {
2981
2983
  );
2982
2984
  }
2983
2985
  function ht(e) {
2984
- var E, k, w, B;
2986
+ var E, k, w, M;
2985
2987
  const t = function() {
2986
2988
  return Wo({
2987
2989
  block: e.block,
@@ -3094,7 +3096,7 @@ function ht(e) {
3094
3096
  },
3095
3097
  "block-" + O.id
3096
3098
  )),
3097
- (B = s()) == null ? void 0 : B.map((O) => /* @__PURE__ */ C(
3099
+ (M = s()) == null ? void 0 : M.map((O) => /* @__PURE__ */ C(
3098
3100
  sn,
3099
3101
  {
3100
3102
  block: O,
@@ -3193,7 +3195,7 @@ function ti(e) {
3193
3195
  return vr(
3194
3196
  ((m = (F = e.builderContext.content) == null ? void 0 : F.meta) == null ? void 0 : m.breakpoints) || {}
3195
3197
  )[b].max;
3196
- }, B = function() {
3198
+ }, M = function() {
3197
3199
  return `
3198
3200
  @media (max-width: ${w("medium")}px) {
3199
3201
  .${e.builderBlock.id}-breakpoints {
@@ -3227,7 +3229,7 @@ function ti(e) {
3227
3229
  className: `builder-columns ${e.builderBlock.id}-breakpoints div-0d69fe26`,
3228
3230
  style: E(),
3229
3231
  children: [
3230
- /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(dt, { styles: B() }) }),
3232
+ /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(dt, { styles: M() }) }),
3231
3233
  (O = e.columns) == null ? void 0 : O.map((S, b) => /* @__PURE__ */ eo(
3232
3234
  "div",
3233
3235
  {
@@ -3740,8 +3742,8 @@ const oi = (e) => {
3740
3742
  let w = !1;
3741
3743
  k.onload = () => {
3742
3744
  w = !0, d(k);
3743
- }, k.addEventListener("error", (B) => {
3744
- console.warn("Image load failed", B.error), E(B.error);
3745
+ }, k.addEventListener("error", (M) => {
3746
+ console.warn("Image load failed", M.error), E(M.error);
3745
3747
  }), k.src = s, setTimeout(() => {
3746
3748
  w || E(new Error("Image load timed out"));
3747
3749
  }, u);
@@ -4158,10 +4160,10 @@ const Ti = {
4158
4160
  })), Pi = ({
4159
4161
  canTrack: e,
4160
4162
  content: t
4161
- }) => !(!(st(t).length > 0) || !e || G()), Ni = (e) => e === "react" || e === "reactNative", Ar = Ni(be), Bi = () => `
4163
+ }) => !(!(st(t).length > 0) || !e || G()), Ni = (e) => e === "react" || e === "reactNative", Ar = Ni(be), Mi = () => `
4162
4164
  window.${Ir} = ${ji}
4163
4165
  window.${Tr} = ${Ri}
4164
- `, Mi = (e, t) => `
4166
+ `, Bi = (e, t) => `
4165
4167
  window.${Ir}(
4166
4168
  "${t}",${JSON.stringify(e)}, ${Ar}
4167
4169
  )`, Ui = ({
@@ -4253,7 +4255,7 @@ const $i = "v3", tr = "builder.", Hi = "options.", Ki = (e) => {
4253
4255
  locale: E,
4254
4256
  apiVersion: k = $i,
4255
4257
  fields: w,
4256
- omit: B,
4258
+ omit: M,
4257
4259
  offset: O,
4258
4260
  cacheSeconds: S,
4259
4261
  staleCacheSeconds: b,
@@ -4266,12 +4268,12 @@ const $i = "v3", tr = "builder.", Hi = "options.", Ki = (e) => {
4266
4268
  throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${k}'`);
4267
4269
  (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
4268
4270
  const m = new URL(`https://cdn.builder.io/api/${k}/content/${i}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${u}${E ? `&locale=${E}` : ""}${d ? `&enrich=${d}` : ""}`);
4269
- if (m.searchParams.set("omit", B || "meta.componentsUsed"), w && m.searchParams.set("fields", w), Number.isFinite(O) && O > -1 && m.searchParams.set("offset", String(Math.floor(O))), typeof F == "boolean" && m.searchParams.set("includeUnpublished", String(F)), S && nr(S) && m.searchParams.set("cacheSeconds", String(S)), b && nr(b) && m.searchParams.set("staleCacheSeconds", String(b)), N) {
4271
+ if (m.searchParams.set("omit", M || "meta.componentsUsed"), w && m.searchParams.set("fields", w), Number.isFinite(O) && O > -1 && m.searchParams.set("offset", String(Math.floor(O))), typeof F == "boolean" && m.searchParams.set("includeUnpublished", String(F)), S && nr(S) && m.searchParams.set("cacheSeconds", String(S)), b && nr(b) && m.searchParams.set("staleCacheSeconds", String(b)), N) {
4270
4272
  const Z = lt({
4271
4273
  sort: N
4272
4274
  });
4273
- for (const M in Z)
4274
- m.searchParams.set(M, JSON.stringify(Z[M]));
4275
+ for (const B in Z)
4276
+ m.searchParams.set(B, JSON.stringify(Z[B]));
4275
4277
  }
4276
4278
  const de = {
4277
4279
  ...Gi(),
@@ -4283,8 +4285,8 @@ const $i = "v3", tr = "builder.", Hi = "options.", Ki = (e) => {
4283
4285
  const Z = lt({
4284
4286
  query: o
4285
4287
  });
4286
- for (const M in Z)
4287
- m.searchParams.set(M, JSON.stringify(Z[M]));
4288
+ for (const B in Z)
4289
+ m.searchParams.set(B, JSON.stringify(Z[B]));
4288
4290
  }
4289
4291
  return m;
4290
4292
  }, Xi = (e) => "results" in e;
@@ -4373,13 +4375,13 @@ const Nr = "builderSessionId", qi = async ({
4373
4375
  name: Nr,
4374
4376
  value: e,
4375
4377
  canTrack: t
4376
- }), Br = () => G() && typeof localStorage < "u" ? localStorage : void 0, ea = ({
4378
+ }), Mr = () => G() && typeof localStorage < "u" ? localStorage : void 0, ea = ({
4377
4379
  key: e,
4378
4380
  canTrack: t
4379
4381
  }) => {
4380
4382
  var n;
4381
4383
  try {
4382
- return t ? (n = Br()) == null ? void 0 : n.getItem(e) : void 0;
4384
+ return t ? (n = Mr()) == null ? void 0 : n.getItem(e) : void 0;
4383
4385
  } catch (r) {
4384
4386
  console.debug("[LocalStorage] GET error: ", r);
4385
4387
  return;
@@ -4391,17 +4393,17 @@ const Nr = "builderSessionId", qi = async ({
4391
4393
  }) => {
4392
4394
  var r;
4393
4395
  try {
4394
- t && ((r = Br()) == null || r.setItem(e, n));
4396
+ t && ((r = Mr()) == null || r.setItem(e, n));
4395
4397
  } catch (o) {
4396
4398
  console.debug("[LocalStorage] SET error: ", o);
4397
4399
  }
4398
- }, Mr = "builderVisitorId", na = ({
4400
+ }, Br = "builderVisitorId", na = ({
4399
4401
  canTrack: e
4400
4402
  }) => {
4401
4403
  if (!e)
4402
4404
  return;
4403
4405
  const t = ea({
4404
- key: Mr,
4406
+ key: Br,
4405
4407
  canTrack: e
4406
4408
  });
4407
4409
  if (pe(t))
@@ -4417,7 +4419,7 @@ const Nr = "builderSessionId", qi = async ({
4417
4419
  id: e,
4418
4420
  canTrack: t
4419
4421
  }) => ta({
4420
- key: Mr,
4422
+ key: Br,
4421
4423
  value: e,
4422
4424
  canTrack: t
4423
4425
  }), ia = async ({
@@ -4523,7 +4525,7 @@ const la = (e, t, n = !0) => {
4523
4525
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
4524
4526
  }
4525
4527
  };
4526
- }, ua = "0.10.0", ir = {};
4528
+ }, ua = "0.11.1", ir = {};
4527
4529
  function fa(e, t) {
4528
4530
  let n = ir[e];
4529
4531
  if (n || (n = ir[e] = []), n.push(t), G()) {
@@ -4541,7 +4543,7 @@ function fa(e, t) {
4541
4543
  }
4542
4544
  }
4543
4545
  }
4544
- const Ba = () => {
4546
+ const Ma = () => {
4545
4547
  fa("insertMenu", {
4546
4548
  name: "_default",
4547
4549
  default: !0,
@@ -4565,7 +4567,7 @@ const Ba = () => {
4565
4567
  });
4566
4568
  };
4567
4569
  let ar = !1;
4568
- const Ma = (e = {}) => {
4570
+ const Ba = (e = {}) => {
4569
4571
  var t, n;
4570
4572
  ar || (ar = !0, G() && ((t = window.parent) == null || t.postMessage({
4571
4573
  type: "builder.sdkInfo",
@@ -4594,8 +4596,8 @@ const Ma = (e = {}) => {
4594
4596
  let k, w = null;
4595
4597
  try {
4596
4598
  k = E.apply(null, u);
4597
- } catch (B) {
4598
- w = B;
4599
+ } catch (M) {
4600
+ w = M;
4599
4601
  }
4600
4602
  w ? (o = window.parent) == null || o.postMessage({
4601
4603
  type: "builder.evaluateError",
@@ -4603,13 +4605,13 @@ const Ma = (e = {}) => {
4603
4605
  id: d,
4604
4606
  error: w.message
4605
4607
  }
4606
- }, "*") : k && typeof k.then == "function" ? k.then((B) => {
4608
+ }, "*") : k && typeof k.then == "function" ? k.then((M) => {
4607
4609
  var O;
4608
4610
  (O = window.parent) == null || O.postMessage({
4609
4611
  type: "builder.evaluateResult",
4610
4612
  data: {
4611
4613
  id: d,
4612
- result: B
4614
+ result: M
4613
4615
  }
4614
4616
  }, "*");
4615
4617
  }).catch(console.error) : (i = window.parent) == null || i.postMessage({
@@ -4712,7 +4714,7 @@ const ga = ({
4712
4714
  meta: e == null ? void 0 : e.meta
4713
4715
  } : void 0;
4714
4716
  function sr(e) {
4715
- var o, i, s, u, d, E, k, w, B;
4717
+ var o, i, s, u, d, E, k, w, M;
4716
4718
  const t = Ui({
4717
4719
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4718
4720
  variationId: (o = e.content) == null ? void 0 : o.testVariationId,
@@ -4799,7 +4801,7 @@ function sr(e) {
4799
4801
  /* @__PURE__ */ C(
4800
4802
  ln,
4801
4803
  {
4802
- blocks: (B = (w = r.content) == null ? void 0 : w.data) == null ? void 0 : B.blocks,
4804
+ blocks: (M = (w = r.content) == null ? void 0 : w.data) == null ? void 0 : M.blocks,
4803
4805
  context: r,
4804
4806
  registeredComponents: n
4805
4807
  }
@@ -4815,7 +4817,7 @@ function Ur(e) {
4815
4817
  content: e.content
4816
4818
  }), n = function() {
4817
4819
  var d;
4818
- return Mi(
4820
+ return Bi(
4819
4821
  st(e.content).map((E) => ({
4820
4822
  id: E.testVariationId,
4821
4823
  testRatio: E.testRatio
@@ -4835,7 +4837,7 @@ function Ur(e) {
4835
4837
  });
4836
4838
  };
4837
4839
  return /* @__PURE__ */ ue(D, { children: [
4838
- !e.__isNestedRender && be !== "reactNative" ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(Gt, { scriptStr: Bi() }) }) : null,
4840
+ !e.__isNestedRender && be !== "reactNative" ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(Gt, { scriptStr: Mi() }) }) : null,
4839
4841
  t ? /* @__PURE__ */ ue(D, { children: [
4840
4842
  /* @__PURE__ */ C(
4841
4843
  dt,
@@ -5002,8 +5004,8 @@ export {
5002
5004
  Wi as o,
5003
5005
  Vi as p,
5004
5006
  Fa as q,
5005
- Ba as r,
5006
- Ma as s,
5007
+ Ma as r,
5008
+ Ba as s,
5007
5009
  ti as t,
5008
5010
  fa as u,
5009
5011
  Va as v,