@builder.io/sdk-vue 2.0.14-6 → 2.0.15

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 (76) hide show
  1. package/lib/{edge/block-styles-zRPUnWLf.js → browser/block-styles-3kNIHbfo.js} +6 -6
  2. package/lib/browser/block-styles-mYBwPtv0.cjs +1 -0
  3. package/lib/browser/{block-wrapper-hPYvxseU.js → block-wrapper-N1PMQPGA.js} +3 -3
  4. package/lib/browser/{block-wrapper-l_mdj42t.cjs → block-wrapper-mGepkLsD.cjs} +1 -1
  5. package/lib/browser/{component-ref-dPnPtrON.cjs → component-ref-D4a8WUvU.cjs} +1 -1
  6. package/lib/browser/{component-ref-JlpkOrad.js → component-ref-eSpEv_vu.js} +2 -2
  7. package/lib/browser/constants/sdk-version.d.ts +1 -1
  8. package/lib/{edge/get-block-properties-PLBPSz3W.js → browser/get-block-properties--gxTb6u9.js} +13 -13
  9. package/lib/browser/get-block-properties-1Vr9AX-f.cjs +1 -0
  10. package/lib/browser/{index-ZL8QUFiN.js → index-dh7iM10N.js} +552 -546
  11. package/lib/browser/index-vQfvmzgX.cjs +166 -0
  12. package/lib/browser/index.cjs +1 -1
  13. package/lib/browser/index.mjs +1 -1
  14. package/lib/browser/{repeated-block-8EN4xN25.js → repeated-block-CnX7KaV3.js} +2 -2
  15. package/lib/browser/{repeated-block-uV-zuqkw.cjs → repeated-block-zZGzC5Ez.cjs} +1 -1
  16. package/lib/browser/server-index.d.ts +1 -0
  17. package/lib/{node/block-styles-gLB-jSXN.js → edge/block-styles-IJpbU1il.js} +12 -13
  18. package/lib/edge/block-styles-c-t5DB1d.cjs +1 -0
  19. package/lib/{node/block-wrapper-frfIIST_.js → edge/block-wrapper-UEsTg8bU.js} +3 -3
  20. package/lib/edge/{block-wrapper-9IWz2vxg.cjs → block-wrapper-cbxxzz21.cjs} +1 -1
  21. package/lib/{node/component-ref-IbarjSnq.js → edge/component-ref-2h-cUV3Z.js} +2 -2
  22. package/lib/{node/component-ref-ZlBAzimq.cjs → edge/component-ref-pqmk5wUc.cjs} +1 -1
  23. package/lib/edge/constants/sdk-version.d.ts +1 -1
  24. package/lib/{node/get-block-properties-QIsIgfnu.js → edge/get-block-properties-S3qjKi7G.js} +16 -17
  25. package/lib/edge/get-block-properties-egDFLKDW.cjs +1 -0
  26. package/lib/edge/{index-TGe9_80q.js → index-BN18YEfB.js} +843 -837
  27. package/lib/edge/{index-5-C3UhJz.cjs → index-NQs12e6I.cjs} +31 -31
  28. package/lib/edge/index.cjs +1 -1
  29. package/lib/edge/index.mjs +1 -1
  30. package/lib/edge/{repeated-block-_9Gs2AOY.js → repeated-block-3py1q2sc.js} +2 -2
  31. package/lib/{node/repeated-block-ZpVu-xdw.cjs → edge/repeated-block-IMmb2AE9.cjs} +1 -1
  32. package/lib/edge/server-index.d.ts +1 -0
  33. package/lib/{browser/block-styles-nWGppwAf.js → node/block-styles-E0MOJgK4.js} +12 -14
  34. package/lib/node/block-styles-VaKrzGA5.cjs +1 -0
  35. package/lib/node/{block-wrapper-cCYzfiv5.cjs → block-wrapper-TvqPY7Mt.cjs} +1 -1
  36. package/lib/{edge/block-wrapper-x7ERONr-.js → node/block-wrapper-cHgl5RuV.js} +5 -5
  37. package/lib/{edge/component-ref-eV0RBAzs.cjs → node/component-ref-fYSFTWDE.cjs} +1 -1
  38. package/lib/{edge/component-ref-JRfa9Vwo.js → node/component-ref-gqNpKniv.js} +2 -2
  39. package/lib/node/constants/sdk-version.d.ts +1 -1
  40. package/lib/{browser/get-block-properties-HzVZCpxa.js → node/get-block-properties-AZMTucap.js} +18 -20
  41. package/lib/node/get-block-properties-IntKgx2x.cjs +1 -0
  42. package/lib/node/index-ozkdxROi.cjs +213 -0
  43. package/lib/node/{index-BugETl2c.js → index-xSGjb-sL.js} +1123 -907
  44. package/lib/node/index.cjs +1 -1
  45. package/lib/node/index.mjs +16 -17
  46. package/lib/node/{repeated-block-Z-_chLeZ.js → repeated-block-WqJu5DET.js} +2 -2
  47. package/lib/{edge/repeated-block-FB2jF4o_.cjs → node/repeated-block-wW6CINnA.cjs} +1 -1
  48. package/lib/node/server-index.d.ts +1 -0
  49. package/nuxt.js +0 -13
  50. package/package.json +2 -8
  51. package/lib/browser/block-styles-rt4v7rBl.cjs +0 -1
  52. package/lib/browser/get-block-properties-sInACBRh.cjs +0 -1
  53. package/lib/browser/index-MDNnQzZB.cjs +0 -166
  54. package/lib/browser/init.cjs +0 -8
  55. package/lib/browser/init.d.cts +0 -14
  56. package/lib/browser/init.d.mts +0 -14
  57. package/lib/browser/init.mjs +0 -65
  58. package/lib/browser/logger-0-1mARBa.cjs +0 -1
  59. package/lib/browser/logger-Hm2e1Xk_.js +0 -12
  60. package/lib/edge/block-styles-Ta3OQAmE.cjs +0 -1
  61. package/lib/edge/get-block-properties-Dy3XF05J.cjs +0 -1
  62. package/lib/edge/init.cjs +0 -8
  63. package/lib/edge/init.d.cts +0 -14
  64. package/lib/edge/init.d.mts +0 -14
  65. package/lib/edge/init.mjs +0 -64
  66. package/lib/edge/logger-I8FmJD_1.js +0 -11
  67. package/lib/edge/logger-U9-0vDJK.cjs +0 -1
  68. package/lib/node/block-styles-u7KGnyuc.cjs +0 -1
  69. package/lib/node/get-block-properties-2Q2lr9bu.cjs +0 -1
  70. package/lib/node/index-s5vEnK-M.cjs +0 -166
  71. package/lib/node/init.cjs +0 -1
  72. package/lib/node/init.d.cts +0 -14
  73. package/lib/node/init.d.mts +0 -14
  74. package/lib/node/init.mjs +0 -11
  75. package/lib/node/node-runtime-0rF8vJwU.js +0 -233
  76. package/lib/node/node-runtime-Bqb5TnyM.cjs +0 -48
