@flamingo-stack/openframe-frontend-core 0.0.829 → 0.0.831

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 (135) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{case-study-card-QMFGPABF.cjs → case-study-card-TK7ZCNLM.cjs} +5 -5
  3. package/dist/{chunk-LKP5R3EQ.cjs → chunk-46LATWQR.cjs} +2 -2
  4. package/dist/{chunk-IBD2FPSX.cjs → chunk-4JHO2NVI.cjs} +2 -2
  5. package/dist/{chunk-3B6ZE4EZ.cjs → chunk-5L3UKDC6.cjs} +16 -16
  6. package/dist/{chunk-THPAGFT6.cjs → chunk-7COZUANC.cjs} +60 -69
  7. package/dist/{chunk-DWSU35QQ.cjs → chunk-7WQD3R5J.cjs} +84 -84
  8. package/dist/{chunk-DAKGX2WF.cjs → chunk-APNONOHY.cjs} +2 -2
  9. package/dist/{chunk-KPGKTEEB.cjs → chunk-BUEEQD3G.cjs} +2 -2
  10. package/dist/{chunk-YMLRDVPO.cjs → chunk-C4OQIYGW.cjs} +11 -11
  11. package/dist/{chunk-IFLGIBFZ.cjs → chunk-CP46CVUC.cjs} +91 -91
  12. package/dist/{chunk-UO6F6LLI.cjs → chunk-D6ZSRGH2.cjs} +699 -642
  13. package/dist/{chunk-UE5ZBCJ4.cjs → chunk-DAQMCWCK.cjs} +3 -3
  14. package/dist/{chunk-MFYSV7DE.cjs → chunk-EYSIQORA.cjs} +94 -94
  15. package/dist/{chunk-DU6AF77X.cjs → chunk-FNNDGOR3.cjs} +33 -33
  16. package/dist/{chunk-OKTNRGM5.cjs → chunk-GPXKG34G.cjs} +54 -54
  17. package/dist/{chunk-FMSAN6SR.cjs → chunk-H3WTYAVR.cjs} +129 -129
  18. package/dist/{chunk-HMC2IWV4.cjs → chunk-HDLY6OMQ.cjs} +6 -6
  19. package/dist/{chunk-2VLPXUQK.cjs → chunk-HLJXCOMA.cjs} +4 -4
  20. package/dist/{chunk-PBHP3FHO.cjs → chunk-JBTH3O2C.cjs} +4 -4
  21. package/dist/{chunk-2HQNXX2K.cjs → chunk-JQCQCE6U.cjs} +2 -2
  22. package/dist/{chunk-AY6XJOIN.cjs → chunk-LWMWY3JO.cjs} +45 -45
  23. package/dist/{chunk-R3PKAIX3.cjs → chunk-OGPAVRNF.cjs} +17 -17
  24. package/dist/{chunk-4DUVTJ6A.cjs → chunk-P5DWAVWK.cjs} +28 -28
  25. package/dist/{chunk-4ZIKDOPY.cjs → chunk-QHBKZJ6A.cjs} +4 -4
  26. package/dist/{chunk-PRZAEPGG.cjs → chunk-R6QZHOJB.cjs} +46 -46
  27. package/dist/{chunk-F2J5WN6U.cjs → chunk-SOCCHWDK.cjs} +2 -2
  28. package/dist/{chunk-IMDYB77M.cjs → chunk-SRHHLDBP.cjs} +36 -36
  29. package/dist/{chunk-7PZQ7SHB.cjs → chunk-SWMUW3RR.cjs} +18 -18
  30. package/dist/{chunk-6GPMVHJN.cjs → chunk-TD4CC4KV.cjs} +20 -20
  31. package/dist/{chunk-6WNSZ5XP.cjs → chunk-UGM3YDCK.cjs} +25 -25
  32. package/dist/{chunk-AH4YWTWZ.cjs → chunk-UQS2RI5Y.cjs} +12 -12
  33. package/dist/{chunk-IHRMX3X6.cjs → chunk-VBGBKRDO.cjs} +684 -661
  34. package/dist/{chunk-YHQDB5QJ.cjs → chunk-VQG2A7GA.cjs} +2 -2
  35. package/dist/{chunk-S6UJEW4G.cjs → chunk-WCOSGDGA.cjs} +2 -2
  36. package/dist/{chunk-ENMPSEEQ.cjs → chunk-WVNUCKB7.cjs} +4 -4
  37. package/dist/{chunk-LNXRTVOY.cjs → chunk-X76TZ5YR.cjs} +21 -21
  38. package/dist/{chunk-IBQ3CSKL.cjs → chunk-X7VQM5TU.cjs} +6 -6
  39. package/dist/{chunk-BIG3O33P.cjs → chunk-YJZ7R3W5.cjs} +28 -2
  40. package/dist/{chunk-W4VEDSAX.cjs → chunk-ZABZIM2Y.cjs} +6 -6
  41. package/dist/{chunk-ZJXLNIWC.cjs → chunk-ZJ5K6XHW.cjs} +21 -21
  42. package/dist/{cloud-tenants-YVCSVVIS.cjs → cloud-tenants-E2AC4WEJ.cjs} +20 -20
  43. package/dist/components/case-studies/index.cjs +36 -36
  44. package/dist/components/chat/embeddable-chat.d.ts +3 -3
  45. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  46. package/dist/components/chat/embeddable-chat.js +21 -14
  47. package/dist/components/chat/guide-welcome.d.ts +5 -16
  48. package/dist/components/chat/guide-welcome.d.ts.map +1 -1
  49. package/dist/components/chat/guide-welcome.js +4 -29
  50. package/dist/components/chat/index.cjs +19 -15
  51. package/dist/components/chat/mingo-quick-action-wall.d.ts +42 -16
  52. package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -1
  53. package/dist/components/chat/mingo-quick-action-wall.js +105 -19
  54. package/dist/components/chat/mingo-welcome.d.ts +6 -13
  55. package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
  56. package/dist/components/chat/mingo-welcome.js +5 -9
  57. package/dist/components/chat/quick-action-chip.d.ts +8 -2
  58. package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
  59. package/dist/components/chat/quick-action-chip.js +18 -8
  60. package/dist/components/chat/utils/icon-registry.d.ts +2 -2
  61. package/dist/components/chat/utils/icon-registry.js +2 -2
  62. package/dist/components/contact/index.cjs +21 -21
  63. package/dist/components/docs/index.cjs +24 -24
  64. package/dist/components/embeds/index.cjs +21 -21
  65. package/dist/components/faq/index.cjs +22 -22
  66. package/dist/components/features/index.cjs +22 -20
  67. package/dist/components/features/notifications/index.d.ts +3 -1
  68. package/dist/components/features/notifications/index.d.ts.map +1 -1
  69. package/dist/components/features/notifications/index.js +2 -0
  70. package/dist/components/features/notifications/notification-category-icon.d.ts +7 -0
  71. package/dist/components/features/notifications/notification-category-icon.d.ts.map +1 -0
  72. package/dist/components/features/notifications/notification-category-icon.js +26 -0
  73. package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
  74. package/dist/components/features/notifications/types.d.ts +1 -1
  75. package/dist/components/features/notifications/types.d.ts.map +1 -1
  76. package/dist/components/help-center-pages/index.cjs +125 -125
  77. package/dist/components/index.cjs +90 -82
  78. package/dist/components/meeting-scheduler/index.cjs +69 -69
  79. package/dist/components/navigation/index.cjs +23 -23
  80. package/dist/components/navigation/site-footer.d.ts.map +1 -1
  81. package/dist/components/navigation/site-footer.js +2 -12
  82. package/dist/components/onboarding-guides/index.cjs +23 -23
  83. package/dist/components/product-demo/index.cjs +31 -31
  84. package/dist/components/related-content/index.cjs +9 -9
  85. package/dist/components/social-icon-row.d.ts +6 -2
  86. package/dist/components/social-icon-row.d.ts.map +1 -1
  87. package/dist/components/social-icon-row.js +5 -6
  88. package/dist/components/tickets/index.cjs +27 -27
  89. package/dist/components/ui/actions-menu.d.ts.map +1 -1
  90. package/dist/components/ui/actions-menu.js +27 -1
  91. package/dist/components/ui/index.cjs +24 -20
  92. package/dist/{devices-AW6BERJF.cjs → devices-CAYUGD2N.cjs} +21 -21
  93. package/dist/{embeddable-chat-ZJIOMMSA.cjs → embeddable-chat-FYHMR66R.cjs} +121 -114
  94. package/dist/hooks/index.cjs +7 -7
  95. package/dist/index.cjs +31 -25
  96. package/dist/{knowledge-PEOXTIVS.cjs → knowledge-OI4OPEVL.cjs} +21 -21
  97. package/dist/{logs-CYA7H4KM.cjs → logs-B3XV2NHV.cjs} +27 -27
  98. package/dist/platform-domains.cjs +4 -0
  99. package/dist/platform-domains.d.ts +2 -0
  100. package/dist/platform-domains.d.ts.map +1 -1
  101. package/dist/platform-domains.js +4 -0
  102. package/dist/{policies-M6QSFL5G.cjs → policies-ZB4Z42DV.cjs} +24 -24
  103. package/dist/{remote-session-QGFG5WAL.cjs → remote-session-CN3G7JNR.cjs} +7 -7
  104. package/dist/{scripts-Y46ECDDP.cjs → scripts-I4DNUOQC.cjs} +27 -27
  105. package/dist/{software-update-OTC2DGQZ.cjs → software-update-AWH4WXOH.cjs} +24 -24
  106. package/dist/{tickets-board-KCH6ITUV.cjs → tickets-board-PLYD2NSY.cjs} +11 -11
  107. package/dist/types/marketing.d.ts +61 -216
  108. package/dist/types/marketing.d.ts.map +1 -1
  109. package/dist/utils/index.cjs +2 -2
  110. package/dist/utils/notifications.cjs +55 -0
  111. package/dist/utils/notifications.d.ts +29 -0
  112. package/dist/utils/notifications.d.ts.map +1 -0
  113. package/dist/utils/notifications.js +53 -0
  114. package/dist/utils/social-platforms.d.ts +9 -9
  115. package/dist/utils/social-platforms.d.ts.map +1 -1
  116. package/package.json +7 -1
  117. package/src/components/chat/embeddable-chat.tsx +29 -45
  118. package/src/components/chat/guide-welcome.tsx +12 -57
  119. package/src/components/chat/mingo-quick-action-wall.tsx +166 -31
  120. package/src/components/chat/mingo-welcome.tsx +16 -35
  121. package/src/components/chat/quick-action-chip.tsx +32 -8
  122. package/src/components/chat/utils/icon-registry.ts +5 -5
  123. package/src/components/chat/utils/index.ts +1 -1
  124. package/src/components/features/notifications/index.ts +2 -1
  125. package/src/components/features/notifications/notification-category-icon.tsx +38 -0
  126. package/src/components/features/notifications/notification-tile.tsx +2 -1
  127. package/src/components/features/notifications/types.ts +1 -2
  128. package/src/components/navigation/site-footer.tsx +2 -11
  129. package/src/components/social-icon-row.tsx +11 -10
  130. package/src/components/ui/actions-menu.tsx +35 -1
  131. package/src/platform-domains.ts +5 -0
  132. package/src/types/marketing.ts +90 -268
  133. package/src/utils/index.ts +1 -1
  134. package/src/utils/notifications.ts +71 -0
  135. package/src/utils/social-platforms.ts +9 -9
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkYHQDB5QJcjs = require('./chunk-YHQDB5QJ.cjs');
7
+ var _chunkVQG2A7GAcjs = require('./chunk-VQG2A7GA.cjs');
8
8
  require('./chunk-24I6RFVU.cjs');
