@builder.io/sdk-vue 1.0.27 → 1.0.28

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 (118) hide show
  1. package/lib/browser/{block-styles-5vJtIFGc.js → block-styles-7fSdcHZX.js} +16 -14
  2. package/lib/browser/{block-styles-LT72luTT.cjs → block-styles-XehbqIDj.cjs} +1 -1
  3. package/lib/browser/{block-wrapper-JrLSq3J2.js → block-wrapper-pcluv3oE.js} +6 -6
  4. package/lib/browser/block-wrapper-q64hZN1q.cjs +1 -0
  5. package/lib/browser/blocks/accordion/accordion.types.d.ts +12 -0
  6. package/lib/browser/blocks/accordion/accordion.vue.d.ts +43 -0
  7. package/lib/browser/blocks/accordion/component-info.d.ts +2 -0
  8. package/lib/browser/blocks/accordion/helpers.d.ts +1 -0
  9. package/lib/browser/blocks/accordion/index.d.ts +1 -0
  10. package/lib/browser/blocks/button/button.vue.d.ts +3 -3
  11. package/lib/browser/blocks/columns/columns.vue.d.ts +3 -3
  12. package/lib/browser/blocks/form/form/form.vue.d.ts +3 -3
  13. package/lib/browser/blocks/form/input/input.vue.d.ts +3 -3
  14. package/lib/browser/blocks/form/select/select.vue.d.ts +3 -3
  15. package/lib/browser/blocks/img/img.vue.d.ts +3 -3
  16. package/lib/browser/blocks/section/section.vue.d.ts +3 -3
  17. package/lib/browser/blocks/symbol/symbol.vue.d.ts +3 -3
  18. package/lib/browser/blocks/tabs/tabs.vue.d.ts +4 -4
  19. package/lib/browser/blocks/video/video.vue.d.ts +3 -3
  20. package/lib/browser/{component-ref-gxDw0wuA.js → component-ref-WhzAplFn.js} +5 -5
  21. package/lib/browser/{component-ref-iTvdhu8t.cjs → component-ref-hbOiuBde.cjs} +1 -1
  22. package/lib/browser/components/block/animator.d.ts +0 -1
  23. package/lib/browser/components/content/content.vue.d.ts +3 -3
  24. package/lib/browser/components/content-variants/content-variants.types.d.ts +1 -1
  25. package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -3
  26. package/lib/browser/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
  27. package/lib/browser/constants/sdk-version.d.ts +1 -1
  28. package/lib/browser/functions/camel-to-kebab-case.d.ts +1 -1
  29. package/lib/browser/{get-block-properties-kzs3bKSe.js → get-block-properties-ObL3gpIA.js} +1 -1
  30. package/lib/browser/{get-block-properties-eTge7Psf.cjs → get-block-properties-vA5n_ANC.cjs} +1 -1
  31. package/lib/browser/index-CBcGD3qe.cjs +166 -0
  32. package/lib/browser/{index-sDts8rvf.js → index-NHNyRHHd.js} +1215 -955
  33. package/lib/browser/index.cjs +1 -1
  34. package/lib/browser/{index.js → index.mjs} +1 -1
  35. package/lib/browser/{repeated-block-Qlvgzgy_.js → repeated-block-HcLgTzGb.js} +5 -5
  36. package/lib/browser/{repeated-block-VOp3bqi_.cjs → repeated-block-uHDnqrOR.cjs} +1 -1
  37. package/lib/browser/style.css +1 -1
  38. package/lib/{node/block-styles-rm11zBuW.js → edge/block-styles-CTZ1DlUz.js} +16 -14
  39. package/lib/edge/{block-styles-W7NZdgo_.cjs → block-styles-XGW5hqiN.cjs} +1 -1
  40. package/lib/edge/block-wrapper-VuYzlW7Y.cjs +1 -0
  41. package/lib/edge/{block-wrapper-OIDhZ8QC.js → block-wrapper-wCNxDQcs.js} +6 -6
  42. package/lib/edge/blocks/accordion/accordion.types.d.ts +12 -0
  43. package/lib/edge/blocks/accordion/accordion.vue.d.ts +43 -0
  44. package/lib/edge/blocks/accordion/component-info.d.ts +2 -0
  45. package/lib/edge/blocks/accordion/helpers.d.ts +1 -0
  46. package/lib/edge/blocks/accordion/index.d.ts +1 -0
  47. package/lib/edge/blocks/button/button.vue.d.ts +3 -3
  48. package/lib/edge/blocks/columns/columns.vue.d.ts +3 -3
  49. package/lib/edge/blocks/form/form/form.vue.d.ts +3 -3
  50. package/lib/edge/blocks/form/input/input.vue.d.ts +3 -3
  51. package/lib/edge/blocks/form/select/select.vue.d.ts +3 -3
  52. package/lib/edge/blocks/img/img.vue.d.ts +3 -3
  53. package/lib/edge/blocks/section/section.vue.d.ts +3 -3
  54. package/lib/edge/blocks/symbol/symbol.vue.d.ts +3 -3
  55. package/lib/edge/blocks/tabs/tabs.vue.d.ts +4 -4
  56. package/lib/edge/blocks/video/video.vue.d.ts +3 -3
  57. package/lib/{node/component-ref-WoJnhrB7.cjs → edge/component-ref-0UjIkTRe.cjs} +1 -1
  58. package/lib/{node/component-ref-fhwnMZz8.js → edge/component-ref-2FEXrlDH.js} +5 -5
  59. package/lib/edge/components/block/animator.d.ts +0 -1
  60. package/lib/edge/components/content/content.vue.d.ts +3 -3
  61. package/lib/edge/components/content-variants/content-variants.types.d.ts +1 -1
  62. package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -3
  63. package/lib/edge/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
  64. package/lib/edge/constants/sdk-version.d.ts +1 -1
  65. package/lib/edge/functions/camel-to-kebab-case.d.ts +1 -1
  66. package/lib/{node/get-block-properties-NQY7lR-2.js → edge/get-block-properties-KMc2VX03.js} +1 -1
  67. package/lib/edge/{get-block-properties-VeBLUsdk.cjs → get-block-properties-Pjvc5UeX.cjs} +1 -1
  68. package/lib/edge/{index-QWsu5MiN.js → index-PLoH3kq6.js} +1723 -1463
  69. package/lib/edge/index-Zh1Fu4x5.cjs +186 -0
  70. package/lib/edge/index.cjs +1 -1
  71. package/lib/edge/{index.js → index.mjs} +1 -1
  72. package/lib/edge/{repeated-block-Ge8TbIKG.js → repeated-block-JMXC448R.js} +5 -5
  73. package/lib/edge/{repeated-block-OubyYvC0.cjs → repeated-block-bl4dw-ee.cjs} +1 -1
  74. package/lib/edge/style.css +1 -1
  75. package/lib/{edge/block-styles-AYBXOYOn.js → node/block-styles-WCFA1FJi.js} +16 -14
  76. package/lib/node/{block-styles-Iwegahoe.cjs → block-styles-m8PEpg_S.cjs} +1 -1
  77. package/lib/node/block-wrapper-6-bEK6RJ.cjs +1 -0
  78. package/lib/node/{block-wrapper-srcEZrVN.js → block-wrapper-x45MAliP.js} +6 -6
  79. package/lib/node/blocks/accordion/accordion.types.d.ts +12 -0
  80. package/lib/node/blocks/accordion/accordion.vue.d.ts +43 -0
  81. package/lib/node/blocks/accordion/component-info.d.ts +2 -0
  82. package/lib/node/blocks/accordion/helpers.d.ts +1 -0
  83. package/lib/node/blocks/accordion/index.d.ts +1 -0
  84. package/lib/node/blocks/button/button.vue.d.ts +3 -3
  85. package/lib/node/blocks/columns/columns.vue.d.ts +3 -3
  86. package/lib/node/blocks/form/form/form.vue.d.ts +3 -3
  87. package/lib/node/blocks/form/input/input.vue.d.ts +3 -3
  88. package/lib/node/blocks/form/select/select.vue.d.ts +3 -3
  89. package/lib/node/blocks/img/img.vue.d.ts +3 -3
  90. package/lib/node/blocks/section/section.vue.d.ts +3 -3
  91. package/lib/node/blocks/symbol/symbol.vue.d.ts +3 -3
  92. package/lib/node/blocks/tabs/tabs.vue.d.ts +4 -4
  93. package/lib/node/blocks/video/video.vue.d.ts +3 -3
  94. package/lib/{edge/component-ref-dNZrnHbg.cjs → node/component-ref-2xD3cUVB.cjs} +1 -1
  95. package/lib/{edge/component-ref-rBP7Enzc.js → node/component-ref-ppTIcqTZ.js} +5 -5
  96. package/lib/node/components/block/animator.d.ts +0 -1
  97. package/lib/node/components/content/content.vue.d.ts +3 -3
  98. package/lib/node/components/content-variants/content-variants.types.d.ts +1 -1
  99. package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -3
  100. package/lib/node/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
  101. package/lib/node/constants/sdk-version.d.ts +1 -1
  102. package/lib/node/functions/camel-to-kebab-case.d.ts +1 -1
  103. package/lib/node/{get-block-properties-VZy5JLJH.cjs → get-block-properties-kiD2Uguw.cjs} +1 -1
  104. package/lib/{edge/get-block-properties-TQklEtas.js → node/get-block-properties-scJ1QT5R.js} +1 -1
  105. package/lib/node/index-HEAc1-ZF.cjs +213 -0
  106. package/lib/node/{index-551oCh4n.js → index-SBrRKKYe.js} +475 -215
  107. package/lib/node/index.cjs +1 -1
  108. package/lib/node/{index.js → index.mjs} +1 -1
  109. package/lib/node/{repeated-block-cGtcw64F.cjs → repeated-block-NLULJLm9.cjs} +1 -1
  110. package/lib/node/{repeated-block-UcyfQ95X.js → repeated-block-NuJ5uVX7.js} +5 -5
  111. package/lib/node/style.css +1 -1
  112. package/package.json +17 -17
  113. package/lib/browser/block-wrapper-a_8x6uWh.cjs +0 -1
  114. package/lib/browser/index-7ZQyrM-R.cjs +0 -166
  115. package/lib/edge/block-wrapper-rvM_UKzu.cjs +0 -1
  116. package/lib/edge/index-iGyGCnH8.cjs +0 -186
  117. package/lib/node/block-wrapper-gmX-LBXN.cjs +0 -1
  118. package/lib/node/index-cjjbqLNI.cjs +0 -213
@@ -14,7 +14,7 @@ function filterAttrs(e = {}, t, n) {
14
14
  }
15
15
  return o;
16
16
  }
