@flamingo-stack/openframe-frontend-core 0.0.823 → 0.0.825

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 (119) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/chat-protocol/events.d.ts +0 -3
  3. package/dist/chat-protocol/events.d.ts.map +1 -1
  4. package/dist/chat-protocol/frames.d.ts +10 -7
  5. package/dist/chat-protocol/frames.d.ts.map +1 -1
  6. package/dist/chat-protocol/index.cjs +238 -234
  7. package/dist/chat-protocol/leading-frames.d.ts.map +1 -1
  8. package/dist/chat-protocol/leading-frames.js +6 -3
  9. package/dist/chat-protocol/progress.d.ts +13 -20
  10. package/dist/chat-protocol/progress.d.ts.map +1 -1
  11. package/dist/chat-protocol/progress.js +13 -11
  12. package/dist/{chunk-QCRJVO6Y.cjs → chunk-2IWAHBCC.cjs} +1 -1
  13. package/dist/{chunk-2LT2WR4O.cjs → chunk-2U7GXE3T.cjs} +2789 -2819
  14. package/dist/{chunk-DEWT25QK.cjs → chunk-47SHKOCY.cjs} +65 -72
  15. package/dist/{chunk-UUFL4FDS.cjs → chunk-4IY5FKYL.cjs} +14 -14
  16. package/dist/{chunk-TJFVIJPV.cjs → chunk-5S2GW6YG.cjs} +2 -2
  17. package/dist/{chunk-AK7MYM25.cjs → chunk-6LVJKPR3.cjs} +3 -3
  18. package/dist/{chunk-HWXFUI3R.cjs → chunk-7DJWIVQC.cjs} +30 -30
  19. package/dist/{chunk-K7NGDYBG.cjs → chunk-AO6YVNAH.cjs} +136 -136
  20. package/dist/{chunk-Y7BTM2NC.cjs → chunk-APTFXX2C.cjs} +39 -39
  21. package/dist/{chunk-L7YE6APP.cjs → chunk-AUBR3FGY.cjs} +11 -11
  22. package/dist/{chunk-XEIZL3I3.cjs → chunk-B7NSH7IK.cjs} +6 -6
  23. package/dist/{chunk-3JCDSZ6D.cjs → chunk-BN7QENV7.cjs} +4 -4
  24. package/dist/{chunk-U7CH53FT.cjs → chunk-DNZCSPMU.cjs} +13 -13
  25. package/dist/{chunk-KWS7YKCO.cjs → chunk-IMMTH3F3.cjs} +13 -13
  26. package/dist/{chunk-GP2Y3DBE.cjs → chunk-MALCUN2G.cjs} +6 -6
  27. package/dist/{chunk-Y3MPERIZ.cjs → chunk-MHR4C465.cjs} +3 -3
  28. package/dist/{chunk-YMDSCI4E.cjs → chunk-N7IDLF2G.cjs} +32 -32
  29. package/dist/{chunk-2U6MAM6D.cjs → chunk-NL34HKLS.cjs} +63 -63
  30. package/dist/{chunk-SBXL5EKE.cjs → chunk-P25RVNGX.cjs} +23 -23
  31. package/dist/{chunk-GBILLSRM.cjs → chunk-QOOMUGF2.cjs} +4 -4
  32. package/dist/{chunk-DYSMAPSI.cjs → chunk-XJMLZ63Y.cjs} +4 -4
  33. package/dist/{chunk-2YUWBIZM.cjs → chunk-Z7BLMJEI.cjs} +46 -46
  34. package/dist/{cloud-tenants-VQQ2KNJI.cjs → cloud-tenants-M4VFFN33.cjs} +6 -6
  35. package/dist/components/case-studies/index.cjs +20 -20
  36. package/dist/components/chat/embeddable-chat.d.ts +0 -2
  37. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  38. package/dist/components/chat/embeddable-chat.js +1 -5
  39. package/dist/components/chat/entity-cards/blog-card.js +1 -1
  40. package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
  41. package/dist/components/chat/hooks/use-sse-chat-adapter.js +0 -2
  42. package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
  43. package/dist/components/chat/hooks/use-unified-chat.js +0 -1
  44. package/dist/components/chat/index.cjs +5 -5
  45. package/dist/components/chat/mingo-welcome.js +1 -1
  46. package/dist/components/chat/stream/chat-dialog-store.d.ts.map +1 -1
  47. package/dist/components/chat/stream/chat-dialog-store.js +0 -1
  48. package/dist/components/chat/stream/chat-stream-reducer.d.ts +0 -4
  49. package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
  50. package/dist/components/chat/stream/chat-stream-reducer.js +6 -13
  51. package/dist/components/chat/types/unified-chat-state.types.d.ts +0 -5
  52. package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
  53. package/dist/components/contact/index.cjs +7 -7
  54. package/dist/components/docs/index.cjs +10 -10
  55. package/dist/components/embeds/index.cjs +7 -7
  56. package/dist/components/faq/index.cjs +8 -8
  57. package/dist/components/features/filters-dropdown.js +2 -2
  58. package/dist/components/features/index.cjs +6 -6
  59. package/dist/components/features/notifications/approval-request-notification-tile.js +1 -1
  60. package/dist/components/help-center-pages/index.cjs +80 -80
  61. package/dist/components/index.cjs +48 -48
  62. package/dist/components/loading/index.d.ts.map +1 -1
  63. package/dist/components/meeting-scheduler/index.cjs +31 -31
  64. package/dist/components/navigation/index.cjs +9 -9
  65. package/dist/components/onboarding-guides/index.cjs +9 -9
  66. package/dist/components/product-demo/index.cjs +15 -15
  67. package/dist/components/related-content/index.cjs +4 -4
  68. package/dist/components/shared/article-author-byline.js +4 -4
  69. package/dist/components/tickets/index.cjs +11 -11
  70. package/dist/components/tickets/ticket-row.js +10 -17
  71. package/dist/components/ui/date-picker.js +1 -1
  72. package/dist/components/ui/index.cjs +6 -6
  73. package/dist/components/ui/markdown/base-components.js +1 -1
  74. package/dist/components/ui/markdown/engine.js +2 -2
  75. package/dist/components/ui/navigation-menu.js +1 -1
  76. package/dist/components/ui/radio-group.d.ts.map +1 -1
  77. package/dist/components/ui/radio-group.js +1 -1
  78. package/dist/components/ui/sticky-action-bar.js +1 -1
  79. package/dist/{devices-KKJHYQ72.cjs → devices-DW5NDXMD.cjs} +7 -7
  80. package/dist/{embeddable-chat-MQGYFYGX.cjs → embeddable-chat-NBJMXEXB.cjs} +67 -71
  81. package/dist/index.cjs +10 -10
  82. package/dist/{knowledge-VMLXNFDI.cjs → knowledge-EYJG2TNW.cjs} +7 -7
  83. package/dist/loading-standard/engine.d.mts.map +1 -1
  84. package/dist/{logs-EFXRQ6LV.cjs → logs-2LV7DTSL.cjs} +14 -14
  85. package/dist/{policies-SU3NQPFV.cjs → policies-HSDYIQBX.cjs} +10 -10
  86. package/dist/{scripts-WLLAUOAA.cjs → scripts-UI6V7ANQ.cjs} +11 -11
  87. package/dist/{software-update-WKUDBC3U.cjs → software-update-WMLY7VHH.cjs} +9 -9
  88. package/eslint-config/README.md +21 -0
  89. package/eslint-config/base.js +12 -0
  90. package/eslint-config/dead-classes.js +256 -0
  91. package/package.json +2 -1
  92. package/src/chat-protocol/events.ts +0 -3
  93. package/src/chat-protocol/frames.ts +12 -8
  94. package/src/chat-protocol/leading-frames.ts +7 -4
  95. package/src/chat-protocol/progress.ts +31 -28
  96. package/src/components/chat/embeddable-chat.tsx +2 -12
  97. package/src/components/chat/entity-cards/blog-card.tsx +1 -1
  98. package/src/components/chat/hooks/use-sse-chat-adapter.ts +0 -2
  99. package/src/components/chat/hooks/use-unified-chat.ts +0 -1
  100. package/src/components/chat/mingo-welcome.tsx +1 -1
  101. package/src/components/chat/stream/chat-dialog-store.ts +0 -1
  102. package/src/components/chat/stream/chat-stream-reducer.ts +6 -17
  103. package/src/components/chat/types/unified-chat-state.types.ts +0 -6
  104. package/src/components/features/filters-dropdown.tsx +2 -2
  105. package/src/components/features/notifications/approval-request-notification-tile.tsx +1 -1
  106. package/src/components/loading/index.ts +0 -5
  107. package/src/components/shared/article-author-byline.tsx +4 -4
  108. package/src/components/tickets/ticket-row.tsx +1 -4
  109. package/src/components/ui/date-picker.tsx +1 -1
  110. package/src/components/ui/markdown/base-components.tsx +1 -1
  111. package/src/components/ui/markdown/engine.tsx +4 -4
  112. package/src/components/ui/navigation-menu.tsx +1 -1
  113. package/src/components/ui/radio-group.tsx +1 -2
  114. package/src/components/ui/sticky-action-bar.tsx +1 -1
  115. package/src/loading-standard/engine.mjs +1 -2
  116. package/dist/components/loading/openmsp-heartbeat.d.ts +0 -7
  117. package/dist/components/loading/openmsp-heartbeat.d.ts.map +0 -1
  118. package/dist/components/loading/openmsp-heartbeat.js +0 -68
  119. package/src/components/loading/openmsp-heartbeat.tsx +0 -69
