@arbidocs/blocks 0.4.5 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +46 -6
  2. package/dist/agents/index.cjs +163 -162
  3. package/dist/agents/index.js +6 -5
  4. package/dist/chat/ChatMessageContent.d.ts +16 -0
  5. package/dist/chat/ChatPage.d.ts +11 -8
  6. package/dist/chat/ChatThreads.d.ts +3 -1
  7. package/dist/chat/CitationMark.d.ts +18 -0
  8. package/dist/chat/chat-page-types.d.ts +75 -1
  9. package/dist/chat/index.cjs +126 -117
  10. package/dist/chat/index.d.ts +3 -1
  11. package/dist/chat/index.js +5 -4
  12. package/dist/{chunk-3MIQASHO.cjs → chunk-23XL6SVZ.cjs} +39 -19
  13. package/dist/chunk-23XL6SVZ.cjs.map +1 -0
  14. package/dist/{chunk-ULWRNGGE.cjs → chunk-2ZTONLT5.cjs} +4 -25
  15. package/dist/chunk-2ZTONLT5.cjs.map +1 -0
  16. package/dist/{chunk-O637DUKS.cjs → chunk-56BUD74K.cjs} +28 -28
  17. package/dist/{chunk-O637DUKS.cjs.map → chunk-56BUD74K.cjs.map} +1 -1
  18. package/dist/{chunk-YLOKCIQJ.cjs → chunk-5SLLMK5K.cjs} +421 -115
  19. package/dist/chunk-5SLLMK5K.cjs.map +1 -0
  20. package/dist/{chunk-SS23F63U.cjs → chunk-5ZBP7TCD.cjs} +55 -3
  21. package/dist/chunk-5ZBP7TCD.cjs.map +1 -0
  22. package/dist/{chunk-3PZPRAAR.cjs → chunk-67HGXV4I.cjs} +14 -14
  23. package/dist/{chunk-3PZPRAAR.cjs.map → chunk-67HGXV4I.cjs.map} +1 -1
  24. package/dist/{chunk-RCP6THBS.js → chunk-7OCFHEE6.js} +3 -3
  25. package/dist/{chunk-RCP6THBS.js.map → chunk-7OCFHEE6.js.map} +1 -1
  26. package/dist/{chunk-TX2ZICS7.js → chunk-CPMNAJLF.js} +4 -24
  27. package/dist/chunk-CPMNAJLF.js.map +1 -0
  28. package/dist/{chunk-5XTZFH65.js → chunk-CVFBSUXL.js} +5 -5
  29. package/dist/{chunk-5XTZFH65.js.map → chunk-CVFBSUXL.js.map} +1 -1
  30. package/dist/chunk-DCDVWPMB.cjs +29 -0
  31. package/dist/chunk-DCDVWPMB.cjs.map +1 -0
  32. package/dist/{chunk-TI4UTYRL.js → chunk-EY2RJW27.js} +258 -10
  33. package/dist/chunk-EY2RJW27.js.map +1 -0
  34. package/dist/{chunk-7YADKWZT.js → chunk-G2E3O3HI.js} +3 -3
  35. package/dist/{chunk-7YADKWZT.js.map → chunk-G2E3O3HI.js.map} +1 -1
  36. package/dist/{chunk-6YHWXMPQ.js → chunk-G2T3KTZ3.js} +419 -115
  37. package/dist/chunk-G2T3KTZ3.js.map +1 -0
  38. package/dist/{chunk-2NNTQLBY.js → chunk-IAKUTBPX.js} +4 -4
  39. package/dist/{chunk-2NNTQLBY.js.map → chunk-IAKUTBPX.js.map} +1 -1
  40. package/dist/{chunk-IZHWP6WQ.cjs → chunk-JG4TFS3Z.cjs} +6 -6
  41. package/dist/{chunk-IZHWP6WQ.cjs.map → chunk-JG4TFS3Z.cjs.map} +1 -1
  42. package/dist/chunk-JLOYWXRB.js +1156 -0
  43. package/dist/chunk-JLOYWXRB.js.map +1 -0
  44. package/dist/{chunk-WJZBJUPX.js → chunk-KXMDOTGW.js} +56 -4
  45. package/dist/chunk-KXMDOTGW.js.map +1 -0
  46. package/dist/{chunk-2VBJ763Y.js → chunk-KZJAG7T3.js} +37 -7
  47. package/dist/chunk-KZJAG7T3.js.map +1 -0
  48. package/dist/{chunk-RIL7G7AS.cjs → chunk-MGUHR3JI.cjs} +4 -4
  49. package/dist/{chunk-RIL7G7AS.cjs.map → chunk-MGUHR3JI.cjs.map} +1 -1
  50. package/dist/{chunk-NPKGUQU5.js → chunk-NJL4LIXX.js} +4 -4
  51. package/dist/{chunk-NPKGUQU5.js.map → chunk-NJL4LIXX.js.map} +1 -1
  52. package/dist/{chunk-DN3NFNIA.cjs → chunk-QMDLPO3M.cjs} +266 -10
  53. package/dist/chunk-QMDLPO3M.cjs.map +1 -0
  54. package/dist/chunk-TJMKFY5P.js +27 -0
  55. package/dist/chunk-TJMKFY5P.js.map +1 -0
  56. package/dist/{chunk-3PJCET7H.js → chunk-UHVNYKV2.js} +38 -18
  57. package/dist/chunk-UHVNYKV2.js.map +1 -0
  58. package/dist/{chunk-6CHMNKXC.cjs → chunk-UTYQPVIW.cjs} +11 -11
  59. package/dist/chunk-UTYQPVIW.cjs.map +1 -0
  60. package/dist/{chunk-KHX2BX3S.cjs → chunk-VGOFFCMT.cjs} +37 -5
  61. package/dist/chunk-VGOFFCMT.cjs.map +1 -0
  62. package/dist/{chunk-67MKU5U7.js → chunk-YMHGF6R5.js} +8 -8
  63. package/dist/chunk-YMHGF6R5.js.map +1 -0
  64. package/dist/chunk-YVIOCITQ.cjs +1186 -0
  65. package/dist/chunk-YVIOCITQ.cjs.map +1 -0
  66. package/dist/{chunk-MVNCQDDE.cjs → chunk-ZVPTFTGV.cjs} +4 -4
  67. package/dist/{chunk-MVNCQDDE.cjs.map → chunk-ZVPTFTGV.cjs.map} +1 -1
  68. package/dist/collaboration/index.cjs +38 -37
  69. package/dist/collaboration/index.js +3 -2
  70. package/dist/connect/index.cjs +358 -19
  71. package/dist/connect/index.cjs.map +1 -1
  72. package/dist/connect/index.d.ts +1 -0
  73. package/dist/connect/index.js +341 -9
  74. package/dist/connect/index.js.map +1 -1
  75. package/dist/connection/ConnectedSettings.d.ts +64 -0
  76. package/dist/facts/index.cjs +2 -2
  77. package/dist/facts/index.js +2 -2
  78. package/dist/files/index.cjs +15 -14
  79. package/dist/files/index.cjs.map +1 -1
  80. package/dist/files/index.js +5 -4
  81. package/dist/files/index.js.map +1 -1
  82. package/dist/home/index.cjs +19 -19
  83. package/dist/home/index.js +4 -4
  84. package/dist/index.cjs +526 -477
  85. package/dist/index.cjs.map +1 -1
  86. package/dist/index.js +17 -16
  87. package/dist/index.js.map +1 -1
  88. package/dist/lib/bottom-inset.d.ts +16 -0
  89. package/dist/lib/useElementSize.d.ts +13 -0
  90. package/dist/lib/useFillHeight.d.ts +10 -0
  91. package/dist/settings/account-views.d.ts +55 -0
  92. package/dist/settings/index.cjs +179 -1148
  93. package/dist/settings/index.cjs.map +1 -1
  94. package/dist/settings/index.d.ts +1 -0
  95. package/dist/settings/index.js +10 -1073
  96. package/dist/settings/index.js.map +1 -1
  97. package/dist/shell/InstallPrompt.d.ts +28 -0
  98. package/dist/shell/MobileBars.d.ts +1 -1
  99. package/dist/shell/index.cjs +85 -45
  100. package/dist/shell/index.d.ts +4 -0
  101. package/dist/shell/index.js +3 -3
  102. package/dist/shell/install-instructions.d.ts +19 -0
  103. package/dist/shell/types.d.ts +6 -0
  104. package/dist/shell/use-install-prompt.d.ts +49 -0
  105. package/dist/site/index.cjs +62 -62
  106. package/dist/site/index.js +2 -2
  107. package/dist/studio/index.cjs +78 -77
  108. package/dist/studio/index.cjs.map +1 -1
  109. package/dist/studio/index.js +8 -7
  110. package/dist/studio/index.js.map +1 -1
  111. package/dist/theme/ThemeEditor.d.ts +4 -2
  112. package/dist/workspaces/index.cjs +4 -3
  113. package/dist/workspaces/index.cjs.map +1 -1
  114. package/dist/workspaces/index.js +3 -2
  115. package/dist/workspaces/index.js.map +1 -1
  116. package/package.json +8 -4
  117. package/src/blocks.css +30 -0
  118. package/dist/chunk-2VBJ763Y.js.map +0 -1
  119. package/dist/chunk-3MIQASHO.cjs.map +0 -1
  120. package/dist/chunk-3PJCET7H.js.map +0 -1
  121. package/dist/chunk-67MKU5U7.js.map +0 -1
  122. package/dist/chunk-6CHMNKXC.cjs.map +0 -1
  123. package/dist/chunk-6YHWXMPQ.js.map +0 -1
  124. package/dist/chunk-DN3NFNIA.cjs.map +0 -1
  125. package/dist/chunk-KHX2BX3S.cjs.map +0 -1
  126. package/dist/chunk-SS23F63U.cjs.map +0 -1
  127. package/dist/chunk-TI4UTYRL.js.map +0 -1
  128. package/dist/chunk-TX2ZICS7.js.map +0 -1
  129. package/dist/chunk-ULWRNGGE.cjs.map +0 -1
  130. package/dist/chunk-WJZBJUPX.js.map +0 -1
  131. package/dist/chunk-YLOKCIQJ.cjs.map +0 -1
