@builder.io/sdk-react 2.0.31 → 3.0.1

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 (79) hide show
  1. package/lib/browser/blocks-exports.cjs +31 -31
  2. package/lib/browser/blocks-exports.mjs +743 -696
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-77f4513c.js → server-entry-017b8439.js} +24 -26
  6. package/lib/browser/server-entry-9f80066e.cjs +2 -0
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-d1213549.js → accordion-1572cb0d.js} +1 -1
  10. package/lib/edge/{accordion-696fad97.cjs → accordion-decb24cf.cjs} +1 -1
  11. package/lib/edge/{blocks-9ef79098.js → blocks-9c35be74.js} +314 -268
  12. package/lib/edge/blocks-d3823063.cjs +12 -0
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +8 -7
  15. package/lib/edge/{button-b41f1129.js → button-0709893d.js} +2 -2
  16. package/lib/edge/{button-2ed05d22.cjs → button-cf66cf8d.cjs} +1 -1
  17. package/lib/edge/{columns-ca9ac444.cjs → columns-2fdf0656.cjs} +1 -1
  18. package/lib/edge/{columns-5f8497fb.js → columns-e234acc6.js} +4 -4
  19. package/lib/edge/{content-variants-9c4db669.js → content-variants-3ab9230f.js} +323 -323
  20. package/lib/edge/content-variants-616a6c0f.cjs +134 -0
  21. package/lib/edge/{evaluate-8453ffc0.cjs → evaluate-ccf1ad96.cjs} +1 -1
  22. package/lib/edge/{evaluate-f626f584.js → evaluate-f0b82ede.js} +1 -1
  23. package/lib/edge/{form-a5407307.js → form-27bcc23a.js} +4 -4
  24. package/lib/edge/{form-b0c5418b.cjs → form-7c61693d.cjs} +1 -1
  25. package/lib/edge/{get-class-prop-name-86f0330a.cjs → get-class-prop-name-0b3d48a4.cjs} +1 -1
  26. package/lib/edge/{get-class-prop-name-40d6defb.js → get-class-prop-name-a3bd113c.js} +1 -1
  27. package/lib/edge/{image-6970c193.js → image-5c9e156f.js} +28 -28
  28. package/lib/edge/image-94922c87.cjs +17 -0
  29. package/lib/edge/{img-fa36f926.js → img-80be6914.js} +1 -1
  30. package/lib/edge/{img-83ed868e.cjs → img-e0c8f7f9.cjs} +1 -1
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/edge/{input-93e42e28.js → input-920922d5.js} +1 -1
  34. package/lib/edge/{input-3106b577.cjs → input-f5ba6b1e.cjs} +1 -1
  35. package/lib/edge/{select-29495824.cjs → select-2ced1aca.cjs} +1 -1
  36. package/lib/edge/{select-4cf4356a.js → select-673864b7.js} +1 -1
  37. package/lib/edge/{server-entry-ea35faa6.js → server-entry-6c0047ea.js} +24 -26
  38. package/lib/edge/server-entry-de142ee8.cjs +2 -0
  39. package/lib/edge/server-entry.cjs +1 -1
  40. package/lib/edge/server-entry.mjs +1 -1
  41. package/lib/edge/{slot-6ad4152e.js → slot-68f2b177.js} +4 -4
  42. package/lib/edge/{slot-c8ab71b6.cjs → slot-cc8b4e5b.cjs} +1 -1
  43. package/lib/edge/{symbol-d2b48e54.js → symbol-7e260a70.js} +2 -2
  44. package/lib/edge/{symbol-74313a4b.cjs → symbol-ded9dba9.cjs} +1 -1
  45. package/lib/edge/{tabs-6d924c90.js → tabs-5156494d.js} +4 -4
  46. package/lib/edge/{tabs-f699b318.cjs → tabs-d422921f.cjs} +1 -1
  47. package/lib/edge/{text-7137a306.js → text-27a917c0.js} +2 -2
  48. package/lib/edge/{text-7120ee0c.cjs → text-5796f488.cjs} +1 -1
  49. package/lib/node/blocks-exports.cjs +30 -30
  50. package/lib/node/blocks-exports.mjs +710 -663
  51. package/lib/node/index.cjs +1 -1
  52. package/lib/node/index.mjs +3 -3
  53. package/lib/node/init.cjs +1 -1
  54. package/lib/node/init.mjs +3 -3
  55. package/lib/node/server-entry-e91e06a3.cjs +2 -0
  56. package/lib/node/{server-entry-32ef60c0.js → server-entry-fdedc1aa.js} +24 -26
  57. package/lib/node/server-entry.cjs +1 -1
  58. package/lib/node/server-entry.mjs +1 -1
  59. package/lib/node/{setIvm-26e65816.js → setIvm-8b303d4e.js} +1 -1
  60. package/lib/node/{setIvm-bf1ad328.cjs → setIvm-aba1bed8.cjs} +1 -1
  61. package/lib/node/setIvm.cjs +1 -1
  62. package/lib/node/setIvm.mjs +2 -2
  63. package/lib/node/{should-force-browser-runtime-in-node-343fd6c7.js → should-force-browser-runtime-in-node-0a037bde.js} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-000957e3.cjs → should-force-browser-runtime-in-node-491a9b55.cjs} +1 -1
  65. package/package.json +1 -1
  66. package/types/components/block/block.helpers.d.ts +6 -3
  67. package/types/components/content/components/enable-editor.helpers.d.ts +11 -0
  68. package/types/constants/file-types.d.ts +2 -0
  69. package/types/constants/sdk-version.d.ts +1 -1
  70. package/types/context/types.d.ts +1 -0
  71. package/types/functions/extract-localized-values.d.ts +2 -0
  72. package/types/functions/traverse.d.ts +34 -0
  73. package/types/types/components.d.ts +3 -0
  74. package/lib/browser/server-entry-d7a13b14.cjs +0 -2
  75. package/lib/edge/blocks-aa67fee8.cjs +0 -12
  76. package/lib/edge/content-variants-2f5a6ccd.cjs +0 -134
  77. package/lib/edge/image-54d2f755.cjs +0 -17
  78. package/lib/edge/server-entry-4cd5389e.cjs +0 -2
  79. package/lib/node/server-entry-9c026e49.cjs +0 -2