@@ -58,8 +58,7 @@ require('./chunk-24I6RFVU.cjs');
58
58
 
59
59
 
60
60
 
61
-
62
- var _chunk2LT2WR4Ocjs = require('./chunk-2LT2WR4O.cjs');
61
+ var _chunk2U7GXE3Tcjs = require('./chunk-2U7GXE3T.cjs');
63
62
 
64
63
 
65
64
  var _chunkOBQ5WUNGcjs = require('./chunk-OBQ5WUNG.cjs');
@@ -1882,7 +1881,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
1882
1881
  require('./chunk-SKI6NKOE.cjs');
1883
1882
 
1884
1883
 
1885
- var _chunkQCRJVO6Ycjs = require('./chunk-QCRJVO6Y.cjs');
1884
+ var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
1886
1885
 
1887
1886
 
1888
1887
  var _chunkUEULXVW2cjs = require('./chunk-UEULXVW2.cjs');
@@ -2006,7 +2005,7 @@ function useChatDialogManager({
2006
2005
  setArchivedLoading(true);
2007
2006
  }
2008
2007
  try {
2009
- const result = await fetchArchivedDialogs({ cursor, limit: _chunk2LT2WR4Ocjs.CHAT_HISTORY_PAGE_SIZE });
2008
+ const result = await fetchArchivedDialogs({ cursor, limit: _chunk2U7GXE3Tcjs.CHAT_HISTORY_PAGE_SIZE });
2010
2009
  if (!isCurrent()) return;
2011
2010
  setArchivedCursor(result.nextCursor);
2012
2011
  setArchivedDialogs((prev) => cursor ? [...prev, ...result.dialogs] : result.dialogs);
@@ -2125,12 +2124,12 @@ function withoutCode(content) {
2125
2124
  }
2126
2125
  function splitCitedSources(sources, content) {
2127
2126
  if (!sources || sources.length === 0) return { cited: [], uncited: [] };
2128
- const byCards = splitByCards(sources, _chunk2LT2WR4Ocjs.extractCardReferences.call(void 0, withoutCode(content)));
2127
+ const byCards = splitByCards(sources, _chunk2U7GXE3Tcjs.extractCardReferences.call(void 0, withoutCode(content)));
2129
2128
  if (byCards.cited.length > 0) return byCards;
2130
- const firstMentionAt = new Map(_chunk2LT2WR4Ocjs.citedSourceNumbers.call(void 0, withoutCode(content)).map((index, order) => [index, order]));
2129
+ const firstMentionAt = new Map(_chunk2U7GXE3Tcjs.citedSourceNumbers.call(void 0, withoutCode(content)).map((index, order) => [index, order]));
2131
2130
  const cited = sources.filter((source) => firstMentionAt.has(source.index)).sort((a, b) => (_nullishCoalesce(firstMentionAt.get(a.index), () => ( 0))) - (_nullishCoalesce(firstMentionAt.get(b.index), () => ( 0))));
2132
2131
  const uncited = sources.filter((source) => !firstMentionAt.has(source.index));
2133
- return { cited: _chunk2LT2WR4Ocjs.groupSourcesByTable.call(void 0, cited), uncited: _chunk2LT2WR4Ocjs.groupSourcesByTable.call(void 0, uncited) };
2132
+ return { cited: _chunk2U7GXE3Tcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunk2U7GXE3Tcjs.groupSourcesByTable.call(void 0, uncited) };
2134
2133
  }
2135
2134
  function recordsOf(source) {
2136
2135
  if (!source.items || source.items.length === 0) return [source];
@@ -2147,7 +2146,7 @@ function recordsOf(source) {
2147
2146
  }
2148
2147
  function recordKey(record) {
2149
2148
  const id = record.id || record.path;
2150
- return record.documentType && id ? `${_chunkQCRJVO6Ycjs.canonicalContentRefType.call(void 0, record.documentType)}:${id}` : null;
2149
+ return record.documentType && id ? `${_chunk2IWAHBCCcjs.canonicalContentRefType.call(void 0, record.documentType)}:${id}` : null;
2151
2150
  }
2152
2151
  function splitByCards(sources, cards) {
2153
2152
  const records = sources.flatMap(recordsOf);
@@ -2158,11 +2157,11 @@ function splitByCards(sources, cards) {
2158
2157
  }
2159
2158
  const cited = [];
2160
2159
  for (const card of cards) {
2161
- const record = byKey.get(`${_chunkQCRJVO6Ycjs.canonicalContentRefType.call(void 0, card.type)}:${card.id}`);
2160
+ const record = byKey.get(`${_chunk2IWAHBCCcjs.canonicalContentRefType.call(void 0, card.type)}:${card.id}`);
2162
2161
  if (record && !cited.includes(record)) cited.push(record);
2163
2162
  }
2164
2163
  const uncited = records.filter((record) => !cited.includes(record));
2165
- return { cited: _chunk2LT2WR4Ocjs.groupSourcesByTable.call(void 0, cited), uncited: _chunk2LT2WR4Ocjs.groupSourcesByTable.call(void 0, uncited) };
2164
+ return { cited: _chunk2U7GXE3Tcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunk2U7GXE3Tcjs.groupSourcesByTable.call(void 0, uncited) };
2166
2165
  }
2167
2166
  function groupedRowLabels(items) {
2168
2167
  const numbers = new Set(items.flatMap((item) => item.index === void 0 ? [] : [item.index]));
@@ -2217,7 +2216,7 @@ function pruneTimestampCache(timestampCache, liveIds) {
2217
2216
  // src/components/chat/embeddable-chat.tsx
2218
2217
  var _jsxruntime = require('react/jsx-runtime');
2219
2218
  var HISTORY_RAIL_WIDTH = 320;
2220
- var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunk2LT2WR4Ocjs.CHAT_BLOCK_MIN_WIDTH;
2219
+ var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunk2U7GXE3Tcjs.CHAT_BLOCK_MIN_WIDTH;
2221
2220
  var DRAWER_DEFAULT_WIDTH_RATIO = 0.5;
2222
2221
  var DRAWER_WIDTH_KEY = "mingo-chat-width-v4";
2223
2222
  var DRAWER_DEFAULT_WIDTH_PX = 750;
@@ -2277,7 +2276,7 @@ function RailSlot({
2277
2276
  // Border on the OUTER so the rail/chat divider tracks the animating
2278
2277
  // boundary (and fades out with the panel) instead of vanishing early.
2279
2278
  "shrink-0 overflow-hidden border-r border-ods-border transition-[width,opacity] ease-out",
2280
- active ? _chunk63A4GZMBcjs.cn.call(void 0, "duration-[240ms] opacity-100", width) : "duration-[300ms] w-0 opacity-0",
2279
+ active ? _chunk63A4GZMBcjs.cn.call(void 0, "opacity-100", width) : "w-0 opacity-0",
2281
2280
  className
2282
2281
  ),
2283
2282
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "h-full", width, innerClassName), children })
@@ -2290,7 +2289,7 @@ function dispatchSlashCommandAction(actionId, cmdId, ref) {
2290
2289
  if (!input) return;
2291
2290
  switch (actionId) {
2292
2291
  case "browse":
2293
- input.submit(_chunk2LT2WR4Ocjs.formatSingularLookupInvocation.call(void 0, cmdId));
2292
+ input.submit(_chunk2U7GXE3Tcjs.formatSingularLookupInvocation.call(void 0, cmdId));
2294
2293
  return;
2295
2294
  case "search":
2296
2295
  input.setValue(`/${cmdId} `);
@@ -2311,7 +2310,7 @@ var ONE_TEXT_LINE = "\xA0";
2311
2310
  var SOURCE_CHIP_SKELETON_COUNT = 1;
2312
2311
  function SourceChipSkeleton(props) {
2313
2312
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: "pointer-events-none inline-flex shrink-0 items-center", ..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props), children: [
2314
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2LT2WR4Ocjs.chatChipClass.call(void 0, { tone: "secondary" }), children: [
2313
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2U7GXE3Tcjs.chatChipClass.call(void 0, { tone: "secondary" }), children: [
2315
2314
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunk3TOWCFIKcjs.SKELETON_SURFACE_CLASS, "inline-block h-3.5 w-3.5 rounded-sm") }),
2316
2315
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, _chunk3TOWCFIKcjs.SKELETON_SURFACE_CLASS, "w-28 rounded-sm"), children: ONE_TEXT_LINE })
2317
2316
  ] }),
