@builder.io/sdk-vue 5.2.2 → 5.2.3

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 (68) hide show
  1. package/lib/browser/{awaiter-hHorxjIR.cjs → awaiter-0ES-HtKy.cjs} +1 -1
  2. package/lib/browser/{awaiter-PiTJ_7wp.js → awaiter-TGpflqNO.js} +1 -1
  3. package/lib/browser/{block-wrapper-v0E7yyzI.cjs → block-wrapper-6JBj9wlj.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-8FiWiPra.js → block-wrapper-M2woB-L4.js} +3 -3
  5. package/lib/browser/{component-ref-u11yYjHx.js → component-ref-7xUvXH6j.js} +4 -4
  6. package/lib/browser/{component-ref-jU5sC23e.cjs → component-ref-TmVziQMC.cjs} +1 -1
  7. package/lib/browser/components/content-variants/content-variants.vue.d.ts +0 -1
  8. package/lib/browser/components/content-variants/helpers.d.ts +0 -1
  9. package/lib/browser/constants/sdk-version.d.ts +1 -1
  10. package/lib/browser/{get-block-properties-AT7KmjRH.cjs → get-block-properties-2RZMZvVf.cjs} +1 -1
  11. package/lib/browser/{get-block-properties-UD7oT_P6.js → get-block-properties-IPH_xTi-.js} +1 -1
  12. package/lib/browser/{index-qBdmc4Tf.js → index-bHeXSwpO.js} +182 -218
  13. package/lib/browser/{index-9zsNLjBY.cjs → index-yGDaT-4c.cjs} +20 -50
  14. package/lib/browser/index.cjs +1 -1
  15. package/lib/browser/index.mjs +1 -1
  16. package/lib/browser/{live-edit-yO4ZTgek.js → live-edit-ncQFzx-S.js} +1 -1
  17. package/lib/browser/{live-edit-9FW3XnJY.cjs → live-edit-zea3UB3U.cjs} +1 -1
  18. package/lib/browser/{repeated-block-HJlXpRlA.cjs → repeated-block-6Car73NY.cjs} +1 -1
  19. package/lib/browser/{repeated-block-7Kr5DU4s.js → repeated-block-Mk8O3Rpy.js} +2 -2
  20. package/lib/browser/{style-wrapper-NagZ3htF.cjs → style-wrapper-5rtVLsI3.cjs} +1 -1
  21. package/lib/browser/{style-wrapper-oGUCilmw.js → style-wrapper-r-s-if-A.js} +1 -1
  22. package/lib/edge/{awaiter-yr8VAu_H.cjs → awaiter-S6rT9Vve.cjs} +1 -1
  23. package/lib/edge/{awaiter-acJdczkp.js → awaiter-rfhkeWZf.js} +1 -1
  24. package/lib/edge/{block-wrapper-mCaWnoxQ.js → block-wrapper-C8-WoYjv.js} +3 -3
  25. package/lib/edge/{block-wrapper-aEKGXQsG.cjs → block-wrapper-SyvaobbZ.cjs} +1 -1
  26. package/lib/edge/{component-ref-wzojJNtP.cjs → component-ref-Gc_mK-yZ.cjs} +1 -1
  27. package/lib/edge/{component-ref-pA4-SwIs.js → component-ref-u0-6ifHM.js} +4 -4
  28. package/lib/edge/components/content-variants/content-variants.vue.d.ts +0 -1
  29. package/lib/edge/components/content-variants/helpers.d.ts +0 -1
  30. package/lib/edge/constants/sdk-version.d.ts +1 -1
  31. package/lib/edge/{get-block-properties-T1Ci7dP5.js → get-block-properties-HX4IkuJ7.js} +1 -1
  32. package/lib/edge/{get-block-properties-vOCtFmny.cjs → get-block-properties-YVTdp4N_.cjs} +1 -1
  33. package/lib/edge/{index-OZxVFmQK.cjs → index-Ep-06GOr.cjs} +23 -53
  34. package/lib/edge/{index-9d4BROG7.js → index-z9siWBN1.js} +374 -410
  35. package/lib/edge/index.cjs +1 -1
  36. package/lib/edge/index.mjs +1 -1
  37. package/lib/edge/{live-edit-oX2tpNY4.js → live-edit-XsT9ZiMs.js} +1 -1
  38. package/lib/{node/live-edit-g3b-brGl.cjs → edge/live-edit-nkpalAUa.cjs} +1 -1
  39. package/lib/edge/{repeated-block-uS6k8BJT.cjs → repeated-block-QAF0iXDX.cjs} +1 -1
  40. package/lib/edge/{repeated-block-WFlqwuyL.js → repeated-block-e-bO_PW3.js} +2 -2
  41. package/lib/edge/{style-wrapper-UNbimac8.cjs → style-wrapper-IpBgNlUT.cjs} +1 -1
  42. package/lib/edge/{style-wrapper-QjzY0pp1.js → style-wrapper-UVIpB1x8.js} +1 -1
  43. package/lib/node/{awaiter-j4ORMLjV.js → awaiter-iuox8UDW.js} +1 -1
  44. package/lib/node/{awaiter-68BBjUeZ.cjs → awaiter-o04icQ1E.cjs} +1 -1
  45. package/lib/node/{block-wrapper-xbWj7xN4.cjs → block-wrapper-1Y-CVNTM.cjs} +1 -1
  46. package/lib/node/{block-wrapper-MpV_yto9.js → block-wrapper-Lg6Dv_gm.js} +3 -3
  47. package/lib/node/{component-ref-FMaZUEHA.js → component-ref-MVFxzC_h.js} +5 -5
  48. package/lib/node/{component-ref-gcCyaLPb.cjs → component-ref-k5AyvYBo.cjs} +1 -1
  49. package/lib/node/components/content-variants/content-variants.vue.d.ts +0 -1
  50. package/lib/node/components/content-variants/helpers.d.ts +0 -1
  51. package/lib/node/constants/sdk-version.d.ts +1 -1
  52. package/lib/node/{get-block-properties-xyodoUq1.cjs → get-block-properties-Kb0sj2FV.cjs} +1 -1
  53. package/lib/node/{get-block-properties-OFyB13c0.js → get-block-properties-Rq2VRXzM.js} +2 -2
  54. package/lib/node/{index-TU01S1LU.js → index-9hkAOr_P.js} +218 -254
  55. package/lib/node/{index-INlBMXV-.cjs → index-yxMSSBrC.cjs} +19 -49
  56. package/lib/node/index.cjs +1 -1
  57. package/lib/node/index.mjs +2 -2
  58. package/lib/node/init.cjs +1 -1
  59. package/lib/node/init.mjs +1 -1
  60. package/lib/{edge/live-edit-DElUbmBW.cjs → node/live-edit-YzqrW2ZO.cjs} +1 -1
  61. package/lib/node/{live-edit-047YZnu-.js → live-edit-k8OIvz20.js} +1 -1
  62. package/lib/node/{repeated-block-EcOLRgeJ.cjs → repeated-block-0laikCiE.cjs} +1 -1
  63. package/lib/node/{repeated-block-om1ZGsyQ.js → repeated-block-km0tNI0j.js} +2 -2
  64. package/lib/node/{should-force-browser-runtime-in-node-A9wQILFE.cjs → should-force-browser-runtime-in-node-HK08_EA6.cjs} +1 -1
  65. package/lib/node/{should-force-browser-runtime-in-node-dW9p7rxg.js → should-force-browser-runtime-in-node-o843UKK7.js} +1 -1
  66. package/lib/node/{style-wrapper-lvW1HnEu.cjs → style-wrapper-O4HZcJNK.cjs} +1 -1
  67. package/lib/node/{style-wrapper-2Rqb9g04.js → style-wrapper-tc5B1slA.js} +2 -2
  68. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as Y, mergeProps as w, toHandlers as U, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as R, renderList as F, createCommentVNode as C, h as Me, createElementVNode as K, normalizeStyle as M, normalizeClass as Z, markRaw as kt } from "vue";
2
- import { T as $, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as qe, c as ye, d as Et, n as je, S as Pt, e as ve, h as re, j as At, k as Ke, m as Bt, o as A, q as ze, _ as Ae } from "./should-force-browser-runtime-in-node-dW9p7rxg.js";
1
+ import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as O, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as Me, createElementVNode as z, normalizeStyle as M, normalizeClass as Z, markRaw as kt } from "vue";
2
+ import { T as R, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as qe, c as ye, d as Et, n as je, S as Pt, e as ve, h as re, j as At, k as ze, m as Bt, o as A, q as Ke, _ as Ae } from "./should-force-browser-runtime-in-node-o843UKK7.js";
3
3
  const Vt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Nt = (e) => typeof e == "string" && Vt.has(e.toLowerCase());
