@builder.io/sdk-react-nextjs 0.12.3 → 0.12.5

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 (64) hide show
  1. package/lib/browser/{USE_CLIENT_BUNDLE-64b6ec10.cjs → USE_CLIENT_BUNDLE-70be4cc5.cjs} +3 -3
  2. package/lib/{node/USE_CLIENT_BUNDLE-98a4fbf4.js → browser/USE_CLIENT_BUNDLE-7492ecd8.js} +188 -187
  3. package/lib/{edge/USE_SERVER_BUNDLE-e79e6b55.cjs → browser/USE_SERVER_BUNDLE-875d4629.cjs} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-4e9af8f5.js → browser/USE_SERVER_BUNDLE-fe386ed3.js} +1 -1
  5. package/lib/browser/bundle-bd9886c9.cjs +168 -0
  6. package/lib/browser/{bundle-f3e8cd29.js → bundle-f9f52242.js} +594 -526
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +14 -14
  9. package/lib/{node/USE_CLIENT_BUNDLE-990b655a.cjs → edge/USE_CLIENT_BUNDLE-1148158d.cjs} +3 -3
  10. package/lib/{browser/USE_CLIENT_BUNDLE-e89d3175.js → edge/USE_CLIENT_BUNDLE-cb840c0f.js} +188 -187
  11. package/lib/{node/USE_SERVER_BUNDLE-b231d861.js → edge/USE_SERVER_BUNDLE-36de460d.js} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-c86a1fb8.cjs → edge/USE_SERVER_BUNDLE-50c2f18b.cjs} +1 -1
  13. package/lib/edge/{bundle-d4f509a3.cjs → bundle-71cfdd3e.cjs} +33 -37
  14. package/lib/edge/{bundle-cb191300.js → bundle-765860e3.js} +1051 -983
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +14 -14
  17. package/lib/{edge/USE_CLIENT_BUNDLE-2aed408a.cjs → node/USE_CLIENT_BUNDLE-2f43c320.cjs} +3 -3
  18. package/lib/{edge/USE_CLIENT_BUNDLE-a3258a60.js → node/USE_CLIENT_BUNDLE-4ba4594d.js} +188 -187
  19. package/lib/{browser/USE_SERVER_BUNDLE-d6bec4ec.js → node/USE_SERVER_BUNDLE-2534ef71.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-f34c0814.cjs → node/USE_SERVER_BUNDLE-473d50ad.cjs} +1 -1
  21. package/lib/node/{bundle-b2d68b60.cjs → bundle-1c54df65.cjs} +7 -11
  22. package/lib/node/{bundle-11daeaca.js → bundle-305bb463.js} +361 -293
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +14 -14
  25. package/package.json +1 -1
  26. package/types/cjs/blocks/button/button.types.d.ts +2 -1
  27. package/types/cjs/blocks/columns/columns.types.d.ts +3 -3
  28. package/types/cjs/blocks/symbol/symbol.types.d.ts +2 -2
  29. package/types/cjs/components/block/block.d.ts +1 -0
  30. package/types/cjs/components/block/components/block-wrapper.d.ts +1 -0
  31. package/types/cjs/components/block/components/component-ref/component-ref.helpers.d.ts +8 -1
  32. package/types/cjs/components/block/components/repeated-block.d.ts +3 -5
  33. package/types/cjs/components/blocks/blocks.types.d.ts +1 -0
  34. package/types/cjs/components/content-variants/content-variants.types.d.ts +6 -2
  35. package/types/cjs/constants/sdk-version.d.ts +1 -1
  36. package/types/cjs/functions/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
  37. package/types/cjs/functions/get-block-properties.d.ts +5 -1
  38. package/types/cjs/functions/get-class-prop-name.d.ts +1 -0
  39. package/types/cjs/functions/get-style.d.ts +12 -0
  40. package/types/cjs/functions/is-node-runtime.d.ts +4 -0
  41. package/types/cjs/functions/transform-block-properties.d.ts +7 -5
  42. package/types/cjs/functions/transform-style-property.d.ts +7 -0
  43. package/types/cjs/types/builder-block.d.ts +1 -0
  44. package/types/cjs/types/builder-props.d.ts +3 -0
  45. package/types/esm/blocks/button/button.types.d.ts +2 -1
  46. package/types/esm/blocks/columns/columns.types.d.ts +3 -3
  47. package/types/esm/blocks/symbol/symbol.types.d.ts +2 -2
  48. package/types/esm/components/block/block.d.ts +1 -0
  49. package/types/esm/components/block/components/block-wrapper.d.ts +1 -0
  50. package/types/esm/components/block/components/component-ref/component-ref.helpers.d.ts +8 -1
  51. package/types/esm/components/block/components/repeated-block.d.ts +3 -5
  52. package/types/esm/components/blocks/blocks.types.d.ts +1 -0
  53. package/types/esm/components/content-variants/content-variants.types.d.ts +6 -2
  54. package/types/esm/constants/sdk-version.d.ts +1 -1
  55. package/types/esm/functions/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
  56. package/types/esm/functions/get-block-properties.d.ts +5 -1
  57. package/types/esm/functions/get-class-prop-name.d.ts +1 -0
  58. package/types/esm/functions/get-style.d.ts +12 -0
  59. package/types/esm/functions/is-node-runtime.d.ts +4 -0
  60. package/types/esm/functions/transform-block-properties.d.ts +7 -5
  61. package/types/esm/functions/transform-style-property.d.ts +7 -0
  62. package/types/esm/types/builder-block.d.ts +1 -0
  63. package/types/esm/types/builder-props.d.ts +3 -0
  64. package/lib/browser/bundle-50ff23eb.cjs +0 -172
@@ -1,8 +1,21 @@
1
1
  import { LRUCache } from "lru-cache";
2
2
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
3
- import { createElement } from "react";
4
- import { I as InteractiveElement, B as BlockWrapper, a as BlocksWrapper, b as Button, C as CustomCode, E as Embed, F as FragmentComponent, c as Image, d as ImgComponent, S as SectionComponent, V as Video, e as EnableEditor } from "./USE_CLIENT_BUNDLE-98a4fbf4.js";
3
+ import { I as InteractiveElement, B as BlockWrapper, a as BlocksWrapper, D as DynamicRenderer, b as Button, C as CustomCode, E as Embed, F as FragmentComponent, c as Image, d as ImgComponent, S as SectionComponent, V as Video, e as EnableEditor } from "./USE_CLIENT_BUNDLE-4ba4594d.js";
4
+ import "react";
5
5
  import "next/navigation";
