@builder.io/sdk-react 3.0.1 → 3.0.3

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 (89) hide show
  1. package/lib/browser/blocks-exports.cjs +23 -23
  2. package/lib/browser/blocks-exports.mjs +678 -678
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/server-entry-5eafc5bd.cjs +2 -0
  6. package/lib/browser/server-entry-c904f136.js +748 -0
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/accordion-032726a7.cjs +1 -0
  10. package/lib/edge/{accordion-1572cb0d.js → accordion-c786f197.js} +17 -16
  11. package/lib/edge/blocks-105e50e5.js +3534 -0
  12. package/lib/edge/blocks-827b0a87.cjs +30 -0
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-cf66cf8d.cjs → button-5cbfe22c.cjs} +1 -1
  16. package/lib/edge/{button-0709893d.js → button-f0e0ea72.js} +2 -2
  17. package/lib/edge/{columns-e234acc6.js → columns-9e187314.js} +14 -15
  18. package/lib/edge/columns-d07da61d.cjs +28 -0
  19. package/lib/edge/content-variants-0db90715.cjs +134 -0
  20. package/lib/edge/{content-variants-3ab9230f.js → content-variants-59dc0824.js} +209 -205
  21. package/lib/edge/{custom-code-6d9730ff.cjs → custom-code-8119ea3f.cjs} +1 -1
  22. package/lib/edge/form-79639135.cjs +1 -0
  23. package/lib/edge/{form-27bcc23a.js → form-7a7b98cf.js} +7 -8
  24. package/lib/edge/{get-class-prop-name-a3bd113c.js → get-class-prop-name-6b143ec7.js} +1 -1
  25. package/lib/edge/{get-class-prop-name-0b3d48a4.cjs → get-class-prop-name-8fb0e5ad.cjs} +1 -1
  26. package/lib/edge/{image-5c9e156f.js → image-2a2b26d2.js} +6 -6
  27. package/lib/edge/{image-94922c87.cjs → image-4db81d72.cjs} +3 -3
  28. package/lib/edge/{img-80be6914.js → img-2c4c6b78.js} +1 -1
  29. package/lib/edge/{img-e0c8f7f9.cjs → img-72bf9d21.cjs} +1 -1
  30. package/lib/edge/index.cjs +1 -1
  31. package/lib/edge/index.mjs +1 -1
  32. package/lib/edge/{input-f5ba6b1e.cjs → input-6eca8427.cjs} +1 -1
  33. package/lib/edge/{input-920922d5.js → input-752f3ce9.js} +1 -1
  34. package/lib/edge/{select-2ced1aca.cjs → select-49a73a0b.cjs} +1 -1
  35. package/lib/edge/{select-673864b7.js → select-a1d6e80e.js} +1 -1
  36. package/lib/edge/server-entry-35f12729.js +746 -0
  37. package/lib/edge/server-entry-6b2058e2.cjs +2 -0
  38. package/lib/edge/server-entry.cjs +1 -1
  39. package/lib/edge/server-entry.mjs +1 -1
  40. package/lib/edge/slot-2327e009.cjs +1 -0
  41. package/lib/edge/{slot-68f2b177.js → slot-b9bcbd41.js} +5 -6
  42. package/lib/edge/{symbol-7e260a70.js → symbol-33e7736f.js} +2 -2
  43. package/lib/edge/{symbol-ded9dba9.cjs → symbol-3527699b.cjs} +1 -1
  44. package/lib/edge/tabs-2df0eaa2.cjs +1 -0
  45. package/lib/edge/{tabs-5156494d.js → tabs-bc422e4c.js} +15 -16
  46. package/lib/edge/text-5915f038.js +17 -0
  47. package/lib/edge/text-e6dbb721.cjs +1 -0
  48. package/lib/node/blocks-exports.cjs +24 -24
  49. package/lib/node/blocks-exports.mjs +555 -555
  50. package/lib/node/index.cjs +1 -1
  51. package/lib/node/index.mjs +3 -3
  52. package/lib/node/init.cjs +1 -1
  53. package/lib/node/init.mjs +3 -3
  54. package/lib/node/server-entry-606ce65a.cjs +2 -0
  55. package/lib/node/server-entry-d1ed35c5.js +749 -0
  56. package/lib/node/server-entry.cjs +1 -1
  57. package/lib/node/server-entry.mjs +1 -1
  58. package/lib/node/{setIvm-8b303d4e.js → setIvm-6675714a.js} +1 -1
  59. package/lib/node/{setIvm-aba1bed8.cjs → setIvm-e4deba11.cjs} +1 -1
  60. package/lib/node/setIvm.cjs +1 -1
  61. package/lib/node/setIvm.mjs +2 -2
  62. package/lib/node/{should-force-browser-runtime-in-node-491a9b55.cjs → should-force-browser-runtime-in-node-03adae17.cjs} +1 -1
  63. package/lib/node/{should-force-browser-runtime-in-node-0a037bde.js → should-force-browser-runtime-in-node-75b2b3a0.js} +1 -1
  64. package/package.json +1 -1
  65. package/types/constants/sdk-version.d.ts +1 -1
  66. package/types/functions/get-block-component-options.d.ts +2 -1
  67. package/types/functions/get-processed-block.d.ts +1 -6
  68. package/types/helpers/flatten.d.ts +6 -0
  69. package/types/server-index.d.ts +1 -1
  70. package/types/types/builder-content.d.ts +1 -0
  71. package/types/types/input.d.ts +10 -0
  72. package/lib/browser/server-entry-017b8439.js +0 -717
  73. package/lib/browser/server-entry-9f80066e.cjs +0 -2
  74. package/lib/edge/accordion-decb24cf.cjs +0 -1
  75. package/lib/edge/blocks-9c35be74.js +0 -916
  76. package/lib/edge/blocks-d3823063.cjs +0 -12
  77. package/lib/edge/columns-2fdf0656.cjs +0 -28
  78. package/lib/edge/content-variants-616a6c0f.cjs +0 -134
  79. package/lib/edge/evaluate-ccf1ad96.cjs +0 -19
  80. package/lib/edge/evaluate-f0b82ede.js +0 -2612
  81. package/lib/edge/form-7c61693d.cjs +0 -1
  82. package/lib/edge/server-entry-6c0047ea.js +0 -715
  83. package/lib/edge/server-entry-de142ee8.cjs +0 -2
  84. package/lib/edge/slot-cc8b4e5b.cjs +0 -1
  85. package/lib/edge/tabs-d422921f.cjs +0 -1
  86. package/lib/edge/text-27a917c0.js +0 -37
  87. package/lib/edge/text-5796f488.cjs +0 -1
  88. package/lib/node/server-entry-e91e06a3.cjs +0 -2
  89. package/lib/node/server-entry-fdedc1aa.js +0 -718
