@builder.io/sdk-vue 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/browser/{block-styles-Mn6wJduZ.cjs → block-styles-GNMuV-dL.cjs} +1 -1
  2. package/lib/browser/{block-styles-sZJR1URf.js → block-styles-mooo-nyz.js} +1 -1
  3. package/lib/browser/{block-wrapper-ody6Sxkr.js → block-wrapper-3cYhLXDa.js} +3 -3
  4. package/lib/browser/{block-wrapper-qFFX6RFF.cjs → block-wrapper-3lUpHc_o.cjs} +1 -1
  5. package/lib/browser/{component-ref-rf4-wS3o.js → component-ref-A7Jq3Gj-.js} +2 -2
  6. package/lib/browser/{component-ref-DSNF4azA.cjs → component-ref-VU3zC7u4.cjs} +1 -1
  7. package/lib/browser/constants/sdk-version.d.ts +1 -1
  8. package/lib/browser/functions/register-component.d.ts +2 -2
  9. package/lib/browser/{get-block-properties-trq7EGpq.cjs → get-block-properties-Eyms9W8F.cjs} +1 -1
  10. package/lib/browser/{get-block-properties-O0W_2V2s.js → get-block-properties-zWa4TdEe.js} +1 -1
  11. package/lib/browser/{index---sv1Dmc.js → index-ToBML8l-.js} +244 -248
  12. package/lib/browser/index-hqlNfni4.cjs +166 -0
  13. package/lib/browser/index.cjs +1 -1
  14. package/lib/browser/index.mjs +1 -1
  15. package/lib/browser/{repeated-block-4hDqPbdf.js → repeated-block-AKO0QANq.js} +2 -2
  16. package/lib/browser/{repeated-block-LqvC87RV.cjs → repeated-block-EF0Lb_nG.cjs} +1 -1
  17. package/lib/browser/style.css +1 -1
  18. package/lib/edge/{block-styles-VkVzS7vd.cjs → block-styles-dvlkOfyP.cjs} +1 -1
  19. package/lib/{node/block-styles-Tyg1fV88.js → edge/block-styles-uNDwUd0D.js} +1 -1
  20. package/lib/{node/block-wrapper-0rr8eTCE.cjs → edge/block-wrapper-BGvBDPqY.cjs} +1 -1
  21. package/lib/edge/{block-wrapper-Lrmvcvj2.js → block-wrapper-I5fwbjlI.js} +3 -3
  22. package/lib/{node/component-ref-FN9Rzqu_.js → edge/component-ref-eBvirZir.js} +2 -2
  23. package/lib/{node/component-ref-j2PWej8h.cjs → edge/component-ref-xFqV17uV.cjs} +1 -1
  24. package/lib/edge/constants/sdk-version.d.ts +1 -1
  25. package/lib/edge/functions/register-component.d.ts +2 -2
  26. package/lib/edge/{get-block-properties-ZdU2gihP.cjs → get-block-properties-Kv6zU6Qq.cjs} +1 -1
  27. package/lib/edge/{get-block-properties-YDq-FuAs.js → get-block-properties-gUzPvYeh.js} +1 -1
  28. package/lib/edge/{index-8mGnZrt9.js → index-R7KJFxff.js} +486 -490
  29. package/lib/edge/{index-tYqLns-6.cjs → index-bWkTiFYf.cjs} +24 -24
  30. package/lib/edge/index.cjs +1 -1
  31. package/lib/edge/index.mjs +1 -1
  32. package/lib/edge/{repeated-block-IOMTx4Ek.cjs → repeated-block-ixPgqHgZ.cjs} +1 -1
  33. package/lib/edge/{repeated-block-c9Qq8PaK.js → repeated-block-kklYPBl5.js} +2 -2
  34. package/lib/edge/style.css +1 -1
  35. package/lib/{edge/block-styles-QLPVQ54j.js → node/block-styles-AzjY9HjK.js} +1 -1
  36. package/lib/node/{block-styles-GqJTbD8X.cjs → block-styles-zxsWOqgo.cjs} +1 -1
  37. package/lib/node/{block-wrapper-iBhEa5rI.js → block-wrapper-cHo1DCUj.js} +3 -3
  38. package/lib/{edge/block-wrapper-C3QWzorc.cjs → node/block-wrapper-fKNvisIf.cjs} +1 -1
  39. package/lib/{edge/component-ref-BzjW_J7Z.js → node/component-ref-Vf2FhwSC.js} +2 -2
  40. package/lib/{edge/component-ref-_MrpnWQq.cjs → node/component-ref-xMPuQvi5.cjs} +1 -1
  41. package/lib/node/constants/sdk-version.d.ts +1 -1
  42. package/lib/node/functions/register-component.d.ts +2 -2
  43. package/lib/node/{get-block-properties-NZJwLalB.cjs → get-block-properties-dCFsQQmt.cjs} +1 -1
  44. package/lib/node/{get-block-properties-HOAtHaKD.js → get-block-properties-l5K2eFkb.js} +1 -1
  45. package/lib/node/{index-AtsvJZco.js → index-bsHToMxW.js} +15 -19
  46. package/lib/node/{index-_k1NN43c.cjs → index-xYSllAJG.cjs} +6 -6
  47. package/lib/node/index.cjs +1 -1
  48. package/lib/node/index.mjs +1 -1
  49. package/lib/node/{repeated-block-ztDvgKZz.js → repeated-block-7np7Gpgm.js} +2 -2
  50. package/lib/node/{repeated-block-Smn39W6t.cjs → repeated-block-DcYWHCj0.cjs} +1 -1
  51. package/lib/node/style.css +1 -1
  52. package/package.json +1 -1
  53. package/lib/browser/index-5K25vfnv.cjs +0 -166
@@ -1,8 +1,8 @@
1
1
  var pt = Object.defineProperty;
2
2
  var mt = (e, t, n) => t in e ? pt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var oe = (e, t, n) => (mt(e, typeof t != "symbol" ? t + "" : t, n), n);
3
+ var ne = (e, t, n) => (mt(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import "./style.css";
5
- import { defineComponent as f, openBlock as d, createElementBlock as p, Fragment as I, createBlock as k, resolveDynamicComponent as K, mergeProps as C, toHandlers as P, withCtx as W, renderSlot as E, resolveComponent as g, createTextVNode as ht, toDisplayString as ne, defineAsyncComponent as H, createVNode as $, renderList as N, createCommentVNode as v, h as xe, createElementVNode as z, normalizeStyle as L, normalizeClass as J, markRaw as ft } from "vue";
5
+ import { defineComponent as f, openBlock as d, createElementBlock as p, Fragment as I, createBlock as k, resolveDynamicComponent as K, mergeProps as C, toHandlers as P, withCtx as W, renderSlot as E, resolveComponent as g, createTextVNode as ht, toDisplayString as te, defineAsyncComponent as H, createVNode as $, renderList as N, createCommentVNode as v, h as xe, createElementVNode as z, normalizeStyle as D, normalizeClass as J, markRaw as ft } from "vue";
6
6
  const bt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), gt = (e) => typeof e == "string" && bt.has(e.toLowerCase());
7
7
  function x(e = {}, t, n) {
8
8
  const o = {};
@@ -41,10 +41,10 @@ function kt(e, t, n, o, r, i) {
41
41
  }, 16))
42
42
  ], 64));
43
43
  }
44
- const me = /* @__PURE__ */ b(yt, [["render", kt]]), Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
+ const pe = /* @__PURE__ */ b(yt, [["render", kt]]), Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45
45
  __proto__: null,
