@builder.io/sdk-react 3.0.6 → 3.0.7

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 (66) hide show
  1. package/lib/browser/blocks-exports.cjs +16 -16
  2. package/lib/browser/blocks-exports.mjs +540 -515
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-df5e89e5.js → server-entry-20c79b90.js} +28 -27
  6. package/lib/browser/{server-entry-a1c64831.cjs → server-entry-762e29e0.cjs} +2 -2
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-fbfb71f4.cjs → accordion-071aa4f9.cjs} +1 -1
  10. package/lib/edge/{accordion-289f3464.js → accordion-22c2c037.js} +1 -1
  11. package/lib/edge/{blocks-582a7fd7.js → blocks-2989e629.js} +1305 -1280
  12. package/lib/edge/blocks-d3f37507.cjs +30 -0
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-9b112da6.js → button-2b5270c4.js} +2 -2
  16. package/lib/edge/{button-da357144.cjs → button-a2cc6565.cjs} +1 -1
  17. package/lib/edge/{columns-aba58dda.js → columns-21b9be25.js} +3 -3
  18. package/lib/edge/{columns-a211113f.cjs → columns-b7240242.cjs} +1 -1
  19. package/lib/edge/{content-variants-08f4371c.js → content-variants-88f4dc64.js} +10 -10
  20. package/lib/edge/{content-variants-4b5899b5.cjs → content-variants-fdd5ee50.cjs} +1 -1
  21. package/lib/edge/{form-e3a3afd4.cjs → form-77687883.cjs} +1 -1
  22. package/lib/edge/{form-4d4553c2.js → form-d29f3cc0.js} +3 -3
  23. package/lib/edge/{get-class-prop-name-38c2baca.js → get-class-prop-name-dbc5d99c.js} +1 -1
  24. package/lib/edge/{get-class-prop-name-fbe244e3.cjs → get-class-prop-name-f597545d.cjs} +1 -1
  25. package/lib/edge/{img-8d549af8.cjs → img-03f9002b.cjs} +1 -1
  26. package/lib/edge/{img-c49066fa.js → img-fed70928.js} +1 -1
  27. package/lib/edge/index.cjs +1 -1
  28. package/lib/edge/index.mjs +1 -1
  29. package/lib/edge/{input-e7301f4e.js → input-083c3c35.js} +1 -1
  30. package/lib/edge/{input-1ae3842f.cjs → input-1e548fd0.cjs} +1 -1
  31. package/lib/edge/{personalization-container-035be6ba.js → personalization-container-bcff3433.js} +4 -4
  32. package/lib/edge/{personalization-container-25cd8b5e.cjs → personalization-container-dde10a09.cjs} +1 -1
  33. package/lib/edge/{select-64fdaa79.cjs → select-21e33225.cjs} +1 -1
  34. package/lib/edge/{select-4187b229.js → select-9f22c2ba.js} +1 -1
  35. package/lib/edge/{server-entry-61fca4f7.js → server-entry-43a6f5be.js} +28 -27
  36. package/lib/edge/{server-entry-2ef4e66a.cjs → server-entry-ac35a5c8.cjs} +2 -2
  37. package/lib/edge/server-entry.cjs +1 -1
  38. package/lib/edge/server-entry.mjs +1 -1
  39. package/lib/edge/{slot-995f63c2.cjs → slot-a9f5d6c0.cjs} +1 -1
  40. package/lib/edge/{slot-d6c46a42.js → slot-ca171e8c.js} +3 -3
  41. package/lib/edge/{symbol-623dc717.js → symbol-8f6ff028.js} +2 -2
  42. package/lib/edge/{symbol-498daa97.cjs → symbol-a2015c7e.cjs} +1 -1
  43. package/lib/edge/{tabs-12ba41b1.js → tabs-6b67fca2.js} +3 -3
  44. package/lib/edge/{tabs-d39499cd.cjs → tabs-880c9088.cjs} +1 -1
  45. package/lib/node/blocks-exports.cjs +14 -14
  46. package/lib/node/blocks-exports.mjs +357 -332
  47. package/lib/node/index.cjs +1 -1
  48. package/lib/node/index.mjs +3 -3
  49. package/lib/node/init.cjs +1 -1
  50. package/lib/node/init.mjs +3 -3
  51. package/lib/node/{server-entry-98ebff74.cjs → server-entry-0b433783.cjs} +2 -2
  52. package/lib/node/{server-entry-27d9d31e.js → server-entry-6626257d.js} +28 -27
  53. package/lib/node/server-entry.cjs +1 -1
  54. package/lib/node/server-entry.mjs +1 -1
  55. package/lib/node/{setIvm-784fe19f.cjs → setIvm-49abbae6.cjs} +1 -1
  56. package/lib/node/{setIvm-2dde9074.js → setIvm-5cb298bf.js} +1 -1
  57. package/lib/node/setIvm.cjs +1 -1
  58. package/lib/node/setIvm.mjs +2 -2
  59. package/lib/node/{should-force-browser-runtime-in-node-cd6baa94.cjs → should-force-browser-runtime-in-node-11e8399e.cjs} +1 -1
  60. package/lib/node/{should-force-browser-runtime-in-node-80f081c8.js → should-force-browser-runtime-in-node-94f1a5b3.js} +1 -1
  61. package/package.json +1 -1
  62. package/types/constants/device-sizes.d.ts +3 -2
  63. package/types/constants/sdk-version.d.ts +1 -1
  64. package/types/types/builder-block.d.ts +0 -1
  65. package/types/types/builder-content.d.ts +1 -0
  66. package/lib/edge/blocks-459a090b.cjs +0 -30
@@ -1,14 +1,14 @@
1
1
  "use client";
2
- import { TARGET as O, isEditing as W, isBrowser as $, getUserAttributes as Ke, checkIsDefined as K, logger as Q, isPreviewing as Y, userAttributesService as de, getDefaultCanTrack as _, logFetch as Ie, registerInsertMenu as Je, setupBrowserForEditing as Ge, createRegisterComponentMessage as Qe, _track as me, fetchOneEntry as Ee, createEditorListener as Ye, serializeIncludingFunctions as fe, handleABTestingSync as Xe } from "./server-entry-df5e89e5.js";
3
- import { setClientUserAttributes as Si } from "./server-entry-df5e89e5.js";
2
+ import { TARGET as O, isEditing as W, isBrowser as $, getUserAttributes as Ke, checkIsDefined as K, logger as Q, isPreviewing as Y, userAttributesService as me, getDefaultCanTrack as q, logFetch as Ie, registerInsertMenu as Je, setupBrowserForEditing as Ge, createRegisterComponentMessage as Qe, _track as fe, fetchOneEntry as Ee, createEditorListener as Ye, serializeIncludingFunctions as he, handleABTestingSync as Xe } from "./server-entry-20c79b90.js";
3
+ import { setClientUserAttributes as Si } from "./server-entry-20c79b90.js";
4
4
  import { jsx as s, Fragment as R, jsxs as V } from "react/jsx-runtime";
5
5
  import * as Ze from "react";
6
- import { createContext as Re, useEffect as N, useState as E, useRef as F, useContext as he, createElement as Pe } from "react";
6
+ import { createContext as Re, useEffect as N, useState as E, useRef as F, useContext as ge, createElement as Pe } from "react";
7
7
  const et = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), tt = (e) => typeof e == "string" && et.has(e.toLowerCase());
8
- function re(e) {
8
+ function le(e) {
9
9
  return /* @__PURE__ */ s(R, { children: tt(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 }) }) });
10
10
  }
