@builder.io/sdk-vue 0.12.4 → 0.12.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/browser/{block-styles.53c7f508.js → block-styles.4b421b83.js} +1 -1
  2. package/lib/browser/{block-styles.02ba52b2.cjs → block-styles.a73376ed.cjs} +1 -1
  3. package/lib/browser/{block-wrapper.9fa9b402.cjs → block-wrapper.531592ac.cjs} +1 -1
  4. package/lib/browser/{block-wrapper.eee0672a.js → block-wrapper.68a2b10b.js} +3 -3
  5. package/lib/browser/{component-ref.7152f073.cjs → component-ref.a006af2a.cjs} +1 -1
  6. package/lib/browser/{component-ref.413e00a0.js → component-ref.aeb58ed2.js} +2 -2
  7. package/lib/browser/constants/sdk-version.d.ts +1 -1
  8. package/lib/browser/functions/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
  9. package/lib/browser/{get-block-properties.977a77b8.js → get-block-properties.c632735e.js} +1 -1
  10. package/lib/browser/{get-block-properties.af78bde3.cjs → get-block-properties.cb447ec3.cjs} +1 -1
  11. package/lib/browser/{index.50f38496.cjs → index.6d8f74eb.cjs} +18 -18
  12. package/lib/browser/index.cjs +1 -1
  13. package/lib/browser/{index.125c730f.js → index.dae5ffb2.js} +320 -309
  14. package/lib/browser/index.js +1 -1
  15. package/lib/browser/{repeated-block.0c50662b.cjs → repeated-block.19e40e3c.cjs} +1 -1
  16. package/lib/browser/{repeated-block.bc26d02d.js → repeated-block.1daedcf0.js} +2 -2
  17. package/lib/edge/{block-styles.a5af3df2.cjs → block-styles.d6a137a2.cjs} +1 -1
  18. package/lib/edge/{block-styles.fee0d2aa.js → block-styles.ff4e7cca.js} +1 -1
  19. package/lib/edge/{block-wrapper.6bdfca76.cjs → block-wrapper.7680c30d.cjs} +1 -1
  20. package/lib/edge/{block-wrapper.637d7df2.js → block-wrapper.e888bded.js} +3 -3
  21. package/lib/edge/{component-ref.41811af5.js → component-ref.0085cff9.js} +2 -2
  22. package/lib/edge/{component-ref.369810a4.cjs → component-ref.b8948e48.cjs} +1 -1
  23. package/lib/edge/constants/sdk-version.d.ts +1 -1
  24. package/lib/edge/functions/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
  25. package/lib/edge/{get-block-properties.d9e1b7db.js → get-block-properties.72a3dc12.js} +1 -1
  26. package/lib/{node/get-block-properties.4076202f.cjs → edge/get-block-properties.d45ba61d.cjs} +1 -1
  27. package/lib/edge/{index.202adcba.cjs → index.0a0c8c92.cjs} +26 -26
  28. package/lib/edge/index.cjs +1 -1
  29. package/lib/edge/{index.0e671c32.js → index.e6d5cab7.js} +403 -392
  30. package/lib/edge/index.js +1 -1
  31. package/lib/edge/{repeated-block.05059f8a.cjs → repeated-block.05f807ba.cjs} +1 -1
  32. package/lib/edge/{repeated-block.f8d5be9a.js → repeated-block.2b5cb112.js} +2 -2
  33. package/lib/node/{block-styles.c9083d49.cjs → block-styles.29394399.cjs} +1 -1
  34. package/lib/node/{block-styles.bb5f14b0.js → block-styles.ca6e546f.js} +1 -1
  35. package/lib/node/{block-wrapper.7aa2ef9c.js → block-wrapper.2d100320.js} +3 -3
  36. package/lib/node/{block-wrapper.7d82a700.cjs → block-wrapper.475ef393.cjs} +1 -1
  37. package/lib/node/{component-ref.32bc874a.js → component-ref.8ce368f0.js} +2 -2
  38. package/lib/node/{component-ref.3748ed2f.cjs → component-ref.e97c8def.cjs} +1 -1
  39. package/lib/node/constants/sdk-version.d.ts +1 -1
  40. package/lib/node/functions/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
  41. package/lib/node/{get-block-properties.4e3171b7.js → get-block-properties.617528c9.js} +1 -1
  42. package/lib/{edge/get-block-properties.8c9ec377.cjs → node/get-block-properties.8f5406b6.cjs} +1 -1
  43. package/lib/node/{index.0d7a2ca2.js → index.a0eb0257.js} +170 -159
  44. package/lib/node/{index.a0856b34.cjs → index.c1e6d3e4.cjs} +4 -4
  45. package/lib/node/index.cjs +1 -1
  46. package/lib/node/index.js +1 -1
  47. package/lib/node/{repeated-block.05cbf677.js → repeated-block.7e31abfb.js} +2 -2
  48. package/lib/node/{repeated-block.d07e6280.cjs → repeated-block.c8bbbf33.cjs} +1 -1
  49. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, openBlock as k, createElementBlock as x, Fragment as se, createBlock as W, resolveDynamicComponent as rt, mergeProps as ee, toHandlers as Ue, withCtx as Ae, renderSlot as le, resolveComponent as U, createTextVNode as Co, toDisplayString as Ao, defineAsyncComponent as bt, createVNode as ye, renderList as st, createCommentVNode as X, h as Ar, createElementVNode as nn, normalizeStyle as rn, normalizeClass as br, markRaw as bo } from "vue";
1
+ import { defineComponent as O, openBlock as k, createElementBlock as x, Fragment as se, createBlock as V, resolveDynamicComponent as rt, mergeProps as te, toHandlers as Ue, withCtx as Ae, renderSlot as le, resolveComponent as U, createTextVNode as Co, toDisplayString as Ao, defineAsyncComponent as bt, createVNode as ye, renderList as st, createCommentVNode as X, h as Ar, createElementVNode as nn, normalizeStyle as rn, normalizeClass as br, markRaw as bo } from "vue";
2
2
  const ko = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Eo = (e) => typeof e == "string" && ko.has(e.toLowerCase());