@@ -1,10 +1,9 @@
1
- var ut = Object.defineProperty;
2
- var pt = (e, t, n) => t in e ? ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var ne = (e, t, n) => (pt(e, typeof t != "symbol" ? t + "" : t, n), n);
1
+ var pt = Object.defineProperty;
2
+ var mt = (e, t, n) => t in e ? pt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var oe = (e, t, n) => (mt(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import "./style.css";
5
- import { defineComponent as f, openBlock as c, createElementBlock as m, Fragment as w, createBlock as g, resolveDynamicComponent as K, mergeProps as C, toHandlers as P, withCtx as N, renderSlot as x, resolveComponent as y, createTextVNode as mt, toDisplayString as te, defineAsyncComponent as j, createVNode as $, renderList as A, createCommentVNode as S, h as xe, createElementVNode as z, normalizeStyle as D, normalizeClass as J, markRaw as ht } from "vue";
6
- import { T as E, l as B } from "./logger-Hm2e1Xk_.js";
7
- const ft = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), bt = (e) => typeof e == "string" && ft.has(e.toLowerCase());
5
+ import { defineComponent as f, openBlock as c, createElementBlock as m, Fragment as w, createBlock as g, resolveDynamicComponent as K, mergeProps as C, toHandlers as P, withCtx as N, renderSlot as x, resolveComponent as y, createTextVNode as ht, toDisplayString as ne, defineAsyncComponent as j, createVNode as $, renderList as A, createCommentVNode as S, h as Ae, createElementVNode as z, normalizeStyle as D, normalizeClass as J, markRaw as ft } from "vue";
6
+ const bt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), gt = (e) => typeof e == "string" && bt.has(e.toLowerCase());
8
7
  function V(e = {}, t, n) {
9
8
  const o = {};
10
9
  for (const r in e) {
@@ -15,11 +14,11 @@ function V(e = {}, t, n) {
15
14
  }
16
15
  return o;
17
16
  }
18
- const gt = f({
17
+ const yt = f({
19
18
  name: "dynamic-renderer",
20
19
  props: ["TagName", "attributes", "actionAttributes"],
21
20
  data() {
22
- return { isEmptyElement: bt };
21
+ return { isEmptyElement: gt };
23
22
  }
24
23
  }), b = (e, t) => {
25
24
  const n = e.__vccOpts || e;
@@ -27,7 +26,7 @@ const gt = f({
27
26
  n[o] = r;
28
27
  return n;
29
28
  };
30
- function yt(e, t, n, o, r, i) {
29
+ function kt(e, t, n, o, r, i) {
31
30
  return e.isEmptyElement(e.TagName) ? (c(), g(K(e.TagName), C({ key: 1 }, e.attributes, P(e.actionAttributes)), null, 16)) : (c(), m(w, { key: 0 }, [
32
31
  typeof e.TagName == "string" ? (c(), g(K(e.TagName), C({ key: 0 }, e.attributes, P(e.actionAttributes)), {
33
32
  default: N(() => [
@@ -42,10 +41,10 @@ function yt(e, t, n, o, r, i) {
42
41
  }, 16))
43
42
  ], 64));
44
43
  }
45
- const pe = /* @__PURE__ */ b(gt, [["render", yt]]), Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
+ const me = /* @__PURE__ */ b(yt, [["render", kt]]), Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
46
45
  __proto__: null,
47
- default: pe
48
- }, Symbol.toStringTag, { value: "Module" })), _ = () => {
46
+ default: me
47
+ }, Symbol.toStringTag, { value: "Module" })), E = "vue", ee = () => {
49
48
  switch (E) {
50
49
  case "react":
51
50
  case "reactNative":
@@ -58,9 +57,9 @@ const pe = /* @__PURE__ */ b(gt, [["render", yt]]), Vi = /* @__PURE__ */ Object.
58
57
  case "angular":
59
58
  return "class";
60
59
  }
61
- }, kt = f({
60
+ }, vt = f({
62
61
  name: "builder-button",
63
- components: { DynamicRenderer: pe },
62
+ components: { DynamicRenderer: me },
64
63
  props: [
65
64
  "attributes",
66
65
  "link",
@@ -75,7 +74,7 @@ const pe = /* @__PURE__ */ b(gt, [["render", yt]]), Vi = /* @__PURE__ */ Object.
75
74
  attrs() {
76
75
  return {
77
76
  ...V(this.attributes, "v-on:", !1),
78
- [_()]: `${this.link ? "" : "builder-button"} ${this.attributes[_()] || ""}`,
77
+ [ee()]: `${this.link ? "" : "builder-button"} ${this.attributes[ee()] || ""}`,
79
78
  ...this.link ? {
80
79
  href: this.link,
81
80
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -87,7 +86,7 @@ const pe = /* @__PURE__ */ b(gt, [["render", yt]]), Vi = /* @__PURE__ */ Object.
87
86
  }
88
87
  }
89
88
  });
90
- function vt(e, t, n, o, r, i) {
89
+ function St(e, t, n, o, r, i) {
91
90
  const s = y("DynamicRenderer");
92
91
  return c(), g(s, {
93
92
  attributes: e.attrs(),
@@ -95,12 +94,12 @@ function vt(e, t, n, o, r, i) {
95
94
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
96
95
  }, {
97
96
  default: N(() => [
98
- mt(te(e.text), 1)
97
+ ht(ne(e.text), 1)
99
98
  ]),
100
99
  _: 1
101
100
  }, 8, ["attributes", "TagName", "actionAttributes"]);
102
101
  }
103
- const St = /* @__PURE__ */ b(kt, [["render", vt]]), Ct = Symbol(), le = {
102
+ const Ct = /* @__PURE__ */ b(vt, [["render", St]]), wt = Symbol(), ce = {
104
103
  Builder: {
105
104
  content: null,
106
105
  context: {},
@@ -116,48 +115,54 @@ const St = /* @__PURE__ */ b(kt, [["render", vt]]), Ct = Symbol(), le = {
116
115
  BlocksWrapperProps: {},
117
116
  nonce: ""
118
117
  },
119
- key: Ct
120
- }, wt = Symbol(), Ae = {
121
- Components: { registeredComponents: {} },
122
118
  key: wt
119
+ }, Tt = Symbol(), Ve = {
120
+ Components: { registeredComponents: {} },
121
+ key: Tt
123
122
  };
124
- function Tt(e) {
123
+ function It(e) {
125
124
  var t;
126
125
  return {
127
126
  ...(t = e.component) == null ? void 0 : t.options,
128
127
  ...e.options
129
128
  };
130
129
  }
131
- function It(e, ...t) {
130
+ function $t(e, ...t) {
132
131
  const n = Object.assign({}, e);
133
132
  for (const o of t)
134
133
  delete n[o];
135
134
  return n;
136
135
  }
136
+ const Z = "[Builder.io]: ", B = {
137
+ log: (...e) => console.log(Z, ...e),
138
+ error: (...e) => console.error(Z, ...e),
139
+ warn: (...e) => console.warn(Z, ...e),
140
+ debug: (...e) => console.debug(Z, ...e)
141
+ };
137
142
  function I() {
138
143
  return typeof window < "u" && typeof document < "u";
139
144
  }
140
- const $t = (e) => {
145
+ const Rt = (e) => {
141
146
  const t = {};
142
147
  return e.forEach((n, o) => {
143
148
  t[o] = n;
144
149
  }), t;
145
- }, Ve = (e) => e instanceof URLSearchParams ? $t(e) : e, We = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
146
- function Rt() {
150
+ }, We = (e) => e instanceof URLSearchParams ? Rt(e) : e, Ne = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
151
+ function Bt() {
147
152
  return I() && window.self !== window.top;
148
153
  }
149
154
  function R(e) {
150
- return Rt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
151
- We(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
155
+ return Bt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
156
+ Ne(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
152
157
  }
153
- const Bt = () => {
158
+ const Et = () => {
154
159
  if (I()) {
155
160
  const e = new URL(location.href);
156
161
  return e.pathname === "" && (e.pathname = "/"), e;
157
162
  } else
158
163
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
159
- }, Et = () => typeof navigator == "object" && navigator.userAgent || "", Ne = () => {
160
- const e = Et(), t = {
164
+ }, Pt = () => typeof navigator == "object" && navigator.userAgent || "", Oe = () => {
165
+ const e = Pt(), t = {
161
166
  Android() {
162
167
  return e.match(/Android/i);
163
168
  },
@@ -176,13 +181,13 @@ const Bt = () => {
176
181
  any() {
177
182
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || E === "reactNative";
178
183
  }
179
- }, n = e.match(/Tablet|iPad/i), o = Bt();
184
+ }, n = e.match(/Tablet|iPad/i), o = Et();
180
185
  return {
181
186
  urlPath: o == null ? void 0 : o.pathname,
182
187
  host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
183
188
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
184
189
  };
185
- }, Pt = ({
190
+ }, xt = ({
186
191
  builder: e,
187
192
  context: t,
188
193
  event: n,
@@ -194,14 +199,14 @@ const Bt = () => {
194
199
  builder: e,
195
200
  context: t,
196
201
  event: n
197
- }), xt = () => ({
202
+ }), At = () => ({
198
203
  isEditing: R(),
199
204
  isBrowser: I(),
200
205
  isServer: !I(),
201
- getUserAttributes: () => Ne()
202
- }), At = (e, {
206
+ getUserAttributes: () => Oe()
207
+ }), Vt = (e, {
203
208
  isExpression: t = !0
204
- }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, Se = ({
209
+ }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, Ce = ({
205
210
  code: e,
206
211
  builder: t,
207
212
  context: n,
@@ -210,11 +215,11 @@ const Bt = () => {
210
215
  rootSetState: i,
211
216
  rootState: s
212
217
  }) => {
213
- const l = Pt({
218
+ const l = xt({
214
219
  builder: t,
215
220
  context: n,
216
221
  event: o,
217
- state: Oe({
222
+ state: Fe({
218
223
  rootState: s,
219
224
  localState: r,
220
225
  rootSetState: i
@@ -222,7 +227,7 @@ const Bt = () => {
222
227
  });
223
228
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
224
229
  };
225
- function Oe({
230
+ function Fe({
226
231
  rootState: e,
227
232
  localState: t,
228
233
  rootSetState: n
@@ -232,7 +237,7 @@ function Oe({
232
237
  if (t && r in t)
233
238
  return t[r];
234
239
  const i = o[r];
235
- return typeof i == "object" && i !== null ? Oe({
240
+ return typeof i == "object" && i !== null ? Fe({
236
241
  rootState: i,
237
242
  localState: void 0,
238
243
  rootSetState: n ? (s) => {
@@ -248,17 +253,17 @@ function Oe({
248
253
  });
249
254
  }
250
255
  const L = (e) => e != null;
251
- function Vt() {
256
+ function Wt() {
252
257
  var e;
253
258
  return typeof process < "u" && L((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
254
259
  }
255
- const Wt = () => {
260
+ const Nt = () => {
256
261
  var o;
257
- if (!Vt())
262
+ if (!Wt())
258
263
  return !1;
259
264
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
260
265
  return e && t && !n ? (B.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
261
- }, Nt = (e) => (I() || Wt(), Se(e)), Ot = !0, W = class W {
266
+ }, Ot = (e) => (I() || Nt(), Ce(e)), Ft = !0, W = class W {
262
267
  static getCacheKey(t) {
263
268
  return JSON.stringify({
264
269
  ...t,
@@ -276,7 +281,7 @@ const Wt = () => {
276
281
  });
277
282
  }
278
283
  };
279
- ne(W, "cacheLimit", 20), ne(W, "cache", /* @__PURE__ */ new Map());
284
+ oe(W, "cacheLimit", 20), oe(W, "cache", /* @__PURE__ */ new Map());
280
285
  let U = W;
281
286
  function G({
282
287
  code: e,
@@ -291,23 +296,23 @@ function G({
291
296
  if (e === "")
292
297
  return;
293
298
  const a = {
294
- code: At(e, {
299
+ code: Vt(e, {
295
300
  isExpression: s
296
301
  }),
297
- builder: xt(),
302
+ builder: At(),
298
303
  context: t,
299
304
  event: i,
300
305
  rootSetState: r,
301
306
  rootState: o,
302
307
  localState: n
303
308
  };
304
- if (l && !Ot) {
309
+ if (l && !Ft) {
305
310
  const u = U.getCacheKey(a), h = U.getCachedValue(u);
306
311
  if (h)
307
312
  return h.value;
308
313
  }
309
314
  try {
310
- const u = Nt(a);
315
+ const u = Ot(a);
311
316
  if (l) {
312
317
  const h = U.getCacheKey(a);
313
318
  U.setCachedValue(h, u);
@@ -320,27 +325,27 @@ function G({
320
325
  return;
321
326
  }
322
327
  }
323
- const me = (e) => JSON.parse(JSON.stringify(e)), Fe = (e, t, n) => {
328
+ const he = (e) => JSON.parse(JSON.stringify(e)), De = (e, t, n) => {
324
329
  if (Object(e) !== e)
325
330
  return e;
326
331
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
327
332
  return o.slice(0, -1).reduce((r, i, s) => Object(r[i]) === r[i] ? r[i] : r[i] = Math.abs(Number(o[s + 1])) >> 0 === +o[s + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
328
333
  };
329
- function ce(e) {
334
+ function de(e) {
330
335
  if (e === null || typeof e != "object")
331
336
  return e;
332
337
  if (Array.isArray(e))
333
- return e.map((n) => ce(n));
338
+ return e.map((n) => de(n));
334
339
  if (e["@type"] === "@builder.io/sdk:Element")
335
340
  return e;
336
341
  const t = {};
337
342
  for (const n in e)
338
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ce(e[n]));
343
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = de(e[n]));
339
344
  return t;
340
345
  }
341
- const Ft = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Dt = (e) => {
342
- if (Ft) {
343
- const t = me(e);
346
+ const Dt = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Lt = (e) => {
347
+ if (Dt) {
348
+ const t = he(e);
344
349
  return {
345
350
  ...t,
346
351
  properties: {
@@ -351,7 +356,7 @@ const Ft = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Dt = (e) =
351
356
  }
352
357
  };
353
358
  } else {
354
- const t = ce(It(e, "children", "meta"));
359
+ const t = de($t(e, "children", "meta"));
355
360
  return {
356
361
  ...t,
357
362
  properties: {
@@ -364,7 +369,7 @@ const Ft = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Dt = (e) =
364
369
  meta: e.meta
365
370
  };
366
371
  }
367
- }, Lt = ({
372
+ }, Ut = ({
368
373
  block: e,
369
374
  context: t,
370
375
  localState: n,
@@ -373,7 +378,7 @@ const Ft = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Dt = (e) =
373
378
  }) => {
374
379
  if (!e.bindings)
375
380
  return e;
376
- const i = Dt(e);
381
+ const i = Lt(e);
377
382
  for (const s in e.bindings) {
378
383
  const l = e.bindings[s], a = G({
379
384
  code: l,
@@ -383,11 +388,11 @@ const Ft = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Dt = (e) =
383
388
  context: t,
384
389
  enableCache: !0
385
390
  });
386
- Fe(i, s, a);
391
+ De(i, s, a);
387
392
  }
388
393
  return i;
389
394
  };
390
- function Ut({
395
+ function Mt({
391
396
  block: e,
392
397
  context: t,
393
398
  shouldEvaluateBindings: n,
@@ -396,7 +401,7 @@ function Ut({
396
401
  rootSetState: i
397
402
  }) {
398
403
  const s = e;
399
- return n ? Lt({
404
+ return n ? Ut({
400
405
  block: s,
401
406
  localState: o,
402
407
  rootState: r,
@@ -404,25 +409,25 @@ function Ut({
404
409
  context: t
405
410
  }) : s;
406
411
  }
407
- function Mt(e) {
412
+ function Ht(e) {
408
413
  const t = e || (I() ? window.location.search : void 0);
409
- return t ? We(t).indexOf("builder.preview=") !== -1 : !1;
414
+ return t ? Ne(t).indexOf("builder.preview=") !== -1 : !1;
410
415
  }
411
- const Ht = (e) => ({
416
+ const jt = (e) => ({
412
417
  type: "builder.registerComponent",
413
- data: ee(e)
414
- }), jt = (e) => {
418
+ data: te(e)
419
+ }), Kt = (e) => {
415
420
  const t = e.toString().trim();
416
421
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
417
422
  };
418
- function ee(e) {
419
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? jt(n) : n));
423
+ function te(e) {
424
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Kt(n) : n));
420
425
  }
421
- const Ce = {};
422
- function Kt(e, t) {
423
- e === "plugin" && (t = ee(t));
424
- let n = Ce[e];
425
- if (n || (n = Ce[e] = []), n.push(t), I()) {
426
+ const we = {};
427
+ function qt(e, t) {
428
+ e === "plugin" && (t = te(t));
429
+ let n = we[e];
430
+ if (n || (n = we[e] = []), n.push(t), I()) {
426
431
  const o = {
427
432
  type: "builder.register",
428
433
  data: {
@@ -437,38 +442,38 @@ function Kt(e, t) {
437
442
  }
438
443
  }
439
444
  }
440
- const we = {};
445
+ const Te = {};
441
446
  function Wi(e) {
442
447
  if (I()) {
443
- Object.assign(we, e);
448
+ Object.assign(Te, e);
444
449
  const t = {
445
450
  type: "builder.settingsChange",
446
- data: we
451
+ data: Te
447
452
  };
448
453
  parent.postMessage(t, "*");
449
454
  }
450
455
  }
451
- const Te = "builder.", qt = "options.", De = (e) => {
456
+ const Ie = "builder.", zt = "options.", Le = (e) => {
452
457
  if (!e)
453
458
  return {};
454
- const t = Ve(e), n = {};
459
+ const t = We(e), n = {};
455
460
  return Object.keys(t).forEach((o) => {
456
- if (o.startsWith(Te)) {
457
- const r = o.replace(Te, "").replace(qt, "");
461
+ if (o.startsWith(Ie)) {
462
+ const r = o.replace(Ie, "").replace(zt, "");
458
463
  n[r] = t[o];
459
464
  }
460
465
  }), n;
461
- }, zt = () => {
466
+ }, Jt = () => {
462
467
  if (!I())
463
468
  return {};
464
469
  const e = new URLSearchParams(window.location.search);
465
- return De(e);
466
- }, Jt = (e) => {
470
+ return Le(e);
471
+ }, Gt = (e) => {
467
472
  if (e === "localhost" || e === "127.0.0.1")
468
473
  return e;
469
474
  const t = e.split(".");
470
475
  return t.length > 2 ? t.slice(1).join(".") : e;
471
- }, Le = ({
476
+ }, Ue = ({
472
477
  name: e,
473
478
  canTrack: t
474
479
  }) => {
@@ -479,14 +484,14 @@ const Te = "builder.", qt = "options.", De = (e) => {
479
484
  B.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
480
485
  return;
481
486
  }
482
- }, Ue = async (e) => Le(e), Gt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(L).join("; "), Yt = [["secure", ""], ["SameSite", "None"]], Qt = ({
487
+ }, Me = async (e) => Ue(e), Yt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(L).join("; "), Qt = [["secure", ""], ["SameSite", "None"]], Xt = ({
483
488
  name: e,
484
489
  value: t,
485
490
  expires: n
486
491
  }) => {
487
- const r = (I() ? location.protocol === "https:" : !0) ? Yt : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Jt(window.location.hostname)], ...r];
488
- return Gt(s);
489
- }, Me = async ({
492
+ const r = (I() ? location.protocol === "https:" : !0) ? Qt : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Gt(window.location.hostname)], ...r];
493
+ return Yt(s);
494
+ }, He = async ({
490
495
  name: e,
491
496
  value: t,
492
497
  expires: n,
@@ -495,7 +500,7 @@ const Te = "builder.", qt = "options.", De = (e) => {
495
500
  try {
496
501
  if (!o)
497
502
  return;
498
- const r = Qt({
503
+ const r = Xt({
499
504
  name: e,
500
505
  value: t,
501
506
  expires: n
@@ -505,88 +510,88 @@ const Te = "builder.", qt = "options.", De = (e) => {
505
510
  B.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
506
511
  }
507
512
  };
508
- function Xt() {
513
+ function Zt() {
509
514
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
510
515
  const t = Math.random() * 16 | 0;
511
516
  return (e == "x" ? t : t & 3 | 8).toString(16);
512
517
  });
513
518
  }
514
- function He() {
515
- return Xt().replace(/-/g, "");
519
+ function je() {
520
+ return Zt().replace(/-/g, "");
516
521
  }
517
- const je = "builderSessionId", Zt = async ({
522
+ const Ke = "builderSessionId", _t = async ({
518
523
  canTrack: e
519
524
  }) => {
520
525
  if (!e)
521
526
  return;
522
- const t = await Ue({
523
- name: je,
527
+ const t = await Me({
528
+ name: Ke,
524
529
  canTrack: e
525
530
  });
526
531
  if (L(t))
527
532
  return t;
528
533
  {
529
- const n = _t();
530
- return en({
534
+ const n = en();
535
+ return tn({
531
536
  id: n,
532
537
  canTrack: e
533
538
  }), n;
534
539
  }
535
- }, _t = () => He(), en = ({
540
+ }, en = () => je(), tn = ({
536
541
  id: e,
537
542
  canTrack: t
538
- }) => Me({
539
- name: je,
543
+ }) => He({
544
+ name: Ke,
540
545
  value: e,
541
546
  canTrack: t
542
- }), Ke = () => I() && typeof localStorage < "u" ? localStorage : void 0, tn = ({
547
+ }), qe = () => I() && typeof localStorage < "u" ? localStorage : void 0, nn = ({
543
548
  key: e,
544
549
  canTrack: t
545
550
  }) => {
546
551
  var n;
547
552
  try {
548
- return t ? (n = Ke()) == null ? void 0 : n.getItem(e) : void 0;
553
+ return t ? (n = qe()) == null ? void 0 : n.getItem(e) : void 0;
549
554
  } catch (o) {
550
555
  console.debug("[LocalStorage] GET error: ", o);
551
556
  return;
552
557
  }
553
- }, nn = ({
558
+ }, on = ({
554
559
  key: e,
555
560
  canTrack: t,
556
561
  value: n
557
562
  }) => {
558
563
  var o;
559
564
  try {
560
- t && ((o = Ke()) == null || o.setItem(e, n));
565
+ t && ((o = qe()) == null || o.setItem(e, n));
561
566
  } catch (r) {
562
567
  console.debug("[LocalStorage] SET error: ", r);
563
568
  }
564
- }, qe = "builderVisitorId", on = ({
569
+ }, ze = "builderVisitorId", rn = ({
565
570
  canTrack: e
566
571
  }) => {
567
572
  if (!e)
568
573
  return;
569
- const t = tn({
570
- key: qe,
574
+ const t = nn({
575
+ key: ze,
571
576
  canTrack: e
572
577
  });
573
578
  if (L(t))
574
579
  return t;
575
580
  {
576
- const n = rn();
577
- return sn({
581
+ const n = sn();
582
+ return an({
578
583
  id: n,
579
584
  canTrack: e
580
585
  }), n;
581
586
  }
582
- }, rn = () => He(), sn = ({
587
+ }, sn = () => je(), an = ({
583
588
  id: e,
584
589
  canTrack: t
585
- }) => nn({
586
- key: qe,
590
+ }) => on({
591
+ key: ze,
587
592
  value: e,
588
593
  canTrack: t
589
- }), an = async ({
594
+ }), ln = async ({
590
595
  canTrack: e
591
596
  }) => {
592
597
  if (!e)
@@ -594,16 +599,16 @@ const je = "builderSessionId", Zt = async ({
594
599
  visitorId: void 0,
595
600
  sessionId: void 0
596
601
  };
597
- const t = await Zt({
602
+ const t = await _t({
598
603
  canTrack: e
599
- }), n = on({
604
+ }), n = rn({
600
605
  canTrack: e
601
606
  });
602
607
  return {
603
608
  sessionId: t,
604
609
  visitorId: n
605
610
  };
606
- }, ln = async ({
611
+ }, cn = async ({
607
612
  type: e,
608
613
  canTrack: t,
609
614
  apiKey: n,
@@ -617,14 +622,14 @@ const je = "builderSessionId", Zt = async ({
617
622
  url: location.href,
618
623
  ...o
619
624
  },
620
- ...await an({
625
+ ...await ln({
621
626
  canTrack: t
622
627
  }),
623
- userAttributes: Ne(),
628
+ userAttributes: Oe(),
624
629
  ownerId: n
625
630
  }
626
631
  });
627
- async function de(e) {
632
+ async function ue(e) {
628
633
  if (!e.apiKey) {
629
634
  B.error("Missing API key for track call. Please provide your API key.");
630
635
  return;
@@ -633,7 +638,7 @@ async function de(e) {
633
638
  return fetch("https://cdn.builder.io/api/v1/track", {
634
639
  method: "POST",
635
640
  body: JSON.stringify({
636
- events: [await ln(e)]
641
+ events: [await cn(e)]
637
642
  }),
638
643
  headers: {
639
644
  "content-type": "application/json"
@@ -643,18 +648,18 @@ async function de(e) {
643
648
  console.error("Failed to track: ", t);
644
649
  });
645
650
  }
646
- const Ni = (e) => de({
651
+ const Ni = (e) => ue({
647
652
  ...e,
648
653
  canTrack: !0
649
- }), cn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
650
- function ze(e, t) {
654
+ }), dn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
655
+ function Je(e, t) {
651
656
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
652
657
  return !1;
653
658
  const n = new URL(t.origin), o = n.hostname;
654
- return (e || cn).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
659
+ return (e || dn).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
655
660
  }
656
- const dn = "2.0.13", un = () => {
657
- Kt("insertMenu", {
661
+ const un = "2.0.15", pn = () => {
662
+ qt("insertMenu", {
658
663
  name: "_default",
659
664
  default: !0,
660
665
  items: [{
@@ -676,14 +681,14 @@ const dn = "2.0.13", un = () => {
676
681
  }]
677
682
  });
678
683
  };
679
- let Ie = !1;
680
- const Je = (e = {}) => {
684
+ let $e = !1;
685
+ const Ge = (e = {}) => {
681
686
  var t, n;
682
- Ie || (Ie = !0, I() && ((t = window.parent) == null || t.postMessage({
687
+ $e || ($e = !0, I() && ((t = window.parent) == null || t.postMessage({
683
688
  type: "builder.sdkInfo",
684
689
  data: {
685
690
  target: E,
686
- version: dn,
691
+ version: un,
687
692
  supportsPatchUpdates: !1,
688
693
  // Supports builder-model="..." attribute which is needed to
689
694
  // scope our '+ add block' button styling
@@ -697,7 +702,7 @@ const Je = (e = {}) => {
697
702
  }
698
703
  }, "*"), window.addEventListener("message", (o) => {
699
704
  var i, s;
700
- if (!ze(e.trustedHosts, o))
705
+ if (!Je(e.trustedHosts, o))
701
706
  return;
702
707
  const {
703
708
  data: r
@@ -738,12 +743,12 @@ const Je = (e = {}) => {
738
743
  }
739
744
  }
740
745
  })));
741
- }, Ge = ({
746
+ }, Ye = ({
742
747
  model: e,
743
748
  trustedHosts: t,
744
749
  callbacks: n
745
750
  }) => (o) => {
746
- if (!ze(t, o))
751
+ if (!Je(t, o))
747
752
  return;
748
753
  const {
749
754
  data: r
@@ -768,8 +773,8 @@ const Je = (e = {}) => {
768
773
  if (!I)
769
774
  return B.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
770
775
  };
771
- Je();
772
- const o = Ge({
776
+ Ge();
777
+ const o = Ye({
773
778
  callbacks: {
774
779
  contentUpdate: t,
775
780
  animation: () => {
@@ -783,24 +788,24 @@ const Je = (e = {}) => {
783
788
  return window.addEventListener("message", o), () => {
784
789
  window.removeEventListener("message", o);
785
790
  };
786
- }, pn = "builder.tests", he = (e) => `${pn}.${e}`, mn = ({
791
+ }, mn = "builder.tests", fe = (e) => `${mn}.${e}`, hn = ({
787
792
  contentId: e
788
- }) => Ue({
789
- name: he(e),
793
+ }) => Me({
794
+ name: fe(e),
790
795
  canTrack: !0
791
- }), hn = ({
796
+ }), fn = ({
792
797
  contentId: e
793
- }) => Le({
794
- name: he(e),
798
+ }) => Ue({
799
+ name: fe(e),
795
800
  canTrack: !0
796
- }), fn = ({
801
+ }), bn = ({
797
802
  contentId: e,
798
803
  value: t
799
- }) => Me({
800
- name: he(e),
804
+ }) => He({
805
+ name: fe(e),
801
806
  value: t,
802
807
  canTrack: !0
803
- }), Ye = (e) => L(e.id) && L(e.variations) && Object.keys(e.variations).length > 0, bn = ({
808
+ }), Qe = (e) => L(e.id) && L(e.variations) && Object.keys(e.variations).length > 0, gn = ({
804
809
  id: e,
805
810
  variations: t
806
811
  }) => {
@@ -813,15 +818,15 @@ const Je = (e = {}) => {
813
818
  return i;
814
819
  }
815
820
  return e;
816
- }, Qe = (e) => {
817
- const t = bn(e);
818
- return fn({
821
+ }, Xe = (e) => {
822
+ const t = gn(e);
823
+ return bn({
819
824
  contentId: e.id,
820
825
  value: t
821
826
  }).catch((n) => {
822
827
  B.error("could not store A/B test variation: ", n);
823
828
  }), t;
824
- }, Xe = ({
829
+ }, Ze = ({
825
830
  item: e,
826
831
  testGroupId: t
827
832
  }) => {
@@ -835,7 +840,7 @@ const Je = (e = {}) => {
835
840
  testVariationId: n.id,
836
841
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
837
842
  };
838
- }, gn = ({
843
+ }, yn = ({
839
844
  item: e,
840
845
  canTrack: t
841
846
  }) => {
@@ -843,14 +848,14 @@ const Je = (e = {}) => {
843
848
  return e;
844
849
  if (!e)
845
850
  return;
846
- if (!Ye(e))
851
+ if (!Qe(e))
847
852
  return e;
848
- const n = hn({
853
+ const n = fn({
849
854
  contentId: e.id
850
- }) || Qe({
855
+ }) || Xe({
851
856
  variations: e.variations,
852
857
  id: e.id
853
- }), o = Xe({
858
+ }), o = Ze({
854
859
  item: e,
855
860
  testGroupId: n
856
861
  });
@@ -858,18 +863,18 @@ const Je = (e = {}) => {
858
863
  ...e,
859
864
  ...o
860
865
  };
861
- }, yn = async ({
866
+ }, kn = async ({
862
867
  item: e,
863
868
  canTrack: t
864
869
  }) => {
865
- if (!t || !Ye(e))
870
+ if (!t || !Qe(e))
866
871
  return e;
867
- const o = await mn({
872
+ const o = await hn({
868
873
  contentId: e.id
869
- }) || Qe({
874
+ }) || Xe({
870
875
  variations: e.variations,
871
876
  id: e.id
872
- }), r = Xe({
877
+ }), r = Ze({
873
878
  item: e,
874
879
  testGroupId: o
875
880
  });
@@ -878,37 +883,37 @@ const Je = (e = {}) => {
878
883
  ...r
879
884
  };
880
885
  }, Y = (e) => L(e) ? e : !0;
881
- function kn() {
886
+ function vn() {
882
887
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
883
888
  }
884
- function vn() {
885
- const e = kn().fetch;
889
+ function Sn() {
890
+ const e = vn().fetch;
886
891
  if (typeof e > "u")
887
892
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
888
893
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
889
894
  return e;
890
895
  }
891
- const Ze = vn();
892
- function ue(e, t = null, n = ".") {
896
+ const _e = Sn();
897
+ function pe(e, t = null, n = ".") {
893
898
  return Object.keys(e).reduce((o, r) => {
894
899
  const i = e[r], s = [t, r].filter(Boolean).join(n);
895
900
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
896
901
  ...o,
897
- ...ue(i, s, n)
902
+ ...pe(i, s, n)
898
903
  } : {
899
904
  ...o,
900
905
  [s]: i
901
906
  };
902
907
  }, {});
903
908
  }
904
- function _e(e, t, n = {}) {
909
+ function et(e, t, n = {}) {
905
910
  for (const o in e) {
906
911
  const r = e[o], i = t ? t + "." + o : o;
907
- r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? _e(r, i, n) : n[i] = r;
912
+ r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? et(r, i, n) : n[i] = r;
908
913
  }
909
914
  return n;
910
915
  }
911
- const Sn = "v3", $e = (e) => typeof e == "number" && !isNaN(e) && e >= 0, fe = (e) => {
916
+ const Cn = "v3", Re = (e) => typeof e == "number" && !isNaN(e) && e >= 0, be = (e) => {
912
917
  const {
913
918
  limit: t = 30,
914
919
  userAttributes: n,
@@ -917,7 +922,7 @@ const Sn = "v3", $e = (e) => typeof e == "number" && !isNaN(e) && e >= 0, fe = (
917
922
  apiKey: i,
918
923
  enrich: s,
919
924
  locale: l,
920
- apiVersion: a = Sn,
925
+ apiVersion: a = Cn,
921
926
  fields: u,
922
927
  omit: h,
923
928
  offset: d,
@@ -931,46 +936,46 @@ const Sn = "v3", $e = (e) => typeof e == "number" && !isNaN(e) && e >= 0, fe = (
931
936
  if (!["v3"].includes(a))
932
937
  throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
933
938
  const X = t !== 1, T = new URL(`https://cdn.builder.io/api/${a}/content/${r}`);
934
- if (T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(X)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l), s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", h || "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(d) && d > -1 && T.searchParams.set("offset", String(Math.floor(d))), typeof O == "boolean" && T.searchParams.set("includeUnpublished", String(O)), p && $e(p) && T.searchParams.set("cacheSeconds", String(p)), k && $e(k) && T.searchParams.set("staleCacheSeconds", String(k)), v) {
935
- const F = ue({
939
+ if (T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(X)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l), s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", h || "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(d) && d > -1 && T.searchParams.set("offset", String(Math.floor(d))), typeof O == "boolean" && T.searchParams.set("includeUnpublished", String(O)), p && Re(p) && T.searchParams.set("cacheSeconds", String(p)), k && Re(k) && T.searchParams.set("staleCacheSeconds", String(k)), v) {
940
+ const F = pe({
936
941
  sort: v
937
942
  });
938
943
  for (const H in F)
939
944
  T.searchParams.set(H, JSON.stringify(F[H]));
940
945
  }
941
- const dt = {
942
- ...zt(),
943
- ...Ve(e.options || {})
944
- }, ve = ue(dt);
945
- for (const F in ve)
946
- T.searchParams.set(F, String(ve[F]));
946
+ const ut = {
947
+ ...Jt(),
948
+ ...We(e.options || {})
949
+ }, Se = pe(ut);
950
+ for (const F in Se)
951
+ T.searchParams.set(F, String(Se[F]));
947
952
  if (n && T.searchParams.set("userAttributes", JSON.stringify(n)), o) {
948
- const F = _e({
953
+ const F = et({
949
954
  query: o
950
955
  });
951
956
  for (const H in F)
952
957
  T.searchParams.set(H, JSON.stringify(F[H]));
953
958
  }
954
959
  return T;
955
- }, Cn = (e) => "results" in e;
956
- async function be(e) {
957
- const t = await In({
960
+ }, wn = (e) => "results" in e;
961
+ async function ge(e) {
962
+ const t = await $n({
958
963
  ...e,
959
964
  limit: 1
960
965
  });
961
966
  return t && t[0] || null;
962
967
  }
963
- const wn = async (e) => {
964
- const t = fe(e);
965
- return await (await (e.fetch ?? Ze)(t.href, e.fetchOptions)).json();
966
- }, Tn = async (e, t, n = fe(e)) => {
968
+ const Tn = async (e) => {
969
+ const t = be(e);
970
+ return await (await (e.fetch ?? _e)(t.href, e.fetchOptions)).json();
971
+ }, In = async (e, t, n = be(e)) => {
967
972
  const o = Y(e.canTrack);
968
973
  if (n.search.includes("preview="), !o || !(I() || E === "reactNative"))
969
974
  return t.results;
970
975
  try {
971
976
  const r = [];
972
977
  for (const i of t.results)
973
- r.push(await yn({
978
+ r.push(await kn({
974
979
  item: i,
975
980
  canTrack: o
976
981
  }));
@@ -980,10 +985,10 @@ const wn = async (e) => {
980
985
  }
981
986
  return t.results;
982
987
  };
983
- async function In(e) {
988
+ async function $n(e) {
984
989
  try {
985
- const t = fe(e), n = await wn(e);
986
- return Cn(n) ? Tn(e, n) : (B.error("Error fetching data. ", {
990
+ const t = be(e), n = await Tn(e);
991
+ return wn(n) ? In(e, n) : (B.error("Error fetching data. ", {
987
992
  url: t,
988
993
  content: n,
989
994
  options: e
@@ -1004,15 +1009,15 @@ const Fi = async (e) => {
1004
1009
  urlPath: t
1005
1010
  } : {}
1006
1011
  },
1007
- options: De(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
1012
+ options: Le(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
1008
1013
  };
1009
1014
  return {
1010
1015
  apiKey: n.apiKey,
1011
1016
  model: n.model,
1012
- content: await be(n)
1017
+ content: await ge(n)
1013
1018
  };
1014
- }, ge = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
1015
- function $n(e, t, n = {}) {
1019
+ }, ye = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
1020
+ function Rn(e, t, n = {}) {
1016
1021
  let o, r, i, s = null, l = 0;
1017
1022
  const a = function() {
1018
1023
  l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
@@ -1034,55 +1039,55 @@ function q(e, ...t) {
1034
1039
  }
1035
1040
  return n;
1036
1041
  }
1037
- function Rn(e) {
1042
+ function Bn(e) {
1038
1043
  for (const t of e)
1039
1044
  switch (t.trigger) {
1040
1045
  case "pageLoad":
1041
- nt(t);
1046
+ ot(t);
1042
1047
  break;
1043
1048
  case "scrollInView":
1044
- En(t);
1049
+ Pn(t);
1045
1050
  break;
1046
1051
  }
1047
1052
  }
1048
- function et(e) {
1053
+ function tt(e) {
1049
1054
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
1050
1055
  }
1051
- function tt(e, t) {
1052
- const n = Bn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
1056
+ function nt(e, t) {
1057
+ const n = En(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
1053
1058
  for (const l of s)
1054
1059
  for (const a of n)
1055
1060
  a in l || (l[a] = o[a]);
1056
1061
  }
1057
- function Bn(e) {
1062
+ function En(e) {
1058
1063
  const t = [];
1059
1064
  for (const n of e.steps)
1060
1065
  for (const o in n.styles)
1061
1066
  t.indexOf(o) === -1 && t.push(o);
1062
1067
  return t;
1063
1068
  }
1064
- function nt(e) {
1069
+ function ot(e) {
1065
1070
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1066
1071
  if (!t.length) {
1067
- et(e.elementId || e.id || "");
1072
+ tt(e.elementId || e.id || "");
1068
1073
  return;
1069
1074
  }
1070
1075
  Array.from(t).forEach((n) => {
1071
- tt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", q(n.style, e.steps[0].styles), setTimeout(() => {
1072
- n.style.transition = `all ${e.duration}s ${ge(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), q(n.style, e.steps[1].styles), setTimeout(() => {
1076
+ nt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", q(n.style, e.steps[0].styles), setTimeout(() => {
1077
+ n.style.transition = `all ${e.duration}s ${ye(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), q(n.style, e.steps[1].styles), setTimeout(() => {
1073
1078
  n.style.transition = "", n.style.transitionDelay = "";
1074
1079
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
1075
1080
  });
1076
1081
  });
1077
1082
  }
1078
- function En(e) {
1083
+ function Pn(e) {
1079
1084
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1080
1085
  if (!t.length) {
1081
- et(e.elementId || e.id || "");
1086
+ tt(e.elementId || e.id || "");
1082
1087
  return;
1083
1088
  }
1084
1089
  Array.from(t).forEach((n) => {
1085
- tt(e, n);
1090
+ nt(e, n);
1086
1091
  let o = !1, r = !1;
1087
1092
  function i() {
1088
1093
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
@@ -1091,7 +1096,7 @@ function En(e) {
1091
1096
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
1092
1097
  })) : e.repeat && o && !r && !l(n) && (o = !1, q(n.style, e.steps[0].styles));
1093
1098
  }
1094
- const s = $n(i, 200, {
1099
+ const s = Rn(i, 200, {
1095
1100
  leading: !1
1096
1101
  });
1097
1102
  function l(h) {
@@ -1103,30 +1108,30 @@ function En(e) {
1103
1108
  q(n.style, a);
1104
1109
  }
1105
1110
  u(), setTimeout(() => {
1106
- n.style.transition = `all ${e.duration}s ${ge(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
1111
+ n.style.transition = `all ${e.duration}s ${ye(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
1107
1112
  }), document.addEventListener("scroll", s, {
1108
1113
  capture: !0,
1109
1114
  passive: !0
1110
1115
  }), i();
1111
1116
  });
1112
1117
  }
1113
- const ot = (e) => Object.entries(e).map(([n, o]) => {
1118
+ const rt = (e) => Object.entries(e).map(([n, o]) => {
1114
1119
  if (typeof o == "string")
1115
- return `${ge(n)}: ${o};`;
1116
- }).filter(L), Pn = (e) => ot(e).join(`
1120
+ return `${ye(n)}: ${o};`;
1121
+ }).filter(L), xn = (e) => rt(e).join(`
1117
1122
  `), Di = ({
1118
1123
  mediaQuery: e,
1119
1124
  className: t,
1120
1125
  styles: n
1121
1126
  }) => {
1122
1127
  const o = `.${t} {
1123
- ${Pn(n)}
1128
+ ${xn(n)}
1124
1129
  }`;
1125
1130
  return e ? `${e} {
1126
1131
  ${o}
1127
1132
  }` : o;
1128
1133
  };
1129
- function xn({
1134
+ function An({
1130
1135
  style: e
1131
1136
  }) {
1132
1137
  return e;
@@ -1134,18 +1139,18 @@ function xn({
1134
1139
  const Li = ({
1135
1140
  block: e,
1136
1141
  context: t
1137
- }) => rt(xn({
1142
+ }) => it(An({
1138
1143
  style: e.style || {},
1139
1144
  context: t,
1140
1145
  block: e
1141
1146
  }));
1142
- function rt(e) {
1147
+ function it(e) {
1143
1148
  switch (E) {
1144
1149
  case "svelte":
1145
1150
  case "vue":
1146
1151
  case "solid":
1147
1152
  case "angular":
1148
- return ot(e).join(" ");
1153
+ return rt(e).join(" ");
1149
1154
  case "qwik":
1150
1155
  case "reactNative":
1151
1156
  case "react":
@@ -1153,7 +1158,7 @@ function rt(e) {
1153
1158
  return e;
1154
1159
  }
1155
1160
  }
1156
- const An = ({
1161
+ const Vn = ({
1157
1162
  block: e,
1158
1163
  registeredComponents: t
1159
1164
  }) => {
@@ -1167,7 +1172,7 @@ const An = ({
1167
1172
  console.warn(`
1168
1173
  Could not find a registered component named "${n}".
1169
1174
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
1170
- }, Vn = ({
1175
+ }, Wn = ({
1171
1176
  block: e,
1172
1177
  context: t
1173
1178
  }) => {
@@ -1201,59 +1206,59 @@ const An = ({
1201
1206
  },
1202
1207
  block: o
1203
1208
  }));
1204
- }, Wn = (e, t) => {
1209
+ }, Nn = (e, t) => {
1205
1210
  var n;
1206
1211
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
1207
1212
  builderLinkComponent: t
1208
1213
  } : {};
1209
- }, Nn = (e, t) => {
1214
+ }, On = (e, t) => {
1210
1215
  var n;
1211
1216
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
1212
1217
  builderComponents: t
1213
1218
  } : {};
1214
- }, On = (e, t) => {
1219
+ }, Fn = (e, t) => {
1215
1220
  var n;
1216
1221
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1217
1222
  builderBlock: t
1218
1223
  } : {};
1219
- }, Fn = (e, t) => {
1224
+ }, Dn = (e, t) => {
1220
1225
  var n;
1221
1226
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1222
1227
  builderContext: t
1223
1228
  } : {};
1224
- }, Dn = () => Promise.resolve().then(() => Zn).then((e) => e.default).catch((e) => {
1229
+ }, Ln = () => Promise.resolve().then(() => _n).then((e) => e.default).catch((e) => {
1225
1230
  throw console.error(
1226
1231
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1227
1232
  e
1228
1233
  ), e;
1229
- }), Ln = () => import("./block-styles-nWGppwAf.js").then((e) => e.default).catch((e) => {
1234
+ }), Un = () => import("./block-styles-3kNIHbfo.js").then((e) => e.default).catch((e) => {
1230
1235
  throw console.error(
1231
1236
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
1232
1237
  e
1233
1238
  ), e;
1234
- }), Un = () => import("./block-wrapper-hPYvxseU.js").then((e) => e.default).catch((e) => {
1239
+ }), Mn = () => import("./block-wrapper-N1PMQPGA.js").then((e) => e.default).catch((e) => {
1235
1240
  throw console.error(
1236
1241
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1237
1242
  e
1238
1243
  ), e;
1239
- }), Mn = () => import("./component-ref-JlpkOrad.js").then((e) => e.default).catch((e) => {
1244
+ }), Hn = () => import("./component-ref-eSpEv_vu.js").then((e) => e.default).catch((e) => {
1240
1245
  throw console.error(
1241
1246
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1242
1247
  e
1243
1248
  ), e;
1244
- }), Hn = () => import("./repeated-block-8EN4xN25.js").then((e) => e.default).catch((e) => {
1249
+ }), jn = () => import("./repeated-block-CnX7KaV3.js").then((e) => e.default).catch((e) => {
1245
1250
  throw console.error(
1246
1251
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1247
1252
  e
1248
1253
  ), e;
1249
- }), jn = f({
1254
+ }), Kn = f({
1250
1255
  name: "block",
1251
1256
  components: {
1252
- BlockStyles: j(Ln),
1253
- RepeatedBlock: j(Hn),
1254
- ComponentRef: j(Mn),
1255
- BlockWrapper: j(Un),
1256
- DynamicDiv: j(Dn)
1257
+ BlockStyles: j(Un),
1258
+ RepeatedBlock: j(jn),
1259
+ ComponentRef: j(Hn),
1260
+ BlockWrapper: j(Mn),
1261
+ DynamicDiv: j(Ln)
1257
1262
  },
1258
1263
  props: ["block", "context", "registeredComponents", "linkComponent"],
1259
1264
  data() {
@@ -1266,7 +1271,7 @@ const An = ({
1266
1271
  },
1267
1272
  mounted() {
1268
1273
  const e = this.processedBlock.id, t = this.processedBlock.animations;
1269
- t && e && Rn(
1274
+ t && e && Bn(
1270
1275
  t.map((n) => ({
1271
1276
  ...n,
1272
1277
  elementId: e
@@ -1277,14 +1282,14 @@ const An = ({
1277
1282
  },
1278
1283
  computed: {
1279
1284
  repeatItem() {
1280
- return Vn({
1285
+ return Wn({
1281
1286
  block: this.block,
1282
1287
  context: this.context
1283
1288
  });
1284
1289
  },
1285
1290
  processedBlock() {
1286
1291
  var t;
1287
- return (t = this.block.repeat) != null && t.collection ? this.block : Ut({
1292
+ return (t = this.block.repeat) != null && t.collection ? this.block : Mt({
1288
1293
  block: this.block,
1289
1294
  localState: this.context.localState,
1290
1295
  rootState: this.context.rootState,
@@ -1294,7 +1299,7 @@ const An = ({
1294
1299
  });
1295
1300
  },
1296
1301
  blockComponent() {
1297
- return An({
1302
+ return Vn({
1298
1303
  block: this.processedBlock,
1299
1304
  registeredComponents: this.registeredComponents
1300
1305
  });
@@ -1320,11 +1325,11 @@ const An = ({
1320
1325
  blockChildren: this.processedBlock.children ?? [],
1321
1326
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1322
1327
  componentOptions: {
1323
- ...Tt(this.processedBlock),
1324
- ...On(this.blockComponent, this.processedBlock),
1325
- ...Fn(this.blockComponent, this.context),
1326
- ...Wn(this.blockComponent, this.linkComponent),
1327
- ...Nn(
1328
+ ...It(this.processedBlock),
1329
+ ...Fn(this.blockComponent, this.processedBlock),
1330
+ ...Dn(this.blockComponent, this.context),
1331
+ ...Nn(this.blockComponent, this.linkComponent),
1332
+ ...On(
1328
1333
  this.blockComponent,
1329
1334
  this.registeredComponents
1330
1335
  )
@@ -1339,7 +1344,7 @@ const An = ({
1339
1344
  }
1340
1345
  }
1341
1346
  });
1342
- function Kn(e, t, n, o, r, i) {
1347
+ function qn(e, t, n, o, r, i) {
1343
1348
  var d;
1344
1349
  const s = y("BlockStyles"), l = y("ComponentRef"), a = y("Block", !0), u = y("BlockWrapper"), h = y("RepeatedBlock");
1345
1350
  return e.canShowBlock ? (c(), m(w, { key: 0 }, [
@@ -1404,10 +1409,10 @@ function Kn(e, t, n, o, r, i) {
1404
1409
  ], 64))
1405
1410
  ], 64)) : S("", !0);
1406
1411
  }
1407
- const ye = /* @__PURE__ */ b(jn, [["render", Kn]]), Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1412
+ const ke = /* @__PURE__ */ b(Kn, [["render", qn]]), Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1408
1413
  __proto__: null,
1409
- default: ye
1410
- }, Symbol.toStringTag, { value: "Module" })), qn = f({
1414
+ default: ke
1415
+ }, Symbol.toStringTag, { value: "Module" })), zn = f({
1411
1416
  name: "builder-blocks-wrapper",
1412
1417
  props: [
1413
1418
  "blocks",
@@ -1454,7 +1459,7 @@ const ye = /* @__PURE__ */ b(jn, [["render", Kn]]), Ui = /* @__PURE__ */ Object.
1454
1459
  }
1455
1460
  }
1456
1461
  });
1457
- function zn(e, t, n, o, r, i) {
1462
+ function Jn(e, t, n, o, r, i) {
1458
1463
  return c(), g(K(e.BlocksWrapper), C({
1459
1464
  ref: "blocksWrapperRef",
1460
1465
  class: e.className + " component-178o76acnws",
@@ -1471,9 +1476,9 @@ function zn(e, t, n, o, r, i) {
1471
1476
  _: 3
1472
1477
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1473
1478
  }
1474
- const Jn = /* @__PURE__ */ b(qn, [["render", zn], ["__scopeId", "data-v-824f09a8"]]), Gn = f({
1479
+ const Gn = /* @__PURE__ */ b(zn, [["render", Jn], ["__scopeId", "data-v-824f09a8"]]), Yn = f({
1475
1480
  name: "builder-blocks",
1476
- components: { BlocksWrapper: Jn, Block: ye },
1481
+ components: { BlocksWrapper: Gn, Block: ke },
1477
1482
  props: [
1478
1483
  "blocks",
1479
1484
  "parent",
@@ -1484,11 +1489,11 @@ const Jn = /* @__PURE__ */ b(qn, [["render", zn], ["__scopeId", "data-v-824f09a8
1484
1489
  "registeredComponents"
1485
1490
  ],
1486
1491
  inject: {
1487
- builderContext: le.key,
1488
- componentsContext: Ae.key
1492
+ builderContext: ce.key,
1493
+ componentsContext: Ve.key
1489
1494
  }
1490
1495
  });
1491
- function Yn(e, t, n, o, r, i) {
1496
+ function Qn(e, t, n, o, r, i) {
1492
1497
  var a, u;
1493
1498
  const s = y("Block"), l = y("BlocksWrapper");
1494
1499
  return c(), g(l, {
@@ -1511,21 +1516,21 @@ function Yn(e, t, n, o, r, i) {
1511
1516
  _: 1
1512
1517
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
1513
1518
  }
1514
- const M = /* @__PURE__ */ b(Gn, [["render", Yn]]), Qn = f({
1519
+ const M = /* @__PURE__ */ b(Yn, [["render", Qn]]), Xn = f({
1515
1520
  name: "dynamic-div",
1516
1521
  props: []
1517
1522
  });
1518
- function Xn(e, t, n, o, r, i) {
1523
+ function Zn(e, t, n, o, r, i) {
1519
1524
  return c(), m("div", null, [
1520
1525
  x(e.$slots, "default")
1521
1526
  ]);
1522
1527
  }
1523
- const Q = /* @__PURE__ */ b(Qn, [["render", Xn]]), Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1528
+ const Q = /* @__PURE__ */ b(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1524
1529
  __proto__: null,
1525
1530
  default: Q
1526
- }, Symbol.toStringTag, { value: "Module" })), ke = f({
1531
+ }, Symbol.toStringTag, { value: "Module" })), ve = f({
1527
1532
  render() {
1528
- return xe("style", {
1533
+ return Ae("style", {
1529
1534
  innerHTML: this.styles,
1530
1535
  "data-id": this.id,
1531
1536
  nonce: this.nonce
@@ -1533,7 +1538,7 @@ const Q = /* @__PURE__ */ b(Qn, [["render", Xn]]), Zn = /* @__PURE__ */ Object.f
1533
1538
  },
1534
1539
  name: "inlined-styles",
1535
1540
  props: ["styles", "id", "nonce"]
1536
- }), it = {
1541
+ }), st = {
1537
1542
  small: {
1538
1543
  min: 320,
1539
1544
  default: 321,
@@ -1549,11 +1554,11 @@ const Q = /* @__PURE__ */ b(Qn, [["render", Xn]]), Zn = /* @__PURE__ */ Object.f
1549
1554
  default: 991,
1550
1555
  max: 1200
1551
1556
  }
1552
- }, Mi = (e, t = it) => `@media (max-width: ${t[e].max}px)`, _n = ({
1557
+ }, Mi = (e, t = st) => `@media (max-width: ${t[e].max}px)`, eo = ({
1553
1558
  small: e,
1554
1559
  medium: t
1555
1560
  }) => {
1556
- const n = me(it);
1561
+ const n = he(st);
1557
1562
  if (!e || !t)
1558
1563
  return n;
1559
1564
  const o = Math.floor(e / 2);
@@ -1575,11 +1580,11 @@ const Q = /* @__PURE__ */ b(Qn, [["render", Xn]]), Zn = /* @__PURE__ */ Object.f
1575
1580
  min: i,
1576
1581
  default: i + 1
1577
1582
  }, n;
1578
- }, eo = (e) => `builder-columns ${e}-breakpoints`, to = f({
1583
+ }, to = (e) => `builder-columns ${e}-breakpoints`, no = f({
1579
1584
  name: "builder-columns",
1580
1585
  components: {
1581
- InlinedStyles: ke,
1582
- DynamicRenderer: pe,
1586
+ InlinedStyles: ve,
1587
+ DynamicRenderer: me,
1583
1588
  Blocks: M,
1584
1589
  DynamicDiv: Q
1585
1590
  },
@@ -1600,7 +1605,7 @@ const Q = /* @__PURE__ */ b(Qn, [["render", Xn]]), Zn = /* @__PURE__ */ Object.f
1600
1605
  stackAt: this.stackColumnsAt || "tablet",
1601
1606
  flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
1602
1607
  TARGET: E,
1603
- getColumnsClass: eo
1608
+ getColumnsClass: to
1604
1609
  };
1605
1610
  },
1606
1611
  methods: {
@@ -1666,7 +1671,7 @@ const Q = /* @__PURE__ */ b(Qn, [["render", Xn]]), Zn = /* @__PURE__ */ Object.f
1666
1671
  },
1667
1672
  getWidthForBreakpointSize(e) {
1668
1673
  var n, o;
1669
- return _n(
1674
+ return eo(
1670
1675
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1671
1676
  )[e].max;
1672
1677
  },
@@ -1703,13 +1708,13 @@ const Q = /* @__PURE__ */ b(Qn, [["render", Xn]]), Zn = /* @__PURE__ */ Object.f
1703
1708
  ...e.link ? {
1704
1709
  href: e.link
1705
1710
  } : {},
1706
- [_()]: "builder-column",
1707
- style: rt(this.columnCssVars(t))
1711
+ [ee()]: "builder-column",
1712
+ style: it(this.columnCssVars(t))
1708
1713
  };
1709
1714
  }
1710
1715
  }
1711
1716
  });
1712
- function no(e, t, n, o, r, i) {
1717
+ function oo(e, t, n, o, r, i) {
1713
1718
  var u;
1714
1719
  const s = y("InlinedStyles"), l = y("Blocks"), a = y("DynamicRenderer");
1715
1720
  return c(), m("div", C({
@@ -1745,47 +1750,47 @@ function no(e, t, n, o, r, i) {
1745
1750
  }, 1032, ["TagName", "attributes"]))), 128))
1746
1751
  ], 16);
1747
1752
  }
1748
- const oo = /* @__PURE__ */ b(to, [["render", no], ["__scopeId", "data-v-52366f16"]]), ro = f({
1753
+ const ro = /* @__PURE__ */ b(no, [["render", oo], ["__scopeId", "data-v-52366f16"]]), io = f({
1749
1754
  name: "builder-fragment-component",
1750
1755
  props: []
1751
1756
  });
1752
- function io(e, t, n, o, r, i) {
1757
+ function so(e, t, n, o, r, i) {
1753
1758
  return c(), m("span", null, [
1754
1759
  x(e.$slots, "default")
1755
1760
  ]);
1756
1761
  }
1757
- const so = /* @__PURE__ */ b(ro, [["render", io]]);
1758
- function Re(e) {
1762
+ const ao = /* @__PURE__ */ b(io, [["render", so]]);
1763
+ function Be(e) {
1759
1764
  return e.replace(/http(s)?:/, "");
1760
1765
  }
1761
- function ao(e = "", t, n) {
1766
+ function lo(e = "", t, n) {
1762
1767
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1763
1768
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1764
1769
  }
1765
- function lo(e, t) {
1770
+ function co(e, t) {
1766
1771
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1767
1772
  return e;
1768
1773
  if (t === "master")
1769
- return Re(e);
1774
+ return Be(e);
1770
1775
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1771
1776
  if (n) {
1772
1777
  const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
1773
- return Re(`${o[0]}_${i}${r}`);
1778
+ return Be(`${o[0]}_${i}${r}`);
1774
1779
  }
1775
1780
  return null;
1776
1781
  }
1777
- function oe(e) {
1782
+ function re(e) {
1778
1783
  if (!e)
1779
1784
  return e;
1780
1785
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1781
1786
  if (e.match(/builder\.io/)) {
1782
1787
  let n = e;
1783
1788
  const o = Number(e.split("?width=")[1]);
1784
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${ao(e, "width", r)} ${r}w`).concat([n]).join(", ");
1789
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${lo(e, "width", r)} ${r}w`).concat([n]).join(", ");
1785
1790
  }
1786
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [lo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1791
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [co(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1787
1792
  }
1788
- const co = f({
1793
+ const uo = f({
1789
1794
  name: "builder-image",
1790
1795
  props: [
1791
1796
  "image",
@@ -1815,10 +1820,10 @@ const co = f({
1815
1820
  if (!this.noWebp) {
1816
1821
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
1817
1822
  if (!this.srcset.includes(this.image.split("?")[0]))
1818
- return console.debug("Removed given srcset"), oe(t);
1823
+ return console.debug("Removed given srcset"), re(t);
1819
1824
  } else if (this.image && !this.srcset)
1820
- return oe(t);
1821
- return oe(t);
1825
+ return re(t);
1826
+ return re(t);
1822
1827
  }
1823
1828
  },
1824
1829
  webpSrcSet() {
@@ -1836,11 +1841,11 @@ const co = f({
1836
1841
  return this.aspectRatio ? e : void 0;
1837
1842
  }
1838
1843
  }
1839
- }), uo = ["srcset"], po = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], mo = {
1844
+ }), po = ["srcset"], mo = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], ho = {
1840
1845
  key: 2,
1841
1846
  class: "div-1pl23ac79ld-2"
1842
1847
  };
1843
- function ho(e, t, n, o, r, i) {
1848
+ function fo(e, t, n, o, r, i) {
1844
1849
  var s, l, a, u, h, d;
1845
1850
  return c(), m(w, null, [
1846
1851
  z("picture", null, [
@@ -1848,7 +1853,7 @@ function ho(e, t, n, o, r, i) {
1848
1853
  key: 0,
1849
1854
  type: "image/webp",
1850
1855
  srcset: e.webpSrcSet
1851
- }, null, 8, uo)) : S("", !0),
1856
+ }, null, 8, po)) : S("", !0),
1852
1857
  z("img", {
1853
1858
  loading: e.highPriority ? "eager" : "lazy",
1854
1859
  fetchpriority: e.highPriority ? "high" : "auto",
@@ -1865,7 +1870,7 @@ function ho(e, t, n, o, r, i) {
1865
1870
  src: e.image,
1866
1871
  srcset: e.srcSetToUse,
1867
1872
  sizes: e.sizes
1868
- }, null, 14, po)
1873
+ }, null, 14, mo)
1869
1874
  ]),
1870
1875
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (c(), m("div", {
1871
1876
  key: 0,
@@ -1875,19 +1880,19 @@ function ho(e, t, n, o, r, i) {
1875
1880
  })
1876
1881
  }, null, 4)) : S("", !0),
1877
1882
  (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? x(e.$slots, "default", { key: 1 }, void 0, !0) : S("", !0),
1878
- !e.fitContent && ((d = (h = e.builderBlock) == null ? void 0 : h.children) != null && d.length) ? (c(), m("div", mo, [
1883
+ !e.fitContent && ((d = (h = e.builderBlock) == null ? void 0 : h.children) != null && d.length) ? (c(), m("div", ho, [
1879
1884
  x(e.$slots, "default", {}, void 0, !0)
1880
1885
  ])) : S("", !0)
1881
1886
  ], 64);
1882
1887
  }
1883
- const fo = /* @__PURE__ */ b(co, [["render", ho], ["__scopeId", "data-v-b1147753"]]), bo = f({
1888
+ const bo = /* @__PURE__ */ b(uo, [["render", fo], ["__scopeId", "data-v-b1147753"]]), go = f({
1884
1889
  name: "builder-section-component",
1885
1890
  props: ["attributes", "maxWidth"],
1886
1891
  data() {
1887
1892
  return { filterAttrs: V };
1888
1893
  }
1889
1894
  });
1890
- function go(e, t, n, o, r, i) {
1895
+ function yo(e, t, n, o, r, i) {
1891
1896
  return c(), m("section", C({
1892
1897
  style: {
1893
1898
  width: "100%",
@@ -1905,7 +1910,7 @@ function go(e, t, n, o, r, i) {
1905
1910
  x(e.$slots, "default")
1906
1911
  ], 16);
1907
1912
  }
1908
- const yo = /* @__PURE__ */ b(bo, [["render", go]]), re = {
1913
+ const ko = /* @__PURE__ */ b(go, [["render", yo]]), ie = {
1909
1914
  "@type": "@builder.io/sdk:Element",
1910
1915
  layerName: "Accordion item title",
1911
1916
  responsiveStyles: {
@@ -1934,7 +1939,7 @@ const yo = /* @__PURE__ */ b(bo, [["render", go]]), re = {
1934
1939
  }
1935
1940
  }
1936
1941
  }]
1937
- }, ie = {
1942
+ }, se = {
1938
1943
  "@type": "@builder.io/sdk:Element",
1939
1944
  layerName: "Accordion item detail",
1940
1945
  responsiveStyles: {
@@ -1965,7 +1970,7 @@ const yo = /* @__PURE__ */ b(bo, [["render", go]]), re = {
1965
1970
  }
1966
1971
  }
1967
1972
  }]
1968
- }, ko = {
1973
+ }, vo = {
1969
1974
  name: "Builder:Accordion",
1970
1975
  canHaveChildren: !0,
1971
1976
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1982,19 +1987,19 @@ const yo = /* @__PURE__ */ b(bo, [["render", go]]), re = {
1982
1987
  name: "title",
1983
1988
  type: "uiBlocks",
1984
1989
  hideFromUI: !0,
1985
- defaultValue: [re]
1990
+ defaultValue: [ie]
1986
1991
  }, {
1987
1992
  name: "detail",
1988
1993
  type: "uiBlocks",
1989
1994
  hideFromUI: !0,
1990
- defaultValue: [ie]
1995
+ defaultValue: [se]
1991
1996
  }],
1992
1997
  defaultValue: [{
1993
- title: [re],
1994
- detail: [ie]
1998
+ title: [ie],
1999
+ detail: [se]
1995
2000
  }, {
1996
- title: [re],
1997
- detail: [ie]
2001
+ title: [ie],
2002
+ detail: [se]
1998
2003
  }],
1999
2004
  showIf: (e) => !e.get("useChildrenForItems")
2000
2005
  }, {
@@ -2029,7 +2034,7 @@ const yo = /* @__PURE__ */ b(bo, [["render", go]]), re = {
2029
2034
  builderComponents: !0,
2030
2035
  builderLinkComponent: !0
2031
2036
  }
2032
- }, vo = (e) => e.toString(), So = f({
2037
+ }, So = (e) => e.toString(), Co = f({
2033
2038
  name: "builder-accordion",
2034
2039
  components: { Blocks: M },
2035
2040
  props: [
@@ -2043,7 +2048,7 @@ const yo = /* @__PURE__ */ b(bo, [["render", go]]), re = {
2043
2048
  "builderLinkComponent"
2044
2049
  ],
2045
2050
  data() {
2046
- return { open: [], convertOrderNumberToString: vo };
2051
+ return { open: [], convertOrderNumberToString: So };
2047
2052
  },
2048
2053
  computed: {
2049
2054
  onlyOneAtATime() {
@@ -2124,8 +2129,8 @@ const yo = /* @__PURE__ */ b(bo, [["render", go]]), re = {
2124
2129
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
2125
2130
  }
2126
2131
  }
2127
- }), Co = ["data-index", "onClick"];
2128
- function wo(e, t, n, o, r, i) {
2132
+ }), wo = ["data-index", "onClick"];
2133
+ function To(e, t, n, o, r, i) {
2129
2134
  const s = y("Blocks");
2130
2135
  return c(), m("div", {
2131
2136
  class: "builder-accordion",
@@ -2150,7 +2155,7 @@ function wo(e, t, n, o, r, i) {
2150
2155
  registeredComponents: e.builderComponents,
2151
2156
  linkComponent: e.builderLinkComponent
2152
2157
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2153
- ], 14, Co),
2158
+ ], 14, wo),
2154
2159
  e.open.includes(a) ? (c(), m("div", {
2155
2160
  key: 0,
2156
2161
  class: J(e.getAccordionDetailClassName(a)),
@@ -2168,7 +2173,7 @@ function wo(e, t, n, o, r, i) {
2168
2173
  ], 64))), 128))
2169
2174
  ], 4);
2170
2175
  }
2171
- const To = /* @__PURE__ */ b(So, [["render", wo]]), Io = {
2176
+ const Io = /* @__PURE__ */ b(Co, [["render", To]]), $o = {
2172
2177
  name: "Core:Button",
2173
2178
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2174
2179
  defaultStyles: {
@@ -2204,7 +2209,7 @@ const To = /* @__PURE__ */ b(So, [["render", wo]]), Io = {
2204
2209
  shouldReceiveBuilderProps: {
2205
2210
  builderLinkComponent: !0
2206
2211
  }
2207
- }, $o = {
2212
+ }, Ro = {
2208
2213
  // TODO: ways to statically preprocess JSON for references, functions, etc
2209
2214
  name: "Columns",
2210
2215
  isRSC: !0,
@@ -2411,13 +2416,13 @@ const To = /* @__PURE__ */ b(So, [["render", wo]]), Io = {
2411
2416
  builderComponents: !0,
2412
2417
  builderLinkComponent: !0
2413
2418
  }
2414
- }, Ro = {
2419
+ }, Bo = {
2415
2420
  name: "Fragment",
2416
2421
  static: !0,
2417
2422
  hidden: !0,
2418
2423
  canHaveChildren: !0,
2419
2424
  noWrap: !0
2420
- }, Bo = {
2425
+ }, Eo = {
2421
2426
  name: "Image",
2422
2427
  static: !0,
2423
2428
  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",
@@ -2525,7 +2530,7 @@ const To = /* @__PURE__ */ b(So, [["render", wo]]), Io = {
2525
2530
  shouldReceiveBuilderProps: {
2526
2531
  builderBlock: !0
2527
2532
  }
2528
- }, Eo = {
2533
+ }, Po = {
2529
2534
  name: "Core:Section",
2530
2535
  static: !0,
2531
2536
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2564,7 +2569,7 @@ const To = /* @__PURE__ */ b(So, [["render", wo]]), Io = {
2564
2569
  }
2565
2570
  }
2566
2571
  }]
2567
- }, Po = {
2572
+ }, xo = {
2568
2573
  name: "Slot",
2569
2574
  isRSC: !0,
2570
2575
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2581,12 +2586,12 @@ const To = /* @__PURE__ */ b(So, [["render", wo]]), Io = {
2581
2586
  builderContext: !0,
2582
2587
  builderComponents: !0
2583
2588
  }
2584
- }, xo = f({
2589
+ }, Ao = f({
2585
2590
  name: "builder-slot",
2586
2591
  components: { Blocks: M },
2587
2592
  props: ["builderContext", "name", "builderComponents"]
2588
2593
  });
2589
- function Ao(e, t, n, o, r, i) {
2594
+ function Vo(e, t, n, o, r, i) {
2590
2595
  var l, a, u;
2591
2596
  const s = y("Blocks");
2592
2597
  return c(), m("div", C(
@@ -2606,7 +2611,7 @@ function Ao(e, t, n, o, r, i) {
2606
2611
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
2607
2612
  ], 16);
2608
2613
  }
2609
- const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2614
+ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
2610
2615
  name: "Symbol",
2611
2616
  noWrap: !0,
2612
2617
  static: !0,
@@ -2645,7 +2650,7 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2645
2650
  builderComponents: !0,
2646
2651
  builderLinkComponent: !0
2647
2652
  }
2648
- }, se = {
2653
+ }, ae = {
2649
2654
  "@type": "@builder.io/sdk:Element",
2650
2655
  responsiveStyles: {
2651
2656
  large: {
@@ -2667,7 +2672,7 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2667
2672
  text: "New tab"
2668
2673
  }
2669
2674
  }
2670
- }, ae = {
2675
+ }, le = {
2671
2676
  "@type": "@builder.io/sdk:Element",
2672
2677
  responsiveStyles: {
2673
2678
  large: {
@@ -2683,7 +2688,7 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2683
2688
  text: "New tab content "
2684
2689
  }
2685
2690
  }
2686
- }, No = {
2691
+ }, Oo = {
2687
2692
  name: "Builder: Tabs",
2688
2693
  inputs: [{
2689
2694
  name: "tabs",
@@ -2693,16 +2698,16 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2693
2698
  name: "label",
2694
2699
  type: "uiBlocks",
2695
2700
  hideFromUI: !0,
2696
- defaultValue: [se]
2701
+ defaultValue: [ae]
2697
2702
  }, {
2698
2703
  name: "content",
2699
2704
  type: "uiBlocks",
2700
2705
  hideFromUI: !0,
2701
- defaultValue: [ae]
2706
+ defaultValue: [le]
2702
2707
  }],
2703
2708
  defaultValue: [{
2704
2709
  label: [{
2705
- ...se,
2710
+ ...ae,
2706
2711
  component: {
2707
2712
  name: "Text",
2708
2713
  options: {
@@ -2711,7 +2716,7 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2711
2716
  }
2712
2717
  }],
2713
2718
  content: [{
2714
- ...ae,
2719
+ ...le,
2715
2720
  component: {
2716
2721
  name: "Text",
2717
2722
  options: {
@@ -2721,7 +2726,7 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2721
2726
  }]
2722
2727
  }, {
2723
2728
  label: [{
2724
- ...se,
2729
+ ...ae,
2725
2730
  component: {
2726
2731
  name: "Text",
2727
2732
  options: {
@@ -2730,7 +2735,7 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2730
2735
  }
2731
2736
  }],
2732
2737
  content: [{
2733
- ...ae,
2738
+ ...le,
2734
2739
  component: {
2735
2740
  name: "Text",
2736
2741
  options: {
@@ -2786,7 +2791,7 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2786
2791
  builderComponents: !0,
2787
2792
  builderLinkComponent: !0
2788
2793
  }
2789
- }, Oo = f({
2794
+ }, Fo = f({
2790
2795
  name: "builder-tabs",
2791
2796
  components: { Blocks: M },
2792
2797
  props: [
@@ -2811,8 +2816,8 @@ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2811
2816
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
2812
2817
  }
2813
2818
  }
2814
- }), Fo = ["onClick"], Do = { key: 0 };
2815
- function Lo(e, t, n, o, r, i) {
2819
+ }), Do = ["onClick"], Lo = { key: 0 };
2820
+ function Uo(e, t, n, o, r, i) {
2816
2821
  const s = y("Blocks");
2817
2822
  return c(), m("div", null, [
2818
2823
  z("div", {
@@ -2840,9 +2845,9 @@ function Lo(e, t, n, o, r, i) {
2840
2845
  registeredComponents: e.builderComponents,
2841
2846
  linkComponent: e.builderLinkComponent
2842
2847
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
2843
- ], 14, Fo))), 128))
2848
+ ], 14, Do))), 128))
2844
2849
  ], 4),
2845
- e.activeTabContent(e.activeTab) ? (c(), m("div", Do, [
2850
+ e.activeTabContent(e.activeTab) ? (c(), m("div", Lo, [
2846
2851
  $(s, {
2847
2852
  parent: e.builderBlock.id,
2848
2853
  path: `component.options.tabs.${e.activeTab}.content`,
@@ -2854,7 +2859,7 @@ function Lo(e, t, n, o, r, i) {
2854
2859
  ])) : S("", !0)
2855
2860
  ]);
2856
2861
  }
2857
- const Uo = /* @__PURE__ */ b(Oo, [["render", Lo]]), Mo = {
2862
+ const Mo = /* @__PURE__ */ b(Fo, [["render", Uo]]), Ho = {
2858
2863
  shouldReceiveBuilderProps: {
2859
2864
  builderBlock: !1,
2860
2865
  builderContext: !0
@@ -2876,7 +2881,7 @@ const Uo = /* @__PURE__ */ b(Oo, [["render", Lo]]), Mo = {
2876
2881
  height: "auto",
2877
2882
  textAlign: "center"
2878
2883
  }
2879
- }, Ho = f({
2884
+ }, jo = f({
2880
2885
  name: "builder-text",
2881
2886
  props: ["builderContext", "text"],
2882
2887
  computed: {
@@ -2901,17 +2906,17 @@ const Uo = /* @__PURE__ */ b(Oo, [["render", Lo]]), Mo = {
2901
2906
  );
2902
2907
  }
2903
2908
  }
2904
- }), jo = ["innerHTML"];
2905
- function Ko(e, t, n, o, r, i) {
2909
+ }), Ko = ["innerHTML"];
2910
+ function qo(e, t, n, o, r, i) {
2906
2911
  return c(), m("div", {
2907
2912
  class: "builder-text",
2908
2913
  innerHTML: e.processedText,
2909
2914
  style: {
2910
2915
  outline: "none"
2911
2916
  }
2912
- }, null, 8, jo);
2917
+ }, null, 8, Ko);
2913
2918
  }
2914
- const qo = /* @__PURE__ */ b(Ho, [["render", Ko]]), zo = {
2919
+ const zo = /* @__PURE__ */ b(jo, [["render", qo]]), Jo = {
2915
2920
  name: "Custom Code",
2916
2921
  static: !0,
2917
2922
  requiredPermissions: ["editCode"],
@@ -2933,7 +2938,7 @@ const qo = /* @__PURE__ */ b(Ho, [["render", Ko]]), zo = {
2933
2938
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
2934
2939
  advanced: !0
2935
2940
  }]
2936
- }, Jo = f({
2941
+ }, Go = f({
2937
2942
  name: "builder-custom-code",
2938
2943
  props: ["replaceNodes", "code"],
2939
2944
  data() {
@@ -2967,15 +2972,15 @@ const qo = /* @__PURE__ */ b(Ho, [["render", Ko]]), zo = {
2967
2972
  }
2968
2973
  }
2969
2974
  }
2970
- }), Go = ["innerHTML"];
2971
- function Yo(e, t, n, o, r, i) {
2975
+ }), Yo = ["innerHTML"];
2976
+ function Qo(e, t, n, o, r, i) {
2972
2977
  return c(), m("div", {
2973
2978
  ref: "elementRef",
2974
2979
  class: J("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
2975
2980
  innerHTML: e.code
2976
- }, null, 10, Go);
2981
+ }, null, 10, Yo);
2977
2982
  }
2978
- const Qo = /* @__PURE__ */ b(Jo, [["render", Yo]]), Xo = {
2983
+ const Xo = /* @__PURE__ */ b(Go, [["render", Qo]]), Zo = {
2979
2984
  name: "Embed",
2980
2985
  static: !0,
2981
2986
  inputs: [{
@@ -2990,7 +2995,7 @@ const Qo = /* @__PURE__ */ b(Jo, [["render", Yo]]), Xo = {
2990
2995
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2991
2996
  hideFromUI: !0
2992
2997
  }]
2993
- }, Zo = ["text/javascript", "application/javascript", "application/ecmascript"], _o = (e) => Zo.includes(e.type), er = f({
2998
+ }, _o = ["text/javascript", "application/javascript", "application/ecmascript"], er = (e) => _o.includes(e.type), tr = f({
2994
2999
  name: "builder-embed",
2995
3000
  props: ["content"],
2996
3001
  data() {
@@ -3023,7 +3028,7 @@ const Qo = /* @__PURE__ */ b(Jo, [["render", Yo]]), Xo = {
3023
3028
  this.scriptsInserted.push(n.src);
3024
3029
  const o = document.createElement("script");
3025
3030
  o.async = !0, o.src = n.src, document.head.appendChild(o);
3026
- } else if (_o(n) && !this.scriptsRun.includes(n.innerText))
3031
+ } else if (er(n) && !this.scriptsRun.includes(n.innerText))
3027
3032
  try {
3028
3033
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3029
3034
  } catch (o) {
@@ -3032,15 +3037,15 @@ const Qo = /* @__PURE__ */ b(Jo, [["render", Yo]]), Xo = {
3032
3037
  }
3033
3038
  }
3034
3039
  }
3035
- }), tr = ["innerHTML"];
3036
- function nr(e, t, n, o, r, i) {
3040
+ }), nr = ["innerHTML"];
3041
+ function or(e, t, n, o, r, i) {
3037
3042
  return c(), m("div", {
3038
3043
  class: "builder-embed",
3039
3044
  ref: "elem",
3040
3045
  innerHTML: e.content
3041
- }, null, 8, tr);
3046
+ }, null, 8, nr);
3042
3047
  }
3043
- const or = /* @__PURE__ */ b(er, [["render", nr]]), rr = {
3048
+ const rr = /* @__PURE__ */ b(tr, [["render", or]]), ir = {
3044
3049
  name: "Form:Form",
3045
3050
  // editableTags: ['builder-form-error']
3046
3051
  defaults: {
@@ -3277,15 +3282,15 @@ const or = /* @__PURE__ */ b(er, [["render", nr]]), rr = {
3277
3282
  builderComponents: !0,
3278
3283
  builderLinkComponent: !0
3279
3284
  }
3280
- }, ir = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], sr = () => {
3285
+ }, sr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], ar = () => {
3281
3286
  const e = process.env.NODE_ENV || "production";
3282
- return ir.includes(e) ? e : "production";
3283
- }, ar = (e, t, n) => {
3287
+ return sr.includes(e) ? e : "production";
3288
+ }, lr = (e, t, n) => {
3284
3289
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, i) => r != null ? r[i] : r, e);
3285
3290
  return o === void 0 || o === e ? n : o;
3286
- }, lr = f({
3291
+ }, cr = f({
3287
3292
  name: "builder-form-component",
3288
- components: { Block: ye, Blocks: M },
3293
+ components: { Block: ke, Blocks: M },
3289
3294
  props: [
3290
3295
  "builderContext",
3291
3296
  "previewState",
@@ -3374,7 +3379,7 @@ const or = /* @__PURE__ */ b(er, [["render", nr]]), rr = {
3374
3379
  else {
3375
3380
  const d = {};
3376
3381
  Array.from(l).forEach(({ value: p, key: k }) => {
3377
- Fe(d, k, p);
3382
+ De(d, k, p);
3378
3383
  }), i = JSON.stringify(d);
3379
3384
  }
3380
3385
  a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
@@ -3386,7 +3391,7 @@ const or = /* @__PURE__ */ b(er, [["render", nr]]), rr = {
3386
3391
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(u), u.defaultPrevented))
3387
3392
  return;
3388
3393
  this.formState = "sending";
3389
- const h = `${sr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3394
+ const h = `${ar() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3390
3395
  this.sendSubmissionsToEmail || ""
3391
3396
  )}&name=${encodeURIComponent(this.name || "")}`;
3392
3397
  fetch(
@@ -3401,7 +3406,7 @@ const or = /* @__PURE__ */ b(er, [["render", nr]]), rr = {
3401
3406
  let p;
3402
3407
  const k = d.headers.get("content-type");
3403
3408
  if (k && k.indexOf("application/json") !== -1 ? p = await d.json() : p = await d.text(), !d.ok && this.errorMessagePath) {
3404
- let v = ar(p, this.errorMessagePath);
3409
+ let v = lr(p, this.errorMessagePath);
3405
3410
  v && (typeof v != "string" && (v = JSON.stringify(v)), this.formErrorMessage = v, this.mergeNewRootState({
3406
3411
  formErrorMessage: v
3407
3412
  }));
@@ -3442,11 +3447,11 @@ const or = /* @__PURE__ */ b(er, [["render", nr]]), rr = {
3442
3447
  }
3443
3448
  }
3444
3449
  }
3445
- }), cr = ["validate", "action", "method", "name"], dr = {
3450
+ }), dr = ["validate", "action", "method", "name"], ur = {
3446
3451
  key: 3,
3447
3452
  class: "builder-form-error-text pre-3i4ezorcfhi"
3448
3453
  };
3449
- function ur(e, t, n, o, r, i) {
3454
+ function pr(e, t, n, o, r, i) {
3450
3455
  var a;
3451
3456
  const s = y("Block"), l = y("Blocks");
3452
3457
  return c(), m("form", C({
@@ -3476,16 +3481,16 @@ function ur(e, t, n, o, r, i) {
3476
3481
  blocks: e.sendingMessage,
3477
3482
  context: e.builderContext
3478
3483
  }, null, 8, ["blocks", "context"])) : S("", !0),
3479
- e.submissionState() === "error" && e.responseData ? (c(), m("pre", dr, te(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
3484
+ e.submissionState() === "error" && e.responseData ? (c(), m("pre", ur, ne(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
3480
3485
  e.submissionState() === "success" ? (c(), g(l, {
3481
3486
  key: 4,
3482
3487
  path: "successMessage",
3483
3488
  blocks: e.successMessage,
3484
3489
  context: e.builderContext
3485
3490
  }, null, 8, ["blocks", "context"])) : S("", !0)
3486
- ], 16, cr);
3491
+ ], 16, dr);
3487
3492
  }
3488
- const pr = /* @__PURE__ */ b(lr, [["render", ur], ["__scopeId", "data-v-489330f7"]]), mr = {
3493
+ const mr = /* @__PURE__ */ b(cr, [["render", pr], ["__scopeId", "data-v-489330f7"]]), hr = {
3489
3494
  name: "Form:Input",
3490
3495
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3491
3496
  inputs: [
@@ -3536,7 +3541,7 @@ const pr = /* @__PURE__ */ b(lr, [["render", ur], ["__scopeId", "data-v-489330f7
3536
3541
  borderStyle: "solid",
3537
3542
  borderColor: "#ccc"
3538
3543
  }
3539
- }, hr = f({
3544
+ }, fr = f({
3540
3545
  name: "builder-form-input-component",
3541
3546
  props: [
3542
3547
  "attributes",
@@ -3550,8 +3555,8 @@ const pr = /* @__PURE__ */ b(lr, [["render", ur], ["__scopeId", "data-v-489330f7
3550
3555
  data() {
3551
3556
  return { isEditing: R, filterAttrs: V };
3552
3557
  }
3553
- }), fr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3554
- function br(e, t, n, o, r, i) {
3558
+ }), br = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3559
+ function gr(e, t, n, o, r, i) {
3555
3560
  return c(), m("input", C({
3556
3561
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3557
3562
  placeholder: e.placeholder,
@@ -3560,9 +3565,9 @@ function br(e, t, n, o, r, i) {
3560
3565
  value: e.value,
3561
3566
  defaultValue: e.defaultValue,
3562
3567
  required: e.required
3563
- }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, fr);
3568
+ }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, br);
3564
3569
  }
3565
- const gr = /* @__PURE__ */ b(hr, [["render", br]]), yr = {
3570
+ const yr = /* @__PURE__ */ b(fr, [["render", gr]]), kr = {
3566
3571
  name: "Form:Select",
3567
3572
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3568
3573
  defaultStyles: {
@@ -3604,14 +3609,14 @@ const gr = /* @__PURE__ */ b(hr, [["render", br]]), yr = {
3604
3609
  }],
3605
3610
  static: !0,
3606
3611
  noWrap: !0
3607
- }, kr = f({
3612
+ }, vr = f({
3608
3613
  name: "builder-select-component",
3609
3614
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
3610
3615
  data() {
3611
3616
  return { isEditing: R, filterAttrs: V };
3612
3617
  }
3613
- }), vr = ["value", "defaultValue", "name", "required"], Sr = ["value"];
3614
- function Cr(e, t, n, o, r, i) {
3618
+ }), Sr = ["value", "defaultValue", "name", "required"], Cr = ["value"];
3619
+ function wr(e, t, n, o, r, i) {
3615
3620
  return c(), m("select", C({
3616
3621
  value: e.value,
3617
3622
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
@@ -3622,10 +3627,10 @@ function Cr(e, t, n, o, r, i) {
3622
3627
  (c(!0), m(w, null, A(e.options, (s, l) => (c(), m("option", {
3623
3628
  key: `${s.name}-${l}`,
3624
3629
  value: s.value
3625
- }, te(s.name || s.value), 9, Sr))), 128))
3626
- ], 16, vr);
3630
+ }, ne(s.name || s.value), 9, Cr))), 128))
3631
+ ], 16, Sr);
3627
3632
  }
3628
- const wr = /* @__PURE__ */ b(kr, [["render", Cr]]), Tr = {
3633
+ const Tr = /* @__PURE__ */ b(vr, [["render", wr]]), Ir = {
3629
3634
  name: "Form:SubmitButton",
3630
3635
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3631
3636
  defaultStyles: {
@@ -3650,17 +3655,17 @@ const wr = /* @__PURE__ */ b(kr, [["render", Cr]]), Tr = {
3650
3655
  // that only shows if advanced setting is flipped
3651
3656
  // TODO: defaultChildren
3652
3657
  // canHaveChildren: true,
3653
- }, Ir = f({
3658
+ }, $r = f({
3654
3659
  name: "builder-submit-button",
3655
3660
  props: ["attributes", "text"],
3656
3661
  data() {
3657
3662
  return { filterAttrs: V };
3658
3663
  }
3659
3664
  });
3660
- function $r(e, t, n, o, r, i) {
3661
- return c(), m("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), te(e.text), 17);
3665
+ function Rr(e, t, n, o, r, i) {
3666
+ return c(), m("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ne(e.text), 17);
3662
3667
  }
3663
- const Rr = /* @__PURE__ */ b(Ir, [["render", $r]]), Br = {
3668
+ const Br = /* @__PURE__ */ b($r, [["render", Rr]]), Er = {
3664
3669
  name: "Form:TextArea",
3665
3670
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3666
3671
  inputs: [{
@@ -3696,7 +3701,7 @@ const Rr = /* @__PURE__ */ b(Ir, [["render", $r]]), Br = {
3696
3701
  },
3697
3702
  static: !0,
3698
3703
  noWrap: !0
3699
- }, Er = f({
3704
+ }, Pr = f({
3700
3705
  name: "builder-textarea",
3701
3706
  props: [
3702
3707
  "attributes",
@@ -3709,17 +3714,17 @@ const Rr = /* @__PURE__ */ b(Ir, [["render", $r]]), Br = {
3709
3714
  data() {
3710
3715
  return { filterAttrs: V };
3711
3716
  }
3712
- }), Pr = ["placeholder", "name", "value", "defaultValue", "required"];
3713
- function xr(e, t, n, o, r, i) {
3717
+ }), xr = ["placeholder", "name", "value", "defaultValue", "required"];
3718
+ function Ar(e, t, n, o, r, i) {
3714
3719
  return c(), m("textarea", C({
3715
3720
  placeholder: e.placeholder,
3716
3721
  name: e.name,
3717
3722
  value: e.value,
3718
3723
  defaultValue: e.defaultValue,
3719
3724
  required: e.required
3720
- }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Pr);
3725
+ }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, xr);
3721
3726
  }
3722
- const Ar = /* @__PURE__ */ b(Er, [["render", xr]]), Vr = {
3727
+ const Vr = /* @__PURE__ */ b(Pr, [["render", Ar]]), Wr = {
3723
3728
  // friendlyName?
3724
3729
  name: "Raw:Img",
3725
3730
  hideFromInsertMenu: !0,
@@ -3733,7 +3738,7 @@ const Ar = /* @__PURE__ */ b(Er, [["render", xr]]), Vr = {
3733
3738
  }],
3734
3739
  noWrap: !0,
3735
3740
  static: !0
3736
- }, Wr = f({
3741
+ }, Nr = f({
3737
3742
  name: "builder-img-component",
3738
3743
  props: [
3739
3744
  "backgroundSize",
@@ -3746,8 +3751,8 @@ const Ar = /* @__PURE__ */ b(Er, [["render", xr]]), Vr = {
3746
3751
  data() {
3747
3752
  return { isEditing: R, filterAttrs: V };
3748
3753
  }
3749
- }), Nr = ["alt", "src"];
3750
- function Or(e, t, n, o, r, i) {
3754
+ }), Or = ["alt", "src"];
3755
+ function Fr(e, t, n, o, r, i) {
3751
3756
  return c(), m("img", C({
3752
3757
  style: {
3753
3758
  objectFit: e.backgroundSize || "cover",
@@ -3756,9 +3761,9 @@ function Or(e, t, n, o, r, i) {
3756
3761
  key: e.isEditing() && e.imgSrc || "default-key",
3757
3762
  alt: e.altText,
3758
3763
  src: e.imgSrc || e.image
3759
- }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Nr);
3764
+ }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Or);
3760
3765
  }
3761
- const Fr = /* @__PURE__ */ b(Wr, [["render", Or]]), Dr = {
3766
+ const Dr = /* @__PURE__ */ b(Nr, [["render", Fr]]), Lr = {
3762
3767
  name: "Video",
3763
3768
  canHaveChildren: !0,
3764
3769
  defaultStyles: {
@@ -3842,7 +3847,7 @@ const Fr = /* @__PURE__ */ b(Wr, [["render", Or]]), Dr = {
3842
3847
  shouldReceiveBuilderProps: {
3843
3848
  builderBlock: !0
3844
3849
  }
3845
- }, Lr = f({
3850
+ }, Ur = f({
3846
3851
  name: "builder-video",
3847
3852
  props: [
3848
3853
  "autoPlay",
@@ -3887,16 +3892,16 @@ const Fr = /* @__PURE__ */ b(Wr, [["render", Or]]), Dr = {
3887
3892
  };
3888
3893
  }
3889
3894
  }
3890
- }), Ur = { style: {
3895
+ }), Mr = { style: {
3891
3896
  position: "relative"
3892
- } }, Mr = ["preload", "src", "poster"], Hr = ["src"], jr = {
3897
+ } }, Hr = ["preload", "src", "poster"], jr = ["src"], Kr = {
3893
3898
  key: 1,
3894
3899
  style: {
3895
3900
  display: "flex",
3896
3901
  flexDirection: "column",
3897
3902
  alignItems: "stretch"
3898
3903
  }
3899
- }, Kr = {
3904
+ }, qr = {
3900
3905
  key: 2,
3901
3906
  style: {
3902
3907
  pointerEvents: "none",
@@ -3910,9 +3915,9 @@ const Fr = /* @__PURE__ */ b(Wr, [["render", Or]]), Dr = {
3910
3915
  height: "100%"
3911
3916
  }
3912
3917
  };
3913
- function qr(e, t, n, o, r, i) {
3918
+ function zr(e, t, n, o, r, i) {
3914
3919
  var s, l, a, u, h, d, p;
3915
- return c(), m("div", Ur, [
3920
+ return c(), m("div", Mr, [
3916
3921
  z("video", C({
3917
3922
  class: "builder-video",
3918
3923
  preload: e.preload || "metadata",
@@ -3937,8 +3942,8 @@ function qr(e, t, n, o, r, i) {
3937
3942
  key: 0,
3938
3943
  type: "video/mp4",
3939
3944
  src: e.video
3940
- }, null, 8, Hr))
3941
- ], 16, Mr),
3945
+ }, null, 8, jr))
3946
+ ], 16, Hr),
3942
3947
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (c(), m("div", {
3943
3948
  key: 0,
3944
3949
  style: D({
@@ -3948,72 +3953,72 @@ function qr(e, t, n, o, r, i) {
3948
3953
  fontSize: "0px"
3949
3954
  })
3950
3955
  }, null, 4)) : S("", !0),
3951
- (h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (c(), m("div", jr, [
3956
+ (h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (c(), m("div", Kr, [
3952
3957
  x(e.$slots, "default")
3953
3958
  ])) : S("", !0),
3954
- (p = (d = e.builderBlock) == null ? void 0 : d.children) != null && p.length && !e.fitContent ? (c(), m("div", Kr, [
3959
+ (p = (d = e.builderBlock) == null ? void 0 : d.children) != null && p.length && !e.fitContent ? (c(), m("div", qr, [
3955
3960
  x(e.$slots, "default")
3956
3961
  ])) : S("", !0)
3957
3962
  ]);
3958
3963
  }
3959
- const zr = /* @__PURE__ */ b(Lr, [["render", qr]]), Jr = () => [{
3960
- component: Qo,
3961
- ...zo
3964
+ const Jr = /* @__PURE__ */ b(Ur, [["render", zr]]), Gr = () => [{
3965
+ component: Xo,
3966
+ ...Jo
3962
3967
  }, {
3963
- component: or,
3964
- ...Xo
3968
+ component: rr,
3969
+ ...Zo
3965
3970
  }, {
3966
- component: pr,
3967
- ...rr
3971
+ component: mr,
3972
+ ...ir
3968
3973
  }, {
3969
- component: gr,
3970
- ...mr
3974
+ component: yr,
3975
+ ...hr
3971
3976
  }, {
3972
- component: Rr,
3973
- ...Tr
3977
+ component: Br,
3978
+ ...Ir
3974
3979
  }, {
3975
- component: wr,
3976
- ...yr
3980
+ component: Tr,
3981
+ ...kr
3977
3982
  }, {
3978
- component: Ar,
3979
- ...Br
3983
+ component: Vr,
3984
+ ...Er
3980
3985
  }, {
3981
- component: Fr,
3982
- ...Vr
3986
+ component: Dr,
3987
+ ...Wr
3983
3988
  }, {
3984
- component: zr,
3985
- ...Dr
3986
- }], Be = () => [{
3987
- component: St,
3988
- ...Io
3989
- }, {
3990
- component: oo,
3989
+ component: Jr,
3990
+ ...Lr
3991
+ }], Ee = () => [{
3992
+ component: Ct,
3991
3993
  ...$o
3992
3994
  }, {
3993
- component: so,
3995
+ component: ro,
3994
3996
  ...Ro
3995
3997
  }, {
3996
- component: fo,
3998
+ component: ao,
3997
3999
  ...Bo
3998
4000
  }, {
3999
- component: yo,
4001
+ component: bo,
4000
4002
  ...Eo
4001
4003
  }, {
4002
- component: Vo,
4004
+ component: ko,
4003
4005
  ...Po
4004
4006
  }, {
4005
- component: Bi,
4006
- ...Wo
4007
- }, {
4008
- component: qo,
4009
- ...Mo
4007
+ component: Wo,
4008
+ ...xo
4010
4009
  }, {
4011
- component: Uo,
4010
+ component: Ei,
4012
4011
  ...No
4013
4012
  }, {
4014
- component: To,
4015
- ...ko
4016
- }, ...Jr()], Gr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4013
+ component: zo,
4014
+ ...Ho
4015
+ }, {
4016
+ component: Mo,
4017
+ ...Oo
4018
+ }, {
4019
+ component: Io,
4020
+ ...vo
4021
+ }, ...Gr()], Yr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4017
4022
  function getAndSetVariantId() {
4018
4023
  function setCookie(name, value, days) {
4019
4024
  let expires = '';
@@ -4069,7 +4074,7 @@ const zr = /* @__PURE__ */ b(Lr, [["render", qr]]), Jr = () => [{
4069
4074
  }).join('');
4070
4075
  styleEl.innerHTML = newStyleStr;
4071
4076
  }
4072
- }`, Yr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4077
+ }`, Qr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4073
4078
  if (!navigator.cookieEnabled) {
4074
4079
  return;
4075
4080
  }
@@ -4103,27 +4108,27 @@ const zr = /* @__PURE__ */ b(Lr, [["render", qr]]), Jr = () => [{
4103
4108
  thisScriptEl?.remove();
4104
4109
  }
4105
4110
  return;
4106
- }`, st = "builderIoAbTest", at = "builderIoRenderContent", Z = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4111
+ }`, at = "builderIoAbTest", lt = "builderIoRenderContent", _ = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4107
4112
  ...t,
4108
4113
  testVariationId: t.id,
4109
4114
  id: e == null ? void 0 : e.id
4110
- })), Qr = ({
4115
+ })), Xr = ({
4111
4116
  canTrack: e,
4112
4117
  content: t
4113
- }) => !(!(Z(t).length > 0) || !e), Xr = (e) => e === "react" || e === "reactNative", lt = Xr(E), Zr = () => `
4114
- window.${st} = ${Gr}
4118
+ }) => !(!(_(t).length > 0) || !e), Zr = (e) => e === "react" || e === "reactNative", ct = Zr(E), _r = () => `
4115
4119
  window.${at} = ${Yr}
4116
- `, _r = (e, t) => `
4117
- window.${st}(
4118
- "${t}",${JSON.stringify(e)}, ${lt}
4119
- )`, ei = ({
4120
+ window.${lt} = ${Qr}
4121
+ `, ei = (e, t) => `
4122
+ window.${at}(
4123
+ "${t}",${JSON.stringify(e)}, ${ct}
4124
+ )`, ti = ({
4120
4125
  contentId: e,
4121
4126
  variationId: t
4122
- }) => `window.${at}(
4123
- "${t}", "${e}", ${lt}
4124
- )`, ct = f({
4127
+ }) => `window.${lt}(
4128
+ "${t}", "${e}", ${ct}
4129
+ )`, dt = f({
4125
4130
  render() {
4126
- return xe("script", {
4131
+ return Ae("script", {
4127
4132
  innerHTML: this.scriptStr,
4128
4133
  "data-id": this.id,
4129
4134
  nonce: this.nonce
@@ -4132,10 +4137,10 @@ const zr = /* @__PURE__ */ b(Lr, [["render", qr]]), Jr = () => [{
4132
4137
  name: "inlined-script",
4133
4138
  props: ["scriptStr", "id", "nonce"]
4134
4139
  });
4135
- function Ee(e) {
4140
+ function Pe(e) {
4136
4141
  return Math.round(e * 1e3) / 1e3;
4137
4142
  }
4138
- const ti = (e, t, n = !0) => {
4143
+ const ni = (e, t, n = !0) => {
4139
4144
  if (!(e instanceof HTMLElement))
4140
4145
  return null;
4141
4146
  let o = n ? e : e.parentElement;
@@ -4146,35 +4151,35 @@ const ti = (e, t, n = !0) => {
4146
4151
  return o;
4147
4152
  } while (o = o.parentElement);
4148
4153
  return null;
4149
- }, ni = (e) => ti(e, (t) => {
4154
+ }, oi = (e) => ni(e, (t) => {
4150
4155
  const n = t.getAttribute("builder-id") || t.id;
4151
4156
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4152
- }), Pe = ({
4157
+ }), xe = ({
4153
4158
  event: e,
4154
4159
  target: t
4155
4160
  }) => {
4156
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Ee(o / n.width), s = Ee(r / n.height);
4161
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Pe(o / n.width), s = Pe(r / n.height);
4157
4162
  return {
4158
4163
  x: i,
4159
4164
  y: s
4160
4165
  };
4161
- }, oi = (e) => {
4162
- const t = e.target, n = t && ni(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4166
+ }, ri = (e) => {
4167
+ const t = e.target, n = t && oi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4163
4168
  return {
4164
4169
  targetBuilderElement: o || void 0,
4165
4170
  metadata: {
4166
- targetOffset: t ? Pe({
4171
+ targetOffset: t ? xe({
4167
4172
  event: e,
4168
4173
  target: t
4169
4174
  }) : void 0,
4170
- builderTargetOffset: n ? Pe({
4175
+ builderTargetOffset: n ? xe({
4171
4176
  event: e,
4172
4177
  target: n
4173
4178
  }) : void 0,
4174
4179
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4175
4180
  }
4176
4181
  };
4177
- }, ri = (e) => {
4182
+ }, ii = (e) => {
4178
4183
  var i;
4179
4184
  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);
4180
4185
  let r = "";
@@ -4200,15 +4205,15 @@ font-weight: ${s};
4200
4205
  `.trim());
4201
4206
  }
4202
4207
  return r;
4203
- }, ii = ({
4208
+ }, si = ({
4204
4209
  customFonts: e
4205
4210
  }) => {
4206
4211
  var t;
4207
- return ((t = e == null ? void 0 : e.map((n) => ri(n))) == null ? void 0 : t.join(" ")) || "";
4208
- }, si = ({
4212
+ return ((t = e == null ? void 0 : e.map((n) => ii(n))) == null ? void 0 : t.join(" ")) || "";
4213
+ }, ai = ({
4209
4214
  cssCode: e,
4210
4215
  contentId: t
4211
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ai = `
4216
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", li = `
4212
4217
  .builder-button {
4213
4218
  all: unset;
4214
4219
  }
@@ -4225,7 +4230,7 @@ font-weight: ${s};
4225
4230
  text-align: inherit;
4226
4231
  font-family: inherit;
4227
4232
  }
4228
- `, li = (e) => e ? "" : ai, ci = (e) => `variant-${e}`, di = f({
4233
+ `, ci = (e) => e ? "" : li, di = (e) => `variant-${e}`, ui = f({
4229
4234
  name: "enable-editor",
4230
4235
  components: { DynamicDiv: Q },
4231
4236
  props: [
@@ -4249,14 +4254,14 @@ font-weight: ${s};
4249
4254
  httpReqsData: {},
4250
4255
  httpReqsPending: {},
4251
4256
  clicked: !1,
4252
- builderContext: le,
4253
- getWrapperClassName: ci
4257
+ builderContext: ce,
4258
+ getWrapperClassName: di
4254
4259
  };
4255
4260
  },
4256
4261
  provide() {
4257
4262
  const e = this;
4258
4263
  return {
4259
- [le.key]: e.builderContextSignal
4264
+ [ce.key]: e.builderContextSignal
4260
4265
  };
4261
4266
  },
4262
4267
  mounted() {
@@ -4267,7 +4272,7 @@ font-weight: ${s};
4267
4272
  new CustomEvent("initeditingbldr")
4268
4273
  ), this.builderContextSignal.content && Y(this.canTrack)) {
4269
4274
  const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, s = (o = this.builderContextSignal.content) == null ? void 0 : o.id, l = this.apiKey;
4270
- de({
4275
+ ue({
4271
4276
  type: "impression",
4272
4277
  canTrack: !0,
4273
4278
  contentId: s,
@@ -4275,7 +4280,7 @@ font-weight: ${s};
4275
4280
  variationId: i !== s ? i : void 0
4276
4281
  });
4277
4282
  }
4278
- Mt() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4283
+ Ht() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4279
4284
  new CustomEvent("initpreviewingbldr")
4280
4285
  );
4281
4286
  }
@@ -4398,7 +4403,7 @@ font-weight: ${s};
4398
4403
  this.builderContextSignal.content = t;
4399
4404
  },
4400
4405
  processMessage(e) {
4401
- return Ge({
4406
+ return Ye({
4402
4407
  model: this.model,
4403
4408
  trustedHosts: this.trustedHosts,
4404
4409
  callbacks: {
@@ -4412,7 +4417,7 @@ font-weight: ${s};
4412
4417
  });
4413
4418
  },
4414
4419
  animation: (t) => {
4415
- nt(t);
4420
+ ot(t);
4416
4421
  },
4417
4422
  contentUpdate: (t) => {
4418
4423
  this.mergeNewContent(t);
@@ -4439,13 +4444,13 @@ font-weight: ${s};
4439
4444
  var t, n;
4440
4445
  if (this.builderContextSignal.content) {
4441
4446
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
4442
- de({
4447
+ ue({
4443
4448
  type: "click",
4444
4449
  canTrack: Y(this.canTrack),
4445
4450
  contentId: r,
4446
4451
  apiKey: this.apiKey,
4447
4452
  variationId: o !== r ? o : void 0,
4448
- ...oi(e),
4453
+ ...ri(e),
4449
4454
  unique: !this.clicked
4450
4455
  });
4451
4456
  }
@@ -4471,7 +4476,7 @@ font-weight: ${s};
4471
4476
  })
4472
4477
  )
4473
4478
  );
4474
- Ze(i).then((s) => s.json()).then((s) => {
4479
+ _e(i).then((s) => s.json()).then((s) => {
4475
4480
  this.mergeNewRootState({
4476
4481
  [o]: s
4477
4482
  }), this.httpReqsData[o] = !0;
@@ -4488,7 +4493,7 @@ font-weight: ${s};
4488
4493
  "builder:component:stateChange",
4489
4494
  {
4490
4495
  detail: {
4491
- state: me(this.builderContextSignal.rootState),
4496
+ state: he(this.builderContextSignal.rootState),
4492
4497
  ref: {
4493
4498
  name: this.model
4494
4499
  }
@@ -4498,7 +4503,7 @@ font-weight: ${s};
4498
4503
  );
4499
4504
  },
4500
4505
  elementRef_onIniteditingbldr(e) {
4501
- window.addEventListener("message", this.processMessage), un(), Je({
4506
+ window.addEventListener("message", this.processMessage), pn(), Ge({
4502
4507
  ...this.locale ? {
4503
4508
  locale: this.locale
4504
4509
  } : {},
@@ -4512,7 +4517,7 @@ font-weight: ${s};
4512
4517
  this.builderContextSignal.componentInfos
4513
4518
  ).forEach((t) => {
4514
4519
  var o;
4515
- const n = Ht(t);
4520
+ const n = jt(t);
4516
4521
  (o = window.parent) == null || o.postMessage(n, "*");
4517
4522
  }), window.addEventListener(
4518
4523
  "builder:component:stateChangeListenerActivated",
@@ -4523,7 +4528,7 @@ font-weight: ${s};
4523
4528
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
4524
4529
  `builder.overrides.${n}`
4525
4530
  ), r = t.get("apiKey") || t.get("builder.space");
4526
- n === this.model && r === this.apiKey && (!this.content || o === this.content.id) && be({
4531
+ n === this.model && r === this.apiKey && (!this.content || o === this.content.id) && ge({
4527
4532
  model: this.model,
4528
4533
  apiKey: this.apiKey,
4529
4534
  apiVersion: this.builderContextSignal.apiVersion
@@ -4533,7 +4538,7 @@ font-weight: ${s};
4533
4538
  }
4534
4539
  }
4535
4540
  });
4536
- function ui(e, t, n, o, r, i) {
4541
+ function pi(e, t, n, o, r, i) {
4537
4542
  var s, l, a;
4538
4543
  return e.builderContextSignal.content ? (c(), g(K(e.ContentWrapper), C({
4539
4544
  key: 0,
@@ -4551,26 +4556,26 @@ function ui(e, t, n, o, r, i) {
4551
4556
  _: 3
4552
4557
  }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : S("", !0);
4553
4558
  }
4554
- const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = f({
4559
+ const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = f({
4555
4560
  name: "content-styles",
4556
- components: { InlinedStyles: ke },
4561
+ components: { InlinedStyles: ve },
4557
4562
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
4558
4563
  data() {
4559
4564
  return {
4560
4565
  injectedStyles: `
4561
- ${si({
4566
+ ${ai({
4562
4567
  cssCode: this.cssCode,
4563
4568
  contentId: this.contentId
4564
4569
  })}
4565
- ${ii({
4570
+ ${si({
4566
4571
  customFonts: this.customFonts
4567
4572
  })}
4568
- ${li(this.isNestedRender)}
4573
+ ${ci(this.isNestedRender)}
4569
4574
  `.trim()
4570
4575
  };
4571
4576
  }
4572
4577
  });
4573
- function hi(e, t, n, o, r, i) {
4578
+ function fi(e, t, n, o, r, i) {
4574
4579
  const s = y("InlinedStyles");
4575
4580
  return c(), g(s, {
4576
4581
  id: "builderio-content",
@@ -4578,7 +4583,7 @@ function hi(e, t, n, o, r, i) {
4578
4583
  nonce: e.nonce
4579
4584
  }, null, 8, ["styles", "nonce"]);
4580
4585
  }
4581
- const fi = /* @__PURE__ */ b(mi, [["render", hi]]), bi = ({
4586
+ const bi = /* @__PURE__ */ b(hi, [["render", fi]]), gi = ({
4582
4587
  content: e,
4583
4588
  data: t,
4584
4589
  locale: n
@@ -4595,7 +4600,7 @@ const fi = /* @__PURE__ */ b(mi, [["render", hi]]), bi = ({
4595
4600
  locale: n
4596
4601
  } : {}
4597
4602
  };
4598
- }, gi = ({
4603
+ }, yi = ({
4599
4604
  content: e,
4600
4605
  data: t
4601
4606
  }) => e ? {
@@ -4605,12 +4610,12 @@ const fi = /* @__PURE__ */ b(mi, [["render", hi]]), bi = ({
4605
4610
  ...t
4606
4611
  },
4607
4612
  meta: e == null ? void 0 : e.meta
4608
- } : void 0, yi = ht, ki = f({
4613
+ } : void 0, ki = ft, vi = f({
4609
4614
  name: "content-component",
4610
4615
  components: {
4611
- EnableEditor: pi,
4612
- InlinedScript: ct,
4613
- ContentStyles: fi,
4616
+ EnableEditor: mi,
4617
+ InlinedScript: dt,
4618
+ ContentStyles: bi,
4614
4619
  Blocks: M,
4615
4620
  DynamicDiv: Q
4616
4621
  },
@@ -4639,32 +4644,32 @@ const fi = /* @__PURE__ */ b(mi, [["render", hi]]), bi = ({
4639
4644
  data() {
4640
4645
  var e, t, n, o;
4641
4646
  return {
4642
- scriptStr: ei({
4647
+ scriptStr: ti({
4643
4648
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4644
4649
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
4645
4650
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4646
4651
  contentId: (t = this.content) == null ? void 0 : t.id
4647
4652
  }),
4648
4653
  registeredComponents: [
4649
- ...Be(),
4654
+ ...Ee(),
4650
4655
  ...((n = this.customComponents) == null ? void 0 : n.filter(({ models: r }) => !(r != null && r.length) || !this.model ? !0 : r.includes(this.model))) || []
4651
4656
  ].reduce(
4652
4657
  (r, { component: i, ...s }) => ({
4653
4658
  ...r,
4654
4659
  [s.name]: {
4655
- component: yi(i),
4656
- ...ee(s)
4660
+ component: ki(i),
4661
+ ...te(s)
4657
4662
  }
4658
4663
  }),
4659
4664
  {}
4660
4665
  ),
4661
4666
  builderContextSignal: {
4662
- content: gi({
4667
+ content: yi({
4663
4668
  content: this.content,
4664
4669
  data: this.data
4665
4670
  }),
4666
4671
  localState: void 0,
4667
- rootState: bi({
4672
+ rootState: gi({
4668
4673
  content: this.content,
4669
4674
  data: this.data,
4670
4675
  locale: this.locale
@@ -4675,12 +4680,12 @@ const fi = /* @__PURE__ */ b(mi, [["render", hi]]), bi = ({
4675
4680
  apiKey: this.apiKey,
4676
4681
  apiVersion: this.apiVersion,
4677
4682
  componentInfos: [
4678
- ...Be(),
4683
+ ...Ee(),
4679
4684
  ...((o = this.customComponents) == null ? void 0 : o.filter(({ models: r }) => !(r != null && r.length) || !this.model ? !0 : r.includes(this.model))) || []
4680
4685
  ].reduce(
4681
4686
  (r, { component: i, ...s }) => ({
4682
4687
  ...r,
4683
- [s.name]: ee(s)
4688
+ [s.name]: te(s)
4684
4689
  }),
4685
4690
  {}
4686
4691
  ),
@@ -4695,7 +4700,7 @@ const fi = /* @__PURE__ */ b(mi, [["render", hi]]), bi = ({
4695
4700
  provide() {
4696
4701
  const e = this;
4697
4702
  return {
4698
- [Ae.key]: {
4703
+ [Ve.key]: {
4699
4704
  registeredComponents: e.registeredComponents
4700
4705
  }
4701
4706
  };
@@ -4706,7 +4711,7 @@ const fi = /* @__PURE__ */ b(mi, [["render", hi]]), bi = ({
4706
4711
  }
4707
4712
  }
4708
4713
  });
4709
- function vi(e, t, n, o, r, i) {
4714
+ function Si(e, t, n, o, r, i) {
4710
4715
  const s = y("InlinedScript"), l = y("ContentStyles"), a = y("Blocks"), u = y("EnableEditor");
4711
4716
  return c(), g(u, C({
4712
4717
  nonce: e.nonce,
@@ -4752,12 +4757,12 @@ function vi(e, t, n, o, r, i) {
4752
4757
  _: 1
4753
4758
  }, 16, ["nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
4754
4759
  }
4755
- const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = f({
4760
+ const Ci = /* @__PURE__ */ b(vi, [["render", Si]]), wi = f({
4756
4761
  name: "content-variants",
4757
4762
  components: {
4758
- InlinedScript: ct,
4759
- InlinedStyles: ke,
4760
- ContentComponent: Si
4763
+ InlinedScript: dt,
4764
+ InlinedStyles: ve,
4765
+ ContentComponent: Ci
4761
4766
  },
4762
4767
  props: [
4763
4768
  "canTrack",
@@ -4781,13 +4786,13 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = f({
4781
4786
  ],
4782
4787
  data() {
4783
4788
  return {
4784
- shouldRenderVariants: Qr({
4789
+ shouldRenderVariants: Xr({
4785
4790
  canTrack: Y(this.canTrack),
4786
4791
  content: this.content
4787
4792
  }),
4788
4793
  TARGET: E,
4789
- getInitVariantsFnsScriptString: Zr,
4790
- getVariants: Z
4794
+ getInitVariantsFnsScriptString: _r,
4795
+ getVariants: _
4791
4796
  };
4792
4797
  },
4793
4798
  mounted() {
@@ -4795,8 +4800,8 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = f({
4795
4800
  computed: {
4796
4801
  updateCookieAndStylesScriptStr() {
4797
4802
  var e;
4798
- return _r(
4799
- Z(this.content).map((t) => ({
4803
+ return ei(
4804
+ _(this.content).map((t) => ({
4800
4805
  id: t.testVariationId,
4801
4806
  testRatio: t.testRatio
4802
4807
  })),
@@ -4804,21 +4809,21 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = f({
4804
4809
  );
4805
4810
  },
4806
4811
  hideVariantsStyleString() {
4807
- return Z(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
4812
+ return _(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
4808
4813
  },
4809
4814
  defaultContent() {
4810
4815
  var e;
4811
4816
  return this.shouldRenderVariants ? {
4812
4817
  ...this.content,
4813
4818
  testVariationId: (e = this.content) == null ? void 0 : e.id
4814
- } : gn({
4819
+ } : yn({
4815
4820
  item: this.content,
4816
4821
  canTrack: Y(this.canTrack)
4817
4822
  });
4818
4823
  }
4819
4824
  }
4820
4825
  });
4821
- function wi(e, t, n, o, r, i) {
4826
+ function Ti(e, t, n, o, r, i) {
4822
4827
  const s = y("InlinedScript"), l = y("InlinedStyles"), a = y("ContentComponent");
4823
4828
  return c(), m(w, null, [
4824
4829
  !e.isNestedRender && e.TARGET !== "reactNative" ? (c(), g(s, {
@@ -4888,13 +4893,13 @@ function wi(e, t, n, o, r, i) {
4888
4893
  }), null, 16, ["nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
4889
4894
  ], 64);
4890
4895
  }
4891
- const Ti = /* @__PURE__ */ b(Ci, [["render", wi]]), Ii = async ({
4896
+ const Ii = /* @__PURE__ */ b(wi, [["render", Ti]]), $i = async ({
4892
4897
  builderContextValue: e,
4893
4898
  symbol: t
4894
4899
  }) => {
4895
4900
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4896
4901
  (e != null && e.apiKey))
4897
- return be({
4902
+ return ge({
4898
4903
  model: t.model,
4899
4904
  apiKey: e.apiKey,
4900
4905
  apiVersion: e.apiVersion,
@@ -4906,9 +4911,9 @@ const Ti = /* @__PURE__ */ b(Ci, [["render", wi]]), Ii = async ({
4906
4911
  }).catch((n) => {
4907
4912
  B.error("Could not fetch symbol content: ", n);
4908
4913
  });
4909
- }, $i = f({
4914
+ }, Ri = f({
4910
4915
  name: "builder-symbol",
4911
- components: { ContentVariants: Ti, DynamicDiv: Q },
4916
+ components: { ContentVariants: Ii, DynamicDiv: Q },
4912
4917
  props: [
4913
4918
  "symbol",
4914
4919
  "attributes",
@@ -4943,7 +4948,7 @@ const Ti = /* @__PURE__ */ b(Ci, [["render", wi]]), Ii = async ({
4943
4948
  className() {
4944
4949
  var e, t;
4945
4950
  return [
4946
- this.attributes[_()],
4951
+ this.attributes[ee()],
4947
4952
  "builder-symbol",
4948
4953
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
4949
4954
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -4957,7 +4962,7 @@ const Ti = /* @__PURE__ */ b(Ci, [["render", wi]]), Ii = async ({
4957
4962
  },
4958
4963
  methods: {
4959
4964
  setContent() {
4960
- this.contentToUse || Ii({
4965
+ this.contentToUse || $i({
4961
4966
  symbol: this.symbol,
4962
4967
  builderContextValue: this.builderContext
4963
4968
  }).then((e) => {
@@ -4966,7 +4971,7 @@ const Ti = /* @__PURE__ */ b(Ci, [["render", wi]]), Ii = async ({
4966
4971
  }
4967
4972
  }
4968
4973
  });
4969
- function Ri(e, t, n, o, r, i) {
4974
+ function Bi(e, t, n, o, r, i) {
4970
4975
  var l, a, u, h, d;
4971
4976
  const s = y("ContentVariants");
4972
4977
  return c(), m("div", C({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -4994,43 +4999,44 @@ function Ri(e, t, n, o, r, i) {
4994
4999
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
4995
5000
  ], 16);
4996
5001
  }
4997
- const Bi = /* @__PURE__ */ b($i, [["render", Ri]]);
5002
+ const Ei = /* @__PURE__ */ b(Ri, [["render", Bi]]);
4998
5003
  export {
4999
- be as A,
5000
- ye as B,
5001
- oo as C,
5002
- Vi as D,
5003
- Ui as E,
5004
- so as F,
5005
- fo as I,
5006
- yo as S,
5007
- qo as T,
5008
- zr as V,
5009
- ke as _,
5004
+ $n as A,
5005
+ ke as B,
5006
+ ro as C,
5007
+ ge as D,
5008
+ Vi as E,
5009
+ ao as F,
5010
+ Ui as G,
5011
+ bo as I,
5012
+ ko as S,
5013
+ E as T,
5014
+ Jr as V,
5015
+ ve as _,
5010
5016
  Di as a,
5011
5017
  Mi as b,
5012
5018
  L as c,
5013
- ge as d,
5019
+ ye as d,
5014
5020
  b as e,
5015
5021
  G as f,
5016
- _n as g,
5022
+ eo as g,
5017
5023
  Li as h,
5018
- _ as i,
5019
- le as j,
5020
- St as k,
5021
- Bi as l,
5022
- M as m,
5023
- Ti as n,
5024
- R as o,
5025
- Mt as p,
5024
+ ee as i,
5025
+ ce as j,
5026
+ Ct as k,
5027
+ Ei as l,
5028
+ zo as m,
5029
+ M as n,
5030
+ Ii as o,
5031
+ R as p,
5026
5032
  Ht as q,
5027
- Kt as r,
5028
- Wi as s,
5029
- De as t,
5030
- Ni as u,
5031
- Oi as v,
5032
- yi as w,
5033
- Fi as x,
5034
- Tn as y,
5033
+ jt as r,
5034
+ qt as s,
5035
+ Wi as t,
5036
+ Le as u,
5037
+ Ni as v,
5038
+ ki as w,
5039
+ Oi as x,
5040
+ Fi as y,
5035
5041
  In as z
5036
5042
  };