@@ -2322,7 +2321,7 @@ function SourceChip(props) {
2322
2321
  const { src, onDiscuss } = props;
2323
2322
  const marks = _chunk63A4GZMBcjs.loadingItemProps.call(void 0, props);
2324
2323
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2325
- const cta = _chunk2LT2WR4Ocjs.resolveSourceRowCTA.call(void 0,
2324
+ const cta = _chunk2U7GXE3Tcjs.resolveSourceRowCTA.call(void 0,
2326
2325
  {
2327
2326
  sourceRepo: src.sourceRepo,
2328
2327
  documentType: src.documentType,
@@ -2332,16 +2331,16 @@ function SourceChip(props) {
2332
2331
  targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
2333
2332
  path: src.path
2334
2333
  },
2335
- _chunk2LT2WR4Ocjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2334
+ _chunk2U7GXE3Tcjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2336
2335
  );
2337
2336
  const Icon = cta.icon;
2338
2337
  const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
2339
- const chipClass = _chunk2LT2WR4Ocjs.chatChipClass.call(void 0, { tone: "secondary" });
2338
+ const chipClass = _chunk2U7GXE3Tcjs.chatChipClass.call(void 0, { tone: "secondary" });
2340
2339
  if (src.items && src.items.length > 0) {
2341
2340
  const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
2342
2341
  const rowLabels = groupedRowLabels(src.items);
2343
2342
  const dropdownItems = src.items.map((item, i) => {
2344
- const itemCta = _chunk2LT2WR4Ocjs.resolveSourceRowCTA.call(void 0,
2343
+ const itemCta = _chunk2U7GXE3Tcjs.resolveSourceRowCTA.call(void 0,
2345
2344
  {
2346
2345
  sourceRepo: src.sourceRepo,
2347
2346
  documentType: item.documentType,
@@ -2351,7 +2350,7 @@ function SourceChip(props) {
2351
2350
  targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
2352
2351
  path: item.path
2353
2352
  },
2354
- _chunk2LT2WR4Ocjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2353
+ _chunk2U7GXE3Tcjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2355
2354
  );
2356
2355
  const ItemIcon = itemCta.icon;
2357
2356
  const itemChatRef = itemCta.chatRef;
@@ -2368,13 +2367,13 @@ function SourceChip(props) {
2368
2367
  } : void 0
2369
2368
  };
2370
2369
  });
2371
- const groupIndices = itemIndices.length > 0 ? _chunk2LT2WR4Ocjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2370
+ const groupIndices = itemIndices.length > 0 ? _chunk2U7GXE3Tcjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2372
2371
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", ...marks, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2373
2372
  _chunkEHANO6UEcjs.HoverDropdown,
2374
2373
  {
2375
2374
  items: dropdownItems,
2376
2375
  renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2377
- _chunk2LT2WR4Ocjs.NavLinkAnchorViaRuntime,
2376
+ _chunk2U7GXE3Tcjs.NavLinkAnchorViaRuntime,
2378
2377
  {
2379
2378
  href,
2380
2379
  targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)),
@@ -2407,13 +2406,13 @@ function SourceChip(props) {
2407
2406
  ] });
2408
2407
  const wrapChip = (clickable) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "inline-flex items-center", ...marks, children: [
2409
2408
  clickable,
2410
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2LT2WR4Ocjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2409
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2411
2410
  ] });
2412
2411
  if (cta.href) {
2413
2412
  const isEntity = !!src.externalUrl;
2414
2413
  return wrapChip(
2415
2414
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2416
- _chunk2LT2WR4Ocjs.NavLinkAnchorViaRuntime,
2415
+ _chunk2U7GXE3Tcjs.NavLinkAnchorViaRuntime,
2417
2416
  {
2418
2417
  href: cta.href,
2419
2418
  path: isEntity ? null : src.path,
@@ -2439,7 +2438,7 @@ function SourceChips({
2439
2438
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
2440
2439
  if (loading) {
2441
2440
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": true, className: "mt-2 flex flex-col gap-1.5 border-t border-ods-border pt-2", children: [
2442
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-muted text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2LT2WR4Ocjs.TextHold, { children: "Sources" }) }),
2441
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-muted text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.TextHold, { children: "Sources" }) }),
2443
2442
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-nowrap gap-1.5 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: skeletonCount, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SourceChipSkeleton, { "data-loading-item": true }) }) })
2444
2443
  ] });