9
9
 
10
10
 
@@ -59,19 +59,19 @@ require('./chunk-24I6RFVU.cjs');
59
59
 
60
60
 
61
61
 
62
- var _chunkUO6F6LLIcjs = require('./chunk-UO6F6LLI.cjs');
62
+ var _chunkD6ZSRGH2cjs = require('./chunk-D6ZSRGH2.cjs');
63
63
 
64
64
 
65
65
 
66
66
 
67
67
 
68
- var _chunkIBD2FPSXcjs = require('./chunk-IBD2FPSX.cjs');
68
+ var _chunk4JHO2NVIcjs = require('./chunk-4JHO2NVI.cjs');
69
69
 
70
70
 
71
- var _chunk3B6ZE4EZcjs = require('./chunk-3B6ZE4EZ.cjs');
71
+ var _chunk5L3UKDC6cjs = require('./chunk-5L3UKDC6.cjs');
72
72
 
73
73
 
74
- var _chunkBIG3O33Pcjs = require('./chunk-BIG3O33P.cjs');
74
+ var _chunkYJZ7R3W5cjs = require('./chunk-YJZ7R3W5.cjs');
75
75
  require('./chunk-6CZVQ72C.cjs');
76
76
  require('./chunk-46547WQW.cjs');
77
77
  require('./chunk-LNUFH4E2.cjs');
@@ -1874,9 +1874,9 @@ require('./chunk-LMBYZITR.cjs');
1874
1874
  require('./chunk-TMVC7S2R.cjs');
1875
1875
  require('./chunk-IYHH5EIO.cjs');
1876
1876
  require('./chunk-XIBCMGBW.cjs');
1877
- require('./chunk-W4VEDSAX.cjs');
1877
+ require('./chunk-ZABZIM2Y.cjs');
1878
1878
  require('./chunk-7Z536SPR.cjs');
1879
- require('./chunk-KPGKTEEB.cjs');
1879
+ require('./chunk-BUEEQD3G.cjs');
1880
1880
  require('./chunk-JKX2C3I2.cjs');
1881
1881
 
1882
1882
 
@@ -1886,15 +1886,15 @@ require('./chunk-IX2E3AN7.cjs');
1886
1886
  require('./chunk-7DNL734S.cjs');
1887
1887
 
1888
1888
 
1889
- var _chunkFMSAN6SRcjs = require('./chunk-FMSAN6SR.cjs');
1889
+ var _chunkH3WTYAVRcjs = require('./chunk-H3WTYAVR.cjs');
1890
1890
  require('./chunk-5BM7X4GA.cjs');
1891
1891
 
1892
1892
 
1893
1893
  var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
1894
1894
 
1895
1895
 
1896
- var _chunk6GPMVHJNcjs = require('./chunk-6GPMVHJN.cjs');
1897
- require('./chunk-PBHP3FHO.cjs');
1896
+ var _chunkTD4CC4KVcjs = require('./chunk-TD4CC4KV.cjs');
1897
+ require('./chunk-JBTH3O2C.cjs');
1898
1898
  require('./chunk-USUVHAQ7.cjs');
1899
1899
  require('./chunk-S5C3OZCO.cjs');
1900
1900
  require('./chunk-32ASZMTV.cjs');
@@ -1906,11 +1906,11 @@ require('./chunk-RUHKTWGB.cjs');
1906
1906
  require('./chunk-MG3HJIGG.cjs');
1907
1907
  require('./chunk-LC65AC6M.cjs');
1908
1908
  require('./chunk-YSDB6HGQ.cjs');
1909
- require('./chunk-DAKGX2WF.cjs');
1909
+ require('./chunk-APNONOHY.cjs');
1910
1910
  require('./chunk-FX35L4Y6.cjs');
1911
1911
 
1912
1912
 
1913
- var _chunk2HQNXX2Kcjs = require('./chunk-2HQNXX2K.cjs');
1913
+ var _chunkJQCQCE6Ucjs = require('./chunk-JQCQCE6U.cjs');
1914
1914
  require('./chunk-NTPX5GXI.cjs');
1915
1915
  require('./chunk-GI3MMBP3.cjs');
1916
1916
  require('./chunk-3V5JWG27.cjs');