3
3
  function wt(e = {}, t, n) {
4
4
  const r = {};
@@ -23,13 +23,13 @@ const So = O({
23
23
  return n;
24
24
  };
25
25
  function Fo(e, t, n, r, o, i) {
26
- return e.isEmptyElement(e.TagName) ? (k(), W(rt(e.TagName), ee({ key: 1 }, e.attributes, Ue(e.actionAttributes)), null, 16)) : (k(), x(se, { key: 0 }, [
27
- typeof e.TagName == "string" ? (k(), W(rt(e.TagName), ee({ key: 0 }, e.attributes, Ue(e.actionAttributes)), {
26
+ return e.isEmptyElement(e.TagName) ? (k(), V(rt(e.TagName), te({ key: 1 }, e.attributes, Ue(e.actionAttributes)), null, 16)) : (k(), x(se, { key: 0 }, [
27
+ typeof e.TagName == "string" ? (k(), V(rt(e.TagName), te({ key: 0 }, e.attributes, Ue(e.actionAttributes)), {
28
28
  default: Ae(() => [
29
29
  le(e.$slots, "default")
30
30
  ]),
31
31
  _: 3
32
- }, 16)) : (k(), W(rt(e.TagName), ee({ key: 1 }, e.attributes, Ue(e.actionAttributes)), {
32
+ }, 16)) : (k(), V(rt(e.TagName), te({ key: 1 }, e.attributes, Ue(e.actionAttributes)), {
33
33
  default: Ae(() => [
34
34
  le(e.$slots, "default")
35
35
  ]),
@@ -37,7 +37,7 @@ function Fo(e, t, n, r, o, i) {
37
37
  }, 16))
38
38
  ], 64));
39
39
  }
40
- const pn = /* @__PURE__ */ P(So, [["render", Fo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/dynamic-renderer/dynamic-renderer.vue"]]), Gu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
+ const pn = /* @__PURE__ */ P(So, [["render", Fo], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/dynamic-renderer/dynamic-renderer.vue"]]), Xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
41
  __proto__: null,
42
42
  default: pn
43
43
  }, Symbol.toStringTag, { value: "Module" })), ue = "vue", dn = () => {
@@ -68,7 +68,7 @@ const pn = /* @__PURE__ */ P(So, [["render", Fo], ["__file", "/home/runner/work/
68
68
  });
69
69
  function Bo(e, t, n, r, o, i) {
70
70
  const u = U("dynamic-renderer");
71
- return k(), W(u, {
71
+ return k(), V(u, {
72
72
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
73
73
  attributes: {
74
74
  ...e.filterAttrs(e.attributes, "v-on:", !1),
@@ -117,7 +117,7 @@ function To(e) {
117
117
  builderBlock: e
118
118
  };
119
119
  }
120
- const kt = "[Builder.io]: ", te = {
120
+ const kt = "[Builder.io]: ", Q = {
121
121
  log: (...e) => console.log(kt, ...e),
122
122
  error: (...e) => console.error(kt, ...e),
123
123
  warn: (...e) => console.warn(kt, ...e),
@@ -247,7 +247,7 @@ var I, Mo = function(e) {
247
247
  };
248
248
  }
249
249
  function i() {
250
- this.line = De, this.ab = p - de;
250
+ this.line = Ie, this.ab = p - de;
251
251
  }
252
252
  function u(s, a) {
253
253
  Re = p, B.C && (_t = new i()), S = s, h(), re = a, ze = s.m;
@@ -263,9 +263,9 @@ var I, Mo = function(e) {
263
263
  if (s === 32)
264
264
  ++p;
265
265
  else if (s === 13)
266
- ++p, s = g.charCodeAt(p), s === 10 && ++p, B.C && (++De, de = p);
266
+ ++p, s = g.charCodeAt(p), s === 10 && ++p, B.C && (++Ie, de = p);
267
267
  else if (s === 10 || s === 8232 || s === 8233)
268
- ++p, B.C && (++De, de = p);
268
+ ++p, B.C && (++Ie, de = p);
269
269
  else if (8 < s && 14 > s)
270
270
  ++p;
271
271
  else if (s === 47)
@@ -274,7 +274,7 @@ var I, Mo = function(e) {
274
274
  var a = B.va && B.C && new i(), l = p, d = g.indexOf("*/", p += 2);
275
275
  if (d === -1 && r(p - 2, "Unterminated comment"), p = d + 2, B.C)
276
276
  for (At.lastIndex = l; (s = At.exec(g)) && s.index < p; )
277
- ++De, de = s.index + s[0].length;
277
+ ++Ie, de = s.index + s[0].length;
278
278
  B.va && B.va(!0, g.slice(l + 2, d), l, p, a, B.C && new i());
279
279
  } else if (s === 47)
280
280
  c();
@@ -344,7 +344,7 @@ var I, Mo = function(e) {
344
344
  for (d && (d = d[0]); d && 255 < parseInt(d, 8); )
345
345
  d = d.slice(0, -1);
346
346
  if (d === "0" && (d = null), ++p, d)
347
- Q && r(p - 2, "Octal literal in strict mode"), a += String.fromCharCode(parseInt(d, 8)), p += d.length - 1;
347
+ ee && r(p - 2, "Octal literal in strict mode"), a += String.fromCharCode(parseInt(d, 8)), p += d.length - 1;
348
348
  else
349
349
  switch (l) {
350
350
  case 110:
@@ -381,7 +381,7 @@ var I, Mo = function(e) {
381
381
  case 13:
382
382
  g.charCodeAt(p) === 10 && ++p;
383
383
  case 10:
384
- B.C && (de = p, ++De);
384
+ B.C && (de = p, ++Ie);
385
385
  break;
386
386
  default:
387
387
  a += String.fromCharCode(l);
@@ -391,26 +391,26 @@ var I, Mo = function(e) {
391
391
  }
392
392
  return;
393
393
  case 47:
394
- s = g.charCodeAt(p + 1), ze ? (++p, R()) : s === 61 ? A(Ie, 2) : A(qn, 1);
394
+ s = g.charCodeAt(p + 1), ze ? (++p, R()) : s === 61 ? A(xe, 2) : A(qn, 1);
395
395
  return;
396
396
  case 37:
397
397
  case 42:
398
- g.charCodeAt(p + 1) === 61 ? A(Ie, 2) : A(ho, 1);
398
+ g.charCodeAt(p + 1) === 61 ? A(xe, 2) : A(ho, 1);
399
399
  return;
400
400
  case 124:
401
401
  case 38:
402
- a = g.charCodeAt(p + 1), a === s ? A(s === 124 ? er : tr, 2) : a === 61 ? A(Ie, 2) : A(s === 124 ? io : uo, 1);
402
+ a = g.charCodeAt(p + 1), a === s ? A(s === 124 ? er : tr, 2) : a === 61 ? A(xe, 2) : A(s === 124 ? io : uo, 1);
403
403
  return;
404
404
  case 94:
405
- g.charCodeAt(p + 1) === 61 ? A(Ie, 2) : A(so, 1);
405
+ g.charCodeAt(p + 1) === 61 ? A(xe, 2) : A(so, 1);
406
406
  return;
407
407
  case 43:
408
408
  case 45:
409
- a = g.charCodeAt(p + 1), a === s ? a === 45 && g.charCodeAt(p + 2) === 62 && Ct.test(g.slice(Ee, p)) ? (p += 3, c(), h(), v()) : A(oo, 2) : a === 61 ? A(Ie, 2) : A(po, 1);
409
+ a = g.charCodeAt(p + 1), a === s ? a === 45 && g.charCodeAt(p + 2) === 62 && Ct.test(g.slice(Ee, p)) ? (p += 3, c(), h(), v()) : A(oo, 2) : a === 61 ? A(xe, 2) : A(po, 1);
410
410
  return;
411
411
  case 60:
412
412
  case 62:
413
- a = g.charCodeAt(p + 1), l = 1, a === s ? (l = s === 62 && g.charCodeAt(p + 2) === 62 ? 3 : 2, g.charCodeAt(p + l) === 61 ? A(Ie, l + 1) : A(co, l)) : a === 33 && s === 60 && g.charCodeAt(p + 2) === 45 && g.charCodeAt(p + 3) === 45 ? (p += 4, c(), h(), v()) : (a === 61 && (l = g.charCodeAt(p + 2) === 61 ? 3 : 2), A(lo, l));
413
+ a = g.charCodeAt(p + 1), l = 1, a === s ? (l = s === 62 && g.charCodeAt(p + 2) === 62 ? 3 : 2, g.charCodeAt(p + l) === 61 ? A(xe, l + 1) : A(co, l)) : a === 33 && s === 60 && g.charCodeAt(p + 2) === 45 && g.charCodeAt(p + 3) === 45 ? (p += 4, c(), h(), v()) : (a === 61 && (l = g.charCodeAt(p + 2) === 61 ? 3 : 2), A(lo, l));
414
414
  return;
415
415
  case 61:
416
416
  case 33:
@@ -427,10 +427,10 @@ var I, Mo = function(e) {
427
427
  if (p >= Te)
428
428
  return u(Lt);
429
429
  if (s = g.charCodeAt(p), n(s) || s === 92)
430
- return we();
430
+ return Be();
431
431
  if (m(s) === !1) {
432
432
  if (s = String.fromCharCode(s), s === "\\" || rr.test(s))
433
- return we();
433
+ return Be();
434
434
  r(p, "Unexpected character '" + s + "'");
435
435
  }
436
436
  }
@@ -476,7 +476,7 @@ var I, Mo = function(e) {
476
476
  var a = p, l = !1, d = g.charCodeAt(p) === 48;
477
477
  s || N(10) !== null || r(a, "Invalid number"), g.charCodeAt(p) === 46 && (++p, N(10), l = !0), s = g.charCodeAt(p), (s === 69 || s === 101) && (s = g.charCodeAt(++p), s !== 43 && s !== 45 || ++p, N(10) === null && r(a, "Invalid number"), l = !0), n(g.charCodeAt(p)) && r(p, "Identifier directly after number"), s = g.slice(a, p);
478
478
  var F;
479
- l ? F = parseFloat(s) : d && s.length !== 1 ? /[89]/.test(s) || Q ? r(a, "Invalid number") : F = parseInt(s, 8) : F = parseInt(s, 10), u(Je, F);
479
+ l ? F = parseFloat(s) : d && s.length !== 1 ? /[89]/.test(s) || ee ? r(a, "Invalid number") : F = parseInt(s, 8) : F = parseInt(s, 10), u(Je, F);
480
480
  }
481
481
  function M(s) {
482
482
  return s = N(16, s), s === null && r(L, "Bad character escape sequence"), s;
@@ -497,18 +497,18 @@ var I, Mo = function(e) {
497
497
  }
498
498
  return Oe ? s : g.slice(l, p);
499
499
  }
500
- function we() {
500
+ function Be() {
501
501
  var s = ne(), a = je;
502
502
  !Oe && mo(s) && (a = ro[s]), u(a, s);
503
503
  }
504
504
  function E() {
505
- Vt = L, Ee = Re, Wt = _t, v();
505
+ Wt = L, Ee = Re, Vt = _t, v();
506
506
  }
507
- function We(s) {
508
- if (Q = s, p = L, B.C)
507
+ function Ve(s) {
508
+ if (ee = s, p = L, B.C)
509
509
  for (; p < de; )
510
510
  de = g.lastIndexOf(`
511
- `, de - 2) + 1, --De;
511
+ `, de - 2) + 1, --Ie;
512
512
  h(), v();
513
513
  }
514
514
  function Le() {
@@ -526,7 +526,7 @@ var I, Mo = function(e) {
526
526
  return a.start = s.start, B.C && (a.X = new oe(), a.X.start = s.X.start), B.Xa && (a.j = [s.j[0], 0]), a;
527
527
  }
528
528
  function w(s, a) {
529
- return s.type = a, s.end = Ee, B.C && (s.X.end = Wt), B.Xa && (s.j[1] = Ee), s;
529
+ return s.type = a, s.end = Ee, B.C && (s.X.end = Vt), B.Xa && (s.j[1] = Ee), s;
530
530
  }
531
531
  function Tt(s) {
532
532
  return s.type === "ExpressionStatement" && s.la.type === "Literal" && s.la.value === "use strict";
@@ -537,7 +537,7 @@ var I, Mo = function(e) {
537
537
  function ht() {
538
538
  return !B.fc && (S === Lt || S === $e || Ct.test(g.slice(Ee, L)));
539
539
  }
540
- function Be() {
540
+ function De() {
541
541
  $(fe) || ht() || ce();
542
542
  }
543
543
  function _(s) {
@@ -547,63 +547,63 @@ var I, Mo = function(e) {
547
547
  r(L, "Unexpected token");
548
548
  }
549
549
  function ft(s) {
550
- s.type !== "Identifier" && s.type !== "MemberExpression" && r(s.start, "Assigning to rvalue"), Q && s.type === "Identifier" && vt(s.name) && r(s.start, "Assigning to " + s.name + " in strict mode");
550
+ s.type !== "Identifier" && s.type !== "MemberExpression" && r(s.start, "Assigning to rvalue"), ee && s.type === "Identifier" && vt(s.name) && r(s.start, "Assigning to " + s.name + " in strict mode");
551
551
  }
552
552
  function ie() {
553
- (S === qn || S === Ie && re === "/=") && v(!0);
553
+ (S === qn || S === xe && re === "/=") && v(!0);
554
554
  var s = S, a = j();
555
555
  switch (s) {
556
556
  case Ht:
557
557
  case Rn:
558
558
  E();
559
559
  var l = s === Ht;
560
- $(fe) || ht() ? a.label = null : S !== je ? ce() : (a.label = pe(), Be());
561
- for (var d = 0; d < V.length; ++d) {
562
- var F = V[d];
560
+ $(fe) || ht() ? a.label = null : S !== je ? ce() : (a.label = pe(), De());
561
+ for (var d = 0; d < W.length; ++d) {
562
+ var F = W[d];
563
563
  if ((a.label === null || F.name === a.label.name) && (F.kind !== null && (l || F.kind === "loop") || a.label && l))
564
564
  break;
565
565
  }
566
- return d === V.length && r(a.start, "Unsyntactic " + s.l), w(a, l ? "BreakStatement" : "ContinueStatement");
566
+ return d === W.length && r(a.start, "Unsyntactic " + s.l), w(a, l ? "BreakStatement" : "ContinueStatement");
567
567
  case jn:
568
- return E(), Be(), w(a, "DebuggerStatement");
568
+ return E(), De(), w(a, "DebuggerStatement");
569
569
  case On:
570
- return E(), V.push(Zt), a.body = ie(), V.pop(), _(Jt), a.test = He(), Be(), w(a, "DoWhileStatement");
570
+ return E(), W.push(Zt), a.body = ie(), W.pop(), _(Jt), a.test = He(), De(), w(a, "DoWhileStatement");
571
571
  case Un:
572
- return E(), V.push(Zt), _(he), S === fe ? Rt(a, null) : S === Xt ? (s = j(), E(), Dn(s, !0), w(s, "VariableDeclaration"), s.fa.length === 1 && $(yt) ? Bn(a, s) : Rt(a, s)) : (s = z(!1, !0), $(yt) ? (ft(s), Bn(a, s)) : Rt(a, s));
572
+ return E(), W.push(Zt), _(he), S === fe ? Rt(a, null) : S === Xt ? (s = j(), E(), Dn(s, !0), w(s, "VariableDeclaration"), s.fa.length === 1 && $(yt) ? Bn(a, s) : Rt(a, s)) : (s = z(!1, !0), $(yt) ? (ft(s), Bn(a, s)) : Rt(a, s));
573
573
  case Gt:
574
574
  return E(), Pt(a, !0);
575
575
  case Mn:
576
576
  return E(), a.test = He(), a.da = ie(), a.alternate = $(Pn) ? ie() : null, w(a, "IfStatement");
577
577
  case _n:
578
- return Xe || B.Ib || r(L, "'return' outside of function"), E(), $(fe) || ht() ? a.K = null : (a.K = z(), Be()), w(a, "ReturnStatement");
578
+ return Xe || B.Ib || r(L, "'return' outside of function"), E(), $(fe) || ht() ? a.K = null : (a.K = z(), De()), w(a, "ReturnStatement");
579
579
  case zt:
580
- for (E(), a.Qb = He(), a.tb = [], _(Ye), V.push(vo); S !== $e; )
581
- S === Kt || S === $n ? (s = S === Kt, d && w(d, "SwitchCase"), a.tb.push(d = j()), d.da = [], E(), s ? d.test = z() : (l && r(Vt, "Multiple default clauses"), l = !0, d.test = null), _(qe)) : (d || ce(), d.da.push(ie()));
582
- return d && w(d, "SwitchCase"), E(), V.pop(), w(a, "SwitchStatement");
583
- case Vn:
584
- return E(), Ct.test(g.slice(Ee, L)) && r(Ee, "Illegal newline after throw"), a.K = z(), Be(), w(a, "ThrowStatement");
580
+ for (E(), a.Qb = He(), a.tb = [], _(Ye), W.push(vo); S !== $e; )
581
+ S === Kt || S === $n ? (s = S === Kt, d && w(d, "SwitchCase"), a.tb.push(d = j()), d.da = [], E(), s ? d.test = z() : (l && r(Wt, "Multiple default clauses"), l = !0, d.test = null), _(qe)) : (d || ce(), d.da.push(ie()));
582
+ return d && w(d, "SwitchCase"), E(), W.pop(), w(a, "SwitchStatement");
585
583
  case Wn:
586
- return E(), a.block = Ke(), a.Ea = null, S === Tn && (s = j(), E(), _(he), s.Ua = pe(), Q && vt(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), _(ae), s.body = Ke(), a.Ea = w(s, "CatchClause")), a.fb = $(Nn) ? Ke() : null, a.Ea || a.fb || r(a.start, "Missing catch or finally clause"), w(a, "TryStatement");
584
+ return E(), Ct.test(g.slice(Ee, L)) && r(Ee, "Illegal newline after throw"), a.K = z(), De(), w(a, "ThrowStatement");
585
+ case Vn:
586
+ return E(), a.block = Ke(), a.Ea = null, S === Tn && (s = j(), E(), _(he), s.Ua = pe(), ee && vt(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), _(ae), s.body = Ke(), a.Ea = w(s, "CatchClause")), a.fb = $(Nn) ? Ke() : null, a.Ea || a.fb || r(a.start, "Missing catch or finally clause"), w(a, "TryStatement");
587
587
  case Xt:
588
- return E(), Dn(a), Be(), w(a, "VariableDeclaration");
588
+ return E(), Dn(a), De(), w(a, "VariableDeclaration");
589
589
  case Jt:
590
- return E(), a.test = He(), V.push(Zt), a.body = ie(), V.pop(), w(a, "WhileStatement");
590
+ return E(), a.test = He(), W.push(Zt), a.body = ie(), W.pop(), w(a, "WhileStatement");
591
591
  case Ln:
592
- return Q && r(L, "'with' in strict mode"), E(), a.object = He(), a.body = ie(), w(a, "WithStatement");
592
+ return ee && r(L, "'with' in strict mode"), E(), a.object = He(), a.body = ie(), w(a, "WithStatement");
593
593
  case Ye:
594
594
  return Ke();
595
595
  case fe:
596
596
  return E(), w(a, "EmptyStatement");
597
597
  default:
598
598
  if (l = re, F = z(), s === je && F.type === "Identifier" && $(qe)) {
599
- for (d = 0; d < V.length; ++d)
600
- V[d].name === l && r(F.start, "Label '" + l + "' is already declared");
601
- return V.push({
599
+ for (d = 0; d < W.length; ++d)
600
+ W[d].name === l && r(F.start, "Label '" + l + "' is already declared");
601
+ return W.push({
602
602
  name: l,
603
603
  kind: S.W ? "loop" : S === zt ? "switch" : null
604
- }), a.body = ie(), V.pop(), a.label = F, w(a, "LabeledStatement");
604
+ }), a.body = ie(), W.pop(), a.label = F, w(a, "LabeledStatement");
605
605
  }
606
- return a.la = F, Be(), w(a, "ExpressionStatement");
606
+ return a.la = F, De(), w(a, "ExpressionStatement");
607
607
  }
608
608
  }
609
609
  function He() {
@@ -617,22 +617,22 @@ var I, Mo = function(e) {
617
617
  var F = ie();
618
618
  if (a.body.push(F), l && s && Tt(F)) {
619
619
  var H = d;
620
- We(d = !0);
620
+ Ve(d = !0);
621
621
  }
622
622
  l = !1;
623
623
  }
624
- return d && !H && We(!1), w(a, "BlockStatement");
624
+ return d && !H && Ve(!1), w(a, "BlockStatement");
625
625
  }
626
626
  function Rt(s, a) {
627
- return s.ua = a, _(fe), s.test = S === fe ? null : z(), _(fe), s.update = S === ae ? null : z(), _(ae), s.body = ie(), V.pop(), w(s, "ForStatement");
627
+ return s.ua = a, _(fe), s.test = S === fe ? null : z(), _(fe), s.update = S === ae ? null : z(), _(ae), s.body = ie(), W.pop(), w(s, "ForStatement");
628
628
  }
629
629
  function Bn(s, a) {
630
- return s.left = a, s.right = z(), _(ae), s.body = ie(), V.pop(), w(s, "ForInStatement");
630
+ return s.left = a, s.right = z(), _(ae), s.body = ie(), W.pop(), w(s, "ForInStatement");
631
631
  }
632
632
  function Dn(s, a) {
633
633
  for (s.fa = [], s.kind = "var"; ; ) {
634
634
  var l = j();
635
- if (l.id = pe(), Q && vt(l.id.name) && r(l.id.start, "Binding " + l.id.name + " in strict mode"), l.ua = $(Zn) ? z(!0, a) : null, s.fa.push(w(l, "VariableDeclarator")), !$(Se))
635
+ if (l.id = pe(), ee && vt(l.id.name) && r(l.id.start, "Binding " + l.id.name + " in strict mode"), l.ua = $(Zn) ? z(!0, a) : null, s.fa.push(w(l, "VariableDeclarator")), !$(Se))
636
636
  break;
637
637
  }
638
638
  }
@@ -664,7 +664,7 @@ var I, Mo = function(e) {
664
664
  function Ot() {
665
665
  if (S.prefix) {
666
666
  var s = j(), a = S.$b;
667
- return s.operator = re, ze = s.prefix = !0, E(), s.K = Ot(), a ? ft(s.K) : Q && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), w(s, a ? "UpdateExpression" : "UnaryExpression");
667
+ return s.operator = re, ze = s.prefix = !0, E(), s.K = Ot(), a ? ft(s.K) : ee && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), w(s, a ? "UpdateExpression" : "UnaryExpression");
668
668
  }
669
669
  for (a = Ge(mt()); S.cc && !ht(); )
670
670
  s = ke(a), s.operator = re, s.prefix = !1, s.K = a, ft(a), E(), a = w(s, "UpdateExpression");
@@ -714,12 +714,12 @@ var I, Mo = function(e) {
714
714
  var H = d.kind = "init";
715
715
  } else
716
716
  d.key.type !== "Identifier" || d.key.name !== "get" && d.key.name !== "set" ? ce() : (F = l = !0, H = d.kind = d.key.name, d.key = S === Je || S === gt ? mt() : pe(!0), S !== he && ce(), d.value = Pt(j(), !1));
717
- if (d.key.type === "Identifier" && (Q || l))
717
+ if (d.key.type === "Identifier" && (ee || l))
718
718
  for (var Y = 0; Y < s.h.length; ++Y) {
719
719
  var Pe = s.h[Y];
720
720
  if (Pe.key.name === d.key.name) {
721
721
  var Qt = H === Pe.kind || F && Pe.kind === "init" || H === "init" && (Pe.kind === "get" || Pe.kind === "set");
722
- Qt && !Q && H === "init" && Pe.kind === "init" && (Qt = !1), Qt && r(d.key.start, "Redefinition of property");
722
+ Qt && !ee && H === "init" && Pe.kind === "init" && (Qt = !1), Qt && r(d.key.start, "Redefinition of property");
723
723
  }
724
724
  }
725
725
  s.h.push(d);
@@ -738,8 +738,8 @@ var I, Mo = function(e) {
738
738
  for (_(he); !$(ae); )
739
739
  l ? l = !1 : _(Se), s.oa.push(pe());
740
740
  l = Xe;
741
- var d = V;
742
- if (Xe = !0, V = [], s.body = Ke(!0), Xe = l, V = d, Q || s.body.body.length && Tt(s.body.body[0])) {
741
+ var d = W;
742
+ if (Xe = !0, W = [], s.body = Ke(!0), Xe = l, W = d, ee || s.body.body.length && Tt(s.body.body[0])) {
743
743
  for (l = s.id ? -1 : 0; l < s.oa.length; ++l)
744
744
  if (d = 0 > l ? s.id : s.oa[l], (nr(d.name) || vt(d.name)) && r(d.start, "Defining '" + d.name + "' in strict mode"), 0 <= l)
745
745
  for (var F = 0; F < l; ++F)
@@ -759,7 +759,7 @@ var I, Mo = function(e) {
759
759
  }
760
760
  function pe(s) {
761
761
  var a = j();
762
- return s && B.yb === "everywhere" && (s = !1), S === je ? (!s && (B.yb && fo(re) || Q && nr(re)) && g.slice(L, Re).indexOf("\\") === -1 && r(L, "The keyword '" + re + "' is reserved"), a.name = re) : s && S.l ? a.name = S.l : ce(), ze = !1, E(), w(a, "Identifier");
762
+ return s && B.yb === "everywhere" && (s = !1), S === je ? (!s && (B.yb && fo(re) || ee && nr(re)) && g.slice(L, Re).indexOf("\\") === -1 && r(L, "The keyword '" + re + "' is reserved"), a.name = re) : s && S.l ? a.name = S.l : ce(), ze = !1, E(), w(a, "Identifier");
763
763
  }
764
764
  e.version = "0.5.0";
765
765
  var B, g = "", Te, Ut;
@@ -767,8 +767,8 @@ var I, Mo = function(e) {
767
767
  g = String(s), Te = g.length, B = a || {};
768
768
  for (var l in In)
769
769
  Object.prototype.hasOwnProperty.call(B, l) || (B[l] = In[l]);
770
- for (Ut = B.sourceFile, De = 1, p = de = 0, ze = !0, h(), l = B.dc, Vt = Ee = p, B.C && (Wt = new i()), Xe = Q = !1, V = [], v(), s = l || j(), a = !0, l || (s.body = []); S !== Lt; )
771
- l = ie(), s.body.push(l), a && Tt(l) && We(!0), a = !1;
770
+ for (Ut = B.sourceFile, Ie = 1, p = de = 0, ze = !0, h(), l = B.dc, Wt = Ee = p, B.C && (Vt = new i()), Xe = ee = !1, W = [], v(), s = l || j(), a = !0, l || (s.body = []); S !== Lt; )
771
+ l = ie(), s.body.push(l), a && Tt(l) && Ve(!0), a = !1;
772
772
  return w(s, "Program");
773
773
  };
774
774
  var In = {
@@ -782,7 +782,7 @@ var I, Mo = function(e) {
782
782
  dc: null,
783
783
  sourceFile: null,
784
784
  vb: null
785
- }, p = 0, L = 0, Re = 0, Mt, _t, S, re, ze, De, de, Vt = 0, Ee = 0, Wt, Xe, V, Q, no = [], Je = {
785
+ }, p = 0, L = 0, Re = 0, Mt, _t, S, re, ze, Ie, de, Wt = 0, Ee = 0, Vt, Xe, W, ee, no = [], Je = {
786
786
  type: "num"
787
787
  }, xn = {
788
788
  type: "regexp"
@@ -825,10 +825,10 @@ var I, Mo = function(e) {
825
825
  m: !0
826
826
  }, zt = {
827
827
  l: "switch"
828
- }, Vn = {
828
+ }, Wn = {
829
829
  l: "throw",
830
830
  m: !0
831
- }, Wn = {
831
+ }, Vn = {
832
832
  l: "try"
833
833
  }, Xt = {
834
834
  l: "var"
@@ -870,8 +870,8 @@ var I, Mo = function(e) {
870
870
  if: Mn,
871
871
  return: _n,
872
872
  switch: zt,
873
- throw: Vn,
874
- try: Wn,
873
+ throw: Wn,
874
+ try: Vn,
875
875
  var: Xt,
876
876
  while: Jt,
877
877
  with: Ln,
@@ -936,7 +936,7 @@ var I, Mo = function(e) {
936
936
  }, Zn = {
937
937
  Cb: !0,
938
938
  m: !0
939
- }, Ie = {
939
+ }, xe = {
940
940
  Cb: !0,
941
941
  m: !0
942
942
  }, oo = {
@@ -1027,7 +1027,7 @@ var or = {
1027
1027
  writable: !0
1028
1028
  }, wr = {
1029
1029
  STEP_ERROR: !0
1030
- }, Ve = {
1030
+ }, We = {
1031
1031
  SCOPE_REFERENCE: !0
1032
1032
  }, ut = {
1033
1033
  VALUE_IN_DESCRIPTOR: !0
@@ -1115,8 +1115,8 @@ I.Eb = function() {
1115
1115
  ;
1116
1116
  return this.za;
1117
1117
  };
1118
- function Vo(e, t) {
1119
- e.g(t, "NaN", NaN, Ze), e.g(t, "Infinity", 1 / 0, Ze), e.g(t, "undefined", void 0, Ze), e.g(t, "window", t, hn), e.g(t, "this", t, Ze), e.g(t, "self", t), e.M = new D(null), e.Z = new D(e.M), Wo(e, t), Lo(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Ho(e, t), Ko(e, t), Go(e, t), zo(e, t), Xo(e, t), Jo(e, t), Yo(e, t), qo(e, t), Zo(e, t);
1118
+ function Wo(e, t) {
1119
+ e.g(t, "NaN", NaN, Ze), e.g(t, "Infinity", 1 / 0, Ze), e.g(t, "undefined", void 0, Ze), e.g(t, "window", t, hn), e.g(t, "this", t, Ze), e.g(t, "self", t), e.M = new D(null), e.Z = new D(e.M), Vo(e, t), Lo(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Ho(e, t), Ko(e, t), Go(e, t), zo(e, t), Xo(e, t), Jo(e, t), Yo(e, t), qo(e, t), Zo(e, t);
1120
1120
  var n = e.i(function() {
1121
1121
  throw EvalError("Can't happen");
1122
1122
  }, !1);
@@ -1142,7 +1142,7 @@ function Vo(e, t) {
1142
1142
  }, e.g(t, "clearInterval", e.i(n, !1), y), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1143
1143
  }
1144
1144
  I.Wb = 0;
1145
- function Wo(e, t) {
1145
+ function Vo(e, t) {
1146
1146
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1147
1147
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", u = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1148
1148
  if (u) {
@@ -1785,7 +1785,7 @@ function an(e, t, n) {
1785
1785
  var o = t.body && t.body[0];
1786
1786
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
1787
1787
  }
1788
- return o = e.s(null), r = new xr(n, r, o), n || Vo(e, r.object), at(e, t, r), r;
1788
+ return o = e.s(null), r = new xr(n, r, o), n || Wo(e, r.object), at(e, t, r), r;
1789
1789
  }
1790
1790
  function Cn(e, t, n) {
1791
1791
  if (!t)
@@ -1871,10 +1871,10 @@ function be(e) {
1871
1871
  return e.o[e.o.length - 1].isConstructor;
1872
1872
  }
1873
1873
  function bn(e, t) {
1874
- return t[0] === Ve ? An(e, t[1]) : e.G(t[0], t[1]);
1874
+ return t[0] === We ? An(e, t[1]) : e.G(t[0], t[1]);
1875
1875
  }
1876
1876
  function kn(e, t, n) {
1877
- return t[0] === Ve ? Dr(e, t[1], n) : e.g(t[0], t[1], n);
1877
+ return t[0] === We ? Dr(e, t[1], n) : e.g(t[0], t[1], n);
1878
1878
  }
1879
1879
  function b(e, t, n) {
1880
1880
  throw e.N ? (n !== void 0 && t instanceof D && (t = e.Aa(t), un(e, t, n)), ct(e, 4, t), wr) : n === void 0 ? t : n;
@@ -2238,7 +2238,7 @@ f.prototype.stepCallExpression = function(e, t, n) {
2238
2238
  t.ia = 2;
2239
2239
  var o = t.value;
2240
2240
  if (Array.isArray(o)) {
2241
- if (t.U = bn(this, o), o[0] === Ve ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2241
+ if (t.U = bn(this, o), o[0] === We ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2242
2242
  return t.ia = 1, pt(this, o, t.value);
2243
2243
  } else
2244
2244
  t.U = o;
@@ -2363,7 +2363,7 @@ f.prototype.stepForInStatement = function(e, t, n) {
2363
2363
  }
2364
2364
  if (!t.wb)
2365
2365
  if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
2366
- t.pa = [Ve, e.fa[0].id.name];
2366
+ t.pa = [We, e.fa[0].id.name];
2367
2367
  else
2368
2368
  return t.pa = null, t = new C(e, t.scope), t.sa = !0, t;
2369
2369
  if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = kn(this, t.pa, e)))
@@ -2400,7 +2400,7 @@ f.prototype.stepFunctionExpression = function(e, t, n) {
2400
2400
  };
2401
2401
  f.prototype.stepIdentifier = function(e, t, n) {
2402
2402
  if (e.pop(), t.sa)
2403
- e[e.length - 1].value = [Ve, n.name];
2403
+ e[e.length - 1].value = [We, n.name];
2404
2404
  else {
2405
2405
  if (t = An(this, n.name), this.P)
2406
2406
  return pt(this, t, this.Na);
@@ -2553,7 +2553,7 @@ f.prototype.stepUnaryExpression = function(e, t, n) {
2553
2553
  case "delete":
2554
2554
  if (n = !0, Array.isArray(r)) {
2555
2555
  var o = r[0];
2556
- o === Ve && (o = t.scope), r = String(r[1]);
2556
+ o === We && (o = t.scope), r = String(r[1]);
2557
2557
  try {
2558
2558
  delete o.h[r];
2559
2559
  } catch {
@@ -2661,7 +2661,7 @@ const ti = (e) => e.split(`
2661
2661
  }).join(`
2662
2662
  `), v = ti(u);
2663
2663
  if (v === "") {
2664
- te.warn("Skipping evaluation of empty code block.");
2664
+ Q.warn("Skipping evaluation of empty code block.");
2665
2665
  return;
2666
2666
  }
2667
2667
  const A = `
@@ -2675,8 +2675,8 @@ theFunction();
2675
2675
  const ne = Fr(c, T, M);
2676
2676
  i == null || i(ne);
2677
2677
  }, N = function(T, M) {
2678
- h.forEach(([ne, we]) => {
2679
- const E = JSON.stringify(we);
2678
+ h.forEach(([ne, Be]) => {
2679
+ const E = JSON.stringify(Be);
2680
2680
  T.setProperty(M, lr(ne), E);
2681
2681
  }), T.setProperty(M, "setRootState", T.createNativeFunction(R));
2682
2682
  };
@@ -2684,12 +2684,23 @@ theFunction();
2684
2684
  const T = new f(A, N);
2685
2685
  return T.run(), T.pseudoToNative(T.value);
2686
2686
  } catch (T) {
2687
- te.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2687
+ Q.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2688
2688
  e: T
2689
2689
  });
2690
2690
  return;
2691
2691
  }
2692
- }, ri = (e) => J() ? No(e) : ni(e);
2692
+ }, we = (e) => e != null;
2693
+ function ri() {
2694
+ var e;
2695
+ return typeof process < "u" && we((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2696
+ }
2697
+ const oi = () => {
2698
+ var r;
2699
+ if (!ri())
2700
+ return !1;
2701
+ const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
2702
+ return e && t && !n ? (Q.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2703
+ }, ii = (e) => J() || oi() ? No(e) : ni(e);
2693
2704
  function Ft({
2694
2705
  code: e,
2695
2706
  context: t,
@@ -2700,7 +2711,7 @@ function Ft({
2700
2711
  isExpression: u = !0
2701
2712
  }) {
2702
2713
  if (e === "") {
2703
- te.warn("Skipping evaluation of empty code block.");
2714
+ Q.warn("Skipping evaluation of empty code block.");
2704
2715
  return;
2705
2716
  }
2706
2717
  const c = {
@@ -2715,16 +2726,16 @@ function Ft({
2715
2726
  localState: n
2716
2727
  };
2717
2728
  try {
2718
- return ri(c);
2729
+ return ii(c);
2719
2730
  } catch (h) {
2720
- te.error("Failed code evaluation: " + h.message, {
2731
+ Q.error("Failed code evaluation: " + h.message, {
2721
2732
  code: e
2722
2733
  });
2723
2734
  return;
2724
2735
  }
2725
2736
  }
2726
2737
  const dt = (e) => JSON.parse(JSON.stringify(e));
2727
- const oi = ({
2738
+ const si = ({
2728
2739
  block: e,
2729
2740
  context: t,
2730
2741
  localState: n,
@@ -2763,7 +2774,7 @@ function Tr({
2763
2774
  rootSetState: i
2764
2775
  }) {
2765
2776
  const u = e;
2766
- return n ? oi({
2777
+ return n ? si({
2767
2778
  block: u,
2768
2779
  localState: r,
2769
2780
  rootState: o,
@@ -2771,31 +2782,31 @@ function Tr({
2771
2782
  context: t
2772
2783
  }) : u;
2773
2784
  }
2774
- const ii = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), xe = (e) => e != null, Rr = (e) => Object.entries(e).map(([n, r]) => {
2785
+ const ui = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Rr = (e) => Object.entries(e).map(([n, r]) => {
2775
2786
  if (typeof r == "string")
2776
- return `${ii(n)}: ${r};`;
2777
- }).filter(xe), si = (e) => Rr(e).join(`
2778
- `), zu = ({
2787
+ return `${ui(n)}: ${r};`;
2788
+ }).filter(we), ai = (e) => Rr(e).join(`
2789
+ `), Ju = ({
2779
2790
  mediaQuery: e,
2780
2791
  className: t,
2781
2792
  styles: n
2782
2793
  }) => {
2783
2794
  const r = `.${t} {
2784
- ${si(n)}
2795
+ ${ai(n)}
2785
2796
  }`;
2786
2797
  return e ? `${e} {
2787
2798
  ${r}
2788
2799
  }` : r;
2789
2800
  };
2790
- function ui({
2801
+ function li({
2791
2802
  style: e
2792
2803
  }) {
2793
2804
  return e;
2794
2805
  }
2795
- const Xu = ({
2806
+ const Yu = ({
2796
2807
  block: e,
2797
2808
  context: t
2798
- }) => jr(ui({
2809
+ }) => jr(li({
2799
2810
  style: e.style || {},
2800
2811
  context: t,
2801
2812
  block: e
@@ -2813,7 +2824,7 @@ function jr(e) {
2813
2824
  return e;
2814
2825
  }
2815
2826
  }
2816
- const ai = ({
2827
+ const ci = ({
2817
2828
  block: e,
2818
2829
  context: t,
2819
2830
  registeredComponents: n
@@ -2835,7 +2846,7 @@ const ai = ({
2835
2846
  console.warn(`
2836
2847
  Could not find a registered component named "${r}".
2837
2848
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
2838
- }, li = ({
2849
+ }, pi = ({
2839
2850
  block: e,
2840
2851
  context: t
2841
2852
  }) => {
@@ -2868,33 +2879,33 @@ const ai = ({
2868
2879
  },
2869
2880
  block: r
2870
2881
  }));
2871
- }, ci = () => import("./block-styles.fee0d2aa.js").then((e) => e.default).catch((e) => {
2882
+ }, di = () => import("./block-styles.ff4e7cca.js").then((e) => e.default).catch((e) => {
2872
2883
  throw console.error(
2873
2884
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
2874
2885
  e
2875
2886
  ), e;
2876
- }), pi = () => import("./block-wrapper.637d7df2.js").then((e) => e.default).catch((e) => {
2887
+ }), hi = () => import("./block-wrapper.e888bded.js").then((e) => e.default).catch((e) => {
2877
2888
  throw console.error(
2878
2889
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
2879
2890
  e
2880
2891
  ), e;
2881
- }), di = () => import("./component-ref.41811af5.js").then((e) => e.default).catch((e) => {
2892
+ }), fi = () => import("./component-ref.0085cff9.js").then((e) => e.default).catch((e) => {
2882
2893
  throw console.error(
2883
2894
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
2884
2895
  e
2885
2896
  ), e;
2886
- }), hi = () => import("./repeated-block.f8d5be9a.js").then((e) => e.default).catch((e) => {
2897
+ }), mi = () => import("./repeated-block.2b5cb112.js").then((e) => e.default).catch((e) => {
2887
2898
  throw console.error(
2888
2899
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
2889
2900
  e
2890
2901
  ), e;
2891
- }), fi = O({
2902
+ }), gi = O({
2892
2903
  name: "block",
2893
2904
  components: {
2894
- BlockStyles: bt(ci),
2895
- ComponentRef: bt(di),
2896
- RepeatedBlock: bt(hi),
2897
- BlockWrapper: bt(pi)
2905
+ BlockStyles: bt(di),
2906
+ ComponentRef: bt(fi),
2907
+ RepeatedBlock: bt(mi),
2908
+ BlockWrapper: bt(hi)
2898
2909
  },
2899
2910
  props: ["block", "context", "registeredComponents", "linkComponent"],
2900
2911
  data() {
@@ -2902,14 +2913,14 @@ const ai = ({
2902
2913
  },
2903
2914
  computed: {
2904
2915
  blockComponent() {
2905
- return ai({
2916
+ return ci({
2906
2917
  block: this.block,
2907
2918
  context: this.context,
2908
2919
  registeredComponents: this.registeredComponents
2909
2920
  });
2910
2921
  },
2911
2922
  repeatItem() {
2912
- return li({
2923
+ return pi({
2913
2924
  block: this.block,
2914
2925
  context: this.context
2915
2926
  });
@@ -2965,7 +2976,7 @@ const ai = ({
2965
2976
  }
2966
2977
  }
2967
2978
  });
2968
- function mi(e, t, n, r, o, i) {
2979
+ function yi(e, t, n, r, o, i) {
2969
2980
  var A;
2970
2981
  const u = U("block-styles"), c = U("component-ref"), h = U("block", !0), m = U("block-wrapper"), v = U("repeated-block");
2971
2982
  return e.canShowBlock ? (k(), x(se, { key: 0 }, [
@@ -2973,7 +2984,7 @@ function mi(e, t, n, r, o, i) {
2973
2984
  block: e.block,
2974
2985
  context: e.context
2975
2986
  }, null, 8, ["block", "context"]),
2976
- (A = e.blockComponent) != null && A.noWrap ? (k(), W(c, {
2987
+ (A = e.blockComponent) != null && A.noWrap ? (k(), V(c, {
2977
2988
  key: 1,
2978
2989
  componentRef: e.componentRefProps.componentRef,
2979
2990
  componentOptions: e.componentRefProps.componentOptions,
@@ -2985,13 +2996,13 @@ function mi(e, t, n, r, o, i) {
2985
2996
  includeBlockProps: e.componentRefProps.includeBlockProps,
2986
2997
  isInteractive: e.componentRefProps.isInteractive
2987
2998
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"])) : (k(), x(se, { key: 0 }, [
2988
- e.repeatItem ? (k(!0), x(se, { key: 1 }, st(e.repeatItem, (R, N) => (k(), W(v, {
2999
+ e.repeatItem ? (k(!0), x(se, { key: 1 }, st(e.repeatItem, (R, N) => (k(), V(v, {
2989
3000
  key: N,
2990
3001
  repeatContext: R.context,
2991
3002
  block: R.block,
2992
3003
  registeredComponents: e.registeredComponents,
2993
3004
  linkComponent: e.linkComponent
2994
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (k(), W(m, {
3005
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (k(), V(m, {
2995
3006
  key: 0,
2996
3007
  Wrapper: e.Tag,
2997
3008
  block: e.processedBlock,
@@ -3010,7 +3021,7 @@ function mi(e, t, n, r, o, i) {
3010
3021
  includeBlockProps: e.componentRefProps.includeBlockProps,
3011
3022
  isInteractive: e.componentRefProps.isInteractive
3012
3023
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
3013
- (k(!0), x(se, null, st(e.childrenWithoutParentComponent, (R, N) => (k(), W(h, {
3024
+ (k(!0), x(se, null, st(e.childrenWithoutParentComponent, (R, N) => (k(), V(h, {
3014
3025
  key: R.id,
3015
3026
  block: R,
3016
3027
  context: e.childrenContext,
@@ -3023,10 +3034,10 @@ function mi(e, t, n, r, o, i) {
3023
3034
  ], 64))
3024
3035
  ], 64)) : X("v-if", !0);
3025
3036
  }
3026
- const $r = /* @__PURE__ */ P(fi, [["render", mi], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/block.vue"]]), Ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3037
+ const $r = /* @__PURE__ */ P(gi, [["render", yi], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/block.vue"]]), qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3027
3038
  __proto__: null,
3028
3039
  default: $r
3029
- }, Symbol.toStringTag, { value: "Module" })), gi = O({
3040
+ }, Symbol.toStringTag, { value: "Module" })), vi = O({
3030
3041
  name: "builder-blocks-wrapper",
3031
3042
  props: [
3032
3043
  "BlocksWrapper",
@@ -3071,8 +3082,8 @@ const $r = /* @__PURE__ */ P(fi, [["render", mi], ["__file", "/home/runner/work/
3071
3082
  }
3072
3083
  }
3073
3084
  });
3074
- function yi(e, t, n, r, o, i) {
3075
- return k(), W(rt(e.BlocksWrapper), ee({
3085
+ function Ci(e, t, n, r, o, i) {
3086
+ return k(), V(rt(e.BlocksWrapper), te({
3076
3087
  class: e.className + " component-1k2igrjdg3x",
3077
3088
  "builder-path": e.path,
3078
3089
  "builder-parent-id": e.parent,
@@ -3087,9 +3098,9 @@ function yi(e, t, n, r, o, i) {
3087
3098
  _: 3
3088
3099
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
3089
3100
  }
3090
- const vi = /* @__PURE__ */ P(gi, [["render", yi], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/blocks/blocks-wrapper.vue"]]), Ci = O({
3101
+ const Ai = /* @__PURE__ */ P(vi, [["render", Ci], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/blocks/blocks-wrapper.vue"]]), bi = O({
3091
3102
  name: "builder-blocks",
3092
- components: { BlocksWrapper: vi, Block: $r },
3103
+ components: { BlocksWrapper: Ai, Block: $r },
3093
3104
  props: [
3094
3105
  "blocks",
3095
3106
  "parent",
@@ -3104,10 +3115,10 @@ const vi = /* @__PURE__ */ P(gi, [["render", yi], ["__scopeId", "data-v-1f8aab9f
3104
3115
  componentsContext: kr.key
3105
3116
  }
3106
3117
  });
3107
- function Ai(e, t, n, r, o, i) {
3118
+ function ki(e, t, n, r, o, i) {
3108
3119
  var h, m;
3109
3120
  const u = U("block"), c = U("blocks-wrapper");
3110
- return k(), W(c, {
3121
+ return k(), V(c, {
3111
3122
  blocks: e.blocks,
3112
3123
  parent: e.parent,
3113
3124
  path: e.path,
@@ -3116,7 +3127,7 @@ function Ai(e, t, n, r, o, i) {
3116
3127
  BlocksWrapperProps: (m = e.context) == null ? void 0 : m.BlocksWrapperProps
3117
3128
  }, {
3118
3129
  default: Ae(() => [
3119
- e.blocks ? (k(!0), x(se, { key: 0 }, st(e.blocks, (v, A) => (k(), W(u, {
3130
+ e.blocks ? (k(!0), x(se, { key: 0 }, st(e.blocks, (v, A) => (k(), V(u, {
3120
3131
  key: v.id,
3121
3132
  block: v,
3122
3133
  linkComponent: e.linkComponent,
@@ -3127,13 +3138,13 @@ function Ai(e, t, n, r, o, i) {
3127
3138
  _: 1
3128
3139
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
3129
3140
  }
3130
- const It = /* @__PURE__ */ P(Ci, [["render", Ai], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/blocks/blocks.vue"]]), bi = O({
3141
+ const It = /* @__PURE__ */ P(bi, [["render", ki], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/blocks/blocks.vue"]]), Ei = O({
3131
3142
  render() {
3132
3143
  return Ar("style", { id: this.id, innerHTML: this.styles });
3133
3144
  },
3134
3145
  name: "inlined-styles",
3135
3146
  props: ["styles", "id"]
3136
- }), Sn = /* @__PURE__ */ P(bi, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/inlined-styles.vue"]]), Or = {
3147
+ }), Sn = /* @__PURE__ */ P(Ei, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/inlined-styles.vue"]]), Or = {
3137
3148
  small: {
3138
3149
  min: 320,
3139
3150
  default: 321,
@@ -3149,7 +3160,7 @@ const It = /* @__PURE__ */ P(Ci, [["render", Ai], ["__file", "/home/runner/work/
3149
3160
  default: 991,
3150
3161
  max: 1200
3151
3162
  }
3152
- }, Yu = (e, t = Or) => `@media (max-width: ${t[e].max}px)`, ki = ({
3163
+ }, Zu = (e, t = Or) => `@media (max-width: ${t[e].max}px)`, Si = ({
3153
3164
  small: e,
3154
3165
  medium: t
3155
3166
  }) => {
@@ -3174,7 +3185,7 @@ const It = /* @__PURE__ */ P(Ci, [["render", Ai], ["__file", "/home/runner/work/
3174
3185
  min: i,
3175
3186
  default: i + 1
3176
3187
  }, n;
3177
- }, Ei = O({
3188
+ }, Fi = O({
3178
3189
  name: "builder-columns",
3179
3190
  components: {
3180
3191
  InlinedStyles: Sn,
@@ -3292,23 +3303,23 @@ const It = /* @__PURE__ */ P(Ci, [["render", Ai], ["__file", "/home/runner/work/
3292
3303
  },
3293
3304
  getWidthForBreakpointSize(e) {
3294
3305
  var n, r;
3295
- return ki(
3306
+ return Si(
3296
3307
  ((r = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : r.breakpoints) || {}
3297
3308
  )[e].max;
3298
3309
  }
3299
3310
  }
3300
3311
  });
3301
- function Si(e, t, n, r, o, i) {
3312
+ function wi(e, t, n, r, o, i) {
3302
3313
  const u = U("inlined-styles"), c = U("blocks"), h = U("dynamic-renderer");
3303
- return k(), x("div", ee({
3314
+ return k(), x("div", te({
3304
3315
  class: `builder-columns ${e.builderBlock.id}-breakpoints div-16nol0lwi20`,
3305
3316
  style: e.columnsCssVars
3306
3317
  }, {}), [
3307
- e.TARGET !== "reactNative" ? (k(), W(u, {
3318
+ e.TARGET !== "reactNative" ? (k(), V(u, {
3308
3319
  key: 0,
3309
3320
  styles: e.columnsStyles
3310
3321
  }, null, 8, ["styles"])) : X("v-if", !0),
3311
- (k(!0), x(se, null, st(e.columns, (m, v) => (k(), W(h, {
3322
+ (k(!0), x(se, null, st(e.columns, (m, v) => (k(), V(h, {
3312
3323
  key: v,
3313
3324
  TagName: m.link ? e.builderLinkComponent || "a" : "div",
3314
3325
  actionAttributes: {},
@@ -3337,24 +3348,24 @@ function Si(e, t, n, r, o, i) {
3337
3348
  }, 1032, ["TagName", "attributes"]))), 128))
3338
3349
  ], 16);
3339
3350
  }
3340
- const Fi = /* @__PURE__ */ P(Ei, [["render", Si], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/columns/columns.vue"]]), wi = O({
3351
+ const Bi = /* @__PURE__ */ P(Fi, [["render", wi], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/columns/columns.vue"]]), Di = O({
3341
3352
  name: "builder-fragment-component",
3342
3353
  props: []
3343
3354
  });
3344
- function Bi(e, t, n, r, o, i) {
3355
+ function Ii(e, t, n, r, o, i) {
3345
3356
  return k(), x("span", null, [
3346
3357
  le(e.$slots, "default")
3347
3358
  ]);
3348
3359
  }
3349
- const Di = /* @__PURE__ */ P(wi, [["render", Bi], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/fragment/fragment.vue"]]);
3360
+ const xi = /* @__PURE__ */ P(Di, [["render", Ii], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/fragment/fragment.vue"]]);
3350
3361
  function cr(e) {
3351
3362
  return e.replace(/http(s)?:/, "");
3352
3363
  }
3353
- function Ii(e = "", t, n) {
3364
+ function Ti(e = "", t, n) {
3354
3365
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
3355
3366
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
3356
3367
  }
3357
- function xi(e, t) {
3368
+ function Ri(e, t) {
3358
3369
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3359
3370
  return e;
3360
3371
  if (t === "master")
@@ -3373,11 +3384,11 @@ function tn(e) {
3373
3384
  if (e.match(/builder\.io/)) {
3374
3385
  let n = e;
3375
3386
  const r = Number(e.split("?width=")[1]);
3376
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${Ii(e, "width", o)} ${o}w`).concat([n]).join(", ");
3387
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${Ti(e, "width", o)} ${o}w`).concat([n]).join(", ");
3377
3388
  }
3378
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [xi(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3389
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ri(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3379
3390
  }
3380
- const Ti = O({
3391
+ const ji = O({
3381
3392
  name: "builder-image",
3382
3393
  props: [
3383
3394
  "image",
@@ -3422,11 +3433,11 @@ const Ti = O({
3422
3433
  }
3423
3434
  }
3424
3435
  });
3425
- const Ri = ["srcset"], ji = ["alt", "role", "src", "srcset", "sizes"], $i = {
3436
+ const $i = ["srcset"], Oi = ["alt", "role", "src", "srcset", "sizes"], Pi = {
3426
3437
  key: 2,
3427
3438
  class: "div-1be3j8m9ewb-2"
3428
3439
  };
3429
- function Oi(e, t, n, r, o, i) {
3440
+ function Ni(e, t, n, r, o, i) {
3430
3441
  var u, c, h, m;
3431
3442
  return k(), x(se, null, [
3432
3443
  nn("picture", null, [
@@ -3434,7 +3445,7 @@ function Oi(e, t, n, r, o, i) {
3434
3445
  key: 0,
3435
3446
  type: "image/webp",
3436
3447
  srcset: e.webpSrcSet
3437
- }, null, 8, Ri)) : X("v-if", !0),
3448
+ }, null, 8, $i)) : X("v-if", !0),
3438
3449
  nn("img", {
3439
3450
  loading: "lazy",
3440
3451
  alt: e.altText,
@@ -3450,7 +3461,7 @@ function Oi(e, t, n, r, o, i) {
3450
3461
  src: e.image,
3451
3462
  srcset: e.srcSetToUse,
3452
3463
  sizes: e.sizes
3453
- }, null, 14, ji)
3464
+ }, null, 14, Oi)
3454
3465
  ]),
3455
3466
  e.aspectRatio && !(((c = (u = e.builderBlock) == null ? void 0 : u.children) == null ? void 0 : c.length) && e.fitContent) ? (k(), x("div", {
3456
3467
  key: 0,
@@ -3460,20 +3471,20 @@ function Oi(e, t, n, r, o, i) {
3460
3471
  })
3461
3472
  }, null, 4)) : X("v-if", !0),
3462
3473
  ((m = (h = e.builderBlock) == null ? void 0 : h.children) == null ? void 0 : m.length) && e.fitContent ? le(e.$slots, "default", { key: 1 }, void 0, !0) : X("v-if", !0),
3463
- !e.fitContent && e.$slots.default ? (k(), x("div", $i, [
3474
+ !e.fitContent && e.$slots.default ? (k(), x("div", Pi, [
3464
3475
  le(e.$slots, "default", {}, void 0, !0)
3465
3476
  ])) : X("v-if", !0)
3466
3477
  ], 64);
3467
3478
  }
3468
- const Pi = /* @__PURE__ */ P(Ti, [["render", Oi], ["__scopeId", "data-v-58ca75d1"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/image/image.vue"]]), Ni = O({
3479
+ const Ui = /* @__PURE__ */ P(ji, [["render", Ni], ["__scopeId", "data-v-58ca75d1"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/image/image.vue"]]), Mi = O({
3469
3480
  name: "builder-section-component",
3470
3481
  props: ["attributes", "maxWidth"],
3471
3482
  data() {
3472
3483
  return { filterAttrs: wt };
3473
3484
  }
3474
3485
  });
3475
- function Ui(e, t, n, r, o, i) {
3476
- return k(), x("section", ee({
3486
+ function _i(e, t, n, r, o, i) {
3487
+ return k(), x("section", te({
3477
3488
  style: {
3478
3489
  width: "100%",
3479
3490
  alignSelf: "stretch",
@@ -3490,7 +3501,7 @@ function Ui(e, t, n, r, o, i) {
3490
3501
  le(e.$slots, "default")
3491
3502
  ], 16);
3492
3503
  }
3493
- const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/section/section.vue"]]), _i = (e) => {
3504
+ const Wi = /* @__PURE__ */ P(Mi, [["render", _i], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/section/section.vue"]]), Vi = (e) => {
3494
3505
  if (e === "localhost" || e === "127.0.0.1")
3495
3506
  return e;
3496
3507
  const t = e.split(".");
@@ -3503,16 +3514,16 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3503
3514
  try {
3504
3515
  return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
3505
3516
  } catch (r) {
3506
- te.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3517
+ Q.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3507
3518
  return;
3508
3519
  }
3509
- }, Nr = async (e) => Pr(e), Vi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(xe).join("; "), Wi = [["secure", ""], ["SameSite", "None"]], Li = ({
3520
+ }, Nr = async (e) => Pr(e), Li = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(we).join("; "), Hi = [["secure", ""], ["SameSite", "None"]], Ki = ({
3510
3521
  name: e,
3511
3522
  value: t,
3512
3523
  expires: n
3513
3524
  }) => {
3514
- const o = (J() ? location.protocol === "https:" : !0) ? Wi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], u = [[e, t], ...i, ["path", "/"], ["domain", _i(window.location.hostname)], ...o];
3515
- return Vi(u);
3525
+ const o = (J() ? location.protocol === "https:" : !0) ? Hi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], u = [[e, t], ...i, ["path", "/"], ["domain", Vi(window.location.hostname)], ...o];
3526
+ return Li(u);
3516
3527
  }, Ur = async ({
3517
3528
  name: e,
3518
3529
  value: t,
@@ -3522,33 +3533,33 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3522
3533
  try {
3523
3534
  if (!r)
3524
3535
  return;
3525
- const o = Li({
3536
+ const o = Ki({
3526
3537
  name: e,
3527
3538
  value: t,
3528
3539
  expires: n
3529
3540
  });
3530
3541
  document.cookie = o;
3531
3542
  } catch (o) {
3532
- te.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3543
+ Q.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3533
3544
  }
3534
- }, Hi = "builder.tests", Fn = (e) => `${Hi}.${e}`, Ki = ({
3545
+ }, Gi = "builder.tests", Fn = (e) => `${Gi}.${e}`, zi = ({
3535
3546
  contentId: e
3536
3547
  }) => Nr({
3537
3548
  name: Fn(e),
3538
3549
  canTrack: !0
3539
- }), Gi = ({
3550
+ }), Xi = ({
3540
3551
  contentId: e
3541
3552
  }) => Pr({
3542
3553
  name: Fn(e),
3543
3554
  canTrack: !0
3544
- }), zi = ({
3555
+ }), Ji = ({
3545
3556
  contentId: e,
3546
3557
  value: t
3547
3558
  }) => Ur({
3548
3559
  name: Fn(e),
3549
3560
  value: t,
3550
3561
  canTrack: !0
3551
- }), Mr = (e) => xe(e.id) && xe(e.variations) && Object.keys(e.variations).length > 0, Xi = ({
3562
+ }), Mr = (e) => we(e.id) && we(e.variations) && Object.keys(e.variations).length > 0, Yi = ({
3552
3563
  id: e,
3553
3564
  variations: t
3554
3565
  }) => {
@@ -3562,14 +3573,14 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3562
3573
  }
3563
3574
  return e;
3564
3575
  }, _r = (e) => {
3565
- const t = Xi(e);
3566
- return zi({
3576
+ const t = Yi(e);
3577
+ return Ji({
3567
3578
  contentId: e.id,
3568
3579
  value: t
3569
3580
  }).catch((n) => {
3570
- te.error("could not store A/B test variation: ", n);
3581
+ Q.error("could not store A/B test variation: ", n);
3571
3582
  }), t;
3572
- }, Vr = ({
3583
+ }, Wr = ({
3573
3584
  item: e,
3574
3585
  testGroupId: t
3575
3586
  }) => {
@@ -3582,7 +3593,7 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3582
3593
  testVariationId: n.id,
3583
3594
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3584
3595
  };
3585
- }, Ji = ({
3596
+ }, qi = ({
3586
3597
  item: e,
3587
3598
  canTrack: t
3588
3599
  }) => {
@@ -3592,12 +3603,12 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3592
3603
  return;
3593
3604
  if (!Mr(e))
3594
3605
  return e;
3595
- const n = Gi({
3606
+ const n = Xi({
3596
3607
  contentId: e.id
3597
3608
  }) || _r({
3598
3609
  variations: e.variations,
3599
3610
  id: e.id
3600
- }), r = Vr({
3611
+ }), r = Wr({
3601
3612
  item: e,
3602
3613
  testGroupId: n
3603
3614
  });
@@ -3605,18 +3616,18 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3605
3616
  ...e,
3606
3617
  ...r
3607
3618
  };
3608
- }, Yi = async ({
3619
+ }, Zi = async ({
3609
3620
  item: e,
3610
3621
  canTrack: t
3611
3622
  }) => {
3612
3623
  if (!t || !Mr(e))
3613
3624
  return e;
3614
- const r = await Ki({
3625
+ const r = await zi({
3615
3626
  contentId: e.id
3616
3627
  }) || _r({
3617
3628
  variations: e.variations,
3618
3629
  id: e.id
3619
- }), o = Vr({
3630
+ }), o = Wr({
3620
3631
  item: e,
3621
3632
  testGroupId: r
3622
3633
  });
@@ -3624,7 +3635,7 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3624
3635
  ...e,
3625
3636
  ...o
3626
3637
  };
3627
- }, lt = (e) => xe(e) ? e : !0, qi = {
3638
+ }, lt = (e) => we(e) ? e : !0, Qi = {
3628
3639
  name: "Core:Button",
3629
3640
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
3630
3641
  defaultStyles: {
@@ -3656,7 +3667,7 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3656
3667
  }],
3657
3668
  static: !0,
3658
3669
  noWrap: !0
3659
- }, Zi = {
3670
+ }, es = {
3660
3671
  name: "Columns",
3661
3672
  isRSC: !0,
3662
3673
  inputs: [{
@@ -3856,7 +3867,7 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3856
3867
  helperText: "When stacking columns for mobile devices, reverse the ordering",
3857
3868
  advanced: !0
3858
3869
  }]
3859
- }, Qi = {
3870
+ }, ts = {
3860
3871
  name: "Custom Code",
3861
3872
  static: !0,
3862
3873
  requiredPermissions: ["editCode"],
@@ -3878,7 +3889,7 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3878
3889
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3879
3890
  advanced: !0
3880
3891
  }]
3881
- }, es = O({
3892
+ }, ns = O({
3882
3893
  name: "builder-custom-code",
3883
3894
  props: ["replaceNodes", "code"],
3884
3895
  data() {
@@ -3912,15 +3923,15 @@ const Mi = /* @__PURE__ */ P(Ni, [["render", Ui], ["__file", "/home/runner/work/
3912
3923
  }
3913
3924
  }
3914
3925
  }
3915
- }), ts = ["innerHTML"];
3916
- function ns(e, t, n, r, o, i) {
3926
+ }), rs = ["innerHTML"];
3927
+ function os(e, t, n, r, o, i) {
3917
3928
  return k(), x("div", {
3918
3929
  ref: "elementRef",
3919
3930
  class: br("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3920
3931
  innerHTML: e.code
3921
- }, null, 10, ts);
3932
+ }, null, 10, rs);
3922
3933
  }
3923
- const rs = /* @__PURE__ */ P(es, [["render", ns], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/custom-code/custom-code.vue"]]), os = {
3934
+ const is = /* @__PURE__ */ P(ns, [["render", os], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/custom-code/custom-code.vue"]]), ss = {
3924
3935
  name: "Embed",
3925
3936
  static: !0,
3926
3937
  inputs: [{
@@ -3945,7 +3956,7 @@ const rs = /* @__PURE__ */ P(es, [["render", ns], ["__file", "/home/runner/work/
3945
3956
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3946
3957
  hideFromUI: !0
3947
3958
  }]
3948
- }, is = ["text/javascript", "application/javascript", "application/ecmascript"], ss = (e) => is.includes(e.type), us = O({
3959
+ }, us = ["text/javascript", "application/javascript", "application/ecmascript"], as = (e) => us.includes(e.type), ls = O({
3949
3960
  name: "builder-embed",
3950
3961
  props: ["content"],
3951
3962
  data() {
@@ -3978,7 +3989,7 @@ const rs = /* @__PURE__ */ P(es, [["render", ns], ["__file", "/home/runner/work/
3978
3989
  this.scriptsInserted.push(n.src);
3979
3990
  const r = document.createElement("script");
3980
3991
  r.async = !0, r.src = n.src, document.head.appendChild(r);
3981
- } else if (ss(n) && !this.scriptsRun.includes(n.innerText))
3992
+ } else if (as(n) && !this.scriptsRun.includes(n.innerText))
3982
3993
  try {
3983
3994
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3984
3995
  } catch (r) {
@@ -3987,21 +3998,21 @@ const rs = /* @__PURE__ */ P(es, [["render", ns], ["__file", "/home/runner/work/
3987
3998
  }
3988
3999
  }
3989
4000
  }
3990
- }), as = ["innerHTML"];
3991
- function ls(e, t, n, r, o, i) {
4001
+ }), cs = ["innerHTML"];
4002
+ function ps(e, t, n, r, o, i) {
3992
4003
  return k(), x("div", {
3993
4004
  class: "builder-embed",
3994
4005
  ref: "elem",
3995
4006
  innerHTML: e.content
3996
- }, null, 8, as);
4007
+ }, null, 8, cs);
3997
4008
  }
3998
- const cs = /* @__PURE__ */ P(us, [["render", ls], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/embed/embed.vue"]]), ps = {
4009
+ const ds = /* @__PURE__ */ P(ls, [["render", ps], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/embed/embed.vue"]]), hs = {
3999
4010
  name: "Fragment",
4000
4011
  static: !0,
4001
4012
  hidden: !0,
4002
4013
  canHaveChildren: !0,
4003
4014
  noWrap: !0
4004
- }, ds = {
4015
+ }, fs = {
4005
4016
  name: "Image",
4006
4017
  static: !0,
4007
4018
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -4101,7 +4112,7 @@ const cs = /* @__PURE__ */ P(us, [["render", ls], ["__file", "/home/runner/work/
4101
4112
  advanced: !0,
4102
4113
  defaultValue: 0.7041
4103
4114
  }]
4104
- }, hs = {
4115
+ }, ms = {
4105
4116
  name: "Raw:Img",
4106
4117
  hideFromInsertMenu: !0,
4107
4118
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -4114,7 +4125,7 @@ const cs = /* @__PURE__ */ P(us, [["render", ls], ["__file", "/home/runner/work/
4114
4125
  }],
4115
4126
  noWrap: !0,
4116
4127
  static: !0
4117
- }, fs = O({
4128
+ }, gs = O({
4118
4129
  name: "builder-img-component",
4119
4130
  props: [
4120
4131
  "backgroundSize",
@@ -4127,9 +4138,9 @@ const cs = /* @__PURE__ */ P(us, [["render", ls], ["__file", "/home/runner/work/
4127
4138
  data() {
4128
4139
  return { isEditing: ve, filterAttrs: wt };
4129
4140
  }
4130
- }), ms = ["alt", "src"];
4131
- function gs(e, t, n, r, o, i) {
4132
- return k(), x("img", ee({
4141
+ }), ys = ["alt", "src"];
4142
+ function vs(e, t, n, r, o, i) {
4143
+ return k(), x("img", te({
4133
4144
  style: {
4134
4145
  objectFit: e.backgroundSize || "cover",
4135
4146
  objectPosition: e.backgroundPosition || "center"
@@ -4137,9 +4148,9 @@ function gs(e, t, n, r, o, i) {
4137
4148
  key: e.isEditing() && e.imgSrc || "default-key",
4138
4149
  alt: e.altText,
4139
4150
  src: e.imgSrc || e.image
4140
- }, e.filterAttrs(e.attributes, "v-on:", !1), Ue(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, ms);
4151
+ }, e.filterAttrs(e.attributes, "v-on:", !1), Ue(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, ys);
4141
4152
  }
4142
- const ys = /* @__PURE__ */ P(fs, [["render", gs], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/img/img.vue"]]), vs = {
4153
+ const Cs = /* @__PURE__ */ P(gs, [["render", vs], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/img/img.vue"]]), As = {
4143
4154
  name: "Core:Section",
4144
4155
  static: !0,
4145
4156
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -4178,7 +4189,7 @@ const ys = /* @__PURE__ */ P(fs, [["render", gs], ["__file", "/home/runner/work/
4178
4189
  }
4179
4190
  }
4180
4191
  }]
4181
- }, Cs = {
4192
+ }, bs = {
4182
4193
  name: "Slot",
4183
4194
  isRSC: !0,
4184
4195
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -4190,15 +4201,15 @@ const ys = /* @__PURE__ */ P(fs, [["render", gs], ["__file", "/home/runner/work/
4190
4201
  required: !0,
4191
4202
  defaultValue: "children"
4192
4203
  }]
4193
- }, As = O({
4204
+ }, ks = O({
4194
4205
  name: "builder-slot",
4195
4206
  components: { Blocks: It },
4196
4207
  props: ["builderContext", "name"]
4197
4208
  });
4198
- function bs(e, t, n, r, o, i) {
4209
+ function Es(e, t, n, r, o, i) {
4199
4210
  var c, h, m;
4200
4211
  const u = U("blocks");
4201
- return k(), x("div", ee(
4212
+ return k(), x("div", te(
4202
4213
  { style: {
4203
4214
  pointerEvents: "auto"
4204
4215
  } },
@@ -4214,7 +4225,7 @@ function bs(e, t, n, r, o, i) {
4214
4225
  }, null, 8, ["parent", "path", "context", "blocks"])
4215
4226
  ], 16);
4216
4227
  }
4217
- const ks = /* @__PURE__ */ P(As, [["render", bs], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/slot/slot.vue"]]), Es = {
4228
+ const Ss = /* @__PURE__ */ P(ks, [["render", Es], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/slot/slot.vue"]]), Fs = {
4218
4229
  name: "Symbol",
4219
4230
  noWrap: !0,
4220
4231
  static: !0,
@@ -4247,7 +4258,7 @@ const ks = /* @__PURE__ */ P(As, [["render", bs], ["__file", "/home/runner/work/
4247
4258
  hideFromUI: !0,
4248
4259
  type: "boolean"
4249
4260
  }]
4250
- }, Ss = {
4261
+ }, ws = {
4251
4262
  name: "Text",
4252
4263
  static: !0,
4253
4264
  isRSC: !0,
@@ -4265,11 +4276,11 @@ const ks = /* @__PURE__ */ P(As, [["render", bs], ["__file", "/home/runner/work/
4265
4276
  height: "auto",
4266
4277
  textAlign: "center"
4267
4278
  }
4268
- }, Fs = O({
4279
+ }, Bs = O({
4269
4280
  name: "builder-text",
4270
4281
  props: ["text"]
4271
- }), ws = ["innerHTML"];
4272
- function Bs(e, t, n, r, o, i) {
4282
+ }), Ds = ["innerHTML"];
4283
+ function Is(e, t, n, r, o, i) {
4273
4284
  var u;
4274
4285
  return k(), x("div", {
4275
4286
  class: "builder-text",
@@ -4277,9 +4288,9 @@ function Bs(e, t, n, r, o, i) {
4277
4288
  style: {
4278
4289
  outline: "none"
4279
4290
  }
4280
- }, null, 8, ws);
4291
+ }, null, 8, Ds);
4281
4292
  }
4282
- const Ds = /* @__PURE__ */ P(Fs, [["render", Bs], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/text/text.vue"]]), Is = {
4293
+ const xs = /* @__PURE__ */ P(Bs, [["render", Is], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/text/text.vue"]]), Ts = {
4283
4294
  name: "Video",
4284
4295
  canHaveChildren: !0,
4285
4296
  defaultStyles: {
@@ -4360,7 +4371,7 @@ const Ds = /* @__PURE__ */ P(Fs, [["render", Bs], ["__file", "/home/runner/work/
4360
4371
  defaultValue: !0,
4361
4372
  advanced: !0
4362
4373
  }]
4363
- }, xs = O({
4374
+ }, Rs = O({
4364
4375
  name: "builder-video",
4365
4376
  props: [
4366
4377
  "autoPlay",
@@ -4405,16 +4416,16 @@ const Ds = /* @__PURE__ */ P(Fs, [["render", Bs], ["__file", "/home/runner/work/
4405
4416
  };
4406
4417
  }
4407
4418
  }
4408
- }), Ts = { style: {
4419
+ }), js = { style: {
4409
4420
  position: "relative"
4410
- } }, Rs = ["preload", "src", "poster"], js = ["src"], $s = {
4421
+ } }, $s = ["preload", "src", "poster"], Os = ["src"], Ps = {
4411
4422
  key: 1,
4412
4423
  style: {
4413
4424
  display: "flex",
4414
4425
  flexDirection: "column",
4415
4426
  alignItems: "stretch"
4416
4427
  }
4417
- }, Os = {
4428
+ }, Ns = {
4418
4429
  key: 2,
4419
4430
  style: {
4420
4431
  pointerEvents: "none",
@@ -4428,10 +4439,10 @@ const Ds = /* @__PURE__ */ P(Fs, [["render", Bs], ["__file", "/home/runner/work/
4428
4439
  height: "100%"
4429
4440
  }
4430
4441
  };
4431
- function Ps(e, t, n, r, o, i) {
4442
+ function Us(e, t, n, r, o, i) {
4432
4443
  var u, c, h, m, v, A, R;
4433
- return k(), x("div", Ts, [
4434
- nn("video", ee({
4444
+ return k(), x("div", js, [
4445
+ nn("video", te({
4435
4446
  class: "builder-video",
4436
4447
  preload: e.preload || "metadata",
4437
4448
  style: {
@@ -4453,8 +4464,8 @@ function Ps(e, t, n, r, o, i) {
4453
4464
  key: 0,
4454
4465
  type: "video/mp4",
4455
4466
  src: e.video
4456
- }, null, 8, js))
4457
- ], 16, Rs),
4467
+ }, null, 8, Os))
4468
+ ], 16, $s),
4458
4469
  e.aspectRatio && !(e.fitContent && ((h = (c = e.builderBlock) == null ? void 0 : c.children) == null ? void 0 : h.length)) ? (k(), x("div", {
4459
4470
  key: 0,
4460
4471
  style: rn({
@@ -4464,66 +4475,66 @@ function Ps(e, t, n, r, o, i) {
4464
4475
  fontSize: "0px"
4465
4476
  })
4466
4477
  }, null, 4)) : X("v-if", !0),
4467
- ((v = (m = e.builderBlock) == null ? void 0 : m.children) == null ? void 0 : v.length) && e.fitContent ? (k(), x("div", $s, [
4478
+ ((v = (m = e.builderBlock) == null ? void 0 : m.children) == null ? void 0 : v.length) && e.fitContent ? (k(), x("div", Ps, [
4468
4479
  le(e.$slots, "default")
4469
4480
  ])) : X("v-if", !0),
4470
- ((R = (A = e.builderBlock) == null ? void 0 : A.children) == null ? void 0 : R.length) && !e.fitContent ? (k(), x("div", Os, [
4481
+ ((R = (A = e.builderBlock) == null ? void 0 : A.children) == null ? void 0 : R.length) && !e.fitContent ? (k(), x("div", Ns, [
4471
4482
  le(e.$slots, "default")
4472
4483
  ])) : X("v-if", !0)
4473
4484
  ]);
4474
4485
  }
4475
- const Ns = /* @__PURE__ */ P(xs, [["render", Ps], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/video/video.vue"]]), pr = () => [{
4486
+ const Ms = /* @__PURE__ */ P(Rs, [["render", Us], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/video/video.vue"]]), pr = () => [{
4476
4487
  component: Do,
4477
- ...qi
4478
- }, {
4479
- component: Fi,
4480
- ...Zi
4481
- }, {
4482
- component: rs,
4483
4488
  ...Qi
4484
4489
  }, {
4485
- component: cs,
4486
- ...os
4490
+ component: Bi,
4491
+ ...es
4487
4492
  }, {
4488
- component: Di,
4489
- ...ps
4493
+ component: is,
4494
+ ...ts
4490
4495
  }, {
4491
- component: Pi,
4492
- ...ds
4496
+ component: ds,
4497
+ ...ss
4493
4498
  }, {
4494
- component: ys,
4499
+ component: xi,
4495
4500
  ...hs
4496
4501
  }, {
4497
- component: Mi,
4498
- ...vs
4502
+ component: Ui,
4503
+ ...fs
4504
+ }, {
4505
+ component: Cs,
4506
+ ...ms
4507
+ }, {
4508
+ component: Wi,
4509
+ ...As
4499
4510
  }, {
4500
- component: Hu,
4501
- ...Es
4511
+ component: Gu,
4512
+ ...Fs
4502
4513
  }, {
4503
- component: Ds,
4504
- ...Ss
4514
+ component: xs,
4515
+ ...ws
4505
4516
  }, {
4506
- component: Ns,
4507
- ...Is
4517
+ component: Ms,
4518
+ ...Ts
4508
4519
  }, {
4509
- component: ks,
4510
- ...Cs
4511
- }], dr = [], Us = (e) => ({
4520
+ component: Ss,
4521
+ ...bs
4522
+ }], dr = [], _s = (e) => ({
4512
4523
  type: "builder.registerComponent",
4513
4524
  data: ln(e)
4514
- }), Ms = (e) => {
4525
+ }), Ws = (e) => {
4515
4526
  const t = e.toString().trim();
4516
4527
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
4517
- }, _s = (e) => typeof e == "function" ? Ms(e) : dt(e), ln = ({
4528
+ }, Vs = (e) => typeof e == "function" ? Ws(e) : dt(e), ln = ({
4518
4529
  inputs: e,
4519
4530
  ...t
4520
4531
  }) => ({
4521
4532
  ...dt(t),
4522
4533
  inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, i]) => ({
4523
4534
  ...r,
4524
- [o]: _s(i)
4535
+ [o]: Vs(i)
4525
4536
  }), {}))
4526
- }), Vs = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4537
+ }), Ls = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4527
4538
  function getAndSetVariantId() {
4528
4539
  function setCookie(name, value, days) {
4529
4540
  let expires = '';
@@ -4579,7 +4590,7 @@ const Ns = /* @__PURE__ */ P(xs, [["render", Ps], ["__file", "/home/runner/work/
4579
4590
  }).join('');
4580
4591
  styleEl.innerHTML = newStyleStr;
4581
4592
  }
4582
- }`, Ws = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4593
+ }`, Hs = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4583
4594
  if (!navigator.cookieEnabled) {
4584
4595
  return;
4585
4596
  }
@@ -4613,42 +4624,42 @@ const Ns = /* @__PURE__ */ P(xs, [["render", Ps], ["__file", "/home/runner/work/
4613
4624
  thisScriptEl?.remove();
4614
4625
  }
4615
4626
  return;
4616
- }`, Wr = "builderIoAbTest", Lr = "builderIoRenderContent", Et = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4627
+ }`, Vr = "builderIoAbTest", Lr = "builderIoRenderContent", Et = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4617
4628
  ...t,
4618
4629
  testVariationId: t.id,
4619
4630
  id: e == null ? void 0 : e.id
4620
- })), Ls = ({
4631
+ })), Ks = ({
4621
4632
  canTrack: e,
4622
4633
  content: t
4623
- }) => !(!(Et(t).length > 0) || !e), Hs = (e) => e === "react" || e === "reactNative", Hr = Hs(ue), Ks = () => `
4624
- window.${Wr} = ${Vs}
4625
- window.${Lr} = ${Ws}
4626
- `, Gs = (e, t) => `
4627
- window.${Wr}(
4634
+ }) => !(!(Et(t).length > 0) || !e), Gs = (e) => e === "react" || e === "reactNative", Hr = Gs(ue), zs = () => `
4635
+ window.${Vr} = ${Ls}
4636
+ window.${Lr} = ${Hs}
4637
+ `, Xs = (e, t) => `
4638
+ window.${Vr}(
4628
4639
  "${t}",${JSON.stringify(e)}, ${Hr}
4629
- )`, zs = ({
4640
+ )`, Js = ({
4630
4641
  contentId: e,
4631
4642
  variationId: t
4632
4643
  }) => `window.${Lr}(
4633
4644
  "${t}", "${e}", ${Hr}
4634
- )`, Xs = O({
4645
+ )`, Ys = O({
4635
4646
  render() {
4636
4647
  return Ar("script", { id: this.id, innerHTML: this.scriptStr });
4637
4648
  },
4638
4649
  name: "inlined-script",
4639
4650
  props: ["scriptStr", "id"]
4640
- }), Kr = /* @__PURE__ */ P(Xs, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/inlined-script.vue"]]);
4641
- function Js() {
4651
+ }), Kr = /* @__PURE__ */ P(Ys, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/inlined-script.vue"]]);
4652
+ function qs() {
4642
4653
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
4643
4654
  }
4644
- function Ys() {
4645
- const e = Js().fetch;
4655
+ function Zs() {
4656
+ const e = qs().fetch;
4646
4657
  if (typeof e > "u")
4647
4658
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
4648
4659
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
4649
4660
  return e;
4650
4661
  }
4651
- const Gr = Ys();
4662
+ const Gr = Zs();
4652
4663
  function St(e, t = null, n = ".") {
4653
4664
  return Object.keys(e).reduce((r, o) => {
4654
4665
  const i = e[o], u = [t, o].filter(Boolean).join(n);
@@ -4661,7 +4672,7 @@ function St(e, t = null, n = ".") {
4661
4672
  };
4662
4673
  }, {});
4663
4674
  }
4664
- const qs = "v3", hr = "builder.", Zs = "options.", Qs = (e) => {
4675
+ const Qs = "v3", hr = "builder.", eu = "options.", tu = (e) => {
4665
4676
  const t = {};
4666
4677
  return e.forEach((n, r) => {
4667
4678
  t[r] = n;
@@ -4672,16 +4683,16 @@ const qs = "v3", hr = "builder.", Zs = "options.", Qs = (e) => {
4672
4683
  const t = Xr(e), n = {};
4673
4684
  return Object.keys(t).forEach((r) => {
4674
4685
  if (r.startsWith(hr)) {
4675
- const o = r.replace(hr, "").replace(Zs, "");
4686
+ const o = r.replace(hr, "").replace(eu, "");
4676
4687
  n[o] = t[r];
4677
4688
  }
4678
4689
  }), n;
4679
- }, eu = () => {
4690
+ }, nu = () => {
4680
4691
  if (!J())
4681
4692
  return {};
4682
4693
  const e = new URLSearchParams(window.location.search);
4683
4694
  return zr(e);
4684
- }, Xr = (e) => e instanceof URLSearchParams ? Qs(e) : e, fr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, wn = (e) => {
4695
+ }, Xr = (e) => e instanceof URLSearchParams ? tu(e) : e, fr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, wn = (e) => {
4685
4696
  let {
4686
4697
  noTraverse: t = !1
4687
4698
  } = e;
@@ -4694,14 +4705,14 @@ const qs = "v3", hr = "builder.", Zs = "options.", Qs = (e) => {
4694
4705
  includeRefs: c = !0,
4695
4706
  enrich: h,
4696
4707
  locale: m,
4697
- apiVersion: v = qs,
4708
+ apiVersion: v = Qs,
4698
4709
  fields: A,
4699
4710
  omit: R,
4700
4711
  offset: N,
4701
4712
  cacheSeconds: T,
4702
4713
  staleCacheSeconds: M,
4703
4714
  sort: ne,
4704
- includeUnpublished: we
4715
+ includeUnpublished: Be
4705
4716
  } = e;
4706
4717
  if (!u)
4707
4718
  throw new Error("Missing API key");
@@ -4709,17 +4720,17 @@ const qs = "v3", hr = "builder.", Zs = "options.", Qs = (e) => {
4709
4720
  throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${v}'`);
4710
4721
  (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
4711
4722
  const E = new URL(`https://cdn.builder.io/api/${v}/content/${i}?apiKey=${u}&limit=${n}&noTraverse=${t}&includeRefs=${c}${m ? `&locale=${m}` : ""}${h ? `&enrich=${h}` : ""}`);
4712
- if (E.searchParams.set("omit", R || "meta.componentsUsed"), A && E.searchParams.set("fields", A), Number.isFinite(N) && N > -1 && E.searchParams.set("offset", String(Math.floor(N))), typeof we == "boolean" && E.searchParams.set("includeUnpublished", String(we)), T && fr(T) && E.searchParams.set("cacheSeconds", String(T)), M && fr(M) && E.searchParams.set("staleCacheSeconds", String(M)), ne) {
4723
+ if (E.searchParams.set("omit", R || "meta.componentsUsed"), A && E.searchParams.set("fields", A), Number.isFinite(N) && N > -1 && E.searchParams.set("offset", String(Math.floor(N))), typeof Be == "boolean" && E.searchParams.set("includeUnpublished", String(Be)), T && fr(T) && E.searchParams.set("cacheSeconds", String(T)), M && fr(M) && E.searchParams.set("staleCacheSeconds", String(M)), ne) {
4713
4724
  const oe = St({
4714
4725
  sort: ne
4715
4726
  });
4716
4727
  for (const j in oe)
4717
4728
  E.searchParams.set(j, JSON.stringify(oe[j]));
4718
4729
  }
4719
- const We = {
4720
- ...eu(),
4730
+ const Ve = {
4731
+ ...nu(),
4721
4732
  ...Xr(e.options || {})
4722
- }, Le = St(We);
4733
+ }, Le = St(Ve);
4723
4734
  for (const oe in Le)
4724
4735
  E.searchParams.set(oe, String(Le[oe]));
4725
4736
  if (r && E.searchParams.set("userAttributes", JSON.stringify(r)), o) {
@@ -4730,7 +4741,7 @@ const qs = "v3", hr = "builder.", Zs = "options.", Qs = (e) => {
4730
4741
  E.searchParams.set(j, JSON.stringify(oe[j]));
4731
4742
  }
4732
4743
  return E;
4733
- }, tu = (e) => "results" in e;
4744
+ }, ru = (e) => "results" in e;
4734
4745
  async function xt(e) {
4735
4746
  const t = await Jr({
4736
4747
  ...e,
@@ -4738,56 +4749,56 @@ async function xt(e) {
4738
4749
  });
4739
4750
  return t && t[0] || null;
4740
4751
  }
4741
- const qu = xt, nu = async (e) => {
4752
+ const Qu = xt, ou = async (e) => {
4742
4753
  const t = wn(e);
4743
4754
  return await (await Gr(t.href)).json();
4744
- }, ru = async (e, t, n = wn(e)) => {
4755
+ }, iu = async (e, t, n = wn(e)) => {
4745
4756
  const r = lt(e.canTrack);
4746
4757
  if (n.search.includes("preview="), !r || !(J() || ue === "reactNative"))
4747
4758
  return t.results;
4748
4759
  try {
4749
4760
  const o = [];
4750
4761
  for (const i of t.results)
4751
- o.push(await Yi({
4762
+ o.push(await Zi({
4752
4763
  item: i,
4753
4764
  canTrack: r
4754
4765
  }));
4755
4766
  t.results = o;
4756
4767
  } catch (o) {
4757
- te.error("Could not process A/B tests. ", o);
4768
+ Q.error("Could not process A/B tests. ", o);
4758
4769
  }
4759
4770
  return t.results;
4760
4771
  };
4761
4772
  async function Jr(e) {
4762
4773
  try {
4763
- const t = wn(e), n = await nu(e);
4764
- return tu(n) ? ru(e, n) : (te.error("Error fetching data. ", {
4774
+ const t = wn(e), n = await ou(e);
4775
+ return ru(n) ? iu(e, n) : (Q.error("Error fetching data. ", {
4765
4776
  url: t,
4766
4777
  content: n,
4767
4778
  options: e
4768
4779
  }), null);
4769
4780
  } catch (t) {
4770
- return te.error("Error fetching data. ", t), null;
4781
+ return Q.error("Error fetching data. ", t), null;
4771
4782
  }
4772
4783
  }
4773
- const Zu = Jr, ou = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4784
+ const ea = Jr, su = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4774
4785
  function Yr(e, t) {
4775
4786
  const n = new URL(t.origin), r = n.hostname;
4776
- return (e || ou).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4787
+ return (e || su).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4777
4788
  }
4778
- function iu() {
4789
+ function uu() {
4779
4790
  return !J() || ve() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
4780
4791
  }
4781
- function su() {
4792
+ function au() {
4782
4793
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
4783
4794
  const t = Math.random() * 16 | 0;
4784
4795
  return (e == "x" ? t : t & 3 | 8).toString(16);
4785
4796
  });
4786
4797
  }
4787
4798
  function qr() {
4788
- return su().replace(/-/g, "");
4799
+ return au().replace(/-/g, "");
4789
4800
  }
4790
- const Zr = "builderSessionId", uu = async ({
4801
+ const Zr = "builderSessionId", lu = async ({
4791
4802
  canTrack: e
4792
4803
  }) => {
4793
4804
  if (!e)
@@ -4796,23 +4807,23 @@ const Zr = "builderSessionId", uu = async ({
4796
4807
  name: Zr,
4797
4808
  canTrack: e
4798
4809
  });
4799
- if (xe(t))
4810
+ if (we(t))
4800
4811
  return t;
4801
4812
  {
4802
- const n = au();
4803
- return lu({
4813
+ const n = cu();
4814
+ return pu({
4804
4815
  id: n,
4805
4816
  canTrack: e
4806
4817
  }), n;
4807
4818
  }
4808
- }, au = () => qr(), lu = ({
4819
+ }, cu = () => qr(), pu = ({
4809
4820
  id: e,
4810
4821
  canTrack: t
4811
4822
  }) => Ur({
4812
4823
  name: Zr,
4813
4824
  value: e,
4814
4825
  canTrack: t
4815
- }), Qr = () => J() && typeof localStorage < "u" ? localStorage : void 0, cu = ({
4826
+ }), Qr = () => J() && typeof localStorage < "u" ? localStorage : void 0, du = ({
4816
4827
  key: e,
4817
4828
  canTrack: t
4818
4829
  }) => {
@@ -4823,7 +4834,7 @@ const Zr = "builderSessionId", uu = async ({
4823
4834
  console.debug("[LocalStorage] GET error: ", r);
4824
4835
  return;
4825
4836
  }
4826
- }, pu = ({
4837
+ }, hu = ({
4827
4838
  key: e,
4828
4839
  canTrack: t,
4829
4840
  value: n
@@ -4834,32 +4845,32 @@ const Zr = "builderSessionId", uu = async ({
4834
4845
  } catch (o) {
4835
4846
  console.debug("[LocalStorage] SET error: ", o);
4836
4847
  }
4837
- }, eo = "builderVisitorId", du = ({
4848
+ }, eo = "builderVisitorId", fu = ({
4838
4849
  canTrack: e
4839
4850
  }) => {
4840
4851
  if (!e)
4841
4852
  return;
4842
- const t = cu({
4853
+ const t = du({
4843
4854
  key: eo,
4844
4855
  canTrack: e
4845
4856
  });
4846
- if (xe(t))
4857
+ if (we(t))
4847
4858
  return t;
4848
4859
  {
4849
- const n = hu();
4850
- return fu({
4860
+ const n = mu();
4861
+ return gu({
4851
4862
  id: n,
4852
4863
  canTrack: e
4853
4864
  }), n;
4854
4865
  }
4855
- }, hu = () => qr(), fu = ({
4866
+ }, mu = () => qr(), gu = ({
4856
4867
  id: e,
4857
4868
  canTrack: t
4858
- }) => pu({
4869
+ }) => hu({
4859
4870
  key: eo,
4860
4871
  value: e,
4861
4872
  canTrack: t
4862
- }), mu = async ({
4873
+ }), yu = async ({
4863
4874
  canTrack: e
4864
4875
  }) => {
4865
4876
  if (!e)
@@ -4867,16 +4878,16 @@ const Zr = "builderSessionId", uu = async ({
4867
4878
  visitorId: void 0,
4868
4879
  sessionId: void 0
4869
4880
  };
4870
- const t = await uu({
4881
+ const t = await lu({
4871
4882
  canTrack: e
4872
- }), n = du({
4883
+ }), n = fu({
4873
4884
  canTrack: e
4874
4885
  });
4875
4886
  return {
4876
4887
  sessionId: t,
4877
4888
  visitorId: n
4878
4889
  };
4879
- }, gu = async ({
4890
+ }, vu = async ({
4880
4891
  type: e,
4881
4892
  canTrack: t,
4882
4893
  apiKey: n,
@@ -4890,7 +4901,7 @@ const Zr = "builderSessionId", uu = async ({
4890
4901
  url: location.href,
4891
4902
  ...r
4892
4903
  },
4893
- ...await mu({
4904
+ ...await yu({
4894
4905
  canTrack: t
4895
4906
  }),
4896
4907
  userAttributes: Er(),
@@ -4899,14 +4910,14 @@ const Zr = "builderSessionId", uu = async ({
4899
4910
  });
4900
4911
  async function cn(e) {
4901
4912
  if (!e.apiKey) {
4902
- te.error("Missing API key for track call. Please provide your API key.");
4913
+ Q.error("Missing API key for track call. Please provide your API key.");
4903
4914
  return;
4904
4915
  }
4905
4916
  if (!!e.canTrack && !ve() && !!(J() || ue === "reactNative"))
4906
4917
  return fetch("https://cdn.builder.io/api/v1/track", {
4907
4918
  method: "POST",
4908
4919
  body: JSON.stringify({
4909
- events: [await gu(e)]
4920
+ events: [await vu(e)]
4910
4921
  }),
4911
4922
  headers: {
4912
4923
  "content-type": "application/json"
@@ -4916,14 +4927,14 @@ async function cn(e) {
4916
4927
  console.error("Failed to track: ", t);
4917
4928
  });
4918
4929
  }
4919
- const Qu = (e) => cn({
4930
+ const ta = (e) => cn({
4920
4931
  ...e,
4921
4932
  canTrack: !0
4922
4933
  });
4923
4934
  function mr(e) {
4924
4935
  return Math.round(e * 1e3) / 1e3;
4925
4936
  }
4926
- const yu = (e, t, n = !0) => {
4937
+ const Cu = (e, t, n = !0) => {
4927
4938
  if (!(e instanceof HTMLElement))
4928
4939
  return null;
4929
4940
  let r = n ? e : e.parentElement;
@@ -4934,7 +4945,7 @@ const yu = (e, t, n = !0) => {
4934
4945
  return r;
4935
4946
  } while (r = r.parentElement);
4936
4947
  return null;
4937
- }, vu = (e) => yu(e, (t) => {
4948
+ }, Au = (e) => Cu(e, (t) => {
4938
4949
  const n = t.getAttribute("builder-id") || t.id;
4939
4950
  return Boolean((n == null ? void 0 : n.indexOf("builder-")) === 0);
4940
4951
  }), gr = ({
@@ -4946,8 +4957,8 @@ const yu = (e, t, n = !0) => {
4946
4957
  x: i,
4947
4958
  y: u
4948
4959
  };
4949
- }, Cu = (e) => {
4950
- const t = e.target, n = t && vu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4960
+ }, bu = (e) => {
4961
+ const t = e.target, n = t && Au(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4951
4962
  return {
4952
4963
  targetBuilderElement: r || void 0,
4953
4964
  metadata: {
@@ -4962,8 +4973,8 @@ const yu = (e, t, n = !0) => {
4962
4973
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
4963
4974
  }
4964
4975
  };
4965
- }, Au = "0.12.4", yr = {};
4966
- function bu(e, t) {
4976
+ }, ku = "0.12.5", yr = {};
4977
+ function Eu(e, t) {
4967
4978
  let n = yr[e];
4968
4979
  if (n || (n = yr[e] = []), n.push(t), J()) {
4969
4980
  const r = {
@@ -4980,8 +4991,8 @@ function bu(e, t) {
4980
4991
  }
4981
4992
  }
4982
4993
  }
4983
- const ku = () => {
4984
- bu("insertMenu", {
4994
+ const Su = () => {
4995
+ Eu("insertMenu", {
4985
4996
  name: "_default",
4986
4997
  default: !0,
4987
4998
  items: [{
@@ -5004,13 +5015,13 @@ const ku = () => {
5004
5015
  });
5005
5016
  };
5006
5017
  let vr = !1;
5007
- const Eu = (e = {}) => {
5018
+ const Fu = (e = {}) => {
5008
5019
  var t, n;
5009
5020
  vr || (vr = !0, J() && ((t = window.parent) == null || t.postMessage({
5010
5021
  type: "builder.sdkInfo",
5011
5022
  data: {
5012
5023
  target: ue,
5013
- version: Au,
5024
+ version: ku,
5014
5025
  supportsPatchUpdates: !1,
5015
5026
  supportsAddBlockScoping: !0,
5016
5027
  supportsCustomBreakpoints: !0
@@ -5063,7 +5074,7 @@ const Eu = (e = {}) => {
5063
5074
  }
5064
5075
  }
5065
5076
  })));
5066
- }, Su = O({
5077
+ }, wu = O({
5067
5078
  name: "enable-editor",
5068
5079
  props: [
5069
5080
  "builderContextSignal",
@@ -5115,12 +5126,12 @@ const Eu = (e = {}) => {
5115
5126
  variationId: i !== u ? i : void 0
5116
5127
  });
5117
5128
  }
5118
- iu() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
5129
+ uu() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
5119
5130
  new CustomEvent("initpreviewingbldr")
5120
5131
  );
5121
5132
  }
5122
5133
  })(), (() => {
5123
- this.apiKey || te.error(
5134
+ this.apiKey || Q.error(
5124
5135
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
5125
5136
  ), this.evaluateJsCode(), this.runHttpRequests(), this.emitStateUpdate();
5126
5137
  })();
@@ -5285,7 +5296,7 @@ const Eu = (e = {}) => {
5285
5296
  contentId: o,
5286
5297
  apiKey: this.apiKey,
5287
5298
  variationId: r !== o ? r : void 0,
5288
- ...Cu(e),
5299
+ ...bu(e),
5289
5300
  unique: !this.clicked
5290
5301
  });
5291
5302
  }
@@ -5344,7 +5355,7 @@ const Eu = (e = {}) => {
5344
5355
  );
5345
5356
  },
5346
5357
  elementRef_onIniteditingbldr(e) {
5347
- this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), ku(), Eu({
5358
+ this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), Su(), Fu({
5348
5359
  ...this.locale ? {
5349
5360
  locale: this.locale
5350
5361
  } : {},
@@ -5361,7 +5372,7 @@ const Eu = (e = {}) => {
5361
5372
  this.builderContextSignal.componentInfos
5362
5373
  ).forEach((t) => {
5363
5374
  var r;
5364
- const n = Us(t);
5375
+ const n = _s(t);
5365
5376
  (r = window.parent) == null || r.postMessage(n, "*");
5366
5377
  }), window.addEventListener(
5367
5378
  "builder:component:stateChangeListenerActivated",
@@ -5382,9 +5393,9 @@ const Eu = (e = {}) => {
5382
5393
  }
5383
5394
  }
5384
5395
  });
5385
- function Fu(e, t, n, r, o, i) {
5396
+ function Bu(e, t, n, r, o, i) {
5386
5397
  var u, c, h;
5387
- return e.builderContextSignal.content ? (k(), W(rt(e.ContentWrapper), ee({
5398
+ return e.builderContextSignal.content ? (k(), V(rt(e.ContentWrapper), te({
5388
5399
  key: e.forceReRenderCount,
5389
5400
  ref: "elementRef",
5390
5401
  onClick: (m) => e.onClick(m),
@@ -5406,7 +5417,7 @@ function Fu(e, t, n, r, o, i) {
5406
5417
  _: 3
5407
5418
  }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : X("v-if", !0);
5408
5419
  }
5409
- const wu = /* @__PURE__ */ P(Su, [["render", Fu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/components/enable-editor.vue"]]), Bu = (e) => {
5420
+ const Du = /* @__PURE__ */ P(wu, [["render", Bu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/components/enable-editor.vue"]]), Iu = (e) => {
5410
5421
  var i, u;
5411
5422
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = (u = e.fileUrl) != null ? u : (i = e == null ? void 0 : e.files) == null ? void 0 : i.regular;
5412
5423
  let o = "";
@@ -5432,26 +5443,26 @@ font-weight: ${c};
5432
5443
  `.trim());
5433
5444
  }
5434
5445
  return o;
5435
- }, Du = ({
5446
+ }, xu = ({
5436
5447
  customFonts: e
5437
5448
  }) => {
5438
5449
  var t;
5439
- return ((t = e == null ? void 0 : e.map((n) => Bu(n))) == null ? void 0 : t.join(" ")) || "";
5440
- }, Iu = ({
5450
+ return ((t = e == null ? void 0 : e.map((n) => Iu(n))) == null ? void 0 : t.join(" ")) || "";
5451
+ }, Tu = ({
5441
5452
  cssCode: e,
5442
5453
  contentId: t
5443
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", xu = O({
5454
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ru = O({
5444
5455
  name: "content-styles",
5445
5456
  components: { InlinedStyles: Sn },
5446
5457
  props: ["cssCode", "contentId", "customFonts"],
5447
5458
  data() {
5448
5459
  return {
5449
5460
  injectedStyles: `
5450
- ${Iu({
5461
+ ${Tu({
5451
5462
  cssCode: this.cssCode,
5452
5463
  contentId: this.contentId
5453
5464
  })}
5454
- ${Du({
5465
+ ${xu({
5455
5466
  customFonts: this.customFonts
5456
5467
  })}
5457
5468
 
@@ -5475,11 +5486,11 @@ ${Du({
5475
5486
  };
5476
5487
  }
5477
5488
  });
5478
- function Tu(e, t, n, r, o, i) {
5489
+ function ju(e, t, n, r, o, i) {
5479
5490
  const u = U("inlined-styles");
5480
- return k(), W(u, { styles: e.injectedStyles }, null, 8, ["styles"]);
5491
+ return k(), V(u, { styles: e.injectedStyles }, null, 8, ["styles"]);
5481
5492
  }
5482
- const Ru = /* @__PURE__ */ P(xu, [["render", Tu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/components/styles.vue"]]), ju = ({
5493
+ const $u = /* @__PURE__ */ P(Ru, [["render", ju], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/components/styles.vue"]]), Ou = ({
5483
5494
  content: e,
5484
5495
  data: t,
5485
5496
  locale: n
@@ -5496,7 +5507,7 @@ const Ru = /* @__PURE__ */ P(xu, [["render", Tu], ["__file", "/home/runner/work/
5496
5507
  locale: n
5497
5508
  } : {}
5498
5509
  };
5499
- }, $u = ({
5510
+ }, Pu = ({
5500
5511
  content: e,
5501
5512
  data: t
5502
5513
  }) => e ? {
@@ -5506,12 +5517,12 @@ const Ru = /* @__PURE__ */ P(xu, [["render", Tu], ["__file", "/home/runner/work/
5506
5517
  ...t
5507
5518
  },
5508
5519
  meta: e == null ? void 0 : e.meta
5509
- } : void 0, Ou = bo, Pu = O({
5520
+ } : void 0, Nu = bo, Uu = O({
5510
5521
  name: "content-component",
5511
5522
  components: {
5512
- EnableEditor: wu,
5523
+ EnableEditor: Du,
5513
5524
  InlinedScript: Kr,
5514
- ContentStyles: Ru,
5525
+ ContentStyles: $u,
5515
5526
  Blocks: It
5516
5527
  },
5517
5528
  props: [
@@ -5538,7 +5549,7 @@ const Ru = /* @__PURE__ */ P(xu, [["render", Tu], ["__file", "/home/runner/work/
5538
5549
  data() {
5539
5550
  var e, t;
5540
5551
  return {
5541
- scriptStr: zs({
5552
+ scriptStr: Js({
5542
5553
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
5543
5554
  contentId: (t = this.content) == null ? void 0 : t.id
5544
5555
  }),
@@ -5550,19 +5561,19 @@ const Ru = /* @__PURE__ */ P(xu, [["render", Tu], ["__file", "/home/runner/work/
5550
5561
  (n, { component: r, ...o }) => ({
5551
5562
  ...n,
5552
5563
  [o.name]: {
5553
- component: Ou(r),
5564
+ component: Nu(r),
5554
5565
  ...ln(o)
5555
5566
  }
5556
5567
  }),
5557
5568
  {}
5558
5569
  ),
5559
5570
  builderContextSignal: {
5560
- content: $u({
5571
+ content: Pu({
5561
5572
  content: this.content,
5562
5573
  data: this.data
5563
5574
  }),
5564
5575
  localState: void 0,
5565
- rootState: ju({
5576
+ rootState: Ou({
5566
5577
  content: this.content,
5567
5578
  data: this.data,
5568
5579
  locale: this.locale
@@ -5603,9 +5614,9 @@ const Ru = /* @__PURE__ */ P(xu, [["render", Tu], ["__file", "/home/runner/work/
5603
5614
  }
5604
5615
  }
5605
5616
  });
5606
- function Nu(e, t, n, r, o, i) {
5617
+ function Mu(e, t, n, r, o, i) {
5607
5618
  const u = U("inlined-script"), c = U("content-styles"), h = U("blocks"), m = U("enable-editor");
5608
- return k(), W(m, ee({
5619
+ return k(), V(m, te({
5609
5620
  content: e.content,
5610
5621
  data: e.data,
5611
5622
  model: e.model,
@@ -5625,11 +5636,11 @@ function Nu(e, t, n, r, o, i) {
5625
5636
  default: Ae(() => {
5626
5637
  var v, A, R, N, T, M, ne;
5627
5638
  return [
5628
- e.isSsrAbTest ? (k(), W(u, {
5639
+ e.isSsrAbTest ? (k(), V(u, {
5629
5640
  key: 0,
5630
5641
  scriptStr: e.scriptStr
5631
5642
  }, null, 8, ["scriptStr"])) : X("v-if", !0),
5632
- e.TARGET !== "reactNative" ? (k(), W(c, {
5643
+ e.TARGET !== "reactNative" ? (k(), V(c, {
5633
5644
  key: 1,
5634
5645
  contentId: (v = e.builderContextSignal.content) == null ? void 0 : v.id,
5635
5646
  cssCode: (R = (A = e.builderContextSignal.content) == null ? void 0 : A.data) == null ? void 0 : R.cssCode,
@@ -5646,12 +5657,12 @@ function Nu(e, t, n, r, o, i) {
5646
5657
  _: 1
5647
5658
  }, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "linkComponent", "trustedHosts"]);
5648
5659
  }
5649
- const Uu = /* @__PURE__ */ P(Pu, [["render", Nu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/content.vue"]]), Mu = O({
5660
+ const _u = /* @__PURE__ */ P(Uu, [["render", Mu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/content.vue"]]), Wu = O({
5650
5661
  name: "content-variants",
5651
5662
  components: {
5652
5663
  InlinedScript: Kr,
5653
5664
  InlinedStyles: Sn,
5654
- ContentComponent: Uu
5665
+ ContentComponent: _u
5655
5666
  },
5656
5667
  props: [
5657
5668
  "canTrack",
@@ -5675,12 +5686,12 @@ const Uu = /* @__PURE__ */ P(Pu, [["render", Nu], ["__file", "/home/runner/work/
5675
5686
  ],
5676
5687
  data() {
5677
5688
  return {
5678
- shouldRenderVariants: Ls({
5689
+ shouldRenderVariants: Ks({
5679
5690
  canTrack: lt(this.canTrack),
5680
5691
  content: this.content
5681
5692
  }),
5682
5693
  TARGET: ue,
5683
- getScriptString: Ks,
5694
+ getScriptString: zs,
5684
5695
  getVariants: Et
5685
5696
  };
5686
5697
  },
@@ -5690,7 +5701,7 @@ const Uu = /* @__PURE__ */ P(Pu, [["render", Nu], ["__file", "/home/runner/work/
5690
5701
  computed: {
5691
5702
  updateCookieAndStylesScriptStr() {
5692
5703
  var e;
5693
- return Gs(
5704
+ return Xs(
5694
5705
  Et(this.content).map((t) => ({
5695
5706
  id: t.testVariationId,
5696
5707
  testRatio: t.testRatio
@@ -5706,18 +5717,18 @@ const Uu = /* @__PURE__ */ P(Pu, [["render", Nu], ["__file", "/home/runner/work/
5706
5717
  return this.shouldRenderVariants ? {
5707
5718
  ...this.content,
5708
5719
  testVariationId: (e = this.content) == null ? void 0 : e.id
5709
- } : Ji({
5720
+ } : qi({
5710
5721
  item: this.content,
5711
5722
  canTrack: lt(this.canTrack)
5712
5723
  });
5713
5724
  }
5714
5725
  }
5715
5726
  });
5716
- function _u(e, t, n, r, o, i) {
5727
+ function Vu(e, t, n, r, o, i) {
5717
5728
  var m;
5718
5729
  const u = U("inlined-script"), c = U("inlined-styles"), h = U("content-component");
5719
5730
  return k(), x(se, null, [
5720
- !e.__isNestedRender && e.TARGET !== "reactNative" ? (k(), W(u, {
5731
+ !e.__isNestedRender && e.TARGET !== "reactNative" ? (k(), V(u, {
5721
5732
  key: 0,
5722
5733
  scriptStr: e.getScriptString()
5723
5734
  }, null, 8, ["scriptStr"])) : X("v-if", !0),
@@ -5727,7 +5738,7 @@ function _u(e, t, n, r, o, i) {
5727
5738
  styles: e.hideVariantsStyleString
5728
5739
  }, null, 8, ["id", "styles"]),
5729
5740
  ye(u, { scriptStr: e.updateCookieAndStylesScriptStr }, null, 8, ["scriptStr"]),
5730
- (k(!0), x(se, null, st(e.getVariants(e.content), (v, A) => (k(), W(h, {
5741
+ (k(!0), x(se, null, st(e.getVariants(e.content), (v, A) => (k(), V(h, {
5731
5742
  key: v.testVariationId,
5732
5743
  content: v,
5733
5744
  showContent: !1,
@@ -5750,7 +5761,7 @@ function _u(e, t, n, r, o, i) {
5750
5761
  trustedHosts: e.trustedHosts
5751
5762
  }, null, 8, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5752
5763
  ], 64)) : X("v-if", !0),
5753
- ye(h, ee({
5764
+ ye(h, te({
5754
5765
  content: e.defaultContent,
5755
5766
  showContent: !0,
5756
5767
  model: e.model,
@@ -5775,7 +5786,7 @@ function _u(e, t, n, r, o, i) {
5775
5786
  }), null, 16, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5776
5787
  ], 64);
5777
5788
  }
5778
- const to = /* @__PURE__ */ P(Mu, [["render", _u], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content-variants/content-variants.vue"]]), Vu = async ({
5789
+ const to = /* @__PURE__ */ P(Wu, [["render", Vu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content-variants/content-variants.vue"]]), Lu = async ({
5779
5790
  builderContextValue: e,
5780
5791
  symbol: t
5781
5792
  }) => {
@@ -5790,9 +5801,9 @@ const to = /* @__PURE__ */ P(Mu, [["render", _u], ["__file", "/home/runner/work/
5790
5801
  }
5791
5802
  }
5792
5803
  }).catch((n) => {
5793
- te.error("Could not fetch symbol content: ", n);
5804
+ Q.error("Could not fetch symbol content: ", n);
5794
5805
  });
5795
- }, Wu = O({
5806
+ }, Hu = O({
5796
5807
  name: "builder-symbol",
5797
5808
  components: { ContentVariants: to },
5798
5809
  props: [
@@ -5838,7 +5849,7 @@ const to = /* @__PURE__ */ P(Mu, [["render", _u], ["__file", "/home/runner/work/
5838
5849
  },
5839
5850
  methods: {
5840
5851
  setContent() {
5841
- this.contentToUse || Vu({
5852
+ this.contentToUse || Lu({
5842
5853
  symbol: this.symbol,
5843
5854
  builderContextValue: this.builderContext
5844
5855
  }).then((e) => {
@@ -5847,10 +5858,10 @@ const to = /* @__PURE__ */ P(Mu, [["render", _u], ["__file", "/home/runner/work/
5847
5858
  }
5848
5859
  }
5849
5860
  });
5850
- function Lu(e, t, n, r, o, i) {
5861
+ function Ku(e, t, n, r, o, i) {
5851
5862
  var c, h, m, v, A;
5852
5863
  const u = U("content-variants");
5853
- return k(), x("div", ee({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, Ue(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5864
+ return k(), x("div", te({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, Ue(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5854
5865
  ye(u, {
5855
5866
  __isNestedRender: !0,
5856
5867
  apiVersion: e.builderContext.apiVersion,
@@ -5871,8 +5882,8 @@ function Lu(e, t, n, r, o, i) {
5871
5882
  }, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content", "linkComponent"])
5872
5883
  ], 16);
5873
5884
  }
5874
- const Hu = /* @__PURE__ */ P(Wu, [["render", Lu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/symbol/symbol.vue"]]), ea = It, ta = to, Cr = {};
5875
- function na(e) {
5885
+ const Gu = /* @__PURE__ */ P(Hu, [["render", Ku], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/symbol/symbol.vue"]]), na = It, ra = to, Cr = {};
5886
+ function oa(e) {
5876
5887
  if (J()) {
5877
5888
  Object.assign(Cr, e);
5878
5889
  const t = {
@@ -5882,7 +5893,7 @@ function na(e) {
5882
5893
  parent.postMessage(t, "*");
5883
5894
  }
5884
5895
  }
5885
- const ra = async (e) => {
5896
+ const ia = async (e) => {
5886
5897
  var r, o, i;
5887
5898
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
5888
5899
  ...e,
@@ -5903,45 +5914,45 @@ const ra = async (e) => {
5903
5914
  };
5904
5915
  };
5905
5916
  export {
5906
- qu as A,
5917
+ Qu as A,
5907
5918
  $r as B,
5908
5919
  to as C,
5909
5920
  zr as D,
5910
- Qu as E,
5911
- Di as F,
5912
- ra as G,
5913
- Gu as H,
5921
+ ta as E,
5922
+ xi as F,
5923
+ ia as G,
5924
+ Xu as H,
5914
5925
  Sn as I,
5915
- Ju as J,
5916
- ea as R,
5917
- Mi as S,
5926
+ qu as J,
5927
+ na as R,
5928
+ Wi as S,
5918
5929
  ue as T,
5919
- Ns as V,
5930
+ Ms as V,
5920
5931
  P as _,
5921
- ki as a,
5922
- zu as b,
5923
- xe as c,
5924
- Yu as d,
5932
+ Si as a,
5933
+ Ju as b,
5934
+ we as c,
5935
+ Zu as d,
5925
5936
  Ft as e,
5926
- Xu as f,
5937
+ Yu as f,
5927
5938
  Tr as g,
5928
5939
  dn as h,
5929
5940
  on as i,
5930
5941
  It as j,
5931
- ta as k,
5942
+ ra as k,
5932
5943
  Do as l,
5933
- Fi as m,
5934
- Pi as n,
5935
- Hu as o,
5936
- Ds as p,
5944
+ Bi as m,
5945
+ Ui as n,
5946
+ Gu as o,
5947
+ xs as p,
5937
5948
  ve as q,
5938
- iu as r,
5939
- Us as s,
5940
- bu as t,
5941
- na as u,
5942
- ru as v,
5943
- Ou as w,
5949
+ uu as r,
5950
+ _s as s,
5951
+ Eu as t,
5952
+ oa as u,
5953
+ iu as v,
5954
+ Nu as w,
5944
5955
  Jr as x,
5945
5956
  xt as y,
5946
- Zu as z
5957
+ ea as z
5947
5958
  };