@flamingo-stack/openframe-frontend-core 0.0.776 → 0.0.777

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 (79) hide show
  1. package/dist/case-study-card-FMH622O5.cjs +25 -0
  2. package/dist/{chunk-2AZAJ7RK.cjs → chunk-3PCSEZNZ.cjs} +53 -53
  3. package/dist/{chunk-R3JX4MXD.cjs → chunk-3ZLPYEL5.cjs} +10 -10
  4. package/dist/{chunk-3V27UHSH.cjs → chunk-4JZDJ34E.cjs} +17 -17
  5. package/dist/{chunk-DGFDBPO7.cjs → chunk-5GJM7VRR.cjs} +1 -94
  6. package/dist/{chunk-E64HPPRH.cjs → chunk-5PK22JP7.cjs} +50 -50
  7. package/dist/{chunk-57B5RUYD.cjs → chunk-64KBI5MI.cjs} +2 -2
  8. package/dist/{chunk-BDYI6HBT.cjs → chunk-7LJSGOWS.cjs} +18 -16
  9. package/dist/{chunk-ASMNNSUQ.cjs → chunk-7PNRXJX2.cjs} +3 -3
  10. package/dist/{chunk-2YB4X5WT.cjs → chunk-ALA4KHTE.cjs} +6 -6
  11. package/dist/{chunk-VFZFCRAL.cjs → chunk-AQXKXZWB.cjs} +4 -4
  12. package/dist/{chunk-OTZQP53Y.cjs → chunk-BDDOC425.cjs} +8 -8
  13. package/dist/{chunk-VFUMM6JC.cjs → chunk-BEMGJDXI.cjs} +2 -2
  14. package/dist/{chunk-HY6BCZH7.cjs → chunk-BNUZKBNV.cjs} +3 -3
  15. package/dist/{chunk-MYHS4W2H.cjs → chunk-CGQ7CL62.cjs} +213 -1647
  16. package/dist/{chunk-L55XLH5A.cjs → chunk-DOM5CUEY.cjs} +33 -31
  17. package/dist/{chunk-IXZNBDXT.cjs → chunk-G2N7INFT.cjs} +28 -28
  18. package/dist/{chunk-XN6LXMH5.cjs → chunk-HXLOCZMG.cjs} +595 -591
  19. package/dist/{chunk-CZIMISAR.cjs → chunk-JB2SEF6Q.cjs} +7 -7
  20. package/dist/{chunk-2MF547RG.cjs → chunk-JMFF3L3T.cjs} +28 -26
  21. package/dist/{chunk-LJT2KRE2.cjs → chunk-KLTUTZBO.cjs} +24 -24
  22. package/dist/{chunk-EHJE3UWZ.cjs → chunk-LBGAHB6X.cjs} +20 -20
  23. package/dist/{chunk-OJLZ7PGO.cjs → chunk-LGNJTSKB.cjs} +37 -35
  24. package/dist/{chunk-MWH5ZTMB.cjs → chunk-LU2DGST4.cjs} +97 -95
  25. package/dist/chunk-MQPTOJMF.cjs +1504 -0
  26. package/dist/{chunk-XXJL5GY3.cjs → chunk-OJZBZH56.cjs} +3 -3
  27. package/dist/{chunk-XT5WEHFM.cjs → chunk-QIATO42V.cjs} +3 -3
  28. package/dist/{chunk-RB7VLVMD.cjs → chunk-R6BKQKIF.cjs} +9 -7
  29. package/dist/{chunk-NWZSYG4S.cjs → chunk-S3YDUX2I.cjs} +114 -112
  30. package/dist/{chunk-DDXQGTWB.cjs → chunk-SDZG7VV7.cjs} +5 -5
  31. package/dist/{chunk-V3W56L2D.cjs → chunk-SIDDZZKL.cjs} +38 -38
  32. package/dist/chunk-SZHDXXMK.cjs +102 -0
  33. package/dist/{chunk-AMVI5VXM.cjs → chunk-T47VAUYR.cjs} +91 -89
  34. package/dist/{chunk-F65RSJVV.cjs → chunk-T7NDPPLF.cjs} +23 -21
  35. package/dist/{chunk-5P4TDV7V.cjs → chunk-TUAATMUE.cjs} +5 -93
  36. package/dist/{chunk-KM2TVQCH.cjs → chunk-TZP7PSPG.cjs} +249 -243
  37. package/dist/{chunk-WAQPW4CB.cjs → chunk-U5VQFKRZ.cjs} +6 -6
  38. package/dist/{chunk-24OYQQZC.cjs → chunk-UW6AOF42.cjs} +22 -22
  39. package/dist/chunk-V4FXUIMH.cjs +92 -0
  40. package/dist/{chunk-2JRSYWFP.cjs → chunk-VXAKQRV7.cjs} +5 -5
  41. package/dist/{chunk-UM6HFGTI.cjs → chunk-VY3NGJRH.cjs} +53 -51
  42. package/dist/{chunk-LNCBN4BL.cjs → chunk-WCSWWVPF.cjs} +2 -2
  43. package/dist/{chunk-6HY2NH7D.cjs → chunk-WMZIBRTR.cjs} +2 -2
  44. package/dist/{chunk-5QP3K2CE.cjs → chunk-XEYL6AFZ.cjs} +9 -9
  45. package/dist/{chunk-YFTQ2ALU.cjs → chunk-XVAVQ4BK.cjs} +116 -82
  46. package/dist/{chunk-Z5KX56TK.cjs → chunk-Y6MQBLTZ.cjs} +4 -4
  47. package/dist/{cloud-tenants-QFE6QMR5.cjs → cloud-tenants-EUH42CCL.cjs} +27 -24
  48. package/dist/components/case-studies/index.cjs +45 -41
  49. package/dist/components/chat/index.cjs +21 -17
  50. package/dist/components/contact/index.cjs +28 -25
  51. package/dist/components/docs/index.cjs +31 -28
  52. package/dist/components/embeds/index.cjs +28 -25
  53. package/dist/components/faq/index.cjs +29 -26
  54. package/dist/components/features/index.cjs +28 -24
  55. package/dist/components/help-center-pages/index.cjs +131 -127
  56. package/dist/components/index.cjs +94 -90
  57. package/dist/components/meeting-scheduler/index.cjs +95 -92
  58. package/dist/components/navigation/index.cjs +30 -27
  59. package/dist/components/navigation/nav-panel.d.ts.map +1 -1
  60. package/dist/components/navigation/nav-panel.js +47 -13
  61. package/dist/components/onboarding-guides/index.cjs +30 -27
  62. package/dist/components/product-demo/index.cjs +38 -35
  63. package/dist/components/related-content/index.cjs +15 -12
  64. package/dist/components/tickets/index.cjs +33 -30
  65. package/dist/components/ui/index.cjs +28 -24
  66. package/dist/{devices-SFJDLXSW.cjs → devices-WL3I23EE.cjs} +28 -25
  67. package/dist/{embeddable-chat-XZUWAK4W.cjs → embeddable-chat-KEWUGQIF.cjs} +99 -95
  68. package/dist/hooks/index.cjs +12 -10
  69. package/dist/index.cjs +36 -30
  70. package/dist/{knowledge-SAK3ZGCO.cjs → knowledge-O3PXUX73.cjs} +28 -25
  71. package/dist/{logs-CYBGMFA5.cjs → logs-XODCXWYI.cjs} +35 -32
  72. package/dist/{policies-XXDOICWF.cjs → policies-CQACBIKK.cjs} +31 -28
  73. package/dist/{remote-session-TC3BZDBZ.cjs → remote-session-TGM2OTTV.cjs} +12 -10
  74. package/dist/{scripts-C5T2AQPA.cjs → scripts-QMM6SEB5.cjs} +34 -31
  75. package/dist/{software-update-XU5AI4TP.cjs → software-update-CCCKS4ZE.cjs} +31 -28
  76. package/dist/{tickets-board-YT25IX3O.cjs → tickets-board-FB5AGLJD.cjs} +16 -14
  77. package/dist/{video-file-player-6ZFOZFER.cjs → video-file-player-SIJW5UWU.cjs} +3 -2
  78. package/package.json +1 -1
  79. package/src/components/navigation/nav-panel.tsx +74 -14
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkRB7VLVMDcjs = require('./chunk-RB7VLVMD.cjs');
7
+ var _chunkR6BKQKIFcjs = require('./chunk-R6BKQKIF.cjs');
8
8
  require('./chunk-24I6RFVU.cjs');