11
- const q = () => {
11
+ const M = () => {
12
12
  switch (O) {
13
13
  case "react":
14
14
  case "reactNative":
@@ -26,7 +26,7 @@ function nt(e) {
26
26
  function t() {
27
27
  return {
28
28
  ...e.attributes,
29
- [q()]: `${e.link ? "" : "builder-button"} ${e.attributes[q()] || ""}`,
29
+ [M()]: `${e.link ? "" : "builder-button"} ${e.attributes[M()] || ""}`,
30
30
  ...e.link ? {
31
31
  href: e.link,
32
32
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -37,7 +37,7 @@ function nt(e) {
37
37
  };
38
38
  }
39
39
  return /* @__PURE__ */ s(
40
- re,
40
+ le,
41
41
  {
42
42
  attributes: t(),
43
43
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
@@ -46,7 +46,7 @@ function nt(e) {
46
46
  }
47
47
  );
48
48
  }
49
- const le = Re({
49
+ const se = Re({
50
50
  content: null,
51
51
  context: {},
52
52
  localState: void 0,
@@ -62,7 +62,7 @@ const le = Re({
62
62
  nonce: "",
63
63
  model: ""
64
64
  }), Ve = Re({ registeredComponents: {} }), Be = (e, t, n) => {
65
- const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
65
+ const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((a, o) => a != null ? a[o] : a, e);
66
66
  return i === void 0 || i === e ? n : i;
67
67
  }, it = ({
68
68
  builder: e,
@@ -76,12 +76,12 @@ const le = Re({
76
76
  builder: e,
77
77
  context: t,
78
78
  event: n
79
- }), ot = () => ({
79
+ }), at = () => ({
80
80
  isEditing: W(),
81
81
  isBrowser: $(),
82
82
  isServer: !$(),
83
83
  getUserAttributes: () => Ke()
84
- }), at = (e, {
84
+ }), ot = (e, {
85
85
  isExpression: t = !0
86
86
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
87
87
  function Ne({
@@ -90,32 +90,32 @@ function Ne({
90
90
  rootSetState: n
91
91
  }) {
92
92
  return new Proxy(e, {
93
- get: (i, o) => {
94
- if (t && o in t)
95
- return t[o];
96
- const a = i[o];
97
- return typeof a == "object" && a !== null ? Ne({
98
- rootState: a,
93
+ get: (i, a) => {
94
+ if (t && a in t)
95
+ return t[a];
96
+ const o = i[a];
97
+ return typeof o == "object" && o !== null ? Ne({
98
+ rootState: o,
99
99
  localState: void 0,
100
100
  rootSetState: n ? (r) => {
101
- i[o] = r, n(i);
101
+ i[a] = r, n(i);
102
102
  } : void 0
103
- }) : a;
103
+ }) : o;
104
104
  },
105
- set: (i, o, a) => {
106
- if (t && o in t)
105
+ set: (i, a, o) => {
106
+ if (t && a in t)
107
107
  throw new Error("Writing to local state is not allowed as it is read-only.");
108
- return i[o] = a, n == null || n(i), !0;
108
+ return i[a] = o, n == null || n(i), !0;
109
109
  }
110
110
  });
111
111
  }
112
- const ge = ({
112
+ const be = ({
113
113
  code: e,
114
114
  builder: t,
115
115
  context: n,
116
116
  event: i,
117
- localState: o,
118
- rootSetState: a,
117
+ localState: a,
118
+ rootSetState: o,
119
119
  rootState: r
120
120
  }) => {
121
121
  const l = it({
@@ -124,8 +124,8 @@ const ge = ({
124
124
  event: i,
125
125
  state: Ne({
126
126
  rootState: r,
127
- localState: o,
128
- rootSetState: a
127
+ localState: a,
128
+ rootSetState: o
129
129
  })
130
130
  });
131
131
  return new Function(...l.map(([u]) => u), e)(...l.map(([, u]) => u));
@@ -137,24 +137,24 @@ function rt() {
137
137
  const lt = ({
138
138
  shouldLogWarning: e
139
139
  }) => {
140
- var o;
140
+ var a;
141
141
  if (!rt())
142
142
  return !1;
143
- const t = process.arch === "arm64", n = process.version.startsWith("v20"), i = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
143
+ const t = process.arch === "arm64", n = process.version.startsWith("v20"), i = (a = process.env.NODE_OPTIONS) == null ? void 0 : a.includes("--no-node-snapshot");
144
144
  return t && n && !i ? (e && Q.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
145
145
  }, st = (e) => ($() || lt({
146
146
  shouldLogWarning: !0
147
- }), ge(e)), ct = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, ut = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, dt = (e) => {
148
- var t, n, i, o, a, r;
149
- return ((i = (n = (t = ct.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((r = (a = (o = ut.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : a.getPath) == null ? void 0 : r.slice(1));
147
+ }), be(e)), ct = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, ut = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, dt = (e) => {
148
+ var t, n, i, a, o, r;
149
+ return ((i = (n = (t = ct.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((r = (o = (a = ut.exec(e.trim())) == null ? void 0 : a.groups) == null ? void 0 : o.getPath) == null ? void 0 : r.slice(1));
150
150
  };
151
151
  function L({
152
152
  code: e,
153
153
  context: t,
154
154
  localState: n,
155
155
  rootState: i,
156
- rootSetState: o,
157
- event: a,
156
+ rootSetState: a,
157
+ event: o,
158
158
  isExpression: r = !0
159
159
  }) {
160
160
  if (e.trim() === "")
@@ -166,13 +166,13 @@ function L({
166
166
  ...n
167
167
  }, l);
168
168
  const u = {
169
- code: at(e, {
169
+ code: ot(e, {
170
170
  isExpression: r
171
171
  }),
172
- builder: ot(),
172
+ builder: at(),
173
173
  context: t,
174
- event: a,
175
- rootSetState: o,
174
+ event: o,
175
+ rootSetState: a,
176
176
  rootState: i,
177
177
  localState: n
178
178
  };
@@ -198,8 +198,8 @@ const ft = (e, t) => {
198
198
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
199
199
  return {
200
200
  ...e.component.options,
201
- text: e.component.options.text.replace(/{{([^}]+)}}/g, (o, a) => L({
202
- code: a,
201
+ text: e.component.options.text.replace(/{{([^}]+)}}/g, (a, o) => L({
202
+ code: o,
203
203
  context: t,
204
204
  localState: t.localState,
205
205
  rootState: t.rootState,
@@ -213,21 +213,21 @@ function ht(e, ...t) {
213
213
  delete n[i];
214
214
  return n;
215
215
  }
216
- function J(e, t, n = null, i = null, o = /* @__PURE__ */ new WeakSet()) {
216
+ function J(e, t, n = null, i = null, a = /* @__PURE__ */ new WeakSet()) {
217
217
  if (e == null || typeof e != "object") {
218
- t(e, (a) => {
219
- n !== null && i !== null && (n[i] = a);
218
+ t(e, (o) => {
219
+ n !== null && i !== null && (n[i] = o);
220
220
  });
221
221
  return;
222
222
  }
223
- o.has(e) || (o.add(e), Array.isArray(e) ? e.forEach((a, r) => {
224
- t(a, (u) => {
223
+ a.has(e) || (a.add(e), Array.isArray(e) ? e.forEach((o, r) => {
224
+ t(o, (u) => {
225
225
  e[r] = u;
226
- }), J(a, t, e, r, o);
227
- }) : Object.entries(e).forEach(([a, r]) => {
226
+ }), J(o, t, e, r, a);
227
+ }) : Object.entries(e).forEach(([o, r]) => {
228
228
  t(r, (u) => {
229
- e[a] = u;
230
- }), J(r, t, e, a, o);
229
+ e[o] = u;
230
+ }), J(r, t, e, o, a);
231
231
  }));
232
232
  }
233
233
  function Ae(e) {
@@ -246,35 +246,35 @@ function gt(e) {
246
246
  }
247
247
  function bt(e, t) {
248
248
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (J(e, (n, i) => {
249
- var o;
250
- Ae(n) && i((o = n[t]) != null ? o : void 0);
249
+ var a;
250
+ Ae(n) && i((a = n[t]) != null ? a : void 0);
251
251
  }), e);
252
252
  }
253
253
  function pt(e, t) {
254
254
  var n, i;
255
255
  return (n = e.component) != null && n.options && gt((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;
256
256
  }
257
- const se = (e) => JSON.parse(JSON.stringify(e)), We = (e, t, n) => {
257
+ const ce = (e) => JSON.parse(JSON.stringify(e)), We = (e, t, n) => {
258
258
  if (Object(e) !== e)
259
259
  return e;
260
260
  const i = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
261
- return i.slice(0, -1).reduce((o, a, r) => Object(o[a]) === o[a] ? o[a] : o[a] = Math.abs(Number(i[r + 1])) >> 0 === +i[r + 1] ? [] : {}, e)[i[i.length - 1]] = n, e;
261
+ return i.slice(0, -1).reduce((a, o, r) => Object(a[o]) === a[o] ? a[o] : a[o] = Math.abs(Number(i[r + 1])) >> 0 === +i[r + 1] ? [] : {}, e)[i[i.length - 1]] = n, e;
262
262
  };
263
- function ae(e) {
263
+ function re(e) {
264
264
  if (e === null || typeof e != "object")
265
265
  return e;
266
266
  if (Array.isArray(e))
267
- return e.map((n) => ae(n));
267
+ return e.map((n) => re(n));
268
268
  if (e["@type"] === "@builder.io/sdk:Element")
269
269
  return e;
270
270
  const t = {};
271
271
  for (const n in e)
272
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ae(e[n]));
272
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = re(e[n]));
273
273
  return t;
274
274
  }
275
275
  const yt = ["svelte", "vue", "angular", "qwik", "solid"].includes(O), vt = (e) => {
276
276
  if (yt) {
277
- const t = se(e);
277
+ const t = ce(e);
278
278
  return {
279
279
  ...t,
280
280
  properties: {
@@ -285,7 +285,7 @@ const yt = ["svelte", "vue", "angular", "qwik", "solid"].includes(O), vt = (e) =
285
285
  }
286
286
  };
287
287
  } else {
288
- const t = ae(ht(e, "children", "meta"));
288
+ const t = re(ht(e, "children", "meta"));
289
289
  return {
290
290
  ...t,
291
291
  properties: {
@@ -303,59 +303,59 @@ const yt = ["svelte", "vue", "angular", "qwik", "solid"].includes(O), vt = (e) =
303
303
  context: t,
304
304
  localState: n,
305
305
  rootState: i,
306
- rootSetState: o
306
+ rootSetState: a
307
307
  }) => {
308
308
  if (!e.bindings)
309
309
  return e;
310
- const a = vt(e);
310
+ const o = vt(e);
311
311
  for (const r in e.bindings) {
312
312
  const l = e.bindings[r], u = L({
313
313
  code: l,
314
314
  localState: n,
315
315
  rootState: i,
316
- rootSetState: o,
316
+ rootSetState: a,
317
317
  context: t
318
318
  });
319
- We(a, r, u);
319
+ We(o, r, u);
320
320
  }
321
- return a;
321
+ return o;
322
322
  };
323
323
  function St({
324
324
  block: e,
325
325
  context: t,
326
326
  localState: n,
327
327
  rootState: i,
328
- rootSetState: o
328
+ rootSetState: a
329
329
  }) {
330
- let a = pt(e, i.locale);
331
- return a = a, xt({
332
- block: a,
330
+ let o = pt(e, i.locale);
331
+ return o = o, xt({
332
+ block: o,
333
333
  localState: n,
334
334
  rootState: i,
335
- rootSetState: o,
335
+ rootSetState: a,
336
336
  context: t
337
337
  });
338
338
  }
339
339
  const X = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
340
340
  function kt(e, t, n = {}) {
341
- let i, o, a, r = null, l = 0;
341
+ let i, a, o, r = null, l = 0;
342
342
  const u = function() {
343
- l = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
343
+ l = n.leading === !1 ? 0 : Date.now(), r = null, o = e.apply(i, a), r || (i = a = null);
344
344
  };
345
345
  return function() {
346
346
  const c = Date.now();
347
347
  !l && n.leading === !1 && (l = c);
348
348
  const h = t - (c - l);
349
- return i = this, o = arguments, h <= 0 || h > t ? (r && (clearTimeout(r), r = null), l = c, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(u, h)), a;
349
+ return i = this, a = arguments, h <= 0 || h > t ? (r && (clearTimeout(r), r = null), l = c, o = e.apply(i, a), r || (i = a = null)) : !r && n.trailing !== !1 && (r = setTimeout(u, h)), o;
350
350
  };
351
351
  }
352
- function U(e, ...t) {
352
+ function _(e, ...t) {
353
353
  const n = Object(e);
354
354
  for (let i = 1; i < arguments.length; i++) {
355
- const o = arguments[i];
356
- if (o != null)
357
- for (const a in o)
358
- Object.prototype.hasOwnProperty.call(o, a) && (n[a] = o[a]);
355
+ const a = arguments[i];
356
+ if (a != null)
357
+ for (const o in a)
358
+ Object.prototype.hasOwnProperty.call(a, o) && (n[o] = a[o]);
359
359
  }
360
360
  return n;
361
361
  }
@@ -374,7 +374,7 @@ function De(e) {
374
374
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
375
375
  }
376
376
  function $e(e, t) {
377
- const n = Tt(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
377
+ const n = Tt(e), i = getComputedStyle(t), a = e.steps[0].styles, o = e.steps[e.steps.length - 1].styles, r = [a, o];
378
378
  for (const l of r)
379
379
  for (const u of n)
380
380
  u in l || (l[u] = i[u]);
@@ -393,8 +393,8 @@ function Fe(e) {
393
393
  return;
394
394
  }
395
395
  Array.from(t).forEach((n) => {
396
- $e(e, n), n.style.transition = "none", n.style.transitionDelay = "0", U(n.style, e.steps[0].styles), setTimeout(() => {
397
- n.style.transition = `all ${e.duration}s ${X(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), U(n.style, e.steps[1].styles), setTimeout(() => {
396
+ $e(e, n), n.style.transition = "none", n.style.transitionDelay = "0", _(n.style, e.steps[0].styles), setTimeout(() => {
397
+ n.style.transition = `all ${e.duration}s ${X(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), _(n.style, e.steps[1].styles), setTimeout(() => {
398
398
  n.style.transition = "", n.style.transitionDelay = "";
399
399
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
400
400
  });
@@ -408,38 +408,38 @@ function wt(e) {
408
408
  }
409
409
  Array.from(t).forEach((n) => {
410
410
  $e(e, n);
411
- let i = !1, o = !1;
412
- function a() {
413
- !i && l(n) ? (i = !0, o = !0, setTimeout(() => {
414
- U(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
415
- o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
411
+ let i = !1, a = !1;
412
+ function o() {
413
+ !i && l(n) ? (i = !0, a = !0, setTimeout(() => {
414
+ _(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
415
+ a = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
416
416
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
417
- })) : e.repeat && i && !o && !l(n) && (i = !1, U(n.style, e.steps[0].styles));
417
+ })) : e.repeat && i && !a && !l(n) && (i = !1, _(n.style, e.steps[0].styles));
418
418
  }
419
- const r = kt(a, 200, {
419
+ const r = kt(o, 200, {
420
420
  leading: !1
421
421
  });
422
422
  function l(h) {
423
- const g = h.getBoundingClientRect(), f = window.innerHeight, d = (e.thresholdPercent || 0) / 100 * f;
424
- return g.bottom > d && g.top < f - d;
423
+ const g = h.getBoundingClientRect(), d = window.innerHeight, f = (e.thresholdPercent || 0) / 100 * d;
424
+ return g.bottom > f && g.top < d - f;
425
425
  }
426
426
  const u = e.steps[0].styles;
427
427
  function c() {
428
- U(n.style, u);
428
+ _(n.style, u);
429
429
  }
430
430
  c(), setTimeout(() => {
431
431
  n.style.transition = `all ${e.duration}s ${X(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
432
432
  }), document.addEventListener("scroll", r, {
433
433
  capture: !0,
434
434
  passive: !0
435
- }), a();
435
+ }), o();
436
436
  });
437
437
  }
438
438
  const Oe = (e) => Object.entries(e).map(([n, i]) => {
439
439
  if (typeof i == "string")
440
440
  return `${X(n)}: ${i};`;
441
441
  }).filter(K), It = (e) => Oe(e).join(`
442
- `), j = ({
442
+ `), U = ({
443
443
  mediaQuery: e,
444
444
  className: t,
445
445
  styles: n
@@ -483,18 +483,18 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
483
483
  registeredComponents: t,
484
484
  model: n
485
485
  }) => {
486
- var a;
487
- const i = (a = e.component) == null ? void 0 : a.name;
486
+ var o;
487
+ const i = (o = e.component) == null ? void 0 : o.name;
488
488
  if (!i)
489
489
  return null;
490
- const o = t[i];
491
- if (!o || Ue(o, n)) {
490
+ const a = t[i];
491
+ if (!a || Ue(a, n)) {
492
492
  console.warn(`
493
493
  Could not find a registered component named "${i}".
494
494
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
495
495
  return;
496
496
  } else
497
- return o;
497
+ return a;
498
498
  }, Vt = ({
499
499
  block: e,
500
500
  context: t
@@ -505,17 +505,17 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
505
505
  } = e;
506
506
  if (!(n != null && n.collection))
507
507
  return;
508
- const o = L({
508
+ const a = L({
509
509
  code: n.collection,
510
510
  localState: t.localState,
511
511
  rootState: t.rootState,
512
512
  rootSetState: t.rootSetState,
513
513
  context: t.context
514
514
  });
515
- if (!Array.isArray(o))
515
+ if (!Array.isArray(a))
516
516
  return;
517
- const a = n.collection.split(".").pop(), r = n.itemName || (a ? a + "Item" : "item");
518
- return o.map((u, c) => ({
517
+ const o = n.collection.split(".").pop(), r = n.itemName || (o ? o + "Item" : "item");
518
+ return a.map((u, c) => ({
519
519
  context: {
520
520
  ...t,
521
521
  localState: {
@@ -536,7 +536,7 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
536
536
  }, Nt = (e, t, n) => {
537
537
  var i;
538
538
  return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
539
- builderComponents: Object.fromEntries(Object.entries(t).filter(([a, r]) => !Ue(r, n)))
539
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([o, r]) => !Ue(r, n)))
540
540
  } : {};
541
541
  }, At = (e, t) => {
542
542
  var n;
@@ -549,8 +549,13 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
549
549
  builderContext: t
550
550
  } : {};
551
551
  }, _e = {
552
+ xsmall: {
553
+ min: 0,
554
+ default: 160,
555
+ max: 320
556
+ },
552
557
  small: {
553
- min: 320,
558
+ min: 321,
554
559
  default: 321,
555
560
  max: 640
556
561
  },
@@ -564,32 +569,44 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
564
569
  default: 991,
565
570
  max: 1200
566
571
  }
567
- }, be = (e, t = _e) => `@media (max-width: ${t[e].max}px)`, qe = ({
568
- small: e,
569
- medium: t
570
- }) => {
571
- const n = se(_e);
572
- if (!e || !t)
573
- return n;
574
- const i = Math.floor(e / 2);
575
- n.small = {
576
- max: e,
577
- min: i,
578
- default: i + 1
579
- };
580
- const o = n.small.max + 1;
581
- n.medium = {
582
- max: t,
572
+ }, ee = (e, t = _e) => `@media (max-width: ${t[e].max}px)`, qe = (e) => {
573
+ const t = ce(_e);
574
+ if (!e)
575
+ return t;
576
+ const {
577
+ xsmall: n,
578
+ small: i,
579
+ medium: a
580
+ } = e;
581
+ if (n) {
582
+ const u = Math.floor(n / 2);
583
+ t.xsmall = {
584
+ max: n,
585
+ min: u,
586
+ default: u + 1
587
+ };
588
+ }
589
+ if (!i || !a)
590
+ return t;
591
+ const o = n ? t.xsmall.max + 1 : Math.floor(i / 2);
592
+ t.small = {
593
+ max: i,
583
594
  min: o,
584
595
  default: o + 1
585
596
  };
586
- const a = n.medium.max + 1;
587
- return n.large = {
597
+ const r = t.small.max + 1;
598
+ t.medium = {
599
+ max: a,
600
+ min: r,
601
+ default: r + 1
602
+ };
603
+ const l = t.medium.max + 1;
604
+ return t.large = {
588
605
  max: 2e3,
589
606
  // TODO: decide upper limit
590
- min: a,
591
- default: a + 1
592
- }, n;
607
+ min: l,
608
+ default: l + 1
609
+ }, t;
593
610
  };
594
611
  function H(e) {
595
612
  return /* @__PURE__ */ s(
@@ -607,49 +624,57 @@ function Dt(e) {
607
624
  return K(i.hide) ? !i.hide : K(i.show) ? i.show : !0;
608
625
  }
609
626
  function n() {
610
- var v, y, x;
611
- const i = e.block, o = i.responsiveStyles, a = e.context.content, r = qe(
612
- ((v = a == null ? void 0 : a.meta) == null ? void 0 : v.breakpoints) || {}
613
- ), l = o == null ? void 0 : o.large, u = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, h = i.id;
614
- if (!h)
627
+ var T, P, I, v, m;
628
+ const i = e.block, a = i.responsiveStyles, o = e.context.content, r = qe(
629
+ ((T = o == null ? void 0 : o.meta) == null ? void 0 : T.breakpoints) || {}
630
+ ), l = !!((I = (P = o == null ? void 0 : o.meta) == null ? void 0 : P.breakpoints) != null && I.xsmall), u = a == null ? void 0 : a.large, c = a == null ? void 0 : a.medium, h = a == null ? void 0 : a.small, g = a == null ? void 0 : a.xsmall, d = i.id;
631
+ if (!d)
615
632
  return "";
616
- const g = l ? j({
617
- className: h,
618
- styles: l
619
- }) : "", f = u ? j({
620
- className: h,
621
- styles: u,
622
- mediaQuery: be(
633
+ const k = u ? U({
634
+ className: d,
635
+ styles: u
636
+ }) : "", f = c ? U({
637
+ className: d,
638
+ styles: c,
639
+ mediaQuery: ee(
623
640
  "medium",
624
641
  r
625
642
  )
626
- }) : "", k = c ? j({
627
- className: h,
628
- styles: c,
629
- mediaQuery: be(
643
+ }) : "", b = h ? U({
644
+ className: d,
645
+ styles: h,
646
+ mediaQuery: ee(
630
647
  "small",
631
648
  r
632
649
  )
633
- }) : "", d = i.animations && i.animations.find((T) => T.trigger === "hover");
634
- let b = "";
635
- if (d) {
636
- const T = ((x = (y = d.steps) == null ? void 0 : y[1]) == null ? void 0 : x.styles) || {};
637
- b = j({
638
- className: `${h}:hover`,
650
+ }) : "", x = g && l ? U({
651
+ className: d,
652
+ styles: g,
653
+ mediaQuery: ee(
654
+ "xsmall",
655
+ r
656
+ )
657
+ }) : "", y = i.animations && i.animations.find((p) => p.trigger === "hover");
658
+ let S = "";
659
+ if (y) {
660
+ const p = ((m = (v = y.steps) == null ? void 0 : v[1]) == null ? void 0 : m.styles) || {};
661
+ S = U({
662
+ className: `${d}:hover`,
639
663
  styles: {
640
- ...T,
641
- transition: `all ${d.duration}s ${X(
642
- d.easing
664
+ ...p,
665
+ transition: `all ${y.duration}s ${X(
666
+ y.easing
643
667
  )}`,
644
- transitionDelay: d.delay ? `${d.delay}s` : "0s"
668
+ transitionDelay: y.delay ? `${y.delay}s` : "0s"
645
669
  }
646
670
  }) || "";
647
671
  }
648
672
  return [
649
- g,
650
- f,
651
673
  k,
652
- b
674
+ f,
675
+ b,
676
+ x,
677
+ S
653
678
  ].join(" ");
654
679
  }
655
680
  return /* @__PURE__ */ s(R, { children: n() && t() ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
@@ -673,14 +698,14 @@ const Ft = (e) => `on${$t(e)}`, Ot = (e, t) => (n) => L({
673
698
  event: n,
674
699
  isExpression: !1
675
700
  });
676
- function He(e) {
701
+ function Me(e) {
677
702
  var i;
678
703
  const t = {}, n = (i = e.block.actions) != null ? i : {};
679
- for (const o in n) {
680
- if (!n.hasOwnProperty(o))
704
+ for (const a in n) {
705
+ if (!n.hasOwnProperty(a))
681
706
  continue;
682
- const a = n[o];
683
- let r = Ft(o);
707
+ const o = n[a];
708
+ let r = Ft(a);
684
709
  if (e.stripPrefix)
685
710
  switch (O) {
686
711
  case "vue":
@@ -690,7 +715,7 @@ function He(e) {
690
715
  r = r.replace("on:", "");
691
716
  break;
692
717
  }
693
- t[r] = Ot(a, e);
718
+ t[r] = Ot(o, e);
694
719
  }
695
720
  return t;
696
721
  }
@@ -702,7 +727,7 @@ function Lt({
702
727
  const Ut = (e) => ({
703
728
  href: e.href
704
729
  });
705
- function ce({
730
+ function ue({
706
731
  block: e,
707
732
  context: t
708
733
  }) {
@@ -715,7 +740,7 @@ function ce({
715
740
  block: e,
716
741
  context: t
717
742
  }),
718
- [q()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
743
+ [M()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
719
744
  };
720
745
  return Lt({
721
746
  properties: n,
@@ -725,14 +750,14 @@ function ce({
725
750
  }
726
751
  function _t(e) {
727
752
  return /* @__PURE__ */ s(
728
- re,
753
+ le,
729
754
  {
730
755
  TagName: e.Wrapper,
731
- attributes: ce({
756
+ attributes: ue({
732
757
  block: e.block,
733
758
  context: e.context
734
759
  }),
735
- actionAttributes: He({
760
+ actionAttributes: Me({
736
761
  block: e.block,
737
762
  rootState: e.context.rootState,
738
763
  rootSetState: e.context.rootSetState,
@@ -748,14 +773,14 @@ function qt(e) {
748
773
  return N(() => {
749
774
  }, []), /* @__PURE__ */ s(R, { children: e.children });
750
775
  }
751
- function Ht(e) {
776
+ function Mt(e) {
752
777
  function t() {
753
778
  return e.includeBlockProps ? {
754
- ...ce({
779
+ ...ue({
755
780
  block: e.block,
756
781
  context: e.context
757
782
  }),
758
- ...He({
783
+ ...Me({
759
784
  block: e.block,
760
785
  rootState: e.context.rootState,
761
786
  rootSetState: e.context.rootSetState,
@@ -775,13 +800,13 @@ function Ht(e) {
775
800
  }
776
801
  ) }) : /* @__PURE__ */ s(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children }) });
777
802
  }
778
- const Mt = ({
803
+ const Ht = ({
779
804
  componentOptions: e,
780
805
  builderBlock: t,
781
806
  context: n,
782
807
  componentRef: i,
783
- includeBlockProps: o,
784
- isInteractive: a,
808
+ includeBlockProps: a,
809
+ isInteractive: o,
785
810
  contextValue: r
786
811
  }) => {
787
812
  const l = {
@@ -790,30 +815,30 @@ const Mt = ({
790
815
  * If `noWrap` is set to `true`, then the block's props/attributes are provided to the
791
816
  * component itself directly. Otherwise, they are provided to the wrapper element.
792
817
  */
793
- ...o ? {
794
- attributes: ce({
818
+ ...a ? {
819
+ attributes: ue({
795
820
  block: t,
796
821
  context: r
797
822
  })
798
823
  } : {}
799
824
  };
800
- return a ? {
825
+ return o ? {
801
826
  Wrapper: i,
802
827
  block: t,
803
828
  context: n,
804
829
  wrapperProps: e,
805
- includeBlockProps: o
830
+ includeBlockProps: a
806
831
  } : l;
807
832
  };
808
833
  function pe(e) {
809
834
  var i;
810
835
  const [t, n] = E(
811
- () => e.isInteractive ? Ht : e.componentRef
836
+ () => e.isInteractive ? Mt : e.componentRef
812
837
  );
813
838
  return /* @__PURE__ */ s(R, { children: e.componentRef ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
814
839
  t,
815
840
  {
816
- ...Mt({
841
+ ...Ht({
817
842
  componentOptions: e.componentOptions,
818
843
  builderBlock: e.builderBlock,
819
844
  context: e.context,
@@ -823,22 +848,22 @@ function pe(e) {
823
848
  isInteractive: e.isInteractive,
824
849
  contextValue: e.context
825
850
  }),
826
- children: (i = e.blockChildren) == null ? void 0 : i.map((o) => /* @__PURE__ */ s(
851
+ children: (i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */ s(
827
852
  Z,
828
853
  {
829
- block: o,
854
+ block: a,
830
855
  context: e.context,
831
856
  registeredComponents: e.registeredComponents,
832
857
  linkComponent: e.linkComponent
833
858
  },
834
- o.id
859
+ a.id
835
860
  ))
836
861
  }
837
862
  ) }) : null });
838
863
  }
839
864
  function ye(e) {
840
865
  const [t, n] = E(() => e.repeatContext);
841
- return /* @__PURE__ */ s(le.Provider, { value: t, children: /* @__PURE__ */ s(
866
+ return /* @__PURE__ */ s(se.Provider, { value: t, children: /* @__PURE__ */ s(
842
867
  Z,
843
868
  {
844
869
  block: e.block,
@@ -849,7 +874,7 @@ function ye(e) {
849
874
  ) });
850
875
  }
851
876
  function Z(e) {
852
- var h, g, f, k;
877
+ var h, g, d, k;
853
878
  function t() {
854
879
  return Vt({
855
880
  block: e.block,
@@ -860,53 +885,53 @@ function Z(e) {
860
885
  value: null,
861
886
  update: !1
862
887
  }));
863
- function o() {
888
+ function a() {
864
889
  var b;
865
890
  if (n.value && !n.update && !Y())
866
891
  return n.value;
867
- const d = (b = e.block.repeat) != null && b.collection ? e.block : St({
892
+ const f = (b = e.block.repeat) != null && b.collection ? e.block : St({
868
893
  block: e.block,
869
894
  localState: e.context.localState,
870
895
  rootState: e.context.rootState,
871
896
  rootSetState: e.context.rootSetState,
872
897
  context: e.context.context
873
898
  });
874
- return n.value = d, n.update = !1, d;
899
+ return n.value = f, n.update = !1, f;
875
900
  }
876
- function a() {
901
+ function o() {
877
902
  return Pt({
878
- block: o(),
903
+ block: a(),
879
904
  registeredComponents: e.registeredComponents,
880
905
  model: e.context.model
881
906
  });
882
907
  }
883
908
  function r() {
884
909
  var b;
885
- return e.block.tagName === "a" || ((b = o().properties) == null ? void 0 : b.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
910
+ return e.block.tagName === "a" || ((b = a().properties) == null ? void 0 : b.href) || a().href ? e.linkComponent || "a" : e.block.tagName || "div";
886
911
  }
887
912
  function l() {
888
- var v, y;
889
- if ((v = e.block.repeat) != null && v.collection)
913
+ var x, y;
914
+ if ((x = e.block.repeat) != null && x.collection)
890
915
  return !!((y = t == null ? void 0 : t()) != null && y.length);
891
- const d = "hide" in o() ? o().hide : !1;
892
- return ("show" in o() ? o().show : !0) && !d;
916
+ const f = "hide" in a() ? a().hide : !1;
917
+ return ("show" in a() ? a().show : !0) && !f;
893
918
  }
894
919
  function u() {
895
- var b, v;
896
- return !((b = a == null ? void 0 : a()) != null && b.component) && !t() ? (v = o().children) != null ? v : [] : [];
920
+ var b, x;
921
+ return !((b = o == null ? void 0 : o()) != null && b.component) && !t() ? (x = a().children) != null ? x : [] : [];
897
922
  }
898
923
  function c() {
899
- var d, b, v, y;
924
+ var f, b, x, y;
900
925
  return {
901
- blockChildren: (d = o().children) != null ? d : [],
902
- componentRef: (b = a == null ? void 0 : a()) == null ? void 0 : b.component,
926
+ blockChildren: (f = a().children) != null ? f : [],
927
+ componentRef: (b = o == null ? void 0 : o()) == null ? void 0 : b.component,
903
928
  componentOptions: {
904
- ...mt(o(), e.context),
905
- ...At(a(), o()),
906
- ...Wt(a(), e.context),
907
- ...Bt(a(), e.linkComponent),
929
+ ...mt(a(), e.context),
930
+ ...At(o(), a()),
931
+ ...Wt(o(), e.context),
932
+ ...Bt(o(), e.linkComponent),
908
933
  ...Nt(
909
- a(),
934
+ o(),
910
935
  e.registeredComponents,
911
936
  e.context.model
912
937
  )
@@ -914,28 +939,28 @@ function Z(e) {
914
939
  context: e.context,
915
940
  linkComponent: e.linkComponent,
916
941
  registeredComponents: e.registeredComponents,
917
- builderBlock: o(),
918
- includeBlockProps: ((v = a == null ? void 0 : a()) == null ? void 0 : v.noWrap) === !0,
919
- isInteractive: !((y = a == null ? void 0 : a()) != null && y.isRSC && O === "rsc")
942
+ builderBlock: a(),
943
+ includeBlockProps: ((x = o == null ? void 0 : o()) == null ? void 0 : x.noWrap) === !0,
944
+ isInteractive: !((y = o == null ? void 0 : o()) != null && y.isRSC && O === "rsc")
920
945
  };
921
946
  }
922
947
  return N(() => {
923
- const d = o().id, b = o().animations;
924
- b && d && Ct(
925
- b.map((v) => ({
926
- ...v,
927
- elementId: d
948
+ const f = a().id, b = a().animations;
949
+ b && f && Ct(
950
+ b.map((x) => ({
951
+ ...x,
952
+ elementId: f
928
953
  }))
929
954
  );
930
955
  }, []), N(() => {
931
956
  n.update = !0;
932
957
  }), /* @__PURE__ */ s(R, { children: l() ? /* @__PURE__ */ V(R, { children: [
933
- /* @__PURE__ */ s(Dt, { block: o(), context: e.context }),
934
- (h = a == null ? void 0 : a()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(R, { children: (k = t()) == null ? void 0 : k.map((d, b) => /* @__PURE__ */ s(
958
+ /* @__PURE__ */ s(Dt, { block: a(), context: e.context }),
959
+ (h = o == null ? void 0 : o()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(R, { children: (k = t()) == null ? void 0 : k.map((f, b) => /* @__PURE__ */ s(
935
960
  ye,
936
961
  {
937
- repeatContext: d.context,
938
- block: d.block,
962
+ repeatContext: f.context,
963
+ block: f.block,
939
964
  registeredComponents: e.registeredComponents,
940
965
  linkComponent: e.linkComponent
941
966
  },
@@ -953,11 +978,11 @@ function Z(e) {
953
978
  includeBlockProps: c().includeBlockProps,
954
979
  isInteractive: c().isInteractive
955
980
  }
956
- ) : /* @__PURE__ */ s(R, { children: t() ? /* @__PURE__ */ s(R, { children: (f = t()) == null ? void 0 : f.map((d, b) => /* @__PURE__ */ s(
981
+ ) : /* @__PURE__ */ s(R, { children: t() ? /* @__PURE__ */ s(R, { children: (d = t()) == null ? void 0 : d.map((f, b) => /* @__PURE__ */ s(
957
982
  ye,
958
983
  {
959
- repeatContext: d.context,
960
- block: d.block,
984
+ repeatContext: f.context,
985
+ block: f.block,
961
986
  registeredComponents: e.registeredComponents,
962
987
  linkComponent: e.linkComponent
963
988
  },
@@ -966,7 +991,7 @@ function Z(e) {
966
991
  _t,
967
992
  {
968
993
  Wrapper: r(),
969
- block: o(),
994
+ block: a(),
970
995
  context: e.context,
971
996
  children: [
972
997
  /* @__PURE__ */ s(
@@ -983,15 +1008,15 @@ function Z(e) {
983
1008
  isInteractive: c().isInteractive
984
1009
  }
985
1010
  ),
986
- (g = u()) == null ? void 0 : g.map((d) => /* @__PURE__ */ s(
1011
+ (g = u()) == null ? void 0 : g.map((f) => /* @__PURE__ */ s(
987
1012
  Z,
988
1013
  {
989
- block: d,
1014
+ block: f,
990
1015
  registeredComponents: e.registeredComponents,
991
1016
  linkComponent: e.linkComponent,
992
1017
  context: e.context
993
1018
  },
994
- d.id
1019
+ f.id
995
1020
  ))
996
1021
  ]
997
1022
  }
@@ -1014,7 +1039,7 @@ function jt(e) {
1014
1039
  const r = "this.", l = "component.options.";
1015
1040
  return e.path.startsWith(r) ? e.path.replace(r, "") : e.path.startsWith(l) ? e.path : `${l}${e.path || ""}`;
1016
1041
  }
1017
- function o() {
1042
+ function a() {
1018
1043
  var r, l;
1019
1044
  W() && !((r = e.blocks) != null && r.length) && ((l = window.parent) == null || l.postMessage(
1020
1045
  {
@@ -1027,7 +1052,7 @@ function jt(e) {
1027
1052
  "*"
1028
1053
  ));
1029
1054
  }
1030
- function a() {
1055
+ function o() {
1031
1056
  var r, l;
1032
1057
  W() && !((r = e.blocks) != null && r.length) && ((l = window.parent) == null || l.postMessage(
1033
1058
  {
@@ -1050,9 +1075,9 @@ function jt(e) {
1050
1075
  "builder-path": i(),
1051
1076
  "builder-parent-id": e.parent,
1052
1077
  style: e.styleProp,
1053
- onClick: (r) => o(),
1054
- onMouseEnter: (r) => a(),
1055
- onKeyPress: (r) => o(),
1078
+ onClick: (r) => a(),
1079
+ onMouseEnter: (r) => o(),
1080
+ onKeyPress: (r) => a(),
1056
1081
  ...e.BlocksWrapperProps,
1057
1082
  children: e.children
1058
1083
  }
@@ -1065,8 +1090,8 @@ function jt(e) {
1065
1090
  ] });
1066
1091
  }
1067
1092
  function D(e) {
1068
- var i, o, a;
1069
- const t = he(le), n = he(Ve);
1093
+ var i, a, o;
1094
+ const t = ge(se), n = ge(Ve);
1070
1095
  return /* @__PURE__ */ s(
1071
1096
  jt,
1072
1097
  {
@@ -1076,8 +1101,8 @@ function D(e) {
1076
1101
  styleProp: e.styleProp,
1077
1102
  classNameProp: e.className,
1078
1103
  BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
1079
- BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || (t == null ? void 0 : t.BlocksWrapperProps),
1080
- children: e.blocks ? /* @__PURE__ */ s(R, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ s(
1104
+ BlocksWrapperProps: ((a = e.context) == null ? void 0 : a.BlocksWrapperProps) || (t == null ? void 0 : t.BlocksWrapperProps),
1105
+ children: e.blocks ? /* @__PURE__ */ s(R, { children: (o = e.blocks) == null ? void 0 : o.map((r) => /* @__PURE__ */ s(
1081
1106
  Z,
1082
1107
  {
1083
1108
  block: r,
@@ -1092,7 +1117,7 @@ function D(e) {
1092
1117
  }
1093
1118
  const zt = (e) => `builder-columns ${e}-breakpoints`;
1094
1119
  function Kt(e) {
1095
- var b, v;
1120
+ var b, x;
1096
1121
  function t() {
1097
1122
  return typeof e.space == "number" ? e.space || 0 : 20;
1098
1123
  }
@@ -1102,28 +1127,28 @@ function Kt(e) {
1102
1127
  function i() {
1103
1128
  return e.stackColumnsAt || "tablet";
1104
1129
  }
1105
- function o(y) {
1130
+ function a(y) {
1106
1131
  return y.link ? e.builderLinkComponent || "a" : "div";
1107
1132
  }
1108
- function a(y) {
1109
- var x;
1110
- return ((x = n()[y]) == null ? void 0 : x.width) || 100 / n().length;
1133
+ function o(y) {
1134
+ var S;
1135
+ return ((S = n()[y]) == null ? void 0 : S.width) || 100 / n().length;
1111
1136
  }
1112
1137
  function r(y) {
1113
- const x = a(y), T = t() * (n().length - 1) * (x / 100);
1114
- return `calc(${x}% - ${T}px)`;
1138
+ const S = o(y), T = t() * (n().length - 1) * (S / 100);
1139
+ return `calc(${S}% - ${T}px)`;
1115
1140
  }
1116
1141
  function l({
1117
1142
  stackedStyle: y,
1118
- desktopStyle: x
1143
+ desktopStyle: S
1119
1144
  }) {
1120
- return i() === "tablet" ? y : x;
1145
+ return i() === "tablet" ? y : S;
1121
1146
  }
1122
1147
  function u({
1123
1148
  stackedStyle: y,
1124
- desktopStyle: x
1149
+ desktopStyle: S
1125
1150
  }) {
1126
- return i() === "never" ? x : y;
1151
+ return i() === "never" ? S : y;
1127
1152
  }
1128
1153
  function c() {
1129
1154
  return e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column";
@@ -1138,7 +1163,7 @@ function Kt(e) {
1138
1163
  };
1139
1164
  }
1140
1165
  function g(y) {
1141
- const x = y === 0 ? 0 : t(), T = r(y), P = `${x}px`, I = "100%", S = 0;
1166
+ const S = y === 0 ? 0 : t(), T = r(y), P = `${S}px`, I = "100%", v = 0;
1142
1167
  return {
1143
1168
  ...{
1144
1169
  display: "flex",
@@ -1152,7 +1177,7 @@ function Kt(e) {
1152
1177
  desktopStyle: T
1153
1178
  }),
1154
1179
  "--column-margin-left-mobile": u({
1155
- stackedStyle: S,
1180
+ stackedStyle: v,
1156
1181
  desktopStyle: P
1157
1182
  }),
1158
1183
  "--column-width-tablet": l({
@@ -1160,12 +1185,12 @@ function Kt(e) {
1160
1185
  desktopStyle: T
1161
1186
  }),
1162
1187
  "--column-margin-left-tablet": l({
1163
- stackedStyle: S,
1188
+ stackedStyle: v,
1164
1189
  desktopStyle: P
1165
1190
  })
1166
1191
  };
1167
1192
  }
1168
- function f(y) {
1193
+ function d(y) {
1169
1194
  var T, P;
1170
1195
  return qe(
1171
1196
  ((P = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : P.breakpoints) || {}
@@ -1174,7 +1199,7 @@ function Kt(e) {
1174
1199
  function k() {
1175
1200
  const y = `.${e.builderBlock.id}-breakpoints > .builder-column`;
1176
1201
  return `
1177
- @media (max-width: ${f("medium")}px) {
1202
+ @media (max-width: ${d("medium")}px) {
1178
1203
  .${e.builderBlock.id}-breakpoints {
1179
1204
  flex-direction: var(--flex-dir-tablet);
1180
1205
  align-items: stretch;
@@ -1186,7 +1211,7 @@ function Kt(e) {
1186
1211
  }
1187
1212
  }
1188
1213
 
1189
- @media (max-width: ${f("small")}px) {
1214
+ @media (max-width: ${d("small")}px) {
1190
1215
  .${e.builderBlock.id}-breakpoints {
1191
1216
  flex-direction: var(--flex-dir);
1192
1217
  align-items: stretch;
@@ -1199,13 +1224,13 @@ function Kt(e) {
1199
1224
  },
1200
1225
  `;
1201
1226
  }
1202
- function d(y, x) {
1227
+ function f(y, S) {
1203
1228
  return {
1204
1229
  ...y.link ? {
1205
1230
  href: y.link
1206
1231
  } : {},
1207
- [q()]: "builder-column",
1208
- style: Le(g(x))
1232
+ [M()]: "builder-column",
1233
+ style: Le(g(S))
1209
1234
  };
1210
1235
  }
1211
1236
  return /* @__PURE__ */ V(R, { children: [
@@ -1223,16 +1248,16 @@ function Kt(e) {
1223
1248
  nonce: e.builderContext.nonce
1224
1249
  }
1225
1250
  ),
1226
- (v = e.columns) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ s(
1227
- re,
1251
+ (x = e.columns) == null ? void 0 : x.map((y, S) => /* @__PURE__ */ s(
1252
+ le,
1228
1253
  {
1229
- TagName: o(y),
1254
+ TagName: a(y),
1230
1255
  actionAttributes: {},
1231
- attributes: d(y, x),
1256
+ attributes: f(y, S),
1232
1257
  children: /* @__PURE__ */ s(
1233
1258
  D,
1234
1259
  {
1235
- path: `columns.${x}.blocks`,
1260
+ path: `columns.${S}.blocks`,
1236
1261
  parent: e.builderBlock.id,
1237
1262
  context: e.builderContext,
1238
1263
  registeredComponents: e.builderComponents,
@@ -1244,7 +1269,7 @@ function Kt(e) {
1244
1269
  }
1245
1270
  )
1246
1271
  },
1247
- x
1272
+ S
1248
1273
  ))
1249
1274
  ]
1250
1275
  }
@@ -1262,8 +1287,8 @@ function ve(e) {
1262
1287
  return e.replace(/http(s)?:/, "");
1263
1288
  }
1264
1289
  function Gt(e = "", t, n) {
1265
- const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
1266
- return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
1290
+ const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), a = e.indexOf("?") !== -1 ? "&" : "?";
1291
+ return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + a + t + "=" + encodeURIComponent(n);
1267
1292
  }
1268
1293
  function Qt(e, t) {
1269
1294
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
@@ -1272,38 +1297,38 @@ function Qt(e, t) {
1272
1297
  return ve(e);
1273
1298
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1274
1299
  if (n) {
1275
- const i = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
1276
- return ve(`${i[0]}_${a}${o}`);
1300
+ const i = e.split(n[0]), a = n[3], o = t.match("x") ? t : `${t}x`;
1301
+ return ve(`${i[0]}_${o}${a}`);
1277
1302
  }
1278
1303
  return null;
1279
1304
  }
1280
- function ee(e) {
1305
+ function te(e) {
1281
1306
  if (!e)
1282
1307
  return e;
1283
1308
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1284
1309
  if (e.match(/builder\.io/)) {
1285
1310
  let n = e;
1286
1311
  const i = Number(e.split("?width=")[1]);
1287
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Gt(e, "width", o)} ${o}w`).concat([n]).join(", ");
1312
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((a) => a !== i).map((a) => `${Gt(e, "width", a)} ${a}w`).concat([n]).join(", ");
1288
1313
  }
1289
1314
  return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Qt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1290
1315
  }
1291
1316
  function Yt(e) {
1292
- var o, a, r, l, u, c;
1317
+ var a, o, r, l, u, c;
1293
1318
  function t() {
1294
- var f;
1319
+ var d;
1295
1320
  const g = e.image || e.src;
1296
1321
  if (!g || // We can auto add srcset for cdn.builder.io and shopify
1297
1322
  // images, otherwise you can supply this prop manually
1298
1323
  !(typeof g == "string" && (g.match(/builder\.io/) || g.match(/cdn\.shopify\.com/))))
1299
1324
  return e.srcset;
1300
1325
  if (!e.noWebp) {
1301
- if (e.srcset && ((f = e.image) != null && f.includes("builder.io/api/v1/image"))) {
1326
+ if (e.srcset && ((d = e.image) != null && d.includes("builder.io/api/v1/image"))) {
1302
1327
  if (!e.srcset.includes(e.image.split("?")[0]))
1303
- return console.debug("Removed given srcset"), ee(g);
1328
+ return console.debug("Removed given srcset"), te(g);
1304
1329
  } else if (e.image && !e.srcset)
1305
- return ee(g);
1306
- return ee(g);
1330
+ return te(g);
1331
+ return te(g);
1307
1332
  }
1308
1333
  }
1309
1334
  function n() {
@@ -1343,7 +1368,7 @@ function Yt(e) {
1343
1368
  }
1344
1369
  )
1345
1370
  ] }),
1346
- e.aspectRatio && !((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ s(
1371
+ e.aspectRatio && !((o = (a = e.builderBlock) == null ? void 0 : a.children) != null && o.length && e.fitContent) ? /* @__PURE__ */ s(
1347
1372
  "div",
1348
1373
  {
1349
1374
  className: "builder-image-sizer div-9dac2184",
@@ -1395,7 +1420,7 @@ function Xt(e) {
1395
1420
  }
1396
1421
  );
1397
1422
  }
1398
- const te = {
1423
+ const ne = {
1399
1424
  "@type": "@builder.io/sdk:Element",
1400
1425
  layerName: "Accordion item title",
1401
1426
  responsiveStyles: {
@@ -1424,7 +1449,7 @@ const te = {
1424
1449
  }
1425
1450
  }
1426
1451
  }]
1427
- }, ne = {
1452
+ }, ie = {
1428
1453
  "@type": "@builder.io/sdk:Element",
1429
1454
  layerName: "Accordion item detail",
1430
1455
  responsiveStyles: {
@@ -1472,19 +1497,19 @@ const te = {
1472
1497
  name: "title",
1473
1498
  type: "uiBlocks",
1474
1499
  hideFromUI: !0,
1475
- defaultValue: [te]
1500
+ defaultValue: [ne]
1476
1501
  }, {
1477
1502
  name: "detail",
1478
1503
  type: "uiBlocks",
1479
1504
  hideFromUI: !0,
1480
- defaultValue: [ne]
1505
+ defaultValue: [ie]
1481
1506
  }],
1482
1507
  defaultValue: [{
1483
- title: [te],
1484
- detail: [ne]
1508
+ title: [ne],
1509
+ detail: [ie]
1485
1510
  }, {
1486
- title: [te],
1487
- detail: [ne]
1511
+ title: [ne],
1512
+ detail: [ie]
1488
1513
  }],
1489
1514
  showIf: (e) => !e.get("useChildrenForItems")
1490
1515
  }, {
@@ -1526,7 +1551,7 @@ function en(e) {
1526
1551
  function i() {
1527
1552
  return !!(e.grid || e.oneAtATime);
1528
1553
  }
1529
- function o() {
1554
+ function a() {
1530
1555
  return {
1531
1556
  display: "flex",
1532
1557
  alignItems: "stretch",
@@ -1538,7 +1563,7 @@ function en(e) {
1538
1563
  }
1539
1564
  };
1540
1565
  }
1541
- function a() {
1566
+ function o() {
1542
1567
  const k = {
1543
1568
  ...{
1544
1569
  display: "flex",
@@ -1548,74 +1573,74 @@ function en(e) {
1548
1573
  cursor: "pointer"
1549
1574
  };
1550
1575
  return Object.fromEntries(
1551
- Object.entries(k).filter(([d, b]) => b !== void 0)
1576
+ Object.entries(k).filter(([f, b]) => b !== void 0)
1552
1577
  );
1553
1578
  }
1554
- function r(f) {
1555
- return `builder-accordion-title builder-accordion-title-${t.includes(f) ? "open" : "closed"}`;
1579
+ function r(d) {
1580
+ return `builder-accordion-title builder-accordion-title-${t.includes(d) ? "open" : "closed"}`;
1556
1581
  }
1557
- function l(f) {
1558
- return `builder-accordion-detail builder-accordion-detail-${t.includes(f) ? "open" : "closed"}`;
1582
+ function l(d) {
1583
+ return `builder-accordion-detail builder-accordion-detail-${t.includes(d) ? "open" : "closed"}`;
1559
1584
  }
1560
1585
  function u() {
1561
- let f = null;
1586
+ let d = null;
1562
1587
  if (e.grid && t.length && document) {
1563
- const d = t[0];
1564
- let v = document.querySelector(
1565
- `.builder-accordion-title[data-index="${d}"]`
1588
+ const f = t[0];
1589
+ let x = document.querySelector(
1590
+ `.builder-accordion-title[data-index="${f}"]`
1566
1591
  );
1567
- if (f = d, v) {
1568
- let y = v.getBoundingClientRect();
1569
- for (; v = v && v.nextElementSibling; )
1570
- if (v) {
1571
- if (v.classList.contains("builder-accordion-detail"))
1592
+ if (d = f, x) {
1593
+ let y = x.getBoundingClientRect();
1594
+ for (; x = x && x.nextElementSibling; )
1595
+ if (x) {
1596
+ if (x.classList.contains("builder-accordion-detail"))
1572
1597
  continue;
1573
- const x = v.getBoundingClientRect();
1574
- if (x.left > y.left) {
1598
+ const S = x.getBoundingClientRect();
1599
+ if (S.left > y.left) {
1575
1600
  const T = parseInt(
1576
- v.getAttribute("data-index") || "",
1601
+ x.getAttribute("data-index") || "",
1577
1602
  10
1578
1603
  );
1579
- isNaN(T) || (y = x, f = T);
1604
+ isNaN(T) || (y = S, d = T);
1580
1605
  } else
1581
1606
  break;
1582
1607
  }
1583
1608
  }
1584
1609
  }
1585
- return typeof f == "number" && (f = f + 1), f;
1610
+ return typeof d == "number" && (d = d + 1), d;
1586
1611
  }
1587
1612
  function c() {
1588
- const f = {
1613
+ const d = {
1589
1614
  order: typeof u() == "number" ? u() : void 0,
1590
1615
  ...e.grid && {
1591
1616
  width: "100%"
1592
1617
  }
1593
1618
  };
1594
1619
  return Object.fromEntries(
1595
- Object.entries(f).filter(([k, d]) => d !== void 0)
1620
+ Object.entries(d).filter(([k, f]) => f !== void 0)
1596
1621
  );
1597
1622
  }
1598
- function h(f) {
1599
- t.includes(f) ? n(i() ? [] : t.filter((k) => k !== f)) : n(i() ? [f] : t.concat(f));
1623
+ function h(d) {
1624
+ t.includes(d) ? n(i() ? [] : t.filter((k) => k !== d)) : n(i() ? [d] : t.concat(d));
1600
1625
  }
1601
- return /* @__PURE__ */ s("div", { className: "builder-accordion", style: o(), children: (g = e.items) == null ? void 0 : g.map((f, k) => /* @__PURE__ */ V(Ze.Fragment, { children: [
1626
+ return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (g = e.items) == null ? void 0 : g.map((d, k) => /* @__PURE__ */ V(Ze.Fragment, { children: [
1602
1627
  /* @__PURE__ */ s(
1603
1628
  "div",
1604
1629
  {
1605
1630
  className: r(k),
1606
1631
  style: {
1607
- ...a(),
1632
+ ...o(),
1608
1633
  ...e.grid && {
1609
1634
  width: e.gridRowWidth,
1610
1635
  order: u() !== null ? xe(k) : xe(k + 1)
1611
1636
  }
1612
1637
  },
1613
1638
  "data-index": k,
1614
- onClick: (d) => h(k),
1639
+ onClick: (f) => h(k),
1615
1640
  children: /* @__PURE__ */ s(
1616
1641
  D,
1617
1642
  {
1618
- blocks: f.title,
1643
+ blocks: d.title,
1619
1644
  path: `items.${k}.title`,
1620
1645
  parent: e.builderBlock.id,
1621
1646
  context: e.builderContext,
@@ -1633,7 +1658,7 @@ function en(e) {
1633
1658
  children: /* @__PURE__ */ s(
1634
1659
  D,
1635
1660
  {
1636
- blocks: f.detail,
1661
+ blocks: d.detail,
1637
1662
  path: `items.${k}.detail`,
1638
1663
  parent: e.builderBlock.id,
1639
1664
  context: e.builderContext,
@@ -1860,7 +1885,7 @@ const tn = {
1860
1885
  });
1861
1886
  }
1862
1887
  const n = e.get("columns");
1863
- Array.isArray(n) && n.find((o) => o.get("width")) && (n.find((a) => !a.get("width")) || n.reduce((l, u) => l + u.get("width"), 0) !== 100) && t();
1888
+ Array.isArray(n) && n.find((a) => a.get("width")) && (n.find((o) => !o.get("width")) || n.reduce((l, u) => l + u.get("width"), 0) !== 100) && t();
1864
1889
  }
1865
1890
  }, {
1866
1891
  name: "space",
@@ -1888,13 +1913,13 @@ const tn = {
1888
1913
  builderComponents: !0,
1889
1914
  builderLinkComponent: !0
1890
1915
  }
1891
- }, on = {
1916
+ }, an = {
1892
1917
  name: "Fragment",
1893
1918
  static: !0,
1894
1919
  hidden: !0,
1895
1920
  canHaveChildren: !0,
1896
1921
  noWrap: !0
1897
- }, ue = ["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"], rn = {
1922
+ }, de = ["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"], on = ["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"], rn = {
1898
1923
  name: "Image",
1899
1924
  static: !0,
1900
1925
  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",
@@ -1909,7 +1934,7 @@ const tn = {
1909
1934
  name: "image",
1910
1935
  type: "file",
1911
1936
  bubble: !0,
1912
- allowedFileTypes: ue,
1937
+ allowedFileTypes: de,
1913
1938
  required: !0,
1914
1939
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1915
1940
  onChange: (e) => {
@@ -1920,8 +1945,8 @@ const tn = {
1920
1945
  let g = !1;
1921
1946
  h.onload = () => {
1922
1947
  g = !0, u(h);
1923
- }, h.addEventListener("error", (f) => {
1924
- console.warn("Image load failed", f.error), c(f.error);
1948
+ }, h.addEventListener("error", (d) => {
1949
+ console.warn("Image load failed", d.error), c(d.error);
1925
1950
  }), h.src = r, setTimeout(() => {
1926
1951
  g || c(new Error("Image load timed out"));
1927
1952
  }, l);
@@ -1930,13 +1955,13 @@ const tn = {
1930
1955
  function i(r) {
1931
1956
  return Math.round(r * 1e3) / 1e3;
1932
1957
  }
1933
- const o = e.get("image"), a = e.get("aspectRatio");
1934
- if (fetch(o).then((r) => r.blob()).then((r) => {
1958
+ const a = e.get("image"), o = e.get("aspectRatio");
1959
+ if (fetch(a).then((r) => r.blob()).then((r) => {
1935
1960
  r.type.includes("svg") && e.set("noWebp", !0);
1936
- }), o && (!a || a === 0.7041))
1937
- return n(o).then((r) => {
1961
+ }), a && (!o || o === 0.7041))
1962
+ return n(a).then((r) => {
1938
1963
  const l = e.get("aspectRatio");
1939
- e.get("image") === o && (!l || l === 0.7041) && r.width && r.height && (e.set("aspectRatio", i(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
1964
+ e.get("image") === a && (!l || l === 0.7041) && r.width && r.height && (e.set("aspectRatio", i(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
1940
1965
  });
1941
1966
  }
1942
1967
  }, {
@@ -2049,50 +2074,50 @@ function G(e) {
2049
2074
  );
2050
2075
  }
2051
2076
  function sn(e, t, n, i) {
2052
- function o(c) {
2077
+ function a(c) {
2053
2078
  return typeof c == "string";
2054
2079
  }
2055
- function a(c) {
2080
+ function o(c) {
2056
2081
  return typeof c == "number";
2057
2082
  }
2058
2083
  function r(c, h) {
2059
2084
  return (() => {
2060
- const f = h.property, k = h.operator;
2061
- let d = h.value;
2062
- if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (d = h.value.slice(0, -1)), !(f && k))
2085
+ const d = h.property, k = h.operator;
2086
+ let f = h.value;
2087
+ if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (f = h.value.slice(0, -1)), !(d && k))
2063
2088
  return !0;
2064
- if (Array.isArray(d))
2065
- return k === "isNot" ? d.every((v) => r(c, {
2066
- property: f,
2089
+ if (Array.isArray(f))
2090
+ return k === "isNot" ? f.every((x) => r(c, {
2091
+ property: d,
2067
2092
  operator: k,
2068
- value: v
2069
- })) : !!d.find((v) => r(c, {
2070
- property: f,
2093
+ value: x
2094
+ })) : !!f.find((x) => r(c, {
2095
+ property: d,
2071
2096
  operator: k,
2072
- value: v
2097
+ value: x
2073
2098
  }));
2074
- const b = c[f];
2099
+ const b = c[d];
2075
2100
  if (Array.isArray(b))
2076
- return b.includes(d);
2101
+ return b.includes(f);
2077
2102
  switch (k) {
2078
2103
  case "is":
2079
- return b === d;
2104
+ return b === f;
2080
2105
  case "isNot":
2081
- return b !== d;
2106
+ return b !== f;
2082
2107
  case "contains":
2083
- return (o(b) || Array.isArray(b)) && b.includes(String(d));
2108
+ return (a(b) || Array.isArray(b)) && b.includes(String(f));
2084
2109
  case "startsWith":
2085
- return o(b) && b.startsWith(String(d));
2110
+ return a(b) && b.startsWith(String(f));
2086
2111
  case "endsWith":
2087
- return o(b) && b.endsWith(String(d));
2112
+ return a(b) && b.endsWith(String(f));
2088
2113
  case "greaterThan":
2089
- return a(b) && a(d) && b > d;
2114
+ return o(b) && o(f) && b > f;
2090
2115
  case "lessThan":
2091
- return a(b) && a(d) && b < d;
2116
+ return o(b) && o(f) && b < f;
2092
2117
  case "greaterThanOrEqualTo":
2093
- return a(b) && a(d) && b >= d;
2118
+ return o(b) && o(f) && b >= f;
2094
2119
  case "lessThanOrEqualTo":
2095
- return a(b) && a(d) && b <= d;
2120
+ return o(b) && o(f) && b <= f;
2096
2121
  default:
2097
2122
  return !1;
2098
2123
  }
@@ -2245,18 +2270,18 @@ function mn({
2245
2270
  previewingIndex: t,
2246
2271
  isHydrated: n,
2247
2272
  filteredVariants: i,
2248
- fallbackBlocks: o
2273
+ fallbackBlocks: a
2249
2274
  }) {
2250
2275
  var r;
2251
- const a = {
2252
- blocks: o != null ? o : [],
2276
+ const o = {
2277
+ blocks: a != null ? a : [],
2253
2278
  path: "this.children"
2254
2279
  };
2255
2280
  if (n && W())
2256
2281
  return typeof t == "number" && t < ((r = e == null ? void 0 : e.length) != null ? r : 0) ? {
2257
2282
  blocks: e[t].blocks,
2258
2283
  path: `component.options.variants.${t}.blocks`
2259
- } : a;
2284
+ } : o;
2260
2285
  if ($()) {
2261
2286
  const l = i == null ? void 0 : i[0];
2262
2287
  if (l)
@@ -2265,7 +2290,7 @@ function mn({
2265
2290
  path: `component.options.variants.${e == null ? void 0 : e.indexOf(l)}.blocks`
2266
2291
  };
2267
2292
  }
2268
- return a;
2293
+ return o;
2269
2294
  }
2270
2295
  const fn = (e, t, n) => `
2271
2296
  (function() {
@@ -2275,29 +2300,29 @@ const fn = (e, t, n) => `
2275
2300
  })();
2276
2301
  `;
2277
2302
  function hn(e) {
2278
- var b, v, y, x, T, P, I;
2303
+ var b, x, y, S, T, P, I;
2279
2304
  const t = F(null), [n, i] = E(
2280
- () => de.getUserAttributes()
2281
- ), [o, a] = E(
2305
+ () => me.getUserAttributes()
2306
+ ), [a, o] = E(
2282
2307
  () => {
2283
- var S, m, p;
2308
+ var v, m, p;
2284
2309
  return fn(
2285
2310
  e.variants,
2286
- ((S = e.builderBlock) == null ? void 0 : S.id) || "none",
2311
+ ((v = e.builderBlock) == null ? void 0 : v.id) || "none",
2287
2312
  (p = (m = e.builderContext) == null ? void 0 : m.rootState) == null ? void 0 : p.locale
2288
2313
  );
2289
2314
  }
2290
2315
  ), [r, l] = E(() => []), [u, c] = E(
2291
2316
  () => {
2292
- var S;
2317
+ var v;
2293
2318
  return dn(
2294
2319
  e.variants,
2295
- _((S = e.builderContext) == null ? void 0 : S.canTrack)
2320
+ q((v = e.builderContext) == null ? void 0 : v.canTrack)
2296
2321
  );
2297
2322
  }
2298
2323
  ), [h, g] = E(() => !1);
2299
- function f() {
2300
- return (e.variants || []).filter((S) => {
2324
+ function d() {
2325
+ return (e.variants || []).filter((v) => {
2301
2326
  var m, p, C, w;
2302
2327
  return sn(
2303
2328
  {
@@ -2306,25 +2331,25 @@ function hn(e) {
2306
2331
  } : {},
2307
2332
  ...n
2308
2333
  },
2309
- S.query,
2310
- S.startDate,
2311
- S.endDate
2334
+ v.query,
2335
+ v.startDate,
2336
+ v.endDate
2312
2337
  );
2313
2338
  });
2314
2339
  }
2315
2340
  function k() {
2316
- var S;
2341
+ var v;
2317
2342
  return mn({
2318
2343
  variants: e.variants,
2319
- fallbackBlocks: (S = e.builderBlock) == null ? void 0 : S.children,
2344
+ fallbackBlocks: (v = e.builderBlock) == null ? void 0 : v.children,
2320
2345
  isHydrated: h,
2321
- filteredVariants: f(),
2346
+ filteredVariants: d(),
2322
2347
  previewingIndex: e.previewingIndex
2323
2348
  });
2324
2349
  }
2325
- function d() {
2350
+ function f() {
2326
2351
  return (e.variants || []).map(
2327
- (S, m) => {
2352
+ (v, m) => {
2328
2353
  var p;
2329
2354
  return `[data-variant-id="${(p = e.builderBlock) == null ? void 0 : p.id}-${m}"] { display: none; } `;
2330
2355
  }
@@ -2333,13 +2358,13 @@ function hn(e) {
2333
2358
  return N(() => {
2334
2359
  var m;
2335
2360
  g(!0);
2336
- const S = de.subscribeOnUserAttributesChange(
2361
+ const v = me.subscribeOnUserAttributesChange(
2337
2362
  (p) => {
2338
2363
  i(p);
2339
2364
  }
2340
2365
  );
2341
2366
  if (!(W() || Y())) {
2342
- const p = f()[0];
2367
+ const p = d()[0];
2343
2368
  t.current && (t.current.dispatchEvent(
2344
2369
  new CustomEvent("builder.variantLoaded", {
2345
2370
  detail: {
@@ -2363,9 +2388,9 @@ function hn(e) {
2363
2388
  });
2364
2389
  }).observe(t.current));
2365
2390
  }
2366
- r.push(S);
2391
+ r.push(v);
2367
2392
  }, []), N(() => () => {
2368
- r.forEach((S) => S());
2393
+ r.forEach((v) => v());
2369
2394
  }, []), /* @__PURE__ */ V(
2370
2395
  "div",
2371
2396
  {
@@ -2374,7 +2399,7 @@ function hn(e) {
2374
2399
  className: `builder-personalization-container ${((b = e.attributes) == null ? void 0 : b.className) || ""}`,
2375
2400
  children: [
2376
2401
  u ? /* @__PURE__ */ V(R, { children: [
2377
- (v = e.variants) == null ? void 0 : v.map((S, m) => {
2402
+ (x = e.variants) == null ? void 0 : x.map((v, m) => {
2378
2403
  var p, C;
2379
2404
  return /* @__PURE__ */ s(
2380
2405
  "template",
@@ -2383,7 +2408,7 @@ function hn(e) {
2383
2408
  children: /* @__PURE__ */ s(
2384
2409
  D,
2385
2410
  {
2386
- blocks: S.blocks,
2411
+ blocks: v.blocks,
2387
2412
  parent: (C = e.builderBlock) == null ? void 0 : C.id,
2388
2413
  path: `component.options.variants.${m}.blocks`
2389
2414
  }
@@ -2396,15 +2421,15 @@ function hn(e) {
2396
2421
  H,
2397
2422
  {
2398
2423
  nonce: ((y = e.builderContext) == null ? void 0 : y.nonce) || "",
2399
- styles: d(),
2400
- id: `variants-styles-${(x = e.builderBlock) == null ? void 0 : x.id}`
2424
+ styles: f(),
2425
+ id: `variants-styles-${(S = e.builderBlock) == null ? void 0 : S.id}`
2401
2426
  }
2402
2427
  ),
2403
2428
  /* @__PURE__ */ s(
2404
2429
  G,
2405
2430
  {
2406
2431
  nonce: ((T = e.builderContext) == null ? void 0 : T.nonce) || "",
2407
- scriptStr: o,
2432
+ scriptStr: a,
2408
2433
  id: `variants-script-${(P = e.builderBlock) == null ? void 0 : P.id}`
2409
2434
  }
2410
2435
  )
@@ -2541,7 +2566,7 @@ const yn = {
2541
2566
  builderComponents: !0,
2542
2567
  builderLinkComponent: !0
2543
2568
  }
2544
- }, ie = {
2569
+ }, ae = {
2545
2570
  "@type": "@builder.io/sdk:Element",
2546
2571
  responsiveStyles: {
2547
2572
  large: {
@@ -2589,7 +2614,7 @@ const yn = {
2589
2614
  name: "label",
2590
2615
  type: "uiBlocks",
2591
2616
  hideFromUI: !0,
2592
- defaultValue: [ie]
2617
+ defaultValue: [ae]
2593
2618
  }, {
2594
2619
  name: "content",
2595
2620
  type: "uiBlocks",
@@ -2598,7 +2623,7 @@ const yn = {
2598
2623
  }],
2599
2624
  defaultValue: [{
2600
2625
  label: [{
2601
- ...ie,
2626
+ ...ae,
2602
2627
  component: {
2603
2628
  name: "Text",
2604
2629
  options: {
@@ -2617,7 +2642,7 @@ const yn = {
2617
2642
  }]
2618
2643
  }, {
2619
2644
  label: [{
2620
- ...ie,
2645
+ ...ae,
2621
2646
  component: {
2622
2647
  name: "Text",
2623
2648
  options: {
@@ -2684,14 +2709,14 @@ const yn = {
2684
2709
  }
2685
2710
  };
2686
2711
  function xn(e) {
2687
- var a;
2712
+ var o;
2688
2713
  const [t, n] = E(
2689
2714
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
2690
2715
  );
2691
2716
  function i(r) {
2692
2717
  return e.tabs && e.tabs[r].content;
2693
2718
  }
2694
- function o(r) {
2719
+ function a(r) {
2695
2720
  r === t && e.collapsible ? n(-1) : n(r);
2696
2721
  }
2697
2722
  return /* @__PURE__ */ V("div", { children: [
@@ -2705,14 +2730,14 @@ function xn(e) {
2705
2730
  justifyContent: e.tabHeaderLayout || "flex-start",
2706
2731
  overflow: "auto"
2707
2732
  },
2708
- children: (a = e.tabs) == null ? void 0 : a.map((r, l) => /* @__PURE__ */ s(
2733
+ children: (o = e.tabs) == null ? void 0 : o.map((r, l) => /* @__PURE__ */ s(
2709
2734
  "span",
2710
2735
  {
2711
2736
  className: `builder-tab-wrap ${t === l ? "builder-tab-active" : ""}`,
2712
2737
  style: {
2713
2738
  ...t === l ? e.activeTabStyle : {}
2714
2739
  },
2715
- onClick: (u) => o(l),
2740
+ onClick: (u) => a(l),
2716
2741
  children: /* @__PURE__ */ s(
2717
2742
  D,
2718
2743
  {
@@ -2802,7 +2827,7 @@ const Cn = {
2802
2827
  }]
2803
2828
  };
2804
2829
  function Tn(e) {
2805
- const t = F(null), [n, i] = E(() => []), [o, a] = E(() => []);
2830
+ const t = F(null), [n, i] = E(() => []), [a, o] = E(() => []);
2806
2831
  return N(() => {
2807
2832
  var l;
2808
2833
  if (!((l = t.current) != null && l.getElementsByTagName) || typeof window == "undefined")
@@ -2821,10 +2846,10 @@ function Tn(e) {
2821
2846
  "application/javascript",
2822
2847
  "application/ecmascript"
2823
2848
  ].includes(c.type)) {
2824
- if (o.includes(c.innerText))
2849
+ if (a.includes(c.innerText))
2825
2850
  continue;
2826
2851
  try {
2827
- o.push(c.innerText), new Function(c.innerText)();
2852
+ a.push(c.innerText), new Function(c.innerText)();
2828
2853
  } catch (h) {
2829
2854
  console.warn("`CustomCode`: Error running script:", h);
2830
2855
  }
@@ -2856,7 +2881,7 @@ const wn = {
2856
2881
  }]
2857
2882
  }, In = ["text/javascript", "application/javascript", "application/ecmascript"], En = (e) => In.includes(e.type);
2858
2883
  function Rn(e) {
2859
- const t = F(null), [n, i] = E(() => []), [o, a] = E(() => []), [r, l] = E(() => !1);
2884
+ const t = F(null), [n, i] = E(() => []), [a, o] = E(() => []), [r, l] = E(() => !1);
2860
2885
  function u() {
2861
2886
  if (!t.current || !t.current.getElementsByTagName)
2862
2887
  return;
@@ -2865,13 +2890,13 @@ function Rn(e) {
2865
2890
  const g = c[h];
2866
2891
  if (g.src && !n.includes(g.src)) {
2867
2892
  n.push(g.src);
2868
- const f = document.createElement("script");
2869
- f.async = !0, f.src = g.src, document.head.appendChild(f);
2870
- } else if (En(g) && !o.includes(g.innerText))
2893
+ const d = document.createElement("script");
2894
+ d.async = !0, d.src = g.src, document.head.appendChild(d);
2895
+ } else if (En(g) && !a.includes(g.innerText))
2871
2896
  try {
2872
- o.push(g.innerText), new Function(g.innerText)();
2873
- } catch (f) {
2874
- console.warn("`Embed`: Error running script:", f);
2897
+ a.push(g.innerText), new Function(g.innerText)();
2898
+ } catch (d) {
2899
+ console.warn("`Embed`: Error running script:", d);
2875
2900
  }
2876
2901
  }
2877
2902
  }
@@ -3128,32 +3153,32 @@ const Pn = {
3128
3153
  return Vn.includes(e) ? e : "production";
3129
3154
  };
3130
3155
  function Nn(e) {
3131
- const t = F(null), [n, i] = E(() => "unsubmitted"), [o, a] = E(() => null), [r, l] = E(() => "");
3156
+ const t = F(null), [n, i] = E(() => "unsubmitted"), [a, o] = E(() => null), [r, l] = E(() => "");
3132
3157
  function u(g) {
3133
- var k, d;
3134
- const f = {
3158
+ var k, f;
3159
+ const d = {
3135
3160
  ...e.builderContext.rootState,
3136
3161
  ...g
3137
3162
  };
3138
- e.builderContext.rootSetState ? (d = (k = e.builderContext).rootSetState) == null || d.call(k, f) : e.builderContext.rootState = f;
3163
+ e.builderContext.rootSetState ? (f = (k = e.builderContext).rootSetState) == null || f.call(k, d) : e.builderContext.rootState = d;
3139
3164
  }
3140
3165
  function c() {
3141
3166
  return W() && e.previewState || n;
3142
3167
  }
3143
3168
  function h(g) {
3144
3169
  var k;
3145
- const f = e.sendWithJs || e.sendSubmissionsTo === "email";
3170
+ const d = e.sendWithJs || e.sendSubmissionsTo === "email";
3146
3171
  if (e.sendSubmissionsTo === "zapier")
3147
3172
  g.preventDefault();
3148
- else if (f) {
3173
+ else if (d) {
3149
3174
  if (!(e.action || e.sendSubmissionsTo === "email")) {
3150
3175
  g.preventDefault();
3151
3176
  return;
3152
3177
  }
3153
3178
  g.preventDefault();
3154
- const d = g.currentTarget || g.target, b = e.customHeaders || {};
3155
- let v;
3156
- const y = new FormData(d), x = Array.from(d.querySelectorAll("input,select,textarea")).filter((m) => !!m.name).map((m) => {
3179
+ const f = g.currentTarget || g.target, b = e.customHeaders || {};
3180
+ let x;
3181
+ const y = new FormData(f), S = Array.from(f.querySelectorAll("input,select,textarea")).filter((m) => !!m.name).map((m) => {
3157
3182
  let p;
3158
3183
  const C = m.name;
3159
3184
  if (m instanceof HTMLInputElement)
@@ -3178,25 +3203,25 @@ function Nn(e) {
3178
3203
  };
3179
3204
  });
3180
3205
  let T = e.contentType;
3181
- if (e.sendSubmissionsTo === "email" && (T = "multipart/form-data"), Array.from(x).forEach(({ value: m }) => {
3206
+ if (e.sendSubmissionsTo === "email" && (T = "multipart/form-data"), Array.from(S).forEach(({ value: m }) => {
3182
3207
  (m instanceof File || Array.isArray(m) && m[0] instanceof File || m instanceof FileList) && (T = "multipart/form-data");
3183
3208
  }), T !== "application/json")
3184
- v = y;
3209
+ x = y;
3185
3210
  else {
3186
3211
  const m = {};
3187
- Array.from(x).forEach(({ value: p, key: C }) => {
3212
+ Array.from(S).forEach(({ value: p, key: C }) => {
3188
3213
  We(m, C, p);
3189
- }), v = JSON.stringify(m);
3214
+ }), x = JSON.stringify(m);
3190
3215
  }
3191
- T && T !== "multipart/form-data" && (f && ((k = e.action) != null && k.includes("zapier.com")) || (b["content-type"] = T));
3192
- const P = new CustomEvent("presubmit", { detail: { body: v } });
3216
+ T && T !== "multipart/form-data" && (d && ((k = e.action) != null && k.includes("zapier.com")) || (b["content-type"] = T));
3217
+ const P = new CustomEvent("presubmit", { detail: { body: x } });
3193
3218
  if (t.current && (t.current.dispatchEvent(P), P.defaultPrevented))
3194
3219
  return;
3195
3220
  i("sending");
3196
3221
  const I = `${Bn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3197
3222
  e.sendSubmissionsToEmail || ""
3198
- )}&name=${encodeURIComponent(e.name || "")}`, S = e.sendSubmissionsTo === "email" ? I : e.action;
3199
- Ie(S), fetch(S, { body: v, headers: b, method: e.method || "post" }).then(
3223
+ )}&name=${encodeURIComponent(e.name || "")}`, v = e.sendSubmissionsTo === "email" ? I : e.action;
3224
+ Ie(v), fetch(v, { body: x, headers: b, method: e.method || "post" }).then(
3200
3225
  async (m) => {
3201
3226
  let p;
3202
3227
  const C = m.headers.get("content-type");
@@ -3204,7 +3229,7 @@ function Nn(e) {
3204
3229
  let w = Be(p, e.errorMessagePath);
3205
3230
  w && (typeof w != "string" && (w = JSON.stringify(w)), l(w), u({ formErrorMessage: w }));
3206
3231
  }
3207
- if (a(p), i(m.ok ? "success" : "error"), m.ok) {
3232
+ if (o(p), i(m.ok ? "success" : "error"), m.ok) {
3208
3233
  const w = new CustomEvent("submit:success", {
3209
3234
  detail: { res: m, body: p }
3210
3235
  });
@@ -3227,7 +3252,7 @@ function Nn(e) {
3227
3252
  const p = new CustomEvent("submit:error", {
3228
3253
  detail: { error: m }
3229
3254
  });
3230
- t.current && (t.current.dispatchEvent(p), p.defaultPrevented) || (a(m), i("error"));
3255
+ t.current && (t.current.dispatchEvent(p), p.defaultPrevented) || (o(m), i("error"));
3231
3256
  }
3232
3257
  );
3233
3258
  }
@@ -3262,7 +3287,7 @@ function Nn(e) {
3262
3287
  context: e.builderContext
3263
3288
  }
3264
3289
  ) : null,
3265
- c() === "error" && o ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-7acc3b46", children: JSON.stringify(o, null, 2) }) : null,
3290
+ c() === "error" && a ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-7acc3b46", children: JSON.stringify(a, null, 2) }) : null,
3266
3291
  c() === "success" ? /* @__PURE__ */ s(
3267
3292
  D,
3268
3293
  {
@@ -3492,7 +3517,7 @@ const _n = {
3492
3517
  name: "image",
3493
3518
  bubble: !0,
3494
3519
  type: "file",
3495
- allowedFileTypes: ue,
3520
+ allowedFileTypes: de,
3496
3521
  required: !0
3497
3522
  }],
3498
3523
  noWrap: !0,
@@ -3513,7 +3538,7 @@ function qn(e) {
3513
3538
  W() && e.imgSrc || "default-key"
3514
3539
  );
3515
3540
  }
3516
- const Hn = {
3541
+ const Mn = {
3517
3542
  name: "Video",
3518
3543
  canHaveChildren: !0,
3519
3544
  defaultStyles: {
@@ -3524,14 +3549,14 @@ const Hn = {
3524
3549
  inputs: [{
3525
3550
  name: "video",
3526
3551
  type: "file",
3527
- allowedFileTypes: an,
3552
+ allowedFileTypes: on,
3528
3553
  bubble: !0,
3529
3554
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
3530
3555
  required: !0
3531
3556
  }, {
3532
3557
  name: "posterImage",
3533
3558
  type: "file",
3534
- allowedFileTypes: ue,
3559
+ allowedFileTypes: de,
3535
3560
  helperText: "Image to show before the video plays"
3536
3561
  }, {
3537
3562
  name: "autoPlay",
@@ -3598,8 +3623,8 @@ const Hn = {
3598
3623
  builderBlock: !0
3599
3624
  }
3600
3625
  };
3601
- function Mn(e) {
3602
- var i, o, a, r, l, u, c;
3626
+ function Hn(e) {
3627
+ var i, a, o, r, l, u, c;
3603
3628
  function t() {
3604
3629
  return {
3605
3630
  ...e.autoPlay === !0 ? {
@@ -3655,7 +3680,7 @@ function Mn(e) {
3655
3680
  children: e.lazyLoad ? null : /* @__PURE__ */ s("source", { type: "video/mp4", src: e.video })
3656
3681
  }
3657
3682
  ),
3658
- e.aspectRatio && !(e.fitContent && ((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length)) ? /* @__PURE__ */ s(
3683
+ e.aspectRatio && !(e.fitContent && ((o = (a = e.builderBlock) == null ? void 0 : a.children) != null && o.length)) ? /* @__PURE__ */ s(
3659
3684
  "div",
3660
3685
  {
3661
3686
  style: {
@@ -3723,8 +3748,8 @@ const jn = () => [{
3723
3748
  component: qn,
3724
3749
  ..._n
3725
3750
  }, {
3726
- component: Mn,
3727
- ...Hn
3751
+ component: Hn,
3752
+ ...Mn
3728
3753
  }], Se = () => [{
3729
3754
  component: nt,
3730
3755
  ...tn
@@ -3733,7 +3758,7 @@ const jn = () => [{
3733
3758
  ...nn
3734
3759
  }, {
3735
3760
  component: Jt,
3736
- ...on
3761
+ ...an
3737
3762
  }, {
3738
3763
  component: Yt,
3739
3764
  ...rn
@@ -3848,7 +3873,7 @@ const jn = () => [{
3848
3873
  thisScriptEl?.remove();
3849
3874
  }
3850
3875
  return;
3851
- }`, Me = "builderIoAbTest", je = "builderIoRenderContent", z = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3876
+ }`, He = "builderIoAbTest", je = "builderIoRenderContent", z = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3852
3877
  ...t,
3853
3878
  testVariationId: t.id,
3854
3879
  id: e == null ? void 0 : e.id
@@ -3856,10 +3881,10 @@ const jn = () => [{
3856
3881
  canTrack: e,
3857
3882
  content: t
3858
3883
  }) => !(!(z(t).length > 0) || !e || $()), Gn = (e) => e === "react" || e === "reactNative", ze = Gn(O), Qn = () => `
3859
- window.${Me} = ${zn}
3884
+ window.${He} = ${zn}
3860
3885
  window.${je} = ${Kn}
3861
3886
  `, Yn = (e, t) => `
3862
- window.${Me}(
3887
+ window.${He}(
3863
3888
  "${t}",${JSON.stringify(e)}, ${ze}
3864
3889
  )`, Xn = ({
3865
3890
  contentId: e,
@@ -3888,9 +3913,9 @@ const Zn = (e, t, n = !0) => {
3888
3913
  event: e,
3889
3914
  target: t
3890
3915
  }) => {
3891
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = ke(i / n.width), r = ke(o / n.height);
3916
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, a = e.clientY - n.top, o = ke(i / n.width), r = ke(a / n.height);
3892
3917
  return {
3893
- x: a,
3918
+ x: o,
3894
3919
  y: r
3895
3920
  };
3896
3921
  }, ti = (e) => {
@@ -3910,10 +3935,10 @@ const Zn = (e, t, n = !0) => {
3910
3935
  }
3911
3936
  };
3912
3937
  }, ni = ["svelte", "qwik", "vue"], Te = () => ni.includes(O) && (W() || Y()), ii = (e) => {
3913
- var a, r;
3914
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
3915
- let o = "";
3916
- if (i && t && n && (o += `
3938
+ var o, r;
3939
+ const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (o = e == null ? void 0 : e.files) == null ? void 0 : o.regular;
3940
+ let a = "";
3941
+ if (i && t && n && (a += `
3917
3942
  @font-face {
3918
3943
  font-family: "${t}";
3919
3944
  src: local("${n}"), url('${i}') format('woff2');
@@ -3925,7 +3950,7 @@ font-weight: 400;
3925
3950
  if (!(String(Number(l)) === l))
3926
3951
  continue;
3927
3952
  const c = e.files[l];
3928
- c && c !== i && (o += `
3953
+ c && c !== i && (a += `
3929
3954
  @font-face {
3930
3955
  font-family: "${t}";
3931
3956
  src: url('${c}') format('woff2');
@@ -3934,13 +3959,13 @@ font-weight: ${l};
3934
3959
  }
3935
3960
  `.trim());
3936
3961
  }
3937
- return o;
3938
- }, oi = ({
3962
+ return a;
3963
+ }, ai = ({
3939
3964
  customFonts: e
3940
3965
  }) => {
3941
3966
  var t;
3942
3967
  return ((t = e == null ? void 0 : e.map((n) => ii(n))) == null ? void 0 : t.join(" ")) || "";
3943
- }, ai = ({
3968
+ }, oi = ({
3944
3969
  cssCode: e,
3945
3970
  contentId: t
3946
3971
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ri = `
@@ -3962,22 +3987,22 @@ font-weight: ${l};
3962
3987
  }
3963
3988
  `, li = (e) => e ? "" : ri, si = (e) => `variant-${e}`;
3964
3989
  function ci(e) {
3965
- var x, T, P;
3990
+ var S, T, P;
3966
3991
  const t = F(null);
3967
3992
  function n(I) {
3968
3993
  var m, p;
3969
- const S = {
3994
+ const v = {
3970
3995
  ...e.builderContextSignal.rootState,
3971
3996
  ...I
3972
3997
  };
3973
- e.builderContextSignal.rootSetState ? (p = (m = e.builderContextSignal).rootSetState) == null || p.call(m, S) : e.setBuilderContextSignal((C) => ({
3998
+ e.builderContextSignal.rootSetState ? (p = (m = e.builderContextSignal).rootSetState) == null || p.call(m, v) : e.setBuilderContextSignal((C) => ({
3974
3999
  ...C,
3975
- rootState: S
4000
+ rootState: v
3976
4001
  }));
3977
4002
  }
3978
4003
  function i(I) {
3979
4004
  var m, p, C, w, B;
3980
- const S = {
4005
+ const v = {
3981
4006
  ...e.builderContextSignal.content,
3982
4007
  ...I,
3983
4008
  data: {
@@ -3992,16 +4017,16 @@ function ci(e) {
3992
4017
  };
3993
4018
  e.setBuilderContextSignal((A) => ({
3994
4019
  ...A,
3995
- content: S
4020
+ content: v
3996
4021
  }));
3997
4022
  }
3998
- function o() {
4023
+ function a() {
3999
4024
  return e.showContent ? {} : {
4000
4025
  hidden: !0,
4001
4026
  "aria-hidden": !0
4002
4027
  };
4003
4028
  }
4004
- const [a, r] = E(
4029
+ const [o, r] = E(
4005
4030
  () => e.contentWrapper || "div"
4006
4031
  );
4007
4032
  function l(I) {
@@ -4009,54 +4034,54 @@ function ci(e) {
4009
4034
  model: e.model,
4010
4035
  trustedHosts: e.trustedHosts,
4011
4036
  callbacks: {
4012
- configureSdk: (S) => {
4037
+ configureSdk: (v) => {
4013
4038
  var C;
4014
- const { breakpoints: m, contentId: p } = S;
4039
+ const { breakpoints: m, contentId: p } = v;
4015
4040
  !p || p !== ((C = e.builderContextSignal.content) == null ? void 0 : C.id) || m && i({
4016
4041
  meta: {
4017
4042
  breakpoints: m
4018
4043
  }
4019
4044
  });
4020
4045
  },
4021
- animation: (S) => {
4022
- Fe(S);
4046
+ animation: (v) => {
4047
+ Fe(v);
4023
4048
  },
4024
- contentUpdate: (S) => {
4025
- i(S);
4049
+ contentUpdate: (v) => {
4050
+ i(v);
4026
4051
  }
4027
4052
  }
4028
4053
  })(I);
4029
4054
  }
4030
- const [u, c] = E(() => ({})), [h, g] = E(() => ({})), [f, k] = E(() => !1);
4031
- function d(I) {
4032
- var S, m;
4055
+ const [u, c] = E(() => ({})), [h, g] = E(() => ({})), [d, k] = E(() => !1);
4056
+ function f(I) {
4057
+ var v, m;
4033
4058
  if (e.builderContextSignal.content) {
4034
- const p = (S = e.builderContextSignal.content) == null ? void 0 : S.testVariationId, C = (m = e.builderContextSignal.content) == null ? void 0 : m.id;
4035
- me({
4059
+ const p = (v = e.builderContextSignal.content) == null ? void 0 : v.testVariationId, C = (m = e.builderContextSignal.content) == null ? void 0 : m.id;
4060
+ fe({
4036
4061
  apiHost: e.apiHost,
4037
4062
  type: "click",
4038
- canTrack: _(e.canTrack),
4063
+ canTrack: q(e.canTrack),
4039
4064
  contentId: C,
4040
4065
  apiKey: e.apiKey,
4041
4066
  variationId: p !== C ? p : void 0,
4042
4067
  ...ti(I),
4043
- unique: !f
4068
+ unique: !d
4044
4069
  });
4045
4070
  }
4046
- f || k(!0);
4071
+ d || k(!0);
4047
4072
  }
4048
4073
  function b() {
4049
- var S, m, p;
4050
- const I = (p = (m = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : m.httpRequests) != null ? p : {};
4074
+ var v, m, p;
4075
+ const I = (p = (m = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : m.httpRequests) != null ? p : {};
4051
4076
  Object.entries(I).forEach(([C, w]) => {
4052
4077
  if (!w || h[C] || u[C] && !W())
4053
4078
  return;
4054
4079
  h[C] = !0;
4055
4080
  const B = w.replace(
4056
4081
  /{{([^}]+)}}/g,
4057
- (A, M) => String(
4082
+ (A, j) => String(
4058
4083
  L({
4059
- code: M,
4084
+ code: j,
4060
4085
  context: e.context || {},
4061
4086
  localState: void 0,
4062
4087
  rootState: e.builderContextSignal.rootState,
@@ -4075,13 +4100,13 @@ function ci(e) {
4075
4100
  });
4076
4101
  });
4077
4102
  }
4078
- function v() {
4103
+ function x() {
4079
4104
  W() && window.dispatchEvent(
4080
4105
  new CustomEvent(
4081
4106
  "builder:component:stateChange",
4082
4107
  {
4083
4108
  detail: {
4084
- state: se(e.builderContextSignal.rootState),
4109
+ state: ce(e.builderContextSignal.rootState),
4085
4110
  ref: {
4086
4111
  name: e.model
4087
4112
  }
@@ -4091,8 +4116,8 @@ function ci(e) {
4091
4116
  );
4092
4117
  }
4093
4118
  const y = F(!1);
4094
- return y.current || (b(), v(), y.current = !0), N(() => {
4095
- var I, S, m;
4119
+ return y.current || (b(), x(), y.current = !0), N(() => {
4120
+ var I, v, m;
4096
4121
  if ($()) {
4097
4122
  if (W() && !e.isNestedRender && (window.addEventListener("message", l), Je(), Ge({
4098
4123
  ...e.locale ? {
@@ -4114,10 +4139,10 @@ function ci(e) {
4114
4139
  }
4115
4140
  }), window.addEventListener(
4116
4141
  "builder:component:stateChangeListenerActivated",
4117
- v
4118
- )), e.builderContextSignal.content && _(e.canTrack)) {
4119
- const C = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, w = (S = e.builderContextSignal.content) == null ? void 0 : S.id, B = e.apiKey;
4120
- me({
4142
+ x
4143
+ )), e.builderContextSignal.content && q(e.canTrack)) {
4144
+ const C = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, w = (v = e.builderContextSignal.content) == null ? void 0 : v.id, B = e.apiKey;
4145
+ fe({
4121
4146
  apiHost: e.apiHost,
4122
4147
  type: "impression",
4123
4148
  canTrack: !0,
@@ -4139,15 +4164,15 @@ function ci(e) {
4139
4164
  id: e.context.symbolId
4140
4165
  }
4141
4166
  } : {}
4142
- }).then((M) => {
4143
- M && i(M);
4167
+ }).then((j) => {
4168
+ j && i(j);
4144
4169
  });
4145
4170
  }
4146
4171
  }
4147
4172
  }, []), N(() => {
4148
4173
  e.content && i(e.content);
4149
4174
  }, [e.content]), N(() => {
4150
- v();
4175
+ x();
4151
4176
  }, [e.builderContextSignal.rootState]), N(() => {
4152
4177
  e.data && n(e.data);
4153
4178
  }, [e.data]), N(() => {
@@ -4157,14 +4182,14 @@ function ci(e) {
4157
4182
  }, [e.locale]), N(() => () => {
4158
4183
  $() && (window.removeEventListener("message", l), window.removeEventListener(
4159
4184
  "builder:component:stateChangeListenerActivated",
4160
- v
4185
+ x
4161
4186
  ));
4162
- }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Te() ? /* @__PURE__ */ s(
4163
- a,
4187
+ }, []), /* @__PURE__ */ s(se.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Te() ? /* @__PURE__ */ s(
4188
+ o,
4164
4189
  {
4165
4190
  ref: t,
4166
- onClick: (I) => d(I),
4167
- "builder-content-id": (x = e.builderContextSignal.content) == null ? void 0 : x.id,
4191
+ onClick: (I) => f(I),
4192
+ "builder-content-id": (S = e.builderContextSignal.content) == null ? void 0 : S.id,
4168
4193
  "builder-model": e.model,
4169
4194
  className: si(
4170
4195
  ((T = e.content) == null ? void 0 : T.testVariationId) || ((P = e.content) == null ? void 0 : P.id)
@@ -4172,7 +4197,7 @@ function ci(e) {
4172
4197
  style: {
4173
4198
  display: !e.builderContextSignal.content && Te() ? "none" : void 0
4174
4199
  },
4175
- ...o(),
4200
+ ...a(),
4176
4201
  ...e.contentWrapperProps,
4177
4202
  children: e.children
4178
4203
  }
@@ -4181,11 +4206,11 @@ function ci(e) {
4181
4206
  function ui(e) {
4182
4207
  const [t, n] = E(
4183
4208
  () => `
4184
- ${ai({
4209
+ ${oi({
4185
4210
  cssCode: e.cssCode,
4186
4211
  contentId: e.contentId
4187
4212
  })}
4188
- ${oi({
4213
+ ${ai({
4189
4214
  customFonts: e.customFonts
4190
4215
  })}
4191
4216
  ${li(e.isNestedRender)}
@@ -4205,13 +4230,13 @@ const di = ({
4205
4230
  data: t,
4206
4231
  locale: n
4207
4232
  }) => {
4208
- var a, r, l;
4209
- const i = {}, o = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
4233
+ var o, r, l;
4234
+ const i = {}, a = ((o = e == null ? void 0 : e.data) == null ? void 0 : o.state) || {};
4210
4235
  return (l = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || l.forEach((u) => {
4211
4236
  u.name && u.defaultValue !== void 0 && (i[u.name] = u.defaultValue);
4212
4237
  }), {
4213
4238
  ...i,
4214
- ...o,
4239
+ ...a,
4215
4240
  ...t,
4216
4241
  ...n ? {
4217
4242
  locale: n
@@ -4229,34 +4254,34 @@ const di = ({
4229
4254
  meta: e == null ? void 0 : e.meta
4230
4255
  } : void 0;
4231
4256
  function we(e) {
4232
- var c, h, g, f, k, d, b, v, y;
4257
+ var c, h, g, d, k, f, b, x, y;
4233
4258
  const [t, n] = E(
4234
4259
  () => {
4235
- var x, T;
4260
+ var S, T;
4236
4261
  return Xn({
4237
4262
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4238
- variationId: (x = e.content) == null ? void 0 : x.testVariationId,
4263
+ variationId: (S = e.content) == null ? void 0 : S.testVariationId,
4239
4264
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4240
4265
  contentId: (T = e.content) == null ? void 0 : T.id
4241
4266
  });
4242
4267
  }
4243
4268
  );
4244
- function i(x) {
4269
+ function i(S) {
4245
4270
  l((T) => ({
4246
4271
  ...T,
4247
- rootState: x
4272
+ rootState: S
4248
4273
  }));
4249
4274
  }
4250
- const [o, a] = E(
4275
+ const [a, o] = E(
4251
4276
  () => [
4252
4277
  ...Se(),
4253
4278
  ...e.customComponents || []
4254
4279
  ].reduce(
4255
- (x, { component: T, ...P }) => ({
4256
- ...x,
4280
+ (S, { component: T, ...P }) => ({
4281
+ ...S,
4257
4282
  [P.name]: {
4258
4283
  component: T,
4259
- ...fe(P)
4284
+ ...he(P)
4260
4285
  }
4261
4286
  }),
4262
4287
  {}
@@ -4281,9 +4306,9 @@ function we(e) {
4281
4306
  ...Se(),
4282
4307
  ...e.customComponents || []
4283
4308
  ].reduce(
4284
- (x, { component: T, ...P }) => ({
4285
- ...x,
4286
- [P.name]: fe(P)
4309
+ (S, { component: T, ...P }) => ({
4310
+ ...S,
4311
+ [P.name]: he(P)
4287
4312
  }),
4288
4313
  {}
4289
4314
  ),
@@ -4297,9 +4322,9 @@ function we(e) {
4297
4322
  e.apiKey || Q.error(
4298
4323
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4299
4324
  );
4300
- const x = (h = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : h.jsCode;
4301
- x && L({
4302
- code: x,
4325
+ const S = (h = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : h.jsCode;
4326
+ S && L({
4327
+ code: S,
4303
4328
  context: e.context || {},
4304
4329
  localState: void 0,
4305
4330
  rootState: r.rootState,
@@ -4313,7 +4338,7 @@ function we(e) {
4313
4338
  Ve.Provider,
4314
4339
  {
4315
4340
  value: {
4316
- registeredComponents: o
4341
+ registeredComponents: a
4317
4342
  },
4318
4343
  children: /* @__PURE__ */ V(
4319
4344
  ci,
@@ -4350,16 +4375,16 @@ function we(e) {
4350
4375
  nonce: e.nonce || "",
4351
4376
  isNestedRender: e.isNestedRender,
4352
4377
  contentId: (g = r.content) == null ? void 0 : g.id,
4353
- cssCode: (k = (f = r.content) == null ? void 0 : f.data) == null ? void 0 : k.cssCode,
4354
- customFonts: (b = (d = r.content) == null ? void 0 : d.data) == null ? void 0 : b.customFonts
4378
+ cssCode: (k = (d = r.content) == null ? void 0 : d.data) == null ? void 0 : k.cssCode,
4379
+ customFonts: (b = (f = r.content) == null ? void 0 : f.data) == null ? void 0 : b.customFonts
4355
4380
  }
4356
4381
  ),
4357
4382
  /* @__PURE__ */ s(
4358
4383
  D,
4359
4384
  {
4360
- blocks: (y = (v = r.content) == null ? void 0 : v.data) == null ? void 0 : y.blocks,
4385
+ blocks: (y = (x = r.content) == null ? void 0 : x.data) == null ? void 0 : y.blocks,
4361
4386
  context: r,
4362
- registeredComponents: o,
4387
+ registeredComponents: a,
4363
4388
  linkComponent: e.linkComponent
4364
4389
  }
4365
4390
  )
@@ -4373,7 +4398,7 @@ function fi(e) {
4373
4398
  var r;
4374
4399
  const [t, n] = E(
4375
4400
  () => Jn({
4376
- canTrack: _(e.canTrack),
4401
+ canTrack: q(e.canTrack),
4377
4402
  content: e.content
4378
4403
  })
4379
4404
  );
@@ -4387,17 +4412,17 @@ function fi(e) {
4387
4412
  ((l = e.content) == null ? void 0 : l.id) || ""
4388
4413
  );
4389
4414
  }
4390
- function o() {
4415
+ function a() {
4391
4416
  return z(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
4392
4417
  }
4393
- function a() {
4418
+ function o() {
4394
4419
  var l;
4395
4420
  return t ? {
4396
4421
  ...e.content,
4397
4422
  testVariationId: (l = e.content) == null ? void 0 : l.id
4398
4423
  } : Xe({
4399
4424
  item: e.content,
4400
- canTrack: _(e.canTrack)
4425
+ canTrack: q(e.canTrack)
4401
4426
  });
4402
4427
  }
4403
4428
  return N(() => {
@@ -4415,7 +4440,7 @@ function fi(e) {
4415
4440
  H,
4416
4441
  {
4417
4442
  id: "builderio-variants",
4418
- styles: o(),
4443
+ styles: a(),
4419
4444
  nonce: e.nonce || ""
4420
4445
  }
4421
4446
  ),
@@ -4461,7 +4486,7 @@ function fi(e) {
4461
4486
  apiHost: e.apiHost,
4462
4487
  nonce: e.nonce,
4463
4488
  isNestedRender: e.isNestedRender,
4464
- content: a(),
4489
+ content: o(),
4465
4490
  showContent: !0,
4466
4491
  model: e.model,
4467
4492
  data: e.data,
@@ -4511,24 +4536,24 @@ function gi(e) {
4511
4536
  return "div";
4512
4537
  }
4513
4538
  function i() {
4514
- var g, f;
4539
+ var g, d;
4515
4540
  return [
4516
- e.attributes[q()],
4541
+ e.attributes[M()],
4517
4542
  "builder-symbol",
4518
4543
  (g = e.symbol) != null && g.inline ? "builder-inline-symbol" : void 0,
4519
- (f = e.symbol) != null && f.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4544
+ (d = e.symbol) != null && d.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4520
4545
  ].filter(Boolean).join(" ");
4521
4546
  }
4522
- const [o, a] = E(() => {
4547
+ const [a, o] = E(() => {
4523
4548
  var g;
4524
4549
  return (g = e.symbol) == null ? void 0 : g.content;
4525
4550
  });
4526
4551
  function r() {
4527
- o || hi({
4552
+ a || hi({
4528
4553
  symbol: e.symbol,
4529
4554
  builderContextValue: e.builderContext
4530
4555
  }).then((g) => {
4531
- g && a(g);
4556
+ g && o(g);
4532
4557
  });
4533
4558
  }
4534
4559
  return N(() => {
@@ -4549,11 +4574,11 @@ function gi(e) {
4549
4574
  data: {
4550
4575
  ...(u = e.symbol) == null ? void 0 : u.data,
4551
4576
  ...e.builderContext.localState,
4552
- ...(c = o == null ? void 0 : o.data) == null ? void 0 : c.state
4577
+ ...(c = a == null ? void 0 : a.data) == null ? void 0 : c.state
4553
4578
  },
4554
4579
  canTrack: e.builderContext.canTrack,
4555
4580
  model: (h = e.symbol) == null ? void 0 : h.model,
4556
- content: o,
4581
+ content: a,
4557
4582
  linkComponent: e.builderLinkComponent,
4558
4583
  blocksWrapper: t(),
4559
4584
  contentWrapper: n()
@@ -4562,7 +4587,7 @@ function gi(e) {
4562
4587
  }
4563
4588
  export {
4564
4589
  D as Blocks,
4565
- le as BuilderContext,
4590
+ se as BuilderContext,
4566
4591
  nt as Button,
4567
4592
  Kt as Columns,
4568
4593
  fi as Content,
@@ -4571,6 +4596,6 @@ export {
4571
4596
  Xt as Section,
4572
4597
  gi as Symbol,
4573
4598
  kn as Text,
4574
- Mn as Video,
4599
+ Hn as Video,
4575
4600
  Si as setClientUserAttributes
4576
4601
  };