46
- default: me
47
- }, Symbol.toStringTag, { value: "Module" })), A = "vue", ee = () => {
46
+ default: pe
47
+ }, Symbol.toStringTag, { value: "Module" })), A = "vue", _ = () => {
48
48
  switch (A) {
49
49
  case "react":
50
50
  case "reactNative":
@@ -59,7 +59,7 @@ const me = /* @__PURE__ */ b(yt, [["render", kt]]), Pi = /* @__PURE__ */ Object.
59
59
  }
60
60
  }, vt = f({
61
61
  name: "builder-button",
62
- components: { DynamicRenderer: me },
62
+ components: { DynamicRenderer: pe },
63
63
  props: [
64
64
  "attributes",
65
65
  "link",
@@ -74,7 +74,7 @@ const me = /* @__PURE__ */ b(yt, [["render", kt]]), Pi = /* @__PURE__ */ Object.
74
74
  attrs() {
75
75
  return {
76
76
  ...x(this.attributes, "v-on:", !1),
77
- [ee()]: `${this.link ? "" : "builder-button"} ${this.attributes[ee()] || ""}`,
77
+ [_()]: `${this.link ? "" : "builder-button"} ${this.attributes[_()] || ""}`,
78
78
  ...this.link ? {
79
79
  href: this.link,
80
80
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -94,12 +94,12 @@ function St(e, t, n, o, r, i) {
94
94
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
95
95
  }, {
96
96
  default: W(() => [
97
- ht(ne(e.text), 1)
97
+ ht(te(e.text), 1)
98
98
  ]),
99
99
  _: 1
100
100
  }, 8, ["attributes", "TagName", "actionAttributes"]);
101
101
  }
102
- const Ct = /* @__PURE__ */ b(vt, [["render", St]]), wt = Symbol(), ce = {
102
+ const Ct = /* @__PURE__ */ b(vt, [["render", St]]), wt = Symbol(), le = {
103
103
  Builder: {
104
104
  content: null,
105
105
  context: {},
@@ -127,11 +127,11 @@ function It(e) {
127
127
  ...e.options
128
128
  };
129
129
  }
130
- const Z = "[Builder.io]: ", B = {
131
- log: (...e) => console.log(Z, ...e),
132
- error: (...e) => console.error(Z, ...e),
133
- warn: (...e) => console.warn(Z, ...e),
134
- debug: (...e) => console.debug(Z, ...e)
130
+ const X = "[Builder.io]: ", B = {
131
+ log: (...e) => console.log(X, ...e),
132
+ error: (...e) => console.error(X, ...e),
133
+ warn: (...e) => console.warn(X, ...e),
134
+ debug: (...e) => console.debug(X, ...e)
135
135
  };
136
136
  function T() {
137
137
  return typeof window < "u" && typeof document < "u";
@@ -246,10 +246,10 @@ function Fe({
246
246
  }
247
247
  });
248
248
  }
249
- const D = (e) => e != null;
249
+ const L = (e) => e != null;
250
250
  function Vt() {
251
251
  var e;
252
- return typeof process < "u" && D((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
252
+ return typeof process < "u" && L((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
253
253
  }
254
254
  const Wt = () => {
255
255
  var o;
@@ -275,9 +275,9 @@ const Wt = () => {
275
275
  });
276
276
  }
277
277
  };
278
- oe(V, "cacheLimit", 20), oe(V, "cache", /* @__PURE__ */ new Map());
278
+ ne(V, "cacheLimit", 20), ne(V, "cache", /* @__PURE__ */ new Map());
279
279
  let U = V;
280
- function te({
280
+ function ee({
281
281
  code: e,
282
282
  context: t,
283
283
  localState: n,
@@ -319,7 +319,7 @@ function te({
319
319
  return;
320
320
  }
321
321
  }
322
- const Y = (e) => JSON.parse(JSON.stringify(e)), Oe = (e, t, n) => {
322
+ const me = (e) => JSON.parse(JSON.stringify(e)), Oe = (e, t, n) => {
323
323
  if (Object(e) !== e)
324
324
  return e;
325
325
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
@@ -334,7 +334,7 @@ const Ft = ({
334
334
  }) => {
335
335
  if (!e.bindings)
336
336
  return e;
337
- const i = Y(e), s = {
337
+ const i = me(e), s = {
338
338
  ...i,
339
339
  properties: {
340
340
  ...i.properties
@@ -344,7 +344,7 @@ const Ft = ({
344
344
  }
345
345
  };
346
346
  for (const l in e.bindings) {
347
- const a = e.bindings[l], u = te({
347
+ const a = e.bindings[l], u = ee({
348
348
  code: a,
349
349
  localState: n,
350
350
  rootState: o,
@@ -356,7 +356,7 @@ const Ft = ({
356
356
  }
357
357
  return s;
358
358
  };
359
- function Le({
359
+ function De({
360
360
  block: e,
361
361
  context: t,
362
362
  shouldEvaluateBindings: n,
@@ -396,7 +396,7 @@ function q(e, ...t) {
396
396
  }
397
397
  return n;
398
398
  }
399
- function Lt(e) {
399
+ function Dt(e) {
400
400
  for (const t of e)
401
401
  switch (t.trigger) {
402
402
  case "pageLoad":
@@ -407,16 +407,16 @@ function Lt(e) {
407
407
  break;
408
408
  }
409
409
  }
410
- function De(e) {
410
+ function Le(e) {
411
411
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
412
412
  }
413
413
  function Ue(e, t) {
414
- const n = Dt(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
414
+ const n = Lt(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
415
415
  for (const l of s)
416
416
  for (const a of n)
417
417
  a in l || (l[a] = o[a]);
418
418
  }
419
- function Dt(e) {
419
+ function Lt(e) {
420
420
  const t = [];
421
421
  for (const n of e.steps)
422
422
  for (const o in n.styles)
@@ -426,7 +426,7 @@ function Dt(e) {
426
426
  function Me(e) {
427
427
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
428
428
  if (!t.length) {
429
- De(e.elementId || e.id || "");
429
+ Le(e.elementId || e.id || "");
430
430
  return;
431
431
  }
432
432
  Array.from(t).forEach((n) => {
@@ -440,7 +440,7 @@ function Me(e) {
440
440
  function Ut(e) {
441
441
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
442
442
  if (!t.length) {
443
- De(e.elementId || e.id || "");
443
+ Le(e.elementId || e.id || "");
444
444
  return;
445
445
  }
446
446
  Array.from(t).forEach((n) => {
@@ -475,8 +475,8 @@ function Ut(e) {
475
475
  const je = (e) => Object.entries(e).map(([n, o]) => {
476
476
  if (typeof o == "string")
477
477
  return `${he(n)}: ${o};`;
478
- }).filter(D), Mt = (e) => je(e).join(`
479
- `), Ei = ({
478
+ }).filter(L), Mt = (e) => je(e).join(`
479
+ `), Pi = ({
480
480
  mediaQuery: e,
481
481
  className: t,
482
482
  styles: n
@@ -493,7 +493,7 @@ function jt({
493
493
  }) {
494
494
  return e;
495
495
  }
496
- const xi = ({
496
+ const Ei = ({
497
497
  block: e,
498
498
  context: t
499
499
  }) => He(jt({
@@ -521,7 +521,7 @@ const Ht = ({
521
521
  registeredComponents: n
522
522
  }) => {
523
523
  var i;
524
- const o = (i = Le({
524
+ const o = (i = De({
525
525
  block: e,
526
526
  localState: t.localState,
527
527
  rootState: t.rootState,
@@ -547,7 +547,7 @@ const Ht = ({
547
547
  } = e;
548
548
  if (!(n != null && n.collection))
549
549
  return;
550
- const r = te({
550
+ const r = ee({
551
551
  code: n.collection,
552
552
  localState: t.localState,
553
553
  rootState: t.rootState,
@@ -596,22 +596,22 @@ const Ht = ({
596
596
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
597
597
  e
598
598
  ), e;
599
- }), Qt = () => import("./block-styles-sZJR1URf.js").then((e) => e.default).catch((e) => {
599
+ }), Qt = () => import("./block-styles-mooo-nyz.js").then((e) => e.default).catch((e) => {
600
600
  throw console.error(
601
601
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
602
602
  e
603
603
  ), e;
604
- }), Xt = () => import("./block-wrapper-ody6Sxkr.js").then((e) => e.default).catch((e) => {
604
+ }), Xt = () => import("./block-wrapper-3cYhLXDa.js").then((e) => e.default).catch((e) => {
605
605
  throw console.error(
606
606
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
607
607
  e
608
608
  ), e;
609
- }), Zt = () => import("./component-ref-rf4-wS3o.js").then((e) => e.default).catch((e) => {
609
+ }), Zt = () => import("./component-ref-A7Jq3Gj-.js").then((e) => e.default).catch((e) => {
610
610
  throw console.error(
611
611
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
612
612
  e
613
613
  ), e;
614
- }), _t = () => import("./repeated-block-4hDqPbdf.js").then((e) => e.default).catch((e) => {
614
+ }), _t = () => import("./repeated-block-AKO0QANq.js").then((e) => e.default).catch((e) => {
615
615
  throw console.error(
616
616
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
617
617
  e
@@ -628,7 +628,7 @@ const Ht = ({
628
628
  props: ["block", "context", "registeredComponents", "linkComponent"],
629
629
  mounted() {
630
630
  const e = this.processedBlock.id, t = this.processedBlock.animations;
631
- t && e && Lt(
631
+ t && e && Dt(
632
632
  t.map((n) => ({
633
633
  ...n,
634
634
  elementId: e
@@ -651,7 +651,7 @@ const Ht = ({
651
651
  },
652
652
  processedBlock() {
653
653
  var e;
654
- return (e = this.block.repeat) != null && e.collection ? this.block : Le({
654
+ return (e = this.block.repeat) != null && e.collection ? this.block : De({
655
655
  block: this.block,
656
656
  localState: this.context.localState,
657
657
  rootState: this.context.rootState,
@@ -757,7 +757,7 @@ function tn(e, t, n, o, r, i) {
757
757
  ], 64))
758
758
  ], 64)) : v("", !0);
759
759
  }
760
- const fe = /* @__PURE__ */ b(en, [["render", tn]]), Ai = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
760
+ const fe = /* @__PURE__ */ b(en, [["render", tn]]), xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
761
761
  __proto__: null,
762
762
  default: fe
763
763
  }, Symbol.toStringTag, { value: "Module" })), nn = f({
@@ -834,7 +834,7 @@ const rn = /* @__PURE__ */ b(nn, [["render", on], ["__scopeId", "data-v-a5b13ef9
834
834
  "registeredComponents"
835
835
  ],
836
836
  inject: {
837
- builderContext: ce.key,
837
+ builderContext: le.key,
838
838
  componentsContext: Ae.key
839
839
  }
840
840
  });
@@ -870,9 +870,9 @@ function cn(e, t, n, o, r, i) {
870
870
  E(e.$slots, "default")
871
871
  ]);
872
872
  }
873
- const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
873
+ const Y = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
874
874
  __proto__: null,
875
- default: Q
875
+ default: Y
876
876
  }, Symbol.toStringTag, { value: "Module" })), be = f({
877
877
  render() {
878
878
  return xe("style", {
@@ -899,11 +899,11 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
899
899
  default: 991,
900
900
  max: 1200
901
901
  }
902
- }, Vi = (e, t = Ke) => `@media (max-width: ${t[e].max}px)`, un = ({
902
+ }, Ai = (e, t = Ke) => `@media (max-width: ${t[e].max}px)`, un = ({
903
903
  small: e,
904
904
  medium: t
905
905
  }) => {
906
- const n = Y(Ke);
906
+ const n = me(Ke);
907
907
  if (!e || !t)
908
908
  return n;
909
909
  const o = Math.floor(e / 2);
@@ -929,9 +929,9 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
929
929
  name: "builder-columns",
930
930
  components: {
931
931
  InlinedStyles: be,
932
- DynamicRenderer: me,
932
+ DynamicRenderer: pe,
933
933
  Blocks: M,
934
- DynamicDiv: Q
934
+ DynamicDiv: Y
935
935
  },
936
936
  props: [
937
937
  "space",
@@ -1021,6 +1021,7 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
1021
1021
  )[e].max;
1022
1022
  },
1023
1023
  columnsStyles() {
1024
+ const e = `.${this.builderBlock.id}-breakpoints > .builder-column`;
1024
1025
  return `
1025
1026
  @media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
1026
1027
  .${this.builderBlock.id}-breakpoints {
@@ -1028,7 +1029,7 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
1028
1029
  align-items: stretch;
1029
1030
  }
1030
1031
 
1031
- .${this.builderBlock.id}-breakpoints > .builder-column {
1032
+ ${e} {
1032
1033
  width: var(--column-width-tablet) !important;
1033
1034
  margin-left: var(--column-margin-left-tablet) !important;
1034
1035
  }
@@ -1040,7 +1041,7 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
1040
1041
  align-items: stretch;
1041
1042
  }
1042
1043
 
1043
- .${this.builderBlock.id}-breakpoints > .builder-column {
1044
+ ${e} {
1044
1045
  width: var(--column-width-mobile) !important;
1045
1046
  margin-left: var(--column-margin-left-mobile) !important;
1046
1047
  }
@@ -1052,7 +1053,7 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
1052
1053
  ...e.link ? {
1053
1054
  href: e.link
1054
1055
  } : {},
1055
- [ee()]: "builder-column",
1056
+ [_()]: "builder-column",
1056
1057
  style: He(this.columnCssVars(t))
1057
1058
  };
1058
1059
  }
@@ -1062,7 +1063,7 @@ function hn(e, t, n, o, r, i) {
1062
1063
  var u;
1063
1064
  const s = g("InlinedStyles"), l = g("Blocks"), a = g("DynamicRenderer");
1064
1065
  return d(), p("div", C({
1065
- class: e.getColumnsClass((u = e.builderBlock) == null ? void 0 : u.id) + " div-2brhoa1k8gd",
1066
+ class: e.getColumnsClass((u = e.builderBlock) == null ? void 0 : u.id) + " div-t9spj7joih",
1066
1067
  style: e.columnsCssVars()
1067
1068
  }, {}), [
1068
1069
  e.TARGET !== "reactNative" ? (d(), k(s, {
@@ -1094,7 +1095,7 @@ function hn(e, t, n, o, r, i) {
1094
1095
  }, 1032, ["TagName", "attributes"]))), 128))
1095
1096
  ], 16);
1096
1097
  }
1097
- const fn = /* @__PURE__ */ b(mn, [["render", hn], ["__scopeId", "data-v-975347d5"]]), bn = f({
1098
+ const fn = /* @__PURE__ */ b(mn, [["render", hn], ["__scopeId", "data-v-c214af09"]]), bn = f({
1098
1099
  name: "builder-fragment-component",
1099
1100
  props: []
1100
1101
  });
@@ -1123,7 +1124,7 @@ function vn(e, t) {
1123
1124
  }
1124
1125
  return null;
1125
1126
  }
1126
- function re(e) {
1127
+ function oe(e) {
1127
1128
  if (!e)
1128
1129
  return e;
1129
1130
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
@@ -1162,10 +1163,10 @@ const Sn = f({
1162
1163
  if (!this.noWebp) {
1163
1164
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
1164
1165
  if (!this.srcset.includes(this.image.split("?")[0]))
1165
- return console.debug("Removed given srcset"), re(t);
1166
+ return console.debug("Removed given srcset"), oe(t);
1166
1167
  } else if (this.image && !this.srcset)
1167
- return re(t);
1168
- return re(t);
1168
+ return oe(t);
1169
+ return oe(t);
1169
1170
  }
1170
1171
  },
1171
1172
  webpSrcSet() {
@@ -1201,7 +1202,7 @@ function In(e, t, n, o, r, i) {
1201
1202
  fetchpriority: e.highPriority ? "high" : "auto",
1202
1203
  alt: e.altText,
1203
1204
  role: e.altText ? void 0 : "presentation",
1204
- style: L({
1205
+ style: D({
1205
1206
  objectPosition: e.backgroundPosition || "center",
1206
1207
  objectFit: e.backgroundSize || "cover",
1207
1208
  ...e.aspectRatioCss
@@ -1217,7 +1218,7 @@ function In(e, t, n, o, r, i) {
1217
1218
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), p("div", {
1218
1219
  key: 0,
1219
1220
  class: "builder-image-sizer div-1pl23ac79ld",
1220
- style: L({
1221
+ style: D({
1221
1222
  paddingTop: e.aspectRatio * 100 + "%"
1222
1223
  })
1223
1224
  }, null, 4)) : v("", !0),
@@ -1268,7 +1269,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1268
1269
  B.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
1269
1270
  return;
1270
1271
  }
1271
- }, ze = async (e) => qe(e), xn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(D).join("; "), An = [["secure", ""], ["SameSite", "None"]], Vn = ({
1272
+ }, ze = async (e) => qe(e), xn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(L).join("; "), An = [["secure", ""], ["SameSite", "None"]], Vn = ({
1272
1273
  name: e,
1273
1274
  value: t,
1274
1275
  expires: n
@@ -1310,7 +1311,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1310
1311
  name: ge(e),
1311
1312
  value: t,
1312
1313
  canTrack: !0
1313
- }), Ge = (e) => D(e.id) && D(e.variations) && Object.keys(e.variations).length > 0, Ln = ({
1314
+ }), Ge = (e) => L(e.id) && L(e.variations) && Object.keys(e.variations).length > 0, Dn = ({
1314
1315
  id: e,
1315
1316
  variations: t
1316
1317
  }) => {
@@ -1324,7 +1325,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1324
1325
  }
1325
1326
  return e;
1326
1327
  }, Ye = (e) => {
1327
- const t = Ln(e);
1328
+ const t = Dn(e);
1328
1329
  return On({
1329
1330
  contentId: e.id,
1330
1331
  value: t
@@ -1345,7 +1346,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1345
1346
  testVariationId: n.id,
1346
1347
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
1347
1348
  };
1348
- }, Dn = ({
1349
+ }, Ln = ({
1349
1350
  item: e,
1350
1351
  canTrack: t
1351
1352
  }) => {
@@ -1387,7 +1388,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1387
1388
  ...e,
1388
1389
  ...r
1389
1390
  };
1390
- }, G = (e) => D(e) ? e : !0, ie = {
1391
+ }, G = (e) => L(e) ? e : !0, re = {
1391
1392
  "@type": "@builder.io/sdk:Element",
1392
1393
  layerName: "Accordion item title",
1393
1394
  responsiveStyles: {
@@ -1416,7 +1417,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1416
1417
  }
1417
1418
  }
1418
1419
  }]
1419
- }, se = {
1420
+ }, ie = {
1420
1421
  "@type": "@builder.io/sdk:Element",
1421
1422
  layerName: "Accordion item detail",
1422
1423
  responsiveStyles: {
@@ -1464,19 +1465,19 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1464
1465
  name: "title",
1465
1466
  type: "uiBlocks",
1466
1467
  hideFromUI: !0,
1467
- defaultValue: [ie]
1468
+ defaultValue: [re]
1468
1469
  }, {
1469
1470
  name: "detail",
1470
1471
  type: "uiBlocks",
1471
1472
  hideFromUI: !0,
1472
- defaultValue: [se]
1473
+ defaultValue: [ie]
1473
1474
  }],
1474
1475
  defaultValue: [{
1475
- title: [ie],
1476
- detail: [se]
1476
+ title: [re],
1477
+ detail: [ie]
1477
1478
  }, {
1478
- title: [ie],
1479
- detail: [se]
1479
+ title: [re],
1480
+ detail: [ie]
1480
1481
  }],
1481
1482
  showIf: (e) => !e.get("useChildrenForItems")
1482
1483
  }, {
@@ -1611,12 +1612,12 @@ function qn(e, t, n, o, r, i) {
1611
1612
  const s = g("Blocks");
1612
1613
  return d(), p("div", {
1613
1614
  class: "builder-accordion",
1614
- style: L(e.accordionStyles)
1615
+ style: D(e.accordionStyles)
1615
1616
  }, [
1616
1617
  (d(!0), p(I, null, N(e.items, (l, a) => (d(), p(I, { key: a }, [
1617
1618
  z("div", {
1618
1619
  class: J(e.getAccordionTitleClassName(a)),
1619
- style: L({
1620
+ style: D({
1620
1621
  ...e.accordionTitleStyles,
1621
1622
  width: e.grid ? e.gridRowWidth : void 0,
1622
1623
  order: e.openGridItemOrder !== null ? e.convertOrderNumberToString(a) : e.convertOrderNumberToString(a + 1)
@@ -1636,7 +1637,7 @@ function qn(e, t, n, o, r, i) {
1636
1637
  e.open.includes(a) ? (d(), p("div", {
1637
1638
  key: 0,
1638
1639
  class: J(e.getAccordionDetailClassName(a)),
1639
- style: L(e.accordionDetailStyles)
1640
+ style: D(e.accordionDetailStyles)
1640
1641
  }, [
1641
1642
  $(s, {
1642
1643
  blocks: l.detail,
@@ -2125,7 +2126,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2125
2126
  builderComponents: !0,
2126
2127
  builderLinkComponent: !0
2127
2128
  }
2128
- }, ae = {
2129
+ }, se = {
2129
2130
  "@type": "@builder.io/sdk:Element",
2130
2131
  responsiveStyles: {
2131
2132
  large: {
@@ -2147,7 +2148,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2147
2148
  text: "New tab"
2148
2149
  }
2149
2150
  }
2150
- }, le = {
2151
+ }, ae = {
2151
2152
  "@type": "@builder.io/sdk:Element",
2152
2153
  responsiveStyles: {
2153
2154
  large: {
@@ -2173,16 +2174,16 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2173
2174
  name: "label",
2174
2175
  type: "uiBlocks",
2175
2176
  hideFromUI: !0,
2176
- defaultValue: [ae]
2177
+ defaultValue: [se]
2177
2178
  }, {
2178
2179
  name: "content",
2179
2180
  type: "uiBlocks",
2180
2181
  hideFromUI: !0,
2181
- defaultValue: [le]
2182
+ defaultValue: [ae]
2182
2183
  }],
2183
2184
  defaultValue: [{
2184
2185
  label: [{
2185
- ...ae,
2186
+ ...se,
2186
2187
  component: {
2187
2188
  name: "Text",
2188
2189
  options: {
@@ -2191,7 +2192,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2191
2192
  }
2192
2193
  }],
2193
2194
  content: [{
2194
- ...le,
2195
+ ...ae,
2195
2196
  component: {
2196
2197
  name: "Text",
2197
2198
  options: {
@@ -2201,7 +2202,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2201
2202
  }]
2202
2203
  }, {
2203
2204
  label: [{
2204
- ...ae,
2205
+ ...se,
2205
2206
  component: {
2206
2207
  name: "Text",
2207
2208
  options: {
@@ -2210,7 +2211,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2210
2211
  }
2211
2212
  }],
2212
2213
  content: [{
2213
- ...le,
2214
+ ...ae,
2214
2215
  component: {
2215
2216
  name: "Text",
2216
2217
  options: {
@@ -2297,7 +2298,7 @@ function ao(e, t, n, o, r, i) {
2297
2298
  return d(), p("div", null, [
2298
2299
  z("div", {
2299
2300
  class: "builder-tabs-wrap",
2300
- style: L({
2301
+ style: D({
2301
2302
  display: "flex",
2302
2303
  flexDirection: "row",
2303
2304
  justifyContent: e.tabHeaderLayout || "flex-start",
@@ -2307,7 +2308,7 @@ function ao(e, t, n, o, r, i) {
2307
2308
  (d(!0), p(I, null, N(e.tabs, (l, a) => (d(), p("span", {
2308
2309
  key: a,
2309
2310
  class: J(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
2310
- style: L({
2311
+ style: D({
2311
2312
  ...e.activeTab === a ? e.activeTabStyle : {}
2312
2313
  }),
2313
2314
  onClick: (u) => e.onClick(a)
@@ -2934,7 +2935,7 @@ function Wo(e, t, n, o, r, i) {
2934
2935
  blocks: e.sendingMessage,
2935
2936
  context: e.builderContext
2936
2937
  }, null, 8, ["blocks", "context"])) : v("", !0),
2937
- e.submissionState() === "error" && e.responseData ? (d(), p("pre", Vo, ne(JSON.stringify(e.responseData, null, 2)), 1)) : v("", !0),
2938
+ e.submissionState() === "error" && e.responseData ? (d(), p("pre", Vo, te(JSON.stringify(e.responseData, null, 2)), 1)) : v("", !0),
2938
2939
  e.submissionState() === "success" ? (d(), k(l, {
2939
2940
  key: 4,
2940
2941
  path: "successMessage",
@@ -3008,8 +3009,8 @@ const No = /* @__PURE__ */ b(xo, [["render", Wo], ["__scopeId", "data-v-489330f7
3008
3009
  data() {
3009
3010
  return { isEditing: R, filterAttrs: x };
3010
3011
  }
3011
- }), Lo = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3012
- function Do(e, t, n, o, r, i) {
3012
+ }), Do = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3013
+ function Lo(e, t, n, o, r, i) {
3013
3014
  return d(), p("input", C({
3014
3015
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3015
3016
  placeholder: e.placeholder,
@@ -3018,9 +3019,9 @@ function Do(e, t, n, o, r, i) {
3018
3019
  value: e.value,
3019
3020
  defaultValue: e.defaultValue,
3020
3021
  required: e.required
3021
- }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Lo);
3022
+ }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Do);
3022
3023
  }
3023
- const Uo = /* @__PURE__ */ b(Oo, [["render", Do]]), Mo = {
3024
+ const Uo = /* @__PURE__ */ b(Oo, [["render", Lo]]), Mo = {
3024
3025
  name: "Form:Select",
3025
3026
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3026
3027
  defaultStyles: {
@@ -3080,7 +3081,7 @@ function qo(e, t, n, o, r, i) {
3080
3081
  (d(!0), p(I, null, N(e.options, (s, l) => (d(), p("option", {
3081
3082
  key: `${s.name}-${l}`,
3082
3083
  value: s.value
3083
- }, ne(s.name || s.value), 9, Ko))), 128))
3084
+ }, te(s.name || s.value), 9, Ko))), 128))
3084
3085
  ], 16, Ho);
3085
3086
  }
3086
3087
  const zo = /* @__PURE__ */ b(jo, [["render", qo]]), Jo = {
@@ -3116,7 +3117,7 @@ const zo = /* @__PURE__ */ b(jo, [["render", qo]]), Jo = {
3116
3117
  }
3117
3118
  });
3118
3119
  function Yo(e, t, n, o, r, i) {
3119
- return d(), p("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ne(e.text), 17);
3120
+ return d(), p("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), te(e.text), 17);
3120
3121
  }
3121
3122
  const Qo = /* @__PURE__ */ b(Go, [["render", Yo]]), Xo = {
3122
3123
  name: "Form:TextArea",
@@ -3399,7 +3400,7 @@ function hr(e, t, n, o, r, i) {
3399
3400
  ], 16, dr),
3400
3401
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), p("div", {
3401
3402
  key: 0,
3402
- style: L({
3403
+ style: D({
3403
3404
  width: "100%",
3404
3405
  paddingTop: e.aspectRatio * 100 + "%",
3405
3406
  pointerEvents: "none",
@@ -3460,7 +3461,7 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3460
3461
  component: to,
3461
3462
  ...Zn
3462
3463
  }, {
3463
- component: Ii,
3464
+ component: Ti,
3464
3465
  ...no
3465
3466
  }, {
3466
3467
  component: ho,
@@ -3473,20 +3474,15 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3473
3474
  ...Mn
3474
3475
  }, ...br()], gr = (e) => ({
3475
3476
  type: "builder.registerComponent",
3476
- data: de(e)
3477
+ data: ce(e)
3477
3478
  }), yr = (e) => {
3478
3479
  const t = e.toString().trim();
3479
3480
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
3480
- }, kr = (e) => typeof e == "function" ? yr(e) : Y(e), de = ({
3481
- inputs: e,
3482
- ...t
3483
- }) => ({
3484
- ...Y(t),
3485
- inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, i]) => ({
3486
- ...o,
3487
- [r]: kr(i)
3488
- }), {}))
3489
- }), vr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3481
+ };
3482
+ function ce(e) {
3483
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? yr(n) : n));
3484
+ }
3485
+ const kr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3490
3486
  function getAndSetVariantId() {
3491
3487
  function setCookie(name, value, days) {
3492
3488
  let expires = '';
@@ -3542,7 +3538,7 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3542
3538
  }).join('');
3543
3539
  styleEl.innerHTML = newStyleStr;
3544
3540
  }
3545
- }`, Sr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3541
+ }`, vr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3546
3542
  if (!navigator.cookieEnabled) {
3547
3543
  return;
3548
3544
  }
@@ -3576,20 +3572,20 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3576
3572
  thisScriptEl?.remove();
3577
3573
  }
3578
3574
  return;
3579
- }`, Xe = "builderIoAbTest", Ze = "builderIoRenderContent", _ = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3575
+ }`, Xe = "builderIoAbTest", Ze = "builderIoRenderContent", Z = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3580
3576
  ...t,
3581
3577
  testVariationId: t.id,
3582
3578
  id: e == null ? void 0 : e.id
3583
- })), Cr = ({
3579
+ })), Sr = ({
3584
3580
  canTrack: e,
3585
3581
  content: t
3586
- }) => !(!(_(t).length > 0) || !e), wr = (e) => e === "react" || e === "reactNative", _e = wr(A), Tr = () => `
3587
- window.${Xe} = ${vr}
3588
- window.${Ze} = ${Sr}
3589
- `, Ir = (e, t) => `
3582
+ }) => !(!(Z(t).length > 0) || !e), Cr = (e) => e === "react" || e === "reactNative", _e = Cr(A), wr = () => `
3583
+ window.${Xe} = ${kr}
3584
+ window.${Ze} = ${vr}
3585
+ `, Tr = (e, t) => `
3590
3586
  window.${Xe}(
3591
3587
  "${t}",${JSON.stringify(e)}, ${_e}
3592
- )`, $r = ({
3588
+ )`, Ir = ({
3593
3589
  contentId: e,
3594
3590
  variationId: t
3595
3591
  }) => `window.${Ze}(
@@ -3605,23 +3601,23 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3605
3601
  name: "inlined-script",
3606
3602
  props: ["scriptStr", "id", "nonce"]
3607
3603
  });
3608
- function Rr() {
3604
+ function $r() {
3609
3605
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
3610
3606
  }
3611
- function Br() {
3612
- const e = Rr().fetch;
3607
+ function Rr() {
3608
+ const e = $r().fetch;
3613
3609
  if (typeof e > "u")
3614
3610
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
3615
3611
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
3616
3612
  return e;
3617
3613
  }
3618
- const tt = Br();
3619
- function ue(e, t = null, n = ".") {
3614
+ const tt = Rr();
3615
+ function de(e, t = null, n = ".") {
3620
3616
  return Object.keys(e).reduce((o, r) => {
3621
3617
  const i = e[r], s = [t, r].filter(Boolean).join(n);
3622
3618
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
3623
3619
  ...o,
3624
- ...ue(i, s, n)
3620
+ ...de(i, s, n)
3625
3621
  } : {
3626
3622
  ...o,
3627
3623
  [s]: i
@@ -3635,17 +3631,17 @@ function nt(e, t, n = {}) {
3635
3631
  }
3636
3632
  return n;
3637
3633
  }
3638
- const Pr = "v3", Te = "builder.", Er = "options.", ot = (e) => {
3634
+ const Br = "v3", Te = "builder.", Pr = "options.", ot = (e) => {
3639
3635
  if (!e)
3640
3636
  return {};
3641
3637
  const t = Ve(e), n = {};
3642
3638
  return Object.keys(t).forEach((o) => {
3643
3639
  if (o.startsWith(Te)) {
3644
- const r = o.replace(Te, "").replace(Er, "");
3640
+ const r = o.replace(Te, "").replace(Pr, "");
3645
3641
  n[r] = t[o];
3646
3642
  }
3647
3643
  }), n;
3648
- }, xr = () => {
3644
+ }, Er = () => {
3649
3645
  if (!T())
3650
3646
  return {};
3651
3647
  const e = new URLSearchParams(window.location.search);
@@ -3659,7 +3655,7 @@ const Pr = "v3", Te = "builder.", Er = "options.", ot = (e) => {
3659
3655
  apiKey: i,
3660
3656
  enrich: s,
3661
3657
  locale: l,
3662
- apiVersion: a = Pr,
3658
+ apiVersion: a = Br,
3663
3659
  fields: u,
3664
3660
  omit: h,
3665
3661
  offset: c,
@@ -3672,18 +3668,18 @@ const Pr = "v3", Te = "builder.", Er = "options.", ot = (e) => {
3672
3668
  throw new Error("Missing API key");
3673
3669
  if (!["v3"].includes(a))
3674
3670
  throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
3675
- const X = t !== 1, w = new URL(`https://cdn.builder.io/api/${a}/content/${r}`);
3676
- if (w.searchParams.set("apiKey", i), w.searchParams.set("limit", String(t)), w.searchParams.set("noTraverse", String(X)), w.searchParams.set("includeRefs", String(!0)), l && w.searchParams.set("locale", l), s && w.searchParams.set("enrich", String(s)), w.searchParams.set("omit", h || "meta.componentsUsed"), u && w.searchParams.set("fields", u), Number.isFinite(c) && c > -1 && w.searchParams.set("offset", String(Math.floor(c))), typeof F == "boolean" && w.searchParams.set("includeUnpublished", String(F)), m && Ie(m) && w.searchParams.set("cacheSeconds", String(m)), S && Ie(S) && w.searchParams.set("staleCacheSeconds", String(S)), y) {
3677
- const O = ue({
3671
+ const Q = t !== 1, w = new URL(`https://cdn.builder.io/api/${a}/content/${r}`);
3672
+ if (w.searchParams.set("apiKey", i), w.searchParams.set("limit", String(t)), w.searchParams.set("noTraverse", String(Q)), w.searchParams.set("includeRefs", String(!0)), l && w.searchParams.set("locale", l), s && w.searchParams.set("enrich", String(s)), w.searchParams.set("omit", h || "meta.componentsUsed"), u && w.searchParams.set("fields", u), Number.isFinite(c) && c > -1 && w.searchParams.set("offset", String(Math.floor(c))), typeof F == "boolean" && w.searchParams.set("includeUnpublished", String(F)), m && Ie(m) && w.searchParams.set("cacheSeconds", String(m)), S && Ie(S) && w.searchParams.set("staleCacheSeconds", String(S)), y) {
3673
+ const O = de({
3678
3674
  sort: y
3679
3675
  });
3680
3676
  for (const j in O)
3681
3677
  w.searchParams.set(j, JSON.stringify(O[j]));
3682
3678
  }
3683
3679
  const ut = {
3684
- ...xr(),
3680
+ ...Er(),
3685
3681
  ...Ve(e.options || {})
3686
- }, ve = ue(ut);
3682
+ }, ve = de(ut);
3687
3683
  for (const O in ve)
3688
3684
  w.searchParams.set(O, String(ve[O]));
3689
3685
  if (n && w.searchParams.set("userAttributes", JSON.stringify(n)), o) {
@@ -3694,18 +3690,18 @@ const Pr = "v3", Te = "builder.", Er = "options.", ot = (e) => {
3694
3690
  w.searchParams.set(j, JSON.stringify(O[j]));
3695
3691
  }
3696
3692
  return w;
3697
- }, Ar = (e) => "results" in e;
3693
+ }, xr = (e) => "results" in e;
3698
3694
  async function ke(e) {
3699
- const t = await Nr({
3695
+ const t = await Wr({
3700
3696
  ...e,
3701
3697
  limit: 1
3702
3698
  });
3703
3699
  return t && t[0] || null;
3704
3700
  }
3705
- const Vr = async (e) => {
3701
+ const Ar = async (e) => {
3706
3702
  const t = ye(e);
3707
3703
  return await (await (e.fetch ?? tt)(t.href, e.fetchOptions)).json();
3708
- }, Wr = async (e, t, n = ye(e)) => {
3704
+ }, Vr = async (e, t, n = ye(e)) => {
3709
3705
  const o = G(e.canTrack);
3710
3706
  if (n.search.includes("preview="), !o || !(T() || A === "reactNative"))
3711
3707
  return t.results;
@@ -3722,10 +3718,10 @@ const Vr = async (e) => {
3722
3718
  }
3723
3719
  return t.results;
3724
3720
  };
3725
- async function Nr(e) {
3721
+ async function Wr(e) {
3726
3722
  try {
3727
- const t = ye(e), n = await Vr(e);
3728
- return Ar(n) ? Wr(e, n) : (B.error("Error fetching data. ", {
3723
+ const t = ye(e), n = await Ar(e);
3724
+ return xr(n) ? Vr(e, n) : (B.error("Error fetching data. ", {
3729
3725
  url: t,
3730
3726
  content: n,
3731
3727
  options: e
@@ -3734,20 +3730,20 @@ async function Nr(e) {
3734
3730
  return B.error("Error fetching data. ", t), null;
3735
3731
  }
3736
3732
  }
3737
- function Fr(e) {
3733
+ function Nr(e) {
3738
3734
  const t = e || (T() ? window.location.search : void 0);
3739
3735
  return t ? We(t).indexOf("builder.preview=") !== -1 : !1;
3740
3736
  }
3741
- function Or() {
3737
+ function Fr() {
3742
3738
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
3743
3739
  const t = Math.random() * 16 | 0;
3744
3740
  return (e == "x" ? t : t & 3 | 8).toString(16);
3745
3741
  });
3746
3742
  }
3747
3743
  function rt() {
3748
- return Or().replace(/-/g, "");
3744
+ return Fr().replace(/-/g, "");
3749
3745
  }
3750
- const it = "builderSessionId", Lr = async ({
3746
+ const it = "builderSessionId", Or = async ({
3751
3747
  canTrack: e
3752
3748
  }) => {
3753
3749
  if (!e)
@@ -3756,23 +3752,23 @@ const it = "builderSessionId", Lr = async ({
3756
3752
  name: it,
3757
3753
  canTrack: e
3758
3754
  });
3759
- if (D(t))
3755
+ if (L(t))
3760
3756
  return t;
3761
3757
  {
3762
3758
  const n = Dr();
3763
- return Ur({
3759
+ return Lr({
3764
3760
  id: n,
3765
3761
  canTrack: e
3766
3762
  }), n;
3767
3763
  }
3768
- }, Dr = () => rt(), Ur = ({
3764
+ }, Dr = () => rt(), Lr = ({
3769
3765
  id: e,
3770
3766
  canTrack: t
3771
3767
  }) => Je({
3772
3768
  name: it,
3773
3769
  value: e,
3774
3770
  canTrack: t
3775
- }), st = () => T() && typeof localStorage < "u" ? localStorage : void 0, Mr = ({
3771
+ }), st = () => T() && typeof localStorage < "u" ? localStorage : void 0, Ur = ({
3776
3772
  key: e,
3777
3773
  canTrack: t
3778
3774
  }) => {
@@ -3783,7 +3779,7 @@ const it = "builderSessionId", Lr = async ({
3783
3779
  console.debug("[LocalStorage] GET error: ", o);
3784
3780
  return;
3785
3781
  }
3786
- }, jr = ({
3782
+ }, Mr = ({
3787
3783
  key: e,
3788
3784
  canTrack: t,
3789
3785
  value: n
@@ -3794,32 +3790,32 @@ const it = "builderSessionId", Lr = async ({
3794
3790
  } catch (r) {
3795
3791
  console.debug("[LocalStorage] SET error: ", r);
3796
3792
  }
3797
- }, at = "builderVisitorId", Hr = ({
3793
+ }, at = "builderVisitorId", jr = ({
3798
3794
  canTrack: e
3799
3795
  }) => {
3800
3796
  if (!e)
3801
3797
  return;
3802
- const t = Mr({
3798
+ const t = Ur({
3803
3799
  key: at,
3804
3800
  canTrack: e
3805
3801
  });
3806
- if (D(t))
3802
+ if (L(t))
3807
3803
  return t;
3808
3804
  {
3809
- const n = Kr();
3810
- return qr({
3805
+ const n = Hr();
3806
+ return Kr({
3811
3807
  id: n,
3812
3808
  canTrack: e
3813
3809
  }), n;
3814
3810
  }
3815
- }, Kr = () => rt(), qr = ({
3811
+ }, Hr = () => rt(), Kr = ({
3816
3812
  id: e,
3817
3813
  canTrack: t
3818
- }) => jr({
3814
+ }) => Mr({
3819
3815
  key: at,
3820
3816
  value: e,
3821
3817
  canTrack: t
3822
- }), zr = async ({
3818
+ }), qr = async ({
3823
3819
  canTrack: e
3824
3820
  }) => {
3825
3821
  if (!e)
@@ -3827,16 +3823,16 @@ const it = "builderSessionId", Lr = async ({
3827
3823
  visitorId: void 0,
3828
3824
  sessionId: void 0
3829
3825
  };
3830
- const t = await Lr({
3826
+ const t = await Or({
3831
3827
  canTrack: e
3832
- }), n = Hr({
3828
+ }), n = jr({
3833
3829
  canTrack: e
3834
3830
  });
3835
3831
  return {
3836
3832
  sessionId: t,
3837
3833
  visitorId: n
3838
3834
  };
3839
- }, Jr = async ({
3835
+ }, zr = async ({
3840
3836
  type: e,
3841
3837
  canTrack: t,
3842
3838
  apiKey: n,
@@ -3850,14 +3846,14 @@ const it = "builderSessionId", Lr = async ({
3850
3846
  url: location.href,
3851
3847
  ...o
3852
3848
  },
3853
- ...await zr({
3849
+ ...await qr({
3854
3850
  canTrack: t
3855
3851
  }),
3856
3852
  userAttributes: Ne(),
3857
3853
  ownerId: n
3858
3854
  }
3859
3855
  });
3860
- async function pe(e) {
3856
+ async function ue(e) {
3861
3857
  if (!e.apiKey) {
3862
3858
  B.error("Missing API key for track call. Please provide your API key.");
3863
3859
  return;
@@ -3866,7 +3862,7 @@ async function pe(e) {
3866
3862
  return fetch("https://cdn.builder.io/api/v1/track", {
3867
3863
  method: "POST",
3868
3864
  body: JSON.stringify({
3869
- events: [await Jr(e)]
3865
+ events: [await zr(e)]
3870
3866
  }),
3871
3867
  headers: {
3872
3868
  "content-type": "application/json"
@@ -3876,14 +3872,14 @@ async function pe(e) {
3876
3872
  console.error("Failed to track: ", t);
3877
3873
  });
3878
3874
  }
3879
- const Wi = (e) => pe({
3875
+ const Vi = (e) => ue({
3880
3876
  ...e,
3881
3877
  canTrack: !0
3882
3878
  });
3883
3879
  function $e(e) {
3884
3880
  return Math.round(e * 1e3) / 1e3;
3885
3881
  }
3886
- const Gr = (e, t, n = !0) => {
3882
+ const Jr = (e, t, n = !0) => {
3887
3883
  if (!(e instanceof HTMLElement))
3888
3884
  return null;
3889
3885
  let o = n ? e : e.parentElement;
@@ -3894,7 +3890,7 @@ const Gr = (e, t, n = !0) => {
3894
3890
  return o;
3895
3891
  } while (o = o.parentElement);
3896
3892
  return null;
3897
- }, Yr = (e) => Gr(e, (t) => {
3893
+ }, Gr = (e) => Jr(e, (t) => {
3898
3894
  const n = t.getAttribute("builder-id") || t.id;
3899
3895
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3900
3896
  }), Re = ({
@@ -3906,8 +3902,8 @@ const Gr = (e, t, n = !0) => {
3906
3902
  x: i,
3907
3903
  y: s
3908
3904
  };
3909
- }, Qr = (e) => {
3910
- const t = e.target, n = t && Yr(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3905
+ }, Yr = (e) => {
3906
+ const t = e.target, n = t && Gr(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3911
3907
  return {
3912
3908
  targetBuilderElement: o || void 0,
3913
3909
  metadata: {
@@ -3922,15 +3918,15 @@ const Gr = (e, t, n = !0) => {
3922
3918
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
3923
3919
  }
3924
3920
  };
3925
- }, Xr = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3921
+ }, Qr = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3926
3922
  function lt(e, t) {
3927
3923
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
3928
3924
  return !1;
3929
3925
  const n = new URL(t.origin), o = n.hostname;
3930
- return (e || Xr).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
3926
+ return (e || Qr).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
3931
3927
  }
3932
- const Zr = "2.0.2", Be = {};
3933
- function _r(e, t) {
3928
+ const Xr = "2.0.3", Be = {};
3929
+ function Zr(e, t) {
3934
3930
  let n = Be[e];
3935
3931
  if (n || (n = Be[e] = []), n.push(t), T()) {
3936
3932
  const o = {
@@ -3947,8 +3943,8 @@ function _r(e, t) {
3947
3943
  }
3948
3944
  }
3949
3945
  }
3950
- const ei = () => {
3951
- _r("insertMenu", {
3946
+ const _r = () => {
3947
+ Zr("insertMenu", {
3952
3948
  name: "_default",
3953
3949
  default: !0,
3954
3950
  items: [{
@@ -3977,7 +3973,7 @@ const ct = (e = {}) => {
3977
3973
  type: "builder.sdkInfo",
3978
3974
  data: {
3979
3975
  target: A,
3980
- version: Zr,
3976
+ version: Xr,
3981
3977
  supportsPatchUpdates: !1,
3982
3978
  // Supports builder-model="..." attribute which is needed to
3983
3979
  // scope our '+ add block' button styling
@@ -4058,7 +4054,7 @@ const ct = (e = {}) => {
4058
4054
  break;
4059
4055
  }
4060
4056
  }
4061
- }, Ni = (e, t, n) => {
4057
+ }, Wi = (e, t, n) => {
4062
4058
  if (!T)
4063
4059
  return B.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4064
4060
  };
@@ -4077,7 +4073,7 @@ const ct = (e = {}) => {
4077
4073
  return window.addEventListener("message", o), () => {
4078
4074
  window.removeEventListener("message", o);
4079
4075
  };
4080
- }, ti = (e) => {
4076
+ }, ei = (e) => {
4081
4077
  var i;
4082
4078
  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);
4083
4079
  let r = "";
@@ -4103,15 +4099,15 @@ font-weight: ${s};
4103
4099
  `.trim());
4104
4100
  }
4105
4101
  return r;
4106
- }, ni = ({
4102
+ }, ti = ({
4107
4103
  customFonts: e
4108
4104
  }) => {
4109
4105
  var t;
4110
- return ((t = e == null ? void 0 : e.map((n) => ti(n))) == null ? void 0 : t.join(" ")) || "";
4111
- }, oi = ({
4106
+ return ((t = e == null ? void 0 : e.map((n) => ei(n))) == null ? void 0 : t.join(" ")) || "";
4107
+ }, ni = ({
4112
4108
  cssCode: e,
4113
4109
  contentId: t
4114
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ri = `
4110
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", oi = `
4115
4111
  .builder-button {
4116
4112
  all: unset;
4117
4113
  }
@@ -4128,9 +4124,9 @@ font-weight: ${s};
4128
4124
  text-align: inherit;
4129
4125
  font-family: inherit;
4130
4126
  }
4131
- `, ii = (e) => e ? "" : ri, si = (e) => `variant-${e}`, ai = f({
4127
+ `, ri = (e) => e ? "" : oi, ii = (e) => `variant-${e}`, si = f({
4132
4128
  name: "enable-editor",
4133
- components: { DynamicDiv: Q },
4129
+ components: { DynamicDiv: Y },
4134
4130
  props: [
4135
4131
  "builderContextSignal",
4136
4132
  "canTrack",
@@ -4152,14 +4148,14 @@ font-weight: ${s};
4152
4148
  httpReqsData: {},
4153
4149
  httpReqsPending: {},
4154
4150
  clicked: !1,
4155
- builderContext: ce,
4156
- getWrapperClassName: si
4151
+ builderContext: le,
4152
+ getWrapperClassName: ii
4157
4153
  };
4158
4154
  },
4159
4155
  provide() {
4160
4156
  const e = this;
4161
4157
  return {
4162
- [ce.key]: e.builderContextSignal
4158
+ [le.key]: e.builderContextSignal
4163
4159
  };
4164
4160
  },
4165
4161
  mounted() {
@@ -4170,7 +4166,7 @@ font-weight: ${s};
4170
4166
  new CustomEvent("initeditingbldr")
4171
4167
  ), this.builderContextSignal.content && G(this.canTrack)) {
4172
4168
  const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, s = (o = this.builderContextSignal.content) == null ? void 0 : o.id, l = this.apiKey;
4173
- pe({
4169
+ ue({
4174
4170
  type: "impression",
4175
4171
  canTrack: !0,
4176
4172
  contentId: s,
@@ -4178,7 +4174,7 @@ font-weight: ${s};
4178
4174
  variationId: i !== s ? i : void 0
4179
4175
  });
4180
4176
  }
4181
- Fr() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4177
+ Nr() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4182
4178
  new CustomEvent("initpreviewingbldr")
4183
4179
  );
4184
4180
  }
@@ -4326,7 +4322,7 @@ font-weight: ${s};
4326
4322
  evaluateJsCode() {
4327
4323
  var t, n;
4328
4324
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
4329
- e && te({
4325
+ e && ee({
4330
4326
  code: e,
4331
4327
  context: this.context || {},
4332
4328
  localState: void 0,
@@ -4342,13 +4338,13 @@ font-weight: ${s};
4342
4338
  var t, n;
4343
4339
  if (this.builderContextSignal.content) {
4344
4340
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
4345
- pe({
4341
+ ue({
4346
4342
  type: "click",
4347
4343
  canTrack: G(this.canTrack),
4348
4344
  contentId: r,
4349
4345
  apiKey: this.apiKey,
4350
4346
  variationId: o !== r ? o : void 0,
4351
- ...Qr(e),
4347
+ ...Yr(e),
4352
4348
  unique: !this.clicked
4353
4349
  });
4354
4350
  }
@@ -4364,7 +4360,7 @@ font-weight: ${s};
4364
4360
  const i = r.replace(
4365
4361
  /{{([^}]+)}}/g,
4366
4362
  (s, l) => String(
4367
- te({
4363
+ ee({
4368
4364
  code: l,
4369
4365
  context: this.context || {},
4370
4366
  localState: void 0,
@@ -4391,7 +4387,7 @@ font-weight: ${s};
4391
4387
  "builder:component:stateChange",
4392
4388
  {
4393
4389
  detail: {
4394
- state: Y(this.builderContextSignal.rootState),
4390
+ state: me(this.builderContextSignal.rootState),
4395
4391
  ref: {
4396
4392
  name: this.model
4397
4393
  }
@@ -4401,7 +4397,7 @@ font-weight: ${s};
4401
4397
  );
4402
4398
  },
4403
4399
  elementRef_onIniteditingbldr(e) {
4404
- window.addEventListener("message", this.processMessage), ei(), ct({
4400
+ window.addEventListener("message", this.processMessage), _r(), ct({
4405
4401
  ...this.locale ? {
4406
4402
  locale: this.locale
4407
4403
  } : {},
@@ -4436,7 +4432,7 @@ font-weight: ${s};
4436
4432
  }
4437
4433
  }
4438
4434
  });
4439
- function li(e, t, n, o, r, i) {
4435
+ function ai(e, t, n, o, r, i) {
4440
4436
  var s, l, a;
4441
4437
  return e.builderContextSignal.content ? (d(), k(K(e.ContentWrapper), C({
4442
4438
  key: 0,
@@ -4454,26 +4450,26 @@ function li(e, t, n, o, r, i) {
4454
4450
  _: 3
4455
4451
  }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : v("", !0);
4456
4452
  }
4457
- const ci = /* @__PURE__ */ b(ai, [["render", li]]), di = f({
4453
+ const li = /* @__PURE__ */ b(si, [["render", ai]]), ci = f({
4458
4454
  name: "content-styles",
4459
4455
  components: { InlinedStyles: be },
4460
4456
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
4461
4457
  data() {
4462
4458
  return {
4463
4459
  injectedStyles: `
4464
- ${oi({
4460
+ ${ni({
4465
4461
  cssCode: this.cssCode,
4466
4462
  contentId: this.contentId
4467
4463
  })}
4468
- ${ni({
4464
+ ${ti({
4469
4465
  customFonts: this.customFonts
4470
4466
  })}
4471
- ${ii(this.isNestedRender)}
4467
+ ${ri(this.isNestedRender)}
4472
4468
  `.trim()
4473
4469
  };
4474
4470
  }
4475
4471
  });
4476
- function ui(e, t, n, o, r, i) {
4472
+ function di(e, t, n, o, r, i) {
4477
4473
  const s = g("InlinedStyles");
4478
4474
  return d(), k(s, {
4479
4475
  id: "builderio-content",
@@ -4481,7 +4477,7 @@ function ui(e, t, n, o, r, i) {
4481
4477
  nonce: e.nonce
4482
4478
  }, null, 8, ["styles", "nonce"]);
4483
4479
  }
4484
- const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4480
+ const ui = /* @__PURE__ */ b(ci, [["render", di]]), pi = ({
4485
4481
  content: e,
4486
4482
  data: t,
4487
4483
  locale: n
@@ -4498,7 +4494,7 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4498
4494
  locale: n
4499
4495
  } : {}
4500
4496
  };
4501
- }, hi = ({
4497
+ }, mi = ({
4502
4498
  content: e,
4503
4499
  data: t
4504
4500
  }) => e ? {
@@ -4508,14 +4504,14 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4508
4504
  ...t
4509
4505
  },
4510
4506
  meta: e == null ? void 0 : e.meta
4511
- } : void 0, fi = ft, bi = f({
4507
+ } : void 0, hi = ft, fi = f({
4512
4508
  name: "content-component",
4513
4509
  components: {
4514
- EnableEditor: ci,
4510
+ EnableEditor: li,
4515
4511
  InlinedScript: et,
4516
- ContentStyles: pi,
4512
+ ContentStyles: ui,
4517
4513
  Blocks: M,
4518
- DynamicDiv: Q
4514
+ DynamicDiv: Y
4519
4515
  },
4520
4516
  props: [
4521
4517
  "content",
@@ -4542,7 +4538,7 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4542
4538
  data() {
4543
4539
  var e, t, n, o;
4544
4540
  return {
4545
- scriptStr: $r({
4541
+ scriptStr: Ir({
4546
4542
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4547
4543
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
4548
4544
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4555,19 +4551,19 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4555
4551
  (r, { component: i, ...s }) => ({
4556
4552
  ...r,
4557
4553
  [s.name]: {
4558
- component: fi(i),
4559
- ...de(s)
4554
+ component: hi(i),
4555
+ ...ce(s)
4560
4556
  }
4561
4557
  }),
4562
4558
  {}
4563
4559
  ),
4564
4560
  builderContextSignal: {
4565
- content: hi({
4561
+ content: mi({
4566
4562
  content: this.content,
4567
4563
  data: this.data
4568
4564
  }),
4569
4565
  localState: void 0,
4570
- rootState: mi({
4566
+ rootState: pi({
4571
4567
  content: this.content,
4572
4568
  data: this.data,
4573
4569
  locale: this.locale
@@ -4583,7 +4579,7 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4583
4579
  ].reduce(
4584
4580
  (r, { component: i, ...s }) => ({
4585
4581
  ...r,
4586
- [s.name]: de(s)
4582
+ [s.name]: ce(s)
4587
4583
  }),
4588
4584
  {}
4589
4585
  ),
@@ -4609,7 +4605,7 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4609
4605
  }
4610
4606
  }
4611
4607
  });
4612
- function gi(e, t, n, o, r, i) {
4608
+ function bi(e, t, n, o, r, i) {
4613
4609
  const s = g("InlinedScript"), l = g("ContentStyles"), a = g("Blocks"), u = g("EnableEditor");
4614
4610
  return d(), k(u, C({
4615
4611
  nonce: e.nonce,
@@ -4628,7 +4624,7 @@ function gi(e, t, n, o, r, i) {
4628
4624
  trustedHosts: e.trustedHosts
4629
4625
  }, {}), {
4630
4626
  default: W(() => {
4631
- var h, c, m, S, y, F, X;
4627
+ var h, c, m, S, y, F, Q;
4632
4628
  return [
4633
4629
  e.isSsrAbTest ? (d(), k(s, {
4634
4630
  key: 0,
@@ -4645,7 +4641,7 @@ function gi(e, t, n, o, r, i) {
4645
4641
  customFonts: (y = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : y.customFonts
4646
4642
  }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : v("", !0),
4647
4643
  $(a, {
4648
- blocks: (X = (F = e.builderContextSignal.content) == null ? void 0 : F.data) == null ? void 0 : X.blocks,
4644
+ blocks: (Q = (F = e.builderContextSignal.content) == null ? void 0 : F.data) == null ? void 0 : Q.blocks,
4649
4645
  context: e.builderContextSignal,
4650
4646
  registeredComponents: e.registeredComponents,
4651
4647
  linkComponent: e.linkComponent
@@ -4655,12 +4651,12 @@ function gi(e, t, n, o, r, i) {
4655
4651
  _: 1
4656
4652
  }, 16, ["nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
4657
4653
  }
4658
- const yi = /* @__PURE__ */ b(bi, [["render", gi]]), ki = f({
4654
+ const gi = /* @__PURE__ */ b(fi, [["render", bi]]), yi = f({
4659
4655
  name: "content-variants",
4660
4656
  components: {
4661
4657
  InlinedScript: et,
4662
4658
  InlinedStyles: be,
4663
- ContentComponent: yi
4659
+ ContentComponent: gi
4664
4660
  },
4665
4661
  props: [
4666
4662
  "canTrack",
@@ -4684,13 +4680,13 @@ const yi = /* @__PURE__ */ b(bi, [["render", gi]]), ki = f({
4684
4680
  ],
4685
4681
  data() {
4686
4682
  return {
4687
- shouldRenderVariants: Cr({
4683
+ shouldRenderVariants: Sr({
4688
4684
  canTrack: G(this.canTrack),
4689
4685
  content: this.content
4690
4686
  }),
4691
4687
  TARGET: A,
4692
- getInitVariantsFnsScriptString: Tr,
4693
- getVariants: _
4688
+ getInitVariantsFnsScriptString: wr,
4689
+ getVariants: Z
4694
4690
  };
4695
4691
  },
4696
4692
  mounted() {
@@ -4698,8 +4694,8 @@ const yi = /* @__PURE__ */ b(bi, [["render", gi]]), ki = f({
4698
4694
  computed: {
4699
4695
  updateCookieAndStylesScriptStr() {
4700
4696
  var e;
4701
- return Ir(
4702
- _(this.content).map((t) => ({
4697
+ return Tr(
4698
+ Z(this.content).map((t) => ({
4703
4699
  id: t.testVariationId,
4704
4700
  testRatio: t.testRatio
4705
4701
  })),
@@ -4707,21 +4703,21 @@ const yi = /* @__PURE__ */ b(bi, [["render", gi]]), ki = f({
4707
4703
  );
4708
4704
  },
4709
4705
  hideVariantsStyleString() {
4710
- return _(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
4706
+ return Z(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
4711
4707
  },
4712
4708
  defaultContent() {
4713
4709
  var e;
4714
4710
  return this.shouldRenderVariants ? {
4715
4711
  ...this.content,
4716
4712
  testVariationId: (e = this.content) == null ? void 0 : e.id
4717
- } : Dn({
4713
+ } : Ln({
4718
4714
  item: this.content,
4719
4715
  canTrack: G(this.canTrack)
4720
4716
  });
4721
4717
  }
4722
4718
  }
4723
4719
  });
4724
- function vi(e, t, n, o, r, i) {
4720
+ function ki(e, t, n, o, r, i) {
4725
4721
  const s = g("InlinedScript"), l = g("InlinedStyles"), a = g("ContentComponent");
4726
4722
  return d(), p(I, null, [
4727
4723
  !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), k(s, {
@@ -4791,7 +4787,7 @@ function vi(e, t, n, o, r, i) {
4791
4787
  }), null, 16, ["nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
4792
4788
  ], 64);
4793
4789
  }
4794
- const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4790
+ const vi = /* @__PURE__ */ b(yi, [["render", ki]]), Si = async ({
4795
4791
  builderContextValue: e,
4796
4792
  symbol: t
4797
4793
  }) => {
@@ -4809,9 +4805,9 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4809
4805
  }).catch((n) => {
4810
4806
  B.error("Could not fetch symbol content: ", n);
4811
4807
  });
4812
- }, wi = f({
4808
+ }, Ci = f({
4813
4809
  name: "builder-symbol",
4814
- components: { ContentVariants: Si, DynamicDiv: Q },
4810
+ components: { ContentVariants: vi, DynamicDiv: Y },
4815
4811
  props: [
4816
4812
  "symbol",
4817
4813
  "attributes",
@@ -4846,7 +4842,7 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4846
4842
  className() {
4847
4843
  var e, t;
4848
4844
  return [
4849
- this.attributes[ee()],
4845
+ this.attributes[_()],
4850
4846
  "builder-symbol",
4851
4847
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
4852
4848
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -4860,7 +4856,7 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4860
4856
  },
4861
4857
  methods: {
4862
4858
  setContent() {
4863
- this.contentToUse || Ci({
4859
+ this.contentToUse || Si({
4864
4860
  symbol: this.symbol,
4865
4861
  builderContextValue: this.builderContext
4866
4862
  }).then((e) => {
@@ -4869,7 +4865,7 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4869
4865
  }
4870
4866
  }
4871
4867
  });
4872
- function Ti(e, t, n, o, r, i) {
4868
+ function wi(e, t, n, o, r, i) {
4873
4869
  var l, a, u, h, c;
4874
4870
  const s = g("ContentVariants");
4875
4871
  return d(), p("div", C({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -4897,8 +4893,8 @@ function Ti(e, t, n, o, r, i) {
4897
4893
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
4898
4894
  ], 16);
4899
4895
  }
4900
- const Ii = /* @__PURE__ */ b(wi, [["render", Ti]]), Ee = {};
4901
- function Fi(e) {
4896
+ const Ti = /* @__PURE__ */ b(Ci, [["render", wi]]), Ee = {};
4897
+ function Ni(e) {
4902
4898
  if (T()) {
4903
4899
  Object.assign(Ee, e);
4904
4900
  const t = {
@@ -4908,7 +4904,7 @@ function Fi(e) {
4908
4904
  parent.postMessage(t, "*");
4909
4905
  }
4910
4906
  }
4911
- const Oi = async (e) => {
4907
+ const Fi = async (e) => {
4912
4908
  var o, r, i;
4913
4909
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
4914
4910
  ...e,
@@ -4929,43 +4925,43 @@ const Oi = async (e) => {
4929
4925
  };
4930
4926
  };
4931
4927
  export {
4932
- Wr as A,
4928
+ Vr as A,
4933
4929
  fe as B,
4934
4930
  fn as C,
4935
- Nr as D,
4931
+ Wr as D,
4936
4932
  ke as E,
4937
4933
  yn as F,
4938
- Pi as G,
4939
- Ai as H,
4934
+ Bi as G,
4935
+ xi as H,
4940
4936
  $n as I,
4941
4937
  Pn as S,
4942
4938
  A as T,
4943
4939
  fr as V,
4944
4940
  be as _,
4945
4941
  un as a,
4946
- Ei as b,
4947
- D as c,
4948
- Vi as d,
4942
+ Pi as b,
4943
+ L as c,
4944
+ Ai as d,
4949
4945
  he as e,
4950
4946
  b as f,
4951
- Le as g,
4952
- te as h,
4953
- xi as i,
4954
- ee as j,
4955
- ce as k,
4947
+ De as g,
4948
+ ee as h,
4949
+ Ei as i,
4950
+ _ as j,
4951
+ le as k,
4956
4952
  Ct as l,
4957
- Ii as m,
4953
+ Ti as m,
4958
4954
  ho as n,
4959
4955
  M as o,
4960
- Si as p,
4956
+ vi as p,
4961
4957
  R as q,
4962
- Fr as r,
4958
+ Nr as r,
4963
4959
  gr as s,
4964
- _r as t,
4965
- Fi as u,
4960
+ Zr as t,
4961
+ Ni as u,
4966
4962
  ot as v,
4967
- fi as w,
4968
- Wi as x,
4969
- Ni as y,
4970
- Oi as z
4963
+ hi as w,
4964
+ Vi as x,
4965
+ Wi as y,
4966
+ Fi as z
4971
4967
  };