@@ -2011,7 +2011,7 @@ function useChatDialogManager({
2011
2011
  setArchivedLoading(true);
2012
2012
  }
2013
2013
  try {
2014
- const result = await fetchArchivedDialogs({ cursor, limit: _chunkUO6F6LLIcjs.CHAT_HISTORY_PAGE_SIZE });
2014
+ const result = await fetchArchivedDialogs({ cursor, limit: _chunkD6ZSRGH2cjs.CHAT_HISTORY_PAGE_SIZE });
2015
2015
  if (!isCurrent()) return;
2016
2016
  setArchivedCursor(result.nextCursor);
2017
2017
  setArchivedDialogs((prev) => cursor ? [...prev, ...result.dialogs] : result.dialogs);
@@ -2130,12 +2130,12 @@ function withoutCode(content) {
2130
2130
  }
2131
2131
  function splitCitedSources(sources, content) {
2132
2132
  if (!sources || sources.length === 0) return { cited: [], uncited: [] };
2133
- const byCards = splitByCards(sources, _chunkUO6F6LLIcjs.extractCardReferences.call(void 0, withoutCode(content)));
2133
+ const byCards = splitByCards(sources, _chunkD6ZSRGH2cjs.extractCardReferences.call(void 0, withoutCode(content)));
2134
2134
  if (byCards.cited.length > 0) return byCards;
2135
- const firstMentionAt = new Map(_chunkUO6F6LLIcjs.citedSourceNumbers.call(void 0, withoutCode(content)).map((index, order) => [index, order]));
2135
+ const firstMentionAt = new Map(_chunkD6ZSRGH2cjs.citedSourceNumbers.call(void 0, withoutCode(content)).map((index, order) => [index, order]));
2136
2136
  const cited = sources.filter((source) => firstMentionAt.has(source.index)).sort((a, b) => (_nullishCoalesce(firstMentionAt.get(a.index), () => ( 0))) - (_nullishCoalesce(firstMentionAt.get(b.index), () => ( 0))));
2137
2137
  const uncited = sources.filter((source) => !firstMentionAt.has(source.index));
2138
- return { cited: _chunkUO6F6LLIcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkUO6F6LLIcjs.groupSourcesByTable.call(void 0, uncited) };
2138
+ return { cited: _chunkD6ZSRGH2cjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkD6ZSRGH2cjs.groupSourcesByTable.call(void 0, uncited) };
2139
2139
  }
2140
2140
  function recordsOf(source) {
2141
2141
  if (!source.items || source.items.length === 0) return [source];
@@ -2152,7 +2152,7 @@ function recordsOf(source) {
2152
2152
  }
2153
2153
  function recordKey(record) {
2154
2154
  const id = record.id || record.path;
2155
- return record.documentType && id ? `${_chunkFMSAN6SRcjs.canonicalContentRefType.call(void 0, record.documentType)}:${id}` : null;
2155
+ return record.documentType && id ? `${_chunkH3WTYAVRcjs.canonicalContentRefType.call(void 0, record.documentType)}:${id}` : null;
2156
2156
  }
2157
2157
  function splitByCards(sources, cards) {
2158
2158
  const records = sources.flatMap(recordsOf);
@@ -2163,11 +2163,11 @@ function splitByCards(sources, cards) {
2163
2163
  }
2164
2164
  const cited = [];
2165
2165
  for (const card of cards) {
2166
- const record = byKey.get(`${_chunkFMSAN6SRcjs.canonicalContentRefType.call(void 0, card.type)}:${card.id}`);
2166
+ const record = byKey.get(`${_chunkH3WTYAVRcjs.canonicalContentRefType.call(void 0, card.type)}:${card.id}`);
2167
2167
  if (record && !cited.includes(record)) cited.push(record);
2168
2168
  }
2169
2169
  const uncited = records.filter((record) => !cited.includes(record));
2170
- return { cited: _chunkUO6F6LLIcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkUO6F6LLIcjs.groupSourcesByTable.call(void 0, uncited) };
2170
+ return { cited: _chunkD6ZSRGH2cjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkD6ZSRGH2cjs.groupSourcesByTable.call(void 0, uncited) };
2171
2171
  }
2172
2172
  function groupedRowLabels(items) {
2173
2173
  const numbers = new Set(items.flatMap((item) => item.index === void 0 ? [] : [item.index]));
@@ -2222,7 +2222,7 @@ function pruneTimestampCache(timestampCache, liveIds) {
2222
2222
  // src/components/chat/embeddable-chat.tsx
2223
2223
  var _jsxruntime = require('react/jsx-runtime');
2224
2224
  var HISTORY_RAIL_WIDTH = 320;
2225
- var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkUO6F6LLIcjs.CHAT_BLOCK_MIN_WIDTH;
2225
+ var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkD6ZSRGH2cjs.CHAT_BLOCK_MIN_WIDTH;
2226
2226
  var DRAWER_DEFAULT_WIDTH_RATIO = 0.5;
2227
2227
  var DRAWER_WIDTH_KEY = "mingo-chat-width-v4";
2228
2228
  var DRAWER_DEFAULT_WIDTH_PX = 750;
@@ -2295,7 +2295,7 @@ function dispatchSlashCommandAction(actionId, cmdId, ref) {
2295
2295
  if (!input) return;
2296
2296
  switch (actionId) {
2297
2297
  case "browse":
2298
- input.submit(_chunkUO6F6LLIcjs.formatSingularLookupInvocation.call(void 0, cmdId));
2298
+ input.submit(_chunkD6ZSRGH2cjs.formatSingularLookupInvocation.call(void 0, cmdId));
2299
2299
  return;
2300
2300
  case "search":
2301
2301
  input.setValue(`/${cmdId} `);
@@ -2316,7 +2316,7 @@ var ONE_TEXT_LINE = "\xA0";
2316
2316
  var SOURCE_CHIP_SKELETON_COUNT = 1;
2317
2317
  function SourceChipSkeleton(props) {
2318
2318
  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: [
2319
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkUO6F6LLIcjs.chatChipClass.call(void 0, { tone: "secondary" }), children: [
2319
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkD6ZSRGH2cjs.chatChipClass.call(void 0, { tone: "secondary" }), children: [
2320
2320
  /* @__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") }),
2321
2321
  /* @__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 })
2322
2322
  ] }),
@@ -2327,7 +2327,7 @@ function SourceChip(props) {
2327
2327
  const { src, onDiscuss } = props;
2328
2328
  const marks = _chunk63A4GZMBcjs.loadingItemProps.call(void 0, props);
2329
2329
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2330
- const cta = _chunkUO6F6LLIcjs.resolveSourceRowCTA.call(void 0,
2330
+ const cta = _chunkD6ZSRGH2cjs.resolveSourceRowCTA.call(void 0,
2331
2331
  {
2332
2332
  sourceRepo: src.sourceRepo,
2333
2333
  documentType: src.documentType,
@@ -2337,16 +2337,16 @@ function SourceChip(props) {
2337
2337
  targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
2338
2338
  path: src.path
2339
2339
  },
2340
- _chunkUO6F6LLIcjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2340
+ _chunkD6ZSRGH2cjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2341
2341
  );
2342
2342
  const Icon = cta.icon;
2343
2343
  const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
2344
- const chipClass = _chunkUO6F6LLIcjs.chatChipClass.call(void 0, { tone: "secondary" });
2344
+ const chipClass = _chunkD6ZSRGH2cjs.chatChipClass.call(void 0, { tone: "secondary" });
2345
2345
  if (src.items && src.items.length > 0) {
2346
2346
  const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
2347
2347
  const rowLabels = groupedRowLabels(src.items);
2348
2348
  const dropdownItems = src.items.map((item, i) => {
2349
- const itemCta = _chunkUO6F6LLIcjs.resolveSourceRowCTA.call(void 0,
2349
+ const itemCta = _chunkD6ZSRGH2cjs.resolveSourceRowCTA.call(void 0,
2350
2350
  {
2351
2351
  sourceRepo: src.sourceRepo,
2352
2352
  documentType: item.documentType,
@@ -2356,7 +2356,7 @@ function SourceChip(props) {
2356
2356
  targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
2357
2357
  path: item.path
2358
2358
  },
2359
- _chunkUO6F6LLIcjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2359
+ _chunkD6ZSRGH2cjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2360
2360
  );
2361
2361
  const ItemIcon = itemCta.icon;
2362
2362
  const itemChatRef = itemCta.chatRef;
@@ -2373,13 +2373,13 @@ function SourceChip(props) {
2373
2373
  } : void 0
2374
2374
  };
2375
2375
  });
2376
- const groupIndices = itemIndices.length > 0 ? _chunkUO6F6LLIcjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2376
+ const groupIndices = itemIndices.length > 0 ? _chunkD6ZSRGH2cjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2377
2377
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", ...marks, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2378
- _chunkYHQDB5QJcjs.HoverDropdown,
2378
+ _chunkVQG2A7GAcjs.HoverDropdown,
2379
2379
  {
2380
2380
  items: dropdownItems,
2381
2381
  renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2382
- _chunkUO6F6LLIcjs.NavLinkAnchorViaRuntime,
2382
+ _chunkD6ZSRGH2cjs.NavLinkAnchorViaRuntime,
2383
2383
  {
2384
2384
  href,
2385
2385
  targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)),
@@ -2412,13 +2412,13 @@ function SourceChip(props) {
2412
2412
  ] });
2413
2413
  const wrapChip = (clickable) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "inline-flex items-center", ...marks, children: [
2414
2414
  clickable,
2415
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2415
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2416
2416
  ] });
2417
2417
  if (cta.href) {
2418
2418
  const isEntity = !!src.externalUrl;
2419
2419
  return wrapChip(
2420
2420
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2421
- _chunkUO6F6LLIcjs.NavLinkAnchorViaRuntime,
2421
+ _chunkD6ZSRGH2cjs.NavLinkAnchorViaRuntime,
2422
2422
  {
2423
2423
  href: cta.href,
2424
2424
  path: isEntity ? null : src.path,
@@ -2444,7 +2444,7 @@ function SourceChips({
2444
2444
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
2445
2445
  if (loading) {
2446
2446
  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: [
2447
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-muted text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.TextHold, { children: "Sources" }) }),
2447
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-muted text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.TextHold, { children: "Sources" }) }),
2448
2448
  /* @__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 }) }) })
2449
2449
  ] });
2450
2450
  }
@@ -2509,7 +2509,7 @@ function EmbeddableChatInner({
2509
2509
  defaultActiveMode,
2510
2510
  shell = "drawer",
2511
2511
  closable = true,
2512
- appearance = _chunkIBD2FPSXcjs.CHAT_APPEARANCE.CLASSIC,
2512
+ appearance = _chunk4JHO2NVIcjs.CHAT_APPEARANCE.CLASSIC,
2513
2513
  onCollapse,
2514
2514
  collapseTo = "list",
2515
2515
  onExpand,
@@ -2548,13 +2548,13 @@ function EmbeddableChatInner({
2548
2548
  handleRef
2549
2549
  }) {
2550
2550
  const shellLess = shell !== "drawer";
2551
- const isV2 = appearance === _chunkIBD2FPSXcjs.CHAT_APPEARANCE.V2;
2551
+ const isV2 = appearance === _chunk4JHO2NVIcjs.CHAT_APPEARANCE.V2;
2552
2552
  const splitMode = threadContainer !== void 0;
2553
2553
  const hostOwnsList = rail === "none" || splitMode;
2554
2554
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2555
2555
  const source = _nullishCoalesce(runtime.source, () => ( ""));
2556
2556
  const commandsUrl = runtime.endpoints.commandsUrl;
2557
- const { attachmentsEnabled, user: identityUser } = _chunkUO6F6LLIcjs.useChatIdentity.call(void 0, );
2557
+ const { attachmentsEnabled, user: identityUser } = _chunkD6ZSRGH2cjs.useChatIdentity.call(void 0, );
2558
2558
  const viewUrlPrefix = runtime.endpoints.attachmentViewUrlPrefix;
2559
2559
  _react.useEffect.call(void 0, () => {
2560
2560
  if (process.env.NODE_ENV !== "production") {
@@ -2605,14 +2605,25 @@ function EmbeddableChatInner({
2605
2605
  };
2606
2606
  }, [isOpen, shellLess]);
2607
2607
  const chatInputRef = _react.useRef.call(void 0, null);
2608
- const [quickActionPreview, setQuickActionPreview] = _react.useState.call(void 0, null);
2608
+ const insertedPromptRef = _react.useRef.call(void 0, null);
2609
+ const insertQuickAction = _react.useCallback.call(void 0, (prompt) => {
2610
+ const input = chatInputRef.current;
2611
+ if (!input) return;
2612
+ const draft = input.getValue().trim();
2613
+ const next = draft === "" || draft === insertedPromptRef.current ? prompt : `${draft}
2614
+
2615
+ ${prompt}`;
2616
+ insertedPromptRef.current = next;
2617
+ input.setValue(next);
2618
+ input.focus();
2619
+ }, []);
2609
2620
  const slashCommandsProp = _react.useMemo.call(void 0,
2610
2621
  () => ({
2611
- fetchCommands: (prefix, signal) => _chunkUO6F6LLIcjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2622
+ fetchCommands: (prefix, signal) => _chunkD6ZSRGH2cjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2612
2623
  resolveSourceIcon: (sourceId) => {
2613
- const iconName = _chunkUO6F6LLIcjs.getSourceIconName.call(void 0, sourceId);
2624
+ const iconName = _chunkD6ZSRGH2cjs.getSourceIconName.call(void 0, sourceId);
2614
2625
  if (!iconName) return void 0;
2615
- return { Icon: _chunk2HQNXX2Kcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
2626
+ return { Icon: _chunkJQCQCE6Ucjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
2616
2627
  },
2617
2628
  onAction: (cmd, actionId) => {
2618
2629
  dispatchSlashCommandAction(actionId, cmd.id, chatInputRef);
@@ -2639,7 +2650,7 @@ function EmbeddableChatInner({
2639
2650
  },
2640
2651
  [controlledActiveMode, onActiveModeChange]
2641
2652
  );
2642
- const { commands: commandsList, loaded: commandsLoaded } = _chunkUO6F6LLIcjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2653
+ const { commands: commandsList, loaded: commandsLoaded } = _chunkD6ZSRGH2cjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2643
2654
  enabled: activeMode === "guide"
2644
2655
  });
2645
2656
  const commandsById = _react.useMemo.call(void 0, () => {
@@ -2650,7 +2661,7 @@ function EmbeddableChatInner({
2650
2661
  const resolveAgentConfigUrl = _nullishCoalesce(_nullishCoalesce(aiAgentConfigUrlProp, () => ( runtime.endpoints.aiAgentConfigUrl)), () => ( DEFAULT_AI_AGENT_CONFIG_URL));
2651
2662
  const agentConfigUrl = activeAgentSlug ? resolveAgentConfigUrl(activeAgentSlug) : void 0;
2652
2663
  const emptyStateUrl = _nullishCoalesce(agentConfigUrl, () => ( runtime.endpoints.emptyStateUrl));
2653
- const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkUO6F6LLIcjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2664
+ const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkD6ZSRGH2cjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2654
2665
  enabled: activeMode === "guide" || !!activeAgentSlug
2655
2666
  });
2656
2667
  const effectiveGreeting = _nullishCoalesce(emptyStateConfig.greeting, () => ( emptyStateGreeting));
@@ -2696,7 +2707,7 @@ function EmbeddableChatInner({
2696
2707
  hasMoreMessages,
2697
2708
  loadMoreMessages,
2698
2709
  dialogCapabilities
2699
- } = _chunkUO6F6LLIcjs.useUnifiedChat.call(void 0, {
2710
+ } = _chunkD6ZSRGH2cjs.useUnifiedChat.call(void 0, {
2700
2711
  modes: effectiveModes,
2701
2712
  activeMode,
2702
2713
  mingoStateOverride: mingoState,
@@ -2743,8 +2754,8 @@ function EmbeddableChatInner({
2743
2754
  addFiles: addAttachmentFiles,
2744
2755
  removeAttachment,
2745
2756
  clear: clearAttachments
2746
- } = _chunkUO6F6LLIcjs.useChatAttachments.call(void 0, );
2747
- const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkUO6F6LLIcjs.useChatAttachmentImageGallery.call(void 0, );
2757
+ } = _chunkD6ZSRGH2cjs.useChatAttachments.call(void 0, );
2758
+ const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkD6ZSRGH2cjs.useChatAttachmentImageGallery.call(void 0, );
2748
2759
  const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _16 => _16.maxItems]), () => ( 10));
2749
2760
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
2750
2761
  const [contextItems, setContextItems] = _react.useState.call(void 0, NO_CONTEXT_ITEMS);
@@ -2875,7 +2886,7 @@ function EmbeddableChatInner({
2875
2886
  const askAboutRef = _react.useRef.call(void 0, discussRef);
2876
2887
  const askAbout = _react.useCallback.call(void 0, (reference) => askAboutRef.current(reference), []);
2877
2888
  const renderEntityCard = _react.useCallback.call(void 0,
2878
- (reference) => _chunkUO6F6LLIcjs.renderChatInlineEntityCard.call(void 0, reference, {
2889
+ (reference) => _chunkD6ZSRGH2cjs.renderChatInlineEntityCard.call(void 0, reference, {
2879
2890
  onDiscuss: askAbout,
2880
2891
  onDisplay: displayRef,
2881
2892
  extras
@@ -2883,7 +2894,7 @@ function EmbeddableChatInner({
2883
2894
  [askAbout, displayRef, extras]
2884
2895
  );
2885
2896
  const mingoAssistantIcon = _react.useMemo.call(void 0,
2886
- () => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6ZE4EZcjs.AgentMark, { agent: "mingo", className: "h-6 w-6" }),
2897
+ () => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.AgentMark, { agent: "mingo", className: "h-6 w-6" }),
2887
2898
  [effectiveAssistantIcon]
2888
2899
  );
2889
2900
  const [timestampCache] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
@@ -2895,13 +2906,13 @@ function EmbeddableChatInner({
2895
2906
  pruneTimestampCache(timestampCache, new Set(rawMessages.map((m) => m.id)));
2896
2907
  return mapped;
2897
2908
  }, [rawMessages, guideUserName, guideUserAvatar, timestampCache]);
2898
- const whatToAsk = _chunkUO6F6LLIcjs.useWhatToAsk.call(void 0, {
2909
+ const whatToAsk = _chunkD6ZSRGH2cjs.useWhatToAsk.call(void 0, {
2899
2910
  dialogId: activeDialogId,
2900
2911
  content: typeof whatToAskContent === "function" ? void 0 : whatToAskContent,
2901
2912
  user: {
2902
2913
  name: _nullishCoalesce(headerUserName, () => ( "You")),
2903
2914
  avatar: _optionalChain([identityUser, 'optionalAccess', _42 => _42.avatarUrl, 'optionalAccess', _43 => _43.trim, 'call', _44 => _44()]) || _optionalChain([userAvatarUrl, 'optionalAccess', _45 => _45.trim, 'call', _46 => _46()]) || null,
2904
- authorType: _chunkIBD2FPSXcjs.AUTHOR_TYPE.ADMIN
2915
+ authorType: _chunk4JHO2NVIcjs.AUTHOR_TYPE.ADMIN
2905
2916
  },
2906
2917
  assistant: { name: "Mingo", assistantType: "mingo" }
2907
2918
  });
@@ -2914,7 +2925,7 @@ function EmbeddableChatInner({
2914
2925
  noteWhatToAskSend();
2915
2926
  let augmentedText = text;
2916
2927
  if (readyAttachments.length > 0) {
2917
- const markdown = readyAttachments.map((att) => _chunkUO6F6LLIcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2928
+ const markdown = readyAttachments.map((att) => _chunkD6ZSRGH2cjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2918
2929
  augmentedText = `${text}${markdown}`;
2919
2930
  }
2920
2931
  void sendMessage(augmentedText, {
@@ -2953,7 +2964,7 @@ function EmbeddableChatInner({
2953
2964
  // agent/persona (`icon_props.color`) wins; the built-in slug map
2954
2965
  // (fae→pink, mingo→cyan) is only the fallback for unconfigured
2955
2966
  // built-in agents.
2956
- accent: _nullishCoalesce(_chunkUO6F6LLIcjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkUO6F6LLIcjs.getAgentAccent.call(void 0, activeAgentSlug)))
2967
+ accent: _nullishCoalesce(_chunkD6ZSRGH2cjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkD6ZSRGH2cjs.getAgentAccent.call(void 0, activeAgentSlug)))
2957
2968
  }));
2958
2969
  }
2959
2970
  return (_nullishCoalesce(effectiveSuggestedQueries, () => ( []))).map((q, i) => ({
@@ -3001,7 +3012,7 @@ function EmbeddableChatInner({
3001
3012
  unarchiveDialog: mingoCaps.unarchiveDialog
3002
3013
  });
3003
3014
  const handleOpen = _react.useCallback.call(void 0, () => setIsOpen(true), [setIsOpen]);
3004
- _chunkUO6F6LLIcjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
3015
+ _chunkD6ZSRGH2cjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
3005
3016
  _react.useEffect.call(void 0, () => {
3006
3017
  const handler = (e) => {
3007
3018
  const detail = e.detail;
@@ -3009,8 +3020,8 @@ function EmbeddableChatInner({
3009
3020
  setIsOpen(true);
3010
3021
  setTimeout(() => askAbout(detail.ref), 0);
3011
3022
  };
3012
- window.addEventListener(_chunkUO6F6LLIcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3013
- return () => window.removeEventListener(_chunkUO6F6LLIcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3023
+ window.addEventListener(_chunkD6ZSRGH2cjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3024
+ return () => window.removeEventListener(_chunkD6ZSRGH2cjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3014
3025
  }, [source, askAbout, setIsOpen]);
3015
3026
  const pendingAskRef = _react.useRef.call(void 0, null);
3016
3027
  const isDraft = activeDialogId == null && messages.length === 0;
@@ -3044,10 +3055,10 @@ function EmbeddableChatInner({
3044
3055
  const prompt = typeof detail.prompt === "string" ? detail.prompt.trim() : "";
3045
3056
  if (prompt) setTimeout(() => sendAskPrompt(prompt), 0);
3046
3057
  };
3047
- window.addEventListener(_chunkUO6F6LLIcjs.ASK_AI_OPEN_EVENT, handler);
3048
- return () => window.removeEventListener(_chunkUO6F6LLIcjs.ASK_AI_OPEN_EVENT, handler);
3058
+ window.addEventListener(_chunkD6ZSRGH2cjs.ASK_AI_OPEN_EVENT, handler);
3059
+ return () => window.removeEventListener(_chunkD6ZSRGH2cjs.ASK_AI_OPEN_EVENT, handler);
3049
3060
  }, [source, setIsOpen, sendAskPrompt]);
3050
- _react.useEffect.call(void 0, () => _chunkUO6F6LLIcjs.chatListensForAskAiOpens.call(void 0, ), []);
3061
+ _react.useEffect.call(void 0, () => _chunkD6ZSRGH2cjs.chatListensForAskAiOpens.call(void 0, ), []);
3051
3062
  const hasMessages = messages.length > 0;
3052
3063
  const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
3053
3064
  const dialogsLoadError = dialogsError && dialogs.length === 0;
@@ -3057,8 +3068,6 @@ function EmbeddableChatInner({
3057
3068
  const messagesInitialLoading = isMessagesLoading && !hasMessages;
3058
3069
  const contentViewKey = hasConversation ? "conversation" : activeMode;
3059
3070
  const isGuideEmpty = !hasConversation && activeMode === "guide";
3060
- const isQuickActionEmpty = !hasConversation && (activeMode === "guide" || activeMode === "mingo");
3061
- if (!isQuickActionEmpty && quickActionPreview !== null) setQuickActionPreview(null);
3062
3071
  const guideCanReturnToMingo = isGuideEmpty && hasMingoMode;
3063
3072
  const sourceLabel = source === "flamingo" ? "Knowledge Base" : "Data Room";
3064
3073
  const enabledSet = _react.useMemo.call(void 0,
@@ -3087,7 +3096,7 @@ function EmbeddableChatInner({
3087
3096
  if (sourceSkeletonCount <= 0) return null;
3088
3097
  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: [] }) });
3089
3098
  }
3090
- const { cited, uncited } = splitCitedSources(message.sources, _chunkUO6F6LLIcjs.flattenAssistantContent.call(void 0, message.content));
3099
+ const { cited, uncited } = splitCitedSources(message.sources, _chunkD6ZSRGH2cjs.flattenAssistantContent.call(void 0, message.content));
3091
3100
  if (cited.length === 0 && uncited.length === 0) return null;
3092
3101
  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 }) });
3093
3102
  },
@@ -3097,7 +3106,7 @@ function EmbeddableChatInner({
3097
3106
  const [panelBoundary, setPanelBoundary] = _react.useState.call(void 0, null);
3098
3107
  const [threadPortalHost, setThreadPortalHost] = _react.useState.call(void 0, null);
3099
3108
  const [threadBoundary, setThreadBoundary] = _react.useState.call(void 0, null);
3100
- const splitMinWidth = (isV2 ? _chunkUO6F6LLIcjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkUO6F6LLIcjs.CHAT_BLOCK_MIN_WIDTH;
3109
+ const splitMinWidth = (isV2 ? _chunkD6ZSRGH2cjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkD6ZSRGH2cjs.CHAT_BLOCK_MIN_WIDTH;
3101
3110
  const [canSplit, setCanSplit] = _react.useState.call(void 0, false);
3102
3111
  _react.useEffect.call(void 0, () => {
3103
3112
  if (!panelBoundary || typeof ResizeObserver === "undefined") return void 0;
@@ -3116,7 +3125,7 @@ function EmbeddableChatInner({
3116
3125
  [splitMinWidth]
3117
3126
  );
3118
3127
  const [railCollapsed, setRailCollapsed] = _react.useState.call(void 0, false);
3119
- const railStorageHydrated = _chunkUO6F6LLIcjs.useIsHydrated.call(void 0, );
3128
+ const railStorageHydrated = _chunkD6ZSRGH2cjs.useIsHydrated.call(void 0, );
3120
3129
  const [railStorageRead, setRailStorageRead] = _react.useState.call(void 0, false);
3121
3130
  if (railStorageHydrated && !railStorageRead) {
3122
3131
  setRailStorageRead(true);
@@ -3170,7 +3179,7 @@ function EmbeddableChatInner({
3170
3179
  resetToNewChat();
3171
3180
  }, [clearWhatToAskDraft, resetToNewChat]);
3172
3181
  const activeDialogStatus = activeDialog && dialogStatusOf ? dialogStatusOf(activeDialog) : void 0;
3173
- const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _67 => _67.length]), () => ( 0))) > 0 || _chunkUO6F6LLIcjs.awaitsDecision.call(void 0, hostMessages);
3182
+ const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _67 => _67.length]), () => ( 0))) > 0 || _chunkD6ZSRGH2cjs.awaitsDecision.call(void 0, hostMessages);
3174
3183
  const showWhatToAsk = (content) => {
3175
3184
  whatToAsk.clearDraft();
3176
3185
  resetToNewChat();
@@ -3270,7 +3279,7 @@ function EmbeddableChatInner({
3270
3279
  }),
3271
3280
  [resetToNewChat, contextMaxItems, contextPicker, openContextPicker]
3272
3281
  );
3273
- const splitHeaderMenuItems = _chunkUO6F6LLIcjs.chatDialogMenuItems.call(void 0, {
3282
+ const splitHeaderMenuItems = _chunkD6ZSRGH2cjs.chatDialogMenuItems.call(void 0, {
3274
3283
  onCopyLink: headerOnCopyLink,
3275
3284
  onRename: headerOnRename,
3276
3285
  onCompact: headerOnCompact,
@@ -3289,7 +3298,7 @@ function EmbeddableChatInner({
3289
3298
  });
3290
3299
  };
3291
3300
  const cancelInlineRename = () => setInlineRenameId(null);
3292
- const mingoHeaderMenuItems = _chunkUO6F6LLIcjs.chatDialogMenuItems.call(void 0, {
3301
+ const mingoHeaderMenuItems = _chunkD6ZSRGH2cjs.chatDialogMenuItems.call(void 0, {
3293
3302
  onCopyLink: headerOnCopyLink,
3294
3303
  onRename: mingoHeaderOnRename,
3295
3304
  onCompact: headerOnCompact,
@@ -3372,7 +3381,7 @@ function EmbeddableChatInner({
3372
3381
  onRetry: reloadDialogs
3373
3382
  };
3374
3383
  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,
3375
- _chunkUO6F6LLIcjs.MingoChatHeader,
3384
+ _chunkD6ZSRGH2cjs.MingoChatHeader,
3376
3385
  {
3377
3386
  title: archiveOpen ? "Chat Archive" : headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle,
3378
3387
  subtitle: archiveOpen ? void 0 : headerPersonName,
@@ -3393,7 +3402,7 @@ function EmbeddableChatInner({
3393
3402
  }
3394
3403
  ) }) : null;
3395
3404
  const archiveListNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3396
- _chunkUO6F6LLIcjs.MingoArchiveList,
3405
+ _chunkD6ZSRGH2cjs.MingoArchiveList,
3397
3406
  {
3398
3407
  dialogs: archivedDialogs,
3399
3408
  onSelectDialog: handleArchivedSelect,
@@ -3418,7 +3427,7 @@ function EmbeddableChatInner({
3418
3427
  hasAboveComposer && "min-h-32"
3419
3428
  ),
3420
3429
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", 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,
3421
- _chunkUO6F6LLIcjs.ChatMessageList,
3430
+ _chunkD6ZSRGH2cjs.ChatMessageList,
3422
3431
  {
3423
3432
  messages,
3424
3433
  isLoading: messagesInitialLoading,
@@ -3437,7 +3446,7 @@ function EmbeddableChatInner({
3437
3446
  renderMention,
3438
3447
  renderAfterMessage: renderMessageSources,
3439
3448
  onAskSelect: chatLoading || previewMode ? void 0 : handleAskSelect,
3440
- NavLinkAnchor: _chunkUO6F6LLIcjs.NavLinkAnchorViaRuntime,
3449
+ NavLinkAnchor: _chunkD6ZSRGH2cjs.NavLinkAnchorViaRuntime,
3441
3450
  className: previewMode ? "pointer-events-auto flex-1" : "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
3442
3451
  contentClassName: _chunk63A4GZMBcjs.cn.call(void 0, "max-w-none pb-0", splitMode && threadContentClassName),
3443
3452
  fullWidth: true,
@@ -3451,15 +3460,19 @@ function EmbeddableChatInner({
3451
3460
  quick-action chips. Guide mode keeps the slash-command
3452
3461
  onboarding list below. */
3453
3462
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3454
- _chunkUO6F6LLIcjs.MingoWelcome,
3463
+ _chunkD6ZSRGH2cjs.MingoWelcome,
3455
3464
  {
3456
3465
  onStartGuideChat: effectiveModes.guide ? () => handleActiveModeChange("guide") : void 0,
3457
3466
  historyPageSize,
3458
3467
  ...mingoWelcome,
3459
3468
  hasExistingChats: false,
3460
- onQuickActionHover: (action) => setQuickActionPreview(_nullishCoalesce(action.prompt, () => ( action.label))),
3461
- onQuickActionHoverEnd: () => setQuickActionPreview(null),
3462
- agentSlug: _nullishCoalesce(activeAgentSlug, () => ( "mingo"))
3469
+ quickActions: _optionalChain([mingoWelcome, 'optionalAccess', _68 => _68.quickActions, 'optionalAccess', _69 => _69.map, 'call', _70 => _70((action) => ({
3470
+ ...action,
3471
+ onClick: () => {
3472
+ insertQuickAction(_nullishCoalesce(action.prompt, () => ( action.label)));
3473
+ _optionalChain([action, 'access', _71 => _71.onClick, 'optionalCall', _72 => _72()]);
3474
+ }
3475
+ }))])
3463
3476
  }
3464
3477
  )
3465
3478
  ) : (
@@ -3467,26 +3480,20 @@ function EmbeddableChatInner({
3467
3480
  + slash-command onboarding list share one scroll region,
3468
3481
  with a pinned quick-action chip row above the composer. */
3469
3482
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3470
- _chunkUO6F6LLIcjs.GuideWelcome,
3483
+ _chunkD6ZSRGH2cjs.GuideWelcome,
3471
3484
  {
3472
3485
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
3473
3486
  subtitleLoading: emptyStateLoading,
3474
3487
  quickActionsLoading: !!emptyStateUrl && emptyStateLoading,
3475
3488
  ...guideWelcome,
3476
- title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _68 => _68.title]))),
3477
- icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _69 => _69.icon]))),
3478
- quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _70 => _70.quickActions]), () => ( guideSuggestedActions)),
3479
- onQuickAction: (action) => {
3480
- setQuickActionPreview(null);
3481
- handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
3482
- },
3483
- onQuickActionHover: (action) => setQuickActionPreview(_nullishCoalesce(action.prompt, () => ( action.label))),
3484
- onQuickActionHoverEnd: () => setQuickActionPreview(null),
3485
- agentSlug: activeAgentSlug,
3489
+ title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _73 => _73.title]))),
3490
+ icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _74 => _74.icon]))),
3491
+ quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _75 => _75.quickActions]), () => ( guideSuggestedActions)),
3492
+ onQuickAction: (action) => insertQuickAction(_nullishCoalesce(action.prompt, () => ( action.label))),
3486
3493
  children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
