@builder.io/sdk-vue 4.0.5 → 4.0.7

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 (82) hide show
  1. package/lib/browser/{awaiter-gdSp9a3o.cjs → awaiter-5U0g0avg.cjs} +1 -1
  2. package/lib/browser/{awaiter-Na4FhF0w.js → awaiter-FZ_6AE2a.js} +1 -1
  3. package/lib/browser/{block-styles-HyV_Fqpu.cjs → block-styles-mQsLCCE3.cjs} +1 -1
  4. package/lib/browser/{block-styles-adNaPac5.js → block-styles-pmTjlLzn.js} +1 -1
  5. package/lib/browser/{block-wrapper-HyxydZnL.js → block-wrapper-N_ogs-Wp.js} +3 -3
  6. package/lib/browser/{block-wrapper-GYkBDhfB.cjs → block-wrapper-OunrCweM.cjs} +1 -1
  7. package/lib/browser/blocks/image/image.vue.d.ts +3 -0
  8. package/lib/browser/{component-ref-ngiwFAvH.js → component-ref-g19jfMvJ.js} +26 -21
  9. package/lib/browser/component-ref-nEt-sggm.cjs +1 -0
  10. package/lib/browser/components/block/block.helpers.d.ts +1 -0
  11. package/lib/browser/components/block/block.vue.d.ts +1 -0
  12. package/lib/browser/components/block/components/interactive-element.vue.d.ts +4 -3
  13. package/lib/browser/components/block/components/repeated-block.vue.d.ts +5 -1
  14. package/lib/browser/constants/sdk-version.d.ts +1 -1
  15. package/lib/browser/{get-block-properties-18MNRsm7.js → get-block-properties-5qwHyc1L.js} +1 -1
  16. package/lib/browser/{get-block-properties-HYjBq-49.cjs → get-block-properties-ulj77YzP.cjs} +1 -1
  17. package/lib/browser/helpers/preview-lru-cache/set.d.ts +3 -4
  18. package/lib/browser/{index-rU3Ag1Be.cjs → index-hvYVuem_.cjs} +18 -18
  19. package/lib/browser/{index-X41L9CpV.js → index-o8dnJsEu.js} +263 -264
  20. package/lib/browser/index.cjs +1 -1
  21. package/lib/browser/index.mjs +1 -1
  22. package/lib/browser/repeated-block-Bq4A_qa5.cjs +1 -0
  23. package/lib/browser/repeated-block-VCgK4l-q.js +50 -0
  24. package/lib/browser/style.css +1 -1
  25. package/lib/edge/{awaiter-WG2U1SLe.js → awaiter-le9ulX-I.js} +1 -1
  26. package/lib/edge/{awaiter-U5dzDHgu.cjs → awaiter-ogFSdhQw.cjs} +1 -1
  27. package/lib/edge/{block-styles-d6H_2qfc.js → block-styles-GPUq2vVm.js} +1 -1
  28. package/lib/edge/{block-styles-8riPa2nV.cjs → block-styles-GdF_xFXc.cjs} +1 -1
  29. package/lib/{node/block-wrapper-EpYTlf7c.js → edge/block-wrapper-3bIXOPdS.js} +3 -3
  30. package/lib/{node/block-wrapper-ijNIjuKa.cjs → edge/block-wrapper-TCIgsYJu.cjs} +1 -1
  31. package/lib/edge/blocks/image/image.vue.d.ts +3 -0
  32. package/lib/{node/component-ref-E7FZm-QW.js → edge/component-ref-9SUP0TNT.js} +26 -21
  33. package/lib/edge/component-ref-UEJRPE0-.cjs +1 -0
  34. package/lib/edge/components/block/block.helpers.d.ts +1 -0
  35. package/lib/edge/components/block/block.vue.d.ts +1 -0
  36. package/lib/edge/components/block/components/interactive-element.vue.d.ts +4 -3
  37. package/lib/edge/components/block/components/repeated-block.vue.d.ts +5 -1
  38. package/lib/edge/constants/sdk-version.d.ts +1 -1
  39. package/lib/edge/{get-block-properties-7YbY_OI5.cjs → get-block-properties-6JzUU6Pu.cjs} +1 -1
  40. package/lib/edge/{get-block-properties-zSAgWOI7.js → get-block-properties-JsJm0B7n.js} +1 -1
  41. package/lib/edge/helpers/preview-lru-cache/set.d.ts +3 -4
  42. package/lib/edge/{index-ik27fVN8.js → index-ggxjQMia.js} +244 -245
  43. package/lib/edge/{index-Br3H88Vv.cjs → index-sylhGsj3.cjs} +18 -18
  44. package/lib/edge/index.cjs +1 -1
  45. package/lib/edge/index.mjs +1 -1
  46. package/lib/edge/{repeated-block-Qq6seyY_.js → repeated-block-CLZkbqwN.js} +24 -9
  47. package/lib/edge/repeated-block-WJrFNvJj.cjs +1 -0
  48. package/lib/edge/style.css +1 -1
  49. package/lib/node/{awaiter-JVw8_HCI.js → awaiter-E4fj6vmG.js} +1 -1
  50. package/lib/node/{awaiter-kxHCR3Q_.cjs → awaiter-fVVumiTQ.cjs} +1 -1
  51. package/lib/node/{block-styles-uL3rMXp_.cjs → block-styles-HINWIuAE.cjs} +1 -1
  52. package/lib/node/{block-styles-wV1M-xil.js → block-styles-IE14sZnq.js} +1 -1
  53. package/lib/{edge/block-wrapper-tfBkt1Tp.cjs → node/block-wrapper-vQ87OSVE.cjs} +1 -1
  54. package/lib/{edge/block-wrapper-DalO5rX1.js → node/block-wrapper-xDAgWb90.js} +3 -3
  55. package/lib/node/blocks/image/image.vue.d.ts +3 -0
  56. package/lib/node/component-ref-Es2_Hx3D.cjs +1 -0
  57. package/lib/{edge/component-ref-vELPeydW.js → node/component-ref-qogwhlK8.js} +26 -21
  58. package/lib/node/components/block/block.helpers.d.ts +1 -0
  59. package/lib/node/components/block/block.vue.d.ts +1 -0
  60. package/lib/node/components/block/components/interactive-element.vue.d.ts +4 -3
  61. package/lib/node/components/block/components/repeated-block.vue.d.ts +5 -1
  62. package/lib/node/constants/sdk-version.d.ts +1 -1
  63. package/lib/node/{get-block-properties-CJ2y4ERa.cjs → get-block-properties-LPXLSOTJ.cjs} +1 -1
  64. package/lib/node/{get-block-properties-Ymr5GC2R.js → get-block-properties-wD4LU0DE.js} +1 -1
  65. package/lib/node/helpers/preview-lru-cache/set.d.ts +3 -4
  66. package/lib/node/index-40Ju7fZj.cjs +169 -0
  67. package/lib/node/{index--dPDAmOY.js → index-NJECHTw1.js} +260 -261
  68. package/lib/node/index.cjs +1 -1
  69. package/lib/node/index.mjs +1 -1
  70. package/lib/node/repeated-block-JNAfmV7i.cjs +1 -0
  71. package/lib/node/repeated-block-R4gT6MOv.js +49 -0
  72. package/lib/node/style.css +1 -1
  73. package/package.json +1 -1
  74. package/lib/browser/component-ref-g5FHyHxO.cjs +0 -1
  75. package/lib/browser/repeated-block-5XWrl9K_.cjs +0 -1
  76. package/lib/browser/repeated-block-Q_ZwpK_f.js +0 -35
  77. package/lib/edge/component-ref-1TRo8A9e.cjs +0 -1
  78. package/lib/edge/repeated-block--MEFT5i9.cjs +0 -1
  79. package/lib/node/component-ref-QjqaHbPk.cjs +0 -1
  80. package/lib/node/index-S0c5bqpa.cjs +0 -169
  81. package/lib/node/repeated-block-_fR3czyr.js +0 -34
  82. package/lib/node/repeated-block-r1S-Zak0.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, openBlock as c, createElementBlock as p, Fragment as I, createBlock as y, resolveDynamicComponent as z, mergeProps as C, toHandlers as x, withCtx as N, renderSlot as A, resolveComponent as k, createTextVNode as yt, toDisplayString as te, defineAsyncComponent as K, createVNode as P, renderList as W, createCommentVNode as S, h as Ne, createElementVNode as H, normalizeStyle as U, normalizeClass as J, markRaw as kt } from "vue";
1
+ import { defineComponent as b, openBlock as c, createElementBlock as p, Fragment as I, createBlock as y, resolveDynamicComponent as z, mergeProps as C, toHandlers as x, withCtx as N, renderSlot as A, resolveComponent as k, createTextVNode as yt, toDisplayString as te, defineAsyncComponent as j, createVNode as P, renderList as W, createCommentVNode as S, h as Ne, createElementVNode as H, normalizeStyle as U, normalizeClass as J, markRaw as kt } from "vue";
2
2
  import { T as R, g as vt, f as St, i as $, s as Ct, r as Tt, p as wt, a as It, l as B, b as Oe, c as me, d as $t, n as Ue, e as D, h as E, j as Rt } from "./should-force-browser-runtime-in-node-ikxWrCvn.js";
3
3
  const Et = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Pt = (e) => typeof e == "string" && Et.has(e.toLowerCase());
4
4
  function V(e = {}, t, n) {
@@ -38,7 +38,7 @@ function At(e, t, n, o, r, s) {
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const he = /* @__PURE__ */ g(Bt, [["render", At]]), Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const he = /* @__PURE__ */ g(Bt, [["render", At]]), Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
43
  default: he
44
44
  }, Symbol.toStringTag, { value: "Module" })), Z = () => {
@@ -188,10 +188,10 @@ function Mt(e, t) {
188
188
  return {
189
189
  ...(n = e.component) == null ? void 0 : n.options,
190
190
  ...e.options,
191
- ...jt(e, t)
191
+ ...Kt(e, t)
192
192
  };
193
193
  }
194
- const jt = (e, t) => {
194
+ const Kt = (e, t) => {
195
195
  var n, o;
196
196
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((o = e.component.options) != null && o.text) && typeof e.component.options.text == "string")
197
197
  return {
@@ -205,7 +205,7 @@ const jt = (e, t) => {
205
205
  }))
206
206
  };