@@ -1,12 +1,11 @@
1
- import { jsx as h, jsxs as q, Fragment as O } from "react/jsx-runtime";
2
- import { lazy as v, useRef as $, useState as I, useEffect as V } from "react";
3
- import { isBrowser as j, TARGET as _, isEditing as F, isPreviewing as ee, registerInsertMenu as le, setupBrowserForEditing as se, createRegisterComponentMessage as de, getDefaultCanTrack as D, _track as z, fetchOneEntry as ce, createEditorListener as ue, logFetch as me, serializeIncludingFunctions as J, logger as pe, handleABTestingSync as fe } from "./server-entry-6c0047ea.js";
1
+ import { jsx as h, jsxs as $, Fragment as z } from "react/jsx-runtime";
2
+ import { lazy as S, useRef as _, useState as I, useEffect as V } from "react";
3
+ import { isBrowser as j, TARGET as O, isEditing as F, isPreviewing as te, registerInsertMenu as le, setupBrowserForEditing as se, createRegisterComponentMessage as de, getDefaultCanTrack as H, _track as J, fetchOneEntry as ce, createEditorListener as ue, logFetch as me, serializeIncludingFunctions as Y, logger as pe, handleABTestingSync as fe } from "./server-entry-35f12729.js";
4
4
  import { Video as ge, Button as he, Columns as be, Fragment as ye, Image as xe, Section as ve, Symbol as Se, Text as Te, BuilderContext as Ie } from "./blocks-exports.mjs";
5
- import { triggerAnimation as ke, fastClone as Ce, InlinedStyles as te, ComponentsContext as we, Blocks as Ve } from "./blocks-9c35be74.js";
6
- import { evaluate as ne } from "./evaluate-f0b82ede.js";
7
- import "./get-class-prop-name-a3bd113c.js";
5
+ import { triggerAnimation as ke, evaluate as ne, fastClone as Ce, InlinedStyles as ae, ComponentsContext as we, Blocks as Ve } from "./blocks-105e50e5.js";
6
+ import "./get-class-prop-name-6b143ec7.js";
8
7
  import "./dynamic-renderer-8b343325.js";
