@flamingo-stack/openframe-frontend-core 0.0.818 → 0.0.820

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 (54) hide show
  1. package/dist/{chunk-VGZXB3SY.cjs → chunk-2TEUAOUZ.cjs} +3 -3
  2. package/dist/{chunk-NWIEZUM7.cjs → chunk-42K7MLVS.cjs} +19 -19
  3. package/dist/{chunk-5AIOYEXW.cjs → chunk-5GUQBNQF.cjs} +47 -47
  4. package/dist/{chunk-JTBJB4JF.cjs → chunk-7X7PHALX.cjs} +9 -9
  5. package/dist/{chunk-YHPUD4PM.cjs → chunk-ADBZCDFX.cjs} +11 -11
  6. package/dist/{chunk-YMPPE322.cjs → chunk-BHJDQYUN.cjs} +107 -107
  7. package/dist/{chunk-DGAX5WG2.cjs → chunk-CJ7VHMPD.cjs} +2 -2
  8. package/dist/{chunk-DL4HWYIB.cjs → chunk-DLQCSJTY.cjs} +3 -3
  9. package/dist/{chunk-AE22KOW3.cjs → chunk-IJ3C4WL5.cjs} +53 -53
  10. package/dist/{chunk-BD42NMCT.cjs → chunk-JQ3JZLYS.cjs} +4 -4
  11. package/dist/{chunk-6QT5K5I5.cjs → chunk-L55EVW33.cjs} +6 -6
  12. package/dist/{chunk-5VRSUEC5.cjs → chunk-MOPDE3OA.cjs} +10 -10
  13. package/dist/{chunk-U2THWP25.cjs → chunk-NSN3O47K.cjs} +32 -32
  14. package/dist/{chunk-IQCHV7Z2.cjs → chunk-OTGYA5F7.cjs} +21 -3
  15. package/dist/{chunk-ZWAVMZIF.cjs → chunk-STFOH6QU.cjs} +7 -7
  16. package/dist/{chunk-VRXDTRIY.cjs → chunk-TVOAFYT7.cjs} +39 -39
  17. package/dist/{chunk-NEXMK6OP.cjs → chunk-TYDSD3FV.cjs} +4 -4
  18. package/dist/{chunk-4XASD2TL.cjs → chunk-YAY7Z42C.cjs} +16 -16
  19. package/dist/{cloud-tenants-V6EV4OGK.cjs → cloud-tenants-ENCHNOF2.cjs} +4 -4
  20. package/dist/components/case-studies/index.cjs +16 -16
  21. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  22. package/dist/components/chat/embeddable-chat.js +5 -6
  23. package/dist/components/chat/index.cjs +3 -3
  24. package/dist/components/chat/remark-strip-citations.d.ts +1 -1
  25. package/dist/components/chat/remark-strip-citations.d.ts.map +1 -1
  26. package/dist/components/chat/remark-strip-citations.js +8 -2
  27. package/dist/components/chat/utils/cited-sources.d.ts +9 -0
  28. package/dist/components/chat/utils/cited-sources.d.ts.map +1 -1
  29. package/dist/components/chat/utils/cited-sources.js +41 -0
  30. package/dist/components/contact/index.cjs +5 -5
  31. package/dist/components/docs/index.cjs +8 -8
  32. package/dist/components/embeds/index.cjs +5 -5
  33. package/dist/components/faq/index.cjs +6 -6
  34. package/dist/components/features/index.cjs +4 -4
  35. package/dist/components/help-center-pages/index.cjs +61 -61
  36. package/dist/components/index.cjs +37 -37
  37. package/dist/components/meeting-scheduler/index.cjs +29 -29
  38. package/dist/components/navigation/index.cjs +7 -7
  39. package/dist/components/onboarding-guides/index.cjs +6 -6
  40. package/dist/components/product-demo/index.cjs +13 -13
  41. package/dist/components/tickets/index.cjs +9 -9
  42. package/dist/components/ui/index.cjs +4 -4
  43. package/dist/{devices-6KZAJAAS.cjs → devices-HRLHG4TR.cjs} +5 -5
  44. package/dist/{embeddable-chat-5IHA5SUZ.cjs → embeddable-chat-ARMXVLUP.cjs} +107 -67
  45. package/dist/index.cjs +8 -8
  46. package/dist/{knowledge-I7FDQQYJ.cjs → knowledge-S2L5ZCAU.cjs} +5 -5
  47. package/dist/{logs-Q7PAVJUG.cjs → logs-UYQZSFS4.cjs} +12 -12
  48. package/dist/{policies-C3DW5CHS.cjs → policies-SMA4MW6L.cjs} +8 -8
  49. package/dist/{scripts-BET663HD.cjs → scripts-TZNXTFRR.cjs} +9 -9
  50. package/dist/{software-update-W7ZQXEPK.cjs → software-update-YHDVBC7V.cjs} +7 -7
  51. package/package.json +1 -1
  52. package/src/components/chat/embeddable-chat.tsx +7 -8
  53. package/src/components/chat/remark-strip-citations.ts +14 -3
  54. package/src/components/chat/utils/cited-sources.ts +61 -0