@@ -1,19 +1,20 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk6CHMNKXC_cjs = require('../chunk-6CHMNKXC.cjs');
5
- var chunkSS23F63U_cjs = require('../chunk-SS23F63U.cjs');
4
+ var chunkUTYQPVIW_cjs = require('../chunk-UTYQPVIW.cjs');
5
+ var chunk5ZBP7TCD_cjs = require('../chunk-5ZBP7TCD.cjs');
6
6
  var chunkELR74ME6_cjs = require('../chunk-ELR74ME6.cjs');
7
7
  require('../chunk-VPPX5XUF.cjs');
8
8
  var chunkPCB2BPN3_cjs = require('../chunk-PCB2BPN3.cjs');
9
9
  var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
10
10
  require('../chunk-OB5F4577.cjs');
11
11
  var chunkC54XEN5T_cjs = require('../chunk-C54XEN5T.cjs');
12
- var chunk3MIQASHO_cjs = require('../chunk-3MIQASHO.cjs');
13
- require('../chunk-YLOKCIQJ.cjs');
14
- require('../chunk-KHX2BX3S.cjs');
15
- require('../chunk-MHVNT4J3.cjs');
12
+ var chunk23XL6SVZ_cjs = require('../chunk-23XL6SVZ.cjs');
13
+ require('../chunk-5SLLMK5K.cjs');
14
+ require('../chunk-VGOFFCMT.cjs');
15
+ require('../chunk-PPCATBOY.cjs');
16
16
  var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
17
+ require('../chunk-MHVNT4J3.cjs');
17
18
  var lucideReact = require('lucide-react');
