@builder.io/sdk-react 4.1.1 → 4.1.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 (70) hide show
  1. package/lib/browser/blocks-exports.cjs +2 -2
  2. package/lib/browser/blocks-exports.mjs +246 -246
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-7fc3706d.js → server-entry-275748e0.js} +120 -144
  6. package/lib/browser/server-entry-d2f19ab1.cjs +2 -0
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-97979a98.cjs → accordion-59377bdf.cjs} +1 -1
  10. package/lib/edge/{accordion-52165801.js → accordion-59685072.js} +1 -1
  11. package/lib/edge/{blocks-f69d48c0.js → blocks-803a3669.js} +2 -2
  12. package/lib/edge/{blocks-b38b39ff.cjs → blocks-ab4caea4.cjs} +1 -1
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-3acce335.js → button-244756d9.js} +2 -2
  16. package/lib/edge/{button-c2b48e86.cjs → button-d9ead397.cjs} +1 -1
  17. package/lib/edge/{columns-600ece77.cjs → columns-88904faf.cjs} +1 -1
  18. package/lib/edge/{columns-301795ee.js → columns-ac088b45.js} +3 -3
  19. package/lib/edge/{content-variants-d80a626a.js → content-variants-7ba31977.js} +133 -133
  20. package/lib/edge/{content-variants-cb452ad4.cjs → content-variants-d0558de3.cjs} +5 -5
  21. package/lib/edge/{custom-code-38a0e487.js → custom-code-3d893bd2.js} +1 -1
  22. package/lib/edge/{custom-code-381f399e.cjs → custom-code-e2904013.cjs} +1 -1
  23. package/lib/edge/{embed-57e9672d.cjs → embed-7710e674.cjs} +1 -1
  24. package/lib/edge/{embed-3e62c6c0.js → embed-7c2fe6ce.js} +1 -1
  25. package/lib/edge/{form-01ee1ef4.js → form-a5b57678.js} +3 -3
  26. package/lib/edge/{form-dfb33605.cjs → form-ec1cd318.cjs} +1 -1
  27. package/lib/edge/{get-class-prop-name-7a52ddda.cjs → get-class-prop-name-31bfc4d6.cjs} +1 -1
  28. package/lib/edge/{get-class-prop-name-ca3fff6a.js → get-class-prop-name-4ca8bda9.js} +1 -1
  29. package/lib/edge/{img-35c030d0.js → img-1b034d45.js} +1 -1
  30. package/lib/edge/{img-ff08ac3a.cjs → img-f00b7db5.cjs} +1 -1
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/edge/{input-bd84e8ab.cjs → input-19390442.cjs} +1 -1
  34. package/lib/edge/{input-d466ec13.js → input-dfd8b37e.js} +1 -1
  35. package/lib/edge/{personalization-container-8b04de3e.cjs → personalization-container-40c62fee.cjs} +1 -1
  36. package/lib/edge/{personalization-container-87ff6375.js → personalization-container-660938a9.js} +4 -4
  37. package/lib/edge/{select-5d4ffe3b.js → select-155fc504.js} +1 -1
  38. package/lib/edge/{select-ef4ce171.cjs → select-9839622b.cjs} +1 -1
  39. package/lib/edge/{server-entry-db512751.js → server-entry-75006b6f.js} +119 -143
  40. package/lib/edge/server-entry-bdf7aa30.cjs +2 -0
  41. package/lib/edge/server-entry.cjs +1 -1
  42. package/lib/edge/server-entry.mjs +1 -1
  43. package/lib/edge/{slot-78b8ee2b.cjs → slot-28225152.cjs} +1 -1
  44. package/lib/edge/{slot-d0cbcacf.js → slot-c14c2de1.js} +3 -3
  45. package/lib/edge/{symbol-2e54d716.js → symbol-2419b184.js} +2 -2
  46. package/lib/edge/{symbol-6d9bb0a7.cjs → symbol-e5dc7a91.cjs} +1 -1
  47. package/lib/edge/{tabs-b8c2b851.js → tabs-c7011fa2.js} +3 -3
  48. package/lib/edge/{tabs-3f775737.cjs → tabs-d7aa6ac2.cjs} +1 -1
  49. package/lib/node/blocks-exports.cjs +2 -2
  50. package/lib/node/blocks-exports.mjs +244 -244
  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-b0a12b94.js → server-entry-0cf21855.js} +120 -144
  56. package/lib/node/server-entry-7a611f62.cjs +2 -0
  57. package/lib/node/server-entry.cjs +1 -1
  58. package/lib/node/server-entry.mjs +1 -1
  59. package/lib/node/{setIvm-f591fbda.js → setIvm-4171d613.js} +1 -1
  60. package/lib/node/{setIvm-513e193d.cjs → setIvm-68685828.cjs} +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-0fb1bbdd.cjs → should-force-browser-runtime-in-node-88656beb.cjs} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-da05f5c3.js → should-force-browser-runtime-in-node-9fe42073.js} +1 -1
  65. package/package.json +1 -1
  66. package/types/constants/sdk-version.d.ts +1 -1
  67. package/types/scripts/init-editing.d.ts +0 -1
  68. package/lib/browser/server-entry-7291b0a0.cjs +0 -2
  69. package/lib/edge/server-entry-afc62633.cjs +0 -2
  70. package/lib/node/server-entry-47ceca47.cjs +0 -2
@@ -1,14 +1,14 @@
1
1
  "use client";
2
- import { TARGET as F, isBrowser as K, logger as Z, checkIsDefined as ge, isPreviewing as le, isEditing as O, userAttributesService as Ce, getDefaultCanTrack as X, logFetch as Fe, registerInsertMenu as lt, setupBrowserForEditing as st, createRegisterComponentMessage as ct, getCookieSync as ut, _track as Te, fetchOneEntry as Le, createEditorListener as dt, serializeIncludingFunctions as Ie, handleABTestingSync as mt } from "./server-entry-b0a12b94.js";
3
- import { setClientUserAttributes as qi } from "./server-entry-b0a12b94.js";
2
+ import { TARGET as F, isBrowser as K, logger as Z, checkIsDefined as ge, isPreviewing as le, isEditing as O, userAttributesService as Ce, getDefaultCanTrack as X, logFetch as Fe, setupBrowserForEditing as lt, createRegisterComponentMessage as st, getCookieSync as ct, _track as Te, fetchOneEntry as Le, createEditorListener as ut, serializeIncludingFunctions as Ie, handleABTestingSync as dt } from "./server-entry-0cf21855.js";
3
+ import { setClientUserAttributes as Mi } from "./server-entry-0cf21855.js";
4
4
  import { jsx as s, Fragment as R, jsxs as $ } from "react/jsx-runtime";
5
- import * as ft from "react";
5
+ import * as mt from "react";
6
6
  import { createContext as Oe, useEffect as V, useState as C, useRef as H, useContext as we, createElement as _e } from "react";