17
- const _sfc_main$r = defineComponent({
17
+ const _sfc_main$s = defineComponent({
18
18
  name: "dynamic-renderer",
19
19
  props: ["TagName", "attributes", "actionAttributes"],
20
20
  data() {
@@ -26,7 +26,7 @@ const _sfc_main$r = defineComponent({
26
26
  n[o] = r;
27
27
  return n;
28
28
  };
29
- function _sfc_render$p(e, t, n, o, r, s) {
29
+ function _sfc_render$q(e, t, n, o, r, s) {
30
30
  return e.isEmptyElement(e.TagName) ? (openBlock(), createBlock(resolveDynamicComponent(e.TagName), mergeProps({ key: 1 }, e.attributes, toHandlers(e.actionAttributes)), null, 16)) : (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
31
31
  typeof e.TagName == "string" ? (openBlock(), createBlock(resolveDynamicComponent(e.TagName), mergeProps({ key: 0 }, e.attributes, toHandlers(e.actionAttributes)), {
32
32
  default: withCtx(() => [
@@ -41,7 +41,7 @@ function _sfc_render$p(e, t, n, o, r, s) {
41
41
  }, 16))
42
42
  ], 64));
43
43
  }
44
- const DynamicRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$p]]), dynamicRenderer = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
+ const DynamicRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$q]]), dynamicRenderer = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45
45
  __proto__: null,
46
46
  default: DynamicRenderer
47
47
  }, Symbol.toStringTag, { value: "Module" })), TARGET = "vue", getClassPropName = () => {
@@ -57,7 +57,7 @@ const DynamicRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sf
57
57
  case "angular":
58
58
  return "class";
59
59
  }
60
- }, _sfc_main$q = defineComponent({
60
+ }, _sfc_main$r = defineComponent({
61
61
  name: "builder-button",
62
62
  components: { DynamicRenderer },
63
63
  props: [
@@ -86,8 +86,8 @@ const DynamicRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sf
86
86
  }
87
87
  }
88
88
  });
