@builder.io/sdk-vue 5.2.11 → 5.2.12

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 (71) hide show
  1. package/lib/browser/{awaiter-MAyQwJUp.cjs → awaiter-_vJybpjE.cjs} +1 -1
  2. package/lib/browser/{awaiter-quz2SFrg.js → awaiter-nbyjYGTm.js} +1 -1
  3. package/lib/browser/{block-wrapper-SCckT0M5.js → block-wrapper-H2uWRFfl.js} +3 -3
  4. package/lib/browser/{block-wrapper-vBu_Ygm8.cjs → block-wrapper-LaZs4cQn.cjs} +1 -1
  5. package/lib/browser/{component-ref-HWBSC66Y.cjs → component-ref-VXY67QLx.cjs} +1 -1
  6. package/lib/browser/{component-ref-owc3e0h8.js → component-ref-pzekKy-e.js} +4 -4
  7. package/lib/browser/constants/sdk-version.d.ts +1 -1
  8. package/lib/browser/{get-block-properties-odFddSWh.cjs → get-block-properties-k4bCVM0L.cjs} +1 -1
  9. package/lib/browser/{get-block-properties-Hny6jqGG.js → get-block-properties-pJvtXJrC.js} +1 -1
  10. package/lib/browser/helpers/css.d.ts +2 -0
  11. package/lib/browser/{index-7bXAC1Q8.js → index-3BT-zvy_.js} +656 -643
  12. package/lib/browser/{index-uDRmkrr4.cjs → index-FQjXUcZa.cjs} +35 -35
  13. package/lib/browser/index.cjs +1 -1
  14. package/lib/browser/index.mjs +4 -4
  15. package/lib/browser/{live-edit-AUagAEej.cjs → live-edit-QecbSljF.cjs} +1 -1
  16. package/lib/browser/{live-edit-x4eHrcJh.js → live-edit-f81HRMwD.js} +1 -1
  17. package/lib/browser/{repeated-block-ZGXPYgA8.cjs → repeated-block-pzyWtt9k.cjs} +1 -1
  18. package/lib/browser/{repeated-block-uVi8A50N.js → repeated-block-z4-Tq0vb.js} +2 -2
  19. package/lib/browser/{style-wrapper-usFESjt5.js → style-wrapper-XQIDj12j.js} +72 -66
  20. package/lib/browser/style-wrapper-wOCgRtEf.cjs +1 -0
  21. package/lib/browser/style.css +1 -1
  22. package/lib/edge/{awaiter-RSfMls5f.js → awaiter-cczNFZYf.js} +1 -1
  23. package/lib/edge/{awaiter-zow2zgzw.cjs → awaiter-kqWOzygI.cjs} +1 -1
  24. package/lib/{node/block-wrapper-PUFgSKq_.js → edge/block-wrapper-TCG6J1wM.js} +3 -3
  25. package/lib/edge/{block-wrapper-4qKpWsP8.cjs → block-wrapper-WHxKG2JN.cjs} +1 -1
  26. package/lib/edge/{component-ref-1iPK0xOE.js → component-ref-ke62ODDh.js} +4 -4
  27. package/lib/edge/{component-ref-WdOIbmOU.cjs → component-ref-zHNGcCjv.cjs} +1 -1
  28. package/lib/edge/constants/sdk-version.d.ts +1 -1
  29. package/lib/edge/{get-block-properties-bMVCvUX0.js → get-block-properties-GLe5pKJ-.js} +1 -1
  30. package/lib/edge/{get-block-properties-2E03ld67.cjs → get-block-properties-g3UUmViz.cjs} +1 -1
  31. package/lib/edge/helpers/css.d.ts +2 -0
  32. package/lib/edge/{index-Bgm0yCrN.js → index-NPl2zFFt.js} +974 -961
  33. package/lib/edge/{index-LWGIJNVx.cjs → index-Q1mE-A20.cjs} +43 -43
  34. package/lib/edge/index.cjs +1 -1
  35. package/lib/edge/index.mjs +3 -3
  36. package/lib/{node/live-edit-xPik2aUh.cjs → edge/live-edit-NlcA1TEi.cjs} +1 -1
  37. package/lib/edge/{live-edit-tegdYGJO.js → live-edit-mfyAZvt8.js} +1 -1
  38. package/lib/edge/{repeated-block--MhEsXmR.cjs → repeated-block-fItsEFz7.cjs} +1 -1
  39. package/lib/edge/{repeated-block-yZJM5I60.js → repeated-block-lZx6tufR.js} +2 -2
  40. package/lib/edge/style-wrapper-9SPXPEOl.cjs +1 -0
  41. package/lib/edge/{style-wrapper-i8R7NpdY.js → style-wrapper-C9W8emFx.js} +72 -66
  42. package/lib/edge/style.css +1 -1
  43. package/lib/node/{awaiter-Vwjft2v-.cjs → awaiter-Se1nH_ny.cjs} +1 -1
  44. package/lib/node/{awaiter-o3ynOQKr.js → awaiter-if1ZrvLi.js} +1 -1
  45. package/lib/node/{block-wrapper-KX1-Y2Oq.cjs → block-wrapper-B7fQ00-T.cjs} +1 -1
  46. package/lib/{edge/block-wrapper-GT2d4luN.js → node/block-wrapper-Nkj9awCA.js} +3 -3
  47. package/lib/node/{component-ref-o3vjSyAQ.cjs → component-ref-BFKh4Vpb.cjs} +1 -1
  48. package/lib/node/{component-ref-HmJKie9z.js → component-ref-IheEdKTm.js} +5 -5
  49. package/lib/node/constants/sdk-version.d.ts +1 -1
  50. package/lib/node/{get-block-properties-DGfMhs4M.js → get-block-properties-I05vUwHl.js} +2 -2
  51. package/lib/node/{get-block-properties-2yGkQVh7.cjs → get-block-properties-NSTAD_o0.cjs} +1 -1
  52. package/lib/node/helpers/css.d.ts +2 -0
  53. package/lib/node/{index-7xT7wMXt.cjs → index-jBWgo8LI.cjs} +35 -35
  54. package/lib/node/{index-JQgNoVXs.js → index-vP-oPL56.js} +594 -581
  55. package/lib/node/index.cjs +1 -1
  56. package/lib/node/index.mjs +6 -6
  57. package/lib/node/init.cjs +1 -1
  58. package/lib/node/init.mjs +1 -1
  59. package/lib/{edge/live-edit-oLYhcuYs.cjs → node/live-edit-Qt7v1n8V.cjs} +1 -1
  60. package/lib/node/{live-edit-hxNZMHld.js → live-edit-yKSQ0yqr.js} +1 -1
  61. package/lib/node/{repeated-block-PvGSbsHD.js → repeated-block-EN_RXDs9.js} +2 -2
  62. package/lib/node/{repeated-block-LHiXlO3e.cjs → repeated-block-KjQeddn3.cjs} +1 -1
  63. package/lib/node/{should-force-browser-runtime-in-node-aeKfQiEQ.cjs → should-force-browser-runtime-in-node--WFVCCbl.cjs} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-ooRgTwqs.js → should-force-browser-runtime-in-node-cWvDK4Td.js} +1 -1
  65. package/lib/node/{style-wrapper-U-7exIwN.js → style-wrapper-GM8YDWdR.js} +70 -64
  66. package/lib/node/style-wrapper-tpv235Ma.cjs +1 -0
  67. package/lib/node/style.css +1 -1
  68. package/package.json +1 -1
  69. package/lib/browser/style-wrapper-C_c9B5_Y.cjs +0 -1
  70. package/lib/edge/style-wrapper-8JiLG-FF.cjs +0 -1
  71. package/lib/node/style-wrapper-3l8xaVr4.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as X, mergeProps as I, toHandlers as x, withCtx as D, renderSlot as V, resolveComponent as k, createTextVNode as Ct, toDisplayString as ce, defineAsyncComponent as Y, createVNode as $, renderList as U, createCommentVNode as T, h as Qe, createElementVNode as K, normalizeStyle as H, normalizeClass as _, markRaw as Tt } from "vue";