4
4
  function N(e = {}, t, n) {
5
5
  const o = {};
@@ -24,13 +24,13 @@ const Wt = y({
24
24
  return n;
25
25
  };
26
26
  function Dt(e, t, n, o, r, i) {
27
- return e.isEmptyElement(e.TagName) ? (d(), S(Y(e.TagName), w({ key: 1 }, e.attributes, U(e.actionAttributes)), null, 16)) : (d(), h(I, { key: 0 }, [
28
- typeof e.TagName == "string" ? (d(), S(Y(e.TagName), w({ key: 0 }, e.attributes, U(e.actionAttributes)), {
27
+ return e.isEmptyElement(e.TagName) ? (d(), S(Y(e.TagName), I({ key: 1 }, e.attributes, O(e.actionAttributes)), null, 16)) : (d(), h(w, { key: 0 }, [
28
+ typeof e.TagName == "string" ? (d(), S(Y(e.TagName), I({ key: 0 }, e.attributes, O(e.actionAttributes)), {
29
29
  default: x(() => [
30
30
  V(e.$slots, "default")
31
31
  ]),
32
32
  _: 3
33
- }, 16)) : (d(), S(Y(e.TagName), w({ key: 1 }, e.attributes, U(e.actionAttributes)), {
33
+ }, 16)) : (d(), S(Y(e.TagName), I({ key: 1 }, e.attributes, O(e.actionAttributes)), {
34
34
  default: x(() => [
35
35
  V(e.$slots, "default")
36
36
  ]),
@@ -38,11 +38,11 @@ function Dt(e, t, n, o, r, i) {
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
43
  default: Se
44
44
  }, Symbol.toStringTag, { value: "Module" })), q = () => {
45
- switch ($) {
45
+ switch (R) {
46
46
  case "react":
47
47
  case "reactNative":
48
48
  case "rsc":
@@ -83,7 +83,7 @@ const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Qi = /* @__PURE__ */ Object.
83
83
  }
84
84
  }
85
85
  });
86
- function Ot(e, t, n, o, r, i) {
86
+ function Ut(e, t, n, o, r, i) {
87
87
  const s = k("DynamicRenderer");
88
88
  return d(), S(s, {
89
89
  attributes: e.attrs(),
@@ -96,7 +96,7 @@ function Ot(e, t, n, o, r, i) {
96
96
  _: 1
97
97
  }, 8, ["attributes", "TagName", "actionAttributes"]);
98
98
  }
99
- const Ut = /* @__PURE__ */ v(xt, [["render", Ot]]), Ft = Symbol(), he = {
99
+ const Ot = /* @__PURE__ */ v(xt, [["render", Ut]]), Ft = Symbol(), he = {
100
100
  Builder: {
101
101
  content: null,
102
102
  context: {},
@@ -142,7 +142,7 @@ const Ut = /* @__PURE__ */ v(xt, [["render", Ot]]), Ft = Symbol(), he = {
142
142
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
143
143
  }, Mt = (e) => E() || wt({
144
144
  shouldLogWarning: !0
145
- }) ? Ht(e) : It(e), qt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, jt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Kt = (e) => {
145
+ }) ? Ht(e) : It(e), qt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, jt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, zt = (e) => {
146
146
  var t, n, o, r, i, s;
147
147
  return ((o = (n = (t = qt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = jt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
148
148
  };
@@ -158,7 +158,7 @@ function _({
158
158
  }) {
159
159
  if (e.trim() === "")
160
160
  return;
161
- const a = Kt(e.trim());
161
+ const a = zt(e.trim());
162
162
  if (a)
163
163
  return Je({
164
164
  ...o,
@@ -184,7 +184,7 @@ function _({
184
184
  return;
185
185
  }
186
186
  }
187
- function zt(e, t) {
187
+ function Kt(e, t) {
188
188
  var n;
189
189
  return {
190
190
  ...(n = e.component) == null ? void 0 : n.options,
@@ -264,7 +264,7 @@ function fe(e) {
264
264
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = fe(e[n]));
265
265
  return t;
266
266
  }
267
- const Zt = ["svelte", "vue", "angular", "qwik", "solid"].includes($), _t = (e) => {
267
+ const Zt = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), _t = (e) => {
268
268
  if (Zt) {
269
269
  const t = ye(e);
270
270
  return {
@@ -343,7 +343,7 @@ function se(e) {
343
343
  return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? on(n) : n));
344
344
  }
345
345
  const Be = {};
346
- function Yi(e, t) {
346
+ function Qi(e, t) {
347
347
  e === "plugin" && (t = se(t));
348
348
  let n = Be[e];
349
349
  if (n || (n = Be[e] = []), n.push(t), E()) {
@@ -361,7 +361,7 @@ function Yi(e, t) {
361
361
  }
362
362
  }
363
363
  }
364
- function Xi(e) {
364
+ function Yi(e) {
365
365
  var t;
366
366
  if (E()) {
367
367
  const n = JSON.parse(JSON.stringify(e));
@@ -372,7 +372,7 @@ function Xi(e) {
372
372
  }
373
373
  }
374
374
  const Ve = {};
375
- function Zi(e) {
375
+ function Xi(e) {
376
376
  if (E()) {
377
377
  Object.assign(Ve, e);
378
378
  const t = {
@@ -410,7 +410,7 @@ const Ze = (e) => {
410
410
  We || (We = !0, E() && ((t = window.parent) == null || t.postMessage({
411
411
  type: "builder.sdkInfo",
412
412
  data: {
413
- target: $,
413
+ target: R,
414
414
  version: Pt,
415
415
  supportsPatchUpdates: !1,
416
416
  // Supports builder-model="..." attribute which is needed to
@@ -501,7 +501,7 @@ const Ze = (e) => {
501
501
  break;
502
502
  }
503
503
  }
504
- }, _i = ({
504
+ }, Zi = ({
505
505
  model: e,
506
506
  apiKey: t,
507
507
  callback: n,
@@ -543,7 +543,7 @@ const Ze = (e) => {
543
543
  }), un = ({
544
544
  contentId: e,
545
545
  value: t
546
- }) => Ke({
546
+ }) => ze({
547
547
  name: Ce(e),
548
548
  value: t,
549
549
  canTrack: !0
@@ -637,7 +637,7 @@ function xe() {
637
637
  ...this.getUserAttributes(),
638
638
  ...n
639
639
  };
640
- Ke({
640
+ ze({
641
641
  name: De,
642
642
  value: JSON.stringify(o),
643
643
  canTrack: e
@@ -662,10 +662,10 @@ function xe() {
662
662
  };
663
663
  }
664
664
  let be;
665
- E() && $ === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = xe()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = xe();
666
- const ae = be, es = (e) => {
665
+ E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = xe()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = xe();
666
+ const ae = be, _i = (e) => {
667
667
  ae.setUserAttributes(e);
668
- }, z = (e) => {
668
+ }, K = (e) => {
669
669
  const t = re(e) ? e : !0;
670
670
  return ae.setCanTrack(t), t;
671
671
  };
@@ -711,7 +711,7 @@ function yn(e) {
711
711
  }
712
712
  return t;
713
713
  }
714
- const vn = "v3", Oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (e) => {
714
+ const vn = "v3", Ue = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (e) => {
715
715
  const {
716
716
  limit: t = 30,
717
717
  userAttributes: n,
@@ -734,10 +734,10 @@ const vn = "v3", Oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
734
734
  throw new Error("Missing API key");
735
735
  if (!["v3"].includes(a))
736
736
  throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
737
- const O = t !== 1, B = P || "https://cdn.builder.io", T = new URL(`${B}/api/${a}/content/${r}`);
738
- T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(O)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l);
737
+ const U = t !== 1, B = P || "https://cdn.builder.io", T = new URL(`${B}/api/${a}/content/${r}`);
738
+ T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(U)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l);
739
739
  let W = n || {};
740
- if (s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", p ?? "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && T.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && T.searchParams.set("includeUnpublished", String(g)), c && Oe(c) && T.searchParams.set("cacheSeconds", String(c)), m && Oe(m) && T.searchParams.set("staleCacheSeconds", String(m)), b) {
740
+ if (s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", p ?? "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && T.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && T.searchParams.set("includeUnpublished", String(g)), c && Ue(c) && T.searchParams.set("cacheSeconds", String(c)), m && Ue(m) && T.searchParams.set("staleCacheSeconds", String(m)), b) {
741
741
  const D = ge({
742
742
  sort: b
743
743
  });
@@ -802,8 +802,8 @@ const Tn = async (e) => {
802
802
  };
803
803
  return await (await n(t.href, o)).json();
804
804
  }, wn = async (e, t, n = Te(e)) => {
805
- const o = z(e.canTrack);
806
- if (n.search.includes("preview="), !o || !(E() || $ === "reactNative"))
805
+ const o = K(e.canTrack);
806
+ if (n.search.includes("preview="), !o || !(E() || R === "reactNative"))
807
807
  return t.results;
808
808
  try {
809
809
  const r = [];
@@ -828,7 +828,7 @@ async function In(e) {
828
828
  }), n;
829
829
  return wn(e, n);
830
830
  }
831
- const ts = async (e) => {
831
+ const es = async (e) => {
832
832
  var o, r, i;
833
833
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
834
834
  ...e,
@@ -950,7 +950,7 @@ const at = (e) => Object.entries(e).map(([n, o]) => {
950
950
  if (typeof o == "string")
951
951
  return `${Ie(n)}: ${o};`;
952
952
  }).filter(re), An = (e) => at(e).join(`
953
- `), ns = ({
953
+ `), ts = ({
954
954
  mediaQuery: e,
955
955
  className: t,
956
956
  styles: n
@@ -967,7 +967,7 @@ function Bn({
967
967
  }) {
968
968
  return e;
969
969
  }
970
- const os = ({
970
+ const ns = ({
971
971
  block: e,
972
972
  context: t
973
973
  }) => lt(Bn({
@@ -976,7 +976,7 @@ const os = ({
976
976
  block: e
977
977
  }));
978
978
  function lt(e) {
979
- switch ($) {
979
+ switch (R) {
980
980
  case "svelte":
981
981
  case "vue":
982
982
  case "solid":
@@ -1054,32 +1054,32 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1054
1054
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1055
1055
  builderBlock: t
1056
1056
  } : {};
1057
- }, On = (e, t) => {
1057
+ }, Un = (e, t) => {
1058
1058
  var n;
1059
1059
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1060
1060
  builderContext: t
1061
1061
  } : {};
1062
- }, Un = (e) => e.toString(), Fn = () => Promise.resolve().then(() => _n).then((e) => e.default).catch((e) => {
1062
+ }, On = (e) => e.toString(), Fn = () => Promise.resolve().then(() => _n).then((e) => e.default).catch((e) => {
1063
1063
  throw console.error(
1064
1064
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1065
1065
  e
1066
1066
  ), e;
1067
- }), Ln = () => import("./block-wrapper-MpV_yto9.js").then((e) => e.default).catch((e) => {
1067
+ }), Ln = () => import("./block-wrapper-Lg6Dv_gm.js").then((e) => e.default).catch((e) => {
1068
1068
  throw console.error(
1069
1069
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1070
1070
  e
1071
1071
  ), e;
1072
- }), Hn = () => import("./component-ref-FMaZUEHA.js").then((e) => e.default).catch((e) => {
1072
+ }), Hn = () => import("./component-ref-MVFxzC_h.js").then((e) => e.default).catch((e) => {
1073
1073
  throw console.error(
1074
1074
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1075
1075
  e
1076
1076
  ), e;
1077
- }), Mn = () => import("./repeated-block-om1ZGsyQ.js").then((e) => e.default).catch((e) => {
1077
+ }), Mn = () => import("./repeated-block-km0tNI0j.js").then((e) => e.default).catch((e) => {
1078
1078
  throw console.error(
1079
1079
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1080
1080
  e
1081
1081
  ), e;
1082
- }), qn = () => import("./style-wrapper-2Rqb9g04.js").then((e) => e.default).catch((e) => {
1082
+ }), qn = () => import("./style-wrapper-tc5B1slA.js").then((e) => e.default).catch((e) => {
1083
1083
  throw console.error(
1084
1084
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
1085
1085
  e
@@ -1100,7 +1100,7 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1100
1100
  value: null,
1101
1101
  update: !1
1102
1102
  },
1103
- generateKey: Un
1103
+ generateKey: On
1104
1104
  };
1105
1105
  },
1106
1106
  mounted() {
@@ -1159,9 +1159,9 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1159
1159
  blockChildren: this.processedBlock.children ?? [],
1160
1160
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1161
1161
  componentOptions: {
1162
- ...zt(this.processedBlock, this.context),
1162
+ ...Kt(this.processedBlock, this.context),
1163
1163
  ...xn(this.blockComponent, this.processedBlock),
1164
- ...On(this.blockComponent, this.context),
1164
+ ...Un(this.blockComponent, this.context),
1165
1165
  ...Wn(this.blockComponent, this.linkComponent),
1166
1166
  ...Dn(
1167
1167
  this.blockComponent,
@@ -1174,22 +1174,22 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1174
1174
  registeredComponents: this.registeredComponents,
1175
1175
  builderBlock: this.processedBlock,
1176
1176
  includeBlockProps: ((t = this.blockComponent) == null ? void 0 : t.noWrap) === !0,
1177
- isInteractive: !((n = this.blockComponent) != null && n.isRSC && $ === "rsc")
1177
+ isInteractive: !((n = this.blockComponent) != null && n.isRSC && R === "rsc")
1178
1178
  };
1179
1179
  }
1180
1180
  }
1181
1181
  });
1182
- function Kn(e, t, n, o, r, i) {
1182
+ function zn(e, t, n, o, r, i) {
1183
1183
  var f;
1184
1184
  const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
1185
- return e.canShowBlock ? (d(), h(I, { key: 0 }, [
1186
- R(s, {
1185
+ return e.canShowBlock ? (d(), h(w, { key: 0 }, [
1186
+ $(s, {
1187
1187
  block: e.processedBlock,
1188
1188
  context: e.context,
1189
1189
  id: e.block.id
1190
1190
  }, null, 8, ["block", "context", "id"]),
1191
- (f = e.blockComponent) != null && f.noWrap ? (d(), h(I, { key: 1 }, [
1192
- e.repeatItem ? (d(!0), h(I, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1191
+ (f = e.blockComponent) != null && f.noWrap ? (d(), h(w, { key: 1 }, [
1192
+ e.repeatItem ? (d(!0), h(w, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1193
1193
  key: e.generateKey(m),
1194
1194
  repeatContext: c.context,
1195
1195
  block: c.block,
@@ -1207,8 +1207,8 @@ function Kn(e, t, n, o, r, i) {
1207
1207
  includeBlockProps: e.componentRefProps.includeBlockProps,
1208
1208
  isInteractive: e.componentRefProps.isInteractive
1209
1209
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
1210
- ], 64)) : (d(), h(I, { key: 0 }, [
1211
- e.repeatItem ? (d(!0), h(I, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1210
+ ], 64)) : (d(), h(w, { key: 0 }, [
1211
+ e.repeatItem ? (d(!0), h(w, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1212
1212
  key: e.generateKey(m),
1213
1213
  repeatContext: c.context,
1214
1214
  block: c.block,
@@ -1221,7 +1221,7 @@ function Kn(e, t, n, o, r, i) {
1221
1221
  context: e.context
1222
1222
  }, {
1223
1223
  default: x(() => [
1224
- R(l, {
1224
+ $(l, {
1225
1225
  componentRef: e.componentRefProps.componentRef,
1226
1226
  componentOptions: e.componentRefProps.componentOptions,
1227
1227
  blockChildren: e.componentRefProps.blockChildren,
@@ -1232,7 +1232,7 @@ function Kn(e, t, n, o, r, i) {
1232
1232
  includeBlockProps: e.componentRefProps.includeBlockProps,
1233
1233
  isInteractive: e.componentRefProps.isInteractive
1234
1234
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
1235
- (d(!0), h(I, null, F(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1235
+ (d(!0), h(w, null, F(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1236
1236
  key: c.id,
1237
1237
  block: c,
1238
1238
  registeredComponents: e.registeredComponents,
@@ -1245,10 +1245,10 @@ function Kn(e, t, n, o, r, i) {
1245
1245
  ], 64))
1246
1246
  ], 64)) : C("", !0);
1247
1247
  }
1248
- const dt = /* @__PURE__ */ v(jn, [["render", Kn]]), rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1248
+ const dt = /* @__PURE__ */ v(jn, [["render", zn]]), os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1249
1249
  __proto__: null,
1250
1250
  default: dt
1251
- }, Symbol.toStringTag, { value: "Module" })), zn = y({
1251
+ }, Symbol.toStringTag, { value: "Module" })), Kn = y({
1252
1252
  name: "builder-blocks-wrapper",
1253
1253
  props: [
1254
1254
  "blocks",
@@ -1319,7 +1319,7 @@ const dt = /* @__PURE__ */ v(jn, [["render", Kn]]), rs = /* @__PURE__ */ Object.
1319
1319
  }
1320
1320
  });
1321
1321
  function Gn(e, t, n, o, r, i) {
1322
- return d(), S(Y(e.BlocksWrapper), w({
1322
+ return d(), S(Y(e.BlocksWrapper), I({
1323
1323
  ref: "blocksWrapperRef",
1324
1324
  class: e.className + " component-5vz8uirn7sc",
1325
1325
  "builder-path": e.dataPath,
@@ -1335,7 +1335,7 @@ function Gn(e, t, n, o, r, i) {
1335
1335
  _: 3
1336
1336
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1337
1337
  }
1338
- const Jn = /* @__PURE__ */ v(zn, [["render", Gn], ["__scopeId", "data-v-82fc93d6"]]), Qn = y({
1338
+ const Jn = /* @__PURE__ */ v(Kn, [["render", Gn], ["__scopeId", "data-v-82fc93d6"]]), Qn = y({
1339
1339
  name: "builder-blocks",
1340
1340
  components: { BlocksWrapper: Jn, Block: dt },
1341
1341
  props: [
@@ -1368,7 +1368,7 @@ function Yn(e, t, n, o, r, i) {
1368
1368
  }, {
1369
1369
  default: x(() => [
1370
1370
  V(e.$slots, "default"),
1371
- e.blocks ? (d(!0), h(I, { key: 0 }, F(e.blocks, (c, m) => {
1371
+ e.blocks ? (d(!0), h(w, { key: 0 }, F(e.blocks, (c, m) => {
1372
1372
  var b;
1373
1373
  return d(), S(s, {
1374
1374
  key: c.id,
@@ -1425,7 +1425,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1425
1425
  default: 991,
1426
1426
  max: 1200
1427
1427
  }
1428
- }, is = (e, t = ut) => `@media (max-width: ${t[e].max}px)`, eo = (e) => {
1428
+ }, rs = (e, t = ut) => `@media (max-width: ${t[e].max}px)`, eo = (e) => {
1429
1429
  const t = ye(ut);
1430
1430
  if (!e)
1431
1431
  return t;
@@ -1482,7 +1482,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1482
1482
  "builderComponents"
1483
1483
  ],
1484
1484
  data() {
1485
- return { TARGET: $, getColumnsClass: to };
1485
+ return { TARGET: R, getColumnsClass: to };
1486
1486
  },
1487
1487
  computed: {
1488
1488
  gutterSize() {
@@ -1607,7 +1607,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1607
1607
  function oo(e, t, n, o, r, i) {
1608
1608
  var u;
1609
1609
  const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
1610
- return d(), h("div", w({
1610
+ return d(), h("div", I({
1611
1611
  class: e.getColumnsClass((u = e.builderBlock) == null ? void 0 : u.id) + " div-1be3j8m9ewb",
1612
1612
  style: e.columnsCssVars()
1613
1613
  }, {}), [
@@ -1617,14 +1617,14 @@ function oo(e, t, n, o, r, i) {
1617
1617
  styles: e.columnsStyles(),
1618
1618
  nonce: e.builderContext.nonce
1619
1619
  }, null, 8, ["styles", "nonce"])) : C("", !0),
1620
- (d(!0), h(I, null, F(e.columns, (p, f) => (d(), S(a, {
1620
+ (d(!0), h(w, null, F(e.columns, (p, f) => (d(), S(a, {
1621
1621
  key: f,
1622
1622
  TagName: e.getTagName(p),
1623
1623
  actionAttributes: {},
1624
1624
  attributes: e.getAttributes(p, f)
1625
1625
  }, {
1626
1626
  default: x(() => [
1627
- R(l, {
1627
+ $(l, {
1628
1628
  path: `columns.${f}.blocks`,
1629
1629
  parent: e.builderBlock.id,
1630
1630
  context: e.builderContext,
@@ -1650,7 +1650,7 @@ function so(e, t, n, o, r, i) {
1650
1650
  ]);
1651
1651
  }
1652
1652
  const ao = /* @__PURE__ */ v(io, [["render", so]]);
1653
- function Ue(e) {
1653
+ function Oe(e) {
1654
1654
  return e.replace(/http(s)?:/, "");
1655
1655
  }
1656
1656
  function lo(e = "", t, n) {
@@ -1661,11 +1661,11 @@ function co(e, t) {
1661
1661
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1662
1662
  return e;
1663
1663
  if (t === "master")
1664
- return Ue(e);
1664
+ return Oe(e);
1665
1665
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1666
1666
  if (n) {
1667
1667
  const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
1668
- return Ue(`${o[0]}_${i}${r}`);
1668
+ return Oe(`${o[0]}_${i}${r}`);
1669
1669
  }
1670
1670
  return null;
1671
1671
  }
@@ -1737,14 +1737,14 @@ const uo = y({
1737
1737
  };
1738
1738
  function fo(e, t, n, o, r, i) {
1739
1739
  var s, l, a, u, p, f;
1740
- return d(), h(I, null, [
1741
- K("picture", null, [
1740
+ return d(), h(w, null, [
1741
+ z("picture", null, [
1742
1742
  e.webpSrcSet ? (d(), h("source", {
1743
1743
  key: 0,
1744
1744
  type: "image/webp",
1745
1745
  srcset: e.webpSrcSet
1746
1746
  }, null, 8, po)) : C("", !0),
1747
- K("img", {
1747
+ z("img", {
1748
1748
  loading: e.highPriority ? "eager" : "lazy",
1749
1749
  fetchpriority: e.highPriority ? "high" : "auto",
1750
1750
  alt: e.altText,
@@ -1784,7 +1784,7 @@ const bo = /* @__PURE__ */ v(uo, [["render", fo], ["__scopeId", "data-v-741b9bbc
1784
1784
  }
1785
1785
  });
1786
1786
  function yo(e, t, n, o, r, i) {
1787
- return d(), h("section", w({
1787
+ return d(), h("section", I({
1788
1788
  style: {
1789
1789
  width: "100%",
1790
1790
  alignSelf: "stretch",
@@ -1797,7 +1797,7 @@ function yo(e, t, n, o, r, i) {
1797
1797
  marginLeft: "auto",
1798
1798
  marginRight: "auto"
1799
1799
  }
1800
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1800
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1801
1801
  V(e.$slots, "default")
1802
1802
  ], 16);
1803
1803
  }
@@ -2022,7 +2022,7 @@ const ko = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2022
2022
  }
2023
2023
  }`, ne = "default", wo = "filterWithCustomTargeting", pt = "builderIoPersonalization", mt = "updateVisibilityStylesScript", ht = ["react", "vue", "svelte", "qwik"], ft = ["vue", "svelte", "qwik"];
2024
2024
  function Io(e, t) {
2025
- return !(e && e.length > 0) || !t ? !1 : ft.includes($) ? !0 : !E();
2025
+ return !(e && e.length > 0) || !t ? !1 : ft.includes(R) ? !0 : !E();
2026
2026
  }
2027
2027
  function $o({
2028
2028
  variants: e,
@@ -2066,7 +2066,7 @@ const Ro = () => `
2066
2066
  window.${wo} = ${Co}
2067
2067
  window.${pt} = ${ko}
2068
2068
  window.${mt} = ${To}
2069
- `, bt = $ === "react", Eo = (e, t, n) => `window.${pt}(${JSON.stringify(e)}, "${t}", ${bt}${n ? `, "${n}"` : ""})`, Po = (e, t, n) => `window.${mt}(${JSON.stringify(e)}, "${t}", ${bt}${n ? `, "${n}"` : ""})`, de = {
2069
+ `, bt = R === "react", Eo = (e, t, n) => `window.${pt}(${JSON.stringify(e)}, "${t}", ${bt}${n ? `, "${n}"` : ""})`, Po = (e, t, n) => `window.${mt}(${JSON.stringify(e)}, "${t}", ${bt}${n ? `, "${n}"` : ""})`, de = {
2070
2070
  "@type": "@builder.io/sdk:Element",
2071
2071
  layerName: "Accordion item title",
2072
2072
  responsiveStyles: {
@@ -2292,8 +2292,8 @@ function Wo(e, t, n, o, r, i) {
2292
2292
  class: "builder-accordion",
2293
2293
  style: M(e.accordionStyles)
2294
2294
  }, [
2295
- (d(!0), h(I, null, F(e.items, (l, a) => (d(), h(I, { key: a }, [
2296
- K("div", {
2295
+ (d(!0), h(w, null, F(e.items, (l, a) => (d(), h(w, { key: a }, [
2296
+ z("div", {
2297
2297
  class: Z(e.getAccordionTitleClassName(a)),
2298
2298
  style: M({
2299
2299
  ...e.accordionTitleStyles,
@@ -2305,7 +2305,7 @@ function Wo(e, t, n, o, r, i) {
2305
2305
  "data-index": a,
2306
2306
  onClick: async (u) => e.onClick(a)
2307
2307
  }, [
2308
- R(s, {
2308
+ $(s, {
2309
2309
  blocks: l.title,
2310
2310
  path: `items.${a}.title`,
2311
2311
  parent: e.builderBlock.id,
@@ -2319,7 +2319,7 @@ function Wo(e, t, n, o, r, i) {
2319
2319
  class: Z(e.getAccordionDetailClassName(a)),
2320
2320
  style: M(e.accordionDetailStyles)
2321
2321
  }, [
2322
- R(s, {
2322
+ $(s, {
2323
2323
  blocks: l.detail,
2324
2324
  path: `items.${a}.detail`,
2325
2325
  parent: e.builderBlock.id,
@@ -2367,7 +2367,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2367
2367
  shouldReceiveBuilderProps: {
2368
2368
  builderLinkComponent: !0
2369
2369
  }
2370
- }, Oo = {
2370
+ }, Uo = {
2371
2371
  // TODO: ways to statically preprocess JSON for references, functions, etc
2372
2372
  name: "Columns",
2373
2373
  isRSC: !0,
@@ -2574,7 +2574,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2574
2574
  builderComponents: !0,
2575
2575
  builderLinkComponent: !0
2576
2576
  }
2577
- }, Uo = {
2577
+ }, Oo = {
2578
2578
  name: "Fragment",
2579
2579
  static: !0,
2580
2580
  hidden: !0,
@@ -2770,10 +2770,10 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2770
2770
  unsubscribers: [],
2771
2771
  shouldRenderVariants: Io(
2772
2772
  this.variants,
2773
- z((s = this.builderContext) == null ? void 0 : s.canTrack)
2773
+ K((s = this.builderContext) == null ? void 0 : s.canTrack)
2774
2774
  ),
2775
2775
  shouldResetVariants: !1,
2776
- TARGET: $,
2776
+ TARGET: R,
2777
2777
  DEFAULT_INDEX: ne,
2778
2778
  SDKS_REQUIRING_RESET_APPROACH: ft
2779
2779
  };
@@ -2786,7 +2786,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2786
2786
  this.userAttributes = n;
2787
2787
  },
2788
2788
  {
2789
- fireImmediately: $ === "qwik"
2789
+ fireImmediately: R === "qwik"
2790
2790
  }
2791
2791
  );
2792
2792
  if (!(A() || ke())) {
@@ -2864,9 +2864,9 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2864
2864
  }
2865
2865
  });
2866
2866
  function qo(e, t, n, o, r, i) {
2867
- var u, p, f, c, m, b, g, P, O, B;
2867
+ var u, p, f, c, m, b, g, P, U, B;
2868
2868
  const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
2869
- return d(), h("div", w({ ref: "rootRef" }, e.attrs), [
2869
+ return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
2870
2870
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), S(s, {
2871
2871
  key: 0,
2872
2872
  blocks: e.blocksToRender.blocks,
@@ -2879,19 +2879,19 @@ function qo(e, t, n, o, r, i) {
2879
2879
  "data-variant-id": `${(f = e.builderBlock) == null ? void 0 : f.id}-${e.blocksToRender.index}`
2880
2880
  }
2881
2881
  }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : C("", !0),
2882
- !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(I, { key: 1 }, [
2883
- e.shouldRenderVariants ? (d(), h(I, { key: 0 }, [
2884
- R(l, {
2882
+ !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(w, { key: 1 }, [
2883
+ e.shouldRenderVariants ? (d(), h(w, { key: 0 }, [
2884
+ $(l, {
2885
2885
  nonce: ((c = e.builderContext) == null ? void 0 : c.nonce) || "",
2886
2886
  styles: e.hideVariantsStyleString,
2887
2887
  id: `variants-styles-${(m = e.builderBlock) == null ? void 0 : m.id}`
2888
2888
  }, null, 8, ["nonce", "styles", "id"]),
2889
- R(a, {
2889
+ $(a, {
2890
2890
  nonce: ((b = e.builderContext) == null ? void 0 : b.nonce) || "",
2891
2891
  scriptStr: e.updateVisibilityStylesScript,
2892
2892
  id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
2893
2893
  }, null, 8, ["nonce", "scriptStr", "id"]),
2894
- (d(!0), h(I, null, F(e.variants, (T, W) => {
2894
+ (d(!0), h(w, null, F(e.variants, (T, W) => {
2895
2895
  var G, J, D, H;
2896
2896
  return d(), S(s, {
2897
2897
  key: `${(G = e.builderBlock) == null ? void 0 : G.id}-${W}`,
@@ -2910,7 +2910,7 @@ function qo(e, t, n, o, r, i) {
2910
2910
  default: x(() => {
2911
2911
  var Ee, Pe;
2912
2912
  return [
2913
- R(a, {
2913
+ $(a, {
2914
2914
  nonce: ((Ee = e.builderContext) == null ? void 0 : Ee.nonce) || "",
2915
2915
  scriptStr: e.scriptStr,
2916
2916
  id: `variants-script-${(Pe = e.builderBlock) == null ? void 0 : Pe.id}-${W}`
@@ -2921,14 +2921,14 @@ function qo(e, t, n, o, r, i) {
2921
2921
  }, 1032, ["BlocksWrapperProps", "blocks", "parent", "path", "context", "registeredComponents"]);
2922
2922
  }), 128))
2923
2923
  ], 64)) : C("", !0),
2924
- R(s, {
2924
+ $(s, {
2925
2925
  blocks: e.blocksToRender.blocks,
2926
2926
  parent: (P = e.builderBlock) == null ? void 0 : P.id,
2927
2927
  path: e.blocksToRender.path,
2928
2928
  context: e.builderContext,
2929
2929
  registeredComponents: e.builderComponents,
2930
2930
  BlocksWrapperProps: {
2931
- ...(O = e.builderContext) == null ? void 0 : O.BlocksWrapperProps,
2931
+ ...(U = e.builderContext) == null ? void 0 : U.BlocksWrapperProps,
2932
2932
  "data-variant-id": `${(B = e.builderBlock) == null ? void 0 : B.id}-${e.blocksToRender.index}`
2933
2933
  }
2934
2934
  }, {
@@ -2948,7 +2948,7 @@ function qo(e, t, n, o, r, i) {
2948
2948
  ], 64)) : C("", !0)
2949
2949
  ], 16);
2950
2950
  }
2951
- const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), Ko = {
2951
+ const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), zo = {
2952
2952
  name: "Core:Section",
2953
2953
  static: !0,
2954
2954
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2987,7 +2987,7 @@ const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), Ko = {
2987
2987
  }
2988
2988
  }
2989
2989
  }]
2990
- }, zo = {
2990
+ }, Ko = {
2991
2991
  name: "Slot",
2992
2992
  isRSC: !0,
2993
2993
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3012,7 +3012,7 @@ const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), Ko = {
3012
3012
  function Jo(e, t, n, o, r, i) {
3013
3013
  var l, a, u;
3014
3014
  const s = k("Blocks");
3015
- return d(), h("div", w(
3015
+ return d(), h("div", I(
3016
3016
  { style: {
3017
3017
  pointerEvents: "auto"
3018
3018
  } },
@@ -3020,7 +3020,7 @@ function Jo(e, t, n, o, r, i) {
3020
3020
  "builder-slot": e.name
3021
3021
  }
3022
3022
  ), [
3023
- R(s, {
3023
+ $(s, {
3024
3024
  parent: (a = e.builderContext.context) == null ? void 0 : a.symbolId,
3025
3025
  path: `symbol.data.${e.name}`,
3026
3026
  context: e.builderContext,
@@ -3241,7 +3241,7 @@ const Qo = /* @__PURE__ */ v(Go, [["render", Jo]]), Yo = {
3241
3241
  function tr(e, t, n, o, r, i) {
3242
3242
  const s = k("Blocks");
3243
3243
  return d(), h("div", null, [
3244
- K("div", {
3244
+ z("div", {
3245
3245
  class: "builder-tabs-wrap",
3246
3246
  style: M({
3247
3247
  display: "flex",
@@ -3250,13 +3250,13 @@ function tr(e, t, n, o, r, i) {
3250
3250
  overflow: "auto"
3251
3251
  })
3252
3252
  }, [
3253
- (d(!0), h(I, null, F(e.tabs, (l, a) => (d(), h("span", {
3253
+ (d(!0), h(w, null, F(e.tabs, (l, a) => (d(), h("span", {
3254
3254
  key: a,
3255
3255
  class: Z(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
3256
3256
  style: M(e.getTabStyle(a)),
3257
3257
  onClick: async (u) => e.onClick(a)
3258
3258
  }, [
3259
- R(s, {
3259
+ $(s, {
3260
3260
  parent: e.builderBlock.id,
3261
3261
  path: `tabs.${a}.label`,
3262
3262
  blocks: l.label,
@@ -3267,7 +3267,7 @@ function tr(e, t, n, o, r, i) {
3267
3267
  ], 14, _o))), 128))
3268
3268
  ], 4),
3269
3269
  e.activeTabContent(e.activeTab) ? (d(), h("div", er, [
3270
- R(s, {
3270
+ $(s, {
3271
3271
  parent: e.builderBlock.id,
3272
3272
  path: `tabs.${e.activeTab}.content`,
3273
3273
  blocks: e.activeTabContent(e.activeTab),
@@ -3818,7 +3818,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3818
3818
  const p = `${Cr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3819
3819
  this.sendSubmissionsToEmail || ""
3820
3820
  )}&name=${encodeURIComponent(this.name || "")}`, f = this.sendSubmissionsTo === "email" ? p : this.action;
3821
- ze(f), fetch(f, {
3821
+ Ke(f), fetch(f, {
3822
3822
  body: i,
3823
3823
  headers: r,
3824
3824
  method: this.method || "post"
@@ -3828,15 +3828,15 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3828
3828
  let m;
3829
3829
  const b = c.headers.get("content-type");
3830
3830
  if (b && b.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
3831
- const O = new CustomEvent("submit:error", {
3831
+ const U = new CustomEvent("submit:error", {
3832
3832
  detail: {
3833
3833
  error: m,
3834
3834
  status: c.status
3835
3835
  }
3836
3836
  });
3837
3837
  if ((g = this.$refs.formRef) != null && g.nativeElement && ((P = this.$refs.formRef) == null || P.nativeElement.dispatchEvent(
3838
- O
3839
- ), O.defaultPrevented))
3838
+ U
3839
+ ), U.defaultPrevented))
3840
3840
  return;
3841
3841
  this.responseData = m, this.formState = "error";
3842
3842
  let B = this.errorMessagePath ? Je(m, this.errorMessagePath) : m.message || m.error || m;
@@ -3846,14 +3846,14 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3846
3846
  return;
3847
3847
  }
3848
3848
  if (this.responseData = m, this.formState = c.ok ? "success" : "error", c.ok) {
3849
- const O = new CustomEvent("submit:success", {
3849
+ const U = new CustomEvent("submit:success", {
3850
3850
  detail: {
3851
3851
  res: c,
3852
3852
  body: m
3853
3853
  }
3854
3854
  });
3855
3855
  if (this.$refs.formRef) {
3856
- if (this.$refs.formRef.dispatchEvent(O), O.defaultPrevented)
3856
+ if (this.$refs.formRef.dispatchEvent(U), U.defaultPrevented)
3857
3857
  return;
3858
3858
  this.resetFormOnSubmit !== !1 && this.$refs.formRef.reset();
3859
3859
  }
@@ -3887,14 +3887,14 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3887
3887
  };
3888
3888
  function $r(e, t, n, o, r, i) {
3889
3889
  const s = k("Blocks");
3890
- return d(), h("form", w({
3890
+ return d(), h("form", I({
3891
3891
  validate: e.validate,
3892
3892
  ref: "formRef",
3893
3893
  action: !e.sendWithJs && e.action,
3894
3894
  method: e.method,
3895
3895
  name: e.name,
3896
3896
  onSubmit: t[0] || (t[0] = async (l) => e.onSubmit(l))
3897
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3897
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3898
3898
  V(e.$slots, "default", {}, void 0, !0),
3899
3899
  e.submissionState() === "error" ? (d(), S(s, {
3900
3900
  key: 0,
@@ -3984,7 +3984,7 @@ const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-77c7888c
3984
3984
  }
3985
3985
  }), Ar = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3986
3986
  function Br(e, t, n, o, r, i) {
3987
- return d(), h("input", w({
3987
+ return d(), h("input", I({
3988
3988
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3989
3989
  placeholder: e.placeholder,
3990
3990
  type: e.type,
@@ -3992,7 +3992,7 @@ function Br(e, t, n, o, r, i) {
3992
3992
  value: e.value,
3993
3993
  defaultValue: e.defaultValue,
3994
3994
  required: e.required
3995
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ar);
3995
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ar);
3996
3996
  }
3997
3997
  const Vr = /* @__PURE__ */ v(Pr, [["render", Br]]), Nr = {
3998
3998
  name: "Form:Select",
@@ -4043,21 +4043,21 @@ const Vr = /* @__PURE__ */ v(Pr, [["render", Br]]), Nr = {
4043
4043
  return { isEditing: A, filterAttrs: N };
4044
4044
  }
4045
4045
  }), Dr = ["value", "defaultValue", "name", "required"], xr = ["value"];
4046
- function Or(e, t, n, o, r, i) {
4047
- return d(), h("select", w({
4046
+ function Ur(e, t, n, o, r, i) {
4047
+ return d(), h("select", I({
4048
4048
  value: e.value,
4049
4049
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4050
4050
  defaultValue: e.defaultValue,
4051
4051
  name: e.name,
4052
4052
  required: e.required
4053
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4054
- (d(!0), h(I, null, F(e.options, (s, l) => (d(), h("option", {
4053
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4054
+ (d(!0), h(w, null, F(e.options, (s, l) => (d(), h("option", {
4055
4055
  key: `${s.name}-${l}`,
4056
4056
  value: s.value
4057
4057
  }, le(s.name || s.value), 9, xr))), 128))
4058
4058
  ], 16, Dr);
4059
4059
  }
4060
- const Ur = /* @__PURE__ */ v(Wr, [["render", Or]]), Fr = {
4060
+ const Or = /* @__PURE__ */ v(Wr, [["render", Ur]]), Fr = {
4061
4061
  name: "Form:SubmitButton",
4062
4062
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4063
4063
  defaultStyles: {
@@ -4090,7 +4090,7 @@ const Ur = /* @__PURE__ */ v(Wr, [["render", Or]]), Fr = {
4090
4090
  }
4091
4091
  });
4092
4092
  function Hr(e, t, n, o, r, i) {
4093
- return d(), h("button", w({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
4093
+ return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
4094
4094
  }
4095
4095
  const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
4096
4096
  name: "Form:TextArea",
@@ -4141,17 +4141,17 @@ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
4141
4141
  data() {
4142
4142
  return { filterAttrs: N };
4143
4143
  }
4144
- }), Kr = ["placeholder", "name", "value", "defaultValue", "required"];
4145
- function zr(e, t, n, o, r, i) {
4146
- return d(), h("textarea", w({
4144
+ }), zr = ["placeholder", "name", "value", "defaultValue", "required"];
4145
+ function Kr(e, t, n, o, r, i) {
4146
+ return d(), h("textarea", I({
4147
4147
  placeholder: e.placeholder,
4148
4148
  name: e.name,
4149
4149
  value: e.value,
4150
4150
  defaultValue: e.defaultValue,
4151
4151
  required: e.required
4152
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Kr);
4152
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, zr);
4153
4153
  }
4154
- const Gr = /* @__PURE__ */ v(jr, [["render", zr]]), Jr = {
4154
+ const Gr = /* @__PURE__ */ v(jr, [["render", Kr]]), Jr = {
4155
4155
  name: "Raw:Img",
4156
4156
  hideFromInsertMenu: !0,
4157
4157
  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",
@@ -4228,7 +4228,7 @@ const Gr = /* @__PURE__ */ v(jr, [["render", zr]]), Jr = {
4228
4228
  }), Yr = ["alt", "title", "src"];
4229
4229
  function Xr(e, t, n, o, r, i) {
4230
4230
  var s;
4231
- return d(), h("img", w({
4231
+ return d(), h("img", I({
4232
4232
  loading: "lazy",
4233
4233
  key: e.isEditing() && e.imgSrc || "default-key",
4234
4234
  alt: e.altText,
@@ -4425,7 +4425,7 @@ const Zr = /* @__PURE__ */ v(Qr, [["render", Xr]]), _r = {
4425
4425
  function ii(e, t, n, o, r, i) {
4426
4426
  var s, l, a, u, p, f, c;
4427
4427
  return d(), h("div", ti, [
4428
- K("video", w({
4428
+ z("video", I({
4429
4429
  class: "builder-video",
4430
4430
  ref: "videoRef",
4431
4431
  preload: e.lazyLoad ? "none" : e.preload || "metadata",
@@ -4444,7 +4444,7 @@ function ii(e, t, n, o, r, i) {
4444
4444
  },
4445
4445
  poster: e.posterImage
4446
4446
  }, e.spreadProps), [
4447
- K("source", w(
4447
+ z("source", I(
4448
4448
  { type: "video/mp4" },
4449
4449
  e.lazyLoad ? {
4450
4450
  "data-src": e.video
@@ -4486,7 +4486,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4486
4486
  component: Mr,
4487
4487
  ...Fr
4488
4488
  }, {
4489
- component: Ur,
4489
+ component: Or,
4490
4490
  ...Nr
4491
4491
  }, {
4492
4492
  component: Gr,
@@ -4498,30 +4498,30 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4498
4498
  component: si,
4499
4499
  ..._r
4500
4500
  }], Fe = () => [{
4501
- component: Ut,
4501
+ component: Ot,
4502
4502
  ...xo
4503
4503
  }, {
4504
4504
  component: ro,
4505
- ...Oo
4505
+ ...Uo
4506
4506
  }, {
4507
4507
  component: ao,
4508
- ...Uo
4508
+ ...Oo
4509
4509
  }, {
4510
4510
  component: bo,
4511
4511
  ...Lo
4512
4512
  }, {
4513
4513
  component: vo,
4514
- ...Ko
4514
+ ...zo
4515
4515
  }, {
4516
4516
  component: Qo,
4517
- ...zo
4517
+ ...Ko
4518
4518
  }, {
4519
4519
  component: zi,
4520
4520
  ...Yo
4521
4521
  }, {
4522
4522
  component: ar,
4523
4523
  ...or
4524
- }, ...ht.includes($) ? [{
4524
+ }, ...ht.includes(R) ? [{
4525
4525
  component: jo,
4526
4526
  ...Ho
4527
4527
  }] : [], {
@@ -4630,43 +4630,13 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4630
4630
  })), di = ({
4631
4631
  canTrack: e,
4632
4632
  content: t
4633
- }) => !(!(oe(t).length > 0) || !e), ui = (e) => e === "react" || e === "reactNative", pi = $ === "angular", vt = ui($), mi = (e, t) => `
4634
- (function() {
4635
- var selector = 'script[data-id="${e}"]';
4636
- var scriptKey = '__builderioScriptInitialized_${e}';
4637
- var observerKey = '__builderioScriptObserver_${e}';
4638
-
4639
- // Synchronously remove any duplicates already in the DOM
4640
- var existing = document.querySelectorAll(selector);
4641
- existing.forEach(function(script, index) {
4642
- if (index > 0) {
4643
- script.parentNode && script.parentNode.removeChild(script);
4644
- }
4645
- });
4646
-
4647
- // Watch for duplicates added later (e.g. RSC streaming chunks)
4648
- if (!window[observerKey] && typeof MutationObserver !== 'undefined') {
4649
- window[observerKey] = new MutationObserver(function() {
4650
- var all = document.querySelectorAll(selector);
4651
- for (var i = 1; i < all.length; i++) {
4652
- all[i].parentNode && all[i].parentNode.removeChild(all[i]);
4653
- }
4654
- });
4655
- window[observerKey].observe(document.documentElement, { childList: true, subtree: true });
4656
- }
4657
-
4658
- if (!window[scriptKey]) {
4659
- window[scriptKey] = true;
4660
- ${t}
4661
- }
4662
- })();
4663
- `, hi = () => `
4633
+ }) => !(!(oe(t).length > 0) || !e), ui = (e) => e === "react" || e === "reactNative", pi = R === "angular", vt = ui(R), mi = () => `
4664
4634
  window.${gt} = ${li}
4665
4635
  window.${yt} = ${ci}
4666
- `, fi = (e, t) => `
4636
+ `, hi = (e, t) => `
4667
4637
  window.${gt}(
4668
4638
  "${t}",${JSON.stringify(e)}, ${vt}, ${pi}
4669
- )`, bi = ({
4639
+ )`, fi = ({
4670
4640
  contentId: e,
4671
4641
  variationId: t
4672
4642
  }) => `window.${yt}(
@@ -4675,7 +4645,7 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4675
4645
  function Le(e) {
4676
4646
  return Math.round(e * 1e3) / 1e3;
4677
4647
  }
4678
- const gi = (e, t, n = !0) => {
4648
+ const bi = (e, t, n = !0) => {
4679
4649
  if (!(e instanceof HTMLElement))
4680
4650
  return null;
4681
4651
  let o = n ? e : e.parentElement;
@@ -4686,7 +4656,7 @@ const gi = (e, t, n = !0) => {
4686
4656
  return o;
4687
4657
  } while (o = o.parentElement);
4688
4658
  return null;
4689
- }, yi = (e) => gi(e, (t) => {
4659
+ }, gi = (e) => bi(e, (t) => {
4690
4660
  const n = t.getAttribute("builder-id") || t.id;
4691
4661
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4692
4662
  }), He = ({
@@ -4698,8 +4668,8 @@ const gi = (e, t, n = !0) => {
4698
4668
  x: i,
4699
4669
  y: s
4700
4670
  };
4701
- }, vi = (e) => {
4702
- const t = e.target, n = t && yi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4671
+ }, yi = (e) => {
4672
+ const t = e.target, n = t && gi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4703
4673
  return {
4704
4674
  targetBuilderElement: o || void 0,
4705
4675
  metadata: {
@@ -4714,7 +4684,7 @@ const gi = (e, t, n = !0) => {
4714
4684
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4715
4685
  }
4716
4686
  };
4717
- }, Si = ["svelte", "qwik", "vue"], ki = () => Si.includes($) && (A() || ke()), Ci = (e) => {
4687
+ }, vi = ["svelte", "qwik", "vue"], Si = () => vi.includes(R) && (A() || ke()), ki = (e) => {
4718
4688
  var i;
4719
4689
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
4720
4690
  let r = "";
@@ -4740,15 +4710,15 @@ font-weight: ${s};
4740
4710
  `.trim());
4741
4711
  }
4742
4712
  return r;
4743
- }, Ti = ({
4713
+ }, Ci = ({
4744
4714
  customFonts: e
4745
4715
  }) => {
4746
4716
  var t;
4747
- return ((t = e == null ? void 0 : e.map((n) => Ci(n))) == null ? void 0 : t.join(" ")) || "";
4748
- }, wi = ({
4717
+ return ((t = e == null ? void 0 : e.map((n) => ki(n))) == null ? void 0 : t.join(" ")) || "";
4718
+ }, Ti = ({
4749
4719
  cssCode: e,
4750
4720
  contentId: t
4751
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ii = `
4721
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", wi = `
4752
4722
  .builder-button {
4753
4723
  all: unset;
4754
4724
  }
@@ -4765,7 +4735,7 @@ font-weight: ${s};
4765
4735
  text-align: inherit;
4766
4736
  font-family: inherit;
4767
4737
  }
4768
- `, $i = (e) => e ? "" : Ii, Ri = (e) => `variant-${e}`, Ei = y({
4738
+ `, Ii = (e) => e ? "" : wi, $i = (e) => `variant-${e}`, Ri = y({
4769
4739
  name: "enable-editor",
4770
4740
  components: { DynamicDiv: ee },
4771
4741
  props: [
@@ -4796,8 +4766,8 @@ font-weight: ${s};
4796
4766
  httpReqsPending: {},
4797
4767
  clicked: !1,
4798
4768
  builderContext: he,
4799
- needsElementRefDivForEditing: ki,
4800
- getWrapperClassName: Ri
4769
+ needsElementRefDivForEditing: Si,
4770
+ getWrapperClassName: $i
4801
4771
  };
4802
4772
  },
4803
4773
  provide() {
@@ -4815,7 +4785,7 @@ font-weight: ${s};
4815
4785
  A() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4816
4786
  new CustomEvent("initeditingbldr")
4817
4787
  );
4818
- const o = this.builderContextSignal.content && z(this.canTrack), r = ve({
4788
+ const o = this.builderContextSignal.content && K(this.canTrack), r = ve({
4819
4789
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
4820
4790
  canTrack: !0
4821
4791
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
@@ -4964,11 +4934,11 @@ font-weight: ${s};
4964
4934
  Ae({
4965
4935
  apiHost: this.apiHost,
4966
4936
  type: "click",
4967
- canTrack: z(this.canTrack),
4937
+ canTrack: K(this.canTrack),
4968
4938
  contentId: r,
4969
4939
  apiKey: this.apiKey,
4970
4940
  variationId: o !== r ? o : void 0,
4971
- ...vi(e),
4941
+ ...yi(e),
4972
4942
  unique: !this.clicked
4973
4943
  });
4974
4944
  }
@@ -5006,7 +4976,7 @@ font-weight: ${s};
5006
4976
  url: l,
5007
4977
  method: "GET"
5008
4978
  };
5009
- ze(JSON.stringify(a));
4979
+ Ke(JSON.stringify(a));
5010
4980
  const u = {
5011
4981
  method: a.method,
5012
4982
  headers: a.headers,
@@ -5089,9 +5059,9 @@ font-weight: ${s};
5089
5059
  }
5090
5060
  }
5091
5061
  });
5092
- function Pi(e, t, n, o, r, i) {
5062
+ function Ei(e, t, n, o, r, i) {
5093
5063
  var s, l, a;
5094
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(Y(e.ContentWrapper), w({
5064
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(Y(e.ContentWrapper), I({
5095
5065
  key: 0,
5096
5066
  ref: "elementRef",
5097
5067
  onClick: (u) => e.onClick(u),
@@ -5110,26 +5080,26 @@ function Pi(e, t, n, o, r, i) {
5110
5080
  _: 3
5111
5081
  }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : C("", !0);
5112
5082
  }
5113
- const Ai = /* @__PURE__ */ v(Ei, [["render", Pi]]), Bi = y({
5083
+ const Pi = /* @__PURE__ */ v(Ri, [["render", Ei]]), Ai = y({
5114
5084
  name: "content-styles",
5115
5085
  components: { InlinedStyles: ce },
5116
5086
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
5117
5087
  data() {
5118
5088
  return {
5119
5089
  injectedStyles: `
5120
- ${wi({
5090
+ ${Ti({
5121
5091
  cssCode: this.cssCode,
5122
5092
  contentId: this.contentId
5123
5093
  })}
5124
- ${Ti({
5094
+ ${Ci({
5125
5095
  customFonts: this.customFonts
5126
5096
  })}
5127
- ${$i(this.isNestedRender)}
5097
+ ${Ii(this.isNestedRender)}
5128
5098
  `.trim()
5129
5099
  };
5130
5100
  }
5131
5101
  });
5132
- function Vi(e, t, n, o, r, i) {
5102
+ function Bi(e, t, n, o, r, i) {
5133
5103
  const s = k("InlinedStyles");
5134
5104
  return d(), S(s, {
5135
5105
  id: "builderio-content",
@@ -5137,7 +5107,7 @@ function Vi(e, t, n, o, r, i) {
5137
5107
  nonce: e.nonce
5138
5108
  }, null, 8, ["styles", "nonce"]);
5139
5109
  }
5140
- const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5110
+ const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = ({
5141
5111
  content: e,
5142
5112
  data: t,
5143
5113
  locale: n
@@ -5154,7 +5124,7 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5154
5124
  locale: n
5155
5125
  } : {}
5156
5126
  };
5157
- }, Di = ({
5127
+ }, Wi = ({
5158
5128
  content: e,
5159
5129
  data: t
5160
5130
  }) => e ? {
@@ -5164,12 +5134,12 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5164
5134
  ...t
5165
5135
  },
5166
5136
  meta: e == null ? void 0 : e.meta
5167
- } : void 0, xi = kt, Oi = y({
5137
+ } : void 0, Di = kt, xi = y({
5168
5138
  name: "content-component",
5169
5139
  components: {
5170
- EnableEditor: Ai,
5140
+ EnableEditor: Pi,
5171
5141
  InlinedScript: Re,
5172
- ContentStyles: Ni,
5142
+ ContentStyles: Vi,
5173
5143
  Blocks: j,
5174
5144
  DynamicDiv: ee
5175
5145
  },
@@ -5199,7 +5169,7 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5199
5169
  data() {
5200
5170
  var e, t;
5201
5171
  return {
5202
- scriptStr: bi({
5172
+ scriptStr: fi({
5203
5173
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5204
5174
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
5205
5175
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -5212,19 +5182,19 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5212
5182
  (n, { component: o, ...r }) => ({
5213
5183
  ...n,
5214
5184
  [r.name]: {
5215
- component: xi(o),
5185
+ component: Di(o),
5216
5186
  ...se(r)
5217
5187
  }
5218
5188
  }),
5219
5189
  {}
5220
5190
  ),
5221
5191
  builderContextSignal: {
5222
- content: Di({
5192
+ content: Wi({
5223
5193
  content: this.content,
5224
5194
  data: this.data
5225
5195
  }),
5226
5196
  localState: void 0,
5227
- rootState: Wi({
5197
+ rootState: Ni({
5228
5198
  content: this.content,
5229
5199
  data: this.data,
5230
5200
  locale: this.locale
@@ -5250,7 +5220,7 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5250
5220
  nonce: this.nonce || "",
5251
5221
  model: this.model
5252
5222
  },
5253
- TARGET: $
5223
+ TARGET: R
5254
5224
  };
5255
5225
  },
5256
5226
  provide() {
@@ -5302,7 +5272,7 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5302
5272
  });
5303
5273
  function Ui(e, t, n, o, r, i) {
5304
5274
  const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
5305
- return d(), S(u, w({
5275
+ return d(), S(u, I({
5306
5276
  apiHost: e.apiHost,
5307
5277
  nonce: e.nonce,
5308
5278
  content: e.content,
@@ -5337,7 +5307,7 @@ function Ui(e, t, n, o, r, i) {
5337
5307
  cssCode: (c = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : c.cssCode,
5338
5308
  customFonts: (b = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : b.customFonts
5339
5309
  }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : C("", !0),
5340
- R(a, {
5310
+ $(a, {
5341
5311
  blocks: (P = (g = e.builderContextSignal.content) == null ? void 0 : g.data) == null ? void 0 : P.blocks,
5342
5312
  context: e.builderContextSignal,
5343
5313
  registeredComponents: e.registeredComponents,
@@ -5348,12 +5318,12 @@ function Ui(e, t, n, o, r, i) {
5348
5318
  _: 1
5349
5319
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5350
5320
  }
5351
- const Fi = /* @__PURE__ */ v(Oi, [["render", Ui]]), Li = y({
5321
+ const Oi = /* @__PURE__ */ v(xi, [["render", Ui]]), Fi = y({
5352
5322
  name: "content-variants",
5353
5323
  components: {
5354
5324
  InlinedScript: Re,
5355
5325
  InlinedStyles: ce,
5356
- ContentComponent: Fi
5326
+ ContentComponent: Oi
5357
5327
  },
5358
5328
  props: [
5359
5329
  "canTrack",
@@ -5379,15 +5349,14 @@ const Fi = /* @__PURE__ */ v(Oi, [["render", Ui]]), Li = y({
5379
5349
  data() {
5380
5350
  return {
5381
5351
  shouldRenderVariants: di({
5382
- canTrack: z(this.canTrack),
5352
+ canTrack: K(this.canTrack),
5383
5353
  content: this.content
5384
5354
  }),
5385
5355
  SDKS_SUPPORTING_PERSONALIZATION: ht,
5386
5356
  getInitPersonalizationVariantsFnsScriptString: Ro,
5387
- TARGET: $,
5388
- getInitVariantsFnsScriptString: hi,
5389
- getVariants: oe,
5390
- removeDuplicateScript: mi
5357
+ TARGET: R,
5358
+ getInitVariantsFnsScriptString: mi,
5359
+ getVariants: oe
5391
5360
  };
5392
5361
  },
5393
5362
  mounted() {
@@ -5395,7 +5364,7 @@ const Fi = /* @__PURE__ */ v(Oi, [["render", Ui]]), Li = y({
5395
5364
  computed: {
5396
5365
  updateCookieAndStylesScriptStr() {
5397
5366
  var e;
5398
- return fi(
5367
+ return hi(
5399
5368
  oe(this.content).map((t) => ({
5400
5369
  id: t.testVariationId,
5401
5370
  testRatio: t.testRatio
@@ -5413,44 +5382,39 @@ const Fi = /* @__PURE__ */ v(Oi, [["render", Ui]]), Li = y({
5413
5382
  testVariationId: (e = this.content) == null ? void 0 : e.id
5414
5383
  } : mn({
5415
5384
  item: this.content,
5416
- canTrack: z(this.canTrack)
5385
+ canTrack: K(this.canTrack)
5417
5386
  });
5418
5387
  }
5419
5388
  }
5420
5389
  });
5421
- function Hi(e, t, n, o, r, i) {
5390
+ function Li(e, t, n, o, r, i) {
5422
5391
  const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
5423
- return d(), h(I, null, [
5424
- !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), S(s, {
5425
- key: 0,
5426
- id: "builderio-init-variants-fns",
5427
- scriptStr: e.removeDuplicateScript(
5428
- "builderio-init-variants-fns",
5429
- e.getInitVariantsFnsScriptString()
5430
- ),
5431
- nonce: e.nonce || ""
5432
- }, null, 8, ["scriptStr", "nonce"])) : C("", !0),
5433
- !e.isNestedRender && e.TARGET !== "reactNative" && e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (d(), S(s, {
5434
- key: 1,
5435
- id: "builderio-init-personalization-variants-fns",
5436
- nonce: e.nonce || "",
5437
- scriptStr: e.removeDuplicateScript(
5438
- "builderio-init-personalization-variants-fns",
5439
- e.getInitPersonalizationVariantsFnsScriptString()
5440
- )
5441
- }, null, 8, ["nonce", "scriptStr"])) : C("", !0),
5442
- e.shouldRenderVariants ? (d(), h(I, { key: 2 }, [
5443
- R(l, {
5392
+ return d(), h(w, null, [
5393
+ !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), h(w, { key: 0 }, [
5394
+ $(s, {
5395
+ id: "builderio-init-variants-fns",
5396
+ scriptStr: e.getInitVariantsFnsScriptString(),
5397
+ nonce: e.nonce || ""
5398
+ }, null, 8, ["scriptStr", "nonce"]),
5399
+ e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (d(), S(s, {
5400
+ key: 0,
5401
+ id: "builderio-init-personalization-variants-fns",
5402
+ nonce: e.nonce || "",
5403
+ scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
5404
+ }, null, 8, ["nonce", "scriptStr"])) : C("", !0)
5405
+ ], 64)) : C("", !0),
5406
+ e.shouldRenderVariants ? (d(), h(w, { key: 1 }, [
5407
+ $(l, {
5444
5408
  id: "builderio-variants",
5445
5409
  styles: e.hideVariantsStyleString,
5446
5410
  nonce: e.nonce || ""
5447
5411
  }, null, 8, ["styles", "nonce"]),
5448
- R(s, {
5412
+ $(s, {
5449
5413
  id: "builderio-variants-visibility",
5450
5414
  scriptStr: e.updateCookieAndStylesScriptStr,
5451
5415
  nonce: e.nonce || ""
5452
5416
  }, null, 8, ["scriptStr", "nonce"]),
5453
- (d(!0), h(I, null, F(e.getVariants(e.content), (u, p) => (d(), S(a, w({
5417
+ (d(!0), h(w, null, F(e.getVariants(e.content), (u, p) => (d(), S(a, I({
5454
5418
  key: u.testVariationId,
5455
5419
  apiHost: e.apiHost,
5456
5420
  isNestedRender: e.isNestedRender,
@@ -5475,7 +5439,7 @@ function Hi(e, t, n, o, r, i) {
5475
5439
  trustedHosts: e.trustedHosts
5476
5440
  }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5477
5441
  ], 64)) : C("", !0),
5478
- R(a, w({
5442
+ $(a, I({
5479
5443
  apiHost: e.apiHost,
5480
5444
  nonce: e.nonce,
5481
5445
  isNestedRender: e.isNestedRender,
@@ -5502,7 +5466,7 @@ function Hi(e, t, n, o, r, i) {
5502
5466
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5503
5467
  ], 64);
5504
5468
  }
5505
- const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5469
+ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
5506
5470
  builderContextValue: e,
5507
5471
  symbol: t
5508
5472
  }) => {
@@ -5520,9 +5484,9 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5520
5484
  }).catch((n) => {
5521
5485
  L.error("Could not fetch symbol content: ", n);
5522
5486
  });
5523
- }, ji = y({
5487
+ }, qi = y({
5524
5488
  name: "builder-symbol",
5525
- components: { ContentVariants: Mi, DynamicDiv: ee },
5489
+ components: { ContentVariants: Hi, DynamicDiv: ee },
5526
5490
  props: [
5527
5491
  "symbol",
5528
5492
  "builderComponents",
@@ -5579,7 +5543,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5579
5543
  methods: {
5580
5544
  setContent() {
5581
5545
  var e;
5582
- this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || qi({
5546
+ this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Mi({
5583
5547
  symbol: this.symbol,
5584
5548
  builderContextValue: this.builderContext
5585
5549
  }).then((t) => {
@@ -5589,11 +5553,11 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5589
5553
  }
5590
5554
  }
5591
5555
  });
5592
- function Ki(e, t, n, o, r, i) {
5556
+ function ji(e, t, n, o, r, i) {
5593
5557
  var l, a, u, p, f, c, m;
5594
5558
  const s = k("ContentVariants");
5595
- return d(), h("div", w({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5596
- R(s, {
5559
+ return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5560
+ $(s, {
5597
5561
  nonce: e.builderContext.nonce,
5598
5562
  isNestedRender: !0,
5599
5563
  apiVersion: e.builderContext.apiVersion,
@@ -5617,13 +5581,13 @@ function Ki(e, t, n, o, r, i) {
5617
5581
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5618
5582
  ], 16);
5619
5583
  }
5620
- const zi = /* @__PURE__ */ v(ji, [["render", Ki]]);
5584
+ const zi = /* @__PURE__ */ v(qi, [["render", ji]]);
5621
5585
  export {
5622
5586
  we as A,
5623
5587
  dt as B,
5624
5588
  ro as C,
5625
- Qi as D,
5626
- rs as E,
5589
+ Ji as D,
5590
+ os as E,
5627
5591
  ao as F,
5628
5592
  bo as I,
5629
5593
  vo as S,
@@ -5635,25 +5599,25 @@ export {
5635
5599
  ce as c,
5636
5600
  eo as d,
5637
5601
  _ as e,
5638
- ns as f,
5639
- os as g,
5640
- is as h,
5602
+ ts as f,
5603
+ ns as g,
5604
+ rs as h,
5641
5605
  Ie as i,
5642
5606
  tn as j,
5643
- Ut as k,
5607
+ Ot as k,
5644
5608
  zi as l,
5645
5609
  j as m,
5646
- Mi as n,
5610
+ Hi as n,
5647
5611
  ke as o,
5648
5612
  nn as p,
5649
- Xi as q,
5650
- Yi as r,
5651
- es as s,
5652
- Zi as t,
5613
+ Yi as q,
5614
+ Qi as r,
5615
+ _i as s,
5616
+ Xi as t,
5653
5617
  Ye as u,
5654
- _i as v,
5655
- xi as w,
5656
- ts as x,
5618
+ Zi as v,
5619
+ Di as w,
5620
+ es as x,
5657
5621
  wn as y,
5658
5622
  In as z
5659
5623
  };