@builder.io/sdk-vue 5.2.9 → 5.2.11

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 (83) hide show
  1. package/lib/browser/{awaiter-QtLKYOQC.cjs → awaiter-MAyQwJUp.cjs} +1 -1
  2. package/lib/browser/{awaiter-GiQQpYhW.js → awaiter-quz2SFrg.js} +1 -1
  3. package/lib/browser/{block-wrapper-ViH1iyRS.js → block-wrapper-SCckT0M5.js} +3 -3
  4. package/lib/browser/{block-wrapper-y-IsMpII.cjs → block-wrapper-vBu_Ygm8.cjs} +1 -1
  5. package/lib/browser/{component-ref-rZJpDoXF.cjs → component-ref-HWBSC66Y.cjs} +1 -1
  6. package/lib/browser/{component-ref-zhlOI1eN.js → component-ref-owc3e0h8.js} +4 -4
  7. package/lib/browser/components/content/components/enable-editor.vue.d.ts +3 -0
  8. package/lib/browser/components/content/content.vue.d.ts +3 -0
  9. package/lib/browser/components/content-variants/content-variants.types.d.ts +8 -0
  10. package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -0
  11. package/lib/browser/constants/sdk-version.d.ts +1 -1
  12. package/lib/browser/functions/get-content/types.d.ts +27 -0
  13. package/lib/browser/{get-block-properties-GRPDkwr1.js → get-block-properties-Hny6jqGG.js} +1 -1
  14. package/lib/browser/{get-block-properties-d2CFs8mL.cjs → get-block-properties-odFddSWh.cjs} +1 -1
  15. package/lib/browser/{index-jB9t6TLT.js → index-7bXAC1Q8.js} +692 -682
  16. package/lib/browser/index-uDRmkrr4.cjs +350 -0
  17. package/lib/browser/index.cjs +1 -1
  18. package/lib/browser/index.mjs +1 -1
  19. package/lib/browser/{live-edit-1ndmHzhK.cjs → live-edit-AUagAEej.cjs} +1 -1
  20. package/lib/browser/{live-edit-3N2WSAw-.js → live-edit-x4eHrcJh.js} +1 -1
  21. package/lib/browser/{repeated-block-XxWoPtha.cjs → repeated-block-ZGXPYgA8.cjs} +1 -1
  22. package/lib/browser/{repeated-block-9RiEvqga.js → repeated-block-uVi8A50N.js} +2 -2
  23. package/lib/browser/scripts/init-editing.d.ts +2 -0
  24. package/lib/browser/{style-wrapper-_KapIYCB.cjs → style-wrapper-C_c9B5_Y.cjs} +1 -1
  25. package/lib/browser/{style-wrapper--RSHsBTz.js → style-wrapper-usFESjt5.js} +1 -1
  26. package/lib/edge/{awaiter-OrQGcr3m.js → awaiter-RSfMls5f.js} +1 -1
  27. package/lib/edge/{awaiter-v2bPTW8r.cjs → awaiter-zow2zgzw.cjs} +1 -1
  28. package/lib/{node/block-wrapper-9Cx64vVu.cjs → edge/block-wrapper-4qKpWsP8.cjs} +1 -1
  29. package/lib/edge/{block-wrapper-ZzFH9Ulb.js → block-wrapper-GT2d4luN.js} +3 -3
  30. package/lib/edge/{component-ref-6FeHZp7H.js → component-ref-1iPK0xOE.js} +4 -4
  31. package/lib/edge/{component-ref-R3PgJrYU.cjs → component-ref-WdOIbmOU.cjs} +1 -1
  32. package/lib/edge/components/content/components/enable-editor.vue.d.ts +3 -0
  33. package/lib/edge/components/content/content.vue.d.ts +3 -0
  34. package/lib/edge/components/content-variants/content-variants.types.d.ts +8 -0
  35. package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -0
  36. package/lib/edge/constants/sdk-version.d.ts +1 -1
  37. package/lib/edge/functions/get-content/types.d.ts +27 -0
  38. package/lib/edge/{get-block-properties-nY3-hKH0.cjs → get-block-properties-2E03ld67.cjs} +1 -1
  39. package/lib/edge/{get-block-properties-yRp1-2RV.js → get-block-properties-bMVCvUX0.js} +1 -1
  40. package/lib/edge/{index-ptOklu9Y.js → index-Bgm0yCrN.js} +1229 -1219
  41. package/lib/edge/index-LWGIJNVx.cjs +368 -0
  42. package/lib/edge/index.cjs +1 -1
  43. package/lib/edge/index.mjs +1 -1
  44. package/lib/{node/live-edit-LIJBIu6y.cjs → edge/live-edit-oLYhcuYs.cjs} +1 -1
  45. package/lib/edge/{live-edit-B5uw3o8F.js → live-edit-tegdYGJO.js} +1 -1
  46. package/lib/edge/{repeated-block-2_Qz4lsj.cjs → repeated-block--MhEsXmR.cjs} +1 -1
  47. package/lib/edge/{repeated-block-uNrMFIKx.js → repeated-block-yZJM5I60.js} +2 -2
  48. package/lib/edge/scripts/init-editing.d.ts +2 -0
  49. package/lib/edge/{style-wrapper-Zga-Wtqn.cjs → style-wrapper-8JiLG-FF.cjs} +1 -1
  50. package/lib/edge/{style-wrapper-vpmAkV03.js → style-wrapper-i8R7NpdY.js} +1 -1
  51. package/lib/node/{awaiter-bswJZJnI.cjs → awaiter-Vwjft2v-.cjs} +1 -1
  52. package/lib/node/{awaiter-TiRf4nxt.js → awaiter-o3ynOQKr.js} +1 -1
  53. package/lib/{edge/block-wrapper-wbI15Y2t.cjs → node/block-wrapper-KX1-Y2Oq.cjs} +1 -1
  54. package/lib/node/{block-wrapper-itY5eEAP.js → block-wrapper-PUFgSKq_.js} +3 -3
  55. package/lib/node/{component-ref-9RhufDjP.js → component-ref-HmJKie9z.js} +5 -5
  56. package/lib/node/{component-ref-2UVw1lsO.cjs → component-ref-o3vjSyAQ.cjs} +1 -1
  57. package/lib/node/components/content/components/enable-editor.vue.d.ts +3 -0
  58. package/lib/node/components/content/content.vue.d.ts +3 -0
  59. package/lib/node/components/content-variants/content-variants.types.d.ts +8 -0
  60. package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -0
  61. package/lib/node/constants/sdk-version.d.ts +1 -1
  62. package/lib/node/functions/get-content/types.d.ts +27 -0
  63. package/lib/node/{get-block-properties-nLiNlxIX.cjs → get-block-properties-2yGkQVh7.cjs} +1 -1
  64. package/lib/node/{get-block-properties-TbU7Zqh1.js → get-block-properties-DGfMhs4M.js} +2 -2
  65. package/lib/node/index-7xT7wMXt.cjs +350 -0
  66. package/lib/node/{index-sSbqLpd0.js → index-JQgNoVXs.js} +639 -629
  67. package/lib/node/index.cjs +1 -1
  68. package/lib/node/index.mjs +2 -2
  69. package/lib/node/init.cjs +1 -1
  70. package/lib/node/init.mjs +1 -1
  71. package/lib/node/{live-edit-RkqTgGBJ.js → live-edit-hxNZMHld.js} +1 -1
  72. package/lib/{edge/live-edit-OxTeX9Lr.cjs → node/live-edit-xPik2aUh.cjs} +1 -1
  73. package/lib/node/{repeated-block-wHkyYKX5.cjs → repeated-block-LHiXlO3e.cjs} +1 -1
  74. package/lib/node/{repeated-block-XWWc2Vbn.js → repeated-block-PvGSbsHD.js} +2 -2
  75. package/lib/node/scripts/init-editing.d.ts +2 -0
  76. package/lib/node/{should-force-browser-runtime-in-node-raAbGE2L.cjs → should-force-browser-runtime-in-node-aeKfQiEQ.cjs} +1 -1
  77. package/lib/node/{should-force-browser-runtime-in-node-WtPYGMUG.js → should-force-browser-runtime-in-node-ooRgTwqs.js} +1 -1
  78. package/lib/node/{style-wrapper-0ycJqVq3.cjs → style-wrapper-3l8xaVr4.cjs} +1 -1
  79. package/lib/node/{style-wrapper-iWa0ZPUf.js → style-wrapper-U-7exIwN.js} +2 -2
  80. package/package.json +1 -1
  81. package/lib/browser/index--piap5VV.cjs +0 -350
  82. package/lib/edge/index-dGvhih8u.cjs +0 -368
  83. package/lib/node/index-demcjU9J.cjs +0 -350
@@ -1,5 +1,5 @@
1
- import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as U, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as Ct, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as Qe, createElementVNode as q, normalizeStyle as M, normalizeClass as Z, markRaw as Tt } from "vue";
2
- import { T as R, g as wt, f as It, i as E, s as $t, r as Rt, p as Et, a as Pt, l as L, b as Ye, c as Te, d as At, n as Xe, S as Bt, e as we, h as re, j as Vt, k as Ze, m as Nt, o as A, q as _e, _ as xe } from "./should-force-browser-runtime-in-node-WtPYGMUG.js";
1
+ import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as X, mergeProps as I, toHandlers as x, withCtx as D, renderSlot as V, resolveComponent as k, createTextVNode as Ct, toDisplayString as ce, defineAsyncComponent as Y, createVNode as $, renderList as U, createCommentVNode as T, h as Qe, createElementVNode as K, normalizeStyle as H, normalizeClass as _, markRaw as Tt } from "vue";
2
+ import { T as R, g as wt, f as It, i as E, s as $t, r as Rt, p as Et, a as Pt, l as F, b as Ye, c as we, d as At, n as Xe, S as Bt, e as Ie, h as ie, j as Vt, k as Ze, m as Nt, o as A, q as _e, _ as Oe } from "./should-force-browser-runtime-in-node-ooRgTwqs.js";
3
3
  const Wt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Dt = (e) => typeof e == "string" && Wt.has(e.toLowerCase());
4
4
  function N(e = {}, t, n) {
5
5
  const o = {};
@@ -11,7 +11,7 @@ function N(e = {}, t, n) {
11
11
  }
12
12
  return o;
13
13
  }
