@builder.io/sdk-vue 1.0.30 → 1.0.32

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 (94) hide show
  1. package/lib/browser/{block-styles-YSorgBmY.cjs → block-styles-ohyKYsYW.cjs} +1 -1
  2. package/lib/browser/{block-styles-zsif4DNQ.js → block-styles-zIxnCsu7.js} +1 -1
  3. package/lib/browser/{block-wrapper-q84y908Y.js → block-wrapper-BwmUweGI.js} +3 -3
  4. package/lib/browser/{block-wrapper-pkRmh7Y9.cjs → block-wrapper-C1moZ3Lz.cjs} +1 -1
  5. package/lib/browser/blocks/accordion/accordion.vue.d.ts +3 -3
  6. package/lib/browser/blocks/button/button.vue.d.ts +3 -3
  7. package/lib/browser/blocks/columns/columns.vue.d.ts +3 -3
  8. package/lib/browser/blocks/form/form/form.vue.d.ts +6 -6
  9. package/lib/browser/blocks/image/image.types.d.ts +1 -0
  10. package/lib/browser/blocks/image/image.vue.d.ts +3 -0
  11. package/lib/browser/blocks/symbol/symbol.vue.d.ts +6 -6
  12. package/lib/browser/blocks/tabs/tabs.vue.d.ts +3 -3
  13. package/lib/browser/blocks/video/video.vue.d.ts +3 -3
  14. package/lib/browser/{component-ref-XwVx-xwI.js → component-ref-SNXa2Dn9.js} +2 -2
  15. package/lib/browser/{component-ref-CXa8wrso.cjs → component-ref-SkL82rhz.cjs} +1 -1
  16. package/lib/browser/components/block/block.helpers.d.ts +20 -2
  17. package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
  18. package/lib/browser/components/content/content.vue.d.ts +4 -3
  19. package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -3
  20. package/lib/browser/constants/sdk-version.d.ts +1 -1
  21. package/lib/browser/context/types.d.ts +1 -0
  22. package/lib/browser/{get-block-properties-hsTkDYka.cjs → get-block-properties-EE60D1wR.cjs} +1 -1
  23. package/lib/browser/{get-block-properties-VVu6XRdj.js → get-block-properties-qSi9NMOx.js} +1 -1
  24. package/lib/browser/index-7_PIOwAU.cjs +166 -0
  25. package/lib/browser/{index-GWArj2Lm.js → index-KOlrj9_0.js} +398 -387
  26. package/lib/browser/index.cjs +1 -1
  27. package/lib/browser/index.mjs +1 -1
  28. package/lib/browser/{repeated-block-CUsgbkNQ.cjs → repeated-block-L_hMsmwd.cjs} +1 -1
  29. package/lib/browser/{repeated-block-D-MjOcCg.js → repeated-block-SnsEMvw9.js} +2 -2
  30. package/lib/browser/style.css +1 -1
  31. package/lib/edge/{block-styles-uTIfxLdH.cjs → block-styles-gwGxMYsP.cjs} +1 -1
  32. package/lib/edge/{block-styles-SZkRWx2m.js → block-styles-mlYBYkOs.js} +1 -1
  33. package/lib/edge/{block-wrapper-1FmTfk0Z.js → block-wrapper-RexwV794.js} +3 -3
  34. package/lib/{node/block-wrapper-Kl4r-UZc.cjs → edge/block-wrapper-k_uBDftu.cjs} +1 -1
  35. package/lib/edge/blocks/accordion/accordion.vue.d.ts +3 -3
  36. package/lib/edge/blocks/button/button.vue.d.ts +3 -3
  37. package/lib/edge/blocks/columns/columns.vue.d.ts +3 -3
  38. package/lib/edge/blocks/form/form/form.vue.d.ts +6 -6
  39. package/lib/edge/blocks/image/image.types.d.ts +1 -0
  40. package/lib/edge/blocks/image/image.vue.d.ts +3 -0
  41. package/lib/edge/blocks/symbol/symbol.vue.d.ts +6 -6
  42. package/lib/edge/blocks/tabs/tabs.vue.d.ts +3 -3
  43. package/lib/edge/blocks/video/video.vue.d.ts +3 -3
  44. package/lib/{node/component-ref-GwPAXEsY.js → edge/component-ref-9oxLY_Z3.js} +2 -2
  45. package/lib/{node/component-ref-UFlAHlUI.cjs → edge/component-ref-TND3R4QY.cjs} +1 -1
  46. package/lib/edge/components/block/block.helpers.d.ts +20 -2
  47. package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
  48. package/lib/edge/components/content/content.vue.d.ts +4 -3
  49. package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -3
  50. package/lib/edge/constants/sdk-version.d.ts +1 -1
  51. package/lib/edge/context/types.d.ts +1 -0
  52. package/lib/edge/{get-block-properties-WIpsp8uv.js → get-block-properties-3R5EHXuo.js} +1 -1
  53. package/lib/edge/{get-block-properties-G5ekM4kF.cjs → get-block-properties-QFyJgbX0.cjs} +1 -1
  54. package/lib/edge/{index-_IEZqnuL.js → index-d_K2eAST.js} +911 -908
  55. package/lib/edge/index-eH2Ry0LC.cjs +186 -0
  56. package/lib/edge/index.cjs +1 -1
  57. package/lib/edge/index.mjs +1 -1
  58. package/lib/edge/{repeated-block-l_pH5BtY.js → repeated-block-D9Jv_G43.js} +2 -2
  59. package/lib/edge/{repeated-block-JI8fIaI5.cjs → repeated-block-xpYAEu9G.cjs} +1 -1
  60. package/lib/edge/style.css +1 -1
  61. package/lib/node/{block-styles-Apz1TRWM.js → block-styles-af4EPg11.js} +1 -1
  62. package/lib/node/{block-styles-i8di2-zT.cjs → block-styles-z3Qw3dTH.cjs} +1 -1
  63. package/lib/node/{block-wrapper-QX3GGdXx.js → block-wrapper-SyXs3NLC.js} +3 -3
  64. package/lib/{edge/block-wrapper-ptnWXdWA.cjs → node/block-wrapper-lMpMCXMf.cjs} +1 -1
  65. package/lib/node/blocks/accordion/accordion.vue.d.ts +3 -3
  66. package/lib/node/blocks/button/button.vue.d.ts +3 -3
  67. package/lib/node/blocks/columns/columns.vue.d.ts +3 -3
  68. package/lib/node/blocks/form/form/form.vue.d.ts +6 -6
  69. package/lib/node/blocks/image/image.types.d.ts +1 -0
  70. package/lib/node/blocks/image/image.vue.d.ts +3 -0
  71. package/lib/node/blocks/symbol/symbol.vue.d.ts +6 -6
  72. package/lib/node/blocks/tabs/tabs.vue.d.ts +3 -3
  73. package/lib/node/blocks/video/video.vue.d.ts +3 -3
  74. package/lib/{edge/component-ref-t89FNM-X.js → node/component-ref-0ajNv9SP.js} +2 -2
  75. package/lib/{edge/component-ref-WuOY1u6o.cjs → node/component-ref-8_jLowQd.cjs} +1 -1
  76. package/lib/node/components/block/block.helpers.d.ts +20 -2
  77. package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +3 -3
  78. package/lib/node/components/content/content.vue.d.ts +4 -3
  79. package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -3
  80. package/lib/node/constants/sdk-version.d.ts +1 -1
  81. package/lib/node/context/types.d.ts +1 -0
  82. package/lib/node/{get-block-properties-6o05nE8l.js → get-block-properties-QICAzFwt.js} +1 -1
  83. package/lib/node/{get-block-properties-fC1x6jsD.cjs → get-block-properties-zlMUIw8E.cjs} +1 -1
  84. package/lib/node/{index-JPhQDQvI.js → index-8Qp_Egul.js} +47 -36
  85. package/lib/node/index-8u2tX4TV.cjs +213 -0
  86. package/lib/node/index.cjs +1 -1
  87. package/lib/node/index.mjs +1 -1
  88. package/lib/node/{repeated-block-3fH2ZcAG.cjs → repeated-block-JdD3AVtB.cjs} +1 -1
  89. package/lib/node/{repeated-block-XDR6iCBj.js → repeated-block-kaQa2H7q.js} +2 -2
  90. package/lib/node/style.css +1 -1
  91. package/package.json +1 -1
  92. package/lib/browser/index-LucJc9GG.cjs +0 -166
  93. package/lib/edge/index-BbL0O7Qi.cjs +0 -186
  94. package/lib/node/index-7VeFZAl3.cjs +0 -213