2445
2444
  }
@@ -2500,7 +2499,6 @@ function EmbeddableChatInner({
2500
2499
  activeMode: controlledActiveMode,
2501
2500
  onActiveModeChange,
2502
2501
  activeAgentSlug,
2503
- onAgentChange: _onAgentChange,
2504
2502
  aiAgentConfigUrl: aiAgentConfigUrlProp,
2505
2503
  defaultActiveMode,
2506
2504
  shell = "drawer",
@@ -2532,7 +2530,7 @@ function EmbeddableChatInner({
2532
2530
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2533
2531
  const source = _nullishCoalesce(runtime.source, () => ( ""));
2534
2532
  const commandsUrl = runtime.endpoints.commandsUrl;
2535
- const { attachmentsEnabled, user: identityUser } = _chunk2LT2WR4Ocjs.useChatIdentity.call(void 0, );
2533
+ const { attachmentsEnabled, user: identityUser } = _chunk2U7GXE3Tcjs.useChatIdentity.call(void 0, );
2536
2534
  const viewUrlPrefix = runtime.endpoints.attachmentViewUrlPrefix;
2537
2535
  _react.useEffect.call(void 0, () => {
2538
2536
  if (process.env.NODE_ENV !== "production") {
@@ -2586,9 +2584,9 @@ function EmbeddableChatInner({
2586
2584
  const [quickActionPreview, setQuickActionPreview] = _react.useState.call(void 0, null);
2587
2585
  const slashCommandsProp = _react.useMemo.call(void 0,
2588
2586
  () => ({
2589
- fetchCommands: (prefix, signal) => _chunk2LT2WR4Ocjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2587
+ fetchCommands: (prefix, signal) => _chunk2U7GXE3Tcjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2590
2588
  resolveSourceIcon: (sourceId) => {
2591
- const iconName = _chunk2LT2WR4Ocjs.getSourceIconName.call(void 0, sourceId);
2589
+ const iconName = _chunk2U7GXE3Tcjs.getSourceIconName.call(void 0, sourceId);
2592
2590
  if (!iconName) return void 0;
2593
2591
  return { Icon: _chunkQOAA7ZHBcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
2594
2592
  },
@@ -2617,7 +2615,7 @@ function EmbeddableChatInner({
2617
2615
  },
2618
2616
  [controlledActiveMode, onActiveModeChange]
2619
2617
  );
2620
- const { commands: commandsList, loaded: commandsLoaded } = _chunk2LT2WR4Ocjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2618
+ const { commands: commandsList, loaded: commandsLoaded } = _chunk2U7GXE3Tcjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2621
2619
  enabled: activeMode === "guide"
2622
2620
  });
2623
2621
  const commandsById = _react.useMemo.call(void 0, () => {
@@ -2628,7 +2626,7 @@ function EmbeddableChatInner({
2628
2626
  const resolveAgentConfigUrl = _nullishCoalesce(_nullishCoalesce(aiAgentConfigUrlProp, () => ( runtime.endpoints.aiAgentConfigUrl)), () => ( DEFAULT_AI_AGENT_CONFIG_URL));
2629
2627
  const agentConfigUrl = activeAgentSlug ? resolveAgentConfigUrl(activeAgentSlug) : void 0;
2630
2628
  const emptyStateUrl = _nullishCoalesce(agentConfigUrl, () => ( runtime.endpoints.emptyStateUrl));
2631
- const { config: emptyStateConfig, loading: emptyStateLoading } = _chunk2LT2WR4Ocjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2629
+ const { config: emptyStateConfig, loading: emptyStateLoading } = _chunk2U7GXE3Tcjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2632
2630
  enabled: activeMode === "guide" || !!activeAgentSlug
2633
2631
  });
2634
2632
  const effectiveGreeting = _nullishCoalesce(emptyStateConfig.greeting, () => ( emptyStateGreeting));
@@ -2644,7 +2642,6 @@ function EmbeddableChatInner({
2644
2642
  const {
2645
2643
  messages: rawMessages,
2646
2644
  isLoading: chatLoading,
2647
- streamingProgress,
2648
2645
  sendMessage: sendMessageRaw,
2649
2646
  discussRef,
2650
2647
  stopMessage,
@@ -2675,7 +2672,7 @@ function EmbeddableChatInner({
2675
2672
  hasMoreMessages,
2676
2673
  loadMoreMessages,
2677
2674
  dialogCapabilities
2678
- } = _chunk2LT2WR4Ocjs.useUnifiedChat.call(void 0, {
2675
+ } = _chunk2U7GXE3Tcjs.useUnifiedChat.call(void 0, {
2679
2676
  modes: effectiveModes,
2680
2677
  activeMode,
2681
2678
  mingoStateOverride: mingoState,
@@ -2722,8 +2719,8 @@ function EmbeddableChatInner({
2722
2719
  addFiles: addAttachmentFiles,
2723
2720
  removeAttachment,
2724
2721
  clear: clearAttachments
2725
- } = _chunk2LT2WR4Ocjs.useChatAttachments.call(void 0, );
2726
- const { panelRef: galleryPanelRef, modal: galleryModal } = _chunk2LT2WR4Ocjs.useChatAttachmentImageGallery.call(void 0, );
2722
+ } = _chunk2U7GXE3Tcjs.useChatAttachments.call(void 0, );
2723
+ const { panelRef: galleryPanelRef, modal: galleryModal } = _chunk2U7GXE3Tcjs.useChatAttachmentImageGallery.call(void 0, );
2727
2724
  const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _16 => _16.maxItems]), () => ( 10));
2728
2725
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
2729
2726
  const [contextItems, setContextItems] = _react.useState.call(void 0, NO_CONTEXT_ITEMS);
@@ -2842,7 +2839,7 @@ function EmbeddableChatInner({
2842
2839
  const askAboutRef = _react.useRef.call(void 0, discussRef);
2843
2840
  const askAbout = _react.useCallback.call(void 0, (reference) => askAboutRef.current(reference), []);
2844
2841
  const renderEntityCard = _react.useCallback.call(void 0,
2845
- (reference) => _chunk2LT2WR4Ocjs.renderChatInlineEntityCard.call(void 0, reference, {
2842
+ (reference) => _chunk2U7GXE3Tcjs.renderChatInlineEntityCard.call(void 0, reference, {
2846
2843
  onDiscuss: askAbout,
2847
2844
  onDisplay: displayRef,
2848
2845
  extras
@@ -2862,7 +2859,7 @@ function EmbeddableChatInner({
2862
2859
  pruneTimestampCache(timestampCache, new Set(rawMessages.map((m) => m.id)));
2863
2860
  return mapped;
2864
2861
  }, [rawMessages, guideUserName, guideUserAvatar, timestampCache]);
2865
- const whatToAsk = _chunk2LT2WR4Ocjs.useWhatToAsk.call(void 0, {
2862
+ const whatToAsk = _chunk2U7GXE3Tcjs.useWhatToAsk.call(void 0, {
2866
2863
  dialogId: activeDialogId,
2867
2864
  content: typeof whatToAskContent === "function" ? void 0 : whatToAskContent,
2868
2865
  user: {
@@ -2881,7 +2878,7 @@ function EmbeddableChatInner({
2881
2878
  noteWhatToAskSend();
2882
2879
  let augmentedText = text;
2883
2880
  if (readyAttachments.length > 0) {
2884
- const markdown = readyAttachments.map((att) => _chunk2LT2WR4Ocjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2881
+ const markdown = readyAttachments.map((att) => _chunk2U7GXE3Tcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2885
2882
  augmentedText = `${text}${markdown}`;
2886
2883
  }
2887
2884
  void sendMessage(augmentedText, {
@@ -2920,7 +2917,7 @@ function EmbeddableChatInner({
2920
2917
  // agent/persona (`icon_props.color`) wins; the built-in slug map
2921
2918
  // (fae→pink, mingo→cyan) is only the fallback for unconfigured
2922
2919
  // built-in agents.
2923
- accent: _nullishCoalesce(_chunk2LT2WR4Ocjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunk2LT2WR4Ocjs.getAgentAccent.call(void 0, activeAgentSlug)))
2920
+ accent: _nullishCoalesce(_chunk2U7GXE3Tcjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunk2U7GXE3Tcjs.getAgentAccent.call(void 0, activeAgentSlug)))
2924
2921
  }));
2925
2922
  }
2926
2923
  return (_nullishCoalesce(effectiveSuggestedQueries, () => ( []))).map((q, i) => ({
@@ -2968,7 +2965,7 @@ function EmbeddableChatInner({
2968
2965
  unarchiveDialog: mingoCaps.unarchiveDialog
2969
2966
  });
2970
2967
  const handleOpen = _react.useCallback.call(void 0, () => setIsOpen(true), [setIsOpen]);
2971
- _chunk2LT2WR4Ocjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
2968
+ _chunk2U7GXE3Tcjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
2972
2969
  _react.useEffect.call(void 0, () => {
2973
2970
  const handler = (e) => {
2974
2971
  const detail = e.detail;
@@ -2976,8 +2973,8 @@ function EmbeddableChatInner({
2976
2973
  setIsOpen(true);
2977
2974
  setTimeout(() => askAbout(detail.ref), 0);
2978
2975
  };
2979
- window.addEventListener(_chunk2LT2WR4Ocjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2980
- return () => window.removeEventListener(_chunk2LT2WR4Ocjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2976
+ window.addEventListener(_chunk2U7GXE3Tcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2977
+ return () => window.removeEventListener(_chunk2U7GXE3Tcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2981
2978
  }, [source, askAbout, setIsOpen]);
2982
2979
  const pendingAskRef = _react.useRef.call(void 0, null);
2983
2980
  const isDraft = activeDialogId == null && messages.length === 0;
@@ -3011,10 +3008,10 @@ function EmbeddableChatInner({
3011
3008
  const prompt = typeof detail.prompt === "string" ? detail.prompt.trim() : "";
3012
3009
  if (prompt) setTimeout(() => sendAskPrompt(prompt), 0);
3013
3010
  };
3014
- window.addEventListener(_chunk2LT2WR4Ocjs.ASK_AI_OPEN_EVENT, handler);
3015
- return () => window.removeEventListener(_chunk2LT2WR4Ocjs.ASK_AI_OPEN_EVENT, handler);
3011
+ window.addEventListener(_chunk2U7GXE3Tcjs.ASK_AI_OPEN_EVENT, handler);
3012
+ return () => window.removeEventListener(_chunk2U7GXE3Tcjs.ASK_AI_OPEN_EVENT, handler);
3016
3013
  }, [source, setIsOpen, sendAskPrompt]);
3017
- _react.useEffect.call(void 0, () => _chunk2LT2WR4Ocjs.chatListensForAskAiOpens.call(void 0, ), []);
3014
+ _react.useEffect.call(void 0, () => _chunk2U7GXE3Tcjs.chatListensForAskAiOpens.call(void 0, ), []);
3018
3015
  const hasMessages = messages.length > 0;
3019
3016
  const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
3020
3017
  const dialogsLoadError = dialogsError && dialogs.length === 0;
@@ -3054,7 +3051,7 @@ function EmbeddableChatInner({
3054
3051
  if (sourceSkeletonCount <= 0) return null;
3055
3052
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pb-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SourceChips, { loading: true, skeletonCount: sourceSkeletonCount, cited: [], uncited: [] }) });
3056
3053
  }
3057
- const { cited, uncited } = splitCitedSources(message.sources, _chunk2LT2WR4Ocjs.flattenAssistantContent.call(void 0, message.content));
3054
+ const { cited, uncited } = splitCitedSources(message.sources, _chunk2U7GXE3Tcjs.flattenAssistantContent.call(void 0, message.content));
3058
3055
  if (cited.length === 0 && uncited.length === 0) return null;
3059
3056
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pb-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SourceChips, { cited, uncited, onDiscuss: askAbout, skeletonCount: sourceSkeletonCount }) });
3060
3057
  },
@@ -3062,7 +3059,7 @@ function EmbeddableChatInner({
3062
3059
  );
3063
3060
  const [portalHost, setPortalHost] = _react.useState.call(void 0, null);
3064
3061
  const [panelBoundary, setPanelBoundary] = _react.useState.call(void 0, null);
3065
- const splitMinWidth = (isV2 ? _chunk2LT2WR4Ocjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunk2LT2WR4Ocjs.CHAT_BLOCK_MIN_WIDTH;
3062
+ const splitMinWidth = (isV2 ? _chunk2U7GXE3Tcjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunk2U7GXE3Tcjs.CHAT_BLOCK_MIN_WIDTH;
3066
3063
  const [canSplit, setCanSplit] = _react.useState.call(void 0, false);
3067
3064
  _react.useEffect.call(void 0, () => {
3068
3065
  if (!panelBoundary || typeof ResizeObserver === "undefined") return void 0;
@@ -3081,7 +3078,7 @@ function EmbeddableChatInner({
3081
3078
  [splitMinWidth]
3082
3079
  );
3083
3080
  const [railCollapsed, setRailCollapsed] = _react.useState.call(void 0, false);
3084
- const railStorageHydrated = _chunk2LT2WR4Ocjs.useIsHydrated.call(void 0, );
3081
+ const railStorageHydrated = _chunk2U7GXE3Tcjs.useIsHydrated.call(void 0, );
3085
3082
  const [railStorageRead, setRailStorageRead] = _react.useState.call(void 0, false);
3086
3083
  if (railStorageHydrated && !railStorageRead) {
3087
3084
  setRailStorageRead(true);
@@ -3135,7 +3132,7 @@ function EmbeddableChatInner({
3135
3132
  resetToNewChat();
3136
3133
  }, [clearWhatToAskDraft, resetToNewChat]);
3137
3134
  const activeDialogStatus = activeDialog && dialogStatusOf ? dialogStatusOf(activeDialog) : void 0;
3138
- const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 || _chunk2LT2WR4Ocjs.awaitsDecision.call(void 0, hostMessages);
3135
+ const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 || _chunk2U7GXE3Tcjs.awaitsDecision.call(void 0, hostMessages);
3139
3136
  const showWhatToAsk = (content) => {
3140
3137
  whatToAsk.clearDraft();
3141
3138
  resetToNewChat();
@@ -3231,7 +3228,7 @@ function EmbeddableChatInner({
3231
3228
  }),
3232
3229
  [resetToNewChat, contextMaxItems]
3233
3230
  );
3234
- const splitHeaderMenuItems = _chunk2LT2WR4Ocjs.chatDialogMenuItems.call(void 0, {
3231
+ const splitHeaderMenuItems = _chunk2U7GXE3Tcjs.chatDialogMenuItems.call(void 0, {
3235
3232
  onCopyLink: headerOnCopyLink,
3236
3233
  onRename: headerOnRename,
3237
3234
  onCompact: headerOnCompact,
@@ -3311,7 +3308,7 @@ function EmbeddableChatInner({
3311
3308
  onRetry: reloadDialogs
3312
3309
  };
3313
3310
  const v2Header = isV2 && !stackedListView ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "col-start-2 row-start-1 min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3314
- _chunk2LT2WR4Ocjs.MingoChatHeader,
3311
+ _chunk2U7GXE3Tcjs.MingoChatHeader,
3315
3312
  {
3316
3313
  title: archiveOpen ? "Chat Archive" : headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle,
3317
3314
  subtitle: archiveOpen ? void 0 : headerPersonName,
@@ -3331,7 +3328,7 @@ function EmbeddableChatInner({
3331
3328
  const body = (
3332
3329
  // The whole panel reads the appearance (the composer's footer too), not
3333
3330
  // only the thread `ChatMessageList` provides it to.
3334
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2LT2WR4Ocjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
3331
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
3335
3332
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3336
3333
  "div",
3337
3334
  {
@@ -3339,7 +3336,7 @@ function EmbeddableChatInner({
3339
3336
  "data-surface": isV2 ? "mingo" : void 0,
3340
3337
  className: `flex h-full flex-col overflow-hidden transition-colors duration-200 ${!isV2 && (archiveOpen && !splitActive || stackedListView) ? "bg-ods-card" : "bg-ods-bg"} ${previewMode ? "pointer-events-none select-none" : ""}`,
3341
3338
  children: archiveOpen && !splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3342
- _chunk2LT2WR4Ocjs.ChatArchivePage,
3339
+ _chunk2U7GXE3Tcjs.ChatArchivePage,
3343
3340
  {
3344
3341
  dialogs: archivedDialogs,
3345
3342
  onSelectDialog: handleArchivedSelect,
@@ -3369,7 +3366,7 @@ function EmbeddableChatInner({
3369
3366
  narrow: true,
3370
3367
  className: "col-start-1 row-span-3 row-start-1",
3371
3368
  innerClassName: "flex min-h-0 flex-col",
3372
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2LT2WR4Ocjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3369
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3373
3370
  }
3374
3371
  ),
3375
3372
  isV2 ? v2Header : showWideHeader ? (
@@ -3408,7 +3405,7 @@ function EmbeddableChatInner({
3408
3405
  // (Figma 116:51217) and the magnifier toggle is hidden.
3409
3406
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3410
3407
  railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3411
- _chunk2LT2WR4Ocjs.ChatHeaderSearchField,
3408
+ _chunk2U7GXE3Tcjs.ChatHeaderSearchField,
3412
3409
  {
3413
3410
  initialValue: mingoCaps.searchQuery,
3414
3411
  onSearchChange: mingoCaps.onSearchChange,
@@ -3495,10 +3492,10 @@ function EmbeddableChatInner({
3495
3492
  // guide, resolved into `narrowHeaderProps` above. (Wide layouts,
3496
3493
  // including rail-collapsed, use the wide header above.) Embedded
3497
3494
  // previews (hero demo tabs) force the compact bar via `compact`.
3498
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2LT2WR4Ocjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3495
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3499
3496
  ),
3500
3497
  activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3501
- _chunk2LT2WR4Ocjs.GuideModeBanner,
3498
+ _chunk2U7GXE3Tcjs.GuideModeBanner,
3502
3499
  {
3503
3500
  className: _chunk63A4GZMBcjs.cn.call(void 0, "duration-200 animate-in fade-in-0", isV2 && "col-start-2 row-start-2")
3504
3501
  }
@@ -3508,7 +3505,7 @@ function EmbeddableChatInner({
3508
3505
  // Archive list inside the rail (header lives in the split
3509
3506
  // header's left cell above). Right chat block stays put.
3510
3507
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3511
- _chunk2LT2WR4Ocjs.ChatArchivePage,
3508
+ _chunk2U7GXE3Tcjs.ChatArchivePage,
3512
3509
  {
3513
3510
  embedded: true,
3514
3511
  dialogs: archivedDialogs,
@@ -3522,7 +3519,7 @@ function EmbeddableChatInner({
3522
3519
  }
3523
3520
  )
3524
3521
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3525
- _chunk2LT2WR4Ocjs.MingoHistoryRail,
3522
+ _chunk2U7GXE3Tcjs.MingoHistoryRail,
3526
3523
  {
3527
3524
  dialogs,
3528
3525
  activeDialogId: _nullishCoalesce(activeDialogId, () => ( void 0)),
@@ -3550,7 +3547,7 @@ function EmbeddableChatInner({
3550
3547
  // v2: the archive opens in the chat column under the chat's
3551
3548
  // header; the list stays, and "Chat Archive" there toggles back.
3552
3549
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3553
- _chunk2LT2WR4Ocjs.MingoArchiveList,
3550
+ _chunk2U7GXE3Tcjs.MingoArchiveList,
3554
3551
  {
3555
3552
  dialogs: archivedDialogs,
3556
3553
  onSelectDialog: handleArchivedSelect,
@@ -3563,7 +3560,7 @@ function EmbeddableChatInner({
3563
3560
  }
3564
3561
  )
3565
3562
  ) : stackedListView && isV2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3566
- _chunk2LT2WR4Ocjs.MingoChatRail,
3563
+ _chunk2U7GXE3Tcjs.MingoChatRail,
3567
3564
  {
3568
3565
  ...mingoRailProps,
3569
3566
  onNewChat: () => setComposeOpen(true),
@@ -3582,7 +3579,7 @@ function EmbeddableChatInner({
3582
3579
  // single-column view. No composer here; "Start New Chat" opens
3583
3580
  // the compose view.
3584
3581
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3585
- _chunk2LT2WR4Ocjs.MingoHistoryRail,
3582
+ _chunk2U7GXE3Tcjs.MingoHistoryRail,
3586
3583
  {
3587
3584
  className: "duration-200 animate-in fade-in-0",
3588
3585
  dialogs,
@@ -3625,14 +3622,13 @@ function EmbeddableChatInner({
3625
3622
  {
3626
3623
  className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0",
3627
3624
  children: hasConversation ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3628
- _chunk2LT2WR4Ocjs.ChatMessageList,
3625
+ _chunk2U7GXE3Tcjs.ChatMessageList,
3629
3626
  {
3630
3627
  messages,
3631
3628
  isLoading: messagesInitialLoading,
3632
3629
  fill: previewMode,
3633
3630
  appearance,
3634
3631
  isTyping: chatLoading,
3635
- typingMessage: streamingProgress ? _chunk2LT2WR4Ocjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
3636
3632
  pendingApprovals,
3637
3633
  autoScroll: !previewMode,
3638
3634
  pinBottom: previewMode,
@@ -3645,7 +3641,7 @@ function EmbeddableChatInner({
3645
3641
  renderMention,
3646
3642
  renderAfterMessage: renderMessageSources,
3647
3643
  onAskSelect: chatLoading || previewMode ? void 0 : handleAskSelect,
3648
- NavLinkAnchor: _chunk2LT2WR4Ocjs.NavLinkAnchorViaRuntime,
3644
+ NavLinkAnchor: _chunk2U7GXE3Tcjs.NavLinkAnchorViaRuntime,
3649
3645
  className: previewMode ? "pointer-events-auto flex-1" : "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
3650
3646
  contentClassName: "max-w-none pb-0",
3651
3647
  fullWidth: true,
@@ -3659,7 +3655,7 @@ function EmbeddableChatInner({
3659
3655
  quick-action chips. Guide mode keeps the slash-command
3660
3656
  onboarding list below. */
3661
3657
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3662
- _chunk2LT2WR4Ocjs.MingoWelcome,
3658
+ _chunk2U7GXE3Tcjs.MingoWelcome,
3663
3659
  {
3664
3660
  onStartGuideChat: effectiveModes.guide ? () => handleActiveModeChange("guide") : void 0,
3665
3661
  historyPageSize,
@@ -3675,7 +3671,7 @@ function EmbeddableChatInner({
3675
3671
  + slash-command onboarding list share one scroll region,
3676
3672
  with a pinned quick-action chip row above the composer. */
3677
3673
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3678
- _chunk2LT2WR4Ocjs.GuideWelcome,
3674
+ _chunk2U7GXE3Tcjs.GuideWelcome,
3679
3675
  {
3680
3676
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
3681
3677
  subtitleLoading: emptyStateLoading,
@@ -3732,7 +3728,7 @@ function EmbeddableChatInner({
3732
3728
  }
3733
3729
  ),
3734
3730
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3735
- _chunk2LT2WR4Ocjs.ChatAttachmentChipStrip,
3731
+ _chunk2U7GXE3Tcjs.ChatAttachmentChipStrip,
3736
3732
  {
3737
3733
  attachments: stagedAttachments,
3738
3734
  onRemove: removeAttachment,
@@ -3740,7 +3736,7 @@ function EmbeddableChatInner({
3740
3736
  }
3741
3737
  ),
3742
3738
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3743
- _chunk2LT2WR4Ocjs.ChatComposer,
3739
+ _chunk2U7GXE3Tcjs.ChatComposer,
3744
3740
  {
3745
3741
  archived: isViewingArchived,
3746
3742
  lock: composerLock,
@@ -3792,7 +3788,7 @@ function EmbeddableChatInner({
3792
3788
  ),
3793
3789
  galleryModal,
3794
3790
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3795
- _chunk2LT2WR4Ocjs.ChatDialogModals,
3791
+ _chunk2U7GXE3Tcjs.ChatDialogModals,
3796
3792
  {
3797
3793
  renameTarget,
3798
3794
  setRenameTarget,
@@ -3808,13 +3804,13 @@ function EmbeddableChatInner({
3808
3804
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
3809
3805
  ] }) }) })
3810
3806
  );
3811
- const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2LT2WR4Ocjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3807
+ const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2U7GXE3Tcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3812
3808
  shell === "none" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactvisuallyhidden.VisuallyHidden, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Title, { children: [
3813
3809
  sourceLabel,
3814
3810
  " AI Assistant"
3815
3811
  ] }) }),
3816
3812
  body
3817
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHANO6UEcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2LT2WR4Ocjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3813
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHANO6UEcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2U7GXE3Tcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3818
3814
  _chunkEHANO6UEcjs.DrawerContent,
3819
3815
  {
3820
3816
  side: "right",