6
+ const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), isEmptyElement = (e) => typeof e == "string" && EMPTY_HTML_ELEMENTS.has(e.toLowerCase()), TARGET = "rsc", getClassPropName = () => {
7
+ switch (TARGET) {
8
+ case "react":
9
+ case "reactNative":
10
+ case "rsc":
11
+ return "className";
12
+ case "svelte":
13
+ case "vue":
14
+ case "solid":
15
+ case "qwik":
16
+ return "class";
17
+ }
18
+ };
6
19
  function getBlockComponentOptions(e) {
7
20
  var t;
8
21
  return {
@@ -23,7 +36,6 @@ const MSG_PREFIX = "[Builder.io]: ", logger = {
23
36
  function isBrowser() {
24
37
  return typeof window < "u" && typeof document < "u";
25
38
  }
26
- const TARGET = "rsc";
27
39
  function isIframe() {
28
40
  return isBrowser() && window.self !== window.top;
29
41
  }
@@ -86,15 +98,15 @@ const getLocation = () => {
86
98
  builder: t,
87
99
  context: n,
88
100
  event: o,
89
- localState: r,
90
- rootSetState: i,
101
+ localState: i,
102
+ rootSetState: r,
91
103
  rootState: a
92
104
  }) => {
93
105
  const s = getFunctionArguments({
94
106
  builder: t,
95
107
  context: n,
96
108
  event: o,
97
- state: flattenState(a, r, i)
109
+ state: flattenState(a, i, r)
98
110
  });
99
111
  return new Function(...s.map(([c]) => c), e)(...s.map(([, c]) => c));
100
112
  };
@@ -102,11 +114,11 @@ function flattenState(e, t, n) {
102
114
  if (e === t)
103
115
  throw new Error("rootState === localState");
104
116
  return new Proxy(e, {
105
- get: (o, r) => t && r in t ? t[r] : e[r],
106
- set: (o, r, i) => {
107
- if (t && r in t)
117
+ get: (o, i) => t && i in t ? t[i] : e[i],
118
+ set: (o, i, r) => {
119
+ if (t && i in t)
108
120
  throw new Error("Writing to local state is not allowed as it is read-only.");
109
- return e[r] = i, n == null || n(e), !0;
121
+ return e[i] = r, n == null || n(e), !0;
110
122
  }
111
123
  });
112
124
  }
@@ -114,7 +126,7 @@ const fastClone = (e) => JSON.parse(JSON.stringify(e)), set = (e, t, n) => {
114
126
  if (Object(e) !== e)
115
127
  return e;
116
128
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
117
- return o.slice(0, -1).reduce((r, i, a) => Object(r[i]) === r[i] ? r[i] : r[i] = Math.abs(Number(o[a + 1])) >> 0 === +o[a + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
129
+ return o.slice(0, -1).reduce((i, r, a) => Object(i[r]) === i[r] ? i[r] : i[r] = Math.abs(Number(o[a + 1])) >> 0 === +o[a + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
118
130
  }, noop = () => {
119
131
  };
120
132
  let safeDynamicRequire = noop;
@@ -175,13 +187,13 @@ output;
175
187
  builder: t,
176
188
  context: n,
177
189
  event: o,
178
- localState: r,
179
- rootSetState: i,
190
+ localState: i,
191
+ rootSetState: r,
180
192
  rootState: a
181
193
  }) => {
182
194
  const s = fastClone({
183
195
  ...a,
184
- ...r
196
+ ...i
185
197
  }), c = getFunctionArguments({
186
198
  builder: t,
187
199
  context: n,
@@ -190,17 +202,17 @@ output;
190
202
  }), m = getIsolateContext(), f = m.global;
191
203
  f.setSync("global", f.derefInto()), f.setSync("log", function(...d) {
192
204
  console.log(...d);
193
- }), f.setSync(BUILDER_SET_STATE_NAME, function(d, u) {
194
- set(a, d, u), i == null || i(a);
195
- }), c.forEach(([d, u]) => {
196
- const l = typeof u == "object" ? new ivm.Reference(
205
+ }), f.setSync(BUILDER_SET_STATE_NAME, function(d, l) {
206
+ set(a, d, l), r == null || r(a);
207
+ }), c.forEach(([d, l]) => {
208
+ const u = typeof l == "object" ? new ivm.Reference(
197
209
  // workaround: methods with default values for arguments is not being cloned over
198
210
  d === "builder" ? {
199
- ...u,
200
- getUserAttributes: () => u.getUserAttributes()
201
- } : u
211
+ ...l,
212
+ getUserAttributes: () => l.getUserAttributes()
213
+ } : l
202
214
  ) : null;
203
- f.setSync(getSyncValName(d), l);
215
+ f.setSync(getSyncValName(d), u);
204
216
  }), f.setSync(INJECTED_IVM_GLOBAL, ivm);
205
217
  const p = processCode({
206
218
  code: e,
@@ -211,14 +223,25 @@ output;
211
223
  } catch {
212
224
  return g;
213
225
  }
214
- }, chooseBrowserOrServerEval = (e) => isBrowser() ? runInBrowser(e) : runInNode(e);
226
+ }, checkIsDefined = (e) => e != null;
227
+ function isNodeRuntime() {
228
+ var e;
229
+ return typeof process < "u" && checkIsDefined((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
230
+ }
231
+ const shouldForceBrowserRuntimeInNode = () => {
232
+ var o;
233
+ if (!isNodeRuntime())
234
+ return !1;
235
+ const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
236
+ return e && t && !n ? (logger.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;
237
+ }, chooseBrowserOrServerEval = (e) => isBrowser() || shouldForceBrowserRuntimeInNode() ? runInBrowser(e) : runInNode(e);
215
238
  function evaluate({
216
239
  code: e,
217
240
  context: t,
218
241
  localState: n,
219
242
  rootState: o,
220
- rootSetState: r,
221
- event: i,
243
+ rootSetState: i,
244
+ event: r,
222
245
  isExpression: a = !0
223
246
  }) {
224
247
  if (e === "") {
@@ -231,8 +254,8 @@ function evaluate({
231
254
  }),
232
255
  builder: getBuilderGlobals(),
233
256
  context: t,
234
- event: i,
235
- rootSetState: r,
257
+ event: r,
258
+ rootSetState: i,
236
259
  rootState: o,
237
260
  localState: n
238
261
  };
@@ -253,17 +276,17 @@ const evaluateBindings = ({
253
276
  context: t,
254
277
  localState: n,
255
278
  rootState: o,
256
- rootSetState: r
279
+ rootSetState: i
257
280
  }) => {
258
281
  if (!e.bindings)
259
282
  return e;
260
- const i = fastClone(e), a = {
261
- ...i,
283
+ const r = fastClone(e), a = {
284
+ ...r,
262
285
  properties: {
263
- ...i.properties
286
+ ...r.properties
264
287
  },
265
288
  actions: {
266
- ...i.actions
289
+ ...r.actions
267
290
  }
268
291
  };
269
292
  for (const s in e.bindings) {
@@ -271,7 +294,7 @@ const evaluateBindings = ({
271
294
  code: c,
272
295
  localState: n,
273
296
  rootState: o,
274
- rootSetState: r,
297
+ rootSetState: i,
275
298
  context: t
276
299
  });
277
300
  set(a, s, m);
@@ -283,15 +306,15 @@ function getProcessedBlock({
283
306
  context: t,
284
307
  shouldEvaluateBindings: n,
285
308
  localState: o,
286
- rootState: r,
287
- rootSetState: i
309
+ rootState: i,
310
+ rootSetState: r
288
311
  }) {
289
312
  const a = e;
290
313
  return n ? evaluateBindings({
291
314
  block: a,
292
315
  localState: o,
293
- rootState: r,
294
- rootSetState: i,
316
+ rootState: i,
317
+ rootSetState: r,
295
318
  context: t
296
319
  }) : a;
297
320
  }
@@ -300,20 +323,20 @@ const getComponent = ({
300
323
  context: t,
301
324
  registeredComponents: n
302
325
  }) => {
303
- var i;
304
- const o = (i = getProcessedBlock({
326
+ var r;
327
+ const o = (r = getProcessedBlock({
305
328
  block: e,
306
329
  localState: t.localState,
307
330
  rootState: t.rootState,
308
331
  rootSetState: t.rootSetState,
309
332
  context: t.context,
310
333
  shouldEvaluateBindings: !1
311
- }).component) == null ? void 0 : i.name;
334
+ }).component) == null ? void 0 : r.name;
312
335
  if (!o)
313
336
  return null;
314
- const r = n[o];
315
- if (r)
316
- return r;
337
+ const i = n[o];
338
+ if (i)
339
+ return i;
317
340
  console.warn(`
318
341
  Could not find a registered component named "${o}".
319
342
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
@@ -327,17 +350,17 @@ const getComponent = ({
327
350
  } = e;
328
351
  if (!(n != null && n.collection))
329
352
  return;
330
- const r = evaluate({
353
+ const i = evaluate({
331
354
  code: n.collection,
332
355
  localState: t.localState,
333
356
  rootState: t.rootState,
334
357
  rootSetState: t.rootSetState,
335
358
  context: t.context
336
359
  });
337
- if (!Array.isArray(r))
360
+ if (!Array.isArray(i))
338
361
  return;
339
- const i = n.collection.split(".").pop(), a = n.itemName || (i ? i + "Item" : "item");
340
- return r.map((c, m) => ({
362
+ const r = n.collection.split(".").pop(), a = n.itemName || (r ? r + "Item" : "item");
363
+ return i.map((c, m) => ({
341
364
  context: {
342
365
  ...t,
343
366
  localState: {
@@ -379,20 +402,20 @@ const getComponent = ({
379
402
  min: o,
380
403
  default: o + 1
381
404
  };
382
- const r = n.small.max + 1;
405
+ const i = n.small.max + 1;
383
406
  n.medium = {
384
407
  max: t,
385
- min: r,
386
- default: r + 1
408
+ min: i,
409
+ default: i + 1
387
410
  };
388
- const i = n.medium.max + 1;
411
+ const r = n.medium.max + 1;
389
412
  return n.large = {
390
413
  max: 2e3,
391
414
  // TODO: decide upper limit
392
- min: i,
393
- default: i + 1
415
+ min: r,
416
+ default: r + 1
394
417
  }, n;
395
- }, camelToKebabCase = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), checkIsDefined = (e) => e != null, convertStyleMapToCSSArray = (e) => Object.entries(e).map(([n, o]) => {
418
+ }, camelToKebabCase = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), convertStyleMapToCSSArray = (e) => Object.entries(e).map(([n, o]) => {
396
419
  if (typeof o == "string")
397
420
  return `${camelToKebabCase(n)}: ${o};`;
398
421
  }).filter(checkIsDefined), convertStyleMapToCSS = (e) => convertStyleMapToCSSArray(e).join(`
@@ -413,7 +436,7 @@ function InlinedStyles(e) {
413
436
  }
414
437
  function BlockStyles(e) {
415
438
  const t = function() {
416
- const r = getProcessedBlock({
439
+ const i = getProcessedBlock({
417
440
  block: e.block,
418
441
  localState: e.context.localState,
419
442
  rootState: e.context.rootState,
@@ -421,19 +444,19 @@ function BlockStyles(e) {
421
444
  context: e.context.context,
422
445
  shouldEvaluateBindings: !0
423
446
  });
424
- return checkIsDefined(r.hide) ? !r.hide : checkIsDefined(r.show) ? r.show : !0;
447
+ return checkIsDefined(i.hide) ? !i.hide : checkIsDefined(i.show) ? i.show : !0;
425
448
  }, n = function() {
426
- var l;
427
- const r = getProcessedBlock({
449
+ var u;
450
+ const i = getProcessedBlock({
428
451
  block: e.block,
429
452
  localState: e.context.localState,
430
453
  rootState: e.context.rootState,
431
454
  rootSetState: e.context.rootSetState,
432
455
  context: e.context.context,
433
456
  shouldEvaluateBindings: !0
434
- }), i = r.responsiveStyles, a = e.context.content, s = getSizesForBreakpoints(
435
- ((l = a == null ? void 0 : a.meta) == null ? void 0 : l.breakpoints) || {}
436
- ), c = i == null ? void 0 : i.large, m = i == null ? void 0 : i.medium, f = i == null ? void 0 : i.small, p = r.id;
457
+ }), r = i.responsiveStyles, a = e.context.content, s = getSizesForBreakpoints(
458
+ ((u = a == null ? void 0 : a.meta) == null ? void 0 : u.breakpoints) || {}
459
+ ), c = r == null ? void 0 : r.large, m = r == null ? void 0 : r.medium, f = r == null ? void 0 : r.small, p = i.id;
437
460
  if (!p)
438
461
  return "";
439
462
  const g = c ? createCssClass({
@@ -446,7 +469,7 @@ function BlockStyles(e) {
446
469
  "medium",
447
470
  s
448
471
  )
449
- }) : "", u = f ? createCssClass({
472
+ }) : "", l = f ? createCssClass({
450
473
  className: p,
451
474
  styles: f,
452
475
  mediaQuery: getMaxWidthQueryForSize(
@@ -454,7 +477,7 @@ function BlockStyles(e) {
454
477
  s
455
478
  )
456
479
  }) : "";
457
- return [g, d, u].join(" ");
480
+ return [g, d, l].join(" ");
458
481
  };
459
482
  return /* @__PURE__ */ jsx(Fragment, { children: n() && t() ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(InlinedStyles, { styles: n() }) }) : null });
460
483
  }
@@ -475,25 +498,51 @@ function getBlockActions(e) {
475
498
  for (const o in n) {
476
499
  if (!n.hasOwnProperty(o))
477
500
  continue;
478
- const r = n[o];
479
- let i = getEventHandlerName(o);
501
+ const i = n[o];
502
+ let r = getEventHandlerName(o);
480
503
  if (e.stripPrefix)
481
504
  switch (TARGET) {
482
505
  case "vue":
483
- i = i.replace("v-on:", "");
506
+ r = r.replace("v-on:", "");
484
507
  break;
485
508
  case "svelte":
486
- i = i.replace("on:", "");
509
+ r = r.replace("on:", "");
487
510
  break;
488
511
  }
489
- t[i] = createEventHandler(r, e);
512
+ t[r] = createEventHandler(i, e);
490
513
  }
491
514
  return t;
492
515
  }
516
+ function transformStyleProperty({
517
+ style: e
518
+ }) {
519
+ return e;
520
+ }
521
+ const getStyle = ({
522
+ block: e,
523
+ context: t
524
+ }) => mapStyleObjToStrIfNeeded(transformStyleProperty({
525
+ style: e.style || {},
526
+ context: t,
527
+ block: e
528
+ }));
529
+ function mapStyleObjToStrIfNeeded(e) {
530
+ switch (TARGET) {
531
+ case "svelte":
532
+ case "vue":
533
+ case "solid":
534
+ return convertStyleMapToCSSArray(e).join(" ");
535
+ case "qwik":
536
+ case "reactNative":
537
+ case "react":
538
+ case "rsc":
539
+ return e;
540
+ }
541
+ }
493
542
  function transformBlockProperties({
494
543
  properties: e
495
544
  }) {
496
- return e.className = e.class, delete e.class, e;
545
+ return e;
497
546
  }
498
547
  const extractRelevantRootBlockProperties = (e) => ({
499
548
  href: e.href
@@ -507,8 +556,11 @@ function getBlockProperties({
507
556
  ...extractRelevantRootBlockProperties(e),
508
557
  ...e.properties,
509
558
  "builder-id": e.id,
510
- style: e.style ? getStyleAttribute(e.style) : void 0,
511
- class: [e.id, "builder-block", e.class, (o = e.properties) == null ? void 0 : o.class].filter(Boolean).join(" ")
559
+ style: getStyle({
560
+ block: e,
561
+ context: t
562
+ }),
563
+ [getClassPropName()]: [e.id, "builder-block", e.class, (o = e.properties) == null ? void 0 : o.class].filter(Boolean).join(" ")
512
564
  };
513
565
  return transformBlockProperties({
514
566
  properties: n,
@@ -516,26 +568,13 @@ function getBlockProperties({
516
568
  block: e
517
569
  });
518
570
  }
519
- function getStyleAttribute(e) {
520
- switch (TARGET) {
521
- case "svelte":
522
- case "vue":
523
- case "solid":
524
- return convertStyleMapToCSSArray(e).join(" ");
525
- case "qwik":
526
- case "reactNative":
527
- case "react":
528
- case "rsc":
529
- return e;
530
- }
531
- }
532
- const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), isEmptyElement = (e) => typeof e == "string" && EMPTY_HTML_ELEMENTS.has(e.toLowerCase()), getWrapperProps = ({
571
+ const getWrapperProps = ({
533
572
  componentOptions: e,
534
573
  builderBlock: t,
535
574
  context: n,
536
575
  componentRef: o,
537
- includeBlockProps: r,
538
- isInteractive: i,
576
+ includeBlockProps: i,
577
+ isInteractive: r,
539
578
  contextValue: a
540
579
  }) => {
541
580
  const s = {
@@ -544,19 +583,19 @@ const EMPTY_HTML_ELEMENTS = /* @__PURE__ */ new Set(["area", "base", "br", "col"
544
583
  * If `noWrap` is set to `true`, then the block's props/attributes are provided to the
545
584
  * component itself directly. Otherwise, they are provided to the wrapper element.
546
585
  */
547
- ...r ? {
586
+ ...i ? {
548
587
  attributes: getBlockProperties({
549
588
  block: t,
550
589
  context: a
551
590
  })
552
591
  } : {}
553
592
  };
554
- return i ? {
593
+ return r ? {
555
594
  Wrapper: o,
556
595
  block: t,
557
596
  context: n,
558
597
  wrapperProps: e,
559
- includeBlockProps: r
598
+ includeBlockProps: i
560
599
  } : s;
561
600
  };
562
601
  function ComponentRef(e) {
@@ -570,6 +609,7 @@ function ComponentRef(e) {
570
609
  builderBlock: e.builderBlock,
571
610
  context: e.context,
572
611
  componentRef: e.componentRef,
612
+ linkComponent: e.linkComponent,
573
613
  includeBlockProps: e.includeBlockProps,
574
614
  isInteractive: e.isInteractive,
575
615
  contextValue: e.context
@@ -579,7 +619,8 @@ function ComponentRef(e) {
579
619
  {
580
620
  block: o,
581
621
  context: e.context,
582
- registeredComponents: e.registeredComponents
622
+ registeredComponents: e.registeredComponents,
623
+ linkComponent: e.linkComponent
583
624
  },
584
625
  o.id
585
626
  ))
@@ -593,7 +634,8 @@ function RepeatedBlock(e) {
593
634
  {
594
635
  block: e.block,
595
636
  context: t,
596
- registeredComponents: e.registeredComponents
637
+ registeredComponents: e.registeredComponents,
638
+ linkComponent: e.linkComponent
597
639
  }
598
640
  );
599
641
  }
@@ -620,37 +662,42 @@ function Block(e) {
620
662
  context: e.context.context,
621
663
  shouldEvaluateBindings: !0
622
664
  });
623
- }, r = function() {
624
- return e.block.tagName || "div";
625
665
  }, i = function() {
626
- var l, h;
627
- if ((l = e.block.repeat) != null && l.collection)
628
- return !!((h = n()) != null && h.length);
666
+ var l;
667
+ return e.block.tagName === "a" || ((l = o().properties) == null ? void 0 : l.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
668
+ }, r = function() {
669
+ var u, b;
670
+ if ((u = e.block.repeat) != null && u.collection)
671
+ return !!((b = n()) != null && b.length);
629
672
  const d = "hide" in o() ? o().hide : !1;
630
673
  return ("show" in o() ? o().show : !0) && !d;
631
674
  }, a = function() {
632
- var u;
633
- return !((u = t()) != null && u.component) && !n() ? o().children ?? [] : [];
675
+ var l;
676
+ return !((l = t()) != null && l.component) && !n() ? o().children ?? [] : [];
634
677
  }, s = function() {
635
- var d, u, l, h, y;
678
+ var d, l, u, b, y, h, k, C;
636
679
  return {
637
680
  blockChildren: o().children ?? [],
638
681
  componentRef: (d = t()) == null ? void 0 : d.component,
639
682
  componentOptions: {
640
683
  ...getBlockComponentOptions(o()),
641
684
  builderContext: e.context,
642
- ...((u = t()) == null ? void 0 : u.name) === "Symbol" || ((l = t()) == null ? void 0 : l.name) === "Columns" ? {
685
+ ...((l = t()) == null ? void 0 : l.name) === "Core:Button" || ((u = t()) == null ? void 0 : u.name) === "Symbol" || ((b = t()) == null ? void 0 : b.name) === "Columns" ? {
686
+ builderLinkComponent: e.linkComponent
687
+ } : {},
688
+ ...((y = t()) == null ? void 0 : y.name) === "Symbol" || ((h = t()) == null ? void 0 : h.name) === "Columns" ? {
643
689
  builderComponents: e.registeredComponents
644
690
  } : {}
645
691
  },
646
692
  context: c,
693
+ linkComponent: e.linkComponent,
647
694
  registeredComponents: e.registeredComponents,
648
695
  builderBlock: o(),
649
- includeBlockProps: ((h = t()) == null ? void 0 : h.noWrap) === !0,
650
- isInteractive: !((y = t()) != null && y.isRSC)
696
+ includeBlockProps: ((k = t()) == null ? void 0 : k.noWrap) === !0,
697
+ isInteractive: !((C = t()) != null && C.isRSC)
651
698
  };
652
699
  }, c = e.context;
653
- return /* @__PURE__ */ jsx(Fragment, { children: i() ? /* @__PURE__ */ jsxs(Fragment, { children: [
700
+ return /* @__PURE__ */ jsx(Fragment, { children: r() ? /* @__PURE__ */ jsxs(Fragment, { children: [
654
701
  /* @__PURE__ */ jsx(BlockStyles, { block: e.block, context: e.context }),
655
702
  (m = t()) != null && m.noWrap ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
656
703
  ComponentRef,
@@ -660,6 +707,7 @@ function Block(e) {
660
707
  blockChildren: s().blockChildren,
661
708
  context: s().context,
662
709
  registeredComponents: s().registeredComponents,
710
+ linkComponent: s().linkComponent,
663
711
  builderBlock: s().builderBlock,
664
712
  includeBlockProps: s().includeBlockProps,
665
713
  isInteractive: s().isInteractive
@@ -669,15 +717,17 @@ function Block(e) {
669
717
  {
670
718
  repeatContext: g.context,
671
719
  block: g.block,
672
- registeredComponents: e.registeredComponents
720
+ registeredComponents: e.registeredComponents,
721
+ linkComponent: e.linkComponent
673
722
  },
674
723
  d
675
724
  )) }) : /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
676
725
  BlockWrapper,
677
726
  {
678
- Wrapper: r(),
727
+ Wrapper: i(),
679
728
  block: o(),
680
729
  context: e.context,
730
+ linkComponent: e.linkComponent,
681
731
  children: [
682
732
  /* @__PURE__ */ jsx(
683
733
  ComponentRef,
@@ -687,6 +737,7 @@ function Block(e) {
687
737
  blockChildren: s().blockChildren,
688
738
  context: s().context,
689
739
  registeredComponents: s().registeredComponents,
740
+ linkComponent: s().linkComponent,
690
741
  builderBlock: s().builderBlock,
691
742
  includeBlockProps: s().includeBlockProps,
692
743
  isInteractive: s().isInteractive
@@ -697,7 +748,8 @@ function Block(e) {
697
748
  {
698
749
  block: g,
699
750
  context: c,
700
- registeredComponents: e.registeredComponents
751
+ registeredComponents: e.registeredComponents,
752
+ linkComponent: e.linkComponent
701
753
  },
702
754
  g.id
703
755
  ))
@@ -717,36 +769,37 @@ function Blocks(e) {
717
769
  styleProp: e.styleProp,
718
770
  BlocksWrapper: (t = e.context) == null ? void 0 : t.BlocksWrapper,
719
771
  BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
720
- children: e.blocks ? /* @__PURE__ */ jsx(Fragment, { children: (o = e.blocks) == null ? void 0 : o.map((r) => /* @__PURE__ */ jsx(
772
+ children: e.blocks ? /* @__PURE__ */ jsx(Fragment, { children: (o = e.blocks) == null ? void 0 : o.map((i) => /* @__PURE__ */ jsx(
721
773
  Block,
722
774
  {
723
- block: r,
775
+ block: i,
776
+ linkComponent: e.linkComponent,
724
777
  context: e.context,
725
778
  registeredComponents: e.registeredComponents
726
779
  },
727
- r.id
780
+ i.id
728
781
  )) }) : null
729
782
  }
730
783
  );
731
784
  }
732
785
  function Columns(e) {
733
786
  var d;
734
- const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], o = e.stackColumnsAt || "tablet", r = function(l) {
735
- var h;
736
- return ((h = n[l]) == null ? void 0 : h.width) || 100 / n.length;
737
- }, i = function(l) {
738
- const h = t * (n.length - 1) / n.length;
739
- return `calc(${r(l)}% - ${h}px)`;
787
+ const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], o = e.stackColumnsAt || "tablet", i = function(u) {
788
+ var b;
789
+ return ((b = n[u]) == null ? void 0 : b.width) || 100 / n.length;
790
+ }, r = function(u) {
791
+ const b = t * (n.length - 1) / n.length;
792
+ return `calc(${i(u)}% - ${b}px)`;
740
793
  }, a = function({
741
- stackedStyle: l,
742
- desktopStyle: h
794
+ stackedStyle: u,
795
+ desktopStyle: b
743
796
  }) {
744
- return o === "tablet" ? l : h;
797
+ return o === "tablet" ? u : b;
745
798
  }, s = function({
746
- stackedStyle: l,
747
- desktopStyle: h
799
+ stackedStyle: u,
800
+ desktopStyle: b
748
801
  }) {
749
- return o === "never" ? h : l;
802
+ return o === "never" ? b : u;
750
803
  }, c = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", m = function() {
751
804
  return {
752
805
  "--flex-dir": c,
@@ -755,33 +808,38 @@ function Columns(e) {
755
808
  desktopStyle: "row"
756
809
  })
757
810
  };
758
- }, f = function(l) {
759
- const h = l === 0 ? 0 : t, y = i(l), b = `${h}px`, I = "100%", x = 0;
811
+ }, f = function(u) {
812
+ const b = u === 0 ? 0 : t, y = r(u), h = `${b}px`, k = "100%", C = 0;
760
813
  return {
814
+ ...{
815
+ display: "flex",
816
+ flexDirection: "column",
817
+ alignItems: "stretch"
818
+ },
761
819
  width: y,
762
- ["marginLeft"]: b,
820
+ ["marginLeft"]: h,
763
821
  "--column-width-mobile": s({
764
- stackedStyle: I,
822
+ stackedStyle: k,
765
823
  desktopStyle: y
766
824
  }),
767
825
  "--column-margin-left-mobile": s({
768
- stackedStyle: x,
769
- desktopStyle: b
826
+ stackedStyle: C,
827
+ desktopStyle: h
770
828
  }),
771
829
  "--column-width-tablet": a({
772
- stackedStyle: I,
830
+ stackedStyle: k,
773
831
  desktopStyle: y
774
832
  }),
775
833
  "--column-margin-left-tablet": a({
776
- stackedStyle: x,
777
- desktopStyle: b
834
+ stackedStyle: C,
835
+ desktopStyle: h
778
836
  })
779
837
  };
780
- }, p = function(l) {
781
- var y, b;
838
+ }, p = function(u) {
839
+ var y, h;
782
840
  return getSizesForBreakpoints(
783
- ((b = (y = e.builderContext.content) == null ? void 0 : y.meta) == null ? void 0 : b.breakpoints) || {}
784
- )[l].max;
841
+ ((h = (y = e.builderContext.content) == null ? void 0 : y.meta) == null ? void 0 : h.breakpoints) || {}
842
+ )[u].max;
785
843
  }, g = function() {
786
844
  return `
787
845
  @media (max-width: ${p("medium")}px) {
@@ -813,41 +871,45 @@ function Columns(e) {
813
871
  /* @__PURE__ */ jsxs(
814
872
  "div",
815
873
  {
816
- className: `builder-columns ${e.builderBlock.id}-breakpoints div-39daef82`,
874
+ className: `builder-columns ${e.builderBlock.id}-breakpoints div-3d816b82`,
817
875
  style: m(),
818
876
  children: [
819
877
  /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(InlinedStyles, { styles: g() }) }),
820
- (d = e.columns) == null ? void 0 : d.map((u, l) => /* @__PURE__ */ createElement(
821
- "div",
878
+ (d = e.columns) == null ? void 0 : d.map((l, u) => /* @__PURE__ */ jsx(
879
+ DynamicRenderer,
822
880
  {
823
- className: "builder-column div-39daef82-2",
824
- style: f(l),
825
- key: l
881
+ TagName: l.link ? e.builderLinkComponent || "a" : "div",
882
+ actionAttributes: {},
883
+ attributes: {
884
+ ...l.link ? {
885
+ href: l.link
886
+ } : {},
887
+ [getClassPropName()]: "builder-column",
888
+ style: mapStyleObjToStrIfNeeded(f(u))
889
+ },
890
+ children: /* @__PURE__ */ jsx(
891
+ Blocks,
892
+ {
893
+ path: `component.options.columns.${u}.blocks`,
894
+ parent: e.builderBlock.id,
895
+ styleProp: {
896
+ flexGrow: "1"
897
+ },
898
+ context: e.builderContext,
899
+ registeredComponents: e.builderComponents,
900
+ linkComponent: e.builderLinkComponent,
901
+ blocks: l.blocks
902
+ }
903
+ )
826
904
  },
827
- /* @__PURE__ */ jsx(
828
- Blocks,
829
- {
830
- path: `component.options.columns.${l}.blocks`,
831
- parent: e.builderBlock.id,
832
- styleProp: {
833
- flexGrow: "1"
834
- },
835
- context: e.builderContext,
836
- registeredComponents: e.builderComponents,
837
- blocks: u.blocks
838
- }
839
- )
905
+ u
840
906
  ))
841
907
  ]
842
908
  }
843
909
  ),
844
- /* @__PURE__ */ jsx("style", { children: `.div-39daef82 {
910
+ /* @__PURE__ */ jsx("style", { children: `.div-3d816b82 {
845
911
  display: flex;
846
912
  line-height: normal;
847
- }.div-39daef82-2 {
848
- display: flex;
849
- flex-direction: column;
850
- align-items: stretch;
851
913
  }` })
852
914
  ] });
853
915
  }
@@ -855,8 +917,8 @@ function removeProtocol(e) {
855
917
  return e.replace(/http(s)?:/, "");
856
918
  }
857
919
  function updateQueryParam(e = "", t, n) {
858
- const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
859
- return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
920
+ const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), i = e.indexOf("?") !== -1 ? "&" : "?";
921
+ return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + i + t + "=" + encodeURIComponent(n);
860
922
  }
861
923
  function getShopifyImageUrl(e, t) {
862
924
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
@@ -865,8 +927,8 @@ function getShopifyImageUrl(e, t) {
865
927
  return removeProtocol(e);
866
928
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
867
929
  if (n) {
868
- const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
869
- return removeProtocol(`${o[0]}_${i}${r}`);
930
+ const o = e.split(n[0]), i = n[3], r = t.match("x") ? t : `${t}x`;
931
+ return removeProtocol(`${o[0]}_${r}${i}`);
870
932
  }
871
933
  return null;
872
934
  }
@@ -877,7 +939,7 @@ function getSrcSet(e) {
877
939
  if (e.match(/builder\.io/)) {
878
940
  let n = e;
879
941
  const o = Number(e.split("?width=")[1]);
880
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${updateQueryParam(e, "width", r)} ${r}w`).concat([n]).join(", ");
942
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((i) => i !== o).map((i) => `${updateQueryParam(e, "width", i)} ${i}w`).concat([n]).join(", ");
881
943
  }
882
944
  return e.match(/cdn\.shopify\.com/) ? t.map((n) => [getShopifyImageUrl(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
883
945
  }
@@ -902,7 +964,7 @@ const getTopLevelDomain = (e) => {
902
964
  value: t,
903
965
  expires: n
904
966
  }) => {
905
- const r = (isBrowser() ? location.protocol === "https:" : !0) ? SECURE_CONFIG : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], a = [[e, t], ...i, ["path", "/"], ["domain", getTopLevelDomain(window.location.hostname)], ...r];
967
+ const i = (isBrowser() ? location.protocol === "https:" : !0) ? SECURE_CONFIG : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], a = [[e, t], ...r, ["path", "/"], ["domain", getTopLevelDomain(window.location.hostname)], ...i];
906
968
  return stringifyCookie(a);
907
969
  }, setCookie = async ({
908
970
  name: e,
@@ -913,14 +975,14 @@ const getTopLevelDomain = (e) => {
913
975
  try {
914
976
  if (!o)
915
977
  return;
916
- const r = createCookieString({
978
+ const i = createCookieString({
917
979
  name: e,
918
980
  value: t,
919
981
  expires: n
920
982
  });
921
- document.cookie = r;
922
- } catch (r) {
923
- logger.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
983
+ document.cookie = i;
984
+ } catch (i) {
985
+ logger.warn("[COOKIE] SET error: ", (i == null ? void 0 : i.message) || i);
924
986
  }
925
987
  }, BUILDER_STORE_PREFIX = "builder.tests", getContentTestKey = (e) => `${BUILDER_STORE_PREFIX}.${e}`, getContentVariationCookie = ({
926
988
  contentId: e
@@ -943,13 +1005,13 @@ const getTopLevelDomain = (e) => {
943
1005
  id: e,
944
1006
  variations: t
945
1007
  }) => {
946
- var r;
1008
+ var i;
947
1009
  let n = 0;
948
1010
  const o = Math.random();
949
- for (const i in t) {
950
- const a = (r = t[i]) == null ? void 0 : r.testRatio;
1011
+ for (const r in t) {
1012
+ const a = (i = t[r]) == null ? void 0 : i.testRatio;
951
1013
  if (n += a, o < n)
952
- return i;
1014
+ return r;
953
1015
  }
954
1016
  return e;
955
1017
  }, getAndSetVariantId = (e) => {
@@ -1008,13 +1070,13 @@ const getTopLevelDomain = (e) => {
1008
1070
  }) || getAndSetVariantId({
1009
1071
  variations: e.variations,
1010
1072
  id: e.id
1011
- }), r = getTestFields({
1073
+ }), i = getTestFields({
1012
1074
  item: e,
1013
1075
  testGroupId: o
1014
1076
  });
1015
1077
  return {
1016
1078
  ...e,
1017
- ...r
1079
+ ...i
1018
1080
  };
1019
1081
  }, getDefaultCanTrack = (e) => checkIsDefined(e) ? e : !0, componentInfo$b = {
1020
1082
  name: "Core:Button",
@@ -1228,7 +1290,7 @@ const getTopLevelDomain = (e) => {
1228
1290
  });
1229
1291
  }
1230
1292
  const n = e.get("columns");
1231
- Array.isArray(n) && n.find((r) => r.get("width")) && (n.find((i) => !i.get("width")) || n.reduce((s, c) => s + c.get("width"), 0) !== 100) && t();
1293
+ Array.isArray(n) && n.find((i) => i.get("width")) && (n.find((r) => !r.get("width")) || n.reduce((s, c) => s + c.get("width"), 0) !== 100) && t();
1232
1294
  }
1233
1295
  }, {
1234
1296
  name: "space",
@@ -1339,13 +1401,13 @@ const getTopLevelDomain = (e) => {
1339
1401
  function o(a) {
1340
1402
  return Math.round(a * 1e3) / 1e3;
1341
1403
  }
1342
- const r = e.get("image"), i = e.get("aspectRatio");
1343
- if (fetch(r).then((a) => a.blob()).then((a) => {
1404
+ const i = e.get("image"), r = e.get("aspectRatio");
1405
+ if (fetch(i).then((a) => a.blob()).then((a) => {
1344
1406
  a.type.includes("svg") && e.set("noWebp", !0);
1345
- }), r && (!i || i === 0.7041))
1346
- return n(r).then((a) => {
1407
+ }), i && (!r || r === 0.7041))
1408
+ return n(i).then((a) => {
1347
1409
  const s = e.get("aspectRatio");
1348
- e.get("image") === r && (!s || s === 0.7041) && a.width && a.height && (e.set("aspectRatio", o(a.height / a.width)), e.set("height", a.height), e.set("width", a.width));
1410
+ e.get("image") === i && (!s || s === 0.7041) && a.width && a.height && (e.set("aspectRatio", o(a.height / a.width)), e.set("height", a.height), e.set("width", a.width));
1349
1411
  });
1350
1412
  }
1351
1413
  }, {
@@ -1686,9 +1748,9 @@ const componentInfo = {
1686
1748
  ...t
1687
1749
  }) => ({
1688
1750
  ...fastClone(t),
1689
- inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, i]) => ({
1751
+ inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [i, r]) => ({
1690
1752
  ...o,
1691
- [r]: serializeValue(i)
1753
+ [i]: serializeValue(r)
1692
1754
  }), {}))
1693
1755
  }), UPDATE_COOKIES_AND_STYLES_SCRIPT = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
1694
1756
  function getAndSetVariantId() {
@@ -1836,14 +1898,14 @@ function getFetch() {
1836
1898
  }
1837
1899
  const fetch$1 = getFetch();
1838
1900
  function flatten(e, t = null, n = ".") {
1839
- return Object.keys(e).reduce((o, r) => {
1840
- const i = e[r], a = [t, r].filter(Boolean).join(n);
1841
- return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
1901
+ return Object.keys(e).reduce((o, i) => {
1902
+ const r = e[i], a = [t, i].filter(Boolean).join(n);
1903
+ return [typeof r == "object", r !== null, !(Array.isArray(r) && r.length === 0)].every(Boolean) ? {
1842
1904
  ...o,
1843
- ...flatten(i, a, n)
1905
+ ...flatten(r, a, n)
1844
1906
  } : {
1845
1907
  ...o,
1846
- [a]: i
1908
+ [a]: r
1847
1909
  };
1848
1910
  }, {});
1849
1911
  }
@@ -1858,8 +1920,8 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
1858
1920
  const t = normalizeSearchParams(e), n = {};
1859
1921
  return Object.keys(t).forEach((o) => {
1860
1922
  if (o.startsWith(BUILDER_SEARCHPARAMS_PREFIX)) {
1861
- const r = o.replace(BUILDER_SEARCHPARAMS_PREFIX, "").replace(BUILDER_OPTIONS_PREFIX, "");
1862
- n[r] = t[o];
1923
+ const i = o.replace(BUILDER_SEARCHPARAMS_PREFIX, "").replace(BUILDER_OPTIONS_PREFIX, "");
1924
+ n[i] = t[o];
1863
1925
  }
1864
1926
  }), n;
1865
1927
  }, getBuilderSearchParamsFromWindow = () => {
@@ -1874,8 +1936,8 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
1874
1936
  const {
1875
1937
  limit: n = 30,
1876
1938
  userAttributes: o,
1877
- query: r,
1878
- model: i,
1939
+ query: i,
1940
+ model: r,
1879
1941
  apiKey: a,
1880
1942
  includeRefs: s = !0,
1881
1943
  enrich: c,
@@ -1884,9 +1946,9 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
1884
1946
  fields: p,
1885
1947
  omit: g,
1886
1948
  offset: d,
1887
- cacheSeconds: u,
1888
- staleCacheSeconds: l,
1889
- sort: h,
1949
+ cacheSeconds: l,
1950
+ staleCacheSeconds: u,
1951
+ sort: b,
1890
1952
  includeUnpublished: y
1891
1953
  } = e;
1892
1954
  if (!a)
@@ -1894,28 +1956,28 @@ const DEFAULT_API_VERSION = "v3", BUILDER_SEARCHPARAMS_PREFIX = "builder.", BUIL
1894
1956
  if (!["v2", "v3"].includes(f))
1895
1957
  throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${f}'`);
1896
1958
  (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
1897
- const b = new URL(`https://cdn.builder.io/api/${f}/content/${i}?apiKey=${a}&limit=${n}&noTraverse=${t}&includeRefs=${s}${m ? `&locale=${m}` : ""}${c ? `&enrich=${c}` : ""}`);
1898
- if (b.searchParams.set("omit", g || "meta.componentsUsed"), p && b.searchParams.set("fields", p), Number.isFinite(d) && d > -1 && b.searchParams.set("offset", String(Math.floor(d))), typeof y == "boolean" && b.searchParams.set("includeUnpublished", String(y)), u && isPositiveNumber(u) && b.searchParams.set("cacheSeconds", String(u)), l && isPositiveNumber(l) && b.searchParams.set("staleCacheSeconds", String(l)), h) {
1959
+ const h = new URL(`https://cdn.builder.io/api/${f}/content/${r}?apiKey=${a}&limit=${n}&noTraverse=${t}&includeRefs=${s}${m ? `&locale=${m}` : ""}${c ? `&enrich=${c}` : ""}`);
1960
+ if (h.searchParams.set("omit", g || "meta.componentsUsed"), p && h.searchParams.set("fields", p), Number.isFinite(d) && d > -1 && h.searchParams.set("offset", String(Math.floor(d))), typeof y == "boolean" && h.searchParams.set("includeUnpublished", String(y)), l && isPositiveNumber(l) && h.searchParams.set("cacheSeconds", String(l)), u && isPositiveNumber(u) && h.searchParams.set("staleCacheSeconds", String(u)), b) {
1899
1961
  const S = flatten({
1900
- sort: h
1962
+ sort: b
1901
1963
  });
1902
- for (const C in S)
1903
- b.searchParams.set(C, JSON.stringify(S[C]));
1964
+ for (const x in S)
1965
+ h.searchParams.set(x, JSON.stringify(S[x]));
1904
1966
  }
1905
- const I = {
1967
+ const k = {
1906
1968
  ...getBuilderSearchParamsFromWindow(),
1907
1969
  ...normalizeSearchParams(e.options || {})
1908
- }, x = flatten(I);
1909
- for (const S in x)
1910
- b.searchParams.set(S, String(x[S]));
1911
- if (o && b.searchParams.set("userAttributes", JSON.stringify(o)), r) {
1970
+ }, C = flatten(k);
1971
+ for (const S in C)
1972
+ h.searchParams.set(S, String(C[S]));
1973
+ if (o && h.searchParams.set("userAttributes", JSON.stringify(o)), i) {
1912
1974
  const S = flatten({
1913
- query: r
1975
+ query: i
1914
1976
  });
1915
- for (const C in S)
1916
- b.searchParams.set(C, JSON.stringify(S[C]));
1977
+ for (const x in S)
1978
+ h.searchParams.set(x, JSON.stringify(S[x]));
1917
1979
  }
1918
- return b;
1980
+ return h;
1919
1981
  }, checkContentHasResults = (e) => "results" in e;
1920
1982
  async function fetchOneEntry(e) {
1921
1983
  const t = await fetchEntries({
@@ -1930,25 +1992,25 @@ const getContent = fetchOneEntry, _fetchContent = async (e) => {
1930
1992
  }, _processContentResult = async (e, t, n = generateContentUrl(e)) => {
1931
1993
  const o = getDefaultCanTrack(e.canTrack);
1932
1994
  if (n.search.includes("preview=")) {
1933
- const i = [];
1995
+ const r = [];
1934
1996
  for (const a of t.results) {
1935
1997
  const s = getPreviewContent(n.searchParams);
1936
- i.push(s || a);
1998
+ r.push(s || a);
1937
1999
  }
1938
- t.results = i;
2000
+ t.results = r;
1939
2001
  }
1940
2002
  if (!o || !(isBrowser() || TARGET === "reactNative"))
1941
2003
  return t.results;
1942
2004
  try {
1943
- const i = [];
2005
+ const r = [];
1944
2006
  for (const a of t.results)
1945
- i.push(await handleABTesting({
2007
+ r.push(await handleABTesting({
1946
2008
  item: a,
1947
2009
  canTrack: o
1948
2010
  }));
1949
- t.results = i;
1950
- } catch (i) {
1951
- logger.error("Could not process A/B tests. ", i);
2011
+ t.results = r;
2012
+ } catch (r) {
2013
+ logger.error("Could not process A/B tests. ", r);
1952
2014
  }
1953
2015
  return t.results;
1954
2016
  };
@@ -1967,7 +2029,7 @@ async function fetchEntries(e) {
1967
2029
  const getAllContent = fetchEntries, DEFAULT_TRUSTED_HOSTS = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
1968
2030
  function isFromTrustedHost(e, t) {
1969
2031
  const n = new URL(t.origin), o = n.hostname;
1970
- return (e || DEFAULT_TRUSTED_HOSTS).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
2032
+ return (e || DEFAULT_TRUSTED_HOSTS).findIndex((i) => i.startsWith("*.") ? o.endsWith(i.slice(1)) : i === o) > -1;
1971
2033
  }
1972
2034
  function isPreviewing() {
1973
2035
  return !isBrowser() || isEditing() ? !1 : location.search.indexOf("builder.preview=") !== -1;
@@ -2025,8 +2087,8 @@ const SESSION_LOCAL_STORAGE_KEY = "builderSessionId", getSessionId = async ({
2025
2087
  var o;
2026
2088
  try {
2027
2089
  t && ((o = getLocalStorage()) == null || o.setItem(e, n));
2028
- } catch (r) {
2029
- console.debug("[LocalStorage] SET error: ", r);
2090
+ } catch (i) {
2091
+ console.debug("[LocalStorage] SET error: ", i);
2030
2092
  }
2031
2093
  }, VISITOR_LOCAL_STORAGE_KEY = "builderVisitorId", getVisitorId = ({
2032
2094
  canTrack: e
@@ -2075,11 +2137,11 @@ const SESSION_LOCAL_STORAGE_KEY = "builderSessionId", getSessionId = async ({
2075
2137
  canTrack: t,
2076
2138
  apiKey: n,
2077
2139
  metadata: o,
2078
- ...r
2140
+ ...i
2079
2141
  }) => ({
2080
2142
  type: e,
2081
2143
  data: {
2082
- ...r,
2144
+ ...i,
2083
2145
  metadata: {
2084
2146
  url: location.href,
2085
2147
  ...o
@@ -2135,9 +2197,9 @@ const findParentElement = (e, t, n = !0) => {
2135
2197
  event: e,
2136
2198
  target: t
2137
2199
  }) => {
2138
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = round(o / n.width), a = round(r / n.height);
2200
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, i = e.clientY - n.top, r = round(o / n.width), a = round(i / n.height);
2139
2201
  return {
2140
- x: i,
2202
+ x: r,
2141
2203
  y: a
2142
2204
  };
2143
2205
  }, getInteractionPropertiesForEvent = (e) => {
@@ -2156,7 +2218,7 @@ const findParentElement = (e, t, n = !0) => {
2156
2218
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
2157
2219
  }
2158
2220
  };
2159
- }, SDK_VERSION = "0.12.3", registry = {};
2221
+ }, SDK_VERSION = "0.12.5", registry = {};
2160
2222
  function register(e, t) {
2161
2223
  let n = registry[e];
2162
2224
  if (n || (n = registry[e] = []), n.push(t), isBrowser()) {
@@ -2169,8 +2231,8 @@ function register(e, t) {
2169
2231
  };
2170
2232
  try {
2171
2233
  parent.postMessage(o, "*"), parent !== window && window.postMessage(o, "*");
2172
- } catch (r) {
2173
- console.debug("Could not postmessage", r);
2234
+ } catch (i) {
2235
+ console.debug("Could not postmessage", i);
2174
2236
  }
2175
2237
  }
2176
2238
  }
@@ -2217,31 +2279,31 @@ const setupBrowserForEditing = (e = {}) => {
2217
2279
  options: e
2218
2280
  }
2219
2281
  }, "*"), window.addEventListener("message", (o) => {
2220
- var i, a;
2282
+ var r, a;
2221
2283
  if (!isFromTrustedHost(e.trustedHosts, o))
2222
2284
  return;
2223
2285
  const {
2224
- data: r
2286
+ data: i
2225
2287
  } = o;
2226
- if (r != null && r.type)
2227
- switch (r.type) {
2288
+ if (i != null && i.type)
2289
+ switch (i.type) {
2228
2290
  case "builder.evaluate": {
2229
- const s = r.data.text, c = r.data.arguments || [], m = r.data.id, f = new Function(s);
2291
+ const s = i.data.text, c = i.data.arguments || [], m = i.data.id, f = new Function(s);
2230
2292
  let p, g = null;
2231
2293
  try {
2232
2294
  p = f.apply(null, c);
2233
2295
  } catch (d) {
2234
2296
  g = d;
2235
2297
  }
2236
- g ? (i = window.parent) == null || i.postMessage({
2298
+ g ? (r = window.parent) == null || r.postMessage({
2237
2299
  type: "builder.evaluateError",
2238
2300
  data: {
2239
2301
  id: m,
2240
2302
  error: g.message
2241
2303
  }
2242
2304
  }, "*") : p && typeof p.then == "function" ? p.then((d) => {
2243
- var u;
2244
- (u = window.parent) == null || u.postMessage({
2305
+ var l;
2306
+ (l = window.parent) == null || l.postMessage({
2245
2307
  type: "builder.evaluateResult",
2246
2308
  data: {
2247
2309
  id: m,
@@ -2260,10 +2322,10 @@ const setupBrowserForEditing = (e = {}) => {
2260
2322
  }
2261
2323
  })));
2262
2324
  }, getCssFromFont = (e) => {
2263
- var i;
2264
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
2265
- let r = "";
2266
- if (o && t && n && (r += `
2325
+ var r;
2326
+ const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((r = e == null ? void 0 : e.files) == null ? void 0 : r.regular);
2327
+ let i = "";
2328
+ if (o && t && n && (i += `
2267
2329
  @font-face {
2268
2330
  font-family: "${t}";
2269
2331
  src: local("${n}"), url('${o}') format('woff2');
@@ -2275,7 +2337,7 @@ font-weight: 400;
2275
2337
  if (!(String(Number(a)) === a))
2276
2338
  continue;
2277
2339
  const c = e.files[a];
2278
- c && c !== o && (r += `
2340
+ c && c !== o && (i += `
2279
2341
  @font-face {
2280
2342
  font-family: "${t}";
2281
2343
  src: url('${c}') format('woff2');
@@ -2284,7 +2346,7 @@ font-weight: ${a};
2284
2346
  }
2285
2347
  `.trim());
2286
2348
  }
2287
- return r;
2349
+ return i;
2288
2350
  }, getFontCss = ({
2289
2351
  customFonts: e
2290
2352
  }) => {
@@ -2328,13 +2390,13 @@ const getRootStateInitialValue = ({
2328
2390
  data: t,
2329
2391
  locale: n
2330
2392
  }) => {
2331
- var i, a, s;
2332
- const o = {}, r = ((i = e == null ? void 0 : e.data) == null ? void 0 : i.state) || {};
2393
+ var r, a, s;
2394
+ const o = {}, i = ((r = e == null ? void 0 : e.data) == null ? void 0 : r.state) || {};
2333
2395
  return (s = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || s.forEach((c) => {
2334
2396
  c.name && c.defaultValue !== void 0 && (o[c.name] = c.defaultValue);
2335
2397
  }), {
2336
2398
  ...o,
2337
- ...r,
2399
+ ...i,
2338
2400
  ...t,
2339
2401
  ...n ? {
2340
2402
  locale: n
@@ -2352,12 +2414,12 @@ const getRootStateInitialValue = ({
2352
2414
  meta: e == null ? void 0 : e.meta
2353
2415
  } : void 0;
2354
2416
  function ContentComponent(e) {
2355
- var r, i, a, s, c, m, f, p, g;
2417
+ var i, r, a, s, c, m, f, p, g;
2356
2418
  const t = getUpdateVariantVisibilityScript({
2357
2419
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
2358
- variationId: (r = e.content) == null ? void 0 : r.testVariationId,
2420
+ variationId: (i = e.content) == null ? void 0 : i.testVariationId,
2359
2421
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
2360
- contentId: (i = e.content) == null ? void 0 : i.id
2422
+ contentId: (r = e.content) == null ? void 0 : r.id
2361
2423
  }), n = [
2362
2424
  ...getDefaultRegisteredComponents(),
2363
2425
  // While this `components` object is deprecated, we must maintain support for it.
@@ -2368,11 +2430,11 @@ function ContentComponent(e) {
2368
2430
  ...components,
2369
2431
  ...e.customComponents || []
2370
2432
  ].reduce(
2371
- (d, { component: u, ...l }) => ({
2433
+ (d, { component: l, ...u }) => ({
2372
2434
  ...d,
2373
- [l.name]: {
2374
- component: u,
2375
- ...serializeComponentInfo(l)
2435
+ [u.name]: {
2436
+ component: l,
2437
+ ...serializeComponentInfo(u)
2376
2438
  }
2377
2439
  }),
2378
2440
  {}
@@ -2401,9 +2463,9 @@ function ContentComponent(e) {
2401
2463
  ...components,
2402
2464
  ...e.customComponents || []
2403
2465
  ].reduce(
2404
- (d, { component: u, ...l }) => ({
2466
+ (d, { component: l, ...u }) => ({
2405
2467
  ...d,
2406
- [l.name]: serializeComponentInfo(l)
2468
+ [u.name]: serializeComponentInfo(u)
2407
2469
  }),
2408
2470
  {}
2409
2471
  ),
@@ -2427,6 +2489,7 @@ function ContentComponent(e) {
2427
2489
  builderContextSignal: o,
2428
2490
  contentWrapper: e.contentWrapper,
2429
2491
  contentWrapperProps: e.contentWrapperProps,
2492
+ linkComponent: e.linkComponent,
2430
2493
  trustedHosts: e.trustedHosts,
2431
2494
  children: [
2432
2495
  e.isSsrAbTest ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(InlinedScript, { scriptStr: t }) }) : null,
@@ -2443,7 +2506,8 @@ function ContentComponent(e) {
2443
2506
  {
2444
2507
  blocks: (g = (p = o.content) == null ? void 0 : p.data) == null ? void 0 : g.blocks,
2445
2508
  context: o,
2446
- registeredComponents: n
2509
+ registeredComponents: n,
2510
+ linkComponent: e.linkComponent
2447
2511
  }
2448
2512
  )
2449
2513
  ]
@@ -2451,7 +2515,7 @@ function ContentComponent(e) {
2451
2515
  );
2452
2516
  }
2453
2517
  function ContentVariants(e) {
2454
- var i, a;
2518
+ var r, a;
2455
2519
  const t = checkShouldRenderVariants({
2456
2520
  canTrack: getDefaultCanTrack(e.canTrack),
2457
2521
  content: e.content
@@ -2466,7 +2530,7 @@ function ContentVariants(e) {
2466
2530
  );
2467
2531
  }, o = function() {
2468
2532
  return getVariants(e.content).map((c) => `.variant-${c.testVariationId} { display: none; } `).join("");
2469
- }, r = function() {
2533
+ }, i = function() {
2470
2534
  var c;
2471
2535
  return t ? {
2472
2536
  ...e.content,
@@ -2482,7 +2546,7 @@ function ContentVariants(e) {
2482
2546
  /* @__PURE__ */ jsx(
2483
2547
  InlinedStyles,
2484
2548
  {
2485
- id: `variants-styles-${(i = e.content) == null ? void 0 : i.id}`,
2549
+ id: `variants-styles-${(r = e.content) == null ? void 0 : r.id}`,
2486
2550
  styles: o()
2487
2551
  }
2488
2552
  ),
@@ -2498,6 +2562,7 @@ function ContentVariants(e) {
2498
2562
  apiKey: e.apiKey,
2499
2563
  apiVersion: e.apiVersion,
2500
2564
  customComponents: e.customComponents,
2565
+ linkComponent: e.linkComponent,
2501
2566
  canTrack: e.canTrack,
2502
2567
  locale: e.locale,
2503
2568
  includeRefs: e.includeRefs,
@@ -2515,7 +2580,7 @@ function ContentVariants(e) {
2515
2580
  /* @__PURE__ */ jsx(
2516
2581
  ContentComponent,
2517
2582
  {
2518
- content: r(),
2583
+ content: i(),
2519
2584
  showContent: !0,
2520
2585
  model: e.model,
2521
2586
  data: e.data,
@@ -2523,6 +2588,7 @@ function ContentVariants(e) {
2523
2588
  apiKey: e.apiKey,
2524
2589
  apiVersion: e.apiVersion,
2525
2590
  customComponents: e.customComponents,
2591
+ linkComponent: e.linkComponent,
2526
2592
  canTrack: e.canTrack,
2527
2593
  locale: e.locale,
2528
2594
  includeRefs: e.includeRefs,
@@ -2557,11 +2623,11 @@ const fetchSymbolContent = async ({
2557
2623
  });
2558
2624
  };
2559
2625
  async function Symbol$1(e) {
2560
- var o, r, i, a, s;
2626
+ var o, i, r, a, s;
2561
2627
  const t = function() {
2562
2628
  var m, f;
2563
2629
  return [
2564
- e.attributes.className,
2630
+ e.attributes[getClassPropName()],
2565
2631
  "builder-symbol",
2566
2632
  (m = e.symbol) != null && m.inline ? "builder-inline-symbol" : void 0,
2567
2633
  (f = e.symbol) != null && f.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
@@ -2578,16 +2644,17 @@ async function Symbol$1(e) {
2578
2644
  apiKey: e.builderContext.apiKey,
2579
2645
  context: {
2580
2646
  ...e.builderContext.context,
2581
- symbolId: (r = e.builderBlock) == null ? void 0 : r.id
2647
+ symbolId: (i = e.builderBlock) == null ? void 0 : i.id
2582
2648
  },
2583
2649
  customComponents: Object.values(e.builderComponents),
2584
2650
  data: {
2585
- ...(i = e.symbol) == null ? void 0 : i.data,
2651
+ ...(r = e.symbol) == null ? void 0 : r.data,
2586
2652
  ...e.builderContext.localState,
2587
2653
  ...(a = n == null ? void 0 : n.data) == null ? void 0 : a.state
2588
2654
  },
2589
2655
  model: (s = e.symbol) == null ? void 0 : s.model,
2590
- content: n
2656
+ content: n,
2657
+ linkComponent: e.builderLinkComponent
2591
2658
  }
2592
2659
  ) });
2593
2660
  }
@@ -2603,8 +2670,8 @@ function setEditorSettings(e) {
2603
2670
  }
2604
2671
  }
2605
2672
  const fetchBuilderProps = async (e) => {
2606
- var o, r, i;
2607
- const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
2673
+ var o, i, r;
2674
+ const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((i = e.userAttributes) == null ? void 0 : i.urlPath), n = {
2608
2675
  ...e,
2609
2676
  apiKey: e.apiKey,
2610
2677
  model: e.model || "page",
@@ -2614,7 +2681,7 @@ const fetchBuilderProps = async (e) => {
2614
2681
  urlPath: t
2615
2682
  } : {}
2616
2683
  },
2617
- options: getBuilderSearchParams(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
2684
+ options: getBuilderSearchParams(e.searchParams || ((r = e.url) == null ? void 0 : r.searchParams) || e.options)
2618
2685
  };
2619
2686
  return {
2620
2687
  apiKey: n.apiKey,
@@ -2623,41 +2690,42 @@ const fetchBuilderProps = async (e) => {
2623
2690
  };
2624
2691
  };
2625
2692
  export {
2626
- getAllContent as A,
2693
+ fetchEntries as A,
2627
2694
  Blocks as B,
2628
2695
  ContentVariants as C,
2629
- getContent as D,
2630
- getBuilderSearchParams as E,
2631
- track as F,
2632
- fetchBuilderProps as G,
2696
+ getAllContent as D,
2697
+ getContent as E,
2698
+ getBuilderSearchParams as F,
2699
+ track as G,
2700
+ fetchBuilderProps as H,
2633
2701
  RenderBlocks as R,
2634
2702
  Symbol$1 as S,
2635
2703
  Text as T,
2636
2704
  _track as _,
2637
- getBlockActions as a,
2638
- isEditing as b,
2639
- getSrcSet as c,
2640
- isJsScript as d,
2641
- isBrowser as e,
2642
- getDefaultCanTrack as f,
2643
- getBlockProperties as g,
2644
- isPreviewing as h,
2705
+ getBlockProperties as a,
2706
+ getBlockActions as b,
2707
+ isEditing as c,
2708
+ getSrcSet as d,
2709
+ isJsScript as e,
2710
+ isBrowser as f,
2711
+ getClassPropName as g,
2712
+ getDefaultCanTrack as h,
2645
2713
  isEmptyElement as i,
2646
- isFromTrustedHost as j,
2647
- evaluate as k,
2714
+ isPreviewing as j,
2715
+ isFromTrustedHost as k,
2648
2716
  logger as l,
2649
- getInteractionPropertiesForEvent as m,
2650
- fastClone as n,
2651
- createRegisterComponentMessage as o,
2652
- fetchOneEntry as p,
2653
- fetch$1 as q,
2717
+ evaluate as m,
2718
+ getInteractionPropertiesForEvent as n,
2719
+ fastClone as o,
2720
+ createRegisterComponentMessage as p,
2721
+ fetchOneEntry as q,
2654
2722
  registerInsertMenu as r,
2655
2723
  setupBrowserForEditing as s,
2656
- init as t,
2657
- RenderContent as u,
2658
- Columns as v,
2659
- register as w,
2660
- setEditorSettings as x,
2661
- _processContentResult as y,
2662
- fetchEntries as z
2724
+ fetch$1 as t,
2725
+ init as u,
2726
+ RenderContent as v,
2727
+ Columns as w,
2728
+ register as x,
2729
+ setEditorSettings as y,
2730
+ _processContentResult as z
2663
2731
  };