9
9
 
10
10
 
@@ -59,16 +59,16 @@ require('./chunk-24I6RFVU.cjs');
59
59
 
60
60
 
61
61
 
62
- var _chunkKM2TVQCHcjs = require('./chunk-KM2TVQCH.cjs');
62
+ var _chunkTZP7PSPGcjs = require('./chunk-TZP7PSPG.cjs');
63
63
 
64
64
 
65
- var _chunkEHJE3UWZcjs = require('./chunk-EHJE3UWZ.cjs');
65
+ var _chunkLBGAHB6Xcjs = require('./chunk-LBGAHB6X.cjs');
66
66
  require('./chunk-KKAY6GPU.cjs');
67
67
 
68
68
 
69
69
 
70
70
 
71
- var _chunk5QP3K2CEcjs = require('./chunk-5QP3K2CE.cjs');
71
+ var _chunkXEYL6AFZcjs = require('./chunk-XEYL6AFZ.cjs');
72
72
 
73
73
 
74
74
  var _chunkLELS4XMXcjs = require('./chunk-LELS4XMX.cjs');
@@ -1872,8 +1872,8 @@ require('./chunk-LMBYZITR.cjs');
1872
1872
  require('./chunk-TMVC7S2R.cjs');
1873
1873
  require('./chunk-IYHH5EIO.cjs');
1874
1874
  require('./chunk-XIBCMGBW.cjs');
1875
- require('./chunk-XXJL5GY3.cjs');
1876
- require('./chunk-57B5RUYD.cjs');
1875
+ require('./chunk-OJZBZH56.cjs');
1876
+ require('./chunk-64KBI5MI.cjs');
1877
1877
  require('./chunk-JKX2C3I2.cjs');
1878
1878
 
1879
1879
 
@@ -1884,16 +1884,18 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
1884
1884
  require('./chunk-SKI6NKOE.cjs');
1885
1885
 
1886
1886
 
1887
+ var _chunkCGQ7CL62cjs = require('./chunk-CGQ7CL62.cjs');
1887
1888
 
1888
1889
 
1889
1890
 
1890
- var _chunkMYHS4W2Hcjs = require('./chunk-MYHS4W2H.cjs');
1891
- require('./chunk-R3JX4MXD.cjs');
1891
+
1892
+ var _chunkMQPTOJMFcjs = require('./chunk-MQPTOJMF.cjs');
1893
+ require('./chunk-3ZLPYEL5.cjs');
1892
1894
  require('./chunk-SETFUCZA.cjs');
1893
- require('./chunk-VFUMM6JC.cjs');
1895
+ require('./chunk-BEMGJDXI.cjs');
1894
1896
 
1895
1897
 
1896
- var _chunkHY6BCZH7cjs = require('./chunk-HY6BCZH7.cjs');
1898
+ var _chunkBNUZKBNVcjs = require('./chunk-BNUZKBNV.cjs');
1897
1899
  require('./chunk-S5C3OZCO.cjs');
1898
1900
  require('./chunk-32ASZMTV.cjs');
1899
1901
  require('./chunk-OOYBIS7D.cjs');
@@ -1902,13 +1904,15 @@ require('./chunk-6VOOPMP5.cjs');
1902
1904
  require('./chunk-ORO54HDF.cjs');
1903
1905
  require('./chunk-RUHKTWGB.cjs');
1904
1906
  require('./chunk-3LW5TD54.cjs');
1905
- require('./chunk-ASMNNSUQ.cjs');
1907
+ require('./chunk-7PNRXJX2.cjs');
1906
1908
  require('./chunk-NTPX5GXI.cjs');
1907
- require('./chunk-VFZFCRAL.cjs');
1909
+ require('./chunk-AQXKXZWB.cjs');
1910
+ require('./chunk-V4FXUIMH.cjs');
1911
+ require('./chunk-SZHDXXMK.cjs');
1908
1912
 
1909
1913
 
1910
- var _chunk5P4TDV7Vcjs = require('./chunk-5P4TDV7V.cjs');
1911
- require('./chunk-DGFDBPO7.cjs');
1914
+ var _chunkTUAATMUEcjs = require('./chunk-TUAATMUE.cjs');
1915
+ require('./chunk-5GJM7VRR.cjs');
1912
1916
  require('./chunk-E76ONBKF.cjs');
1913
1917
 
1914
1918
 
@@ -2131,7 +2135,7 @@ function splitCitedSources(sources, content) {
2131
2135
  }
