@builder.io/sdk-react 5.2.0 → 5.2.2

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 (67) hide show
  1. package/lib/browser/blocks-exports.cjs +62 -32
  2. package/lib/browser/blocks-exports.mjs +475 -438
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-1549d863.cjs → server-entry-44ac782f.cjs} +1 -1
  6. package/lib/browser/{server-entry-81390e9b.js → server-entry-aff2c5ee.js} +1 -1
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-90d607ca.js → accordion-3144e69e.js} +1 -1
  10. package/lib/edge/{accordion-ba377db1.cjs → accordion-8b1afed8.cjs} +1 -1
  11. package/lib/edge/{blocks-49400750.cjs → blocks-5b2c456f.cjs} +2 -2
  12. package/lib/edge/{blocks-482bd303.js → blocks-817f9485.js} +50 -47
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-1dd20b20.cjs → button-ac5a0022.cjs} +1 -1
  16. package/lib/edge/{button-76b09bda.js → button-cfe682cf.js} +2 -2
  17. package/lib/edge/{columns-89f6f5b7.js → columns-1de197aa.js} +3 -3
  18. package/lib/edge/{columns-ed698360.cjs → columns-e400b435.cjs} +1 -1
  19. package/lib/edge/{content-variants-98b86c90.cjs → content-variants-7113e9cf.cjs} +53 -23
  20. package/lib/edge/{content-variants-6e54d1d8.js → content-variants-c6ff157f.js} +335 -301
  21. package/lib/edge/{custom-code-3387f2ee.js → custom-code-143b5a84.js} +1 -1
  22. package/lib/edge/{custom-code-62511fce.cjs → custom-code-7616d00a.cjs} +1 -1
  23. package/lib/edge/{embed-e24c574a.js → embed-e6116e90.js} +1 -1
  24. package/lib/edge/{embed-54bfd2b5.cjs → embed-f68db9ab.cjs} +1 -1
  25. package/lib/edge/{form-5c77fb87.cjs → form-3b66981f.cjs} +1 -1
  26. package/lib/edge/{form-b3b23e9b.js → form-bbe1e30e.js} +3 -3
  27. package/lib/edge/{get-class-prop-name-3347a655.cjs → get-class-prop-name-13da1e6d.cjs} +1 -1
  28. package/lib/edge/{get-class-prop-name-2e01e11c.js → get-class-prop-name-541f7abc.js} +1 -1
  29. package/lib/edge/{img-d900f0a6.js → img-89400807.js} +2 -2
  30. package/lib/edge/{img-8430be52.cjs → img-e4fe298b.cjs} +1 -1
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/edge/{input-6b9d2f0d.js → input-4b0e20ac.js} +1 -1
  34. package/lib/edge/{input-e522b3f8.cjs → input-9fd73d5f.cjs} +1 -1
  35. package/lib/edge/{personalization-container-9469f576.cjs → personalization-container-adbe238a.cjs} +1 -1
  36. package/lib/edge/{personalization-container-42afbf21.js → personalization-container-d4bfb7a9.js} +4 -4
  37. package/lib/edge/{select-e1a9f4c9.js → select-53fe8822.js} +1 -1
  38. package/lib/edge/{select-38371935.cjs → select-93ec2e99.cjs} +1 -1
  39. package/lib/edge/{server-entry-954fe774.js → server-entry-17b8ed52.js} +1 -1
  40. package/lib/edge/{server-entry-a2bf7e77.cjs → server-entry-92cd5eeb.cjs} +1 -1
  41. package/lib/edge/server-entry.cjs +1 -1
  42. package/lib/edge/server-entry.mjs +1 -1
  43. package/lib/edge/{slot-562ee3ff.cjs → slot-1d00a5ae.cjs} +1 -1
  44. package/lib/edge/{slot-cc86bcca.js → slot-31cbb5b2.js} +3 -3
  45. package/lib/edge/{symbol-099ae199.cjs → symbol-84c1857b.cjs} +1 -1
  46. package/lib/edge/{symbol-6224d576.js → symbol-9aca7157.js} +2 -2
  47. package/lib/edge/{tabs-e1cf9ee7.cjs → tabs-a7d93c37.cjs} +1 -1
  48. package/lib/edge/{tabs-51cb7107.js → tabs-f8858f81.js} +3 -3
  49. package/lib/node/blocks-exports.cjs +60 -30
  50. package/lib/node/blocks-exports.mjs +542 -505
  51. package/lib/node/index.cjs +1 -1
  52. package/lib/node/index.mjs +3 -3
  53. package/lib/node/init.cjs +1 -1
  54. package/lib/node/init.mjs +3 -3
  55. package/lib/node/{server-entry-1c10e3d9.cjs → server-entry-99ae937a.cjs} +1 -1
  56. package/lib/node/{server-entry-85c98f9a.js → server-entry-c3bc01a9.js} +1 -1
  57. package/lib/node/server-entry.cjs +1 -1
  58. package/lib/node/server-entry.mjs +1 -1
  59. package/lib/node/{setIvm-a5e6d580.cjs → setIvm-4dccb8f3.cjs} +1 -1
  60. package/lib/node/{setIvm-ed61fc8c.js → setIvm-f74f2921.js} +1 -1
  61. package/lib/node/setIvm.cjs +1 -1
  62. package/lib/node/setIvm.mjs +2 -2
  63. package/lib/node/{should-force-browser-runtime-in-node-36ea59a2.cjs → should-force-browser-runtime-in-node-131d268b.cjs} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-03c2678b.js → should-force-browser-runtime-in-node-1af30e6f.js} +1 -1
  65. package/package.json +1 -1
  66. package/types/components/content-variants/helpers.d.ts +1 -0
  67. package/types/constants/sdk-version.d.ts +1 -1
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { TARGET as F, isBrowser as G, logger as ee, checkIsDefined as be, isPreviewing as oe, isEditing as U, userAttributesService as Te, getDefaultCanTrack as Z, logFetch as Le, setupBrowserForEditing as st, createRegisterComponentMessage as ct, getCookieSync as ut, _track as Ie, fetchOneEntry as Oe, createEditorListener as dt, serializeIncludingFunctions as we, handleABTestingSync as mt } from "./server-entry-85c98f9a.js";
3
- import { setClientUserAttributes as qi } from "./server-entry-85c98f9a.js";
4
- import { jsx as s, Fragment as w, jsxs as D } from "react/jsx-runtime";
5
- import * as ft from "react";
6
- import { createContext as _e, useEffect as B, useState as k, useContext as ye, useRef as z, createElement as Ue } from "react";
7
- import { getFunctionArguments as ht, flattenState as gt, runInNode as bt, parseCode as yt, getBuilderGlobals as pt, set as He, fastClone as ve } from "./setIvm-ed61fc8c.js";
8
- import { shouldForceBrowserRuntimeInNode as vt } from "./should-force-browser-runtime-in-node-03c2678b.js";
9
- const xt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), St = (e) => typeof e == "string" && xt.has(e.toLowerCase());
2
+ import { TARGET as F, isBrowser as G, logger as ee, checkIsDefined as ge, isPreviewing as oe, isEditing as U, userAttributesService as Te, getDefaultCanTrack as Z, logFetch as Le, setupBrowserForEditing as ct, createRegisterComponentMessage as ut, getCookieSync as dt, _track as Ie, fetchOneEntry as _e, createEditorListener as mt, serializeIncludingFunctions as we, handleABTestingSync as ft } from "./server-entry-c3bc01a9.js";
3
+ import { setClientUserAttributes as ji } from "./server-entry-c3bc01a9.js";
4
+ import { jsx as s, Fragment as P, jsxs as D } from "react/jsx-runtime";
5
+ import * as ht from "react";
6
+ import { createContext as Ue, useEffect as B, useState as k, useContext as ye, useRef as K, createElement as He } from "react";
7
+ import { getFunctionArguments as bt, flattenState as gt, runInNode as yt, parseCode as pt, getBuilderGlobals as vt, set as Me, fastClone as ve } from "./setIvm-f74f2921.js";
8
+ import { shouldForceBrowserRuntimeInNode as xt } from "./should-force-browser-runtime-in-node-1af30e6f.js";
9
+ const St = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), kt = (e) => typeof e == "string" && St.has(e.toLowerCase());
10
10
  function xe(e) {
11
- return /* @__PURE__ */ s(w, { children: St(e.TagName) ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(w, { children: typeof e.TagName == "string" ? /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
11
+ return /* @__PURE__ */ s(P, { children: kt(e.TagName) ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(P, { children: typeof e.TagName == "string" ? /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
12
12
  }
13
- const K = () => {
13
+ const z = () => {
14
14
  switch (F) {
15
15
  case "react":
16
16
  case "reactNative":
@@ -24,11 +24,11 @@ const K = () => {
24
24
  return "class";
25
25
  }
26
26
  };
27
- function kt(e) {
27
+ function Ct(e) {
28
28
  function t() {
29
29
  return {
30
30
  ...e.attributes,
31
- [K()]: `${e.link ? "" : "builder-button"} ${e.attributes[K()] || ""}`,
31
+ [z()]: `${e.link ? "" : "builder-button"} ${e.attributes[z()] || ""}`,
32
32
  ...e.link ? {
33
33
  href: e.link,
34
34
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -48,7 +48,7 @@ function kt(e) {
48
48
  }
49
49
  );
50
50
  }
51
- const le = _e({
51
+ const le = Ue({
52
52
  content: null,
53
53
  context: {},
54
54
  localState: void 0,
@@ -63,10 +63,10 @@ const le = _e({
63
63
  BlocksWrapperProps: {},
64
64
  nonce: "",
65
65
  model: ""
66
- }), Me = _e({ registeredComponents: {} }), qe = (e, t, n) => {
66
+ }), qe = Ue({ registeredComponents: {} }), je = (e, t, n) => {
67
67
  const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((a, r) => a != null ? a[r] : a, e);
68
68
  return i === void 0 || i === e ? n : i;
69
- }, Ct = ({
69
+ }, Tt = ({
70
70
  code: e,
71
71
  builder: t,
72
72
  context: n,
@@ -75,7 +75,7 @@ const le = _e({
75
75
  rootSetState: r,
76
76
  rootState: o
77
77
  }) => {
78
- const l = ht({
78
+ const l = bt({
79
79
  builder: t,
80
80
  context: n,
81
81
  event: i,
@@ -86,11 +86,11 @@ const le = _e({
86
86
  })
87
87
  });
88
88
  return new Function(...l.map(([c]) => c), e)(...l.map(([, c]) => c));
89
- }, Tt = (e) => G() || vt({
89
+ }, It = (e) => G() || xt({
90
90
  shouldLogWarning: !0
91
- }) ? Ct(e) : bt(e), It = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, wt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Et = (e) => {
91
+ }) ? Tt(e) : yt(e), wt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Et = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Rt = (e) => {
92
92
  var t, n, i, a, r, o;
93
- return ((i = (n = (t = It.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((o = (r = (a = wt.exec(e.trim())) == null ? void 0 : a.groups) == null ? void 0 : r.getPath) == null ? void 0 : o.slice(1));
93
+ return ((i = (n = (t = wt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((o = (r = (a = Et.exec(e.trim())) == null ? void 0 : a.groups) == null ? void 0 : r.getPath) == null ? void 0 : o.slice(1));
94
94
  };
95
95
  function Q({
96
96
  code: e,
@@ -104,17 +104,17 @@ function Q({
104
104
  }) {
105
105
  if (e.trim() === "")
106
106
  return;
107
- const c = Et(e.trim());
107
+ const c = Rt(e.trim());
108
108
  if (c)
109
- return qe({
109
+ return je({
110
110
  ...i,
111
111
  ...n
112
112
  }, c);
113
113
  const d = {
114
- code: yt(e, {
114
+ code: pt(e, {
115
115
  isExpression: o
116
116
  }),
117
- builder: pt(l),
117
+ builder: vt(l),
118
118
  context: t,
119
119
  event: r,
120
120
  rootSetState: a,
@@ -122,7 +122,7 @@ function Q({
122
122
  localState: n
123
123
  };
124
124
  try {
125
- return Tt(d);
125
+ return It(d);
126
126
  } catch (h) {
127
127
  ee.error("Failed code evaluation: " + h.message, {
128
128
  code: e
@@ -130,15 +130,15 @@ function Q({
130
130
  return;
131
131
  }
132
132
  }
133
- function Rt(e, t) {
133
+ function Pt(e, t) {
134
134
  var n;
135
135
  return {
136
136
  ...(n = e.component) == null ? void 0 : n.options,
137
137
  ...e.options,
138
- ...Pt(e, t)
138
+ ...Vt(e, t)
139
139
  };
140
140
  }
141
- const Pt = (e, t) => {
141
+ const Vt = (e, t) => {
142
142
  var n, i;
143
143
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
144
144
  return {
@@ -152,7 +152,7 @@ const Pt = (e, t) => {
152
152
  }))
153
153
  };
154
154
  };
155
- function Vt(e, ...t) {
155
+ function At(e, ...t) {
156
156
  const n = Object.assign({}, e);
157
157
  for (const i of t)
158
158
  delete n[i];
@@ -175,29 +175,29 @@ function re(e, t, n = null, i = null, a = /* @__PURE__ */ new WeakSet()) {
175
175
  }), re(o, t, e, r, a);
176
176
  }));
177
177
  }
178
- function je(e) {
178
+ function Ke(e) {
179
179
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
180
180
  }
181
- function At(e) {
181
+ function Bt(e) {
182
182
  if (!e || !Object.getOwnPropertyNames(e).length)
183
183
  return !1;
184
184
  let t = !1;
185
185
  return re(e, (n) => {
186
- if (je(n)) {
186
+ if (Ke(n)) {
187
187
  t = !0;
188
188
  return;
189
189
  }
190
190
  }), t;
191
191
  }
192
- function Bt(e, t) {
192
+ function Nt(e, t) {
193
193
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (re(e, (n, i) => {
194
194
  var a;
195
- je(n) && i((a = n[t]) != null ? a : void 0);
195
+ Ke(n) && i((a = n[t]) != null ? a : void 0);
196
196
  }), e);
197
197
  }
198
- function Nt(e, t) {
198
+ function $t(e, t) {
199
199
  var n, i;
200
- return (n = e.component) != null && n.options && At((i = e.component) == null ? void 0 : i.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Bt(e.component.options, t != null ? t : "Default")), e;
200
+ return (n = e.component) != null && n.options && Bt((i = e.component) == null ? void 0 : i.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Nt(e.component.options, t != null ? t : "Default")), e;
201
201
  }
202
202
  function pe(e) {
203
203
  if (e === null || typeof e != "object")
@@ -211,8 +211,8 @@ function pe(e) {
211
211
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = pe(e[n]));
212
212
  return t;
213
213
  }
214
- const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) => {
215
- if ($t) {
214
+ const Wt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) => {
215
+ if (Wt) {
216
216
  const t = ve(e);
217
217
  return {
218
218
  ...t,
@@ -224,7 +224,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
224
224
  }
225
225
  };
226
226
  } else {
227
- const t = pe(Vt(e, "children", "meta"));
227
+ const t = pe(At(e, "children", "meta"));
228
228
  return {
229
229
  ...t,
230
230
  properties: {
@@ -237,7 +237,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
237
237
  meta: e.meta
238
238
  };
239
239
  }
240
- }, Dt = ({
240
+ }, Ft = ({
241
241
  block: e,
242
242
  context: t,
243
243
  localState: n,
@@ -246,7 +246,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
246
246
  }) => {
247
247
  if (!e.bindings)
248
248
  return e;
249
- const r = Wt(e);
249
+ const r = Dt(e);
250
250
  for (const o in e.bindings) {
251
251
  const l = e.bindings[o], c = Q({
252
252
  code: l,
@@ -255,11 +255,11 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
255
255
  rootSetState: a,
256
256
  context: t
257
257
  });
258
- He(r, o, c);
258
+ Me(r, o, c);
259
259
  }
260
260
  return r;
261
261
  };
262
- function Ft({
262
+ function Ot({
263
263
  block: e,
264
264
  context: t,
265
265
  localState: n,
@@ -267,13 +267,13 @@ function Ft({
267
267
  rootSetState: a
268
268
  }) {
269
269
  let r = e;
270
- return r = Dt({
270
+ return r = Ft({
271
271
  block: r,
272
272
  localState: n,
273
273
  rootState: i,
274
274
  rootSetState: a,
275
275
  context: t
276
- }), r = Nt(r, i.locale), r;
276
+ }), r = $t(r, i.locale), r;
277
277
  }
278
278
  const se = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
279
279
  function Lt(e, t, n = {}) {
@@ -298,55 +298,55 @@ function X(e, ...t) {
298
298
  }
299
299
  return n;
300
300
  }
301
- function Ot(e) {
301
+ function _t(e) {
302
302
  for (const t of e)
303
303
  switch (t.trigger) {
304
304
  case "pageLoad":
305
- Je(t);
305
+ Ge(t);
306
306
  break;
307
307
  case "scrollInView":
308
- Ut(t);
308
+ Ht(t);
309
309
  break;
310
310
  }
311
311
  }
312
312
  function ze(e) {
313
313
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
314
314
  }
315
- function Ke(e, t) {
316
- const n = _t(e), i = getComputedStyle(t), a = e.steps[0].styles, r = e.steps[e.steps.length - 1].styles, o = [a, r];
315
+ function Je(e, t) {
316
+ const n = Ut(e), i = getComputedStyle(t), a = e.steps[0].styles, r = e.steps[e.steps.length - 1].styles, o = [a, r];
317
317
  for (const l of o)
318
318
  for (const c of n)
319
319
  c in l || (l[c] = i[c]);
320
320
  }
321
- function _t(e) {
321
+ function Ut(e) {
322
322
  const t = [];
323
323
  for (const n of e.steps)
324
324
  for (const i in n.styles)
325
325
  t.indexOf(i) === -1 && t.push(i);
326
326
  return t;
327
327
  }
328
- function Je(e) {
328
+ function Ge(e) {
329
329
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
330
330
  if (!t.length) {
331
331
  ze(e.elementId || e.id || "");
332
332
  return;
333
333
  }
334
334
  Array.from(t).forEach((n) => {
335
- Ke(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
335
+ Je(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
336
336
  n.style.transition = `all ${e.duration}s ${se(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
337
337
  n.style.transition = "", n.style.transitionDelay = "";
338
338
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
339
339
  });
340
340
  });
341
341
  }
342
- function Ut(e) {
342
+ function Ht(e) {
343
343
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
344
344
  if (!t.length) {
345
345
  ze(e.elementId || e.id || "");
346
346
  return;
347
347
  }
348
348
  Array.from(t).forEach((n) => {
349
- Ke(e, n);
349
+ Je(e, n);
350
350
  let i = !1, a = !1;
351
351
  function r() {
352
352
  !i && l(n) ? (i = !0, a = !0, setTimeout(() => {
@@ -359,8 +359,8 @@ function Ut(e) {
359
359
  leading: !1
360
360
  });
361
361
  function l(h) {
362
- const b = h.getBoundingClientRect(), u = window.innerHeight, m = (e.thresholdPercent || 0) / 100 * u;
363
- return b.bottom > m && b.top < u - m;
362
+ const g = h.getBoundingClientRect(), u = window.innerHeight, m = (e.thresholdPercent || 0) / 100 * u;
363
+ return g.bottom > m && g.top < u - m;
364
364
  }
365
365
  const c = e.steps[0].styles;
366
366
  function d() {
@@ -374,42 +374,42 @@ function Ut(e) {
374
374
  }), r();
375
375
  });
376
376
  }
377
- const Ge = (e) => Object.entries(e).map(([n, i]) => {
377
+ const Qe = (e) => Object.entries(e).map(([n, i]) => {
378
378
  if (typeof i == "string")
379
379
  return `${se(n)}: ${i};`;
380
- }).filter(be), Ht = (e) => Ge(e).join(`
380
+ }).filter(ge), Mt = (e) => Qe(e).join(`
381
381
  `), Y = ({
382
382
  mediaQuery: e,
383
383
  className: t,
384
384
  styles: n
385
385
  }) => {
386
386
  const i = `.${t} {
387
- ${Ht(n)}
387
+ ${Mt(n)}
388
388
  }`;
389
389
  return e ? `${e} {
390
390
  ${i}
391
391
  }` : i;
392
392
  };
393
- function Mt({
393
+ function qt({
394
394
  style: e
395
395
  }) {
396
396
  return e;
397
397
  }
398
- const qt = ({
398
+ const jt = ({
399
399
  block: e,
400
400
  context: t
401
- }) => Qe(Mt({
401
+ }) => Ye(qt({
402
402
  style: e.style || {},
403
403
  context: t,
404
404
  block: e
405
405
  }));
406
- function Qe(e) {
406
+ function Ye(e) {
407
407
  switch (F) {
408
408
  case "svelte":
409
409
  case "vue":
410
410
  case "solid":
411
411
  case "angular":
412
- return Ge(e).join(" ");
412
+ return Qe(e).join(" ");
413
413
  case "qwik":
414
414
  case "reactNative":
415
415
  case "react":
@@ -417,7 +417,7 @@ function Qe(e) {
417
417
  return e;
418
418
  }
419
419
  }
420
- const Ye = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, jt = ({
420
+ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Kt = ({
421
421
  block: e,
422
422
  registeredComponents: t,
423
423
  model: n
@@ -427,7 +427,7 @@ const Ye = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
427
427
  if (!i)
428
428
  return null;
429
429
  const a = t[i];
430
- if (!a || Ye(a, n)) {
430
+ if (!a || Xe(a, n)) {
431
431
  console.warn(`
432
432
  Could not find a registered component named "${i}".
433
433
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
@@ -467,31 +467,31 @@ const Ye = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
467
467
  },
468
468
  block: i
469
469
  }));
470
- }, Kt = (e, t) => {
470
+ }, Jt = (e, t) => {
471
471
  var n;
472
472
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
473
473
  builderLinkComponent: t
474
474
  } : {};
475
- }, Jt = (e, t, n) => {
475
+ }, Gt = (e, t, n) => {
476
476
  var i;
477
477
  return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
478
- builderComponents: Object.fromEntries(Object.entries(t).filter(([r, o]) => !Ye(o, n)))
478
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([r, o]) => !Xe(o, n)))
479
479
  } : {};
480
- }, Gt = (e, t) => {
480
+ }, Qt = (e, t) => {
481
481
  var n;
482
482
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
483
483
  builderBlock: t
484
484
  } : {};
485
- }, Qt = (e, t) => {
485
+ }, Yt = (e, t) => {
486
486
  var n;
487
487
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
488
488
  builderContext: t
489
489
  } : {};
490
490
  }, Ee = (e) => e.toString();
491
- function Yt(e) {
491
+ function Xt(e) {
492
492
  return e.charAt(0).toUpperCase() + e.slice(1);
493
493
  }
494
- const Xt = (e) => `on${Yt(e)}`, Zt = (e, t) => (n) => Q({
494
+ const Zt = (e) => `on${Xt(e)}`, en = (e, t) => (n) => Q({
495
495
  code: e,
496
496
  context: t.context,
497
497
  localState: t.localState,
@@ -501,14 +501,14 @@ const Xt = (e) => `on${Yt(e)}`, Zt = (e, t) => (n) => Q({
501
501
  isExpression: !1,
502
502
  trackingContext: t.trackingContext
503
503
  });
504
- function Xe(e) {
504
+ function Ze(e) {
505
505
  var i;
506
506
  const t = {}, n = (i = e.block.actions) != null ? i : {};
507
507
  for (const a in n) {
508
508
  if (!n.hasOwnProperty(a))
509
509
  continue;
510
510
  const r = n[a];
511
- let o = Xt(a);
511
+ let o = Zt(a);
512
512
  if (e.stripPrefix)
513
513
  switch (F) {
514
514
  case "vue":
@@ -518,16 +518,16 @@ function Xe(e) {
518
518
  o = o.replace("on:", "");
519
519
  break;
520
520
  }
521
- t[o] = Zt(r, e);
521
+ t[o] = en(r, e);
522
522
  }
523
523
  return t;
524
524
  }
525
- function en({
525
+ function tn({
526
526
  properties: e
527
527
  }) {
528
528
  return e;
529
529
  }
530
- const tn = (e) => ({
530
+ const nn = (e) => ({
531
531
  href: e.href
532
532
  });
533
533
  function Se({
@@ -536,22 +536,22 @@ function Se({
536
536
  }) {
537
537
  var i;
538
538
  const n = {
539
- ...tn(e),
539
+ ...nn(e),
540
540
  ...e.properties,
541
541
  "builder-id": e.id,
542
- style: qt({
542
+ style: jt({
543
543
  block: e,
544
544
  context: t
545
545
  }),
546
- [K()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
546
+ [z()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
547
547
  };
548
- return en({
548
+ return tn({
549
549
  properties: n,
550
550
  context: t,
551
551
  block: e
552
552
  });
553
553
  }
554
- function nn(e) {
554
+ function an(e) {
555
555
  var t, n, i;
556
556
  return /* @__PURE__ */ s(
557
557
  xe,
@@ -561,7 +561,7 @@ function nn(e) {
561
561
  block: e.block,
562
562
  context: e.context
563
563
  }),
564
- actionAttributes: Xe({
564
+ actionAttributes: Ze({
565
565
  block: e.block,
566
566
  rootState: e.context.rootState,
567
567
  rootSetState: e.context.rootSetState,
@@ -579,11 +579,11 @@ function nn(e) {
579
579
  }
580
580
  );
581
581
  }
582
- function an(e) {
582
+ function rn(e) {
583
583
  return B(() => {
584
- }, []), /* @__PURE__ */ s(w, { children: e.children });
584
+ }, []), /* @__PURE__ */ s(P, { children: e.children });
585
585
  }
586
- function rn(e) {
586
+ function on(e) {
587
587
  var i, a;
588
588
  k(() => 0);
589
589
  function t() {
@@ -593,7 +593,7 @@ function rn(e) {
593
593
  block: e.block,
594
594
  context: e.context
595
595
  }),
596
- ...Xe({
596
+ ...Ze({
597
597
  block: e.block,
598
598
  rootState: e.context.rootState,
599
599
  rootSetState: e.context.rootSetState,
@@ -612,8 +612,8 @@ function rn(e) {
612
612
  return e.wrapperProps;
613
613
  }
614
614
  return B(() => {
615
- }, [e.wrapperProps, (a = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : a.options]), /* @__PURE__ */ s(w, { children: e.Wrapper.load ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
616
- an,
615
+ }, [e.wrapperProps, (a = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : a.options]), /* @__PURE__ */ s(P, { children: e.Wrapper.load ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
616
+ rn,
617
617
  {
618
618
  load: e.Wrapper.load,
619
619
  fallback: e.Wrapper.fallback,
@@ -623,7 +623,7 @@ function rn(e) {
623
623
  }
624
624
  ) }) : /* @__PURE__ */ s(e.Wrapper, { ...n(), attributes: t(), children: e.children }) });
625
625
  }
626
- const on = ({
626
+ const ln = ({
627
627
  componentOptions: e,
628
628
  builderBlock: t,
629
629
  context: n,
@@ -654,15 +654,18 @@ const on = ({
654
654
  } : l;
655
655
  };
656
656
  function Re(e) {
657
- var i;
657
+ var a;
658
658
  k(() => !1);
659
659
  const [t, n] = k(
660
- () => e.isInteractive ? rn : e.componentRef
660
+ () => e.isInteractive ? on : e.componentRef
661
661
  );
662
- return /* @__PURE__ */ s(w, { children: e.componentRef ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
662
+ function i() {
663
+ return e.componentRef ? e.blockChildren : [];
664
+ }
665
+ return /* @__PURE__ */ s(P, { children: e.componentRef ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
663
666
  t,
664
667
  {
665
- ...on({
668
+ ...ln({
666
669
  componentOptions: e.componentOptions,
667
670
  builderBlock: e.builderBlock,
668
671
  context: e.context,
@@ -672,16 +675,16 @@ function Re(e) {
672
675
  isInteractive: e.isInteractive,
673
676
  contextValue: e.context
674
677
  }),
675
- children: e.componentRef ? /* @__PURE__ */ s(w, { children: (i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */ s(
678
+ children: (a = i()) == null ? void 0 : a.map((r) => /* @__PURE__ */ s(
676
679
  ce,
677
680
  {
678
- block: a,
681
+ block: r,
679
682
  context: e.context,
680
683
  registeredComponents: e.registeredComponents,
681
684
  linkComponent: e.linkComponent
682
685
  },
683
- a.id
684
- )) }) : null
686
+ r.id
687
+ ))
685
688
  }
686
689
  ) }) : null });
687
690
  }
@@ -699,7 +702,7 @@ function Pe(e) {
699
702
  }
700
703
  ) });
701
704
  }
702
- const Ze = {
705
+ const et = {
703
706
  xsmall: {
704
707
  min: 0,
705
708
  default: 160,
@@ -720,8 +723,8 @@ const Ze = {
720
723
  default: 991,
721
724
  max: 1200
722
725
  }
723
- }, ue = (e, t = Ze) => `@media (max-width: ${t[e].max}px)`, et = (e) => {
724
- const t = ve(Ze);
726
+ }, ue = (e, t = et) => `@media (max-width: ${t[e].max}px)`, tt = (e) => {
727
+ const t = ve(et);
725
728
  if (!e)
726
729
  return t;
727
730
  const {
@@ -772,13 +775,13 @@ function te(e) {
772
775
  function Ve(e) {
773
776
  function t() {
774
777
  const i = e.block;
775
- return be(i.hide) ? !i.hide : be(i.show) ? i.show : !0;
778
+ return ge(i.hide) ? !i.hide : ge(i.show) ? i.show : !0;
776
779
  }
777
780
  function n() {
778
- var T, E, _, H, q;
779
- const i = e.block, a = i.responsiveStyles, r = e.context.content, o = et(
781
+ var T, w, _, H, q;
782
+ const i = e.block, a = i.responsiveStyles, r = e.context.content, o = tt(
780
783
  ((T = r == null ? void 0 : r.meta) == null ? void 0 : T.breakpoints) || {}
781
- ), l = !!((_ = (E = r == null ? void 0 : r.meta) == null ? void 0 : E.breakpoints) != null && _.xsmall), c = a == null ? void 0 : a.large, d = a == null ? void 0 : a.medium, h = a == null ? void 0 : a.small, b = a == null ? void 0 : a.xsmall, u = i.id;
784
+ ), l = !!((_ = (w = r == null ? void 0 : r.meta) == null ? void 0 : w.breakpoints) != null && _.xsmall), c = a == null ? void 0 : a.large, d = a == null ? void 0 : a.medium, h = a == null ? void 0 : a.small, g = a == null ? void 0 : a.xsmall, u = i.id;
782
785
  if (!u)
783
786
  return "";
784
787
  const S = c ? Y({
@@ -791,16 +794,16 @@ function Ve(e) {
791
794
  "medium",
792
795
  o
793
796
  )
794
- }) : "", g = h ? Y({
797
+ }) : "", b = h ? Y({
795
798
  className: u,
796
799
  styles: h,
797
800
  mediaQuery: ue(
798
801
  "small",
799
802
  o
800
803
  )
801
- }) : "", p = b && l ? Y({
804
+ }) : "", p = g && l ? Y({
802
805
  className: u,
803
- styles: b,
806
+ styles: g,
804
807
  mediaQuery: ue(
805
808
  "xsmall",
806
809
  o
@@ -823,12 +826,12 @@ function Ve(e) {
823
826
  return [
824
827
  S,
825
828
  m,
826
- g,
829
+ b,
827
830
  p,
828
831
  v
829
832
  ].join(" ");
830
833
  }
831
- return /* @__PURE__ */ s(w, { children: n() && t() ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
834
+ return /* @__PURE__ */ s(P, { children: n() && t() ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
832
835
  te,
833
836
  {
834
837
  id: "builderio-block",
@@ -837,14 +840,14 @@ function Ve(e) {
837
840
  }
838
841
  ) }) : null });
839
842
  }
840
- function ln(e) {
843
+ function sn(e) {
841
844
  k(() => !1);
842
845
  const [t, n] = k(() => !1);
843
846
  return ye(le), B(() => {
844
- }, []), /* @__PURE__ */ s(w, { children: t ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) }) : /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) });
847
+ }, []), /* @__PURE__ */ s(P, { children: t ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) }) : /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) });
845
848
  }
846
849
  function ce(e) {
847
- var h, b, u, S;
850
+ var h, g, u, S;
848
851
  function t() {
849
852
  return zt({
850
853
  block: e.block,
@@ -856,10 +859,10 @@ function ce(e) {
856
859
  update: !1
857
860
  }));
858
861
  function a() {
859
- var g;
862
+ var b;
860
863
  if (n.value && !n.update && !oe())
861
864
  return n.value;
862
- const m = (g = e.block.repeat) != null && g.collection ? e.block : Ft({
865
+ const m = (b = e.block.repeat) != null && b.collection ? e.block : Ot({
863
866
  block: e.block,
864
867
  localState: e.context.localState,
865
868
  rootState: e.context.rootState,
@@ -869,15 +872,15 @@ function ce(e) {
869
872
  return n.value = m, n.update = !1, m;
870
873
  }
871
874
  function r() {
872
- return jt({
875
+ return Kt({
873
876
  block: a(),
874
877
  registeredComponents: e.registeredComponents,
875
878
  model: e.context.model
876
879
  });
877
880
  }
878
881
  function o() {
879
- var g;
880
- return e.block.tagName === "a" || ((g = a().properties) == null ? void 0 : g.href) || a().href ? e.linkComponent || "a" : e.block.tagName || "div";
882
+ var b;
883
+ return e.block.tagName === "a" || ((b = a().properties) == null ? void 0 : b.href) || a().href ? e.linkComponent || "a" : e.block.tagName || "div";
881
884
  }
882
885
  function l() {
883
886
  var p, f;
@@ -887,20 +890,20 @@ function ce(e) {
887
890
  return ("show" in a() ? a().show : !0) && !m;
888
891
  }
889
892
  function c() {
890
- var g, p;
891
- return !((g = r == null ? void 0 : r()) != null && g.component) && !t() ? (p = a().children) != null ? p : [] : [];
893
+ var b, p;
894
+ return !((b = r == null ? void 0 : r()) != null && b.component) && !t() ? (p = a().children) != null ? p : [] : [];
892
895
  }
893
896
  function d() {
894
- var m, g, p, f;
897
+ var m, b, p, f;
895
898
  return {
896
899
  blockChildren: (m = a().children) != null ? m : [],
897
- componentRef: (g = r == null ? void 0 : r()) == null ? void 0 : g.component,
900
+ componentRef: (b = r == null ? void 0 : r()) == null ? void 0 : b.component,
898
901
  componentOptions: {
899
- ...Rt(a(), e.context),
900
- ...Gt(r(), a()),
901
- ...Qt(r(), e.context),
902
- ...Kt(r(), e.linkComponent),
903
- ...Jt(
902
+ ...Pt(a(), e.context),
903
+ ...Qt(r(), a()),
904
+ ...Yt(r(), e.context),
905
+ ...Jt(r(), e.linkComponent),
906
+ ...Gt(
904
907
  r(),
905
908
  e.registeredComponents,
906
909
  e.context.model
@@ -915,25 +918,25 @@ function ce(e) {
915
918
  };
916
919
  }
917
920
  return B(() => {
918
- const m = a().id, g = a().animations;
919
- g && m && Ot(
920
- g.map((p) => ({
921
+ const m = a().id, b = a().animations;
922
+ b && m && _t(
923
+ b.map((p) => ({
921
924
  ...p,
922
925
  elementId: m
923
926
  }))
924
927
  );
925
928
  }, []), B(() => {
926
929
  n.update = !0;
927
- }), /* @__PURE__ */ s(w, { children: l() ? /* @__PURE__ */ D(w, { children: [
930
+ }), /* @__PURE__ */ s(P, { children: l() ? /* @__PURE__ */ D(P, { children: [
928
931
  /* @__PURE__ */ s(
929
- ln,
932
+ sn,
930
933
  {
931
934
  block: a(),
932
935
  context: e.context,
933
936
  id: e.block.id
934
937
  }
935
938
  ),
936
- (h = r == null ? void 0 : r()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(w, { children: (S = t()) == null ? void 0 : S.map((m, g) => /* @__PURE__ */ s(
939
+ (h = r == null ? void 0 : r()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(P, { children: (S = t()) == null ? void 0 : S.map((m, b) => /* @__PURE__ */ s(
937
940
  Pe,
938
941
  {
939
942
  repeatContext: m.context,
@@ -941,7 +944,7 @@ function ce(e) {
941
944
  registeredComponents: e.registeredComponents,
942
945
  linkComponent: e.linkComponent
943
946
  },
944
- Ee(g)
947
+ Ee(b)
945
948
  )) }) : /* @__PURE__ */ s(
946
949
  Re,
947
950
  {
@@ -955,7 +958,7 @@ function ce(e) {
955
958
  includeBlockProps: d().includeBlockProps,
956
959
  isInteractive: d().isInteractive
957
960
  }
958
- ) : /* @__PURE__ */ s(w, { children: t() ? /* @__PURE__ */ s(w, { children: (u = t()) == null ? void 0 : u.map((m, g) => /* @__PURE__ */ s(
961
+ ) : /* @__PURE__ */ s(P, { children: t() ? /* @__PURE__ */ s(P, { children: (u = t()) == null ? void 0 : u.map((m, b) => /* @__PURE__ */ s(
959
962
  Pe,
960
963
  {
961
964
  repeatContext: m.context,
@@ -963,9 +966,9 @@ function ce(e) {
963
966
  registeredComponents: e.registeredComponents,
964
967
  linkComponent: e.linkComponent
965
968
  },
966
- Ee(g)
969
+ Ee(b)
967
970
  )) }) : /* @__PURE__ */ D(
968
- nn,
971
+ an,
969
972
  {
970
973
  Wrapper: o(),
971
974
  block: a(),
@@ -985,7 +988,7 @@ function ce(e) {
985
988
  isInteractive: d().isInteractive
986
989
  }
987
990
  ),
988
- (b = c()) == null ? void 0 : b.map((m) => /* @__PURE__ */ s(
991
+ (g = c()) == null ? void 0 : g.map((m) => /* @__PURE__ */ s(
989
992
  ce,
990
993
  {
991
994
  block: m,
@@ -1000,8 +1003,8 @@ function ce(e) {
1000
1003
  ) })
1001
1004
  ] }) : null });
1002
1005
  }
1003
- function sn(e) {
1004
- const t = z(null);
1006
+ function cn(e) {
1007
+ const t = K(null);
1005
1008
  k(() => !1);
1006
1009
  function n() {
1007
1010
  var o;
@@ -1045,7 +1048,7 @@ function sn(e) {
1045
1048
  }
1046
1049
  return B(() => {
1047
1050
  }, []), B(() => {
1048
- }, [e.blocks]), /* @__PURE__ */ D(w, { children: [
1051
+ }, [e.blocks]), /* @__PURE__ */ D(P, { children: [
1049
1052
  /* @__PURE__ */ s("style", { children: `.props-blocks-wrapper-b46bf284 {
1050
1053
  display: flex;
1051
1054
  flex-direction: column;
@@ -1070,9 +1073,9 @@ function sn(e) {
1070
1073
  }
1071
1074
  function M(e) {
1072
1075
  var i, a, r;
1073
- const t = ye(le), n = ye(Me);
1076
+ const t = ye(le), n = ye(qe);
1074
1077
  return /* @__PURE__ */ D(
1075
- sn,
1078
+ cn,
1076
1079
  {
1077
1080
  blocks: e.blocks,
1078
1081
  parent: e.parent,
@@ -1083,7 +1086,7 @@ function M(e) {
1083
1086
  BlocksWrapper: ((a = e.context) == null ? void 0 : a.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
1084
1087
  children: [
1085
1088
  e.children,
1086
- e.blocks ? /* @__PURE__ */ s(w, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ s(
1089
+ e.blocks ? /* @__PURE__ */ s(P, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ s(
1087
1090
  ce,
1088
1091
  {
1089
1092
  block: o,
@@ -1097,9 +1100,9 @@ function M(e) {
1097
1100
  }
1098
1101
  );
1099
1102
  }
1100
- const cn = (e) => `builder-columns ${e}-breakpoints`;
1101
- function un(e) {
1102
- var g, p;
1103
+ const un = (e) => `builder-columns ${e}-breakpoints`;
1104
+ function dn(e) {
1105
+ var b, p;
1103
1106
  function t() {
1104
1107
  return typeof e.space == "number" ? e.space || 0 : 20;
1105
1108
  }
@@ -1144,8 +1147,8 @@ function un(e) {
1144
1147
  })
1145
1148
  };
1146
1149
  }
1147
- function b(f) {
1148
- const v = f === 0 ? 0 : t(), T = o(f), E = `${v}px`, _ = "100%", H = 0;
1150
+ function g(f) {
1151
+ const v = f === 0 ? 0 : t(), T = o(f), w = `${v}px`, _ = "100%", H = 0;
1149
1152
  return {
1150
1153
  ...{
1151
1154
  display: "flex",
@@ -1153,14 +1156,14 @@ function un(e) {
1153
1156
  alignItems: "stretch"
1154
1157
  },
1155
1158
  width: T,
1156
- ["marginLeft"]: E,
1159
+ ["marginLeft"]: w,
1157
1160
  "--column-width-mobile": c({
1158
1161
  stackedStyle: _,
1159
1162
  desktopStyle: T
1160
1163
  }),
1161
1164
  "--column-margin-left-mobile": c({
1162
1165
  stackedStyle: H,
1163
- desktopStyle: E
1166
+ desktopStyle: w
1164
1167
  }),
1165
1168
  "--column-width-tablet": l({
1166
1169
  stackedStyle: _,
@@ -1168,14 +1171,14 @@ function un(e) {
1168
1171
  }),
1169
1172
  "--column-margin-left-tablet": l({
1170
1173
  stackedStyle: H,
1171
- desktopStyle: E
1174
+ desktopStyle: w
1172
1175
  })
1173
1176
  };
1174
1177
  }
1175
1178
  function u(f) {
1176
- var T, E;
1177
- return et(
1178
- ((E = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : E.breakpoints) || {}
1179
+ var T, w;
1180
+ return tt(
1181
+ ((w = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : w.breakpoints) || {}
1179
1182
  )[f].max;
1180
1183
  }
1181
1184
  function S() {
@@ -1211,11 +1214,11 @@ function un(e) {
1211
1214
  ...f.link ? {
1212
1215
  href: f.link
1213
1216
  } : {},
1214
- [K()]: "builder-column",
1215
- style: Qe(b(v))
1217
+ [z()]: "builder-column",
1218
+ style: Ye(g(v))
1216
1219
  };
1217
1220
  }
1218
- return /* @__PURE__ */ D(w, { children: [
1221
+ return /* @__PURE__ */ D(P, { children: [
1219
1222
  /* @__PURE__ */ s("style", { children: `.div-0369db37 {
1220
1223
  display: flex;
1221
1224
  line-height: normal;
@@ -1224,7 +1227,7 @@ function un(e) {
1224
1227
  /* @__PURE__ */ D(
1225
1228
  "div",
1226
1229
  {
1227
- className: cn((g = e.builderBlock) == null ? void 0 : g.id) + " div-0369db37",
1230
+ className: un((b = e.builderBlock) == null ? void 0 : b.id) + " div-0369db37",
1228
1231
  style: h(),
1229
1232
  children: [
1230
1233
  /* @__PURE__ */ s(
@@ -1263,17 +1266,17 @@ function un(e) {
1263
1266
  )
1264
1267
  ] });
1265
1268
  }
1266
- function dn(e) {
1269
+ function mn(e) {
1267
1270
  return /* @__PURE__ */ s("span", { children: e.children });
1268
1271
  }
1269
1272
  function Ae(e) {
1270
1273
  return e.replace(/http(s)?:/, "");
1271
1274
  }
1272
- function mn(e = "", t, n) {
1275
+ function fn(e = "", t, n) {
1273
1276
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), a = e.indexOf("?") !== -1 ? "&" : "?";
1274
1277
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + a + t + "=" + encodeURIComponent(n);
1275
1278
  }
1276
- function fn(e, t) {
1279
+ function hn(e, t) {
1277
1280
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1278
1281
  return e;
1279
1282
  if (t === "master")
@@ -1292,26 +1295,26 @@ function de(e) {
1292
1295
  if (e.match(/builder\.io/)) {
1293
1296
  let n = e;
1294
1297
  const i = Number(e.split("?width=")[1]);
1295
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((a) => a !== i).map((a) => `${mn(e, "width", a)} ${a}w`).concat([n]).join(", ");
1298
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((a) => a !== i).map((a) => `${fn(e, "width", a)} ${a}w`).concat([n]).join(", ");
1296
1299
  }
1297
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [fn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1300
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [hn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1298
1301
  }
1299
- function hn(e) {
1302
+ function bn(e) {
1300
1303
  var a, r, o, l, c, d;
1301
1304
  function t() {
1302
1305
  var u;
1303
- const b = e.image || e.src;
1304
- if (!b || // We can auto add srcset for cdn.builder.io and shopify
1306
+ const g = e.image || e.src;
1307
+ if (!g || // We can auto add srcset for cdn.builder.io and shopify
1305
1308
  // images, otherwise you can supply this prop manually
1306
- !(typeof b == "string" && (b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/))))
1309
+ !(typeof g == "string" && (g.match(/builder\.io/) || g.match(/cdn\.shopify\.com/))))
1307
1310
  return e.srcset;
1308
1311
  if (!e.noWebp) {
1309
1312
  if (e.srcset && ((u = e.image) != null && u.includes("builder.io/api/v1/image"))) {
1310
1313
  if (!e.srcset.includes(e.image.split("?")[0]))
1311
- return console.debug("Removed given srcset"), de(b);
1314
+ return console.debug("Removed given srcset"), de(g);
1312
1315
  } else if (e.image && !e.srcset)
1313
- return de(b);
1314
- return de(b);
1316
+ return de(g);
1317
+ return de(g);
1315
1318
  }
1316
1319
  }
1317
1320
  function n() {
@@ -1329,7 +1332,7 @@ function hn(e) {
1329
1332
  return e.aspectRatio ? h : void 0;
1330
1333
  }
1331
1334
  return B(() => {
1332
- }, []), /* @__PURE__ */ D(w, { children: [
1335
+ }, []), /* @__PURE__ */ D(P, { children: [
1333
1336
  /* @__PURE__ */ s("style", { children: `.img-3cc22d08 {
1334
1337
  opacity: 1;
1335
1338
  transition: opacity 0.2s ease-in-out;
@@ -1347,7 +1350,7 @@ function hn(e) {
1347
1350
  width: 100%;
1348
1351
  height: 100%;
1349
1352
  }` }),
1350
- /* @__PURE__ */ D(w, { children: [
1353
+ /* @__PURE__ */ D(P, { children: [
1351
1354
  /* @__PURE__ */ D("picture", { children: [
1352
1355
  n() ? /* @__PURE__ */ s("source", { type: "image/webp", srcSet: n() }) : null,
1353
1356
  /* @__PURE__ */ s(
@@ -1379,7 +1382,7 @@ function hn(e) {
1379
1382
  }
1380
1383
  }
1381
1384
  ) : null,
1382
- (l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(w, { children: e.children }) : null,
1385
+ (l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(P, { children: e.children }) : null,
1383
1386
  !e.fitContent && ((d = (c = e.builderBlock) == null ? void 0 : c.children) != null && d.length) ? /* @__PURE__ */ s("div", { className: "div-3cc22d08-2", children: e.children }) : null
1384
1387
  ] })
1385
1388
  ] });
@@ -1405,7 +1408,7 @@ function gn(e) {
1405
1408
  }
1406
1409
  );
1407
1410
  }
1408
- function bn(e, t, n, i) {
1411
+ function yn(e, t, n, i) {
1409
1412
  function a(d) {
1410
1413
  return typeof d == "string";
1411
1414
  }
@@ -1428,28 +1431,28 @@ function bn(e, t, n, i) {
1428
1431
  operator: S,
1429
1432
  value: p
1430
1433
  }));
1431
- const g = d[u];
1432
- if (Array.isArray(g))
1433
- return g.includes(m);
1434
+ const b = d[u];
1435
+ if (Array.isArray(b))
1436
+ return b.includes(m);
1434
1437
  switch (S) {
1435
1438
  case "is":
1436
- return g === m;
1439
+ return b === m;
1437
1440
  case "isNot":
1438
- return g !== m;
1441
+ return b !== m;
1439
1442
  case "contains":
1440
- return (a(g) || Array.isArray(g)) && g.includes(String(m));
1443
+ return (a(b) || Array.isArray(b)) && b.includes(String(m));
1441
1444
  case "startsWith":
1442
- return a(g) && g.startsWith(String(m));
1445
+ return a(b) && b.startsWith(String(m));
1443
1446
  case "endsWith":
1444
- return a(g) && g.endsWith(String(m));
1447
+ return a(b) && b.endsWith(String(m));
1445
1448
  case "greaterThan":
1446
- return r(g) && r(m) && g > m;
1449
+ return r(b) && r(m) && b > m;
1447
1450
  case "lessThan":
1448
- return r(g) && r(m) && g < m;
1451
+ return r(b) && r(m) && b < m;
1449
1452
  case "greaterThanOrEqualTo":
1450
- return r(g) && r(m) && g >= m;
1453
+ return r(b) && r(m) && b >= m;
1451
1454
  case "lessThanOrEqualTo":
1452
- return r(g) && r(m) && g <= m;
1455
+ return r(b) && r(m) && b <= m;
1453
1456
  default:
1454
1457
  return !1;
1455
1458
  }
@@ -1462,7 +1465,7 @@ function bn(e, t, n, i) {
1462
1465
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
1463
1466
  return l.startDate && new Date(l.startDate) > c || l.endDate && new Date(l.endDate) < c ? !1 : !l.query || !l.query.length ? !0 : l.query.every((d) => o(e, d));
1464
1467
  }
1465
- const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1468
+ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1466
1469
  if (!navigator.cookieEnabled) {
1467
1470
  return;
1468
1471
  }
@@ -1507,7 +1510,7 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1507
1510
  thisScript.remove();
1508
1511
  }
1509
1512
  }
1510
- }`, pn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1513
+ }`, vn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1511
1514
  function isString(val) {
1512
1515
  return typeof val === 'string';
1513
1516
  }
@@ -1585,7 +1588,7 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1585
1588
  return item.query.every(filter => {
1586
1589
  return objectMatchesQuery(userAttributes, filter);
1587
1590
  });
1588
- }`, vn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1591
+ }`, xn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1589
1592
  function getCookie(name) {
1590
1593
  const nameEQ = name + '=';
1591
1594
  const ca = document.cookie.split(';');
@@ -1623,11 +1626,11 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1623
1626
  visibilityStylesEl.innerHTML = newStyleStr;
1624
1627
  }
1625
1628
  }
1626
- }`, ne = "default", xn = "filterWithCustomTargeting", tt = "builderIoPersonalization", nt = "updateVisibilityStylesScript", it = ["react", "vue", "svelte", "qwik"], ie = ["vue", "svelte", "qwik"];
1627
- function Sn(e, t) {
1629
+ }`, ne = "default", Sn = "filterWithCustomTargeting", nt = "builderIoPersonalization", it = "updateVisibilityStylesScript", at = ["react", "vue", "svelte", "qwik"], ie = ["vue", "svelte", "qwik"];
1630
+ function kn(e, t) {
1628
1631
  return !(e && e.length > 0) || !t ? !1 : ie.includes(F) ? !0 : !G();
1629
1632
  }
1630
- function kn({
1633
+ function Cn({
1631
1634
  variants: e,
1632
1635
  previewingIndex: t,
1633
1636
  isHydrated: n,
@@ -1666,11 +1669,11 @@ function kn({
1666
1669
  }
1667
1670
  return r;
1668
1671
  }
1669
- const Cn = () => `
1670
- window.${xn} = ${pn}
1671
- window.${tt} = ${yn}
1672
- window.${nt} = ${vn}
1673
- `, at = F === "react", Tn = (e, t, n) => `window.${tt}(${JSON.stringify(e)}, "${t}", ${at}${n ? `, "${n}"` : ""})`, In = (e, t, n) => `window.${nt}(${JSON.stringify(e)}, "${t}", ${at}${n ? `, "${n}"` : ""})`, me = {
1672
+ const Tn = () => `
1673
+ window.${Sn} = ${vn}
1674
+ window.${nt} = ${pn}
1675
+ window.${it} = ${xn}
1676
+ `, rt = F === "react", In = (e, t, n) => `window.${nt}(${JSON.stringify(e)}, "${t}", ${rt}${n ? `, "${n}"` : ""})`, wn = (e, t, n) => `window.${it}(${JSON.stringify(e)}, "${t}", ${rt}${n ? `, "${n}"` : ""})`, me = {
1674
1677
  "@type": "@builder.io/sdk:Element",
1675
1678
  layerName: "Accordion item title",
1676
1679
  responsiveStyles: {
@@ -1730,7 +1733,7 @@ const Cn = () => `
1730
1733
  }
1731
1734
  }
1732
1735
  }]
1733
- }, wn = {
1736
+ }, En = {
1734
1737
  name: "Builder:Accordion",
1735
1738
  canHaveChildren: !0,
1736
1739
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1795,8 +1798,8 @@ const Cn = () => `
1795
1798
  builderLinkComponent: !0
1796
1799
  }
1797
1800
  }, Be = (e) => e.toString();
1798
- function En(e) {
1799
- var b;
1801
+ function Rn(e) {
1802
+ var g;
1800
1803
  const [t, n] = k(() => []);
1801
1804
  function i() {
1802
1805
  return !!(e.grid || e.oneAtATime);
@@ -1823,7 +1826,7 @@ function En(e) {
1823
1826
  cursor: "pointer"
1824
1827
  };
1825
1828
  return Object.fromEntries(
1826
- Object.entries(S).filter(([m, g]) => g !== void 0)
1829
+ Object.entries(S).filter(([m, b]) => b !== void 0)
1827
1830
  );
1828
1831
  }
1829
1832
  function o(u) {
@@ -1873,7 +1876,7 @@ function En(e) {
1873
1876
  function h(u) {
1874
1877
  t.includes(u) ? n(i() ? [] : t.filter((S) => S !== u)) : n(i() ? [u] : t.concat(u));
1875
1878
  }
1876
- return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (b = e.items) == null ? void 0 : b.map((u, S) => /* @__PURE__ */ D(ft.Fragment, { children: [
1879
+ return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (g = e.items) == null ? void 0 : g.map((u, S) => /* @__PURE__ */ D(ht.Fragment, { children: [
1877
1880
  /* @__PURE__ */ s(
1878
1881
  "div",
1879
1882
  {
@@ -1920,7 +1923,7 @@ function En(e) {
1920
1923
  ) : null
1921
1924
  ] }, S)) });
1922
1925
  }
1923
- const Rn = {
1926
+ const Pn = {
1924
1927
  name: "Core:Button",
1925
1928
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1926
1929
  defaultStyles: {
@@ -1956,7 +1959,7 @@ const Rn = {
1956
1959
  shouldReceiveBuilderProps: {
1957
1960
  builderLinkComponent: !0
1958
1961
  }
1959
- }, Pn = {
1962
+ }, Vn = {
1960
1963
  // TODO: ways to statically preprocess JSON for references, functions, etc
1961
1964
  name: "Columns",
1962
1965
  isRSC: !0,
@@ -2163,13 +2166,13 @@ const Rn = {
2163
2166
  builderComponents: !0,
2164
2167
  builderLinkComponent: !0
2165
2168
  }
2166
- }, Vn = {
2169
+ }, An = {
2167
2170
  name: "Fragment",
2168
2171
  static: !0,
2169
2172
  hidden: !0,
2170
2173
  canHaveChildren: !0,
2171
2174
  noWrap: !0
2172
- }, ke = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], An = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Bn = {
2175
+ }, ke = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Bn = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Nn = {
2173
2176
  name: "Image",
2174
2177
  static: !0,
2175
2178
  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",
@@ -2192,13 +2195,13 @@ const Rn = {
2192
2195
  function n(o, l = 6e4) {
2193
2196
  return new Promise((c, d) => {
2194
2197
  const h = document.createElement("img");
2195
- let b = !1;
2198
+ let g = !1;
2196
2199
  h.onload = () => {
2197
- b = !0, c(h);
2200
+ g = !0, c(h);
2198
2201
  }, h.addEventListener("error", (u) => {
2199
2202
  console.warn("Image load failed", u.error), d(u.error);
2200
2203
  }), h.src = o, setTimeout(() => {
2201
- b || d(new Error("Image load timed out"));
2204
+ g || d(new Error("Image load timed out"));
2202
2205
  }, l);
2203
2206
  });
2204
2207
  }
@@ -2281,7 +2284,7 @@ const Rn = {
2281
2284
  shouldReceiveBuilderProps: {
2282
2285
  builderBlock: !0
2283
2286
  }
2284
- }, Nn = {
2287
+ }, $n = {
2285
2288
  name: "PersonalizationContainer",
2286
2289
  shouldReceiveBuilderProps: {
2287
2290
  builderBlock: !0,
@@ -2328,14 +2331,14 @@ function J(e) {
2328
2331
  }
2329
2332
  );
2330
2333
  }
2331
- function $n(e) {
2332
- var v, T, E, _, H, q, y, x, V, A, $, R, P;
2333
- const t = z(null), [n, i] = k(
2334
+ function Wn(e) {
2335
+ var v, T, w, _, H, q, y, x, V, A, $, E, R;
2336
+ const t = K(null), [n, i] = k(
2334
2337
  () => Te.getUserAttributes()
2335
2338
  ), [a, r] = k(
2336
2339
  () => {
2337
2340
  var I, N, C;
2338
- return Tn(
2341
+ return In(
2339
2342
  e.variants,
2340
2343
  ((I = e.builderBlock) == null ? void 0 : I.id) || "none",
2341
2344
  (C = (N = e.builderContext) == null ? void 0 : N.rootState) == null ? void 0 : C.locale
@@ -2344,16 +2347,16 @@ function $n(e) {
2344
2347
  ), [o, l] = k(
2345
2348
  () => {
2346
2349
  var I, N, C;
2347
- return In(
2350
+ return wn(
2348
2351
  e.variants,
2349
2352
  ((I = e.builderBlock) == null ? void 0 : I.id) || "none",
2350
2353
  (C = (N = e.builderContext) == null ? void 0 : N.rootState) == null ? void 0 : C.locale
2351
2354
  );
2352
2355
  }
2353
- ), [c, d] = k(() => []), [h, b] = k(
2356
+ ), [c, d] = k(() => []), [h, g] = k(
2354
2357
  () => {
2355
2358
  var I;
2356
- return Sn(
2359
+ return kn(
2357
2360
  e.variants,
2358
2361
  Z((I = e.builderContext) == null ? void 0 : I.canTrack)
2359
2362
  );
@@ -2362,16 +2365,16 @@ function $n(e) {
2362
2365
  function m() {
2363
2366
  return {
2364
2367
  ...e.attributes,
2365
- [K()]: `builder-personalization-container ${e.attributes[K()] || ""}`
2368
+ [z()]: `builder-personalization-container ${e.attributes[z()] || ""}`
2366
2369
  };
2367
2370
  }
2368
- function g() {
2371
+ function b() {
2369
2372
  return (e.variants || []).filter((I) => {
2370
- var N, C, W, L;
2371
- return bn(
2373
+ var N, C, W, O;
2374
+ return yn(
2372
2375
  {
2373
2376
  ...(C = (N = e.builderContext) == null ? void 0 : N.rootState) != null && C.locale ? {
2374
- locale: (L = (W = e.builderContext) == null ? void 0 : W.rootState) == null ? void 0 : L.locale
2377
+ locale: (O = (W = e.builderContext) == null ? void 0 : W.rootState) == null ? void 0 : O.locale
2375
2378
  } : {},
2376
2379
  ...n
2377
2380
  },
@@ -2383,11 +2386,11 @@ function $n(e) {
2383
2386
  }
2384
2387
  function p() {
2385
2388
  var I;
2386
- return kn({
2389
+ return Cn({
2387
2390
  variants: e.variants,
2388
2391
  fallbackBlocks: (I = e.builderBlock) == null ? void 0 : I.children,
2389
2392
  isHydrated: u,
2390
- filteredVariants: g(),
2393
+ filteredVariants: b(),
2391
2394
  previewingIndex: e.previewingIndex
2392
2395
  });
2393
2396
  }
@@ -2411,7 +2414,7 @@ function $n(e) {
2411
2414
  }
2412
2415
  );
2413
2416
  if (!(U() || oe())) {
2414
- const C = g()[0];
2417
+ const C = b()[0];
2415
2418
  t.current && (t.current.dispatchEvent(
2416
2419
  new CustomEvent("builder.variantLoaded", {
2417
2420
  detail: {
@@ -2420,10 +2423,10 @@ function $n(e) {
2420
2423
  },
2421
2424
  bubbles: !0
2422
2425
  })
2423
- ), new IntersectionObserver((L) => {
2424
- L.forEach((O) => {
2426
+ ), new IntersectionObserver((O) => {
2427
+ O.forEach((L) => {
2425
2428
  var j;
2426
- O.isIntersecting && t.current && t.current.dispatchEvent(
2429
+ L.isIntersecting && t.current && t.current.dispatchEvent(
2427
2430
  new CustomEvent("builder.variantDisplayed", {
2428
2431
  detail: {
2429
2432
  variant: C || ne,
@@ -2449,12 +2452,12 @@ function $n(e) {
2449
2452
  registeredComponents: e.builderComponents,
2450
2453
  BlocksWrapperProps: {
2451
2454
  ...(T = e.builderContext) == null ? void 0 : T.BlocksWrapperProps,
2452
- "data-variant-id": `${(E = e.builderBlock) == null ? void 0 : E.id}-${p().index}`
2455
+ "data-variant-id": `${(w = e.builderBlock) == null ? void 0 : w.id}-${p().index}`
2453
2456
  }
2454
2457
  }
2455
2458
  ) : null,
2456
- !u && ie.includes(F) || !ie.includes(F) ? /* @__PURE__ */ D(w, { children: [
2457
- h ? /* @__PURE__ */ D(w, { children: [
2459
+ !u && ie.includes(F) || !ie.includes(F) ? /* @__PURE__ */ D(P, { children: [
2460
+ h ? /* @__PURE__ */ D(P, { children: [
2458
2461
  /* @__PURE__ */ s(
2459
2462
  te,
2460
2463
  {
@@ -2472,7 +2475,7 @@ function $n(e) {
2472
2475
  }
2473
2476
  ),
2474
2477
  (x = e.variants) == null ? void 0 : x.map((I, N) => {
2475
- var C, W, L, O, j, Ce;
2478
+ var C, W, O, L, j, Ce;
2476
2479
  return /* @__PURE__ */ s(
2477
2480
  M,
2478
2481
  {
@@ -2483,14 +2486,14 @@ function $n(e) {
2483
2486
  "data-variant-id": `${(W = e.builderBlock) == null ? void 0 : W.id}-${N}`
2484
2487
  },
2485
2488
  blocks: I.blocks,
2486
- parent: (L = e.builderBlock) == null ? void 0 : L.id,
2489
+ parent: (O = e.builderBlock) == null ? void 0 : O.id,
2487
2490
  path: `component.options.variants.${N}.blocks`,
2488
2491
  context: e.builderContext,
2489
2492
  registeredComponents: e.builderComponents,
2490
2493
  children: /* @__PURE__ */ s(
2491
2494
  J,
2492
2495
  {
2493
- nonce: ((O = e.builderContext) == null ? void 0 : O.nonce) || "",
2496
+ nonce: ((L = e.builderContext) == null ? void 0 : L.nonce) || "",
2494
2497
  scriptStr: a,
2495
2498
  id: `variants-script-${(j = e.builderBlock) == null ? void 0 : j.id}-${N}`
2496
2499
  }
@@ -2515,9 +2518,9 @@ function $n(e) {
2515
2518
  children: h ? /* @__PURE__ */ s(
2516
2519
  J,
2517
2520
  {
2518
- nonce: ((R = e.builderContext) == null ? void 0 : R.nonce) || "",
2521
+ nonce: ((E = e.builderContext) == null ? void 0 : E.nonce) || "",
2519
2522
  scriptStr: a,
2520
- id: `variants-script-${(P = e.builderBlock) == null ? void 0 : P.id}-${ne}`
2523
+ id: `variants-script-${(R = e.builderBlock) == null ? void 0 : R.id}-${ne}`
2521
2524
  }
2522
2525
  ) : null
2523
2526
  }
@@ -2525,7 +2528,7 @@ function $n(e) {
2525
2528
  ] }) : null
2526
2529
  ] });
2527
2530
  }
2528
- const Wn = {
2531
+ const Dn = {
2529
2532
  name: "Core:Section",
2530
2533
  static: !0,
2531
2534
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2564,7 +2567,7 @@ const Wn = {
2564
2567
  }
2565
2568
  }
2566
2569
  }]
2567
- }, Dn = {
2570
+ }, Fn = {
2568
2571
  name: "Slot",
2569
2572
  isRSC: !0,
2570
2573
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2582,7 +2585,7 @@ const Wn = {
2582
2585
  builderComponents: !0
2583
2586
  }
2584
2587
  };
2585
- function Fn(e) {
2588
+ function On(e) {
2586
2589
  var t, n, i;
2587
2590
  return /* @__PURE__ */ s(
2588
2591
  "div",
@@ -2667,7 +2670,7 @@ const Ln = {
2667
2670
  text: "New tab"
2668
2671
  }
2669
2672
  }
2670
- }, ge = {
2673
+ }, be = {
2671
2674
  "@type": "@builder.io/sdk:Element",
2672
2675
  responsiveStyles: {
2673
2676
  large: {
@@ -2683,7 +2686,7 @@ const Ln = {
2683
2686
  text: "New tab content "
2684
2687
  }
2685
2688
  }
2686
- }, On = {
2689
+ }, _n = {
2687
2690
  name: "Builder: Tabs",
2688
2691
  inputs: [{
2689
2692
  name: "tabs",
@@ -2698,7 +2701,7 @@ const Ln = {
2698
2701
  name: "content",
2699
2702
  type: "uiBlocks",
2700
2703
  hideFromUI: !0,
2701
- defaultValue: [ge]
2704
+ defaultValue: [be]
2702
2705
  }],
2703
2706
  defaultValue: [{
2704
2707
  label: [{
@@ -2711,7 +2714,7 @@ const Ln = {
2711
2714
  }
2712
2715
  }],
2713
2716
  content: [{
2714
- ...ge,
2717
+ ...be,
2715
2718
  component: {
2716
2719
  name: "Text",
2717
2720
  options: {
@@ -2730,7 +2733,7 @@ const Ln = {
2730
2733
  }
2731
2734
  }],
2732
2735
  content: [{
2733
- ...ge,
2736
+ ...be,
2734
2737
  component: {
2735
2738
  name: "Text",
2736
2739
  options: {
@@ -2787,7 +2790,7 @@ const Ln = {
2787
2790
  builderLinkComponent: !0
2788
2791
  }
2789
2792
  };
2790
- function _n(e) {
2793
+ function Un(e) {
2791
2794
  var o;
2792
2795
  const [t, n] = k(
2793
2796
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2847,7 +2850,7 @@ function _n(e) {
2847
2850
  ) }) : null
2848
2851
  ] });
2849
2852
  }
2850
- const Un = {
2853
+ const Hn = {
2851
2854
  shouldReceiveBuilderProps: {},
2852
2855
  name: "Text",
2853
2856
  static: !0,
@@ -2866,7 +2869,7 @@ const Un = {
2866
2869
  textAlign: "center"
2867
2870
  }
2868
2871
  };
2869
- function Hn(e) {
2872
+ function Mn(e) {
2870
2873
  var t;
2871
2874
  return /* @__PURE__ */ s(
2872
2875
  "div",
@@ -2879,7 +2882,7 @@ function Hn(e) {
2879
2882
  }
2880
2883
  );
2881
2884
  }
2882
- const Mn = {
2885
+ const qn = {
2883
2886
  name: "Custom Code",
2884
2887
  static: !0,
2885
2888
  requiredPermissions: ["editCode"],
@@ -2902,8 +2905,8 @@ const Mn = {
2902
2905
  advanced: !0
2903
2906
  }]
2904
2907
  };
2905
- function qn(e) {
2906
- const t = z(null), [n, i] = k(() => []), [a, r] = k(() => []);
2908
+ function jn(e) {
2909
+ const t = K(null), [n, i] = k(() => []), [a, r] = k(() => []);
2907
2910
  function o() {
2908
2911
  var c;
2909
2912
  if (!t.current || !((c = t.current) != null && c.getElementsByTagName) || typeof window == "undefined")
@@ -2915,8 +2918,8 @@ function qn(e) {
2915
2918
  if (n.includes(h.src))
2916
2919
  continue;
2917
2920
  n.push(h.src);
2918
- const b = document.createElement("script");
2919
- b.async = !0, b.src = h.src, document.head.appendChild(b);
2921
+ const g = document.createElement("script");
2922
+ g.async = !0, g.src = h.src, document.head.appendChild(g);
2920
2923
  } else if (!h.type || [
2921
2924
  "text/javascript",
2922
2925
  "application/javascript",
@@ -2926,10 +2929,10 @@ function qn(e) {
2926
2929
  continue;
2927
2930
  try {
2928
2931
  a.push(h.innerText), new Function(h.innerText)();
2929
- } catch (b) {
2932
+ } catch (g) {
2930
2933
  ee.warn(
2931
2934
  "[BUILDER.IO] `CustomCode`: Error running script:",
2932
- b
2935
+ g
2933
2936
  );
2934
2937
  }
2935
2938
  }
@@ -2948,7 +2951,7 @@ function qn(e) {
2948
2951
  }
2949
2952
  );
2950
2953
  }
2951
- const jn = {
2954
+ const Kn = {
2952
2955
  name: "Embed",
2953
2956
  static: !0,
2954
2957
  inputs: [{
@@ -2963,22 +2966,22 @@ const jn = {
2963
2966
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2964
2967
  hideFromUI: !0
2965
2968
  }]
2966
- }, zn = ["text/javascript", "application/javascript", "application/ecmascript"], Kn = (e) => zn.includes(e.type);
2967
- function Jn(e) {
2968
- const t = z(null), [n, i] = k(() => []), [a, r] = k(() => []), [o, l] = k(() => !1);
2969
+ }, zn = ["text/javascript", "application/javascript", "application/ecmascript"], Jn = (e) => zn.includes(e.type);
2970
+ function Gn(e) {
2971
+ const t = K(null), [n, i] = k(() => []), [a, r] = k(() => []), [o, l] = k(() => !1);
2969
2972
  function c() {
2970
2973
  if (!t.current || !t.current.getElementsByTagName)
2971
2974
  return;
2972
2975
  const d = t.current.getElementsByTagName("script");
2973
2976
  for (let h = 0; h < d.length; h++) {
2974
- const b = d[h];
2975
- if (b.src && !n.includes(b.src)) {
2976
- n.push(b.src);
2977
+ const g = d[h];
2978
+ if (g.src && !n.includes(g.src)) {
2979
+ n.push(g.src);
2977
2980
  const u = document.createElement("script");
2978
- u.async = !0, u.src = b.src, document.head.appendChild(u);
2979
- } else if (Kn(b) && !a.includes(b.innerText))
2981
+ u.async = !0, u.src = g.src, document.head.appendChild(u);
2982
+ } else if (Jn(g) && !a.includes(g.innerText))
2980
2983
  try {
2981
- a.push(b.innerText), new Function(b.innerText)();
2984
+ a.push(g.innerText), new Function(g.innerText)();
2982
2985
  } catch (u) {
2983
2986
  ee.warn("[BUILDER.IO] `Embed`: Error running script:", u);
2984
2987
  }
@@ -2995,7 +2998,7 @@ function Jn(e) {
2995
2998
  }
2996
2999
  );
2997
3000
  }
2998
- const Gn = {
3001
+ const Qn = {
2999
3002
  name: "Form:Form",
3000
3003
  // editableTags: ['builder-form-error']
3001
3004
  defaults: {
@@ -3232,19 +3235,19 @@ const Gn = {
3232
3235
  builderComponents: !0,
3233
3236
  builderLinkComponent: !0
3234
3237
  }
3235
- }, Qn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Yn = () => {
3238
+ }, Yn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Xn = () => {
3236
3239
  const e = process.env.NODE_ENV || "production";
3237
- return Qn.includes(e) ? e : "production";
3240
+ return Yn.includes(e) ? e : "production";
3238
3241
  };
3239
- function Xn(e) {
3240
- const t = z(null), [n, i] = k(() => "unsubmitted"), [a, r] = k(() => null), [o, l] = k(() => "");
3242
+ function Zn(e) {
3243
+ const t = K(null), [n, i] = k(() => "unsubmitted"), [a, r] = k(() => null), [o, l] = k(() => "");
3241
3244
  function c(u) {
3242
- var m, g;
3245
+ var m, b;
3243
3246
  const S = {
3244
3247
  ...e.builderContext.rootState,
3245
3248
  ...u
3246
3249
  };
3247
- e.builderContext.rootSetState ? (g = (m = e.builderContext).rootSetState) == null || g.call(m, S) : e.builderContext.rootState = S;
3250
+ e.builderContext.rootSetState ? (b = (m = e.builderContext).rootSetState) == null || b.call(m, S) : e.builderContext.rootState = S;
3248
3251
  }
3249
3252
  function d() {
3250
3253
  return U() && e.previewState || n;
@@ -3252,7 +3255,7 @@ function Xn(e) {
3252
3255
  function h(u) {
3253
3256
  return JSON.stringify(u, null, 2);
3254
3257
  }
3255
- function b(u) {
3258
+ function g(u) {
3256
3259
  var m;
3257
3260
  const S = e.sendWithJs || e.sendSubmissionsTo === "email";
3258
3261
  if (e.sendSubmissionsTo === "zapier")
@@ -3263,9 +3266,9 @@ function Xn(e) {
3263
3266
  return;
3264
3267
  }
3265
3268
  u.preventDefault();
3266
- const g = u.currentTarget || u.target, p = e.customHeaders || {};
3269
+ const b = u.currentTarget || u.target, p = e.customHeaders || {};
3267
3270
  let f;
3268
- const v = new FormData(g), T = Array.from(g.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).filter(
3271
+ const v = new FormData(b), T = Array.from(b.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).filter(
3269
3272
  (y) => !!y.name && (y.type !== "radio" || y.checked)
3270
3273
  ).map((y) => {
3271
3274
  let x;
@@ -3291,18 +3294,18 @@ function Xn(e) {
3291
3294
  value: x
3292
3295
  };
3293
3296
  });
3294
- let E = e.contentType;
3295
- if (e.sendSubmissionsTo === "email" && (E = "multipart/form-data"), Array.from(T).forEach(({ value: y }) => {
3296
- (y instanceof File || Array.isArray(y) && y[0] instanceof File || y instanceof FileList) && (E = "multipart/form-data");
3297
- }), E !== "application/json")
3297
+ let w = e.contentType;
3298
+ if (e.sendSubmissionsTo === "email" && (w = "multipart/form-data"), Array.from(T).forEach(({ value: y }) => {
3299
+ (y instanceof File || Array.isArray(y) && y[0] instanceof File || y instanceof FileList) && (w = "multipart/form-data");
3300
+ }), w !== "application/json")
3298
3301
  f = v;
3299
3302
  else {
3300
3303
  const y = {};
3301
3304
  Array.from(T).forEach(({ value: x, key: V }) => {
3302
- He(y, V, x);
3305
+ Me(y, V, x);
3303
3306
  }), f = JSON.stringify(y);
3304
3307
  }
3305
- E && E !== "multipart/form-data" && (S && ((m = e.action) != null && m.includes("zapier.com")) || (p["content-type"] = E));
3308
+ w && w !== "multipart/form-data" && (S && ((m = e.action) != null && m.includes("zapier.com")) || (p["content-type"] = w));
3306
3309
  const _ = new CustomEvent("presubmit", { detail: { body: f } });
3307
3310
  if (t.current && (t.current.dispatchEvent(_), _.defaultPrevented))
3308
3311
  return;
@@ -3311,7 +3314,7 @@ function Xn(e) {
3311
3314
  console.error(y), i("error"), c({ formErrorMessage: y });
3312
3315
  return;
3313
3316
  }
3314
- const H = `${Yn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3317
+ const H = `${Xn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3315
3318
  e.sendSubmissionsToEmail || ""
3316
3319
  )}&name=${encodeURIComponent(e.name || "")}`, q = e.sendSubmissionsTo === "email" ? H : e.action;
3317
3320
  Le(q), fetch(q, { body: f, headers: p, method: e.method || "post" }).then(
@@ -3320,31 +3323,31 @@ function Xn(e) {
3320
3323
  let x;
3321
3324
  const V = y.headers.get("content-type");
3322
3325
  if (V && V.indexOf("application/json") !== -1 ? x = await y.json() : x = await y.text(), !y.ok) {
3323
- const R = new CustomEvent("submit:error", {
3326
+ const E = new CustomEvent("submit:error", {
3324
3327
  detail: { error: x, status: y.status }
3325
3328
  });
3326
- if ((A = t.current) != null && A.nativeElement && (($ = t.current) == null || $.nativeElement.dispatchEvent(R), R.defaultPrevented))
3329
+ if ((A = t.current) != null && A.nativeElement && (($ = t.current) == null || $.nativeElement.dispatchEvent(E), E.defaultPrevented))
3327
3330
  return;
3328
3331
  r(x), i("error");
3329
- let P = e.errorMessagePath ? qe(x, e.errorMessagePath) : x.message || x.error || x;
3330
- typeof P != "string" && (P = JSON.stringify(P)), l(P), c({ formErrorMessage: P });
3332
+ let R = e.errorMessagePath ? je(x, e.errorMessagePath) : x.message || x.error || x;
3333
+ typeof R != "string" && (R = JSON.stringify(R)), l(R), c({ formErrorMessage: R });
3331
3334
  return;
3332
3335
  }
3333
3336
  if (r(x), i(y.ok ? "success" : "error"), y.ok) {
3334
- const R = new CustomEvent("submit:success", {
3337
+ const E = new CustomEvent("submit:success", {
3335
3338
  detail: { res: y, body: x }
3336
3339
  });
3337
3340
  if (t.current) {
3338
- if (t.current.dispatchEvent(R), R.defaultPrevented)
3341
+ if (t.current.dispatchEvent(E), E.defaultPrevented)
3339
3342
  return;
3340
3343
  e.resetFormOnSubmit !== !1 && t.current.reset();
3341
3344
  }
3342
3345
  if (e.successUrl)
3343
3346
  if (t.current) {
3344
- const P = new CustomEvent("route", {
3347
+ const R = new CustomEvent("route", {
3345
3348
  detail: { url: e.successUrl }
3346
3349
  });
3347
- t.current.dispatchEvent(P), P.defaultPrevented || (location.href = e.successUrl);
3350
+ t.current.dispatchEvent(R), R.defaultPrevented || (location.href = e.successUrl);
3348
3351
  } else
3349
3352
  location.href = e.successUrl;
3350
3353
  }
@@ -3358,7 +3361,7 @@ function Xn(e) {
3358
3361
  );
3359
3362
  }
3360
3363
  }
3361
- return /* @__PURE__ */ D(w, { children: [
3364
+ return /* @__PURE__ */ D(P, { children: [
3362
3365
  " ",
3363
3366
  /* @__PURE__ */ s("style", { children: ".pre-abc898ba { padding: 10px; color: red; text-align: center; }" }),
3364
3367
  " ",
@@ -3370,7 +3373,7 @@ function Xn(e) {
3370
3373
  action: !e.sendWithJs && e.action,
3371
3374
  method: e.method,
3372
3375
  name: e.name,
3373
- onSubmit: (u) => b(u),
3376
+ onSubmit: (u) => g(u),
3374
3377
  ...e.attributes,
3375
3378
  children: [
3376
3379
  e.children,
@@ -3405,7 +3408,7 @@ function Xn(e) {
3405
3408
  " "
3406
3409
  ] });
3407
3410
  }
3408
- const Zn = {
3411
+ const ei = {
3409
3412
  name: "Form:Input",
3410
3413
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3411
3414
  inputs: [
@@ -3457,8 +3460,8 @@ const Zn = {
3457
3460
  borderColor: "#ccc"
3458
3461
  }
3459
3462
  };
3460
- function ei(e) {
3461
- return /* @__PURE__ */ Ue(
3463
+ function ti(e) {
3464
+ return /* @__PURE__ */ He(
3462
3465
  "input",
3463
3466
  {
3464
3467
  ...e.attributes,
@@ -3472,7 +3475,7 @@ function ei(e) {
3472
3475
  }
3473
3476
  );
3474
3477
  }
3475
- const ti = {
3478
+ const ni = {
3476
3479
  name: "Form:Select",
3477
3480
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3478
3481
  defaultStyles: {
@@ -3515,9 +3518,9 @@ const ti = {
3515
3518
  static: !0,
3516
3519
  noWrap: !0
3517
3520
  };
3518
- function ni(e) {
3521
+ function ii(e) {
3519
3522
  var t;
3520
- return /* @__PURE__ */ Ue(
3523
+ return /* @__PURE__ */ He(
3521
3524
  "select",
3522
3525
  {
3523
3526
  ...e.attributes,
@@ -3530,7 +3533,7 @@ function ni(e) {
3530
3533
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ s("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
3531
3534
  );
3532
3535
  }
3533
- const ii = {
3536
+ const ai = {
3534
3537
  name: "Form:SubmitButton",
3535
3538
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3536
3539
  defaultStyles: {
@@ -3556,10 +3559,10 @@ const ii = {
3556
3559
  // TODO: defaultChildren
3557
3560
  // canHaveChildren: true,
3558
3561
  };
3559
- function ai(e) {
3562
+ function ri(e) {
3560
3563
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
3561
3564
  }
3562
- const ri = {
3565
+ const oi = {
3563
3566
  name: "Form:TextArea",
3564
3567
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3565
3568
  inputs: [{
@@ -3596,7 +3599,7 @@ const ri = {
3596
3599
  static: !0,
3597
3600
  noWrap: !0
3598
3601
  };
3599
- function oi(e) {
3602
+ function li(e) {
3600
3603
  return /* @__PURE__ */ s(
3601
3604
  "textarea",
3602
3605
  {
@@ -3609,7 +3612,7 @@ function oi(e) {
3609
3612
  }
3610
3613
  );
3611
3614
  }
3612
- const li = {
3615
+ const si = {
3613
3616
  name: "Raw:Img",
3614
3617
  hideFromInsertMenu: !0,
3615
3618
  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",
@@ -3654,12 +3657,12 @@ const li = {
3654
3657
  }],
3655
3658
  noWrap: !0
3656
3659
  };
3657
- function si(e) {
3660
+ function ci(e) {
3658
3661
  var n;
3659
3662
  function t() {
3660
3663
  const i = {
3661
3664
  ...e.attributes,
3662
- [K()]: `builder-raw-img ${e.attributes[K()] || ""}`
3665
+ [z()]: `builder-raw-img ${e.attributes[z()] || ""}`
3663
3666
  };
3664
3667
  return delete i.style, i;
3665
3668
  }
@@ -3681,7 +3684,7 @@ function si(e) {
3681
3684
  U() && e.imgSrc || "default-key"
3682
3685
  );
3683
3686
  }
3684
- const ci = {
3687
+ const ui = {
3685
3688
  name: "Video",
3686
3689
  canHaveChildren: !0,
3687
3690
  defaultStyles: {
@@ -3692,7 +3695,7 @@ const ci = {
3692
3695
  inputs: [{
3693
3696
  name: "video",
3694
3697
  type: "file",
3695
- allowedFileTypes: An,
3698
+ allowedFileTypes: Bn,
3696
3699
  bubble: !0,
3697
3700
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
3698
3701
  required: !0
@@ -3766,9 +3769,9 @@ const ci = {
3766
3769
  builderBlock: !0
3767
3770
  }
3768
3771
  };
3769
- function ui(e) {
3770
- var o, l, c, d, h, b, u;
3771
- const t = z(null);
3772
+ function di(e) {
3773
+ var o, l, c, d, h, g, u;
3774
+ const t = K(null);
3772
3775
  function n() {
3773
3776
  return {
3774
3777
  ...e.autoPlay === !0 ? {
@@ -3798,10 +3801,10 @@ function ui(e) {
3798
3801
  return B(() => {
3799
3802
  if (e.lazyLoad) {
3800
3803
  const S = new IntersectionObserver(function(m) {
3801
- m.forEach(function(g) {
3802
- if (!g.isIntersecting)
3804
+ m.forEach(function(b) {
3805
+ if (!b.isIntersecting)
3803
3806
  return;
3804
- const p = g.target;
3807
+ const p = b.target;
3805
3808
  try {
3806
3809
  Array.from(p.children).filter(
3807
3810
  (f) => f instanceof HTMLElement && f.tagName === "SOURCE"
@@ -3881,7 +3884,7 @@ function ui(e) {
3881
3884
  children: e.children
3882
3885
  }
3883
3886
  ) : null,
3884
- (u = (b = e.builderBlock) == null ? void 0 : b.children) != null && u.length && !e.fitContent ? /* @__PURE__ */ s(
3887
+ (u = (g = e.builderBlock) == null ? void 0 : g.children) != null && u.length && !e.fitContent ? /* @__PURE__ */ s(
3885
3888
  "div",
3886
3889
  {
3887
3890
  style: {
@@ -3902,67 +3905,67 @@ function ui(e) {
3902
3905
  }
3903
3906
  );
3904
3907
  }
3905
- const di = () => [{
3906
- component: qn,
3907
- ...Mn
3908
+ const mi = () => [{
3909
+ component: jn,
3910
+ ...qn
3908
3911
  }, {
3909
- component: Jn,
3910
- ...jn
3912
+ component: Gn,
3913
+ ...Kn
3911
3914
  }, {
3912
- component: Xn,
3913
- ...Gn
3915
+ component: Zn,
3916
+ ...Qn
3914
3917
  }, {
3915
- component: ei,
3916
- ...Zn
3918
+ component: ti,
3919
+ ...ei
3917
3920
  }, {
3918
- component: ai,
3919
- ...ii
3921
+ component: ri,
3922
+ ...ai
3920
3923
  }, {
3921
- component: ni,
3922
- ...ti
3924
+ component: ii,
3925
+ ...ni
3923
3926
  }, {
3924
- component: oi,
3925
- ...ri
3927
+ component: li,
3928
+ ...oi
3926
3929
  }, {
3927
- component: si,
3928
- ...li
3930
+ component: ci,
3931
+ ...si
3929
3932
  }, {
3930
- component: ui,
3931
- ...ci
3933
+ component: di,
3934
+ ...ui
3932
3935
  }], Ne = () => [{
3933
- component: kt,
3934
- ...Rn
3935
- }, {
3936
- component: un,
3936
+ component: Ct,
3937
3937
  ...Pn
3938
3938
  }, {
3939
3939
  component: dn,
3940
3940
  ...Vn
3941
3941
  }, {
3942
- component: hn,
3943
- ...Bn
3942
+ component: mn,
3943
+ ...An
3944
3944
  }, {
3945
- component: gn,
3946
- ...Wn
3945
+ component: bn,
3946
+ ...Nn
3947
3947
  }, {
3948
- component: Fn,
3948
+ component: gn,
3949
3949
  ...Dn
3950
3950
  }, {
3951
- component: Di,
3951
+ component: On,
3952
+ ...Fn
3953
+ }, {
3954
+ component: Fi,
3952
3955
  ...Ln
3953
3956
  }, {
3954
- component: Hn,
3955
- ...Un
3956
- }, ...it.includes(F) ? [{
3957
- component: $n,
3958
- ...Nn
3957
+ component: Mn,
3958
+ ...Hn
3959
+ }, ...at.includes(F) ? [{
3960
+ component: Wn,
3961
+ ...$n
3959
3962
  }] : [], {
3960
- component: _n,
3961
- ...On
3963
+ component: Un,
3964
+ ..._n
3962
3965
  }, {
3963
- component: En,
3964
- ...wn
3965
- }, ...di()], mi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3966
+ component: Rn,
3967
+ ...En
3968
+ }, ...mi()], fi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3966
3969
  function getAndSetVariantId() {
3967
3970
  function setCookie(name, value, days) {
3968
3971
  let expires = '';
@@ -4021,7 +4024,7 @@ const di = () => [{
4021
4024
  }).join('');
4022
4025
  styleEl.innerHTML = newStyleStr;
4023
4026
  }
4024
- }`, fi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4027
+ }`, hi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4025
4028
  if (!navigator.cookieEnabled) {
4026
4029
  return;
4027
4030
  }
@@ -4055,29 +4058,59 @@ const di = () => [{
4055
4058
  thisScriptEl?.remove();
4056
4059
  }
4057
4060
  return;
4058
- }`, rt = "builderIoAbTest", ot = "builderIoRenderContent", ae = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4061
+ }`, ot = "builderIoAbTest", lt = "builderIoRenderContent", ae = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4059
4062
  ...t,
4060
4063
  testVariationId: t.id,
4061
4064
  id: e == null ? void 0 : e.id
4062
- })), hi = ({
4065
+ })), bi = ({
4063
4066
  canTrack: e,
4064
4067
  content: t
4065
- }) => !(!(ae(t).length > 0) || !e || G()), gi = (e) => e === "react" || e === "reactNative", bi = F === "angular", lt = gi(F), yi = () => `
4066
- window.${rt} = ${mi}
4068
+ }) => !(!(ae(t).length > 0) || !e || G()), gi = (e) => e === "react" || e === "reactNative", yi = F === "angular", st = gi(F), $e = (e, t) => `
4069
+ (function() {
4070
+ var selector = 'script[data-id="${e}"]';
4071
+ var scriptKey = '__builderioScriptInitialized_${e}';
4072
+ var observerKey = '__builderioScriptObserver_${e}';
4073
+
4074
+ // Synchronously remove any duplicates already in the DOM
4075
+ var existing = document.querySelectorAll(selector);
4076
+ existing.forEach(function(script, index) {
4077
+ if (index > 0) {
4078
+ script.parentNode && script.parentNode.removeChild(script);
4079
+ }
4080
+ });
4081
+
4082
+ // Watch for duplicates added later (e.g. RSC streaming chunks)
4083
+ if (!window[observerKey] && typeof MutationObserver !== 'undefined') {
4084
+ window[observerKey] = new MutationObserver(function() {
4085
+ var all = document.querySelectorAll(selector);
4086
+ for (var i = 1; i < all.length; i++) {
4087
+ all[i].parentNode && all[i].parentNode.removeChild(all[i]);
4088
+ }
4089
+ });
4090
+ window[observerKey].observe(document.documentElement, { childList: true, subtree: true });
4091
+ }
4092
+
4093
+ if (!window[scriptKey]) {
4094
+ window[scriptKey] = true;
4095
+ ${t}
4096
+ }
4097
+ })();
4098
+ `, pi = () => `
4067
4099
  window.${ot} = ${fi}
4068
- `, pi = (e, t) => `
4069
- window.${rt}(
4070
- "${t}",${JSON.stringify(e)}, ${lt}, ${bi}
4071
- )`, vi = ({
4100
+ window.${lt} = ${hi}
4101
+ `, vi = (e, t) => `
4102
+ window.${ot}(
4103
+ "${t}",${JSON.stringify(e)}, ${st}, ${yi}
4104
+ )`, xi = ({
4072
4105
  contentId: e,
4073
4106
  variationId: t
4074
- }) => `window.${ot}(
4075
- "${t}", "${e}", ${lt}
4107
+ }) => `window.${lt}(
4108
+ "${t}", "${e}", ${st}
4076
4109
  )`;
4077
- function $e(e) {
4110
+ function We(e) {
4078
4111
  return Math.round(e * 1e3) / 1e3;
4079
4112
  }
4080
- const xi = (e, t, n = !0) => {
4113
+ const Si = (e, t, n = !0) => {
4081
4114
  if (!(e instanceof HTMLElement))
4082
4115
  return null;
4083
4116
  let i = n ? e : e.parentElement;
@@ -4088,35 +4121,35 @@ const xi = (e, t, n = !0) => {
4088
4121
  return i;
4089
4122
  } while (i = i.parentElement);
4090
4123
  return null;
4091
- }, Si = (e) => xi(e, (t) => {
4124
+ }, ki = (e) => Si(e, (t) => {
4092
4125
  const n = t.getAttribute("builder-id") || t.id;
4093
4126
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4094
- }), We = ({
4127
+ }), De = ({
4095
4128
  event: e,
4096
4129
  target: t
4097
4130
  }) => {
4098
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, a = e.clientY - n.top, r = $e(i / n.width), o = $e(a / n.height);
4131
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, a = e.clientY - n.top, r = We(i / n.width), o = We(a / n.height);
4099
4132
  return {
4100
4133
  x: r,
4101
4134
  y: o
4102
4135
  };
4103
- }, ki = (e) => {
4104
- const t = e.target, n = t && Si(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4136
+ }, Ci = (e) => {
4137
+ const t = e.target, n = t && ki(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4105
4138
  return {
4106
4139
  targetBuilderElement: i || void 0,
4107
4140
  metadata: {
4108
- targetOffset: t ? We({
4141
+ targetOffset: t ? De({
4109
4142
  event: e,
4110
4143
  target: t
4111
4144
  }) : void 0,
4112
- builderTargetOffset: n ? We({
4145
+ builderTargetOffset: n ? De({
4113
4146
  event: e,
4114
4147
  target: n
4115
4148
  }) : void 0,
4116
4149
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
4117
4150
  }
4118
4151
  };
4119
- }, Ci = ["svelte", "qwik", "vue"], De = () => Ci.includes(F) && (U() || oe()), Ti = (e) => {
4152
+ }, Ti = ["svelte", "qwik", "vue"], Fe = () => Ti.includes(F) && (U() || oe()), Ii = (e) => {
4120
4153
  var r, o;
4121
4154
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (o = e.fileUrl) != null ? o : (r = e == null ? void 0 : e.files) == null ? void 0 : r.regular;
4122
4155
  let a = "";
@@ -4142,15 +4175,15 @@ font-weight: ${l};
4142
4175
  `.trim());
4143
4176
  }
4144
4177
  return a;
4145
- }, Ii = ({
4178
+ }, wi = ({
4146
4179
  customFonts: e
4147
4180
  }) => {
4148
4181
  var t;
4149
- return ((t = e == null ? void 0 : e.map((n) => Ti(n))) == null ? void 0 : t.join(" ")) || "";
4150
- }, wi = ({
4182
+ return ((t = e == null ? void 0 : e.map((n) => Ii(n))) == null ? void 0 : t.join(" ")) || "";
4183
+ }, Ei = ({
4151
4184
  cssCode: e,
4152
4185
  contentId: t
4153
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
4186
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ri = `
4154
4187
  .builder-button {
4155
4188
  all: unset;
4156
4189
  }
@@ -4167,30 +4200,30 @@ font-weight: ${l};
4167
4200
  text-align: inherit;
4168
4201
  font-family: inherit;
4169
4202
  }
4170
- `, Ri = (e) => e ? "" : Ei, Pi = (e) => `variant-${e}`;
4171
- function Vi(e) {
4203
+ `, Pi = (e) => e ? "" : Ri, Vi = (e) => `variant-${e}`;
4204
+ function Ai(e) {
4172
4205
  var H, q, y;
4173
- const t = z(null);
4206
+ const t = K(null);
4174
4207
  k(() => !1), k(
4175
4208
  () => e.builderContextSignal
4176
4209
  );
4177
4210
  const [n, i] = k(() => null), [a, r] = k(() => "");
4178
4211
  function o(x, V) {
4179
- var $, R;
4212
+ var $, E;
4180
4213
  const A = {
4181
4214
  ...e.builderContextSignal.rootState,
4182
4215
  ...x
4183
4216
  };
4184
- e.builderContextSignal.rootSetState ? (R = ($ = e.builderContextSignal).rootSetState) == null || R.call($, A) : e.setBuilderContextSignal((P) => ({
4185
- ...P,
4217
+ e.builderContextSignal.rootSetState ? (E = ($ = e.builderContextSignal).rootSetState) == null || E.call($, A) : e.setBuilderContextSignal((R) => ({
4218
+ ...R,
4186
4219
  rootState: A
4187
- })), e.builderContextSignal.rootSetState ? e.builderContextSignal.rootSetState(A) : e.setBuilderContextSignal((P) => ({
4188
- ...P,
4220
+ })), e.builderContextSignal.rootSetState ? e.builderContextSignal.rootSetState(A) : e.setBuilderContextSignal((R) => ({
4221
+ ...R,
4189
4222
  rootState: A
4190
4223
  }));
4191
4224
  }
4192
4225
  function l(x, V) {
4193
- var $, R, P, I, N;
4226
+ var $, E, R, I, N;
4194
4227
  const A = {
4195
4228
  ...e.builderContextSignal.content,
4196
4229
  ...x,
@@ -4199,9 +4232,9 @@ function Vi(e) {
4199
4232
  ...x == null ? void 0 : x.data
4200
4233
  },
4201
4234
  meta: {
4202
- ...(R = e.builderContextSignal.content) == null ? void 0 : R.meta,
4235
+ ...(E = e.builderContextSignal.content) == null ? void 0 : E.meta,
4203
4236
  ...x == null ? void 0 : x.meta,
4204
- breakpoints: ((P = x == null ? void 0 : x.meta) == null ? void 0 : P.breakpoints) || ((N = (I = e.builderContextSignal.content) == null ? void 0 : I.meta) == null ? void 0 : N.breakpoints)
4237
+ breakpoints: ((R = x == null ? void 0 : x.meta) == null ? void 0 : R.breakpoints) || ((N = (I = e.builderContextSignal.content) == null ? void 0 : I.meta) == null ? void 0 : N.breakpoints)
4205
4238
  }
4206
4239
  };
4207
4240
  e.setBuilderContextSignal((C) => ({
@@ -4218,22 +4251,22 @@ function Vi(e) {
4218
4251
  const [d, h] = k(
4219
4252
  () => e.contentWrapper || "div"
4220
4253
  );
4221
- function b(x) {
4222
- return dt({
4254
+ function g(x) {
4255
+ return mt({
4223
4256
  model: e.model,
4224
4257
  trustedHosts: e.trustedHosts,
4225
4258
  callbacks: {
4226
4259
  configureSdk: (V) => {
4227
- var R;
4260
+ var E;
4228
4261
  const { breakpoints: A, contentId: $ } = V;
4229
- !$ || $ !== ((R = e.builderContextSignal.content) == null ? void 0 : R.id) || A && l({
4262
+ !$ || $ !== ((E = e.builderContextSignal.content) == null ? void 0 : E.id) || A && l({
4230
4263
  meta: {
4231
4264
  breakpoints: A
4232
4265
  }
4233
4266
  });
4234
4267
  },
4235
4268
  animation: (V) => {
4236
- Je(V);
4269
+ Ge(V);
4237
4270
  },
4238
4271
  contentUpdate: (V, A) => {
4239
4272
  l(V);
@@ -4244,19 +4277,19 @@ function Vi(e) {
4244
4277
  }
4245
4278
  })(x);
4246
4279
  }
4247
- const [u, S] = k(() => ({})), [m, g] = k(() => ({})), [p, f] = k(() => !1);
4280
+ const [u, S] = k(() => ({})), [m, b] = k(() => ({})), [p, f] = k(() => !1);
4248
4281
  function v(x) {
4249
4282
  var V, A;
4250
4283
  if (e.builderContextSignal.content) {
4251
- const $ = (V = e.builderContextSignal.content) == null ? void 0 : V.testVariationId, R = (A = e.builderContextSignal.content) == null ? void 0 : A.id;
4284
+ const $ = (V = e.builderContextSignal.content) == null ? void 0 : V.testVariationId, E = (A = e.builderContextSignal.content) == null ? void 0 : A.id;
4252
4285
  Ie({
4253
4286
  apiHost: e.apiHost,
4254
4287
  type: "click",
4255
4288
  canTrack: Z(e.canTrack),
4256
- contentId: R,
4289
+ contentId: E,
4257
4290
  apiKey: e.apiKey,
4258
- variationId: $ !== R ? $ : void 0,
4259
- ...ki(x),
4291
+ variationId: $ !== E ? $ : void 0,
4292
+ ...Ci(x),
4260
4293
  unique: !p
4261
4294
  });
4262
4295
  }
@@ -4266,17 +4299,17 @@ function Vi(e) {
4266
4299
  var V, A, $;
4267
4300
  const x = ($ = (A = (V = e.builderContextSignal.content) == null ? void 0 : V.data) == null ? void 0 : A.httpRequests) != null ? $ : {};
4268
4301
  Object.entries(x).forEach(
4269
- ([R, P]) => {
4270
- if (!P)
4302
+ ([E, R]) => {
4303
+ if (!R)
4271
4304
  return;
4272
- const I = typeof P == "object" && P["@type"] === "@builder.io/core:Request";
4273
- if (m[R] || u[R] && !U())
4305
+ const I = typeof R == "object" && R["@type"] === "@builder.io/core:Request";
4306
+ if (m[E] || u[E] && !U())
4274
4307
  return;
4275
- const N = I ? P.request.url : P;
4276
- m[R] = !0;
4308
+ const N = I ? R.request.url : R;
4309
+ m[E] = !0;
4277
4310
  const C = N.replace(
4278
4311
  /{{([^}]+)}}/g,
4279
- (O, j) => String(
4312
+ (L, j) => String(
4280
4313
  Q({
4281
4314
  code: j,
4282
4315
  context: e.context || {},
@@ -4287,36 +4320,36 @@ function Vi(e) {
4287
4320
  )
4288
4321
  ), W = I ? {
4289
4322
  url: C,
4290
- method: P.request.method,
4291
- headers: P.request.headers,
4292
- body: P.request.body
4323
+ method: R.request.method,
4324
+ headers: R.request.headers,
4325
+ body: R.request.body
4293
4326
  } : {
4294
4327
  url: C,
4295
4328
  method: "GET"
4296
4329
  };
4297
4330
  Le(JSON.stringify(W));
4298
- const L = {
4331
+ const O = {
4299
4332
  method: W.method,
4300
4333
  headers: W.headers,
4301
4334
  body: W.body
4302
4335
  };
4303
- W.method === "GET" && delete L.body, fetch(W.url, L).then((O) => O.json()).then((O) => {
4336
+ W.method === "GET" && delete O.body, fetch(W.url, O).then((L) => L.json()).then((L) => {
4304
4337
  o({
4305
- [R]: O
4306
- }), u[R] = !0;
4307
- }).catch((O) => {
4338
+ [E]: L
4339
+ }), u[E] = !0;
4340
+ }).catch((L) => {
4308
4341
  console.error(
4309
4342
  "error fetching dynamic data",
4310
- JSON.stringify(P),
4311
- O
4343
+ JSON.stringify(R),
4344
+ L
4312
4345
  );
4313
4346
  }).finally(() => {
4314
- m[R] = !1;
4347
+ m[E] = !1;
4315
4348
  });
4316
4349
  }
4317
4350
  );
4318
4351
  }
4319
- function E() {
4352
+ function w() {
4320
4353
  U() && window.dispatchEvent(
4321
4354
  new CustomEvent(
4322
4355
  "builder:component:stateChange",
@@ -4331,11 +4364,11 @@ function Vi(e) {
4331
4364
  )
4332
4365
  );
4333
4366
  }
4334
- const _ = z(!1);
4335
- return _.current || (T(), E(), _.current = !0), B(() => {
4336
- var x, V, A, $, R;
4367
+ const _ = K(!1);
4368
+ return _.current || (T(), w(), _.current = !0), B(() => {
4369
+ var x, V, A, $, E;
4337
4370
  if (G()) {
4338
- U() && !e.isNestedRender && (window.addEventListener("message", b), st({
4371
+ U() && !e.isNestedRender && (window.addEventListener("message", g), ct({
4339
4372
  ...e.locale ? {
4340
4373
  locale: e.locale
4341
4374
  } : {},
@@ -4350,20 +4383,20 @@ function Vi(e) {
4350
4383
  }), Object.values(
4351
4384
  e.builderContextSignal.componentInfos
4352
4385
  ).forEach((C) => {
4353
- var W, L;
4386
+ var W, O;
4354
4387
  if (!((W = C.models) != null && W.length) || C.models.includes(e.model)) {
4355
- const O = ct(C);
4356
- (L = window.parent) == null || L.postMessage(O, "*");
4388
+ const L = ut(C);
4389
+ (O = window.parent) == null || O.postMessage(L, "*");
4357
4390
  }
4358
4391
  }), window.addEventListener(
4359
4392
  "builder:component:stateChangeListenerActivated",
4360
- E
4393
+ w
4361
4394
  ));
4362
- const P = e.builderContextSignal.content && Z(e.canTrack), I = ut({
4395
+ const R = e.builderContextSignal.content && Z(e.canTrack), I = dt({
4363
4396
  name: `builder.tests.${(V = e.builderContextSignal.content) == null ? void 0 : V.id}`,
4364
4397
  canTrack: !0
4365
4398
  }), N = (A = e.builderContextSignal.content) == null ? void 0 : A.testVariationId;
4366
- if (P && N === I) {
4399
+ if (R && N === I) {
4367
4400
  const C = ($ = e.builderContextSignal.content) == null ? void 0 : $.id, W = e.apiKey;
4368
4401
  Ie({
4369
4402
  apiHost: e.apiHost,
@@ -4375,14 +4408,14 @@ function Vi(e) {
4375
4408
  });
4376
4409
  }
4377
4410
  if (oe() && !U()) {
4378
- const C = new URL(location.href).searchParams, W = C.get("builder.preview"), L = C.get(
4411
+ const C = new URL(location.href).searchParams, W = C.get("builder.preview"), O = C.get(
4379
4412
  `builder.overrides.${W}`
4380
- ), O = C.get("apiKey") || C.get("builder.space");
4381
- (W === "BUILDER_STUDIO" || W === e.model && O === e.apiKey && (!e.content || L === e.content.id)) && Oe({
4413
+ ), L = C.get("apiKey") || C.get("builder.space");
4414
+ (W === "BUILDER_STUDIO" || W === e.model && L === e.apiKey && (!e.content || O === e.content.id)) && _e({
4382
4415
  model: e.model,
4383
4416
  apiKey: e.apiKey,
4384
4417
  apiVersion: e.builderContextSignal.apiVersion,
4385
- ...W === "BUILDER_STUDIO" && ((R = e.context) != null && R.symbolId) ? {
4418
+ ...W === "BUILDER_STUDIO" && ((E = e.context) != null && E.symbolId) ? {
4386
4419
  query: {
4387
4420
  id: e.context.symbolId
4388
4421
  }
@@ -4395,7 +4428,7 @@ function Vi(e) {
4395
4428
  }, []), B(() => {
4396
4429
  e.content && l(e.content);
4397
4430
  }, [e.content]), B(() => {
4398
- E();
4431
+ w();
4399
4432
  }, [e.builderContextSignal.rootState]), B(() => {
4400
4433
  if (e.data) {
4401
4434
  if (n === e.data)
@@ -4411,22 +4444,22 @@ function Vi(e) {
4411
4444
  }), r(e.locale);
4412
4445
  }
4413
4446
  }, [e.locale]), B(() => () => {
4414
- G() && (window.removeEventListener("message", b), window.removeEventListener(
4447
+ G() && (window.removeEventListener("message", g), window.removeEventListener(
4415
4448
  "builder:component:stateChangeListenerActivated",
4416
- E
4449
+ w
4417
4450
  ));
4418
- }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || De() ? /* @__PURE__ */ s(
4451
+ }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Fe() ? /* @__PURE__ */ s(
4419
4452
  d,
4420
4453
  {
4421
4454
  ref: t,
4422
4455
  onClick: (x) => v(x),
4423
4456
  "builder-content-id": (H = e.builderContextSignal.content) == null ? void 0 : H.id,
4424
4457
  "builder-model": e.model,
4425
- className: Pi(
4458
+ className: Vi(
4426
4459
  ((q = e.content) == null ? void 0 : q.testVariationId) || ((y = e.content) == null ? void 0 : y.id)
4427
4460
  ),
4428
4461
  style: {
4429
- display: !e.builderContextSignal.content && De() ? "none" : void 0
4462
+ display: !e.builderContextSignal.content && Fe() ? "none" : void 0
4430
4463
  },
4431
4464
  ...c(),
4432
4465
  ...e.contentWrapperProps,
@@ -4434,17 +4467,17 @@ function Vi(e) {
4434
4467
  }
4435
4468
  ) : null });
4436
4469
  }
4437
- function Ai(e) {
4470
+ function Bi(e) {
4438
4471
  const [t, n] = k(
4439
4472
  () => `
4440
- ${wi({
4473
+ ${Ei({
4441
4474
  cssCode: e.cssCode,
4442
4475
  contentId: e.contentId
4443
4476
  })}
4444
- ${Ii({
4477
+ ${wi({
4445
4478
  customFonts: e.customFonts
4446
4479
  })}
4447
- ${Ri(e.isNestedRender)}
4480
+ ${Pi(e.isNestedRender)}
4448
4481
  `.trim()
4449
4482
  );
4450
4483
  return /* @__PURE__ */ s(
@@ -4456,7 +4489,7 @@ ${Ri(e.isNestedRender)}
4456
4489
  }
4457
4490
  );
4458
4491
  }
4459
- const Bi = ({
4492
+ const Ni = ({
4460
4493
  content: e,
4461
4494
  data: t,
4462
4495
  locale: n
@@ -4473,7 +4506,7 @@ const Bi = ({
4473
4506
  locale: n
4474
4507
  } : {}
4475
4508
  };
4476
- }, Ni = ({
4509
+ }, $i = ({
4477
4510
  content: e,
4478
4511
  data: t
4479
4512
  }) => e ? {
@@ -4484,12 +4517,12 @@ const Bi = ({
4484
4517
  },
4485
4518
  meta: e == null ? void 0 : e.meta
4486
4519
  } : void 0;
4487
- function Fe(e) {
4488
- var d, h, b, u, S, m, g, p, f;
4520
+ function Oe(e) {
4521
+ var d, h, g, u, S, m, b, p, f;
4489
4522
  const [t, n] = k(
4490
4523
  () => {
4491
4524
  var v, T;
4492
- return vi({
4525
+ return xi({
4493
4526
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4494
4527
  variationId: (v = e.content) == null ? void 0 : v.testVariationId,
4495
4528
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4508,22 +4541,22 @@ function Fe(e) {
4508
4541
  ...Ne(),
4509
4542
  ...e.customComponents || []
4510
4543
  ].reduce(
4511
- (v, { component: T, ...E }) => ({
4544
+ (v, { component: T, ...w }) => ({
4512
4545
  ...v,
4513
- [E.name]: {
4546
+ [w.name]: {
4514
4547
  component: T,
4515
- ...we(E)
4548
+ ...we(w)
4516
4549
  }
4517
4550
  }),
4518
4551
  {}
4519
4552
  )
4520
4553
  ), [o, l] = k(() => ({
4521
- content: Ni({
4554
+ content: $i({
4522
4555
  content: e.content,
4523
4556
  data: e.data
4524
4557
  }),
4525
4558
  localState: void 0,
4526
- rootState: Bi({
4559
+ rootState: Ni({
4527
4560
  content: e.content,
4528
4561
  data: e.data,
4529
4562
  locale: e.locale
@@ -4537,9 +4570,9 @@ function Fe(e) {
4537
4570
  ...Ne(),
4538
4571
  ...e.customComponents || []
4539
4572
  ].reduce(
4540
- (v, { component: T, ...E }) => ({
4573
+ (v, { component: T, ...w }) => ({
4541
4574
  ...v,
4542
- [E.name]: we(E)
4575
+ [w.name]: we(w)
4543
4576
  }),
4544
4577
  {}
4545
4578
  ),
@@ -4548,7 +4581,7 @@ function Fe(e) {
4548
4581
  BlocksWrapperProps: e.blocksWrapperProps || {},
4549
4582
  nonce: e.nonce || "",
4550
4583
  model: e.model
4551
- })), c = z(!1);
4584
+ })), c = K(!1);
4552
4585
  if (!c.current) {
4553
4586
  e.apiKey || ee.error(
4554
4587
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
@@ -4567,13 +4600,13 @@ function Fe(e) {
4567
4600
  }
4568
4601
  return B(() => {
4569
4602
  }, [e.content, e.data, e.locale]), /* @__PURE__ */ s(
4570
- Me.Provider,
4603
+ qe.Provider,
4571
4604
  {
4572
4605
  value: {
4573
4606
  registeredComponents: a
4574
4607
  },
4575
4608
  children: /* @__PURE__ */ D(
4576
- Vi,
4609
+ Ai,
4577
4610
  {
4578
4611
  apiHost: e.apiHost,
4579
4612
  nonce: e.nonce,
@@ -4602,13 +4635,13 @@ function Fe(e) {
4602
4635
  }
4603
4636
  ) : null,
4604
4637
  /* @__PURE__ */ s(
4605
- Ai,
4638
+ Bi,
4606
4639
  {
4607
4640
  nonce: e.nonce || "",
4608
4641
  isNestedRender: e.isNestedRender,
4609
- contentId: (b = o.content) == null ? void 0 : b.id,
4642
+ contentId: (g = o.content) == null ? void 0 : g.id,
4610
4643
  cssCode: (S = (u = o.content) == null ? void 0 : u.data) == null ? void 0 : S.cssCode,
4611
- customFonts: (g = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : g.customFonts
4644
+ customFonts: (b = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : b.customFonts
4612
4645
  }
4613
4646
  ),
4614
4647
  /* @__PURE__ */ s(
@@ -4626,17 +4659,17 @@ function Fe(e) {
4626
4659
  }
4627
4660
  );
4628
4661
  }
4629
- function $i(e) {
4662
+ function Wi(e) {
4630
4663
  var o;
4631
4664
  const [t, n] = k(
4632
- () => hi({
4665
+ () => bi({
4633
4666
  canTrack: Z(e.canTrack),
4634
4667
  content: e.content
4635
4668
  })
4636
4669
  );
4637
4670
  function i() {
4638
4671
  var l;
4639
- return pi(
4672
+ return vi(
4640
4673
  ae(e.content).map((c) => ({
4641
4674
  id: c.testVariationId,
4642
4675
  testRatio: c.testRatio
@@ -4652,32 +4685,36 @@ function $i(e) {
4652
4685
  return t ? {
4653
4686
  ...e.content,
4654
4687
  testVariationId: (l = e.content) == null ? void 0 : l.id
4655
- } : mt({
4688
+ } : ft({
4656
4689
  item: e.content,
4657
4690
  canTrack: Z(e.canTrack)
4658
4691
  });
4659
4692
  }
4660
4693
  return B(() => {
4661
- }, []), /* @__PURE__ */ D(w, { children: [
4662
- !e.isNestedRender && F !== "reactNative" ? /* @__PURE__ */ D(w, { children: [
4663
- /* @__PURE__ */ s(
4664
- J,
4665
- {
4666
- id: "builderio-init-variants-fns",
4667
- scriptStr: yi(),
4668
- nonce: e.nonce || ""
4669
- }
4670
- ),
4671
- it.includes(F) ? /* @__PURE__ */ s(
4672
- J,
4673
- {
4674
- id: "builderio-init-personalization-variants-fns",
4675
- nonce: e.nonce || "",
4676
- scriptStr: Cn()
4677
- }
4678
- ) : null
4679
- ] }) : null,
4680
- t ? /* @__PURE__ */ D(w, { children: [
4694
+ }, []), /* @__PURE__ */ D(P, { children: [
4695
+ !e.isNestedRender && F !== "reactNative" ? /* @__PURE__ */ s(
4696
+ J,
4697
+ {
4698
+ id: "builderio-init-variants-fns",
4699
+ scriptStr: $e(
4700
+ "builderio-init-variants-fns",
4701
+ pi()
4702
+ ),
4703
+ nonce: e.nonce || ""
4704
+ }
4705
+ ) : null,
4706
+ !e.isNestedRender && F !== "reactNative" && at.includes(F) ? /* @__PURE__ */ s(
4707
+ J,
4708
+ {
4709
+ id: "builderio-init-personalization-variants-fns",
4710
+ nonce: e.nonce || "",
4711
+ scriptStr: $e(
4712
+ "builderio-init-personalization-variants-fns",
4713
+ Tn()
4714
+ )
4715
+ }
4716
+ ) : null,
4717
+ t ? /* @__PURE__ */ D(P, { children: [
4681
4718
  /* @__PURE__ */ s(
4682
4719
  te,
4683
4720
  {
@@ -4695,7 +4732,7 @@ function $i(e) {
4695
4732
  }
4696
4733
  ),
4697
4734
  (o = ae(e.content)) == null ? void 0 : o.map((l) => /* @__PURE__ */ s(
4698
- Fe,
4735
+ Oe,
4699
4736
  {
4700
4737
  apiHost: e.apiHost,
4701
4738
  isNestedRender: e.isNestedRender,
@@ -4723,7 +4760,7 @@ function $i(e) {
4723
4760
  ))
4724
4761
  ] }) : null,
4725
4762
  /* @__PURE__ */ s(
4726
- Fe,
4763
+ Oe,
4727
4764
  {
4728
4765
  apiHost: e.apiHost,
4729
4766
  nonce: e.nonce,
@@ -4750,13 +4787,13 @@ function $i(e) {
4750
4787
  )
4751
4788
  ] });
4752
4789
  }
4753
- const Wi = async ({
4790
+ const Di = async ({
4754
4791
  builderContextValue: e,
4755
4792
  symbol: t
4756
4793
  }) => {
4757
4794
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4758
4795
  (e != null && e.apiKey))
4759
- return Oe({
4796
+ return _e({
4760
4797
  model: t.model,
4761
4798
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
4762
4799
  apiVersion: e.apiVersion,
@@ -4769,8 +4806,8 @@ const Wi = async ({
4769
4806
  ee.error("Could not fetch symbol content: ", n);
4770
4807
  });
4771
4808
  };
4772
- function Di(e) {
4773
- var h, b, u, S, m, g, p;
4809
+ function Fi(e) {
4810
+ var h, g, u, S, m, b, p;
4774
4811
  function t() {
4775
4812
  return "div";
4776
4813
  }
@@ -4783,7 +4820,7 @@ function Di(e) {
4783
4820
  function a() {
4784
4821
  var f, v;
4785
4822
  return [
4786
- e.attributes[K()],
4823
+ e.attributes[z()],
4787
4824
  "builder-symbol",
4788
4825
  (f = e.symbol) != null && f.inline ? "builder-inline-symbol" : void 0,
4789
4826
  (v = e.symbol) != null && v.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
@@ -4798,7 +4835,7 @@ function Di(e) {
4798
4835
  });
4799
4836
  function d() {
4800
4837
  var f;
4801
- r && l === ((f = e.symbol) == null ? void 0 : f.entry) || Wi({
4838
+ r && l === ((f = e.symbol) == null ? void 0 : f.entry) || Di({
4802
4839
  symbol: e.symbol,
4803
4840
  builderContextValue: e.builderContext
4804
4841
  }).then((v) => {
@@ -4810,12 +4847,12 @@ function Di(e) {
4810
4847
  }, []), B(() => {
4811
4848
  d();
4812
4849
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: a(), children: /* @__PURE__ */ s(
4813
- $i,
4850
+ Wi,
4814
4851
  {
4815
4852
  nonce: e.builderContext.nonce,
4816
4853
  isNestedRender: !0,
4817
4854
  apiVersion: e.builderContext.apiVersion,
4818
- apiKey: (h = e.symbol) != null && h.global && ((b = e.symbol) != null && b.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
4855
+ apiKey: (h = e.symbol) != null && h.global && ((g = e.symbol) != null && g.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
4819
4856
  context: {
4820
4857
  ...e.builderContext.context,
4821
4858
  symbolId: (u = e.builderBlock) == null ? void 0 : u.id
@@ -4827,7 +4864,7 @@ function Di(e) {
4827
4864
  ...(m = r == null ? void 0 : r.data) == null ? void 0 : m.state
4828
4865
  },
4829
4866
  canTrack: e.builderContext.canTrack,
4830
- model: (p = (g = e.symbol) == null ? void 0 : g.model) != null ? p : "",
4867
+ model: (p = (b = e.symbol) == null ? void 0 : b.model) != null ? p : "",
4831
4868
  content: r,
4832
4869
  linkComponent: e.builderLinkComponent,
4833
4870
  blocksWrapper: t(),
@@ -4838,14 +4875,14 @@ function Di(e) {
4838
4875
  export {
4839
4876
  M as Blocks,
4840
4877
  le as BuilderContext,
4841
- kt as Button,
4842
- un as Columns,
4843
- $i as Content,
4844
- dn as Fragment,
4845
- hn as Image,
4878
+ Ct as Button,
4879
+ dn as Columns,
4880
+ Wi as Content,
4881
+ mn as Fragment,
4882
+ bn as Image,
4846
4883
  gn as Section,
4847
- Di as Symbol,
4848
- Hn as Text,
4849
- ui as Video,
4850
- qi as setClientUserAttributes
4884
+ Fi as Symbol,
4885
+ Mn as Text,
4886
+ di as Video,
4887
+ ji as setClientUserAttributes
4851
4888
  };