3487
- !commandsLoaded && chipCommands.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: _chunkIBD2FPSXcjs.MINGO_ONBOARDING_SKELETON_ROWS, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIBD2FPSXcjs.MingoOnboardingCard, { loading: true, "data-loading-item": true, skeletonIndex: i, title: "" }) }),
3494
+ !commandsLoaded && chipCommands.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: _chunk4JHO2NVIcjs.MINGO_ONBOARDING_SKELETON_ROWS, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.MingoOnboardingCard, { loading: true, "data-loading-item": true, skeletonIndex: i, title: "" }) }),
3488
3495
  chipCommands.map((cmd) => {
3489
- const Icon = _chunk2HQNXX2Kcjs.resolveIcon.call(void 0, cmd.iconName);
3496
+ const Icon = _chunkJQCQCE6Ucjs.resolveIcon.call(void 0, cmd.iconName);
3490
3497
  const cmdId = cmd.id;
3491
3498
  const label = _nullishCoalesce(cmd.label, () => ( `/${cmdId}`));
3492
3499
  const cardActions = cmd.actions.map((action) => ({
@@ -3495,7 +3502,7 @@ function EmbeddableChatInner({
3495
3502
  onClick: () => dispatchSlashCommandAction(action.id, cmdId, chatInputRef)
3496
3503
  }));
3497
3504
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3498
- _chunkIBD2FPSXcjs.MingoOnboardingCard,
3505
+ _chunk4JHO2NVIcjs.MingoOnboardingCard,
3499
3506
  {
3500
3507
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16 }),
3501
3508
  title: label,
@@ -3521,9 +3528,9 @@ function EmbeddableChatInner({
3521
3528
  children: aboveComposer
3522
3529
  }
3523
3530
  ) : null;
3524
- const attachmentStrip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.ChatAttachmentChipStrip, { attachments: stagedAttachments, onRemove: removeAttachment, disabled: chatLoading });
3531
+ const attachmentStrip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.ChatAttachmentChipStrip, { attachments: stagedAttachments, onRemove: removeAttachment, disabled: chatLoading });
3525
3532
  const composerNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3526
- _chunkUO6F6LLIcjs.ChatComposer,
3533
+ _chunkD6ZSRGH2cjs.ChatComposer,
3527
3534
  {
3528
3535
  archived: isViewingArchived,
3529
3536
  lock: composerLock,
@@ -3534,7 +3541,7 @@ function EmbeddableChatInner({
3534
3541
  placeholder: hasInflightUploads ? "Waiting for uploads to finish\u2026" : _nullishCoalesce(composerPlaceholder, () => ( (isV2 ? "Enter your Request..." : "Ask a question..."))),
3535
3542
  autoFocus: previewMode ? false : autoFocusInput,
3536
3543
  slashCommands: slashCommandsProp,
3537
- previewText: _nullishCoalesce(_nullishCoalesce(quickActionPreview, () => ( composerPreviewText)), () => ( void 0)),
3544
+ previewText: _nullishCoalesce(composerPreviewText, () => ( void 0)),
3538
3545
  safeAreaBottom,
3539
3546
  edgeLight: composerEdgeLight,
3540
3547
  showAttachmentButton: attachmentsEnabled && activeMode === "guide",
@@ -3545,10 +3552,10 @@ function EmbeddableChatInner({
3545
3552
  selectedContextItems: contextItems,
3546
3553
  onToggleContextItem: toggleContextItem,
3547
3554
  onRemoveContextItem: removeContextItem,
3548
- contextMemoryItems: _optionalChain([contextMemory, 'optionalAccess', _71 => _71.items]),
3555
+ contextMemoryItems: _optionalChain([contextMemory, 'optionalAccess', _76 => _76.items]),
3549
3556
  contextLeading: composerContextLeading,
3550
- onRemoveContextMemoryItem: _optionalChain([contextMemory, 'optionalAccess', _72 => _72.onRemove]),
3551
- contextMemoryPending: _optionalChain([contextMemory, 'optionalAccess', _73 => _73.pending]),
3557
+ onRemoveContextMemoryItem: _optionalChain([contextMemory, 'optionalAccess', _77 => _77.onRemove]),
3558
+ contextMemoryPending: _optionalChain([contextMemory, 'optionalAccess', _78 => _78.pending]),
3552
3559
  contextPickerOpen,
3553
3560
  onOpenContextPicker: openContextPicker,
3554
3561
  onCloseContextPicker: closeContextPicker,
@@ -3573,7 +3580,7 @@ function EmbeddableChatInner({
3573
3580
  composerKey
3574
3581
  );
3575
3582
  const dialogModals = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3576
- _chunkUO6F6LLIcjs.ChatDialogModals,
3583
+ _chunkD6ZSRGH2cjs.ChatDialogModals,
3577
3584
  {
3578
3585
  renameTarget,
3579
3586
  setRenameTarget,
@@ -3589,7 +3596,7 @@ function EmbeddableChatInner({
3589
3596
  const classicBody = (
3590
3597
  // The whole panel reads the appearance (the composer's footer too), not
3591
3598
  // only the thread `ChatMessageList` provides it to.
3592
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.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: [
3599
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.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: [
3593
3600
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3594
3601
  "div",
3595
3602
  {
@@ -3597,7 +3604,7 @@ function EmbeddableChatInner({
3597
3604
  "data-surface": isV2 ? "mingo" : void 0,
3598
3605
  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" : ""}`,
3599
3606
  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,
3600
- _chunkUO6F6LLIcjs.ChatArchivePage,
3607
+ _chunkD6ZSRGH2cjs.ChatArchivePage,
3601
3608
  {
3602
3609
  dialogs: archivedDialogs,
3603
3610
  onSelectDialog: handleArchivedSelect,
@@ -3627,7 +3634,7 @@ function EmbeddableChatInner({
3627
3634
  narrow: true,
3628
3635
  className: "col-start-1 row-span-3 row-start-1",
3629
3636
  innerClassName: "flex min-h-0 flex-col",
3630
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3637
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3631
3638
  }
3632
3639
  ),
3633
3640
  isV2 ? v2Header : showWideHeader ? (
@@ -3666,7 +3673,7 @@ function EmbeddableChatInner({
3666
3673
  // (Figma 116:51217) and the magnifier toggle is hidden.
3667
3674
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3668
3675
  railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3669
- _chunkUO6F6LLIcjs.ChatHeaderSearchField,
3676
+ _chunkD6ZSRGH2cjs.ChatHeaderSearchField,
3670
3677
  {
3671
3678
  initialValue: mingoCaps.searchQuery,
3672
3679
  onSearchChange: mingoCaps.onSearchChange,
@@ -3737,7 +3744,7 @@ function EmbeddableChatInner({
3737
3744
  ] }),
3738
3745
  isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "cell", className: "w-14", onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
3739
3746
  headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3740
- _chunkBIG3O33Pcjs.ActionsMenuDropdown,
3747
+ _chunkYJZ7R3W5cjs.ActionsMenuDropdown,
3741
3748
  {
3742
3749
  triggerAriaLabel: "Chat actions",
3743
3750
  onCloseAutoFocus: (e) => e.preventDefault(),
@@ -3753,10 +3760,10 @@ function EmbeddableChatInner({
3753
3760
  // guide, resolved into `narrowHeaderProps` above. (Wide layouts,
3754
3761
  // including rail-collapsed, use the wide header above.) Embedded
3755
3762
  // previews (hero demo tabs) force the compact bar via `compact`.
3756
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3763
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3757
3764
  ),
3758
3765
  activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3759
- _chunkUO6F6LLIcjs.GuideModeBanner,
3766
+ _chunkD6ZSRGH2cjs.GuideModeBanner,
3760
3767
  {
3761
3768
  className: _chunk63A4GZMBcjs.cn.call(void 0, "duration-200 animate-in fade-in-0", isV2 && "col-start-2 row-start-2")
3762
3769
  }
@@ -3766,7 +3773,7 @@ function EmbeddableChatInner({
3766
3773
  // Archive list inside the rail (header lives in the split
3767
3774
  // header's left cell above). Right chat block stays put.
3768
3775
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3769
- _chunkUO6F6LLIcjs.ChatArchivePage,
3776
+ _chunkD6ZSRGH2cjs.ChatArchivePage,
3770
3777
  {
3771
3778
  embedded: true,
3772
3779
  dialogs: archivedDialogs,
@@ -3780,7 +3787,7 @@ function EmbeddableChatInner({
3780
3787
  }
3781
3788
  )
3782
3789
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3783
- _chunkUO6F6LLIcjs.MingoHistoryRail,
3790
+ _chunkD6ZSRGH2cjs.MingoHistoryRail,
3784
3791
  {
3785
3792
  dialogs,
3786
3793
  activeDialogId: _nullishCoalesce(activeDialogId, () => ( void 0)),
@@ -3809,13 +3816,13 @@ function EmbeddableChatInner({
3809
3816
  // header; the list stays, and "Chat Archive" there toggles back.
3810
3817
  archiveListNode
3811
3818
  ) : stackedListView && isV2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3812
- _chunkUO6F6LLIcjs.MingoChatRail,
3819
+ _chunkD6ZSRGH2cjs.MingoChatRail,
3813
3820
  {
3814
3821
  ...mingoRailProps,
3815
3822
  onNewChat: () => setComposeOpen(true),
3816
3823
  onExpand: onExpand && (() => {
3817
3824
  const last = lastDialogIdRef.current;
3818
- const target = last && dialogs.some((d) => d.id === last) ? last : _optionalChain([dialogs, 'access', _74 => _74[0], 'optionalAccess', _75 => _75.id]);
3825
+ const target = last && dialogs.some((d) => d.id === last) ? last : _optionalChain([dialogs, 'access', _79 => _79[0], 'optionalAccess', _80 => _80.id]);
3819
3826
  if (archiveOpen) closeArchive();
3820
3827
  if (target) handleSelectDialog(target);
3821
3828
  else handleNewChat();
@@ -3828,7 +3835,7 @@ function EmbeddableChatInner({
3828
3835
  // single-column view. No composer here; "Start New Chat" opens
3829
3836
  // the compose view.
3830
3837
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3831
- _chunkUO6F6LLIcjs.MingoHistoryRail,
3838
+ _chunkD6ZSRGH2cjs.MingoHistoryRail,
3832
3839
  {
3833
3840
  className: "duration-200 animate-in fade-in-0",
3834
3841
  dialogs,
@@ -3872,11 +3879,11 @@ function EmbeddableChatInner({
3872
3879
  ] }) }) })
3873
3880
  );
3874
3881
  const pageHeader = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3875
- _chunkUO6F6LLIcjs.MingoChatHeader,
3882
+ _chunkD6ZSRGH2cjs.MingoChatHeader,
3876
3883
  {
3877
3884
  variant: "page",
3878
3885
  title: archiveOpen ? "Chat Archive" : headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle,
3879
- meta: archiveOpen || !hasConversation ? void 0 : [headerPersonName, _chunkUO6F6LLIcjs.chatDayLabel.call(void 0, _optionalChain([activeDialog, 'optionalAccess', _76 => _76.timestamp]))],
3886
+ meta: archiveOpen || !hasConversation ? void 0 : [headerPersonName, _chunkD6ZSRGH2cjs.chatDayLabel.call(void 0, _optionalChain([activeDialog, 'optionalAccess', _81 => _81.timestamp]))],
3880
3887
  menuItems: headerShowBack && !isViewingArchived && !archiveOpen ? mingoHeaderMenuItems : [],
3881
3888
  extraMenuItems: isViewingArchived || archiveOpen ? void 0 : chatMenuExtraItems,
3882
3889
  onRestore: isViewingArchived && !archiveOpen ? headerOnRestore : void 0,
@@ -3896,7 +3903,7 @@ function EmbeddableChatInner({
3896
3903
  ),
3897
3904
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.PortalContainerContext.Provider, { value: threadPortalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.CollisionBoundaryContext.Provider, { value: threadBoundary, children: [
3898
3905
  pageHeader,
3899
- activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.GuideModeBanner, { className: "duration-200 animate-in fade-in-0" }),
3906
+ activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.GuideModeBanner, { className: "duration-200 animate-in fade-in-0" }),
3900
3907
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 min-w-0 flex-1 flex-col", children: archiveOpen ? archiveListNode : threadArea }),
3901
3908
  galleryModal,
3902
3909
  dialogModals,
@@ -3904,7 +3911,7 @@ function EmbeddableChatInner({
3904
3911
  ] }) })
3905
3912
  }
3906
3913
  );
3907
- const body = splitMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.PortalContainerContext.Provider, { value: portalHost, children: [
3914
+ const body = splitMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.PortalContainerContext.Provider, { value: portalHost, children: [
3908
3915
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3909
3916
  "div",
3910
3917
  {
@@ -3922,14 +3929,14 @@ function EmbeddableChatInner({
3922
3929
  threadContainer ? null : dialogModals,
3923
3930
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
3924
3931
  ] }) }) : classicBody;
3925
- const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUO6F6LLIcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3932
+ const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkD6ZSRGH2cjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3926
3933
  shell === "none" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactvisuallyhidden.VisuallyHidden, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Title, { children: [
3927
3934
  sourceLabel,
3928
3935
  " AI Assistant"
3929
3936
  ] }) }),
3930
3937
  body
3931
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYHQDB5QJcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3932
- _chunkYHQDB5QJcjs.DrawerContent,
3938
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVQG2A7GAcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3939
+ _chunkVQG2A7GAcjs.DrawerContent,
3933
3940
  {
3934
3941
  side: "right",
3935
3942
  flush: true,
@@ -3961,7 +3968,7 @@ function EmbeddableChatInner({
3961
3968
  _chunkFCZAUK4Dcjs.Button,
3962
3969
  {
3963
3970
  onClick: handleOpen,
3964
- leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6ZE4EZcjs.AgentMark, { agent: "mingo", className: "h-5 w-5" }),
3971
+ leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.AgentMark, { agent: "mingo", className: "h-5 w-5" }),
3965
3972
  tabIndex: isOpen ? -1 : 0,
3966
3973
  className: `pointer-events-auto !w-auto shadow-lg ${isOpen ? "!pointer-events-none" : ""}`,
3967
3974
  children: "Ask AI"