18
19
  var react$1 = require('@arbidocs/react');
19
20
  var ui = require('@arbidocs/react/ui');
@@ -53,7 +54,7 @@ function WidgetPlaceholder({
53
54
  );
54
55
  }
55
56
  function useActiveWorkspaceId() {
56
- const { workspaceId, fallbackWorkspaceId } = chunk3MIQASHO_cjs.useConnection();
57
+ const { workspaceId, fallbackWorkspaceId } = chunk23XL6SVZ_cjs.useConnection();
57
58
  return workspaceId ?? fallbackWorkspaceId ?? void 0;
58
59
  }
59
60
  function timeAgo(iso) {
@@ -115,7 +116,7 @@ function LiveMetricInner({
115
116
  const query = source === "documents" ? docs : convos;
116
117
  const count = Array.isArray(query.data) ? query.data.length : 0;
117
118
  return /* @__PURE__ */ jsxRuntime.jsx(
118
- chunk6CHMNKXC_cjs.MetricCard,
119
+ chunkUTYQPVIW_cjs.MetricCard,
119
120
  {
120
121
  label: label || METRIC_SOURCES[source].label,
121
122
  value: query.isLoading ? "\u2014" : String(count),
@@ -239,7 +240,7 @@ function createArbiMaterializer(arbi, opts = {}) {
239
240
  }
240
241
  function collectAssetRefs(node, acc) {
241
242
  if (typeof node === "string") {
242
- if (chunkSS23F63U_cjs.isAssetRef(node)) acc.add(node);
243
+ if (chunk5ZBP7TCD_cjs.isAssetRef(node)) acc.add(node);
243
244
  return;
244
245
  }
245
246
  if (Array.isArray(node)) {
@@ -273,7 +274,7 @@ async function materializePageData(data, materialize) {
273
274
  const replacements = /* @__PURE__ */ new Map();
274
275
  await Promise.all(
275
276
  [...refs].map(async (ref) => {
276
- const src = await materialize(chunkSS23F63U_cjs.assetRefId(ref));
277
+ const src = await materialize(chunk5ZBP7TCD_cjs.assetRefId(ref));
277
278
  if (src) replacements.set(ref, src);
278
279
  })
279
280
  );
@@ -379,7 +380,7 @@ function StudioEditor({
379
380
  radius: stored.radius ?? defaultTheme.radius,
380
381
  activePresetId: null
381
382
  });
382
- chunkSS23F63U_cjs.applyStoredTheme(themeBundle);
383
+ chunk5ZBP7TCD_cjs.applyStoredTheme(themeBundle);
383
384
  })();
384
385
  return () => {
385
386
  cancelled = true;
@@ -485,7 +486,7 @@ function StudioEditor({
485
486
  "\u201D\u2026"
486
487
  ]
487
488
  }
488
- ) : /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.AssetResolverProvider, { render: AssetThumb, children: /* @__PURE__ */ jsxRuntime.jsx(
489
+ ) : /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.AssetResolverProvider, { render: AssetThumb, children: /* @__PURE__ */ jsxRuntime.jsx(
489
490
  puck.Puck,
490
491
  {
491
492
  config,
@@ -503,7 +504,7 @@ function StudioEditor({
503
504
  className: "w-80 shrink-0 border-l border-border",
504
505
  "data-testid": `${testIdPrefix}-theme-drawer`,
505
506
  children: /* @__PURE__ */ jsxRuntime.jsx(
506
- chunkSS23F63U_cjs.ThemeEditor,
507
+ chunk5ZBP7TCD_cjs.ThemeEditor,
507
508
  {
508
509
  bundle: themeBundle,
509
510
  variant: "drawer",
@@ -545,7 +546,7 @@ function PageRenderer({
545
546
  const page = initialData ?? (await persistence.loadPublished(arbi, live, slug)).data ?? (await persistence.loadPage(arbi, live, slug)).data;
546
547
  if (cancelled) return;
547
548
  if (applyTheme) {
548
- chunkSS23F63U_cjs.applyThemeVars(
549
+ chunk5ZBP7TCD_cjs.applyThemeVars(
549
550
  theme ? { ...defaultTheme, ...theme, colors: { ...defaultTheme.colors, ...theme.colors } } : defaultTheme
550
551
  );
551
552
  }
@@ -789,7 +790,7 @@ function AiTextField({
789
790
  setActive(true);
790
791
  await task.run(buildPrompt({ kind, label, current: value ?? "" }), docIds);
791
792
  };
792
- const inputTid = chunkSS23F63U_cjs.tid(`${testIdPrefix}-field`, name);
793
+ const inputTid = chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-field`, name);
793
794
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "al-ai-field", children: [
794
795
  multiline ? /* @__PURE__ */ jsxRuntime.jsx(
795
796
  "textarea",
@@ -818,7 +819,7 @@ function AiTextField({
818
819
  className: "al-ai-field__btn",
819
820
  onClick: () => void write(),
820
821
  disabled: task.isRunning,
821
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-ai-write`, name),
822
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-ai-write`, name),
822
823
  title: "Draft this field with AI, grounded in the marketing workspace",
823
824
  children: [
824
825
  task.isRunning ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-3 animate-spin" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "size-3" }),
@@ -878,7 +879,7 @@ function latestImageDocId(artifacts) {
878
879
  return null;
879
880
  }
880
881
  function useImageGen() {
881
- const task = chunk3MIQASHO_cjs.useConnectedAiTask();
882
+ const task = chunk23XL6SVZ_cjs.useConnectedAiTask();
882
883
  const { run } = task;
883
884
  const generate = react.useCallback(
884
885
  async (prompt, referenceDocIds = []) => {
@@ -921,8 +922,8 @@ function ImageFieldControl({
921
922
  const arbi = react$1.useArbi();
922
923
  const gen = useImageGen();
923
924
  const queryClient = reactQuery.useQueryClient();
924
- const currentAssetImage = useAssetImage(chunkSS23F63U_cjs.isAssetRef(value) ? chunkSS23F63U_cjs.assetRefId(value) : "");
925
- const tp = (...q) => chunkSS23F63U_cjs.tid(`${testIdPrefix}-image`, name, ...q);
925
+ const currentAssetImage = useAssetImage(chunk5ZBP7TCD_cjs.isAssetRef(value) ? chunk5ZBP7TCD_cjs.assetRefId(value) : "");
926
+ const tp = (...q) => chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-image`, name, ...q);
926
927
  const refreshAssets = () => queryClient.invalidateQueries({ queryKey: ["arbi", "documents", workspaceId] });
927
928
  const { data: docs } = react$1.useDocuments(workspaceId);
928
929
  const imageDocs = react.useMemo(
@@ -956,7 +957,7 @@ function ImageFieldControl({
956
957
  const res = await arbi.documents.uploadFile(file, name2, { folder });
957
958
  const id = res.doc_ext_ids?.[0];
958
959
  if (id) {
959
- onChange(chunkSS23F63U_cjs.asAssetRef(id));
960
+ onChange(chunk5ZBP7TCD_cjs.asAssetRef(id));
960
961
  void refreshAssets();
961
962
  }
962
963
  } finally {
@@ -974,7 +975,7 @@ function ImageFieldControl({
974
975
  if (!prompt.trim() || gen.isGenerating) return;
975
976
  const id = await gen.generate(prompt, refIds);
976
977
  if (id) {
977
- onChange(chunkSS23F63U_cjs.asAssetRef(id));
978
+ onChange(chunk5ZBP7TCD_cjs.asAssetRef(id));
978
979
  setRefIds([]);
979
980
  void refreshAssets();
980
981
  }
@@ -989,7 +990,7 @@ function ImageFieldControl({
989
990
  const tabClass = (on) => `inline-flex items-center gap-1 rounded-md px-2 py-1 text-xs font-medium ${on ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:text-foreground"}`;
990
991
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2", "data-testid": tp(), children: [
991
992
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
992
- /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.BlockImage, { src: value, aspect: "16:9", rounded: "md", testId: tp("preview") }),
993
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.BlockImage, { src: value, aspect: "16:9", rounded: "md", testId: tp("preview") }),
993
994
  currentAssetImage ? /* @__PURE__ */ jsxRuntime.jsxs(
994
995
  "button",
995
996
  {
@@ -1023,12 +1024,12 @@ function ImageFieldControl({
1023
1024
  imageDocs.length === 0 && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "col-span-3 py-3 text-center text-xs text-muted-foreground", children: "No image assets yet \u2014 upload or generate one." }),
1024
1025
  imageDocs.map((d) => {
1025
1026
  const thumb = thumbs?.[d.external_id];
1026
- const selected = value === chunkSS23F63U_cjs.asAssetRef(d.external_id);
1027
+ const selected = value === chunk5ZBP7TCD_cjs.asAssetRef(d.external_id);
1027
1028
  return /* @__PURE__ */ jsxRuntime.jsx(
1028
1029
  "button",
1029
1030
  {
1030
1031
  type: "button",
1031
- onClick: () => onChange(chunkSS23F63U_cjs.asAssetRef(d.external_id)),
1032
+ onClick: () => onChange(chunk5ZBP7TCD_cjs.asAssetRef(d.external_id)),
1032
1033
  className: `overflow-hidden rounded border ${selected ? "border-primary ring-1 ring-primary" : "border-border"}`,
1033
1034
  title: d.file_name ?? "",
1034
1035
  "data-testid": tp("asset", d.external_id),
@@ -1090,14 +1091,14 @@ function ImageFieldControl({
1090
1091
  "Reference images",
1091
1092
  refIds.length > 0 ? ` (${refIds.length})` : " (optional)"
1092
1093
  ] }),
1093
- chunkSS23F63U_cjs.isAssetRef(value) && /* @__PURE__ */ jsxRuntime.jsx(
1094
+ chunk5ZBP7TCD_cjs.isAssetRef(value) && /* @__PURE__ */ jsxRuntime.jsx(
1094
1095
  "button",
1095
1096
  {
1096
1097
  type: "button",
1097
1098
  className: "text-xs font-medium text-primary hover:underline",
1098
- onClick: () => toggleRef(chunkSS23F63U_cjs.assetRefId(value)),
1099
+ onClick: () => toggleRef(chunk5ZBP7TCD_cjs.assetRefId(value)),
1099
1100
  "data-testid": tp("vary-current"),
1100
- children: refIds.includes(chunkSS23F63U_cjs.assetRefId(value)) ? "Varying current" : "Vary current image"
1101
+ children: refIds.includes(chunk5ZBP7TCD_cjs.assetRefId(value)) ? "Varying current" : "Vary current image"
1101
1102
  }
1102
1103
  )
1103
1104
  ] }),
@@ -1311,7 +1312,7 @@ function createBlockKit(ai, image, eyebrowClassName) {
1311
1312
  }),
1312
1313
  iconField: (label = "Icon") => ({ type: "select", label, options: ICON_OPTIONS }),
1313
1314
  resolveIcon: (name) => name ? iconMap[name] : void 0,
1314
- blockTestId: (id) => chunkSS23F63U_cjs.tid("arbi-block", id)
1315
+ blockTestId: (id) => chunk5ZBP7TCD_cjs.tid("arbi-block", id)
1315
1316
  };
1316
1317
  }
1317
1318
  var emptySlot = [];
@@ -1376,7 +1377,7 @@ function createWebsiteBlocks(kit) {
1376
1377
  render: ({ id, count, gap, col1, col2, col3, col4 }) => {
1377
1378
  const n = Number(count) || 3;
1378
1379
  const columns = [col1, col2, col3, col4].slice(0, n).map(renderSlot);
1379
- return /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Columns, { count: n, gap, columns, testId: blockTestId(id) });
1380
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Columns, { count: n, gap, columns, testId: blockTestId(id) });
1380
1381
  }
1381
1382
  };
1382
1383
  const SpacerBlock = {
@@ -1394,7 +1395,7 @@ function createWebsiteBlocks(kit) {
1394
1395
  }
1395
1396
  },
1396
1397
  defaultProps: { size: "md" },
1397
- render: ({ id, size }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Spacer, { size, testId: blockTestId(id) })
1398
+ render: ({ id, size }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Spacer, { size, testId: blockTestId(id) })
1398
1399
  };
1399
1400
  const ContainerBlock = {
1400
1401
  label: "Container",
@@ -1422,7 +1423,7 @@ function createWebsiteBlocks(kit) {
1422
1423
  children: { type: "slot" }
1423
1424
  },
1424
1425
  defaultProps: { width: "default", padding: "md", children: emptySlot },
1425
- render: ({ id, width, padding, children }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Container, { width, padding, testId: blockTestId(id), children: renderSlot(children) })
1426
+ render: ({ id, width, padding, children }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Container, { width, padding, testId: blockTestId(id), children: renderSlot(children) })
1426
1427
  };
1427
1428
  const HeroBlock = {
1428
1429
  label: "Hero",
@@ -1473,7 +1474,7 @@ function createWebsiteBlocks(kit) {
1473
1474
  backgroundImage,
1474
1475
  overlay
1475
1476
  }) => /* @__PURE__ */ jsxRuntime.jsx(
1476
- chunkSS23F63U_cjs.Hero,
1477
+ chunk5ZBP7TCD_cjs.Hero,
1477
1478
  {
1478
1479
  eyebrow,
1479
1480
  title,
@@ -1545,7 +1546,7 @@ function createWebsiteBlocks(kit) {
1545
1546
  icon: resolveIcon(it.icon)
1546
1547
  })
1547
1548
  );
1548
- return /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.FeatureGrid, { columns, items: list, testId: blockTestId(id) });
1549
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.FeatureGrid, { columns, items: list, testId: blockTestId(id) });
1549
1550
  }
1550
1551
  };
1551
1552
  const StatGroupBlock = {
@@ -1570,7 +1571,7 @@ function createWebsiteBlocks(kit) {
1570
1571
  { value: "24/7", label: "Support" }
1571
1572
  ]
1572
1573
  },
1573
- render: ({ id, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunk6CHMNKXC_cjs.StatGroup, { items, testId: blockTestId(id) })
1574
+ render: ({ id, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunkUTYQPVIW_cjs.StatGroup, { items, testId: blockTestId(id) })
1574
1575
  };
1575
1576
  const TestimonialBlock = {
1576
1577
  label: "Testimonial",
@@ -1587,7 +1588,7 @@ function createWebsiteBlocks(kit) {
1587
1588
  avatarUrl: ""
1588
1589
  },
1589
1590
  render: ({ id, quote, author, role, avatarUrl }) => /* @__PURE__ */ jsxRuntime.jsx(
1590
- chunkSS23F63U_cjs.Testimonial,
1591
+ chunk5ZBP7TCD_cjs.Testimonial,
1591
1592
  {
1592
1593
  quote,
1593
1594
  author,
@@ -1616,7 +1617,7 @@ function createWebsiteBlocks(kit) {
1616
1617
  overlay: true
1617
1618
  },
1618
1619
  render: ({ id, title, subtitle, cta, tone, backgroundImage, overlay }) => /* @__PURE__ */ jsxRuntime.jsx(
1619
- chunkSS23F63U_cjs.CTABanner,
1620
+ chunk5ZBP7TCD_cjs.CTABanner,
1620
1621
  {
1621
1622
  title,
1622
1623
  subtitle,
@@ -1648,7 +1649,7 @@ function createWebsiteBlocks(kit) {
1648
1649
  { label: "Umbrella" }
1649
1650
  ]
1650
1651
  },
1651
- render: ({ id, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.LogoCloud, { items, testId: blockTestId(id) })
1652
+ render: ({ id, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.LogoCloud, { items, testId: blockTestId(id) })
1652
1653
  };
1653
1654
  const FAQBlock = {
1654
1655
  label: "FAQ",
@@ -1680,7 +1681,7 @@ function createWebsiteBlocks(kit) {
1680
1681
  }
1681
1682
  ]
1682
1683
  },
1683
- render: ({ id, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.FAQ, { items, testId: blockTestId(id) })
1684
+ render: ({ id, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.FAQ, { items, testId: blockTestId(id) })
1684
1685
  };
1685
1686
  const TimelineBlockConfig = {
1686
1687
  label: "Timeline",
@@ -1755,7 +1756,7 @@ function createWebsiteBlocks(kit) {
1755
1756
  defaultProps: {
1756
1757
  content: "## About us\n\nWe build tools that help teams do their best work. Our platform combines **power** and _simplicity_ so you can focus on what matters.\n\n- Fast to learn\n- Easy to scale\n- Loved by teams"
1757
1758
  },
1758
- render: ({ id, content }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.RichTextBlock, { content, testId: blockTestId(id) })
1759
+ render: ({ id, content }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.RichTextBlock, { content, testId: blockTestId(id) })
1759
1760
  };
1760
1761
  const CalloutBlock = {
1761
1762
  label: "Callout",
@@ -1809,7 +1810,7 @@ function createWebsiteBlocks(kit) {
1809
1810
  },
1810
1811
  defaultProps: { src: "", alt: "Image", aspect: "16:9", rounded: "lg", framed: false },
1811
1812
  render: ({ id, src, alt, aspect, rounded, framed }) => /* @__PURE__ */ jsxRuntime.jsx(
1812
- chunkSS23F63U_cjs.BlockImage,
1813
+ chunk5ZBP7TCD_cjs.BlockImage,
1813
1814
  {
1814
1815
  src,
1815
1816
  alt,
@@ -1837,7 +1838,7 @@ function createWebsiteBlocks(kit) {
1837
1838
  }
1838
1839
  },
1839
1840
  defaultProps: { src: "", name: "Jane Doe", size: "md" },
1840
- render: ({ id, src, name, size }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.AvatarBlock, { src, name, size, testId: blockTestId(id) })
1841
+ render: ({ id, src, name, size }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.AvatarBlock, { src, name, size, testId: blockTestId(id) })
1841
1842
  };
1842
1843
  const NavbarBlock = {
1843
1844
  label: "Navbar",
@@ -1865,7 +1866,7 @@ function createWebsiteBlocks(kit) {
1865
1866
  ],
1866
1867
  cta: { label: "Sign up", href: "#" }
1867
1868
  },
1868
- render: ({ id, brand, links, cta }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Navbar, { brand, links, cta, testId: blockTestId(id) })
1869
+ render: ({ id, brand, links, cta }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Navbar, { brand, links, cta, testId: blockTestId(id) })
1869
1870
  };
1870
1871
  const FooterBlock = {
1871
1872
  label: "Footer",
@@ -1924,7 +1925,7 @@ function createWebsiteBlocks(kit) {
1924
1925
  ],
1925
1926
  copyright: "\xA9 2026 Acme, Inc. All rights reserved."
1926
1927
  },
1927
- render: ({ id, columns, copyright }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Footer, { columns, copyright, testId: blockTestId(id) })
1928
+ render: ({ id, columns, copyright }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Footer, { columns, copyright, testId: blockTestId(id) })
1928
1929
  };
1929
1930
  const ListBlockConfig = {
1930
1931
  label: "List",
@@ -1942,7 +1943,7 @@ function createWebsiteBlocks(kit) {
1942
1943
  ordered: false,
1943
1944
  items: [{ text: "First item" }, { text: "Second item" }, { text: "Third item" }]
1944
1945
  },
1945
- render: ({ id, ordered, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.ListBlock, { ordered, items, testId: blockTestId(id) })
1946
+ render: ({ id, ordered, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.ListBlock, { ordered, items, testId: blockTestId(id) })
1946
1947
  };
1947
1948
  return {
1948
1949
  Columns: ColumnsBlock,
@@ -2045,7 +2046,7 @@ function createSiteBlocks(kit) {
2045
2046
  ]
2046
2047
  },
2047
2048
  render: ({ id, plans }) => /* @__PURE__ */ jsxRuntime.jsx(
2048
- chunkSS23F63U_cjs.PricingTable,
2049
+ chunk5ZBP7TCD_cjs.PricingTable,
2049
2050
  {
2050
2051
  plans: (plans ?? []).map(
2051
2052
  (p) => ({
@@ -2083,7 +2084,7 @@ function createSiteBlocks(kit) {
2083
2084
  { label: "FAQ", content: "Answers to common questions." }
2084
2085
  ]
2085
2086
  },
2086
- render: ({ id, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Tabs, { items, testId: blockTestId(id) })
2087
+ render: ({ id, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Tabs, { items, testId: blockTestId(id) })
2087
2088
  };
2088
2089
  const AccordionBlock = {
2089
2090
  label: "Accordion",
@@ -2107,7 +2108,7 @@ function createSiteBlocks(kit) {
2107
2108
  { title: "How does billing work?", content: "Monthly or annually, cancel anytime." }
2108
2109
  ]
2109
2110
  },
2110
- render: ({ id, allowMultiple, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Accordion, { allowMultiple, items, testId: blockTestId(id) })
2111
+ render: ({ id, allowMultiple, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Accordion, { allowMultiple, items, testId: blockTestId(id) })
2111
2112
  };
2112
2113
  const GalleryBlock = {
2113
2114
  label: "Gallery",
@@ -2143,7 +2144,7 @@ function createSiteBlocks(kit) {
2143
2144
  { src: "", alt: "Image three", caption: "" }
2144
2145
  ]
2145
2146
  },
2146
- render: ({ id, columns, aspect, images }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Gallery, { columns, aspect, images, testId: blockTestId(id) })
2147
+ render: ({ id, columns, aspect, images }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Gallery, { columns, aspect, images, testId: blockTestId(id) })
2147
2148
  };
2148
2149
  const VideoBlock = {
2149
2150
  label: "Video",
@@ -2163,7 +2164,7 @@ function createSiteBlocks(kit) {
2163
2164
  },
2164
2165
  defaultProps: { url: "", title: "", aspect: "16:9", rounded: true },
2165
2166
  render: ({ id, url, title, aspect, rounded }) => /* @__PURE__ */ jsxRuntime.jsx(
2166
- chunkSS23F63U_cjs.VideoEmbed,
2167
+ chunk5ZBP7TCD_cjs.VideoEmbed,
2167
2168
  {
2168
2169
  url,
2169
2170
  title,
@@ -2212,7 +2213,7 @@ function createSiteBlocks(kit) {
2212
2213
  ]
2213
2214
  },
2214
2215
  render: ({ id, submitLabel, action, successMessage, fields }) => /* @__PURE__ */ jsxRuntime.jsx(
2215
- chunkSS23F63U_cjs.ContactForm,
2216
+ chunk5ZBP7TCD_cjs.ContactForm,
2216
2217
  {
2217
2218
  submitLabel,
2218
2219
  action: action || void 0,
@@ -2242,7 +2243,7 @@ function createSiteBlocks(kit) {
2242
2243
  cta: { label: "Read more", href: "#" },
2243
2244
  tone: "primary"
2244
2245
  },
2245
- render: ({ id, text, cta, tone }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Banner, { text, cta, tone, testId: blockTestId(id) })
2246
+ render: ({ id, text, cta, tone }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Banner, { text, cta, tone, testId: blockTestId(id) })
2246
2247
  };
2247
2248
  const MediaTextBlock = {
2248
2249
  label: "Media & text",
@@ -2270,7 +2271,7 @@ function createSiteBlocks(kit) {
2270
2271
  cta: { label: "Learn more", href: "#" }
2271
2272
  },
2272
2273
  render: ({ id, eyebrow, title, body, imageUrl, mediaSide, cta }) => /* @__PURE__ */ jsxRuntime.jsx(
2273
- chunkSS23F63U_cjs.MediaText,
2274
+ chunk5ZBP7TCD_cjs.MediaText,
2274
2275
  {
2275
2276
  eyebrow,
2276
2277
  title,
@@ -2307,7 +2308,7 @@ function createSiteBlocks(kit) {
2307
2308
  { name: "Jordan Lee", role: "Lead Engineer", bio: "", avatarUrl: "" }
2308
2309
  ]
2309
2310
  },
2310
- render: ({ id, columns, members }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.TeamGrid, { columns, members, testId: blockTestId(id) })
2311
+ render: ({ id, columns, members }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.TeamGrid, { columns, members, testId: blockTestId(id) })
2311
2312
  };
2312
2313
  const StepsBlock = {
2313
2314
  label: "Steps",
@@ -2339,7 +2340,7 @@ function createSiteBlocks(kit) {
2339
2340
  { title: "Launch", description: "Go live and start seeing results." }
2340
2341
  ]
2341
2342
  },
2342
- render: ({ id, variant, steps }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.Steps, { variant, steps, testId: blockTestId(id) })
2343
+ render: ({ id, variant, steps }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.Steps, { variant, steps, testId: blockTestId(id) })
2343
2344
  };
2344
2345
  const TestimonialGridBlock = {
2345
2346
  label: "Testimonial grid",
@@ -2381,7 +2382,7 @@ function createSiteBlocks(kit) {
2381
2382
  }
2382
2383
  ]
2383
2384
  },
2384
- render: ({ id, columns, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS23F63U_cjs.TestimonialGrid, { columns, items, testId: blockTestId(id) })
2385
+ render: ({ id, columns, items }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5ZBP7TCD_cjs.TestimonialGrid, { columns, items, testId: blockTestId(id) })
2385
2386
  };
2386
2387
  return {
2387
2388
  Pricing: PricingBlock,
@@ -2425,7 +2426,7 @@ function createArbiBlocksConfig(opts = {}) {
2425
2426
  },
2426
2427
  defaultProps: { title: "Section title", align: "left", invert: false },
2427
2428
  render: ({ id, title, eyebrow, lead, align, invert }) => /* @__PURE__ */ jsxRuntime.jsx("div", { "data-testid": blockTestId(id), children: /* @__PURE__ */ jsxRuntime.jsx(
2428
- chunkSS23F63U_cjs.SectionHeading,
2429
+ chunk5ZBP7TCD_cjs.SectionHeading,
2429
2430
  {
2430
2431
  title,
2431
2432
  eyebrow,
@@ -2448,7 +2449,7 @@ function createArbiBlocksConfig(opts = {}) {
2448
2449
  },
2449
2450
  defaultProps: { title: "Page title", actions: emptySlot2 },
2450
2451
  render: ({ id, title, eyebrow, description, actions: Actions }) => /* @__PURE__ */ jsxRuntime.jsx(
2451
- chunk6CHMNKXC_cjs.PageHeader,
2452
+ chunkUTYQPVIW_cjs.PageHeader,
2452
2453
  {
2453
2454
  title,
2454
2455
  eyebrow,
@@ -2515,7 +2516,7 @@ function createArbiBlocksConfig(opts = {}) {
2515
2516
  },
2516
2517
  defaultProps: { label: "Metric", value: "0", accent: "default" },
2517
2518
  render: ({ id, label, value, hint, accent, delta, icon }) => /* @__PURE__ */ jsxRuntime.jsx(
2518
- chunk6CHMNKXC_cjs.MetricCard,
2519
+ chunkUTYQPVIW_cjs.MetricCard,
2519
2520
  {
2520
2521
  label,
2521
2522
  value,
@@ -2631,7 +2632,7 @@ function createArbiBlocksConfig(opts = {}) {
2631
2632
  field: col.field || `col-${index}`
2632
2633
  }));
2633
2634
  return /* @__PURE__ */ jsxRuntime.jsx(
2634
- chunk6CHMNKXC_cjs.DataTableBlock,
2635
+ chunkUTYQPVIW_cjs.DataTableBlock,
2635
2636
  {
2636
2637
  columns: normalisedCols,
2637
2638
  rows: recordRows,
@@ -3019,7 +3020,7 @@ function ModuleManager({ store, testIdPrefix = "builder" }) {
3019
3020
  {
3020
3021
  variant: "elevated",
3021
3022
  className: "rounded-lg",
3022
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-modules-section`, group.section),
3023
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-modules-section`, group.section),
3023
3024
  children: [
3024
3025
  /* @__PURE__ */ jsxRuntime.jsx(ui.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.CardTitle, { className: "text-base", children: group.section }) }),
3025
3026
  /* @__PURE__ */ jsxRuntime.jsx(ui.CardContent, { className: "space-y-1.5", children: group.modules.map((m, idx) => {
@@ -3028,7 +3029,7 @@ function ModuleManager({ store, testIdPrefix = "builder" }) {
3028
3029
  "div",
3029
3030
  {
3030
3031
  className: "flex items-center gap-3 rounded-md border border-border/60 bg-card px-3 py-2",
3031
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-module`, m.id),
3032
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-module`, m.id),
3032
3033
  children: [
3033
3034
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
3034
3035
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -3040,7 +3041,7 @@ function ModuleManager({ store, testIdPrefix = "builder" }) {
3040
3041
  disabled: idx === 0,
3041
3042
  onClick: () => move(m.id, "up"),
3042
3043
  "aria-label": `Move ${m.label} up`,
3043
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-module-up`, m.id),
3044
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-module-up`, m.id),
3044
3045
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { className: "size-3.5" })
3045
3046
  }
3046
3047
  ),
@@ -3053,7 +3054,7 @@ function ModuleManager({ store, testIdPrefix = "builder" }) {
3053
3054
  disabled: idx === group.modules.length - 1,
3054
3055
  onClick: () => move(m.id, "down"),
3055
3056
  "aria-label": `Move ${m.label} down`,
3056
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-module-down`, m.id),
3057
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-module-down`, m.id),
3057
3058
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "size-3.5" })
3058
3059
  }
3059
3060
  )
@@ -3073,7 +3074,7 @@ function ModuleManager({ store, testIdPrefix = "builder" }) {
3073
3074
  checked: m.enabled,
3074
3075
  onCheckedChange: () => toggle2(m.id),
3075
3076
  "aria-label": `Enable ${m.label}`,
3076
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-module-toggle`, m.id)
3077
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-module-toggle`, m.id)
3077
3078
  }
3078
3079
  )
3079
3080
  ]
@@ -3105,7 +3106,7 @@ function ConfigModelBadge({ configId, testIdPrefix }) {
3105
3106
  ui.Badge,
3106
3107
  {
3107
3108
  variant: TIER_VARIANT[tier] ?? "secondary",
3108
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-agents-config-tier`, configId),
3109
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-agents-config-tier`, configId),
3109
3110
  children: [
3110
3111
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Cpu, { className: "size-3" }),
3111
3112
  " ",
@@ -3142,14 +3143,14 @@ function AgentsPanel({ store, testIdPrefix = "builder" }) {
3142
3143
  "label",
3143
3144
  {
3144
3145
  className: "flex cursor-pointer items-center gap-3 rounded-md border border-border/60 bg-card px-3 py-2",
3145
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-agents-config`, v.external_id),
3146
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-agents-config`, v.external_id),
3146
3147
  children: [
3147
3148
  /* @__PURE__ */ jsxRuntime.jsx(
3148
3149
  ui.Checkbox,
3149
3150
  {
3150
3151
  checked: configIds.includes(v.external_id),
3151
3152
  onCheckedChange: () => toggleConfig(v.external_id),
3152
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-agents-config-toggle`, v.external_id)
3153
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-agents-config-toggle`, v.external_id)
3153
3154
  }
3154
3155
  ),
3155
3156
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
@@ -3178,14 +3179,14 @@ function AgentsPanel({ store, testIdPrefix = "builder" }) {
3178
3179
  "label",
3179
3180
  {
3180
3181
  className: "flex cursor-pointer items-center gap-3 rounded-md border border-border/60 bg-card px-3 py-2",
3181
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-agents-agent`, a.external_id),
3182
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-agents-agent`, a.external_id),
3182
3183
  children: [
3183
3184
  /* @__PURE__ */ jsxRuntime.jsx(
3184
3185
  ui.Checkbox,
3185
3186
  {
3186
3187
  checked: agentIds.includes(a.external_id),
3187
3188
  onCheckedChange: () => toggleAgent(a.external_id),
3188
- "data-testid": chunkSS23F63U_cjs.tid(`${testIdPrefix}-agents-agent-toggle`, a.external_id)
3189
+ "data-testid": chunk5ZBP7TCD_cjs.tid(`${testIdPrefix}-agents-agent-toggle`, a.external_id)
3189
3190
  }
3190
3191
  ),
3191
3192
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
@@ -3272,7 +3273,7 @@ function VerticalBuilder({
3272
3273
  ] })
3273
3274
  ] }),
3274
3275
  /* @__PURE__ */ jsxRuntime.jsx(ui.TabsContent, { value: "theme", children: /* @__PURE__ */ jsxRuntime.jsx(
3275
- chunkSS23F63U_cjs.ThemeEditor,
3276
+ chunk5ZBP7TCD_cjs.ThemeEditor,
3276
3277
  {
3277
3278
  bundle: themeBundle,
3278
3279
  variant: "panel",
@@ -3298,31 +3299,31 @@ function VerticalBuilder({
3298
3299
 
3299
3300
  Object.defineProperty(exports, "ASSET_REF_PREFIX", {
3300
3301
  enumerable: true,
3301
- get: function () { return chunkSS23F63U_cjs.ASSET_REF_PREFIX; }
3302
+ get: function () { return chunk5ZBP7TCD_cjs.ASSET_REF_PREFIX; }
3302
3303
  });
3303
3304
  Object.defineProperty(exports, "AssetResolverProvider", {
3304
3305
  enumerable: true,
3305
- get: function () { return chunkSS23F63U_cjs.AssetResolverProvider; }
3306
+ get: function () { return chunk5ZBP7TCD_cjs.AssetResolverProvider; }
3306
3307
  });
3307
3308
  Object.defineProperty(exports, "asAssetRef", {
3308
3309
  enumerable: true,
3309
- get: function () { return chunkSS23F63U_cjs.asAssetRef; }
3310
+ get: function () { return chunk5ZBP7TCD_cjs.asAssetRef; }
3310
3311
  });
3311
3312
  Object.defineProperty(exports, "assetRefId", {
3312
3313
  enumerable: true,
3313
- get: function () { return chunkSS23F63U_cjs.assetRefId; }
3314
+ get: function () { return chunk5ZBP7TCD_cjs.assetRefId; }
3314
3315
  });
3315
3316
  Object.defineProperty(exports, "isAssetRef", {
3316
3317
  enumerable: true,
3317
- get: function () { return chunkSS23F63U_cjs.isAssetRef; }
3318
+ get: function () { return chunk5ZBP7TCD_cjs.isAssetRef; }
3318
3319
  });
3319
3320
  Object.defineProperty(exports, "useAssetRenderer", {
3320
3321
  enumerable: true,
3321
- get: function () { return chunkSS23F63U_cjs.useAssetRenderer; }
3322
+ get: function () { return chunk5ZBP7TCD_cjs.useAssetRenderer; }
3322
3323
  });
3323
3324
  Object.defineProperty(exports, "useAssetResolverActive", {
3324
3325
  enumerable: true,
3325
- get: function () { return chunkSS23F63U_cjs.useAssetResolverActive; }
3326
+ get: function () { return chunk5ZBP7TCD_cjs.useAssetResolverActive; }
3326
3327
  });
3327
3328
  exports.AgentsPanel = AgentsPanel;
3328
3329
  exports.AssetThumb = AssetThumb;