207
207
  };
208
- function Kt(e, ...t) {
208
+ function jt(e, ...t) {
209
209
  const n = Object.assign({}, e);
210
210
  for (const o of t)
211
211
  delete n[o];
@@ -276,7 +276,7 @@ const Gt = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), Yt = (e) =
276
276
  }
277
277
  };
278
278
  } else {
279
- const t = de(Kt(e, "children", "meta"));
279
+ const t = de(jt(e, "children", "meta"));
280
280
  return {
281
281
  ...t,
282
282
  properties: {
@@ -361,7 +361,7 @@ function en(e, t) {
361
361
  }
362
362
  }
363
363
  const $e = {};
364
- function Gs(e) {
364
+ function Ys(e) {
365
365
  if ($()) {
366
366
  Object.assign($e, e);
367
367
  const t = {
@@ -386,10 +386,10 @@ const Re = "builder.", tn = "options.", Me = (e) => {
386
386
  return {};
387
387
  const e = new URLSearchParams(window.location.search);
388
388
  return Me(e);
389
- }, je = "4.0.5", Ke = () => ({
389
+ }, Ke = "4.0.7", je = () => ({
390
390
  "X-Builder-SDK": R,
391
391
  "X-Builder-SDK-GEN": "2",
392
- "X-Builder-SDK-Version": je
392
+ "X-Builder-SDK-Version": Ke
393
393
  }), on = (e) => {
394
394
  if (e === "localhost" || e === "127.0.0.1")
395
395
  return e;
@@ -574,14 +574,14 @@ async function ue({
574
574
  }),
575
575
  headers: {
576
576
  "content-type": "application/json",
577
- ...Ke()
577
+ ...je()
578
578
  },
579
579
  mode: "cors"
580
580
  }).catch((r) => {
581
581
  console.error("Failed to track: ", r);
582
582
  });
583
583
  }
584
- const Ys = (e) => ue({
584
+ const Xs = (e) => ue({
585
585
  ...e,
586
586
  canTrack: !0
587
587
  }), kn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
@@ -621,7 +621,7 @@ const Qe = (e) => {
621
621
  type: "builder.sdkInfo",
622
622
  data: {
623
623
  target: R,
624
- version: je,
624
+ version: Ke,
625
625
  supportsPatchUpdates: !1,
626
626
  // Supports builder-model="..." attribute which is needed to
627
627
  // scope our '+ add block' button styling
@@ -711,7 +711,7 @@ const Qe = (e) => {
711
711
  break;
712
712
  }
713
713
  }
714
- }, Xs = ({
714
+ }, Qs = ({
715
715
  model: e,
716
716
  apiKey: t,
717
717
  callback: n,
@@ -868,7 +868,7 @@ function En() {
868
868
  }
869
869
  };
870
870
  }
871
- const nt = En(), Qs = (e) => {
871
+ const nt = En(), Zs = (e) => {
872
872
  nt.setUserAttributes(e);
873
873
  }, G = (e) => {
874
874
  const t = D(e) ? e : !0;
@@ -946,12 +946,12 @@ const Vn = "v3", Be = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ye = (
946
946
  if (oe && (w.searchParams.set("locale", oe), L = {
947
947
  locale: oe,
948
948
  ...L
949
- }), i && w.searchParams.set("enrich", String(i)), w.searchParams.set("omit", h || "meta.componentsUsed"), u && w.searchParams.set("fields", u), Number.isFinite(m) && m > -1 && w.searchParams.set("offset", String(Math.floor(m))), typeof T == "boolean" && w.searchParams.set("includeUnpublished", String(T)), d && Be(d) && w.searchParams.set("cacheSeconds", String(d)), f && Be(f) && w.searchParams.set("staleCacheSeconds", String(f)), v) {
949
+ }), i && w.searchParams.set("enrich", String(i)), w.searchParams.set("omit", h ?? "meta.componentsUsed"), u && w.searchParams.set("fields", u), Number.isFinite(m) && m > -1 && w.searchParams.set("offset", String(Math.floor(m))), typeof T == "boolean" && w.searchParams.set("includeUnpublished", String(T)), d && Be(d) && w.searchParams.set("cacheSeconds", String(d)), f && Be(f) && w.searchParams.set("staleCacheSeconds", String(f)), v) {
950
950
  const O = pe({
951
951
  sort: v
952
952
  });
953
- for (const j in O)
954
- w.searchParams.set(j, JSON.stringify(O[j]));
953
+ for (const K in O)
954
+ w.searchParams.set(K, JSON.stringify(O[K]));
955
955
  }
956
956
  const Te = {
957
957
  ...nn(),
@@ -968,8 +968,8 @@ const Vn = "v3", Be = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ye = (
968
968
  const O = ot({
969
969
  query: o
970
970
  });
971
- for (const j in O)
972
- w.searchParams.set(j, JSON.stringify(O[j]));
971
+ for (const K in O)
972
+ w.searchParams.set(K, JSON.stringify(O[K]));
973
973
  }
974
974
  return w;
975
975
  }, Wn = (e) => {
@@ -1000,7 +1000,7 @@ const Un = async (e) => {
1000
1000
  ...e.fetchOptions,
1001
1001
  headers: {
1002
1002
  ...(i = e.fetchOptions) == null ? void 0 : i.headers,
1003
- ...Ke()
1003
+ ...je()
1004
1004
  }
1005
1005
  };
1006
1006
  return await (await n(t.href, o)).json();
@@ -1031,7 +1031,7 @@ async function Dn(e) {
1031
1031
  }), n;
1032
1032
  return Fn(e, n);
1033
1033
  }
1034
- const Zs = async (e) => {
1034
+ const _s = async (e) => {
1035
1035
  var o, r, s;
1036
1036
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
1037
1037
  ...e,
@@ -1080,7 +1080,7 @@ function Hn(e) {
1080
1080
  it(t);
1081
1081
  break;
1082
1082
  case "scrollInView":
1083
- jn(t);
1083
+ Kn(t);
1084
1084
  break;
1085
1085
  }
1086
1086
  }
@@ -1114,7 +1114,7 @@ function it(e) {
1114
1114
  });
1115
1115
  });
1116
1116
  }
1117
- function jn(e) {
1117
+ function Kn(e) {
1118
1118
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1119
1119
  if (!t.length) {
1120
1120
  rt(e.elementId || e.id || "");
@@ -1152,14 +1152,14 @@ function jn(e) {
1152
1152
  const at = (e) => Object.entries(e).map(([n, o]) => {
1153
1153
  if (typeof o == "string")
1154
1154
  return `${ve(n)}: ${o};`;
1155
- }).filter(D), Kn = (e) => at(e).join(`
1156
- `), _s = ({
1155
+ }).filter(D), jn = (e) => at(e).join(`
1156
+ `), ei = ({
1157
1157
  mediaQuery: e,
1158
1158
  className: t,
1159
1159
  styles: n
1160
1160
  }) => {
1161
1161
  const o = `.${t} {
1162
- ${Kn(n)}
1162
+ ${jn(n)}
1163
1163
  }`;
1164
1164
  return e ? `${e} {
1165
1165
  ${o}
@@ -1170,7 +1170,7 @@ function zn({
1170
1170
  }) {
1171
1171
  return e;
1172
1172
  }
1173
- const ei = ({
1173
+ const ti = ({
1174
1174
  block: e,
1175
1175
  context: t
1176
1176
  }) => lt(zn({
@@ -1262,39 +1262,39 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1262
1262
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1263
1263
  builderContext: t
1264
1264
  } : {};
1265
- }, Zn = () => Promise.resolve().then(() => mo).then((e) => e.default).catch((e) => {
1265
+ }, Zn = (e) => e.toString(), _n = () => Promise.resolve().then(() => ho).then((e) => e.default).catch((e) => {
1266
1266
  throw console.error(
1267
1267
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1268
1268
  e
1269
1269
  ), e;
1270
- }), _n = () => import("./block-styles-wV1M-xil.js").then((e) => e.default).catch((e) => {
1270
+ }), eo = () => import("./block-styles-IE14sZnq.js").then((e) => e.default).catch((e) => {
1271
1271
  throw console.error(
1272
1272
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
1273
1273
  e
1274
1274
  ), e;
1275
- }), eo = () => import("./block-wrapper-EpYTlf7c.js").then((e) => e.default).catch((e) => {
1275
+ }), to = () => import("./block-wrapper-xDAgWb90.js").then((e) => e.default).catch((e) => {
1276
1276
  throw console.error(
1277
1277
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1278
1278
  e
1279
1279
  ), e;
1280
- }), to = () => import("./component-ref-E7FZm-QW.js").then((e) => e.default).catch((e) => {
1280
+ }), no = () => import("./component-ref-qogwhlK8.js").then((e) => e.default).catch((e) => {
1281
1281
  throw console.error(
1282
1282
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1283
1283
  e
1284
1284
  ), e;
1285
- }), no = () => import("./repeated-block-_fR3czyr.js").then((e) => e.default).catch((e) => {
1285
+ }), oo = () => import("./repeated-block-R4gT6MOv.js").then((e) => e.default).catch((e) => {
1286
1286
  throw console.error(
1287
1287
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1288
1288
  e
1289
1289
  ), e;
1290
- }), oo = b({
1290
+ }), ro = b({
1291
1291
  name: "block",
1292
1292
  components: {
1293
- BlockStyles: K(_n),
1294
- RepeatedBlock: K(no),
1295
- ComponentRef: K(to),
1296
- BlockWrapper: K(eo),
1297
- DynamicDiv: K(Zn)
1293
+ BlockStyles: j(eo),
1294
+ RepeatedBlock: j(oo),
1295
+ ComponentRef: j(no),
1296
+ BlockWrapper: j(to),
1297
+ DynamicDiv: j(_n)
1298
1298
  },
1299
1299
  props: ["block", "context", "registeredComponents", "linkComponent"],
1300
1300
  data() {
@@ -1302,7 +1302,8 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1302
1302
  _processedBlock: {
1303
1303
  value: null,
1304
1304
  update: !1
1305
- }
1305
+ },
1306
+ generateKey: Zn
1306
1307
  };
1307
1308
  },
1308
1309
  mounted() {
@@ -1381,7 +1382,7 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1381
1382
  }
1382
1383
  }
1383
1384
  });
1384
- function ro(e, t, n, o, r, s) {
1385
+ function so(e, t, n, o, r, s) {
1385
1386
  var m;
1386
1387
  const i = k("BlockStyles"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), h = k("RepeatedBlock");
1387
1388
  return e.canShowBlock ? (c(), p(I, { key: 0 }, [
@@ -1391,7 +1392,7 @@ function ro(e, t, n, o, r, s) {
1391
1392
  }, null, 8, ["block", "context"]),
1392
1393
  (m = e.blockComponent) != null && m.noWrap ? (c(), p(I, { key: 1 }, [
1393
1394
  e.repeatItem ? (c(!0), p(I, { key: 1 }, W(e.repeatItem, (d, f) => (c(), y(h, {
1394
- key: f,
1395
+ key: e.generateKey(f),
1395
1396
  repeatContext: d.context,
1396
1397
  block: d.block,
1397
1398
  registeredComponents: e.registeredComponents,
@@ -1410,7 +1411,7 @@ function ro(e, t, n, o, r, s) {
1410
1411
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
1411
1412
  ], 64)) : (c(), p(I, { key: 0 }, [
1412
1413
  e.repeatItem ? (c(!0), p(I, { key: 1 }, W(e.repeatItem, (d, f) => (c(), y(h, {
1413
- key: f,
1414
+ key: e.generateKey(f),
1414
1415
  repeatContext: d.context,
1415
1416
  block: d.block,
1416
1417
  registeredComponents: e.registeredComponents,
@@ -1446,10 +1447,10 @@ function ro(e, t, n, o, r, s) {
1446
1447
  ], 64))
1447
1448
  ], 64)) : S("", !0);
1448
1449
  }
1449
- const dt = /* @__PURE__ */ g(oo, [["render", ro]]), ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1450
+ const dt = /* @__PURE__ */ g(ro, [["render", so]]), ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1450
1451
  __proto__: null,
1451
1452
  default: dt
1452
- }, Symbol.toStringTag, { value: "Module" })), so = b({
1453
+ }, Symbol.toStringTag, { value: "Module" })), io = b({
1453
1454
  name: "builder-blocks-wrapper",
1454
1455
  props: [
1455
1456
  "blocks",
@@ -1519,7 +1520,7 @@ const dt = /* @__PURE__ */ g(oo, [["render", ro]]), ti = /* @__PURE__ */ Object.
1519
1520
  }
1520
1521
  }
1521
1522
  });
1522
- function io(e, t, n, o, r, s) {
1523
+ function ao(e, t, n, o, r, s) {
1523
1524
  return c(), y(z(e.BlocksWrapper), C({
1524
1525
  ref: "blocksWrapperRef",
1525
1526
  class: e.className + " component-tqyw9m0iue",
@@ -1536,9 +1537,9 @@ function io(e, t, n, o, r, s) {
1536
1537
  _: 3
1537
1538
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1538
1539
  }
1539
- const ao = /* @__PURE__ */ g(so, [["render", io], ["__scopeId", "data-v-e05fb921"]]), lo = b({
1540
+ const lo = /* @__PURE__ */ g(io, [["render", ao], ["__scopeId", "data-v-e05fb921"]]), co = b({
1540
1541
  name: "builder-blocks",
1541
- components: { BlocksWrapper: ao, Block: dt },
1542
+ components: { BlocksWrapper: lo, Block: dt },
1542
1543
  props: [
1543
1544
  "blocks",
1544
1545
  "parent",
@@ -1554,7 +1555,7 @@ const ao = /* @__PURE__ */ g(so, [["render", io], ["__scopeId", "data-v-e05fb921
1554
1555
  componentsContext: Fe.key
1555
1556
  }
1556
1557
  });
1557
- function co(e, t, n, o, r, s) {
1558
+ function uo(e, t, n, o, r, s) {
1558
1559
  var a, u, h, m;
1559
1560
  const i = k("Block"), l = k("BlocksWrapper");
1560
1561
  return c(), y(l, {
@@ -1581,16 +1582,16 @@ function co(e, t, n, o, r, s) {
1581
1582
  _: 1
1582
1583
  }, 8, ["blocks", "parent", "path", "styleProp", "classNameProp", "BlocksWrapper", "BlocksWrapperProps"]);
1583
1584
  }
1584
- const M = /* @__PURE__ */ g(lo, [["render", co]]), uo = b({
1585
+ const M = /* @__PURE__ */ g(co, [["render", uo]]), po = b({
1585
1586
  name: "dynamic-div",
1586
1587
  props: []
1587
1588
  });
1588
- function po(e, t, n, o, r, s) {
1589
+ function mo(e, t, n, o, r, s) {
1589
1590
  return c(), p("div", null, [
1590
1591
  A(e.$slots, "default")
1591
1592
  ]);
1592
1593
  }
1593
- const X = /* @__PURE__ */ g(uo, [["render", po]]), mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1594
+ const X = /* @__PURE__ */ g(po, [["render", mo]]), ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1594
1595
  __proto__: null,
1595
1596
  default: X
1596
1597
  }, Symbol.toStringTag, { value: "Module" })), Se = b({
@@ -1624,7 +1625,7 @@ const X = /* @__PURE__ */ g(uo, [["render", po]]), mo = /* @__PURE__ */ Object.f
1624
1625
  default: 991,
1625
1626
  max: 1200
1626
1627
  }
1627
- }, ni = (e, t = ut) => `@media (max-width: ${t[e].max}px)`, ho = (e) => {
1628
+ }, oi = (e, t = ut) => `@media (max-width: ${t[e].max}px)`, fo = (e) => {
1628
1629
  const t = me(ut);
1629
1630
  if (!e)
1630
1631
  return t;
@@ -1662,7 +1663,7 @@ const X = /* @__PURE__ */ g(uo, [["render", po]]), mo = /* @__PURE__ */ Object.f
1662
1663
  min: l,
1663
1664
  default: l + 1
1664
1665
  }, t;
1665
- }, fo = (e) => `builder-columns ${e}-breakpoints`, bo = b({
1666
+ }, bo = (e) => `builder-columns ${e}-breakpoints`, go = b({
1666
1667
  name: "builder-columns",
1667
1668
  components: {
1668
1669
  InlinedStyles: Se,
@@ -1681,7 +1682,7 @@ const X = /* @__PURE__ */ g(uo, [["render", po]]), mo = /* @__PURE__ */ Object.f
1681
1682
  "builderComponents"
1682
1683
  ],
1683
1684
  data() {
1684
- return { TARGET: R, getColumnsClass: fo };
1685
+ return { TARGET: R, getColumnsClass: bo };
1685
1686
  },
1686
1687
  computed: {
1687
1688
  gutterSize() {
@@ -1760,7 +1761,7 @@ const X = /* @__PURE__ */ g(uo, [["render", po]]), mo = /* @__PURE__ */ Object.f
1760
1761
  },
1761
1762
  getWidthForBreakpointSize(e) {
1762
1763
  var n, o;
1763
- return ho(
1764
+ return fo(
1764
1765
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1765
1766
  )[e].max;
1766
1767
  },
@@ -1803,7 +1804,7 @@ const X = /* @__PURE__ */ g(uo, [["render", po]]), mo = /* @__PURE__ */ Object.f
1803
1804
  }
1804
1805
  }
1805
1806
  });
1806
- function go(e, t, n, o, r, s) {
1807
+ function yo(e, t, n, o, r, s) {
1807
1808
  var u;
1808
1809
  const i = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
1809
1810
  return c(), p("div", C({
@@ -1839,24 +1840,24 @@ function go(e, t, n, o, r, s) {
1839
1840
  }, 1032, ["TagName", "attributes"]))), 128))
1840
1841
  ], 16);
1841
1842
  }
1842
- const yo = /* @__PURE__ */ g(bo, [["render", go], ["__scopeId", "data-v-459e0e34"]]), ko = b({
1843
+ const ko = /* @__PURE__ */ g(go, [["render", yo], ["__scopeId", "data-v-459e0e34"]]), vo = b({
1843
1844
  name: "builder-fragment-component",
1844
1845
  props: []
1845
1846
  });
1846
- function vo(e, t, n, o, r, s) {
1847
+ function So(e, t, n, o, r, s) {
1847
1848
  return c(), p("span", null, [
1848
1849
  A(e.$slots, "default")
1849
1850
  ]);
1850
1851
  }
1851
- const So = /* @__PURE__ */ g(ko, [["render", vo]]);
1852
+ const Co = /* @__PURE__ */ g(vo, [["render", So]]);
1852
1853
  function Ae(e) {
1853
1854
  return e.replace(/http(s)?:/, "");
1854
1855
  }
1855
- function Co(e = "", t, n) {
1856
+ function To(e = "", t, n) {
1856
1857
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1857
1858
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1858
1859
  }
1859
- function To(e, t) {
1860
+ function wo(e, t) {
1860
1861
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1861
1862
  return e;
1862
1863
  if (t === "master")
@@ -1875,13 +1876,14 @@ function re(e) {
1875
1876
  if (e.match(/builder\.io/)) {
1876
1877
  let n = e;
1877
1878
  const o = Number(e.split("?width=")[1]);
1878
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${Co(e, "width", r)} ${r}w`).concat([n]).join(", ");
1879
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${To(e, "width", r)} ${r}w`).concat([n]).join(", ");
1879
1880
  }
1880
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [To(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1881
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [wo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1881
1882
  }
1882
- const wo = b({
1883
+ const Io = b({
1883
1884
  name: "builder-image",
1884
1885
  props: [
1886
+ "lazy",
1885
1887
  "image",
1886
1888
  "src",
1887
1889
  "srcset",
@@ -1929,11 +1931,11 @@ const wo = b({
1929
1931
  return this.aspectRatio ? e : void 0;
1930
1932
  }
1931
1933
  }
1932
- }), Io = ["srcset"], $o = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Ro = {
1934
+ }), $o = ["srcset"], Ro = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Eo = {
1933
1935
  key: 2,
1934
1936
  class: "div-29wpyomtntv-2"
1935
1937
  };
1936
- function Eo(e, t, n, o, r, s) {
1938
+ function Po(e, t, n, o, r, s) {
1937
1939
  var i, l, a, u, h, m;
1938
1940
  return c(), p(I, null, [
1939
1941
  H("picture", null, [
@@ -1941,7 +1943,7 @@ function Eo(e, t, n, o, r, s) {
1941
1943
  key: 0,
1942
1944
  type: "image/webp",
1943
1945
  srcset: e.webpSrcSet
1944
- }, null, 8, Io)) : S("", !0),
1946
+ }, null, 8, $o)) : S("", !0),
1945
1947
  H("img", {
1946
1948
  loading: e.highPriority ? "eager" : "lazy",
1947
1949
  fetchpriority: e.highPriority ? "high" : "auto",
@@ -1959,7 +1961,7 @@ function Eo(e, t, n, o, r, s) {
1959
1961
  src: e.image,
1960
1962
  srcset: e.srcSetToUse,
1961
1963
  sizes: e.sizes
1962
- }, null, 14, $o)
1964
+ }, null, 14, Ro)
1963
1965
  ]),
1964
1966
  e.aspectRatio && !((l = (i = e.builderBlock) == null ? void 0 : i.children) != null && l.length && e.fitContent) ? (c(), p("div", {
1965
1967
  key: 0,
@@ -1969,19 +1971,19 @@ function Eo(e, t, n, o, r, s) {
1969
1971
  })
1970
1972
  }, null, 4)) : S("", !0),
1971
1973
  (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? A(e.$slots, "default", { key: 1 }, void 0, !0) : S("", !0),
1972
- !e.fitContent && ((m = (h = e.builderBlock) == null ? void 0 : h.children) != null && m.length) ? (c(), p("div", Ro, [
1974
+ !e.fitContent && ((m = (h = e.builderBlock) == null ? void 0 : h.children) != null && m.length) ? (c(), p("div", Eo, [
1973
1975
  A(e.$slots, "default", {}, void 0, !0)
1974
1976
  ])) : S("", !0)
1975
1977
  ], 64);
1976
1978
  }
1977
- const Po = /* @__PURE__ */ g(wo, [["render", Eo], ["__scopeId", "data-v-717bf141"]]), Bo = b({
1979
+ const Bo = /* @__PURE__ */ g(Io, [["render", Po], ["__scopeId", "data-v-e6416c92"]]), Ao = b({
1978
1980
  name: "builder-section-component",
1979
1981
  props: ["attributes", "maxWidth"],
1980
1982
  data() {
1981
1983
  return { filterAttrs: V };
1982
1984
  }
1983
1985
  });
1984
- function Ao(e, t, n, o, r, s) {
1986
+ function xo(e, t, n, o, r, s) {
1985
1987
  return c(), p("section", C({
1986
1988
  style: {
1987
1989
  width: "100%",
@@ -1999,7 +2001,7 @@ function Ao(e, t, n, o, r, s) {
1999
2001
  A(e.$slots, "default")
2000
2002
  ], 16);
2001
2003
  }
2002
- const xo = /* @__PURE__ */ g(Bo, [["render", Ao]]), se = {
2004
+ const Vo = /* @__PURE__ */ g(Ao, [["render", xo]]), se = {
2003
2005
  "@type": "@builder.io/sdk:Element",
2004
2006
  layerName: "Accordion item title",
2005
2007
  responsiveStyles: {
@@ -2059,7 +2061,7 @@ const xo = /* @__PURE__ */ g(Bo, [["render", Ao]]), se = {
2059
2061
  }
2060
2062
  }
2061
2063
  }]
2062
- }, Vo = {
2064
+ }, Wo = {
2063
2065
  name: "Builder:Accordion",
2064
2066
  canHaveChildren: !0,
2065
2067
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -2123,7 +2125,7 @@ const xo = /* @__PURE__ */ g(Bo, [["render", Ao]]), se = {
2123
2125
  builderComponents: !0,
2124
2126
  builderLinkComponent: !0
2125
2127
  }
2126
- }, Wo = (e) => e.toString(), No = b({
2128
+ }, No = (e) => e.toString(), Oo = b({
2127
2129
  name: "builder-accordion",
2128
2130
  components: { Blocks: M },
2129
2131
  props: [
@@ -2137,7 +2139,7 @@ const xo = /* @__PURE__ */ g(Bo, [["render", Ao]]), se = {
2137
2139
  "builderLinkComponent"
2138
2140
  ],
2139
2141
  data() {
2140
- return { open: [], convertOrderNumberToString: Wo };
2142
+ return { open: [], convertOrderNumberToString: No };
2141
2143
  },
2142
2144
  computed: {
2143
2145
  onlyOneAtATime() {
@@ -2218,8 +2220,8 @@ const xo = /* @__PURE__ */ g(Bo, [["render", Ao]]), se = {
2218
2220
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
2219
2221
  }
2220
2222
  }
2221
- }), Oo = ["data-index", "onClick"];
2222
- function Uo(e, t, n, o, r, s) {
2223
+ }), Uo = ["data-index", "onClick"];
2224
+ function Fo(e, t, n, o, r, s) {
2223
2225
  const i = k("Blocks");
2224
2226
  return c(), p("div", {
2225
2227
  class: "builder-accordion",
@@ -2246,7 +2248,7 @@ function Uo(e, t, n, o, r, s) {
2246
2248
  registeredComponents: e.builderComponents,
2247
2249
  linkComponent: e.builderLinkComponent
2248
2250
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2249
- ], 14, Oo),
2251
+ ], 14, Uo),
2250
2252
  e.open.includes(a) ? (c(), p("div", {
2251
2253
  key: 0,
2252
2254
  class: J(e.getAccordionDetailClassName(a)),
@@ -2264,7 +2266,7 @@ function Uo(e, t, n, o, r, s) {
2264
2266
  ], 64))), 128))
2265
2267
  ], 4);
2266
2268
  }
2267
- const Fo = /* @__PURE__ */ g(No, [["render", Uo]]), Do = {
2269
+ const Do = /* @__PURE__ */ g(Oo, [["render", Fo]]), Lo = {
2268
2270
  name: "Core:Button",
2269
2271
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2270
2272
  defaultStyles: {
@@ -2300,7 +2302,7 @@ const Fo = /* @__PURE__ */ g(No, [["render", Uo]]), Do = {
2300
2302
  shouldReceiveBuilderProps: {
2301
2303
  builderLinkComponent: !0
2302
2304
  }
2303
- }, Lo = {
2305
+ }, Ho = {
2304
2306
  // TODO: ways to statically preprocess JSON for references, functions, etc
2305
2307
  name: "Columns",
2306
2308
  isRSC: !0,
@@ -2507,13 +2509,13 @@ const Fo = /* @__PURE__ */ g(No, [["render", Uo]]), Do = {
2507
2509
  builderComponents: !0,
2508
2510
  builderLinkComponent: !0
2509
2511
  }
2510
- }, Ho = {
2512
+ }, Mo = {
2511
2513
  name: "Fragment",
2512
2514
  static: !0,
2513
2515
  hidden: !0,
2514
2516
  canHaveChildren: !0,
2515
2517
  noWrap: !0
2516
- }, Ce = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Mo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], jo = {
2518
+ }, Ce = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Ko = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], jo = {
2517
2519
  name: "Image",
2518
2520
  static: !0,
2519
2521
  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",
@@ -2635,7 +2637,7 @@ const Fo = /* @__PURE__ */ g(No, [["render", Uo]]), Do = {
2635
2637
  },
2636
2638
  name: "inlined-script",
2637
2639
  props: ["scriptStr", "id", "nonce"]
2638
- }), Ko = {
2640
+ }), zo = {
2639
2641
  name: "Core:Section",
2640
2642
  static: !0,
2641
2643
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2674,7 +2676,7 @@ const Fo = /* @__PURE__ */ g(No, [["render", Uo]]), Do = {
2674
2676
  }
2675
2677
  }
2676
2678
  }]
2677
- }, zo = {
2679
+ }, qo = {
2678
2680
  name: "Slot",
2679
2681
  isRSC: !0,
2680
2682
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2691,12 +2693,12 @@ const Fo = /* @__PURE__ */ g(No, [["render", Uo]]), Do = {
2691
2693
  builderContext: !0,
2692
2694
  builderComponents: !0
2693
2695
  }
2694
- }, qo = b({
2696
+ }, Jo = b({
2695
2697
  name: "builder-slot",
2696
2698
  components: { Blocks: M },
2697
2699
  props: ["builderContext", "name", "builderComponents"]
2698
2700
  });
2699
- function Jo(e, t, n, o, r, s) {
2701
+ function Go(e, t, n, o, r, s) {
2700
2702
  var l, a, u;
2701
2703
  const i = k("Blocks");
2702
2704
  return c(), p("div", C(
@@ -2716,7 +2718,7 @@ function Jo(e, t, n, o, r, s) {
2716
2718
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
2717
2719
  ], 16);
2718
2720
  }
2719
- const Go = /* @__PURE__ */ g(qo, [["render", Jo]]), Yo = {
2721
+ const Yo = /* @__PURE__ */ g(Jo, [["render", Go]]), Xo = {
2720
2722
  name: "Symbol",
2721
2723
  noWrap: !0,
2722
2724
  static: !0,
@@ -2793,7 +2795,7 @@ const Go = /* @__PURE__ */ g(qo, [["render", Jo]]), Yo = {
2793
2795
  text: "New tab content "
2794
2796
  }
2795
2797
  }
2796
- }, Xo = {
2798
+ }, Qo = {
2797
2799
  name: "Builder: Tabs",
2798
2800
  inputs: [{
2799
2801
  name: "tabs",
@@ -2896,7 +2898,7 @@ const Go = /* @__PURE__ */ g(qo, [["render", Jo]]), Yo = {
2896
2898
  builderComponents: !0,
2897
2899
  builderLinkComponent: !0
2898
2900
  }
2899
- }, Qo = b({
2901
+ }, Zo = b({
2900
2902
  name: "builder-tabs",
2901
2903
  components: { Blocks: M },
2902
2904
  props: [
@@ -2921,8 +2923,8 @@ const Go = /* @__PURE__ */ g(qo, [["render", Jo]]), Yo = {
2921
2923
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
2922
2924
  }
2923
2925
  }
2924
- }), Zo = ["onClick"], _o = { key: 0 };
2925
- function er(e, t, n, o, r, s) {
2926
+ }), _o = ["onClick"], er = { key: 0 };
2927
+ function tr(e, t, n, o, r, s) {
2926
2928
  const i = k("Blocks");
2927
2929
  return c(), p("div", null, [
2928
2930
  H("div", {
@@ -2950,9 +2952,9 @@ function er(e, t, n, o, r, s) {
2950
2952
  registeredComponents: e.builderComponents,
2951
2953
  linkComponent: e.builderLinkComponent
2952
2954
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
2953
- ], 14, Zo))), 128))
2955
+ ], 14, _o))), 128))
2954
2956
  ], 4),
2955
- e.activeTabContent(e.activeTab) ? (c(), p("div", _o, [
2957
+ e.activeTabContent(e.activeTab) ? (c(), p("div", er, [
2956
2958
  P(i, {
2957
2959
  parent: e.builderBlock.id,
2958
2960
  path: `tabs.${e.activeTab}.content`,
@@ -2964,11 +2966,8 @@ function er(e, t, n, o, r, s) {
2964
2966
  ])) : S("", !0)
2965
2967
  ]);
2966
2968
  }
2967
- const tr = /* @__PURE__ */ g(Qo, [["render", er]]), nr = {
2968
- shouldReceiveBuilderProps: {
2969
- builderBlock: !1,
2970
- builderContext: !0
2971
- },
2969
+ const nr = /* @__PURE__ */ g(Zo, [["render", tr]]), or = {
2970
+ shouldReceiveBuilderProps: {},
2972
2971
  name: "Text",
2973
2972
  static: !0,
2974
2973
  isRSC: !0,
@@ -2986,11 +2985,11 @@ const tr = /* @__PURE__ */ g(Qo, [["render", er]]), nr = {
2986
2985
  height: "auto",
2987
2986
  textAlign: "center"
2988
2987
  }
2989
- }, or = b({
2988
+ }, rr = b({
2990
2989
  name: "builder-text",
2991
2990
  props: ["text"]
2992
- }), rr = ["innerHTML"];
2993
- function sr(e, t, n, o, r, s) {
2991
+ }), sr = ["innerHTML"];
2992
+ function ir(e, t, n, o, r, s) {
2994
2993
  var i;
2995
2994
  return c(), p("div", {
2996
2995
  class: "builder-text",
@@ -2998,9 +2997,9 @@ function sr(e, t, n, o, r, s) {
2998
2997
  style: {
2999
2998
  outline: "none"
3000
2999
  }
3001
- }, null, 8, rr);
3000
+ }, null, 8, sr);
3002
3001
  }
3003
- const ir = /* @__PURE__ */ g(or, [["render", sr]]), ar = {
3002
+ const ar = /* @__PURE__ */ g(rr, [["render", ir]]), lr = {
3004
3003
  name: "Custom Code",
3005
3004
  static: !0,
3006
3005
  requiredPermissions: ["editCode"],
@@ -3022,7 +3021,7 @@ const ir = /* @__PURE__ */ g(or, [["render", sr]]), ar = {
3022
3021
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3023
3022
  advanced: !0
3024
3023
  }]
3025
- }, lr = b({
3024
+ }, cr = b({
3026
3025
  name: "builder-custom-code",
3027
3026
  props: ["code", "replaceNodes"],
3028
3027
  data() {
@@ -3081,15 +3080,15 @@ const ir = /* @__PURE__ */ g(or, [["render", sr]]), ar = {
3081
3080
  }
3082
3081
  }
3083
3082
  }
3084
- }), cr = ["innerHTML"];
3085
- function dr(e, t, n, o, r, s) {
3083
+ }), dr = ["innerHTML"];
3084
+ function ur(e, t, n, o, r, s) {
3086
3085
  return c(), p("div", {
3087
3086
  ref: "elementRef",
3088
3087
  class: J("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3089
3088
  innerHTML: e.code
3090
- }, null, 10, cr);
3089
+ }, null, 10, dr);
3091
3090
  }
3092
- const ur = /* @__PURE__ */ g(lr, [["render", dr]]), pr = {
3091
+ const pr = /* @__PURE__ */ g(cr, [["render", ur]]), mr = {
3093
3092
  name: "Embed",
3094
3093
  static: !0,
3095
3094
  inputs: [{
@@ -3104,7 +3103,7 @@ const ur = /* @__PURE__ */ g(lr, [["render", dr]]), pr = {
3104
3103
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3105
3104
  hideFromUI: !0
3106
3105
  }]
3107
- }, mr = ["text/javascript", "application/javascript", "application/ecmascript"], hr = (e) => mr.includes(e.type), fr = b({
3106
+ }, hr = ["text/javascript", "application/javascript", "application/ecmascript"], fr = (e) => hr.includes(e.type), br = b({
3108
3107
  name: "builder-embed",
3109
3108
  props: ["content"],
3110
3109
  data() {
@@ -3137,7 +3136,7 @@ const ur = /* @__PURE__ */ g(lr, [["render", dr]]), pr = {
3137
3136
  this.scriptsInserted.push(n.src);
3138
3137
  const o = document.createElement("script");
3139
3138
  o.async = !0, o.src = n.src, document.head.appendChild(o);
3140
- } else if (hr(n) && !this.scriptsRun.includes(n.innerText))
3139
+ } else if (fr(n) && !this.scriptsRun.includes(n.innerText))
3141
3140
  try {
3142
3141
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3143
3142
  } catch (o) {
@@ -3146,15 +3145,15 @@ const ur = /* @__PURE__ */ g(lr, [["render", dr]]), pr = {
3146
3145
  }
3147
3146
  }
3148
3147
  }
3149
- }), br = ["innerHTML"];
3150
- function gr(e, t, n, o, r, s) {
3148
+ }), gr = ["innerHTML"];
3149
+ function yr(e, t, n, o, r, s) {
3151
3150
  return c(), p("div", {
3152
3151
  class: "builder-embed",
3153
3152
  ref: "elem",
3154
3153
  innerHTML: e.content
3155
- }, null, 8, br);
3154
+ }, null, 8, gr);
3156
3155
  }
3157
- const yr = /* @__PURE__ */ g(fr, [["render", gr]]), kr = {
3156
+ const kr = /* @__PURE__ */ g(br, [["render", yr]]), vr = {
3158
3157
  name: "Form:Form",
3159
3158
  // editableTags: ['builder-form-error']
3160
3159
  defaults: {
@@ -3391,10 +3390,10 @@ const yr = /* @__PURE__ */ g(fr, [["render", gr]]), kr = {
3391
3390
  builderComponents: !0,
3392
3391
  builderLinkComponent: !0
3393
3392
  }
3394
- }, vr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Sr = () => {
3393
+ }, Sr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Cr = () => {
3395
3394
  const e = process.env.NODE_ENV || "production";
3396
- return vr.includes(e) ? e : "production";
3397
- }, Cr = b({
3395
+ return Sr.includes(e) ? e : "production";
3396
+ }, Tr = b({
3398
3397
  name: "builder-form-component",
3399
3398
  components: { Blocks: M },
3400
3399
  props: [
@@ -3494,7 +3493,7 @@ const yr = /* @__PURE__ */ g(fr, [["render", gr]]), kr = {
3494
3493
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(u), u.defaultPrevented))
3495
3494
  return;
3496
3495
  this.formState = "sending";
3497
- const h = `${Sr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3496
+ const h = `${Cr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3498
3497
  this.sendSubmissionsToEmail || ""
3499
3498
  )}&name=${encodeURIComponent(this.name || "")}`, m = this.sendSubmissionsTo === "email" ? h : this.action;
3500
3499
  be(m), fetch(m, {
@@ -3547,11 +3546,11 @@ const yr = /* @__PURE__ */ g(fr, [["render", gr]]), kr = {
3547
3546
  }
3548
3547
  }
3549
3548
  }
3550
- }), Tr = ["validate", "action", "method", "name"], wr = {
3549
+ }), wr = ["validate", "action", "method", "name"], Ir = {
3551
3550
  key: 2,
3552
3551
  class: "builder-form-error-text pre-1hjwvu3r5mj"
3553
3552
  };
3554
- function Ir(e, t, n, o, r, s) {
3553
+ function $r(e, t, n, o, r, s) {
3555
3554
  const i = k("Blocks");
3556
3555
  return c(), p("form", C({
3557
3556
  validate: e.validate,
@@ -3574,16 +3573,16 @@ function Ir(e, t, n, o, r, s) {
3574
3573
  blocks: e.sendingMessage,
3575
3574
  context: e.builderContext
3576
3575
  }, null, 8, ["blocks", "context"])) : S("", !0),
3577
- e.submissionState() === "error" && e.responseData ? (c(), p("pre", wr, te(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
3576
+ e.submissionState() === "error" && e.responseData ? (c(), p("pre", Ir, te(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
3578
3577
  e.submissionState() === "success" ? (c(), y(i, {
3579
3578
  key: 3,
3580
3579
  path: "successMessage",
3581
3580
  blocks: e.successMessage,
3582
3581
  context: e.builderContext
3583
3582
  }, null, 8, ["blocks", "context"])) : S("", !0)
3584
- ], 16, Tr);
3583
+ ], 16, wr);
3585
3584
  }
3586
- const $r = /* @__PURE__ */ g(Cr, [["render", Ir], ["__scopeId", "data-v-4ef43cdd"]]), Rr = {
3585
+ const Rr = /* @__PURE__ */ g(Tr, [["render", $r], ["__scopeId", "data-v-4ef43cdd"]]), Er = {
3587
3586
  name: "Form:Input",
3588
3587
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3589
3588
  inputs: [
@@ -3634,7 +3633,7 @@ const $r = /* @__PURE__ */ g(Cr, [["render", Ir], ["__scopeId", "data-v-4ef43cdd
3634
3633
  borderStyle: "solid",
3635
3634
  borderColor: "#ccc"
3636
3635
  }
3637
- }, Er = b({
3636
+ }, Pr = b({
3638
3637
  name: "builder-form-input-component",
3639
3638
  props: [
3640
3639
  "attributes",
@@ -3648,8 +3647,8 @@ const $r = /* @__PURE__ */ g(Cr, [["render", Ir], ["__scopeId", "data-v-4ef43cdd
3648
3647
  data() {
3649
3648
  return { isEditing: E, filterAttrs: V };
3650
3649
  }
3651
- }), Pr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3652
- function Br(e, t, n, o, r, s) {
3650
+ }), Br = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3651
+ function Ar(e, t, n, o, r, s) {
3653
3652
  return c(), p("input", C({
3654
3653
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3655
3654
  placeholder: e.placeholder,
@@ -3658,9 +3657,9 @@ function Br(e, t, n, o, r, s) {
3658
3657
  value: e.value,
3659
3658
  defaultValue: e.defaultValue,
3660
3659
  required: e.required
3661
- }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Pr);
3660
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Br);
3662
3661
  }
3663
- const Ar = /* @__PURE__ */ g(Er, [["render", Br]]), xr = {
3662
+ const xr = /* @__PURE__ */ g(Pr, [["render", Ar]]), Vr = {
3664
3663
  name: "Form:Select",
3665
3664
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3666
3665
  defaultStyles: {
@@ -3702,14 +3701,14 @@ const Ar = /* @__PURE__ */ g(Er, [["render", Br]]), xr = {
3702
3701
  }],
3703
3702
  static: !0,
3704
3703
  noWrap: !0
3705
- }, Vr = b({
3704
+ }, Wr = b({
3706
3705
  name: "builder-select-component",
3707
3706
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
3708
3707
  data() {
3709
3708
  return { isEditing: E, filterAttrs: V };
3710
3709
  }
3711
- }), Wr = ["value", "defaultValue", "name", "required"], Nr = ["value"];
3712
- function Or(e, t, n, o, r, s) {
3710
+ }), Nr = ["value", "defaultValue", "name", "required"], Or = ["value"];
3711
+ function Ur(e, t, n, o, r, s) {
3713
3712
  return c(), p("select", C({
3714
3713
  value: e.value,
3715
3714
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
@@ -3720,10 +3719,10 @@ function Or(e, t, n, o, r, s) {
3720
3719
  (c(!0), p(I, null, W(e.options, (i, l) => (c(), p("option", {
3721
3720
  key: `${i.name}-${l}`,
3722
3721
  value: i.value
3723
- }, te(i.name || i.value), 9, Nr))), 128))
3724
- ], 16, Wr);
3722
+ }, te(i.name || i.value), 9, Or))), 128))
3723
+ ], 16, Nr);
3725
3724
  }
3726
- const Ur = /* @__PURE__ */ g(Vr, [["render", Or]]), Fr = {
3725
+ const Fr = /* @__PURE__ */ g(Wr, [["render", Ur]]), Dr = {
3727
3726
  name: "Form:SubmitButton",
3728
3727
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3729
3728
  defaultStyles: {
@@ -3748,17 +3747,17 @@ const Ur = /* @__PURE__ */ g(Vr, [["render", Or]]), Fr = {
3748
3747
  // that only shows if advanced setting is flipped
3749
3748
  // TODO: defaultChildren
3750
3749
  // canHaveChildren: true,
3751
- }, Dr = b({
3750
+ }, Lr = b({
3752
3751
  name: "builder-submit-button",
3753
3752
  props: ["attributes", "text"],
3754
3753
  data() {
3755
3754
  return { filterAttrs: V };
3756
3755
  }
3757
3756
  });
3758
- function Lr(e, t, n, o, r, s) {
3757
+ function Hr(e, t, n, o, r, s) {
3759
3758
  return c(), p("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), te(e.text), 17);
3760
3759
  }
3761
- const Hr = /* @__PURE__ */ g(Dr, [["render", Lr]]), Mr = {
3760
+ const Mr = /* @__PURE__ */ g(Lr, [["render", Hr]]), Kr = {
3762
3761
  name: "Form:TextArea",
3763
3762
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3764
3763
  inputs: [{
@@ -3807,17 +3806,17 @@ const Hr = /* @__PURE__ */ g(Dr, [["render", Lr]]), Mr = {
3807
3806
  data() {
3808
3807
  return { filterAttrs: V };
3809
3808
  }
3810
- }), Kr = ["placeholder", "name", "value", "defaultValue", "required"];
3811
- function zr(e, t, n, o, r, s) {
3809
+ }), zr = ["placeholder", "name", "value", "defaultValue", "required"];
3810
+ function qr(e, t, n, o, r, s) {
3812
3811
  return c(), p("textarea", C({
3813
3812
  placeholder: e.placeholder,
3814
3813
  name: e.name,
3815
3814
  value: e.value,
3816
3815
  defaultValue: e.defaultValue,
3817
3816
  required: e.required
3818
- }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Kr);
3817
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, zr);
3819
3818
  }
3820
- const qr = /* @__PURE__ */ g(jr, [["render", zr]]), Jr = {
3819
+ const Jr = /* @__PURE__ */ g(jr, [["render", qr]]), Gr = {
3821
3820
  // friendlyName?
3822
3821
  name: "Raw:Img",
3823
3822
  hideFromInsertMenu: !0,
@@ -3831,7 +3830,7 @@ const qr = /* @__PURE__ */ g(jr, [["render", zr]]), Jr = {
3831
3830
  }],
3832
3831
  noWrap: !0,
3833
3832
  static: !0
3834
- }, Gr = b({
3833
+ }, Yr = b({
3835
3834
  name: "builder-img-component",
3836
3835
  props: [
3837
3836
  "backgroundSize",
@@ -3844,8 +3843,8 @@ const qr = /* @__PURE__ */ g(jr, [["render", zr]]), Jr = {
3844
3843
  data() {
3845
3844
  return { isEditing: E, filterAttrs: V };
3846
3845
  }
3847
- }), Yr = ["alt", "src"];
3848
- function Xr(e, t, n, o, r, s) {
3846
+ }), Xr = ["alt", "src"];
3847
+ function Qr(e, t, n, o, r, s) {
3849
3848
  return c(), p("img", C({
3850
3849
  style: {
3851
3850
  objectFit: e.backgroundSize || "cover",
@@ -3854,9 +3853,9 @@ function Xr(e, t, n, o, r, s) {
3854
3853
  key: e.isEditing() && e.imgSrc || "default-key",
3855
3854
  alt: e.altText,
3856
3855
  src: e.imgSrc || e.image
3857
- }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Yr);
3856
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Xr);
3858
3857
  }
3859
- const Qr = /* @__PURE__ */ g(Gr, [["render", Xr]]), Zr = {
3858
+ const Zr = /* @__PURE__ */ g(Yr, [["render", Qr]]), _r = {
3860
3859
  name: "Video",
3861
3860
  canHaveChildren: !0,
3862
3861
  defaultStyles: {
@@ -3867,7 +3866,7 @@ const Qr = /* @__PURE__ */ g(Gr, [["render", Xr]]), Zr = {
3867
3866
  inputs: [{
3868
3867
  name: "video",
3869
3868
  type: "file",
3870
- allowedFileTypes: Mo,
3869
+ allowedFileTypes: Ko,
3871
3870
  bubble: !0,
3872
3871
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
3873
3872
  required: !0
@@ -3940,7 +3939,7 @@ const Qr = /* @__PURE__ */ g(Gr, [["render", Xr]]), Zr = {
3940
3939
  shouldReceiveBuilderProps: {
3941
3940
  builderBlock: !0
3942
3941
  }
3943
- }, _r = b({
3942
+ }, es = b({
3944
3943
  name: "builder-video",
3945
3944
  props: [
3946
3945
  "lazyLoad",
@@ -4013,16 +4012,16 @@ const Qr = /* @__PURE__ */ g(Gr, [["render", Xr]]), Zr = {
4013
4012
  };
4014
4013
  }
4015
4014
  }
4016
- }), es = { style: {
4015
+ }), ts = { style: {
4017
4016
  position: "relative"
4018
- } }, ts = ["preload", "poster"], ns = {
4017
+ } }, ns = ["preload", "poster"], os = {
4019
4018
  key: 1,
4020
4019
  style: {
4021
4020
  display: "flex",
4022
4021
  flexDirection: "column",
4023
4022
  alignItems: "stretch"
4024
4023
  }
4025
- }, os = {
4024
+ }, rs = {
4026
4025
  key: 2,
4027
4026
  style: {
4028
4027
  pointerEvents: "none",
@@ -4036,9 +4035,9 @@ const Qr = /* @__PURE__ */ g(Gr, [["render", Xr]]), Zr = {
4036
4035
  height: "100%"
4037
4036
  }
4038
4037
  };
4039
- function rs(e, t, n, o, r, s) {
4038
+ function ss(e, t, n, o, r, s) {
4040
4039
  var i, l, a, u, h, m, d;
4041
- return c(), p("div", es, [
4040
+ return c(), p("div", ts, [
4042
4041
  H("video", C({
4043
4042
  class: "builder-video",
4044
4043
  ref: "videoRef",
@@ -4066,7 +4065,7 @@ function rs(e, t, n, o, r, s) {
4066
4065
  src: e.video
4067
4066
  }
4068
4067
  ), null, 16)
4069
- ], 16, ts),
4068
+ ], 16, ns),
4070
4069
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (c(), p("div", {
4071
4070
  key: 0,
4072
4071
  style: U({
@@ -4076,72 +4075,72 @@ function rs(e, t, n, o, r, s) {
4076
4075
  fontSize: "0px"
4077
4076
  })
4078
4077
  }, null, 4)) : S("", !0),
4079
- (h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (c(), p("div", ns, [
4078
+ (h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (c(), p("div", os, [
4080
4079
  A(e.$slots, "default")
4081
4080
  ])) : S("", !0),
4082
- (d = (m = e.builderBlock) == null ? void 0 : m.children) != null && d.length && !e.fitContent ? (c(), p("div", os, [
4081
+ (d = (m = e.builderBlock) == null ? void 0 : m.children) != null && d.length && !e.fitContent ? (c(), p("div", rs, [
4083
4082
  A(e.$slots, "default")
4084
4083
  ])) : S("", !0)
4085
4084
  ]);
4086
4085
  }
4087
- const ss = /* @__PURE__ */ g(_r, [["render", rs]]), is = () => [{
4088
- component: ur,
4089
- ...ar
4086
+ const is = /* @__PURE__ */ g(es, [["render", ss]]), as = () => [{
4087
+ component: pr,
4088
+ ...lr
4090
4089
  }, {
4091
- component: yr,
4092
- ...pr
4090
+ component: kr,
4091
+ ...mr
4093
4092
  }, {
4094
- component: $r,
4095
- ...kr
4093
+ component: Rr,
4094
+ ...vr
4096
4095
  }, {
4097
- component: Ar,
4098
- ...Rr
4096
+ component: xr,
4097
+ ...Er
4099
4098
  }, {
4100
- component: Hr,
4101
- ...Fr
4099
+ component: Mr,
4100
+ ...Dr
4102
4101
  }, {
4103
- component: Ur,
4104
- ...xr
4102
+ component: Fr,
4103
+ ...Vr
4105
4104
  }, {
4106
- component: qr,
4107
- ...Mr
4105
+ component: Jr,
4106
+ ...Kr
4108
4107
  }, {
4109
- component: Qr,
4110
- ...Jr
4108
+ component: Zr,
4109
+ ...Gr
4111
4110
  }, {
4112
- component: ss,
4113
- ...Zr
4111
+ component: is,
4112
+ ..._r
4114
4113
  }], xe = () => [{
4115
4114
  component: Wt,
4116
- ...Do
4117
- }, {
4118
- component: yo,
4119
4115
  ...Lo
4120
4116
  }, {
4121
- component: So,
4117
+ component: ko,
4122
4118
  ...Ho
4123
4119
  }, {
4124
- component: Po,
4125
- ...jo
4120
+ component: Co,
4121
+ ...Mo
4126
4122
  }, {
4127
- component: xo,
4128
- ...Ko
4123
+ component: Bo,
4124
+ ...jo
4129
4125
  }, {
4130
- component: Go,
4126
+ component: Vo,
4131
4127
  ...zo
4132
4128
  }, {
4133
- component: Ks,
4134
- ...Yo
4135
- }, {
4136
- component: ir,
4137
- ...nr
4129
+ component: Yo,
4130
+ ...qo
4138
4131
  }, {
4139
- component: tr,
4132
+ component: zs,
4140
4133
  ...Xo
4141
4134
  }, {
4142
- component: Fo,
4143
- ...Vo
4144
- }, ...is()], as = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4135
+ component: ar,
4136
+ ...or
4137
+ }, {
4138
+ component: nr,
4139
+ ...Qo
4140
+ }, {
4141
+ component: Do,
4142
+ ...Wo
4143
+ }, ...as()], ls = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4145
4144
  function getAndSetVariantId() {
4146
4145
  function setCookie(name, value, days) {
4147
4146
  let expires = '';
@@ -4200,7 +4199,7 @@ const ss = /* @__PURE__ */ g(_r, [["render", rs]]), is = () => [{
4200
4199
  }).join('');
4201
4200
  styleEl.innerHTML = newStyleStr;
4202
4201
  }
4203
- }`, ls = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4202
+ }`, cs = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4204
4203
  if (!navigator.cookieEnabled) {
4205
4204
  return;
4206
4205
  }
@@ -4238,16 +4237,16 @@ const ss = /* @__PURE__ */ g(_r, [["render", rs]]), is = () => [{
4238
4237
  ...t,
4239
4238
  testVariationId: t.id,
4240
4239
  id: e == null ? void 0 : e.id
4241
- })), cs = ({
4240
+ })), ds = ({
4242
4241
  canTrack: e,
4243
4242
  content: t
4244
- }) => !(!(Q(t).length > 0) || !e), ds = (e) => e === "react" || e === "reactNative", us = R === "angular", ft = ds(R), ps = () => `
4245
- window.${mt} = ${as}
4246
- window.${ht} = ${ls}
4247
- `, ms = (e, t) => `
4243
+ }) => !(!(Q(t).length > 0) || !e), us = (e) => e === "react" || e === "reactNative", ps = R === "angular", ft = us(R), ms = () => `
4244
+ window.${mt} = ${ls}
4245
+ window.${ht} = ${cs}
4246
+ `, hs = (e, t) => `
4248
4247
  window.${mt}(
4249
- "${t}",${JSON.stringify(e)}, ${ft}, ${us}
4250
- )`, hs = ({
4248
+ "${t}",${JSON.stringify(e)}, ${ft}, ${ps}
4249
+ )`, fs = ({
4251
4250
  contentId: e,
4252
4251
  variationId: t
4253
4252
  }) => `window.${ht}(
@@ -4256,7 +4255,7 @@ const ss = /* @__PURE__ */ g(_r, [["render", rs]]), is = () => [{
4256
4255
  function Ve(e) {
4257
4256
  return Math.round(e * 1e3) / 1e3;
4258
4257
  }
4259
- const fs = (e, t, n = !0) => {
4258
+ const bs = (e, t, n = !0) => {
4260
4259
  if (!(e instanceof HTMLElement))
4261
4260
  return null;
4262
4261
  let o = n ? e : e.parentElement;
@@ -4267,7 +4266,7 @@ const fs = (e, t, n = !0) => {
4267
4266
  return o;
4268
4267
  } while (o = o.parentElement);
4269
4268
  return null;
4270
- }, bs = (e) => fs(e, (t) => {
4269
+ }, gs = (e) => bs(e, (t) => {
4271
4270
  const n = t.getAttribute("builder-id") || t.id;
4272
4271
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4273
4272
  }), We = ({
@@ -4279,8 +4278,8 @@ const fs = (e, t, n = !0) => {
4279
4278
  x: s,
4280
4279
  y: i
4281
4280
  };
4282
- }, gs = (e) => {
4283
- const t = e.target, n = t && bs(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4281
+ }, ys = (e) => {
4282
+ const t = e.target, n = t && gs(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4284
4283
  return {
4285
4284
  targetBuilderElement: o || void 0,
4286
4285
  metadata: {
@@ -4295,7 +4294,7 @@ const fs = (e, t, n = !0) => {
4295
4294
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4296
4295
  }
4297
4296
  };
4298
- }, ys = ["svelte", "qwik", "vue"], ks = () => ys.includes(R) && (E() || He()), vs = (e) => {
4297
+ }, ks = ["svelte", "qwik", "vue"], vs = () => ks.includes(R) && (E() || He()), Ss = (e) => {
4299
4298
  var s;
4300
4299
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((s = e == null ? void 0 : e.files) == null ? void 0 : s.regular);
4301
4300
  let r = "";
@@ -4321,15 +4320,15 @@ font-weight: ${i};
4321
4320
  `.trim());
4322
4321
  }
4323
4322
  return r;
4324
- }, Ss = ({
4323
+ }, Cs = ({
4325
4324
  customFonts: e
4326
4325
  }) => {
4327
4326
  var t;
4328
- return ((t = e == null ? void 0 : e.map((n) => vs(n))) == null ? void 0 : t.join(" ")) || "";
4329
- }, Cs = ({
4327
+ return ((t = e == null ? void 0 : e.map((n) => Ss(n))) == null ? void 0 : t.join(" ")) || "";
4328
+ }, Ts = ({
4330
4329
  cssCode: e,
4331
4330
  contentId: t
4332
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ts = `
4331
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ws = `
4333
4332
  .builder-button {
4334
4333
  all: unset;
4335
4334
  }
@@ -4346,7 +4345,7 @@ font-weight: ${i};
4346
4345
  text-align: inherit;
4347
4346
  font-family: inherit;
4348
4347
  }
4349
- `, ws = (e) => e ? "" : Ts, Is = (e) => `variant-${e}`, $s = b({
4348
+ `, Is = (e) => e ? "" : ws, $s = (e) => `variant-${e}`, Rs = b({
4350
4349
  name: "enable-editor",
4351
4350
  components: { DynamicDiv: X },
4352
4351
  props: [
@@ -4374,8 +4373,8 @@ font-weight: ${i};
4374
4373
  httpReqsPending: {},
4375
4374
  clicked: !1,
4376
4375
  builderContext: ce,
4377
- needsElementRefDivForEditing: ks,
4378
- getWrapperClassName: Is
4376
+ needsElementRefDivForEditing: vs,
4377
+ getWrapperClassName: $s
4379
4378
  };
4380
4379
  },
4381
4380
  provide() {
@@ -4538,7 +4537,7 @@ font-weight: ${i};
4538
4537
  contentId: r,
4539
4538
  apiKey: this.apiKey,
4540
4539
  variationId: o !== r ? o : void 0,
4541
- ...gs(e),
4540
+ ...ys(e),
4542
4541
  unique: !this.clicked
4543
4542
  });
4544
4543
  }
@@ -4635,7 +4634,7 @@ font-weight: ${i};
4635
4634
  }
4636
4635
  }
4637
4636
  });
4638
- function Rs(e, t, n, o, r, s) {
4637
+ function Es(e, t, n, o, r, s) {
4639
4638
  var i, l, a;
4640
4639
  return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (c(), y(z(e.ContentWrapper), C({
4641
4640
  key: 0,
@@ -4656,26 +4655,26 @@ function Rs(e, t, n, o, r, s) {
4656
4655
  _: 3
4657
4656
  }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : S("", !0);
4658
4657
  }
4659
- const Es = /* @__PURE__ */ g($s, [["render", Rs]]), Ps = b({
4658
+ const Ps = /* @__PURE__ */ g(Rs, [["render", Es]]), Bs = b({
4660
4659
  name: "content-styles",
4661
4660
  components: { InlinedStyles: Se },
4662
4661
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
4663
4662
  data() {
4664
4663
  return {
4665
4664
  injectedStyles: `
4666
- ${Cs({
4665
+ ${Ts({
4667
4666
  cssCode: this.cssCode,
4668
4667
  contentId: this.contentId
4669
4668
  })}
4670
- ${Ss({
4669
+ ${Cs({
4671
4670
  customFonts: this.customFonts
4672
4671
  })}
4673
- ${ws(this.isNestedRender)}
4672
+ ${Is(this.isNestedRender)}
4674
4673
  `.trim()
4675
4674
  };
4676
4675
  }
4677
4676
  });
4678
- function Bs(e, t, n, o, r, s) {
4677
+ function As(e, t, n, o, r, s) {
4679
4678
  const i = k("InlinedStyles");
4680
4679
  return c(), y(i, {
4681
4680
  id: "builderio-content",
@@ -4683,7 +4682,7 @@ function Bs(e, t, n, o, r, s) {
4683
4682
  nonce: e.nonce
4684
4683
  }, null, 8, ["styles", "nonce"]);
4685
4684
  }
4686
- const As = /* @__PURE__ */ g(Ps, [["render", Bs]]), xs = ({
4685
+ const xs = /* @__PURE__ */ g(Bs, [["render", As]]), Vs = ({
4687
4686
  content: e,
4688
4687
  data: t,
4689
4688
  locale: n
@@ -4700,7 +4699,7 @@ const As = /* @__PURE__ */ g(Ps, [["render", Bs]]), xs = ({
4700
4699
  locale: n
4701
4700
  } : {}
4702
4701
  };
4703
- }, Vs = ({
4702
+ }, Ws = ({
4704
4703
  content: e,
4705
4704
  data: t
4706
4705
  }) => e ? {
@@ -4710,12 +4709,12 @@ const As = /* @__PURE__ */ g(Ps, [["render", Bs]]), xs = ({
4710
4709
  ...t
4711
4710
  },
4712
4711
  meta: e == null ? void 0 : e.meta
4713
- } : void 0, Ws = kt, Ns = b({
4712
+ } : void 0, Ns = kt, Os = b({
4714
4713
  name: "content-component",
4715
4714
  components: {
4716
- EnableEditor: Es,
4715
+ EnableEditor: Ps,
4717
4716
  InlinedScript: pt,
4718
- ContentStyles: As,
4717
+ ContentStyles: xs,
4719
4718
  Blocks: M,
4720
4719
  DynamicDiv: X
4721
4720
  },
@@ -4745,7 +4744,7 @@ const As = /* @__PURE__ */ g(Ps, [["render", Bs]]), xs = ({
4745
4744
  data() {
4746
4745
  var e, t;
4747
4746
  return {
4748
- scriptStr: hs({
4747
+ scriptStr: fs({
4749
4748
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4750
4749
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
4751
4750
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4758,19 +4757,19 @@ const As = /* @__PURE__ */ g(Ps, [["render", Bs]]), xs = ({
4758
4757
  (n, { component: o, ...r }) => ({
4759
4758
  ...n,
4760
4759
  [r.name]: {
4761
- component: Ws(o),
4760
+ component: Ns(o),
4762
4761
  ...ee(r)
4763
4762
  }
4764
4763
  }),
4765
4764
  {}
4766
4765
  ),
4767
4766
  builderContextSignal: {
4768
- content: Vs({
4767
+ content: Ws({
4769
4768
  content: this.content,
4770
4769
  data: this.data
4771
4770
  }),
4772
4771
  localState: void 0,
4773
- rootState: xs({
4772
+ rootState: Vs({
4774
4773
  content: this.content,
4775
4774
  data: this.data,
4776
4775
  locale: this.locale
@@ -4830,7 +4829,7 @@ const As = /* @__PURE__ */ g(Ps, [["render", Bs]]), xs = ({
4830
4829
  }
4831
4830
  }
4832
4831
  });
4833
- function Os(e, t, n, o, r, s) {
4832
+ function Us(e, t, n, o, r, s) {
4834
4833
  const i = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
4835
4834
  return c(), y(u, C({
4836
4835
  apiHost: e.apiHost,
@@ -4878,12 +4877,12 @@ function Os(e, t, n, o, r, s) {
4878
4877
  _: 1
4879
4878
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
4880
4879
  }
4881
- const Us = /* @__PURE__ */ g(Ns, [["render", Os]]), Fs = b({
4880
+ const Fs = /* @__PURE__ */ g(Os, [["render", Us]]), Ds = b({
4882
4881
  name: "content-variants",
4883
4882
  components: {
4884
4883
  InlinedScript: pt,
4885
4884
  InlinedStyles: Se,
4886
- ContentComponent: Us
4885
+ ContentComponent: Fs
4887
4886
  },
4888
4887
  props: [
4889
4888
  "canTrack",
@@ -4908,12 +4907,12 @@ const Us = /* @__PURE__ */ g(Ns, [["render", Os]]), Fs = b({
4908
4907
  ],
4909
4908
  data() {
4910
4909
  return {
4911
- shouldRenderVariants: cs({
4910
+ shouldRenderVariants: ds({
4912
4911
  canTrack: G(this.canTrack),
4913
4912
  content: this.content
4914
4913
  }),
4915
4914
  TARGET: R,
4916
- getInitVariantsFnsScriptString: ps,
4915
+ getInitVariantsFnsScriptString: ms,
4917
4916
  getVariants: Q
4918
4917
  };
4919
4918
  },
@@ -4922,7 +4921,7 @@ const Us = /* @__PURE__ */ g(Ns, [["render", Os]]), Fs = b({
4922
4921
  computed: {
4923
4922
  updateCookieAndStylesScriptStr() {
4924
4923
  var e;
4925
- return ms(
4924
+ return hs(
4926
4925
  Q(this.content).map((t) => ({
4927
4926
  id: t.testVariationId,
4928
4927
  testRatio: t.testRatio
@@ -4945,7 +4944,7 @@ const Us = /* @__PURE__ */ g(Ns, [["render", Os]]), Fs = b({
4945
4944
  }
4946
4945
  }
4947
4946
  });
4948
- function Ds(e, t, n, o, r, s) {
4947
+ function Ls(e, t, n, o, r, s) {
4949
4948
  const i = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
4950
4949
  return c(), p(I, null, [
4951
4950
  !e.isNestedRender && e.TARGET !== "reactNative" ? (c(), y(i, {
@@ -5017,7 +5016,7 @@ function Ds(e, t, n, o, r, s) {
5017
5016
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5018
5017
  ], 64);
5019
5018
  }
5020
- const Ls = /* @__PURE__ */ g(Fs, [["render", Ds]]), Hs = async ({
5019
+ const Hs = /* @__PURE__ */ g(Ds, [["render", Ls]]), Ms = async ({
5021
5020
  builderContextValue: e,
5022
5021
  symbol: t
5023
5022
  }) => {
@@ -5035,9 +5034,9 @@ const Ls = /* @__PURE__ */ g(Fs, [["render", Ds]]), Hs = async ({
5035
5034
  }).catch((n) => {
5036
5035
  B.error("Could not fetch symbol content: ", n);
5037
5036
  });
5038
- }, Ms = b({
5037
+ }, Ks = b({
5039
5038
  name: "builder-symbol",
5040
- components: { ContentVariants: Ls, DynamicDiv: X },
5039
+ components: { ContentVariants: Hs, DynamicDiv: X },
5041
5040
  props: [
5042
5041
  "symbol",
5043
5042
  "attributes",
@@ -5086,7 +5085,7 @@ const Ls = /* @__PURE__ */ g(Fs, [["render", Ds]]), Hs = async ({
5086
5085
  },
5087
5086
  methods: {
5088
5087
  setContent() {
5089
- this.contentToUse || Hs({
5088
+ this.contentToUse || Ms({
5090
5089
  symbol: this.symbol,
5091
5090
  builderContextValue: this.builderContext
5092
5091
  }).then((e) => {
@@ -5123,41 +5122,41 @@ function js(e, t, n, o, r, s) {
5123
5122
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5124
5123
  ], 16);
5125
5124
  }
5126
- const Ks = /* @__PURE__ */ g(Ms, [["render", js]]);
5125
+ const zs = /* @__PURE__ */ g(Ks, [["render", js]]);
5127
5126
  export {
5128
- Js as A,
5127
+ Gs as A,
5129
5128
  dt as B,
5130
- yo as C,
5131
- ti as D,
5132
- So as F,
5133
- Po as I,
5134
- xo as S,
5135
- ir as T,
5136
- ss as V,
5129
+ ko as C,
5130
+ ni as D,
5131
+ Co as F,
5132
+ Bo as I,
5133
+ Vo as S,
5134
+ ar as T,
5135
+ is as V,
5137
5136
  Se as _,
5138
- ni as a,
5137
+ oi as a,
5139
5138
  ve as b,
5140
- _s as c,
5139
+ ei as c,
5141
5140
  g as d,
5142
5141
  Y as e,
5143
- ei as f,
5144
- ho as g,
5142
+ ti as f,
5143
+ fo as g,
5145
5144
  Z as h,
5146
5145
  ce as i,
5147
5146
  Wt as j,
5148
- Ks as k,
5147
+ zs as k,
5149
5148
  M as l,
5150
- Ls as m,
5149
+ Hs as m,
5151
5150
  He as n,
5152
5151
  Zt as o,
5153
- Gs as p,
5152
+ Ys as p,
5154
5153
  Me as q,
5155
5154
  en as r,
5156
- Qs as s,
5157
- Ys as t,
5158
- Xs as u,
5159
- Zs as v,
5160
- Ws as w,
5155
+ Zs as s,
5156
+ Xs as t,
5157
+ Qs as u,
5158
+ _s as v,
5159
+ Ns as w,
5161
5160
  Fn as x,
5162
5161
  Dn as y,
5163
5162
  ke as z