9
- const H = {
8
+ const U = {
10
9
  "@type": "@builder.io/sdk:Element",
11
10
  layerName: "Accordion item title",
12
11
  responsiveStyles: {
@@ -83,7 +82,7 @@ const H = {
83
82
  name: "title",
84
83
  type: "uiBlocks",
85
84
  hideFromUI: !0,
86
- defaultValue: [H]
85
+ defaultValue: [U]
87
86
  }, {
88
87
  name: "detail",
89
88
  type: "uiBlocks",
@@ -91,10 +90,10 @@ const H = {
91
90
  defaultValue: [L]
92
91
  }],
93
92
  defaultValue: [{
94
- title: [H],
93
+ title: [U],
95
94
  detail: [L]
96
95
  }, {
97
- title: [H],
96
+ title: [U],
98
97
  detail: [L]
99
98
  }],
100
99
  showIf: (e) => !e.get("useChildrenForItems")
@@ -130,7 +129,7 @@ const H = {
130
129
  builderComponents: !0,
131
130
  builderLinkComponent: !0
132
131
  }
133
- }, Ee = v(() => import("./accordion-1572cb0d.js")), Fe = {
132
+ }, Ee = S(() => import("./accordion-c786f197.js")), Fe = {
134
133
  name: "Core:Button",
135
134
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
136
135
  defaultStyles: {
@@ -345,7 +344,7 @@ const H = {
345
344
  });
346
345
  }
347
346
  const n = e.get("columns");
348
- Array.isArray(n) && n.find((s) => s.get("width")) && (n.find((u) => !u.get("width")) || n.reduce((o, m) => o + m.get("width"), 0) !== 100) && t();
347
+ Array.isArray(n) && n.find((l) => l.get("width")) && (n.find((c) => !c.get("width")) || n.reduce((o, u) => o + u.get("width"), 0) !== 100) && t();
349
348
  }
350
349
  }, {
351
350
  name: "space",
@@ -400,28 +399,28 @@ const H = {
400
399
  onChange: (e) => {
401
400
  e.delete("srcset"), e.delete("noWebp");
402
401
  function n(a, o = 6e4) {
403
- return new Promise((m, S) => {
404
- const y = document.createElement("img");
402
+ return new Promise((u, T) => {
403
+ const v = document.createElement("img");
405
404
  let R = !1;
406
- y.onload = () => {
407
- R = !0, m(y);
408
- }, y.addEventListener("error", (k) => {
409
- console.warn("Image load failed", k.error), S(k.error);
410
- }), y.src = a, setTimeout(() => {
411
- R || S(new Error("Image load timed out"));
405
+ v.onload = () => {
406
+ R = !0, u(v);
407
+ }, v.addEventListener("error", (k) => {
408
+ console.warn("Image load failed", k.error), T(k.error);
409
+ }), v.src = a, setTimeout(() => {
410
+ R || T(new Error("Image load timed out"));
412
411
  }, o);
413
412
  });
414
413
  }
415
414
  function i(a) {
416
415
  return Math.round(a * 1e3) / 1e3;
417
416
  }
418
- const s = e.get("image"), u = e.get("aspectRatio");
419
- if (fetch(s).then((a) => a.blob()).then((a) => {
417
+ const l = e.get("image"), c = e.get("aspectRatio");
418
+ if (fetch(l).then((a) => a.blob()).then((a) => {
420
419
  a.type.includes("svg") && e.set("noWebp", !0);
421
- }), s && (!u || u === 0.7041))
422
- return n(s).then((a) => {
420
+ }), l && (!c || c === 0.7041))
421
+ return n(l).then((a) => {
423
422
  const o = e.get("aspectRatio");
424
- e.get("image") === s && (!o || o === 0.7041) && a.width && a.height && (e.set("aspectRatio", i(a.height / a.width)), e.set("height", a.height), e.set("width", a.width));
423
+ e.get("image") === l && (!o || o === 0.7041) && a.width && a.height && (e.set("aspectRatio", i(a.height / a.width)), e.set("height", a.height), e.set("width", a.width));
425
424
  });
426
425
  }
427
426
  }, {
@@ -543,7 +542,7 @@ const H = {
543
542
  builderContext: !0,
544
543
  builderComponents: !0
545
544
  }
546
- }, Le = v(() => import("./slot-68f2b177.js")), Ue = {
545
+ }, Ue = S(() => import("./slot-b9bcbd41.js")), Le = {
547
546
  name: "Symbol",
548
547
  noWrap: !0,
549
548
  static: !0,
@@ -582,7 +581,7 @@ const H = {
582
581
  builderComponents: !0,
583
582
  builderLinkComponent: !0
584
583
  }
585
- }, U = {
584
+ }, N = {
586
585
  "@type": "@builder.io/sdk:Element",
587
586
  responsiveStyles: {
588
587
  large: {
@@ -604,7 +603,7 @@ const H = {
604
603
  text: "New tab"
605
604
  }
606
605
  }
607
- }, N = {
606
+ }, q = {
608
607
  "@type": "@builder.io/sdk:Element",
609
608
  responsiveStyles: {
610
609
  large: {
@@ -630,16 +629,16 @@ const H = {
630
629
  name: "label",
631
630
  type: "uiBlocks",
632
631
  hideFromUI: !0,
633
- defaultValue: [U]
632
+ defaultValue: [N]
634
633
  }, {
635
634
  name: "content",
636
635
  type: "uiBlocks",
637
636
  hideFromUI: !0,
638
- defaultValue: [N]
637
+ defaultValue: [q]
639
638
  }],
640
639
  defaultValue: [{
641
640
  label: [{
642
- ...U,
641
+ ...N,
643
642
  component: {
644
643
  name: "Text",
645
644
  options: {
@@ -648,7 +647,7 @@ const H = {
648
647
  }
649
648
  }],
650
649
  content: [{
651
- ...N,
650
+ ...q,
652
651
  component: {
653
652
  name: "Text",
654
653
  options: {
@@ -658,7 +657,7 @@ const H = {
658
657
  }]
659
658
  }, {
660
659
  label: [{
661
- ...U,
660
+ ...N,
662
661
  component: {
663
662
  name: "Text",
664
663
  options: {
@@ -667,7 +666,7 @@ const H = {
667
666
  }
668
667
  }],
669
668
  content: [{
670
- ...N,
669
+ ...q,
671
670
  component: {
672
671
  name: "Text",
673
672
  options: {
@@ -723,7 +722,7 @@ const H = {
723
722
  builderComponents: !0,
724
723
  builderLinkComponent: !0
725
724
  }
726
- }, qe = v(() => import("./tabs-5156494d.js")), $e = {
725
+ }, qe = S(() => import("./tabs-bc422e4c.js")), $e = {
727
726
  shouldReceiveBuilderProps: {
728
727
  builderBlock: !1,
729
728
  builderContext: !0
@@ -745,7 +744,7 @@ const H = {
745
744
  height: "auto",
746
745
  textAlign: "center"
747
746
  }
748
- }, je = {
747
+ }, _e = {
749
748
  name: "Custom Code",
750
749
  static: !0,
751
750
  requiredPermissions: ["editCode"],
@@ -767,7 +766,7 @@ const H = {
767
766
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
768
767
  advanced: !0
769
768
  }]
770
- }, Ke = v(() => import("./custom-code-7786788e.js")), _e = {
769
+ }, je = S(() => import("./custom-code-7786788e.js")), Ke = {
771
770
  name: "Embed",
772
771
  static: !0,
773
772
  inputs: [{
@@ -782,7 +781,7 @@ const H = {
782
781
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
783
782
  hideFromUI: !0
784
783
  }]
785
- }, Me = v(() => import("./embed-5c1bbe12.js")), Oe = {
784
+ }, Oe = S(() => import("./embed-5c1bbe12.js")), Me = {
786
785
  name: "Form:Form",
787
786
  // editableTags: ['builder-form-error']
788
787
  defaults: {
@@ -1019,7 +1018,7 @@ const H = {
1019
1018
  builderComponents: !0,
1020
1019
  builderLinkComponent: !0
1021
1020
  }
1022
- }, ze = v(() => import("./form-27bcc23a.js")), Je = {
1021
+ }, ze = S(() => import("./form-7a7b98cf.js")), Je = {
1023
1022
  name: "Form:Input",
1024
1023
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
1025
1024
  inputs: [
@@ -1070,7 +1069,7 @@ const H = {
1070
1069
  borderStyle: "solid",
1071
1070
  borderColor: "#ccc"
1072
1071
  }
1073
- }, Ye = v(() => import("./input-920922d5.js")), Ge = {
1072
+ }, Ye = S(() => import("./input-752f3ce9.js")), Ge = {
1074
1073
  name: "Form:Select",
1075
1074
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
1076
1075
  defaultStyles: {
@@ -1112,7 +1111,7 @@ const H = {
1112
1111
  }],
1113
1112
  static: !0,
1114
1113
  noWrap: !0
1115
- }, Qe = v(() => import("./select-673864b7.js")), Xe = {
1114
+ }, Qe = S(() => import("./select-a1d6e80e.js")), Xe = {
1116
1115
  name: "Form:SubmitButton",
1117
1116
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
1118
1117
  defaultStyles: {
@@ -1137,7 +1136,7 @@ const H = {
1137
1136
  // that only shows if advanced setting is flipped
1138
1137
  // TODO: defaultChildren
1139
1138
  // canHaveChildren: true,
1140
- }, Ze = v(() => import("./submit-button-b48361a7.js")), et = {
1139
+ }, Ze = S(() => import("./submit-button-b48361a7.js")), et = {
1141
1140
  name: "Form:TextArea",
1142
1141
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
1143
1142
  inputs: [{
@@ -1173,7 +1172,7 @@ const H = {
1173
1172
  },
1174
1173
  static: !0,
1175
1174
  noWrap: !0
1176
- }, tt = v(() => import("./textarea-d29025e9.js")), nt = {
1175
+ }, tt = S(() => import("./textarea-d29025e9.js")), nt = {
1177
1176
  // friendlyName?
1178
1177
  name: "Raw:Img",
1179
1178
  hideFromInsertMenu: !0,
@@ -1187,7 +1186,7 @@ const H = {
1187
1186
  }],
1188
1187
  noWrap: !0,
1189
1188
  static: !0
1190
- }, at = v(() => import("./img-80be6914.js")), it = {
1189
+ }, at = S(() => import("./img-2c4c6b78.js")), it = {
1191
1190
  name: "Video",
1192
1191
  canHaveChildren: !0,
1193
1192
  defaultStyles: {
@@ -1272,14 +1271,14 @@ const H = {
1272
1271
  builderBlock: !0
1273
1272
  }
1274
1273
  }, ot = () => [{
1275
- component: Ke,
1276
- ...je
1277
- }, {
1278
- component: Me,
1274
+ component: je,
1279
1275
  ..._e
1276
+ }, {
1277
+ component: Oe,
1278
+ ...Ke
1280
1279
  }, {
1281
1280
  component: ze,
1282
- ...Oe
1281
+ ...Me
1283
1282
  }, {
1284
1283
  component: Ye,
1285
1284
  ...Je
@@ -1298,7 +1297,7 @@ const H = {
1298
1297
  }, {
1299
1298
  component: ge,
1300
1299
  ...it
1301
- }], Y = () => [{
1300
+ }], G = () => [{
1302
1301
  component: he,
1303
1302
  ...Fe
1304
1303
  }, {
@@ -1314,11 +1313,11 @@ const H = {
1314
1313
  component: ve,
1315
1314
  ...De
1316
1315
  }, {
1317
- component: Le,
1316
+ component: Ue,
1318
1317
  ...He
1319
1318
  }, {
1320
1319
  component: Se,
1321
- ...Ue
1320
+ ...Le
1322
1321
  }, {
1323
1322
  component: Te,
1324
1323
  ...$e
@@ -1418,24 +1417,24 @@ const H = {
1418
1417
  thisScriptEl?.remove();
1419
1418
  }
1420
1419
  return;
1421
- }`, ae = "builderIoAbTest", ie = "builderIoRenderContent", B = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
1420
+ }`, ie = "builderIoAbTest", oe = "builderIoRenderContent", D = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
1422
1421
  ...t,
1423
1422
  testVariationId: t.id,
1424
1423
  id: e == null ? void 0 : e.id
1425
1424
  })), st = ({
1426
1425
  canTrack: e,
1427
1426
  content: t
1428
- }) => !(!(B(t).length > 0) || !e || j()), dt = (e) => e === "react" || e === "reactNative", oe = dt(_), ct = () => `
1429
- window.${ae} = ${rt}
1430
- window.${ie} = ${lt}
1427
+ }) => !(!(D(t).length > 0) || !e || j()), dt = (e) => e === "react" || e === "reactNative", re = dt(O), ct = () => `
1428
+ window.${ie} = ${rt}
1429
+ window.${oe} = ${lt}
1431
1430
  `, ut = (e, t) => `
1432
- window.${ae}(
1433
- "${t}",${JSON.stringify(e)}, ${oe}
1431
+ window.${ie}(
1432
+ "${t}",${JSON.stringify(e)}, ${re}
1434
1433
  )`, mt = ({
1435
1434
  contentId: e,
1436
1435
  variationId: t
1437
- }) => `window.${ie}(
1438
- "${t}", "${e}", ${oe}
1436
+ }) => `window.${oe}(
1437
+ "${t}", "${e}", ${re}
1439
1438
  )`;
1440
1439
  function K(e) {
1441
1440
  return /* @__PURE__ */ h(
@@ -1447,7 +1446,7 @@ function K(e) {
1447
1446
  }
1448
1447
  );
1449
1448
  }
1450
- function G(e) {
1449
+ function Q(e) {
1451
1450
  return Math.round(e * 1e3) / 1e3;
1452
1451
  }
1453
1452
  const pt = (e, t, n = !0) => {
@@ -1464,13 +1463,13 @@ const pt = (e, t, n = !0) => {
1464
1463
  }, ft = (e) => pt(e, (t) => {
1465
1464
  const n = t.getAttribute("builder-id") || t.id;
1466
1465
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
1467
- }), Q = ({
1466
+ }), X = ({
1468
1467
  event: e,
1469
1468
  target: t
1470
1469
  }) => {
1471
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, s = e.clientY - n.top, u = G(i / n.width), a = G(s / n.height);
1470
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, l = e.clientY - n.top, c = Q(i / n.width), a = Q(l / n.height);
1472
1471
  return {
1473
- x: u,
1472
+ x: c,
1474
1473
  y: a
1475
1474
  };
1476
1475
  }, gt = (e) => {
@@ -1478,22 +1477,22 @@ const pt = (e, t, n = !0) => {
1478
1477
  return {
1479
1478
  targetBuilderElement: i || void 0,
1480
1479
  metadata: {
1481
- targetOffset: t ? Q({
1480
+ targetOffset: t ? X({
1482
1481
  event: e,
1483
1482
  target: t
1484
1483
  }) : void 0,
1485
- builderTargetOffset: n ? Q({
1484
+ builderTargetOffset: n ? X({
1486
1485
  event: e,
1487
1486
  target: n
1488
1487
  }) : void 0,
1489
1488
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
1490
1489
  }
1491
1490
  };
1492
- }, ht = ["svelte", "qwik", "vue"], X = () => ht.includes(_) && (F() || ee()), bt = (e) => {
1493
- var u, a;
1494
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (u = e == null ? void 0 : e.files) == null ? void 0 : u.regular;
1495
- let s = "";
1496
- if (i && t && n && (s += `
1491
+ }, ht = ["svelte", "qwik", "vue"], Z = () => ht.includes(O) && (F() || te()), bt = (e) => {
1492
+ var c, a;
1493
+ const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (c = e == null ? void 0 : e.files) == null ? void 0 : c.regular;
1494
+ let l = "";
1495
+ if (i && t && n && (l += `
1497
1496
  @font-face {
1498
1497
  font-family: "${t}";
1499
1498
  src: local("${n}"), url('${i}') format('woff2');
@@ -1504,17 +1503,17 @@ font-weight: 400;
1504
1503
  for (const o in e.files) {
1505
1504
  if (!(String(Number(o)) === o))
1506
1505
  continue;
1507
- const S = e.files[o];
1508
- S && S !== i && (s += `
1506
+ const T = e.files[o];
1507
+ T && T !== i && (l += `
1509
1508
  @font-face {
1510
1509
  font-family: "${t}";
1511
- src: url('${S}') format('woff2');
1510
+ src: url('${T}') format('woff2');
1512
1511
  font-display: fallback;
1513
1512
  font-weight: ${o};
1514
1513
  }
1515
1514
  `.trim());
1516
1515
  }
1517
- return s;
1516
+ return l;
1518
1517
  }, yt = ({
1519
1518
  customFonts: e
1520
1519
  }) => {
@@ -1542,101 +1541,101 @@ font-weight: ${o};
1542
1541
  }
1543
1542
  `, St = (e) => e ? "" : vt, Tt = (e) => `variant-${e}`;
1544
1543
  function It(e) {
1545
- var f, b, C;
1546
- const t = $(null);
1547
- function n(d) {
1548
- var p, r;
1549
- const c = {
1544
+ var g, b, C;
1545
+ const t = _(null);
1546
+ function n(s) {
1547
+ var m, f;
1548
+ const d = {
1550
1549
  ...e.builderContextSignal.rootState,
1551
- ...d
1550
+ ...s
1552
1551
  };
1553
- e.builderContextSignal.rootSetState ? (r = (p = e.builderContextSignal).rootSetState) == null || r.call(p, c) : e.setBuilderContextSignal((l) => ({
1554
- ...l,
1555
- rootState: c
1552
+ e.builderContextSignal.rootSetState ? (f = (m = e.builderContextSignal).rootSetState) == null || f.call(m, d) : e.setBuilderContextSignal((r) => ({
1553
+ ...r,
1554
+ rootState: d
1556
1555
  }));
1557
1556
  }
1558
- function i(d) {
1559
- var p, r, l, g, T;
1560
- const c = {
1557
+ function i(s) {
1558
+ var m, f, r, p, y;
1559
+ const d = {
1561
1560
  ...e.builderContextSignal.content,
1562
- ...d,
1561
+ ...s,
1563
1562
  data: {
1564
- ...(p = e.builderContextSignal.content) == null ? void 0 : p.data,
1565
- ...d == null ? void 0 : d.data
1563
+ ...(m = e.builderContextSignal.content) == null ? void 0 : m.data,
1564
+ ...s == null ? void 0 : s.data
1566
1565
  },
1567
1566
  meta: {
1568
- ...(r = e.builderContextSignal.content) == null ? void 0 : r.meta,
1569
- ...d == null ? void 0 : d.meta,
1570
- breakpoints: ((l = d == null ? void 0 : d.meta) == null ? void 0 : l.breakpoints) || ((T = (g = e.builderContextSignal.content) == null ? void 0 : g.meta) == null ? void 0 : T.breakpoints)
1567
+ ...(f = e.builderContextSignal.content) == null ? void 0 : f.meta,
1568
+ ...s == null ? void 0 : s.meta,
1569
+ breakpoints: ((r = s == null ? void 0 : s.meta) == null ? void 0 : r.breakpoints) || ((y = (p = e.builderContextSignal.content) == null ? void 0 : p.meta) == null ? void 0 : y.breakpoints)
1571
1570
  }
1572
1571
  };
1573
1572
  e.setBuilderContextSignal((x) => ({
1574
1573
  ...x,
1575
- content: c
1574
+ content: d
1576
1575
  }));
1577
1576
  }
1578
- function s() {
1577
+ function l() {
1579
1578
  return e.showContent ? {} : {
1580
1579
  hidden: !0,
1581
1580
  "aria-hidden": !0
1582
1581
  };
1583
1582
  }
1584
- const [u, a] = I(
1583
+ const [c, a] = I(
1585
1584
  () => e.contentWrapper || "div"
1586
1585
  );
1587
- function o(d) {
1586
+ function o(s) {
1588
1587
  return ue({
1589
1588
  model: e.model,
1590
1589
  trustedHosts: e.trustedHosts,
1591
1590
  callbacks: {
1592
- configureSdk: (c) => {
1593
- var l;
1594
- const { breakpoints: p, contentId: r } = c;
1595
- !r || r !== ((l = e.builderContextSignal.content) == null ? void 0 : l.id) || p && i({
1591
+ configureSdk: (d) => {
1592
+ var r;
1593
+ const { breakpoints: m, contentId: f } = d;
1594
+ !f || f !== ((r = e.builderContextSignal.content) == null ? void 0 : r.id) || m && i({
1596
1595
  meta: {
1597
- breakpoints: p
1596
+ breakpoints: m
1598
1597
  }
1599
1598
  });
1600
1599
  },
1601
- animation: (c) => {
1602
- ke(c);
1600
+ animation: (d) => {
1601
+ ke(d);
1603
1602
  },
1604
- contentUpdate: (c) => {
1605
- i(c);
1603
+ contentUpdate: (d) => {
1604
+ i(d);
1606
1605
  }
1607
1606
  }
1608
- })(d);
1607
+ })(s);
1609
1608
  }
1610
- const [m, S] = I(() => ({})), [y, R] = I(() => ({})), [k, P] = I(() => !1);
1611
- function A(d) {
1612
- var c, p;
1609
+ const [u, T] = I(() => ({})), [v, R] = I(() => ({})), [k, P] = I(() => !1);
1610
+ function A(s) {
1611
+ var d, m;
1613
1612
  if (e.builderContextSignal.content) {
1614
- const r = (c = e.builderContextSignal.content) == null ? void 0 : c.testVariationId, l = (p = e.builderContextSignal.content) == null ? void 0 : p.id;
1615
- z({
1613
+ const f = (d = e.builderContextSignal.content) == null ? void 0 : d.testVariationId, r = (m = e.builderContextSignal.content) == null ? void 0 : m.id;
1614
+ J({
1616
1615
  apiHost: e.apiHost,
1617
1616
  type: "click",
1618
- canTrack: D(e.canTrack),
1619
- contentId: l,
1617
+ canTrack: H(e.canTrack),
1618
+ contentId: r,
1620
1619
  apiKey: e.apiKey,
1621
- variationId: r !== l ? r : void 0,
1622
- ...gt(d),
1620
+ variationId: f !== r ? f : void 0,
1621
+ ...gt(s),
1623
1622
  unique: !k
1624
1623
  });
1625
1624
  }
1626
1625
  k || P(!0);
1627
1626
  }
1628
1627
  function W() {
1629
- var c, p, r;
1630
- const d = (r = (p = (c = e.builderContextSignal.content) == null ? void 0 : c.data) == null ? void 0 : p.httpRequests) != null ? r : {};
1631
- Object.entries(d).forEach(([l, g]) => {
1632
- if (!g || y[l] || m[l] && !F())
1628
+ var d, m, f;
1629
+ const s = (f = (m = (d = e.builderContextSignal.content) == null ? void 0 : d.data) == null ? void 0 : m.httpRequests) != null ? f : {};
1630
+ Object.entries(s).forEach(([r, p]) => {
1631
+ if (!p || v[r] || u[r] && !F())
1633
1632
  return;
1634
- y[l] = !0;
1635
- const T = g.replace(
1633
+ v[r] = !0;
1634
+ const y = p.replace(
1636
1635
  /{{([^}]+)}}/g,
1637
- (x, re) => String(
1636
+ (x, B) => String(
1638
1637
  ne({
1639
- code: re,
1638
+ code: B,
1640
1639
  context: e.context || {},
1641
1640
  localState: void 0,
1642
1641
  rootState: e.builderContextSignal.rootState,
@@ -1644,14 +1643,14 @@ function It(e) {
1644
1643
  })
1645
1644
  )
1646
1645
  );
1647
- me(T), fetch(T).then((x) => x.json()).then((x) => {
1646
+ me(y), fetch(y).then((x) => x.json()).then((x) => {
1648
1647
  n({
1649
- [l]: x
1650
- }), m[l] = !0;
1648
+ [r]: x
1649
+ }), u[r] = !0;
1651
1650
  }).catch((x) => {
1652
- console.error("error fetching dynamic data", g, x);
1651
+ console.error("error fetching dynamic data", p, x);
1653
1652
  }).finally(() => {
1654
- y[l] = !1;
1653
+ v[r] = !1;
1655
1654
  });
1656
1655
  });
1657
1656
  }
@@ -1670,9 +1669,9 @@ function It(e) {
1670
1669
  )
1671
1670
  );
1672
1671
  }
1673
- const E = $(!1);
1672
+ const E = _(!1);
1674
1673
  return E.current || (W(), w(), E.current = !0), V(() => {
1675
- var d, c;
1674
+ var s, d, m;
1676
1675
  if (j()) {
1677
1676
  if (F() && !e.isNestedRender && (window.addEventListener("message", o), le(), se({
1678
1677
  ...e.locale ? {
@@ -1687,35 +1686,40 @@ function It(e) {
1687
1686
  }), Object.values(
1688
1687
  e.builderContextSignal.componentInfos
1689
1688
  ).forEach((r) => {
1690
- var l, g;
1691
- if (!e.model || !((l = r.models) != null && l.length) || r.models.includes(e.model)) {
1692
- const T = de(r);
1693
- (g = window.parent) == null || g.postMessage(T, "*");
1689
+ var p, y;
1690
+ if (!e.model || !((p = r.models) != null && p.length) || r.models.includes(e.model)) {
1691
+ const x = de(r);
1692
+ (y = window.parent) == null || y.postMessage(x, "*");
1694
1693
  }
1695
1694
  }), window.addEventListener(
1696
1695
  "builder:component:stateChangeListenerActivated",
1697
1696
  w
1698
- )), e.builderContextSignal.content && D(e.canTrack)) {
1699
- const r = (d = e.builderContextSignal.content) == null ? void 0 : d.testVariationId, l = (c = e.builderContextSignal.content) == null ? void 0 : c.id, g = e.apiKey;
1700
- z({
1697
+ )), e.builderContextSignal.content && H(e.canTrack)) {
1698
+ const r = (s = e.builderContextSignal.content) == null ? void 0 : s.testVariationId, p = (d = e.builderContextSignal.content) == null ? void 0 : d.id, y = e.apiKey;
1699
+ J({
1701
1700
  apiHost: e.apiHost,
1702
1701
  type: "impression",
1703
1702
  canTrack: !0,
1704
- contentId: l,
1705
- apiKey: g,
1706
- variationId: r !== l ? r : void 0
1703
+ contentId: p,
1704
+ apiKey: y,
1705
+ variationId: r !== p ? r : void 0
1707
1706
  });
1708
1707
  }
1709
- if (ee() && !F()) {
1710
- const r = new URL(location.href).searchParams, l = r.get("builder.preview"), g = r.get(
1711
- `builder.overrides.${l}`
1712
- ), T = r.get("apiKey") || r.get("builder.space");
1713
- l === e.model && T === e.apiKey && (!e.content || g === e.content.id) && ce({
1714
- model: e.model,
1708
+ if (te() && !F()) {
1709
+ const r = new URL(location.href).searchParams, p = r.get("builder.preview"), y = r.get(
1710
+ `builder.overrides.${p}`
1711
+ ), x = r.get("apiKey") || r.get("builder.space");
1712
+ (p === "BUILDER_STUDIO" || p === e.model && x === e.apiKey && (!e.content || y === e.content.id)) && ce({
1713
+ model: e.model || "",
1715
1714
  apiKey: e.apiKey,
1716
- apiVersion: e.builderContextSignal.apiVersion
1717
- }).then((x) => {
1718
- x && i(x);
1715
+ apiVersion: e.builderContextSignal.apiVersion,
1716
+ ...p === "BUILDER_STUDIO" && ((m = e.context) != null && m.symbolId) ? {
1717
+ query: {
1718
+ id: e.context.symbolId
1719
+ }
1720
+ } : {}
1721
+ }).then((B) => {
1722
+ B && i(B);
1719
1723
  });
1720
1724
  }
1721
1725
  }
@@ -1734,20 +1738,20 @@ function It(e) {
1734
1738
  "builder:component:stateChangeListenerActivated",
1735
1739
  w
1736
1740
  ));
1737
- }, []), /* @__PURE__ */ h(Ie.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || X() ? /* @__PURE__ */ h(
1738
- u,
1741
+ }, []), /* @__PURE__ */ h(Ie.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Z() ? /* @__PURE__ */ h(
1742
+ c,
1739
1743
  {
1740
1744
  ref: t,
1741
- onClick: (d) => A(d),
1742
- "builder-content-id": (f = e.builderContextSignal.content) == null ? void 0 : f.id,
1745
+ onClick: (s) => A(s),
1746
+ "builder-content-id": (g = e.builderContextSignal.content) == null ? void 0 : g.id,
1743
1747
  "builder-model": e.model,
1744
1748
  className: Tt(
1745
1749
  ((b = e.content) == null ? void 0 : b.testVariationId) || ((C = e.content) == null ? void 0 : C.id)
1746
1750
  ),
1747
1751
  style: {
1748
- display: !e.builderContextSignal.content && X() ? "none" : void 0
1752
+ display: !e.builderContextSignal.content && Z() ? "none" : void 0
1749
1753
  },
1750
- ...s(),
1754
+ ...l(),
1751
1755
  ...e.contentWrapperProps,
1752
1756
  children: e.children
1753
1757
  }
@@ -1767,7 +1771,7 @@ ${St(e.isNestedRender)}
1767
1771
  `.trim()
1768
1772
  );
1769
1773
  return /* @__PURE__ */ h(
1770
- te,
1774
+ ae,
1771
1775
  {
1772
1776
  id: "builderio-content",
1773
1777
  styles: t,
@@ -1780,13 +1784,13 @@ const Ct = ({
1780
1784
  data: t,
1781
1785
  locale: n
1782
1786
  }) => {
1783
- var u, a, o;
1784
- const i = {}, s = ((u = e == null ? void 0 : e.data) == null ? void 0 : u.state) || {};
1785
- return (o = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || o.forEach((m) => {
1786
- m.name && m.defaultValue !== void 0 && (i[m.name] = m.defaultValue);
1787
+ var c, a, o;
1788
+ const i = {}, l = ((c = e == null ? void 0 : e.data) == null ? void 0 : c.state) || {};
1789
+ return (o = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || o.forEach((u) => {
1790
+ u.name && u.defaultValue !== void 0 && (i[u.name] = u.defaultValue);
1787
1791
  }), {
1788
1792
  ...i,
1789
- ...s,
1793
+ ...l,
1790
1794
  ...t,
1791
1795
  ...n ? {
1792
1796
  locale: n
@@ -1803,35 +1807,35 @@ const Ct = ({
1803
1807
  },
1804
1808
  meta: e == null ? void 0 : e.meta
1805
1809
  } : void 0;
1806
- function Z(e) {
1807
- var S, y, R, k, P, A, W, w, E;
1810
+ function ee(e) {
1811
+ var T, v, R, k, P, A, W, w, E;
1808
1812
  const [t, n] = I(
1809
1813
  () => {
1810
- var f, b;
1814
+ var g, b;
1811
1815
  return mt({
1812
1816
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
1813
- variationId: (f = e.content) == null ? void 0 : f.testVariationId,
1817
+ variationId: (g = e.content) == null ? void 0 : g.testVariationId,
1814
1818
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
1815
1819
  contentId: (b = e.content) == null ? void 0 : b.id
1816
1820
  });
1817
1821
  }
1818
1822
  );
1819
- function i(f) {
1823
+ function i(g) {
1820
1824
  o((b) => ({
1821
1825
  ...b,
1822
- rootState: f
1826
+ rootState: g
1823
1827
  }));
1824
1828
  }
1825
- const [s, u] = I(
1829
+ const [l, c] = I(
1826
1830
  () => [
1827
- ...Y(),
1831
+ ...G(),
1828
1832
  ...e.customComponents || []
1829
1833
  ].reduce(
1830
- (f, { component: b, ...C }) => ({
1831
- ...f,
1834
+ (g, { component: b, ...C }) => ({
1835
+ ...g,
1832
1836
  [C.name]: {
1833
1837
  component: b,
1834
- ...J(C)
1838
+ ...Y(C)
1835
1839
  }
1836
1840
  }),
1837
1841
  {}
@@ -1853,12 +1857,12 @@ function Z(e) {
1853
1857
  apiKey: e.apiKey,
1854
1858
  apiVersion: e.apiVersion,
1855
1859
  componentInfos: [
1856
- ...Y(),
1860
+ ...G(),
1857
1861
  ...e.customComponents || []
1858
1862
  ].reduce(
1859
- (f, { component: b, ...C }) => ({
1860
- ...f,
1861
- [C.name]: J(C)
1863
+ (g, { component: b, ...C }) => ({
1864
+ ...g,
1865
+ [C.name]: Y(C)
1862
1866
  }),
1863
1867
  {}
1864
1868
  ),
@@ -1867,14 +1871,14 @@ function Z(e) {
1867
1871
  BlocksWrapperProps: e.blocksWrapperProps || {},
1868
1872
  nonce: e.nonce || "",
1869
1873
  model: e.model || ""
1870
- })), m = $(!1);
1871
- if (!m.current) {
1874
+ })), u = _(!1);
1875
+ if (!u.current) {
1872
1876
  e.apiKey || pe.error(
1873
1877
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
1874
1878
  );
1875
- const f = (y = (S = a.content) == null ? void 0 : S.data) == null ? void 0 : y.jsCode;
1876
- f && ne({
1877
- code: f,
1879
+ const g = (v = (T = a.content) == null ? void 0 : T.data) == null ? void 0 : v.jsCode;
1880
+ g && ne({
1881
+ code: g,
1878
1882
  context: e.context || {},
1879
1883
  localState: void 0,
1880
1884
  rootState: a.rootState,
@@ -1882,15 +1886,15 @@ function Z(e) {
1882
1886
  Object.assign(a.rootState, b);
1883
1887
  },
1884
1888
  isExpression: !1
1885
- }), m.current = !0;
1889
+ }), u.current = !0;
1886
1890
  }
1887
1891
  return /* @__PURE__ */ h(
1888
1892
  we.Provider,
1889
1893
  {
1890
1894
  value: {
1891
- registeredComponents: s
1895
+ registeredComponents: l
1892
1896
  },
1893
- children: /* @__PURE__ */ q(
1897
+ children: /* @__PURE__ */ $(
1894
1898
  It,
1895
1899
  {
1896
1900
  apiHost: e.apiHost,
@@ -1934,7 +1938,7 @@ function Z(e) {
1934
1938
  {
1935
1939
  blocks: (E = (w = a.content) == null ? void 0 : w.data) == null ? void 0 : E.blocks,
1936
1940
  context: a,
1937
- registeredComponents: s,
1941
+ registeredComponents: l,
1938
1942
  linkComponent: e.linkComponent
1939
1943
  }
1940
1944
  )
@@ -1944,40 +1948,40 @@ function Z(e) {
1944
1948
  }
1945
1949
  );
1946
1950
  }
1947
- function Dt(e) {
1951
+ function Bt(e) {
1948
1952
  var a;
1949
1953
  const [t, n] = I(
1950
1954
  () => st({
1951
- canTrack: D(e.canTrack),
1955
+ canTrack: H(e.canTrack),
1952
1956
  content: e.content
1953
1957
  })
1954
1958
  );
1955
1959
  function i() {
1956
1960
  var o;
1957
1961
  return ut(
1958
- B(e.content).map((m) => ({
1959
- id: m.testVariationId,
1960
- testRatio: m.testRatio
1962
+ D(e.content).map((u) => ({
1963
+ id: u.testVariationId,
1964
+ testRatio: u.testRatio
1961
1965
  })),
1962
1966
  ((o = e.content) == null ? void 0 : o.id) || ""
1963
1967
  );
1964
1968
  }
1965
- function s() {
1966
- return B(e.content).map((o) => `.variant-${o.testVariationId} { display: none; } `).join("");
1969
+ function l() {
1970
+ return D(e.content).map((o) => `.variant-${o.testVariationId} { display: none; } `).join("");
1967
1971
  }
1968
- function u() {
1972
+ function c() {
1969
1973
  var o;
1970
1974
  return t ? {
1971
1975
  ...e.content,
1972
1976
  testVariationId: (o = e.content) == null ? void 0 : o.id
1973
1977
  } : fe({
1974
1978
  item: e.content,
1975
- canTrack: D(e.canTrack)
1979
+ canTrack: H(e.canTrack)
1976
1980
  });
1977
1981
  }
1978
1982
  return V(() => {
1979
- }, []), /* @__PURE__ */ q(O, { children: [
1980
- !e.isNestedRender && _ !== "reactNative" ? /* @__PURE__ */ h(
1983
+ }, []), /* @__PURE__ */ $(z, { children: [
1984
+ !e.isNestedRender && O !== "reactNative" ? /* @__PURE__ */ h(
1981
1985
  K,
1982
1986
  {
1983
1987
  id: "builderio-init-variants-fns",
@@ -1985,12 +1989,12 @@ function Dt(e) {
1985
1989
  nonce: e.nonce || ""
1986
1990
  }
1987
1991
  ) : null,
1988
- t ? /* @__PURE__ */ q(O, { children: [
1992
+ t ? /* @__PURE__ */ $(z, { children: [
1989
1993
  /* @__PURE__ */ h(
1990
- te,
1994
+ ae,
1991
1995
  {
1992
1996
  id: "builderio-variants",
1993
- styles: s(),
1997
+ styles: l(),
1994
1998
  nonce: e.nonce || ""
1995
1999
  }
1996
2000
  ),
@@ -2002,8 +2006,8 @@ function Dt(e) {
2002
2006
  nonce: e.nonce || ""
2003
2007
  }
2004
2008
  ),
2005
- (a = B(e.content)) == null ? void 0 : a.map((o) => /* @__PURE__ */ h(
2006
- Z,
2009
+ (a = D(e.content)) == null ? void 0 : a.map((o) => /* @__PURE__ */ h(
2010
+ ee,
2007
2011
  {
2008
2012
  apiHost: e.apiHost,
2009
2013
  isNestedRender: e.isNestedRender,
@@ -2031,12 +2035,12 @@ function Dt(e) {
2031
2035
  ))
2032
2036
  ] }) : null,
2033
2037
  /* @__PURE__ */ h(
2034
- Z,
2038
+ ee,
2035
2039
  {
2036
2040
  apiHost: e.apiHost,
2037
2041
  nonce: e.nonce,
2038
2042
  isNestedRender: e.isNestedRender,
2039
- content: u(),
2043
+ content: c(),
2040
2044
  showContent: !0,
2041
2045
  model: e.model,
2042
2046
  data: e.data,
@@ -2059,5 +2063,5 @@ function Dt(e) {
2059
2063
  ] });
2060
2064
  }
2061
2065
  export {
2062
- Dt as default
2066
+ Bt as default
2063
2067
  };