7
- import { getFunctionArguments as ht, flattenState as gt, runInNode as bt, parseCode as yt, getBuilderGlobals as pt, set as Ue, fastClone as ye } from "./setIvm-f591fbda.js";
8
- import { shouldForceBrowserRuntimeInNode as vt } from "./should-force-browser-runtime-in-node-da05f5c3.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());
7
+ import { getFunctionArguments as ft, flattenState as ht, runInNode as gt, parseCode as bt, getBuilderGlobals as yt, set as Ue, fastClone as ye } from "./setIvm-4171d613.js";
8
+ import { shouldForceBrowserRuntimeInNode as pt } from "./should-force-browser-runtime-in-node-9fe42073.js";
9
+ const vt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), xt = (e) => typeof e == "string" && vt.has(e.toLowerCase());
10
10
  function pe(e) {
11
- return /* @__PURE__ */ s(R, { children: St(e.TagName) ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(R, { 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(R, { children: xt(e.TagName) ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(R, { 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
13
  const j = () => {
14
14
  switch (F) {
@@ -24,7 +24,7 @@ const j = () => {
24
24
  return "class";
25
25
  }
26
26
  };
27
- function kt(e) {
27
+ function St(e) {
28
28
  function t() {
29
29
  return {
30
30
  ...e.attributes,
@@ -66,7 +66,7 @@ const ve = Oe({
66
66
  }), He = Oe({ registeredComponents: {} }), Me = (e, t, n) => {
67
67
  const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, o) => r != null ? r[o] : r, e);
68
68
  return i === void 0 || i === e ? n : i;
69
- }, Ct = ({
69
+ }, kt = ({
70
70
  code: e,
71
71
  builder: t,
72
72
  context: n,
@@ -75,22 +75,22 @@ const ve = Oe({
75
75
  rootSetState: o,
76
76
  rootState: a
77
77
  }) => {
78
- const l = ht({
78
+ const l = ft({
79
79
  builder: t,
80
80
  context: n,
81
81
  event: i,
82
- state: gt({
82
+ state: ht({
83
83
  rootState: a,
84
84
  localState: r,
85
85
  rootSetState: o
86
86
  })
87
87
  });
88
88
  return new Function(...l.map(([c]) => c), e)(...l.map(([, c]) => c));
89
- }, Tt = (e) => K() || vt({
89
+ }, Ct = (e) => K() || pt({
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
+ }) ? kt(e) : gt(e), Tt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, It = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, wt = (e) => {
92
92
  var t, n, i, r, o, a;
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)) || ((a = (o = (r = wt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : o.getPath) == null ? void 0 : a.slice(1));
93
+ return ((i = (n = (t = Tt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((a = (o = (r = It.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : o.getPath) == null ? void 0 : a.slice(1));
94
94
  };
95
95
  function J({
96
96
  code: e,
@@ -103,17 +103,17 @@ function J({
103
103
  }) {
104
104
  if (e.trim() === "")
105
105
  return;
106
- const l = Et(e.trim());
106
+ const l = wt(e.trim());
107
107
  if (l)
108
108
  return Me({
109
109
  ...i,
110
110
  ...n
111
111
  }, l);
112
112
  const c = {
113
- code: yt(e, {
113
+ code: bt(e, {
114
114
  isExpression: a
115
115
  }),
116
- builder: pt(),
116
+ builder: yt(),
117
117
  context: t,
118
118
  event: o,
119
119
  rootSetState: r,
@@ -121,7 +121,7 @@ function J({
121
121
  localState: n
122
122
  };
123
123
  try {
124
- return Tt(c);
124
+ return Ct(c);
125
125
  } catch (u) {
126
126
  Z.error("Failed code evaluation: " + u.message, {
127
127
  code: e
@@ -129,15 +129,15 @@ function J({
129
129
  return;
130
130
  }
131
131
  }
132
- function Rt(e, t) {
132
+ function Et(e, t) {
133
133
  var n;
134
134
  return {
135
135
  ...(n = e.component) == null ? void 0 : n.options,
136
136
  ...e.options,
137
- ...Pt(e, t)
137
+ ...Rt(e, t)
138
138
  };
139
139
  }
140
- const Pt = (e, t) => {
140
+ const Rt = (e, t) => {
141
141
  var n, i;
142
142
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
143
143
  return {
@@ -151,7 +151,7 @@ const Pt = (e, t) => {
151
151
  }))
152
152
  };
153
153
  };
154
- function Vt(e, ...t) {
154
+ function Pt(e, ...t) {
155
155
  const n = Object.assign({}, e);
156
156
  for (const i of t)
157
157
  delete n[i];
@@ -177,7 +177,7 @@ function oe(e, t, n = null, i = null, r = /* @__PURE__ */ new WeakSet()) {
177
177
  function qe(e) {
178
178
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
179
179
  }
180
- function At(e) {
180
+ function Vt(e) {
181
181
  if (!e || !Object.getOwnPropertyNames(e).length)
182
182
  return !1;
183
183
  let t = !1;
@@ -188,15 +188,15 @@ function At(e) {
188
188
  }
189
189
  }), t;
190
190
  }
191
- function Bt(e, t) {
191
+ function At(e, t) {
192
192
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (oe(e, (n, i) => {
193
193
  var r;
194
194
  qe(n) && i((r = n[t]) != null ? r : void 0);
195
195
  }), e);
196
196
  }
197
- function Nt(e, t) {
197
+ function Bt(e, t) {
198
198
  var n, i;
199
- 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;
199
+ return (n = e.component) != null && n.options && Vt((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 = At(e.component.options, t != null ? t : "Default")), e;
200
200
  }
201
201
  function be(e) {
202
202
  if (e === null || typeof e != "object")
@@ -210,8 +210,8 @@ function be(e) {
210
210
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = be(e[n]));
211
211
  return t;
212
212
  }
213
- const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) => {
214
- if ($t) {
213
+ const Nt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), $t = (e) => {
214
+ if (Nt) {
215
215
  const t = ye(e);
216
216
  return {
217
217
  ...t,
@@ -223,7 +223,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
223
223
  }
224
224
  };
225
225
  } else {
226
- const t = be(Vt(e, "children", "meta"));
226
+ const t = be(Pt(e, "children", "meta"));
227
227
  return {
228
228
  ...t,
229
229
  properties: {
@@ -236,7 +236,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
236
236
  meta: e.meta
237
237
  };
238
238
  }
239
- }, Dt = ({
239
+ }, Wt = ({
240
240
  block: e,
241
241
  context: t,
242
242
  localState: n,
@@ -245,7 +245,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
245
245
  }) => {
246
246
  if (!e.bindings)
247
247
  return e;
248
- const o = Wt(e);
248
+ const o = $t(e);
249
249
  for (const a in e.bindings) {
250
250
  const l = e.bindings[a], c = J({
251
251
  code: l,
@@ -258,15 +258,15 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
258
258
  }
259
259
  return o;
260
260
  };
261
- function Ft({
261
+ function Dt({
262
262
  block: e,
263
263
  context: t,
264
264
  localState: n,
265
265
  rootState: i,
266
266
  rootSetState: r
267
267
  }) {
268
- let o = Nt(e, i.locale);
269
- return o = o, Dt({
268
+ let o = Bt(e, i.locale);
269
+ return o = o, Wt({
270
270
  block: o,
271
271
  localState: n,
272
272
  rootState: i,
@@ -275,7 +275,7 @@ function Ft({
275
275
  });
276
276
  }
277
277
  const se = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
278
- function Lt(e, t, n = {}) {
278
+ function Ft(e, t, n = {}) {
279
279
  let i, r, o, a = null, l = 0;
280
280
  const c = function() {
281
281
  l = n.leading === !1 ? 0 : Date.now(), a = null, o = e.apply(i, r), a || (i = r = null);
@@ -297,14 +297,14 @@ function Y(e, ...t) {
297
297
  }
298
298
  return n;
299
299
  }
300
- function Ot(e) {
300
+ function Lt(e) {
301
301
  for (const t of e)
302
302
  switch (t.trigger) {
303
303
  case "pageLoad":
304
304
  Ke(t);
305
305
  break;
306
306
  case "scrollInView":
307
- Ut(t);
307
+ _t(t);
308
308
  break;
309
309
  }
310
310
  }
@@ -312,12 +312,12 @@ function je(e) {
312
312
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
313
313
  }
314
314
  function ze(e, t) {
315
- const n = _t(e), i = getComputedStyle(t), r = e.steps[0].styles, o = e.steps[e.steps.length - 1].styles, a = [r, o];
315
+ const n = Ot(e), i = getComputedStyle(t), r = e.steps[0].styles, o = e.steps[e.steps.length - 1].styles, a = [r, o];
316
316
  for (const l of a)
317
317
  for (const c of n)
318
318
  c in l || (l[c] = i[c]);
319
319
  }
320
- function _t(e) {
320
+ function Ot(e) {
321
321
  const t = [];
322
322
  for (const n of e.steps)
323
323
  for (const i in n.styles)
@@ -338,7 +338,7 @@ function Ke(e) {
338
338
  });
339
339
  });
340
340
  }
341
- function Ut(e) {
341
+ function _t(e) {
342
342
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
343
343
  if (!t.length) {
344
344
  je(e.elementId || e.id || "");
@@ -354,7 +354,7 @@ function Ut(e) {
354
354
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
355
355
  })) : e.repeat && i && !r && !l(n) && (i = !1, Y(n.style, e.steps[0].styles));
356
356
  }
357
- const a = Lt(o, 200, {
357
+ const a = Ft(o, 200, {
358
358
  leading: !1
359
359
  });
360
360
  function l(f) {
@@ -376,28 +376,28 @@ function Ut(e) {
376
376
  const Je = (e) => Object.entries(e).map(([n, i]) => {
377
377
  if (typeof i == "string")
378
378
  return `${se(n)}: ${i};`;
379
- }).filter(ge), Ht = (e) => Je(e).join(`
379
+ }).filter(ge), Ut = (e) => Je(e).join(`
380
380
  `), Q = ({
381
381
  mediaQuery: e,
382
382
  className: t,
383
383
  styles: n
384
384
  }) => {
385
385
  const i = `.${t} {
386
- ${Ht(n)}
386
+ ${Ut(n)}
387
387
  }`;
388
388
  return e ? `${e} {
389
389
  ${i}
390
390
  }` : i;
391
391
  };
392
- function Mt({
392
+ function Ht({
393
393
  style: e
394
394
  }) {
395
395
  return e;
396
396
  }
397
- const qt = ({
397
+ const Mt = ({
398
398
  block: e,
399
399
  context: t
400
- }) => Ge(Mt({
400
+ }) => Ge(Ht({
401
401
  style: e.style || {},
402
402
  context: t,
403
403
  block: e
@@ -416,7 +416,7 @@ function Ge(e) {
416
416
  return e;
417
417
  }
418
418
  }
419
- const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, jt = ({
419
+ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, qt = ({
420
420
  block: e,
421
421
  registeredComponents: t,
422
422
  model: n
@@ -433,7 +433,7 @@ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
433
433
  return;
434
434
  } else
435
435
  return r;
436
- }, zt = ({
436
+ }, jt = ({
437
437
  block: e,
438
438
  context: t
439
439
  }) => {
@@ -466,22 +466,22 @@ const Qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
466
466
  },
467
467
  block: i
468
468
  }));
469
- }, Kt = (e, t) => {
469
+ }, zt = (e, t) => {
470
470
  var n;
471
471
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
472
472
  builderLinkComponent: t
473
473
  } : {};
474
- }, Jt = (e, t, n) => {
474
+ }, Kt = (e, t, n) => {
475
475
  var i;
476
476
  return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
477
477
  builderComponents: Object.fromEntries(Object.entries(t).filter(([o, a]) => !Qe(a, n)))
478
478
  } : {};
479
- }, Gt = (e, t) => {
479
+ }, Jt = (e, t) => {
480
480
  var n;
481
481
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
482
482
  builderBlock: t
483
483
  } : {};
484
- }, Qt = (e, t) => {
484
+ }, Gt = (e, t) => {
485
485
  var n;
486
486
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
487
487
  builderContext: t
@@ -556,7 +556,7 @@ function ee(e) {
556
556
  }
557
557
  );
558
558
  }
559
- function Yt(e) {
559
+ function Qt(e) {
560
560
  function t() {
561
561
  const i = e.block;
562
562
  return ge(i.hide) ? !i.hide : ge(i.show) ? i.show : !0;
@@ -624,10 +624,10 @@ function Yt(e) {
624
624
  }
625
625
  ) }) : null });
626
626
  }
627
- function Xt(e) {
627
+ function Yt(e) {
628
628
  return e.charAt(0).toUpperCase() + e.slice(1);
629
629
  }
630
- const Zt = (e) => `on${Xt(e)}`, en = (e, t) => (n) => J({
630
+ const Xt = (e) => `on${Yt(e)}`, Zt = (e, t) => (n) => J({
631
631
  code: e,
632
632
  context: t.context,
633
633
  localState: t.localState,
@@ -643,7 +643,7 @@ function Ze(e) {
643
643
  if (!n.hasOwnProperty(r))
644
644
  continue;
645
645
  const o = n[r];
646
- let a = Zt(r);
646
+ let a = Xt(r);
647
647
  if (e.stripPrefix)
648
648
  switch (F) {
649
649
  case "vue":
@@ -653,16 +653,16 @@ function Ze(e) {
653
653
  a = a.replace("on:", "");
654
654
  break;
655
655
  }
656
- t[a] = en(o, e);
656
+ t[a] = Zt(o, e);
657
657
  }
658
658
  return t;
659
659
  }
660
- function tn({
660
+ function en({
661
661
  properties: e
662
662
  }) {
663
663
  return e;
664
664
  }
665
- const nn = (e) => ({
665
+ const tn = (e) => ({
666
666
  href: e.href
667
667
  });
668
668
  function xe({
@@ -671,22 +671,22 @@ function xe({
671
671
  }) {
672
672
  var i;
673
673
  const n = {
674
- ...nn(e),
674
+ ...tn(e),
675
675
  ...e.properties,
676
676
  "builder-id": e.id,
677
- style: qt({
677
+ style: Mt({
678
678
  block: e,
679
679
  context: t
680
680
  }),
681
681
  [j()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
682
682
  };
683
- return tn({
683
+ return en({
684
684
  properties: n,
685
685
  context: t,
686
686
  block: e
687
687
  });
688
688
  }
689
- function rn(e) {
689
+ function nn(e) {
690
690
  return /* @__PURE__ */ s(
691
691
  pe,
692
692
  {
@@ -707,11 +707,11 @@ function rn(e) {
707
707
  }
708
708
  );
709
709
  }
710
- function an(e) {
710
+ function rn(e) {
711
711
  return V(() => {
712
712
  }, []), /* @__PURE__ */ s(R, { children: e.children });
713
713
  }
714
- function on(e) {
714
+ function an(e) {
715
715
  var i, r;
716
716
  C(() => 0);
717
717
  function t() {
@@ -734,7 +734,7 @@ function on(e) {
734
734
  }
735
735
  return V(() => {
736
736
  }, [e.wrapperProps, (r = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : r.options]), /* @__PURE__ */ s(R, { children: e.Wrapper.load ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
737
- an,
737
+ rn,
738
738
  {
739
739
  load: e.Wrapper.load,
740
740
  fallback: e.Wrapper.fallback,
@@ -744,7 +744,7 @@ function on(e) {
744
744
  }
745
745
  ) }) : /* @__PURE__ */ s(e.Wrapper, { ...n(), attributes: t(), children: e.children }) });
746
746
  }
747
- const ln = ({
747
+ const on = ({
748
748
  componentOptions: e,
749
749
  builderBlock: t,
750
750
  context: n,
@@ -778,13 +778,13 @@ function Re(e) {
778
778
  var i;
779
779
  C(() => !1);
780
780
  const [t, n] = C(
781
- () => e.isInteractive ? on : e.componentRef
781
+ () => e.isInteractive ? an : e.componentRef
782
782
  );
783
783
  return V(() => {
784
784
  }, [e.componentOptions, e.blockChildren]), /* @__PURE__ */ s(R, { children: e.componentRef ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
785
785
  t,
786
786
  {
787
- ...ln({
787
+ ...on({
788
788
  componentOptions: e.componentOptions,
789
789
  builderBlock: e.builderBlock,
790
790
  context: e.context,
@@ -824,7 +824,7 @@ function Pe(e) {
824
824
  function ce(e) {
825
825
  var f, b, m, v;
826
826
  function t() {
827
- return zt({
827
+ return jt({
828
828
  block: e.block,
829
829
  context: e.context
830
830
  });
@@ -837,7 +837,7 @@ function ce(e) {
837
837
  var h;
838
838
  if (n.value && !n.update && !le())
839
839
  return n.value;
840
- const d = (h = e.block.repeat) != null && h.collection ? e.block : Ft({
840
+ const d = (h = e.block.repeat) != null && h.collection ? e.block : Dt({
841
841
  block: e.block,
842
842
  localState: e.context.localState,
843
843
  rootState: e.context.rootState,
@@ -847,7 +847,7 @@ function ce(e) {
847
847
  return n.value = d, n.update = !1, d;
848
848
  }
849
849
  function o() {
850
- return jt({
850
+ return qt({
851
851
  block: r(),
852
852
  registeredComponents: e.registeredComponents,
853
853
  model: e.context.model
@@ -874,11 +874,11 @@ function ce(e) {
874
874
  blockChildren: (d = r().children) != null ? d : [],
875
875
  componentRef: (h = o == null ? void 0 : o()) == null ? void 0 : h.component,
876
876
  componentOptions: {
877
- ...Rt(r(), e.context),
878
- ...Gt(o(), r()),
879
- ...Qt(o(), e.context),
880
- ...Kt(o(), e.linkComponent),
881
- ...Jt(
877
+ ...Et(r(), e.context),
878
+ ...Jt(o(), r()),
879
+ ...Gt(o(), e.context),
880
+ ...zt(o(), e.linkComponent),
881
+ ...Kt(
882
882
  o(),
883
883
  e.registeredComponents,
884
884
  e.context.model
@@ -894,7 +894,7 @@ function ce(e) {
894
894
  }
895
895
  return V(() => {
896
896
  const d = r().id, h = r().animations;
897
- h && d && Ot(
897
+ h && d && Lt(
898
898
  h.map((p) => ({
899
899
  ...p,
900
900
  elementId: d
@@ -903,7 +903,7 @@ function ce(e) {
903
903
  }, []), V(() => {
904
904
  n.update = !0;
905
905
  }), /* @__PURE__ */ s(R, { children: l() ? /* @__PURE__ */ $(R, { children: [
906
- /* @__PURE__ */ s(Yt, { block: r(), context: e.context }),
906
+ /* @__PURE__ */ s(Qt, { block: r(), context: e.context }),
907
907
  (f = o == null ? void 0 : o()) != null && f.noWrap ? t() ? /* @__PURE__ */ s(R, { children: (v = t()) == null ? void 0 : v.map((d, h) => /* @__PURE__ */ s(
908
908
  Pe,
909
909
  {
@@ -936,7 +936,7 @@ function ce(e) {
936
936
  },
937
937
  Ee(h)
938
938
  )) }) : /* @__PURE__ */ $(
939
- rn,
939
+ nn,
940
940
  {
941
941
  Wrapper: a(),
942
942
  block: r(),
@@ -971,7 +971,7 @@ function ce(e) {
971
971
  ) })
972
972
  ] }) : null });
973
973
  }
974
- function sn(e) {
974
+ function ln(e) {
975
975
  const t = H(null);
976
976
  C(() => !1);
977
977
  function n() {
@@ -1043,7 +1043,7 @@ function _(e) {
1043
1043
  var i, r, o;
1044
1044
  const t = we(ve), n = we(He);
1045
1045
  return /* @__PURE__ */ $(
1046
- sn,
1046
+ ln,
1047
1047
  {
1048
1048
  blocks: e.blocks,
1049
1049
  parent: e.parent,
@@ -1068,8 +1068,8 @@ function _(e) {
1068
1068
  }
1069
1069
  );
1070
1070
  }
1071
- const cn = (e) => `builder-columns ${e}-breakpoints`;
1072
- function un(e) {
1071
+ const sn = (e) => `builder-columns ${e}-breakpoints`;
1072
+ function cn(e) {
1073
1073
  var h, p;
1074
1074
  function t() {
1075
1075
  return typeof e.space == "number" ? e.space || 0 : 20;
@@ -1195,7 +1195,7 @@ function un(e) {
1195
1195
  /* @__PURE__ */ $(
1196
1196
  "div",
1197
1197
  {
1198
- className: cn((h = e.builderBlock) == null ? void 0 : h.id) + " div-0369db37",
1198
+ className: sn((h = e.builderBlock) == null ? void 0 : h.id) + " div-0369db37",
1199
1199
  style: f(),
1200
1200
  children: [
1201
1201
  /* @__PURE__ */ s(
@@ -1234,17 +1234,17 @@ function un(e) {
1234
1234
  )
1235
1235
  ] });
1236
1236
  }
1237
- function dn(e) {
1237
+ function un(e) {
1238
1238
  return /* @__PURE__ */ s("span", { children: e.children });
1239
1239
  }
1240
1240
  function Ve(e) {
1241
1241
  return e.replace(/http(s)?:/, "");
1242
1242
  }
1243
- function mn(e = "", t, n) {
1243
+ function dn(e = "", t, n) {
1244
1244
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1245
1245
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1246
1246
  }
1247
- function fn(e, t) {
1247
+ function mn(e, t) {
1248
1248
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1249
1249
  return e;
1250
1250
  if (t === "master")
@@ -1263,11 +1263,11 @@ function ne(e) {
1263
1263
  if (e.match(/builder\.io/)) {
1264
1264
  let n = e;
1265
1265
  const i = Number(e.split("?width=")[1]);
1266
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((r) => r !== i).map((r) => `${mn(e, "width", r)} ${r}w`).concat([n]).join(", ");
1266
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((r) => r !== i).map((r) => `${dn(e, "width", r)} ${r}w`).concat([n]).join(", ");
1267
1267
  }
1268
- 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;
1268
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [mn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1269
1269
  }
1270
- function hn(e) {
1270
+ function fn(e) {
1271
1271
  var r, o, a, l, c, u;
1272
1272
  function t() {
1273
1273
  var m;
@@ -1355,7 +1355,7 @@ function hn(e) {
1355
1355
  ] })
1356
1356
  ] });
1357
1357
  }
1358
- function gn(e) {
1358
+ function hn(e) {
1359
1359
  return /* @__PURE__ */ s(
1360
1360
  "section",
1361
1361
  {
@@ -1376,7 +1376,7 @@ function gn(e) {
1376
1376
  }
1377
1377
  );
1378
1378
  }
1379
- function bn(e, t, n, i) {
1379
+ function gn(e, t, n, i) {
1380
1380
  function r(u) {
1381
1381
  return typeof u == "string";
1382
1382
  }
@@ -1433,7 +1433,7 @@ function bn(e, t, n, i) {
1433
1433
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
1434
1434
  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((u) => a(e, u));
1435
1435
  }
1436
- const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1436
+ const bn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1437
1437
  if (!navigator.cookieEnabled) {
1438
1438
  return;
1439
1439
  }
@@ -1478,7 +1478,7 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1478
1478
  thisScript.remove();
1479
1479
  }
1480
1480
  }
1481
- }`, pn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1481
+ }`, yn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1482
1482
  function isString(val) {
1483
1483
  return typeof val === 'string';
1484
1484
  }
@@ -1556,7 +1556,7 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1556
1556
  return item.query.every(filter => {
1557
1557
  return objectMatchesQuery(userAttributes, filter);
1558
1558
  });
1559
- }`, vn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1559
+ }`, pn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1560
1560
  function getCookie(name) {
1561
1561
  const nameEQ = name + '=';
1562
1562
  const ca = document.cookie.split(';');
@@ -1594,11 +1594,11 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1594
1594
  visibilityStylesEl.innerHTML = newStyleStr;
1595
1595
  }
1596
1596
  }
1597
- }`, ie = "default", xn = "filterWithCustomTargeting", et = "builderIoPersonalization", tt = "updateVisibilityStylesScript", nt = ["react", "vue", "svelte", "qwik"], re = ["vue", "svelte", "qwik"];
1598
- function Sn(e, t) {
1597
+ }`, ie = "default", vn = "filterWithCustomTargeting", et = "builderIoPersonalization", tt = "updateVisibilityStylesScript", nt = ["react", "vue", "svelte", "qwik"], re = ["vue", "svelte", "qwik"];
1598
+ function xn(e, t) {
1599
1599
  return !(e && e.length > 0) || !t ? !1 : re.includes(F) ? !0 : !K();
1600
1600
  }
1601
- function kn({
1601
+ function Sn({
1602
1602
  variants: e,
1603
1603
  previewingIndex: t,
1604
1604
  isHydrated: n,
@@ -1637,11 +1637,11 @@ function kn({
1637
1637
  }
1638
1638
  return o;
1639
1639
  }
1640
- const Cn = () => `
1641
- window.${xn} = ${pn}
1642
- window.${et} = ${yn}
1643
- window.${tt} = ${vn}
1644
- `, it = F === "react", Tn = (e, t, n) => `window.${et}(${JSON.stringify(e)}, "${t}", ${it}${n ? `, "${n}"` : ""})`, In = (e, t, n) => `window.${tt}(${JSON.stringify(e)}, "${t}", ${it}${n ? `, "${n}"` : ""})`, de = {
1640
+ const kn = () => `
1641
+ window.${vn} = ${yn}
1642
+ window.${et} = ${bn}
1643
+ window.${tt} = ${pn}
1644
+ `, it = F === "react", Cn = (e, t, n) => `window.${et}(${JSON.stringify(e)}, "${t}", ${it}${n ? `, "${n}"` : ""})`, Tn = (e, t, n) => `window.${tt}(${JSON.stringify(e)}, "${t}", ${it}${n ? `, "${n}"` : ""})`, de = {
1645
1645
  "@type": "@builder.io/sdk:Element",
1646
1646
  layerName: "Accordion item title",
1647
1647
  responsiveStyles: {
@@ -1701,7 +1701,7 @@ const Cn = () => `
1701
1701
  }
1702
1702
  }
1703
1703
  }]
1704
- }, wn = {
1704
+ }, In = {
1705
1705
  name: "Builder:Accordion",
1706
1706
  canHaveChildren: !0,
1707
1707
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1766,7 +1766,7 @@ const Cn = () => `
1766
1766
  builderLinkComponent: !0
1767
1767
  }
1768
1768
  }, Ae = (e) => e.toString();
1769
- function En(e) {
1769
+ function wn(e) {
1770
1770
  var b;
1771
1771
  const [t, n] = C(() => []);
1772
1772
  function i() {
@@ -1844,7 +1844,7 @@ function En(e) {
1844
1844
  function f(m) {
1845
1845
  t.includes(m) ? n(i() ? [] : t.filter((v) => v !== m)) : n(i() ? [m] : t.concat(m));
1846
1846
  }
1847
- return /* @__PURE__ */ s("div", { className: "builder-accordion", style: r(), children: (b = e.items) == null ? void 0 : b.map((m, v) => /* @__PURE__ */ $(ft.Fragment, { children: [
1847
+ return /* @__PURE__ */ s("div", { className: "builder-accordion", style: r(), children: (b = e.items) == null ? void 0 : b.map((m, v) => /* @__PURE__ */ $(mt.Fragment, { children: [
1848
1848
  /* @__PURE__ */ s(
1849
1849
  "div",
1850
1850
  {
@@ -1891,7 +1891,7 @@ function En(e) {
1891
1891
  ) : null
1892
1892
  ] }, v)) });
1893
1893
  }
1894
- const Rn = {
1894
+ const En = {
1895
1895
  name: "Core:Button",
1896
1896
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1897
1897
  defaultStyles: {
@@ -1927,7 +1927,7 @@ const Rn = {
1927
1927
  shouldReceiveBuilderProps: {
1928
1928
  builderLinkComponent: !0
1929
1929
  }
1930
- }, Pn = {
1930
+ }, Rn = {
1931
1931
  // TODO: ways to statically preprocess JSON for references, functions, etc
1932
1932
  name: "Columns",
1933
1933
  isRSC: !0,
@@ -2134,13 +2134,13 @@ const Rn = {
2134
2134
  builderComponents: !0,
2135
2135
  builderLinkComponent: !0
2136
2136
  }
2137
- }, Vn = {
2137
+ }, Pn = {
2138
2138
  name: "Fragment",
2139
2139
  static: !0,
2140
2140
  hidden: !0,
2141
2141
  canHaveChildren: !0,
2142
2142
  noWrap: !0
2143
- }, Se = ["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 = {
2143
+ }, Se = ["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"], Vn = ["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"], An = {
2144
2144
  name: "Image",
2145
2145
  static: !0,
2146
2146
  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",
@@ -2252,7 +2252,7 @@ const Rn = {
2252
2252
  shouldReceiveBuilderProps: {
2253
2253
  builderBlock: !0
2254
2254
  }
2255
- }, Nn = {
2255
+ }, Bn = {
2256
2256
  name: "PersonalizationContainer",
2257
2257
  shouldReceiveBuilderProps: {
2258
2258
  builderBlock: !0,
@@ -2299,14 +2299,14 @@ function q(e) {
2299
2299
  }
2300
2300
  );
2301
2301
  }
2302
- function $n(e) {
2302
+ function Nn(e) {
2303
2303
  var S, k, A, T, I, g, x, w, D, L, W, P, U;
2304
2304
  const t = H(null), [n, i] = C(
2305
2305
  () => Ce.getUserAttributes()
2306
2306
  ), [r, o] = C(
2307
2307
  () => {
2308
2308
  var E, B, N;
2309
- return Tn(
2309
+ return Cn(
2310
2310
  e.variants,
2311
2311
  ((E = e.builderBlock) == null ? void 0 : E.id) || "none",
2312
2312
  (N = (B = e.builderContext) == null ? void 0 : B.rootState) == null ? void 0 : N.locale
@@ -2315,7 +2315,7 @@ function $n(e) {
2315
2315
  ), [a, l] = C(
2316
2316
  () => {
2317
2317
  var E, B, N;
2318
- return In(
2318
+ return Tn(
2319
2319
  e.variants,
2320
2320
  ((E = e.builderBlock) == null ? void 0 : E.id) || "none",
2321
2321
  (N = (B = e.builderContext) == null ? void 0 : B.rootState) == null ? void 0 : N.locale
@@ -2324,7 +2324,7 @@ function $n(e) {
2324
2324
  ), [c, u] = C(() => []), [f, b] = C(
2325
2325
  () => {
2326
2326
  var E;
2327
- return Sn(
2327
+ return xn(
2328
2328
  e.variants,
2329
2329
  X((E = e.builderContext) == null ? void 0 : E.canTrack)
2330
2330
  );
@@ -2339,7 +2339,7 @@ function $n(e) {
2339
2339
  function h() {
2340
2340
  return (e.variants || []).filter((E) => {
2341
2341
  var B, N, z, M;
2342
- return bn(
2342
+ return gn(
2343
2343
  {
2344
2344
  ...(N = (B = e.builderContext) == null ? void 0 : B.rootState) != null && N.locale ? {
2345
2345
  locale: (M = (z = e.builderContext) == null ? void 0 : z.rootState) == null ? void 0 : M.locale
@@ -2354,7 +2354,7 @@ function $n(e) {
2354
2354
  }
2355
2355
  function p() {
2356
2356
  var E;
2357
- return kn({
2357
+ return Sn({
2358
2358
  variants: e.variants,
2359
2359
  fallbackBlocks: (E = e.builderBlock) == null ? void 0 : E.children,
2360
2360
  isHydrated: m,
@@ -2496,7 +2496,7 @@ function $n(e) {
2496
2496
  ] }) : null
2497
2497
  ] });
2498
2498
  }
2499
- const Wn = {
2499
+ const $n = {
2500
2500
  name: "Core:Section",
2501
2501
  static: !0,
2502
2502
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2535,7 +2535,7 @@ const Wn = {
2535
2535
  }
2536
2536
  }
2537
2537
  }]
2538
- }, Dn = {
2538
+ }, Wn = {
2539
2539
  name: "Slot",
2540
2540
  isRSC: !0,
2541
2541
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2553,7 +2553,7 @@ const Wn = {
2553
2553
  builderComponents: !0
2554
2554
  }
2555
2555
  };
2556
- function Fn(e) {
2556
+ function Dn(e) {
2557
2557
  var t, n, i;
2558
2558
  return /* @__PURE__ */ s(
2559
2559
  "div",
@@ -2577,7 +2577,7 @@ function Fn(e) {
2577
2577
  }
2578
2578
  );
2579
2579
  }
2580
- const Ln = {
2580
+ const Fn = {
2581
2581
  name: "Symbol",
2582
2582
  noWrap: !0,
2583
2583
  static: !0,
@@ -2654,7 +2654,7 @@ const Ln = {
2654
2654
  text: "New tab content "
2655
2655
  }
2656
2656
  }
2657
- }, On = {
2657
+ }, Ln = {
2658
2658
  name: "Builder: Tabs",
2659
2659
  inputs: [{
2660
2660
  name: "tabs",
@@ -2758,7 +2758,7 @@ const Ln = {
2758
2758
  builderLinkComponent: !0
2759
2759
  }
2760
2760
  };
2761
- function _n(e) {
2761
+ function On(e) {
2762
2762
  var o;
2763
2763
  const [t, n] = C(
2764
2764
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2817,7 +2817,7 @@ function _n(e) {
2817
2817
  ) }) : null
2818
2818
  ] });
2819
2819
  }
2820
- const Un = {
2820
+ const _n = {
2821
2821
  shouldReceiveBuilderProps: {},
2822
2822
  name: "Text",
2823
2823
  static: !0,
@@ -2837,7 +2837,7 @@ const Un = {
2837
2837
  textAlign: "center"
2838
2838
  }
2839
2839
  };
2840
- function Hn(e) {
2840
+ function Un(e) {
2841
2841
  var t;
2842
2842
  return /* @__PURE__ */ s(
2843
2843
  "div",
@@ -2850,7 +2850,7 @@ function Hn(e) {
2850
2850
  }
2851
2851
  );
2852
2852
  }
2853
- const Mn = {
2853
+ const Hn = {
2854
2854
  name: "Custom Code",
2855
2855
  static: !0,
2856
2856
  requiredPermissions: ["editCode"],
@@ -2873,7 +2873,7 @@ const Mn = {
2873
2873
  advanced: !0
2874
2874
  }]
2875
2875
  };
2876
- function qn(e) {
2876
+ function Mn(e) {
2877
2877
  const t = H(null), [n, i] = C(() => []), [r, o] = C(() => []);
2878
2878
  function a() {
2879
2879
  var c;
@@ -2919,7 +2919,7 @@ function qn(e) {
2919
2919
  }
2920
2920
  );
2921
2921
  }
2922
- const jn = {
2922
+ const qn = {
2923
2923
  name: "Embed",
2924
2924
  static: !0,
2925
2925
  inputs: [{
@@ -2934,8 +2934,8 @@ const jn = {
2934
2934
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2935
2935
  hideFromUI: !0
2936
2936
  }]
2937
- }, zn = ["text/javascript", "application/javascript", "application/ecmascript"], Kn = (e) => zn.includes(e.type);
2938
- function Jn(e) {
2937
+ }, jn = ["text/javascript", "application/javascript", "application/ecmascript"], zn = (e) => jn.includes(e.type);
2938
+ function Kn(e) {
2939
2939
  const t = H(null), [n, i] = C(() => []), [r, o] = C(() => []), [a, l] = C(() => !1);
2940
2940
  function c() {
2941
2941
  if (!t.current || !t.current.getElementsByTagName)
@@ -2947,7 +2947,7 @@ function Jn(e) {
2947
2947
  n.push(b.src);
2948
2948
  const m = document.createElement("script");
2949
2949
  m.async = !0, m.src = b.src, document.head.appendChild(m);
2950
- } else if (Kn(b) && !r.includes(b.innerText))
2950
+ } else if (zn(b) && !r.includes(b.innerText))
2951
2951
  try {
2952
2952
  r.push(b.innerText), new Function(b.innerText)();
2953
2953
  } catch (m) {
@@ -2966,7 +2966,7 @@ function Jn(e) {
2966
2966
  }
2967
2967
  );
2968
2968
  }
2969
- const Gn = {
2969
+ const Jn = {
2970
2970
  name: "Form:Form",
2971
2971
  // editableTags: ['builder-form-error']
2972
2972
  defaults: {
@@ -3203,11 +3203,11 @@ const Gn = {
3203
3203
  builderComponents: !0,
3204
3204
  builderLinkComponent: !0
3205
3205
  }
3206
- }, Qn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Yn = () => {
3206
+ }, Gn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Qn = () => {
3207
3207
  const e = process.env.NODE_ENV || "production";
3208
- return Qn.includes(e) ? e : "production";
3208
+ return Gn.includes(e) ? e : "production";
3209
3209
  };
3210
- function Xn(e) {
3210
+ function Yn(e) {
3211
3211
  const t = H(null), [n, i] = C(() => "unsubmitted"), [r, o] = C(() => null), [a, l] = C(() => "");
3212
3212
  function c(b) {
3213
3213
  var v, d;
@@ -3277,7 +3277,7 @@ function Xn(e) {
3277
3277
  console.error(g), i("error"), c({ formErrorMessage: g });
3278
3278
  return;
3279
3279
  }
3280
- const T = `${Yn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3280
+ const T = `${Qn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3281
3281
  e.sendSubmissionsToEmail || ""
3282
3282
  )}&name=${encodeURIComponent(e.name || "")}`, I = e.sendSubmissionsTo === "email" ? T : e.action;
3283
3283
  Fe(I), fetch(I, { body: p, headers: h, method: e.method || "post" }).then(
@@ -3371,7 +3371,7 @@ function Xn(e) {
3371
3371
  " "
3372
3372
  ] });
3373
3373
  }
3374
- const Zn = {
3374
+ const Xn = {
3375
3375
  name: "Form:Input",
3376
3376
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3377
3377
  inputs: [
@@ -3423,7 +3423,7 @@ const Zn = {
3423
3423
  borderColor: "#ccc"
3424
3424
  }
3425
3425
  };
3426
- function ei(e) {
3426
+ function Zn(e) {
3427
3427
  return /* @__PURE__ */ _e(
3428
3428
  "input",
3429
3429
  {
@@ -3438,7 +3438,7 @@ function ei(e) {
3438
3438
  }
3439
3439
  );
3440
3440
  }
3441
- const ti = {
3441
+ const ei = {
3442
3442
  name: "Form:Select",
3443
3443
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3444
3444
  defaultStyles: {
@@ -3481,7 +3481,7 @@ const ti = {
3481
3481
  static: !0,
3482
3482
  noWrap: !0
3483
3483
  };
3484
- function ni(e) {
3484
+ function ti(e) {
3485
3485
  var t;
3486
3486
  return /* @__PURE__ */ _e(
3487
3487
  "select",
@@ -3496,7 +3496,7 @@ function ni(e) {
3496
3496
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ s("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
3497
3497
  );
3498
3498
  }
3499
- const ii = {
3499
+ const ni = {
3500
3500
  name: "Form:SubmitButton",
3501
3501
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3502
3502
  defaultStyles: {
@@ -3522,10 +3522,10 @@ const ii = {
3522
3522
  // TODO: defaultChildren
3523
3523
  // canHaveChildren: true,
3524
3524
  };
3525
- function ri(e) {
3525
+ function ii(e) {
3526
3526
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
3527
3527
  }
3528
- const ai = {
3528
+ const ri = {
3529
3529
  name: "Form:TextArea",
3530
3530
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3531
3531
  inputs: [{
@@ -3562,7 +3562,7 @@ const ai = {
3562
3562
  static: !0,
3563
3563
  noWrap: !0
3564
3564
  };
3565
- function oi(e) {
3565
+ function ai(e) {
3566
3566
  return /* @__PURE__ */ s(
3567
3567
  "textarea",
3568
3568
  {
@@ -3575,7 +3575,7 @@ function oi(e) {
3575
3575
  }
3576
3576
  );
3577
3577
  }
3578
- const li = {
3578
+ const oi = {
3579
3579
  // friendlyName?
3580
3580
  name: "Raw:Img",
3581
3581
  hideFromInsertMenu: !0,
@@ -3590,7 +3590,7 @@ const li = {
3590
3590
  noWrap: !0,
3591
3591
  static: !0
3592
3592
  };
3593
- function si(e) {
3593
+ function li(e) {
3594
3594
  function t() {
3595
3595
  const n = e.imgSrc || e.image;
3596
3596
  if (!(!n || typeof n != "string") && n.match(/builder\.io/))
@@ -3612,7 +3612,7 @@ function si(e) {
3612
3612
  O() && e.imgSrc || "default-key"
3613
3613
  );
3614
3614
  }
3615
- const ci = {
3615
+ const si = {
3616
3616
  name: "Video",
3617
3617
  canHaveChildren: !0,
3618
3618
  defaultStyles: {
@@ -3623,7 +3623,7 @@ const ci = {
3623
3623
  inputs: [{
3624
3624
  name: "video",
3625
3625
  type: "file",
3626
- allowedFileTypes: An,
3626
+ allowedFileTypes: Vn,
3627
3627
  bubble: !0,
3628
3628
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
3629
3629
  required: !0
@@ -3697,7 +3697,7 @@ const ci = {
3697
3697
  builderBlock: !0
3698
3698
  }
3699
3699
  };
3700
- function ui(e) {
3700
+ function ci(e) {
3701
3701
  var a, l, c, u, f, b, m;
3702
3702
  const t = H(null);
3703
3703
  function n() {
@@ -3833,67 +3833,67 @@ function ui(e) {
3833
3833
  }
3834
3834
  );
3835
3835
  }
3836
- const di = () => [{
3837
- component: qn,
3838
- ...Mn
3836
+ const ui = () => [{
3837
+ component: Mn,
3838
+ ...Hn
3839
3839
  }, {
3840
- component: Jn,
3841
- ...jn
3840
+ component: Kn,
3841
+ ...qn
3842
3842
  }, {
3843
- component: Xn,
3844
- ...Gn
3843
+ component: Yn,
3844
+ ...Jn
3845
3845
  }, {
3846
- component: ei,
3847
- ...Zn
3846
+ component: Zn,
3847
+ ...Xn
3848
3848
  }, {
3849
- component: ri,
3850
- ...ii
3849
+ component: ii,
3850
+ ...ni
3851
3851
  }, {
3852
- component: ni,
3853
- ...ti
3852
+ component: ti,
3853
+ ...ei
3854
3854
  }, {
3855
- component: oi,
3856
- ...ai
3855
+ component: ai,
3856
+ ...ri
3857
3857
  }, {
3858
- component: si,
3859
- ...li
3858
+ component: li,
3859
+ ...oi
3860
3860
  }, {
3861
- component: ui,
3862
- ...ci
3861
+ component: ci,
3862
+ ...si
3863
3863
  }], Be = () => [{
3864
- component: kt,
3864
+ component: St,
3865
+ ...En
3866
+ }, {
3867
+ component: cn,
3865
3868
  ...Rn
3866
3869
  }, {
3867
3870
  component: un,
3868
3871
  ...Pn
3869
3872
  }, {
3870
- component: dn,
3871
- ...Vn
3873
+ component: fn,
3874
+ ...An
3872
3875
  }, {
3873
3876
  component: hn,
3874
- ...Bn
3877
+ ...$n
3875
3878
  }, {
3876
- component: gn,
3879
+ component: Dn,
3877
3880
  ...Wn
3878
3881
  }, {
3879
- component: Fn,
3880
- ...Dn
3881
- }, {
3882
- component: Di,
3883
- ...Ln
3882
+ component: Wi,
3883
+ ...Fn
3884
3884
  }, {
3885
- component: Hn,
3886
- ...Un
3885
+ component: Un,
3886
+ ..._n
3887
3887
  }, ...nt.includes(F) ? [{
3888
- component: $n,
3889
- ...Nn
3888
+ component: Nn,
3889
+ ...Bn
3890
3890
  }] : [], {
3891
- component: _n,
3892
- ...On
3891
+ component: On,
3892
+ ...Ln
3893
3893
  }, {
3894
- component: En,
3895
- ...wn
3896
- }, ...di()], mi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3894
+ component: wn,
3895
+ ...In
3896
+ }, ...ui()], di = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3897
3897
  function getAndSetVariantId() {
3898
3898
  function setCookie(name, value, days) {
3899
3899
  let expires = '';
@@ -3952,7 +3952,7 @@ const di = () => [{
3952
3952
  }).join('');
3953
3953
  styleEl.innerHTML = newStyleStr;
3954
3954
  }
3955
- }`, fi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3955
+ }`, mi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3956
3956
  if (!navigator.cookieEnabled) {
3957
3957
  return;
3958
3958
  }
@@ -3990,16 +3990,16 @@ const di = () => [{
3990
3990
  ...t,
3991
3991
  testVariationId: t.id,
3992
3992
  id: e == null ? void 0 : e.id
3993
- })), hi = ({
3993
+ })), fi = ({
3994
3994
  canTrack: e,
3995
3995
  content: t
3996
- }) => !(!(ae(t).length > 0) || !e || K()), gi = (e) => e === "react" || e === "reactNative", bi = F === "angular", ot = gi(F), yi = () => `
3997
- window.${rt} = ${mi}
3998
- window.${at} = ${fi}
3999
- `, pi = (e, t) => `
3996
+ }) => !(!(ae(t).length > 0) || !e || K()), hi = (e) => e === "react" || e === "reactNative", gi = F === "angular", ot = hi(F), bi = () => `
3997
+ window.${rt} = ${di}
3998
+ window.${at} = ${mi}
3999
+ `, yi = (e, t) => `
4000
4000
  window.${rt}(
4001
- "${t}",${JSON.stringify(e)}, ${ot}, ${bi}
4002
- )`, vi = ({
4001
+ "${t}",${JSON.stringify(e)}, ${ot}, ${gi}
4002
+ )`, pi = ({
4003
4003
  contentId: e,
4004
4004
  variationId: t
4005
4005
  }) => `window.${at}(
@@ -4008,7 +4008,7 @@ const di = () => [{
4008
4008
  function Ne(e) {
4009
4009
  return Math.round(e * 1e3) / 1e3;
4010
4010
  }
4011
- const xi = (e, t, n = !0) => {
4011
+ const vi = (e, t, n = !0) => {
4012
4012
  if (!(e instanceof HTMLElement))
4013
4013
  return null;
4014
4014
  let i = n ? e : e.parentElement;
@@ -4019,7 +4019,7 @@ const xi = (e, t, n = !0) => {
4019
4019
  return i;
4020
4020
  } while (i = i.parentElement);
4021
4021
  return null;
4022
- }, Si = (e) => xi(e, (t) => {
4022
+ }, xi = (e) => vi(e, (t) => {
4023
4023
  const n = t.getAttribute("builder-id") || t.id;
4024
4024
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4025
4025
  }), $e = ({
@@ -4031,8 +4031,8 @@ const xi = (e, t, n = !0) => {
4031
4031
  x: o,
4032
4032
  y: a
4033
4033
  };
4034
- }, ki = (e) => {
4035
- const t = e.target, n = t && Si(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4034
+ }, Si = (e) => {
4035
+ const t = e.target, n = t && xi(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4036
4036
  return {
4037
4037
  targetBuilderElement: i || void 0,
4038
4038
  metadata: {
@@ -4047,7 +4047,7 @@ const xi = (e, t, n = !0) => {
4047
4047
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
4048
4048
  }
4049
4049
  };
4050
- }, Ci = ["svelte", "qwik", "vue"], We = () => Ci.includes(F) && (O() || le()), Ti = (e) => {
4050
+ }, ki = ["svelte", "qwik", "vue"], We = () => ki.includes(F) && (O() || le()), Ci = (e) => {
4051
4051
  var o, a;
4052
4052
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (o = e == null ? void 0 : e.files) == null ? void 0 : o.regular;
4053
4053
  let r = "";
@@ -4073,15 +4073,15 @@ font-weight: ${l};
4073
4073
  `.trim());
4074
4074
  }
4075
4075
  return r;
4076
- }, Ii = ({
4076
+ }, Ti = ({
4077
4077
  customFonts: e
4078
4078
  }) => {
4079
4079
  var t;
4080
- return ((t = e == null ? void 0 : e.map((n) => Ti(n))) == null ? void 0 : t.join(" ")) || "";
4081
- }, wi = ({
4080
+ return ((t = e == null ? void 0 : e.map((n) => Ci(n))) == null ? void 0 : t.join(" ")) || "";
4081
+ }, Ii = ({
4082
4082
  cssCode: e,
4083
4083
  contentId: t
4084
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
4084
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", wi = `
4085
4085
  .builder-button {
4086
4086
  all: unset;
4087
4087
  }
@@ -4098,8 +4098,8 @@ font-weight: ${l};
4098
4098
  text-align: inherit;
4099
4099
  font-family: inherit;
4100
4100
  }
4101
- `, Ri = (e) => e ? "" : Ei, Pi = (e) => `variant-${e}`;
4102
- function Vi(e) {
4101
+ `, Ei = (e) => e ? "" : wi, Ri = (e) => `variant-${e}`;
4102
+ function Pi(e) {
4103
4103
  var S, k, A;
4104
4104
  const t = H(null);
4105
4105
  C(() => !1);
@@ -4144,7 +4144,7 @@ function Vi(e) {
4144
4144
  () => e.contentWrapper || "div"
4145
4145
  );
4146
4146
  function l(T) {
4147
- return dt({
4147
+ return ut({
4148
4148
  model: e.model,
4149
4149
  trustedHosts: e.trustedHosts,
4150
4150
  callbacks: {
@@ -4181,7 +4181,7 @@ function Vi(e) {
4181
4181
  contentId: w,
4182
4182
  apiKey: e.apiKey,
4183
4183
  variationId: x !== w ? x : void 0,
4184
- ...ki(T),
4184
+ ...Si(T),
4185
4185
  unique: !m
4186
4186
  });
4187
4187
  }
@@ -4236,7 +4236,7 @@ function Vi(e) {
4236
4236
  return y.current || (h(), p(), y.current = !0), V(() => {
4237
4237
  var T, I, g, x, w;
4238
4238
  if (K()) {
4239
- O() && !e.isNestedRender && (window.addEventListener("message", l), lt(), st({
4239
+ O() && !e.isNestedRender && (window.addEventListener("message", l), lt({
4240
4240
  ...e.locale ? {
4241
4241
  locale: e.locale
4242
4242
  } : {},
@@ -4253,14 +4253,14 @@ function Vi(e) {
4253
4253
  ).forEach((P) => {
4254
4254
  var U, E;
4255
4255
  if (!((U = P.models) != null && U.length) || P.models.includes(e.model)) {
4256
- const B = ct(P);
4256
+ const B = st(P);
4257
4257
  (E = window.parent) == null || E.postMessage(B, "*");
4258
4258
  }
4259
4259
  }), window.addEventListener(
4260
4260
  "builder:component:stateChangeListenerActivated",
4261
4261
  p
4262
4262
  ));
4263
- const D = e.builderContextSignal.content && X(e.canTrack), L = ut({
4263
+ const D = e.builderContextSignal.content && X(e.canTrack), L = ct({
4264
4264
  name: `builder.tests.${(I = e.builderContextSignal.content) == null ? void 0 : I.id}`,
4265
4265
  canTrack: !0
4266
4266
  }), W = (g = e.builderContextSignal.content) == null ? void 0 : g.testVariationId;
@@ -4315,7 +4315,7 @@ function Vi(e) {
4315
4315
  onClick: (T) => d(T),
4316
4316
  "builder-content-id": (S = e.builderContextSignal.content) == null ? void 0 : S.id,
4317
4317
  "builder-model": e.model,
4318
- className: Pi(
4318
+ className: Ri(
4319
4319
  ((k = e.content) == null ? void 0 : k.testVariationId) || ((A = e.content) == null ? void 0 : A.id)
4320
4320
  ),
4321
4321
  style: {
@@ -4327,17 +4327,17 @@ function Vi(e) {
4327
4327
  }
4328
4328
  ) : null });
4329
4329
  }
4330
- function Ai(e) {
4330
+ function Vi(e) {
4331
4331
  const [t, n] = C(
4332
4332
  () => `
4333
- ${wi({
4333
+ ${Ii({
4334
4334
  cssCode: e.cssCode,
4335
4335
  contentId: e.contentId
4336
4336
  })}
4337
- ${Ii({
4337
+ ${Ti({
4338
4338
  customFonts: e.customFonts
4339
4339
  })}
4340
- ${Ri(e.isNestedRender)}
4340
+ ${Ei(e.isNestedRender)}
4341
4341
  `.trim()
4342
4342
  );
4343
4343
  return /* @__PURE__ */ s(
@@ -4349,7 +4349,7 @@ ${Ri(e.isNestedRender)}
4349
4349
  }
4350
4350
  );
4351
4351
  }
4352
- const Bi = ({
4352
+ const Ai = ({
4353
4353
  content: e,
4354
4354
  data: t,
4355
4355
  locale: n
@@ -4366,7 +4366,7 @@ const Bi = ({
4366
4366
  locale: n
4367
4367
  } : {}
4368
4368
  };
4369
- }, Ni = ({
4369
+ }, Bi = ({
4370
4370
  content: e,
4371
4371
  data: t
4372
4372
  }) => e ? {
@@ -4382,7 +4382,7 @@ function De(e) {
4382
4382
  const [t, n] = C(
4383
4383
  () => {
4384
4384
  var S, k;
4385
- return vi({
4385
+ return pi({
4386
4386
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4387
4387
  variationId: (S = e.content) == null ? void 0 : S.testVariationId,
4388
4388
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4411,12 +4411,12 @@ function De(e) {
4411
4411
  {}
4412
4412
  )
4413
4413
  ), [a, l] = C(() => ({
4414
- content: Ni({
4414
+ content: Bi({
4415
4415
  content: e.content,
4416
4416
  data: e.data
4417
4417
  }),
4418
4418
  localState: void 0,
4419
- rootState: Bi({
4419
+ rootState: Ai({
4420
4420
  content: e.content,
4421
4421
  data: e.data,
4422
4422
  locale: e.locale
@@ -4465,7 +4465,7 @@ function De(e) {
4465
4465
  registeredComponents: r
4466
4466
  },
4467
4467
  children: /* @__PURE__ */ $(
4468
- Vi,
4468
+ Pi,
4469
4469
  {
4470
4470
  apiHost: e.apiHost,
4471
4471
  nonce: e.nonce,
@@ -4494,7 +4494,7 @@ function De(e) {
4494
4494
  }
4495
4495
  ) : null,
4496
4496
  /* @__PURE__ */ s(
4497
- Ai,
4497
+ Vi,
4498
4498
  {
4499
4499
  nonce: e.nonce || "",
4500
4500
  isNestedRender: e.isNestedRender,
@@ -4518,17 +4518,17 @@ function De(e) {
4518
4518
  }
4519
4519
  );
4520
4520
  }
4521
- function $i(e) {
4521
+ function Ni(e) {
4522
4522
  var a;
4523
4523
  const [t, n] = C(
4524
- () => hi({
4524
+ () => fi({
4525
4525
  canTrack: X(e.canTrack),
4526
4526
  content: e.content
4527
4527
  })
4528
4528
  );
4529
4529
  function i() {
4530
4530
  var l;
4531
- return pi(
4531
+ return yi(
4532
4532
  ae(e.content).map((c) => ({
4533
4533
  id: c.testVariationId,
4534
4534
  testRatio: c.testRatio
@@ -4544,7 +4544,7 @@ function $i(e) {
4544
4544
  return t ? {
4545
4545
  ...e.content,
4546
4546
  testVariationId: (l = e.content) == null ? void 0 : l.id
4547
- } : mt({
4547
+ } : dt({
4548
4548
  item: e.content,
4549
4549
  canTrack: X(e.canTrack)
4550
4550
  });
@@ -4556,7 +4556,7 @@ function $i(e) {
4556
4556
  q,
4557
4557
  {
4558
4558
  id: "builderio-init-variants-fns",
4559
- scriptStr: yi(),
4559
+ scriptStr: bi(),
4560
4560
  nonce: e.nonce || ""
4561
4561
  }
4562
4562
  ),
@@ -4565,7 +4565,7 @@ function $i(e) {
4565
4565
  {
4566
4566
  id: "builderio-init-personalization-variants-fns",
4567
4567
  nonce: e.nonce || "",
4568
- scriptStr: Cn()
4568
+ scriptStr: kn()
4569
4569
  }
4570
4570
  ) : null
4571
4571
  ] }) : null,
@@ -4642,7 +4642,7 @@ function $i(e) {
4642
4642
  )
4643
4643
  ] });
4644
4644
  }
4645
- const Wi = async ({
4645
+ const $i = async ({
4646
4646
  builderContextValue: e,
4647
4647
  symbol: t
4648
4648
  }) => {
@@ -4661,7 +4661,7 @@ const Wi = async ({
4661
4661
  Z.error("Could not fetch symbol content: ", n);
4662
4662
  });
4663
4663
  };
4664
- function Di(e) {
4664
+ function Wi(e) {
4665
4665
  var u, f, b, m, v;
4666
4666
  function t() {
4667
4667
  return "div";
@@ -4687,7 +4687,7 @@ function Di(e) {
4687
4687
  });
4688
4688
  function c() {
4689
4689
  var d;
4690
- r && a === ((d = e.symbol) == null ? void 0 : d.entry) || Wi({
4690
+ r && a === ((d = e.symbol) == null ? void 0 : d.entry) || $i({
4691
4691
  symbol: e.symbol,
4692
4692
  builderContextValue: e.builderContext
4693
4693
  }).then((h) => {
@@ -4699,7 +4699,7 @@ function Di(e) {
4699
4699
  }, []), V(() => {
4700
4700
  c();
4701
4701
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ s(
4702
- $i,
4702
+ Ni,
4703
4703
  {
4704
4704
  nonce: e.builderContext.nonce,
4705
4705
  isNestedRender: !0,
@@ -4727,14 +4727,14 @@ function Di(e) {
4727
4727
  export {
4728
4728
  _ as Blocks,
4729
4729
  ve as BuilderContext,
4730
- kt as Button,
4731
- un as Columns,
4732
- $i as Content,
4733
- dn as Fragment,
4734
- hn as Image,
4735
- gn as Section,
4736
- Di as Symbol,
4737
- Hn as Text,
4738
- ui as Video,
4739
- qi as setClientUserAttributes
4730
+ St as Button,
4731
+ cn as Columns,
4732
+ Ni as Content,
4733
+ un as Fragment,
4734
+ fn as Image,
4735
+ hn as Section,
4736
+ Wi as Symbol,
4737
+ Un as Text,
4738
+ ci as Video,
4739
+ Mi as setClientUserAttributes
4740
4740
  };