@@ -2,7 +2,7 @@ var pt = Object.defineProperty;
2
2
  var mt = (e, t, n) => t in e ? pt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var oe = (e, t, n) => (mt(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import "./style.css";
5
- import { defineComponent as f, openBlock as d, createElementBlock as m, Fragment as I, createBlock as k, resolveDynamicComponent as K, mergeProps as w, toHandlers as B, withCtx as V, renderSlot as P, resolveComponent as g, createTextVNode as ht, toDisplayString as ne, defineAsyncComponent as H, createVNode as $, renderList as W, createCommentVNode as S, h as xe, createElementVNode as z, normalizeStyle as D, normalizeClass as J, markRaw as ft } from "vue";
5
+ import { defineComponent as f, openBlock as d, createElementBlock as m, Fragment as I, createBlock as k, resolveDynamicComponent as K, mergeProps as w, toHandlers as x, withCtx as V, renderSlot as P, resolveComponent as g, createTextVNode as ht, toDisplayString as ne, defineAsyncComponent as H, createVNode as R, renderList as W, createCommentVNode as S, h as xe, createElementVNode as z, normalizeStyle as D, normalizeClass as J, markRaw as ft } from "vue";
6
6
  const bt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), gt = (e) => typeof e == "string" && bt.has(e.toLowerCase());
7
7
  function N(e = {}, t, n) {
8
8
  const o = {};
@@ -27,13 +27,13 @@ const yt = f({
27
27
  return n;
28
28
  };
29
29
  function kt(e, t, n, o, r, s) {
30
- return e.isEmptyElement(e.TagName) ? (d(), k(K(e.TagName), w({ key: 1 }, e.attributes, B(e.actionAttributes)), null, 16)) : (d(), m(I, { key: 0 }, [
31
- typeof e.TagName == "string" ? (d(), k(K(e.TagName), w({ key: 0 }, e.attributes, B(e.actionAttributes)), {
30
+ return e.isEmptyElement(e.TagName) ? (d(), k(K(e.TagName), w({ key: 1 }, e.attributes, x(e.actionAttributes)), null, 16)) : (d(), m(I, { key: 0 }, [
31
+ typeof e.TagName == "string" ? (d(), k(K(e.TagName), w({ key: 0 }, e.attributes, x(e.actionAttributes)), {
32
32
  default: V(() => [
33
33
  P(e.$slots, "default")
34
34
  ]),
35
35
  _: 3
36
- }, 16)) : (d(), k(K(e.TagName), w({ key: 1 }, e.attributes, B(e.actionAttributes)), {
36
+ }, 16)) : (d(), k(K(e.TagName), w({ key: 1 }, e.attributes, x(e.actionAttributes)), {
37
37
  default: V(() => [
38
38
  P(e.$slots, "default")
39
39
  ]),
@@ -41,11 +41,11 @@ function kt(e, t, n, o, r, s) {
41
41
  }, 16))
42
42
  ], 64));
43
43
  }
44
- const me = /* @__PURE__ */ b(yt, [["render", kt]]), Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
+ const me = /* @__PURE__ */ b(yt, [["render", kt]]), Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45
45
  __proto__: null,
46
46
  default: me
47
- }, Symbol.toStringTag, { value: "Module" })), x = "vue", ee = () => {
48
- switch (x) {
47
+ }, Symbol.toStringTag, { value: "Module" })), $ = "vue", ee = () => {
48
+ switch ($) {
49
49
  case "react":
50
50
  case "reactNative":
51
51
  case "rsc":
@@ -123,14 +123,10 @@ function It(e) {
123
123
  var t;
124
124
  return {
125
125
  ...(t = e.component) == null ? void 0 : t.options,
126
- ...e.options,
127
- /**
128
- * Our built-in components frequently make use of the block, so we provide all of it under `builderBlock`
129
- */
130
- builderBlock: e
126
+ ...e.options
131
127
  };
132
128
  }
133
- const Z = "[Builder.io]: ", E = {
129
+ const Z = "[Builder.io]: ", B = {
134
130
  log: (...e) => console.log(Z, ...e),
135
131
  error: (...e) => console.error(Z, ...e),
136
132
  warn: (...e) => console.warn(Z, ...e),
@@ -148,7 +144,7 @@ const $t = (e) => {
148
144
  function Rt() {
149
145
  return T() && window.self !== window.top;
150
146
  }
151
- function R(e) {
147
+ function E(e) {
152
148
  return Rt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
153
149
  We(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
154
150
  }
@@ -158,8 +154,8 @@ const Et = () => {
158
154
  return e.pathname === "" && (e.pathname = "/"), e;
159
155
  } else
160
156
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
161
- }, Pt = () => typeof navigator == "object" && navigator.userAgent || "", Ne = () => {
162
- const e = Pt(), t = {
157
+ }, Bt = () => typeof navigator == "object" && navigator.userAgent || "", Ne = () => {
158
+ const e = Bt(), t = {
163
159
  Android() {
164
160
  return e.match(/Android/i);
165
161
  },
@@ -176,7 +172,7 @@ const Et = () => {
176
172
  return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
177
173
  },
178
174
  any() {
179
- return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || x === "reactNative";
175
+ return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || $ === "reactNative";
180
176
  }
181
177
  }, n = e.match(/Tablet|iPad/i), o = Et();
182
178
  return {
@@ -184,7 +180,7 @@ const Et = () => {
184
180
  host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
185
181
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
186
182
  };
187
- }, Bt = ({
183
+ }, Pt = ({
188
184
  builder: e,
189
185
  context: t,
190
186
  event: n,
@@ -197,7 +193,7 @@ const Et = () => {
197
193
  context: t,
198
194
  event: n
199
195
  }), xt = () => ({
200
- isEditing: R(),
196
+ isEditing: E(),
201
197
  isBrowser: T(),
202
198
  isServer: !T(),
203
199
  getUserAttributes: () => Ne()
@@ -212,7 +208,7 @@ const Et = () => {
212
208
  rootSetState: s,
213
209
  rootState: i
214
210
  }) => {
215
- const l = Bt({
211
+ const l = Pt({
216
212
  builder: t,
217
213
  context: n,
218
214
  event: o,
@@ -259,7 +255,7 @@ const Wt = () => {
259
255
  if (!Vt())
260
256
  return !1;
261
257
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
262
- return e && t && !n ? (E.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
258
+ return e && t && !n ? (B.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
263
259
  }, Nt = (e) => (T() || Wt(), ve(e)), A = class A {
264
260
  static getCacheKey(t) {
265
261
  return JSON.stringify({
@@ -316,7 +312,7 @@ function te({
316
312
  }
317
313
  return u;
318
314
  } catch (u) {
319
- E.error("Failed code evaluation: " + u.message, {
315
+ B.error("Failed code evaluation: " + u.message, {
320
316
  code: e
321
317
  });
322
318
  return;
@@ -479,7 +475,7 @@ const je = (e) => Object.entries(e).map(([n, o]) => {
479
475
  if (typeof o == "string")
480
476
  return `${he(n)}: ${o};`;
481
477
  }).filter(U), Mt = (e) => je(e).join(`
482
- `), ws = ({
478
+ `), Is = ({
483
479
  mediaQuery: e,
484
480
  className: t,
485
481
  styles: n
@@ -496,7 +492,7 @@ function jt({
496
492
  }) {
497
493
  return e;
498
494
  }
499
- const Ts = ({
495
+ const $s = ({
500
496
  block: e,
501
497
  context: t
502
498
  }) => He(jt({
@@ -505,7 +501,7 @@ const Ts = ({
505
501
  block: e
506
502
  }));
507
503
  function He(e) {
508
- switch (x) {
504
+ switch ($) {
509
505
  case "svelte":
510
506
  case "vue":
511
507
  case "solid":
@@ -574,39 +570,47 @@ const Ht = ({
574
570
  },
575
571
  block: o
576
572
  }));
577
- }, qt = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), zt = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), Jt = () => Promise.resolve().then(() => ln).then((e) => e.default).catch((e) => {
573
+ }, qt = (e, t) => e && (e.isRSC && $ === "rsc" || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
574
+ builderLinkComponent: t
575
+ } : {}, zt = (e, t) => e && (e.isRSC && $ === "rsc" || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)) ? {
576
+ builderComponents: t
577
+ } : {}, Jt = (e, t) => e && (e.isRSC && $ === "rsc" || $ === "reactNative" || ["Builder:Accordion", "Columns", "Form:Form", "Builder: Tabs", "Symbol", "Image", "Video"].includes(e.name)) ? {
578
+ builderBlock: t
579
+ } : {}, Gt = (e, t) => e && (e.isRSC && $ === "rsc" || ["Builder:Accordion", "Columns", "Form:Form", "Builder: Tabs", "Symbol", "Slot"].includes(e.name)) ? {
580
+ builderContext: t
581
+ } : {}, Yt = () => Promise.resolve().then(() => dn).then((e) => e.default).catch((e) => {
578
582
  throw console.error(
579
583
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
580
584
  e
581
585
  ), e;
582
- }), Gt = () => import("./block-styles-zsif4DNQ.js").then((e) => e.default).catch((e) => {
586
+ }), Qt = () => import("./block-styles-zIxnCsu7.js").then((e) => e.default).catch((e) => {
583
587
  throw console.error(
584
588
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
585
589
  e
586
590
  ), e;
587
- }), Yt = () => import("./block-wrapper-q84y908Y.js").then((e) => e.default).catch((e) => {
591
+ }), Xt = () => import("./block-wrapper-BwmUweGI.js").then((e) => e.default).catch((e) => {
588
592
  throw console.error(
589
593
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
590
594
  e
591
595
  ), e;
592
- }), Qt = () => import("./component-ref-XwVx-xwI.js").then((e) => e.default).catch((e) => {
596
+ }), Zt = () => import("./component-ref-SNXa2Dn9.js").then((e) => e.default).catch((e) => {
593
597
  throw console.error(
594
598
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
595
599
  e
596
600
  ), e;
597
- }), Xt = () => import("./repeated-block-D-MjOcCg.js").then((e) => e.default).catch((e) => {
601
+ }), _t = () => import("./repeated-block-SnsEMvw9.js").then((e) => e.default).catch((e) => {
598
602
  throw console.error(
599
603
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
600
604
  e
601
605
  ), e;
602
- }), Zt = f({
606
+ }), en = f({
603
607
  name: "block",
604
608
  components: {
605
- BlockStyles: H(Gt),
606
- ComponentRef: H(Qt),
607
- RepeatedBlock: H(Xt),
608
- BlockWrapper: H(Yt),
609
- DynamicDiv: H(Jt)
609
+ BlockStyles: H(Qt),
610
+ ComponentRef: H(Zt),
611
+ RepeatedBlock: H(_t),
612
+ BlockWrapper: H(Xt),
613
+ DynamicDiv: H(Yt)
610
614
  },
611
615
  props: ["block", "context", "registeredComponents", "linkComponent"],
612
616
  mounted() {
@@ -665,13 +669,13 @@ const Ht = ({
665
669
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
666
670
  componentOptions: {
667
671
  ...It(this.processedBlock),
668
- builderContext: this.context,
669
- ...qt(this.blockComponent) ? {
670
- builderLinkComponent: this.linkComponent
671
- } : {},
672
- ...zt(this.blockComponent) ? {
673
- builderComponents: this.registeredComponents
674
- } : {}
672
+ ...Jt(this.blockComponent, this.processedBlock),
673
+ ...Gt(this.blockComponent, this.context),
674
+ ...qt(this.blockComponent, this.linkComponent),
675
+ ...zt(
676
+ this.blockComponent,
677
+ this.registeredComponents
678
+ )
675
679
  },
676
680
  context: this.context,
677
681
  linkComponent: this.linkComponent,
@@ -683,11 +687,11 @@ const Ht = ({
683
687
  }
684
688
  }
685
689
  });
686
- function _t(e, t, n, o, r, s) {
690
+ function tn(e, t, n, o, r, s) {
687
691
  var c;
688
692
  const i = g("BlockStyles"), l = g("ComponentRef"), a = g("Block", !0), u = g("BlockWrapper"), h = g("RepeatedBlock");
689
693
  return e.canShowBlock ? (d(), m(I, { key: 0 }, [
690
- $(i, {
694
+ R(i, {
691
695
  block: e.block,
692
696
  context: e.context
693
697
  }, null, 8, ["block", "context"]),
@@ -713,11 +717,10 @@ function _t(e, t, n, o, r, s) {
713
717
  key: 0,
714
718
  Wrapper: e.Tag,
715
719
  block: e.processedBlock,
716
- context: e.context,
717
- linkComponent: e.linkComponent
720
+ context: e.context
718
721
  }, {
719
722
  default: V(() => [
720
- $(l, {
723
+ R(l, {
721
724
  componentRef: e.componentRefProps.componentRef,
722
725
  componentOptions: e.componentRefProps.componentOptions,
723
726
  blockChildren: e.componentRefProps.blockChildren,
@@ -737,14 +740,14 @@ function _t(e, t, n, o, r, s) {
737
740
  }, null, 8, ["block", "registeredComponents", "linkComponent", "context"]))), 128))
738
741
  ]),
739
742
  _: 1
740
- }, 8, ["Wrapper", "block", "context", "linkComponent"]))
743
+ }, 8, ["Wrapper", "block", "context"]))
741
744
  ], 64))
742
745
  ], 64)) : S("", !0);
743
746
  }
744
- const fe = /* @__PURE__ */ b(Zt, [["render", _t]]), Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
747
+ const fe = /* @__PURE__ */ b(en, [["render", tn]]), Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
745
748
  __proto__: null,
746
749
  default: fe
747
- }, Symbol.toStringTag, { value: "Module" })), en = f({
750
+ }, Symbol.toStringTag, { value: "Module" })), nn = f({
748
751
  name: "builder-blocks-wrapper",
749
752
  props: [
750
753
  "blocks",
@@ -763,7 +766,7 @@ const fe = /* @__PURE__ */ b(Zt, [["render", _t]]), Is = /* @__PURE__ */ Object.
763
766
  methods: {
764
767
  onClick() {
765
768
  var e, t;
766
- R() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
769
+ E() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
767
770
  {
768
771
  type: "builder.clickEmptyBlocks",
769
772
  data: {
@@ -776,7 +779,7 @@ const fe = /* @__PURE__ */ b(Zt, [["render", _t]]), Is = /* @__PURE__ */ Object.
776
779
  },
777
780
  onMouseEnter() {
778
781
  var e, t;
779
- R() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
782
+ E() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
780
783
  {
781
784
  type: "builder.hoverEmptyBlocks",
782
785
  data: {
@@ -789,7 +792,7 @@ const fe = /* @__PURE__ */ b(Zt, [["render", _t]]), Is = /* @__PURE__ */ Object.
789
792
  }
790
793
  }
791
794
  });
792
- function tn(e, t, n, o, r, s) {
795
+ function on(e, t, n, o, r, s) {
793
796
  return d(), k(K(e.BlocksWrapper), w({
794
797
  class: e.className + " component-1k2igrjdg3x",
795
798
  "builder-path": e.path,
@@ -805,9 +808,9 @@ function tn(e, t, n, o, r, s) {
805
808
  _: 3
806
809
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
807
810
  }
808
- const nn = /* @__PURE__ */ b(en, [["render", tn], ["__scopeId", "data-v-f091a4a7"]]), on = f({
811
+ const rn = /* @__PURE__ */ b(nn, [["render", on], ["__scopeId", "data-v-f091a4a7"]]), sn = f({
809
812
  name: "builder-blocks",
810
- components: { BlocksWrapper: nn, Block: fe },
813
+ components: { BlocksWrapper: rn, Block: fe },
811
814
  props: [
812
815
  "blocks",
813
816
  "parent",
@@ -822,7 +825,7 @@ const nn = /* @__PURE__ */ b(en, [["render", tn], ["__scopeId", "data-v-f091a4a7
822
825
  componentsContext: Ae.key
823
826
  }
824
827
  });
825
- function rn(e, t, n, o, r, s) {
828
+ function an(e, t, n, o, r, s) {
826
829
  var a, u;
827
830
  const i = g("Block"), l = g("BlocksWrapper");
828
831
  return d(), k(l, {
@@ -845,16 +848,16 @@ function rn(e, t, n, o, r, s) {
845
848
  _: 1
846
849
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
847
850
  }
848
- const M = /* @__PURE__ */ b(on, [["render", rn]]), sn = f({
851
+ const M = /* @__PURE__ */ b(sn, [["render", an]]), ln = f({
849
852
  name: "dynamic-div",
850
853
  props: []
851
854
  });
852
- function an(e, t, n, o, r, s) {
855
+ function cn(e, t, n, o, r, s) {
853
856
  return d(), m("div", null, [
854
857
  P(e.$slots, "default")
855
858
  ]);
856
859
  }
857
- const Q = /* @__PURE__ */ b(sn, [["render", an]]), ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
860
+ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
858
861
  __proto__: null,
859
862
  default: Q
860
863
  }, Symbol.toStringTag, { value: "Module" })), be = f({
@@ -882,7 +885,7 @@ const Q = /* @__PURE__ */ b(sn, [["render", an]]), ln = /* @__PURE__ */ Object.f
882
885
  default: 991,
883
886
  max: 1200
884
887
  }
885
- }, $s = (e, t = Ke) => `@media (max-width: ${t[e].max}px)`, cn = ({
888
+ }, Es = (e, t = Ke) => `@media (max-width: ${t[e].max}px)`, un = ({
886
889
  small: e,
887
890
  medium: t
888
891
  }) => {
@@ -908,7 +911,7 @@ const Q = /* @__PURE__ */ b(sn, [["render", an]]), ln = /* @__PURE__ */ Object.f
908
911
  min: s,
909
912
  default: s + 1
910
913
  }, n;
911
- }, dn = (e) => `builder-columns ${e}-breakpoints`, un = f({
914
+ }, pn = (e) => `builder-columns ${e}-breakpoints`, mn = f({
912
915
  name: "builder-columns",
913
916
  components: {
914
917
  InlinedStyles: be,
@@ -932,8 +935,8 @@ const Q = /* @__PURE__ */ b(sn, [["render", an]]), ln = /* @__PURE__ */ Object.f
932
935
  cols: this.columns || [],
933
936
  stackAt: this.stackColumnsAt || "tablet",
934
937
  flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
935
- TARGET: x,
936
- getColumnsClass: dn
938
+ TARGET: $,
939
+ getColumnsClass: pn
937
940
  };
938
941
  },
939
942
  methods: {
@@ -999,7 +1002,7 @@ const Q = /* @__PURE__ */ b(sn, [["render", an]]), ln = /* @__PURE__ */ Object.f
999
1002
  },
1000
1003
  getWidthForBreakpointSize(e) {
1001
1004
  var n, o;
1002
- return cn(
1005
+ return un(
1003
1006
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1004
1007
  )[e].max;
1005
1008
  },
@@ -1041,7 +1044,7 @@ const Q = /* @__PURE__ */ b(sn, [["render", an]]), ln = /* @__PURE__ */ Object.f
1041
1044
  }
1042
1045
  }
1043
1046
  });
1044
- function pn(e, t, n, o, r, s) {
1047
+ function hn(e, t, n, o, r, s) {
1045
1048
  var u;
1046
1049
  const i = g("InlinedStyles"), l = g("Blocks"), a = g("DynamicRenderer");
1047
1050
  return d(), m("div", w({
@@ -1060,7 +1063,7 @@ function pn(e, t, n, o, r, s) {
1060
1063
  attributes: e.getAttributes(h, c)
1061
1064
  }, {
1062
1065
  default: V(() => [
1063
- $(l, {
1066
+ R(l, {
1064
1067
  path: `component.options.columns.${c}.blocks`,
1065
1068
  parent: e.builderBlock.id,
1066
1069
  styleProp: {
@@ -1076,24 +1079,24 @@ function pn(e, t, n, o, r, s) {
1076
1079
  }, 1032, ["TagName", "attributes"]))), 128))
1077
1080
  ], 16);
1078
1081
  }
1079
- const mn = /* @__PURE__ */ b(un, [["render", pn], ["__scopeId", "data-v-27a4dde0"]]), hn = f({
1082
+ const fn = /* @__PURE__ */ b(mn, [["render", hn], ["__scopeId", "data-v-27a4dde0"]]), bn = f({
1080
1083
  name: "builder-fragment-component",
1081
1084
  props: []
1082
1085
  });
1083
- function fn(e, t, n, o, r, s) {
1086
+ function gn(e, t, n, o, r, s) {
1084
1087
  return d(), m("span", null, [
1085
1088
  P(e.$slots, "default")
1086
1089
  ]);
1087
1090
  }
1088
- const bn = /* @__PURE__ */ b(hn, [["render", fn]]);
1091
+ const yn = /* @__PURE__ */ b(bn, [["render", gn]]);
1089
1092
  function Ce(e) {
1090
1093
  return e.replace(/http(s)?:/, "");
1091
1094
  }
1092
- function gn(e = "", t, n) {
1095
+ function kn(e = "", t, n) {
1093
1096
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1094
1097
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1095
1098
  }
1096
- function yn(e, t) {
1099
+ function Sn(e, t) {
1097
1100
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1098
1101
  return e;
1099
1102
  if (t === "master")
@@ -1112,11 +1115,11 @@ function re(e) {
1112
1115
  if (e.match(/builder\.io/)) {
1113
1116
  let n = e;
1114
1117
  const o = Number(e.split("?width=")[1]);
1115
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${gn(e, "width", r)} ${r}w`).concat([n]).join(", ");
1118
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${kn(e, "width", r)} ${r}w`).concat([n]).join(", ");
1116
1119
  }
1117
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [yn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1120
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Sn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1118
1121
  }
1119
- const kn = f({
1122
+ const vn = f({
1120
1123
  name: "builder-image",
1121
1124
  props: [
1122
1125
  "image",
@@ -1124,6 +1127,7 @@ const kn = f({
1124
1127
  "srcset",
1125
1128
  "noWebp",
1126
1129
  "aspectRatio",
1130
+ "highPriority",
1127
1131
  "altText",
1128
1132
  "backgroundPosition",
1129
1133
  "backgroundSize",
@@ -1162,11 +1166,11 @@ const kn = f({
1162
1166
  return this.aspectRatio ? e : void 0;
1163
1167
  }
1164
1168
  }
1165
- }), Sn = ["srcset"], vn = ["alt", "role", "src", "srcset", "sizes"], Cn = {
1169
+ }), Cn = ["srcset"], wn = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], Tn = {
1166
1170
  key: 2,
1167
1171
  class: "div-1pl23ac79ld-2"
1168
1172
  };
1169
- function wn(e, t, n, o, r, s) {
1173
+ function In(e, t, n, o, r, s) {
1170
1174
  var i, l, a, u, h, c;
1171
1175
  return d(), m(I, null, [
1172
1176
  z("picture", null, [
@@ -1174,9 +1178,10 @@ function wn(e, t, n, o, r, s) {
1174
1178
  key: 0,
1175
1179
  type: "image/webp",
1176
1180
  srcset: e.webpSrcSet
1177
- }, null, 8, Sn)) : S("", !0),
1181
+ }, null, 8, Cn)) : S("", !0),
1178
1182
  z("img", {
1179
- loading: "lazy",
1183
+ loading: e.highPriority ? "eager" : "lazy",
1184
+ fetchpriority: e.highPriority ? "high" : "auto",
1180
1185
  alt: e.altText,
1181
1186
  role: e.altText ? void 0 : "presentation",
1182
1187
  style: D({
@@ -1190,7 +1195,7 @@ function wn(e, t, n, o, r, s) {
1190
1195
  src: e.image,
1191
1196
  srcset: e.srcSetToUse,
1192
1197
  sizes: e.sizes
1193
- }, null, 14, vn)
1198
+ }, null, 14, wn)
1194
1199
  ]),
1195
1200
  e.aspectRatio && !((l = (i = e.builderBlock) == null ? void 0 : i.children) != null && l.length && e.fitContent) ? (d(), m("div", {
1196
1201
  key: 0,
@@ -1200,19 +1205,19 @@ function wn(e, t, n, o, r, s) {
1200
1205
  })
1201
1206
  }, null, 4)) : S("", !0),
1202
1207
  (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? P(e.$slots, "default", { key: 1 }, void 0, !0) : S("", !0),
1203
- !e.fitContent && ((c = (h = e.builderBlock) == null ? void 0 : h.children) != null && c.length) ? (d(), m("div", Cn, [
1208
+ !e.fitContent && ((c = (h = e.builderBlock) == null ? void 0 : h.children) != null && c.length) ? (d(), m("div", Tn, [
1204
1209
  P(e.$slots, "default", {}, void 0, !0)
1205
1210
  ])) : S("", !0)
1206
1211
  ], 64);
1207
1212
  }
1208
- const Tn = /* @__PURE__ */ b(kn, [["render", wn], ["__scopeId", "data-v-6b703704"]]), In = f({
1213
+ const $n = /* @__PURE__ */ b(vn, [["render", In], ["__scopeId", "data-v-0d528855"]]), Rn = f({
1209
1214
  name: "builder-section-component",
1210
1215
  props: ["attributes", "maxWidth"],
1211
1216
  data() {
1212
1217
  return { filterAttrs: N };
1213
1218
  }
1214
1219
  });
1215
- function $n(e, t, n, o, r, s) {
1220
+ function En(e, t, n, o, r, s) {
1216
1221
  return d(), m("section", w({
1217
1222
  style: {
1218
1223
  width: "100%",
@@ -1226,11 +1231,11 @@ function $n(e, t, n, o, r, s) {
1226
1231
  marginLeft: "auto",
1227
1232
  marginRight: "auto"
1228
1233
  }
1229
- }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1234
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1230
1235
  P(e.$slots, "default")
1231
1236
  ], 16);
1232
1237
  }
1233
- const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1238
+ const Bn = /* @__PURE__ */ b(Rn, [["render", En]]), Pn = (e) => {
1234
1239
  if (e === "localhost" || e === "127.0.0.1")
1235
1240
  return e;
1236
1241
  const t = e.split(".");
@@ -1243,16 +1248,16 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1243
1248
  try {
1244
1249
  return t ? (n = document.cookie.split("; ").find((o) => o.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
1245
1250
  } catch (o) {
1246
- E.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
1251
+ B.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
1247
1252
  return;
1248
1253
  }
1249
- }, ze = async (e) => qe(e), Pn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(U).join("; "), Bn = [["secure", ""], ["SameSite", "None"]], xn = ({
1254
+ }, ze = async (e) => qe(e), xn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(U).join("; "), An = [["secure", ""], ["SameSite", "None"]], Vn = ({
1250
1255
  name: e,
1251
1256
  value: t,
1252
1257
  expires: n
1253
1258
  }) => {
1254
- const r = (T() ? location.protocol === "https:" : !0) ? Bn : [[]], s = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...s, ["path", "/"], ["domain", En(window.location.hostname)], ...r];
1255
- return Pn(i);
1259
+ const r = (T() ? location.protocol === "https:" : !0) ? An : [[]], s = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...s, ["path", "/"], ["domain", Pn(window.location.hostname)], ...r];
1260
+ return xn(i);
1256
1261
  }, Je = async ({
1257
1262
  name: e,
1258
1263
  value: t,
@@ -1262,33 +1267,33 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1262
1267
  try {
1263
1268
  if (!o)
1264
1269
  return;
1265
- const r = xn({
1270
+ const r = Vn({
1266
1271
  name: e,
1267
1272
  value: t,
1268
1273
  expires: n
1269
1274
  });
1270
1275
  document.cookie = r;
1271
1276
  } catch (r) {
1272
- E.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
1277
+ B.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
1273
1278
  }
1274
- }, An = "builder.tests", ge = (e) => `${An}.${e}`, Vn = ({
1279
+ }, Wn = "builder.tests", ge = (e) => `${Wn}.${e}`, Nn = ({
1275
1280
  contentId: e
1276
1281
  }) => ze({
1277
1282
  name: ge(e),
1278
1283
  canTrack: !0
1279
- }), Wn = ({
1284
+ }), Fn = ({
1280
1285
  contentId: e
1281
1286
  }) => qe({
1282
1287
  name: ge(e),
1283
1288
  canTrack: !0
1284
- }), Nn = ({
1289
+ }), On = ({
1285
1290
  contentId: e,
1286
1291
  value: t
1287
1292
  }) => Je({
1288
1293
  name: ge(e),
1289
1294
  value: t,
1290
1295
  canTrack: !0
1291
- }), Ge = (e) => U(e.id) && U(e.variations) && Object.keys(e.variations).length > 0, Fn = ({
1296
+ }), Ge = (e) => U(e.id) && U(e.variations) && Object.keys(e.variations).length > 0, Dn = ({
1292
1297
  id: e,
1293
1298
  variations: t
1294
1299
  }) => {
@@ -1302,12 +1307,12 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1302
1307
  }
1303
1308
  return e;
1304
1309
  }, Ye = (e) => {
1305
- const t = Fn(e);
1306
- return Nn({
1310
+ const t = Dn(e);
1311
+ return On({
1307
1312
  contentId: e.id,
1308
1313
  value: t
1309
1314
  }).catch((n) => {
1310
- E.error("could not store A/B test variation: ", n);
1315
+ B.error("could not store A/B test variation: ", n);
1311
1316
  }), t;
1312
1317
  }, Qe = ({
1313
1318
  item: e,
@@ -1323,7 +1328,7 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1323
1328
  testVariationId: n.id,
1324
1329
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
1325
1330
  };
1326
- }, On = ({
1331
+ }, Un = ({
1327
1332
  item: e,
1328
1333
  canTrack: t
1329
1334
  }) => {
@@ -1333,7 +1338,7 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1333
1338
  return;
1334
1339
  if (!Ge(e))
1335
1340
  return e;
1336
- const n = Wn({
1341
+ const n = Fn({
1337
1342
  contentId: e.id
1338
1343
  }) || Ye({
1339
1344
  variations: e.variations,
@@ -1346,13 +1351,13 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1346
1351
  ...e,
1347
1352
  ...o
1348
1353
  };
1349
- }, Dn = async ({
1354
+ }, Ln = async ({
1350
1355
  item: e,
1351
1356
  canTrack: t
1352
1357
  }) => {
1353
1358
  if (!t || !Ge(e))
1354
1359
  return e;
1355
- const o = await Vn({
1360
+ const o = await Nn({
1356
1361
  contentId: e.id
1357
1362
  }) || Ye({
1358
1363
  variations: e.variations,
@@ -1425,7 +1430,7 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1425
1430
  }
1426
1431
  }
1427
1432
  }]
1428
- }, Un = {
1433
+ }, Mn = {
1429
1434
  name: "Builder:Accordion",
1430
1435
  canHaveChildren: !0,
1431
1436
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1483,7 +1488,7 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1483
1488
  e.get("useChildrenForItems") === !0 && e.set("items", []);
1484
1489
  }
1485
1490
  }]
1486
- }, Ln = (e) => e.toString(), Mn = f({
1491
+ }, jn = (e) => e.toString(), Hn = f({
1487
1492
  name: "builder-accordion",
1488
1493
  components: { Blocks: M },
1489
1494
  props: [
@@ -1497,7 +1502,7 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1497
1502
  "builderLinkComponent"
1498
1503
  ],
1499
1504
  data() {
1500
- return { open: [], convertOrderNumberToString: Ln };
1505
+ return { open: [], convertOrderNumberToString: jn };
1501
1506
  },
1502
1507
  computed: {
1503
1508
  onlyOneAtATime() {
@@ -1578,8 +1583,8 @@ const Rn = /* @__PURE__ */ b(In, [["render", $n]]), En = (e) => {
1578
1583
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
1579
1584
  }
1580
1585
  }
1581
- }), jn = ["data-index", "onClick"];
1582
- function Hn(e, t, n, o, r, s) {
1586
+ }), Kn = ["data-index", "onClick"];
1587
+ function qn(e, t, n, o, r, s) {
1583
1588
  const i = g("Blocks");
1584
1589
  return d(), m("div", {
1585
1590
  class: "builder-accordion",
@@ -1596,7 +1601,7 @@ function Hn(e, t, n, o, r, s) {
1596
1601
  "data-index": a,
1597
1602
  onClick: (u) => e.onClick(a)
1598
1603
  }, [
1599
- $(i, {
1604
+ R(i, {
1600
1605
  blocks: l.title,
1601
1606
  path: `items.${a}.title`,
1602
1607
  parent: e.builderBlock.id,
@@ -1604,13 +1609,13 @@ function Hn(e, t, n, o, r, s) {
1604
1609
  registeredComponents: e.builderComponents,
1605
1610
  linkComponent: e.builderLinkComponent
1606
1611
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
1607
- ], 14, jn),
1612
+ ], 14, Kn),
1608
1613
  e.open.includes(a) ? (d(), m("div", {
1609
1614
  key: 0,
1610
1615
  class: J(e.getAccordionDetailClassName(a)),
1611
1616
  style: D(e.accordionDetailStyles)
1612
1617
  }, [
1613
- $(i, {
1618
+ R(i, {
1614
1619
  blocks: l.detail,
1615
1620
  path: `items.${a}.detail`,
1616
1621
  parent: e.builderBlock.id,
@@ -1622,7 +1627,7 @@ function Hn(e, t, n, o, r, s) {
1622
1627
  ], 64))), 128))
1623
1628
  ], 4);
1624
1629
  }
1625
- const Kn = /* @__PURE__ */ b(Mn, [["render", Hn]]), qn = {
1630
+ const zn = /* @__PURE__ */ b(Hn, [["render", qn]]), Jn = {
1626
1631
  name: "Core:Button",
1627
1632
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1628
1633
  defaultStyles: {
@@ -1655,7 +1660,7 @@ const Kn = /* @__PURE__ */ b(Mn, [["render", Hn]]), qn = {
1655
1660
  }],
1656
1661
  static: !0,
1657
1662
  noWrap: !0
1658
- }, zn = {
1663
+ }, Gn = {
1659
1664
  // TODO: ways to statically preprocess JSON for references, functions, etc
1660
1665
  name: "Columns",
1661
1666
  isRSC: !0,
@@ -1856,13 +1861,13 @@ const Kn = /* @__PURE__ */ b(Mn, [["render", Hn]]), qn = {
1856
1861
  helperText: "When stacking columns for mobile devices, reverse the ordering",
1857
1862
  advanced: !0
1858
1863
  }]
1859
- }, Jn = {
1864
+ }, Yn = {
1860
1865
  name: "Fragment",
1861
1866
  static: !0,
1862
1867
  hidden: !0,
1863
1868
  canHaveChildren: !0,
1864
1869
  noWrap: !0
1865
- }, Gn = {
1870
+ }, Qn = {
1866
1871
  name: "Image",
1867
1872
  static: !0,
1868
1873
  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",
@@ -1955,6 +1960,11 @@ const Kn = /* @__PURE__ */ b(Mn, [["render", Hn]]), qn = {
1955
1960
  type: "boolean",
1956
1961
  helperText: "When child blocks are provided, fit to them instead of using the image's aspect ratio",
1957
1962
  defaultValue: !0
1963
+ }, {
1964
+ name: "highPriority",
1965
+ type: "boolean",
1966
+ advanced: !0,
1967
+ helperText: "Mark this image as high priority compared to other images on the page. This prevents lazy loading of the image and tells the browser to load this image before others on the page."
1958
1968
  }, {
1959
1969
  name: "aspectRatio",
1960
1970
  type: "number",
@@ -1962,7 +1972,7 @@ const Kn = /* @__PURE__ */ b(Mn, [["render", Hn]]), qn = {
1962
1972
  advanced: !0,
1963
1973
  defaultValue: 0.7041
1964
1974
  }]
1965
- }, Yn = {
1975
+ }, Xn = {
1966
1976
  name: "Core:Section",
1967
1977
  static: !0,
1968
1978
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2001,7 +2011,7 @@ const Kn = /* @__PURE__ */ b(Mn, [["render", Hn]]), qn = {
2001
2011
  }
2002
2012
  }
2003
2013
  }]
2004
- }, Qn = {
2014
+ }, Zn = {
2005
2015
  name: "Slot",
2006
2016
  isRSC: !0,
2007
2017
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2014,12 +2024,12 @@ const Kn = /* @__PURE__ */ b(Mn, [["render", Hn]]), qn = {
2014
2024
  required: !0,
2015
2025
  defaultValue: "children"
2016
2026
  }]
2017
- }, Xn = f({
2027
+ }, _n = f({
2018
2028
  name: "builder-slot",
2019
2029
  components: { Blocks: M },
2020
2030
  props: ["builderContext", "name"]
2021
2031
  });
2022
- function Zn(e, t, n, o, r, s) {
2032
+ function eo(e, t, n, o, r, s) {
2023
2033
  var l, a, u;
2024
2034
  const i = g("Blocks");
2025
2035
  return d(), m("div", w(
@@ -2030,7 +2040,7 @@ function Zn(e, t, n, o, r, s) {
2030
2040
  "builder-slot": e.name
2031
2041
  }
2032
2042
  ), [
2033
- $(i, {
2043
+ R(i, {
2034
2044
  parent: (a = e.builderContext.context) == null ? void 0 : a.symbolId,
2035
2045
  path: `symbol.data.${e.name}`,
2036
2046
  context: e.builderContext,
@@ -2038,7 +2048,7 @@ function Zn(e, t, n, o, r, s) {
2038
2048
  }, null, 8, ["parent", "path", "context", "blocks"])
2039
2049
  ], 16);
2040
2050
  }
2041
- const _n = /* @__PURE__ */ b(Xn, [["render", Zn]]), eo = {
2051
+ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2042
2052
  name: "Symbol",
2043
2053
  noWrap: !0,
2044
2054
  static: !0,
@@ -2109,7 +2119,7 @@ const _n = /* @__PURE__ */ b(Xn, [["render", Zn]]), eo = {
2109
2119
  text: "New tab content "
2110
2120
  }
2111
2121
  }
2112
- }, to = {
2122
+ }, oo = {
2113
2123
  name: "Builder: Tabs",
2114
2124
  inputs: [{
2115
2125
  name: "tabs",
@@ -2206,7 +2216,7 @@ const _n = /* @__PURE__ */ b(Xn, [["render", Zn]]), eo = {
2206
2216
  value: "flex-end"
2207
2217
  }]
2208
2218
  }]
2209
- }, no = f({
2219
+ }, ro = f({
2210
2220
  name: "builder-tabs",
2211
2221
  components: { Blocks: M },
2212
2222
  props: [
@@ -2231,8 +2241,8 @@ const _n = /* @__PURE__ */ b(Xn, [["render", Zn]]), eo = {
2231
2241
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
2232
2242
  }
2233
2243
  }
2234
- }), oo = ["onClick"], ro = { key: 0 };
2235
- function so(e, t, n, o, r, s) {
2244
+ }), so = ["onClick"], io = { key: 0 };
2245
+ function ao(e, t, n, o, r, s) {
2236
2246
  const i = g("Blocks");
2237
2247
  return d(), m("div", null, [
2238
2248
  z("div", {
@@ -2252,7 +2262,7 @@ function so(e, t, n, o, r, s) {
2252
2262
  }),
2253
2263
  onClick: (u) => e.onClick(a)
2254
2264
  }, [
2255
- $(i, {
2265
+ R(i, {
2256
2266
  parent: e.builderBlock.id,
2257
2267
  path: `component.options.tabs.${a}.label`,
2258
2268
  blocks: l.label,
@@ -2260,10 +2270,10 @@ function so(e, t, n, o, r, s) {
2260
2270
  registeredComponents: e.builderComponents,
2261
2271
  linkComponent: e.builderLinkComponent
2262
2272
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
2263
- ], 14, oo))), 128))
2273
+ ], 14, so))), 128))
2264
2274
  ], 4),
2265
- e.activeTabContent(e.activeTab) ? (d(), m("div", ro, [
2266
- $(i, {
2275
+ e.activeTabContent(e.activeTab) ? (d(), m("div", io, [
2276
+ R(i, {
2267
2277
  parent: e.builderBlock.id,
2268
2278
  path: `component.options.tabs.${e.activeTab}.content`,
2269
2279
  blocks: e.activeTabContent(e.activeTab),
@@ -2274,7 +2284,7 @@ function so(e, t, n, o, r, s) {
2274
2284
  ])) : S("", !0)
2275
2285
  ]);
2276
2286
  }
2277
- const io = /* @__PURE__ */ b(no, [["render", so]]), ao = {
2287
+ const lo = /* @__PURE__ */ b(ro, [["render", ao]]), co = {
2278
2288
  name: "Text",
2279
2289
  static: !0,
2280
2290
  isRSC: !0,
@@ -2292,11 +2302,11 @@ const io = /* @__PURE__ */ b(no, [["render", so]]), ao = {
2292
2302
  height: "auto",
2293
2303
  textAlign: "center"
2294
2304
  }
2295
- }, lo = f({
2305
+ }, uo = f({
2296
2306
  name: "builder-text",
2297
2307
  props: ["text"]
2298
- }), co = ["innerHTML"];
2299
- function uo(e, t, n, o, r, s) {
2308
+ }), po = ["innerHTML"];
2309
+ function mo(e, t, n, o, r, s) {
2300
2310
  var i;
2301
2311
  return d(), m("div", {
2302
2312
  class: "builder-text",
@@ -2304,9 +2314,9 @@ function uo(e, t, n, o, r, s) {
2304
2314
  style: {
2305
2315
  outline: "none"
2306
2316
  }
2307
- }, null, 8, co);
2317
+ }, null, 8, po);
2308
2318
  }
2309
- const po = /* @__PURE__ */ b(lo, [["render", uo]]), mo = {
2319
+ const ho = /* @__PURE__ */ b(uo, [["render", mo]]), fo = {
2310
2320
  name: "Custom Code",
2311
2321
  static: !0,
2312
2322
  requiredPermissions: ["editCode"],
@@ -2328,7 +2338,7 @@ const po = /* @__PURE__ */ b(lo, [["render", uo]]), mo = {
2328
2338
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
2329
2339
  advanced: !0
2330
2340
  }]
2331
- }, ho = f({
2341
+ }, bo = f({
2332
2342
  name: "builder-custom-code",
2333
2343
  props: ["replaceNodes", "code"],
2334
2344
  data() {
@@ -2362,15 +2372,15 @@ const po = /* @__PURE__ */ b(lo, [["render", uo]]), mo = {
2362
2372
  }
2363
2373
  }
2364
2374
  }
2365
- }), fo = ["innerHTML"];
2366
- function bo(e, t, n, o, r, s) {
2375
+ }), go = ["innerHTML"];
2376
+ function yo(e, t, n, o, r, s) {
2367
2377
  return d(), m("div", {
2368
2378
  ref: "elementRef",
2369
2379
  class: J("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
2370
2380
  innerHTML: e.code
2371
- }, null, 10, fo);
2381
+ }, null, 10, go);
2372
2382
  }
2373
- const go = /* @__PURE__ */ b(ho, [["render", bo]]), yo = {
2383
+ const ko = /* @__PURE__ */ b(bo, [["render", yo]]), So = {
2374
2384
  name: "Embed",
2375
2385
  static: !0,
2376
2386
  inputs: [{
@@ -2395,7 +2405,7 @@ const go = /* @__PURE__ */ b(ho, [["render", bo]]), yo = {
2395
2405
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2396
2406
  hideFromUI: !0
2397
2407
  }]
2398
- }, ko = ["text/javascript", "application/javascript", "application/ecmascript"], So = (e) => ko.includes(e.type), vo = f({
2408
+ }, vo = ["text/javascript", "application/javascript", "application/ecmascript"], Co = (e) => vo.includes(e.type), wo = f({
2399
2409
  name: "builder-embed",
2400
2410
  props: ["content"],
2401
2411
  data() {
@@ -2428,7 +2438,7 @@ const go = /* @__PURE__ */ b(ho, [["render", bo]]), yo = {
2428
2438
  this.scriptsInserted.push(n.src);
2429
2439
  const o = document.createElement("script");
2430
2440
  o.async = !0, o.src = n.src, document.head.appendChild(o);
2431
- } else if (So(n) && !this.scriptsRun.includes(n.innerText))
2441
+ } else if (Co(n) && !this.scriptsRun.includes(n.innerText))
2432
2442
  try {
2433
2443
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
2434
2444
  } catch (o) {
@@ -2437,15 +2447,15 @@ const go = /* @__PURE__ */ b(ho, [["render", bo]]), yo = {
2437
2447
  }
2438
2448
  }
2439
2449
  }
2440
- }), Co = ["innerHTML"];
2441
- function wo(e, t, n, o, r, s) {
2450
+ }), To = ["innerHTML"];
2451
+ function Io(e, t, n, o, r, s) {
2442
2452
  return d(), m("div", {
2443
2453
  class: "builder-embed",
2444
2454
  ref: "elem",
2445
2455
  innerHTML: e.content
2446
- }, null, 8, Co);
2456
+ }, null, 8, To);
2447
2457
  }
2448
- const To = /* @__PURE__ */ b(vo, [["render", wo]]), Io = {
2458
+ const $o = /* @__PURE__ */ b(wo, [["render", Io]]), Ro = {
2449
2459
  name: "Form:Form",
2450
2460
  // editableTags: ['builder-form-error']
2451
2461
  defaults: {
@@ -2676,13 +2686,13 @@ const To = /* @__PURE__ */ b(vo, [["render", wo]]), Io = {
2676
2686
  }
2677
2687
  }
2678
2688
  }]
2679
- }, $o = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Ro = () => {
2689
+ }, Eo = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Bo = () => {
2680
2690
  const e = process.env.NODE_ENV || "production";
2681
- return $o.includes(e) ? e : "production";
2682
- }, Eo = (e, t, n) => {
2691
+ return Eo.includes(e) ? e : "production";
2692
+ }, Po = (e, t, n) => {
2683
2693
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, s) => r != null ? r[s] : r, e);
2684
2694
  return o === void 0 || o === e ? n : o;
2685
- }, Po = f({
2695
+ }, xo = f({
2686
2696
  name: "builder-form-component",
2687
2697
  components: { Block: fe, Blocks: M },
2688
2698
  props: [
@@ -2726,7 +2736,7 @@ const To = /* @__PURE__ */ b(vo, [["render", wo]]), Io = {
2726
2736
  this.builderContext.rootSetState ? (o = (n = this.builderContext).rootSetState) == null || o.call(n, t) : this.builderContext.rootState = t;
2727
2737
  },
2728
2738
  submissionState() {
2729
- return R() && this.previewState || this.formState;
2739
+ return E() && this.previewState || this.formState;
2730
2740
  },
2731
2741
  onSubmit(e) {
2732
2742
  var n;
@@ -2785,7 +2795,7 @@ const To = /* @__PURE__ */ b(vo, [["render", wo]]), Io = {
2785
2795
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(u), u.defaultPrevented))
2786
2796
  return;
2787
2797
  this.formState = "sending";
2788
- const h = `${Ro() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
2798
+ const h = `${Bo() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
2789
2799
  this.sendSubmissionsToEmail || ""
2790
2800
  )}&name=${encodeURIComponent(this.name || "")}`;
2791
2801
  fetch(
@@ -2800,7 +2810,7 @@ const To = /* @__PURE__ */ b(vo, [["render", wo]]), Io = {
2800
2810
  let p;
2801
2811
  const v = c.headers.get("content-type");
2802
2812
  if (v && v.indexOf("application/json") !== -1 ? p = await c.json() : p = await c.text(), !c.ok && this.errorMessagePath) {
2803
- let y = Eo(p, this.errorMessagePath);
2813
+ let y = Po(p, this.errorMessagePath);
2804
2814
  y && (typeof y != "string" && (y = JSON.stringify(y)), this.formErrorMessage = y, this.mergeNewRootState({
2805
2815
  formErrorMessage: y
2806
2816
  }));
@@ -2841,11 +2851,11 @@ const To = /* @__PURE__ */ b(vo, [["render", wo]]), Io = {
2841
2851
  }
2842
2852
  }
2843
2853
  }
2844
- }), Bo = ["validate", "action", "method", "name"], xo = {
2854
+ }), Ao = ["validate", "action", "method", "name"], Vo = {
2845
2855
  key: 3,
2846
2856
  class: "builder-form-error-text pre-3q96myty4lk"
2847
2857
  };
2848
- function Ao(e, t, n, o, r, s) {
2858
+ function Wo(e, t, n, o, r, s) {
2849
2859
  var a;
2850
2860
  const i = g("Block"), l = g("Blocks");
2851
2861
  return d(), m("form", w({
@@ -2855,7 +2865,7 @@ function Ao(e, t, n, o, r, s) {
2855
2865
  method: e.method,
2856
2866
  name: e.name,
2857
2867
  onSubmit: t[0] || (t[0] = (u) => e.onSubmit(u))
2858
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
2868
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
2859
2869
  e.builderBlock && e.builderBlock.children ? (d(!0), m(I, { key: 0 }, W((a = e.builderBlock) == null ? void 0 : a.children, (u, h) => (d(), k(i, {
2860
2870
  key: `form-block-${e.idx}`,
2861
2871
  block: u,
@@ -2875,16 +2885,16 @@ function Ao(e, t, n, o, r, s) {
2875
2885
  blocks: e.sendingMessage,
2876
2886
  context: e.builderContext
2877
2887
  }, null, 8, ["blocks", "context"])) : S("", !0),
2878
- e.submissionState() === "error" && e.responseData ? (d(), m("pre", xo, ne(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
2888
+ e.submissionState() === "error" && e.responseData ? (d(), m("pre", Vo, ne(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
2879
2889
  e.submissionState() === "success" ? (d(), k(l, {
2880
2890
  key: 4,
2881
2891
  path: "successMessage",
2882
2892
  blocks: e.successMessage,
2883
2893
  context: e.builderContext
2884
2894
  }, null, 8, ["blocks", "context"])) : S("", !0)
2885
- ], 16, Bo);
2895
+ ], 16, Ao);
2886
2896
  }
2887
- const Vo = /* @__PURE__ */ b(Po, [["render", Ao], ["__scopeId", "data-v-6e18f21b"]]), Wo = {
2897
+ const No = /* @__PURE__ */ b(xo, [["render", Wo], ["__scopeId", "data-v-6e18f21b"]]), Fo = {
2888
2898
  name: "Form:Input",
2889
2899
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
2890
2900
  inputs: [
@@ -2935,7 +2945,7 @@ const Vo = /* @__PURE__ */ b(Po, [["render", Ao], ["__scopeId", "data-v-6e18f21b
2935
2945
  borderStyle: "solid",
2936
2946
  borderColor: "#ccc"
2937
2947
  }
2938
- }, No = f({
2948
+ }, Oo = f({
2939
2949
  name: "builder-form-input-component",
2940
2950
  props: [
2941
2951
  "attributes",
@@ -2947,10 +2957,10 @@ const Vo = /* @__PURE__ */ b(Po, [["render", Ao], ["__scopeId", "data-v-6e18f21b
2947
2957
  "required"
2948
2958
  ],
2949
2959
  data() {
2950
- return { isEditing: R, filterAttrs: N };
2960
+ return { isEditing: E, filterAttrs: N };
2951
2961
  }
2952
- }), Fo = ["placeholder", "type", "name", "value", "defaultValue", "required"];
2953
- function Oo(e, t, n, o, r, s) {
2962
+ }), Do = ["placeholder", "type", "name", "value", "defaultValue", "required"];
2963
+ function Uo(e, t, n, o, r, s) {
2954
2964
  return d(), m("input", w({
2955
2965
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
2956
2966
  placeholder: e.placeholder,
@@ -2959,9 +2969,9 @@ function Oo(e, t, n, o, r, s) {
2959
2969
  value: e.value,
2960
2970
  defaultValue: e.defaultValue,
2961
2971
  required: e.required
2962
- }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Fo);
2972
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Do);
2963
2973
  }
2964
- const Do = /* @__PURE__ */ b(No, [["render", Oo]]), Uo = {
2974
+ const Lo = /* @__PURE__ */ b(Oo, [["render", Uo]]), Mo = {
2965
2975
  name: "Form:Select",
2966
2976
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
2967
2977
  defaultStyles: {
@@ -3003,27 +3013,27 @@ const Do = /* @__PURE__ */ b(No, [["render", Oo]]), Uo = {
3003
3013
  }],
3004
3014
  static: !0,
3005
3015
  noWrap: !0
3006
- }, Lo = f({
3016
+ }, jo = f({
3007
3017
  name: "builder-select-component",
3008
3018
  props: ["attributes", "value", "defaultValue", "name", "options"],
3009
3019
  data() {
3010
- return { isEditing: R, filterAttrs: N };
3020
+ return { isEditing: E, filterAttrs: N };
3011
3021
  }
3012
- }), Mo = ["value", "defaultValue", "name"], jo = ["value"];
3013
- function Ho(e, t, n, o, r, s) {
3022
+ }), Ho = ["value", "defaultValue", "name"], Ko = ["value"];
3023
+ function qo(e, t, n, o, r, s) {
3014
3024
  return d(), m("select", w({
3015
3025
  value: e.value,
3016
3026
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3017
3027
  defaultValue: e.defaultValue,
3018
3028
  name: e.name
3019
- }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3029
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3020
3030
  (d(!0), m(I, null, W(e.options, (i, l) => (d(), m("option", {
3021
3031
  key: `${i.name}-${l}`,
3022
3032
  value: i.value
3023
- }, ne(i.name || i.value), 9, jo))), 128))
3024
- ], 16, Mo);
3033
+ }, ne(i.name || i.value), 9, Ko))), 128))
3034
+ ], 16, Ho);
3025
3035
  }
3026
- const Ko = /* @__PURE__ */ b(Lo, [["render", Ho]]), qo = {
3036
+ const zo = /* @__PURE__ */ b(jo, [["render", qo]]), Jo = {
3027
3037
  name: "Form:SubmitButton",
3028
3038
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3029
3039
  defaultStyles: {
@@ -3048,17 +3058,17 @@ const Ko = /* @__PURE__ */ b(Lo, [["render", Ho]]), qo = {
3048
3058
  // that only shows if advanced setting is flipped
3049
3059
  // TODO: defaultChildren
3050
3060
  // canHaveChildren: true,
3051
- }, zo = f({
3061
+ }, Go = f({
3052
3062
  name: "builder-submit-button",
3053
3063
  props: ["attributes", "text"],
3054
3064
  data() {
3055
3065
  return { filterAttrs: N };
3056
3066
  }
3057
3067
  });
3058
- function Jo(e, t, n, o, r, s) {
3059
- return d(), m("button", w({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ne(e.text), 17);
3068
+ function Yo(e, t, n, o, r, s) {
3069
+ return d(), m("button", w({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ne(e.text), 17);
3060
3070
  }
3061
- const Go = /* @__PURE__ */ b(zo, [["render", Jo]]), Yo = {
3071
+ const Qo = /* @__PURE__ */ b(Go, [["render", Yo]]), Xo = {
3062
3072
  // friendlyName?
3063
3073
  name: "Raw:Img",
3064
3074
  hideFromInsertMenu: !0,
@@ -3072,7 +3082,7 @@ const Go = /* @__PURE__ */ b(zo, [["render", Jo]]), Yo = {
3072
3082
  }],
3073
3083
  noWrap: !0,
3074
3084
  static: !0
3075
- }, Qo = f({
3085
+ }, Zo = f({
3076
3086
  name: "builder-img-component",
3077
3087
  props: [
3078
3088
  "backgroundSize",
@@ -3083,10 +3093,10 @@ const Go = /* @__PURE__ */ b(zo, [["render", Jo]]), Yo = {
3083
3093
  "attributes"
3084
3094
  ],
3085
3095
  data() {
3086
- return { isEditing: R, filterAttrs: N };
3096
+ return { isEditing: E, filterAttrs: N };
3087
3097
  }
3088
- }), Xo = ["alt", "src"];
3089
- function Zo(e, t, n, o, r, s) {
3098
+ }), _o = ["alt", "src"];
3099
+ function er(e, t, n, o, r, s) {
3090
3100
  return d(), m("img", w({
3091
3101
  style: {
3092
3102
  objectFit: e.backgroundSize || "cover",
@@ -3095,9 +3105,9 @@ function Zo(e, t, n, o, r, s) {
3095
3105
  key: e.isEditing() && e.imgSrc || "default-key",
3096
3106
  alt: e.altText,
3097
3107
  src: e.imgSrc || e.image
3098
- }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Xo);
3108
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, _o);
3099
3109
  }
3100
- const _o = /* @__PURE__ */ b(Qo, [["render", Zo]]), er = {
3110
+ const tr = /* @__PURE__ */ b(Zo, [["render", er]]), nr = {
3101
3111
  name: "Video",
3102
3112
  canHaveChildren: !0,
3103
3113
  defaultStyles: {
@@ -3178,7 +3188,7 @@ const _o = /* @__PURE__ */ b(Qo, [["render", Zo]]), er = {
3178
3188
  defaultValue: !0,
3179
3189
  advanced: !0
3180
3190
  }]
3181
- }, tr = f({
3191
+ }, or = f({
3182
3192
  name: "builder-video",
3183
3193
  props: [
3184
3194
  "autoPlay",
@@ -3223,16 +3233,16 @@ const _o = /* @__PURE__ */ b(Qo, [["render", Zo]]), er = {
3223
3233
  };
3224
3234
  }
3225
3235
  }
3226
- }), nr = { style: {
3236
+ }), rr = { style: {
3227
3237
  position: "relative"
3228
- } }, or = ["preload", "src", "poster"], rr = ["src"], sr = {
3238
+ } }, sr = ["preload", "src", "poster"], ir = ["src"], ar = {
3229
3239
  key: 1,
3230
3240
  style: {
3231
3241
  display: "flex",
3232
3242
  flexDirection: "column",
3233
3243
  alignItems: "stretch"
3234
3244
  }
3235
- }, ir = {
3245
+ }, lr = {
3236
3246
  key: 2,
3237
3247
  style: {
3238
3248
  pointerEvents: "none",
@@ -3246,9 +3256,9 @@ const _o = /* @__PURE__ */ b(Qo, [["render", Zo]]), er = {
3246
3256
  height: "100%"
3247
3257
  }
3248
3258
  };
3249
- function ar(e, t, n, o, r, s) {
3259
+ function cr(e, t, n, o, r, s) {
3250
3260
  var i, l, a, u, h, c, p;
3251
- return d(), m("div", nr, [
3261
+ return d(), m("div", rr, [
3252
3262
  z("video", w({
3253
3263
  class: "builder-video",
3254
3264
  preload: e.preload || "metadata",
@@ -3273,8 +3283,8 @@ function ar(e, t, n, o, r, s) {
3273
3283
  key: 0,
3274
3284
  type: "video/mp4",
3275
3285
  src: e.video
3276
- }, null, 8, rr))
3277
- ], 16, or),
3286
+ }, null, 8, ir))
3287
+ ], 16, sr),
3278
3288
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), m("div", {
3279
3289
  key: 0,
3280
3290
  style: D({
@@ -3284,84 +3294,84 @@ function ar(e, t, n, o, r, s) {
3284
3294
  fontSize: "0px"
3285
3295
  })
3286
3296
  }, null, 4)) : S("", !0),
3287
- (h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (d(), m("div", sr, [
3297
+ (h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (d(), m("div", ar, [
3288
3298
  P(e.$slots, "default")
3289
3299
  ])) : S("", !0),
3290
- (p = (c = e.builderBlock) == null ? void 0 : c.children) != null && p.length && !e.fitContent ? (d(), m("div", ir, [
3300
+ (p = (c = e.builderBlock) == null ? void 0 : c.children) != null && p.length && !e.fitContent ? (d(), m("div", lr, [
3291
3301
  P(e.$slots, "default")
3292
3302
  ])) : S("", !0)
3293
3303
  ]);
3294
3304
  }
3295
- const lr = /* @__PURE__ */ b(tr, [["render", ar]]), cr = () => [{
3296
- component: go,
3297
- ...mo
3305
+ const dr = /* @__PURE__ */ b(or, [["render", cr]]), ur = () => [{
3306
+ component: ko,
3307
+ ...fo
3298
3308
  }, {
3299
- component: To,
3300
- ...yo
3309
+ component: $o,
3310
+ ...So
3301
3311
  }, {
3302
- component: Vo,
3303
- ...Io
3312
+ component: No,
3313
+ ...Ro
3304
3314
  }, {
3305
- component: Do,
3306
- ...Wo
3315
+ component: Lo,
3316
+ ...Fo
3307
3317
  }, {
3308
- component: Go,
3309
- ...qo
3318
+ component: Qo,
3319
+ ...Jo
3310
3320
  }, {
3311
- component: Ko,
3312
- ...Uo
3321
+ component: zo,
3322
+ ...Mo
3313
3323
  }, {
3314
- component: _o,
3315
- ...Yo
3324
+ component: tr,
3325
+ ...Xo
3316
3326
  }, {
3317
- component: lr,
3318
- ...er
3327
+ component: dr,
3328
+ ...nr
3319
3329
  }], we = () => [{
3320
3330
  component: Ct,
3321
- ...qn
3322
- }, {
3323
- component: mn,
3324
- ...zn
3325
- }, {
3326
- component: bn,
3327
3331
  ...Jn
3328
3332
  }, {
3329
- component: Tn,
3333
+ component: fn,
3330
3334
  ...Gn
3331
3335
  }, {
3332
- component: Rn,
3336
+ component: yn,
3333
3337
  ...Yn
3334
3338
  }, {
3335
- component: _n,
3339
+ component: $n,
3336
3340
  ...Qn
3337
3341
  }, {
3338
- component: ys,
3339
- ...eo
3342
+ component: Bn,
3343
+ ...Xn
3340
3344
  }, {
3341
- component: po,
3342
- ...ao
3345
+ component: to,
3346
+ ...Zn
3343
3347
  }, {
3344
- component: io,
3345
- ...to
3348
+ component: Ss,
3349
+ ...no
3346
3350
  }, {
3347
- component: Kn,
3348
- ...Un
3349
- }, ...cr()], dr = (e) => ({
3351
+ component: ho,
3352
+ ...co
3353
+ }, {
3354
+ component: lo,
3355
+ ...oo
3356
+ }, {
3357
+ component: zn,
3358
+ ...Mn
3359
+ }, ...ur()], pr = (e) => ({
3350
3360
  type: "builder.registerComponent",
3351
3361
  data: de(e)
3352
- }), ur = (e) => {
3362
+ }), mr = (e) => {
3353
3363
  const t = e.toString().trim();
3354
3364
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
3355
- }, pr = (e) => typeof e == "function" ? ur(e) : Y(e), de = ({
3365
+ }, hr = (e) => typeof e == "function" ? mr(e) : Y(e), de = ({
3356
3366
  inputs: e,
3357
3367
  ...t
3358
3368
  }) => ({
3359
3369
  ...Y(t),
3360
3370
  inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, s]) => ({
3361
3371
  ...o,
3362
- [r]: pr(s)
3372
+ [r]: hr(s)
3363
3373
  }), {}))
3364
- }), mr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3374
+ }), fr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3365
3375
  function getAndSetVariantId() {
3366
3376
  function setCookie(name, value, days) {
3367
3377
  let expires = '';
@@ -3417,7 +3427,7 @@ const lr = /* @__PURE__ */ b(tr, [["render", ar]]), cr = () => [{
3417
3427
  }).join('');
3418
3428
  styleEl.innerHTML = newStyleStr;
3419
3429
  }
3420
- }`, hr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3430
+ }`, br = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3421
3431
  if (!navigator.cookieEnabled) {
3422
3432
  return;
3423
3433
  }
@@ -3455,16 +3465,16 @@ const lr = /* @__PURE__ */ b(tr, [["render", ar]]), cr = () => [{
3455
3465
  ...t,
3456
3466
  testVariationId: t.id,
3457
3467
  id: e == null ? void 0 : e.id
3458
- })), fr = ({
3468
+ })), gr = ({
3459
3469
  canTrack: e,
3460
3470
  content: t
3461
- }) => !(!(_(t).length > 0) || !e), br = (e) => e === "react" || e === "reactNative", _e = br(x), gr = () => `
3462
- window.${Xe} = ${mr}
3463
- window.${Ze} = ${hr}
3464
- `, yr = (e, t) => `
3471
+ }) => !(!(_(t).length > 0) || !e), yr = (e) => e === "react" || e === "reactNative", _e = yr($), kr = () => `
3472
+ window.${Xe} = ${fr}
3473
+ window.${Ze} = ${br}
3474
+ `, Sr = (e, t) => `
3465
3475
  window.${Xe}(
3466
3476
  "${t}",${JSON.stringify(e)}, ${_e}
3467
- )`, kr = ({
3477
+ )`, vr = ({
3468
3478
  contentId: e,
3469
3479
  variationId: t
3470
3480
  }) => `window.${Ze}(
@@ -3479,17 +3489,17 @@ const lr = /* @__PURE__ */ b(tr, [["render", ar]]), cr = () => [{
3479
3489
  name: "inlined-script",
3480
3490
  props: ["scriptStr", "id"]
3481
3491
  });
3482
- function Sr() {
3492
+ function Cr() {
3483
3493
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
3484
3494
  }
3485
- function vr() {
3486
- const e = Sr().fetch;
3495
+ function wr() {
3496
+ const e = Cr().fetch;
3487
3497
  if (typeof e > "u")
3488
3498
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
3489
3499
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
3490
3500
  return e;
3491
3501
  }
3492
- const tt = vr();
3502
+ const tt = wr();
3493
3503
  function ue(e, t = null, n = ".") {
3494
3504
  return Object.keys(e).reduce((o, r) => {
3495
3505
  const s = e[r], i = [t, r].filter(Boolean).join(n);
@@ -3509,17 +3519,17 @@ function nt(e, t, n = {}) {
3509
3519
  }
3510
3520
  return n;
3511
3521
  }
3512
- const Cr = "v3", Te = "builder.", wr = "options.", ot = (e) => {
3522
+ const Tr = "v3", Te = "builder.", Ir = "options.", ot = (e) => {
3513
3523
  if (!e)
3514
3524
  return {};
3515
3525
  const t = Ve(e), n = {};
3516
3526
  return Object.keys(t).forEach((o) => {
3517
3527
  if (o.startsWith(Te)) {
3518
- const r = o.replace(Te, "").replace(wr, "");
3528
+ const r = o.replace(Te, "").replace(Ir, "");
3519
3529
  n[r] = t[o];
3520
3530
  }
3521
3531
  }), n;
3522
- }, Tr = () => {
3532
+ }, $r = () => {
3523
3533
  if (!T())
3524
3534
  return {};
3525
3535
  const e = new URLSearchParams(window.location.search);
@@ -3533,7 +3543,7 @@ const Cr = "v3", Te = "builder.", wr = "options.", ot = (e) => {
3533
3543
  apiKey: s,
3534
3544
  enrich: i,
3535
3545
  locale: l,
3536
- apiVersion: a = Cr,
3546
+ apiVersion: a = Tr,
3537
3547
  fields: u,
3538
3548
  omit: h,
3539
3549
  offset: c,
@@ -3555,7 +3565,7 @@ const Cr = "v3", Te = "builder.", wr = "options.", ot = (e) => {
3555
3565
  C.searchParams.set(j, JSON.stringify(O[j]));
3556
3566
  }
3557
3567
  const ut = {
3558
- ...Tr(),
3568
+ ...$r(),
3559
3569
  ...Ve(e.options || {})
3560
3570
  }, Se = ue(ut);
3561
3571
  for (const O in Se)
@@ -3568,60 +3578,60 @@ const Cr = "v3", Te = "builder.", wr = "options.", ot = (e) => {
3568
3578
  C.searchParams.set(j, JSON.stringify(O[j]));
3569
3579
  }
3570
3580
  return C;
3571
- }, Ir = (e) => "results" in e;
3581
+ }, Rr = (e) => "results" in e;
3572
3582
  async function ke(e) {
3573
- const t = await Er({
3583
+ const t = await Pr({
3574
3584
  ...e,
3575
3585
  limit: 1
3576
3586
  });
3577
3587
  return t && t[0] || null;
3578
3588
  }
3579
- const $r = async (e) => {
3589
+ const Er = async (e) => {
3580
3590
  const t = ye(e);
3581
3591
  return await (await (e.fetch ?? tt)(t.href, e.fetchOptions)).json();
3582
- }, Rr = async (e, t, n = ye(e)) => {
3592
+ }, Br = async (e, t, n = ye(e)) => {
3583
3593
  const o = G(e.canTrack);
3584
- if (n.search.includes("preview="), !o || !(T() || x === "reactNative"))
3594
+ if (n.search.includes("preview="), !o || !(T() || $ === "reactNative"))
3585
3595
  return t.results;
3586
3596
  try {
3587
3597
  const r = [];
3588
3598
  for (const s of t.results)
3589
- r.push(await Dn({
3599
+ r.push(await Ln({
3590
3600
  item: s,
3591
3601
  canTrack: o
3592
3602
  }));
3593
3603
  t.results = r;
3594
3604
  } catch (r) {
3595
- E.error("Could not process A/B tests. ", r);
3605
+ B.error("Could not process A/B tests. ", r);
3596
3606
  }
3597
3607
  return t.results;
3598
3608
  };
3599
- async function Er(e) {
3609
+ async function Pr(e) {
3600
3610
  try {
3601
- const t = ye(e), n = await $r(e);
3602
- return Ir(n) ? Rr(e, n) : (E.error("Error fetching data. ", {
3611
+ const t = ye(e), n = await Er(e);
3612
+ return Rr(n) ? Br(e, n) : (B.error("Error fetching data. ", {
3603
3613
  url: t,
3604
3614
  content: n,
3605
3615
  options: e
3606
3616
  }), null);
3607
3617
  } catch (t) {
3608
- return E.error("Error fetching data. ", t), null;
3618
+ return B.error("Error fetching data. ", t), null;
3609
3619
  }
3610
3620
  }
3611
- function Pr(e) {
3621
+ function xr(e) {
3612
3622
  const t = e || (T() ? window.location.search : void 0);
3613
3623
  return t ? We(t).indexOf("builder.preview=") !== -1 : !1;
3614
3624
  }
3615
- function Br() {
3625
+ function Ar() {
3616
3626
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
3617
3627
  const t = Math.random() * 16 | 0;
3618
3628
  return (e == "x" ? t : t & 3 | 8).toString(16);
3619
3629
  });
3620
3630
  }
3621
3631
  function rt() {
3622
- return Br().replace(/-/g, "");
3632
+ return Ar().replace(/-/g, "");
3623
3633
  }
3624
- const st = "builderSessionId", xr = async ({
3634
+ const st = "builderSessionId", Vr = async ({
3625
3635
  canTrack: e
3626
3636
  }) => {
3627
3637
  if (!e)
@@ -3633,20 +3643,20 @@ const st = "builderSessionId", xr = async ({
3633
3643
  if (U(t))
3634
3644
  return t;
3635
3645
  {
3636
- const n = Ar();
3637
- return Vr({
3646
+ const n = Wr();
3647
+ return Nr({
3638
3648
  id: n,
3639
3649
  canTrack: e
3640
3650
  }), n;
3641
3651
  }
3642
- }, Ar = () => rt(), Vr = ({
3652
+ }, Wr = () => rt(), Nr = ({
3643
3653
  id: e,
3644
3654
  canTrack: t
3645
3655
  }) => Je({
3646
3656
  name: st,
3647
3657
  value: e,
3648
3658
  canTrack: t
3649
- }), it = () => T() && typeof localStorage < "u" ? localStorage : void 0, Wr = ({
3659
+ }), it = () => T() && typeof localStorage < "u" ? localStorage : void 0, Fr = ({
3650
3660
  key: e,
3651
3661
  canTrack: t
3652
3662
  }) => {
@@ -3657,7 +3667,7 @@ const st = "builderSessionId", xr = async ({
3657
3667
  console.debug("[LocalStorage] GET error: ", o);
3658
3668
  return;
3659
3669
  }
3660
- }, Nr = ({
3670
+ }, Or = ({
3661
3671
  key: e,
3662
3672
  canTrack: t,
3663
3673
  value: n
@@ -3668,32 +3678,32 @@ const st = "builderSessionId", xr = async ({
3668
3678
  } catch (r) {
3669
3679
  console.debug("[LocalStorage] SET error: ", r);
3670
3680
  }
3671
- }, at = "builderVisitorId", Fr = ({
3681
+ }, at = "builderVisitorId", Dr = ({
3672
3682
  canTrack: e
3673
3683
  }) => {
3674
3684
  if (!e)
3675
3685
  return;
3676
- const t = Wr({
3686
+ const t = Fr({
3677
3687
  key: at,
3678
3688
  canTrack: e
3679
3689
  });
3680
3690
  if (U(t))
3681
3691
  return t;
3682
3692
  {
3683
- const n = Or();
3684
- return Dr({
3693
+ const n = Ur();
3694
+ return Lr({
3685
3695
  id: n,
3686
3696
  canTrack: e
3687
3697
  }), n;
3688
3698
  }
3689
- }, Or = () => rt(), Dr = ({
3699
+ }, Ur = () => rt(), Lr = ({
3690
3700
  id: e,
3691
3701
  canTrack: t
3692
- }) => Nr({
3702
+ }) => Or({
3693
3703
  key: at,
3694
3704
  value: e,
3695
3705
  canTrack: t
3696
- }), Ur = async ({
3706
+ }), Mr = async ({
3697
3707
  canTrack: e
3698
3708
  }) => {
3699
3709
  if (!e)
@@ -3701,16 +3711,16 @@ const st = "builderSessionId", xr = async ({
3701
3711
  visitorId: void 0,
3702
3712
  sessionId: void 0
3703
3713
  };
3704
- const t = await xr({
3714
+ const t = await Vr({
3705
3715
  canTrack: e
3706
- }), n = Fr({
3716
+ }), n = Dr({
3707
3717
  canTrack: e
3708
3718
  });
3709
3719
  return {
3710
3720
  sessionId: t,
3711
3721
  visitorId: n
3712
3722
  };
3713
- }, Lr = async ({
3723
+ }, jr = async ({
3714
3724
  type: e,
3715
3725
  canTrack: t,
3716
3726
  apiKey: n,
@@ -3724,7 +3734,7 @@ const st = "builderSessionId", xr = async ({
3724
3734
  url: location.href,
3725
3735
  ...o
3726
3736
  },
3727
- ...await Ur({
3737
+ ...await Mr({
3728
3738
  canTrack: t
3729
3739
  }),
3730
3740
  userAttributes: Ne(),
@@ -3733,14 +3743,14 @@ const st = "builderSessionId", xr = async ({
3733
3743
  });
3734
3744
  async function pe(e) {
3735
3745
  if (!e.apiKey) {
3736
- E.error("Missing API key for track call. Please provide your API key.");
3746
+ B.error("Missing API key for track call. Please provide your API key.");
3737
3747
  return;
3738
3748
  }
3739
- if (e.canTrack && !R() && (T() || x === "reactNative"))
3749
+ if (e.canTrack && !E() && (T() || $ === "reactNative"))
3740
3750
  return fetch("https://cdn.builder.io/api/v1/track", {
3741
3751
  method: "POST",
3742
3752
  body: JSON.stringify({
3743
- events: [await Lr(e)]
3753
+ events: [await jr(e)]
3744
3754
  }),
3745
3755
  headers: {
3746
3756
  "content-type": "application/json"
@@ -3750,14 +3760,14 @@ async function pe(e) {
3750
3760
  console.error("Failed to track: ", t);
3751
3761
  });
3752
3762
  }
3753
- const Rs = (e) => pe({
3763
+ const Bs = (e) => pe({
3754
3764
  ...e,
3755
3765
  canTrack: !0
3756
3766
  });
3757
3767
  function $e(e) {
3758
3768
  return Math.round(e * 1e3) / 1e3;
3759
3769
  }
3760
- const Mr = (e, t, n = !0) => {
3770
+ const Hr = (e, t, n = !0) => {
3761
3771
  if (!(e instanceof HTMLElement))
3762
3772
  return null;
3763
3773
  let o = n ? e : e.parentElement;
@@ -3768,7 +3778,7 @@ const Mr = (e, t, n = !0) => {
3768
3778
  return o;
3769
3779
  } while (o = o.parentElement);
3770
3780
  return null;
3771
- }, jr = (e) => Mr(e, (t) => {
3781
+ }, Kr = (e) => Hr(e, (t) => {
3772
3782
  const n = t.getAttribute("builder-id") || t.id;
3773
3783
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3774
3784
  }), Re = ({
@@ -3780,8 +3790,8 @@ const Mr = (e, t, n = !0) => {
3780
3790
  x: s,
3781
3791
  y: i
3782
3792
  };
3783
- }, Hr = (e) => {
3784
- const t = e.target, n = t && jr(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3793
+ }, qr = (e) => {
3794
+ const t = e.target, n = t && Kr(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3785
3795
  return {
3786
3796
  targetBuilderElement: o || void 0,
3787
3797
  metadata: {
@@ -3796,13 +3806,13 @@ const Mr = (e, t, n = !0) => {
3796
3806
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
3797
3807
  }
3798
3808
  };
3799
- }, Kr = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3809
+ }, zr = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3800
3810
  function lt(e, t) {
3801
3811
  const n = new URL(t.origin), o = n.hostname;
3802
- return (e || Kr).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
3812
+ return (e || zr).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
3803
3813
  }
3804
- const qr = "1.0.30", Ee = {};
3805
- function zr(e, t) {
3814
+ const Jr = "1.0.32", Ee = {};
3815
+ function Gr(e, t) {
3806
3816
  let n = Ee[e];
3807
3817
  if (n || (n = Ee[e] = []), n.push(t), T()) {
3808
3818
  const o = {
@@ -3819,8 +3829,8 @@ function zr(e, t) {
3819
3829
  }
3820
3830
  }
3821
3831
  }
3822
- const Jr = () => {
3823
- zr("insertMenu", {
3832
+ const Yr = () => {
3833
+ Gr("insertMenu", {
3824
3834
  name: "_default",
3825
3835
  default: !0,
3826
3836
  items: [{
@@ -3842,14 +3852,14 @@ const Jr = () => {
3842
3852
  }]
3843
3853
  });
3844
3854
  };
3845
- let Pe = !1;
3855
+ let Be = !1;
3846
3856
  const ct = (e = {}) => {
3847
3857
  var t, n;
3848
- Pe || (Pe = !0, T() && ((t = window.parent) == null || t.postMessage({
3858
+ Be || (Be = !0, T() && ((t = window.parent) == null || t.postMessage({
3849
3859
  type: "builder.sdkInfo",
3850
3860
  data: {
3851
- target: x,
3852
- version: qr,
3861
+ target: $,
3862
+ version: Jr,
3853
3863
  supportsPatchUpdates: !1,
3854
3864
  // Supports builder-model="..." attribute which is needed to
3855
3865
  // scope our '+ add block' button styling
@@ -3930,9 +3940,9 @@ const ct = (e = {}) => {
3930
3940
  break;
3931
3941
  }
3932
3942
  }
3933
- }, Es = (e, t, n) => {
3943
+ }, Ps = (e, t, n) => {
3934
3944
  if (!T)
3935
- return E.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
3945
+ return B.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
3936
3946
  };
3937
3947
  ct();
3938
3948
  const o = dt({
@@ -3949,7 +3959,7 @@ const ct = (e = {}) => {
3949
3959
  return window.addEventListener("message", o), () => {
3950
3960
  window.removeEventListener("message", o);
3951
3961
  };
3952
- }, Gr = (e) => {
3962
+ }, Qr = (e) => {
3953
3963
  var s;
3954
3964
  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);
3955
3965
  let r = "";
@@ -3975,15 +3985,15 @@ font-weight: ${i};
3975
3985
  `.trim());
3976
3986
  }
3977
3987
  return r;
3978
- }, Yr = ({
3988
+ }, Xr = ({
3979
3989
  customFonts: e
3980
3990
  }) => {
3981
3991
  var t;
3982
- return ((t = e == null ? void 0 : e.map((n) => Gr(n))) == null ? void 0 : t.join(" ")) || "";
3983
- }, Qr = ({
3992
+ return ((t = e == null ? void 0 : e.map((n) => Qr(n))) == null ? void 0 : t.join(" ")) || "";
3993
+ }, Zr = ({
3984
3994
  cssCode: e,
3985
3995
  contentId: t
3986
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Xr = `
3996
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", _r = `
3987
3997
  .builder-button {
3988
3998
  all: unset;
3989
3999
  }
@@ -4000,7 +4010,7 @@ font-weight: ${i};
4000
4010
  text-align: inherit;
4001
4011
  font-family: inherit;
4002
4012
  }
4003
- `, Zr = (e) => e ? "" : Xr, _r = (e) => `variant-${e}`, es = f({
4013
+ `, es = (e) => e ? "" : _r, ts = (e) => `variant-${e}`, ns = f({
4004
4014
  name: "enable-editor",
4005
4015
  components: { DynamicDiv: Q },
4006
4016
  props: [
@@ -4025,7 +4035,7 @@ font-weight: ${i};
4025
4035
  httpReqsPending: {},
4026
4036
  clicked: !1,
4027
4037
  builderContext: ce,
4028
- getWrapperClassName: _r
4038
+ getWrapperClassName: ts
4029
4039
  };
4030
4040
  },
4031
4041
  provide() {
@@ -4038,7 +4048,7 @@ font-weight: ${i};
4038
4048
  (() => {
4039
4049
  var n, o;
4040
4050
  if (T()) {
4041
- if (R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4051
+ if (E() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4042
4052
  new CustomEvent("initeditingbldr")
4043
4053
  ), this.builderContextSignal.content && G(this.canTrack)) {
4044
4054
  const s = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, i = (o = this.builderContextSignal.content) == null ? void 0 : o.id, l = this.apiKey;
@@ -4050,12 +4060,12 @@ font-weight: ${i};
4050
4060
  variationId: s !== i ? s : void 0
4051
4061
  });
4052
4062
  }
4053
- Pr() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4063
+ xr() && !E() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4054
4064
  new CustomEvent("initpreviewingbldr")
4055
4065
  );
4056
4066
  }
4057
4067
  })(), (() => {
4058
- this.apiKey || E.error(
4068
+ this.apiKey || B.error(
4059
4069
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4060
4070
  ), this.evaluateJsCode(), this.runHttpRequests(), this.emitStateUpdate();
4061
4071
  })();
@@ -4220,7 +4230,7 @@ font-weight: ${i};
4220
4230
  contentId: r,
4221
4231
  apiKey: this.apiKey,
4222
4232
  variationId: o !== r ? o : void 0,
4223
- ...Hr(e),
4233
+ ...qr(e),
4224
4234
  unique: !this.clicked
4225
4235
  });
4226
4236
  }
@@ -4230,7 +4240,7 @@ font-weight: ${i};
4230
4240
  var t, n;
4231
4241
  const e = ((n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) ?? {};
4232
4242
  Object.entries(e).forEach(([o, r]) => {
4233
- if (!r || this.httpReqsPending[o] || this.httpReqsData[o] && !R())
4243
+ if (!r || this.httpReqsPending[o] || this.httpReqsData[o] && !E())
4234
4244
  return;
4235
4245
  this.httpReqsPending[o] = !0;
4236
4246
  const s = r.replace(
@@ -4258,7 +4268,7 @@ font-weight: ${i};
4258
4268
  });
4259
4269
  },
4260
4270
  emitStateUpdate() {
4261
- R() && window.dispatchEvent(
4271
+ E() && window.dispatchEvent(
4262
4272
  new CustomEvent(
4263
4273
  "builder:component:stateChange",
4264
4274
  {
@@ -4273,7 +4283,7 @@ font-weight: ${i};
4273
4283
  );
4274
4284
  },
4275
4285
  elementRef_onIniteditingbldr(e) {
4276
- window.addEventListener("message", this.processMessage), Jr(), ct({
4286
+ window.addEventListener("message", this.processMessage), Yr(), ct({
4277
4287
  ...this.locale ? {
4278
4288
  locale: this.locale
4279
4289
  } : {},
@@ -4287,7 +4297,7 @@ font-weight: ${i};
4287
4297
  this.builderContextSignal.componentInfos
4288
4298
  ).forEach((t) => {
4289
4299
  var o;
4290
- const n = dr(t);
4300
+ const n = pr(t);
4291
4301
  (o = window.parent) == null || o.postMessage(n, "*");
4292
4302
  }), window.addEventListener(
4293
4303
  "builder:component:stateChangeListenerActivated",
@@ -4308,7 +4318,7 @@ font-weight: ${i};
4308
4318
  }
4309
4319
  }
4310
4320
  });
4311
- function ts(e, t, n, o, r, s) {
4321
+ function os(e, t, n, o, r, s) {
4312
4322
  var i, l, a;
4313
4323
  return e.builderContextSignal.content ? (d(), k(K(e.ContentWrapper), w({
4314
4324
  key: 0,
@@ -4326,33 +4336,33 @@ function ts(e, t, n, o, r, s) {
4326
4336
  _: 3
4327
4337
  }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : S("", !0);
4328
4338
  }
4329
- const ns = /* @__PURE__ */ b(es, [["render", ts]]), os = f({
4339
+ const rs = /* @__PURE__ */ b(ns, [["render", os]]), ss = f({
4330
4340
  name: "content-styles",
4331
4341
  components: { InlinedStyles: be },
4332
4342
  props: ["cssCode", "contentId", "customFonts", "isNestedRender"],
4333
4343
  data() {
4334
4344
  return {
4335
4345
  injectedStyles: `
4336
- ${Qr({
4346
+ ${Zr({
4337
4347
  cssCode: this.cssCode,
4338
4348
  contentId: this.contentId
4339
4349
  })}
4340
- ${Yr({
4350
+ ${Xr({
4341
4351
  customFonts: this.customFonts
4342
4352
  })}
4343
- ${Zr(this.isNestedRender)}
4353
+ ${es(this.isNestedRender)}
4344
4354
  `.trim()
4345
4355
  };
4346
4356
  }
4347
4357
  });
4348
- function rs(e, t, n, o, r, s) {
4358
+ function is(e, t, n, o, r, s) {
4349
4359
  const i = g("InlinedStyles");
4350
4360
  return d(), k(i, {
4351
4361
  id: "builderio-content",
4352
4362
  styles: e.injectedStyles
4353
4363
  }, null, 8, ["styles"]);
4354
4364
  }
4355
- const ss = /* @__PURE__ */ b(os, [["render", rs]]), is = ({
4365
+ const as = /* @__PURE__ */ b(ss, [["render", is]]), ls = ({
4356
4366
  content: e,
4357
4367
  data: t,
4358
4368
  locale: n
@@ -4369,7 +4379,7 @@ const ss = /* @__PURE__ */ b(os, [["render", rs]]), is = ({
4369
4379
  locale: n
4370
4380
  } : {}
4371
4381
  };
4372
- }, as = ({
4382
+ }, cs = ({
4373
4383
  content: e,
4374
4384
  data: t
4375
4385
  }) => e ? {
@@ -4379,12 +4389,12 @@ const ss = /* @__PURE__ */ b(os, [["render", rs]]), is = ({
4379
4389
  ...t
4380
4390
  },
4381
4391
  meta: e == null ? void 0 : e.meta
4382
- } : void 0, ls = ft, cs = f({
4392
+ } : void 0, ds = ft, us = f({
4383
4393
  name: "content-component",
4384
4394
  components: {
4385
- EnableEditor: ns,
4395
+ EnableEditor: rs,
4386
4396
  InlinedScript: et,
4387
- ContentStyles: ss,
4397
+ ContentStyles: as,
4388
4398
  Blocks: M,
4389
4399
  DynamicDiv: Q
4390
4400
  },
@@ -4394,25 +4404,25 @@ const ss = /* @__PURE__ */ b(os, [["render", rs]]), is = ({
4394
4404
  "data",
4395
4405
  "locale",
4396
4406
  "context",
4407
+ "canTrack",
4397
4408
  "apiKey",
4398
4409
  "apiVersion",
4399
4410
  "blocksWrapper",
4400
4411
  "blocksWrapperProps",
4401
4412
  "model",
4402
- "canTrack",
4403
4413
  "enrich",
4404
4414
  "showContent",
4405
4415
  "contentWrapper",
4406
4416
  "contentWrapperProps",
4407
- "linkComponent",
4408
4417
  "trustedHosts",
4409
4418
  "isSsrAbTest",
4410
- "isNestedRender"
4419
+ "isNestedRender",
4420
+ "linkComponent"
4411
4421
  ],
4412
4422
  data() {
4413
4423
  var e, t;
4414
4424
  return {
4415
- scriptStr: kr({
4425
+ scriptStr: vr({
4416
4426
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4417
4427
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
4418
4428
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4425,25 +4435,26 @@ const ss = /* @__PURE__ */ b(os, [["render", rs]]), is = ({
4425
4435
  (n, { component: o, ...r }) => ({
4426
4436
  ...n,
4427
4437
  [r.name]: {
4428
- component: ls(o),
4438
+ component: ds(o),
4429
4439
  ...de(r)
4430
4440
  }
4431
4441
  }),
4432
4442
  {}
4433
4443
  ),
4434
4444
  builderContextSignal: {
4435
- content: as({
4445
+ content: cs({
4436
4446
  content: this.content,
4437
4447
  data: this.data
4438
4448
  }),
4439
4449
  localState: void 0,
4440
- rootState: is({
4450
+ rootState: ls({
4441
4451
  content: this.content,
4442
4452
  data: this.data,
4443
4453
  locale: this.locale
4444
4454
  }),
4445
4455
  rootSetState: this.contentSetState,
4446
4456
  context: this.context || {},
4457
+ canTrack: this.canTrack,
4447
4458
  apiKey: this.apiKey,
4448
4459
  apiVersion: this.apiVersion,
4449
4460
  componentInfos: [
@@ -4460,7 +4471,7 @@ const ss = /* @__PURE__ */ b(os, [["render", rs]]), is = ({
4460
4471
  BlocksWrapper: this.blocksWrapper || "div",
4461
4472
  BlocksWrapperProps: this.blocksWrapperProps || {}
4462
4473
  },
4463
- TARGET: x
4474
+ TARGET: $
4464
4475
  };
4465
4476
  },
4466
4477
  provide() {
@@ -4477,7 +4488,7 @@ const ss = /* @__PURE__ */ b(os, [["render", rs]]), is = ({
4477
4488
  }
4478
4489
  }
4479
4490
  });
4480
- function ds(e, t, n, o, r, s) {
4491
+ function ps(e, t, n, o, r, s) {
4481
4492
  const i = g("InlinedScript"), l = g("ContentStyles"), a = g("Blocks"), u = g("EnableEditor");
4482
4493
  return d(), k(u, w({
4483
4494
  content: e.content,
@@ -4492,7 +4503,6 @@ function ds(e, t, n, o, r, s) {
4492
4503
  builderContextSignal: e.builderContextSignal,
4493
4504
  contentWrapper: e.contentWrapper,
4494
4505
  contentWrapperProps: e.contentWrapperProps,
4495
- linkComponent: e.linkComponent,
4496
4506
  trustedHosts: e.trustedHosts
4497
4507
  }, {}), {
4498
4508
  default: V(() => {
@@ -4510,7 +4520,7 @@ function ds(e, t, n, o, r, s) {
4510
4520
  cssCode: (p = (c = e.builderContextSignal.content) == null ? void 0 : c.data) == null ? void 0 : p.cssCode,
4511
4521
  customFonts: (y = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : y.customFonts
4512
4522
  }, null, 8, ["isNestedRender", "contentId", "cssCode", "customFonts"])) : S("", !0),
4513
- $(a, {
4523
+ R(a, {
4514
4524
  blocks: (X = (F = e.builderContextSignal.content) == null ? void 0 : F.data) == null ? void 0 : X.blocks,
4515
4525
  context: e.builderContextSignal,
4516
4526
  registeredComponents: e.registeredComponents,
@@ -4519,14 +4529,14 @@ function ds(e, t, n, o, r, s) {
4519
4529
  ];
4520
4530
  }),
4521
4531
  _: 1
4522
- }, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "linkComponent", "trustedHosts"]);
4532
+ }, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
4523
4533
  }
4524
- const us = /* @__PURE__ */ b(cs, [["render", ds]]), ps = f({
4534
+ const ms = /* @__PURE__ */ b(us, [["render", ps]]), hs = f({
4525
4535
  name: "content-variants",
4526
4536
  components: {
4527
4537
  InlinedScript: et,
4528
4538
  InlinedStyles: be,
4529
- ContentComponent: us
4539
+ ContentComponent: ms
4530
4540
  },
4531
4541
  props: [
4532
4542
  "canTrack",
@@ -4549,12 +4559,12 @@ const us = /* @__PURE__ */ b(cs, [["render", ds]]), ps = f({
4549
4559
  ],
4550
4560
  data() {
4551
4561
  return {
4552
- shouldRenderVariants: fr({
4562
+ shouldRenderVariants: gr({
4553
4563
  canTrack: G(this.canTrack),
4554
4564
  content: this.content
4555
4565
  }),
4556
- TARGET: x,
4557
- getInitVariantsFnsScriptString: gr,
4566
+ TARGET: $,
4567
+ getInitVariantsFnsScriptString: kr,
4558
4568
  getVariants: _
4559
4569
  };
4560
4570
  },
@@ -4563,7 +4573,7 @@ const us = /* @__PURE__ */ b(cs, [["render", ds]]), ps = f({
4563
4573
  computed: {
4564
4574
  updateCookieAndStylesScriptStr() {
4565
4575
  var e;
4566
- return yr(
4576
+ return Sr(
4567
4577
  _(this.content).map((t) => ({
4568
4578
  id: t.testVariationId,
4569
4579
  testRatio: t.testRatio
@@ -4579,14 +4589,14 @@ const us = /* @__PURE__ */ b(cs, [["render", ds]]), ps = f({
4579
4589
  return this.shouldRenderVariants ? {
4580
4590
  ...this.content,
4581
4591
  testVariationId: (e = this.content) == null ? void 0 : e.id
4582
- } : On({
4592
+ } : Un({
4583
4593
  item: this.content,
4584
4594
  canTrack: G(this.canTrack)
4585
4595
  });
4586
4596
  }
4587
4597
  }
4588
4598
  });
4589
- function ms(e, t, n, o, r, s) {
4599
+ function fs(e, t, n, o, r, s) {
4590
4600
  const i = g("InlinedScript"), l = g("InlinedStyles"), a = g("ContentComponent");
4591
4601
  return d(), m(I, null, [
4592
4602
  !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), k(i, {
@@ -4595,11 +4605,11 @@ function ms(e, t, n, o, r, s) {
4595
4605
  scriptStr: e.getInitVariantsFnsScriptString()
4596
4606
  }, null, 8, ["scriptStr"])) : S("", !0),
4597
4607
  e.shouldRenderVariants ? (d(), m(I, { key: 1 }, [
4598
- $(l, {
4608
+ R(l, {
4599
4609
  id: "builderio-variants",
4600
4610
  styles: e.hideVariantsStyleString
4601
4611
  }, null, 8, ["styles"]),
4602
- $(i, {
4612
+ R(i, {
4603
4613
  id: "builderio-variants-visibility",
4604
4614
  scriptStr: e.updateCookieAndStylesScriptStr
4605
4615
  }, null, 8, ["scriptStr"]),
@@ -4626,7 +4636,7 @@ function ms(e, t, n, o, r, s) {
4626
4636
  trustedHosts: e.trustedHosts
4627
4637
  }, null, 8, ["isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
4628
4638
  ], 64)) : S("", !0),
4629
- $(a, w({
4639
+ R(a, w({
4630
4640
  isNestedRender: e.isNestedRender,
4631
4641
  content: e.defaultContent,
4632
4642
  showContent: !0,
@@ -4651,7 +4661,7 @@ function ms(e, t, n, o, r, s) {
4651
4661
  }), null, 16, ["isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
4652
4662
  ], 64);
4653
4663
  }
4654
- const hs = /* @__PURE__ */ b(ps, [["render", ms]]), fs = async ({
4664
+ const bs = /* @__PURE__ */ b(hs, [["render", fs]]), gs = async ({
4655
4665
  builderContextValue: e,
4656
4666
  symbol: t
4657
4667
  }) => {
@@ -4667,11 +4677,11 @@ const hs = /* @__PURE__ */ b(ps, [["render", ms]]), fs = async ({
4667
4677
  }
4668
4678
  }
4669
4679
  }).catch((n) => {
4670
- E.error("Could not fetch symbol content: ", n);
4680
+ B.error("Could not fetch symbol content: ", n);
4671
4681
  });
4672
- }, bs = f({
4682
+ }, ys = f({
4673
4683
  name: "builder-symbol",
4674
- components: { ContentVariants: hs, DynamicDiv: Q },
4684
+ components: { ContentVariants: bs, DynamicDiv: Q },
4675
4685
  props: [
4676
4686
  "symbol",
4677
4687
  "attributes",
@@ -4720,7 +4730,7 @@ const hs = /* @__PURE__ */ b(ps, [["render", ms]]), fs = async ({
4720
4730
  },
4721
4731
  methods: {
4722
4732
  setContent() {
4723
- this.contentToUse || fs({
4733
+ this.contentToUse || gs({
4724
4734
  symbol: this.symbol,
4725
4735
  builderContextValue: this.builderContext
4726
4736
  }).then((e) => {
@@ -4729,11 +4739,11 @@ const hs = /* @__PURE__ */ b(ps, [["render", ms]]), fs = async ({
4729
4739
  }
4730
4740
  }
4731
4741
  });
4732
- function gs(e, t, n, o, r, s) {
4742
+ function ks(e, t, n, o, r, s) {
4733
4743
  var l, a, u, h, c;
4734
4744
  const i = g("ContentVariants");
4735
- return d(), m("div", w({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4736
- $(i, {
4745
+ return d(), m("div", w({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4746
+ R(i, {
4737
4747
  isNestedRender: !0,
4738
4748
  apiVersion: e.builderContext.apiVersion,
4739
4749
  apiKey: e.builderContext.apiKey,
@@ -4747,26 +4757,27 @@ function gs(e, t, n, o, r, s) {
4747
4757
  ...e.builderContext.localState,
4748
4758
  ...(h = (u = e.contentToUse) == null ? void 0 : u.data) == null ? void 0 : h.state
4749
4759
  },
4760
+ canTrack: e.builderContext.canTrack,
4750
4761
  model: (c = e.symbol) == null ? void 0 : c.model,
4751
4762
  content: e.contentToUse,
4752
4763
  linkComponent: e.builderLinkComponent,
4753
4764
  blocksWrapper: e.blocksWrapper,
4754
4765
  contentWrapper: e.contentWrapper
4755
- }, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
4766
+ }, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
4756
4767
  ], 16);
4757
4768
  }
4758
- const ys = /* @__PURE__ */ b(bs, [["render", gs]]), Be = {};
4759
- function Ps(e) {
4769
+ const Ss = /* @__PURE__ */ b(ys, [["render", ks]]), Pe = {};
4770
+ function xs(e) {
4760
4771
  if (T()) {
4761
- Object.assign(Be, e);
4772
+ Object.assign(Pe, e);
4762
4773
  const t = {
4763
4774
  type: "builder.settingsChange",
4764
- data: Be
4775
+ data: Pe
4765
4776
  };
4766
4777
  parent.postMessage(t, "*");
4767
4778
  }
4768
4779
  }
4769
- const Bs = async (e) => {
4780
+ const As = async (e) => {
4770
4781
  var o, r, s;
4771
4782
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
4772
4783
  ...e,
@@ -4787,43 +4798,43 @@ const Bs = async (e) => {
4787
4798
  };
4788
4799
  };
4789
4800
  export {
4790
- Rr as A,
4801
+ Br as A,
4791
4802
  fe as B,
4792
- mn as C,
4793
- Er as D,
4803
+ fn as C,
4804
+ Pr as D,
4794
4805
  ke as E,
4795
- bn as F,
4796
- Cs as G,
4797
- Is as H,
4798
- Tn as I,
4799
- Rn as S,
4800
- x as T,
4801
- lr as V,
4806
+ yn as F,
4807
+ Ts as G,
4808
+ Rs as H,
4809
+ $n as I,
4810
+ Bn as S,
4811
+ $ as T,
4812
+ dr as V,
4802
4813
  be as _,
4803
- cn as a,
4804
- ws as b,
4814
+ un as a,
4815
+ Is as b,
4805
4816
  U as c,
4806
- $s as d,
4817
+ Es as d,
4807
4818
  he as e,
4808
4819
  b as f,
4809
4820
  De as g,
4810
4821
  te as h,
4811
- Ts as i,
4822
+ $s as i,
4812
4823
  ee as j,
4813
4824
  ce as k,
4814
4825
  Ct as l,
4815
- ys as m,
4816
- po as n,
4826
+ Ss as m,
4827
+ ho as n,
4817
4828
  M as o,
4818
- hs as p,
4819
- R as q,
4820
- Pr as r,
4821
- dr as s,
4822
- zr as t,
4823
- Ps as u,
4829
+ bs as p,
4830
+ E as q,
4831
+ xr as r,
4832
+ pr as s,
4833
+ Gr as t,
4834
+ xs as u,
4824
4835
  ot as v,
4825
- ls as w,
4826
- Rs as x,
4827
- Es as y,
4828
- Bs as z
4836
+ ds as w,
4837
+ Bs as x,
4838
+ Ps as y,
4839
+ As as z
4829
4840
  };