89
- function _sfc_render$o(e, t, n, o, r, s) {
90
- const i = resolveComponent("dynamic-renderer");
89
+ function _sfc_render$p(e, t, n, o, r, s) {
90
+ const i = resolveComponent("DynamicRenderer");
91
91
  return openBlock(), createBlock(i, {
92
92
  attributes: e.attrs(),
93
93
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
@@ -99,7 +99,7 @@ function _sfc_render$o(e, t, n, o, r, s) {
99
99
  _: 1
100
100
  }, 8, ["attributes", "TagName", "actionAttributes"]);
101
101
  }
102
- const Button = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$o]]), key$1 = Symbol(), BuilderContext = {
102
+ const Button = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$p]]), key$1 = Symbol(), BuilderContext = {
103
103
  Builder: {
104
104
  content: null,
105
105
  context: {},
@@ -212,7 +212,7 @@ const getLocation = () => {
212
212
  rootSetState: s,
213
213
  rootState: i
214
214
  }) => {
215
- const a = getFunctionArguments({
215
+ const l = getFunctionArguments({
216
216
  builder: t,
217
217
  context: n,
218
218
  event: o,
@@ -222,7 +222,7 @@ const getLocation = () => {
222
222
  rootSetState: s
223
223
  })
224
224
  });
225
- return new Function(...a.map(([l]) => l), e)(...a.map(([, l]) => l));
225
+ return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
226
226
  };
227
227
  function flattenState({
228
228
  rootState: e,
@@ -347,26 +347,26 @@ const getIsolateContext = () => IVM_CONTEXT || setIsolateContext(), runInNode =
347
347
  rootSetState: s,
348
348
  rootState: i
349
349
  }) => {
350
- const a = getIvm(), l = fastClone({
350
+ const l = getIvm(), a = fastClone({
351
351
  ...i,
352
352
  ...r
353
353
  }), d = getFunctionArguments({
354
354
  builder: t,
355
355
  context: n,
356
356
  event: o,
357
- state: l
357
+ state: a
358
358
  }), p = getIsolateContext(), c = p.global;
359
359
  c.setSync(BUILDER_SET_STATE_NAME, function(m, b) {
360
360
  set(i, m, b), s == null || s(i);
361
361
  }), d.forEach(([m, b]) => {
362
- const S = typeof b == "object" ? new a.Reference(
362
+ const C = typeof b == "object" ? new l.Reference(
363
363
  // workaround: methods with default values for arguments is not being cloned over
364
364
  m === "builder" ? {
365
365
  ...b,
366
366
  getUserAttributes: () => b.getUserAttributes()
367
367
  } : b
368
368
  ) : null;
369
- c.setSync(getSyncValName(m), S);
369
+ c.setSync(getSyncValName(m), C);
370
370
  });
371
371
  const u = processCode({
372
372
  code: e,
@@ -416,11 +416,11 @@ function evaluate({
416
416
  rootSetState: r,
417
417
  event: s,
418
418
  isExpression: i = !0,
419
- enableCache: a
419
+ enableCache: l
420
420
  }) {
421
421
  if (e === "")
422
422
  return;
423
- const l = {
423
+ const a = {
424
424
  code: parseCode(e, {
425
425
  isExpression: i
426
426
  }),
@@ -431,15 +431,15 @@ function evaluate({
431
431
  rootState: o,
432
432
  localState: n
433
433
  };
434
- if (a) {
435
- const d = EvalCache.getCacheKey(l), p = EvalCache.getCachedValue(d);
434
+ if (l) {
435
+ const d = EvalCache.getCacheKey(a), p = EvalCache.getCachedValue(d);
436
436
  if (p)
437
437
  return p.value;
438
438
  }
439
439
  try {
440
- const d = chooseBrowserOrServerEval(l);
441
- if (a) {
442
- const p = EvalCache.getCacheKey(l);
440
+ const d = chooseBrowserOrServerEval(a);
441
+ if (l) {
442
+ const p = EvalCache.getCacheKey(a);
443
443
  EvalCache.setCachedValue(p, d);
444
444
  }
445
445
  return d;
@@ -471,16 +471,16 @@ const evaluateBindings = ({
471
471
  ...s.actions
472
472
  }
473
473
  };
474
- for (const a in e.bindings) {
475
- const l = e.bindings[a], d = evaluate({
476
- code: l,
474
+ for (const l in e.bindings) {
475
+ const a = e.bindings[l], d = evaluate({
476
+ code: a,
477
477
  localState: n,
478
478
  rootState: o,
479
479
  rootSetState: r,
480
480
  context: t,
481
481
  enableCache: !0
482
482
  });
483
- set(i, a, d);
483
+ set(i, l, d);
484
484
  }
485
485
  return i;
486
486
  };
@@ -501,16 +501,17 @@ function getProcessedBlock({
501
501
  context: t
502
502
  }) : i;
503
503
  }
504
+ const camelToKebabCase = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
504
505
  function throttle(e, t, n = {}) {
505
- let o, r, s, i = null, a = 0;
506
- const l = function() {
507
- a = n.leading === !1 ? 0 : Date.now(), i = null, s = e.apply(o, r), i || (o = r = null);
506
+ let o, r, s, i = null, l = 0;
507
+ const a = function() {
508
+ l = n.leading === !1 ? 0 : Date.now(), i = null, s = e.apply(o, r), i || (o = r = null);
508
509
  };
509
510
  return function() {
510
511
  const d = Date.now();
511
- !a && n.leading === !1 && (a = d);
512
- const p = t - (d - a);
513
- return o = this, r = arguments, p <= 0 || p > t ? (i && (clearTimeout(i), i = null), a = d, s = e.apply(o, r), i || (o = r = null)) : !i && n.trailing !== !1 && (i = setTimeout(l, p)), s;
512
+ !l && n.leading === !1 && (l = d);
513
+ const p = t - (d - l);
514
+ return o = this, r = arguments, p <= 0 || p > t ? (i && (clearTimeout(i), i = null), l = d, s = e.apply(o, r), i || (o = r = null)) : !i && n.trailing !== !1 && (i = setTimeout(a, p)), s;
514
515
  };
515
516
  }
516
517
  function assign(e, ...t) {
@@ -523,7 +524,6 @@ function assign(e, ...t) {
523
524
  }
524
525
  return n;
525
526
  }
526
- const camelCaseToKebabCase = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
527
527
  function bindAnimations(e) {
528
528
  for (const t of e)
529
529
  switch (t.trigger) {
@@ -540,9 +540,9 @@ function warnElementNotPresent(e) {
540
540
  }
541
541
  function augmentAnimation(e, t) {
542
542
  const n = getAllStylesUsed(e), o = getComputedStyle(t), r = e.steps[0].styles, s = e.steps[e.steps.length - 1].styles, i = [r, s];
543
- for (const a of i)
544
- for (const l of n)
545
- l in a || (a[l] = o[l]);
543
+ for (const l of i)
544
+ for (const a of n)
545
+ a in l || (l[a] = o[a]);
546
546
  }
547
547
  function getAllStylesUsed(e) {
548
548
  const t = [];
@@ -559,7 +559,7 @@ function triggerAnimation(e) {
559
559
  }
560
560
  Array.from(t).forEach((n) => {
561
561
  augmentAnimation(e, n), n.style.transition = "none", n.style.transitionDelay = "0", assign(n.style, e.steps[0].styles), setTimeout(() => {
562
- n.style.transition = `all ${e.duration}s ${camelCaseToKebabCase(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), assign(n.style, e.steps[1].styles), setTimeout(() => {
562
+ n.style.transition = `all ${e.duration}s ${camelToKebabCase(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), assign(n.style, e.steps[1].styles), setTimeout(() => {
563
563
  n.style.transition = "", n.style.transitionDelay = "";
564
564
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
565
565
  });
@@ -575,32 +575,32 @@ function bindScrollInViewAnimation(e) {
575
575
  augmentAnimation(e, n);
576
576
  let o = !1, r = !1;
577
577
  function s() {
578
- !o && a(n) ? (o = !0, r = !0, setTimeout(() => {
578
+ !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
579
579
  assign(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", i), setTimeout(() => {
580
580
  r = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
581
581
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
582
- })) : e.repeat && o && !r && !a(n) && (o = !1, assign(n.style, e.steps[0].styles));
582
+ })) : e.repeat && o && !r && !l(n) && (o = !1, assign(n.style, e.steps[0].styles));
583
583
  }
584
584
  const i = throttle(s, 200, {
585
585
  leading: !1
586
586
  });
587
- function a(p) {
587
+ function l(p) {
588
588
  const c = p.getBoundingClientRect(), u = window.innerHeight, m = (e.thresholdPercent || 0) / 100 * u;
589
589
  return c.bottom > m && c.top < u - m;
590
590
  }
591
- const l = e.steps[0].styles;
591
+ const a = e.steps[0].styles;
592
592
  function d() {
593
- assign(n.style, l);
593
+ assign(n.style, a);
594
594
  }
595
595
  d(), setTimeout(() => {
596
- n.style.transition = `all ${e.duration}s ${camelCaseToKebabCase(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
596
+ n.style.transition = `all ${e.duration}s ${camelToKebabCase(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
597
597
  }), document.addEventListener("scroll", i, {
598
598
  capture: !0,
599
599
  passive: !0
600
600
  }), s();
601
601
  });
602
602
  }
603
- const camelToKebabCase = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), convertStyleMapToCSSArray = (e) => Object.entries(e).map(([n, o]) => {
603
+ const convertStyleMapToCSSArray = (e) => Object.entries(e).map(([n, o]) => {
604
604
  if (typeof o == "string")
605
605
  return `${camelToKebabCase(n)}: ${o};`;
606
606
  }).filter(checkIsDefined), convertStyleMapToCSS = (e) => convertStyleMapToCSSArray(e).join(`
@@ -686,35 +686,35 @@ const getComponent = ({
686
686
  if (!Array.isArray(r))
687
687
  return;
688
688
  const s = n.collection.split(".").pop(), i = n.itemName || (s ? s + "Item" : "item");
689
- return r.map((l, d) => ({
689
+ return r.map((a, d) => ({
690
690
  context: {
691
691
  ...t,
692
692
  localState: {
693
693
  ...t.localState,
694
694
  $index: d,
695
- $item: l,
696
- [i]: l,
695
+ $item: a,
696
+ [i]: a,
697
697
  [`$${i}Index`]: d
698
698
  }
699
699
  },
700
700
  block: o
701
701
  }));
702
- }, shouldPassLinkComponent = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs"].includes(e.name)), shouldPassRegisteredComponents = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs"].includes(e.name)), BlockStyles = () => import("./block-styles-rm11zBuW.js").then((e) => e.default).catch((e) => {
702
+ }, shouldPassLinkComponent = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), shouldPassRegisteredComponents = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), BlockStyles = () => import("./block-styles-WCFA1FJi.js").then((e) => e.default).catch((e) => {
703
703
  throw console.error(
704
704
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
705
705
  e
706
706
  ), e;
707
- }), BlockWrapper = () => import("./block-wrapper-srcEZrVN.js").then((e) => e.default).catch((e) => {
707
+ }), BlockWrapper = () => import("./block-wrapper-x45MAliP.js").then((e) => e.default).catch((e) => {
708
708
  throw console.error(
709
709
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
710
710
  e
711
711
  ), e;
712
- }), ComponentRef = () => import("./component-ref-fhwnMZz8.js").then((e) => e.default).catch((e) => {
712
+ }), ComponentRef = () => import("./component-ref-ppTIcqTZ.js").then((e) => e.default).catch((e) => {
713
713
  throw console.error(
714
714
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
715
715
  e
716
716
  ), e;
717
- }), RepeatedBlock = () => import("./repeated-block-UcyfQ95X.js").then((e) => e.default).catch((e) => {
717
+ }), RepeatedBlock = () => import("./repeated-block-NuJ5uVX7.js").then((e) => e.default).catch((e) => {
718
718
  throw console.error(
719
719
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
720
720
  e
@@ -724,7 +724,7 @@ const getComponent = ({
724
724
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
725
725
  e
726
726
  ), e;
727
- }), _sfc_main$p = defineComponent({
727
+ }), _sfc_main$q = defineComponent({
728
728
  name: "block",
729
729
  components: {
730
730
  BlockStyles: defineAsyncComponent(BlockStyles),
@@ -808,15 +808,15 @@ const getComponent = ({
808
808
  }
809
809
  }
810
810
  });
811
- function _sfc_render$n(e, t, n, o, r, s) {
811
+ function _sfc_render$o(e, t, n, o, r, s) {
812
812
  var c;
813
- const i = resolveComponent("block-styles"), a = resolveComponent("component-ref"), l = resolveComponent("block", !0), d = resolveComponent("block-wrapper"), p = resolveComponent("repeated-block");
813
+ const i = resolveComponent("BlockStyles"), l = resolveComponent("ComponentRef"), a = resolveComponent("Block", !0), d = resolveComponent("BlockWrapper"), p = resolveComponent("RepeatedBlock");
814
814
  return e.canShowBlock ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
815
815
  createVNode(i, {
816
816
  block: e.block,
817
817
  context: e.context
818
818
  }, null, 8, ["block", "context"]),
819
- (c = e.blockComponent) != null && c.noWrap ? (openBlock(), createBlock(a, {
819
+ (c = e.blockComponent) != null && c.noWrap ? (openBlock(), createBlock(l, {
820
820
  key: 1,
821
821
  componentRef: e.componentRefProps.componentRef,
822
822
  componentOptions: e.componentRefProps.componentOptions,
@@ -842,7 +842,7 @@ function _sfc_render$n(e, t, n, o, r, s) {
842
842
  linkComponent: e.linkComponent
843
843
  }, {
844
844
  default: withCtx(() => [
845
- createVNode(a, {
845
+ createVNode(l, {
846
846
  componentRef: e.componentRefProps.componentRef,
847
847
  componentOptions: e.componentRefProps.componentOptions,
848
848
  blockChildren: e.componentRefProps.blockChildren,
@@ -853,7 +853,7 @@ function _sfc_render$n(e, t, n, o, r, s) {
853
853
  includeBlockProps: e.componentRefProps.includeBlockProps,
854
854
  isInteractive: e.componentRefProps.isInteractive
855
855
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
856
- (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.childrenWithoutParentComponent, (u, f) => (openBlock(), createBlock(l, {
856
+ (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.childrenWithoutParentComponent, (u, f) => (openBlock(), createBlock(a, {
857
857
  key: u.id,
858
858
  block: u,
859
859
  registeredComponents: e.registeredComponents,
@@ -866,10 +866,10 @@ function _sfc_render$n(e, t, n, o, r, s) {
866
866
  ], 64))
867
867
  ], 64)) : createCommentVNode("", !0);
868
868
  }
869
- const Block = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$n]]), block = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
869
+ const Block = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$o]]), block = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
870
870
  __proto__: null,
871
871
  default: Block
872
- }, Symbol.toStringTag, { value: "Module" })), _sfc_main$o = defineComponent({
872
+ }, Symbol.toStringTag, { value: "Module" })), _sfc_main$p = defineComponent({
873
873
  name: "builder-blocks-wrapper",
874
874
  props: [
875
875
  "blocks",
@@ -914,9 +914,9 @@ const Block = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$n
914
914
  }
915
915
  }
916
916
  });
917
- function _sfc_render$m(e, t, n, o, r, s) {
917
+ function _sfc_render$n(e, t, n, o, r, s) {
918
918
  return openBlock(), createBlock(resolveDynamicComponent(e.BlocksWrapper), mergeProps({
919
- class: e.className + " component-178o76acnws",
919
+ class: e.className + " component-1k2igrjdg3x",
920
920
  "builder-path": e.path,
921
921
  "builder-parent-id": e.parent,
922
922
  style: e.styleProp,
@@ -930,7 +930,7 @@ function _sfc_render$m(e, t, n, o, r, s) {
930
930
  _: 3
931
931
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
932
932
  }
933
- const BlocksWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$m], ["__scopeId", "data-v-a5b13ef9"]]), _sfc_main$n = defineComponent({
933
+ const BlocksWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$n], ["__scopeId", "data-v-f091a4a7"]]), _sfc_main$o = defineComponent({
934
934
  name: "builder-blocks",
935
935
  components: { BlocksWrapper, Block },
936
936
  props: [
@@ -947,15 +947,15 @@ const BlocksWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_
947
947
  componentsContext: ComponentsContext.key
948
948
  }
949
949
  });
950
- function _sfc_render$l(e, t, n, o, r, s) {
951
- var l, d;
952
- const i = resolveComponent("block"), a = resolveComponent("blocks-wrapper");
953
- return openBlock(), createBlock(a, {
950
+ function _sfc_render$m(e, t, n, o, r, s) {
951
+ var a, d;
952
+ const i = resolveComponent("Block"), l = resolveComponent("BlocksWrapper");
953
+ return openBlock(), createBlock(l, {
954
954
  blocks: e.blocks,
955
955
  parent: e.parent,
956
956
  path: e.path,
957
957
  styleProp: e.styleProp,
958
- BlocksWrapper: ((l = e.context) == null ? void 0 : l.BlocksWrapper) || e.builderContext.BlocksWrapper,
958
+ BlocksWrapper: ((a = e.context) == null ? void 0 : a.BlocksWrapper) || e.builderContext.BlocksWrapper,
959
959
  BlocksWrapperProps: ((d = e.context) == null ? void 0 : d.BlocksWrapperProps) || e.builderContext.BlocksWrapperProps
960
960
  }, {
961
961
  default: withCtx(() => [
@@ -970,7 +970,7 @@ function _sfc_render$l(e, t, n, o, r, s) {
970
970
  _: 1
971
971
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
972
972
  }
973
- const Blocks = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$l]]), _sfc_main$m = defineComponent({
973
+ const Blocks = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$m]]), _sfc_main$n = defineComponent({
974
974
  render() {
975
975
  return h("style", {
976
976
  innerHTML: this.styles,
@@ -1021,22 +1021,22 @@ const Blocks = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$
1021
1021
  min: s,
1022
1022
  default: s + 1
1023
1023
  }, n;
1024
- }, getColumnsClass = (e) => `builder-columns ${e}-breakpoints`, _sfc_main$l = defineComponent({
1024
+ }, getColumnsClass = (e) => `builder-columns ${e}-breakpoints`, _sfc_main$m = defineComponent({
1025
1025
  name: "dynamic-div",
1026
1026
  props: []
1027
1027
  });
1028
- function _sfc_render$k(e, t, n, o, r, s) {
1028
+ function _sfc_render$l(e, t, n, o, r, s) {
1029
1029
  return openBlock(), createElementBlock("div", null, [
1030
1030
  renderSlot(e.$slots, "default")
1031
1031
  ]);
1032
1032
  }
1033
- const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$k]]), dynamicDiv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1033
+ const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$l]]), dynamicDiv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1034
1034
  __proto__: null,
1035
1035
  default: DynamicDiv
1036
- }, Symbol.toStringTag, { value: "Module" })), _sfc_main$k = defineComponent({
1036
+ }, Symbol.toStringTag, { value: "Module" })), _sfc_main$l = defineComponent({
1037
1037
  name: "builder-columns",
1038
1038
  components: {
1039
- InlinedStyles: _sfc_main$m,
1039
+ InlinedStyles: _sfc_main$n,
1040
1040
  DynamicRenderer,
1041
1041
  Blocks,
1042
1042
  DynamicDiv
@@ -1166,11 +1166,11 @@ const DynamicDiv = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_ren
1166
1166
  }
1167
1167
  }
1168
1168
  });
1169
- function _sfc_render$j(e, t, n, o, r, s) {
1169
+ function _sfc_render$k(e, t, n, o, r, s) {
1170
1170
  var d;
1171
- const i = resolveComponent("inlined-styles"), a = resolveComponent("blocks"), l = resolveComponent("dynamic-renderer");
1171
+ const i = resolveComponent("InlinedStyles"), l = resolveComponent("Blocks"), a = resolveComponent("DynamicRenderer");
1172
1172
  return openBlock(), createElementBlock("div", mergeProps({
1173
- class: e.getColumnsClass((d = e.builderBlock) == null ? void 0 : d.id) + " div-t9spj7joih",
1173
+ class: e.getColumnsClass((d = e.builderBlock) == null ? void 0 : d.id) + " div-2brhoa1k8gd",
1174
1174
  style: e.columnsCssVars()
1175
1175
  }, {}), [
1176
1176
  e.TARGET !== "reactNative" ? (openBlock(), createBlock(i, {
@@ -1178,14 +1178,14 @@ function _sfc_render$j(e, t, n, o, r, s) {
1178
1178
  id: "builderio-columns",
1179
1179
  styles: e.columnsStyles()
1180
1180
  }, null, 8, ["styles"])) : createCommentVNode("", !0),
1181
- (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.columns, (p, c) => (openBlock(), createBlock(l, {
1181
+ (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.columns, (p, c) => (openBlock(), createBlock(a, {
1182
1182
  key: c,
1183
1183
  TagName: e.getTagName(p),
1184
1184
  actionAttributes: {},
1185
1185
  attributes: e.getAttributes(p, c)
1186
1186
  }, {
1187
1187
  default: withCtx(() => [
1188
- createVNode(a, {
1188
+ createVNode(l, {
1189
1189
  path: `component.options.columns.${c}.blocks`,
1190
1190
  parent: e.builderBlock.id,
1191
1191
  styleProp: {
@@ -1201,16 +1201,16 @@ function _sfc_render$j(e, t, n, o, r, s) {
1201
1201
  }, 1032, ["TagName", "attributes"]))), 128))
1202
1202
  ], 16);
1203
1203
  }
1204
- const Columns = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$j], ["__scopeId", "data-v-4878b55f"]]), _sfc_main$j = defineComponent({
1204
+ const Columns = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$k], ["__scopeId", "data-v-92d2d1da"]]), _sfc_main$k = defineComponent({
1205
1205
  name: "builder-fragment-component",
1206
1206
  props: []
1207
1207
  });
1208
- function _sfc_render$i(e, t, n, o, r, s) {
1208
+ function _sfc_render$j(e, t, n, o, r, s) {
1209
1209
  return openBlock(), createElementBlock("span", null, [
1210
1210
  renderSlot(e.$slots, "default")
1211
1211
  ]);
1212
1212
  }
1213
- const Fragment = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i]]);
1213
+ const Fragment = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$j]]);
1214
1214
  function removeProtocol(e) {
1215
1215
  return e.replace(/http(s)?:/, "");
1216
1216
  }
@@ -1241,7 +1241,7 @@ function getSrcSet(e) {
1241
1241
  }
1242
1242
  return e.match(/cdn\.shopify\.com/) ? t.map((n) => [getShopifyImageUrl(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1243
1243
  }
1244
- const _sfc_main$i = defineComponent({
1244
+ const _sfc_main$j = defineComponent({
1245
1245
  name: "builder-image",
1246
1246
  props: [
1247
1247
  "image",
@@ -1287,19 +1287,19 @@ const _sfc_main$i = defineComponent({
1287
1287
  return this.aspectRatio ? e : void 0;
1288
1288
  }
1289
1289
  }
1290
- }), _hoisted_1$9 = ["srcset"], _hoisted_2$4 = ["alt", "role", "src", "srcset", "sizes"], _hoisted_3$1 = {
1290
+ }), _hoisted_1$a = ["srcset"], _hoisted_2$4 = ["alt", "role", "src", "srcset", "sizes"], _hoisted_3$1 = {
1291
1291
  key: 2,
1292
- class: "div-20351ewpue7-2"
1292
+ class: "div-1pl23ac79ld-2"
1293
1293
  };
1294
- function _sfc_render$h(e, t, n, o, r, s) {
1295
- var i, a, l, d, p, c;
1294
+ function _sfc_render$i(e, t, n, o, r, s) {
1295
+ var i, l, a, d, p, c;
1296
1296
  return openBlock(), createElementBlock(Fragment$1, null, [
1297
1297
  createElementVNode("picture", null, [
1298
1298
  e.webpSrcSet ? (openBlock(), createElementBlock("source", {
1299
1299
  key: 0,
1300
1300
  type: "image/webp",
1301
1301
  srcset: e.webpSrcSet
1302
- }, null, 8, _hoisted_1$9)) : createCommentVNode("", !0),
1302
+ }, null, 8, _hoisted_1$a)) : createCommentVNode("", !0),
1303
1303
  createElementVNode("img", {
1304
1304
  loading: "lazy",
1305
1305
  alt: e.altText,
@@ -1310,34 +1310,34 @@ function _sfc_render$h(e, t, n, o, r, s) {
1310
1310
  ...e.aspectRatioCss
1311
1311
  }),
1312
1312
  class: normalizeClass(
1313
- "builder-image" + (e.className ? " " + e.className : "") + " img-20351ewpue7"
1313
+ "builder-image" + (e.className ? " " + e.className : "") + " img-1pl23ac79ld"
1314
1314
  ),
1315
1315
  src: e.image,
1316
1316
  srcset: e.srcSetToUse,
1317
1317
  sizes: e.sizes
1318
1318
  }, null, 14, _hoisted_2$4)
1319
1319
  ]),
1320
- e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? (openBlock(), createElementBlock("div", {
1320
+ e.aspectRatio && !((l = (i = e.builderBlock) == null ? void 0 : i.children) != null && l.length && e.fitContent) ? (openBlock(), createElementBlock("div", {
1321
1321
  key: 0,
1322
- class: "builder-image-sizer div-20351ewpue7",
1322
+ class: "builder-image-sizer div-1pl23ac79ld",
1323
1323
  style: normalizeStyle({
1324
1324
  paddingTop: e.aspectRatio * 100 + "%"
1325
1325
  })
1326
1326
  }, null, 4)) : createCommentVNode("", !0),
1327
- (d = (l = e.builderBlock) == null ? void 0 : l.children) != null && d.length && e.fitContent ? renderSlot(e.$slots, "default", { key: 1 }, void 0, !0) : createCommentVNode("", !0),
1327
+ (d = (a = e.builderBlock) == null ? void 0 : a.children) != null && d.length && e.fitContent ? renderSlot(e.$slots, "default", { key: 1 }, void 0, !0) : createCommentVNode("", !0),
1328
1328
  !e.fitContent && ((c = (p = e.builderBlock) == null ? void 0 : p.children) != null && c.length) ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
1329
1329
  renderSlot(e.$slots, "default", {}, void 0, !0)
1330
1330
  ])) : createCommentVNode("", !0)
1331
1331
  ], 64);
1332
1332
  }
1333
- const Image = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$h], ["__scopeId", "data-v-5dee860d"]]), _sfc_main$h = defineComponent({
1333
+ const Image = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i], ["__scopeId", "data-v-6b703704"]]), _sfc_main$i = defineComponent({
1334
1334
  name: "builder-section-component",
1335
1335
  props: ["attributes", "maxWidth"],
1336
1336
  data() {
1337
1337
  return { filterAttrs };
1338
1338
  }
1339
1339
  });
1340
- function _sfc_render$g(e, t, n, o, r, s) {
1340
+ function _sfc_render$h(e, t, n, o, r, s) {
1341
1341
  return openBlock(), createElementBlock("section", mergeProps({
1342
1342
  style: {
1343
1343
  width: "100%",
@@ -1355,7 +1355,7 @@ function _sfc_render$g(e, t, n, o, r, s) {
1355
1355
  renderSlot(e.$slots, "default")
1356
1356
  ], 16);
1357
1357
  }
1358
- const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g]]), getTopLevelDomain = (e) => {
1358
+ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$h]]), getTopLevelDomain = (e) => {
1359
1359
  if (e === "localhost" || e === "127.0.0.1")
1360
1360
  return e;
1361
1361
  const t = e.split(".");
@@ -1490,7 +1490,7 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1490
1490
  ...e,
1491
1491
  ...r
1492
1492
  };
1493
- }, getDefaultCanTrack = (e) => checkIsDefined(e) ? e : !0, componentInfo$g = {
1493
+ }, getDefaultCanTrack = (e) => checkIsDefined(e) ? e : !0, componentInfo$h = {
1494
1494
  name: "Core:Button",
1495
1495
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1496
1496
  defaultStyles: {
@@ -1523,7 +1523,7 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1523
1523
  }],
1524
1524
  static: !0,
1525
1525
  noWrap: !0
1526
- }, componentInfo$f = {
1526
+ }, componentInfo$g = {
1527
1527
  // TODO: ways to statically preprocess JSON for references, functions, etc
1528
1528
  name: "Columns",
1529
1529
  isRSC: !0,
@@ -1702,7 +1702,7 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1702
1702
  });
1703
1703
  }
1704
1704
  const n = e.get("columns");
1705
- Array.isArray(n) && n.find((r) => r.get("width")) && (n.find((s) => !s.get("width")) || n.reduce((a, l) => a + l.get("width"), 0) !== 100) && t();
1705
+ Array.isArray(n) && n.find((r) => r.get("width")) && (n.find((s) => !s.get("width")) || n.reduce((l, a) => l + a.get("width"), 0) !== 100) && t();
1706
1706
  }
1707
1707
  }, {
1708
1708
  name: "space",
@@ -1724,13 +1724,13 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1724
1724
  helperText: "When stacking columns for mobile devices, reverse the ordering",
1725
1725
  advanced: !0
1726
1726
  }]
1727
- }, componentInfo$e = {
1727
+ }, componentInfo$f = {
1728
1728
  name: "Fragment",
1729
1729
  static: !0,
1730
1730
  hidden: !0,
1731
1731
  canHaveChildren: !0,
1732
1732
  noWrap: !0
1733
- }, componentInfo$d = {
1733
+ }, componentInfo$e = {
1734
1734
  name: "Image",
1735
1735
  static: !0,
1736
1736
  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",
@@ -1750,17 +1750,17 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1750
1750
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1751
1751
  onChange: (e) => {
1752
1752
  e.delete("srcset"), e.delete("noWebp");
1753
- function n(i, a = 6e4) {
1754
- return new Promise((l, d) => {
1753
+ function n(i, l = 6e4) {
1754
+ return new Promise((a, d) => {
1755
1755
  const p = document.createElement("img");
1756
1756
  let c = !1;
1757
1757
  p.onload = () => {
1758
- c = !0, l(p);
1758
+ c = !0, a(p);
1759
1759
  }, p.addEventListener("error", (u) => {
1760
1760
  console.warn("Image load failed", u.error), d(u.error);
1761
1761
  }), p.src = i, setTimeout(() => {
1762
1762
  c || d(new Error("Image load timed out"));
1763
- }, a);
1763
+ }, l);
1764
1764
  });
1765
1765
  }
1766
1766
  function o(i) {
@@ -1771,8 +1771,8 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1771
1771
  i.type.includes("svg") && e.set("noWebp", !0);
1772
1772
  }), r && (!s || s === 0.7041))
1773
1773
  return n(r).then((i) => {
1774
- const a = e.get("aspectRatio");
1775
- e.get("image") === r && (!a || a === 0.7041) && i.width && i.height && (e.set("aspectRatio", o(i.height / i.width)), e.set("height", i.height), e.set("width", i.width));
1774
+ const l = e.get("aspectRatio");
1775
+ e.get("image") === r && (!l || l === 0.7041) && i.width && i.height && (e.set("aspectRatio", o(i.height / i.width)), e.set("height", i.height), e.set("width", i.width));
1776
1776
  });
1777
1777
  }
1778
1778
  }, {
@@ -1830,7 +1830,7 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1830
1830
  advanced: !0,
1831
1831
  defaultValue: 0.7041
1832
1832
  }]
1833
- }, componentInfo$c = {
1833
+ }, componentInfo$d = {
1834
1834
  name: "Core:Section",
1835
1835
  static: !0,
1836
1836
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1869,7 +1869,7 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1869
1869
  }
1870
1870
  }
1871
1871
  }]
1872
- }, componentInfo$b = {
1872
+ }, componentInfo$c = {
1873
1873
  name: "Slot",
1874
1874
  isRSC: !0,
1875
1875
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -1882,31 +1882,31 @@ const Section = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render
1882
1882
  required: !0,
1883
1883
  defaultValue: "children"
1884
1884
  }]
1885
- }, _sfc_main$g = defineComponent({
1885
+ }, _sfc_main$h = defineComponent({
1886
1886
  name: "builder-slot",
1887
1887
  components: { Blocks },
1888
1888
  props: ["builderContext", "name"]
1889
1889
  });
1890
- function _sfc_render$f(e, t, n, o, r, s) {
1891
- var a, l, d;
1892
- const i = resolveComponent("blocks");
1890
+ function _sfc_render$g(e, t, n, o, r, s) {
1891
+ var l, a, d;
1892
+ const i = resolveComponent("Blocks");
1893
1893
  return openBlock(), createElementBlock("div", mergeProps(
1894
1894
  { style: {
1895
1895
  pointerEvents: "auto"
1896
1896
  } },
1897
- !((a = e.builderContext.context) != null && a.symbolId) && {
1897
+ !((l = e.builderContext.context) != null && l.symbolId) && {
1898
1898
  "builder-slot": e.name
1899
1899
  }
1900
1900
  ), [
1901
1901
  createVNode(i, {
1902
- parent: (l = e.builderContext.context) == null ? void 0 : l.symbolId,
1902
+ parent: (a = e.builderContext.context) == null ? void 0 : a.symbolId,
1903
1903
  path: `symbol.data.${e.name}`,
1904
1904
  context: e.builderContext,
1905
1905
  blocks: (d = e.builderContext.rootState) == null ? void 0 : d[e.name]
1906
1906
  }, null, 8, ["parent", "path", "context", "blocks"])
1907
1907
  ], 16);
1908
1908
  }
1909
- const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]]), componentInfo$a = {
1909
+ const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$g]]), componentInfo$b = {
1910
1910
  name: "Symbol",
1911
1911
  noWrap: !0,
1912
1912
  static: !0,
@@ -1977,7 +1977,7 @@ const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]
1977
1977
  text: "New tab content "
1978
1978
  }
1979
1979
  }
1980
- }, componentInfo$9 = {
1980
+ }, componentInfo$a = {
1981
1981
  name: "Builder: Tabs",
1982
1982
  inputs: [{
1983
1983
  name: "tabs",
@@ -2074,15 +2074,15 @@ const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]
2074
2074
  value: "flex-end"
2075
2075
  }]
2076
2076
  }]
2077
- }, _sfc_main$f = defineComponent({
2077
+ }, _sfc_main$g = defineComponent({
2078
2078
  name: "builder-tabs",
2079
2079
  components: { Blocks },
2080
2080
  props: [
2081
2081
  "defaultActiveTab",
2082
2082
  "tabs",
2083
- "activeTabStyle",
2084
- "tabHeaderLayout",
2085
2083
  "collapsible",
2084
+ "tabHeaderLayout",
2085
+ "activeTabStyle",
2086
2086
  "builderBlock",
2087
2087
  "builderContext",
2088
2088
  "builderComponents",
@@ -2095,13 +2095,13 @@ const Slot = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]
2095
2095
  activeTabContent(e) {
2096
2096
  return this.tabs && this.tabs[e].content;
2097
2097
  },
2098
- getActiveTabStyle(e) {
2099
- return this.activeTab === e ? this.activeTabStyle : {};
2098
+ onClick(e) {
2099
+ e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
2100
2100
  }
2101
2101
  }
2102
- }), _hoisted_1$8 = ["onClick"], _hoisted_2$3 = { key: 0 };
2103
- function _sfc_render$e(e, t, n, o, r, s) {
2104
- const i = resolveComponent("blocks");
2102
+ }), _hoisted_1$9 = ["onClick"], _hoisted_2$3 = { key: 0 };
2103
+ function _sfc_render$f(e, t, n, o, r, s) {
2104
+ const i = resolveComponent("Blocks");
2105
2105
  return openBlock(), createElementBlock("div", null, [
2106
2106
  createElementVNode("div", {
2107
2107
  class: "builder-tabs-wrap",
@@ -2112,23 +2112,23 @@ function _sfc_render$e(e, t, n, o, r, s) {
2112
2112
  overflow: "auto"
2113
2113
  })
2114
2114
  }, [
2115
- (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.tabs, (a, l) => (openBlock(), createElementBlock("span", {
2116
- key: l,
2117
- class: normalizeClass(`builder-tab-wrap ${e.activeTab === l ? "builder-tab-active" : ""}`),
2118
- style: normalizeStyle(e.getActiveTabStyle(l)),
2119
- onClick: (d) => {
2120
- l === e.activeTab && e.collapsible ? e.activeTab = -1 : e.activeTab = l;
2121
- }
2115
+ (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.tabs, (l, a) => (openBlock(), createElementBlock("span", {
2116
+ key: a,
2117
+ class: normalizeClass(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
2118
+ style: normalizeStyle({
2119
+ ...e.activeTab === a ? e.activeTabStyle : {}
2120
+ }),
2121
+ onClick: (d) => e.onClick(a)
2122
2122
  }, [
2123
2123
  createVNode(i, {
2124
2124
  parent: e.builderBlock.id,
2125
- path: `component.options.tabs.${l}.label`,
2126
- blocks: a.label,
2125
+ path: `component.options.tabs.${a}.label`,
2126
+ blocks: l.label,
2127
2127
  context: e.builderContext,
2128
2128
  registeredComponents: e.builderComponents,
2129
2129
  linkComponent: e.builderLinkComponent
2130
2130
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
2131
- ], 14, _hoisted_1$8))), 128))
2131
+ ], 14, _hoisted_1$9))), 128))
2132
2132
  ], 4),
2133
2133
  e.activeTabContent(e.activeTab) ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
2134
2134
  createVNode(i, {
@@ -2142,7 +2142,7 @@ function _sfc_render$e(e, t, n, o, r, s) {
2142
2142
  ])) : createCommentVNode("", !0)
2143
2143
  ]);
2144
2144
  }
2145
- const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$e]]), componentInfo$8 = {
2145
+ const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$f]]), componentInfo$9 = {
2146
2146
  name: "Text",
2147
2147
  static: !0,
2148
2148
  isRSC: !0,
@@ -2160,11 +2160,11 @@ const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$e]
2160
2160
  height: "auto",
2161
2161
  textAlign: "center"
2162
2162
  }
2163
- }, _sfc_main$e = defineComponent({
2163
+ }, _sfc_main$f = defineComponent({
2164
2164
  name: "builder-text",
2165
2165
  props: ["text"]
2166
- }), _hoisted_1$7 = ["innerHTML"];
2167
- function _sfc_render$d(e, t, n, o, r, s) {
2166
+ }), _hoisted_1$8 = ["innerHTML"];
2167
+ function _sfc_render$e(e, t, n, o, r, s) {
2168
2168
  var i;
2169
2169
  return openBlock(), createElementBlock("div", {
2170
2170
  class: "builder-text",
@@ -2172,9 +2172,266 @@ function _sfc_render$d(e, t, n, o, r, s) {
2172
2172
  style: {
2173
2173
  outline: "none"
2174
2174
  }
2175
- }, null, 8, _hoisted_1$7);
2175
+ }, null, 8, _hoisted_1$8);
2176
+ }
2177
+ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$e]]), convertOrderNumberToString = (e) => e.toString(), _sfc_main$e = defineComponent({
2178
+ name: "builder-accordion",
2179
+ components: { Blocks },
2180
+ props: [
2181
+ "grid",
2182
+ "oneAtATime",
2183
+ "items",
2184
+ "gridRowWidth",
2185
+ "builderBlock",
2186
+ "builderContext",
2187
+ "builderComponents",
2188
+ "builderLinkComponent"
2189
+ ],
2190
+ data() {
2191
+ return { open: [], convertOrderNumberToString };
2192
+ },
2193
+ computed: {
2194
+ onlyOneAtATime() {
2195
+ return !!(this.grid || this.oneAtATime);
2196
+ },
2197
+ accordionStyles() {
2198
+ return {
2199
+ display: "flex",
2200
+ alignItems: "stretch",
2201
+ flexDirection: "column",
2202
+ ...this.grid && {
2203
+ flexDirection: "row",
2204
+ alignItems: "flex-start",
2205
+ flexWrap: "wrap"
2206
+ }
2207
+ };
2208
+ },
2209
+ accordionTitleStyles() {
2210
+ const t = {
2211
+ ...{
2212
+ display: "flex",
2213
+ flexDirection: "column"
2214
+ },
2215
+ alignItems: "stretch",
2216
+ cursor: "pointer"
2217
+ };
2218
+ return Object.fromEntries(
2219
+ Object.entries(t).filter(([n, o]) => o !== void 0)
2220
+ );
2221
+ },
2222
+ openGridItemOrder() {
2223
+ let e = null;
2224
+ if (this.grid && this.open.length && document) {
2225
+ const n = this.open[0];
2226
+ let r = document.querySelector(
2227
+ `.builder-accordion-title[data-index="${n}"]`
2228
+ );
2229
+ if (e = n, r) {
2230
+ let s = r.getBoundingClientRect();
2231
+ for (; r = r && r.nextElementSibling; )
2232
+ if (r) {
2233
+ if (r.classList.contains("builder-accordion-detail"))
2234
+ continue;
2235
+ const i = r.getBoundingClientRect();
2236
+ if (i.left > s.left) {
2237
+ const l = parseInt(
2238
+ r.getAttribute("data-index") || "",
2239
+ 10
2240
+ );
2241
+ isNaN(l) || (s = i, e = l);
2242
+ } else
2243
+ break;
2244
+ }
2245
+ }
2246
+ }
2247
+ return typeof e == "number" && (e = e + 1), e;
2248
+ },
2249
+ accordionDetailStyles() {
2250
+ const e = {
2251
+ order: typeof this.openGridItemOrder == "number" ? this.openGridItemOrder : void 0,
2252
+ ...this.grid && {
2253
+ width: "100%"
2254
+ }
2255
+ };
2256
+ return Object.fromEntries(
2257
+ Object.entries(e).filter(([t, n]) => n !== void 0)
2258
+ );
2259
+ }
2260
+ },
2261
+ methods: {
2262
+ getAccordionTitleClassName(e) {
2263
+ return `builder-accordion-title builder-accordion-title-${this.open.includes(e) ? "open" : "closed"}`;
2264
+ },
2265
+ getAccordionDetailClassName(e) {
2266
+ return `builder-accordion-detail builder-accordion-detail-${this.open.includes(e) ? "open" : "closed"}`;
2267
+ },
2268
+ onClick(e) {
2269
+ this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
2270
+ }
2271
+ }
2272
+ }), _hoisted_1$7 = ["data-index", "onClick"];
2273
+ function _sfc_render$d(e, t, n, o, r, s) {
2274
+ const i = resolveComponent("Blocks");
2275
+ return openBlock(), createElementBlock("div", {
2276
+ class: "builder-accordion",
2277
+ style: normalizeStyle(e.accordionStyles)
2278
+ }, [
2279
+ (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.items, (l, a) => (openBlock(), createElementBlock(Fragment$1, { key: a }, [
2280
+ createElementVNode("div", {
2281
+ class: normalizeClass(e.getAccordionTitleClassName(a)),
2282
+ style: normalizeStyle({
2283
+ ...e.accordionTitleStyles,
2284
+ width: e.grid ? e.gridRowWidth : void 0,
2285
+ order: e.openGridItemOrder !== null ? e.convertOrderNumberToString(a) : e.convertOrderNumberToString(a + 1)
2286
+ }),
2287
+ "data-index": a,
2288
+ onClick: (d) => e.onClick(a)
2289
+ }, [
2290
+ createVNode(i, {
2291
+ blocks: l.title,
2292
+ path: `items.${a}.title`,
2293
+ parent: e.builderBlock.id,
2294
+ context: e.builderContext,
2295
+ registeredComponents: e.builderComponents,
2296
+ linkComponent: e.builderLinkComponent
2297
+ }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2298
+ ], 14, _hoisted_1$7),
2299
+ e.open.includes(a) ? (openBlock(), createElementBlock("div", {
2300
+ key: 0,
2301
+ class: normalizeClass(e.getAccordionDetailClassName(a)),
2302
+ style: normalizeStyle(e.accordionDetailStyles)
2303
+ }, [
2304
+ createVNode(i, {
2305
+ blocks: l.detail,
2306
+ path: `items.${a}.detail`,
2307
+ parent: e.builderBlock.id,
2308
+ context: e.builderContext,
2309
+ registeredComponents: e.builderComponents,
2310
+ linkComponent: e.builderLinkComponent
2311
+ }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2312
+ ], 6)) : createCommentVNode("", !0)
2313
+ ], 64))), 128))
2314
+ ], 4);
2176
2315
  }
2177
- const Text = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$d]]), componentInfo$7 = {
2316
+ const Accordion = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$d]]), defaultTitle = {
2317
+ "@type": "@builder.io/sdk:Element",
2318
+ layerName: "Accordion item title",
2319
+ responsiveStyles: {
2320
+ large: {
2321
+ marginTop: "10px",
2322
+ position: "relative",
2323
+ display: "flex",
2324
+ alignItems: "stretch",
2325
+ flexDirection: "column",
2326
+ paddingBottom: "10px"
2327
+ }
2328
+ },
2329
+ children: [{
2330
+ "@type": "@builder.io/sdk:Element",
2331
+ responsiveStyles: {
2332
+ large: {
2333
+ textAlign: "left",
2334
+ display: "flex",
2335
+ flexDirection: "column"
2336
+ }
2337
+ },
2338
+ component: {
2339
+ name: "Text",
2340
+ options: {
2341
+ text: "I am an accordion title. Click me!"
2342
+ }
2343
+ }
2344
+ }]
2345
+ }, defaultDetail = {
2346
+ "@type": "@builder.io/sdk:Element",
2347
+ layerName: "Accordion item detail",
2348
+ responsiveStyles: {
2349
+ large: {
2350
+ position: "relative",
2351
+ display: "flex",
2352
+ alignItems: "stretch",
2353
+ flexDirection: "column",
2354
+ marginTop: "10px",
2355
+ paddingBottom: "10px"
2356
+ }
2357
+ },
2358
+ children: [{
2359
+ "@type": "@builder.io/sdk:Element",
2360
+ responsiveStyles: {
2361
+ large: {
2362
+ paddingTop: "50px",
2363
+ textAlign: "left",
2364
+ display: "flex",
2365
+ flexDirection: "column",
2366
+ paddingBottom: "50px"
2367
+ }
2368
+ },
2369
+ component: {
2370
+ name: "Text",
2371
+ options: {
2372
+ text: "I am an accordion detail, hello!"
2373
+ }
2374
+ }
2375
+ }]
2376
+ }, componentInfo$8 = {
2377
+ name: "Builder:Accordion",
2378
+ canHaveChildren: !0,
2379
+ image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
2380
+ defaultStyles: {
2381
+ display: "flex",
2382
+ flexDirection: "column",
2383
+ alignItems: "stretch"
2384
+ },
2385
+ inputs: [{
2386
+ name: "items",
2387
+ type: "list",
2388
+ broadcast: !0,
2389
+ subFields: [{
2390
+ name: "title",
2391
+ type: "uiBlocks",
2392
+ hideFromUI: !0,
2393
+ defaultValue: [defaultTitle]
2394
+ }, {
2395
+ name: "detail",
2396
+ type: "uiBlocks",
2397
+ hideFromUI: !0,
2398
+ defaultValue: [defaultDetail]
2399
+ }],
2400
+ defaultValue: [{
2401
+ title: [defaultTitle],
2402
+ detail: [defaultDetail]
2403
+ }, {
2404
+ title: [defaultTitle],
2405
+ detail: [defaultDetail]
2406
+ }],
2407
+ showIf: (e) => !e.get("useChildrenForItems")
2408
+ }, {
2409
+ name: "oneAtATime",
2410
+ helperText: "Only allow opening one at a time (collapse all others when new item openned)",
2411
+ type: "boolean",
2412
+ defaultValue: !1
2413
+ }, {
2414
+ name: "grid",
2415
+ helperText: "Display as a grid",
2416
+ type: "boolean",
2417
+ defaultValue: !1
2418
+ }, {
2419
+ name: "gridRowWidth",
2420
+ helperText: "Display as a grid",
2421
+ type: "string",
2422
+ showIf: (e) => e.get("grid"),
2423
+ defaultValue: "25%"
2424
+ }, {
2425
+ name: "useChildrenForItems",
2426
+ type: "boolean",
2427
+ helperText: "Use child elements for each slide, instead of the array. Useful for dynamically repeating items",
2428
+ advanced: !0,
2429
+ defaultValue: !1,
2430
+ onChange: (e) => {
2431
+ e.get("useChildrenForItems") === !0 && e.set("items", []);
2432
+ }
2433
+ }]
2434
+ }, componentInfo$7 = {
2178
2435
  name: "Custom Code",
2179
2436
  static: !0,
2180
2437
  requiredPermissions: ["editCode"],
@@ -2609,7 +2866,7 @@ const embed = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b
2609
2866
  e.preventDefault();
2610
2867
  const o = e.currentTarget, r = this.customHeaders || {};
2611
2868
  let s;
2612
- const i = new FormData(o), a = Array.from(
2869
+ const i = new FormData(o), l = Array.from(
2613
2870
  e.currentTarget.querySelectorAll("input,select,textarea")
2614
2871
  ).filter((c) => !!c.name).map((c) => {
2615
2872
  let u;
@@ -2635,18 +2892,18 @@ const embed = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b
2635
2892
  value: u
2636
2893
  };
2637
2894
  });
2638
- let l = this.contentType;
2639
- if (this.sendSubmissionsTo === "email" && (l = "multipart/form-data"), Array.from(a).forEach(({ value: c }) => {
2640
- (c instanceof File || Array.isArray(c) && c[0] instanceof File || c instanceof FileList) && (l = "multipart/form-data");
2641
- }), l !== "application/json")
2895
+ let a = this.contentType;
2896
+ if (this.sendSubmissionsTo === "email" && (a = "multipart/form-data"), Array.from(l).forEach(({ value: c }) => {
2897
+ (c instanceof File || Array.isArray(c) && c[0] instanceof File || c instanceof FileList) && (a = "multipart/form-data");
2898
+ }), a !== "application/json")
2642
2899
  s = i;
2643
2900
  else {
2644
2901
  const c = {};
2645
- Array.from(a).forEach(({ value: u, key: f }) => {
2902
+ Array.from(l).forEach(({ value: u, key: f }) => {
2646
2903
  set(c, f, u);
2647
2904
  }), s = JSON.stringify(c);
2648
2905
  }
2649
- l && l !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = l));
2906
+ a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
2650
2907
  const d = new CustomEvent("presubmit", {
2651
2908
  detail: {
2652
2909
  body: s
@@ -2713,11 +2970,11 @@ const embed = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$b
2713
2970
  }
2714
2971
  }), _hoisted_1$4 = ["validate", "action", "method", "name"], _hoisted_2$2 = {
2715
2972
  key: 3,
2716
- class: "builder-form-error-text pre-3i4ezorcfhi"
2973
+ class: "builder-form-error-text pre-3q96myty4lk"
2717
2974
  };
2718
2975
  function _sfc_render$a(e, t, n, o, r, s) {
2719
- var l;
2720
- const i = resolveComponent("block"), a = resolveComponent("blocks");
2976
+ var a;
2977
+ const i = resolveComponent("Block"), l = resolveComponent("Blocks");
2721
2978
  return openBlock(), createElementBlock("form", mergeProps({
2722
2979
  validate: e.validate,
2723
2980
  ref: "formRef",
@@ -2726,27 +2983,27 @@ function _sfc_render$a(e, t, n, o, r, s) {
2726
2983
  name: e.name,
2727
2984
  onSubmit: t[0] || (t[0] = (d) => e.onSubmit(d))
2728
2985
  }, e.filterAttrs(e.attributes, "v-on:", !1), toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
2729
- e.builderBlock && e.builderBlock.children ? (openBlock(!0), createElementBlock(Fragment$1, { key: 0 }, renderList((l = e.builderBlock) == null ? void 0 : l.children, (d, p) => (openBlock(), createBlock(i, {
2986
+ e.builderBlock && e.builderBlock.children ? (openBlock(!0), createElementBlock(Fragment$1, { key: 0 }, renderList((a = e.builderBlock) == null ? void 0 : a.children, (d, p) => (openBlock(), createBlock(i, {
2730
2987
  key: `form-block-${e.idx}`,
2731
2988
  block: d,
2732
2989
  context: e.builderContext,
2733
2990
  registeredComponents: e.builderComponents,
2734
2991
  linkComponent: e.builderLinkComponent
2735
2992
  }, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128)) : createCommentVNode("", !0),
2736
- e.submissionState() === "error" ? (openBlock(), createBlock(a, {
2993
+ e.submissionState() === "error" ? (openBlock(), createBlock(l, {
2737
2994
  key: 1,
2738
2995
  path: "errorMessage",
2739
2996
  blocks: e.errorMessage,
2740
2997
  context: e.builderContext
2741
2998
  }, null, 8, ["blocks", "context"])) : createCommentVNode("", !0),
2742
- e.submissionState() === "sending" ? (openBlock(), createBlock(a, {
2999
+ e.submissionState() === "sending" ? (openBlock(), createBlock(l, {
2743
3000
  key: 2,
2744
3001
  path: "sendingMessage",
2745
3002
  blocks: e.sendingMessage,
2746
3003
  context: e.builderContext
2747
3004
  }, null, 8, ["blocks", "context"])) : createCommentVNode("", !0),
2748
3005
  e.submissionState() === "error" && e.responseData ? (openBlock(), createElementBlock("pre", _hoisted_2$2, toDisplayString(JSON.stringify(e.responseData, null, 2)), 1)) : createCommentVNode("", !0),
2749
- e.submissionState() === "success" ? (openBlock(), createBlock(a, {
3006
+ e.submissionState() === "success" ? (openBlock(), createBlock(l, {
2750
3007
  key: 4,
2751
3008
  path: "successMessage",
2752
3009
  blocks: e.successMessage,
@@ -2754,7 +3011,7 @@ function _sfc_render$a(e, t, n, o, r, s) {
2754
3011
  }, null, 8, ["blocks", "context"])) : createCommentVNode("", !0)
2755
3012
  ], 16, _hoisted_1$4);
2756
3013
  }
2757
- const Form = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a], ["__scopeId", "data-v-1573388b"]]), componentInfo$4 = {
3014
+ const Form = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$a], ["__scopeId", "data-v-d55453cc"]]), componentInfo$4 = {
2758
3015
  name: "Form:Input",
2759
3016
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
2760
3017
  inputs: [
@@ -2887,8 +3144,8 @@ function _sfc_render$8(e, t, n, o, r, s) {
2887
3144
  defaultValue: e.defaultValue,
2888
3145
  name: e.name
2889
3146
  }, e.filterAttrs(e.attributes, "v-on:", !1), toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
2890
- (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.options, (i, a) => (openBlock(), createElementBlock("option", {
2891
- key: `${i.name}-${a}`,
3147
+ (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.options, (i, l) => (openBlock(), createElementBlock("option", {
3148
+ key: `${i.name}-${l}`,
2892
3149
  value: i.value
2893
3150
  }, toDisplayString(i.name || i.value), 9, _hoisted_2$1))), 128))
2894
3151
  ], 16, _hoisted_1$2);
@@ -3117,7 +3374,7 @@ const Img = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$6]]
3117
3374
  }
3118
3375
  };
3119
3376
  function _sfc_render$5(e, t, n, o, r, s) {
3120
- var i, a, l, d, p, c, u;
3377
+ var i, l, a, d, p, c, u;
3121
3378
  return openBlock(), createElementBlock("div", _hoisted_1, [
3122
3379
  createElementVNode("video", mergeProps({
3123
3380
  class: "builder-video",
@@ -3145,7 +3402,7 @@ function _sfc_render$5(e, t, n, o, r, s) {
3145
3402
  src: e.video
3146
3403
  }, null, 8, _hoisted_3))
3147
3404
  ], 16, _hoisted_2),
3148
- e.aspectRatio && !(e.fitContent && ((l = (a = e.builderBlock) == null ? void 0 : a.children) != null && l.length)) ? (openBlock(), createElementBlock("div", {
3405
+ e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (openBlock(), createElementBlock("div", {
3149
3406
  key: 0,
3150
3407
  style: normalizeStyle({
3151
3408
  width: "100%",
@@ -3188,31 +3445,34 @@ const Video = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$5
3188
3445
  ...componentInfo
3189
3446
  }], getDefaultRegisteredComponents = () => [{
3190
3447
  component: Button,
3191
- ...componentInfo$g
3448
+ ...componentInfo$h
3192
3449
  }, {
3193
3450
  component: Columns,
3194
- ...componentInfo$f
3451
+ ...componentInfo$g
3195
3452
  }, {
3196
3453
  component: Fragment,
3197
- ...componentInfo$e
3454
+ ...componentInfo$f
3198
3455
  }, {
3199
3456
  component: Image,
3200
- ...componentInfo$d
3457
+ ...componentInfo$e
3201
3458
  }, {
3202
3459
  component: Section,
3203
- ...componentInfo$c
3460
+ ...componentInfo$d
3204
3461
  }, {
3205
3462
  component: Slot,
3206
- ...componentInfo$b
3463
+ ...componentInfo$c
3207
3464
  }, {
3208
3465
  component: Symbol$1,
3209
- ...componentInfo$a
3466
+ ...componentInfo$b
3210
3467
  }, {
3211
3468
  component: Text,
3212
- ...componentInfo$8
3469
+ ...componentInfo$9
3213
3470
  }, {
3214
3471
  component: Tabs,
3215
- ...componentInfo$9
3472
+ ...componentInfo$a
3473
+ }, {
3474
+ component: Accordion,
3475
+ ...componentInfo$8
3216
3476
  }, ...getExtraComponents()], createRegisterComponentMessage = (e) => ({
3217
3477
  type: "builder.registerComponent",
3218
3478
  data: serializeComponentInfo(e)
@@ -3399,8 +3659,8 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
3399
3659
  model: r,
3400
3660
  apiKey: s,
3401
3661
  enrich: i,
3402
- locale: a,
3403
- apiVersion: l = DEFAULT_API_VERSION,
3662
+ locale: l,
3663
+ apiVersion: a = DEFAULT_API_VERSION,
3404
3664
  fields: d,
3405
3665
  omit: p,
3406
3666
  offset: c,
@@ -3411,28 +3671,28 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
3411
3671
  } = e;
3412
3672
  if (!s)
3413
3673
  throw new Error("Missing API key");
3414
- if (!["v3"].includes(l))
3415
- throw new Error(`Invalid apiVersion: expected 'v3', received '${l}'`);
3416
- const S = t !== 1, g = new URL(`https://cdn.builder.io/api/${l}/content/${r}`);
3417
- if (g.searchParams.set("apiKey", s), g.searchParams.set("limit", String(t)), g.searchParams.set("noTraverse", String(S)), g.searchParams.set("includeRefs", String(!0)), a && g.searchParams.set("locale", a), i && g.searchParams.set("enrich", String(i)), g.searchParams.set("omit", p || "meta.componentsUsed"), d && g.searchParams.set("fields", d), Number.isFinite(c) && c > -1 && g.searchParams.set("offset", String(Math.floor(c))), typeof b == "boolean" && g.searchParams.set("includeUnpublished", String(b)), u && isPositiveNumber(u) && g.searchParams.set("cacheSeconds", String(u)), f && isPositiveNumber(f) && g.searchParams.set("staleCacheSeconds", String(f)), m) {
3674
+ if (!["v3"].includes(a))
3675
+ throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
3676
+ const C = t !== 1, g = new URL(`https://cdn.builder.io/api/${a}/content/${r}`);
3677
+ if (g.searchParams.set("apiKey", s), g.searchParams.set("limit", String(t)), g.searchParams.set("noTraverse", String(C)), g.searchParams.set("includeRefs", String(!0)), l && g.searchParams.set("locale", l), i && g.searchParams.set("enrich", String(i)), g.searchParams.set("omit", p || "meta.componentsUsed"), d && g.searchParams.set("fields", d), Number.isFinite(c) && c > -1 && g.searchParams.set("offset", String(Math.floor(c))), typeof b == "boolean" && g.searchParams.set("includeUnpublished", String(b)), u && isPositiveNumber(u) && g.searchParams.set("cacheSeconds", String(u)), f && isPositiveNumber(f) && g.searchParams.set("staleCacheSeconds", String(f)), m) {
3418
3678
  const k = flatten({
3419
3679
  sort: m
3420
3680
  });
3421
- for (const C in k)
3422
- g.searchParams.set(C, JSON.stringify(k[C]));
3681
+ for (const S in k)
3682
+ g.searchParams.set(S, JSON.stringify(k[S]));
3423
3683
  }
3424
- const I = {
3684
+ const T = {
3425
3685
  ...getBuilderSearchParamsFromWindow(),
3426
3686
  ...normalizeSearchParams(e.options || {})
3427
- }, T = flatten(I);
3428
- for (const k in T)
3429
- g.searchParams.set(k, String(T[k]));
3687
+ }, I = flatten(T);
3688
+ for (const k in I)
3689
+ g.searchParams.set(k, String(I[k]));
3430
3690
  if (n && g.searchParams.set("userAttributes", JSON.stringify(n)), o) {
3431
3691
  const k = flattenMongoQuery({
3432
3692
  query: o
3433
3693
  });
3434
- for (const C in k)
3435
- g.searchParams.set(C, JSON.stringify(k[C]));
3694
+ for (const S in k)
3695
+ g.searchParams.set(S, JSON.stringify(k[S]));
3436
3696
  }
3437
3697
  return g;
3438
3698
  }, checkContentHasResults = (e) => "results" in e;
@@ -3668,7 +3928,7 @@ function isFromTrustedHost(e, t) {
3668
3928
  const n = new URL(t.origin), o = n.hostname;
3669
3929
  return (e || DEFAULT_TRUSTED_HOSTS).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
3670
3930
  }
3671
- const SDK_VERSION = "1.0.27", registry = {};
3931
+ const SDK_VERSION = "1.0.28", registry = {};
3672
3932
  function register(e, t) {
3673
3933
  let n = registry[e];
3674
3934
  if (n || (n = registry[e] = []), n.push(t), isBrowser()) {
@@ -3738,10 +3998,10 @@ const setupBrowserForEditing = (e = {}) => {
3738
3998
  if (r != null && r.type)
3739
3999
  switch (r.type) {
3740
4000
  case "builder.evaluate": {
3741
- const a = r.data.text, l = r.data.arguments || [], d = r.data.id, p = new Function(a);
4001
+ const l = r.data.text, a = r.data.arguments || [], d = r.data.id, p = new Function(l);
3742
4002
  let c, u = null;
3743
4003
  try {
3744
- c = p.apply(null, l);
4004
+ c = p.apply(null, a);
3745
4005
  } catch (f) {
3746
4006
  u = f;
3747
4007
  }
@@ -3792,8 +4052,8 @@ const setupBrowserForEditing = (e = {}) => {
3792
4052
  break;
3793
4053
  }
3794
4054
  case "builder.contentUpdate": {
3795
- const s = r.data, i = s.key || s.alias || s.entry || s.modelName, a = s.data;
3796
- i === e && n.contentUpdate(a);
4055
+ const s = r.data, i = s.key || s.alias || s.entry || s.modelName, l = s.data;
4056
+ i === e && n.contentUpdate(l);
3797
4057
  break;
3798
4058
  }
3799
4059
  }
@@ -3831,11 +4091,11 @@ font-weight: 400;
3831
4091
  for (const i in e.files) {
3832
4092
  if (!(String(Number(i)) === i))
3833
4093
  continue;
3834
- const l = e.files[i];
3835
- l && l !== o && (r += `
4094
+ const a = e.files[i];
4095
+ a && a !== o && (r += `
3836
4096
  @font-face {
3837
4097
  font-family: "${t}";
3838
- src: url('${l}') format('woff2');
4098
+ src: url('${a}') format('woff2');
3839
4099
  font-display: fallback;
3840
4100
  font-weight: ${i};
3841
4101
  }
@@ -3908,12 +4168,12 @@ font-weight: ${i};
3908
4168
  if (isEditing() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
3909
4169
  new CustomEvent("initeditingbldr")
3910
4170
  ), this.builderContextSignal.content && getDefaultCanTrack(this.canTrack)) {
3911
- const s = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, i = (o = this.builderContextSignal.content) == null ? void 0 : o.id, a = this.apiKey;
4171
+ const s = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, i = (o = this.builderContextSignal.content) == null ? void 0 : o.id, l = this.apiKey;
3912
4172
  _track({
3913
4173
  type: "impression",
3914
4174
  canTrack: !0,
3915
4175
  contentId: i,
3916
- apiKey: a,
4176
+ apiKey: l,
3917
4177
  variationId: s !== i ? s : void 0
3918
4178
  });
3919
4179
  }
@@ -3923,7 +4183,7 @@ font-weight: ${i};
3923
4183
  }
3924
4184
  })(), (() => {
3925
4185
  this.apiKey || logger.error(
3926
- "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4186
+ "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
3927
4187
  ), this.evaluateJsCode(), this.runHttpRequests(), this.emitStateUpdate();
3928
4188
  })();
3929
4189
  },
@@ -4102,9 +4362,9 @@ font-weight: ${i};
4102
4362
  this.httpReqsPending[o] = !0;
4103
4363
  const s = r.replace(
4104
4364
  /{{([^}]+)}}/g,
4105
- (i, a) => String(
4365
+ (i, l) => String(
4106
4366
  evaluate({
4107
- code: a,
4367
+ code: l,
4108
4368
  context: this.context || {},
4109
4369
  localState: void 0,
4110
4370
  rootState: this.builderContextSignal.rootState,
@@ -4176,14 +4436,14 @@ font-weight: ${i};
4176
4436
  }
4177
4437
  });
4178
4438
  function _sfc_render$4(e, t, n, o, r, s) {
4179
- var i, a, l;
4439
+ var i, l, a;
4180
4440
  return e.builderContextSignal.content ? (openBlock(), createBlock(resolveDynamicComponent(e.ContentWrapper), mergeProps({
4181
4441
  key: 0,
4182
4442
  ref: "elementRef",
4183
4443
  onClick: (d) => e.onClick(d),
4184
4444
  "builder-content-id": (i = e.builderContextSignal.content) == null ? void 0 : i.id,
4185
4445
  "builder-model": e.model,
4186
- class: e.getWrapperClassName(((a = e.content) == null ? void 0 : a.testVariationId) || ((l = e.content) == null ? void 0 : l.id)),
4446
+ class: e.getWrapperClassName(((l = e.content) == null ? void 0 : l.testVariationId) || ((a = e.content) == null ? void 0 : a.id)),
4187
4447
  onIniteditingbldr: (d) => e.elementRef_onIniteditingbldr(d),
4188
4448
  onInitpreviewingbldr: (d) => e.elementRef_onInitpreviewingbldr(d)
4189
4449
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
@@ -4195,7 +4455,7 @@ function _sfc_render$4(e, t, n, o, r, s) {
4195
4455
  }
4196
4456
  const EnableEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]), _sfc_main$3 = defineComponent({
4197
4457
  name: "content-styles",
4198
- components: { InlinedStyles: _sfc_main$m },
4458
+ components: { InlinedStyles: _sfc_main$n },
4199
4459
  props: ["cssCode", "contentId", "customFonts", "isNestedRender"],
4200
4460
  data() {
4201
4461
  return {
@@ -4213,7 +4473,7 @@ ${getDefaultStyles(this.isNestedRender)}
4213
4473
  }
4214
4474
  });
4215
4475
  function _sfc_render$3(e, t, n, o, r, s) {
4216
- const i = resolveComponent("inlined-styles");
4476
+ const i = resolveComponent("InlinedStyles");
4217
4477
  return openBlock(), createBlock(i, {
4218
4478
  id: "builderio-content",
4219
4479
  styles: e.injectedStyles
@@ -4224,10 +4484,10 @@ const ContentStyles = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_
4224
4484
  data: t,
4225
4485
  locale: n
4226
4486
  }) => {
4227
- var s, i, a;
4487
+ var s, i, l;
4228
4488
  const o = {}, r = ((s = e == null ? void 0 : e.data) == null ? void 0 : s.state) || {};
4229
- return (a = (i = e == null ? void 0 : e.data) == null ? void 0 : i.inputs) == null || a.forEach((l) => {
4230
- l.name && l.defaultValue !== void 0 && (o[l.name] = l.defaultValue);
4489
+ return (l = (i = e == null ? void 0 : e.data) == null ? void 0 : i.inputs) == null || l.forEach((a) => {
4490
+ a.name && a.defaultValue !== void 0 && (o[a.name] = a.defaultValue);
4231
4491
  }), {
4232
4492
  ...o,
4233
4493
  ...r,
@@ -4345,7 +4605,7 @@ const ContentStyles = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_
4345
4605
  }
4346
4606
  });
4347
4607
  function _sfc_render$2(e, t, n, o, r, s) {
4348
- const i = resolveComponent("inlined-script"), a = resolveComponent("content-styles"), l = resolveComponent("blocks"), d = resolveComponent("enable-editor");
4608
+ const i = resolveComponent("InlinedScript"), l = resolveComponent("ContentStyles"), a = resolveComponent("Blocks"), d = resolveComponent("EnableEditor");
4349
4609
  return openBlock(), createBlock(d, mergeProps({
4350
4610
  content: e.content,
4351
4611
  data: e.data,
@@ -4363,22 +4623,22 @@ function _sfc_render$2(e, t, n, o, r, s) {
4363
4623
  trustedHosts: e.trustedHosts
4364
4624
  }, {}), {
4365
4625
  default: withCtx(() => {
4366
- var p, c, u, f, m, b, S;
4626
+ var p, c, u, f, m, b, C;
4367
4627
  return [
4368
4628
  e.isSsrAbTest ? (openBlock(), createBlock(i, {
4369
4629
  key: 0,
4370
4630
  id: "builderio-variant-visibility",
4371
4631
  scriptStr: e.scriptStr
4372
4632
  }, null, 8, ["scriptStr"])) : createCommentVNode("", !0),
4373
- e.TARGET !== "reactNative" ? (openBlock(), createBlock(a, {
4633
+ e.TARGET !== "reactNative" ? (openBlock(), createBlock(l, {
4374
4634
  key: 1,
4375
4635
  isNestedRender: e.isNestedRender,
4376
4636
  contentId: (p = e.builderContextSignal.content) == null ? void 0 : p.id,
4377
4637
  cssCode: (u = (c = e.builderContextSignal.content) == null ? void 0 : c.data) == null ? void 0 : u.cssCode,
4378
4638
  customFonts: (m = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : m.customFonts
4379
4639
  }, null, 8, ["isNestedRender", "contentId", "cssCode", "customFonts"])) : createCommentVNode("", !0),
4380
- createVNode(l, {
4381
- blocks: (S = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : S.blocks,
4640
+ createVNode(a, {
4641
+ blocks: (C = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : C.blocks,
4382
4642
  context: e.builderContextSignal,
4383
4643
  registeredComponents: e.registeredComponents,
4384
4644
  linkComponent: e.linkComponent
@@ -4392,7 +4652,7 @@ const ContentComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _s
4392
4652
  name: "content-variants",
4393
4653
  components: {
4394
4654
  InlinedScript: _sfc_main$5,
4395
- InlinedStyles: _sfc_main$m,
4655
+ InlinedStyles: _sfc_main$n,
4396
4656
  ContentComponent
4397
4657
  },
4398
4658
  props: [
@@ -4454,7 +4714,7 @@ const ContentComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _s
4454
4714
  }
4455
4715
  });
4456
4716
  function _sfc_render$1(e, t, n, o, r, s) {
4457
- const i = resolveComponent("inlined-script"), a = resolveComponent("inlined-styles"), l = resolveComponent("content-component");
4717
+ const i = resolveComponent("InlinedScript"), l = resolveComponent("InlinedStyles"), a = resolveComponent("ContentComponent");
4458
4718
  return openBlock(), createElementBlock(Fragment$1, null, [
4459
4719
  !e.isNestedRender && e.TARGET !== "reactNative" ? (openBlock(), createBlock(i, {
4460
4720
  key: 0,
@@ -4462,7 +4722,7 @@ function _sfc_render$1(e, t, n, o, r, s) {
4462
4722
  scriptStr: e.getInitVariantsFnsScriptString()
4463
4723
  }, null, 8, ["scriptStr"])) : createCommentVNode("", !0),
4464
4724
  e.shouldRenderVariants ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
4465
- createVNode(a, {
4725
+ createVNode(l, {
4466
4726
  id: "builderio-variants",
4467
4727
  styles: e.hideVariantsStyleString
4468
4728
  }, null, 8, ["styles"]),
@@ -4470,7 +4730,7 @@ function _sfc_render$1(e, t, n, o, r, s) {
4470
4730
  id: "builderio-variants-visibility",
4471
4731
  scriptStr: e.updateCookieAndStylesScriptStr
4472
4732
  }, null, 8, ["scriptStr"]),
4473
- (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.getVariants(e.content), (d, p) => (openBlock(), createBlock(l, {
4733
+ (openBlock(!0), createElementBlock(Fragment$1, null, renderList(e.getVariants(e.content), (d, p) => (openBlock(), createBlock(a, {
4474
4734
  key: d.testVariationId,
4475
4735
  isNestedRender: e.isNestedRender,
4476
4736
  content: d,
@@ -4493,7 +4753,7 @@ function _sfc_render$1(e, t, n, o, r, s) {
4493
4753
  trustedHosts: e.trustedHosts
4494
4754
  }, null, 8, ["isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
4495
4755
  ], 64)) : createCommentVNode("", !0),
4496
- createVNode(l, mergeProps({
4756
+ createVNode(a, mergeProps({
4497
4757
  isNestedRender: e.isNestedRender,
4498
4758
  content: e.defaultContent,
4499
4759
  showContent: !0,
@@ -4597,8 +4857,8 @@ const ContentVariants = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sf
4597
4857
  }
4598
4858
  });
4599
4859
  function _sfc_render(e, t, n, o, r, s) {
4600
- var a, l, d, p, c;
4601
- const i = resolveComponent("content-variants");
4860
+ var l, a, d, p, c;
4861
+ const i = resolveComponent("ContentVariants");
4602
4862
  return openBlock(), createElementBlock("div", mergeProps({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, toHandlers(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4603
4863
  createVNode(i, {
4604
4864
  isNestedRender: !0,
@@ -4606,11 +4866,11 @@ function _sfc_render(e, t, n, o, r, s) {
4606
4866
  apiKey: e.builderContext.apiKey,
4607
4867
  context: {
4608
4868
  ...e.builderContext.context,
4609
- symbolId: (a = e.builderBlock) == null ? void 0 : a.id
4869
+ symbolId: (l = e.builderBlock) == null ? void 0 : l.id
4610
4870
  },
4611
4871
  customComponents: Object.values(e.builderComponents),
4612
4872
  data: {
4613
- ...(l = e.symbol) == null ? void 0 : l.data,
4873
+ ...(a = e.symbol) == null ? void 0 : a.data,
4614
4874
  ...e.builderContext.localState,
4615
4875
  ...(p = (d = e.contentToUse) == null ? void 0 : d.data) == null ? void 0 : p.state
4616
4876
  },
@@ -4666,12 +4926,12 @@ export {
4666
4926
  Section as S,
4667
4927
  TARGET as T,
4668
4928
  Video as V,
4669
- _sfc_main$m as _,
4929
+ _sfc_main$n as _,
4670
4930
  getSizesForBreakpoints as a,
4671
4931
  createCssClass as b,
4672
4932
  checkIsDefined as c,
4673
4933
  getMaxWidthQueryForSize as d,
4674
- camelCaseToKebabCase as e,
4934
+ camelToKebabCase as e,
4675
4935
  _export_sfc as f,
4676
4936
  getProcessedBlock as g,
4677
4937
  evaluate as h,