14
- const xt = y({
14
+ const Ot = y({
15
15
  name: "dynamic-renderer",
16
16
  props: ["TagName", "attributes", "actionAttributes"],
17
17
  data() {
@@ -23,25 +23,25 @@ const xt = y({
23
23
  n[o] = r;
24
24
  return n;
25
25
  };
26
- function Ot(e, t, n, o, r, i) {
27
- return e.isEmptyElement(e.TagName) ? (d(), S(Y(e.TagName), I({ key: 1 }, e.attributes, U(e.actionAttributes)), null, 16)) : (d(), h(w, { key: 0 }, [
28
- typeof e.TagName == "string" ? (d(), S(Y(e.TagName), I({ key: 0 }, e.attributes, U(e.actionAttributes)), {
29
- default: x(() => [
26
+ function xt(e, t, n, o, r, i) {
27
+ return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName), I({ key: 1 }, e.attributes, x(e.actionAttributes)), null, 16)) : (d(), h(w, { key: 0 }, [
28
+ typeof e.TagName == "string" ? (d(), S(X(e.TagName), I({ key: 0 }, e.attributes, x(e.actionAttributes)), {
29
+ default: D(() => [
30
30
  V(e.$slots, "default")
31
31
  ]),
32
32
  _: 3
33
- }, 16)) : (d(), S(Y(e.TagName), I({ key: 1 }, e.attributes, U(e.actionAttributes)), {
34
- default: x(() => [
33
+ }, 16)) : (d(), S(X(e.TagName), I({ key: 1 }, e.attributes, x(e.actionAttributes)), {
34
+ default: D(() => [
35
35
  V(e.$slots, "default")
36
36
  ]),
37
37
  _: 3
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const $e = /* @__PURE__ */ v(Ot, [["render", xt]]), Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
- default: Ie
44
- }, Symbol.toStringTag, { value: "Module" })), z = () => {
43
+ default: $e
44
+ }, Symbol.toStringTag, { value: "Module" })), M = () => {
45
45
  switch (R) {
46
46
  case "react":
47
47
  case "reactNative":
@@ -56,7 +56,7 @@ const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Xi = /* @__PURE__ */ Object.
56
56
  }
57
57
  }, Ut = y({
58
58
  name: "builder-button",
59
- components: { DynamicRenderer: Ie },
59
+ components: { DynamicRenderer: $e },
60
60
  props: [
61
61
  "attributes",
62
62
  "link",
@@ -71,7 +71,7 @@ const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Xi = /* @__PURE__ */ Object.
71
71
  attrs() {
72
72
  return {
73
73
  ...N(this.attributes, "v-on:", !1),
74
- [z()]: `${this.link ? "" : "builder-button"} ${this.attributes[z()] || ""}`,
74
+ [M()]: `${this.link ? "" : "builder-button"} ${this.attributes[M()] || ""}`,
75
75
  ...this.link ? {
76
76
  href: this.link,
77
77
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -90,13 +90,13 @@ function Ft(e, t, n, o, r, i) {
90
90
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
91
91
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
92
92
  }, {
93
- default: x(() => [
94
- Ct(le(e.text), 1)
93
+ default: D(() => [
94
+ Ct(ce(e.text), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }, 8, ["attributes", "TagName", "actionAttributes"]);
98
98
  }
99
- const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), he = {
99
+ const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), fe = {
100
100
  Builder: {
101
101
  content: null,
102
102
  context: {},
@@ -146,7 +146,7 @@ const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), he = {
146
146
  var t, n, o, r, i, s;
147
147
  return ((o = (n = (t = qt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Kt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
148
148
  };
149
- function _({
149
+ function ee({
150
150
  code: e,
151
151
  context: t,
152
152
  localState: n,
@@ -178,7 +178,7 @@ function _({
178
178
  try {
179
179
  return jt(u);
180
180
  } catch (p) {
181
- L.error("Failed code evaluation: " + p.message, {
181
+ F.error("Failed code evaluation: " + p.message, {
182
182
  code: e
183
183
  });
184
184
  return;
@@ -197,7 +197,7 @@ const Qt = (e, t) => {
197
197
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((o = e.component.options) != null && o.text) && typeof e.component.options.text == "string")
198
198
  return {
199
199
  ...e.component.options,
200
- text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, i) => _({
200
+ text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, i) => ee({
201
201
  code: i,
202
202
  context: t,
203
203
  localState: t.localState,
@@ -212,7 +212,7 @@ function Yt(e, ...t) {
212
212
  delete n[o];
213
213
  return n;
214
214
  }
215
- function ie(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
215
+ function se(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
216
216
  if (e == null || typeof e != "object") {
217
217
  t(e, (i) => {
218
218
  n !== null && o !== null && (n[o] = i);
@@ -222,11 +222,11 @@ function ie(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
222
222
  r.has(e) || (r.add(e), Array.isArray(e) ? e.forEach((i, s) => {
223
223
  t(i, (a) => {
224
224
  e[s] = a;
225
- }), ie(i, t, e, s, r);
225
+ }), se(i, t, e, s, r);
226
226
  }) : Object.entries(e).forEach(([i, s]) => {
227
227
  t(s, (a) => {
228
228
  e[i] = a;
229
- }), ie(s, t, e, i, r);
229
+ }), se(s, t, e, i, r);
230
230
  }));
231
231
  }
232
232
  function nt(e) {
@@ -236,7 +236,7 @@ function Xt(e) {
236
236
  if (!e || !Object.getOwnPropertyNames(e).length)
237
237
  return !1;
238
238
  let t = !1;
239
- return ie(e, (n) => {
239
+ return se(e, (n) => {
240
240
  if (nt(n)) {
241
241
  t = !0;
242
242
  return;
@@ -244,7 +244,7 @@ function Xt(e) {
244
244
  }), t;
245
245
  }
246
246
  function Zt(e, t) {
247
- return !e || !Object.getOwnPropertyNames(e).length ? {} : (ie(e, (n, o) => {
247
+ return !e || !Object.getOwnPropertyNames(e).length ? {} : (se(e, (n, o) => {
248
248
  nt(n) && o(n[t] ?? void 0);
249
249
  }), e);
250
250
  }
@@ -252,21 +252,21 @@ function _t(e, t) {
252
252
  var n, o;
253
253
  return (n = e.component) != null && n.options && Xt((o = e.component) == null ? void 0 : o.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Zt(e.component.options, t ?? "Default")), e;
254
254
  }
255
- function fe(e) {
255
+ function be(e) {
256
256
  if (e === null || typeof e != "object")
257
257
  return e;
258
258
  if (Array.isArray(e))
259
- return e.map((n) => fe(n));
259
+ return e.map((n) => be(n));
260
260
  if (e["@type"] === "@builder.io/sdk:Element")
261
261
  return e;
262
262
  const t = {};
263
263
  for (const n in e)
264
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = fe(e[n]));
264
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = be(e[n]));
265
265
  return t;
266
266
  }
267
267
  const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) => {
268
268
  if (en) {
269
- const t = Te(e);
269
+ const t = we(e);
270
270
  return {
271
271
  ...t,
272
272
  properties: {
@@ -277,7 +277,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
277
277
  }
278
278
  };
279
279
  } else {
280
- const t = fe(Yt(e, "children", "meta"));
280
+ const t = be(Yt(e, "children", "meta"));
281
281
  return {
282
282
  ...t,
283
283
  properties: {
@@ -301,7 +301,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
301
301
  return e;
302
302
  const i = tn(e);
303
303
  for (const s in e.bindings) {
304
- const l = e.bindings[s], a = _({
304
+ const l = e.bindings[s], a = ee({
305
305
  code: l,
306
306
  localState: n,
307
307
  rootState: o,
@@ -328,25 +328,25 @@ function on({
328
328
  context: t
329
329
  }), i = _t(i, o.locale), i;
330
330
  }
331
- function $e(e) {
331
+ function Re(e) {
332
332
  const t = e || (E() ? window.location.search : void 0);
333
333
  return t ? At(t).indexOf("builder.preview=") !== -1 : !1;
334
334
  }
335
335
  const rn = (e) => ({
336
336
  type: "builder.registerComponent",
337
- data: se(e)
337
+ data: ae(e)
338
338
  }), sn = (e) => {
339
339
  const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
340
340
  return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
341
341
  };
342
- function se(e) {
342
+ function ae(e) {
343
343
  return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? sn(n) : n));
344
344
  }
345
- const Oe = {};
346
- function Zi(e, t) {
347
- e === "plugin" && (t = se(t));
348
- let n = Oe[e];
349
- if (n || (n = Oe[e] = []), n.push(t), E()) {
345
+ const xe = {};
346
+ function _i(e, t) {
347
+ e === "plugin" && (t = ae(t));
348
+ let n = xe[e];
349
+ if (n || (n = xe[e] = []), n.push(t), E()) {
350
350
  const o = {
351
351
  type: "builder.register",
352
352
  data: {
@@ -361,7 +361,7 @@ function Zi(e, t) {
361
361
  }
362
362
  }
363
363
  }
364
- function _i(e) {
364
+ function es(e) {
365
365
  var t;
366
366
  if (E()) {
367
367
  const n = JSON.parse(JSON.stringify(e));
@@ -372,7 +372,7 @@ function _i(e) {
372
372
  }
373
373
  }
374
374
  const Ue = {};
375
- function es(e) {
375
+ function ts(e) {
376
376
  if (E()) {
377
377
  Object.assign(Ue, e);
378
378
  const t = {
@@ -441,9 +441,9 @@ const it = (e) => {
441
441
  switch (r.type) {
442
442
  case "builder.evaluate": {
443
443
  const l = r.data.text, a = r.data.arguments || [], u = r.data.id, p = new Function(l);
444
- let f, c = null;
444
+ let b, c = null;
445
445
  try {
446
- f = p.apply(null, a);
446
+ b = p.apply(null, a);
447
447
  } catch (m) {
448
448
  c = m;
449
449
  }
@@ -453,9 +453,9 @@ const it = (e) => {
453
453
  id: u,
454
454
  error: c.message
455
455
  }
456
- }, "*") : f && typeof f.then == "function" ? f.then((m) => {
457
- var b;
458
- (b = window.parent) == null || b.postMessage({
456
+ }, "*") : b && typeof b.then == "function" ? b.then((m) => {
457
+ var f;
458
+ (f = window.parent) == null || f.postMessage({
459
459
  type: "builder.evaluateResult",
460
460
  data: {
461
461
  id: u,
@@ -465,7 +465,7 @@ const it = (e) => {
465
465
  }).catch(console.error) : (s = window.parent) == null || s.postMessage({
466
466
  type: "builder.evaluateResult",
467
467
  data: {
468
- result: f,
468
+ result: b,
469
469
  id: u
470
470
  }
471
471
  }, "*");
@@ -504,14 +504,14 @@ const it = (e) => {
504
504
  break;
505
505
  }
506
506
  }
507
- }, ts = ({
507
+ }, ns = ({
508
508
  model: e,
509
509
  apiKey: t,
510
510
  callback: n,
511
511
  trustedHosts: o
512
512
  }) => {
513
513
  if (!E)
514
- return L.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
514
+ return F.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
515
515
  };
516
516
  it({
517
517
  modelName: e,
@@ -533,24 +533,24 @@ const it = (e) => {
533
533
  return window.addEventListener("message", r), () => {
534
534
  window.removeEventListener("message", r);
535
535
  };
536
- }, dn = "builder.tests", Re = (e) => `${dn}.${e}`, un = ({
536
+ }, dn = "builder.tests", Ee = (e) => `${dn}.${e}`, un = ({
537
537
  contentId: e
538
538
  }) => Vt({
539
- name: Re(e),
539
+ name: Ee(e),
540
540
  canTrack: !0
541
541
  }), pn = ({
542
542
  contentId: e
543
- }) => we({
544
- name: Re(e),
543
+ }) => Ie({
544
+ name: Ee(e),
545
545
  canTrack: !0
546
546
  }), mn = ({
547
547
  contentId: e,
548
548
  value: t
549
549
  }) => Ze({
550
- name: Re(e),
550
+ name: Ee(e),
551
551
  value: t,
552
552
  canTrack: !0
553
- }), at = (e) => re(e.id) && re(e.variations) && Object.keys(e.variations).length > 0, hn = ({
553
+ }), at = (e) => ie(e.id) && ie(e.variations) && Object.keys(e.variations).length > 0, hn = ({
554
554
  id: e,
555
555
  variations: t
556
556
  }) => {
@@ -569,7 +569,7 @@ const it = (e) => {
569
569
  contentId: e.id,
570
570
  value: t
571
571
  }).catch((n) => {
572
- L.error("could not store A/B test variation: ", n);
572
+ F.error("could not store A/B test variation: ", n);
573
573
  }), t;
574
574
  }, ct = ({
575
575
  item: e,
@@ -647,7 +647,7 @@ function Me() {
647
647
  }), t.forEach((r) => r(o));
648
648
  },
649
649
  getUserAttributes() {
650
- return E() ? JSON.parse(we({
650
+ return E() ? JSON.parse(Ie({
651
651
  name: He,
652
652
  canTrack: e
653
653
  }) || "{}") : {};
@@ -664,13 +664,13 @@ function Me() {
664
664
  }
665
665
  };
666
666
  }
667
- let be;
668
- E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Me()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = Me();
669
- const ae = be, ns = (e) => {
670
- ae.setUserAttributes(e);
671
- }, K = (e) => {
672
- const t = re(e) ? e : !0;
673
- return ae.setCanTrack(t), t;
667
+ let ge;
668
+ E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Me()), ge = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ge = Me();
669
+ const le = ge, os = (e) => {
670
+ le.setUserAttributes(e);
671
+ }, J = (e) => {
672
+ const t = ie(e) ? e : !0;
673
+ return le.setCanTrack(t), t;
674
674
  };
675
675
  function gn() {
676
676
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
@@ -683,12 +683,12 @@ function yn() {
683
683
  return e;
684
684
  }
685
685
  const vn = yn();
686
- function ge(e, t = null, n = ".") {
686
+ function ye(e, t = null, n = ".") {
687
687
  return Object.keys(e).reduce((o, r) => {
688
688
  const i = e[r], s = [t, r].filter(Boolean).join(n);
689
689
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
690
690
  ...o,
691
- ...ge(i, s, n)
691
+ ...ye(i, s, n)
692
692
  } : {
693
693
  ...o,
694
694
  [s]: i
@@ -714,7 +714,7 @@ function Sn(e) {
714
714
  }
715
715
  return t;
716
716
  }
717
- const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ee = (e) => {
717
+ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Pe = (e) => {
718
718
  const {
719
719
  limit: t = 30,
720
720
  userAttributes: n,
@@ -722,81 +722,82 @@ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ee = (
722
722
  model: r,
723
723
  apiKey: i,
724
724
  enrich: s,
725
- locale: l,
726
- apiVersion: a = kn,
727
- fields: u,
728
- omit: p,
729
- offset: f,
730
- cacheSeconds: c,
731
- staleCacheSeconds: m,
732
- sort: b,
733
- includeUnpublished: g,
734
- apiHost: P
725
+ enrichOptions: l,
726
+ locale: a,
727
+ apiVersion: u = kn,
728
+ fields: p,
729
+ omit: b,
730
+ offset: c,
731
+ cacheSeconds: m,
732
+ staleCacheSeconds: f,
733
+ sort: g,
734
+ includeUnpublished: P,
735
+ apiHost: O
735
736
  } = e;
736
737
  if (!i)
737
738
  throw new Error("Missing API key");
738
- if (!["v3"].includes(a))
739
- throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
740
- const O = t !== 1, B = P || "https://cdn.builder.io", T = new URL(`${B}/api/${a}/content/${r}`);
741
- T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(O)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l);
742
- let W = n || {};
743
- if (s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", p ?? "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && T.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && T.searchParams.set("includeUnpublished", String(g)), c && ze(c) && T.searchParams.set("cacheSeconds", String(c)), m && ze(m) && T.searchParams.set("staleCacheSeconds", String(m)), b) {
744
- const D = ge({
745
- sort: b
739
+ if (!["v3"].includes(u))
740
+ throw new Error(`Invalid apiVersion: expected 'v3', received '${u}'`);
741
+ const B = t !== 1, q = O || "https://cdn.builder.io", C = new URL(`${q}/api/${u}/content/${r}`);
742
+ C.searchParams.set("apiKey", i), C.searchParams.set("limit", String(t)), C.searchParams.set("noTraverse", String(B)), C.searchParams.set("includeRefs", String(!0)), a && C.searchParams.set("locale", a);
743
+ let z = n || {};
744
+ if (s && C.searchParams.set("enrich", String(s)), s && l && C.searchParams.set("enrichOptions", JSON.stringify(l)), C.searchParams.set("omit", b ?? "meta.componentsUsed"), p && C.searchParams.set("fields", p), Number.isFinite(c) && c > -1 && C.searchParams.set("offset", String(Math.floor(c))), typeof P == "boolean" && C.searchParams.set("includeUnpublished", String(P)), m && ze(m) && C.searchParams.set("cacheSeconds", String(m)), f && ze(f) && C.searchParams.set("staleCacheSeconds", String(f)), g) {
745
+ const W = ye({
746
+ sort: g
746
747
  });
747
- for (const H in D)
748
- T.searchParams.set(H, JSON.stringify(D[H]));
748
+ for (const L in W)
749
+ C.searchParams.set(L, JSON.stringify(W[L]));
749
750
  }
750
- const J = {
751
+ const G = {
751
752
  ...ln(),
752
753
  ...Xe(e.options || {})
753
754
  };
754
- W = {
755
- ...W,
756
- ...Tn(J)
755
+ z = {
756
+ ...z,
757
+ ...wn(G)
757
758
  };
758
- const G = ge(J);
759
- for (const D in G)
760
- T.searchParams.set(D, String(G[D]));
761
- if (Object.keys(W).length > 0 && T.searchParams.set("userAttributes", JSON.stringify(W)), o) {
762
- const D = dt({
759
+ const Q = ye(G);
760
+ for (const W in Q)
761
+ C.searchParams.set(W, String(Q[W]));
762
+ if (Object.keys(z).length > 0 && C.searchParams.set("userAttributes", JSON.stringify(z)), o) {
763
+ const W = dt({
763
764
  query: o
764
765
  });
765
- for (const H in D)
766
- T.searchParams.set(H, JSON.stringify(D[H]));
766
+ for (const L in W)
767
+ C.searchParams.set(L, JSON.stringify(W[L]));
767
768
  }
768
- return T;
769
- }, Cn = (e) => {
769
+ return C;
770
+ }, Cn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, Tn = (e) => {
770
771
  const t = {};
771
772
  for (const n in e)
772
- n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
773
+ n.startsWith("userAttributes.") && (t[n] = Cn(e[n]), delete e[n]);
773
774
  return t;
774
- }, Tn = (e) => {
775
+ }, wn = (e) => {
775
776
  if (E() && e.preview === "BUILDER_STUDIO") {
776
777
  e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
777
- const t = Cn(e), {
778
+ const t = Tn(e), {
778
779
  userAttributes: n
779
780
  } = Sn(t);
780
781
  return n;
781
782
  }
782
783
  return {};
783
- }, wn = (e) => "results" in e;
784
- async function Pe(e) {
784
+ }, In = (e) => "results" in e;
785
+ async function Ae(e) {
785
786
  var o;
786
787
  const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
787
788
  t && (e.locale = t, e.userAttributes = {
788
789
  locale: t,
789
790
  ...e.userAttributes
790
791
  });
791
- const n = await Rn({
792
+ const n = await En({
792
793
  ...e,
793
794
  limit: 1
794
795
  });
795
796
  return n && n[0] || null;
796
797
  }
797
- const In = async (e) => {
798
+ const $n = async (e) => {
798
799
  var s;
799
- const t = Ee(e), n = e.fetch ?? vn, o = {
800
+ const t = Pe(e), n = e.fetch ?? vn, o = {
800
801
  ...e.fetchOptions,
801
802
  headers: {
802
803
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
@@ -804,8 +805,8 @@ const In = async (e) => {
804
805
  }
805
806
  };
806
807
  return await (await n(t.href, o)).json();
807
- }, $n = async (e, t, n = Ee(e)) => {
808
- const o = K(e.canTrack);
808
+ }, Rn = async (e, t, n = Pe(e)) => {
809
+ const o = J(e.canTrack);
809
810
  if (n.search.includes("preview="), !o || !(E() || R === "reactNative"))
810
811
  return t.results;
811
812
  try {
@@ -817,21 +818,21 @@ const In = async (e) => {
817
818
  }));
818
819
  t.results = r;
819
820
  } catch (r) {
820
- L.error("Could not process A/B tests. ", r);
821
+ F.error("Could not process A/B tests. ", r);
821
822
  }
822
823
  return t.results;
823
824
  };
824
- async function Rn(e) {
825
- const t = Ee(e), n = await In(e);
826
- if (!wn(n))
827
- throw L.error("Error fetching data. ", {
825
+ async function En(e) {
826
+ const t = Pe(e), n = await $n(e);
827
+ if (!In(n))
828
+ throw F.error("Error fetching data. ", {
828
829
  url: t,
829
830
  content: n,
830
831
  options: e
831
832
  }), n;
832
- return $n(e, n);
833
+ return Rn(e, n);
833
834
  }
834
- const os = async (e) => {
835
+ const rs = async (e) => {
835
836
  var o, r, i;
836
837
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
837
838
  ...e,
@@ -848,10 +849,10 @@ const os = async (e) => {
848
849
  return {
849
850
  apiKey: n.apiKey,
850
851
  model: n.model,
851
- content: await Pe(n)
852
+ content: await Ae(n)
852
853
  };
853
- }, Ae = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
854
- function En(e, t, n = {}) {
854
+ }, Be = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
855
+ function Pn(e, t, n = {}) {
855
856
  let o, r, i, s = null, l = 0;
856
857
  const a = function() {
857
858
  l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
@@ -863,7 +864,7 @@ function En(e, t, n = {}) {
863
864
  return o = this, r = arguments, p <= 0 || p > t ? (s && (clearTimeout(s), s = null), l = u, i = e.apply(o, r), s || (o = r = null)) : !s && n.trailing !== !1 && (s = setTimeout(a, p)), i;
864
865
  };
865
866
  }
866
- function X(e, ...t) {
867
+ function Z(e, ...t) {
867
868
  const n = Object(e);
868
869
  for (let o = 1; o < arguments.length; o++) {
869
870
  const r = arguments[o];
@@ -873,14 +874,14 @@ function X(e, ...t) {
873
874
  }
874
875
  return n;
875
876
  }
876
- function Pn(e) {
877
+ function An(e) {
877
878
  for (const t of e)
878
879
  switch (t.trigger) {
879
880
  case "pageLoad":
880
881
  mt(t);
881
882
  break;
882
883
  case "scrollInView":
883
- Bn(t);
884
+ Vn(t);
884
885
  break;
885
886
  }
886
887
  }
@@ -888,12 +889,12 @@ function ut(e) {
888
889
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
889
890
  }
890
891
  function pt(e, t) {
891
- const n = An(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
892
+ const n = Bn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
892
893
  for (const l of s)
893
894
  for (const a of n)
894
895
  a in l || (l[a] = o[a]);
895
896
  }
896
- function An(e) {
897
+ function Bn(e) {
897
898
  const t = [];
898
899
  for (const n of e.steps)
899
900
  for (const o in n.styles)
@@ -907,14 +908,14 @@ function mt(e) {
907
908
  return;
908
909
  }
909
910
  Array.from(t).forEach((n) => {
910
- pt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
911
- n.style.transition = `all ${e.duration}s ${Ae(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
911
+ pt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Z(n.style, e.steps[0].styles), setTimeout(() => {
912
+ n.style.transition = `all ${e.duration}s ${Be(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Z(n.style, e.steps[1].styles), setTimeout(() => {
912
913
  n.style.transition = "", n.style.transitionDelay = "";
913
914
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
914
915
  });
915
916
  });
916
917
  }
917
- function Bn(e) {
918
+ function Vn(e) {
918
919
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
919
920
  if (!t.length) {
920
921
  ut(e.elementId || e.id || "");
@@ -925,24 +926,24 @@ function Bn(e) {
925
926
  let o = !1, r = !1;
926
927
  function i() {
927
928
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
928
- X(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
929
+ Z(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
929
930
  r = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
930
931
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
931
- })) : e.repeat && o && !r && !l(n) && (o = !1, X(n.style, e.steps[0].styles));
932
+ })) : e.repeat && o && !r && !l(n) && (o = !1, Z(n.style, e.steps[0].styles));
932
933
  }
933
- const s = En(i, 200, {
934
+ const s = Pn(i, 200, {
934
935
  leading: !1
935
936
  });
936
937
  function l(p) {
937
- const f = p.getBoundingClientRect(), c = window.innerHeight, b = (e.thresholdPercent || 0) / 100 * c;
938
- return f.bottom > b && f.top < c - b;
938
+ const b = p.getBoundingClientRect(), c = window.innerHeight, f = (e.thresholdPercent || 0) / 100 * c;
939
+ return b.bottom > f && b.top < c - f;
939
940
  }
940
941
  const a = e.steps[0].styles;
941
942
  function u() {
942
- X(n.style, a);
943
+ Z(n.style, a);
943
944
  }
944
945
  u(), setTimeout(() => {
945
- n.style.transition = `all ${e.duration}s ${Ae(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
946
+ n.style.transition = `all ${e.duration}s ${Be(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
946
947
  }), document.addEventListener("scroll", s, {
947
948
  capture: !0,
948
949
  passive: !0
@@ -951,29 +952,29 @@ function Bn(e) {
951
952
  }
952
953
  const ht = (e) => Object.entries(e).map(([n, o]) => {
953
954
  if (typeof o == "string")
954
- return `${Ae(n)}: ${o};`;
955
- }).filter(re), Vn = (e) => ht(e).join(`
956
- `), rs = ({
955
+ return `${Be(n)}: ${o};`;
956
+ }).filter(ie), Nn = (e) => ht(e).join(`
957
+ `), is = ({
957
958
  mediaQuery: e,
958
959
  className: t,
959
960
  styles: n
960
961
  }) => {
961
962
  const o = `.${t} {
962
- ${Vn(n)}
963
+ ${Nn(n)}
963
964
  }`;
964
965
  return e ? `${e} {
965
966
  ${o}
966
967
  }` : o;
967
968
  };
968
- function Nn({
969
+ function Wn({
969
970
  style: e
970
971
  }) {
971
972
  return e;
972
973
  }
973
- const is = ({
974
+ const ss = ({
974
975
  block: e,
975
976
  context: t
976
- }) => ft(Nn({
977
+ }) => ft(Wn({
977
978
  style: e.style || {},
978
979
  context: t,
979
980
  block: e
@@ -992,7 +993,7 @@ function ft(e) {
992
993
  return e;
993
994
  }
994
995
  }
995
- const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Wn = ({
996
+ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Dn = ({
996
997
  block: e,
997
998
  registeredComponents: t,
998
999
  model: n
@@ -1009,7 +1010,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1009
1010
  return;
1010
1011
  } else
1011
1012
  return r;
1012
- }, Dn = ({
1013
+ }, On = ({
1013
1014
  block: e,
1014
1015
  context: t
1015
1016
  }) => {
@@ -1019,7 +1020,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1019
1020
  } = e;
1020
1021
  if (!(n != null && n.collection))
1021
1022
  return;
1022
- const r = _({
1023
+ const r = ee({
1023
1024
  code: n.collection,
1024
1025
  localState: t.localState,
1025
1026
  rootState: t.rootState,
@@ -1047,54 +1048,54 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1047
1048
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
1048
1049
  builderLinkComponent: t
1049
1050
  } : {};
1050
- }, On = (e, t, n) => {
1051
+ }, Un = (e, t, n) => {
1051
1052
  var o;
1052
1053
  return (o = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && o.builderComponents ? {
1053
1054
  builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !bt(s, n)))
1054
1055
  } : {};
1055
- }, Un = (e, t) => {
1056
+ }, Fn = (e, t) => {
1056
1057
  var n;
1057
1058
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1058
1059
  builderBlock: t
1059
1060
  } : {};
1060
- }, Fn = (e, t) => {
1061
+ }, Ln = (e, t) => {
1061
1062
  var n;
1062
1063
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1063
1064
  builderContext: t
1064
1065
  } : {};
1065
- }, Ln = (e) => e.toString(), Hn = () => Promise.resolve().then(() => to).then((e) => e.default).catch((e) => {
1066
+ }, Hn = (e) => e.toString(), Mn = () => Promise.resolve().then(() => no).then((e) => e.default).catch((e) => {
1066
1067
  throw console.error(
1067
1068
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1068
1069
  e
1069
1070
  ), e;
1070
- }), Mn = () => import("./block-wrapper-itY5eEAP.js").then((e) => e.default).catch((e) => {
1071
+ }), zn = () => import("./block-wrapper-PUFgSKq_.js").then((e) => e.default).catch((e) => {
1071
1072
  throw console.error(
1072
1073
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1073
1074
  e
1074
1075
  ), e;
1075
- }), zn = () => import("./component-ref-9RhufDjP.js").then((e) => e.default).catch((e) => {
1076
+ }), jn = () => import("./component-ref-HmJKie9z.js").then((e) => e.default).catch((e) => {
1076
1077
  throw console.error(
1077
1078
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1078
1079
  e
1079
1080
  ), e;
1080
- }), jn = () => import("./repeated-block-XWWc2Vbn.js").then((e) => e.default).catch((e) => {
1081
+ }), qn = () => import("./repeated-block-PvGSbsHD.js").then((e) => e.default).catch((e) => {
1081
1082
  throw console.error(
1082
1083
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1083
1084
  e
1084
1085
  ), e;
1085
- }), qn = () => import("./style-wrapper-iWa0ZPUf.js").then((e) => e.default).catch((e) => {
1086
+ }), Kn = () => import("./style-wrapper-U-7exIwN.js").then((e) => e.default).catch((e) => {
1086
1087
  throw console.error(
1087
1088
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
1088
1089
  e
1089
1090
  ), e;
1090
- }), Kn = y({
1091
+ }), Jn = y({
1091
1092
  name: "block",
1092
1093
  components: {
1093
- StyleWrapper: Q(qn),
1094
- RepeatedBlock: Q(jn),
1095
- ComponentRef: Q(zn),
1096
- BlockWrapper: Q(Mn),
1097
- DynamicDiv: Q(Hn)
1094
+ StyleWrapper: Y(Kn),
1095
+ RepeatedBlock: Y(qn),
1096
+ ComponentRef: Y(jn),
1097
+ BlockWrapper: Y(zn),
1098
+ DynamicDiv: Y(Mn)
1098
1099
  },
1099
1100
  props: ["block", "context", "registeredComponents", "linkComponent"],
1100
1101
  data() {
@@ -1103,12 +1104,12 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1103
1104
  value: null,
1104
1105
  update: !1
1105
1106
  },
1106
- generateKey: Ln
1107
+ generateKey: Hn
1107
1108
  };
1108
1109
  },
1109
1110
  mounted() {
1110
1111
  const e = this.processedBlock.id, t = this.processedBlock.animations;
1111
- t && e && Pn(
1112
+ t && e && An(
1112
1113
  t.map((n) => ({
1113
1114
  ...n,
1114
1115
  elementId: e
@@ -1119,7 +1120,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1119
1120
  },
1120
1121
  computed: {
1121
1122
  repeatItem() {
1122
- return Dn({
1123
+ return On({
1123
1124
  block: this.block,
1124
1125
  context: this.context
1125
1126
  });
@@ -1135,7 +1136,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1135
1136
  });
1136
1137
  },
1137
1138
  blockComponent() {
1138
- return Wn({
1139
+ return Dn({
1139
1140
  block: this.processedBlock,
1140
1141
  registeredComponents: this.registeredComponents,
1141
1142
  model: this.context.model
@@ -1163,10 +1164,10 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1163
1164
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1164
1165
  componentOptions: {
1165
1166
  ...Gt(this.processedBlock, this.context),
1166
- ...Un(this.blockComponent, this.processedBlock),
1167
- ...Fn(this.blockComponent, this.context),
1167
+ ...Fn(this.blockComponent, this.processedBlock),
1168
+ ...Ln(this.blockComponent, this.context),
1168
1169
  ...xn(this.blockComponent, this.linkComponent),
1169
- ...On(
1170
+ ...Un(
1170
1171
  this.blockComponent,
1171
1172
  this.registeredComponents,
1172
1173
  this.context.model
@@ -1182,8 +1183,8 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1182
1183
  }
1183
1184
  }
1184
1185
  });
1185
- function Jn(e, t, n, o, r, i) {
1186
- var f;
1186
+ function Gn(e, t, n, o, r, i) {
1187
+ var b;
1187
1188
  const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
1188
1189
  return e.canShowBlock ? (d(), h(w, { key: 0 }, [
1189
1190
  $(s, {
@@ -1191,8 +1192,8 @@ function Jn(e, t, n, o, r, i) {
1191
1192
  context: e.context,
1192
1193
  id: e.block.id
1193
1194
  }, null, 8, ["block", "context", "id"]),
1194
- (f = e.blockComponent) != null && f.noWrap ? (d(), h(w, { key: 1 }, [
1195
- e.repeatItem ? (d(!0), h(w, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1195
+ (b = e.blockComponent) != null && b.noWrap ? (d(), h(w, { key: 1 }, [
1196
+ e.repeatItem ? (d(!0), h(w, { key: 1 }, U(e.repeatItem, (c, m) => (d(), S(p, {
1196
1197
  key: e.generateKey(m),
1197
1198
  repeatContext: c.context,
1198
1199
  block: c.block,
@@ -1211,7 +1212,7 @@ function Jn(e, t, n, o, r, i) {
1211
1212
  isInteractive: e.componentRefProps.isInteractive
1212
1213
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
1213
1214
  ], 64)) : (d(), h(w, { key: 0 }, [
1214
- e.repeatItem ? (d(!0), h(w, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1215
+ e.repeatItem ? (d(!0), h(w, { key: 1 }, U(e.repeatItem, (c, m) => (d(), S(p, {
1215
1216
  key: e.generateKey(m),
1216
1217
  repeatContext: c.context,
1217
1218
  block: c.block,
@@ -1223,7 +1224,7 @@ function Jn(e, t, n, o, r, i) {
1223
1224
  block: e.processedBlock,
1224
1225
  context: e.context
1225
1226
  }, {
1226
- default: x(() => [
1227
+ default: D(() => [
1227
1228
  $(l, {
1228
1229
  componentRef: e.componentRefProps.componentRef,
1229
1230
  componentOptions: e.componentRefProps.componentOptions,
@@ -1235,7 +1236,7 @@ function Jn(e, t, n, o, r, i) {
1235
1236
  includeBlockProps: e.componentRefProps.includeBlockProps,
1236
1237
  isInteractive: e.componentRefProps.isInteractive
1237
1238
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
1238
- (d(!0), h(w, null, F(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1239
+ (d(!0), h(w, null, U(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1239
1240
  key: c.id,
1240
1241
  block: c,
1241
1242
  registeredComponents: e.registeredComponents,
@@ -1246,12 +1247,12 @@ function Jn(e, t, n, o, r, i) {
1246
1247
  _: 1
1247
1248
  }, 8, ["Wrapper", "block", "context"]))
1248
1249
  ], 64))
1249
- ], 64)) : C("", !0);
1250
+ ], 64)) : T("", !0);
1250
1251
  }
1251
- const gt = /* @__PURE__ */ v(Kn, [["render", Jn]]), ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1252
+ const gt = /* @__PURE__ */ v(Jn, [["render", Gn]]), as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1252
1253
  __proto__: null,
1253
1254
  default: gt
1254
- }, Symbol.toStringTag, { value: "Module" })), Gn = y({
1255
+ }, Symbol.toStringTag, { value: "Module" })), Qn = y({
1255
1256
  name: "builder-blocks-wrapper",
1256
1257
  props: [
1257
1258
  "blocks",
@@ -1321,8 +1322,8 @@ const gt = /* @__PURE__ */ v(Kn, [["render", Jn]]), ss = /* @__PURE__ */ Object.
1321
1322
  }
1322
1323
  }
1323
1324
  });
1324
- function Qn(e, t, n, o, r, i) {
1325
- return d(), S(Y(e.BlocksWrapper), I({
1325
+ function Yn(e, t, n, o, r, i) {
1326
+ return d(), S(X(e.BlocksWrapper), I({
1326
1327
  ref: "blocksWrapperRef",
1327
1328
  class: e.className + " component-5vz8uirn7sc",
1328
1329
  "builder-path": e.dataPath,
@@ -1332,15 +1333,15 @@ function Qn(e, t, n, o, r, i) {
1332
1333
  onMouseEnter: (s) => e.onMouseEnter(),
1333
1334
  onKeyPress: (s) => e.onClick()
1334
1335
  }, { ...e.BlocksWrapperProps }), {
1335
- default: x(() => [
1336
+ default: D(() => [
1336
1337
  V(e.$slots, "default", {}, void 0, !0)
1337
1338
  ]),
1338
1339
  _: 3
1339
1340
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1340
1341
  }
1341
- const Yn = /* @__PURE__ */ v(Gn, [["render", Qn], ["__scopeId", "data-v-82fc93d6"]]), Xn = y({
1342
+ const Xn = /* @__PURE__ */ v(Qn, [["render", Yn], ["__scopeId", "data-v-82fc93d6"]]), Zn = y({
1342
1343
  name: "builder-blocks",
1343
- components: { BlocksWrapper: Yn, Block: gt },
1344
+ components: { BlocksWrapper: Xn, Block: gt },
1344
1345
  props: [
1345
1346
  "blocks",
1346
1347
  "parent",
@@ -1353,12 +1354,12 @@ const Yn = /* @__PURE__ */ v(Gn, [["render", Qn], ["__scopeId", "data-v-82fc93d6
1353
1354
  "registeredComponents"
1354
1355
  ],
1355
1356
  inject: {
1356
- builderContext: he.key,
1357
+ builderContext: fe.key,
1357
1358
  componentsContext: et.key
1358
1359
  }
1359
1360
  });
1360
- function Zn(e, t, n, o, r, i) {
1361
- var a, u, p, f;
1361
+ function _n(e, t, n, o, r, i) {
1362
+ var a, u, p, b;
1362
1363
  const s = k("Block"), l = k("BlocksWrapper");
1363
1364
  return d(), S(l, {
1364
1365
  blocks: e.blocks,
@@ -1367,37 +1368,37 @@ function Zn(e, t, n, o, r, i) {
1367
1368
  styleProp: e.styleProp,
1368
1369
  BlocksWrapperProps: e.BlocksWrapperProps || ((a = e.context) == null ? void 0 : a.BlocksWrapperProps) || ((u = e.builderContext) == null ? void 0 : u.BlocksWrapperProps),
1369
1370
  classNameProp: e.className,
1370
- BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((f = e.builderContext) == null ? void 0 : f.BlocksWrapper)
1371
+ BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
1371
1372
  }, {
1372
- default: x(() => [
1373
+ default: D(() => [
1373
1374
  V(e.$slots, "default"),
1374
- e.blocks ? (d(!0), h(w, { key: 0 }, F(e.blocks, (c, m) => {
1375
- var b;
1375
+ e.blocks ? (d(!0), h(w, { key: 0 }, U(e.blocks, (c, m) => {
1376
+ var f;
1376
1377
  return d(), S(s, {
1377
1378
  key: c.id,
1378
1379
  block: c,
1379
1380
  linkComponent: e.linkComponent,
1380
1381
  context: e.context || e.builderContext,
1381
- registeredComponents: e.registeredComponents || ((b = e.componentsContext) == null ? void 0 : b.registeredComponents)
1382
+ registeredComponents: e.registeredComponents || ((f = e.componentsContext) == null ? void 0 : f.registeredComponents)
1382
1383
  }, null, 8, ["block", "linkComponent", "context", "registeredComponents"]);
1383
- }), 128)) : C("", !0)
1384
+ }), 128)) : T("", !0)
1384
1385
  ]),
1385
1386
  _: 3
1386
1387
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
1387
1388
  }
1388
- const j = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = y({
1389
+ const j = /* @__PURE__ */ v(Zn, [["render", _n]]), eo = y({
1389
1390
  name: "dynamic-div",
1390
1391
  props: []
1391
1392
  });
1392
- function eo(e, t, n, o, r, i) {
1393
+ function to(e, t, n, o, r, i) {
1393
1394
  return d(), h("div", null, [
1394
1395
  V(e.$slots, "default")
1395
1396
  ]);
1396
1397
  }
1397
- const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1398
+ const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1398
1399
  __proto__: null,
1399
- default: ee
1400
- }, Symbol.toStringTag, { value: "Module" })), ce = y({
1400
+ default: te
1401
+ }, Symbol.toStringTag, { value: "Module" })), de = y({
1401
1402
  render() {
1402
1403
  return Qe("style", {
1403
1404
  innerHTML: this.styles,
@@ -1428,8 +1429,8 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
1428
1429
  default: 991,
1429
1430
  max: 1200
1430
1431
  }
1431
- }, as = (e, t = yt) => `@media (max-width: ${t[e].max}px)`, no = (e) => {
1432
- const t = Te(yt);
1432
+ }, ls = (e, t = yt) => `@media (max-width: ${t[e].max}px)`, oo = (e) => {
1433
+ const t = we(yt);
1433
1434
  if (!e)
1434
1435
  return t;
1435
1436
  const {
@@ -1466,13 +1467,13 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
1466
1467
  min: l,
1467
1468
  default: l + 1
1468
1469
  }, t;
1469
- }, oo = (e) => `builder-columns ${e}-breakpoints`, ro = y({
1470
+ }, ro = (e) => `builder-columns ${e}-breakpoints`, io = y({
1470
1471
  name: "builder-columns",
1471
1472
  components: {
1472
- InlinedStyles: ce,
1473
- DynamicRenderer: Ie,
1473
+ InlinedStyles: de,
1474
+ DynamicRenderer: $e,
1474
1475
  Blocks: j,
1475
- DynamicDiv: ee
1476
+ DynamicDiv: te
1476
1477
  },
1477
1478
  props: [
1478
1479
  "space",
@@ -1485,7 +1486,7 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
1485
1486
  "builderComponents"
1486
1487
  ],
1487
1488
  data() {
1488
- return { TARGET: R, getColumnsClass: oo };
1489
+ return { TARGET: R, getColumnsClass: ro };
1489
1490
  },
1490
1491
  computed: {
1491
1492
  gutterSize() {
@@ -1564,7 +1565,7 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
1564
1565
  },
1565
1566
  getWidthForBreakpointSize(e) {
1566
1567
  var n, o;
1567
- return no(
1568
+ return oo(
1568
1569
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1569
1570
  )[e].max;
1570
1571
  },
@@ -1601,13 +1602,13 @@ const ee = /* @__PURE__ */ v(_n, [["render", eo]]), to = /* @__PURE__ */ Object.
1601
1602
  ...e.link ? {
1602
1603
  href: e.link
1603
1604
  } : {},
1604
- [z()]: "builder-column",
1605
+ [M()]: "builder-column",
1605
1606
  style: ft(this.columnCssVars(t))
1606
1607
  };
1607
1608
  }
1608
1609
  }
1609
1610
  });
1610
- function io(e, t, n, o, r, i) {
1611
+ function so(e, t, n, o, r, i) {
1611
1612
  var u;
1612
1613
  const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
1613
1614
  return d(), h("div", I({
@@ -1619,16 +1620,16 @@ function io(e, t, n, o, r, i) {
1619
1620
  id: "builderio-columns",
1620
1621
  styles: e.columnsStyles(),
1621
1622
  nonce: e.builderContext.nonce
1622
- }, null, 8, ["styles", "nonce"])) : C("", !0),
1623
- (d(!0), h(w, null, F(e.columns, (p, f) => (d(), S(a, {
1624
- key: f,
1623
+ }, null, 8, ["styles", "nonce"])) : T("", !0),
1624
+ (d(!0), h(w, null, U(e.columns, (p, b) => (d(), S(a, {
1625
+ key: b,
1625
1626
  TagName: e.getTagName(p),
1626
1627
  actionAttributes: {},
1627
- attributes: e.getAttributes(p, f)
1628
+ attributes: e.getAttributes(p, b)
1628
1629
  }, {
1629
- default: x(() => [
1630
+ default: D(() => [
1630
1631
  $(l, {
1631
- path: `columns.${f}.blocks`,
1632
+ path: `columns.${b}.blocks`,
1632
1633
  parent: e.builderBlock.id,
1633
1634
  context: e.builderContext,
1634
1635
  registeredComponents: e.builderComponents,
@@ -1643,24 +1644,24 @@ function io(e, t, n, o, r, i) {
1643
1644
  }, 1032, ["TagName", "attributes"]))), 128))
1644
1645
  ], 16);
1645
1646
  }
1646
- const so = /* @__PURE__ */ v(ro, [["render", io], ["__scopeId", "data-v-ab15749a"]]), ao = y({
1647
+ const ao = /* @__PURE__ */ v(io, [["render", so], ["__scopeId", "data-v-ab15749a"]]), lo = y({
1647
1648
  name: "builder-fragment-component",
1648
1649
  props: []
1649
1650
  });
1650
- function lo(e, t, n, o, r, i) {
1651
+ function co(e, t, n, o, r, i) {
1651
1652
  return d(), h("span", null, [
1652
1653
  V(e.$slots, "default")
1653
1654
  ]);
1654
1655
  }
1655
- const co = /* @__PURE__ */ v(ao, [["render", lo]]);
1656
+ const uo = /* @__PURE__ */ v(lo, [["render", co]]);
1656
1657
  function je(e) {
1657
1658
  return e.replace(/http(s)?:/, "");
1658
1659
  }
1659
- function uo(e = "", t, n) {
1660
+ function po(e = "", t, n) {
1660
1661
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1661
1662
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1662
1663
  }
1663
- function po(e, t) {
1664
+ function mo(e, t) {
1664
1665
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1665
1666
  return e;
1666
1667
  if (t === "master")
@@ -1672,18 +1673,18 @@ function po(e, t) {
1672
1673
  }
1673
1674
  return null;
1674
1675
  }
1675
- function te(e) {
1676
+ function ne(e) {
1676
1677
  if (!e)
1677
1678
  return e;
1678
1679
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1679
1680
  if (e.match(/builder\.io/)) {
1680
1681
  let n = e;
1681
1682
  const o = Number(e.split("?width=")[1]);
1682
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${uo(e, "width", r)} ${r}w`).concat([n]).join(", ");
1683
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${po(e, "width", r)} ${r}w`).concat([n]).join(", ");
1683
1684
  }
1684
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [po(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1685
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [mo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1685
1686
  }
1686
- const mo = y({
1687
+ const ho = y({
1687
1688
  name: "builder-image",
1688
1689
  props: [
1689
1690
  "lazy",
@@ -1713,10 +1714,10 @@ const mo = y({
1713
1714
  if (!this.noWebp) {
1714
1715
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
1715
1716
  if (!this.srcset.includes(this.image.split("?")[0]))
1716
- return console.debug("Removed given srcset"), te(t);
1717
+ return console.debug("Removed given srcset"), ne(t);
1717
1718
  } else if (this.image && !this.srcset)
1718
- return te(t);
1719
- return te(t);
1719
+ return ne(t);
1720
+ return ne(t);
1720
1721
  }
1721
1722
  },
1722
1723
  webpSrcSet() {
@@ -1737,60 +1738,60 @@ const mo = y({
1737
1738
  return this.aspectRatio ? e : void 0;
1738
1739
  }
1739
1740
  }
1740
- }), ho = ["srcset", "sizes"], fo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], bo = {
1741
+ }), fo = ["srcset", "sizes"], bo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], go = {
1741
1742
  key: 2,
1742
1743
  class: "div-t43jfuqn6g-2"
1743
1744
  };
1744
- function go(e, t, n, o, r, i) {
1745
- var s, l, a, u, p, f;
1745
+ function yo(e, t, n, o, r, i) {
1746
+ var s, l, a, u, p, b;
1746
1747
  return d(), h(w, null, [
1747
- q("picture", null, [
1748
+ K("picture", null, [
1748
1749
  e.webpSrcSet ? (d(), h("source", {
1749
1750
  key: 0,
1750
1751
  type: "image/webp",
1751
1752
  srcset: e.webpSrcSet,
1752
1753
  sizes: e.sizesToUse
1753
- }, null, 8, ho)) : C("", !0),
1754
- q("img", {
1754
+ }, null, 8, fo)) : T("", !0),
1755
+ K("img", {
1755
1756
  loading: e.highPriority ? "eager" : "lazy",
1756
1757
  fetchpriority: e.highPriority ? "high" : "auto",
1757
1758
  alt: e.altText || "",
1758
1759
  title: e.title,
1759
1760
  role: e.altText ? void 0 : "presentation",
1760
- style: M({
1761
+ style: H({
1761
1762
  objectPosition: e.backgroundPosition || "center",
1762
1763
  objectFit: e.backgroundSize || "cover",
1763
1764
  ...e.aspectRatioCss
1764
1765
  }),
1765
- class: Z(
1766
+ class: _(
1766
1767
  "builder-image" + (e.className ? " " + e.className : "") + " img-t43jfuqn6g"
1767
1768
  ),
1768
1769
  src: e.image,
1769
1770
  srcset: e.srcSetToUse,
1770
1771
  sizes: e.sizesToUse
1771
- }, null, 14, fo)
1772
+ }, null, 14, bo)
1772
1773
  ]),
1773
1774
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
1774
1775
  key: 0,
1775
1776
  class: "builder-image-sizer div-t43jfuqn6g",
1776
- style: M({
1777
+ style: H({
1777
1778
  paddingTop: e.aspectRatio * 100 + "%"
1778
1779
  })
1779
- }, null, 4)) : C("", !0),
1780
- (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? V(e.$slots, "default", { key: 1 }, void 0, !0) : C("", !0),
1781
- !e.fitContent && ((f = (p = e.builderBlock) == null ? void 0 : p.children) != null && f.length) ? (d(), h("div", bo, [
1780
+ }, null, 4)) : T("", !0),
1781
+ (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? V(e.$slots, "default", { key: 1 }, void 0, !0) : T("", !0),
1782
+ !e.fitContent && ((b = (p = e.builderBlock) == null ? void 0 : p.children) != null && b.length) ? (d(), h("div", go, [
1782
1783
  V(e.$slots, "default", {}, void 0, !0)
1783
- ])) : C("", !0)
1784
+ ])) : T("", !0)
1784
1785
  ], 64);
1785
1786
  }
1786
- const yo = /* @__PURE__ */ v(mo, [["render", go], ["__scopeId", "data-v-bb2384ad"]]), vo = y({
1787
+ const vo = /* @__PURE__ */ v(ho, [["render", yo], ["__scopeId", "data-v-bb2384ad"]]), So = y({
1787
1788
  name: "builder-section-component",
1788
1789
  props: ["attributes", "maxWidth"],
1789
1790
  data() {
1790
1791
  return { filterAttrs: N };
1791
1792
  }
1792
1793
  });
1793
- function So(e, t, n, o, r, i) {
1794
+ function ko(e, t, n, o, r, i) {
1794
1795
  return d(), h("section", I({
1795
1796
  style: {
1796
1797
  width: "100%",
@@ -1804,12 +1805,12 @@ function So(e, t, n, o, r, i) {
1804
1805
  marginLeft: "auto",
1805
1806
  marginRight: "auto"
1806
1807
  }
1807
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1808
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1808
1809
  V(e.$slots, "default")
1809
1810
  ], 16);
1810
1811
  }
1811
- const ko = /* @__PURE__ */ v(vo, [["render", So]]);
1812
- function Co(e, t, n, o) {
1812
+ const Co = /* @__PURE__ */ v(So, [["render", ko]]);
1813
+ function To(e, t, n, o) {
1813
1814
  function r(u) {
1814
1815
  return typeof u == "string";
1815
1816
  }
@@ -1819,41 +1820,41 @@ function Co(e, t, n, o) {
1819
1820
  function s(u, p) {
1820
1821
  return (() => {
1821
1822
  const c = p.property, m = p.operator;
1822
- let b = p.value;
1823
- if (p && p.property === "urlPath" && p.value && typeof p.value == "string" && p.value !== "/" && p.value.endsWith("/") && (b = p.value.slice(0, -1)), !(c && m))
1823
+ let f = p.value;
1824
+ if (p && p.property === "urlPath" && p.value && typeof p.value == "string" && p.value !== "/" && p.value.endsWith("/") && (f = p.value.slice(0, -1)), !(c && m))
1824
1825
  return !0;
1825
- if (Array.isArray(b))
1826
- return m === "isNot" ? b.every((P) => s(u, {
1826
+ if (Array.isArray(f))
1827
+ return m === "isNot" ? f.every((P) => s(u, {
1827
1828
  property: c,
1828
1829
  operator: m,
1829
1830
  value: P
1830
- })) : !!b.find((P) => s(u, {
1831
+ })) : !!f.find((P) => s(u, {
1831
1832
  property: c,
1832
1833
  operator: m,
1833
1834
  value: P
1834
1835
  }));
1835
1836
  const g = u[c];
1836
1837
  if (Array.isArray(g))
1837
- return g.includes(b);
1838
+ return g.includes(f);
1838
1839
  switch (m) {
1839
1840
  case "is":
1840
- return g === b;
1841
+ return g === f;
1841
1842
  case "isNot":
1842
- return g !== b;
1843
+ return g !== f;
1843
1844
  case "contains":
1844
- return (r(g) || Array.isArray(g)) && g.includes(String(b));
1845
+ return (r(g) || Array.isArray(g)) && g.includes(String(f));
1845
1846
  case "startsWith":
1846
- return r(g) && g.startsWith(String(b));
1847
+ return r(g) && g.startsWith(String(f));
1847
1848
  case "endsWith":
1848
- return r(g) && g.endsWith(String(b));
1849
+ return r(g) && g.endsWith(String(f));
1849
1850
  case "greaterThan":
1850
- return i(g) && i(b) && g > b;
1851
+ return i(g) && i(f) && g > f;
1851
1852
  case "lessThan":
1852
- return i(g) && i(b) && g < b;
1853
+ return i(g) && i(f) && g < f;
1853
1854
  case "greaterThanOrEqualTo":
1854
- return i(g) && i(b) && g >= b;
1855
+ return i(g) && i(f) && g >= f;
1855
1856
  case "lessThanOrEqualTo":
1856
- return i(g) && i(b) && g <= b;
1857
+ return i(g) && i(f) && g <= f;
1857
1858
  default:
1858
1859
  return !1;
1859
1860
  }
@@ -1866,7 +1867,7 @@ function Co(e, t, n, o) {
1866
1867
  }, a = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
1867
1868
  return l.startDate && new Date(l.startDate) > a || l.endDate && new Date(l.endDate) < a ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => s(e, u));
1868
1869
  }
1869
- const To = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1870
+ const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1870
1871
  if (!navigator.cookieEnabled) {
1871
1872
  return;
1872
1873
  }
@@ -1911,7 +1912,7 @@ const To = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1911
1912
  thisScript.remove();
1912
1913
  }
1913
1914
  }
1914
- }`, wo = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1915
+ }`, Io = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1915
1916
  function isString(val) {
1916
1917
  return typeof val === 'string';
1917
1918
  }
@@ -1989,7 +1990,7 @@ const To = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1989
1990
  return item.query.every(filter => {
1990
1991
  return objectMatchesQuery(userAttributes, filter);
1991
1992
  });
1992
- }`, Io = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1993
+ }`, $o = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1993
1994
  function getCookie(name) {
1994
1995
  const nameEQ = name + '=';
1995
1996
  const ca = document.cookie.split(';');
@@ -2027,11 +2028,11 @@ const To = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2027
2028
  visibilityStylesEl.innerHTML = newStyleStr;
2028
2029
  }
2029
2030
  }
2030
- }`, ne = "default", qe = "filterWithCustomTargeting", ye = "builderIoPersonalization", ve = "updateVisibilityStylesScript", $o = "PersonalizationContainer", vt = ["react", "vue", "svelte", "qwik"], St = ["vue", "svelte", "qwik"];
2031
- function Ro(e, t) {
2031
+ }`, oe = "default", qe = "filterWithCustomTargeting", ve = "builderIoPersonalization", Se = "updateVisibilityStylesScript", Ro = "PersonalizationContainer", vt = ["react", "vue", "svelte", "qwik"], St = ["vue", "svelte", "qwik"];
2032
+ function Eo(e, t) {
2032
2033
  return !(e && e.length > 0) || !t ? !1 : St.includes(R) ? !0 : !E();
2033
2034
  }
2034
- function Eo({
2035
+ function Po({
2035
2036
  variants: e,
2036
2037
  previewingIndex: t,
2037
2038
  isHydrated: n,
@@ -2041,7 +2042,7 @@ function Eo({
2041
2042
  const i = {
2042
2043
  blocks: r ?? [],
2043
2044
  path: "this.children",
2044
- index: ne
2045
+ index: oe
2045
2046
  };
2046
2047
  if (n && A()) {
2047
2048
  if (typeof t == "number" && t < ((e == null ? void 0 : e.length) ?? 0)) {
@@ -2069,22 +2070,22 @@ function Eo({
2069
2070
  }
2070
2071
  return i;
2071
2072
  }
2072
- const Se = (e) => {
2073
+ const ke = (e) => {
2073
2074
  var t;
2074
- return Array.isArray(e) ? e.some(Se) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === $o ? !0 : Object.values(e).some(Se);
2075
- }, Po = (e) => Se(e), Ao = () => `
2075
+ return Array.isArray(e) ? e.some(ke) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Ro ? !0 : Object.values(e).some(ke);
2076
+ }, Ao = (e) => ke(e), Bo = () => `
2076
2077
  (function() {
2077
2078
  if (!window.${qe}) {
2078
- window.${qe} = ${wo};
2079
- }
2080
- if (!window.${ye}) {
2081
- window.${ye} = ${To};
2079
+ window.${qe} = ${Io};
2082
2080
  }
2083
2081
  if (!window.${ve}) {
2084
- window.${ve} = ${Io};
2082
+ window.${ve} = ${wo};
2083
+ }
2084
+ if (!window.${Se}) {
2085
+ window.${Se} = ${$o};
2085
2086
  }
2086
2087
  })();
2087
- `, kt = R === "react", Bo = (e, t, n) => `window.${ye}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, Vo = (e, t, n) => `window.${ve}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, de = {
2088
+ `, kt = R === "react", Vo = (e, t, n) => `window.${ve}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, No = (e, t, n) => `window.${Se}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, ue = {
2088
2089
  "@type": "@builder.io/sdk:Element",
2089
2090
  layerName: "Accordion item title",
2090
2091
  responsiveStyles: {
@@ -2113,7 +2114,7 @@ const Se = (e) => {
2113
2114
  }
2114
2115
  }
2115
2116
  }]
2116
- }, ue = {
2117
+ }, pe = {
2117
2118
  "@type": "@builder.io/sdk:Element",
2118
2119
  layerName: "Accordion item detail",
2119
2120
  responsiveStyles: {
@@ -2144,7 +2145,7 @@ const Se = (e) => {
2144
2145
  }
2145
2146
  }
2146
2147
  }]
2147
- }, No = {
2148
+ }, Wo = {
2148
2149
  name: "Builder:Accordion",
2149
2150
  canHaveChildren: !0,
2150
2151
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -2161,19 +2162,19 @@ const Se = (e) => {
2161
2162
  name: "title",
2162
2163
  type: "uiBlocks",
2163
2164
  hideFromUI: !0,
2164
- defaultValue: [de]
2165
+ defaultValue: [ue]
2165
2166
  }, {
2166
2167
  name: "detail",
2167
2168
  type: "uiBlocks",
2168
2169
  hideFromUI: !0,
2169
- defaultValue: [ue]
2170
+ defaultValue: [pe]
2170
2171
  }],
2171
2172
  defaultValue: [{
2172
- title: [de],
2173
- detail: [ue]
2173
+ title: [ue],
2174
+ detail: [pe]
2174
2175
  }, {
2175
- title: [de],
2176
- detail: [ue]
2176
+ title: [ue],
2177
+ detail: [pe]
2177
2178
  }],
2178
2179
  showIf: (e) => !e.get("useChildrenForItems")
2179
2180
  }, {
@@ -2208,7 +2209,7 @@ const Se = (e) => {
2208
2209
  builderComponents: !0,
2209
2210
  builderLinkComponent: !0
2210
2211
  }
2211
- }, Wo = (e) => e.toString(), Do = y({
2212
+ }, Do = (e) => e.toString(), Oo = y({
2212
2213
  name: "builder-accordion",
2213
2214
  components: { Blocks: j },
2214
2215
  props: [
@@ -2222,7 +2223,7 @@ const Se = (e) => {
2222
2223
  "builderLinkComponent"
2223
2224
  ],
2224
2225
  data() {
2225
- return { open: [], convertOrderNumberToString: Wo };
2226
+ return { open: [], convertOrderNumberToString: Do };
2226
2227
  },
2227
2228
  computed: {
2228
2229
  onlyOneAtATime() {
@@ -2304,16 +2305,16 @@ const Se = (e) => {
2304
2305
  }
2305
2306
  }
2306
2307
  }), xo = ["data-index", "onClick"];
2307
- function Oo(e, t, n, o, r, i) {
2308
+ function Uo(e, t, n, o, r, i) {
2308
2309
  const s = k("Blocks");
2309
2310
  return d(), h("div", {
2310
2311
  class: "builder-accordion",
2311
- style: M(e.accordionStyles)
2312
+ style: H(e.accordionStyles)
2312
2313
  }, [
2313
- (d(!0), h(w, null, F(e.items, (l, a) => (d(), h(w, { key: a }, [
2314
- q("div", {
2315
- class: Z(e.getAccordionTitleClassName(a)),
2316
- style: M({
2314
+ (d(!0), h(w, null, U(e.items, (l, a) => (d(), h(w, { key: a }, [
2315
+ K("div", {
2316
+ class: _(e.getAccordionTitleClassName(a)),
2317
+ style: H({
2317
2318
  ...e.accordionTitleStyles,
2318
2319
  ...e.grid && {
2319
2320
  width: e.gridRowWidth,
@@ -2334,8 +2335,8 @@ function Oo(e, t, n, o, r, i) {
2334
2335
  ], 14, xo),
2335
2336
  e.open.includes(a) ? (d(), h("div", {
2336
2337
  key: 0,
2337
- class: Z(e.getAccordionDetailClassName(a)),
2338
- style: M(e.accordionDetailStyles)
2338
+ class: _(e.getAccordionDetailClassName(a)),
2339
+ style: H(e.accordionDetailStyles)
2339
2340
  }, [
2340
2341
  $(s, {
2341
2342
  blocks: l.detail,
@@ -2345,11 +2346,11 @@ function Oo(e, t, n, o, r, i) {
2345
2346
  registeredComponents: e.builderComponents,
2346
2347
  linkComponent: e.builderLinkComponent
2347
2348
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2348
- ], 6)) : C("", !0)
2349
+ ], 6)) : T("", !0)
2349
2350
  ], 64))), 128))
2350
2351
  ], 4);
2351
2352
  }
2352
- const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2353
+ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2353
2354
  name: "Core:Button",
2354
2355
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2355
2356
  defaultStyles: {
@@ -2385,7 +2386,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2385
2386
  shouldReceiveBuilderProps: {
2386
2387
  builderLinkComponent: !0
2387
2388
  }
2388
- }, Lo = {
2389
+ }, Ho = {
2389
2390
  // TODO: ways to statically preprocess JSON for references, functions, etc
2390
2391
  name: "Columns",
2391
2392
  isRSC: !0,
@@ -2592,13 +2593,13 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2592
2593
  builderComponents: !0,
2593
2594
  builderLinkComponent: !0
2594
2595
  }
2595
- }, Ho = {
2596
+ }, Mo = {
2596
2597
  name: "Fragment",
2597
2598
  static: !0,
2598
2599
  hidden: !0,
2599
2600
  canHaveChildren: !0,
2600
2601
  noWrap: !0
2601
- }, Be = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Mo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], zo = {
2602
+ }, Ve = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], zo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], jo = {
2602
2603
  name: "Image",
2603
2604
  static: !0,
2604
2605
  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",
@@ -2613,7 +2614,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2613
2614
  name: "image",
2614
2615
  type: "file",
2615
2616
  bubble: !0,
2616
- allowedFileTypes: Be,
2617
+ allowedFileTypes: Ve,
2617
2618
  required: !0,
2618
2619
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
2619
2620
  onChange: (e) => {
@@ -2621,13 +2622,13 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2621
2622
  function n(s, l = 6e4) {
2622
2623
  return new Promise((a, u) => {
2623
2624
  const p = document.createElement("img");
2624
- let f = !1;
2625
+ let b = !1;
2625
2626
  p.onload = () => {
2626
- f = !0, a(p);
2627
+ b = !0, a(p);
2627
2628
  }, p.addEventListener("error", (c) => {
2628
2629
  console.warn("Image load failed", c.error), u(c.error);
2629
2630
  }), p.src = s, setTimeout(() => {
2630
- f || u(new Error("Image load timed out"));
2631
+ b || u(new Error("Image load timed out"));
2631
2632
  }, l);
2632
2633
  });
2633
2634
  }
@@ -2711,7 +2712,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2711
2712
  shouldReceiveBuilderProps: {
2712
2713
  builderBlock: !0
2713
2714
  }
2714
- }, jo = {
2715
+ }, qo = {
2715
2716
  name: "PersonalizationContainer",
2716
2717
  shouldReceiveBuilderProps: {
2717
2718
  builderBlock: !0,
@@ -2747,7 +2748,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2747
2748
  defaultValue: []
2748
2749
  }]
2749
2750
  }]
2750
- }, Ve = y({
2751
+ }, Ne = y({
2751
2752
  render() {
2752
2753
  return Qe("script", {
2753
2754
  innerHTML: this.scriptStr,
@@ -2757,12 +2758,12 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2757
2758
  },
2758
2759
  name: "inlined-script",
2759
2760
  props: ["scriptStr", "id", "nonce"]
2760
- }), qo = y({
2761
+ }), Ko = y({
2761
2762
  name: "builder-personalization-container",
2762
2763
  components: {
2763
2764
  Blocks: j,
2764
- InlinedStyles: ce,
2765
- InlinedScript: Ve
2765
+ InlinedStyles: de,
2766
+ InlinedScript: Ne
2766
2767
  },
2767
2768
  props: [
2768
2769
  "builderContext",
@@ -2775,32 +2776,32 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2775
2776
  data() {
2776
2777
  var e, t, n, o, r, i, s;
2777
2778
  return {
2778
- userAttributes: ae.getUserAttributes(),
2779
- scriptStr: Bo(
2779
+ userAttributes: le.getUserAttributes(),
2780
+ scriptStr: Vo(
2780
2781
  this.variants,
2781
2782
  ((e = this.builderBlock) == null ? void 0 : e.id) || "none",
2782
2783
  (n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
2783
2784
  ),
2784
- updateVisibilityStylesScript: Vo(
2785
+ updateVisibilityStylesScript: No(
2785
2786
  this.variants,
2786
2787
  ((o = this.builderBlock) == null ? void 0 : o.id) || "none",
2787
2788
  (i = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : i.locale
2788
2789
  ),
2789
2790
  unsubscribers: [],
2790
- shouldRenderVariants: Ro(
2791
+ shouldRenderVariants: Eo(
2791
2792
  this.variants,
2792
- K((s = this.builderContext) == null ? void 0 : s.canTrack)
2793
+ J((s = this.builderContext) == null ? void 0 : s.canTrack)
2793
2794
  ),
2794
2795
  shouldResetVariants: !1,
2795
2796
  TARGET: R,
2796
- DEFAULT_INDEX: ne,
2797
+ DEFAULT_INDEX: oe,
2797
2798
  SDKS_REQUIRING_RESET_APPROACH: St
2798
2799
  };
2799
2800
  },
2800
2801
  mounted() {
2801
2802
  var t;
2802
2803
  this.shouldResetVariants = !0;
2803
- const e = ae.subscribeOnUserAttributesChange(
2804
+ const e = le.subscribeOnUserAttributesChange(
2804
2805
  (n) => {
2805
2806
  this.userAttributes = n;
2806
2807
  },
@@ -2808,12 +2809,12 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2808
2809
  fireImmediately: R === "qwik"
2809
2810
  }
2810
2811
  );
2811
- if (!(A() || $e())) {
2812
+ if (!(A() || Re())) {
2812
2813
  const n = this.filteredVariants[0];
2813
2814
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
2814
2815
  new CustomEvent("builder.variantLoaded", {
2815
2816
  detail: {
2816
- variant: n || ne,
2817
+ variant: n || oe,
2817
2818
  content: (t = this.builderContext) == null ? void 0 : t.content
2818
2819
  },
2819
2820
  bubbles: !0
@@ -2824,7 +2825,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2824
2825
  i.isIntersecting && this.$refs.rootRef && this.$refs.rootRef.dispatchEvent(
2825
2826
  new CustomEvent("builder.variantDisplayed", {
2826
2827
  detail: {
2827
- variant: n || ne,
2828
+ variant: n || oe,
2828
2829
  content: (s = this.builderContext) == null ? void 0 : s.content
2829
2830
  },
2830
2831
  bubbles: !0
@@ -2843,13 +2844,13 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2843
2844
  return {
2844
2845
  ...N(this.attributes, "v-on:", !1),
2845
2846
  ...N(this.attributes, "v-on:", !0),
2846
- [z()]: `builder-personalization-container ${this.attributes[z()] || ""}`
2847
+ [M()]: `builder-personalization-container ${this.attributes[M()] || ""}`
2847
2848
  };
2848
2849
  },
2849
2850
  filteredVariants() {
2850
2851
  return (this.variants || []).filter((e) => {
2851
2852
  var t, n, o, r;
2852
- return Co(
2853
+ return To(
2853
2854
  {
2854
2855
  ...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
2855
2856
  locale: (r = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : r.locale
@@ -2864,7 +2865,7 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2864
2865
  },
2865
2866
  blocksToRender() {
2866
2867
  var e;
2867
- return Eo({
2868
+ return Po({
2868
2869
  variants: this.variants,
2869
2870
  fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
2870
2871
  isHydrated: this.shouldResetVariants,
@@ -2882,8 +2883,8 @@ const Uo = /* @__PURE__ */ v(Do, [["render", Oo]]), Fo = {
2882
2883
  }
2883
2884
  }
2884
2885
  });
2885
- function Ko(e, t, n, o, r, i) {
2886
- var u, p, f, c, m, b, g, P, O, B;
2886
+ function Jo(e, t, n, o, r, i) {
2887
+ var u, p, b, c, m, f, g, P, O, B;
2887
2888
  const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
2888
2889
  return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
2889
2890
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), S(s, {
@@ -2895,9 +2896,9 @@ function Ko(e, t, n, o, r, i) {
2895
2896
  registeredComponents: e.builderComponents,
2896
2897
  BlocksWrapperProps: {
2897
2898
  ...(p = e.builderContext) == null ? void 0 : p.BlocksWrapperProps,
2898
- "data-variant-id": `${(f = e.builderBlock) == null ? void 0 : f.id}-${e.blocksToRender.index}`
2899
+ "data-variant-id": `${(b = e.builderBlock) == null ? void 0 : b.id}-${e.blocksToRender.index}`
2899
2900
  }
2900
- }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : C("", !0),
2901
+ }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : T("", !0),
2901
2902
  !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(w, { key: 1 }, [
2902
2903
  e.shouldRenderVariants ? (d(), h(w, { key: 0 }, [
2903
2904
  $(l, {
@@ -2906,40 +2907,40 @@ function Ko(e, t, n, o, r, i) {
2906
2907
  id: `variants-styles-${(m = e.builderBlock) == null ? void 0 : m.id}`
2907
2908
  }, null, 8, ["nonce", "styles", "id"]),
2908
2909
  $(a, {
2909
- nonce: ((b = e.builderContext) == null ? void 0 : b.nonce) || "",
2910
+ nonce: ((f = e.builderContext) == null ? void 0 : f.nonce) || "",
2910
2911
  scriptStr: e.updateVisibilityStylesScript,
2911
2912
  id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
2912
2913
  }, null, 8, ["nonce", "scriptStr", "id"]),
2913
- (d(!0), h(w, null, F(e.variants, (T, W) => {
2914
- var J, G, D, H;
2914
+ (d(!0), h(w, null, U(e.variants, (q, C) => {
2915
+ var z, G, Q, W;
2915
2916
  return d(), S(s, {
2916
- key: `${(J = e.builderBlock) == null ? void 0 : J.id}-${W}`,
2917
+ key: `${(z = e.builderBlock) == null ? void 0 : z.id}-${C}`,
2917
2918
  BlocksWrapperProps: {
2918
2919
  ...(G = e.builderContext) == null ? void 0 : G.BlocksWrapperProps,
2919
2920
  "aria-hidden": !0,
2920
2921
  hidden: !0,
2921
- "data-variant-id": `${(D = e.builderBlock) == null ? void 0 : D.id}-${W}`
2922
+ "data-variant-id": `${(Q = e.builderBlock) == null ? void 0 : Q.id}-${C}`
2922
2923
  },
2923
- blocks: T.blocks,
2924
- parent: (H = e.builderBlock) == null ? void 0 : H.id,
2925
- path: `component.options.variants.${W}.blocks`,
2924
+ blocks: q.blocks,
2925
+ parent: (W = e.builderBlock) == null ? void 0 : W.id,
2926
+ path: `component.options.variants.${C}.blocks`,
2926
2927
  context: e.builderContext,
2927
2928
  registeredComponents: e.builderComponents
2928
2929
  }, {
2929
- default: x(() => {
2930
- var We, De;
2930
+ default: D(() => {
2931
+ var L, De;
2931
2932
  return [
2932
2933
  $(a, {
2933
- nonce: ((We = e.builderContext) == null ? void 0 : We.nonce) || "",
2934
+ nonce: ((L = e.builderContext) == null ? void 0 : L.nonce) || "",
2934
2935
  scriptStr: e.scriptStr,
2935
- id: `variants-script-${(De = e.builderBlock) == null ? void 0 : De.id}-${W}`
2936
+ id: `variants-script-${(De = e.builderBlock) == null ? void 0 : De.id}-${C}`
2936
2937
  }, null, 8, ["nonce", "scriptStr", "id"])
2937
2938
  ];
2938
2939
  }),
2939
2940
  _: 2
2940
2941
  }, 1032, ["BlocksWrapperProps", "blocks", "parent", "path", "context", "registeredComponents"]);
2941
2942
  }), 128))
2942
- ], 64)) : C("", !0),
2943
+ ], 64)) : T("", !0),
2943
2944
  $(s, {
2944
2945
  blocks: e.blocksToRender.blocks,
2945
2946
  parent: (P = e.builderBlock) == null ? void 0 : P.id,
@@ -2951,23 +2952,23 @@ function Ko(e, t, n, o, r, i) {
2951
2952
  "data-variant-id": `${(B = e.builderBlock) == null ? void 0 : B.id}-${e.blocksToRender.index}`
2952
2953
  }
2953
2954
  }, {
2954
- default: x(() => {
2955
- var T, W;
2955
+ default: D(() => {
2956
+ var q, C;
2956
2957
  return [
2957
2958
  e.shouldRenderVariants ? (d(), S(a, {
2958
2959
  key: 0,
2959
- nonce: ((T = e.builderContext) == null ? void 0 : T.nonce) || "",
2960
+ nonce: ((q = e.builderContext) == null ? void 0 : q.nonce) || "",
2960
2961
  scriptStr: e.scriptStr,
2961
- id: `variants-script-${(W = e.builderBlock) == null ? void 0 : W.id}-${e.DEFAULT_INDEX}`
2962
- }, null, 8, ["nonce", "scriptStr", "id"])) : C("", !0)
2962
+ id: `variants-script-${(C = e.builderBlock) == null ? void 0 : C.id}-${e.DEFAULT_INDEX}`
2963
+ }, null, 8, ["nonce", "scriptStr", "id"])) : T("", !0)
2963
2964
  ];
2964
2965
  }),
2965
2966
  _: 1
2966
2967
  }, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])
2967
- ], 64)) : C("", !0)
2968
+ ], 64)) : T("", !0)
2968
2969
  ], 16);
2969
2970
  }
2970
- const Jo = /* @__PURE__ */ v(qo, [["render", Ko]]), Go = {
2971
+ const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
2971
2972
  name: "Core:Section",
2972
2973
  static: !0,
2973
2974
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3006,7 +3007,7 @@ const Jo = /* @__PURE__ */ v(qo, [["render", Ko]]), Go = {
3006
3007
  }
3007
3008
  }
3008
3009
  }]
3009
- }, Qo = {
3010
+ }, Yo = {
3010
3011
  name: "Slot",
3011
3012
  isRSC: !0,
3012
3013
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3023,12 +3024,12 @@ const Jo = /* @__PURE__ */ v(qo, [["render", Ko]]), Go = {
3023
3024
  builderContext: !0,
3024
3025
  builderComponents: !0
3025
3026
  }
3026
- }, Yo = y({
3027
+ }, Xo = y({
3027
3028
  name: "builder-slot",
3028
3029
  components: { Blocks: j },
3029
3030
  props: ["builderContext", "name", "builderComponents"]
3030
3031
  });
3031
- function Xo(e, t, n, o, r, i) {
3032
+ function Zo(e, t, n, o, r, i) {
3032
3033
  var l, a, u;
3033
3034
  const s = k("Blocks");
3034
3035
  return d(), h("div", I(
@@ -3048,7 +3049,7 @@ function Xo(e, t, n, o, r, i) {
3048
3049
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
3049
3050
  ], 16);
3050
3051
  }
3051
- const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3052
+ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3052
3053
  name: "Symbol",
3053
3054
  noWrap: !0,
3054
3055
  static: !0,
@@ -3087,7 +3088,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3087
3088
  builderComponents: !0,
3088
3089
  builderLinkComponent: !0
3089
3090
  }
3090
- }, pe = {
3091
+ }, me = {
3091
3092
  "@type": "@builder.io/sdk:Element",
3092
3093
  responsiveStyles: {
3093
3094
  large: {
@@ -3109,7 +3110,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3109
3110
  text: "New tab"
3110
3111
  }
3111
3112
  }
3112
- }, me = {
3113
+ }, he = {
3113
3114
  "@type": "@builder.io/sdk:Element",
3114
3115
  responsiveStyles: {
3115
3116
  large: {
@@ -3125,7 +3126,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3125
3126
  text: "New tab content "
3126
3127
  }
3127
3128
  }
3128
- }, er = {
3129
+ }, tr = {
3129
3130
  name: "Builder: Tabs",
3130
3131
  inputs: [{
3131
3132
  name: "tabs",
@@ -3135,16 +3136,16 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3135
3136
  name: "label",
3136
3137
  type: "uiBlocks",
3137
3138
  hideFromUI: !0,
3138
- defaultValue: [pe]
3139
+ defaultValue: [me]
3139
3140
  }, {
3140
3141
  name: "content",
3141
3142
  type: "uiBlocks",
3142
3143
  hideFromUI: !0,
3143
- defaultValue: [me]
3144
+ defaultValue: [he]
3144
3145
  }],
3145
3146
  defaultValue: [{
3146
3147
  label: [{
3147
- ...pe,
3148
+ ...me,
3148
3149
  component: {
3149
3150
  name: "Text",
3150
3151
  options: {
@@ -3153,7 +3154,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3153
3154
  }
3154
3155
  }],
3155
3156
  content: [{
3156
- ...me,
3157
+ ...he,
3157
3158
  component: {
3158
3159
  name: "Text",
3159
3160
  options: {
@@ -3163,7 +3164,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3163
3164
  }]
3164
3165
  }, {
3165
3166
  label: [{
3166
- ...pe,
3167
+ ...me,
3167
3168
  component: {
3168
3169
  name: "Text",
3169
3170
  options: {
@@ -3172,7 +3173,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3172
3173
  }
3173
3174
  }],
3174
3175
  content: [{
3175
- ...me,
3176
+ ...he,
3176
3177
  component: {
3177
3178
  name: "Text",
3178
3179
  options: {
@@ -3228,7 +3229,7 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3228
3229
  builderComponents: !0,
3229
3230
  builderLinkComponent: !0
3230
3231
  }
3231
- }, tr = y({
3232
+ }, nr = y({
3232
3233
  name: "builder-tabs",
3233
3234
  components: { Blocks: j },
3234
3235
  props: [
@@ -3256,23 +3257,23 @@ const Zo = /* @__PURE__ */ v(Yo, [["render", Xo]]), _o = {
3256
3257
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
3257
3258
  }
3258
3259
  }
3259
- }), nr = ["onClick"], or = { key: 0 };
3260
- function rr(e, t, n, o, r, i) {
3260
+ }), or = ["onClick"], rr = { key: 0 };
3261
+ function ir(e, t, n, o, r, i) {
3261
3262
  const s = k("Blocks");
3262
3263
  return d(), h("div", null, [
3263
- q("div", {
3264
+ K("div", {
3264
3265
  class: "builder-tabs-wrap",
3265
- style: M({
3266
+ style: H({
3266
3267
  display: "flex",
3267
3268
  flexDirection: "row",
3268
3269
  justifyContent: e.tabHeaderLayout || "flex-start",
3269
3270
  overflow: "auto"
3270
3271
  })
3271
3272
  }, [
3272
- (d(!0), h(w, null, F(e.tabs, (l, a) => (d(), h("span", {
3273
+ (d(!0), h(w, null, U(e.tabs, (l, a) => (d(), h("span", {
3273
3274
  key: a,
3274
- class: Z(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
3275
- style: M(e.getTabStyle(a)),
3275
+ class: _(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
3276
+ style: H(e.getTabStyle(a)),
3276
3277
  onClick: async (u) => e.onClick(a)
3277
3278
  }, [
3278
3279
  $(s, {
@@ -3283,9 +3284,9 @@ function rr(e, t, n, o, r, i) {
3283
3284
  registeredComponents: e.builderComponents,
3284
3285
  linkComponent: e.builderLinkComponent
3285
3286
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
3286
- ], 14, nr))), 128))
3287
+ ], 14, or))), 128))
3287
3288
  ], 4),
3288
- e.activeTabContent(e.activeTab) ? (d(), h("div", or, [
3289
+ e.activeTabContent(e.activeTab) ? (d(), h("div", rr, [
3289
3290
  $(s, {
3290
3291
  parent: e.builderBlock.id,
3291
3292
  path: `tabs.${e.activeTab}.content`,
@@ -3294,10 +3295,10 @@ function rr(e, t, n, o, r, i) {
3294
3295
  registeredComponents: e.builderComponents,
3295
3296
  linkComponent: e.builderLinkComponent
3296
3297
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
3297
- ])) : C("", !0)
3298
+ ])) : T("", !0)
3298
3299
  ]);
3299
3300
  }
3300
- const ir = /* @__PURE__ */ v(tr, [["render", rr]]), sr = {
3301
+ const sr = /* @__PURE__ */ v(nr, [["render", ir]]), ar = {
3301
3302
  shouldReceiveBuilderProps: {},
3302
3303
  name: "Text",
3303
3304
  static: !0,
@@ -3315,11 +3316,11 @@ const ir = /* @__PURE__ */ v(tr, [["render", rr]]), sr = {
3315
3316
  height: "auto",
3316
3317
  textAlign: "center"
3317
3318
  }
3318
- }, ar = y({
3319
+ }, lr = y({
3319
3320
  name: "builder-text",
3320
3321
  props: ["text"]
3321
- }), lr = ["innerHTML"];
3322
- function cr(e, t, n, o, r, i) {
3322
+ }), cr = ["innerHTML"];
3323
+ function dr(e, t, n, o, r, i) {
3323
3324
  var s;
3324
3325
  return d(), h("div", {
3325
3326
  class: "builder-text",
@@ -3327,9 +3328,9 @@ function cr(e, t, n, o, r, i) {
3327
3328
  style: {
3328
3329
  outline: "none"
3329
3330
  }
3330
- }, null, 8, lr);
3331
+ }, null, 8, cr);
3331
3332
  }
3332
- const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3333
+ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
3333
3334
  name: "Custom Code",
3334
3335
  static: !0,
3335
3336
  requiredPermissions: ["editCode"],
@@ -3351,7 +3352,7 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3351
3352
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3352
3353
  advanced: !0
3353
3354
  }]
3354
- }, pr = y({
3355
+ }, mr = y({
3355
3356
  name: "builder-custom-code",
3356
3357
  props: ["code", "replaceNodes"],
3357
3358
  data() {
@@ -3401,7 +3402,7 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3401
3402
  try {
3402
3403
  this.scriptsRun.push(o.innerText), new Function(o.innerText)();
3403
3404
  } catch (r) {
3404
- L.warn(
3405
+ F.warn(
3405
3406
  "[BUILDER.IO] `CustomCode`: Error running script:",
3406
3407
  r
3407
3408
  );
@@ -3410,15 +3411,15 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3410
3411
  }
3411
3412
  }
3412
3413
  }
3413
- }), mr = ["innerHTML"];
3414
- function hr(e, t, n, o, r, i) {
3414
+ }), hr = ["innerHTML"];
3415
+ function fr(e, t, n, o, r, i) {
3415
3416
  return d(), h("div", {
3416
3417
  ref: "elementRef",
3417
- class: Z("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3418
+ class: _("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3418
3419
  innerHTML: e.code
3419
- }, null, 10, mr);
3420
+ }, null, 10, hr);
3420
3421
  }
3421
- const fr = /* @__PURE__ */ v(pr, [["render", hr]]), br = {
3422
+ const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
3422
3423
  name: "Embed",
3423
3424
  static: !0,
3424
3425
  inputs: [{
@@ -3433,7 +3434,7 @@ const fr = /* @__PURE__ */ v(pr, [["render", hr]]), br = {
3433
3434
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3434
3435
  hideFromUI: !0
3435
3436
  }]
3436
- }, gr = ["text/javascript", "application/javascript", "application/ecmascript"], yr = (e) => gr.includes(e.type), vr = y({
3437
+ }, yr = ["text/javascript", "application/javascript", "application/ecmascript"], vr = (e) => yr.includes(e.type), Sr = y({
3437
3438
  name: "builder-embed",
3438
3439
  props: ["content"],
3439
3440
  data() {
@@ -3466,24 +3467,24 @@ const fr = /* @__PURE__ */ v(pr, [["render", hr]]), br = {
3466
3467
  this.scriptsInserted.push(n.src);
3467
3468
  const o = document.createElement("script");
3468
3469
  o.async = !0, o.src = n.src, document.head.appendChild(o);
3469
- } else if (yr(n) && !this.scriptsRun.includes(n.innerText))
3470
+ } else if (vr(n) && !this.scriptsRun.includes(n.innerText))
3470
3471
  try {
3471
3472
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3472
3473
  } catch (o) {
3473
- L.warn("[BUILDER.IO] `Embed`: Error running script:", o);
3474
+ F.warn("[BUILDER.IO] `Embed`: Error running script:", o);
3474
3475
  }
3475
3476
  }
3476
3477
  }
3477
3478
  }
3478
- }), Sr = ["innerHTML"];
3479
- function kr(e, t, n, o, r, i) {
3479
+ }), kr = ["innerHTML"];
3480
+ function Cr(e, t, n, o, r, i) {
3480
3481
  return d(), h("div", {
3481
3482
  class: "builder-embed",
3482
3483
  ref: "elem",
3483
3484
  innerHTML: e.content
3484
- }, null, 8, Sr);
3485
+ }, null, 8, kr);
3485
3486
  }
3486
- const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
3487
+ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3487
3488
  name: "Form:Form",
3488
3489
  // editableTags: ['builder-form-error']
3489
3490
  defaults: {
@@ -3720,10 +3721,10 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
3720
3721
  builderComponents: !0,
3721
3722
  builderLinkComponent: !0
3722
3723
  }
3723
- }, wr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Ir = () => {
3724
+ }, Ir = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], $r = () => {
3724
3725
  const e = process.env.NODE_ENV || "production";
3725
- return wr.includes(e) ? e : "production";
3726
- }, $r = y({
3726
+ return Ir.includes(e) ? e : "production";
3727
+ }, Rr = y({
3727
3728
  name: "builder-form-component",
3728
3729
  components: { Blocks: j },
3729
3730
  props: [
@@ -3786,12 +3787,12 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
3786
3787
  (c) => !!c.name && (c.type !== "radio" || c.checked)
3787
3788
  ).map((c) => {
3788
3789
  let m;
3789
- const b = c.name;
3790
+ const f = c.name;
3790
3791
  if (c instanceof HTMLInputElement)
3791
3792
  if (c.type === "radio") {
3792
3793
  if (c.checked)
3793
3794
  return m = c.value, {
3794
- key: b,
3795
+ key: f,
3795
3796
  value: m
3796
3797
  };
3797
3798
  } else if (c.type === "checkbox")
@@ -3804,7 +3805,7 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
3804
3805
  else
3805
3806
  m = c.value;
3806
3807
  return {
3807
- key: b,
3808
+ key: f,
3808
3809
  value: m
3809
3810
  };
3810
3811
  });
@@ -3815,8 +3816,8 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
3815
3816
  i = s;
3816
3817
  else {
3817
3818
  const c = {};
3818
- Array.from(l).forEach(({ value: m, key: b }) => {
3819
- Ye(c, b, m);
3819
+ Array.from(l).forEach(({ value: m, key: f }) => {
3820
+ Ye(c, f, m);
3820
3821
  }), i = JSON.stringify(c);
3821
3822
  }
3822
3823
  a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
@@ -3834,10 +3835,10 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
3834
3835
  });
3835
3836
  return;
3836
3837
  }
3837
- const p = `${Ir() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3838
+ const p = `${$r() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3838
3839
  this.sendSubmissionsToEmail || ""
3839
- )}&name=${encodeURIComponent(this.name || "")}`, f = this.sendSubmissionsTo === "email" ? p : this.action;
3840
- _e(f), fetch(f, {
3840
+ )}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? p : this.action;
3841
+ _e(b), fetch(b, {
3841
3842
  body: i,
3842
3843
  headers: r,
3843
3844
  method: this.method || "post"
@@ -3845,8 +3846,8 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
3845
3846
  async (c) => {
3846
3847
  var g, P;
3847
3848
  let m;
3848
- const b = c.headers.get("content-type");
3849
- if (b && b.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
3849
+ const f = c.headers.get("content-type");
3850
+ if (f && f.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
3850
3851
  const O = new CustomEvent("submit:error", {
3851
3852
  detail: {
3852
3853
  error: m,
@@ -3900,11 +3901,11 @@ const Cr = /* @__PURE__ */ v(vr, [["render", kr]]), Tr = {
3900
3901
  }
3901
3902
  }
3902
3903
  }
3903
- }), Rr = ["validate", "action", "method", "name"], Er = {
3904
+ }), Er = ["validate", "action", "method", "name"], Pr = {
3904
3905
  key: 2,
3905
3906
  class: "builder-form-error-text pre-2oa2wtipkzk"
3906
3907
  };
3907
- function Pr(e, t, n, o, r, i) {
3908
+ function Ar(e, t, n, o, r, i) {
3908
3909
  const s = k("Blocks");
3909
3910
  return d(), h("form", I({
3910
3911
  validate: e.validate,
@@ -3913,30 +3914,30 @@ function Pr(e, t, n, o, r, i) {
3913
3914
  method: e.method,
3914
3915
  name: e.name,
3915
3916
  onSubmit: t[0] || (t[0] = async (l) => e.onSubmit(l))
3916
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3917
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3917
3918
  V(e.$slots, "default", {}, void 0, !0),
3918
3919
  e.submissionState() === "error" ? (d(), S(s, {
3919
3920
  key: 0,
3920
3921
  path: "errorMessage",
3921
3922
  blocks: e.errorMessage,
3922
3923
  context: e.builderContext
3923
- }, null, 8, ["blocks", "context"])) : C("", !0),
3924
+ }, null, 8, ["blocks", "context"])) : T("", !0),
3924
3925
  e.submissionState() === "sending" ? (d(), S(s, {
3925
3926
  key: 1,
3926
3927
  path: "sendingMessage",
3927
3928
  blocks: e.sendingMessage,
3928
3929
  context: e.builderContext
3929
- }, null, 8, ["blocks", "context"])) : C("", !0),
3930
- e.submissionState() === "error" && e.responseData ? (d(), h("pre", Er, le(e.errorResponse(e.responseData)), 1)) : C("", !0),
3930
+ }, null, 8, ["blocks", "context"])) : T("", !0),
3931
+ e.submissionState() === "error" && e.responseData ? (d(), h("pre", Pr, ce(e.errorResponse(e.responseData)), 1)) : T("", !0),
3931
3932
  e.submissionState() === "success" ? (d(), S(s, {
3932
3933
  key: 3,
3933
3934
  path: "successMessage",
3934
3935
  blocks: e.successMessage,
3935
3936
  context: e.builderContext
3936
- }, null, 8, ["blocks", "context"])) : C("", !0)
3937
- ], 16, Rr);
3937
+ }, null, 8, ["blocks", "context"])) : T("", !0)
3938
+ ], 16, Er);
3938
3939
  }
3939
- const Ar = /* @__PURE__ */ v($r, [["render", Pr], ["__scopeId", "data-v-77c7888c"]]), Br = {
3940
+ const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c"]]), Vr = {
3940
3941
  name: "Form:Input",
3941
3942
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3942
3943
  inputs: [
@@ -3987,7 +3988,7 @@ const Ar = /* @__PURE__ */ v($r, [["render", Pr], ["__scopeId", "data-v-77c7888c
3987
3988
  borderStyle: "solid",
3988
3989
  borderColor: "#ccc"
3989
3990
  }
3990
- }, Vr = y({
3991
+ }, Nr = y({
3991
3992
  name: "builder-form-input-component",
3992
3993
  props: [
3993
3994
  "attributes",
@@ -4001,8 +4002,8 @@ const Ar = /* @__PURE__ */ v($r, [["render", Pr], ["__scopeId", "data-v-77c7888c
4001
4002
  data() {
4002
4003
  return { isEditing: A, filterAttrs: N };
4003
4004
  }
4004
- }), Nr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
4005
- function Wr(e, t, n, o, r, i) {
4005
+ }), Wr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
4006
+ function Dr(e, t, n, o, r, i) {
4006
4007
  return d(), h("input", I({
4007
4008
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4008
4009
  placeholder: e.placeholder,
@@ -4011,9 +4012,9 @@ function Wr(e, t, n, o, r, i) {
4011
4012
  value: e.value,
4012
4013
  defaultValue: e.defaultValue,
4013
4014
  required: e.required
4014
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Nr);
4015
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wr);
4015
4016
  }
4016
- const Dr = /* @__PURE__ */ v(Vr, [["render", Wr]]), xr = {
4017
+ const Or = /* @__PURE__ */ v(Nr, [["render", Dr]]), xr = {
4017
4018
  name: "Form:Select",
4018
4019
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
4019
4020
  defaultStyles: {
@@ -4055,28 +4056,28 @@ const Dr = /* @__PURE__ */ v(Vr, [["render", Wr]]), xr = {
4055
4056
  }],
4056
4057
  static: !0,
4057
4058
  noWrap: !0
4058
- }, Or = y({
4059
+ }, Ur = y({
4059
4060
  name: "builder-select-component",
4060
4061
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
4061
4062
  data() {
4062
4063
  return { isEditing: A, filterAttrs: N };
4063
4064
  }
4064
- }), Ur = ["value", "defaultValue", "name", "required"], Fr = ["value"];
4065
- function Lr(e, t, n, o, r, i) {
4065
+ }), Fr = ["value", "defaultValue", "name", "required"], Lr = ["value"];
4066
+ function Hr(e, t, n, o, r, i) {
4066
4067
  return d(), h("select", I({
4067
4068
  value: e.value,
4068
4069
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4069
4070
  defaultValue: e.defaultValue,
4070
4071
  name: e.name,
4071
4072
  required: e.required
4072
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4073
- (d(!0), h(w, null, F(e.options, (s, l) => (d(), h("option", {
4073
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4074
+ (d(!0), h(w, null, U(e.options, (s, l) => (d(), h("option", {
4074
4075
  key: `${s.name}-${l}`,
4075
4076
  value: s.value
4076
- }, le(s.name || s.value), 9, Fr))), 128))
4077
- ], 16, Ur);
4077
+ }, ce(s.name || s.value), 9, Lr))), 128))
4078
+ ], 16, Fr);
4078
4079
  }
4079
- const Hr = /* @__PURE__ */ v(Or, [["render", Lr]]), Mr = {
4080
+ const Mr = /* @__PURE__ */ v(Ur, [["render", Hr]]), zr = {
4080
4081
  name: "Form:SubmitButton",
4081
4082
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4082
4083
  defaultStyles: {
@@ -4101,17 +4102,17 @@ const Hr = /* @__PURE__ */ v(Or, [["render", Lr]]), Mr = {
4101
4102
  // that only shows if advanced setting is flipped
4102
4103
  // TODO: defaultChildren
4103
4104
  // canHaveChildren: true,
4104
- }, zr = y({
4105
+ }, jr = y({
4105
4106
  name: "builder-submit-button",
4106
4107
  props: ["attributes", "text"],
4107
4108
  data() {
4108
4109
  return { filterAttrs: N };
4109
4110
  }
4110
4111
  });
4111
- function jr(e, t, n, o, r, i) {
4112
- return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
4112
+ function qr(e, t, n, o, r, i) {
4113
+ return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ce(e.text), 17);
4113
4114
  }
4114
- const qr = /* @__PURE__ */ v(zr, [["render", jr]]), Kr = {
4115
+ const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
4115
4116
  name: "Form:TextArea",
4116
4117
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4117
4118
  inputs: [{
@@ -4147,7 +4148,7 @@ const qr = /* @__PURE__ */ v(zr, [["render", jr]]), Kr = {
4147
4148
  },
4148
4149
  static: !0,
4149
4150
  noWrap: !0
4150
- }, Jr = y({
4151
+ }, Gr = y({
4151
4152
  name: "builder-textarea",
4152
4153
  props: [
4153
4154
  "attributes",
@@ -4160,17 +4161,17 @@ const qr = /* @__PURE__ */ v(zr, [["render", jr]]), Kr = {
4160
4161
  data() {
4161
4162
  return { filterAttrs: N };
4162
4163
  }
4163
- }), Gr = ["placeholder", "name", "value", "defaultValue", "required"];
4164
- function Qr(e, t, n, o, r, i) {
4164
+ }), Qr = ["placeholder", "name", "value", "defaultValue", "required"];
4165
+ function Yr(e, t, n, o, r, i) {
4165
4166
  return d(), h("textarea", I({
4166
4167
  placeholder: e.placeholder,
4167
4168
  name: e.name,
4168
4169
  value: e.value,
4169
4170
  defaultValue: e.defaultValue,
4170
4171
  required: e.required
4171
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Gr);
4172
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Qr);
4172
4173
  }
4173
- const Yr = /* @__PURE__ */ v(Jr, [["render", Qr]]), Xr = {
4174
+ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4174
4175
  name: "Raw:Img",
4175
4176
  hideFromInsertMenu: !0,
4176
4177
  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",
@@ -4178,7 +4179,7 @@ const Yr = /* @__PURE__ */ v(Jr, [["render", Qr]]), Xr = {
4178
4179
  name: "image",
4179
4180
  bubble: !0,
4180
4181
  type: "file",
4181
- allowedFileTypes: Be,
4182
+ allowedFileTypes: Ve,
4182
4183
  required: !0
4183
4184
  }, {
4184
4185
  name: "backgroundSize",
@@ -4214,7 +4215,7 @@ const Yr = /* @__PURE__ */ v(Jr, [["render", Qr]]), Xr = {
4214
4215
  defaultValue: 0.7041
4215
4216
  }],
4216
4217
  noWrap: !0
4217
- }, Zr = y({
4218
+ }, _r = y({
4218
4219
  name: "builder-img-component",
4219
4220
  props: [
4220
4221
  "imgSrc",
@@ -4233,19 +4234,19 @@ const Yr = /* @__PURE__ */ v(Jr, [["render", Qr]]), Xr = {
4233
4234
  srcSetToUse() {
4234
4235
  const e = this.imgSrc || this.image;
4235
4236
  if (!(!e || typeof e != "string") && e.match(/builder\.io/))
4236
- return te(e);
4237
+ return ne(e);
4237
4238
  },
4238
4239
  imgAttrs() {
4239
4240
  const e = {
4240
4241
  ...N(this.attributes, "v-on:", !1),
4241
4242
  ...N(this.attributes, "v-on:", !0),
4242
- [z()]: `builder-raw-img ${this.attributes[z()] || ""}`
4243
+ [M()]: `builder-raw-img ${this.attributes[M()] || ""}`
4243
4244
  };
4244
4245
  return delete e.style, e;
4245
4246
  }
4246
4247
  }
4247
- }), _r = ["alt", "title", "src"];
4248
- function ei(e, t, n, o, r, i) {
4248
+ }), ei = ["alt", "title", "src"];
4249
+ function ti(e, t, n, o, r, i) {
4249
4250
  var s;
4250
4251
  return d(), h("img", I({
4251
4252
  loading: "lazy",
@@ -4259,9 +4260,9 @@ function ei(e, t, n, o, r, i) {
4259
4260
  aspectRatio: e.aspectRatio || void 0,
4260
4261
  ...((s = e.attributes) == null ? void 0 : s.style) || {}
4261
4262
  }
4262
- }, e.imgAttrs), null, 16, _r);
4263
+ }, e.imgAttrs), null, 16, ei);
4263
4264
  }
4264
- const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
4265
+ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4265
4266
  name: "Video",
4266
4267
  canHaveChildren: !0,
4267
4268
  defaultStyles: {
@@ -4272,14 +4273,14 @@ const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
4272
4273
  inputs: [{
4273
4274
  name: "video",
4274
4275
  type: "file",
4275
- allowedFileTypes: Mo,
4276
+ allowedFileTypes: zo,
4276
4277
  bubble: !0,
4277
4278
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
4278
4279
  required: !0
4279
4280
  }, {
4280
4281
  name: "posterImage",
4281
4282
  type: "file",
4282
- allowedFileTypes: Be,
4283
+ allowedFileTypes: Ve,
4283
4284
  helperText: "Image to show before the video plays"
4284
4285
  }, {
4285
4286
  name: "autoPlay",
@@ -4345,7 +4346,7 @@ const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
4345
4346
  shouldReceiveBuilderProps: {
4346
4347
  builderBlock: !0
4347
4348
  }
4348
- }, oi = y({
4349
+ }, ri = y({
4349
4350
  name: "builder-video",
4350
4351
  props: [
4351
4352
  "lazyLoad",
@@ -4418,16 +4419,16 @@ const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
4418
4419
  };
4419
4420
  }
4420
4421
  }
4421
- }), ri = { style: {
4422
+ }), ii = { style: {
4422
4423
  position: "relative"
4423
- } }, ii = ["preload", "poster"], si = {
4424
+ } }, si = ["preload", "poster"], ai = {
4424
4425
  key: 1,
4425
4426
  style: {
4426
4427
  display: "flex",
4427
4428
  flexDirection: "column",
4428
4429
  alignItems: "stretch"
4429
4430
  }
4430
- }, ai = {
4431
+ }, li = {
4431
4432
  key: 2,
4432
4433
  style: {
4433
4434
  pointerEvents: "none",
@@ -4441,10 +4442,10 @@ const ti = /* @__PURE__ */ v(Zr, [["render", ei]]), ni = {
4441
4442
  height: "100%"
4442
4443
  }
4443
4444
  };
4444
- function li(e, t, n, o, r, i) {
4445
- var s, l, a, u, p, f, c;
4446
- return d(), h("div", ri, [
4447
- q("video", I({
4445
+ function ci(e, t, n, o, r, i) {
4446
+ var s, l, a, u, p, b, c;
4447
+ return d(), h("div", ii, [
4448
+ K("video", I({
4448
4449
  class: "builder-video",
4449
4450
  ref: "videoRef",
4450
4451
  preload: e.lazyLoad ? "none" : e.preload || "metadata",
@@ -4463,7 +4464,7 @@ function li(e, t, n, o, r, i) {
4463
4464
  },
4464
4465
  poster: e.posterImage
4465
4466
  }, e.spreadProps), [
4466
- q("source", I(
4467
+ K("source", I(
4467
4468
  { type: "video/mp4" },
4468
4469
  e.lazyLoad ? {
4469
4470
  "data-src": e.video
@@ -4471,85 +4472,85 @@ function li(e, t, n, o, r, i) {
4471
4472
  src: e.video
4472
4473
  }
4473
4474
  ), null, 16)
4474
- ], 16, ii),
4475
+ ], 16, si),
4475
4476
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), h("div", {
4476
4477
  key: 0,
4477
- style: M({
4478
+ style: H({
4478
4479
  width: "100%",
4479
4480
  paddingTop: e.aspectRatio * 100 + "%",
4480
4481
  pointerEvents: "none",
4481
4482
  fontSize: "0px"
4482
4483
  })
4483
- }, null, 4)) : C("", !0),
4484
- (p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", si, [
4484
+ }, null, 4)) : T("", !0),
4485
+ (p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", ai, [
4485
4486
  V(e.$slots, "default")
4486
- ])) : C("", !0),
4487
- (c = (f = e.builderBlock) == null ? void 0 : f.children) != null && c.length && !e.fitContent ? (d(), h("div", ai, [
4487
+ ])) : T("", !0),
4488
+ (c = (b = e.builderBlock) == null ? void 0 : b.children) != null && c.length && !e.fitContent ? (d(), h("div", li, [
4488
4489
  V(e.$slots, "default")
4489
- ])) : C("", !0)
4490
+ ])) : T("", !0)
4490
4491
  ]);
4491
4492
  }
4492
- const ci = /* @__PURE__ */ v(oi, [["render", li]]), di = () => [{
4493
- component: fr,
4494
- ...ur
4493
+ const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
4494
+ component: br,
4495
+ ...pr
4495
4496
  }, {
4496
- component: Cr,
4497
- ...br
4497
+ component: Tr,
4498
+ ...gr
4498
4499
  }, {
4499
- component: Ar,
4500
- ...Tr
4500
+ component: Br,
4501
+ ...wr
4501
4502
  }, {
4502
- component: Dr,
4503
- ...Br
4503
+ component: Or,
4504
+ ...Vr
4504
4505
  }, {
4505
- component: qr,
4506
- ...Mr
4506
+ component: Kr,
4507
+ ...zr
4507
4508
  }, {
4508
- component: Hr,
4509
+ component: Mr,
4509
4510
  ...xr
4510
4511
  }, {
4511
- component: Yr,
4512
- ...Kr
4512
+ component: Xr,
4513
+ ...Jr
4513
4514
  }, {
4514
- component: ti,
4515
- ...Xr
4515
+ component: ni,
4516
+ ...Zr
4516
4517
  }, {
4517
- component: ci,
4518
- ...ni
4518
+ component: di,
4519
+ ...oi
4519
4520
  }], Ke = () => [{
4520
4521
  component: Lt,
4521
- ...Fo
4522
- }, {
4523
- component: so,
4524
4522
  ...Lo
4525
4523
  }, {
4526
- component: co,
4524
+ component: ao,
4527
4525
  ...Ho
4528
4526
  }, {
4529
- component: yo,
4530
- ...zo
4527
+ component: uo,
4528
+ ...Mo
4531
4529
  }, {
4532
- component: ko,
4533
- ...Go
4530
+ component: vo,
4531
+ ...jo
4534
4532
  }, {
4535
- component: Zo,
4533
+ component: Co,
4536
4534
  ...Qo
4537
4535
  }, {
4538
- component: Gi,
4539
- ..._o
4536
+ component: _o,
4537
+ ...Yo
4538
+ }, {
4539
+ component: Qi,
4540
+ ...er
4540
4541
  }, {
4541
- component: dr,
4542
- ...sr
4542
+ component: ur,
4543
+ ...ar
4543
4544
  }, ...vt.includes(R) ? [{
4544
- component: Jo,
4545
- ...jo
4545
+ component: Go,
4546
+ ...qo
4546
4547
  }] : [], {
4547
- component: ir,
4548
- ...er
4548
+ component: sr,
4549
+ ...tr
4549
4550
  }, {
4550
- component: Uo,
4551
- ...No
4552
- }, ...di()], ui = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4551
+ component: Fo,
4552
+ ...Wo
4553
+ }, ...ui()], pi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4553
4554
  function getAndSetVariantId() {
4554
4555
  function setCookie(name, value, days) {
4555
4556
  let expires = '';
@@ -4608,7 +4609,7 @@ const ci = /* @__PURE__ */ v(oi, [["render", li]]), di = () => [{
4608
4609
  }).join('');
4609
4610
  styleEl.innerHTML = newStyleStr;
4610
4611
  }
4611
- }`, pi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4612
+ }`, mi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4612
4613
  if (!navigator.cookieEnabled) {
4613
4614
  return;
4614
4615
  }
@@ -4642,37 +4643,37 @@ const ci = /* @__PURE__ */ v(oi, [["render", li]]), di = () => [{
4642
4643
  thisScriptEl?.remove();
4643
4644
  }
4644
4645
  return;
4645
- }`, ke = "builderIoAbTest", Ce = "builderIoRenderContent", oe = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4646
+ }`, Ce = "builderIoAbTest", Te = "builderIoRenderContent", re = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4646
4647
  ...t,
4647
4648
  testVariationId: t.id,
4648
4649
  id: e == null ? void 0 : e.id
4649
- })), mi = ({
4650
+ })), hi = ({
4650
4651
  canTrack: e,
4651
4652
  content: t
4652
- }) => !(!(oe(t).length > 0) || !e), hi = (e) => e === "react" || e === "reactNative", fi = R === "angular", Ne = hi(R), bi = () => `
4653
+ }) => !(!(re(t).length > 0) || !e), fi = (e) => e === "react" || e === "reactNative", bi = R === "angular", We = fi(R), gi = () => `
4653
4654
  (function() {
4654
- if (!window.${ke}) {
4655
- window.${ke} = ${ui};
4656
- }
4657
4655
  if (!window.${Ce}) {
4658
4656
  window.${Ce} = ${pi};
4659
- }${Ne ? `
4657
+ }
4658
+ if (!window.${Te}) {
4659
+ window.${Te} = ${mi};
4660
+ }${We ? `
4660
4661
  var thisScriptEl = document.currentScript;
4661
4662
  if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
4662
4663
  })();
4663
- `, gi = (e, t) => `
4664
- window.${ke}(
4665
- "${t}",${JSON.stringify(e)}, ${Ne}, ${fi}
4666
- )`, yi = ({
4664
+ `, yi = (e, t) => `
4665
+ window.${Ce}(
4666
+ "${t}",${JSON.stringify(e)}, ${We}, ${bi}
4667
+ )`, vi = ({
4667
4668
  contentId: e,
4668
4669
  variationId: t
4669
- }) => `window.${Ce}(
4670
- "${t}", "${e}", ${Ne}
4670
+ }) => `window.${Te}(
4671
+ "${t}", "${e}", ${We}
4671
4672
  )`;
4672
4673
  function Je(e) {
4673
4674
  return Math.round(e * 1e3) / 1e3;
4674
4675
  }
4675
- const vi = (e, t, n = !0) => {
4676
+ const Si = (e, t, n = !0) => {
4676
4677
  if (!(e instanceof HTMLElement))
4677
4678
  return null;
4678
4679
  let o = n ? e : e.parentElement;
@@ -4683,7 +4684,7 @@ const vi = (e, t, n = !0) => {
4683
4684
  return o;
4684
4685
  } while (o = o.parentElement);
4685
4686
  return null;
4686
- }, Si = (e) => vi(e, (t) => {
4687
+ }, ki = (e) => Si(e, (t) => {
4687
4688
  const n = t.getAttribute("builder-id") || t.id;
4688
4689
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4689
4690
  }), Ge = ({
@@ -4695,8 +4696,8 @@ const vi = (e, t, n = !0) => {
4695
4696
  x: i,
4696
4697
  y: s
4697
4698
  };
4698
- }, ki = (e) => {
4699
- const t = e.target, n = t && Si(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4699
+ }, Ci = (e) => {
4700
+ const t = e.target, n = t && ki(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4700
4701
  return {
4701
4702
  targetBuilderElement: o || void 0,
4702
4703
  metadata: {
@@ -4711,7 +4712,7 @@ const vi = (e, t, n = !0) => {
4711
4712
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4712
4713
  }
4713
4714
  };
4714
- }, Ci = ["svelte", "qwik", "vue"], Ti = () => Ci.includes(R) && (A() || $e()), wi = (e) => {
4715
+ }, Ti = ["svelte", "qwik", "vue"], wi = () => Ti.includes(R) && (A() || Re()), Ii = (e) => {
4715
4716
  var i;
4716
4717
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
4717
4718
  let r = "";
@@ -4737,15 +4738,15 @@ font-weight: ${s};
4737
4738
  `.trim());
4738
4739
  }
4739
4740
  return r;
4740
- }, Ii = ({
4741
+ }, $i = ({
4741
4742
  customFonts: e
4742
4743
  }) => {
4743
4744
  var t;
4744
- return ((t = e == null ? void 0 : e.map((n) => wi(n))) == null ? void 0 : t.join(" ")) || "";
4745
- }, $i = ({
4745
+ return ((t = e == null ? void 0 : e.map((n) => Ii(n))) == null ? void 0 : t.join(" ")) || "";
4746
+ }, Ri = ({
4746
4747
  cssCode: e,
4747
4748
  contentId: t
4748
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ri = `
4749
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
4749
4750
  .builder-button {
4750
4751
  all: unset;
4751
4752
  }
@@ -4762,9 +4763,9 @@ font-weight: ${s};
4762
4763
  text-align: inherit;
4763
4764
  font-family: inherit;
4764
4765
  }
4765
- `, Ei = (e) => e ? "" : Ri, Pi = (e) => `variant-${e}`, Ai = y({
4766
+ `, Pi = (e) => e ? "" : Ei, Ai = (e) => `variant-${e}`, Bi = y({
4766
4767
  name: "enable-editor",
4767
- components: { DynamicDiv: ee },
4768
+ components: { DynamicDiv: te },
4768
4769
  props: [
4769
4770
  "isNestedRender",
4770
4771
  "builderContextSignal",
@@ -4773,6 +4774,7 @@ font-weight: ${s};
4773
4774
  "apiHost",
4774
4775
  "locale",
4775
4776
  "enrich",
4777
+ "enrichOptions",
4776
4778
  "trustedHosts",
4777
4779
  "model",
4778
4780
  "content",
@@ -4793,15 +4795,15 @@ font-weight: ${s};
4793
4795
  httpReqsData: {},
4794
4796
  httpReqsPending: {},
4795
4797
  clicked: !1,
4796
- builderContext: he,
4797
- needsElementRefDivForEditing: Ti,
4798
- getWrapperClassName: Pi
4798
+ builderContext: fe,
4799
+ needsElementRefDivForEditing: wi,
4800
+ getWrapperClassName: Ai
4799
4801
  };
4800
4802
  },
4801
4803
  provide() {
4802
4804
  const e = this;
4803
4805
  return {
4804
- [he.key]: e.builderContextSignal
4806
+ [fe.key]: e.builderContextSignal
4805
4807
  };
4806
4808
  },
4807
4809
  created() {
@@ -4813,13 +4815,13 @@ font-weight: ${s};
4813
4815
  A() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4814
4816
  new CustomEvent("initeditingbldr")
4815
4817
  );
4816
- const o = this.builderContextSignal.content && K(this.canTrack), r = we({
4818
+ const o = this.builderContextSignal.content && J(this.canTrack), r = Ie({
4817
4819
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
4818
4820
  canTrack: !0
4819
4821
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
4820
4822
  if (o && i === r) {
4821
4823
  const s = (n = this.builderContextSignal.content) == null ? void 0 : n.id, l = this.apiKey;
4822
- xe({
4824
+ Oe({
4823
4825
  apiHost: this.apiHost,
4824
4826
  type: "impression",
4825
4827
  canTrack: !0,
@@ -4828,7 +4830,7 @@ font-weight: ${s};
4828
4830
  variationId: r !== s ? r : void 0
4829
4831
  });
4830
4832
  }
4831
- $e() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4833
+ Re() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4832
4834
  new CustomEvent("initpreviewingbldr")
4833
4835
  );
4834
4836
  }
@@ -4959,14 +4961,14 @@ font-weight: ${s};
4959
4961
  var t, n;
4960
4962
  if (this.builderContextSignal.content) {
4961
4963
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
4962
- xe({
4964
+ Oe({
4963
4965
  apiHost: this.apiHost,
4964
4966
  type: "click",
4965
- canTrack: K(this.canTrack),
4967
+ canTrack: J(this.canTrack),
4966
4968
  contentId: r,
4967
4969
  apiKey: this.apiKey,
4968
4970
  variationId: o !== r ? o : void 0,
4969
- ...ki(e),
4971
+ ...Ci(e),
4970
4972
  unique: !this.clicked
4971
4973
  });
4972
4974
  }
@@ -4986,9 +4988,9 @@ font-weight: ${s};
4986
4988
  this.httpReqsPending[o] = !0;
4987
4989
  const l = s.replace(
4988
4990
  /{{([^}]+)}}/g,
4989
- (p, f) => String(
4990
- _({
4991
- code: f,
4991
+ (p, b) => String(
4992
+ ee({
4993
+ code: b,
4992
4994
  context: this.context || {},
4993
4995
  localState: void 0,
4994
4996
  rootState: this.builderContextSignal.rootState,
@@ -5032,7 +5034,7 @@ font-weight: ${s};
5032
5034
  "builder:component:stateChange",
5033
5035
  {
5034
5036
  detail: {
5035
- state: Te(this.builderContextSignal.rootState),
5037
+ state: we(this.builderContextSignal.rootState),
5036
5038
  ref: {
5037
5039
  name: this.model
5038
5040
  }
@@ -5049,6 +5051,9 @@ font-weight: ${s};
5049
5051
  ...this.enrich ? {
5050
5052
  enrich: this.enrich
5051
5053
  } : {},
5054
+ ...this.enrichOptions ? {
5055
+ enrichOptions: this.enrichOptions
5056
+ } : {},
5052
5057
  ...this.trustedHosts ? {
5053
5058
  trustedHosts: this.trustedHosts
5054
5059
  } : {},
@@ -5072,7 +5077,7 @@ font-weight: ${s};
5072
5077
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
5073
5078
  `builder.overrides.${n}`
5074
5079
  ), r = t.get("apiKey") || t.get("builder.space");
5075
- (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && Pe({
5080
+ (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && Ae({
5076
5081
  model: this.model,
5077
5082
  apiKey: this.apiKey,
5078
5083
  apiVersion: this.builderContextSignal.apiVersion,
@@ -5087,9 +5092,9 @@ font-weight: ${s};
5087
5092
  }
5088
5093
  }
5089
5094
  });
5090
- function Bi(e, t, n, o, r, i) {
5095
+ function Vi(e, t, n, o, r, i) {
5091
5096
  var s, l, a;
5092
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(Y(e.ContentWrapper), I({
5097
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(X(e.ContentWrapper), I({
5093
5098
  key: 0,
5094
5099
  ref: "elementRef",
5095
5100
  onClick: (u) => e.onClick(u),
@@ -5102,32 +5107,32 @@ function Bi(e, t, n, o, r, i) {
5102
5107
  onIniteditingbldr: (u) => e.elementRef_onIniteditingbldr(u),
5103
5108
  onInitpreviewingbldr: (u) => e.elementRef_onInitpreviewingbldr(u)
5104
5109
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
5105
- default: x(() => [
5110
+ default: D(() => [
5106
5111
  V(e.$slots, "default")
5107
5112
  ]),
5108
5113
  _: 3
5109
- }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : C("", !0);
5114
+ }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : T("", !0);
5110
5115
  }
5111
- const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = y({
5116
+ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = y({
5112
5117
  name: "content-styles",
5113
- components: { InlinedStyles: ce },
5118
+ components: { InlinedStyles: de },
5114
5119
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
5115
5120
  data() {
5116
5121
  return {
5117
5122
  injectedStyles: `
5118
- ${$i({
5123
+ ${Ri({
5119
5124
  cssCode: this.cssCode,
5120
5125
  contentId: this.contentId
5121
5126
  })}
5122
- ${Ii({
5127
+ ${$i({
5123
5128
  customFonts: this.customFonts
5124
5129
  })}
5125
- ${Ei(this.isNestedRender)}
5130
+ ${Pi(this.isNestedRender)}
5126
5131
  `.trim()
5127
5132
  };
5128
5133
  }
5129
5134
  });
5130
- function Wi(e, t, n, o, r, i) {
5135
+ function Di(e, t, n, o, r, i) {
5131
5136
  const s = k("InlinedStyles");
5132
5137
  return d(), S(s, {
5133
5138
  id: "builderio-content",
@@ -5135,7 +5140,7 @@ function Wi(e, t, n, o, r, i) {
5135
5140
  nonce: e.nonce
5136
5141
  }, null, 8, ["styles", "nonce"]);
5137
5142
  }
5138
- const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5143
+ const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
5139
5144
  content: e,
5140
5145
  data: t,
5141
5146
  locale: n
@@ -5152,7 +5157,7 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5152
5157
  locale: n
5153
5158
  } : {}
5154
5159
  };
5155
- }, Oi = ({
5160
+ }, Ui = ({
5156
5161
  content: e,
5157
5162
  data: t
5158
5163
  }) => e ? {
@@ -5162,14 +5167,14 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5162
5167
  ...t
5163
5168
  },
5164
5169
  meta: e == null ? void 0 : e.meta
5165
- } : void 0, Ui = Tt, Fi = y({
5170
+ } : void 0, Fi = Tt, Li = y({
5166
5171
  name: "content-component",
5167
5172
  components: {
5168
- EnableEditor: Vi,
5169
- InlinedScript: Ve,
5170
- ContentStyles: Di,
5173
+ EnableEditor: Ni,
5174
+ InlinedScript: Ne,
5175
+ ContentStyles: Oi,
5171
5176
  Blocks: j,
5172
- DynamicDiv: ee
5177
+ DynamicDiv: te
5173
5178
  },
5174
5179
  props: [
5175
5180
  "content",
@@ -5186,6 +5191,7 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5186
5191
  "model",
5187
5192
  "apiHost",
5188
5193
  "enrich",
5194
+ "enrichOptions",
5189
5195
  "showContent",
5190
5196
  "contentWrapper",
5191
5197
  "contentWrapperProps",
@@ -5197,7 +5203,7 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5197
5203
  data() {
5198
5204
  var e, t;
5199
5205
  return {
5200
- scriptStr: yi({
5206
+ scriptStr: vi({
5201
5207
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5202
5208
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
5203
5209
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -5210,14 +5216,14 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5210
5216
  (n, { component: o, ...r }) => ({
5211
5217
  ...n,
5212
5218
  [r.name]: {
5213
- component: Ui(o),
5214
- ...se(r)
5219
+ component: Fi(o),
5220
+ ...ae(r)
5215
5221
  }
5216
5222
  }),
5217
5223
  {}
5218
5224
  ),
5219
5225
  builderContextSignal: {
5220
- content: Oi({
5226
+ content: Ui({
5221
5227
  content: this.content,
5222
5228
  data: this.data
5223
5229
  }),
@@ -5238,7 +5244,7 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5238
5244
  ].reduce(
5239
5245
  (n, { component: o, ...r }) => ({
5240
5246
  ...n,
5241
- [r.name]: se(r)
5247
+ [r.name]: ae(r)
5242
5248
  }),
5243
5249
  {}
5244
5250
  ),
@@ -5261,11 +5267,11 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5261
5267
  },
5262
5268
  created() {
5263
5269
  var t, n;
5264
- this.apiKey || L.error(
5270
+ this.apiKey || F.error(
5265
5271
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
5266
5272
  );
5267
5273
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
5268
- e && _({
5274
+ e && ee({
5269
5275
  code: e,
5270
5276
  context: this.context || {},
5271
5277
  localState: void 0,
@@ -5298,7 +5304,7 @@ const Di = /* @__PURE__ */ v(Ni, [["render", Wi]]), xi = ({
5298
5304
  }
5299
5305
  }
5300
5306
  });
5301
- function Li(e, t, n, o, r, i) {
5307
+ function Hi(e, t, n, o, r, i) {
5302
5308
  const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
5303
5309
  return d(), S(u, I({
5304
5310
  apiHost: e.apiHost,
@@ -5311,6 +5317,7 @@ function Li(e, t, n, o, r, i) {
5311
5317
  canTrack: e.canTrack,
5312
5318
  locale: e.locale,
5313
5319
  enrich: e.enrich,
5320
+ enrichOptions: e.enrichOptions,
5314
5321
  showContent: e.showContent,
5315
5322
  builderContextSignal: e.builderContextSignal,
5316
5323
  contentWrapper: e.contentWrapper,
@@ -5318,23 +5325,23 @@ function Li(e, t, n, o, r, i) {
5318
5325
  trustedHosts: e.trustedHosts,
5319
5326
  isNestedRender: e.isNestedRender
5320
5327
  }, {}), {
5321
- default: x(() => {
5322
- var p, f, c, m, b, g, P;
5328
+ default: D(() => {
5329
+ var p, b, c, m, f, g, P;
5323
5330
  return [
5324
5331
  e.isSsrAbTest ? (d(), S(s, {
5325
5332
  key: 0,
5326
5333
  id: "builderio-variant-visibility",
5327
5334
  scriptStr: e.scriptStr,
5328
5335
  nonce: e.nonce || ""
5329
- }, null, 8, ["scriptStr", "nonce"])) : C("", !0),
5336
+ }, null, 8, ["scriptStr", "nonce"])) : T("", !0),
5330
5337
  e.TARGET !== "reactNative" ? (d(), S(l, {
5331
5338
  key: 1,
5332
5339
  nonce: e.nonce || "",
5333
5340
  isNestedRender: e.isNestedRender,
5334
5341
  contentId: (p = e.builderContextSignal.content) == null ? void 0 : p.id,
5335
- cssCode: (c = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : c.cssCode,
5336
- customFonts: (b = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : b.customFonts
5337
- }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : C("", !0),
5342
+ cssCode: (c = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : c.cssCode,
5343
+ customFonts: (f = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : f.customFonts
5344
+ }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : T("", !0),
5338
5345
  $(a, {
5339
5346
  blocks: (P = (g = e.builderContextSignal.content) == null ? void 0 : g.data) == null ? void 0 : P.blocks,
5340
5347
  context: e.builderContextSignal,
@@ -5344,14 +5351,14 @@ function Li(e, t, n, o, r, i) {
5344
5351
  ];
5345
5352
  }),
5346
5353
  _: 1
5347
- }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5354
+ }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "enrichOptions", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5348
5355
  }
5349
- const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
5356
+ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5350
5357
  name: "content-variants",
5351
5358
  components: {
5352
- InlinedScript: Ve,
5353
- InlinedStyles: ce,
5354
- ContentComponent: Hi
5359
+ InlinedScript: Ne,
5360
+ InlinedStyles: de,
5361
+ ContentComponent: Mi
5355
5362
  },
5356
5363
  props: [
5357
5364
  "canTrack",
@@ -5368,6 +5375,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
5368
5375
  "linkComponent",
5369
5376
  "locale",
5370
5377
  "enrich",
5378
+ "enrichOptions",
5371
5379
  "blocksWrapper",
5372
5380
  "blocksWrapperProps",
5373
5381
  "contentWrapper",
@@ -5376,16 +5384,16 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
5376
5384
  ],
5377
5385
  data() {
5378
5386
  return {
5379
- shouldRenderVariants: mi({
5380
- canTrack: K(this.canTrack),
5387
+ shouldRenderVariants: hi({
5388
+ canTrack: J(this.canTrack),
5381
5389
  content: this.content
5382
5390
  }),
5383
- shouldEmitPersonalizationFns: Po(this.content),
5391
+ shouldEmitPersonalizationFns: Ao(this.content),
5384
5392
  SDKS_SUPPORTING_PERSONALIZATION: vt,
5385
- getInitPersonalizationVariantsFnsScriptString: Ao,
5393
+ getInitPersonalizationVariantsFnsScriptString: Bo,
5386
5394
  TARGET: R,
5387
- getInitVariantsFnsScriptString: bi,
5388
- getVariants: oe
5395
+ getInitVariantsFnsScriptString: gi,
5396
+ getVariants: re
5389
5397
  };
5390
5398
  },
5391
5399
  mounted() {
@@ -5393,8 +5401,8 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
5393
5401
  computed: {
5394
5402
  updateCookieAndStylesScriptStr() {
5395
5403
  var e;
5396
- return gi(
5397
- oe(this.content).map((t) => ({
5404
+ return yi(
5405
+ re(this.content).map((t) => ({
5398
5406
  id: t.testVariationId,
5399
5407
  testRatio: t.testRatio
5400
5408
  })),
@@ -5402,7 +5410,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
5402
5410
  );
5403
5411
  },
5404
5412
  hideVariantsStyleString() {
5405
- return oe(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
5413
+ return re(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
5406
5414
  },
5407
5415
  defaultContent() {
5408
5416
  var e;
@@ -5411,12 +5419,12 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = y({
5411
5419
  testVariationId: (e = this.content) == null ? void 0 : e.id
5412
5420
  } : fn({
5413
5421
  item: this.content,
5414
- canTrack: K(this.canTrack)
5422
+ canTrack: J(this.canTrack)
5415
5423
  });
5416
5424
  }
5417
5425
  }
5418
5426
  });
5419
- function zi(e, t, n, o, r, i) {
5427
+ function ji(e, t, n, o, r, i) {
5420
5428
  const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
5421
5429
  return d(), h(w, null, [
5422
5430
  e.shouldEmitPersonalizationFns ? (d(), h(w, { key: 0 }, [
@@ -5425,8 +5433,8 @@ function zi(e, t, n, o, r, i) {
5425
5433
  id: "builderio-init-personalization-variants-fns",
5426
5434
  nonce: e.nonce || "",
5427
5435
  scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
5428
- }, null, 8, ["nonce", "scriptStr"])) : C("", !0)
5429
- ], 64)) : C("", !0),
5436
+ }, null, 8, ["nonce", "scriptStr"])) : T("", !0)
5437
+ ], 64)) : T("", !0),
5430
5438
  e.shouldRenderVariants ? (d(), h(w, { key: 1 }, [
5431
5439
  $(s, {
5432
5440
  id: "builderio-init-variants-fns",
@@ -5443,7 +5451,7 @@ function zi(e, t, n, o, r, i) {
5443
5451
  scriptStr: e.updateCookieAndStylesScriptStr,
5444
5452
  nonce: e.nonce || ""
5445
5453
  }, null, 8, ["scriptStr", "nonce"]),
5446
- (d(!0), h(w, null, F(e.getVariants(e.content), (u, p) => (d(), S(a, I({
5454
+ (d(!0), h(w, null, U(e.getVariants(e.content), (u, p) => (d(), S(a, I({
5447
5455
  key: u.testVariationId,
5448
5456
  apiHost: e.apiHost,
5449
5457
  isNestedRender: e.isNestedRender,
@@ -5460,14 +5468,15 @@ function zi(e, t, n, o, r, i) {
5460
5468
  canTrack: e.canTrack,
5461
5469
  locale: e.locale,
5462
5470
  enrich: e.enrich,
5471
+ enrichOptions: e.enrichOptions,
5463
5472
  isSsrAbTest: e.shouldRenderVariants,
5464
5473
  blocksWrapper: e.blocksWrapper,
5465
5474
  blocksWrapperProps: e.blocksWrapperProps,
5466
5475
  contentWrapper: e.contentWrapper,
5467
5476
  contentWrapperProps: e.contentWrapperProps,
5468
5477
  trustedHosts: e.trustedHosts
5469
- }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5470
- ], 64)) : C("", !0),
5478
+ }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5479
+ ], 64)) : T("", !0),
5471
5480
  $(a, I({
5472
5481
  apiHost: e.apiHost,
5473
5482
  nonce: e.nonce,
@@ -5484,6 +5493,7 @@ function zi(e, t, n, o, r, i) {
5484
5493
  canTrack: e.canTrack,
5485
5494
  locale: e.locale,
5486
5495
  enrich: e.enrich,
5496
+ enrichOptions: e.enrichOptions,
5487
5497
  isSsrAbTest: e.shouldRenderVariants,
5488
5498
  blocksWrapper: e.blocksWrapper,
5489
5499
  blocksWrapperProps: e.blocksWrapperProps,
@@ -5492,16 +5502,16 @@ function zi(e, t, n, o, r, i) {
5492
5502
  trustedHosts: e.trustedHosts
5493
5503
  }, {
5494
5504
  key: e.shouldRenderVariants.toString()
5495
- }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5505
+ }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5496
5506
  ], 64);
5497
5507
  }
5498
- const ji = /* @__PURE__ */ v(Mi, [["render", zi]]), qi = async ({
5508
+ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5499
5509
  builderContextValue: e,
5500
5510
  symbol: t
5501
5511
  }) => {
5502
5512
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5503
5513
  (e != null && e.apiKey))
5504
- return Pe({
5514
+ return Ae({
5505
5515
  model: t.model,
5506
5516
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
5507
5517
  apiVersion: e.apiVersion,
@@ -5511,11 +5521,11 @@ const ji = /* @__PURE__ */ v(Mi, [["render", zi]]), qi = async ({
5511
5521
  }
5512
5522
  }
5513
5523
  }).catch((n) => {
5514
- L.error("Could not fetch symbol content: ", n);
5524
+ F.error("Could not fetch symbol content: ", n);
5515
5525
  });
5516
- }, Ki = y({
5526
+ }, Ji = y({
5517
5527
  name: "builder-symbol",
5518
- components: { ContentVariants: ji, DynamicDiv: ee },
5528
+ components: { ContentVariants: qi, DynamicDiv: te },
5519
5529
  props: [
5520
5530
  "symbol",
5521
5531
  "builderComponents",
@@ -5557,7 +5567,7 @@ const ji = /* @__PURE__ */ v(Mi, [["render", zi]]), qi = async ({
5557
5567
  className() {
5558
5568
  var e, t;
5559
5569
  return [
5560
- this.attributes[z()],
5570
+ this.attributes[M()],
5561
5571
  "builder-symbol",
5562
5572
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
5563
5573
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -5572,7 +5582,7 @@ const ji = /* @__PURE__ */ v(Mi, [["render", zi]]), qi = async ({
5572
5582
  methods: {
5573
5583
  setContent() {
5574
5584
  var e;
5575
- this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || qi({
5585
+ this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Ki({
5576
5586
  symbol: this.symbol,
5577
5587
  builderContextValue: this.builderContext
5578
5588
  }).then((t) => {
@@ -5582,10 +5592,10 @@ const ji = /* @__PURE__ */ v(Mi, [["render", zi]]), qi = async ({
5582
5592
  }
5583
5593
  }
5584
5594
  });
5585
- function Ji(e, t, n, o, r, i) {
5586
- var l, a, u, p, f, c, m;
5595
+ function Gi(e, t, n, o, r, i) {
5596
+ var l, a, u, p, b, c, m;
5587
5597
  const s = k("ContentVariants");
5588
- return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5598
+ return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5589
5599
  $(s, {
5590
5600
  nonce: e.builderContext.nonce,
5591
5601
  isNestedRender: !0,
@@ -5599,7 +5609,7 @@ function Ji(e, t, n, o, r, i) {
5599
5609
  data: {
5600
5610
  ...(p = e.symbol) == null ? void 0 : p.data,
5601
5611
  ...e.builderContext.localState,
5602
- ...(c = (f = e.contentToUse) == null ? void 0 : f.data) == null ? void 0 : c.state
5612
+ ...(c = (b = e.contentToUse) == null ? void 0 : b.data) == null ? void 0 : c.state
5603
5613
  },
5604
5614
  canTrack: e.builderContext.canTrack,
5605
5615
  model: ((m = e.symbol) == null ? void 0 : m.model) ?? "",
@@ -5610,43 +5620,43 @@ function Ji(e, t, n, o, r, i) {
5610
5620
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5611
5621
  ], 16);
5612
5622
  }
5613
- const Gi = /* @__PURE__ */ v(Ki, [["render", Ji]]);
5623
+ const Qi = /* @__PURE__ */ v(Ji, [["render", Gi]]);
5614
5624
  export {
5615
- Pe as A,
5625
+ Ae as A,
5616
5626
  gt as B,
5617
- so as C,
5618
- Xi as D,
5619
- ss as E,
5620
- co as F,
5621
- yo as I,
5622
- ko as S,
5623
- dr as T,
5624
- ci as V,
5627
+ ao as C,
5628
+ Zi as D,
5629
+ as as E,
5630
+ uo as F,
5631
+ vo as I,
5632
+ Co as S,
5633
+ ur as T,
5634
+ di as V,
5625
5635
  v as _,
5626
- z as a,
5627
- he as b,
5628
- ce as c,
5629
- no as d,
5630
- _ as e,
5631
- rs as f,
5632
- is as g,
5633
- as as h,
5634
- Ae as i,
5636
+ M as a,
5637
+ fe as b,
5638
+ de as c,
5639
+ oo as d,
5640
+ ee as e,
5641
+ is as f,
5642
+ ss as g,
5643
+ ls as h,
5644
+ Be as i,
5635
5645
  on as j,
5636
5646
  Lt as k,
5637
- Gi as l,
5647
+ Qi as l,
5638
5648
  j as m,
5639
- ji as n,
5640
- $e as o,
5649
+ qi as n,
5650
+ Re as o,
5641
5651
  rn as p,
5642
- _i as q,
5643
- Zi as r,
5644
- ns as s,
5645
- es as t,
5652
+ es as q,
5653
+ _i as r,
5654
+ os as s,
5655
+ ts as t,
5646
5656
  ot as u,
5647
- ts as v,
5648
- Ui as w,
5649
- os as x,
5650
- $n as y,
5651
- Rn as z
5657
+ ns as v,
5658
+ Fi as w,
5659
+ rs as x,
5660
+ Rn as y,
5661
+ En as z
5652
5662
  };