2
- import { T as R, g as wt, f as It, i as E, s as $t, r as Rt, p as Et, a as Pt, l as F, b as Ye, c as we, d as At, n as Xe, S as Bt, e as Ie, h as ie, j as Vt, k as Ze, m as Nt, o as A, q as _e, _ as Oe } from "./should-force-browser-runtime-in-node-ooRgTwqs.js";
3
- const Wt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Dt = (e) => typeof e == "string" && Wt.has(e.toLowerCase());
1
+ import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as X, mergeProps as I, toHandlers as x, withCtx as D, renderSlot as V, resolveComponent as k, createTextVNode as Tt, toDisplayString as de, defineAsyncComponent as Y, createVNode as $, renderList as U, createCommentVNode as T, h as Ye, createElementVNode as K, normalizeStyle as H, normalizeClass as _, markRaw as wt } from "vue";
2
+ import { T as R, g as It, f as $t, i as E, s as Rt, r as Et, p as Pt, a as At, l as F, b as Xe, c as Ie, d as Bt, n as Ze, S as Vt, e as $e, h as se, j as Nt, k as _e, m as Wt, o as A, q as et, _ as xe } from "./should-force-browser-runtime-in-node-cWvDK4Td.js";
3
+ const Dt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ot = (e) => typeof e == "string" && Dt.has(e.toLowerCase());
4
4
  function N(e = {}, t, n) {
5
5
  const o = {};
6
6
  for (const r in e) {
@@ -11,11 +11,11 @@ function N(e = {}, t, n) {
11
11
  }
12
12
  return o;
13
13
  }
14
- const Ot = y({
14
+ const xt = y({
15
15
  name: "dynamic-renderer",
16
16
  props: ["TagName", "attributes", "actionAttributes"],
17
17
  data() {
18
- return { isEmptyElement: Dt };
18
+ return { isEmptyElement: Ot };
19
19
  }
20
20
  }), v = (e, t) => {
21
21
  const n = e.__vccOpts || e;
@@ -23,7 +23,7 @@ const Ot = y({
23
23
  n[o] = r;
24
24
  return n;
25
25
  };
26
- function xt(e, t, n, o, r, i) {
26
+ function Ut(e, t, n, o, r, i) {
27
27
  return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName), I({ key: 1 }, e.attributes, x(e.actionAttributes)), null, 16)) : (d(), h(w, { key: 0 }, [
28
28
  typeof e.TagName == "string" ? (d(), S(X(e.TagName), I({ key: 0 }, e.attributes, x(e.actionAttributes)), {
29
29
  default: D(() => [
@@ -38,9 +38,9 @@ function xt(e, t, n, o, r, i) {
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const $e = /* @__PURE__ */ v(Ot, [["render", xt]]), Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const Re = /* @__PURE__ */ v(xt, [["render", Ut]]), _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
- default: $e
43
+ default: Re
44
44
  }, Symbol.toStringTag, { value: "Module" })), M = () => {
45
45
  switch (R) {
46
46
  case "react":
@@ -54,9 +54,9 @@ const $e = /* @__PURE__ */ v(Ot, [["render", xt]]), Zi = /* @__PURE__ */ Object.
54
54
  case "angular":
55
55
  return "class";
56
56
  }
57
- }, Ut = y({
57
+ }, Ft = y({
58
58
  name: "builder-button",
59
- components: { DynamicRenderer: $e },
59
+ components: { DynamicRenderer: Re },
60
60
  props: [
61
61
  "attributes",
62
62
  "link",
@@ -83,7 +83,7 @@ const $e = /* @__PURE__ */ v(Ot, [["render", xt]]), Zi = /* @__PURE__ */ Object.
83
83
  }
84
84
  }
85
85
  });
86
- function Ft(e, t, n, o, r, i) {
86
+ function Lt(e, t, n, o, r, i) {
87
87
  const s = k("DynamicRenderer");
88
88
  return d(), S(s, {
89
89
  attributes: e.attrs(),
@@ -91,12 +91,12 @@ function Ft(e, t, n, o, r, i) {
91
91
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
92
92
  }, {
93
93
  default: D(() => [
94
- Ct(ce(e.text), 1)
94
+ Tt(de(e.text), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }, 8, ["attributes", "TagName", "actionAttributes"]);
98
98
  }
99
- const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), fe = {
99
+ const Ht = /* @__PURE__ */ v(Ft, [["render", Lt]]), Mt = Symbol(), be = {
100
100
  Builder: {
101
101
  content: null,
102
102
  context: {},
@@ -113,14 +113,14 @@ const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), fe = {
113
113
  nonce: "",
114
114
  model: ""
115
115
  },
116
- key: Ht
117
- }, Mt = Symbol(), et = {
118
- Components: { registeredComponents: {} },
119
116
  key: Mt
120
- }, tt = (e, t, n) => {
117
+ }, zt = Symbol(), tt = {
118
+ Components: { registeredComponents: {} },
119
+ key: zt
120
+ }, nt = (e, t, n) => {
121
121
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, i) => r != null ? r[i] : r, e);
122
122
  return o === void 0 || o === e ? n : o;
123
- }, zt = ({
123
+ }, jt = ({
124
124
  code: e,
125
125
  builder: t,
126
126
  context: n,
@@ -129,22 +129,22 @@ const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), fe = {
129
129
  rootSetState: i,
130
130
  rootState: s
131
131
  }) => {
132
- const l = wt({
132
+ const l = It({
133
133
  builder: t,
134
134
  context: n,
135
135
  event: o,
136
- state: It({
136
+ state: $t({
137
137
  rootState: s,
138
138
  localState: r,
139
139
  rootSetState: i
140
140
  })
141
141
  });
142
142
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
143
- }, jt = (e) => E() || $t({
143
+ }, qt = (e) => E() || Rt({
144
144
  shouldLogWarning: !0
145
- }) ? zt(e) : Rt(e), qt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Kt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Jt = (e) => {
145
+ }) ? jt(e) : Et(e), Kt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Jt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Gt = (e) => {
146
146
  var t, n, o, r, i, s;
147
- return ((o = (n = (t = qt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Kt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
147
+ return ((o = (n = (t = Kt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Jt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
148
148
  };
149
149
  function ee({
150
150
  code: e,
@@ -158,17 +158,17 @@ function ee({
158
158
  }) {
159
159
  if (e.trim() === "")
160
160
  return;
161
- const a = Jt(e.trim());
161
+ const a = Gt(e.trim());
162
162
  if (a)
163
- return tt({
163
+ return nt({
164
164
  ...o,
165
165
  ...n
166
166
  }, a);
167
167
  const u = {
168
- code: Et(e, {
168
+ code: Pt(e, {
169
169
  isExpression: s
170
170
  }),
171
- builder: Pt(l),
171
+ builder: At(l),
172
172
  context: t,
173
173
  event: i,
174
174
  rootSetState: r,
@@ -176,7 +176,7 @@ function ee({
176
176
  localState: n
177
177
  };
178
178
  try {
179
- return jt(u);
179
+ return qt(u);
180
180
  } catch (p) {
181
181
  F.error("Failed code evaluation: " + p.message, {
182
182
  code: e
@@ -184,15 +184,15 @@ function ee({
184
184
  return;
185
185
  }
186
186
  }
187
- function Gt(e, t) {
187
+ function Qt(e, t) {
188
188
  var n;
189
189
  return {
190
190
  ...(n = e.component) == null ? void 0 : n.options,
191
191
  ...e.options,
192
- ...Qt(e, t)
192
+ ...Yt(e, t)
193
193
  };
194
194
  }
195
- const Qt = (e, t) => {
195
+ const Yt = (e, t) => {
196
196
  var n, o;
197
197
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((o = e.component.options) != null && o.text) && typeof e.component.options.text == "string")
198
198
  return {
@@ -206,13 +206,13 @@ const Qt = (e, t) => {
206
206
  }))
207
207
  };
208
208
  };
209
- function Yt(e, ...t) {
209
+ function Xt(e, ...t) {
210
210
  const n = Object.assign({}, e);
211
211
  for (const o of t)
212
212
  delete n[o];
213
213
  return n;
214
214
  }
215
- function se(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
215
+ function ae(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
216
216
  if (e == null || typeof e != "object") {
217
217
  t(e, (i) => {
218
218
  n !== null && o !== null && (n[o] = i);
@@ -222,51 +222,51 @@ function se(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
222
222
  r.has(e) || (r.add(e), Array.isArray(e) ? e.forEach((i, s) => {
223
223
  t(i, (a) => {
224
224
  e[s] = a;
225
- }), se(i, t, e, s, r);
225
+ }), ae(i, t, e, s, r);
226
226
  }) : Object.entries(e).forEach(([i, s]) => {
227
227
  t(s, (a) => {
228
228
  e[i] = a;
229
- }), se(s, t, e, i, r);
229
+ }), ae(s, t, e, i, r);
230
230
  }));
231
231
  }
232
- function nt(e) {
232
+ function ot(e) {
233
233
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
234
234
  }
235
- function Xt(e) {
235
+ function Zt(e) {
236
236
  if (!e || !Object.getOwnPropertyNames(e).length)
237
237
  return !1;
238
238
  let t = !1;
239
- return se(e, (n) => {
240
- if (nt(n)) {
239
+ return ae(e, (n) => {
240
+ if (ot(n)) {
241
241
  t = !0;
242
242
  return;
243
243
  }
244
244
  }), t;
245
245
  }
246
- function Zt(e, t) {
247
- return !e || !Object.getOwnPropertyNames(e).length ? {} : (se(e, (n, o) => {
248
- nt(n) && o(n[t] ?? void 0);
246
+ function _t(e, t) {
247
+ return !e || !Object.getOwnPropertyNames(e).length ? {} : (ae(e, (n, o) => {
248
+ ot(n) && o(n[t] ?? void 0);
249
249
  }), e);
250
250
  }
251
- function _t(e, t) {
251
+ function en(e, t) {
252
252
  var n, o;
253
- return (n = e.component) != null && n.options && Xt((o = e.component) == null ? void 0 : o.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Zt(e.component.options, t ?? "Default")), e;
253
+ return (n = e.component) != null && n.options && Zt((o = e.component) == null ? void 0 : o.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = _t(e.component.options, t ?? "Default")), e;
254
254
  }
255
- function be(e) {
255
+ function ge(e) {
256
256
  if (e === null || typeof e != "object")
257
257
  return e;
258
258
  if (Array.isArray(e))
259
- return e.map((n) => be(n));
259
+ return e.map((n) => ge(n));
260
260
  if (e["@type"] === "@builder.io/sdk:Element")
261
261
  return e;
262
262
  const t = {};
263
263
  for (const n in e)
264
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = be(e[n]));
264
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ge(e[n]));
265
265
  return t;
266
266
  }
267
- const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) => {
268
- if (en) {
269
- const t = we(e);
267
+ const tn = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), nn = (e) => {
268
+ if (tn) {
269
+ const t = Ie(e);
270
270
  return {
271
271
  ...t,
272
272
  properties: {
@@ -277,7 +277,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
277
277
  }
278
278
  };
279
279
  } else {
280
- const t = be(Yt(e, "children", "meta"));
280
+ const t = ge(Xt(e, "children", "meta"));
281
281
  return {
282
282
  ...t,
283
283
  properties: {
@@ -290,7 +290,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
290
290
  meta: e.meta
291
291
  };
292
292
  }
293
- }, nn = ({
293
+ }, on = ({
294
294
  block: e,
295
295
  context: t,
296
296
  localState: n,
@@ -299,7 +299,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
299
299
  }) => {
300
300
  if (!e.bindings)
301
301
  return e;
302
- const i = tn(e);
302
+ const i = nn(e);
303
303
  for (const s in e.bindings) {
304
304
  const l = e.bindings[s], a = ee({
305
305
  code: l,
@@ -308,11 +308,11 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
308
308
  rootSetState: r,
309
309
  context: t
310
310
  });
311
- Ye(i, s, a);
311
+ Xe(i, s, a);
312
312
  }
313
313
  return i;
314
314
  };
315
- function on({
315
+ function rn({
316
316
  block: e,
317
317
  context: t,
318
318
  localState: n,
@@ -320,33 +320,33 @@ function on({
320
320
  rootSetState: r
321
321
  }) {
322
322
  let i = e;
323
- return i = nn({
323
+ return i = on({
324
324
  block: i,
325
325
  localState: n,
326
326
  rootState: o,
327
327
  rootSetState: r,
328
328
  context: t
329
- }), i = _t(i, o.locale), i;
329
+ }), i = en(i, o.locale), i;
330
330
  }
331
- function Re(e) {
331
+ function Ee(e) {
332
332
  const t = e || (E() ? window.location.search : void 0);
333
- return t ? At(t).indexOf("builder.preview=") !== -1 : !1;
333
+ return t ? Bt(t).indexOf("builder.preview=") !== -1 : !1;
334
334
  }
335
- const rn = (e) => ({
335
+ const sn = (e) => ({
336
336
  type: "builder.registerComponent",
337
- data: ae(e)
338
- }), sn = (e) => {
337
+ data: le(e)
338
+ }), an = (e) => {
339
339
  const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
340
340
  return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
341
341
  };
342
- function ae(e) {
343
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? sn(n) : n));
342
+ function le(e) {
343
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? an(n) : n));
344
344
  }
345
- const xe = {};
346
- function _i(e, t) {
347
- e === "plugin" && (t = ae(t));
348
- let n = xe[e];
349
- if (n || (n = xe[e] = []), n.push(t), E()) {
345
+ const Ue = {};
346
+ function es(e, t) {
347
+ e === "plugin" && (t = le(t));
348
+ let n = Ue[e];
349
+ if (n || (n = Ue[e] = []), n.push(t), E()) {
350
350
  const o = {
351
351
  type: "builder.register",
352
352
  data: {
@@ -361,7 +361,7 @@ function _i(e, t) {
361
361
  }
362
362
  }
363
363
  }
364
- function es(e) {
364
+ function ts(e) {
365
365
  var t;
366
366
  if (E()) {
367
367
  const n = JSON.parse(JSON.stringify(e));
@@ -371,50 +371,50 @@ function es(e) {
371
371
  }, "*");
372
372
  }
373
373
  }
374
- const Ue = {};
375
- function ts(e) {
374
+ const Fe = {};
375
+ function ns(e) {
376
376
  if (E()) {
377
- Object.assign(Ue, e);
377
+ Object.assign(Fe, e);
378
378
  const t = {
379
379
  type: "builder.settingsChange",
380
- data: Ue
380
+ data: Fe
381
381
  };
382
382
  parent.postMessage(t, "*");
383
383
  }
384
384
  }
385
- const Fe = "builder.", an = "options.", ot = (e) => {
385
+ const Le = "builder.", ln = "options.", rt = (e) => {
386
386
  if (!e)
387
387
  return {};
388
- const t = Xe(e), n = {};
388
+ const t = Ze(e), n = {};
389
389
  return Object.keys(t).forEach((o) => {
390
- if (o.startsWith(Fe)) {
391
- const r = o.replace(Fe, "").replace(an, "");
390
+ if (o.startsWith(Le)) {
391
+ const r = o.replace(Le, "").replace(ln, "");
392
392
  n[r] = t[o];
393
393
  }
394
394
  }), n;
395
- }, ln = () => {
395
+ }, cn = () => {
396
396
  if (!E())
397
397
  return {};
398
398
  const e = new URLSearchParams(window.location.search);
399
- return ot(e);
400
- }, cn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
401
- function rt(e, t) {
399
+ return rt(e);
400
+ }, dn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
401
+ function it(e, t) {
402
402
  let n;
403
403
  try {
404
404
  n = new URL(t.origin);
405
405
  } catch {
406
406
  return !1;
407
407
  }
408
- return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || cn).findIndex((o) => o.startsWith("*.") ? n.hostname.endsWith(o.slice(1)) : o === n.hostname) > -1;
408
+ return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || dn).findIndex((o) => o.startsWith("*.") ? n.hostname.endsWith(o.slice(1)) : o === n.hostname) > -1;
409
409
  }
410
- let Le = !1;
411
- const it = (e) => {
410
+ let He = !1;
411
+ const st = (e) => {
412
412
  var t, n;
413
- Le || (Le = !0, E() && ((t = window.parent) == null || t.postMessage({
413
+ He || (He = !0, E() && ((t = window.parent) == null || t.postMessage({
414
414
  type: "builder.sdkInfo",
415
415
  data: {
416
416
  target: R,
417
- version: Bt,
417
+ version: Vt,
418
418
  supportsPatchUpdates: !1,
419
419
  // Supports builder-model="..." attribute which is needed to
420
420
  // scope our '+ add block' button styling
@@ -432,7 +432,7 @@ const it = (e) => {
432
432
  }
433
433
  }, "*"), window.addEventListener("message", (o) => {
434
434
  var i, s;
435
- if (!rt(e.trustedHosts, o))
435
+ if (!it(e.trustedHosts, o))
436
436
  return;
437
437
  const {
438
438
  data: r
@@ -473,12 +473,12 @@ const it = (e) => {
473
473
  }
474
474
  }
475
475
  })));
476
- }, st = ({
476
+ }, at = ({
477
477
  model: e,
478
478
  trustedHosts: t,
479
479
  callbacks: n
480
480
  }) => (o) => {
481
- if (!rt(t, o))
481
+ if (!it(t, o))
482
482
  return;
483
483
  const {
484
484
  data: r
@@ -504,7 +504,7 @@ const it = (e) => {
504
504
  break;
505
505
  }
506
506
  }
507
- }, ns = ({
507
+ }, os = ({
508
508
  model: e,
509
509
  apiKey: t,
510
510
  callback: n,
@@ -513,11 +513,11 @@ const it = (e) => {
513
513
  if (!E)
514
514
  return F.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
515
515
  };
516
- it({
516
+ st({
517
517
  modelName: e,
518
518
  apiKey: t
519
519
  });
520
- const r = st({
520
+ const r = at({
521
521
  callbacks: {
522
522
  contentUpdate: n,
523
523
  animation: () => {
@@ -533,24 +533,24 @@ const it = (e) => {
533
533
  return window.addEventListener("message", r), () => {
534
534
  window.removeEventListener("message", r);
535
535
  };
536
- }, dn = "builder.tests", Ee = (e) => `${dn}.${e}`, un = ({
536
+ }, un = "builder.tests", Pe = (e) => `${un}.${e}`, pn = ({
537
537
  contentId: e
538
- }) => Vt({
539
- name: Ee(e),
538
+ }) => Nt({
539
+ name: Pe(e),
540
540
  canTrack: !0
541
- }), pn = ({
541
+ }), mn = ({
542
542
  contentId: e
543
- }) => Ie({
544
- name: Ee(e),
543
+ }) => $e({
544
+ name: Pe(e),
545
545
  canTrack: !0
546
- }), mn = ({
546
+ }), hn = ({
547
547
  contentId: e,
548
548
  value: t
549
- }) => Ze({
550
- name: Ee(e),
549
+ }) => _e({
550
+ name: Pe(e),
551
551
  value: t,
552
552
  canTrack: !0
553
- }), at = (e) => ie(e.id) && ie(e.variations) && Object.keys(e.variations).length > 0, hn = ({
553
+ }), lt = (e) => se(e.id) && se(e.variations) && Object.keys(e.variations).length > 0, fn = ({
554
554
  id: e,
555
555
  variations: t
556
556
  }) => {
@@ -563,15 +563,15 @@ const it = (e) => {
563
563
  return i;
564
564
  }
565
565
  return e;
566
- }, lt = (e) => {
567
- const t = hn(e);
568
- return mn({
566
+ }, ct = (e) => {
567
+ const t = fn(e);
568
+ return hn({
569
569
  contentId: e.id,
570
570
  value: t
571
571
  }).catch((n) => {
572
572
  F.error("could not store A/B test variation: ", n);
573
573
  }), t;
574
- }, ct = ({
574
+ }, dt = ({
575
575
  item: e,
576
576
  testGroupId: t
577
577
  }) => {
@@ -585,7 +585,7 @@ const it = (e) => {
585
585
  testVariationId: n.id,
586
586
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
587
587
  };
588
- }, fn = ({
588
+ }, bn = ({
589
589
  item: e,
590
590
  canTrack: t
591
591
  }) => {
@@ -593,14 +593,14 @@ const it = (e) => {
593
593
  return e;
594
594
  if (!e)
595
595
  return;
596
- if (!at(e))
596
+ if (!lt(e))
597
597
  return e;
598
- const n = pn({
598
+ const n = mn({
599
599
  contentId: e.id
600
- }) || lt({
600
+ }) || ct({
601
601
  variations: e.variations,
602
602
  id: e.id
603
- }), o = ct({
603
+ }), o = dt({
604
604
  item: e,
605
605
  testGroupId: n
606
606
  });
@@ -608,18 +608,18 @@ const it = (e) => {
608
608
  ...e,
609
609
  ...o
610
610
  };
611
- }, bn = async ({
611
+ }, gn = async ({
612
612
  item: e,
613
613
  canTrack: t
614
614
  }) => {
615
- if (!t || !at(e))
615
+ if (!t || !lt(e))
616
616
  return e;
617
- const o = await un({
617
+ const o = await pn({
618
618
  contentId: e.id
619
- }) || lt({
619
+ }) || ct({
620
620
  variations: e.variations,
621
621
  id: e.id
622
- }), r = ct({
622
+ }), r = dt({
623
623
  item: e,
624
624
  testGroupId: o
625
625
  });
@@ -628,8 +628,8 @@ const it = (e) => {
628
628
  ...r
629
629
  };
630
630
  };
631
- const He = "builder.userAttributes";
632
- function Me() {
631
+ const Me = "builder.userAttributes";
632
+ function ze() {
633
633
  let e = !0;
634
634
  const t = /* @__PURE__ */ new Set();
635
635
  return {
@@ -640,15 +640,15 @@ function Me() {
640
640
  ...this.getUserAttributes(),
641
641
  ...n
642
642
  };
643
- Ze({
644
- name: He,
643
+ _e({
644
+ name: Me,
645
645
  value: JSON.stringify(o),
646
646
  canTrack: e
647
647
  }), t.forEach((r) => r(o));
648
648
  },
649
649
  getUserAttributes() {
650
- return E() ? JSON.parse(Ie({
651
- name: He,
650
+ return E() ? JSON.parse($e({
651
+ name: Me,
652
652
  canTrack: e
653
653
  }) || "{}") : {};
654
654
  },
@@ -664,45 +664,45 @@ function Me() {
664
664
  }
665
665
  };
666
666
  }
667
- let ge;
668
- E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Me()), ge = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ge = Me();
669
- const le = ge, os = (e) => {
670
- le.setUserAttributes(e);
667
+ let ye;
668
+ E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = ze()), ye = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ye = ze();
669
+ const ce = ye, rs = (e) => {
670
+ ce.setUserAttributes(e);
671
671
  }, J = (e) => {
672
- const t = ie(e) ? e : !0;
673
- return le.setCanTrack(t), t;
672
+ const t = se(e) ? e : !0;
673
+ return ce.setCanTrack(t), t;
674
674
  };
675
- function gn() {
675
+ function yn() {
676
676
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
677
677
  }
678
- function yn() {
679
- const e = gn().fetch;
678
+ function vn() {
679
+ const e = yn().fetch;
680
680
  if (typeof e > "u")
681
681
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
682
682
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
683
683
  return e;
684
684
  }
685
- const vn = yn();
686
- function ye(e, t = null, n = ".") {
685
+ const Sn = vn();
686
+ function ve(e, t = null, n = ".") {
687
687
  return Object.keys(e).reduce((o, r) => {
688
688
  const i = e[r], s = [t, r].filter(Boolean).join(n);
689
689
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
690
690
  ...o,
691
- ...ye(i, s, n)
691
+ ...ve(i, s, n)
692
692
  } : {
693
693
  ...o,
694
694
  [s]: i
695
695
  };
696
696
  }, {});
697
697
  }
698
- function dt(e, t, n = {}) {
698
+ function ut(e, t, n = {}) {
699
699
  for (const o in e) {
700
700
  const r = e[o], i = t ? t + "." + o : o;
701
- r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? dt(r, i, n) : n[i] = r;
701
+ r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? ut(r, i, n) : n[i] = r;
702
702
  }
703
703
  return n;
704
704
  }
705
- function Sn(e) {
705
+ function kn(e) {
706
706
  const t = {};
707
707
  for (const n in e) {
708
708
  const o = n.split(".");
@@ -714,7 +714,7 @@ function Sn(e) {
714
714
  }
715
715
  return t;
716
716
  }
717
- const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Pe = (e) => {
717
+ const Cn = "v3", je = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ae = (e) => {
718
718
  const {
719
719
  limit: t = 30,
720
720
  userAttributes: n,
@@ -724,7 +724,7 @@ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Pe = (
724
724
  enrich: s,
725
725
  enrichOptions: l,
726
726
  locale: a,
727
- apiVersion: u = kn,
727
+ apiVersion: u = Cn,
728
728
  fields: p,
729
729
  omit: b,
730
730
  offset: c,
@@ -741,78 +741,78 @@ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Pe = (
741
741
  const B = t !== 1, q = O || "https://cdn.builder.io", C = new URL(`${q}/api/${u}/content/${r}`);
742
742
  C.searchParams.set("apiKey", i), C.searchParams.set("limit", String(t)), C.searchParams.set("noTraverse", String(B)), C.searchParams.set("includeRefs", String(!0)), a && C.searchParams.set("locale", a);
743
743
  let z = n || {};
744
- if (s && C.searchParams.set("enrich", String(s)), s && l && C.searchParams.set("enrichOptions", JSON.stringify(l)), C.searchParams.set("omit", b ?? "meta.componentsUsed"), p && C.searchParams.set("fields", p), Number.isFinite(c) && c > -1 && C.searchParams.set("offset", String(Math.floor(c))), typeof P == "boolean" && C.searchParams.set("includeUnpublished", String(P)), m && ze(m) && C.searchParams.set("cacheSeconds", String(m)), f && ze(f) && C.searchParams.set("staleCacheSeconds", String(f)), g) {
745
- const W = ye({
744
+ if (s && C.searchParams.set("enrich", String(s)), s && l && C.searchParams.set("enrichOptions", JSON.stringify(l)), C.searchParams.set("omit", b ?? "meta.componentsUsed"), p && C.searchParams.set("fields", p), Number.isFinite(c) && c > -1 && C.searchParams.set("offset", String(Math.floor(c))), typeof P == "boolean" && C.searchParams.set("includeUnpublished", String(P)), m && je(m) && C.searchParams.set("cacheSeconds", String(m)), f && je(f) && C.searchParams.set("staleCacheSeconds", String(f)), g) {
745
+ const W = ve({
746
746
  sort: g
747
747
  });
748
748
  for (const L in W)
749
749
  C.searchParams.set(L, JSON.stringify(W[L]));
750
750
  }
751
751
  const G = {
752
- ...ln(),
753
- ...Xe(e.options || {})
752
+ ...cn(),
753
+ ...Ze(e.options || {})
754
754
  };
755
755
  z = {
756
756
  ...z,
757
- ...wn(G)
757
+ ...In(G)
758
758
  };
759
- const Q = ye(G);
759
+ const Q = ve(G);
760
760
  for (const W in Q)
761
761
  C.searchParams.set(W, String(Q[W]));
762
762
  if (Object.keys(z).length > 0 && C.searchParams.set("userAttributes", JSON.stringify(z)), o) {
763
- const W = dt({
763
+ const W = ut({
764
764
  query: o
765
765
  });
766
766
  for (const L in W)
767
767
  C.searchParams.set(L, JSON.stringify(W[L]));
768
768
  }
769
769
  return C;
770
- }, Cn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, Tn = (e) => {
770
+ }, Tn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, wn = (e) => {
771
771
  const t = {};
772
772
  for (const n in e)
773
- n.startsWith("userAttributes.") && (t[n] = Cn(e[n]), delete e[n]);
773
+ n.startsWith("userAttributes.") && (t[n] = Tn(e[n]), delete e[n]);
774
774
  return t;
775
- }, wn = (e) => {
775
+ }, In = (e) => {
776
776
  if (E() && e.preview === "BUILDER_STUDIO") {
777
777
  e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
778
- const t = Tn(e), {
778
+ const t = wn(e), {
779
779
  userAttributes: n
780
- } = Sn(t);
780
+ } = kn(t);
781
781
  return n;
782
782
  }
783
783
  return {};
784
- }, In = (e) => "results" in e;
785
- async function Ae(e) {
784
+ }, $n = (e) => "results" in e;
785
+ async function Be(e) {
786
786
  var o;
787
787
  const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
788
788
  t && (e.locale = t, e.userAttributes = {
789
789
  locale: t,
790
790
  ...e.userAttributes
791
791
  });
792
- const n = await En({
792
+ const n = await Pn({
793
793
  ...e,
794
794
  limit: 1
795
795
  });
796
796
  return n && n[0] || null;
797
797
  }
798
- const $n = async (e) => {
798
+ const Rn = async (e) => {
799
799
  var s;
800
- const t = Pe(e), n = e.fetch ?? vn, o = {
800
+ const t = Ae(e), n = e.fetch ?? Sn, o = {
801
801
  ...e.fetchOptions,
802
802
  headers: {
803
803
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
804
- ...Nt()
804
+ ...Wt()
805
805
  }
806
806
  };
807
807
  return await (await n(t.href, o)).json();
808
- }, Rn = async (e, t, n = Pe(e)) => {
808
+ }, En = async (e, t, n = Ae(e)) => {
809
809
  const o = J(e.canTrack);
810
810
  if (n.search.includes("preview="), !o || !(E() || R === "reactNative"))
811
811
  return t.results;
812
812
  try {
813
813
  const r = [];
814
814
  for (const i of t.results)
815
- r.push(await bn({
815
+ r.push(await gn({
816
816
  item: i,
817
817
  canTrack: o
818
818
  }));
@@ -822,17 +822,17 @@ const $n = async (e) => {
822
822
  }
823
823
  return t.results;
824
824
  };
825
- async function En(e) {
826
- const t = Pe(e), n = await $n(e);
827
- if (!In(n))
825
+ async function Pn(e) {
826
+ const t = Ae(e), n = await Rn(e);
827
+ if (!$n(n))
828
828
  throw F.error("Error fetching data. ", {
829
829
  url: t,
830
830
  content: n,
831
831
  options: e
832
832
  }), n;
833
- return Rn(e, n);
833
+ return En(e, n);
834
834
  }
835
- const rs = async (e) => {
835
+ const is = async (e) => {
836
836
  var o, r, i;
837
837
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
838
838
  ...e,
@@ -844,15 +844,15 @@ const rs = async (e) => {
844
844
  urlPath: t
845
845
  } : {}
846
846
  },
847
- options: ot(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
847
+ options: rt(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
848
848
  };
849
849
  return {
850
850
  apiKey: n.apiKey,
851
851
  model: n.model,
852
- content: await Ae(n)
852
+ content: await Be(n)
853
853
  };
854
- }, Be = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
855
- function Pn(e, t, n = {}) {
854
+ }, Ve = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
855
+ function An(e, t, n = {}) {
856
856
  let o, r, i, s = null, l = 0;
857
857
  const a = function() {
858
858
  l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
@@ -874,55 +874,55 @@ function Z(e, ...t) {
874
874
  }
875
875
  return n;
876
876
  }
877
- function An(e) {
877
+ function Bn(e) {
878
878
  for (const t of e)
879
879
  switch (t.trigger) {
880
880
  case "pageLoad":
881
- mt(t);
881
+ ht(t);
882
882
  break;
883
883
  case "scrollInView":
884
- Vn(t);
884
+ Nn(t);
885
885
  break;
886
886
  }
887
887
  }
888
- function ut(e) {
888
+ function pt(e) {
889
889
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
890
890
  }
891
- function pt(e, t) {
892
- const n = Bn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
891
+ function mt(e, t) {
892
+ const n = Vn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
893
893
  for (const l of s)
894
894
  for (const a of n)
895
895
  a in l || (l[a] = o[a]);
896
896
  }
897
- function Bn(e) {
897
+ function Vn(e) {
898
898
  const t = [];
899
899
  for (const n of e.steps)
900
900
  for (const o in n.styles)
901
901
  t.indexOf(o) === -1 && t.push(o);
902
902
  return t;
903
903
  }
904
- function mt(e) {
904
+ function ht(e) {
905
905
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
906
906
  if (!t.length) {
907
- ut(e.elementId || e.id || "");
907
+ pt(e.elementId || e.id || "");
908
908
  return;
909
909
  }
910
910
  Array.from(t).forEach((n) => {
911
- pt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Z(n.style, e.steps[0].styles), setTimeout(() => {
912
- n.style.transition = `all ${e.duration}s ${Be(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Z(n.style, e.steps[1].styles), setTimeout(() => {
911
+ mt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Z(n.style, e.steps[0].styles), setTimeout(() => {
912
+ n.style.transition = `all ${e.duration}s ${Ve(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Z(n.style, e.steps[1].styles), setTimeout(() => {
913
913
  n.style.transition = "", n.style.transitionDelay = "";
914
914
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
915
915
  });
916
916
  });
917
917
  }
918
- function Vn(e) {
918
+ function Nn(e) {
919
919
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
920
920
  if (!t.length) {
921
- ut(e.elementId || e.id || "");
921
+ pt(e.elementId || e.id || "");
922
922
  return;
923
923
  }
924
924
  Array.from(t).forEach((n) => {
925
- pt(e, n);
925
+ mt(e, n);
926
926
  let o = !1, r = !1;
927
927
  function i() {
928
928
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
@@ -931,7 +931,7 @@ function Vn(e) {
931
931
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
932
932
  })) : e.repeat && o && !r && !l(n) && (o = !1, Z(n.style, e.steps[0].styles));
933
933
  }
934
- const s = Pn(i, 200, {
934
+ const s = An(i, 200, {
935
935
  leading: !1
936
936
  });
937
937
  function l(p) {
@@ -943,49 +943,61 @@ function Vn(e) {
943
943
  Z(n.style, a);
944
944
  }
945
945
  u(), setTimeout(() => {
946
- n.style.transition = `all ${e.duration}s ${Be(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
946
+ n.style.transition = `all ${e.duration}s ${Ve(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
947
947
  }), document.addEventListener("scroll", s, {
948
948
  capture: !0,
949
949
  passive: !0
950
950
  }), i();
951
951
  });
952
952
  }
953
- const ht = (e) => Object.entries(e).map(([n, o]) => {
953
+ const ne = (e, t) => {
954
+ const n = (e == null ? void 0 : e.objectPosition) || t;
955
+ return n ? {
956
+ ...e,
957
+ "--builder-image-position": n
958
+ } : e;
959
+ }, ss = (e, t) => t ? {
960
+ ...e,
961
+ large: ne(e == null ? void 0 : e.large, "initial"),
962
+ medium: ne(e == null ? void 0 : e.medium),
963
+ small: ne(e == null ? void 0 : e.small),
964
+ xsmall: ne(e == null ? void 0 : e.xsmall)
965
+ } : e, ft = (e) => Object.entries(e).map(([n, o]) => {
954
966
  if (typeof o == "string")
955
- return `${Be(n)}: ${o};`;
956
- }).filter(ie), Nn = (e) => ht(e).join(`
957
- `), is = ({
967
+ return `${Ve(n)}: ${o};`;
968
+ }).filter(se), Wn = (e) => ft(e).join(`
969
+ `), as = ({
958
970
  mediaQuery: e,
959
971
  className: t,
960
972
  styles: n
961
973
  }) => {
962
974
  const o = `.${t} {
963
- ${Nn(n)}
975
+ ${Wn(n)}
964
976
  }`;
965
977
  return e ? `${e} {
966
978
  ${o}
967
979
  }` : o;
968
980
  };
969
- function Wn({
981
+ function Dn({
970
982
  style: e
971
983
  }) {
972
984
  return e;
973
985
  }
974
- const ss = ({
986
+ const ls = ({
975
987
  block: e,
976
988
  context: t
977
- }) => ft(Wn({
989
+ }) => bt(Dn({
978
990
  style: e.style || {},
979
991
  context: t,
980
992
  block: e
981
993
  }));
982
- function ft(e) {
994
+ function bt(e) {
983
995
  switch (R) {
984
996
  case "svelte":
985
997
  case "vue":
986
998
  case "solid":
987
999
  case "angular":
988
- return ht(e).join(" ");
1000
+ return ft(e).join(" ");
989
1001
  case "qwik":
990
1002
  case "reactNative":
991
1003
  case "react":
@@ -993,7 +1005,7 @@ function ft(e) {
993
1005
  return e;
994
1006
  }
995
1007
  }
996
- const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Dn = ({
1008
+ const gt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, On = ({
997
1009
  block: e,
998
1010
  registeredComponents: t,
999
1011
  model: n
@@ -1003,14 +1015,14 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1003
1015
  if (!o)
1004
1016
  return null;
1005
1017
  const r = t[o];
1006
- if (!r || bt(r, n)) {
1018
+ if (!r || gt(r, n)) {
1007
1019
  console.warn(`
1008
1020
  Could not find a registered component named "${o}".
1009
1021
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
1010
1022
  return;
1011
1023
  } else
1012
1024
  return r;
1013
- }, On = ({
1025
+ }, xn = ({
1014
1026
  block: e,
1015
1027
  context: t
1016
1028
  }) => {
@@ -1043,59 +1055,59 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1043
1055
  },
1044
1056
  block: o
1045
1057
  }));
1046
- }, xn = (e, t) => {
1058
+ }, Un = (e, t) => {
1047
1059
  var n;
1048
1060
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
1049
1061
  builderLinkComponent: t
1050
1062
  } : {};
1051
- }, Un = (e, t, n) => {
1063
+ }, Fn = (e, t, n) => {
1052
1064
  var o;
1053
1065
  return (o = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && o.builderComponents ? {
1054
- builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !bt(s, n)))
1066
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !gt(s, n)))
1055
1067
  } : {};
1056
- }, Fn = (e, t) => {
1068
+ }, Ln = (e, t) => {
1057
1069
  var n;
1058
1070
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1059
1071
  builderBlock: t
1060
1072
  } : {};
1061
- }, Ln = (e, t) => {
1073
+ }, Hn = (e, t) => {
1062
1074
  var n;
1063
1075
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1064
1076
  builderContext: t
1065
1077
  } : {};
1066
- }, Hn = (e) => e.toString(), Mn = () => Promise.resolve().then(() => no).then((e) => e.default).catch((e) => {
1078
+ }, Mn = (e) => e.toString(), zn = () => Promise.resolve().then(() => oo).then((e) => e.default).catch((e) => {
1067
1079
  throw console.error(
1068
1080
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1069
1081
  e
1070
1082
  ), e;
1071
- }), zn = () => import("./block-wrapper-PUFgSKq_.js").then((e) => e.default).catch((e) => {
1083
+ }), jn = () => import("./block-wrapper-Nkj9awCA.js").then((e) => e.default).catch((e) => {
1072
1084
  throw console.error(
1073
1085
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1074
1086
  e
1075
1087
  ), e;
1076
- }), jn = () => import("./component-ref-HmJKie9z.js").then((e) => e.default).catch((e) => {
1088
+ }), qn = () => import("./component-ref-IheEdKTm.js").then((e) => e.default).catch((e) => {
1077
1089
  throw console.error(
1078
1090
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1079
1091
  e
1080
1092
  ), e;
1081
- }), qn = () => import("./repeated-block-PvGSbsHD.js").then((e) => e.default).catch((e) => {
1093
+ }), Kn = () => import("./repeated-block-EN_RXDs9.js").then((e) => e.default).catch((e) => {
1082
1094
  throw console.error(
1083
1095
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1084
1096
  e
1085
1097
  ), e;
1086
- }), Kn = () => import("./style-wrapper-U-7exIwN.js").then((e) => e.default).catch((e) => {
1098
+ }), Jn = () => import("./style-wrapper-GM8YDWdR.js").then((e) => e.default).catch((e) => {
1087
1099
  throw console.error(
1088
1100
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
1089
1101
  e
1090
1102
  ), e;
1091
- }), Jn = y({
1103
+ }), Gn = y({
1092
1104
  name: "block",
1093
1105
  components: {
1094
- StyleWrapper: Y(Kn),
1095
- RepeatedBlock: Y(qn),
1096
- ComponentRef: Y(jn),
1097
- BlockWrapper: Y(zn),
1098
- DynamicDiv: Y(Mn)
1106
+ StyleWrapper: Y(Jn),
1107
+ RepeatedBlock: Y(Kn),
1108
+ ComponentRef: Y(qn),
1109
+ BlockWrapper: Y(jn),
1110
+ DynamicDiv: Y(zn)
1099
1111
  },
1100
1112
  props: ["block", "context", "registeredComponents", "linkComponent"],
1101
1113
  data() {
@@ -1104,12 +1116,12 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1104
1116
  value: null,
1105
1117
  update: !1
1106
1118
  },
1107
- generateKey: Hn
1119
+ generateKey: Mn
1108
1120
  };
1109
1121
  },
1110
1122
  mounted() {
1111
1123
  const e = this.processedBlock.id, t = this.processedBlock.animations;
1112
- t && e && An(
1124
+ t && e && Bn(
1113
1125
  t.map((n) => ({
1114
1126
  ...n,
1115
1127
  elementId: e
@@ -1120,14 +1132,14 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1120
1132
  },
1121
1133
  computed: {
1122
1134
  repeatItem() {
1123
- return On({
1135
+ return xn({
1124
1136
  block: this.block,
1125
1137
  context: this.context
1126
1138
  });
1127
1139
  },
1128
1140
  processedBlock() {
1129
1141
  var t;
1130
- return (t = this.block.repeat) != null && t.collection ? this.block : on({
1142
+ return (t = this.block.repeat) != null && t.collection ? this.block : rn({
1131
1143
  block: this.block,
1132
1144
  localState: this.context.localState,
1133
1145
  rootState: this.context.rootState,
@@ -1136,7 +1148,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1136
1148
  });
1137
1149
  },
1138
1150
  blockComponent() {
1139
- return Dn({
1151
+ return On({
1140
1152
  block: this.processedBlock,
1141
1153
  registeredComponents: this.registeredComponents,
1142
1154
  model: this.context.model
@@ -1163,11 +1175,11 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1163
1175
  blockChildren: this.processedBlock.children ?? [],
1164
1176
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1165
1177
  componentOptions: {
1166
- ...Gt(this.processedBlock, this.context),
1167
- ...Fn(this.blockComponent, this.processedBlock),
1168
- ...Ln(this.blockComponent, this.context),
1169
- ...xn(this.blockComponent, this.linkComponent),
1170
- ...Un(
1178
+ ...Qt(this.processedBlock, this.context),
1179
+ ...Ln(this.blockComponent, this.processedBlock),
1180
+ ...Hn(this.blockComponent, this.context),
1181
+ ...Un(this.blockComponent, this.linkComponent),
1182
+ ...Fn(
1171
1183
  this.blockComponent,
1172
1184
  this.registeredComponents,
1173
1185
  this.context.model
@@ -1183,7 +1195,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1183
1195
  }
1184
1196
  }
1185
1197
  });
1186
- function Gn(e, t, n, o, r, i) {
1198
+ function Qn(e, t, n, o, r, i) {
1187
1199
  var b;
1188
1200
  const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
1189
1201
  return e.canShowBlock ? (d(), h(w, { key: 0 }, [
@@ -1249,10 +1261,10 @@ function Gn(e, t, n, o, r, i) {
1249
1261
  ], 64))
1250
1262
  ], 64)) : T("", !0);
1251
1263
  }
1252
- const gt = /* @__PURE__ */ v(Jn, [["render", Gn]]), as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1264
+ const yt = /* @__PURE__ */ v(Gn, [["render", Qn]]), cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1253
1265
  __proto__: null,
1254
- default: gt
1255
- }, Symbol.toStringTag, { value: "Module" })), Qn = y({
1266
+ default: yt
1267
+ }, Symbol.toStringTag, { value: "Module" })), Yn = y({
1256
1268
  name: "builder-blocks-wrapper",
1257
1269
  props: [
1258
1270
  "blocks",
@@ -1322,7 +1334,7 @@ const gt = /* @__PURE__ */ v(Jn, [["render", Gn]]), as = /* @__PURE__ */ Object.
1322
1334
  }
1323
1335
  }
1324
1336
  });
1325
- function Yn(e, t, n, o, r, i) {
1337
+ function Xn(e, t, n, o, r, i) {
1326
1338
  return d(), S(X(e.BlocksWrapper), I({
1327
1339
  ref: "blocksWrapperRef",
1328
1340
  class: e.className + " component-5vz8uirn7sc",
@@ -1339,9 +1351,9 @@ function Yn(e, t, n, o, r, i) {
1339
1351
  _: 3
1340
1352
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1341
1353
  }
1342
- const Xn = /* @__PURE__ */ v(Qn, [["render", Yn], ["__scopeId", "data-v-82fc93d6"]]), Zn = y({
1354
+ const Zn = /* @__PURE__ */ v(Yn, [["render", Xn], ["__scopeId", "data-v-82fc93d6"]]), _n = y({
1343
1355
  name: "builder-blocks",
1344
- components: { BlocksWrapper: Xn, Block: gt },
1356
+ components: { BlocksWrapper: Zn, Block: yt },
1345
1357
  props: [
1346
1358
  "blocks",
1347
1359
  "parent",
@@ -1354,11 +1366,11 @@ const Xn = /* @__PURE__ */ v(Qn, [["render", Yn], ["__scopeId", "data-v-82fc93d6
1354
1366
  "registeredComponents"
1355
1367
  ],
1356
1368
  inject: {
1357
- builderContext: fe.key,
1358
- componentsContext: et.key
1369
+ builderContext: be.key,
1370
+ componentsContext: tt.key
1359
1371
  }
1360
1372
  });
1361
- function _n(e, t, n, o, r, i) {
1373
+ function eo(e, t, n, o, r, i) {
1362
1374
  var a, u, p, b;
1363
1375
  const s = k("Block"), l = k("BlocksWrapper");
1364
1376
  return d(), S(l, {
@@ -1386,21 +1398,21 @@ function _n(e, t, n, o, r, i) {
1386
1398
  _: 3
1387
1399
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
1388
1400
  }
1389
- const j = /* @__PURE__ */ v(Zn, [["render", _n]]), eo = y({
1401
+ const j = /* @__PURE__ */ v(_n, [["render", eo]]), to = y({
1390
1402
  name: "dynamic-div",
1391
1403
  props: []
1392
1404
  });
1393
- function to(e, t, n, o, r, i) {
1405
+ function no(e, t, n, o, r, i) {
1394
1406
  return d(), h("div", null, [
1395
1407
  V(e.$slots, "default")
1396
1408
  ]);
1397
1409
  }
1398
- const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1410
+ const te = /* @__PURE__ */ v(to, [["render", no]]), oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1399
1411
  __proto__: null,
1400
1412
  default: te
1401
- }, Symbol.toStringTag, { value: "Module" })), de = y({
1413
+ }, Symbol.toStringTag, { value: "Module" })), ue = y({
1402
1414
  render() {
1403
- return Qe("style", {
1415
+ return Ye("style", {
1404
1416
  innerHTML: this.styles,
1405
1417
  "data-id": this.id,
1406
1418
  nonce: this.nonce
@@ -1408,7 +1420,7 @@ const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1408
1420
  },
1409
1421
  name: "inlined-styles",
1410
1422
  props: ["styles", "id", "nonce"]
1411
- }), yt = {
1423
+ }), vt = {
1412
1424
  xsmall: {
1413
1425
  min: 0,
1414
1426
  default: 160,
@@ -1429,8 +1441,8 @@ const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1429
1441
  default: 991,
1430
1442
  max: 1200
1431
1443
  }
1432
- }, ls = (e, t = yt) => `@media (max-width: ${t[e].max}px)`, oo = (e) => {
1433
- const t = we(yt);
1444
+ }, ds = (e, t = vt) => `@media (max-width: ${t[e].max}px)`, ro = (e) => {
1445
+ const t = Ie(vt);
1434
1446
  if (!e)
1435
1447
  return t;
1436
1448
  const {
@@ -1467,11 +1479,11 @@ const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1467
1479
  min: l,
1468
1480
  default: l + 1
1469
1481
  }, t;
1470
- }, ro = (e) => `builder-columns ${e}-breakpoints`, io = y({
1482
+ }, io = (e) => `builder-columns ${e}-breakpoints`, so = y({
1471
1483
  name: "builder-columns",
1472
1484
  components: {
1473
- InlinedStyles: de,
1474
- DynamicRenderer: $e,
1485
+ InlinedStyles: ue,
1486
+ DynamicRenderer: Re,
1475
1487
  Blocks: j,
1476
1488
  DynamicDiv: te
1477
1489
  },
@@ -1486,7 +1498,7 @@ const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1486
1498
  "builderComponents"
1487
1499
  ],
1488
1500
  data() {
1489
- return { TARGET: R, getColumnsClass: ro };
1501
+ return { TARGET: R, getColumnsClass: io };
1490
1502
  },
1491
1503
  computed: {
1492
1504
  gutterSize() {
@@ -1565,7 +1577,7 @@ const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1565
1577
  },
1566
1578
  getWidthForBreakpointSize(e) {
1567
1579
  var n, o;
1568
- return oo(
1580
+ return ro(
1569
1581
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1570
1582
  )[e].max;
1571
1583
  },
@@ -1603,12 +1615,12 @@ const te = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1603
1615
  href: e.link
1604
1616
  } : {},
1605
1617
  [M()]: "builder-column",
1606
- style: ft(this.columnCssVars(t))
1618
+ style: bt(this.columnCssVars(t))
1607
1619
  };
1608
1620
  }
1609
1621
  }
1610
1622
  });
1611
- function so(e, t, n, o, r, i) {
1623
+ function ao(e, t, n, o, r, i) {
1612
1624
  var u;
1613
1625
  const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
1614
1626
  return d(), h("div", I({
@@ -1644,47 +1656,47 @@ function so(e, t, n, o, r, i) {
1644
1656
  }, 1032, ["TagName", "attributes"]))), 128))
1645
1657
  ], 16);
1646
1658
  }
1647
- const ao = /* @__PURE__ */ v(io, [["render", so], ["__scopeId", "data-v-ab15749a"]]), lo = y({
1659
+ const lo = /* @__PURE__ */ v(so, [["render", ao], ["__scopeId", "data-v-ab15749a"]]), co = y({
1648
1660
  name: "builder-fragment-component",
1649
1661
  props: []
1650
1662
  });
1651
- function co(e, t, n, o, r, i) {
1663
+ function uo(e, t, n, o, r, i) {
1652
1664
  return d(), h("span", null, [
1653
1665
  V(e.$slots, "default")
1654
1666
  ]);
1655
1667
  }
1656
- const uo = /* @__PURE__ */ v(lo, [["render", co]]);
1657
- function je(e) {
1668
+ const po = /* @__PURE__ */ v(co, [["render", uo]]);
1669
+ function qe(e) {
1658
1670
  return e.replace(/http(s)?:/, "");
1659
1671
  }
1660
- function po(e = "", t, n) {
1672
+ function mo(e = "", t, n) {
1661
1673
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1662
1674
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1663
1675
  }
1664
- function mo(e, t) {
1676
+ function ho(e, t) {
1665
1677
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1666
1678
  return e;
1667
1679
  if (t === "master")
1668
- return je(e);
1680
+ return qe(e);
1669
1681
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1670
1682
  if (n) {
1671
1683
  const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
1672
- return je(`${o[0]}_${i}${r}`);
1684
+ return qe(`${o[0]}_${i}${r}`);
1673
1685
  }
1674
1686
  return null;
1675
1687
  }
1676
- function ne(e) {
1688
+ function oe(e) {
1677
1689
  if (!e)
1678
1690
  return e;
1679
1691
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1680
1692
  if (e.match(/builder\.io/)) {
1681
1693
  let n = e;
1682
1694
  const o = Number(e.split("?width=")[1]);
1683
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${po(e, "width", r)} ${r}w`).concat([n]).join(", ");
1695
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${mo(e, "width", r)} ${r}w`).concat([n]).join(", ");
1684
1696
  }
1685
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [mo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1697
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ho(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1686
1698
  }
1687
- const ho = y({
1699
+ const fo = y({
1688
1700
  name: "builder-image",
1689
1701
  props: [
1690
1702
  "lazy",
@@ -1714,10 +1726,10 @@ const ho = y({
1714
1726
  if (!this.noWebp) {
1715
1727
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
1716
1728
  if (!this.srcset.includes(this.image.split("?")[0]))
1717
- return console.debug("Removed given srcset"), ne(t);
1729
+ return console.debug("Removed given srcset"), oe(t);
1718
1730
  } else if (this.image && !this.srcset)
1719
- return ne(t);
1720
- return ne(t);
1731
+ return oe(t);
1732
+ return oe(t);
1721
1733
  }
1722
1734
  },
1723
1735
  webpSrcSet() {
@@ -1738,11 +1750,11 @@ const ho = y({
1738
1750
  return this.aspectRatio ? e : void 0;
1739
1751
  }
1740
1752
  }
1741
- }), fo = ["srcset", "sizes"], bo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], go = {
1753
+ }), bo = ["srcset", "sizes"], go = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], yo = {
1742
1754
  key: 2,
1743
1755
  class: "div-t43jfuqn6g-2"
1744
1756
  };
1745
- function yo(e, t, n, o, r, i) {
1757
+ function vo(e, t, n, o, r, i) {
1746
1758
  var s, l, a, u, p, b;
1747
1759
  return d(), h(w, null, [
1748
1760
  K("picture", null, [
@@ -1751,7 +1763,7 @@ function yo(e, t, n, o, r, i) {
1751
1763
  type: "image/webp",
1752
1764
  srcset: e.webpSrcSet,
1753
1765
  sizes: e.sizesToUse
1754
- }, null, 8, fo)) : T("", !0),
1766
+ }, null, 8, bo)) : T("", !0),
1755
1767
  K("img", {
1756
1768
  loading: e.highPriority ? "eager" : "lazy",
1757
1769
  fetchpriority: e.highPriority ? "high" : "auto",
@@ -1759,7 +1771,7 @@ function yo(e, t, n, o, r, i) {
1759
1771
  title: e.title,
1760
1772
  role: e.altText ? void 0 : "presentation",
1761
1773
  style: H({
1762
- objectPosition: e.backgroundPosition || "center",
1774
+ objectPosition: `var(--builder-image-position, ${e.backgroundPosition || "center"})`,
1763
1775
  objectFit: e.backgroundSize || "cover",
1764
1776
  ...e.aspectRatioCss
1765
1777
  }),
@@ -1769,7 +1781,7 @@ function yo(e, t, n, o, r, i) {
1769
1781
  src: e.image,
1770
1782
  srcset: e.srcSetToUse,
1771
1783
  sizes: e.sizesToUse
1772
- }, null, 14, bo)
1784
+ }, null, 14, go)
1773
1785
  ]),
1774
1786
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
1775
1787
  key: 0,
@@ -1779,19 +1791,19 @@ function yo(e, t, n, o, r, i) {
1779
1791
  })
1780
1792
  }, null, 4)) : T("", !0),
1781
1793
  (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? V(e.$slots, "default", { key: 1 }, void 0, !0) : T("", !0),
1782
- !e.fitContent && ((b = (p = e.builderBlock) == null ? void 0 : p.children) != null && b.length) ? (d(), h("div", go, [
1794
+ !e.fitContent && ((b = (p = e.builderBlock) == null ? void 0 : p.children) != null && b.length) ? (d(), h("div", yo, [
1783
1795
  V(e.$slots, "default", {}, void 0, !0)
1784
1796
  ])) : T("", !0)
1785
1797
  ], 64);
1786
1798
  }
1787
- const vo = /* @__PURE__ */ v(ho, [["render", yo], ["__scopeId", "data-v-bb2384ad"]]), So = y({
1799
+ const So = /* @__PURE__ */ v(fo, [["render", vo], ["__scopeId", "data-v-f109a7da"]]), ko = y({
1788
1800
  name: "builder-section-component",
1789
1801
  props: ["attributes", "maxWidth"],
1790
1802
  data() {
1791
1803
  return { filterAttrs: N };
1792
1804
  }
1793
1805
  });
1794
- function ko(e, t, n, o, r, i) {
1806
+ function Co(e, t, n, o, r, i) {
1795
1807
  return d(), h("section", I({
1796
1808
  style: {
1797
1809
  width: "100%",
@@ -1809,8 +1821,8 @@ function ko(e, t, n, o, r, i) {
1809
1821
  V(e.$slots, "default")
1810
1822
  ], 16);
1811
1823
  }
1812
- const Co = /* @__PURE__ */ v(So, [["render", ko]]);
1813
- function To(e, t, n, o) {
1824
+ const To = /* @__PURE__ */ v(ko, [["render", Co]]);
1825
+ function wo(e, t, n, o) {
1814
1826
  function r(u) {
1815
1827
  return typeof u == "string";
1816
1828
  }
@@ -1867,7 +1879,7 @@ function To(e, t, n, o) {
1867
1879
  }, a = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
1868
1880
  return l.startDate && new Date(l.startDate) > a || l.endDate && new Date(l.endDate) < a ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => s(e, u));
1869
1881
  }
1870
- const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1882
+ const Io = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1871
1883
  if (!navigator.cookieEnabled) {
1872
1884
  return;
1873
1885
  }
@@ -1912,7 +1924,7 @@ const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1912
1924
  thisScript.remove();
1913
1925
  }
1914
1926
  }
1915
- }`, Io = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1927
+ }`, $o = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1916
1928
  function isString(val) {
1917
1929
  return typeof val === 'string';
1918
1930
  }
@@ -1990,7 +2002,7 @@ const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1990
2002
  return item.query.every(filter => {
1991
2003
  return objectMatchesQuery(userAttributes, filter);
1992
2004
  });
1993
- }`, $o = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
2005
+ }`, Ro = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1994
2006
  function getCookie(name) {
1995
2007
  const nameEQ = name + '=';
1996
2008
  const ca = document.cookie.split(';');
@@ -2028,11 +2040,11 @@ const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2028
2040
  visibilityStylesEl.innerHTML = newStyleStr;
2029
2041
  }
2030
2042
  }
2031
- }`, oe = "default", qe = "filterWithCustomTargeting", ve = "builderIoPersonalization", Se = "updateVisibilityStylesScript", Ro = "PersonalizationContainer", vt = ["react", "vue", "svelte", "qwik"], St = ["vue", "svelte", "qwik"];
2032
- function Eo(e, t) {
2033
- return !(e && e.length > 0) || !t ? !1 : St.includes(R) ? !0 : !E();
2043
+ }`, re = "default", Ke = "filterWithCustomTargeting", Se = "builderIoPersonalization", ke = "updateVisibilityStylesScript", Eo = "PersonalizationContainer", St = ["react", "vue", "svelte", "qwik"], kt = ["vue", "svelte", "qwik"];
2044
+ function Po(e, t) {
2045
+ return !(e && e.length > 0) || !t ? !1 : kt.includes(R) ? !0 : !E();
2034
2046
  }
2035
- function Po({
2047
+ function Ao({
2036
2048
  variants: e,
2037
2049
  previewingIndex: t,
2038
2050
  isHydrated: n,
@@ -2042,7 +2054,7 @@ function Po({
2042
2054
  const i = {
2043
2055
  blocks: r ?? [],
2044
2056
  path: "this.children",
2045
- index: oe
2057
+ index: re
2046
2058
  };
2047
2059
  if (n && A()) {
2048
2060
  if (typeof t == "number" && t < ((e == null ? void 0 : e.length) ?? 0)) {
@@ -2070,22 +2082,22 @@ function Po({
2070
2082
  }
2071
2083
  return i;
2072
2084
  }
2073
- const ke = (e) => {
2085
+ const Ce = (e) => {
2074
2086
  var t;
2075
- return Array.isArray(e) ? e.some(ke) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Ro ? !0 : Object.values(e).some(ke);
2076
- }, Ao = (e) => ke(e), Bo = () => `
2087
+ return Array.isArray(e) ? e.some(Ce) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Eo ? !0 : Object.values(e).some(Ce);
2088
+ }, Bo = (e) => Ce(e), Vo = () => `
2077
2089
  (function() {
2078
- if (!window.${qe}) {
2079
- window.${qe} = ${Io};
2080
- }
2081
- if (!window.${ve}) {
2082
- window.${ve} = ${wo};
2090
+ if (!window.${Ke}) {
2091
+ window.${Ke} = ${$o};
2083
2092
  }
2084
2093
  if (!window.${Se}) {
2085
- window.${Se} = ${$o};
2094
+ window.${Se} = ${Io};
2095
+ }
2096
+ if (!window.${ke}) {
2097
+ window.${ke} = ${Ro};
2086
2098
  }
2087
2099
  })();
2088
- `, kt = R === "react", Vo = (e, t, n) => `window.${ve}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, No = (e, t, n) => `window.${Se}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, ue = {
2100
+ `, Ct = R === "react", No = (e, t, n) => `window.${Se}(${JSON.stringify(e)}, "${t}", ${Ct}${n ? `, "${n}"` : ""})`, Wo = (e, t, n) => `window.${ke}(${JSON.stringify(e)}, "${t}", ${Ct}${n ? `, "${n}"` : ""})`, pe = {
2089
2101
  "@type": "@builder.io/sdk:Element",
2090
2102
  layerName: "Accordion item title",
2091
2103
  responsiveStyles: {
@@ -2114,7 +2126,7 @@ const ke = (e) => {
2114
2126
  }
2115
2127
  }
2116
2128
  }]
2117
- }, pe = {
2129
+ }, me = {
2118
2130
  "@type": "@builder.io/sdk:Element",
2119
2131
  layerName: "Accordion item detail",
2120
2132
  responsiveStyles: {
@@ -2145,7 +2157,7 @@ const ke = (e) => {
2145
2157
  }
2146
2158
  }
2147
2159
  }]
2148
- }, Wo = {
2160
+ }, Do = {
2149
2161
  name: "Builder:Accordion",
2150
2162
  canHaveChildren: !0,
2151
2163
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -2162,19 +2174,19 @@ const ke = (e) => {
2162
2174
  name: "title",
2163
2175
  type: "uiBlocks",
2164
2176
  hideFromUI: !0,
2165
- defaultValue: [ue]
2177
+ defaultValue: [pe]
2166
2178
  }, {
2167
2179
  name: "detail",
2168
2180
  type: "uiBlocks",
2169
2181
  hideFromUI: !0,
2170
- defaultValue: [pe]
2182
+ defaultValue: [me]
2171
2183
  }],
2172
2184
  defaultValue: [{
2173
- title: [ue],
2174
- detail: [pe]
2185
+ title: [pe],
2186
+ detail: [me]
2175
2187
  }, {
2176
- title: [ue],
2177
- detail: [pe]
2188
+ title: [pe],
2189
+ detail: [me]
2178
2190
  }],
2179
2191
  showIf: (e) => !e.get("useChildrenForItems")
2180
2192
  }, {
@@ -2209,7 +2221,7 @@ const ke = (e) => {
2209
2221
  builderComponents: !0,
2210
2222
  builderLinkComponent: !0
2211
2223
  }
2212
- }, Do = (e) => e.toString(), Oo = y({
2224
+ }, Oo = (e) => e.toString(), xo = y({
2213
2225
  name: "builder-accordion",
2214
2226
  components: { Blocks: j },
2215
2227
  props: [
@@ -2223,7 +2235,7 @@ const ke = (e) => {
2223
2235
  "builderLinkComponent"
2224
2236
  ],
2225
2237
  data() {
2226
- return { open: [], convertOrderNumberToString: Do };
2238
+ return { open: [], convertOrderNumberToString: Oo };
2227
2239
  },
2228
2240
  computed: {
2229
2241
  onlyOneAtATime() {
@@ -2304,8 +2316,8 @@ const ke = (e) => {
2304
2316
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
2305
2317
  }
2306
2318
  }
2307
- }), xo = ["data-index", "onClick"];
2308
- function Uo(e, t, n, o, r, i) {
2319
+ }), Uo = ["data-index", "onClick"];
2320
+ function Fo(e, t, n, o, r, i) {
2309
2321
  const s = k("Blocks");
2310
2322
  return d(), h("div", {
2311
2323
  class: "builder-accordion",
@@ -2332,7 +2344,7 @@ function Uo(e, t, n, o, r, i) {
2332
2344
  registeredComponents: e.builderComponents,
2333
2345
  linkComponent: e.builderLinkComponent
2334
2346
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2335
- ], 14, xo),
2347
+ ], 14, Uo),
2336
2348
  e.open.includes(a) ? (d(), h("div", {
2337
2349
  key: 0,
2338
2350
  class: _(e.getAccordionDetailClassName(a)),
@@ -2350,7 +2362,7 @@ function Uo(e, t, n, o, r, i) {
2350
2362
  ], 64))), 128))
2351
2363
  ], 4);
2352
2364
  }
2353
- const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2365
+ const Lo = /* @__PURE__ */ v(xo, [["render", Fo]]), Ho = {
2354
2366
  name: "Core:Button",
2355
2367
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2356
2368
  defaultStyles: {
@@ -2386,7 +2398,7 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2386
2398
  shouldReceiveBuilderProps: {
2387
2399
  builderLinkComponent: !0
2388
2400
  }
2389
- }, Ho = {
2401
+ }, Mo = {
2390
2402
  // TODO: ways to statically preprocess JSON for references, functions, etc
2391
2403
  name: "Columns",
2392
2404
  isRSC: !0,
@@ -2593,13 +2605,13 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2593
2605
  builderComponents: !0,
2594
2606
  builderLinkComponent: !0
2595
2607
  }
2596
- }, Mo = {
2608
+ }, zo = {
2597
2609
  name: "Fragment",
2598
2610
  static: !0,
2599
2611
  hidden: !0,
2600
2612
  canHaveChildren: !0,
2601
2613
  noWrap: !0
2602
- }, Ve = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], zo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], jo = {
2614
+ }, Ne = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], jo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], qo = {
2603
2615
  name: "Image",
2604
2616
  static: !0,
2605
2617
  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",
@@ -2614,7 +2626,7 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2614
2626
  name: "image",
2615
2627
  type: "file",
2616
2628
  bubble: !0,
2617
- allowedFileTypes: Ve,
2629
+ allowedFileTypes: Ne,
2618
2630
  required: !0,
2619
2631
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
2620
2632
  onChange: (e) => {
@@ -2712,7 +2724,7 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2712
2724
  shouldReceiveBuilderProps: {
2713
2725
  builderBlock: !0
2714
2726
  }
2715
- }, qo = {
2727
+ }, Ko = {
2716
2728
  name: "PersonalizationContainer",
2717
2729
  shouldReceiveBuilderProps: {
2718
2730
  builderBlock: !0,
@@ -2748,9 +2760,9 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2748
2760
  defaultValue: []
2749
2761
  }]
2750
2762
  }]
2751
- }, Ne = y({
2763
+ }, We = y({
2752
2764
  render() {
2753
- return Qe("script", {
2765
+ return Ye("script", {
2754
2766
  innerHTML: this.scriptStr,
2755
2767
  "data-id": this.id,
2756
2768
  nonce: this.nonce
@@ -2758,12 +2770,12 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2758
2770
  },
2759
2771
  name: "inlined-script",
2760
2772
  props: ["scriptStr", "id", "nonce"]
2761
- }), Ko = y({
2773
+ }), Jo = y({
2762
2774
  name: "builder-personalization-container",
2763
2775
  components: {
2764
2776
  Blocks: j,
2765
- InlinedStyles: de,
2766
- InlinedScript: Ne
2777
+ InlinedStyles: ue,
2778
+ InlinedScript: We
2767
2779
  },
2768
2780
  props: [
2769
2781
  "builderContext",
@@ -2776,32 +2788,32 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2776
2788
  data() {
2777
2789
  var e, t, n, o, r, i, s;
2778
2790
  return {
2779
- userAttributes: le.getUserAttributes(),
2780
- scriptStr: Vo(
2791
+ userAttributes: ce.getUserAttributes(),
2792
+ scriptStr: No(
2781
2793
  this.variants,
2782
2794
  ((e = this.builderBlock) == null ? void 0 : e.id) || "none",
2783
2795
  (n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
2784
2796
  ),
2785
- updateVisibilityStylesScript: No(
2797
+ updateVisibilityStylesScript: Wo(
2786
2798
  this.variants,
2787
2799
  ((o = this.builderBlock) == null ? void 0 : o.id) || "none",
2788
2800
  (i = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : i.locale
2789
2801
  ),
2790
2802
  unsubscribers: [],
2791
- shouldRenderVariants: Eo(
2803
+ shouldRenderVariants: Po(
2792
2804
  this.variants,
2793
2805
  J((s = this.builderContext) == null ? void 0 : s.canTrack)
2794
2806
  ),
2795
2807
  shouldResetVariants: !1,
2796
2808
  TARGET: R,
2797
- DEFAULT_INDEX: oe,
2798
- SDKS_REQUIRING_RESET_APPROACH: St
2809
+ DEFAULT_INDEX: re,
2810
+ SDKS_REQUIRING_RESET_APPROACH: kt
2799
2811
  };
2800
2812
  },
2801
2813
  mounted() {
2802
2814
  var t;
2803
2815
  this.shouldResetVariants = !0;
2804
- const e = le.subscribeOnUserAttributesChange(
2816
+ const e = ce.subscribeOnUserAttributesChange(
2805
2817
  (n) => {
2806
2818
  this.userAttributes = n;
2807
2819
  },
@@ -2809,12 +2821,12 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2809
2821
  fireImmediately: R === "qwik"
2810
2822
  }
2811
2823
  );
2812
- if (!(A() || Re())) {
2824
+ if (!(A() || Ee())) {
2813
2825
  const n = this.filteredVariants[0];
2814
2826
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
2815
2827
  new CustomEvent("builder.variantLoaded", {
2816
2828
  detail: {
2817
- variant: n || oe,
2829
+ variant: n || re,
2818
2830
  content: (t = this.builderContext) == null ? void 0 : t.content
2819
2831
  },
2820
2832
  bubbles: !0
@@ -2825,7 +2837,7 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2825
2837
  i.isIntersecting && this.$refs.rootRef && this.$refs.rootRef.dispatchEvent(
2826
2838
  new CustomEvent("builder.variantDisplayed", {
2827
2839
  detail: {
2828
- variant: n || oe,
2840
+ variant: n || re,
2829
2841
  content: (s = this.builderContext) == null ? void 0 : s.content
2830
2842
  },
2831
2843
  bubbles: !0
@@ -2850,7 +2862,7 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2850
2862
  filteredVariants() {
2851
2863
  return (this.variants || []).filter((e) => {
2852
2864
  var t, n, o, r;
2853
- return To(
2865
+ return wo(
2854
2866
  {
2855
2867
  ...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
2856
2868
  locale: (r = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : r.locale
@@ -2865,7 +2877,7 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2865
2877
  },
2866
2878
  blocksToRender() {
2867
2879
  var e;
2868
- return Po({
2880
+ return Ao({
2869
2881
  variants: this.variants,
2870
2882
  fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
2871
2883
  isHydrated: this.shouldResetVariants,
@@ -2883,7 +2895,7 @@ const Fo = /* @__PURE__ */ v(Oo, [["render", Uo]]), Lo = {
2883
2895
  }
2884
2896
  }
2885
2897
  });
2886
- function Jo(e, t, n, o, r, i) {
2898
+ function Go(e, t, n, o, r, i) {
2887
2899
  var u, p, b, c, m, f, g, P, O, B;
2888
2900
  const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
2889
2901
  return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
@@ -2928,12 +2940,12 @@ function Jo(e, t, n, o, r, i) {
2928
2940
  registeredComponents: e.builderComponents
2929
2941
  }, {
2930
2942
  default: D(() => {
2931
- var L, De;
2943
+ var L, Oe;
2932
2944
  return [
2933
2945
  $(a, {
2934
2946
  nonce: ((L = e.builderContext) == null ? void 0 : L.nonce) || "",
2935
2947
  scriptStr: e.scriptStr,
2936
- id: `variants-script-${(De = e.builderBlock) == null ? void 0 : De.id}-${C}`
2948
+ id: `variants-script-${(Oe = e.builderBlock) == null ? void 0 : Oe.id}-${C}`
2937
2949
  }, null, 8, ["nonce", "scriptStr", "id"])
2938
2950
  ];
2939
2951
  }),
@@ -2968,7 +2980,7 @@ function Jo(e, t, n, o, r, i) {
2968
2980
  ], 64)) : T("", !0)
2969
2981
  ], 16);
2970
2982
  }
2971
- const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
2983
+ const Qo = /* @__PURE__ */ v(Jo, [["render", Go]]), Yo = {
2972
2984
  name: "Core:Section",
2973
2985
  static: !0,
2974
2986
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3007,7 +3019,7 @@ const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
3007
3019
  }
3008
3020
  }
3009
3021
  }]
3010
- }, Yo = {
3022
+ }, Xo = {
3011
3023
  name: "Slot",
3012
3024
  isRSC: !0,
3013
3025
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3024,12 +3036,12 @@ const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
3024
3036
  builderContext: !0,
3025
3037
  builderComponents: !0
3026
3038
  }
3027
- }, Xo = y({
3039
+ }, Zo = y({
3028
3040
  name: "builder-slot",
3029
3041
  components: { Blocks: j },
3030
3042
  props: ["builderContext", "name", "builderComponents"]
3031
3043
  });
3032
- function Zo(e, t, n, o, r, i) {
3044
+ function _o(e, t, n, o, r, i) {
3033
3045
  var l, a, u;
3034
3046
  const s = k("Blocks");
3035
3047
  return d(), h("div", I(
@@ -3049,7 +3061,7 @@ function Zo(e, t, n, o, r, i) {
3049
3061
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
3050
3062
  ], 16);
3051
3063
  }
3052
- const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3064
+ const er = /* @__PURE__ */ v(Zo, [["render", _o]]), tr = {
3053
3065
  name: "Symbol",
3054
3066
  noWrap: !0,
3055
3067
  static: !0,
@@ -3088,7 +3100,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3088
3100
  builderComponents: !0,
3089
3101
  builderLinkComponent: !0
3090
3102
  }
3091
- }, me = {
3103
+ }, he = {
3092
3104
  "@type": "@builder.io/sdk:Element",
3093
3105
  responsiveStyles: {
3094
3106
  large: {
@@ -3110,7 +3122,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3110
3122
  text: "New tab"
3111
3123
  }
3112
3124
  }
3113
- }, he = {
3125
+ }, fe = {
3114
3126
  "@type": "@builder.io/sdk:Element",
3115
3127
  responsiveStyles: {
3116
3128
  large: {
@@ -3126,7 +3138,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3126
3138
  text: "New tab content "
3127
3139
  }
3128
3140
  }
3129
- }, tr = {
3141
+ }, nr = {
3130
3142
  name: "Builder: Tabs",
3131
3143
  inputs: [{
3132
3144
  name: "tabs",
@@ -3136,16 +3148,16 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3136
3148
  name: "label",
3137
3149
  type: "uiBlocks",
3138
3150
  hideFromUI: !0,
3139
- defaultValue: [me]
3151
+ defaultValue: [he]
3140
3152
  }, {
3141
3153
  name: "content",
3142
3154
  type: "uiBlocks",
3143
3155
  hideFromUI: !0,
3144
- defaultValue: [he]
3156
+ defaultValue: [fe]
3145
3157
  }],
3146
3158
  defaultValue: [{
3147
3159
  label: [{
3148
- ...me,
3160
+ ...he,
3149
3161
  component: {
3150
3162
  name: "Text",
3151
3163
  options: {
@@ -3154,7 +3166,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3154
3166
  }
3155
3167
  }],
3156
3168
  content: [{
3157
- ...he,
3169
+ ...fe,
3158
3170
  component: {
3159
3171
  name: "Text",
3160
3172
  options: {
@@ -3164,7 +3176,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3164
3176
  }]
3165
3177
  }, {
3166
3178
  label: [{
3167
- ...me,
3179
+ ...he,
3168
3180
  component: {
3169
3181
  name: "Text",
3170
3182
  options: {
@@ -3173,7 +3185,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3173
3185
  }
3174
3186
  }],
3175
3187
  content: [{
3176
- ...he,
3188
+ ...fe,
3177
3189
  component: {
3178
3190
  name: "Text",
3179
3191
  options: {
@@ -3229,7 +3241,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3229
3241
  builderComponents: !0,
3230
3242
  builderLinkComponent: !0
3231
3243
  }
3232
- }, nr = y({
3244
+ }, or = y({
3233
3245
  name: "builder-tabs",
3234
3246
  components: { Blocks: j },
3235
3247
  props: [
@@ -3257,8 +3269,8 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3257
3269
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
3258
3270
  }
3259
3271
  }
3260
- }), or = ["onClick"], rr = { key: 0 };
3261
- function ir(e, t, n, o, r, i) {
3272
+ }), rr = ["onClick"], ir = { key: 0 };
3273
+ function sr(e, t, n, o, r, i) {
3262
3274
  const s = k("Blocks");
3263
3275
  return d(), h("div", null, [
3264
3276
  K("div", {
@@ -3284,9 +3296,9 @@ function ir(e, t, n, o, r, i) {
3284
3296
  registeredComponents: e.builderComponents,
3285
3297
  linkComponent: e.builderLinkComponent
3286
3298
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
3287
- ], 14, or))), 128))
3299
+ ], 14, rr))), 128))
3288
3300
  ], 4),
3289
- e.activeTabContent(e.activeTab) ? (d(), h("div", rr, [
3301
+ e.activeTabContent(e.activeTab) ? (d(), h("div", ir, [
3290
3302
  $(s, {
3291
3303
  parent: e.builderBlock.id,
3292
3304
  path: `tabs.${e.activeTab}.content`,
@@ -3298,7 +3310,7 @@ function ir(e, t, n, o, r, i) {
3298
3310
  ])) : T("", !0)
3299
3311
  ]);
3300
3312
  }
3301
- const sr = /* @__PURE__ */ v(nr, [["render", ir]]), ar = {
3313
+ const ar = /* @__PURE__ */ v(or, [["render", sr]]), lr = {
3302
3314
  shouldReceiveBuilderProps: {},
3303
3315
  name: "Text",
3304
3316
  static: !0,
@@ -3316,11 +3328,11 @@ const sr = /* @__PURE__ */ v(nr, [["render", ir]]), ar = {
3316
3328
  height: "auto",
3317
3329
  textAlign: "center"
3318
3330
  }
3319
- }, lr = y({
3331
+ }, cr = y({
3320
3332
  name: "builder-text",
3321
3333
  props: ["text"]
3322
- }), cr = ["innerHTML"];
3323
- function dr(e, t, n, o, r, i) {
3334
+ }), dr = ["innerHTML"];
3335
+ function ur(e, t, n, o, r, i) {
3324
3336
  var s;
3325
3337
  return d(), h("div", {
3326
3338
  class: "builder-text",
@@ -3328,9 +3340,9 @@ function dr(e, t, n, o, r, i) {
3328
3340
  style: {
3329
3341
  outline: "none"
3330
3342
  }
3331
- }, null, 8, cr);
3343
+ }, null, 8, dr);
3332
3344
  }
3333
- const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
3345
+ const pr = /* @__PURE__ */ v(cr, [["render", ur]]), mr = {
3334
3346
  name: "Custom Code",
3335
3347
  static: !0,
3336
3348
  requiredPermissions: ["editCode"],
@@ -3352,7 +3364,7 @@ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
3352
3364
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3353
3365
  advanced: !0
3354
3366
  }]
3355
- }, mr = y({
3367
+ }, hr = y({
3356
3368
  name: "builder-custom-code",
3357
3369
  props: ["code", "replaceNodes"],
3358
3370
  data() {
@@ -3411,15 +3423,15 @@ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
3411
3423
  }
3412
3424
  }
3413
3425
  }
3414
- }), hr = ["innerHTML"];
3415
- function fr(e, t, n, o, r, i) {
3426
+ }), fr = ["innerHTML"];
3427
+ function br(e, t, n, o, r, i) {
3416
3428
  return d(), h("div", {
3417
3429
  ref: "elementRef",
3418
3430
  class: _("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3419
3431
  innerHTML: e.code
3420
- }, null, 10, hr);
3432
+ }, null, 10, fr);
3421
3433
  }
3422
- const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
3434
+ const gr = /* @__PURE__ */ v(hr, [["render", br]]), yr = {
3423
3435
  name: "Embed",
3424
3436
  static: !0,
3425
3437
  inputs: [{
@@ -3434,7 +3446,7 @@ const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
3434
3446
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3435
3447
  hideFromUI: !0
3436
3448
  }]
3437
- }, yr = ["text/javascript", "application/javascript", "application/ecmascript"], vr = (e) => yr.includes(e.type), Sr = y({
3449
+ }, vr = ["text/javascript", "application/javascript", "application/ecmascript"], Sr = (e) => vr.includes(e.type), kr = y({
3438
3450
  name: "builder-embed",
3439
3451
  props: ["content"],
3440
3452
  data() {
@@ -3467,7 +3479,7 @@ const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
3467
3479
  this.scriptsInserted.push(n.src);
3468
3480
  const o = document.createElement("script");
3469
3481
  o.async = !0, o.src = n.src, document.head.appendChild(o);
3470
- } else if (vr(n) && !this.scriptsRun.includes(n.innerText))
3482
+ } else if (Sr(n) && !this.scriptsRun.includes(n.innerText))
3471
3483
  try {
3472
3484
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3473
3485
  } catch (o) {
@@ -3476,15 +3488,15 @@ const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
3476
3488
  }
3477
3489
  }
3478
3490
  }
3479
- }), kr = ["innerHTML"];
3480
- function Cr(e, t, n, o, r, i) {
3491
+ }), Cr = ["innerHTML"];
3492
+ function Tr(e, t, n, o, r, i) {
3481
3493
  return d(), h("div", {
3482
3494
  class: "builder-embed",
3483
3495
  ref: "elem",
3484
3496
  innerHTML: e.content
3485
- }, null, 8, kr);
3497
+ }, null, 8, Cr);
3486
3498
  }
3487
- const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3499
+ const wr = /* @__PURE__ */ v(kr, [["render", Tr]]), Ir = {
3488
3500
  name: "Form:Form",
3489
3501
  // editableTags: ['builder-form-error']
3490
3502
  defaults: {
@@ -3721,10 +3733,10 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3721
3733
  builderComponents: !0,
3722
3734
  builderLinkComponent: !0
3723
3735
  }
3724
- }, Ir = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], $r = () => {
3736
+ }, $r = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Rr = () => {
3725
3737
  const e = process.env.NODE_ENV || "production";
3726
- return Ir.includes(e) ? e : "production";
3727
- }, Rr = y({
3738
+ return $r.includes(e) ? e : "production";
3739
+ }, Er = y({
3728
3740
  name: "builder-form-component",
3729
3741
  components: { Blocks: j },
3730
3742
  props: [
@@ -3817,7 +3829,7 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3817
3829
  else {
3818
3830
  const c = {};
3819
3831
  Array.from(l).forEach(({ value: m, key: f }) => {
3820
- Ye(c, f, m);
3832
+ Xe(c, f, m);
3821
3833
  }), i = JSON.stringify(c);
3822
3834
  }
3823
3835
  a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
@@ -3835,10 +3847,10 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3835
3847
  });
3836
3848
  return;
3837
3849
  }
3838
- const p = `${$r() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3850
+ const p = `${Rr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3839
3851
  this.sendSubmissionsToEmail || ""
3840
3852
  )}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? p : this.action;
3841
- _e(b), fetch(b, {
3853
+ et(b), fetch(b, {
3842
3854
  body: i,
3843
3855
  headers: r,
3844
3856
  method: this.method || "post"
@@ -3859,7 +3871,7 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3859
3871
  ), O.defaultPrevented))
3860
3872
  return;
3861
3873
  this.responseData = m, this.formState = "error";
3862
- let B = this.errorMessagePath ? tt(m, this.errorMessagePath) : m.message || m.error || m;
3874
+ let B = this.errorMessagePath ? nt(m, this.errorMessagePath) : m.message || m.error || m;
3863
3875
  typeof B != "string" && (B = JSON.stringify(B)), this.formErrorMessage = B, this.mergeNewRootState({
3864
3876
  formErrorMessage: B
3865
3877
  });
@@ -3901,11 +3913,11 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3901
3913
  }
3902
3914
  }
3903
3915
  }
3904
- }), Er = ["validate", "action", "method", "name"], Pr = {
3916
+ }), Pr = ["validate", "action", "method", "name"], Ar = {
3905
3917
  key: 2,
3906
3918
  class: "builder-form-error-text pre-2oa2wtipkzk"
3907
3919
  };
3908
- function Ar(e, t, n, o, r, i) {
3920
+ function Br(e, t, n, o, r, i) {
3909
3921
  const s = k("Blocks");
3910
3922
  return d(), h("form", I({
3911
3923
  validate: e.validate,
@@ -3928,16 +3940,16 @@ function Ar(e, t, n, o, r, i) {
3928
3940
  blocks: e.sendingMessage,
3929
3941
  context: e.builderContext
3930
3942
  }, null, 8, ["blocks", "context"])) : T("", !0),
3931
- e.submissionState() === "error" && e.responseData ? (d(), h("pre", Pr, ce(e.errorResponse(e.responseData)), 1)) : T("", !0),
3943
+ e.submissionState() === "error" && e.responseData ? (d(), h("pre", Ar, de(e.errorResponse(e.responseData)), 1)) : T("", !0),
3932
3944
  e.submissionState() === "success" ? (d(), S(s, {
3933
3945
  key: 3,
3934
3946
  path: "successMessage",
3935
3947
  blocks: e.successMessage,
3936
3948
  context: e.builderContext
3937
3949
  }, null, 8, ["blocks", "context"])) : T("", !0)
3938
- ], 16, Er);
3950
+ ], 16, Pr);
3939
3951
  }
3940
- const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c"]]), Vr = {
3952
+ const Vr = /* @__PURE__ */ v(Er, [["render", Br], ["__scopeId", "data-v-77c7888c"]]), Nr = {
3941
3953
  name: "Form:Input",
3942
3954
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3943
3955
  inputs: [
@@ -3988,7 +4000,7 @@ const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c
3988
4000
  borderStyle: "solid",
3989
4001
  borderColor: "#ccc"
3990
4002
  }
3991
- }, Nr = y({
4003
+ }, Wr = y({
3992
4004
  name: "builder-form-input-component",
3993
4005
  props: [
3994
4006
  "attributes",
@@ -4002,8 +4014,8 @@ const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c
4002
4014
  data() {
4003
4015
  return { isEditing: A, filterAttrs: N };
4004
4016
  }
4005
- }), Wr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
4006
- function Dr(e, t, n, o, r, i) {
4017
+ }), Dr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
4018
+ function Or(e, t, n, o, r, i) {
4007
4019
  return d(), h("input", I({
4008
4020
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4009
4021
  placeholder: e.placeholder,
@@ -4012,9 +4024,9 @@ function Dr(e, t, n, o, r, i) {
4012
4024
  value: e.value,
4013
4025
  defaultValue: e.defaultValue,
4014
4026
  required: e.required
4015
- }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wr);
4027
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Dr);
4016
4028
  }
4017
- const Or = /* @__PURE__ */ v(Nr, [["render", Dr]]), xr = {
4029
+ const xr = /* @__PURE__ */ v(Wr, [["render", Or]]), Ur = {
4018
4030
  name: "Form:Select",
4019
4031
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
4020
4032
  defaultStyles: {
@@ -4056,14 +4068,14 @@ const Or = /* @__PURE__ */ v(Nr, [["render", Dr]]), xr = {
4056
4068
  }],
4057
4069
  static: !0,
4058
4070
  noWrap: !0
4059
- }, Ur = y({
4071
+ }, Fr = y({
4060
4072
  name: "builder-select-component",
4061
4073
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
4062
4074
  data() {
4063
4075
  return { isEditing: A, filterAttrs: N };
4064
4076
  }
4065
- }), Fr = ["value", "defaultValue", "name", "required"], Lr = ["value"];
4066
- function Hr(e, t, n, o, r, i) {
4077
+ }), Lr = ["value", "defaultValue", "name", "required"], Hr = ["value"];
4078
+ function Mr(e, t, n, o, r, i) {
4067
4079
  return d(), h("select", I({
4068
4080
  value: e.value,
4069
4081
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
@@ -4074,10 +4086,10 @@ function Hr(e, t, n, o, r, i) {
4074
4086
  (d(!0), h(w, null, U(e.options, (s, l) => (d(), h("option", {
4075
4087
  key: `${s.name}-${l}`,
4076
4088
  value: s.value
4077
- }, ce(s.name || s.value), 9, Lr))), 128))
4078
- ], 16, Fr);
4089
+ }, de(s.name || s.value), 9, Hr))), 128))
4090
+ ], 16, Lr);
4079
4091
  }
4080
- const Mr = /* @__PURE__ */ v(Ur, [["render", Hr]]), zr = {
4092
+ const zr = /* @__PURE__ */ v(Fr, [["render", Mr]]), jr = {
4081
4093
  name: "Form:SubmitButton",
4082
4094
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4083
4095
  defaultStyles: {
@@ -4102,17 +4114,17 @@ const Mr = /* @__PURE__ */ v(Ur, [["render", Hr]]), zr = {
4102
4114
  // that only shows if advanced setting is flipped
4103
4115
  // TODO: defaultChildren
4104
4116
  // canHaveChildren: true,
4105
- }, jr = y({
4117
+ }, qr = y({
4106
4118
  name: "builder-submit-button",
4107
4119
  props: ["attributes", "text"],
4108
4120
  data() {
4109
4121
  return { filterAttrs: N };
4110
4122
  }
4111
4123
  });
4112
- function qr(e, t, n, o, r, i) {
4113
- return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ce(e.text), 17);
4124
+ function Kr(e, t, n, o, r, i) {
4125
+ return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), de(e.text), 17);
4114
4126
  }
4115
- const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
4127
+ const Jr = /* @__PURE__ */ v(qr, [["render", Kr]]), Gr = {
4116
4128
  name: "Form:TextArea",
4117
4129
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4118
4130
  inputs: [{
@@ -4148,7 +4160,7 @@ const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
4148
4160
  },
4149
4161
  static: !0,
4150
4162
  noWrap: !0
4151
- }, Gr = y({
4163
+ }, Qr = y({
4152
4164
  name: "builder-textarea",
4153
4165
  props: [
4154
4166
  "attributes",
@@ -4161,17 +4173,17 @@ const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
4161
4173
  data() {
4162
4174
  return { filterAttrs: N };
4163
4175
  }
4164
- }), Qr = ["placeholder", "name", "value", "defaultValue", "required"];
4165
- function Yr(e, t, n, o, r, i) {
4176
+ }), Yr = ["placeholder", "name", "value", "defaultValue", "required"];
4177
+ function Xr(e, t, n, o, r, i) {
4166
4178
  return d(), h("textarea", I({
4167
4179
  placeholder: e.placeholder,
4168
4180
  name: e.name,
4169
4181
  value: e.value,
4170
4182
  defaultValue: e.defaultValue,
4171
4183
  required: e.required
4172
- }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Qr);
4184
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Yr);
4173
4185
  }
4174
- const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4186
+ const Zr = /* @__PURE__ */ v(Qr, [["render", Xr]]), _r = {
4175
4187
  name: "Raw:Img",
4176
4188
  hideFromInsertMenu: !0,
4177
4189
  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",
@@ -4179,7 +4191,7 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4179
4191
  name: "image",
4180
4192
  bubble: !0,
4181
4193
  type: "file",
4182
- allowedFileTypes: Ve,
4194
+ allowedFileTypes: Ne,
4183
4195
  required: !0
4184
4196
  }, {
4185
4197
  name: "backgroundSize",
@@ -4215,7 +4227,7 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4215
4227
  defaultValue: 0.7041
4216
4228
  }],
4217
4229
  noWrap: !0
4218
- }, _r = y({
4230
+ }, ei = y({
4219
4231
  name: "builder-img-component",
4220
4232
  props: [
4221
4233
  "imgSrc",
@@ -4234,7 +4246,7 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4234
4246
  srcSetToUse() {
4235
4247
  const e = this.imgSrc || this.image;
4236
4248
  if (!(!e || typeof e != "string") && e.match(/builder\.io/))
4237
- return ne(e);
4249
+ return oe(e);
4238
4250
  },
4239
4251
  imgAttrs() {
4240
4252
  const e = {
@@ -4245,8 +4257,8 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4245
4257
  return delete e.style, e;
4246
4258
  }
4247
4259
  }
4248
- }), ei = ["alt", "title", "src"];
4249
- function ti(e, t, n, o, r, i) {
4260
+ }), ti = ["alt", "title", "src"];
4261
+ function ni(e, t, n, o, r, i) {
4250
4262
  var s;
4251
4263
  return d(), h("img", I({
4252
4264
  loading: "lazy",
@@ -4260,9 +4272,9 @@ function ti(e, t, n, o, r, i) {
4260
4272
  aspectRatio: e.aspectRatio || void 0,
4261
4273
  ...((s = e.attributes) == null ? void 0 : s.style) || {}
4262
4274
  }
4263
- }, e.imgAttrs), null, 16, ei);
4275
+ }, e.imgAttrs), null, 16, ti);
4264
4276
  }
4265
- const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4277
+ const oi = /* @__PURE__ */ v(ei, [["render", ni]]), ri = {
4266
4278
  name: "Video",
4267
4279
  canHaveChildren: !0,
4268
4280
  defaultStyles: {
@@ -4273,14 +4285,14 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4273
4285
  inputs: [{
4274
4286
  name: "video",
4275
4287
  type: "file",
4276
- allowedFileTypes: zo,
4288
+ allowedFileTypes: jo,
4277
4289
  bubble: !0,
4278
4290
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
4279
4291
  required: !0
4280
4292
  }, {
4281
4293
  name: "posterImage",
4282
4294
  type: "file",
4283
- allowedFileTypes: Ve,
4295
+ allowedFileTypes: Ne,
4284
4296
  helperText: "Image to show before the video plays"
4285
4297
  }, {
4286
4298
  name: "autoPlay",
@@ -4346,7 +4358,7 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4346
4358
  shouldReceiveBuilderProps: {
4347
4359
  builderBlock: !0
4348
4360
  }
4349
- }, ri = y({
4361
+ }, ii = y({
4350
4362
  name: "builder-video",
4351
4363
  props: [
4352
4364
  "lazyLoad",
@@ -4419,16 +4431,16 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4419
4431
  };
4420
4432
  }
4421
4433
  }
4422
- }), ii = { style: {
4434
+ }), si = { style: {
4423
4435
  position: "relative"
4424
- } }, si = ["preload", "poster"], ai = {
4436
+ } }, ai = ["preload", "poster"], li = {
4425
4437
  key: 1,
4426
4438
  style: {
4427
4439
  display: "flex",
4428
4440
  flexDirection: "column",
4429
4441
  alignItems: "stretch"
4430
4442
  }
4431
- }, li = {
4443
+ }, ci = {
4432
4444
  key: 2,
4433
4445
  style: {
4434
4446
  pointerEvents: "none",
@@ -4442,9 +4454,9 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4442
4454
  height: "100%"
4443
4455
  }
4444
4456
  };
4445
- function ci(e, t, n, o, r, i) {
4457
+ function di(e, t, n, o, r, i) {
4446
4458
  var s, l, a, u, p, b, c;
4447
- return d(), h("div", ii, [
4459
+ return d(), h("div", si, [
4448
4460
  K("video", I({
4449
4461
  class: "builder-video",
4450
4462
  ref: "videoRef",
@@ -4472,7 +4484,7 @@ function ci(e, t, n, o, r, i) {
4472
4484
  src: e.video
4473
4485
  }
4474
4486
  ), null, 16)
4475
- ], 16, si),
4487
+ ], 16, ai),
4476
4488
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), h("div", {
4477
4489
  key: 0,
4478
4490
  style: H({
@@ -4482,75 +4494,75 @@ function ci(e, t, n, o, r, i) {
4482
4494
  fontSize: "0px"
4483
4495
  })
4484
4496
  }, null, 4)) : T("", !0),
4485
- (p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", ai, [
4497
+ (p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", li, [
4486
4498
  V(e.$slots, "default")
4487
4499
  ])) : T("", !0),
4488
- (c = (b = e.builderBlock) == null ? void 0 : b.children) != null && c.length && !e.fitContent ? (d(), h("div", li, [
4500
+ (c = (b = e.builderBlock) == null ? void 0 : b.children) != null && c.length && !e.fitContent ? (d(), h("div", ci, [
4489
4501
  V(e.$slots, "default")
4490
4502
  ])) : T("", !0)
4491
4503
  ]);
4492
4504
  }
4493
- const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
4494
- component: br,
4495
- ...pr
4496
- }, {
4497
- component: Tr,
4498
- ...gr
4505
+ const ui = /* @__PURE__ */ v(ii, [["render", di]]), pi = () => [{
4506
+ component: gr,
4507
+ ...mr
4499
4508
  }, {
4500
- component: Br,
4501
- ...wr
4509
+ component: wr,
4510
+ ...yr
4502
4511
  }, {
4503
- component: Or,
4504
- ...Vr
4512
+ component: Vr,
4513
+ ...Ir
4505
4514
  }, {
4506
- component: Kr,
4507
- ...zr
4515
+ component: xr,
4516
+ ...Nr
4508
4517
  }, {
4509
- component: Mr,
4510
- ...xr
4518
+ component: Jr,
4519
+ ...jr
4511
4520
  }, {
4512
- component: Xr,
4513
- ...Jr
4521
+ component: zr,
4522
+ ...Ur
4514
4523
  }, {
4515
- component: ni,
4516
- ...Zr
4524
+ component: Zr,
4525
+ ...Gr
4517
4526
  }, {
4518
- component: di,
4519
- ...oi
4520
- }], Ke = () => [{
4521
- component: Lt,
4522
- ...Lo
4527
+ component: oi,
4528
+ ..._r
4523
4529
  }, {
4524
- component: ao,
4530
+ component: ui,
4531
+ ...ri
4532
+ }], Je = () => [{
4533
+ component: Ht,
4525
4534
  ...Ho
4526
4535
  }, {
4527
- component: uo,
4536
+ component: lo,
4528
4537
  ...Mo
4529
4538
  }, {
4530
- component: vo,
4531
- ...jo
4539
+ component: po,
4540
+ ...zo
4532
4541
  }, {
4533
- component: Co,
4534
- ...Qo
4542
+ component: So,
4543
+ ...qo
4535
4544
  }, {
4536
- component: _o,
4545
+ component: To,
4537
4546
  ...Yo
4538
4547
  }, {
4539
- component: Qi,
4540
- ...er
4548
+ component: er,
4549
+ ...Xo
4541
4550
  }, {
4542
- component: ur,
4543
- ...ar
4544
- }, ...vt.includes(R) ? [{
4545
- component: Go,
4546
- ...qo
4547
- }] : [], {
4548
- component: sr,
4551
+ component: Yi,
4549
4552
  ...tr
4550
4553
  }, {
4551
- component: Fo,
4552
- ...Wo
4553
- }, ...ui()], pi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4554
+ component: pr,
4555
+ ...lr
4556
+ }, ...St.includes(R) ? [{
4557
+ component: Qo,
4558
+ ...Ko
4559
+ }] : [], {
4560
+ component: ar,
4561
+ ...nr
4562
+ }, {
4563
+ component: Lo,
4564
+ ...Do
4565
+ }, ...pi()], mi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4554
4566
  function getAndSetVariantId() {
4555
4567
  function setCookie(name, value, days) {
4556
4568
  let expires = '';
@@ -4609,7 +4621,7 @@ const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
4609
4621
  }).join('');
4610
4622
  styleEl.innerHTML = newStyleStr;
4611
4623
  }
4612
- }`, mi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4624
+ }`, hi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4613
4625
  if (!navigator.cookieEnabled) {
4614
4626
  return;
4615
4627
  }
@@ -4643,37 +4655,37 @@ const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
4643
4655
  thisScriptEl?.remove();
4644
4656
  }
4645
4657
  return;
4646
- }`, Ce = "builderIoAbTest", Te = "builderIoRenderContent", re = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4658
+ }`, Te = "builderIoAbTest", we = "builderIoRenderContent", ie = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4647
4659
  ...t,
4648
4660
  testVariationId: t.id,
4649
4661
  id: e == null ? void 0 : e.id
4650
- })), hi = ({
4662
+ })), fi = ({
4651
4663
  canTrack: e,
4652
4664
  content: t
4653
- }) => !(!(re(t).length > 0) || !e), fi = (e) => e === "react" || e === "reactNative", bi = R === "angular", We = fi(R), gi = () => `
4665
+ }) => !(!(ie(t).length > 0) || !e), bi = (e) => e === "react" || e === "reactNative", gi = R === "angular", De = bi(R), yi = () => `
4654
4666
  (function() {
4655
- if (!window.${Ce}) {
4656
- window.${Ce} = ${pi};
4657
- }
4658
4667
  if (!window.${Te}) {
4659
4668
  window.${Te} = ${mi};
4660
- }${We ? `
4669
+ }
4670
+ if (!window.${we}) {
4671
+ window.${we} = ${hi};
4672
+ }${De ? `
4661
4673
  var thisScriptEl = document.currentScript;
4662
4674
  if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
4663
4675
  })();
4664
- `, yi = (e, t) => `
4665
- window.${Ce}(
4666
- "${t}",${JSON.stringify(e)}, ${We}, ${bi}
4667
- )`, vi = ({
4676
+ `, vi = (e, t) => `
4677
+ window.${Te}(
4678
+ "${t}",${JSON.stringify(e)}, ${De}, ${gi}
4679
+ )`, Si = ({
4668
4680
  contentId: e,
4669
4681
  variationId: t
4670
- }) => `window.${Te}(
4671
- "${t}", "${e}", ${We}
4682
+ }) => `window.${we}(
4683
+ "${t}", "${e}", ${De}
4672
4684
  )`;
4673
- function Je(e) {
4685
+ function Ge(e) {
4674
4686
  return Math.round(e * 1e3) / 1e3;
4675
4687
  }
4676
- const Si = (e, t, n = !0) => {
4688
+ const ki = (e, t, n = !0) => {
4677
4689
  if (!(e instanceof HTMLElement))
4678
4690
  return null;
4679
4691
  let o = n ? e : e.parentElement;
@@ -4684,35 +4696,35 @@ const Si = (e, t, n = !0) => {
4684
4696
  return o;
4685
4697
  } while (o = o.parentElement);
4686
4698
  return null;
4687
- }, ki = (e) => Si(e, (t) => {
4699
+ }, Ci = (e) => ki(e, (t) => {
4688
4700
  const n = t.getAttribute("builder-id") || t.id;
4689
4701
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4690
- }), Ge = ({
4702
+ }), Qe = ({
4691
4703
  event: e,
4692
4704
  target: t
4693
4705
  }) => {
4694
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Je(o / n.width), s = Je(r / n.height);
4706
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Ge(o / n.width), s = Ge(r / n.height);
4695
4707
  return {
4696
4708
  x: i,
4697
4709
  y: s
4698
4710
  };
4699
- }, Ci = (e) => {
4700
- const t = e.target, n = t && ki(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4711
+ }, Ti = (e) => {
4712
+ const t = e.target, n = t && Ci(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4701
4713
  return {
4702
4714
  targetBuilderElement: o || void 0,
4703
4715
  metadata: {
4704
- targetOffset: t ? Ge({
4716
+ targetOffset: t ? Qe({
4705
4717
  event: e,
4706
4718
  target: t
4707
4719
  }) : void 0,
4708
- builderTargetOffset: n ? Ge({
4720
+ builderTargetOffset: n ? Qe({
4709
4721
  event: e,
4710
4722
  target: n
4711
4723
  }) : void 0,
4712
4724
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4713
4725
  }
4714
4726
  };
4715
- }, Ti = ["svelte", "qwik", "vue"], wi = () => Ti.includes(R) && (A() || Re()), Ii = (e) => {
4727
+ }, wi = ["svelte", "qwik", "vue"], Ii = () => wi.includes(R) && (A() || Ee()), $i = (e) => {
4716
4728
  var i;
4717
4729
  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);
4718
4730
  let r = "";
@@ -4738,15 +4750,15 @@ font-weight: ${s};
4738
4750
  `.trim());
4739
4751
  }
4740
4752
  return r;
4741
- }, $i = ({
4753
+ }, Ri = ({
4742
4754
  customFonts: e
4743
4755
  }) => {
4744
4756
  var t;
4745
- return ((t = e == null ? void 0 : e.map((n) => Ii(n))) == null ? void 0 : t.join(" ")) || "";
4746
- }, Ri = ({
4757
+ return ((t = e == null ? void 0 : e.map((n) => $i(n))) == null ? void 0 : t.join(" ")) || "";
4758
+ }, Ei = ({
4747
4759
  cssCode: e,
4748
4760
  contentId: t
4749
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
4761
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Pi = `
4750
4762
  .builder-button {
4751
4763
  all: unset;
4752
4764
  }
@@ -4763,7 +4775,7 @@ font-weight: ${s};
4763
4775
  text-align: inherit;
4764
4776
  font-family: inherit;
4765
4777
  }
4766
- `, Pi = (e) => e ? "" : Ei, Ai = (e) => `variant-${e}`, Bi = y({
4778
+ `, Ai = (e) => e ? "" : Pi, Bi = (e) => `variant-${e}`, Vi = y({
4767
4779
  name: "enable-editor",
4768
4780
  components: { DynamicDiv: te },
4769
4781
  props: [
@@ -4795,15 +4807,15 @@ font-weight: ${s};
4795
4807
  httpReqsData: {},
4796
4808
  httpReqsPending: {},
4797
4809
  clicked: !1,
4798
- builderContext: fe,
4799
- needsElementRefDivForEditing: wi,
4800
- getWrapperClassName: Ai
4810
+ builderContext: be,
4811
+ needsElementRefDivForEditing: Ii,
4812
+ getWrapperClassName: Bi
4801
4813
  };
4802
4814
  },
4803
4815
  provide() {
4804
4816
  const e = this;
4805
4817
  return {
4806
- [fe.key]: e.builderContextSignal
4818
+ [be.key]: e.builderContextSignal
4807
4819
  };
4808
4820
  },
4809
4821
  created() {
@@ -4815,13 +4827,13 @@ font-weight: ${s};
4815
4827
  A() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4816
4828
  new CustomEvent("initeditingbldr")
4817
4829
  );
4818
- const o = this.builderContextSignal.content && J(this.canTrack), r = Ie({
4830
+ const o = this.builderContextSignal.content && J(this.canTrack), r = $e({
4819
4831
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
4820
4832
  canTrack: !0
4821
4833
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
4822
4834
  if (o && i === r) {
4823
4835
  const s = (n = this.builderContextSignal.content) == null ? void 0 : n.id, l = this.apiKey;
4824
- Oe({
4836
+ xe({
4825
4837
  apiHost: this.apiHost,
4826
4838
  type: "impression",
4827
4839
  canTrack: !0,
@@ -4830,7 +4842,7 @@ font-weight: ${s};
4830
4842
  variationId: r !== s ? r : void 0
4831
4843
  });
4832
4844
  }
4833
- Re() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4845
+ Ee() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4834
4846
  new CustomEvent("initpreviewingbldr")
4835
4847
  );
4836
4848
  }
@@ -4932,7 +4944,7 @@ font-weight: ${s};
4932
4944
  this.builderContextSignal.content = n;
4933
4945
  },
4934
4946
  processMessage(e) {
4935
- return st({
4947
+ return at({
4936
4948
  model: this.model,
4937
4949
  trustedHosts: this.trustedHosts,
4938
4950
  callbacks: {
@@ -4946,7 +4958,7 @@ font-weight: ${s};
4946
4958
  });
4947
4959
  },
4948
4960
  animation: (t) => {
4949
- mt(t);
4961
+ ht(t);
4950
4962
  },
4951
4963
  contentUpdate: (t, n) => {
4952
4964
  this.mergeNewContent(t, n);
@@ -4961,14 +4973,14 @@ font-weight: ${s};
4961
4973
  var t, n;
4962
4974
  if (this.builderContextSignal.content) {
4963
4975
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
4964
- Oe({
4976
+ xe({
4965
4977
  apiHost: this.apiHost,
4966
4978
  type: "click",
4967
4979
  canTrack: J(this.canTrack),
4968
4980
  contentId: r,
4969
4981
  apiKey: this.apiKey,
4970
4982
  variationId: o !== r ? o : void 0,
4971
- ...Ci(e),
4983
+ ...Ti(e),
4972
4984
  unique: !this.clicked
4973
4985
  });
4974
4986
  }
@@ -5006,7 +5018,7 @@ font-weight: ${s};
5006
5018
  url: l,
5007
5019
  method: "GET"
5008
5020
  };
5009
- _e(JSON.stringify(a));
5021
+ et(JSON.stringify(a));
5010
5022
  const u = {
5011
5023
  method: a.method,
5012
5024
  headers: a.headers,
@@ -5034,7 +5046,7 @@ font-weight: ${s};
5034
5046
  "builder:component:stateChange",
5035
5047
  {
5036
5048
  detail: {
5037
- state: we(this.builderContextSignal.rootState),
5049
+ state: Ie(this.builderContextSignal.rootState),
5038
5050
  ref: {
5039
5051
  name: this.model
5040
5052
  }
@@ -5044,7 +5056,7 @@ font-weight: ${s};
5044
5056
  );
5045
5057
  },
5046
5058
  elementRef_onIniteditingbldr(e) {
5047
- window.addEventListener("message", this.processMessage), it({
5059
+ window.addEventListener("message", this.processMessage), st({
5048
5060
  ...this.locale ? {
5049
5061
  locale: this.locale
5050
5062
  } : {},
@@ -5064,7 +5076,7 @@ font-weight: ${s};
5064
5076
  ).forEach((t) => {
5065
5077
  var n, o;
5066
5078
  if (!((n = t.models) != null && n.length) || t.models.includes(this.model)) {
5067
- const r = rn(t);
5079
+ const r = sn(t);
5068
5080
  (o = window.parent) == null || o.postMessage(r, "*");
5069
5081
  }
5070
5082
  }), window.addEventListener(
@@ -5077,7 +5089,7 @@ font-weight: ${s};
5077
5089
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
5078
5090
  `builder.overrides.${n}`
5079
5091
  ), r = t.get("apiKey") || t.get("builder.space");
5080
- (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && Ae({
5092
+ (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && Be({
5081
5093
  model: this.model,
5082
5094
  apiKey: this.apiKey,
5083
5095
  apiVersion: this.builderContextSignal.apiVersion,
@@ -5092,7 +5104,7 @@ font-weight: ${s};
5092
5104
  }
5093
5105
  }
5094
5106
  });
5095
- function Vi(e, t, n, o, r, i) {
5107
+ function Ni(e, t, n, o, r, i) {
5096
5108
  var s, l, a;
5097
5109
  return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(X(e.ContentWrapper), I({
5098
5110
  key: 0,
@@ -5113,26 +5125,26 @@ function Vi(e, t, n, o, r, i) {
5113
5125
  _: 3
5114
5126
  }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : T("", !0);
5115
5127
  }
5116
- const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = y({
5128
+ const Wi = /* @__PURE__ */ v(Vi, [["render", Ni]]), Di = y({
5117
5129
  name: "content-styles",
5118
- components: { InlinedStyles: de },
5130
+ components: { InlinedStyles: ue },
5119
5131
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
5120
5132
  data() {
5121
5133
  return {
5122
5134
  injectedStyles: `
5123
- ${Ri({
5135
+ ${Ei({
5124
5136
  cssCode: this.cssCode,
5125
5137
  contentId: this.contentId
5126
5138
  })}
5127
- ${$i({
5139
+ ${Ri({
5128
5140
  customFonts: this.customFonts
5129
5141
  })}
5130
- ${Pi(this.isNestedRender)}
5142
+ ${Ai(this.isNestedRender)}
5131
5143
  `.trim()
5132
5144
  };
5133
5145
  }
5134
5146
  });
5135
- function Di(e, t, n, o, r, i) {
5147
+ function Oi(e, t, n, o, r, i) {
5136
5148
  const s = k("InlinedStyles");
5137
5149
  return d(), S(s, {
5138
5150
  id: "builderio-content",
@@ -5140,7 +5152,7 @@ function Di(e, t, n, o, r, i) {
5140
5152
  nonce: e.nonce
5141
5153
  }, null, 8, ["styles", "nonce"]);
5142
5154
  }
5143
- const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
5155
+ const xi = /* @__PURE__ */ v(Di, [["render", Oi]]), Ui = ({
5144
5156
  content: e,
5145
5157
  data: t,
5146
5158
  locale: n
@@ -5157,7 +5169,7 @@ const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
5157
5169
  locale: n
5158
5170
  } : {}
5159
5171
  };
5160
- }, Ui = ({
5172
+ }, Fi = ({
5161
5173
  content: e,
5162
5174
  data: t
5163
5175
  }) => e ? {
@@ -5167,12 +5179,12 @@ const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
5167
5179
  ...t
5168
5180
  },
5169
5181
  meta: e == null ? void 0 : e.meta
5170
- } : void 0, Fi = Tt, Li = y({
5182
+ } : void 0, Li = wt, Hi = y({
5171
5183
  name: "content-component",
5172
5184
  components: {
5173
- EnableEditor: Ni,
5174
- InlinedScript: Ne,
5175
- ContentStyles: Oi,
5185
+ EnableEditor: Wi,
5186
+ InlinedScript: We,
5187
+ ContentStyles: xi,
5176
5188
  Blocks: j,
5177
5189
  DynamicDiv: te
5178
5190
  },
@@ -5203,32 +5215,32 @@ const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
5203
5215
  data() {
5204
5216
  var e, t;
5205
5217
  return {
5206
- scriptStr: vi({
5218
+ scriptStr: Si({
5207
5219
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5208
5220
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
5209
5221
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5210
5222
  contentId: (t = this.content) == null ? void 0 : t.id
5211
5223
  }),
5212
5224
  registeredComponents: [
5213
- ...Ke(),
5225
+ ...Je(),
5214
5226
  ...this.customComponents || []
5215
5227
  ].reduce(
5216
5228
  (n, { component: o, ...r }) => ({
5217
5229
  ...n,
5218
5230
  [r.name]: {
5219
- component: Fi(o),
5220
- ...ae(r)
5231
+ component: Li(o),
5232
+ ...le(r)
5221
5233
  }
5222
5234
  }),
5223
5235
  {}
5224
5236
  ),
5225
5237
  builderContextSignal: {
5226
- content: Ui({
5238
+ content: Fi({
5227
5239
  content: this.content,
5228
5240
  data: this.data
5229
5241
  }),
5230
5242
  localState: void 0,
5231
- rootState: xi({
5243
+ rootState: Ui({
5232
5244
  content: this.content,
5233
5245
  data: this.data,
5234
5246
  locale: this.locale
@@ -5239,12 +5251,12 @@ const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
5239
5251
  apiKey: this.apiKey,
5240
5252
  apiVersion: this.apiVersion,
5241
5253
  componentInfos: [
5242
- ...Ke(),
5254
+ ...Je(),
5243
5255
  ...this.customComponents || []
5244
5256
  ].reduce(
5245
5257
  (n, { component: o, ...r }) => ({
5246
5258
  ...n,
5247
- [r.name]: ae(r)
5259
+ [r.name]: le(r)
5248
5260
  }),
5249
5261
  {}
5250
5262
  ),
@@ -5260,7 +5272,7 @@ const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
5260
5272
  provide() {
5261
5273
  const e = this;
5262
5274
  return {
5263
- [et.key]: {
5275
+ [tt.key]: {
5264
5276
  registeredComponents: e.registeredComponents
5265
5277
  }
5266
5278
  };
@@ -5304,7 +5316,7 @@ const Oi = /* @__PURE__ */ v(Wi, [["render", Di]]), xi = ({
5304
5316
  }
5305
5317
  }
5306
5318
  });
5307
- function Hi(e, t, n, o, r, i) {
5319
+ function Mi(e, t, n, o, r, i) {
5308
5320
  const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
5309
5321
  return d(), S(u, I({
5310
5322
  apiHost: e.apiHost,
@@ -5353,12 +5365,12 @@ function Hi(e, t, n, o, r, i) {
5353
5365
  _: 1
5354
5366
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "enrichOptions", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5355
5367
  }
5356
- const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5368
+ const zi = /* @__PURE__ */ v(Hi, [["render", Mi]]), ji = y({
5357
5369
  name: "content-variants",
5358
5370
  components: {
5359
- InlinedScript: Ne,
5360
- InlinedStyles: de,
5361
- ContentComponent: Mi
5371
+ InlinedScript: We,
5372
+ InlinedStyles: ue,
5373
+ ContentComponent: zi
5362
5374
  },
5363
5375
  props: [
5364
5376
  "canTrack",
@@ -5384,16 +5396,16 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5384
5396
  ],
5385
5397
  data() {
5386
5398
  return {
5387
- shouldRenderVariants: hi({
5399
+ shouldRenderVariants: fi({
5388
5400
  canTrack: J(this.canTrack),
5389
5401
  content: this.content
5390
5402
  }),
5391
- shouldEmitPersonalizationFns: Ao(this.content),
5392
- SDKS_SUPPORTING_PERSONALIZATION: vt,
5393
- getInitPersonalizationVariantsFnsScriptString: Bo,
5403
+ shouldEmitPersonalizationFns: Bo(this.content),
5404
+ SDKS_SUPPORTING_PERSONALIZATION: St,
5405
+ getInitPersonalizationVariantsFnsScriptString: Vo,
5394
5406
  TARGET: R,
5395
- getInitVariantsFnsScriptString: gi,
5396
- getVariants: re
5407
+ getInitVariantsFnsScriptString: yi,
5408
+ getVariants: ie
5397
5409
  };
5398
5410
  },
5399
5411
  mounted() {
@@ -5401,8 +5413,8 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5401
5413
  computed: {
5402
5414
  updateCookieAndStylesScriptStr() {
5403
5415
  var e;
5404
- return yi(
5405
- re(this.content).map((t) => ({
5416
+ return vi(
5417
+ ie(this.content).map((t) => ({
5406
5418
  id: t.testVariationId,
5407
5419
  testRatio: t.testRatio
5408
5420
  })),
@@ -5410,21 +5422,21 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5410
5422
  );
5411
5423
  },
5412
5424
  hideVariantsStyleString() {
5413
- return re(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
5425
+ return ie(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
5414
5426
  },
5415
5427
  defaultContent() {
5416
5428
  var e;
5417
5429
  return this.shouldRenderVariants ? {
5418
5430
  ...this.content,
5419
5431
  testVariationId: (e = this.content) == null ? void 0 : e.id
5420
- } : fn({
5432
+ } : bn({
5421
5433
  item: this.content,
5422
5434
  canTrack: J(this.canTrack)
5423
5435
  });
5424
5436
  }
5425
5437
  }
5426
5438
  });
5427
- function ji(e, t, n, o, r, i) {
5439
+ function qi(e, t, n, o, r, i) {
5428
5440
  const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
5429
5441
  return d(), h(w, null, [
5430
5442
  e.shouldEmitPersonalizationFns ? (d(), h(w, { key: 0 }, [
@@ -5505,13 +5517,13 @@ function ji(e, t, n, o, r, i) {
5505
5517
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5506
5518
  ], 64);
5507
5519
  }
5508
- const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5520
+ const Ki = /* @__PURE__ */ v(ji, [["render", qi]]), Ji = async ({
5509
5521
  builderContextValue: e,
5510
5522
  symbol: t
5511
5523
  }) => {
5512
5524
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5513
5525
  (e != null && e.apiKey))
5514
- return Ae({
5526
+ return Be({
5515
5527
  model: t.model,
5516
5528
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
5517
5529
  apiVersion: e.apiVersion,
@@ -5523,9 +5535,9 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5523
5535
  }).catch((n) => {
5524
5536
  F.error("Could not fetch symbol content: ", n);
5525
5537
  });
5526
- }, Ji = y({
5538
+ }, Gi = y({
5527
5539
  name: "builder-symbol",
5528
- components: { ContentVariants: qi, DynamicDiv: te },
5540
+ components: { ContentVariants: Ki, DynamicDiv: te },
5529
5541
  props: [
5530
5542
  "symbol",
5531
5543
  "builderComponents",
@@ -5582,7 +5594,7 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5582
5594
  methods: {
5583
5595
  setContent() {
5584
5596
  var e;
5585
- this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Ki({
5597
+ this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Ji({
5586
5598
  symbol: this.symbol,
5587
5599
  builderContextValue: this.builderContext
5588
5600
  }).then((t) => {
@@ -5592,7 +5604,7 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5592
5604
  }
5593
5605
  }
5594
5606
  });
5595
- function Gi(e, t, n, o, r, i) {
5607
+ function Qi(e, t, n, o, r, i) {
5596
5608
  var l, a, u, p, b, c, m;
5597
5609
  const s = k("ContentVariants");
5598
5610
  return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -5620,43 +5632,44 @@ function Gi(e, t, n, o, r, i) {
5620
5632
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5621
5633
  ], 16);
5622
5634
  }
5623
- const Qi = /* @__PURE__ */ v(Ji, [["render", Gi]]);
5635
+ const Yi = /* @__PURE__ */ v(Gi, [["render", Qi]]);
5624
5636
  export {
5625
- Ae as A,
5626
- gt as B,
5627
- ao as C,
5628
- Zi as D,
5629
- as as E,
5630
- uo as F,
5631
- vo as I,
5632
- Co as S,
5633
- ur as T,
5634
- di as V,
5637
+ Pn as A,
5638
+ yt as B,
5639
+ lo as C,
5640
+ Be as D,
5641
+ _i as E,
5642
+ po as F,
5643
+ cs as G,
5644
+ So as I,
5645
+ To as S,
5646
+ pr as T,
5647
+ ui as V,
5635
5648
  v as _,
5636
5649
  M as a,
5637
- fe as b,
5638
- de as c,
5639
- oo as d,
5650
+ be as b,
5651
+ ue as c,
5652
+ ss as d,
5640
5653
  ee as e,
5641
- is as f,
5642
- ss as g,
5643
- ls as h,
5644
- Be as i,
5645
- on as j,
5646
- Lt as k,
5647
- Qi as l,
5648
- j as m,
5649
- qi as n,
5650
- Re as o,
5651
- rn as p,
5652
- es as q,
5653
- _i as r,
5654
- os as s,
5654
+ ro as f,
5655
+ ls as g,
5656
+ as as h,
5657
+ ds as i,
5658
+ Ve as j,
5659
+ rn as k,
5660
+ Ht as l,
5661
+ Yi as m,
5662
+ j as n,
5663
+ Ki as o,
5664
+ Ee as p,
5665
+ sn as q,
5666
+ es as r,
5667
+ rs as s,
5655
5668
  ts as t,
5656
- ot as u,
5657
- ns as v,
5658
- Fi as w,
5659
- rs as x,
5660
- Rn as y,
5669
+ ns as u,
5670
+ rt as v,
5671
+ Li as w,
5672
+ os as x,
5673
+ is as y,
5661
5674
  En as z
5662
5675
  };