2132
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))));
2133
2137
  const uncited = sources.filter((source) => !firstMentionAt.has(source.index));
2134
- return { cited: _chunkKM2TVQCHcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkKM2TVQCHcjs.groupSourcesByTable.call(void 0, uncited) };
2138
+ return { cited: _chunkTZP7PSPGcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkTZP7PSPGcjs.groupSourcesByTable.call(void 0, uncited) };
2135
2139
  }
2136
2140
 
2137
2141
  // src/components/chat/utils/host-message.ts
@@ -2182,7 +2186,7 @@ function pruneTimestampCache(timestampCache, liveIds) {
2182
2186
  // src/components/chat/embeddable-chat.tsx
2183
2187
  var _jsxruntime = require('react/jsx-runtime');
2184
2188
  var HISTORY_RAIL_WIDTH = 320;
2185
- var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkKM2TVQCHcjs.CHAT_BLOCK_MIN_WIDTH;
2189
+ var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkTZP7PSPGcjs.CHAT_BLOCK_MIN_WIDTH;
2186
2190
  var DRAWER_DEFAULT_WIDTH_RATIO = 0.5;
2187
2191
  var DRAWER_WIDTH_KEY = "mingo-chat-width-v4";
2188
2192
  var DRAWER_DEFAULT_WIDTH_PX = 750;
@@ -2263,7 +2267,7 @@ function dispatchSlashCommandAction(actionId, cmdId, ref) {
2263
2267
  if (!input) return;
2264
2268
  switch (actionId) {
2265
2269
  case "browse":
2266
- input.submit(_chunkKM2TVQCHcjs.formatSingularLookupInvocation.call(void 0, cmdId));
2270
+ input.submit(_chunkTZP7PSPGcjs.formatSingularLookupInvocation.call(void 0, cmdId));
2267
2271
  return;
2268
2272
  case "search":
2269
2273
  input.setValue(`/${cmdId} `);
@@ -2289,7 +2293,7 @@ function SourceChip({
2289
2293
  }) {
2290
2294
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2291
2295
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
2292
- const cta = _chunkKM2TVQCHcjs.resolveSourceRowCTA.call(void 0,
2296
+ const cta = _chunkTZP7PSPGcjs.resolveSourceRowCTA.call(void 0,
2293
2297
  {
2294
2298
  sourceRepo: src.sourceRepo,
2295
2299
  documentType: src.documentType,
@@ -2299,15 +2303,15 @@ function SourceChip({
2299
2303
  targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
2300
2304
  path: src.path
2301
2305
  },
2302
- _chunkKM2TVQCHcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
2306
+ _chunkTZP7PSPGcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
2303
2307
  );
2304
2308
  const Icon = cta.icon;
2305
2309
  const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
2306
- const chipClass = _chunkKM2TVQCHcjs.chatChipClass.call(void 0, { tone: "secondary" });
2307
- const decideTab = (href, targetPlatform) => _chunkMYHS4W2Hcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
2310
+ const chipClass = _chunkTZP7PSPGcjs.chatChipClass.call(void 0, { tone: "secondary" });
2311
+ const decideTab = (href, targetPlatform) => _chunkMQPTOJMFcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
2308
2312
  if (src.items && src.items.length > 0) {
2309
2313
  const dropdownItems = src.items.map((item) => {
2310
- const itemCta = _chunkKM2TVQCHcjs.resolveSourceRowCTA.call(void 0,
2314
+ const itemCta = _chunkTZP7PSPGcjs.resolveSourceRowCTA.call(void 0,
2311
2315
  {
2312
2316
  sourceRepo: src.sourceRepo,
2313
2317
  documentType: item.documentType,
@@ -2317,7 +2321,7 @@ function SourceChip({
2317
2321
  targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
2318
2322
  path: item.path
2319
2323
  },
2320
- _chunkKM2TVQCHcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
2324
+ _chunkTZP7PSPGcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
2321
2325
  );
2322
2326
  const ItemIcon = itemCta.icon;
2323
2327
  const itemChatRef = itemCta.chatRef;
@@ -2337,13 +2341,13 @@ function SourceChip({
2337
2341
  };
2338
2342
  });
2339
2343
  const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
2340
- const groupIndices = itemIndices.length > 0 ? _chunkKM2TVQCHcjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2344
+ const groupIndices = itemIndices.length > 0 ? _chunkTZP7PSPGcjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2341
2345
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2342
- _chunkRB7VLVMDcjs.HoverDropdown,
2346
+ _chunkR6BKQKIFcjs.HoverDropdown,
2343
2347
  {
2344
2348
  items: dropdownItems,
2345
2349
  renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2346
- _chunkKM2TVQCHcjs.NavLinkAnchorViaRuntime,
2350
+ _chunkTZP7PSPGcjs.NavLinkAnchorViaRuntime,
2347
2351
  {
2348
2352
  href,
2349
2353
  targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)),
@@ -2376,10 +2380,10 @@ function SourceChip({
2376
2380
  ] });
2377
2381
  const wrapChip = (clickable) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "inline-flex items-center", children: [
2378
2382
  clickable,
2379
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2383
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2380
2384
  ] });
2381
2385
  const buildClickHandler = (href, path, targetPlatform, isNewTab) => (e) => {
2382
- const handled = _chunkKM2TVQCHcjs.executeNavigation.call(void 0, {
2386
+ const handled = _chunkTZP7PSPGcjs.executeNavigation.call(void 0, {
2383
2387
  event: e,
2384
2388
  runtime,
2385
2389
  href,
@@ -2390,14 +2394,14 @@ function SourceChip({
2390
2394
  if (handled && !isNewTab && onClose) onClose();
2391
2395
  };
2392
2396
  if (cta.href && !!src.externalUrl) {
2393
- const resolvedHref = _chunkMYHS4W2Hcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
2397
+ const resolvedHref = _chunkCGQ7CL62cjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
2394
2398
  const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
2395
2399
  return wrapChip(
2396
2400
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2397
2401
  _chunkV45KLJQPcjs.next_link_default,
2398
2402
  {
2399
2403
  href: resolvedHref,
2400
- ..._chunkMYHS4W2Hcjs.newTabAnchorAttrs.call(void 0, isNewTab),
2404
+ ..._chunkMQPTOJMFcjs.newTabAnchorAttrs.call(void 0, isNewTab),
2401
2405
  onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
2402
2406
  className: chipClass,
2403
2407
  children: chipBody(src.name)
@@ -2406,14 +2410,14 @@ function SourceChip({
2406
2410
  );
2407
2411
  }
2408
2412
  if (cta.href) {
2409
- const resolvedHref = _chunkMYHS4W2Hcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
2413
+ const resolvedHref = _chunkCGQ7CL62cjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
2410
2414
  const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
2411
2415
  return wrapChip(
2412
2416
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2413
2417
  _chunkV45KLJQPcjs.next_link_default,
2414
2418
  {
2415
2419
  href: resolvedHref,
2416
- ..._chunkMYHS4W2Hcjs.newTabAnchorAttrs.call(void 0, isNewTab),
2420
+ ..._chunkMQPTOJMFcjs.newTabAnchorAttrs.call(void 0, isNewTab),
2417
2421
  onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
2418
2422
  className: chipClass,
2419
2423
  title: displayName,
@@ -2525,7 +2529,7 @@ function EmbeddableChatInner({
2525
2529
  defaultActiveMode,
2526
2530
  shell = "drawer",
2527
2531
  closable = true,
2528
- appearance = _chunk5QP3K2CEcjs.CHAT_APPEARANCE.CLASSIC,
2532
+ appearance = _chunkXEYL6AFZcjs.CHAT_APPEARANCE.CLASSIC,
2529
2533
  onCollapse,
2530
2534
  collapseTo = "list",
2531
2535
  onExpand,
@@ -2547,11 +2551,11 @@ function EmbeddableChatInner({
2547
2551
  handleRef
2548
2552
  }) {
2549
2553
  const shellLess = shell !== "drawer";
2550
- const isV2 = appearance === _chunk5QP3K2CEcjs.CHAT_APPEARANCE.V2;
2554
+ const isV2 = appearance === _chunkXEYL6AFZcjs.CHAT_APPEARANCE.V2;
2551
2555
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2552
2556
  const source = _nullishCoalesce(runtime.source, () => ( ""));
2553
2557
  const commandsUrl = runtime.endpoints.commandsUrl;
2554
- const { attachmentsEnabled, user: identityUser } = _chunkKM2TVQCHcjs.useChatIdentity.call(void 0, );
2558
+ const { attachmentsEnabled, user: identityUser } = _chunkTZP7PSPGcjs.useChatIdentity.call(void 0, );
2555
2559
  const viewUrlPrefix = runtime.endpoints.attachmentViewUrlPrefix;
2556
2560
  _react.useEffect.call(void 0, () => {
2557
2561
  if (process.env.NODE_ENV !== "production") {
@@ -2605,11 +2609,11 @@ function EmbeddableChatInner({
2605
2609
  const [quickActionPreview, setQuickActionPreview] = _react.useState.call(void 0, null);
2606
2610
  const slashCommandsProp = _react.useMemo.call(void 0,
2607
2611
  () => ({
2608
- fetchCommands: (prefix, signal) => _chunkKM2TVQCHcjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2612
+ fetchCommands: (prefix, signal) => _chunkTZP7PSPGcjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2609
2613
  resolveSourceIcon: (sourceId) => {
2610
- const iconName = _chunkKM2TVQCHcjs.getSourceIconName.call(void 0, sourceId);
2614
+ const iconName = _chunkTZP7PSPGcjs.getSourceIconName.call(void 0, sourceId);
2611
2615
  if (!iconName) return void 0;
2612
- return { Icon: _chunk5P4TDV7Vcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
2616
+ return { Icon: _chunkTUAATMUEcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
2613
2617
  },
2614
2618
  onAction: (cmd, actionId) => {
2615
2619
  dispatchSlashCommandAction(actionId, cmd.id, chatInputRef);
@@ -2636,7 +2640,7 @@ function EmbeddableChatInner({
2636
2640
  },
2637
2641
  [controlledActiveMode, onActiveModeChange]
2638
2642
  );
2639
- const { commands: commandsList, loaded: commandsLoaded } = _chunkKM2TVQCHcjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2643
+ const { commands: commandsList, loaded: commandsLoaded } = _chunkTZP7PSPGcjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2640
2644
  enabled: activeMode === "guide"
2641
2645
  });
2642
2646
  const commandsById = _react.useMemo.call(void 0, () => {
@@ -2647,7 +2651,7 @@ function EmbeddableChatInner({
2647
2651
  const resolveAgentConfigUrl = _nullishCoalesce(_nullishCoalesce(aiAgentConfigUrlProp, () => ( runtime.endpoints.aiAgentConfigUrl)), () => ( DEFAULT_AI_AGENT_CONFIG_URL));
2648
2652
  const agentConfigUrl = activeAgentSlug ? resolveAgentConfigUrl(activeAgentSlug) : void 0;
2649
2653
  const emptyStateUrl = _nullishCoalesce(agentConfigUrl, () => ( runtime.endpoints.emptyStateUrl));
2650
- const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkKM2TVQCHcjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2654
+ const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkTZP7PSPGcjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2651
2655
  enabled: activeMode === "guide" || !!activeAgentSlug
2652
2656
  });
2653
2657
  const effectiveGreeting = _nullishCoalesce(emptyStateConfig.greeting, () => ( emptyStateGreeting));
@@ -2694,7 +2698,7 @@ function EmbeddableChatInner({
2694
2698
  hasMoreMessages,
2695
2699
  loadMoreMessages,
2696
2700
  dialogCapabilities
2697
- } = _chunkKM2TVQCHcjs.useUnifiedChat.call(void 0, {
2701
+ } = _chunkTZP7PSPGcjs.useUnifiedChat.call(void 0, {
2698
2702
  modes: effectiveModes,
2699
2703
  activeMode,
2700
2704
  mingoStateOverride: mingoState,
@@ -2741,8 +2745,8 @@ function EmbeddableChatInner({
2741
2745
  addFiles: addAttachmentFiles,
2742
2746
  removeAttachment,
2743
2747
  clear: clearAttachments
2744
- } = _chunkKM2TVQCHcjs.useChatAttachments.call(void 0, );
2745
- const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkKM2TVQCHcjs.useChatAttachmentImageGallery.call(void 0, );
2748
+ } = _chunkTZP7PSPGcjs.useChatAttachments.call(void 0, );
2749
+ const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkTZP7PSPGcjs.useChatAttachmentImageGallery.call(void 0, );
2746
2750
  const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _16 => _16.maxItems]), () => ( 10));
2747
2751
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
2748
2752
  const [contextItems, setContextItems] = _react.useState.call(void 0, NO_CONTEXT_ITEMS);
@@ -2862,7 +2866,7 @@ function EmbeddableChatInner({
2862
2866
  const askAboutRef = _react.useRef.call(void 0, discussRef);
2863
2867
  const askAbout = _react.useCallback.call(void 0, (reference) => askAboutRef.current(reference), []);
2864
2868
  const renderEntityCard = _react.useCallback.call(void 0,
2865
- (reference) => _chunkKM2TVQCHcjs.renderChatInlineEntityCard.call(void 0, reference, {
2869
+ (reference) => _chunkTZP7PSPGcjs.renderChatInlineEntityCard.call(void 0, reference, {
2866
2870
  onDiscuss: askAbout,
2867
2871
  onDisplay: displayRef,
2868
2872
  baseRoute: resolvedBaseRoute,
@@ -2872,7 +2876,7 @@ function EmbeddableChatInner({
2872
2876
  [askAbout, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
2873
2877
  );
2874
2878
  const mingoAssistantIcon = _react.useMemo.call(void 0,
2875
- () => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHJE3UWZcjs.AgentMark, { agent: "mingo", className: "h-6 w-6" }),
2879
+ () => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQPTOJMFcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBGAHB6Xcjs.AgentMark, { agent: "mingo", className: "h-6 w-6" }),
2876
2880
  [effectiveAssistantIcon]
2877
2881
  );
2878
2882
  const [timestampCache] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
@@ -2884,13 +2888,13 @@ function EmbeddableChatInner({
2884
2888
  pruneTimestampCache(timestampCache, new Set(rawMessages.map((m) => m.id)));
2885
2889
  return mapped;
2886
2890
  }, [rawMessages, guideUserName, guideUserAvatar, timestampCache]);
2887
- const whatToAsk = _chunkKM2TVQCHcjs.useWhatToAsk.call(void 0, {
2891
+ const whatToAsk = _chunkTZP7PSPGcjs.useWhatToAsk.call(void 0, {
2888
2892
  dialogId: activeDialogId,
2889
2893
  content: typeof whatToAskContent === "function" ? void 0 : whatToAskContent,
2890
2894
  user: {
2891
2895
  name: _nullishCoalesce(headerUserName, () => ( "You")),
2892
2896
  avatar: _optionalChain([identityUser, 'optionalAccess', _40 => _40.avatarUrl, 'optionalAccess', _41 => _41.trim, 'call', _42 => _42()]) || _optionalChain([userAvatarUrl, 'optionalAccess', _43 => _43.trim, 'call', _44 => _44()]) || null,
2893
- authorType: _chunk5QP3K2CEcjs.AUTHOR_TYPE.ADMIN
2897
+ authorType: _chunkXEYL6AFZcjs.AUTHOR_TYPE.ADMIN
2894
2898
  },
2895
2899
  assistant: { name: "Mingo", assistantType: "mingo" }
2896
2900
  });
@@ -2903,7 +2907,7 @@ function EmbeddableChatInner({
2903
2907
  noteWhatToAskSend();
2904
2908
  let augmentedText = text;
2905
2909
  if (readyAttachments.length > 0) {
2906
- const markdown = readyAttachments.map((att) => _chunkKM2TVQCHcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2910
+ const markdown = readyAttachments.map((att) => _chunkTZP7PSPGcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2907
2911
  augmentedText = `${text}${markdown}`;
2908
2912
  }
2909
2913
  void sendMessage(augmentedText, {
@@ -2942,7 +2946,7 @@ function EmbeddableChatInner({
2942
2946
  // agent/persona (`icon_props.color`) wins; the built-in slug map
2943
2947
  // (fae→pink, mingo→cyan) is only the fallback for unconfigured
2944
2948
  // built-in agents.
2945
- accent: _nullishCoalesce(_chunkKM2TVQCHcjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkKM2TVQCHcjs.getAgentAccent.call(void 0, activeAgentSlug)))
2949
+ accent: _nullishCoalesce(_chunkTZP7PSPGcjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkTZP7PSPGcjs.getAgentAccent.call(void 0, activeAgentSlug)))
2946
2950
  }));
2947
2951
  }
2948
2952
  return (_nullishCoalesce(effectiveSuggestedQueries, () => ( []))).map((q, i) => ({
@@ -2990,7 +2994,7 @@ function EmbeddableChatInner({
2990
2994
  unarchiveDialog: mingoCaps.unarchiveDialog
2991
2995
  });
2992
2996
  const handleOpen = _react.useCallback.call(void 0, () => setIsOpen(true), [setIsOpen]);
2993
- _chunkKM2TVQCHcjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
2997
+ _chunkTZP7PSPGcjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
2994
2998
  _react.useEffect.call(void 0, () => {
2995
2999
  const handler = (e) => {
2996
3000
  const detail = e.detail;
@@ -2998,8 +3002,8 @@ function EmbeddableChatInner({
2998
3002
  setIsOpen(true);
2999
3003
  setTimeout(() => askAbout(detail.ref), 0);
3000
3004
  };
3001
- window.addEventListener(_chunkKM2TVQCHcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3002
- return () => window.removeEventListener(_chunkKM2TVQCHcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3005
+ window.addEventListener(_chunkTZP7PSPGcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3006
+ return () => window.removeEventListener(_chunkTZP7PSPGcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3003
3007
  }, [source, askAbout, setIsOpen]);
3004
3008
  const pendingAskRef = _react.useRef.call(void 0, null);
3005
3009
  const isDraft = activeDialogId == null && messages.length === 0;
@@ -3033,10 +3037,10 @@ function EmbeddableChatInner({
3033
3037
  const prompt = typeof detail.prompt === "string" ? detail.prompt.trim() : "";
3034
3038
  if (prompt) setTimeout(() => sendAskPrompt(prompt), 0);
3035
3039
  };
3036
- window.addEventListener(_chunkKM2TVQCHcjs.ASK_AI_OPEN_EVENT, handler);
3037
- return () => window.removeEventListener(_chunkKM2TVQCHcjs.ASK_AI_OPEN_EVENT, handler);
3040
+ window.addEventListener(_chunkTZP7PSPGcjs.ASK_AI_OPEN_EVENT, handler);
3041
+ return () => window.removeEventListener(_chunkTZP7PSPGcjs.ASK_AI_OPEN_EVENT, handler);
3038
3042
  }, [source, setIsOpen, sendAskPrompt]);
3039
- _react.useEffect.call(void 0, () => _chunkKM2TVQCHcjs.chatListensForAskAiOpens.call(void 0, ), []);
3043
+ _react.useEffect.call(void 0, () => _chunkTZP7PSPGcjs.chatListensForAskAiOpens.call(void 0, ), []);
3040
3044
  const hasMessages = messages.length > 0;
3041
3045
  const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
3042
3046
  const dialogsLoadError = dialogsError && dialogs.length === 0;
@@ -3072,7 +3076,7 @@ function EmbeddableChatInner({
3072
3076
  (message, index) => {
3073
3077
  if (message.role !== "assistant") return null;
3074
3078
  if (chatLoading && index === messages.length - 1) return null;
3075
- const { cited, uncited } = splitCitedSources(message.sources, _chunkKM2TVQCHcjs.flattenAssistantContent.call(void 0, message.content));
3079
+ const { cited, uncited } = splitCitedSources(message.sources, _chunkTZP7PSPGcjs.flattenAssistantContent.call(void 0, message.content));
3076
3080
  if (cited.length === 0 && uncited.length === 0) return null;
3077
3081
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pb-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3078
3082
  SourceChips,
@@ -3090,7 +3094,7 @@ function EmbeddableChatInner({
3090
3094
  );
3091
3095
  const [portalHost, setPortalHost] = _react.useState.call(void 0, null);
3092
3096
  const [panelBoundary, setPanelBoundary] = _react.useState.call(void 0, null);
3093
- const splitMinWidth = (isV2 ? _chunkKM2TVQCHcjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkKM2TVQCHcjs.CHAT_BLOCK_MIN_WIDTH;
3097
+ const splitMinWidth = (isV2 ? _chunkTZP7PSPGcjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkTZP7PSPGcjs.CHAT_BLOCK_MIN_WIDTH;
3094
3098
  const [canSplit, setCanSplit] = _react.useState.call(void 0, false);
3095
3099
  _react.useEffect.call(void 0, () => {
3096
3100
  if (!panelBoundary || typeof ResizeObserver === "undefined") return void 0;
@@ -3109,7 +3113,7 @@ function EmbeddableChatInner({
3109
3113
  [splitMinWidth]
3110
3114
  );
3111
3115
  const [railCollapsed, setRailCollapsed] = _react.useState.call(void 0, false);
3112
- const railStorageHydrated = _chunkKM2TVQCHcjs.useIsHydrated.call(void 0, );
3116
+ const railStorageHydrated = _chunkTZP7PSPGcjs.useIsHydrated.call(void 0, );
3113
3117
  const [railStorageRead, setRailStorageRead] = _react.useState.call(void 0, false);
3114
3118
  if (railStorageHydrated && !railStorageRead) {
3115
3119
  setRailStorageRead(true);
@@ -3163,7 +3167,7 @@ function EmbeddableChatInner({
3163
3167
  resetToNewChat();
3164
3168
  }, [clearWhatToAskDraft, resetToNewChat]);
3165
3169
  const activeDialogStatus = activeDialog && dialogStatusOf ? dialogStatusOf(activeDialog) : void 0;
3166
- const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 || _chunkKM2TVQCHcjs.awaitsDecision.call(void 0, hostMessages);
3170
+ const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 || _chunkTZP7PSPGcjs.awaitsDecision.call(void 0, hostMessages);
3167
3171
  const showWhatToAsk = (content) => {
3168
3172
  whatToAsk.clearDraft();
3169
3173
  resetToNewChat();
@@ -3259,7 +3263,7 @@ function EmbeddableChatInner({
3259
3263
  }),
3260
3264
  [resetToNewChat, contextMaxItems]
3261
3265
  );
3262
- const splitHeaderMenuItems = _chunkKM2TVQCHcjs.chatDialogMenuItems.call(void 0, {
3266
+ const splitHeaderMenuItems = _chunkTZP7PSPGcjs.chatDialogMenuItems.call(void 0, {
3263
3267
  onCopyLink: headerOnCopyLink,
3264
3268
  onRename: headerOnRename,
3265
3269
  onCompact: headerOnCompact,
@@ -3338,7 +3342,7 @@ function EmbeddableChatInner({
3338
3342
  onRetry: reloadDialogs
3339
3343
  };
3340
3344
  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,
3341
- _chunkKM2TVQCHcjs.MingoChatHeader,
3345
+ _chunkTZP7PSPGcjs.MingoChatHeader,
3342
3346
  {
3343
3347
  title: archiveOpen ? "Chat Archive" : headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle,
3344
3348
  subtitle: archiveOpen ? void 0 : headerPersonName,
@@ -3358,7 +3362,7 @@ function EmbeddableChatInner({
3358
3362
  const body = (
3359
3363
  // The whole panel reads the appearance (the composer's footer too), not
3360
3364
  // only the thread `ChatMessageList` provides it to.
3361
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXIFEZ2JTcjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
3365
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXIFEZ2JTcjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
3362
3366
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3363
3367
  "div",
3364
3368
  {
@@ -3366,7 +3370,7 @@ function EmbeddableChatInner({
3366
3370
  "data-surface": isV2 ? "mingo" : void 0,
3367
3371
  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" : ""}`,
3368
3372
  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,
3369
- _chunkKM2TVQCHcjs.ChatArchivePage,
3373
+ _chunkTZP7PSPGcjs.ChatArchivePage,
3370
3374
  {
3371
3375
  dialogs: archivedDialogs,
3372
3376
  onSelectDialog: handleArchivedSelect,
@@ -3396,7 +3400,7 @@ function EmbeddableChatInner({
3396
3400
  narrow: true,
3397
3401
  className: "col-start-1 row-span-3 row-start-1",
3398
3402
  innerClassName: "flex min-h-0 flex-col",
3399
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3403
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3400
3404
  }
3401
3405
  ),
3402
3406
  isV2 ? v2Header : showWideHeader ? (
@@ -3420,7 +3424,7 @@ function EmbeddableChatInner({
3420
3424
  // Back is a full-height leading cell, matching the other
3421
3425
  // header cells (not a small inline chevron).
3422
3426
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3423
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
3427
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
3424
3428
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Chat Archive" }) })
3425
3429
  ] })
3426
3430
  ) : (
@@ -3430,7 +3434,7 @@ function EmbeddableChatInner({
3430
3434
  // (Figma 116:51217) and the magnifier toggle is hidden.
3431
3435
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3432
3436
  railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3433
- _chunkKM2TVQCHcjs.ChatHeaderSearchField,
3437
+ _chunkTZP7PSPGcjs.ChatHeaderSearchField,
3434
3438
  {
3435
3439
  initialValue: mingoCaps.searchQuery,
3436
3440
  onSearchChange: mingoCaps.onSearchChange,
@@ -3439,7 +3443,7 @@ function EmbeddableChatInner({
3439
3443
  ) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3440
3444
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Current Chats" }) }),
3441
3445
  mingoCaps.onSearchChange && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3442
- _chunkKM2TVQCHcjs.ChatHeaderIconButton,
3446
+ _chunkTZP7PSPGcjs.ChatHeaderIconButton,
3443
3447
  {
3444
3448
  onClick: () => setRailSearchOpen((o) => !o),
3445
3449
  "aria-label": "Search chats",
@@ -3448,7 +3452,7 @@ function EmbeddableChatInner({
3448
3452
  }
3449
3453
  )
3450
3454
  ] }),
3451
- headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JKBT3LTcjs.ClockHistoryIcon, { size: 24 }) })
3455
+ headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JKBT3LTcjs.ClockHistoryIcon, { size: 24 }) })
3452
3456
  ] })
3453
3457
  ) }),
3454
3458
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1", children: [
@@ -3471,7 +3475,7 @@ function EmbeddableChatInner({
3471
3475
  headerAvatar ? (
3472
3476
  // Owner avatar at the title cell's right edge (Figma 113:63273).
3473
3477
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3474
- _chunkHY6BCZH7cjs.SquareAvatar,
3478
+ _chunkBNUZKBNVcjs.SquareAvatar,
3475
3479
  {
3476
3480
  variant: "round",
3477
3481
  sizePx: 32,
@@ -3485,17 +3489,17 @@ function EmbeddableChatInner({
3485
3489
  )
3486
3490
  ) : null
3487
3491
  ] }),
3488
- isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
3492
+ isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
3489
3493
  headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3490
3494
  _chunkLELS4XMXcjs.ActionsMenuDropdown,
3491
3495
  {
3492
3496
  triggerAriaLabel: "Chat actions",
3493
3497
  onCloseAutoFocus: (e) => e.preventDefault(),
3494
3498
  groups: [{ items: splitHeaderMenuItems }],
3495
- customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
3499
+ customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
3496
3500
  }
3497
3501
  ),
3498
- closeControl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatHeaderIconButton, { onClick: closeControl, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
3502
+ closeControl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatHeaderIconButton, { onClick: closeControl, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
3499
3503
  ] })
3500
3504
  ] })
3501
3505
  ) : (
@@ -3503,10 +3507,10 @@ function EmbeddableChatInner({
3503
3507
  // guide, resolved into `narrowHeaderProps` above. (Wide layouts,
3504
3508
  // including rail-collapsed, use the wide header above.) Embedded
3505
3509
  // previews (hero demo tabs) force the compact bar via `compact`.
3506
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3510
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3507
3511
  ),
3508
3512
  activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3509
- _chunkKM2TVQCHcjs.GuideModeBanner,
3513
+ _chunkTZP7PSPGcjs.GuideModeBanner,
3510
3514
  {
3511
3515
  className: _chunk65VVJSQZcjs.cn.call(void 0, "duration-200 animate-in fade-in-0", isV2 && "col-start-2 row-start-2")
3512
3516
  }
@@ -3516,7 +3520,7 @@ function EmbeddableChatInner({
3516
3520
  // Archive list inside the rail (header lives in the split
3517
3521
  // header's left cell above). Right chat block stays put.
3518
3522
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3519
- _chunkKM2TVQCHcjs.ChatArchivePage,
3523
+ _chunkTZP7PSPGcjs.ChatArchivePage,
3520
3524
  {
3521
3525
  embedded: true,
3522
3526
  dialogs: archivedDialogs,
@@ -3530,7 +3534,7 @@ function EmbeddableChatInner({
3530
3534
  }
3531
3535
  )
3532
3536
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3533
- _chunkKM2TVQCHcjs.MingoHistoryRail,
3537
+ _chunkTZP7PSPGcjs.MingoHistoryRail,
3534
3538
  {
3535
3539
  dialogs,
3536
3540
  activeDialogId: _nullishCoalesce(activeDialogId, () => ( void 0)),
@@ -3557,7 +3561,7 @@ function EmbeddableChatInner({
3557
3561
  // v2: the archive opens in the chat column under the chat's
3558
3562
  // header; the list stays, and "Chat Archive" there toggles back.
3559
3563
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3560
- _chunkKM2TVQCHcjs.MingoArchiveList,
3564
+ _chunkTZP7PSPGcjs.MingoArchiveList,
3561
3565
  {
3562
3566
  dialogs: archivedDialogs,
3563
3567
  onSelectDialog: handleArchivedSelect,
@@ -3570,7 +3574,7 @@ function EmbeddableChatInner({
3570
3574
  }
3571
3575
  )
3572
3576
  ) : stackedListView && isV2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3573
- _chunkKM2TVQCHcjs.MingoChatRail,
3577
+ _chunkTZP7PSPGcjs.MingoChatRail,
3574
3578
  {
3575
3579
  ...mingoRailProps,
3576
3580
  onNewChat: () => setComposeOpen(true),
@@ -3589,7 +3593,7 @@ function EmbeddableChatInner({
3589
3593
  // single-column view. No composer here; "Start New Chat" opens
3590
3594
  // the compose view.
3591
3595
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3592
- _chunkKM2TVQCHcjs.MingoHistoryRail,
3596
+ _chunkTZP7PSPGcjs.MingoHistoryRail,
3593
3597
  {
3594
3598
  className: "duration-200 animate-in fade-in-0",
3595
3599
  dialogs,
@@ -3629,14 +3633,14 @@ function EmbeddableChatInner({
3629
3633
  // skeleton overflows a short panel and grows its OWN
3630
3634
  // scrollbar — ugly. `fill` top-anchors + clips overflow so
3631
3635
  // it reads as "the whole panel is loading" and never scrolls.
3632
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatMessageListSkeleton, { fullWidth: true, fill: previewMode, className: "flex-1" })
3636
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatMessageListSkeleton, { fullWidth: true, fill: previewMode, className: "flex-1" })
3633
3637
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3634
- _chunkKM2TVQCHcjs.ChatMessageList,
3638
+ _chunkTZP7PSPGcjs.ChatMessageList,
3635
3639
  {
3636
3640
  messages,
3637
3641
  appearance,
3638
3642
  isTyping: chatLoading,
3639
- typingMessage: streamingProgress ? _chunkKM2TVQCHcjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
3643
+ typingMessage: streamingProgress ? _chunkTZP7PSPGcjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
3640
3644
  pendingApprovals,
3641
3645
  autoScroll: !previewMode,
3642
3646
  pinBottom: previewMode,
@@ -3649,7 +3653,7 @@ function EmbeddableChatInner({
3649
3653
  renderMention,
3650
3654
  renderAfterMessage: renderMessageSources,
3651
3655
  onAskSelect: chatLoading || previewMode ? void 0 : handleAskSelect,
3652
- NavLinkAnchor: _chunkKM2TVQCHcjs.NavLinkAnchorViaRuntime,
3656
+ NavLinkAnchor: _chunkTZP7PSPGcjs.NavLinkAnchorViaRuntime,
3653
3657
  className: previewMode ? "pointer-events-auto flex-1" : "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
3654
3658
  contentClassName: "max-w-none pb-0",
3655
3659
  fullWidth: true,
@@ -3663,7 +3667,7 @@ function EmbeddableChatInner({
3663
3667
  quick-action chips. Guide mode keeps the slash-command
3664
3668
  onboarding list below. */
3665
3669
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3666
- _chunkKM2TVQCHcjs.MingoWelcome,
3670
+ _chunkTZP7PSPGcjs.MingoWelcome,
3667
3671
  {
3668
3672
  onStartGuideChat: effectiveModes.guide ? () => handleActiveModeChange("guide") : void 0,
3669
3673
  ...mingoWelcome,
@@ -3678,7 +3682,7 @@ function EmbeddableChatInner({
3678
3682
  + slash-command onboarding list share one scroll region,
3679
3683
  with a pinned quick-action chip row above the composer. */
3680
3684
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3681
- _chunkKM2TVQCHcjs.GuideWelcome,
3685
+ _chunkTZP7PSPGcjs.GuideWelcome,
3682
3686
  {
3683
3687
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
3684
3688
  subtitleLoading: emptyStateLoading,
@@ -3695,7 +3699,7 @@ function EmbeddableChatInner({
3695
3699
  agentSlug: activeAgentSlug,
3696
3700
  children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
3697
3701
  !commandsLoaded && chipCommands.length === 0 && SKELETON_ROW_VARIANTS.map((variant, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3698
- _chunkKM2TVQCHcjs.MingoOnboardingCardSkeleton,
3702
+ _chunkTZP7PSPGcjs.MingoOnboardingCardSkeleton,
3699
3703
  {
3700
3704
  titleWidth: variant.titleWidth,
3701
3705
  slashWidth: variant.slashWidth,
@@ -3704,7 +3708,7 @@ function EmbeddableChatInner({
3704
3708
  `chip-skeleton-${i}`
3705
3709
  )),
3706
3710
  chipCommands.map((cmd) => {
3707
- const Icon = _chunk5P4TDV7Vcjs.resolveIcon.call(void 0, cmd.iconName);
3711
+ const Icon = _chunkTUAATMUEcjs.resolveIcon.call(void 0, cmd.iconName);
3708
3712
  const cmdId = cmd.id;
3709
3713
  const label = _nullishCoalesce(cmd.label, () => ( `/${cmdId}`));
3710
3714
  const cardActions = cmd.actions.map((action) => ({
@@ -3713,7 +3717,7 @@ function EmbeddableChatInner({
3713
3717
  onClick: () => dispatchSlashCommandAction(action.id, cmdId, chatInputRef)
3714
3718
  }));
3715
3719
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3716
- _chunk5QP3K2CEcjs.MingoOnboardingCard,
3720
+ _chunkXEYL6AFZcjs.MingoOnboardingCard,
3717
3721
  {
3718
3722
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16 }),
3719
3723
  title: label,
@@ -3733,7 +3737,7 @@ function EmbeddableChatInner({
3733
3737
  ) }),
3734
3738
  aboveComposer != null && aboveComposer !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 px-[var(--spacing-system-m)] pb-[var(--spacing-system-m)]", children: aboveComposer }),
3735
3739
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3736
- _chunkKM2TVQCHcjs.ChatAttachmentChipStrip,
3740
+ _chunkTZP7PSPGcjs.ChatAttachmentChipStrip,
3737
3741
  {
3738
3742
  attachments: stagedAttachments,
3739
3743
  onRemove: removeAttachment,
@@ -3741,7 +3745,7 @@ function EmbeddableChatInner({
3741
3745
  }
3742
3746
  ),
3743
3747
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3744
- _chunkKM2TVQCHcjs.ChatComposer,
3748
+ _chunkTZP7PSPGcjs.ChatComposer,
3745
3749
  {
3746
3750
  archived: isViewingArchived,
3747
3751
  lock: composerLock,
@@ -3792,7 +3796,7 @@ function EmbeddableChatInner({
3792
3796
  ),
3793
3797
  galleryModal,
3794
3798
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3795
- _chunkKM2TVQCHcjs.ChatDialogModals,
3799
+ _chunkTZP7PSPGcjs.ChatDialogModals,
3796
3800
  {
3797
3801
  renameTarget,
3798
3802
  setRenameTarget,
@@ -3808,14 +3812,14 @@ function EmbeddableChatInner({
3808
3812
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
3809
3813
  ] }) }) })
3810
3814
  );
3811
- const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKM2TVQCHcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3815
+ const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTZP7PSPGcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3812
3816
  shell === "none" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactvisuallyhidden.VisuallyHidden, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Title, { children: [
3813
3817
  sourceLabel,
3814
3818
  " AI Assistant"
3815
3819
  ] }) }),
3816
3820
  body
3817
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB7VLVMDcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKM2TVQCHcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3818
- _chunkRB7VLVMDcjs.DrawerContent,
3821
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR6BKQKIFcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTZP7PSPGcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3822
+ _chunkR6BKQKIFcjs.DrawerContent,
3819
3823
  {
3820
3824
  side: "right",
3821
3825
  flush: true,
@@ -3847,7 +3851,7 @@ function EmbeddableChatInner({
3847
3851
  _chunkTF5D5MNOcjs.Button,
3848
3852
  {
3849
3853
  onClick: handleOpen,
3850
- leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHJE3UWZcjs.AgentMark, { agent: "mingo", className: "h-5 w-5" }),
3854
+ leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBGAHB6Xcjs.AgentMark, { agent: "mingo", className: "h-5 w-5" }),
3851
3855
  tabIndex: isOpen ? -1 : 0,
3852
3856
  className: `pointer-events-auto !w-auto shadow-lg ${isOpen ? "!pointer-events-none" : ""}`,
3853
3857
  children: "Ask AI"