@@ -1,29 +1,70 @@
1
- import { jsx as i, Fragment as h, jsxs as R } from "react/jsx-runtime";
2
- import { createContext as V, useEffect as b, useState as O, useRef as Z, useContext as $ } from "react";
1
+ import { jsx as c, Fragment as h, jsxs as R } from "react/jsx-runtime";
2
+ import { createContext as J, useEffect as B, useState as W, useRef as Q, useContext as T } from "react";
3
3
  import { BuilderContext as _ } from "./blocks-exports.mjs";
4
- import { TARGET as v, checkIsDefined as A, isPreviewing as q, isEditing as T } from "./server-entry-ea35faa6.js";
5
- import { evaluate as W } from "./evaluate-f626f584.js";
6
- import { getClassPropName as J } from "./get-class-prop-name-40d6defb.js";
7
- import { DynamicRenderer as Q } from "./dynamic-renderer-8b343325.js";
8
- const G = V({ registeredComponents: {} });
9
- function X(e) {
4
+ import { TARGET as b, checkIsDefined as A, isPreviewing as G, isEditing as L } from "./server-entry-6c0047ea.js";
5
+ import { evaluate as E } from "./evaluate-f0b82ede.js";
6
+ import { getClassPropName as X } from "./get-class-prop-name-a3bd113c.js";
7
+ import { DynamicRenderer as Y } from "./dynamic-renderer-8b343325.js";
8
+ const ee = J({ registeredComponents: {} });
9
+ function te(e) {
10
10
  var t;
11
11
  return {
12
12
  ...(t = e.component) == null ? void 0 : t.options,
13
13
  ...e.options
14
14
  };
15
15
  }
16
- function Y(e, ...t) {
16
+ function ne(e, ...t) {
17
17
  const n = Object.assign({}, e);
18
18
  for (const r of t)
19
19
  delete n[r];
20
20
  return n;
21
21
  }
22
- const H = (e) => JSON.parse(JSON.stringify(e)), ee = (e, t, n) => {
22
+ function v(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
23
+ if (e == null || typeof e != "object") {
24
+ t(e, (i) => {
25
+ n !== null && r !== null && (n[r] = i);
26
+ });
27
+ return;
28
+ }
29
+ o.has(e) || (o.add(e), Array.isArray(e) ? e.forEach((i, s) => {
30
+ t(i, (d) => {
31
+ e[s] = d;
32
+ }), v(i, t, e, s, o);
33
+ }) : Object.entries(e).forEach(([i, s]) => {
34
+ t(s, (d) => {
35
+ e[i] = d;
36
+ }), v(s, t, e, i, o);
37
+ }));
38
+ }
39
+ function H(e) {
40
+ return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
41
+ }
42
+ function oe(e) {
43
+ if (!e || !Object.getOwnPropertyNames(e).length)
44
+ return !1;
45
+ let t = !1;
46
+ return v(e, (n) => {
47
+ if (H(n)) {
48
+ t = !0;
49
+ return;
50
+ }
51
+ }), t;
52
+ }
53
+ function re(e, t) {
54
+ return !e || !Object.getOwnPropertyNames(e).length ? {} : (v(e, (n, r) => {
55
+ var o;
56
+ H(n) && r((o = n[t]) != null ? o : void 0);
57
+ }), e);
58
+ }
59
+ function ie(e, t) {
60
+ var n, r;
61
+ return (n = e.component) != null && n.options && oe((r = e.component) == null ? void 0 : r.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 = re(e.component.options, t != null ? t : "Default")), e;
62
+ }
63
+ const U = (e) => JSON.parse(JSON.stringify(e)), se = (e, t, n) => {
23
64
  if (Object(e) !== e)
24
65
  return e;
25
66
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
26
- return r.slice(0, -1).reduce((o, s, l) => Object(o[s]) === o[s] ? o[s] : o[s] = Math.abs(Number(r[l + 1])) >> 0 === +r[l + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
67
+ return r.slice(0, -1).reduce((o, i, s) => Object(o[i]) === o[i] ? o[i] : o[i] = Math.abs(Number(r[s + 1])) >> 0 === +r[s + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
27
68
  };
28
69
  function I(e) {
29
70
  if (e === null || typeof e != "object")
@@ -37,9 +78,9 @@ function I(e) {
37
78
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = I(e[n]));
38
79
  return t;
39
80
  }
40
- const te = ["svelte", "vue", "angular", "qwik", "solid"].includes(v), ne = (e) => {
41
- if (te) {
42
- const t = H(e);
81
+ const le = ["svelte", "vue", "angular", "qwik", "solid"].includes(b), ce = (e) => {
82
+ if (le) {
83
+ const t = U(e);
43
84
  return {
44
85
  ...t,
45
86
  properties: {
@@ -50,7 +91,7 @@ const te = ["svelte", "vue", "angular", "qwik", "solid"].includes(v), ne = (e) =
50
91
  }
51
92
  };
52
93
  } else {
53
- const t = I(Y(e, "children", "meta"));
94
+ const t = I(ne(e, "children", "meta"));
54
95
  return {
55
96
  ...t,
56
97
  properties: {
@@ -63,7 +104,7 @@ const te = ["svelte", "vue", "angular", "qwik", "solid"].includes(v), ne = (e) =
63
104
  meta: e.meta
64
105
  };
65
106
  }
66
- }, oe = ({
107
+ }, ae = ({
67
108
  block: e,
68
109
  context: t,
69
110
  localState: n,
@@ -72,47 +113,47 @@ const te = ["svelte", "vue", "angular", "qwik", "solid"].includes(v), ne = (e) =
72
113
  }) => {
73
114
  if (!e.bindings)
74
115
  return e;
75
- const s = ne(e);
76
- for (const l in e.bindings) {
77
- const u = e.bindings[l], f = W({
116
+ const i = ce(e);
117
+ for (const s in e.bindings) {
118
+ const u = e.bindings[s], d = E({
78
119
  code: u,
79
120
  localState: n,
80
121
  rootState: r,
81
122
  rootSetState: o,
82
123
  context: t
83
124
  });
84
- ee(s, l, f);
125
+ se(i, s, d);
85
126
  }
86
- return s;
127
+ return i;
87
128
  };
88
- function re({
129
+ function ue({
89
130
  block: e,
90
131
  context: t,
91
132
  shouldEvaluateBindings: n,
92
133
  localState: r,
93
134
  rootState: o,
94
- rootSetState: s
135
+ rootSetState: i
95
136
  }) {
96
- const l = e;
97
- return n ? oe({
98
- block: l,
137
+ let s = ie(e, o.locale);
138
+ return s = s, n ? ae({
139
+ block: s,
99
140
  localState: r,
100
141
  rootState: o,
101
- rootSetState: s,
142
+ rootSetState: i,
102
143
  context: t
103
- }) : l;
144
+ }) : s;
104
145
  }
105
- const B = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
106
- function se(e, t, n = {}) {
107
- let r, o, s, l = null, u = 0;
108
- const f = function() {
109
- u = n.leading === !1 ? 0 : Date.now(), l = null, s = e.apply(r, o), l || (r = o = null);
146
+ const P = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
147
+ function de(e, t, n = {}) {
148
+ let r, o, i, s = null, u = 0;
149
+ const d = function() {
150
+ u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
110
151
  };
111
152
  return function() {
112
153
  const a = Date.now();
113
154
  !u && n.leading === !1 && (u = a);
114
155
  const m = t - (a - u);
115
- return r = this, o = arguments, m <= 0 || m > t ? (l && (clearTimeout(l), l = null), u = a, s = e.apply(r, o), l || (r = o = null)) : !l && n.trailing !== !1 && (l = setTimeout(f, m)), s;
156
+ return r = this, o = arguments, m <= 0 || m > t ? (s && (clearTimeout(s), s = null), u = a, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(d, m)), i;
116
157
  };
117
158
  }
118
159
  function C(e, ...t) {
@@ -120,123 +161,123 @@ function C(e, ...t) {
120
161
  for (let r = 1; r < arguments.length; r++) {
121
162
  const o = arguments[r];
122
163
  if (o != null)
123
- for (const s in o)
124
- Object.prototype.hasOwnProperty.call(o, s) && (n[s] = o[s]);
164
+ for (const i in o)
165
+ Object.prototype.hasOwnProperty.call(o, i) && (n[i] = o[i]);
125
166
  }
126
167
  return n;
127
168
  }
128
- function le(e) {
169
+ function fe(e) {
129
170
  for (const t of e)
130
171
  switch (t.trigger) {
131
172
  case "pageLoad":
132
- ie(t);
173
+ he(t);
133
174
  break;
134
175
  case "scrollInView":
135
- ae(t);
176
+ pe(t);
136
177
  break;
137
178
  }
138
179
  }
139
- function U(e) {
180
+ function V(e) {
140
181
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
141
182
  }
142
183
  function j(e, t) {
143
- const n = ce(e), r = getComputedStyle(t), o = e.steps[0].styles, s = e.steps[e.steps.length - 1].styles, l = [o, s];
144
- for (const u of l)
145
- for (const f of n)
146
- f in u || (u[f] = r[f]);
184
+ const n = me(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
185
+ for (const u of s)
186
+ for (const d of n)
187
+ d in u || (u[d] = r[d]);
147
188
  }
148
- function ce(e) {
189
+ function me(e) {
149
190
  const t = [];
150
191
  for (const n of e.steps)
151
192
  for (const r in n.styles)
152
193
  t.indexOf(r) === -1 && t.push(r);
153
194
  return t;
154
195
  }
155
- function ie(e) {
196
+ function he(e) {
156
197
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
157
198
  if (!t.length) {
158
- U(e.elementId || e.id || "");
199
+ V(e.elementId || e.id || "");
159
200
  return;
160
201
  }
161
202
  Array.from(t).forEach((n) => {
162
203
  j(e, n), n.style.transition = "none", n.style.transitionDelay = "0", C(n.style, e.steps[0].styles), setTimeout(() => {
163
- n.style.transition = `all ${e.duration}s ${B(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), C(n.style, e.steps[1].styles), setTimeout(() => {
204
+ n.style.transition = `all ${e.duration}s ${P(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), C(n.style, e.steps[1].styles), setTimeout(() => {
164
205
  n.style.transition = "", n.style.transitionDelay = "";
165
206
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
166
207
  });
167
208
  });
168
209
  }
169
- function ae(e) {
210
+ function pe(e) {
170
211
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
171
212
  if (!t.length) {
172
- U(e.elementId || e.id || "");
213
+ V(e.elementId || e.id || "");
173
214
  return;
174
215
  }
175
216
  Array.from(t).forEach((n) => {
176
217
  j(e, n);
177
218
  let r = !1, o = !1;
178
- function s() {
219
+ function i() {
179
220
  !r && u(n) ? (r = !0, o = !0, setTimeout(() => {
180
- C(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", l), setTimeout(() => {
221
+ C(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
181
222
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
182
223
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
183
224
  })) : e.repeat && r && !o && !u(n) && (r = !1, C(n.style, e.steps[0].styles));
184
225
  }
185
- const l = se(s, 200, {
226
+ const s = de(i, 200, {
186
227
  leading: !1
187
228
  });
188
229
  function u(m) {
189
- const g = m.getBoundingClientRect(), k = window.innerHeight, c = (e.thresholdPercent || 0) / 100 * k;
190
- return g.bottom > c && g.top < k - c;
230
+ const g = m.getBoundingClientRect(), k = window.innerHeight, l = (e.thresholdPercent || 0) / 100 * k;
231
+ return g.bottom > l && g.top < k - l;
191
232
  }
192
- const f = e.steps[0].styles;
233
+ const d = e.steps[0].styles;
193
234
  function a() {
194
- C(n.style, f);
235
+ C(n.style, d);
195
236
  }
196
237
  a(), setTimeout(() => {
197
- n.style.transition = `all ${e.duration}s ${B(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
198
- }), document.addEventListener("scroll", l, {
238
+ n.style.transition = `all ${e.duration}s ${P(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
239
+ }), document.addEventListener("scroll", s, {
199
240
  capture: !0,
200
241
  passive: !0
201
- }), s();
242
+ }), i();
202
243
  });
203
244
  }
204
- const z = (e) => Object.entries(e).map(([n, r]) => {
245
+ const F = (e) => Object.entries(e).map(([n, r]) => {
205
246
  if (typeof r == "string")
206
- return `${B(n)}: ${r};`;
207
- }).filter(A), ue = (e) => z(e).join(`
247
+ return `${P(n)}: ${r};`;
248
+ }).filter(A), ye = (e) => F(e).join(`
208
249
  `), x = ({
209
250
  mediaQuery: e,
210
251
  className: t,
211
252
  styles: n
212
253
  }) => {
213
254
  const r = `.${t} {
214
- ${ue(n)}
255
+ ${ye(n)}
215
256
  }`;
216
257
  return e ? `${e} {
217
258
  ${r}
218
259
  }` : r;
219
260
  };
220
- function de({
261
+ function ge({
221
262
  style: e
222
263
  }) {
223
264
  return e;
224
265
  }
225
- const fe = ({
266
+ const ke = ({
226
267
  block: e,
227
268
  context: t
228
- }) => me(de({
269
+ }) => Se(ge({
229
270
  style: e.style || {},
230
271
  context: t,
231
272
  block: e
232
273
  }));
233
- function me(e) {
234
- switch (v) {
274
+ function Se(e) {
275
+ switch (b) {
235
276
  case "svelte":
236
277
  case "vue":
237
278
  case "solid":
238
279
  case "angular":
239
- return z(e).join(" ");
280
+ return F(e).join(" ");
240
281
  case "qwik":
241
282
  case "reactNative":
242
283
  case "react":
@@ -244,21 +285,24 @@ function me(e) {
244
285
  return e;
245
286
  }
246
287
  }
247
- const he = ({
288
+ const K = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Ce = ({
248
289
  block: e,
249
- registeredComponents: t
290
+ registeredComponents: t,
291
+ model: n
250
292
  }) => {
251
- var o;
252
- const n = (o = e.component) == null ? void 0 : o.name;
253
- if (!n)
293
+ var i;
294
+ const r = (i = e.component) == null ? void 0 : i.name;
295
+ if (!r)
254
296
  return null;
255
- const r = t[n];
256
- if (r)
257
- return r;
258
- console.warn(`
259
- Could not find a registered component named "${n}".
297
+ const o = t[r];
298
+ if (!o || K(o, n)) {
299
+ console.warn(`
300
+ Could not find a registered component named "${r}".
260
301
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
261
- }, pe = ({
302
+ return;
303
+ } else
304
+ return o;
305
+ }, xe = ({
262
306
  block: e,
263
307
  context: t
264
308
  }) => {
@@ -268,7 +312,7 @@ const he = ({
268
312
  } = e;
269
313
  if (!(n != null && n.collection))
270
314
  return;
271
- const o = W({
315
+ const o = E({
272
316
  code: n.collection,
273
317
  localState: t.localState,
274
318
  rootState: t.rootState,
@@ -277,41 +321,41 @@ const he = ({
277
321
  });
278
322
  if (!Array.isArray(o))
279
323
  return;
280
- const s = n.collection.split(".").pop(), l = n.itemName || (s ? s + "Item" : "item");
281
- return o.map((f, a) => ({
324
+ const i = n.collection.split(".").pop(), s = n.itemName || (i ? i + "Item" : "item");
325
+ return o.map((d, a) => ({
282
326
  context: {
283
327
  ...t,
284
328
  localState: {
285
329
  ...t.localState,
286
330
  $index: a,
287
- $item: f,
288
- [l]: f,
289
- [`$${l}Index`]: a
331
+ $item: d,
332
+ [s]: d,
333
+ [`$${s}Index`]: a
290
334
  }
291
335
  },
292
336
  block: r
293
337
  }));
294
- }, ye = (e, t) => {
338
+ }, Be = (e, t) => {
295
339
  var n;
296
340
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
297
341
  builderLinkComponent: t
298
342
  } : {};
299
- }, ge = (e, t) => {
300
- var n;
301
- return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
302
- builderComponents: t
343
+ }, ve = (e, t, n) => {
344
+ var r;
345
+ return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderComponents ? {
346
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !K(s, n)))
303
347
  } : {};
304
- }, ke = (e, t) => {
348
+ }, be = (e, t) => {
305
349
  var n;
306
350
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
307
351
  builderBlock: t
308
352
  } : {};
309
- }, Se = (e, t) => {
353
+ }, Pe = (e, t) => {
310
354
  var n;
311
355
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
312
356
  builderContext: t
313
357
  } : {};
314
- }, K = {
358
+ }, Z = {
315
359
  small: {
316
360
  min: 320,
317
361
  default: 321,
@@ -327,11 +371,11 @@ const he = ({
327
371
  default: 991,
328
372
  max: 1200
329
373
  }
330
- }, D = (e, t = K) => `@media (max-width: ${t[e].max}px)`, Ce = ({
374
+ }, z = (e, t = Z) => `@media (max-width: ${t[e].max}px)`, we = ({
331
375
  small: e,
332
376
  medium: t
333
377
  }) => {
334
- const n = H(K);
378
+ const n = U(Z);
335
379
  if (!e || !t)
336
380
  return n;
337
381
  const r = Math.floor(e / 2);
@@ -346,16 +390,16 @@ const he = ({
346
390
  min: o,
347
391
  default: o + 1
348
392
  };
349
- const s = n.medium.max + 1;
393
+ const i = n.medium.max + 1;
350
394
  return n.large = {
351
395
  max: 2e3,
352
396
  // TODO: decide upper limit
353
- min: s,
354
- default: s + 1
397
+ min: i,
398
+ default: i + 1
355
399
  }, n;
356
400
  };
357
- function xe(e) {
358
- return /* @__PURE__ */ i(
401
+ function Oe(e) {
402
+ return /* @__PURE__ */ c(
359
403
  "style",
360
404
  {
361
405
  dangerouslySetInnerHTML: { __html: e.styles },
@@ -364,47 +408,47 @@ function xe(e) {
364
408
  }
365
409
  );
366
410
  }
367
- function be(e) {
411
+ function Re(e) {
368
412
  function t() {
369
413
  const r = e.block;
370
414
  return A(r.hide) ? !r.hide : A(r.show) ? r.show : !0;
371
415
  }
372
416
  function n() {
373
- var p, y, N;
374
- const r = e.block, o = r.responsiveStyles, s = e.context.content, l = Ce(
375
- ((p = s == null ? void 0 : s.meta) == null ? void 0 : p.breakpoints) || {}
376
- ), u = o == null ? void 0 : o.large, f = o == null ? void 0 : o.medium, a = o == null ? void 0 : o.small, m = r.id;
417
+ var p, y, $;
418
+ const r = e.block, o = r.responsiveStyles, i = e.context.content, s = we(
419
+ ((p = i == null ? void 0 : i.meta) == null ? void 0 : p.breakpoints) || {}
420
+ ), u = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, a = o == null ? void 0 : o.small, m = r.id;
377
421
  if (!m)
378
422
  return "";
379
423
  const g = u ? x({
380
424
  className: m,
381
425
  styles: u
382
- }) : "", k = f ? x({
426
+ }) : "", k = d ? x({
383
427
  className: m,
384
- styles: f,
385
- mediaQuery: D(
428
+ styles: d,
429
+ mediaQuery: z(
386
430
  "medium",
387
- l
431
+ s
388
432
  )
389
433
  }) : "", S = a ? x({
390
434
  className: m,
391
435
  styles: a,
392
- mediaQuery: D(
436
+ mediaQuery: z(
393
437
  "small",
394
- l
438
+ s
395
439
  )
396
- }) : "", c = r.animations && r.animations.find((w) => w.trigger === "hover");
397
- let d = "";
398
- if (c) {
399
- const w = ((N = (y = c.steps) == null ? void 0 : y[1]) == null ? void 0 : N.styles) || {};
400
- d = x({
440
+ }) : "", l = r.animations && r.animations.find((O) => O.trigger === "hover");
441
+ let f = "";
442
+ if (l) {
443
+ const O = (($ = (y = l.steps) == null ? void 0 : y[1]) == null ? void 0 : $.styles) || {};
444
+ f = x({
401
445
  className: `${m}:hover`,
402
446
  styles: {
403
- ...w,
404
- transition: `all ${c.duration}s ${B(
405
- c.easing
447
+ ...O,
448
+ transition: `all ${l.duration}s ${P(
449
+ l.easing
406
450
  )}`,
407
- transitionDelay: c.delay ? `${c.delay}s` : "0s"
451
+ transitionDelay: l.delay ? `${l.delay}s` : "0s"
408
452
  }
409
453
  }) || "";
410
454
  }
@@ -412,11 +456,11 @@ function be(e) {
412
456
  g,
413
457
  k,
414
458
  S,
415
- d
459
+ f
416
460
  ].join(" ");
417
461
  }
418
- return /* @__PURE__ */ i(h, { children: n() && t() ? /* @__PURE__ */ i(h, { children: /* @__PURE__ */ i(
419
- xe,
462
+ return /* @__PURE__ */ c(h, { children: n() && t() ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
463
+ Oe,
420
464
  {
421
465
  id: "builderio-block",
422
466
  styles: n(),
@@ -424,10 +468,10 @@ function be(e) {
424
468
  }
425
469
  ) }) : null });
426
470
  }
427
- function ve(e) {
471
+ function Ae(e) {
428
472
  return e.charAt(0).toUpperCase() + e.slice(1);
429
473
  }
430
- const Be = (e) => `on${ve(e)}`, Pe = (e, t) => (n) => W({
474
+ const Ie = (e) => `on${Ae(e)}`, We = (e, t) => (n) => E({
431
475
  code: e,
432
476
  context: t.context,
433
477
  localState: t.localState,
@@ -436,66 +480,66 @@ const Be = (e) => `on${ve(e)}`, Pe = (e, t) => (n) => W({
436
480
  event: n,
437
481
  isExpression: !1
438
482
  });
439
- function F(e) {
483
+ function q(e) {
440
484
  var r;
441
485
  const t = {}, n = (r = e.block.actions) != null ? r : {};
442
486
  for (const o in n) {
443
487
  if (!n.hasOwnProperty(o))
444
488
  continue;
445
- const s = n[o];
446
- let l = Be(o);
489
+ const i = n[o];
490
+ let s = Ie(o);
447
491
  if (e.stripPrefix)
448
- switch (v) {
492
+ switch (b) {
449
493
  case "vue":
450
- l = l.replace("v-on:", "");
494
+ s = s.replace("v-on:", "");
451
495
  break;
452
496
  case "svelte":
453
- l = l.replace("on:", "");
497
+ s = s.replace("on:", "");
454
498
  break;
455
499
  }
456
- t[l] = Pe(s, e);
500
+ t[s] = We(i, e);
457
501
  }
458
502
  return t;
459
503
  }
460
- function we({
504
+ function Ee({
461
505
  properties: e
462
506
  }) {
463
507
  return e;
464
508
  }
465
- const Re = (e) => ({
509
+ const Ne = (e) => ({
466
510
  href: e.href
467
511
  });
468
- function E({
512
+ function N({
469
513
  block: e,
470
514
  context: t
471
515
  }) {
472
516
  var r;
473
517
  const n = {
474
- ...Re(e),
518
+ ...Ne(e),
475
519
  ...e.properties,
476
520
  "builder-id": e.id,
477
- style: fe({
521
+ style: ke({
478
522
  block: e,
479
523
  context: t
480
524
  }),
481
- [J()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
525
+ [X()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
482
526
  };
483
- return we({
527
+ return Ee({
484
528
  properties: n,
485
529
  context: t,
486
530
  block: e
487
531
  });
488
532
  }
489
- function Ae(e) {
490
- return /* @__PURE__ */ i(
491
- Q,
533
+ function $e(e) {
534
+ return /* @__PURE__ */ c(
535
+ Y,
492
536
  {
493
537
  TagName: e.Wrapper,
494
- attributes: E({
538
+ attributes: N({
495
539
  block: e.block,
496
540
  context: e.context
497
541
  }),
498
- actionAttributes: F({
542
+ actionAttributes: q({
499
543
  block: e.block,
500
544
  rootState: e.context.rootState,
501
545
  rootSetState: e.context.rootSetState,
@@ -507,18 +551,18 @@ function Ae(e) {
507
551
  }
508
552
  );
509
553
  }
510
- function Ie(e) {
511
- return b(() => {
512
- }, []), /* @__PURE__ */ i(h, { children: e.children });
554
+ function Te(e) {
555
+ return B(() => {
556
+ }, []), /* @__PURE__ */ c(h, { children: e.children });
513
557
  }
514
- function Oe(e) {
558
+ function Le(e) {
515
559
  function t() {
516
560
  return e.includeBlockProps ? {
517
- ...E({
561
+ ...N({
518
562
  block: e.block,
519
563
  context: e.context
520
564
  }),
521
- ...F({
565
+ ...q({
522
566
  block: e.block,
523
567
  rootState: e.context.rootState,
524
568
  rootSetState: e.context.rootSetState,
@@ -527,8 +571,8 @@ function Oe(e) {
527
571
  })
528
572
  } : {};
529
573
  }
530
- return /* @__PURE__ */ i(h, { children: e.Wrapper.load ? /* @__PURE__ */ i(h, { children: /* @__PURE__ */ i(
531
- Ie,
574
+ return /* @__PURE__ */ c(h, { children: e.Wrapper.load ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
575
+ Te,
532
576
  {
533
577
  load: e.Wrapper.load,
534
578
  fallback: e.Wrapper.fallback,
@@ -536,16 +580,16 @@ function Oe(e) {
536
580
  attributes: t(),
537
581
  children: e.children
538
582
  }
539
- ) }) : /* @__PURE__ */ i(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children }) });
583
+ ) }) : /* @__PURE__ */ c(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children }) });
540
584
  }
541
- const We = ({
585
+ const ze = ({
542
586
  componentOptions: e,
543
587
  builderBlock: t,
544
588
  context: n,
545
589
  componentRef: r,
546
590
  includeBlockProps: o,
547
- isInteractive: s,
548
- contextValue: l
591
+ isInteractive: i,
592
+ contextValue: s
549
593
  }) => {
550
594
  const u = {
551
595
  ...e,
@@ -554,13 +598,13 @@ const We = ({
554
598
  * component itself directly. Otherwise, they are provided to the wrapper element.
555
599
  */
556
600
  ...o ? {
557
- attributes: E({
601
+ attributes: N({
558
602
  block: t,
559
- context: l
603
+ context: s
560
604
  })
561
605
  } : {}
562
606
  };
563
- return s ? {
607
+ return i ? {
564
608
  Wrapper: r,
565
609
  block: t,
566
610
  context: n,
@@ -568,15 +612,15 @@ const We = ({
568
612
  includeBlockProps: o
569
613
  } : u;
570
614
  };
571
- function M(e) {
615
+ function D(e) {
572
616
  var r;
573
- const [t, n] = O(
574
- () => e.isInteractive ? Oe : e.componentRef
617
+ const [t, n] = W(
618
+ () => e.isInteractive ? Le : e.componentRef
575
619
  );
576
- return /* @__PURE__ */ i(h, { children: e.componentRef ? /* @__PURE__ */ i(h, { children: /* @__PURE__ */ i(
620
+ return /* @__PURE__ */ c(h, { children: e.componentRef ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
577
621
  t,
578
622
  {
579
- ...We({
623
+ ...ze({
580
624
  componentOptions: e.componentOptions,
581
625
  builderBlock: e.builderBlock,
582
626
  context: e.context,
@@ -586,8 +630,8 @@ function M(e) {
586
630
  isInteractive: e.isInteractive,
587
631
  contextValue: e.context
588
632
  }),
589
- children: (r = e.blockChildren) == null ? void 0 : r.map((o) => /* @__PURE__ */ i(
590
- P,
633
+ children: (r = e.blockChildren) == null ? void 0 : r.map((o) => /* @__PURE__ */ c(
634
+ w,
591
635
  {
592
636
  block: o,
593
637
  context: e.context,
@@ -599,10 +643,10 @@ function M(e) {
599
643
  }
600
644
  ) }) : null });
601
645
  }
602
- function L(e) {
603
- const [t, n] = O(() => e.repeatContext);
604
- return /* @__PURE__ */ i(_.Provider, { value: t, children: /* @__PURE__ */ i(
605
- P,
646
+ function M(e) {
647
+ const [t, n] = W(() => e.repeatContext);
648
+ return /* @__PURE__ */ c(_.Provider, { value: t, children: /* @__PURE__ */ c(
649
+ w,
606
650
  {
607
651
  block: e.block,
608
652
  context: t,
@@ -611,23 +655,23 @@ function L(e) {
611
655
  }
612
656
  ) });
613
657
  }
614
- function P(e) {
658
+ function w(e) {
615
659
  var m, g, k, S;
616
660
  function t() {
617
- return pe({
661
+ return xe({
618
662
  block: e.block,
619
663
  context: e.context
620
664
  });
621
665
  }
622
- const [n, r] = O(() => ({
666
+ const [n, r] = W(() => ({
623
667
  value: null,
624
668
  update: !1
625
669
  }));
626
670
  function o() {
627
- var d;
628
- if (n.value && !n.update && !q())
671
+ var f;
672
+ if (n.value && !n.update && !G())
629
673
  return n.value;
630
- const c = (d = e.block.repeat) != null && d.collection ? e.block : re({
674
+ const l = (f = e.block.repeat) != null && f.collection ? e.block : ue({
631
675
  block: e.block,
632
676
  localState: e.context.localState,
633
677
  rootState: e.context.rootState,
@@ -635,75 +679,77 @@ function P(e) {
635
679
  context: e.context.context,
636
680
  shouldEvaluateBindings: !0
637
681
  });
638
- return n.value = c, n.update = !1, c;
682
+ return n.value = l, n.update = !1, l;
639
683
  }
640
- function s() {
641
- return he({
684
+ function i() {
685
+ return Ce({
642
686
  block: o(),
643
- registeredComponents: e.registeredComponents
687
+ registeredComponents: e.registeredComponents,
688
+ model: e.context.model
644
689
  });
645
690
  }
646
- function l() {
647
- var d;
648
- return e.block.tagName === "a" || ((d = o().properties) == null ? void 0 : d.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
691
+ function s() {
692
+ var f;
693
+ return e.block.tagName === "a" || ((f = o().properties) == null ? void 0 : f.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
649
694
  }
650
695
  function u() {
651
696
  var p, y;
652
697
  if ((p = e.block.repeat) != null && p.collection)
653
698
  return !!((y = t == null ? void 0 : t()) != null && y.length);
654
- const c = "hide" in o() ? o().hide : !1;
655
- return ("show" in o() ? o().show : !0) && !c;
699
+ const l = "hide" in o() ? o().hide : !1;
700
+ return ("show" in o() ? o().show : !0) && !l;
656
701
  }
657
- function f() {
658
- var d, p;
659
- return !((d = s == null ? void 0 : s()) != null && d.component) && !t() ? (p = o().children) != null ? p : [] : [];
702
+ function d() {
703
+ var f, p;
704
+ return !((f = i == null ? void 0 : i()) != null && f.component) && !t() ? (p = o().children) != null ? p : [] : [];
660
705
  }
661
706
  function a() {
662
- var c, d, p, y;
707
+ var l, f, p, y;
663
708
  return {
664
- blockChildren: (c = o().children) != null ? c : [],
665
- componentRef: (d = s == null ? void 0 : s()) == null ? void 0 : d.component,
709
+ blockChildren: (l = o().children) != null ? l : [],
710
+ componentRef: (f = i == null ? void 0 : i()) == null ? void 0 : f.component,
666
711
  componentOptions: {
667
- ...X(o()),
668
- ...ke(s(), o()),
669
- ...Se(s(), e.context),
670
- ...ye(s(), e.linkComponent),
671
- ...ge(
672
- s(),
673
- e.registeredComponents
712
+ ...te(o()),
713
+ ...be(i(), o()),
714
+ ...Pe(i(), e.context),
715
+ ...Be(i(), e.linkComponent),
716
+ ...ve(
717
+ i(),
718
+ e.registeredComponents,
719
+ e.context.model
674
720
  )
675
721
  },
676
722
  context: e.context,
677
723
  linkComponent: e.linkComponent,
678
724
  registeredComponents: e.registeredComponents,
679
725
  builderBlock: o(),
680
- includeBlockProps: ((p = s == null ? void 0 : s()) == null ? void 0 : p.noWrap) === !0,
681
- isInteractive: !((y = s == null ? void 0 : s()) != null && y.isRSC && v === "rsc")
726
+ includeBlockProps: ((p = i == null ? void 0 : i()) == null ? void 0 : p.noWrap) === !0,
727
+ isInteractive: !((y = i == null ? void 0 : i()) != null && y.isRSC && b === "rsc")
682
728
  };
683
729
  }
684
- return b(() => {
685
- const c = o().id, d = o().animations;
686
- d && c && le(
687
- d.map((p) => ({
730
+ return B(() => {
731
+ const l = o().id, f = o().animations;
732
+ f && l && fe(
733
+ f.map((p) => ({
688
734
  ...p,
689
- elementId: c
735
+ elementId: l
690
736
  }))
691
737
  );
692
- }, []), b(() => {
738
+ }, []), B(() => {
693
739
  n.update = !0;
694
- }), /* @__PURE__ */ i(h, { children: u() ? /* @__PURE__ */ R(h, { children: [
695
- /* @__PURE__ */ i(be, { block: o(), context: e.context }),
696
- (m = s == null ? void 0 : s()) != null && m.noWrap ? t() ? /* @__PURE__ */ i(h, { children: (S = t()) == null ? void 0 : S.map((c, d) => /* @__PURE__ */ i(
697
- L,
740
+ }), /* @__PURE__ */ c(h, { children: u() ? /* @__PURE__ */ R(h, { children: [
741
+ /* @__PURE__ */ c(Re, { block: o(), context: e.context }),
742
+ (m = i == null ? void 0 : i()) != null && m.noWrap ? t() ? /* @__PURE__ */ c(h, { children: (S = t()) == null ? void 0 : S.map((l, f) => /* @__PURE__ */ c(
743
+ M,
698
744
  {
699
- repeatContext: c.context,
700
- block: c.block,
745
+ repeatContext: l.context,
746
+ block: l.block,
701
747
  registeredComponents: e.registeredComponents,
702
748
  linkComponent: e.linkComponent
703
749
  },
704
- d
705
- )) }) : /* @__PURE__ */ i(
706
- M,
750
+ f
751
+ )) }) : /* @__PURE__ */ c(
752
+ D,
707
753
  {
708
754
  componentRef: a().componentRef,
709
755
  componentOptions: a().componentOptions,
@@ -715,24 +761,24 @@ function P(e) {
715
761
  includeBlockProps: a().includeBlockProps,
716
762
  isInteractive: a().isInteractive
717
763
  }
718
- ) : /* @__PURE__ */ i(h, { children: t() ? /* @__PURE__ */ i(h, { children: (k = t()) == null ? void 0 : k.map((c, d) => /* @__PURE__ */ i(
719
- L,
764
+ ) : /* @__PURE__ */ c(h, { children: t() ? /* @__PURE__ */ c(h, { children: (k = t()) == null ? void 0 : k.map((l, f) => /* @__PURE__ */ c(
765
+ M,
720
766
  {
721
- repeatContext: c.context,
722
- block: c.block,
767
+ repeatContext: l.context,
768
+ block: l.block,
723
769
  registeredComponents: e.registeredComponents,
724
770
  linkComponent: e.linkComponent
725
771
  },
726
- d
772
+ f
727
773
  )) }) : /* @__PURE__ */ R(
728
- Ae,
774
+ $e,
729
775
  {
730
- Wrapper: l(),
776
+ Wrapper: s(),
731
777
  block: o(),
732
778
  context: e.context,
733
779
  children: [
734
- /* @__PURE__ */ i(
735
- M,
780
+ /* @__PURE__ */ c(
781
+ D,
736
782
  {
737
783
  componentRef: a().componentRef,
738
784
  componentOptions: a().componentOptions,
@@ -745,40 +791,40 @@ function P(e) {
745
791
  isInteractive: a().isInteractive
746
792
  }
747
793
  ),
748
- (g = f()) == null ? void 0 : g.map((c) => /* @__PURE__ */ i(
749
- P,
794
+ (g = d()) == null ? void 0 : g.map((l) => /* @__PURE__ */ c(
795
+ w,
750
796
  {
751
- block: c,
797
+ block: l,
752
798
  registeredComponents: e.registeredComponents,
753
799
  linkComponent: e.linkComponent,
754
800
  context: e.context
755
801
  },
756
- c.id
802
+ l.id
757
803
  ))
758
804
  ]
759
805
  }
760
806
  ) })
761
807
  ] }) : null });
762
808
  }
763
- function Ee(e) {
764
- const t = Z(null);
809
+ function De(e) {
810
+ const t = Q(null);
765
811
  function n() {
766
- var l;
812
+ var s;
767
813
  return [
768
814
  "builder-blocks",
769
- (l = e.blocks) != null && l.length ? "" : "no-blocks",
815
+ (s = e.blocks) != null && s.length ? "" : "no-blocks",
770
816
  e.classNameProp
771
817
  ].filter(Boolean).join(" ");
772
818
  }
773
819
  function r() {
774
820
  if (!e.path)
775
821
  return;
776
- const l = "component.options.";
777
- return e.path.startsWith(l) ? e.path : `${l}${e.path || ""}`;
822
+ const s = "component.options.";
823
+ return e.path.startsWith(s) ? e.path : `${s}${e.path || ""}`;
778
824
  }
779
825
  function o() {
780
- var l, u;
781
- T() && !((l = e.blocks) != null && l.length) && ((u = window.parent) == null || u.postMessage(
826
+ var s, u;
827
+ L() && !((s = e.blocks) != null && s.length) && ((u = window.parent) == null || u.postMessage(
782
828
  {
783
829
  type: "builder.clickEmptyBlocks",
784
830
  data: {
@@ -789,9 +835,9 @@ function Ee(e) {
789
835
  "*"
790
836
  ));
791
837
  }
792
- function s() {
793
- var l, u;
794
- T() && !((l = e.blocks) != null && l.length) && ((u = window.parent) == null || u.postMessage(
838
+ function i() {
839
+ var s, u;
840
+ L() && !((s = e.blocks) != null && s.length) && ((u = window.parent) == null || u.postMessage(
795
841
  {
796
842
  type: "builder.hoverEmptyBlocks",
797
843
  data: {
@@ -802,9 +848,9 @@ function Ee(e) {
802
848
  "*"
803
849
  ));
804
850
  }
805
- return b(() => {
851
+ return B(() => {
806
852
  }, []), /* @__PURE__ */ R(h, { children: [
807
- /* @__PURE__ */ i(
853
+ /* @__PURE__ */ c(
808
854
  e.BlocksWrapper,
809
855
  {
810
856
  ref: t,
@@ -812,25 +858,25 @@ function Ee(e) {
812
858
  "builder-path": r(),
813
859
  "builder-parent-id": e.parent,
814
860
  style: e.styleProp,
815
- onClick: (l) => o(),
816
- onMouseEnter: (l) => s(),
817
- onKeyPress: (l) => o(),
861
+ onClick: (s) => o(),
862
+ onMouseEnter: (s) => i(),
863
+ onKeyPress: (s) => o(),
818
864
  ...e.BlocksWrapperProps,
819
865
  children: e.children
820
866
  }
821
867
  ),
822
- /* @__PURE__ */ i("style", { children: `.props-blocks-wrapper-215a41e0 {
868
+ /* @__PURE__ */ c("style", { children: `.props-blocks-wrapper-215a41e0 {
823
869
  display: flex;
824
870
  flex-direction: column;
825
871
  align-items: stretch;
826
872
  }` })
827
873
  ] });
828
874
  }
829
- function Ne(e) {
830
- var r, o, s;
831
- const t = $(_), n = $(G);
832
- return /* @__PURE__ */ i(
833
- Ee,
875
+ function Me(e) {
876
+ var r, o, i;
877
+ const t = T(_), n = T(ee);
878
+ return /* @__PURE__ */ c(
879
+ De,
834
880
  {
835
881
  blocks: e.blocks,
836
882
  parent: e.parent,
@@ -839,32 +885,32 @@ function Ne(e) {
839
885
  classNameProp: e.className,
840
886
  BlocksWrapper: ((r = e.context) == null ? void 0 : r.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
841
887
  BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || (t == null ? void 0 : t.BlocksWrapperProps),
842
- children: e.blocks ? /* @__PURE__ */ i(h, { children: (s = e.blocks) == null ? void 0 : s.map((l) => /* @__PURE__ */ i(
843
- P,
888
+ children: e.blocks ? /* @__PURE__ */ c(h, { children: (i = e.blocks) == null ? void 0 : i.map((s) => /* @__PURE__ */ c(
889
+ w,
844
890
  {
845
- block: l,
891
+ block: s,
846
892
  linkComponent: e.linkComponent,
847
893
  context: e.context || t,
848
894
  registeredComponents: e.registeredComponents || (n == null ? void 0 : n.registeredComponents)
849
895
  },
850
- l.id
896
+ s.id
851
897
  )) }) : null
852
898
  }
853
899
  );
854
900
  }
855
- const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
901
+ const Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
856
902
  __proto__: null,
857
- default: Ne
903
+ default: Me
858
904
  }, Symbol.toStringTag, { value: "Module" }));
859
905
  export {
860
- P as Block,
861
- Ne as Blocks,
862
- G as ComponentsContext,
863
- xe as InlinedStyles,
864
- Ue as blocks,
865
- H as fastClone,
866
- Ce as getSizesForBreakpoints,
867
- me as mapStyleObjToStrIfNeeded,
868
- ee as set,
869
- ie as triggerAnimation
906
+ w as Block,
907
+ Me as Blocks,
908
+ ee as ComponentsContext,
909
+ Oe as InlinedStyles,
910
+ Ze as blocks,
911
+ U as fastClone,
912
+ we as getSizesForBreakpoints,
913
+ Se as mapStyleObjToStrIfNeeded,
914
+ se as set,
915
+ he as triggerAnimation
870
916
  };