@@ -57,7 +57,8 @@ require('./chunk-24I6RFVU.cjs');
57
57
 
58
58
 
59
59
 
60
- var _chunkIQCHV7Z2cjs = require('./chunk-IQCHV7Z2.cjs');
60
+
61
+ var _chunkOTGYA5F7cjs = require('./chunk-OTGYA5F7.cjs');
61
62
 
62
63
 
63
64
  var _chunkOBQ5WUNGcjs = require('./chunk-OBQ5WUNG.cjs');
@@ -1878,7 +1879,9 @@ require('./chunk-JKX2C3I2.cjs');
1878
1879
 
1879
1880
  var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
1880
1881
  require('./chunk-SKI6NKOE.cjs');
1881
- require('./chunk-IM366HS6.cjs');
1882
+
1883
+
1884
+ var _chunkIM366HS6cjs = require('./chunk-IM366HS6.cjs');
1882
1885
 
1883
1886
 
1884
1887
  var _chunkUEULXVW2cjs = require('./chunk-UEULXVW2.cjs');
@@ -2002,7 +2005,7 @@ function useChatDialogManager({
2002
2005
  setArchivedLoading(true);
2003
2006
  }
2004
2007
  try {
2005
- const result = await fetchArchivedDialogs({ cursor, limit: _chunkIQCHV7Z2cjs.CHAT_HISTORY_PAGE_SIZE });
2008
+ const result = await fetchArchivedDialogs({ cursor, limit: _chunkOTGYA5F7cjs.CHAT_HISTORY_PAGE_SIZE });
2006
2009
  if (!isCurrent()) return;
2007
2010
  setArchivedCursor(result.nextCursor);
2008
2011
  setArchivedDialogs((prev) => cursor ? [...prev, ...result.dialogs] : result.dialogs);
@@ -2122,6 +2125,8 @@ function withoutCode(content) {
2122
2125
  }
2123
2126
  function splitCitedSources(sources, content) {
2124
2127
  if (!sources || sources.length === 0) return { cited: [], uncited: [] };
2128
+ const byCards = splitByCards(sources, _chunkOTGYA5F7cjs.extractCardReferences.call(void 0, withoutCode(content)));
2129
+ if (byCards.cited.length > 0) return byCards;
2125
2130
  const firstMentionAt = /* @__PURE__ */ new Map();
2126
2131
  for (const match of withoutCode(content).matchAll(CITATION)) {
2127
2132
  const index = Number.parseInt(match[1], 10);
@@ -2129,7 +2134,43 @@ function splitCitedSources(sources, content) {
2129
2134
  }
2130
2135
  const cited = sources.filter((source) => firstMentionAt.has(source.index)).sort((a, b) => (_nullishCoalesce(firstMentionAt.get(a.index), () => ( 0))) - (_nullishCoalesce(firstMentionAt.get(b.index), () => ( 0))));
2131
2136
  const uncited = sources.filter((source) => !firstMentionAt.has(source.index));
2132
- return { cited: _chunkIQCHV7Z2cjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkIQCHV7Z2cjs.groupSourcesByTable.call(void 0, uncited) };
2137
+ return { cited: _chunkOTGYA5F7cjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkOTGYA5F7cjs.groupSourcesByTable.call(void 0, uncited) };
2138
+ }
2139
+ function recordsOf(source) {
2140
+ if (!source.items || source.items.length === 0) return [source];
2141
+ return source.items.map((item) => ({
2142
+ index: _nullishCoalesce(item.index, () => ( source.index)),
2143
+ id: item.id,
2144
+ name: item.name,
2145
+ path: _nullishCoalesce(item.path, () => ( "")),
2146
+ documentType: item.documentType,
2147
+ ...item.externalUrl ? { externalUrl: item.externalUrl } : {},
2148
+ targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
2149
+ ...source.sourceRepo ? { sourceRepo: source.sourceRepo } : {}
2150
+ }));
2151
+ }
2152
+ function recordKey(record) {
2153
+ const id = record.id || record.path;
2154
+ return record.documentType && id ? `${_chunkIM366HS6cjs.canonicalContentRefType.call(void 0, record.documentType)}:${id}` : null;
2155
+ }
2156
+ function splitByCards(sources, cards) {
2157
+ const records = sources.flatMap(recordsOf);
2158
+ const byKey = /* @__PURE__ */ new Map();
2159
+ for (const record of records) {
2160
+ const key = recordKey(record);
2161
+ if (key && !byKey.has(key)) byKey.set(key, record);
2162
+ }
2163
+ const cited = [];
2164
+ for (const card of cards) {
2165
+ const record = byKey.get(`${_chunkIM366HS6cjs.canonicalContentRefType.call(void 0, card.type)}:${card.id}`);
2166
+ if (record && !cited.includes(record)) cited.push(record);
2167
+ }
2168
+ const uncited = records.filter((record) => !cited.includes(record));
2169
+ return { cited: _chunkOTGYA5F7cjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkOTGYA5F7cjs.groupSourcesByTable.call(void 0, uncited) };
2170
+ }
2171
+ function groupedRowLabels(items) {
2172
+ const numbers = new Set(items.flatMap((item) => item.index === void 0 ? [] : [item.index]));
2173
+ return items.map((item) => numbers.size > 1 && item.index !== void 0 ? `[${item.index}] ${item.name}` : item.name);
2133
2174
  }
2134
2175
 
2135
2176
  // src/components/chat/utils/host-message.ts
@@ -2180,7 +2221,7 @@ function pruneTimestampCache(timestampCache, liveIds) {
2180
2221
  // src/components/chat/embeddable-chat.tsx
2181
2222
  var _jsxruntime = require('react/jsx-runtime');
2182
2223
  var HISTORY_RAIL_WIDTH = 320;
2183
- var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkIQCHV7Z2cjs.CHAT_BLOCK_MIN_WIDTH;
2224
+ var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkOTGYA5F7cjs.CHAT_BLOCK_MIN_WIDTH;
2184
2225
  var DRAWER_DEFAULT_WIDTH_RATIO = 0.5;
2185
2226
  var DRAWER_WIDTH_KEY = "mingo-chat-width-v4";
2186
2227
  var DRAWER_DEFAULT_WIDTH_PX = 750;
@@ -2253,7 +2294,7 @@ function dispatchSlashCommandAction(actionId, cmdId, ref) {
2253
2294
  if (!input) return;
2254
2295
  switch (actionId) {
2255
2296
  case "browse":
2256
- input.submit(_chunkIQCHV7Z2cjs.formatSingularLookupInvocation.call(void 0, cmdId));
2297
+ input.submit(_chunkOTGYA5F7cjs.formatSingularLookupInvocation.call(void 0, cmdId));
2257
2298
  return;
2258
2299
  case "search":
2259
2300
  input.setValue(`/${cmdId} `);
@@ -2274,7 +2315,7 @@ var ONE_TEXT_LINE = "\xA0";
2274
2315
  var SOURCE_CHIP_SKELETON_COUNT = 1;
2275
2316
  function SourceChipSkeleton(props) {
2276
2317
  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: [
2277
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkIQCHV7Z2cjs.chatChipClass.call(void 0, { tone: "secondary" }), children: [
2318
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkOTGYA5F7cjs.chatChipClass.call(void 0, { tone: "secondary" }), children: [
2278
2319
  /* @__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") }),
2279
2320
  /* @__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 })
2280
2321
  ] }),
@@ -2285,7 +2326,7 @@ function SourceChip(props) {
2285
2326
  const { src, onDiscuss } = props;
2286
2327
  const marks = _chunk63A4GZMBcjs.loadingItemProps.call(void 0, props);
2287
2328
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2288
- const cta = _chunkIQCHV7Z2cjs.resolveSourceRowCTA.call(void 0,
2329
+ const cta = _chunkOTGYA5F7cjs.resolveSourceRowCTA.call(void 0,
2289
2330
  {
2290
2331
  sourceRepo: src.sourceRepo,
2291
2332
  documentType: src.documentType,
@@ -2295,14 +2336,16 @@ function SourceChip(props) {
2295
2336
  targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
2296
2337
  path: src.path
2297
2338
  },
2298
- _chunkIQCHV7Z2cjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2339
+ _chunkOTGYA5F7cjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2299
2340
  );
2300
2341
  const Icon = cta.icon;
2301
2342
  const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
2302
- const chipClass = _chunkIQCHV7Z2cjs.chatChipClass.call(void 0, { tone: "secondary" });
2343
+ const chipClass = _chunkOTGYA5F7cjs.chatChipClass.call(void 0, { tone: "secondary" });
2303
2344
  if (src.items && src.items.length > 0) {
2304
- const dropdownItems = src.items.map((item) => {
2305
- const itemCta = _chunkIQCHV7Z2cjs.resolveSourceRowCTA.call(void 0,
2345
+ const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
2346
+ const rowLabels = groupedRowLabels(src.items);
2347
+ const dropdownItems = src.items.map((item, i) => {
2348
+ const itemCta = _chunkOTGYA5F7cjs.resolveSourceRowCTA.call(void 0,
2306
2349
  {
2307
2350
  sourceRepo: src.sourceRepo,
2308
2351
  documentType: item.documentType,
@@ -2312,14 +2355,12 @@ function SourceChip(props) {
2312
2355
  targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
2313
2356
  path: item.path
2314
2357
  },
2315
- _chunkIQCHV7Z2cjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2358
+ _chunkOTGYA5F7cjs.sourceRowCtxFromRuntime.call(void 0, runtime)
2316
2359
  );
2317
2360
  const ItemIcon = itemCta.icon;
2318
2361
  const itemChatRef = itemCta.chatRef;
2319
2362
  return {
2320
- // A client-built group keeps each row's own citation number, so the
2321
- // `[3]` in the answer is findable inside the dropdown.
2322
- label: item.index === void 0 ? item.name : `[${item.index}] ${item.name}`,
2363
+ label: rowLabels[i],
2323
2364
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ItemIcon, { className: "h-3.5 w-3.5" }),
2324
2365
  href: _nullishCoalesce(itemCta.href, () => ( void 0)),
2325
2366
  targetPlatform: itemCta.targetPlatform,
@@ -2331,14 +2372,13 @@ function SourceChip(props) {
2331
2372
  } : void 0
2332
2373
  };
2333
2374
  });
2334
- const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
2335
- const groupIndices = itemIndices.length > 0 ? _chunkIQCHV7Z2cjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2375
+ const groupIndices = itemIndices.length > 0 ? _chunkOTGYA5F7cjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2336
2376
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", ...marks, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2337
2377
  _chunkEHANO6UEcjs.HoverDropdown,
2338
2378
  {
2339
2379
  items: dropdownItems,
2340
2380
  renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2341
- _chunkIQCHV7Z2cjs.NavLinkAnchorViaRuntime,
2381
+ _chunkOTGYA5F7cjs.NavLinkAnchorViaRuntime,
2342
2382
  {
2343
2383
  href,
2344
2384
  targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)),
@@ -2371,13 +2411,13 @@ function SourceChip(props) {
2371
2411
  ] });
2372
2412
  const wrapChip = (clickable) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "inline-flex items-center", ...marks, children: [
2373
2413
  clickable,
2374
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2414
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2375
2415
  ] });
2376
2416
  if (cta.href) {
2377
2417
  const isEntity = !!src.externalUrl;
2378
2418
  return wrapChip(
2379
2419
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2380
- _chunkIQCHV7Z2cjs.NavLinkAnchorViaRuntime,
2420
+ _chunkOTGYA5F7cjs.NavLinkAnchorViaRuntime,
2381
2421
  {
2382
2422
  href: cta.href,
2383
2423
  path: isEntity ? null : src.path,
@@ -2403,7 +2443,7 @@ function SourceChips({
2403
2443
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
2404
2444
  if (loading) {
2405
2445
  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: [
2406
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-muted text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.TextHold, { children: "Sources" }) }),
2446
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-muted text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.TextHold, { children: "Sources" }) }),
2407
2447
  /* @__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 }) }) })
2408
2448
  ] });
2409
2449
  }
@@ -2496,7 +2536,7 @@ function EmbeddableChatInner({
2496
2536
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2497
2537
  const source = _nullishCoalesce(runtime.source, () => ( ""));
2498
2538
  const commandsUrl = runtime.endpoints.commandsUrl;
2499
- const { attachmentsEnabled, user: identityUser } = _chunkIQCHV7Z2cjs.useChatIdentity.call(void 0, );
2539
+ const { attachmentsEnabled, user: identityUser } = _chunkOTGYA5F7cjs.useChatIdentity.call(void 0, );
2500
2540
  const viewUrlPrefix = runtime.endpoints.attachmentViewUrlPrefix;
2501
2541
  _react.useEffect.call(void 0, () => {
2502
2542
  if (process.env.NODE_ENV !== "production") {
@@ -2550,9 +2590,9 @@ function EmbeddableChatInner({
2550
2590
  const [quickActionPreview, setQuickActionPreview] = _react.useState.call(void 0, null);
2551
2591
  const slashCommandsProp = _react.useMemo.call(void 0,
2552
2592
  () => ({
2553
- fetchCommands: (prefix, signal) => _chunkIQCHV7Z2cjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2593
+ fetchCommands: (prefix, signal) => _chunkOTGYA5F7cjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2554
2594
  resolveSourceIcon: (sourceId) => {
2555
- const iconName = _chunkIQCHV7Z2cjs.getSourceIconName.call(void 0, sourceId);
2595
+ const iconName = _chunkOTGYA5F7cjs.getSourceIconName.call(void 0, sourceId);
2556
2596
  if (!iconName) return void 0;
2557
2597
  return { Icon: _chunkQOAA7ZHBcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
2558
2598
  },
@@ -2581,7 +2621,7 @@ function EmbeddableChatInner({
2581
2621
  },
2582
2622
  [controlledActiveMode, onActiveModeChange]
2583
2623
  );
2584
- const { commands: commandsList, loaded: commandsLoaded } = _chunkIQCHV7Z2cjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2624
+ const { commands: commandsList, loaded: commandsLoaded } = _chunkOTGYA5F7cjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2585
2625
  enabled: activeMode === "guide"
2586
2626
  });
2587
2627
  const commandsById = _react.useMemo.call(void 0, () => {
@@ -2592,7 +2632,7 @@ function EmbeddableChatInner({
2592
2632
  const resolveAgentConfigUrl = _nullishCoalesce(_nullishCoalesce(aiAgentConfigUrlProp, () => ( runtime.endpoints.aiAgentConfigUrl)), () => ( DEFAULT_AI_AGENT_CONFIG_URL));
2593
2633
  const agentConfigUrl = activeAgentSlug ? resolveAgentConfigUrl(activeAgentSlug) : void 0;
2594
2634
  const emptyStateUrl = _nullishCoalesce(agentConfigUrl, () => ( runtime.endpoints.emptyStateUrl));
2595
- const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkIQCHV7Z2cjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2635
+ const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkOTGYA5F7cjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2596
2636
  enabled: activeMode === "guide" || !!activeAgentSlug
2597
2637
  });
2598
2638
  const effectiveGreeting = _nullishCoalesce(emptyStateConfig.greeting, () => ( emptyStateGreeting));
@@ -2639,7 +2679,7 @@ function EmbeddableChatInner({
2639
2679
  hasMoreMessages,
2640
2680
  loadMoreMessages,
2641
2681
  dialogCapabilities
2642
- } = _chunkIQCHV7Z2cjs.useUnifiedChat.call(void 0, {
2682
+ } = _chunkOTGYA5F7cjs.useUnifiedChat.call(void 0, {
2643
2683
  modes: effectiveModes,
2644
2684
  activeMode,
2645
2685
  mingoStateOverride: mingoState,
@@ -2686,8 +2726,8 @@ function EmbeddableChatInner({
2686
2726
  addFiles: addAttachmentFiles,
2687
2727
  removeAttachment,
2688
2728
  clear: clearAttachments
2689
- } = _chunkIQCHV7Z2cjs.useChatAttachments.call(void 0, );
2690
- const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkIQCHV7Z2cjs.useChatAttachmentImageGallery.call(void 0, );
2729
+ } = _chunkOTGYA5F7cjs.useChatAttachments.call(void 0, );
2730
+ const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkOTGYA5F7cjs.useChatAttachmentImageGallery.call(void 0, );
2691
2731
  const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _16 => _16.maxItems]), () => ( 10));
2692
2732
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
2693
2733
  const [contextItems, setContextItems] = _react.useState.call(void 0, NO_CONTEXT_ITEMS);
@@ -2806,7 +2846,7 @@ function EmbeddableChatInner({
2806
2846
  const askAboutRef = _react.useRef.call(void 0, discussRef);
2807
2847
  const askAbout = _react.useCallback.call(void 0, (reference) => askAboutRef.current(reference), []);
2808
2848
  const renderEntityCard = _react.useCallback.call(void 0,
2809
- (reference) => _chunkIQCHV7Z2cjs.renderChatInlineEntityCard.call(void 0, reference, {
2849
+ (reference) => _chunkOTGYA5F7cjs.renderChatInlineEntityCard.call(void 0, reference, {
2810
2850
  onDiscuss: askAbout,
2811
2851
  onDisplay: displayRef,
2812
2852
  extras
@@ -2826,7 +2866,7 @@ function EmbeddableChatInner({
2826
2866
  pruneTimestampCache(timestampCache, new Set(rawMessages.map((m) => m.id)));
2827
2867
  return mapped;
2828
2868
  }, [rawMessages, guideUserName, guideUserAvatar, timestampCache]);
2829
- const whatToAsk = _chunkIQCHV7Z2cjs.useWhatToAsk.call(void 0, {
2869
+ const whatToAsk = _chunkOTGYA5F7cjs.useWhatToAsk.call(void 0, {
2830
2870
  dialogId: activeDialogId,
2831
2871
  content: typeof whatToAskContent === "function" ? void 0 : whatToAskContent,
2832
2872
  user: {
@@ -2845,7 +2885,7 @@ function EmbeddableChatInner({
2845
2885
  noteWhatToAskSend();
2846
2886
  let augmentedText = text;
2847
2887
  if (readyAttachments.length > 0) {
2848
- const markdown = readyAttachments.map((att) => _chunkIQCHV7Z2cjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2888
+ const markdown = readyAttachments.map((att) => _chunkOTGYA5F7cjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2849
2889
  augmentedText = `${text}${markdown}`;
2850
2890
  }
2851
2891
  void sendMessage(augmentedText, {
@@ -2884,7 +2924,7 @@ function EmbeddableChatInner({
2884
2924
  // agent/persona (`icon_props.color`) wins; the built-in slug map
2885
2925
  // (fae→pink, mingo→cyan) is only the fallback for unconfigured
2886
2926
  // built-in agents.
2887
- accent: _nullishCoalesce(_chunkIQCHV7Z2cjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkIQCHV7Z2cjs.getAgentAccent.call(void 0, activeAgentSlug)))
2927
+ accent: _nullishCoalesce(_chunkOTGYA5F7cjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkOTGYA5F7cjs.getAgentAccent.call(void 0, activeAgentSlug)))
2888
2928
  }));
2889
2929
  }
2890
2930
  return (_nullishCoalesce(effectiveSuggestedQueries, () => ( []))).map((q, i) => ({
@@ -2932,7 +2972,7 @@ function EmbeddableChatInner({
2932
2972
  unarchiveDialog: mingoCaps.unarchiveDialog
2933
2973
  });
2934
2974
  const handleOpen = _react.useCallback.call(void 0, () => setIsOpen(true), [setIsOpen]);
2935
- _chunkIQCHV7Z2cjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
2975
+ _chunkOTGYA5F7cjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
2936
2976
  _react.useEffect.call(void 0, () => {
2937
2977
  const handler = (e) => {
2938
2978
  const detail = e.detail;
@@ -2940,8 +2980,8 @@ function EmbeddableChatInner({
2940
2980
  setIsOpen(true);
2941
2981
  setTimeout(() => askAbout(detail.ref), 0);
2942
2982
  };
2943
- window.addEventListener(_chunkIQCHV7Z2cjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2944
- return () => window.removeEventListener(_chunkIQCHV7Z2cjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2983
+ window.addEventListener(_chunkOTGYA5F7cjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2984
+ return () => window.removeEventListener(_chunkOTGYA5F7cjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2945
2985
  }, [source, askAbout, setIsOpen]);
2946
2986
  const pendingAskRef = _react.useRef.call(void 0, null);
2947
2987
  const isDraft = activeDialogId == null && messages.length === 0;
@@ -2975,10 +3015,10 @@ function EmbeddableChatInner({
2975
3015
  const prompt = typeof detail.prompt === "string" ? detail.prompt.trim() : "";
2976
3016
  if (prompt) setTimeout(() => sendAskPrompt(prompt), 0);
2977
3017
  };
2978
- window.addEventListener(_chunkIQCHV7Z2cjs.ASK_AI_OPEN_EVENT, handler);
2979
- return () => window.removeEventListener(_chunkIQCHV7Z2cjs.ASK_AI_OPEN_EVENT, handler);
3018
+ window.addEventListener(_chunkOTGYA5F7cjs.ASK_AI_OPEN_EVENT, handler);
3019
+ return () => window.removeEventListener(_chunkOTGYA5F7cjs.ASK_AI_OPEN_EVENT, handler);
2980
3020
  }, [source, setIsOpen, sendAskPrompt]);
2981
- _react.useEffect.call(void 0, () => _chunkIQCHV7Z2cjs.chatListensForAskAiOpens.call(void 0, ), []);
3021
+ _react.useEffect.call(void 0, () => _chunkOTGYA5F7cjs.chatListensForAskAiOpens.call(void 0, ), []);
2982
3022
  const hasMessages = messages.length > 0;
2983
3023
  const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
2984
3024
  const dialogsLoadError = dialogsError && dialogs.length === 0;
@@ -3018,7 +3058,7 @@ function EmbeddableChatInner({
3018
3058
  if (sourceSkeletonCount <= 0) return null;
3019
3059
  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: [] }) });
3020
3060
  }
3021
- const { cited, uncited } = splitCitedSources(message.sources, _chunkIQCHV7Z2cjs.flattenAssistantContent.call(void 0, message.content));
3061
+ const { cited, uncited } = splitCitedSources(message.sources, _chunkOTGYA5F7cjs.flattenAssistantContent.call(void 0, message.content));
3022
3062
  if (cited.length === 0 && uncited.length === 0) return null;
3023
3063
  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 }) });
3024
3064
  },
@@ -3026,7 +3066,7 @@ function EmbeddableChatInner({
3026
3066
  );
3027
3067
  const [portalHost, setPortalHost] = _react.useState.call(void 0, null);
3028
3068
  const [panelBoundary, setPanelBoundary] = _react.useState.call(void 0, null);
3029
- const splitMinWidth = (isV2 ? _chunkIQCHV7Z2cjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkIQCHV7Z2cjs.CHAT_BLOCK_MIN_WIDTH;
3069
+ const splitMinWidth = (isV2 ? _chunkOTGYA5F7cjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkOTGYA5F7cjs.CHAT_BLOCK_MIN_WIDTH;
3030
3070
  const [canSplit, setCanSplit] = _react.useState.call(void 0, false);
3031
3071
  _react.useEffect.call(void 0, () => {
3032
3072
  if (!panelBoundary || typeof ResizeObserver === "undefined") return void 0;
@@ -3045,7 +3085,7 @@ function EmbeddableChatInner({
3045
3085
  [splitMinWidth]
3046
3086
  );
3047
3087
  const [railCollapsed, setRailCollapsed] = _react.useState.call(void 0, false);
3048
- const railStorageHydrated = _chunkIQCHV7Z2cjs.useIsHydrated.call(void 0, );
3088
+ const railStorageHydrated = _chunkOTGYA5F7cjs.useIsHydrated.call(void 0, );
3049
3089
  const [railStorageRead, setRailStorageRead] = _react.useState.call(void 0, false);
3050
3090
  if (railStorageHydrated && !railStorageRead) {
3051
3091
  setRailStorageRead(true);
@@ -3099,7 +3139,7 @@ function EmbeddableChatInner({
3099
3139
  resetToNewChat();
3100
3140
  }, [clearWhatToAskDraft, resetToNewChat]);
3101
3141
  const activeDialogStatus = activeDialog && dialogStatusOf ? dialogStatusOf(activeDialog) : void 0;
3102
- const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 || _chunkIQCHV7Z2cjs.awaitsDecision.call(void 0, hostMessages);
3142
+ const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 || _chunkOTGYA5F7cjs.awaitsDecision.call(void 0, hostMessages);
3103
3143
  const showWhatToAsk = (content) => {
3104
3144
  whatToAsk.clearDraft();
3105
3145
  resetToNewChat();
@@ -3195,7 +3235,7 @@ function EmbeddableChatInner({
3195
3235
  }),
3196
3236
  [resetToNewChat, contextMaxItems]
3197
3237
  );
3198
- const splitHeaderMenuItems = _chunkIQCHV7Z2cjs.chatDialogMenuItems.call(void 0, {
3238
+ const splitHeaderMenuItems = _chunkOTGYA5F7cjs.chatDialogMenuItems.call(void 0, {
3199
3239
  onCopyLink: headerOnCopyLink,
3200
3240
  onRename: headerOnRename,
3201
3241
  onCompact: headerOnCompact,
@@ -3275,7 +3315,7 @@ function EmbeddableChatInner({
3275
3315
  onRetry: reloadDialogs
3276
3316
  };
3277
3317
  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,
3278
- _chunkIQCHV7Z2cjs.MingoChatHeader,
3318
+ _chunkOTGYA5F7cjs.MingoChatHeader,
3279
3319
  {
3280
3320
  title: archiveOpen ? "Chat Archive" : headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle,
3281
3321
  subtitle: archiveOpen ? void 0 : headerPersonName,
@@ -3295,7 +3335,7 @@ function EmbeddableChatInner({
3295
3335
  const body = (
3296
3336
  // The whole panel reads the appearance (the composer's footer too), not
3297
3337
  // only the thread `ChatMessageList` provides it to.
3298
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.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: [
3338
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.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: [
3299
3339
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3300
3340
  "div",
3301
3341
  {
@@ -3303,7 +3343,7 @@ function EmbeddableChatInner({
3303
3343
  "data-surface": isV2 ? "mingo" : void 0,
3304
3344
  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" : ""}`,
3305
3345
  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,
3306
- _chunkIQCHV7Z2cjs.ChatArchivePage,
3346
+ _chunkOTGYA5F7cjs.ChatArchivePage,
3307
3347
  {
3308
3348
  dialogs: archivedDialogs,
3309
3349
  onSelectDialog: handleArchivedSelect,
@@ -3333,7 +3373,7 @@ function EmbeddableChatInner({
3333
3373
  narrow: true,
3334
3374
  className: "col-start-1 row-span-3 row-start-1",
3335
3375
  innerClassName: "flex min-h-0 flex-col",
3336
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3376
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3337
3377
  }
3338
3378
  ),
3339
3379
  isV2 ? v2Header : showWideHeader ? (
@@ -3372,7 +3412,7 @@ function EmbeddableChatInner({
3372
3412
  // (Figma 116:51217) and the magnifier toggle is hidden.
3373
3413
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3374
3414
  railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3375
- _chunkIQCHV7Z2cjs.ChatHeaderSearchField,
3415
+ _chunkOTGYA5F7cjs.ChatHeaderSearchField,
3376
3416
  {
3377
3417
  initialValue: mingoCaps.searchQuery,
3378
3418
  onSearchChange: mingoCaps.onSearchChange,
@@ -3459,10 +3499,10 @@ function EmbeddableChatInner({
3459
3499
  // guide, resolved into `narrowHeaderProps` above. (Wide layouts,
3460
3500
  // including rail-collapsed, use the wide header above.) Embedded
3461
3501
  // previews (hero demo tabs) force the compact bar via `compact`.
3462
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3502
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3463
3503
  ),
3464
3504
  activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3465
- _chunkIQCHV7Z2cjs.GuideModeBanner,
3505
+ _chunkOTGYA5F7cjs.GuideModeBanner,
3466
3506
  {
3467
3507
  className: _chunk63A4GZMBcjs.cn.call(void 0, "duration-200 animate-in fade-in-0", isV2 && "col-start-2 row-start-2")
3468
3508
  }
@@ -3472,7 +3512,7 @@ function EmbeddableChatInner({
3472
3512
  // Archive list inside the rail (header lives in the split
3473
3513
  // header's left cell above). Right chat block stays put.
3474
3514
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3475
- _chunkIQCHV7Z2cjs.ChatArchivePage,
3515
+ _chunkOTGYA5F7cjs.ChatArchivePage,
3476
3516
  {
3477
3517
  embedded: true,
3478
3518
  dialogs: archivedDialogs,
@@ -3486,7 +3526,7 @@ function EmbeddableChatInner({
3486
3526
  }
3487
3527
  )
3488
3528
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3489
- _chunkIQCHV7Z2cjs.MingoHistoryRail,
3529
+ _chunkOTGYA5F7cjs.MingoHistoryRail,
3490
3530
  {
3491
3531
  dialogs,
3492
3532
  activeDialogId: _nullishCoalesce(activeDialogId, () => ( void 0)),
@@ -3514,7 +3554,7 @@ function EmbeddableChatInner({
3514
3554
  // v2: the archive opens in the chat column under the chat's
3515
3555
  // header; the list stays, and "Chat Archive" there toggles back.
3516
3556
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3517
- _chunkIQCHV7Z2cjs.MingoArchiveList,
3557
+ _chunkOTGYA5F7cjs.MingoArchiveList,
3518
3558
  {
3519
3559
  dialogs: archivedDialogs,
3520
3560
  onSelectDialog: handleArchivedSelect,
@@ -3527,7 +3567,7 @@ function EmbeddableChatInner({
3527
3567
  }
3528
3568
  )
3529
3569
  ) : stackedListView && isV2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3530
- _chunkIQCHV7Z2cjs.MingoChatRail,
3570
+ _chunkOTGYA5F7cjs.MingoChatRail,
3531
3571
  {
3532
3572
  ...mingoRailProps,
3533
3573
  onNewChat: () => setComposeOpen(true),
@@ -3546,7 +3586,7 @@ function EmbeddableChatInner({
3546
3586
  // single-column view. No composer here; "Start New Chat" opens
3547
3587
  // the compose view.
3548
3588
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3549
- _chunkIQCHV7Z2cjs.MingoHistoryRail,
3589
+ _chunkOTGYA5F7cjs.MingoHistoryRail,
3550
3590
  {
3551
3591
  className: "duration-200 animate-in fade-in-0",
3552
3592
  dialogs,
@@ -3589,14 +3629,14 @@ function EmbeddableChatInner({
3589
3629
  {
3590
3630
  className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0",
3591
3631
  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,
3592
- _chunkIQCHV7Z2cjs.ChatMessageList,
3632
+ _chunkOTGYA5F7cjs.ChatMessageList,
3593
3633
  {
3594
3634
  messages,
3595
3635
  isLoading: messagesInitialLoading,
3596
3636
  fill: previewMode,
3597
3637
  appearance,
3598
3638
  isTyping: chatLoading,
3599
- typingMessage: streamingProgress ? _chunkIQCHV7Z2cjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
3639
+ typingMessage: streamingProgress ? _chunkOTGYA5F7cjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
3600
3640
  pendingApprovals,
3601
3641
  autoScroll: !previewMode,
3602
3642
  pinBottom: previewMode,
@@ -3609,7 +3649,7 @@ function EmbeddableChatInner({
3609
3649
  renderMention,
3610
3650
  renderAfterMessage: renderMessageSources,
3611
3651
  onAskSelect: chatLoading || previewMode ? void 0 : handleAskSelect,
3612
- NavLinkAnchor: _chunkIQCHV7Z2cjs.NavLinkAnchorViaRuntime,
3652
+ NavLinkAnchor: _chunkOTGYA5F7cjs.NavLinkAnchorViaRuntime,
3613
3653
  className: previewMode ? "pointer-events-auto flex-1" : "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
3614
3654
  contentClassName: "max-w-none pb-0",
3615
3655
  fullWidth: true,
@@ -3623,7 +3663,7 @@ function EmbeddableChatInner({
3623
3663
  quick-action chips. Guide mode keeps the slash-command
3624
3664
  onboarding list below. */
3625
3665
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3626
- _chunkIQCHV7Z2cjs.MingoWelcome,
3666
+ _chunkOTGYA5F7cjs.MingoWelcome,
3627
3667
  {
3628
3668
  onStartGuideChat: effectiveModes.guide ? () => handleActiveModeChange("guide") : void 0,
3629
3669
  historyPageSize,
@@ -3639,7 +3679,7 @@ function EmbeddableChatInner({
3639
3679
  + slash-command onboarding list share one scroll region,
3640
3680
  with a pinned quick-action chip row above the composer. */
3641
3681
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3642
- _chunkIQCHV7Z2cjs.GuideWelcome,
3682
+ _chunkOTGYA5F7cjs.GuideWelcome,
3643
3683
  {
3644
3684
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
3645
3685
  subtitleLoading: emptyStateLoading,
@@ -3696,7 +3736,7 @@ function EmbeddableChatInner({
3696
3736
  }
3697
3737
  ),
3698
3738
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3699
- _chunkIQCHV7Z2cjs.ChatAttachmentChipStrip,
3739
+ _chunkOTGYA5F7cjs.ChatAttachmentChipStrip,
3700
3740
  {
3701
3741
  attachments: stagedAttachments,
3702
3742
  onRemove: removeAttachment,
@@ -3704,7 +3744,7 @@ function EmbeddableChatInner({
3704
3744
  }
3705
3745
  ),
3706
3746
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3707
- _chunkIQCHV7Z2cjs.ChatComposer,
3747
+ _chunkOTGYA5F7cjs.ChatComposer,
3708
3748
  {
3709
3749
  archived: isViewingArchived,
3710
3750
  lock: composerLock,
@@ -3756,7 +3796,7 @@ function EmbeddableChatInner({
3756
3796
  ),
3757
3797
  galleryModal,
3758
3798
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3759
- _chunkIQCHV7Z2cjs.ChatDialogModals,
3799
+ _chunkOTGYA5F7cjs.ChatDialogModals,
3760
3800
  {
3761
3801
  renameTarget,
3762
3802
  setRenameTarget,
@@ -3772,13 +3812,13 @@ function EmbeddableChatInner({
3772
3812
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
3773
3813
  ] }) }) })
3774
3814
  );
3775
- const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIQCHV7Z2cjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3815
+ const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOTGYA5F7cjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3776
3816
  shell === "none" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactvisuallyhidden.VisuallyHidden, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Title, { children: [
3777
3817
  sourceLabel,
3778
3818
  " AI Assistant"
3779
3819
  ] }) }),
3780
3820
  body
3781
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHANO6UEcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIQCHV7Z2cjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3821
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHANO6UEcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOTGYA5F7cjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3782
3822
  _chunkEHANO6UEcjs.DrawerContent,
3783
3823
  {
3784
3824
  side: "right",