@flamingo-stack/openframe-frontend-core 0.0.416 → 0.0.417-snapshot.20260712015802

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 (105) hide show
  1. package/dist/{chunk-RQLQOH46.cjs → chunk-5NV3BBFC.cjs} +37 -37
  2. package/dist/{chunk-RQLQOH46.cjs.map → chunk-5NV3BBFC.cjs.map} +1 -1
  3. package/dist/{chunk-D4NSPERU.cjs → chunk-6GUJGVPI.cjs} +26 -26
  4. package/dist/{chunk-D4NSPERU.cjs.map → chunk-6GUJGVPI.cjs.map} +1 -1
  5. package/dist/{chunk-CQ6MF7KT.js → chunk-7QDHNBLD.js} +4 -4
  6. package/dist/{chunk-SFZ2BJST.js → chunk-AU53RWCJ.js} +2 -2
  7. package/dist/{chunk-BIFZRCGN.cjs → chunk-AZGPEBKL.cjs} +31 -31
  8. package/dist/{chunk-BIFZRCGN.cjs.map → chunk-AZGPEBKL.cjs.map} +1 -1
  9. package/dist/{chunk-N6T7CDEN.js → chunk-BDXXP46V.js} +1469 -1396
  10. package/dist/chunk-BDXXP46V.js.map +1 -0
  11. package/dist/{chunk-FHAMKB5L.js → chunk-BFV2R5OA.js} +2 -2
  12. package/dist/{chunk-43AKGHDL.js → chunk-C6R2FRK6.js} +4 -4
  13. package/dist/{chunk-DQMH6NAF.cjs → chunk-CVG5QEWB.cjs} +15 -15
  14. package/dist/{chunk-DQMH6NAF.cjs.map → chunk-CVG5QEWB.cjs.map} +1 -1
  15. package/dist/{chunk-4AFA5N5Q.js → chunk-EBMGBZCB.js} +2 -2
  16. package/dist/{chunk-BGSIZWAK.js → chunk-FRDNZT33.js} +2 -2
  17. package/dist/{chunk-3F4LKYIK.cjs → chunk-HH6AJLPX.cjs} +7 -7
  18. package/dist/{chunk-3F4LKYIK.cjs.map → chunk-HH6AJLPX.cjs.map} +1 -1
  19. package/dist/{chunk-GEUZA4VP.js → chunk-MGFW2QXW.js} +2 -2
  20. package/dist/{chunk-CRPIHDEI.cjs → chunk-PPU67VJR.cjs} +9 -9
  21. package/dist/{chunk-CRPIHDEI.cjs.map → chunk-PPU67VJR.cjs.map} +1 -1
  22. package/dist/{chunk-IVWQIWZI.cjs → chunk-PUKSGYO5.cjs} +5 -5
  23. package/dist/{chunk-IVWQIWZI.cjs.map → chunk-PUKSGYO5.cjs.map} +1 -1
  24. package/dist/{chunk-234A5WF2.cjs → chunk-S6J3CLBD.cjs} +26 -26
  25. package/dist/{chunk-234A5WF2.cjs.map → chunk-S6J3CLBD.cjs.map} +1 -1
  26. package/dist/{chunk-3OSTXIB6.cjs → chunk-T35MGBXH.cjs} +59 -59
  27. package/dist/{chunk-3OSTXIB6.cjs.map → chunk-T35MGBXH.cjs.map} +1 -1
  28. package/dist/{chunk-GIHNDMGI.js → chunk-TLRWCDX6.js} +2 -2
  29. package/dist/{chunk-S3PO5NOK.cjs → chunk-VXOZXOOR.cjs} +442 -369
  30. package/dist/chunk-VXOZXOOR.cjs.map +1 -0
  31. package/dist/{chunk-3RW27WRK.js → chunk-WD3PDTQP.js} +2 -2
  32. package/dist/{chunk-CQG77HCB.cjs → chunk-XDJXRHGL.cjs} +11 -11
  33. package/dist/{chunk-CQG77HCB.cjs.map → chunk-XDJXRHGL.cjs.map} +1 -1
  34. package/dist/{chunk-QMGXJEZ3.cjs → chunk-XLBCOT73.cjs} +62 -62
  35. package/dist/{chunk-QMGXJEZ3.cjs.map → chunk-XLBCOT73.cjs.map} +1 -1
  36. package/dist/{chunk-VBJC75FT.js → chunk-ZNQ2QRQF.js} +4 -4
  37. package/dist/{chunk-QO2JZYIB.js → chunk-ZQTVLFS6.js} +4 -4
  38. package/dist/components/announcement-bar.d.ts.map +1 -1
  39. package/dist/components/case-studies/index.cjs +8 -8
  40. package/dist/components/case-studies/index.js +2 -2
  41. package/dist/components/chat/chat-panel-header-mobile.d.ts +8 -8
  42. package/dist/components/chat/chat-panel-header-mobile.d.ts.map +1 -1
  43. package/dist/components/chat/index.cjs +2 -2
  44. package/dist/components/chat/index.js +1 -1
  45. package/dist/components/contact/index.cjs +3 -3
  46. package/dist/components/contact/index.js +2 -2
  47. package/dist/components/docs/index.cjs +5 -5
  48. package/dist/components/docs/index.js +4 -4
  49. package/dist/components/embeds/index.cjs +3 -3
  50. package/dist/components/embeds/index.js +2 -2
  51. package/dist/components/faq/index.cjs +3 -3
  52. package/dist/components/faq/index.js +2 -2
  53. package/dist/components/features/index.cjs +2 -2
  54. package/dist/components/features/index.js +1 -1
  55. package/dist/components/help-center-pages/index.cjs +20 -20
  56. package/dist/components/help-center-pages/index.js +11 -11
  57. package/dist/components/index.cjs +131 -129
  58. package/dist/components/index.cjs.map +1 -1
  59. package/dist/components/index.js +12 -10
  60. package/dist/components/index.js.map +1 -1
  61. package/dist/components/navigation/header.d.ts.map +1 -1
  62. package/dist/components/navigation/index.cjs +4 -2
  63. package/dist/components/navigation/index.cjs.map +1 -1
  64. package/dist/components/navigation/index.d.ts +2 -0
  65. package/dist/components/navigation/index.d.ts.map +1 -1
  66. package/dist/components/navigation/index.js +3 -1
  67. package/dist/components/navigation/mingo-ai-button.d.ts +16 -0
  68. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -0
  69. package/dist/components/onboarding-guides/index.cjs +5 -5
  70. package/dist/components/onboarding-guides/index.js +4 -4
  71. package/dist/components/related-content/index.cjs +3 -3
  72. package/dist/components/related-content/index.js +2 -2
  73. package/dist/components/tickets/index.cjs +5 -5
  74. package/dist/components/tickets/index.js +4 -4
  75. package/dist/components/ui/index.cjs +2 -2
  76. package/dist/components/ui/index.js +1 -1
  77. package/dist/index.cjs +4 -2
  78. package/dist/index.cjs.map +1 -1
  79. package/dist/index.js +3 -1
  80. package/dist/types/navigation.d.ts +12 -0
  81. package/dist/types/navigation.d.ts.map +1 -1
  82. package/package.json +1 -1
  83. package/src/components/announcement-bar.tsx +5 -1
  84. package/src/components/chat/chat-panel-header-mobile.tsx +21 -8
  85. package/src/components/chat/embeddable-chat.tsx +13 -0
  86. package/src/components/navigation/header.tsx +25 -10
  87. package/src/components/navigation/index.ts +3 -0
  88. package/src/components/navigation/mingo-ai-button.tsx +96 -0
  89. package/src/stories/Header.stories.tsx +28 -0
  90. package/src/stories/MingoAiButton.stories.tsx +46 -0
  91. package/src/styles/chat-animations.css +66 -0
  92. package/src/types/navigation.ts +12 -0
  93. package/dist/chunk-N6T7CDEN.js.map +0 -1
  94. package/dist/chunk-S3PO5NOK.cjs.map +0 -1
  95. /package/dist/{chunk-CQ6MF7KT.js.map → chunk-7QDHNBLD.js.map} +0 -0
  96. /package/dist/{chunk-SFZ2BJST.js.map → chunk-AU53RWCJ.js.map} +0 -0
  97. /package/dist/{chunk-FHAMKB5L.js.map → chunk-BFV2R5OA.js.map} +0 -0
  98. /package/dist/{chunk-43AKGHDL.js.map → chunk-C6R2FRK6.js.map} +0 -0
  99. /package/dist/{chunk-4AFA5N5Q.js.map → chunk-EBMGBZCB.js.map} +0 -0
  100. /package/dist/{chunk-BGSIZWAK.js.map → chunk-FRDNZT33.js.map} +0 -0
  101. /package/dist/{chunk-GEUZA4VP.js.map → chunk-MGFW2QXW.js.map} +0 -0
  102. /package/dist/{chunk-GIHNDMGI.js.map → chunk-TLRWCDX6.js.map} +0 -0
  103. /package/dist/{chunk-3RW27WRK.js.map → chunk-WD3PDTQP.js.map} +0 -0
  104. /package/dist/{chunk-VBJC75FT.js.map → chunk-ZNQ2QRQF.js.map} +0 -0
  105. /package/dist/{chunk-QO2JZYIB.js.map → chunk-ZQTVLFS6.js.map} +0 -0
@@ -7938,6 +7938,7 @@ function ChatPanelHeaderMobile({
7938
7938
  backAriaLabel = "Back",
7939
7939
  isArchivedView = false,
7940
7940
  onBack,
7941
+ onClose,
7941
7942
  onRestore,
7942
7943
  onRename,
7943
7944
  onArchive,
@@ -7979,6 +7980,17 @@ function ChatPanelHeaderMobile({
7979
7980
  triggerAriaLabel: "Chat actions",
7980
7981
  triggerClassName: "shrink-0 bg-ods-card border-ods-border hover:bg-ods-bg-hover flex items-center justify-center focus-visible:ring-0"
7981
7982
  }
7983
+ ),
7984
+ onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7985
+ _chunkE6WANQ6Kcjs.Button,
7986
+ {
7987
+ variant: "outline",
7988
+ size: "icon",
7989
+ "aria-label": "Close chat",
7990
+ onClick: onClose,
7991
+ className: "shrink-0",
7992
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.XmarkIcon, {})
7993
+ }
7982
7994
  )
7983
7995
  ] })
7984
7996
  ] })
@@ -35326,6 +35338,52 @@ function MobileNavPanel({ isOpen, config }) {
35326
35338
  ] });
35327
35339
  }
35328
35340
 
35341
+ // src/components/navigation/mingo-ai-button.tsx
35342
+
35343
+ var MINGO_ACCENT = "var(--ods-flamingo-cyan-base)";
35344
+ function MingoAiButton({ source, icon, label = "Mingo AI", className, onClick, ...props }) {
35345
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35346
+ "button",
35347
+ {
35348
+ ...props,
35349
+ type: "button",
35350
+ "aria-label": label,
35351
+ onClick: (e) => {
35352
+ window.dispatchEvent(new CustomEvent("ask-ai:open", { detail: { source: _nullishCoalesce(source, () => ( "")) } }));
35353
+ _optionalChain([onClick, 'optionalCall', _728 => _728(e)]);
35354
+ },
35355
+ className: _chunkFIG2RKZFcjs.cn.call(void 0,
35356
+ // `--spacing-system-l` is itself responsive (16px, 24px from 800px):
35357
+ // the compact mobile padding keeps the 375px header row
35358
+ // (logo + CTA + burger + Mingo) inside one viewport per Figma
35359
+ // 3924-35639 (mobile) / 4033-90260 (desktop).
35360
+ "group/mingo relative flex h-full items-center border-l border-ods-border bg-transparent px-[var(--spacing-system-l)] transition-colors duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
35361
+ className
35362
+ ),
35363
+ children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative flex h-10 items-center gap-[var(--spacing-system-s)] rounded-md px-[var(--spacing-system-m)] md:h-12", children: [
35364
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "mingo-edge-frame pointer-events-none absolute inset-0 rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "mingo-edge" }) }),
35365
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35366
+ "span",
35367
+ {
35368
+ className: "mingo-shimmer absolute inset-y-0 left-0 w-1/2",
35369
+ style: { background: "linear-gradient(105deg, transparent, color-mix(in srgb, var(--ods-system-greys-white) 12%, transparent), transparent)" }
35370
+ }
35371
+ ) }),
35372
+ icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative inline-flex size-6 shrink-0 items-center justify-center", children: icon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35373
+ _chunkGHHUCCLXcjs.MingoIcon,
35374
+ {
35375
+ color: "currentColor",
35376
+ eyesColor: MINGO_ACCENT,
35377
+ cornerColor: MINGO_ACCENT,
35378
+ className: "relative h-6 w-6 shrink-0 text-ods-text-primary"
35379
+ }
35380
+ ),
35381
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative hidden whitespace-nowrap text-h3 font-bold tracking-[-0.36px] text-ods-text-primary md:inline", children: label })
35382
+ ] })
35383
+ }
35384
+ );
35385
+ }
35386
+
35329
35387
  // src/components/navigation/header.tsx
35330
35388
 
35331
35389
  function Header2({ config, platform }) {
@@ -35461,7 +35519,7 @@ function Header2({ config, platform }) {
35461
35519
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
35462
35520
  "flex justify-start w-full",
35463
35521
  "font-bold text-[16px] leading-none tracking-[-0.32px]",
35464
- index < (_nullishCoalesce(_optionalChain([item, 'access', _728 => _728.children, 'optionalAccess', _729 => _729.length]), () => ( 0))) - 1 && "mb-1",
35522
+ index < (_nullishCoalesce(_optionalChain([item, 'access', _729 => _729.children, 'optionalAccess', _730 => _730.length]), () => ( 0))) - 1 && "mb-1",
35465
35523
  "text-ods-text-primary",
35466
35524
  // All dropdown items use primary text color
35467
35525
  child.isActive && "bg-ods-bg-hover"
@@ -35543,9 +35601,12 @@ function Header2({ config, platform }) {
35543
35601
  "header",
35544
35602
  {
35545
35603
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
35546
- "w-full flex items-center justify-between",
35604
+ // 72px = unified-header spec height (Figma 4033-90260); the right
35605
+ // cluster self-stretches so the Mingo launcher can sit flush.
35606
+ "w-full h-[72px] flex items-center justify-between",
35547
35607
  "border-b border-ods-border backdrop-blur-sm",
35548
- "px-6 py-3",
35608
+ "pl-6",
35609
+ !_optionalChain([config, 'access', _731 => _731.mingo, 'optionalAccess', _732 => _732.enabled]) && "pr-6",
35549
35610
  // Background color (configurable via backgroundColor prop)
35550
35611
  config.backgroundColor || "bg-ods-card",
35551
35612
  config.className
@@ -35553,14 +35614,14 @@ function Header2({ config, platform }) {
35553
35614
  style: config.style,
35554
35615
  children: [
35555
35616
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
35556
- _optionalChain([config, 'access', _730 => _730.actions, 'optionalAccess', _731 => _731.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
35617
+ _optionalChain([config, 'access', _733 => _733.actions, 'optionalAccess', _734 => _734.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
35557
35618
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWBR7H6E3cjs.next_link_default, { href: config.logo.href, className: "transition-opacity duration-200 hover:opacity-80", children: config.logo.element })
35558
35619
  ] }),
35559
35620
  config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35560
35621
  "nav",
35561
35622
  {
35562
35623
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
35563
- "hidden md:flex items-center gap-2",
35624
+ "hidden lg:flex items-center gap-2",
35564
35625
  config.navigation.position === "center" && "absolute left-1/2 transform -translate-x-1/2",
35565
35626
  config.navigation.position === "right" && "ml-auto mr-4"
35566
35627
  ),
@@ -35569,23 +35630,25 @@ function Header2({ config, platform }) {
35569
35630
  children: config.navigation.items.map(renderNavigationItem)
35570
35631
  }
35571
35632
  ),
35572
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
35573
- _optionalChain([config, 'access', _732 => _732.actions, 'optionalAccess', _733 => _733.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
35633
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-3 flex-shrink-0 self-stretch", children: [
35634
+ _optionalChain([config, 'access', _735 => _735.actions, 'optionalAccess', _736 => _736.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:flex items-center gap-3", children: config.actions.right }),
35635
+ _optionalChain([config, 'access', _737 => _737.actions, 'optionalAccess', _738 => _738.persistent]) && config.actions.persistent.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.persistent }),
35574
35636
  config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35575
35637
  _chunkE6WANQ6Kcjs.Button,
35576
35638
  {
35577
- variant: "transparent",
35639
+ variant: "outline",
35578
35640
  size: "icon",
35579
- className: "flex md:hidden",
35641
+ className: "flex lg:hidden",
35580
35642
  onClick: () => {
35581
- _optionalChain([config, 'access', _734 => _734.mobile, 'optionalAccess', _735 => _735.onToggle, 'optionalCall', _736 => _736()]);
35643
+ _optionalChain([config, 'access', _739 => _739.mobile, 'optionalAccess', _740 => _740.onToggle, 'optionalCall', _741 => _741()]);
35582
35644
  },
35583
- "aria-label": _optionalChain([config, 'access', _737 => _737.mobile, 'optionalAccess', _738 => _738.isOpen]) ? "Close menu" : "Open menu",
35584
- "aria-expanded": _nullishCoalesce(_optionalChain([config, 'access', _739 => _739.mobile, 'optionalAccess', _740 => _740.isOpen]), () => ( false)),
35585
- "aria-controls": _optionalChain([config, 'access', _741 => _741.mobile, 'optionalAccess', _742 => _742.isOpen]) ? MOBILE_NAV_PANEL_ID : void 0,
35586
- leftIcon: _optionalChain([config, 'access', _743 => _743.mobile, 'optionalAccess', _744 => _744.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
35645
+ "aria-label": _optionalChain([config, 'access', _742 => _742.mobile, 'optionalAccess', _743 => _743.isOpen]) ? "Close menu" : "Open menu",
35646
+ "aria-expanded": _nullishCoalesce(_optionalChain([config, 'access', _744 => _744.mobile, 'optionalAccess', _745 => _745.isOpen]), () => ( false)),
35647
+ "aria-controls": _optionalChain([config, 'access', _746 => _746.mobile, 'optionalAccess', _747 => _747.isOpen]) ? MOBILE_NAV_PANEL_ID : void 0,
35648
+ leftIcon: _optionalChain([config, 'access', _748 => _748.mobile, 'optionalAccess', _749 => _749.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
35587
35649
  }
35588
- )
35650
+ ),
35651
+ _optionalChain([config, 'access', _750 => _750.mingo, 'optionalAccess', _751 => _751.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoAiButton, { source: config.mingo.source, icon: config.mingo.icon, label: config.mingo.label, className: config.mingo.className })
35589
35652
  ] })
35590
35653
  ]
35591
35654
  }
@@ -35600,10 +35663,10 @@ function Header2({ config, platform }) {
35600
35663
  // src/components/navigation/header-skeleton.tsx
35601
35664
 
35602
35665
  function HeaderSkeleton({ config }) {
35603
- const showNavigation = _optionalChain([config, 'optionalAccess', _745 => _745.navigation]) && config.navigation.items.length > 0;
35604
- const showActions = _optionalChain([config, 'optionalAccess', _746 => _746.actions, 'optionalAccess', _747 => _747.right]) && config.actions.right.length > 0;
35605
- const showMobileMenu = _optionalChain([config, 'optionalAccess', _748 => _748.mobile, 'optionalAccess', _749 => _749.enabled]);
35606
- const isAdminHeader = _optionalChain([config, 'optionalAccess', _750 => _750.className, 'optionalAccess', _751 => _751.includes, 'call', _752 => _752("admin")]);
35666
+ const showNavigation = _optionalChain([config, 'optionalAccess', _752 => _752.navigation]) && config.navigation.items.length > 0;
35667
+ const showActions = _optionalChain([config, 'optionalAccess', _753 => _753.actions, 'optionalAccess', _754 => _754.right]) && config.actions.right.length > 0;
35668
+ const showMobileMenu = _optionalChain([config, 'optionalAccess', _755 => _755.mobile, 'optionalAccess', _756 => _756.enabled]);
35669
+ const isAdminHeader = _optionalChain([config, 'optionalAccess', _757 => _757.className, 'optionalAccess', _758 => _758.includes, 'call', _759 => _759("admin")]);
35607
35670
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35608
35671
  "header",
35609
35672
  {
@@ -35612,11 +35675,11 @@ function HeaderSkeleton({ config }) {
35612
35675
  "bg-ods-card border-b border-ods-border backdrop-blur-sm",
35613
35676
  "px-6 py-3",
35614
35677
  "transition-opacity duration-300 ease-in-out",
35615
- _optionalChain([config, 'optionalAccess', _753 => _753.className])
35678
+ _optionalChain([config, 'optionalAccess', _760 => _760.className])
35616
35679
  ),
35617
35680
  children: [
35618
35681
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
35619
- isAdminHeader && _optionalChain([config, 'optionalAccess', _754 => _754.actions, 'optionalAccess', _755 => _755.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
35682
+ isAdminHeader && _optionalChain([config, 'optionalAccess', _761 => _761.actions, 'optionalAccess', _762 => _762.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
35620
35683
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
35621
35684
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
35622
35685
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
@@ -35624,8 +35687,8 @@ function HeaderSkeleton({ config }) {
35624
35687
  ] }),
35625
35688
  showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
35626
35689
  "hidden md:flex items-center gap-2",
35627
- _optionalChain([config, 'optionalAccess', _756 => _756.navigation, 'optionalAccess', _757 => _757.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
35628
- _optionalChain([config, 'optionalAccess', _758 => _758.navigation, 'optionalAccess', _759 => _759.position]) === "right" && "ml-auto mr-4"
35690
+ _optionalChain([config, 'optionalAccess', _763 => _763.navigation, 'optionalAccess', _764 => _764.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
35691
+ _optionalChain([config, 'optionalAccess', _765 => _765.navigation, 'optionalAccess', _766 => _766.position]) === "right" && "ml-auto mr-4"
35629
35692
  ), children: [
35630
35693
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
35631
35694
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
@@ -35741,7 +35804,7 @@ function SlidingSidebar({ config }) {
35741
35804
  variant: "transparent",
35742
35805
  size: "default",
35743
35806
  onClick: () => {
35744
- _optionalChain([item, 'access', _760 => _760.onClick, 'optionalCall', _761 => _761()]);
35807
+ _optionalChain([item, 'access', _767 => _767.onClick, 'optionalCall', _768 => _768()]);
35745
35808
  config.onClose();
35746
35809
  },
35747
35810
  leftIcon: item.icon,
@@ -35764,7 +35827,7 @@ function SlidingSidebar({ config }) {
35764
35827
  variant: "transparent",
35765
35828
  size: "default",
35766
35829
  onClick: () => {
35767
- _optionalChain([item, 'access', _762 => _762.onClick, 'optionalCall', _763 => _763()]);
35830
+ _optionalChain([item, 'access', _769 => _769.onClick, 'optionalCall', _770 => _770()]);
35768
35831
  config.onClose();
35769
35832
  },
35770
35833
  leftIcon: item.icon,
@@ -35896,7 +35959,7 @@ function StickySectionNav({
35896
35959
  ] });
35897
35960
  }
35898
35961
  function useSectionNavigation(sections, options) {
35899
- const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _764 => _764[0], 'optionalAccess', _765 => _765.id]) || "");
35962
+ const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _771 => _771[0], 'optionalAccess', _772 => _772.id]) || "");
35900
35963
  const isScrollingFromClick = _react.useRef.call(void 0, false);
35901
35964
  const { offset: offset2 = 100 } = options || {};
35902
35965
  const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
@@ -35920,7 +35983,7 @@ function useSectionNavigation(sections, options) {
35920
35983
  const handleScroll = () => {
35921
35984
  if (isScrollingFromClick.current) return;
35922
35985
  const scrollPosition = window.scrollY + offset2 + 50;
35923
- let currentSection = _optionalChain([sections, 'access', _766 => _766[0], 'optionalAccess', _767 => _767.id]) || "";
35986
+ let currentSection = _optionalChain([sections, 'access', _773 => _773[0], 'optionalAccess', _774 => _774.id]) || "";
35924
35987
  for (let i = sections.length - 1; i >= 0; i--) {
35925
35988
  const element = document.getElementById(sections[i].id);
35926
35989
  if (element && scrollPosition >= element.offsetTop) {
@@ -36111,7 +36174,7 @@ function NavigationSidebar({ config, disabled = false }) {
36111
36174
  } else {
36112
36175
  setDesktopMinimized((prev) => !prev);
36113
36176
  }
36114
- _optionalChain([config, 'access', _768 => _768.onToggleMinimized, 'optionalCall', _769 => _769()]);
36177
+ _optionalChain([config, 'access', _775 => _775.onToggleMinimized, 'optionalCall', _776 => _776()]);
36115
36178
  }, [isTablet, setDesktopMinimized, config]);
36116
36179
  const closeOverlay = _react.useCallback.call(void 0, () => {
36117
36180
  setTabletMinimized(true);
@@ -36125,11 +36188,11 @@ function NavigationSidebar({ config, disabled = false }) {
36125
36188
  return () => document.removeEventListener("keydown", handleKeyDown);
36126
36189
  }, [isOverlayOpen, closeOverlay]);
36127
36190
  const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
36128
- _optionalChain([event, 'optionalAccess', _770 => _770.stopPropagation, 'call', _771 => _771()]);
36191
+ _optionalChain([event, 'optionalAccess', _777 => _777.stopPropagation, 'call', _778 => _778()]);
36129
36192
  if (item.onClick) {
36130
36193
  item.onClick();
36131
36194
  } else if (item.path) {
36132
- _optionalChain([config, 'access', _772 => _772.onNavigate, 'optionalCall', _773 => _773(item.path)]);
36195
+ _optionalChain([config, 'access', _779 => _779.onNavigate, 'optionalCall', _780 => _780(item.path)]);
36133
36196
  }
36134
36197
  if (isTablet) setTabletMinimized(true);
36135
36198
  }, [config, isTablet]);
@@ -36254,11 +36317,11 @@ function HeaderGlobalSearch({
36254
36317
  };
36255
36318
  const handleSubmit = (e) => {
36256
36319
  e.preventDefault();
36257
- _optionalChain([onSubmit, 'optionalCall', _774 => _774(currentValue)]);
36320
+ _optionalChain([onSubmit, 'optionalCall', _781 => _781(currentValue)]);
36258
36321
  };
36259
36322
  const handleKeyDown = (e) => {
36260
36323
  if (e.key === "Enter") {
36261
- _optionalChain([onSubmit, 'optionalCall', _775 => _775(currentValue)]);
36324
+ _optionalChain([onSubmit, 'optionalCall', _782 => _782(currentValue)]);
36262
36325
  }
36263
36326
  };
36264
36327
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -36352,8 +36415,8 @@ function HeaderOrganizationFilter({
36352
36415
  className
36353
36416
  }) {
36354
36417
  const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
36355
- const displayName = _optionalChain([selectedOrg, 'optionalAccess', _776 => _776.name]) || "All Organizations";
36356
- const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _777 => _777.deviceCount]), () => ( totalDeviceCount));
36418
+ const displayName = _optionalChain([selectedOrg, 'optionalAccess', _783 => _783.name]) || "All Organizations";
36419
+ const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _784 => _784.deviceCount]), () => ( totalDeviceCount));
36357
36420
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenu, { children: [
36358
36421
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36359
36422
  "button",
@@ -36378,11 +36441,11 @@ function HeaderOrganizationFilter({
36378
36441
  }
36379
36442
  ) }),
36380
36443
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
36381
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _778 => _778("")]), children: "All Organizations" }),
36444
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _785 => _785("")]), children: "All Organizations" }),
36382
36445
  organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36383
36446
  _chunkE6WANQ6Kcjs.DropdownMenuItem,
36384
36447
  {
36385
- onClick: () => _optionalChain([onOrgChange, 'optionalCall', _779 => _779(org.id)]),
36448
+ onClick: () => _optionalChain([onOrgChange, 'optionalCall', _786 => _786(org.id)]),
36386
36449
  children: org.name
36387
36450
  },
36388
36451
  org.id
@@ -36572,9 +36635,9 @@ function NotificationsHeaderButton({
36572
36635
  dimmedClass
36573
36636
  }) {
36574
36637
  const ctx = useOptionalNotifications();
36575
- const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _780 => _780.unreadCount]), () => ( fallbackUnreadCount))) > 0;
36576
- const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _781 => _781.isOpen]), () => ( false));
36577
- const onClick = _optionalChain([ctx, 'optionalAccess', _782 => _782.toggle]);
36638
+ const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _787 => _787.unreadCount]), () => ( fallbackUnreadCount))) > 0;
36639
+ const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _788 => _788.isOpen]), () => ( false));
36640
+ const onClick = _optionalChain([ctx, 'optionalAccess', _789 => _789.toggle]);
36578
36641
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36579
36642
  HeaderButton,
36580
36643
  {
@@ -36621,7 +36684,7 @@ var MobileBurgerMenu = React121.default.memo(function MobileBurgerMenu2({
36621
36684
  if (item.onClick) {
36622
36685
  item.onClick();
36623
36686
  } else if (item.path) {
36624
- _optionalChain([config, 'access', _783 => _783.onNavigate, 'optionalCall', _784 => _784(item.path)]);
36687
+ _optionalChain([config, 'access', _790 => _790.onNavigate, 'optionalCall', _791 => _791(item.path)]);
36625
36688
  }
36626
36689
  onClose();
36627
36690
  }, [config, onClose]);
@@ -37227,7 +37290,7 @@ var ShellTypeBadge = ({
37227
37290
  className,
37228
37291
  iconClassName
37229
37292
  }) => {
37230
- const normalizedType = _optionalChain([shellType, 'optionalAccess', _785 => _785.toUpperCase, 'call', _786 => _786()]);
37293
+ const normalizedType = _optionalChain([shellType, 'optionalAccess', _792 => _792.toUpperCase, 'call', _793 => _793()]);
37231
37294
  const label = getShellLabel(normalizedType);
37232
37295
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
37233
37296
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
@@ -37614,12 +37677,12 @@ function OnboardingWalkthrough({
37614
37677
  }
37615
37678
  }, [state.completedSteps, markComplete]);
37616
37679
  const handleStepSkip = (step) => {
37617
- _optionalChain([step, 'access', _787 => _787.onSkip, 'optionalCall', _788 => _788()]);
37680
+ _optionalChain([step, 'access', _794 => _794.onSkip, 'optionalCall', _795 => _795()]);
37618
37681
  markSkipped(step.id);
37619
37682
  };
37620
37683
  const handleDismiss = () => {
37621
37684
  dismissOnboarding();
37622
- _optionalChain([onDismiss, 'optionalCall', _789 => _789()]);
37685
+ _optionalChain([onDismiss, 'optionalCall', _796 => _796()]);
37623
37686
  };
37624
37687
  if (state.dismissed) {
37625
37688
  return null;
@@ -37749,7 +37812,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
37749
37812
  onKeyDown: (e) => {
37750
37813
  if (e.key === "Enter" || e.key === " ") {
37751
37814
  e.preventDefault();
37752
- _optionalChain([onClick, 'optionalCall', _790 => _790()]);
37815
+ _optionalChain([onClick, 'optionalCall', _797 => _797()]);
37753
37816
  }
37754
37817
  },
37755
37818
  children: [
@@ -37850,7 +37913,7 @@ var LogsList = React118.forwardRef(({
37850
37913
  log,
37851
37914
  isLast: index === logs.length - 1,
37852
37915
  showConnector,
37853
- onClick: () => _optionalChain([onLogClick, 'optionalCall', _791 => _791(log)])
37916
+ onClick: () => _optionalChain([onLogClick, 'optionalCall', _798 => _798(log)])
37854
37917
  },
37855
37918
  log.id
37856
37919
  ))
@@ -37951,7 +38014,7 @@ var Slider = React120.forwardRef(
37951
38014
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
37952
38015
  const handleChange = (e) => {
37953
38016
  const newValue = [Number(e.target.value)];
37954
- _optionalChain([onValueChange, 'optionalCall', _792 => _792(newValue)]);
38017
+ _optionalChain([onValueChange, 'optionalCall', _799 => _799(newValue)]);
37955
38018
  };
37956
38019
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
37957
38020
  "input",
@@ -38385,7 +38448,7 @@ function CursorPaginationSimple({
38385
38448
  {
38386
38449
  variant: "transparent",
38387
38450
  size: "icon",
38388
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _793 => _793("")]),
38451
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _800 => _800("")]),
38389
38452
  disabled: !hasPreviousPage || loading,
38390
38453
  className: "h-8 w-8",
38391
38454
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -38397,7 +38460,7 @@ function CursorPaginationSimple({
38397
38460
  {
38398
38461
  variant: "transparent",
38399
38462
  size: "icon",
38400
- onClick: () => _optionalChain([onNext, 'optionalCall', _794 => _794("")]),
38463
+ onClick: () => _optionalChain([onNext, 'optionalCall', _801 => _801("")]),
38401
38464
  disabled: !hasNextPage || loading,
38402
38465
  className: "h-8 w-8",
38403
38466
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -38417,8 +38480,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
38417
38480
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
38418
38481
  title: _nullishCoalesce(message2, () => ( "No results found")),
38419
38482
  description: message2 == null ? "Try adjusting your search or filters" : void 0,
38420
- buttonLabel: _optionalChain([action, 'optionalAccess', _795 => _795.label]),
38421
- onButtonClick: _optionalChain([action, 'optionalAccess', _796 => _796.onClick]),
38483
+ buttonLabel: _optionalChain([action, 'optionalAccess', _802 => _802.label]),
38484
+ onButtonClick: _optionalChain([action, 'optionalAccess', _803 => _803.onClick]),
38422
38485
  className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
38423
38486
  }
38424
38487
  );
@@ -38439,7 +38502,7 @@ function TableColumnFilterDropdown({
38439
38502
  placement = "bottom-start",
38440
38503
  dropdownClassName = "min-w-[240px]"
38441
38504
  }) {
38442
- const activeCount = _optionalChain([filters, 'optionalAccess', _797 => _797[columnKey], 'optionalAccess', _798 => _798.length]) || 0;
38505
+ const activeCount = _optionalChain([filters, 'optionalAccess', _804 => _804[columnKey], 'optionalAccess', _805 => _805.length]) || 0;
38443
38506
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38444
38507
  FiltersDropdown,
38445
38508
  {
@@ -38482,7 +38545,7 @@ function TableColumnFilterDropdown({
38482
38545
  delete newFilters[columnKey];
38483
38546
  onFilterChange(newFilters);
38484
38547
  },
38485
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _799 => _799[columnKey]]) || [] },
38548
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _806 => _806[columnKey]]) || [] },
38486
38549
  placement,
38487
38550
  dropdownClassName
38488
38551
  }
@@ -38692,7 +38755,7 @@ function TableCardSkeleton({
38692
38755
  className,
38693
38756
  rowClassName
38694
38757
  }) {
38695
- const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _800 => _800.key]);
38758
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _807 => _807.key]);
38696
38759
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38697
38760
  "div",
38698
38761
  {
@@ -38785,7 +38848,7 @@ function TableRow({
38785
38848
  const keys = column.key.split(".");
38786
38849
  let value = item;
38787
38850
  for (const key of keys) {
38788
- value = _optionalChain([value, 'optionalAccess', _801 => _801[key]]);
38851
+ value = _optionalChain([value, 'optionalAccess', _808 => _808[key]]);
38789
38852
  }
38790
38853
  if (value === null || value === void 0) {
38791
38854
  return "-";
@@ -38874,7 +38937,7 @@ function useTableMotion(enabled) {
38874
38937
  // src/components/ui/table/table.tsx
38875
38938
 
38876
38939
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
38877
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _802 => _802.length])) || Boolean(renderRowActions);
38940
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _809 => _809.length])) || Boolean(renderRowActions);
38878
38941
  const result = [...columns];
38879
38942
  if (hasActions) {
38880
38943
  const actionsColumn = {
@@ -38970,7 +39033,7 @@ function Table({
38970
39033
  return rowKey(item);
38971
39034
  }
38972
39035
  const key = item[rowKey];
38973
- return _optionalChain([key, 'optionalAccess', _803 => _803.toString, 'call', _804 => _804()]) || index.toString();
39036
+ return _optionalChain([key, 'optionalAccess', _810 => _810.toString, 'call', _811 => _811()]) || index.toString();
38974
39037
  };
38975
39038
  const getRowClassName = (item, index) => {
38976
39039
  if (typeof rowClassName === "function") {
@@ -39004,23 +39067,23 @@ function Table({
39004
39067
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
39005
39068
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
39006
39069
  const sentinelRef = _react.useRef.call(void 0, null);
39007
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _805 => _805.onLoadMore]));
39008
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _806 => _806.onLoadMore]);
39070
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _812 => _812.onLoadMore]));
39071
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _813 => _813.onLoadMore]);
39009
39072
  _react.useEffect.call(void 0, () => {
39010
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _807 => _807.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
39073
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _814 => _814.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
39011
39074
  const sentinel = sentinelRef.current;
39012
39075
  if (!sentinel) return;
39013
39076
  const observer = new IntersectionObserver(
39014
39077
  (entries) => {
39015
- if (_optionalChain([entries, 'access', _808 => _808[0], 'optionalAccess', _809 => _809.isIntersecting])) {
39016
- _optionalChain([onLoadMoreRef, 'access', _810 => _810.current, 'optionalCall', _811 => _811()]);
39078
+ if (_optionalChain([entries, 'access', _815 => _815[0], 'optionalAccess', _816 => _816.isIntersecting])) {
39079
+ _optionalChain([onLoadMoreRef, 'access', _817 => _817.current, 'optionalCall', _818 => _818()]);
39017
39080
  }
39018
39081
  },
39019
39082
  { rootMargin: "200px" }
39020
39083
  );
39021
39084
  observer.observe(sentinel);
39022
39085
  return () => observer.disconnect();
39023
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _812 => _812.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _813 => _813.isFetchingNextPage])]);
39086
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _819 => _819.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _820 => _820.isFetchingNextPage])]);
39024
39087
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
39025
39088
  showToolbar && bulkActions && selectedRows.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between bg-ods-card border border-ods-border rounded-[6px] p-3 mb-2", children: [
39026
39089
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -39090,14 +39153,14 @@ function Table({
39090
39153
  selected: isRowSelected(item),
39091
39154
  onSelect: handleSelectRow,
39092
39155
  animateRowReorder,
39093
- motionDiv: _optionalChain([tableMotion, 'optionalAccess', _814 => _814.motionDiv])
39156
+ motionDiv: _optionalChain([tableMotion, 'optionalAccess', _821 => _821.motionDiv])
39094
39157
  },
39095
39158
  getRowKey(item, index)
39096
39159
  ));
39097
- const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _815 => _815.LayoutGroup]);
39160
+ const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _822 => _822.LayoutGroup]);
39098
39161
  return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
39099
39162
  })(),
39100
- _optionalChain([infiniteScroll, 'optionalAccess', _816 => _816.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39163
+ _optionalChain([infiniteScroll, 'optionalAccess', _823 => _823.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39101
39164
  TableCardSkeleton,
39102
39165
  {
39103
39166
  columns,
@@ -39106,7 +39169,7 @@ function Table({
39106
39169
  hasChevron: Boolean(rowHref)
39107
39170
  }
39108
39171
  ),
39109
- _optionalChain([infiniteScroll, 'optionalAccess', _817 => _817.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
39172
+ _optionalChain([infiniteScroll, 'optionalAccess', _824 => _824.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
39110
39173
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39111
39174
  "div",
39112
39175
  {
@@ -39464,7 +39527,7 @@ function QueryReportTable({
39464
39527
  );
39465
39528
  const handleExport = () => {
39466
39529
  exportToCSV(data, columns, exportFilename);
39467
- _optionalChain([onExport, 'optionalCall', _818 => _818()]);
39530
+ _optionalChain([onExport, 'optionalCall', _825 => _825()]);
39468
39531
  };
39469
39532
  const tableMinWidth = columns.length * (columnWidth + 16);
39470
39533
  const {
@@ -39637,7 +39700,7 @@ function DataTableColumnFilter({
39637
39700
  align = "left"
39638
39701
  }) {
39639
39702
  const currentValue = column.getFilterValue();
39640
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _819 => _819.length]), () => ( 0));
39703
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _826 => _826.length]), () => ( 0));
39641
39704
  const sections = _react.useMemo.call(void 0,
39642
39705
  () => [
39643
39706
  {
@@ -39718,7 +39781,7 @@ function DataTableHeader({
39718
39781
  if (header.isPlaceholder) return false;
39719
39782
  if (isLgUp) return true;
39720
39783
  const meta = header.column.columnDef.meta;
39721
- return Boolean(_optionalChain([meta, 'optionalAccess', _820 => _820.filter])) || _optionalChain([meta, 'optionalAccess', _821 => _821.alwaysShowHeader]) === true;
39784
+ return Boolean(_optionalChain([meta, 'optionalAccess', _827 => _827.filter])) || _optionalChain([meta, 'optionalAccess', _828 => _828.alwaysShowHeader]) === true;
39722
39785
  });
39723
39786
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39724
39787
  "div",
@@ -39748,21 +39811,21 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
39748
39811
  if (header.isPlaceholder) return null;
39749
39812
  const column = header.column;
39750
39813
  const meta = column.columnDef.meta;
39751
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _822 => _822.filter]));
39752
- const keepOnTablet = hasFilter || _optionalChain([meta, 'optionalAccess', _823 => _823.alwaysShowHeader]) === true;
39753
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _824 => _824.align]), () => ( "left"));
39754
- const canSort = _optionalChain([meta, 'optionalAccess', _825 => _825.sortable]) === true;
39755
- const sortDir = _optionalChain([sort, 'optionalAccess', _826 => _826.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
39814
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _829 => _829.filter]));
39815
+ const keepOnTablet = hasFilter || _optionalChain([meta, 'optionalAccess', _830 => _830.alwaysShowHeader]) === true;
39816
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _831 => _831.align]), () => ( "left"));
39817
+ const canSort = _optionalChain([meta, 'optionalAccess', _832 => _832.sortable]) === true;
39818
+ const sortDir = _optionalChain([sort, 'optionalAccess', _833 => _833.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
39756
39819
  if (!isLgUp && !keepOnTablet) return null;
39757
39820
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39758
39821
  "div",
39759
39822
  {
39760
39823
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39761
39824
  "flex items-stretch",
39762
- isLgUp && (_optionalChain([meta, 'optionalAccess', _827 => _827.width]) || "flex-1 min-w-0"),
39763
- _optionalChain([meta, 'optionalAccess', _828 => _828.headerClassName]),
39825
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _834 => _834.width]) || "flex-1 min-w-0"),
39826
+ _optionalChain([meta, 'optionalAccess', _835 => _835.headerClassName]),
39764
39827
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
39765
- !(keepOnTablet && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _829 => _829.hideAt]))
39828
+ !(keepOnTablet && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _836 => _836.hideAt]))
39766
39829
  ),
39767
39830
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39768
39831
  DataTableColumnFilter,
@@ -39781,7 +39844,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
39781
39844
  isLgUp && alignJustify(align),
39782
39845
  canSort && "group cursor-pointer"
39783
39846
  ),
39784
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _830 => _830(column.id)]) : void 0,
39847
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _837 => _837(column.id)]) : void 0,
39785
39848
  children: [
39786
39849
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
39787
39850
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -39846,7 +39909,7 @@ function DataTableSkeleton({
39846
39909
  }) {
39847
39910
  const table = useDataTableContext();
39848
39911
  const columns = table.getVisibleFlatColumns();
39849
- const firstColumnId = _optionalChain([columns, 'access', _831 => _831[0], 'optionalAccess', _832 => _832.id]);
39912
+ const firstColumnId = _optionalChain([columns, 'access', _838 => _838[0], 'optionalAccess', _839 => _839.id]);
39850
39913
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39851
39914
  "div",
39852
39915
  {
@@ -39870,7 +39933,7 @@ function DataTableSkeleton({
39870
39933
  {
39871
39934
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39872
39935
  "flex flex-col justify-center shrink-0",
39873
- _optionalChain([meta, 'optionalAccess', _833 => _833.width]) || "flex-1"
39936
+ _optionalChain([meta, 'optionalAccess', _840 => _840.width]) || "flex-1"
39874
39937
  ),
39875
39938
  children: [
39876
39939
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -39920,7 +39983,7 @@ function DataTableRowImpl({
39920
39983
  const handleClick = _react.useCallback.call(void 0,
39921
39984
  (e) => {
39922
39985
  const target = e.target;
39923
- if (!_optionalChain([containerRef, 'access', _834 => _834.current, 'optionalAccess', _835 => _835.contains, 'call', _836 => _836(target)])) {
39986
+ if (!_optionalChain([containerRef, 'access', _841 => _841.current, 'optionalAccess', _842 => _842.contains, 'call', _843 => _843(target)])) {
39924
39987
  if (isLinkMode) e.preventDefault();
39925
39988
  return;
39926
39989
  }
@@ -39928,7 +39991,7 @@ function DataTableRowImpl({
39928
39991
  if (isLinkMode) e.preventDefault();
39929
39992
  return;
39930
39993
  }
39931
- _optionalChain([onClick, 'optionalCall', _837 => _837(row.original)]);
39994
+ _optionalChain([onClick, 'optionalCall', _844 => _844(row.original)]);
39932
39995
  },
39933
39996
  [onClick, row.original, isLinkMode]
39934
39997
  );
@@ -39953,10 +40016,10 @@ function DataTableRowImpl({
39953
40016
  {
39954
40017
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39955
40018
  "flex flex-col overflow-hidden",
39956
- alignJustify(_optionalChain([meta, 'optionalAccess', _838 => _838.align])),
39957
- _optionalChain([meta, 'optionalAccess', _839 => _839.width]) || "flex-1 min-w-0",
39958
- _optionalChain([meta, 'optionalAccess', _840 => _840.cellClassName]),
39959
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _841 => _841.hideAt]))
40019
+ alignJustify(_optionalChain([meta, 'optionalAccess', _845 => _845.align])),
40020
+ _optionalChain([meta, 'optionalAccess', _846 => _846.width]) || "flex-1 min-w-0",
40021
+ _optionalChain([meta, 'optionalAccess', _847 => _847.cellClassName]),
40022
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _848 => _848.hideAt]))
39960
40023
  ),
39961
40024
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
39962
40025
  },
@@ -40036,7 +40099,7 @@ function DataTableBody({
40036
40099
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xsf)] w-full", className), children: [
40037
40100
  rows.map((row, index) => {
40038
40101
  const item = row.original;
40039
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _842 => _842(item)]), () => ( void 0));
40102
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _849 => _849(item)]), () => ( void 0));
40040
40103
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
40041
40104
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40042
40105
  DataTableRow,
@@ -40047,7 +40110,7 @@ function DataTableBody({
40047
40110
  compact,
40048
40111
  autoHeight,
40049
40112
  className: cls,
40050
- subRow: _optionalChain([renderSubRow, 'optionalCall', _843 => _843(item)])
40113
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _850 => _850(item)])
40051
40114
  },
40052
40115
  row.id
40053
40116
  );
@@ -40102,7 +40165,7 @@ function DataTableInfiniteFooter({
40102
40165
  if (!sentinel) return;
40103
40166
  const observer = new IntersectionObserver(
40104
40167
  (entries) => {
40105
- if (_optionalChain([entries, 'access', _844 => _844[0], 'optionalAccess', _845 => _845.isIntersecting])) onLoadMoreRef.current();
40168
+ if (_optionalChain([entries, 'access', _851 => _851[0], 'optionalAccess', _852 => _852.isIntersecting])) onLoadMoreRef.current();
40106
40169
  },
40107
40170
  { rootMargin }
40108
40171
  );
@@ -40150,7 +40213,7 @@ function DataTableRowCount({
40150
40213
  const table = useDataTableContext();
40151
40214
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
40152
40215
  if (hideWhenEmpty && count === 0) return null;
40153
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _846 => _846(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
40216
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _853 => _853(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
40154
40217
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40155
40218
  "span",
40156
40219
  {
@@ -40309,7 +40372,7 @@ function SearchInput({
40309
40372
  if (!showHiddenTags) return;
40310
40373
  const handleClick = (e) => {
40311
40374
  const target = e.target;
40312
- if (!_optionalChain([hiddenTagsRef, 'access', _847 => _847.current, 'optionalAccess', _848 => _848.contains, 'call', _849 => _849(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _850 => _850.current, 'optionalAccess', _851 => _851.contains, 'call', _852 => _852(target)])) {
40375
+ if (!_optionalChain([hiddenTagsRef, 'access', _854 => _854.current, 'optionalAccess', _855 => _855.contains, 'call', _856 => _856(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _857 => _857.current, 'optionalAccess', _858 => _858.contains, 'call', _859 => _859(target)])) {
40313
40376
  setShowHiddenTags(false);
40314
40377
  }
40315
40378
  };
@@ -40357,10 +40420,10 @@ function SearchInput({
40357
40420
  } else {
40358
40421
  setInternalValue("");
40359
40422
  }
40360
- _optionalChain([inputRef, 'access', _853 => _853.current, 'optionalAccess', _854 => _854.focus, 'call', _855 => _855()]);
40423
+ _optionalChain([inputRef, 'access', _860 => _860.current, 'optionalAccess', _861 => _861.focus, 'call', _862 => _862()]);
40361
40424
  };
40362
40425
  const handleResultClick = (result, e) => {
40363
- _optionalChain([onResultSelect, 'optionalCall', _856 => _856(
40426
+ _optionalChain([onResultSelect, 'optionalCall', _863 => _863(
40364
40427
  result,
40365
40428
  e ? {
40366
40429
  metaKey: e.metaKey,
@@ -40392,7 +40455,7 @@ function SearchInput({
40392
40455
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
40393
40456
  handleResultClick(flatResults[highlightedIndex]);
40394
40457
  } else {
40395
- _optionalChain([onSubmit, 'optionalCall', _857 => _857(currentValue)]);
40458
+ _optionalChain([onSubmit, 'optionalCall', _864 => _864(currentValue)]);
40396
40459
  }
40397
40460
  break;
40398
40461
  case "Escape":
@@ -40470,7 +40533,7 @@ function SearchInput({
40470
40533
  dropdownVisible && "!border-ods-accent"
40471
40534
  ),
40472
40535
  onClick: () => {
40473
- _optionalChain([inputRef, 'access', _858 => _858.current, 'optionalAccess', _859 => _859.focus, 'call', _860 => _860()]);
40536
+ _optionalChain([inputRef, 'access', _865 => _865.current, 'optionalAccess', _866 => _866.focus, 'call', _867 => _867()]);
40474
40537
  setIsOpen(true);
40475
40538
  },
40476
40539
  children: [
@@ -40554,10 +40617,10 @@ function SearchInput({
40554
40617
  align: "start",
40555
40618
  onOpenAutoFocus: (e) => {
40556
40619
  e.preventDefault();
40557
- _optionalChain([inputRef, 'access', _861 => _861.current, 'optionalAccess', _862 => _862.focus, 'call', _863 => _863()]);
40620
+ _optionalChain([inputRef, 'access', _868 => _868.current, 'optionalAccess', _869 => _869.focus, 'call', _870 => _870()]);
40558
40621
  },
40559
40622
  onInteractOutside: (e) => {
40560
- if (_optionalChain([containerRef, 'access', _864 => _864.current, 'optionalAccess', _865 => _865.contains, 'call', _866 => _866(e.target)])) {
40623
+ if (_optionalChain([containerRef, 'access', _871 => _871.current, 'optionalAccess', _872 => _872.contains, 'call', _873 => _873(e.target)])) {
40561
40624
  e.preventDefault();
40562
40625
  }
40563
40626
  },
@@ -40574,10 +40637,10 @@ function SearchInput({
40574
40637
  ref: hiddenTagsPopupRef,
40575
40638
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
40576
40639
  style: {
40577
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _867 => _867.current, 'optionalAccess', _868 => _868.getBoundingClientRect, 'call', _869 => _869(), 'access', _870 => _870.left]), () => ( 0))) : 0
40640
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _874 => _874.current, 'optionalAccess', _875 => _875.getBoundingClientRect, 'call', _876 => _876(), 'access', _877 => _877.left]), () => ( 0))) : 0
40578
40641
  },
40579
40642
  onRemove: (value2) => {
40580
- _optionalChain([onFilterRemove, 'optionalCall', _871 => _871(value2)]);
40643
+ _optionalChain([onFilterRemove, 'optionalCall', _878 => _878(value2)]);
40581
40644
  if (hiddenCount <= 1) setShowHiddenTags(false);
40582
40645
  }
40583
40646
  }
@@ -40628,7 +40691,7 @@ function FilterListItem({
40628
40691
  }) {
40629
40692
  const handleToggle = () => {
40630
40693
  if (disabled) return;
40631
- _optionalChain([onToggle, 'optionalCall', _872 => _872(!selected)]);
40694
+ _optionalChain([onToggle, 'optionalCall', _879 => _879(!selected)]);
40632
40695
  };
40633
40696
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40634
40697
  "div",
@@ -40675,7 +40738,7 @@ function FilterListItem({
40675
40738
  CheckboxPrimitive4.Root,
40676
40739
  {
40677
40740
  checked: selected,
40678
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _873 => _873(c === true)]),
40741
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _880 => _880(c === true)]),
40679
40742
  onClick: (e) => e.stopPropagation(),
40680
40743
  disabled,
40681
40744
  "aria-label": title,
@@ -40774,7 +40837,7 @@ function TagSearchInput({
40774
40837
  if (!showHiddenTags) return;
40775
40838
  const handleClick = (e) => {
40776
40839
  const target = e.target;
40777
- if (!_optionalChain([hiddenTagsRef, 'access', _874 => _874.current, 'optionalAccess', _875 => _875.contains, 'call', _876 => _876(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _877 => _877.current, 'optionalAccess', _878 => _878.contains, 'call', _879 => _879(target)])) {
40840
+ if (!_optionalChain([hiddenTagsRef, 'access', _881 => _881.current, 'optionalAccess', _882 => _882.contains, 'call', _883 => _883(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _884 => _884.current, 'optionalAccess', _885 => _885.contains, 'call', _886 => _886(target)])) {
40778
40841
  setShowHiddenTags(false);
40779
40842
  }
40780
40843
  };
@@ -40790,13 +40853,13 @@ function TagSearchInput({
40790
40853
  e.preventDefault();
40791
40854
  onSubmit(searchValue);
40792
40855
  }
40793
- _optionalChain([onKeyDown, 'optionalCall', _880 => _880(e)]);
40856
+ _optionalChain([onKeyDown, 'optionalCall', _887 => _887(e)]);
40794
40857
  };
40795
40858
  const handleClearAll = (e) => {
40796
40859
  e.stopPropagation();
40797
40860
  e.preventDefault();
40798
- _optionalChain([onClearAll, 'optionalCall', _881 => _881()]);
40799
- _optionalChain([inputRef, 'access', _882 => _882.current, 'optionalAccess', _883 => _883.focus, 'call', _884 => _884()]);
40861
+ _optionalChain([onClearAll, 'optionalCall', _888 => _888()]);
40862
+ _optionalChain([inputRef, 'access', _889 => _889.current, 'optionalAccess', _890 => _890.focus, 'call', _891 => _891()]);
40800
40863
  };
40801
40864
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
40802
40865
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -40813,7 +40876,7 @@ function TagSearchInput({
40813
40876
  className
40814
40877
  ),
40815
40878
  onClick: () => {
40816
- if (!disabled) _optionalChain([inputRef, 'access', _885 => _885.current, 'optionalAccess', _886 => _886.focus, 'call', _887 => _887()]);
40879
+ if (!disabled) _optionalChain([inputRef, 'access', _892 => _892.current, 'optionalAccess', _893 => _893.focus, 'call', _894 => _894()]);
40817
40880
  },
40818
40881
  children: [
40819
40882
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
@@ -40885,7 +40948,7 @@ function TagSearchInput({
40885
40948
  items: hiddenTags,
40886
40949
  disabled,
40887
40950
  style: {
40888
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _888 => _888.current, 'optionalAccess', _889 => _889.getBoundingClientRect, 'call', _890 => _890(), 'access', _891 => _891.left]), () => ( 0))) : 0
40951
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _895 => _895.current, 'optionalAccess', _896 => _896.getBoundingClientRect, 'call', _897 => _897(), 'access', _898 => _898.left]), () => ( 0))) : 0
40889
40952
  },
40890
40953
  onRemove: (value) => {
40891
40954
  onTagRemove(value);
@@ -40986,7 +41049,7 @@ function MarkdownEditor({
40986
41049
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
40987
41050
  _react.useEffect.call(void 0, () => {
40988
41051
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
40989
- if (_optionalChain([mod, 'access', _892 => _892.commands, 'optionalAccess', _893 => _893.getExtraCommands])) {
41052
+ if (_optionalChain([mod, 'access', _899 => _899.commands, 'optionalAccess', _900 => _900.getExtraCommands])) {
40990
41053
  setDefaultExtraCommands(mod.commands.getExtraCommands());
40991
41054
  }
40992
41055
  });
@@ -41020,7 +41083,7 @@ function MarkdownEditor({
41020
41083
  const isImage = file.type.startsWith("image/");
41021
41084
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
41022
41085
  insertTextAtCursor(markdown);
41023
- _optionalChain([onFileUploaded, 'optionalCall', _894 => _894(url, file.name)]);
41086
+ _optionalChain([onFileUploaded, 'optionalCall', _901 => _901(url, file.name)]);
41024
41087
  } catch (error) {
41025
41088
  console.error("File upload failed:", error);
41026
41089
  setUploadProgress("Upload failed. Please try again.");
@@ -41033,7 +41096,7 @@ function MarkdownEditor({
41033
41096
  );
41034
41097
  const handleFileInputChange = _react.useCallback.call(void 0,
41035
41098
  (e) => {
41036
- const file = _optionalChain([e, 'access', _895 => _895.target, 'access', _896 => _896.files, 'optionalAccess', _897 => _897[0]]);
41099
+ const file = _optionalChain([e, 'access', _902 => _902.target, 'access', _903 => _903.files, 'optionalAccess', _904 => _904[0]]);
41037
41100
  if (file) {
41038
41101
  handleFileUpload(file);
41039
41102
  e.target.value = "";
@@ -41044,7 +41107,7 @@ function MarkdownEditor({
41044
41107
  const handlePaste = _react.useCallback.call(void 0,
41045
41108
  (e) => {
41046
41109
  if (!onUploadFile) return;
41047
- const items = _optionalChain([e, 'access', _898 => _898.clipboardData, 'optionalAccess', _899 => _899.items]);
41110
+ const items = _optionalChain([e, 'access', _905 => _905.clipboardData, 'optionalAccess', _906 => _906.items]);
41048
41111
  if (!items) return;
41049
41112
  for (const item of items) {
41050
41113
  if (item.type.startsWith("image/")) {
@@ -41069,7 +41132,7 @@ function MarkdownEditor({
41069
41132
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
41070
41133
  icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "w-3 h-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "w-3 h-3" }),
41071
41134
  execute: () => {
41072
- _optionalChain([fileInputRef, 'access', _900 => _900.current, 'optionalAccess', _901 => _901.click, 'call', _902 => _902()]);
41135
+ _optionalChain([fileInputRef, 'access', _907 => _907.current, 'optionalAccess', _908 => _908.click, 'call', _909 => _909()]);
41073
41136
  }
41074
41137
  } : null;
41075
41138
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -41081,7 +41144,7 @@ function MarkdownEditor({
41081
41144
  const EDGE_ZONE = 60;
41082
41145
  const MAX_SCROLL_SPEED = 15;
41083
41146
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
41084
- let node = _optionalChain([el, 'optionalAccess', _903 => _903.parentElement]);
41147
+ let node = _optionalChain([el, 'optionalAccess', _910 => _910.parentElement]);
41085
41148
  while (node && node !== document.documentElement) {
41086
41149
  const { overflowY } = window.getComputedStyle(node);
41087
41150
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -41224,7 +41287,7 @@ function matchesAccept(file, accept) {
41224
41287
  });
41225
41288
  }
41226
41289
  function dragHasFiles(e) {
41227
- const types = _optionalChain([e, 'access', _904 => _904.dataTransfer, 'optionalAccess', _905 => _905.types]);
41290
+ const types = _optionalChain([e, 'access', _911 => _911.dataTransfer, 'optionalAccess', _912 => _912.types]);
41228
41291
  if (!types) return false;
41229
41292
  for (let i = 0; i < types.length; i++) {
41230
41293
  if (types[i] === "Files") return true;
@@ -41320,7 +41383,7 @@ function FileUpload({
41320
41383
  e.stopPropagation();
41321
41384
  setDragActive(false);
41322
41385
  if (disabled) return;
41323
- if (_optionalChain([e, 'access', _906 => _906.dataTransfer, 'access', _907 => _907.files, 'optionalAccess', _908 => _908.length])) {
41386
+ if (_optionalChain([e, 'access', _913 => _913.dataTransfer, 'access', _914 => _914.files, 'optionalAccess', _915 => _915.length])) {
41324
41387
  handleFiles(e.dataTransfer.files);
41325
41388
  }
41326
41389
  };
@@ -41348,7 +41411,7 @@ function FileUpload({
41348
41411
  e.preventDefault();
41349
41412
  dragCounter = 0;
41350
41413
  setDragActive(false);
41351
- if (_optionalChain([e, 'access', _909 => _909.dataTransfer, 'optionalAccess', _910 => _910.files, 'optionalAccess', _911 => _911.length])) {
41414
+ if (_optionalChain([e, 'access', _916 => _916.dataTransfer, 'optionalAccess', _917 => _917.files, 'optionalAccess', _918 => _918.length])) {
41352
41415
  handleFilesRef.current(e.dataTransfer.files);
41353
41416
  }
41354
41417
  };
@@ -41370,7 +41433,7 @@ function FileUpload({
41370
41433
  };
41371
41434
  }, [acceptWindowDrops, disabled]);
41372
41435
  const handleFileSelect = (e) => {
41373
- if (_optionalChain([e, 'access', _912 => _912.target, 'access', _913 => _913.files, 'optionalAccess', _914 => _914.length])) {
41436
+ if (_optionalChain([e, 'access', _919 => _919.target, 'access', _920 => _920.files, 'optionalAccess', _921 => _921.length])) {
41374
41437
  handleFiles(e.target.files);
41375
41438
  }
41376
41439
  };
@@ -41387,7 +41450,7 @@ function FileUpload({
41387
41450
  };
41388
41451
  const openDialog = async () => {
41389
41452
  if (disabled) return;
41390
- _optionalChain([fileInputRef, 'access', _915 => _915.current, 'optionalAccess', _916 => _916.click, 'call', _917 => _917()]);
41453
+ _optionalChain([fileInputRef, 'access', _922 => _922.current, 'optionalAccess', _923 => _923.click, 'call', _924 => _924()]);
41391
41454
  };
41392
41455
  const displayError = error || validationError || void 0;
41393
41456
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -41449,7 +41512,7 @@ function FileUpload({
41449
41512
  "button",
41450
41513
  {
41451
41514
  type: "button",
41452
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _918 => _918(entry.id)]),
41515
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _925 => _925(entry.id)]),
41453
41516
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
41454
41517
  "aria-label": `Remove ${entry.fileName}`,
41455
41518
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrashIcon, { className: "size-6" })
@@ -41580,7 +41643,7 @@ function ImageUploader({
41580
41643
  onChange(file);
41581
41644
  };
41582
41645
  const handleFileSelect = (e) => {
41583
- validateAndEmit(_optionalChain([e, 'access', _919 => _919.target, 'access', _920 => _920.files, 'optionalAccess', _921 => _921[0]]));
41646
+ validateAndEmit(_optionalChain([e, 'access', _926 => _926.target, 'access', _927 => _927.files, 'optionalAccess', _928 => _928[0]]));
41584
41647
  if (inputRef.current) inputRef.current.value = "";
41585
41648
  };
41586
41649
  const handleDrag = (e) => {
@@ -41595,11 +41658,11 @@ function ImageUploader({
41595
41658
  e.stopPropagation();
41596
41659
  setDragActive(false);
41597
41660
  if (!interactive) return;
41598
- validateAndEmit(_optionalChain([e, 'access', _922 => _922.dataTransfer, 'access', _923 => _923.files, 'optionalAccess', _924 => _924[0]]));
41661
+ validateAndEmit(_optionalChain([e, 'access', _929 => _929.dataTransfer, 'access', _930 => _930.files, 'optionalAccess', _931 => _931[0]]));
41599
41662
  };
41600
41663
  const openDialog = () => {
41601
41664
  if (!interactive) return;
41602
- _optionalChain([inputRef, 'access', _925 => _925.current, 'optionalAccess', _926 => _926.click, 'call', _927 => _927()]);
41665
+ _optionalChain([inputRef, 'access', _932 => _932.current, 'optionalAccess', _933 => _933.click, 'call', _934 => _934()]);
41603
41666
  };
41604
41667
  const handleRootKeyDown = (e) => {
41605
41668
  if (hasImage || !interactive) return;
@@ -41790,8 +41853,8 @@ function ColorPresetSelect({
41790
41853
  }) {
41791
41854
  const selectedPreset = presets.find((p) => p.key === presetKey);
41792
41855
  const isCustom = !selectedPreset;
41793
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _928 => _928.label]), () => ( "Custom"));
41794
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _929 => _929.color]), () => ( value));
41856
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _935 => _935.label]), () => ( "Custom"));
41857
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _936 => _936.color]), () => ( value));
41795
41858
  const groups = [
41796
41859
  {
41797
41860
  items: [
@@ -42081,7 +42144,7 @@ function TicketStatusConfigRow({
42081
42144
  _chunkE6WANQ6Kcjs.Input,
42082
42145
  {
42083
42146
  value: name,
42084
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _930 => _930(e.target.value)]),
42147
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _937 => _937(e.target.value)]),
42085
42148
  disabled: isSystem,
42086
42149
  readOnly: isSystem,
42087
42150
  "aria-label": "Status name",
@@ -42454,14 +42517,14 @@ function TicketInfoSection({
42454
42517
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42455
42518
  SquareAvatar,
42456
42519
  {
42457
- src: _optionalChain([organization, 'optionalAccess', _931 => _931.imageSrc]),
42458
- alt: _optionalChain([organization, 'optionalAccess', _932 => _932.name]),
42459
- fallback: _optionalChain([organization, 'optionalAccess', _933 => _933.name]) || "Org",
42520
+ src: _optionalChain([organization, 'optionalAccess', _938 => _938.imageSrc]),
42521
+ alt: _optionalChain([organization, 'optionalAccess', _939 => _939.name]),
42522
+ fallback: _optionalChain([organization, 'optionalAccess', _940 => _940.name]) || "Org",
42460
42523
  size: "md",
42461
42524
  className: "shrink-0"
42462
42525
  }
42463
42526
  ),
42464
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _934 => _934.name]) || "Unassigned", label: "Organization" })
42527
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _941 => _941.name]) || "Unassigned", label: "Organization" })
42465
42528
  ] }),
42466
42529
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42467
42530
  AssigneeDropdown,
@@ -42482,10 +42545,10 @@ function TicketInfoSection({
42482
42545
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42483
42546
  InfoCell2,
42484
42547
  {
42485
- value: _optionalChain([device, 'optionalAccess', _935 => _935.name]) || "Unassigned",
42548
+ value: _optionalChain([device, 'optionalAccess', _942 => _942.name]) || "Unassigned",
42486
42549
  label: "Device",
42487
- icon: _optionalChain([device, 'optionalAccess', _936 => _936.icon]),
42488
- onClick: _optionalChain([device, 'optionalAccess', _937 => _937.onClick])
42550
+ icon: _optionalChain([device, 'optionalAccess', _943 => _943.icon]),
42551
+ onClick: _optionalChain([device, 'optionalAccess', _944 => _944.onClick])
42489
42552
  }
42490
42553
  ),
42491
42554
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -42815,7 +42878,7 @@ function RoadmapCard({
42815
42878
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
42816
42879
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
42817
42880
  const hasFigma = !!item.figmaUrl;
42818
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _938 => _938.screenshots, 'optionalAccess', _939 => _939.length]), () => ( 0))) > 0;
42881
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _945 => _945.screenshots, 'optionalAccess', _946 => _946.length]), () => ( 0))) > 0;
42819
42882
  const typeLabel = getTaskTypeLabel(item.customItemId);
42820
42883
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
42821
42884
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -42834,7 +42897,7 @@ function RoadmapCard({
42834
42897
  unoptimized: true,
42835
42898
  className: "h-8 w-8 object-contain"
42836
42899
  }
42837
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _940 => _940.title, 'optionalAccess', _941 => _941.substring, 'call', _942 => _942(0, 2)]) || "??" })
42900
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _947 => _947.title, 'optionalAccess', _948 => _948.substring, 'call', _949 => _949(0, 2)]) || "??" })
42838
42901
  }
42839
42902
  ),
42840
42903
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -42909,7 +42972,7 @@ function RoadmapCard({
42909
42972
  unoptimized: true,
42910
42973
  className: "object-contain p-1"
42911
42974
  }
42912
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _943 => _943.title, 'optionalAccess', _944 => _944.substring, 'call', _945 => _945(0, 2)]) || "??" }) }),
42975
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _950 => _950.title, 'optionalAccess', _951 => _951.substring, 'call', _952 => _952(0, 2)]) || "??" }) }),
42913
42976
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
42914
42977
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] flex-1 line-clamp-2", children: item.title }) }),
42915
42978
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h5 text-ods-text-secondary uppercase tracking-[-0.28px] truncate", children: [
@@ -43419,7 +43482,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
43419
43482
  ] }) : null,
43420
43483
  item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-[13px] leading-5 text-ods-text-secondary", children: item.preview }) }) : null
43421
43484
  ] }),
43422
- _optionalChain([anchorProps, 'optionalAccess', _946 => _946.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
43485
+ _optionalChain([anchorProps, 'optionalAccess', _953 => _953.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
43423
43486
  ] });
43424
43487
  if (!anchorProps) {
43425
43488
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -43489,7 +43552,7 @@ function getDefaultOptions() {
43489
43552
  // node_modules/date-fns/startOfWeek.mjs
43490
43553
  function startOfWeek(date, options) {
43491
43554
  const defaultOptions2 = getDefaultOptions();
43492
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _947 => _947.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _948 => _948.locale, 'optionalAccess', _949 => _949.options, 'optionalAccess', _950 => _950.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _951 => _951.locale, 'optionalAccess', _952 => _952.options, 'optionalAccess', _953 => _953.weekStartsOn]))), () => ( 0));
43555
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _954 => _954.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _955 => _955.locale, 'optionalAccess', _956 => _956.options, 'optionalAccess', _957 => _957.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _958 => _958.locale, 'optionalAccess', _959 => _959.options, 'optionalAccess', _960 => _960.weekStartsOn]))), () => ( 0));
43493
43556
  const _date = toDate2(date);
43494
43557
  const day = _date.getDay();
43495
43558
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -43664,7 +43727,7 @@ var formatDistance = (token, count, options) => {
43664
43727
  } else {
43665
43728
  result = tokenValue.other.replace("{{count}}", count.toString());
43666
43729
  }
43667
- if (_optionalChain([options, 'optionalAccess', _954 => _954.addSuffix])) {
43730
+ if (_optionalChain([options, 'optionalAccess', _961 => _961.addSuffix])) {
43668
43731
  if (options.comparison && options.comparison > 0) {
43669
43732
  return "in " + result;
43670
43733
  } else {
@@ -43731,15 +43794,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
43731
43794
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
43732
43795
  function buildLocalizeFn(args) {
43733
43796
  return (value, options) => {
43734
- const context = _optionalChain([options, 'optionalAccess', _955 => _955.context]) ? String(options.context) : "standalone";
43797
+ const context = _optionalChain([options, 'optionalAccess', _962 => _962.context]) ? String(options.context) : "standalone";
43735
43798
  let valuesArray;
43736
43799
  if (context === "formatting" && args.formattingValues) {
43737
43800
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
43738
- const width = _optionalChain([options, 'optionalAccess', _956 => _956.width]) ? String(options.width) : defaultWidth;
43801
+ const width = _optionalChain([options, 'optionalAccess', _963 => _963.width]) ? String(options.width) : defaultWidth;
43739
43802
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
43740
43803
  } else {
43741
43804
  const defaultWidth = args.defaultWidth;
43742
- const width = _optionalChain([options, 'optionalAccess', _957 => _957.width]) ? String(options.width) : args.defaultWidth;
43805
+ const width = _optionalChain([options, 'optionalAccess', _964 => _964.width]) ? String(options.width) : args.defaultWidth;
43743
43806
  valuesArray = args.values[width] || args.values[defaultWidth];
43744
43807
  }
43745
43808
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -44119,7 +44182,7 @@ function getWeekYear(date, options) {
44119
44182
  const _date = toDate2(date);
44120
44183
  const year = _date.getFullYear();
44121
44184
  const defaultOptions2 = getDefaultOptions();
44122
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _958 => _958.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _959 => _959.locale, 'optionalAccess', _960 => _960.options, 'optionalAccess', _961 => _961.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _962 => _962.locale, 'optionalAccess', _963 => _963.options, 'optionalAccess', _964 => _964.firstWeekContainsDate]))), () => ( 1));
44185
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _965 => _965.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _966 => _966.locale, 'optionalAccess', _967 => _967.options, 'optionalAccess', _968 => _968.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _969 => _969.locale, 'optionalAccess', _970 => _970.options, 'optionalAccess', _971 => _971.firstWeekContainsDate]))), () => ( 1));
44123
44186
  const firstWeekOfNextYear = constructFrom(date, 0);
44124
44187
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
44125
44188
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -44140,7 +44203,7 @@ function getWeekYear(date, options) {
44140
44203
  // node_modules/date-fns/startOfWeekYear.mjs
44141
44204
  function startOfWeekYear(date, options) {
44142
44205
  const defaultOptions2 = getDefaultOptions();
44143
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _965 => _965.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _966 => _966.locale, 'optionalAccess', _967 => _967.options, 'optionalAccess', _968 => _968.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _969 => _969.locale, 'optionalAccess', _970 => _970.options, 'optionalAccess', _971 => _971.firstWeekContainsDate]))), () => ( 1));
44206
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _972 => _972.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _973 => _973.locale, 'optionalAccess', _974 => _974.options, 'optionalAccess', _975 => _975.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _976 => _976.locale, 'optionalAccess', _977 => _977.options, 'optionalAccess', _978 => _978.firstWeekContainsDate]))), () => ( 1));
44144
44207
  const year = getWeekYear(date, options);
44145
44208
  const firstWeek = constructFrom(date, 0);
44146
44209
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -44955,9 +45018,9 @@ var doubleQuoteRegExp = /''/g;
44955
45018
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
44956
45019
  function format2(date, formatStr, options) {
44957
45020
  const defaultOptions2 = getDefaultOptions();
44958
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _972 => _972.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
44959
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _973 => _973.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _974 => _974.locale, 'optionalAccess', _975 => _975.options, 'optionalAccess', _976 => _976.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _977 => _977.locale, 'optionalAccess', _978 => _978.options, 'optionalAccess', _979 => _979.firstWeekContainsDate]))), () => ( 1));
44960
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _980 => _980.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _981 => _981.locale, 'optionalAccess', _982 => _982.options, 'optionalAccess', _983 => _983.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _984 => _984.locale, 'optionalAccess', _985 => _985.options, 'optionalAccess', _986 => _986.weekStartsOn]))), () => ( 0));
45021
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _979 => _979.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
45022
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _980 => _980.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _981 => _981.locale, 'optionalAccess', _982 => _982.options, 'optionalAccess', _983 => _983.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _984 => _984.locale, 'optionalAccess', _985 => _985.options, 'optionalAccess', _986 => _986.firstWeekContainsDate]))), () => ( 1));
45023
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _987 => _987.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _988 => _988.locale, 'optionalAccess', _989 => _989.options, 'optionalAccess', _990 => _990.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _991 => _991.locale, 'optionalAccess', _992 => _992.options, 'optionalAccess', _993 => _993.weekStartsOn]))), () => ( 0));
44961
45024
  const originalDate = toDate2(date);
44962
45025
  if (!isValid(originalDate)) {
44963
45026
  throw new RangeError("Invalid time value");
@@ -44998,7 +45061,7 @@ function format2(date, formatStr, options) {
44998
45061
  return parts.map((part) => {
44999
45062
  if (!part.isToken) return part.value;
45000
45063
  const token = part.value;
45001
- if (!_optionalChain([options, 'optionalAccess', _987 => _987.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _988 => _988.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
45064
+ if (!_optionalChain([options, 'optionalAccess', _994 => _994.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _995 => _995.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
45002
45065
  warnOrThrowProtectedError(token, formatStr, String(date));
45003
45066
  }
45004
45067
  const formatter = formatters[token[0]];
@@ -45204,7 +45267,7 @@ function ProgramCard({
45204
45267
  const itemDate2 = compactDate;
45205
45268
  const compactCover = coverImage || placeholderUrl || null;
45206
45269
  const typeMeta = compactTypeMeta();
45207
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _989 => _989.labels, 'optionalAccess', _990 => _990.singular])].filter(
45270
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _996 => _996.labels, 'optionalAccess', _997 => _997.singular])].filter(
45208
45271
  (s) => typeof s === "string" && s.length > 0
45209
45272
  );
45210
45273
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -45361,7 +45424,7 @@ function ProgramCard({
45361
45424
 
45362
45425
 
45363
45426
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
45364
- const goalsCount = _optionalChain([campaign, 'access', _991 => _991.goals, 'optionalAccess', _992 => _992.length]) || 0;
45427
+ const goalsCount = _optionalChain([campaign, 'access', _998 => _998.goals, 'optionalAccess', _999 => _999.length]) || 0;
45365
45428
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
45366
45429
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
45367
45430
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -45523,7 +45586,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
45523
45586
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
45524
45587
  const safePath = sanitizePath(row.path);
45525
45588
  if (safePath) {
45526
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _993 => _993.docPlatformTargets, 'optionalAccess', _994 => _994[row.documentType]]) : void 0;
45589
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _1000 => _1000.docPlatformTargets, 'optionalAccess', _1001 => _1001[row.documentType]]) : void 0;
45527
45590
  if (docTarget) {
45528
45591
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
45529
45592
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -45738,8 +45801,8 @@ function cardMenuGroups(href, discuss, openDetails) {
45738
45801
  if (href) {
45739
45802
  items.push({
45740
45803
  id: "open-details",
45741
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _995 => _995.label]), () => ( "Open Details")),
45742
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _996 => _996.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
45804
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _1002 => _1002.label]), () => ( "Open Details")),
45805
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _1003 => _1003.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
45743
45806
  // Main row → open the entity (same tab, soft Link nav).
45744
45807
  href,
45745
45808
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -45769,8 +45832,8 @@ function HubspotTicketChatCard({
45769
45832
  isNewTab,
45770
45833
  discuss
45771
45834
  }) {
45772
- const status = typeof _optionalChain([chatRef, 'access', _997 => _997.metadata, 'optionalAccess', _998 => _998.status]) === "string" ? chatRef.metadata.status : void 0;
45773
- const statusLabel = typeof _optionalChain([chatRef, 'access', _999 => _999.metadata, 'optionalAccess', _1000 => _1000.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
45835
+ const status = typeof _optionalChain([chatRef, 'access', _1004 => _1004.metadata, 'optionalAccess', _1005 => _1005.status]) === "string" ? chatRef.metadata.status : void 0;
45836
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _1006 => _1006.metadata, 'optionalAccess', _1007 => _1007.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
45774
45837
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
45775
45838
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45776
45839
  MingoInfoCard,
@@ -45793,7 +45856,7 @@ function FaqChatCard({
45793
45856
  isNewTab,
45794
45857
  discuss
45795
45858
  }) {
45796
- const section = typeof _optionalChain([chatRef, 'access', _1001 => _1001.metadata, 'optionalAccess', _1002 => _1002.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
45859
+ const section = typeof _optionalChain([chatRef, 'access', _1008 => _1008.metadata, 'optionalAccess', _1009 => _1009.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
45797
45860
  const statusLabel = section && section.length > 0 ? section : "FAQ";
45798
45861
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45799
45862
  MingoInfoCard,
@@ -45813,7 +45876,7 @@ function SlackChatCard({
45813
45876
  isNewTab,
45814
45877
  discuss
45815
45878
  }) {
45816
- const channelName = typeof _optionalChain([chatRef, 'access', _1003 => _1003.metadata, 'optionalAccess', _1004 => _1004.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
45879
+ const channelName = typeof _optionalChain([chatRef, 'access', _1010 => _1010.metadata, 'optionalAccess', _1011 => _1011.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
45817
45880
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
45818
45881
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
45819
45882
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -45853,7 +45916,7 @@ function GenericFinancialChatCard({
45853
45916
  isNewTab,
45854
45917
  discuss
45855
45918
  }) {
45856
- const subtitle = typeof _optionalChain([chatRef, 'access', _1005 => _1005.metadata, 'optionalAccess', _1006 => _1006.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
45919
+ const subtitle = typeof _optionalChain([chatRef, 'access', _1012 => _1012.metadata, 'optionalAccess', _1013 => _1013.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
45857
45920
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45858
45921
  MingoInfoCard,
45859
45922
  {
@@ -45922,12 +45985,12 @@ function ProductReleaseChatCard({
45922
45985
  discuss
45923
45986
  }) {
45924
45987
  const releaseProps = buildProps(item);
45925
- const status = _optionalChain([item, 'optionalAccess', _1007 => _1007.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
45988
+ const status = _optionalChain([item, 'optionalAccess', _1014 => _1014.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
45926
45989
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45927
45990
  EntityMingoCard,
45928
45991
  {
45929
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1008 => _1008.title]), () => ( "")),
45930
- description: _optionalChain([item, 'optionalAccess', _1009 => _1009.summary]) || releaseProps.formattedDate || void 0,
45992
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1015 => _1015.title]), () => ( "")),
45993
+ description: _optionalChain([item, 'optionalAccess', _1016 => _1016.summary]) || releaseProps.formattedDate || void 0,
45931
45994
  cover: releaseProps.coverImage || void 0,
45932
45995
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Rocket02Icon, { size: 24 }),
45933
45996
  status,
@@ -45944,17 +46007,17 @@ function CampaignChatCard({
45944
46007
  isNewTab,
45945
46008
  discuss
45946
46009
  }) {
45947
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _1010 => _1010.goals])) ? item.goals.length : 0;
46010
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _1017 => _1017.goals])) ? item.goals.length : 0;
45948
46011
  const meta = [
45949
- _optionalChain([item, 'optionalAccess', _1011 => _1011.start_date]) ? formatDateShort(item.start_date) : null,
46012
+ _optionalChain([item, 'optionalAccess', _1018 => _1018.start_date]) ? formatDateShort(item.start_date) : null,
45950
46013
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
45951
46014
  "Marketing campaign"
45952
46015
  ].filter(Boolean).join(" \xB7 ");
45953
46016
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45954
46017
  EntityMingoCard,
45955
46018
  {
45956
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1012 => _1012.name]), () => ( "")),
45957
- description: meta || _optionalChain([item, 'optionalAccess', _1013 => _1013.description]) || void 0,
46019
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1019 => _1019.name]), () => ( "")),
46020
+ description: meta || _optionalChain([item, 'optionalAccess', _1020 => _1020.description]) || void 0,
45958
46021
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Megaphone01Icon, { size: 24 }),
45959
46022
  chatRef,
45960
46023
  isNewTab,
@@ -46007,14 +46070,14 @@ function BlogChatCard({
46007
46070
  hasEmbeddedVideo,
46008
46071
  discuss
46009
46072
  }) {
46010
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1014 => _1014.categories])) ? _optionalChain([item, 'access', _1015 => _1015.categories, 'access', _1016 => _1016.find, 'call', _1017 => _1017((c) => c && c.name), 'optionalAccess', _1018 => _1018.name]) : void 0;
46073
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1021 => _1021.categories])) ? _optionalChain([item, 'access', _1022 => _1022.categories, 'access', _1023 => _1023.find, 'call', _1024 => _1024((c) => c && c.name), 'optionalAccess', _1025 => _1025.name]) : void 0;
46011
46074
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
46012
46075
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46013
46076
  EntityMingoCard,
46014
46077
  {
46015
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1019 => _1019.title]), () => ( "")),
46016
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1020 => _1020.summary]), () => ( void 0)),
46017
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1021 => _1021.featured_image]), ogPlaceholder),
46078
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1026 => _1026.title]), () => ( "")),
46079
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1027 => _1027.summary]), () => ( void 0)),
46080
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1028 => _1028.featured_image]), ogPlaceholder),
46018
46081
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.NewspaperIcon, { size: 24 }),
46019
46082
  status,
46020
46083
  chatRef,
@@ -46031,13 +46094,13 @@ function CaseStudyChatCard({
46031
46094
  ogPlaceholder,
46032
46095
  discuss
46033
46096
  }) {
46034
- const meta = [_optionalChain([item, 'optionalAccess', _1022 => _1022.msp, 'optionalAccess', _1023 => _1023.name]), _optionalChain([item, 'optionalAccess', _1024 => _1024.user, 'optionalAccess', _1025 => _1025.full_name])].filter(Boolean).join(" \xB7 ");
46097
+ const meta = [_optionalChain([item, 'optionalAccess', _1029 => _1029.msp, 'optionalAccess', _1030 => _1030.name]), _optionalChain([item, 'optionalAccess', _1031 => _1031.user, 'optionalAccess', _1032 => _1032.full_name])].filter(Boolean).join(" \xB7 ");
46035
46098
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46036
46099
  EntityMingoCard,
46037
46100
  {
46038
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1026 => _1026.title]), () => ( "")),
46039
- description: _optionalChain([item, 'optionalAccess', _1027 => _1027.summary]) || meta || void 0,
46040
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1028 => _1028.featured_image]), ogPlaceholder),
46101
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1033 => _1033.title]), () => ( "")),
46102
+ description: _optionalChain([item, 'optionalAccess', _1034 => _1034.summary]) || meta || void 0,
46103
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1035 => _1035.featured_image]), ogPlaceholder),
46041
46104
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrophyIcon, { size: 24 }),
46042
46105
  status: { label: "Case study", variant: "grey" },
46043
46106
  chatRef,
@@ -46054,13 +46117,13 @@ function CustomerInterviewChatCard({
46054
46117
  ogPlaceholder,
46055
46118
  discuss
46056
46119
  }) {
46057
- const meta = [_optionalChain([item, 'optionalAccess', _1029 => _1029.user, 'optionalAccess', _1030 => _1030.full_name]), _optionalChain([item, 'optionalAccess', _1031 => _1031.msp, 'optionalAccess', _1032 => _1032.name])].filter(Boolean).join(" \xB7 ");
46120
+ const meta = [_optionalChain([item, 'optionalAccess', _1036 => _1036.user, 'optionalAccess', _1037 => _1037.full_name]), _optionalChain([item, 'optionalAccess', _1038 => _1038.msp, 'optionalAccess', _1039 => _1039.name])].filter(Boolean).join(" \xB7 ");
46058
46121
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46059
46122
  EntityMingoCard,
46060
46123
  {
46061
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1033 => _1033.title]), () => ( "")),
46062
- description: _optionalChain([item, 'optionalAccess', _1034 => _1034.video_summary]) || meta || void 0,
46063
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1035 => _1035.featured_image]), ogPlaceholder),
46124
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1040 => _1040.title]), () => ( "")),
46125
+ description: _optionalChain([item, 'optionalAccess', _1041 => _1041.video_summary]) || meta || void 0,
46126
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1042 => _1042.featured_image]), ogPlaceholder),
46064
46127
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 }),
46065
46128
  status: { label: "Interview", variant: "grey" },
46066
46129
  chatRef,
@@ -46077,13 +46140,13 @@ function InvestorUpdateChatCard({
46077
46140
  ogPlaceholder,
46078
46141
  discuss
46079
46142
  }) {
46080
- const title = _optionalChain([item, 'optionalAccess', _1036 => _1036.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1037 => _1037.update_number]), () => ( "?"))}`;
46143
+ const title = _optionalChain([item, 'optionalAccess', _1043 => _1043.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1044 => _1044.update_number]), () => ( "?"))}`;
46081
46144
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46082
46145
  EntityMingoCard,
46083
46146
  {
46084
46147
  title,
46085
- description: _optionalChain([item, 'optionalAccess', _1038 => _1038.strategic_update]) || _optionalChain([item, 'optionalAccess', _1039 => _1039.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1040 => _1040.period_start]), _optionalChain([item, 'optionalAccess', _1041 => _1041.period_end])) || void 0,
46086
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1042 => _1042.featured_image]), ogPlaceholder),
46148
+ description: _optionalChain([item, 'optionalAccess', _1045 => _1045.strategic_update]) || _optionalChain([item, 'optionalAccess', _1046 => _1046.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1047 => _1047.period_start]), _optionalChain([item, 'optionalAccess', _1048 => _1048.period_end])) || void 0,
46149
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1049 => _1049.featured_image]), ogPlaceholder),
46087
46150
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationLineIcon, { size: 24 }),
46088
46151
  status: { label: "Investor update", variant: "grey" },
46089
46152
  chatRef,
@@ -46100,12 +46163,12 @@ function OnboardingGuideChatCard({
46100
46163
  ogPlaceholder,
46101
46164
  discuss
46102
46165
  }) {
46103
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1043 => _1043.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1044 => _1044.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1045 => _1045.og_image_url]), ogPlaceholder)));
46166
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1050 => _1050.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1051 => _1051.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1052 => _1052.og_image_url]), ogPlaceholder)));
46104
46167
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46105
46168
  EntityMingoCard,
46106
46169
  {
46107
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1046 => _1046.title]), () => ( "")),
46108
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1047 => _1047.summary]), () => ( _optionalChain([item, 'optionalAccess', _1048 => _1048.description]))), () => ( void 0)),
46170
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1053 => _1053.title]), () => ( "")),
46171
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1054 => _1054.summary]), () => ( _optionalChain([item, 'optionalAccess', _1055 => _1055.description]))), () => ( void 0)),
46109
46172
  cover,
46110
46173
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CompassIcon, { size: 24 }),
46111
46174
  status: { label: "Guide", variant: "grey" },
@@ -46126,25 +46189,25 @@ function ProgramChatCard({
46126
46189
  discuss
46127
46190
  }) {
46128
46191
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 });
46129
- const isScheduled = _optionalChain([item, 'optionalAccess', _1049 => _1049.status]) === "scheduled";
46192
+ const isScheduled = _optionalChain([item, 'optionalAccess', _1056 => _1056.status]) === "scheduled";
46130
46193
  let typeMeta;
46131
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1050 => _1050.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
46194
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1057 => _1057.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
46132
46195
  typeMeta = formatDurationCompact(item.duration_seconds);
46133
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1051 => _1051.location_name]) === "string" && item.location_name.trim().length > 0) {
46196
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1058 => _1058.location_name]) === "string" && item.location_name.trim().length > 0) {
46134
46197
  typeMeta = item.location_name;
46135
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1052 => _1052.start_at])) {
46198
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1059 => _1059.start_at])) {
46136
46199
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
46137
46200
  const dur = formatDurationFromRange(item.start_at, item.end_at);
46138
46201
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
46139
46202
  }
46140
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1053 => _1053.date]), () => ( null)), { fallback: "", timezone: "local" });
46203
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1060 => _1060.date]), () => ( null)), { fallback: "", timezone: "local" });
46141
46204
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
46142
46205
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46143
46206
  EntityMingoCard,
46144
46207
  {
46145
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1054 => _1054.title]), () => ( "")),
46146
- description: meta || _optionalChain([item, 'optionalAccess', _1055 => _1055.description]) || void 0,
46147
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1056 => _1056.cover_url]), ogPlaceholder),
46208
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1061 => _1061.title]), () => ( "")),
46209
+ description: meta || _optionalChain([item, 'optionalAccess', _1062 => _1062.description]) || void 0,
46210
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1063 => _1063.cover_url]), ogPlaceholder),
46148
46211
  fallbackIcon: icon,
46149
46212
  status: { label, variant: "grey" },
46150
46213
  chatRef,
@@ -46161,10 +46224,10 @@ function RoadmapChatCard({
46161
46224
  cardType,
46162
46225
  discuss
46163
46226
  }) {
46164
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1057 => _1057.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
46165
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1058 => _1058.customItemId]) != null;
46227
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1064 => _1064.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
46228
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1065 => _1065.customItemId]) != null;
46166
46229
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MapIcon, { size: 24 });
46167
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1059 => _1059.customItemId]), className: "size-6" }) : logoUrl ? (
46230
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1066 => _1066.customItemId]), className: "size-6" }) : logoUrl ? (
46168
46231
  // Contained (not full-bleed) so the integration logo keeps its aspect
46169
46232
  // ratio inside the bordered icon box — matches RoadmapCard.
46170
46233
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -46172,10 +46235,10 @@ function RoadmapChatCard({
46172
46235
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46173
46236
  EntityMingoCard,
46174
46237
  {
46175
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1060 => _1060.title]), () => ( "")),
46176
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1061 => _1061.description]), () => ( void 0)),
46238
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1067 => _1067.title]), () => ( "")),
46239
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1068 => _1068.description]), () => ( void 0)),
46177
46240
  fallbackIcon: icon,
46178
- status: statusPill(_optionalChain([item, 'optionalAccess', _1062 => _1062.status])),
46241
+ status: statusPill(_optionalChain([item, 'optionalAccess', _1069 => _1069.status])),
46179
46242
  chatRef,
46180
46243
  isNewTab,
46181
46244
  discuss,
@@ -46261,7 +46324,7 @@ function programRegistryEntries() {
46261
46324
  discuss: opts.discuss,
46262
46325
  configKey: cfg.configKey,
46263
46326
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
46264
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1063 => _1063.extras, 'optionalAccess', _1064 => _1064.buildOgPlaceholderUrl, 'optionalCall', _1065 => _1065(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1066 => _1066.title]), () => ( "")))]), () => ( null))
46327
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1070 => _1070.extras, 'optionalAccess', _1071 => _1071.buildOgPlaceholderUrl, 'optionalCall', _1072 => _1072(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1073 => _1073.title]), () => ( "")))]), () => ( null))
46265
46328
  }
46266
46329
  )
46267
46330
  };
@@ -46413,8 +46476,8 @@ var CHAT_CARD_REGISTRY = {
46413
46476
  chatRef,
46414
46477
  isNewTab: opts.isNewTab,
46415
46478
  discuss: opts.discuss,
46416
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1067 => _1067.extras, 'optionalAccess', _1068 => _1068.buildOgPlaceholderUrl, 'optionalCall', _1069 => _1069(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1070 => _1070.title]), () => ( "")))]), () => ( null)),
46417
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1071 => _1071.metadata, 'optionalAccess', _1072 => _1072.hasEmbeddedVideo]) === true
46479
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1074 => _1074.extras, 'optionalAccess', _1075 => _1075.buildOgPlaceholderUrl, 'optionalCall', _1076 => _1076(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1077 => _1077.title]), () => ( "")))]), () => ( null)),
46480
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1078 => _1078.metadata, 'optionalAccess', _1079 => _1079.hasEmbeddedVideo]) === true
46418
46481
  }
46419
46482
  )
46420
46483
  },
@@ -46431,7 +46494,7 @@ var CHAT_CARD_REGISTRY = {
46431
46494
  chatRef,
46432
46495
  isNewTab: opts.isNewTab,
46433
46496
  discuss: opts.discuss,
46434
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1073 => _1073.extras, 'optionalAccess', _1074 => _1074.buildOgPlaceholderUrl, 'optionalCall', _1075 => _1075(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1076 => _1076.title]), () => ( "")))]), () => ( null))
46497
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1080 => _1080.extras, 'optionalAccess', _1081 => _1081.buildOgPlaceholderUrl, 'optionalCall', _1082 => _1082(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1083 => _1083.title]), () => ( "")))]), () => ( null))
46435
46498
  }
46436
46499
  )
46437
46500
  },
@@ -46448,7 +46511,7 @@ var CHAT_CARD_REGISTRY = {
46448
46511
  chatRef,
46449
46512
  isNewTab: opts.isNewTab,
46450
46513
  discuss: opts.discuss,
46451
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1077 => _1077.extras, 'optionalAccess', _1078 => _1078.buildOgPlaceholderUrl, 'optionalCall', _1079 => _1079(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1080 => _1080.title]), () => ( "")))]), () => ( null))
46514
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1084 => _1084.extras, 'optionalAccess', _1085 => _1085.buildOgPlaceholderUrl, 'optionalCall', _1086 => _1086(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1087 => _1087.title]), () => ( "")))]), () => ( null))
46452
46515
  }
46453
46516
  )
46454
46517
  },
@@ -46459,7 +46522,7 @@ var CHAT_CARD_REGISTRY = {
46459
46522
  bareInline: true,
46460
46523
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
46461
46524
  render: (item, chatRef, opts) => {
46462
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1081 => _1081.extras, 'optionalAccess', _1082 => _1082.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
46525
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1088 => _1088.extras, 'optionalAccess', _1089 => _1089.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
46463
46526
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46464
46527
  ProductReleaseChatCard,
46465
46528
  {
@@ -46486,7 +46549,7 @@ var CHAT_CARD_REGISTRY = {
46486
46549
  chatRef,
46487
46550
  isNewTab: opts.isNewTab,
46488
46551
  discuss: opts.discuss,
46489
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1083 => _1083.extras, 'optionalAccess', _1084 => _1084.buildOgPlaceholderUrl, 'optionalCall', _1085 => _1085(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1086 => _1086.title]), () => ( "")))]), () => ( null))
46552
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1090 => _1090.extras, 'optionalAccess', _1091 => _1091.buildOgPlaceholderUrl, 'optionalCall', _1092 => _1092(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1093 => _1093.title]), () => ( "")))]), () => ( null))
46490
46553
  }
46491
46554
  )
46492
46555
  },
@@ -46505,7 +46568,7 @@ var CHAT_CARD_REGISTRY = {
46505
46568
  chatRef,
46506
46569
  isNewTab: opts.isNewTab,
46507
46570
  discuss: opts.discuss,
46508
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1087 => _1087.extras, 'optionalAccess', _1088 => _1088.buildOgPlaceholderUrl, 'optionalCall', _1089 => _1089(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1090 => _1090.title]), () => ( "")))]), () => ( null))
46571
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1094 => _1094.extras, 'optionalAccess', _1095 => _1095.buildOgPlaceholderUrl, 'optionalCall', _1096 => _1096(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1097 => _1097.title]), () => ( "")))]), () => ( null))
46509
46572
  }
46510
46573
  )
46511
46574
  },
@@ -46517,7 +46580,7 @@ var CHAT_CARD_REGISTRY = {
46517
46580
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
46518
46581
  // No public viewer — synthesize the hub-internal admin URL post-fetch
46519
46582
  // so the wrapper + isNewTab computation see the actual destination.
46520
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1091 => _1091.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
46583
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1098 => _1098.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
46521
46584
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46522
46585
  CampaignChatCard,
46523
46586
  {
@@ -46543,12 +46606,12 @@ function ChatCardNavWrap({
46543
46606
  const onClickCapture = (e) => {
46544
46607
  if (!href) return;
46545
46608
  const targetEl = e.target;
46546
- if (_optionalChain([targetEl, 'optionalAccess', _1092 => _1092.closest, 'optionalCall', _1093 => _1093("button")])) return;
46547
- if (!_optionalChain([targetEl, 'optionalAccess', _1094 => _1094.closest, 'optionalCall', _1095 => _1095("a")])) return;
46609
+ if (_optionalChain([targetEl, 'optionalAccess', _1099 => _1099.closest, 'optionalCall', _1100 => _1100("button")])) return;
46610
+ if (!_optionalChain([targetEl, 'optionalAccess', _1101 => _1101.closest, 'optionalCall', _1102 => _1102("a")])) return;
46548
46611
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
46549
46612
  if (!handled) return;
46550
46613
  e.stopPropagation();
46551
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1096 => _1096.closeChat])) panel.closeChat();
46614
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1103 => _1103.closeChat])) panel.closeChat();
46552
46615
  };
46553
46616
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
46554
46617
  }
@@ -46570,7 +46633,7 @@ function ChatCardLoader({
46570
46633
  title: chatRef.title,
46571
46634
  externalUrl: chatRef.url,
46572
46635
  targetPlatform: chatRef.targetPlatform,
46573
- path: typeof _optionalChain([chatRef, 'access', _1097 => _1097.metadata, 'optionalAccess', _1098 => _1098.path]) === "string" ? chatRef.metadata.path : null
46636
+ path: typeof _optionalChain([chatRef, 'access', _1104 => _1104.metadata, 'optionalAccess', _1105 => _1105.path]) === "string" ? chatRef.metadata.path : null
46574
46637
  },
46575
46638
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
46576
46639
  );
@@ -46584,7 +46647,7 @@ function ChatCardLoader({
46584
46647
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
46585
46648
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
46586
46649
  const { item, isLoading } = useChatCardItem(
46587
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1099 => _1099.contentRefType]), () => ( "")),
46650
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1106 => _1106.contentRefType]), () => ( "")),
46588
46651
  fetchEntry ? resolvedChatRef.id : ""
46589
46652
  );
46590
46653
  if (!entry) return null;
@@ -46615,7 +46678,7 @@ function ChatCardLoader({
46615
46678
  isNewTab,
46616
46679
  discuss
46617
46680
  };
46618
- const path = typeof _optionalChain([finalChatRef, 'access', _1100 => _1100.metadata, 'optionalAccess', _1101 => _1101.path]) === "string" ? finalChatRef.metadata.path : null;
46681
+ const path = typeof _optionalChain([finalChatRef, 'access', _1107 => _1107.metadata, 'optionalAccess', _1108 => _1108.path]) === "string" ? finalChatRef.metadata.path : null;
46619
46682
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46620
46683
  ChatCardNavWrap,
46621
46684
  {
@@ -47001,7 +47064,7 @@ function useJetStreamDialogSubscription({
47001
47064
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
47002
47065
  conn: sharedConn,
47003
47066
  wsUrl,
47004
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1102 => _1102.current, 'optionalCall', _1103 => _1103()]),
47067
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1109 => _1109.current, 'optionalCall', _1110 => _1110()]),
47005
47068
  backoff: reconnectionBackoffRef.current,
47006
47069
  getFreshUrl: () => getNatsWsUrlRef.current(),
47007
47070
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -47016,7 +47079,7 @@ function useJetStreamDialogSubscription({
47016
47079
  setReconnectionCount((c) => c + 1);
47017
47080
  }
47018
47081
  hadConnectionBeforeRef.current = true;
47019
- _optionalChain([onConnectRef, 'access', _1104 => _1104.current, 'optionalCall', _1105 => _1105()]);
47082
+ _optionalChain([onConnectRef, 'access', _1111 => _1111.current, 'optionalCall', _1112 => _1112()]);
47020
47083
  }
47021
47084
  if (status === "error") {
47022
47085
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -47026,7 +47089,7 @@ function useJetStreamDialogSubscription({
47026
47089
  setIsConnected(false);
47027
47090
  setIsSubscribed(false);
47028
47091
  tearDownSubscription();
47029
- _optionalChain([onDisconnectRef, 'access', _1106 => _1106.current, 'optionalCall', _1107 => _1107()]);
47092
+ _optionalChain([onDisconnectRef, 'access', _1113 => _1113.current, 'optionalCall', _1114 => _1114()]);
47030
47093
  }
47031
47094
  }
47032
47095
  });
@@ -47105,7 +47168,7 @@ function useJetStreamDialogSubscription({
47105
47168
  }
47106
47169
  subscriptionRef.current = handle;
47107
47170
  setIsSubscribed(true);
47108
- _optionalChain([onSubscribedRef, 'access', _1108 => _1108.current, 'optionalCall', _1109 => _1109()]);
47171
+ _optionalChain([onSubscribedRef, 'access', _1115 => _1115.current, 'optionalCall', _1116 => _1116()]);
47109
47172
  } catch (e52) {
47110
47173
  if (!cancelled) {
47111
47174
  setIsSubscribed(false);
@@ -47218,20 +47281,20 @@ function useNatsDialogSubscription({
47218
47281
  const tearDownSubscriptions = () => {
47219
47282
  subscriptionRefs.current.forEach((sub) => {
47220
47283
  try {
47221
- _optionalChain([sub, 'optionalAccess', _1110 => _1110.unsubscribe, 'call', _1111 => _1111()]);
47284
+ _optionalChain([sub, 'optionalAccess', _1117 => _1117.unsubscribe, 'call', _1118 => _1118()]);
47222
47285
  } catch (e54) {
47223
47286
  }
47224
47287
  });
47225
47288
  subscriptionRefs.current.clear();
47226
47289
  lastSubscribedDialogIdRef.current = null;
47227
- _optionalChain([abortControllerRef, 'access', _1112 => _1112.current, 'optionalAccess', _1113 => _1113.abort, 'call', _1114 => _1114()]);
47290
+ _optionalChain([abortControllerRef, 'access', _1119 => _1119.current, 'optionalAccess', _1120 => _1120.abort, 'call', _1121 => _1121()]);
47228
47291
  abortControllerRef.current = null;
47229
47292
  };
47230
47293
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
47231
47294
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
47232
47295
  conn: sharedConn,
47233
47296
  wsUrl,
47234
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1115 => _1115.current, 'optionalCall', _1116 => _1116()]),
47297
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1122 => _1122.current, 'optionalCall', _1123 => _1123()]),
47235
47298
  backoff: reconnectionBackoffRef.current,
47236
47299
  getFreshUrl: () => getNatsWsUrlRef.current(),
47237
47300
  shouldRetryOn: isDisconnectStatus,
@@ -47242,7 +47305,7 @@ function useNatsDialogSubscription({
47242
47305
  setReconnectionCount((c) => c + 1);
47243
47306
  }
47244
47307
  hadConnectionBeforeRef.current = true;
47245
- _optionalChain([onConnectRef, 'access', _1117 => _1117.current, 'optionalCall', _1118 => _1118()]);
47308
+ _optionalChain([onConnectRef, 'access', _1124 => _1124.current, 'optionalCall', _1125 => _1125()]);
47246
47309
  }
47247
47310
  if (status === "error") {
47248
47311
  console.warn("[NATS] protocol error:", evt.data);
@@ -47252,7 +47315,7 @@ function useNatsDialogSubscription({
47252
47315
  setIsConnected(false);
47253
47316
  setIsSubscribed(false);
47254
47317
  tearDownSubscriptions();
47255
- _optionalChain([onDisconnectRef, 'access', _1119 => _1119.current, 'optionalCall', _1120 => _1120()]);
47318
+ _optionalChain([onDisconnectRef, 'access', _1126 => _1126.current, 'optionalCall', _1127 => _1127()]);
47256
47319
  }
47257
47320
  }
47258
47321
  });
@@ -47283,13 +47346,13 @@ function useNatsDialogSubscription({
47283
47346
  setIsSubscribed(false);
47284
47347
  subscriptionRefs.current.forEach((sub) => {
47285
47348
  try {
47286
- _optionalChain([sub, 'optionalAccess', _1121 => _1121.unsubscribe, 'call', _1122 => _1122()]);
47349
+ _optionalChain([sub, 'optionalAccess', _1128 => _1128.unsubscribe, 'call', _1129 => _1129()]);
47287
47350
  } catch (e55) {
47288
47351
  }
47289
47352
  });
47290
47353
  subscriptionRefs.current.clear();
47291
47354
  lastSubscribedDialogIdRef.current = null;
47292
- _optionalChain([abortControllerRef, 'access', _1123 => _1123.current, 'optionalAccess', _1124 => _1124.abort, 'call', _1125 => _1125()]);
47355
+ _optionalChain([abortControllerRef, 'access', _1130 => _1130.current, 'optionalAccess', _1131 => _1131.abort, 'call', _1132 => _1132()]);
47293
47356
  abortControllerRef.current = null;
47294
47357
  }
47295
47358
  return;
@@ -47301,12 +47364,12 @@ function useNatsDialogSubscription({
47301
47364
  if (subscriptionRefs.current.size > 0) {
47302
47365
  subscriptionRefs.current.forEach((sub) => {
47303
47366
  try {
47304
- _optionalChain([sub, 'optionalAccess', _1126 => _1126.unsubscribe, 'call', _1127 => _1127()]);
47367
+ _optionalChain([sub, 'optionalAccess', _1133 => _1133.unsubscribe, 'call', _1134 => _1134()]);
47305
47368
  } catch (e56) {
47306
47369
  }
47307
47370
  });
47308
47371
  subscriptionRefs.current.clear();
47309
- _optionalChain([abortControllerRef, 'access', _1128 => _1128.current, 'optionalAccess', _1129 => _1129.abort, 'call', _1130 => _1130()]);
47372
+ _optionalChain([abortControllerRef, 'access', _1135 => _1135.current, 'optionalAccess', _1136 => _1136.abort, 'call', _1137 => _1137()]);
47310
47373
  }
47311
47374
  abortControllerRef.current = new AbortController();
47312
47375
  const abort = abortControllerRef.current;
@@ -47338,7 +47401,7 @@ function useNatsDialogSubscription({
47338
47401
  });
47339
47402
  lastSubscribedDialogIdRef.current = dialogId;
47340
47403
  setIsSubscribed(true);
47341
- _optionalChain([onSubscribedRef, 'access', _1131 => _1131.current, 'optionalCall', _1132 => _1132()]);
47404
+ _optionalChain([onSubscribedRef, 'access', _1138 => _1138.current, 'optionalCall', _1139 => _1139()]);
47342
47405
  };
47343
47406
  if (isConnectedRef.current) {
47344
47407
  createSubscriptions();
@@ -47348,7 +47411,7 @@ function useNatsDialogSubscription({
47348
47411
  abort.abort();
47349
47412
  subscriptionRefs.current.forEach((sub) => {
47350
47413
  try {
47351
- _optionalChain([sub, 'optionalAccess', _1133 => _1133.unsubscribe, 'call', _1134 => _1134()]);
47414
+ _optionalChain([sub, 'optionalAccess', _1140 => _1140.unsubscribe, 'call', _1141 => _1141()]);
47352
47415
  } catch (e58) {
47353
47416
  }
47354
47417
  });
@@ -47389,7 +47452,7 @@ function useNatsDialogSubscription({
47389
47452
  });
47390
47453
  lastSubscribedDialogIdRef.current = dialogId2;
47391
47454
  setIsSubscribed(true);
47392
- _optionalChain([onSubscribedRef, 'access', _1135 => _1135.current, 'optionalCall', _1136 => _1136()]);
47455
+ _optionalChain([onSubscribedRef, 'access', _1142 => _1142.current, 'optionalCall', _1143 => _1143()]);
47393
47456
  } else if (subscriptionRefs.current.size > 0) {
47394
47457
  setIsSubscribed(true);
47395
47458
  }
@@ -47397,10 +47460,10 @@ function useNatsDialogSubscription({
47397
47460
  return { isConnected, isSubscribed, reconnectionCount };
47398
47461
  }
47399
47462
  function buildNatsWsUrl(apiBaseUrl, options) {
47400
- const path = _optionalChain([options, 'optionalAccess', _1137 => _1137.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
47463
+ const path = _optionalChain([options, 'optionalAccess', _1144 => _1144.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
47401
47464
  const u = new URL(path, apiBaseUrl);
47402
47465
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
47403
- if (_optionalChain([options, 'optionalAccess', _1138 => _1138.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1139 => _1139.token])) {
47466
+ if (_optionalChain([options, 'optionalAccess', _1145 => _1145.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1146 => _1146.token])) {
47404
47467
  u.searchParams.set("authorization", options.token);
47405
47468
  }
47406
47469
  return u.toString();
@@ -47536,7 +47599,7 @@ function parseChunkToAction(chunk) {
47536
47599
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
47537
47600
  // historical path in `process-historical-messages.ts`) — keeps both
47538
47601
  // message sources producing an identical shape.
47539
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1140 => _1140.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1141 => _1141.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
47602
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1147 => _1147.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1148 => _1148.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
47540
47603
  };
47541
47604
  case MESSAGE_TYPE.TOKEN_USAGE:
47542
47605
  return {
@@ -47728,8 +47791,8 @@ var MessageSegmentAccumulator = class {
47728
47791
  type: "tool_execution",
47729
47792
  data: {
47730
47793
  ...toolData,
47731
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1142 => _1142.data, 'access', _1143 => _1143.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1144 => _1144.toolTitle]))),
47732
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1145 => _1145.parameters])
47794
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1149 => _1149.data, 'access', _1150 => _1150.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1151 => _1151.toolTitle]))),
47795
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1152 => _1152.parameters])
47733
47796
  }
47734
47797
  };
47735
47798
  if (existingIndex !== -1) {
@@ -47753,8 +47816,8 @@ var MessageSegmentAccumulator = class {
47753
47816
  if (seg.type !== "approval_batch") return seg;
47754
47817
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
47755
47818
  if (!hasCall) return seg;
47756
- const prev = _optionalChain([seg, 'access', _1146 => _1146.data, 'access', _1147 => _1147.executions, 'optionalAccess', _1148 => _1148[execId]]);
47757
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1149 => _1149.result]), success: _optionalChain([prev, 'optionalAccess', _1150 => _1150.success]) };
47819
+ const prev = _optionalChain([seg, 'access', _1153 => _1153.data, 'access', _1154 => _1154.executions, 'optionalAccess', _1155 => _1155[execId]]);
47820
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1156 => _1156.result]), success: _optionalChain([prev, 'optionalAccess', _1157 => _1157.success]) };
47758
47821
  matched = true;
47759
47822
  return {
47760
47823
  ...seg,
@@ -47876,10 +47939,10 @@ var MessageSegmentAccumulator = class {
47876
47939
  const segment = {
47877
47940
  type: "approval_request",
47878
47941
  data: {
47879
- command: _optionalChain([pendingApproval, 'optionalAccess', _1151 => _1151.command]) || "",
47880
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1152 => _1152.explanation]),
47942
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1158 => _1158.command]) || "",
47943
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1159 => _1159.explanation]),
47881
47944
  requestId,
47882
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1153 => _1153.approvalType]) || approvalType
47945
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1160 => _1160.approvalType]) || approvalType
47883
47946
  },
47884
47947
  status,
47885
47948
  onApprove: this.callbacks.onApprove,
@@ -48071,7 +48134,7 @@ function useRealtimeChunkProcessor(options) {
48071
48134
  if (initialState.escalatedApprovals) {
48072
48135
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
48073
48136
  initialState.escalatedApprovals.forEach((data, requestId) => {
48074
- _optionalChain([callbacks, 'access', _1154 => _1154.onEscalatedApproval, 'optionalCall', _1155 => _1155(requestId, data)]);
48137
+ _optionalChain([callbacks, 'access', _1161 => _1161.onEscalatedApproval, 'optionalCall', _1162 => _1162(requestId, data)]);
48075
48138
  });
48076
48139
  }
48077
48140
  hasEverStreamedRef.current = true;
@@ -48092,12 +48155,12 @@ function useRealtimeChunkProcessor(options) {
48092
48155
  if (!action) return;
48093
48156
  const accumulator = accumulatorRef.current;
48094
48157
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
48095
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1156 => _1156.onSegmentsUpdate, 'optionalCall', _1157 => _1157(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
48158
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1163 => _1163.onSegmentsUpdate, 'optionalCall', _1164 => _1164(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
48096
48159
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
48097
48160
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
48098
48161
  if (isInStreamRef.current) {
48099
48162
  isInStreamRef.current = false;
48100
- _optionalChain([callbacks, 'access', _1158 => _1158.onStreamEnd, 'optionalCall', _1159 => _1159()]);
48163
+ _optionalChain([callbacks, 'access', _1165 => _1165.onStreamEnd, 'optionalCall', _1166 => _1166()]);
48101
48164
  accumulator.resetSegments();
48102
48165
  }
48103
48166
  return;
@@ -48106,16 +48169,16 @@ function useRealtimeChunkProcessor(options) {
48106
48169
  case "message_start":
48107
48170
  isInStreamRef.current = true;
48108
48171
  hasEverStreamedRef.current = true;
48109
- _optionalChain([callbacks, 'access', _1160 => _1160.onStreamStart, 'optionalCall', _1161 => _1161()]);
48172
+ _optionalChain([callbacks, 'access', _1167 => _1167.onStreamStart, 'optionalCall', _1168 => _1168()]);
48110
48173
  accumulator.resetSegments();
48111
48174
  break;
48112
48175
  case "message_end":
48113
48176
  isInStreamRef.current = false;
48114
- _optionalChain([callbacks, 'access', _1162 => _1162.onStreamEnd, 'optionalCall', _1163 => _1163()]);
48177
+ _optionalChain([callbacks, 'access', _1169 => _1169.onStreamEnd, 'optionalCall', _1170 => _1170()]);
48115
48178
  accumulator.resetSegments();
48116
48179
  break;
48117
48180
  case "metadata":
48118
- _optionalChain([callbacks, 'access', _1164 => _1164.onMetadata, 'optionalCall', _1165 => _1165(action)]);
48181
+ _optionalChain([callbacks, 'access', _1171 => _1171.onMetadata, 'optionalCall', _1172 => _1172(action)]);
48119
48182
  break;
48120
48183
  case "text": {
48121
48184
  const segments = accumulator.appendText(action.text);
@@ -48158,7 +48221,7 @@ function useRealtimeChunkProcessor(options) {
48158
48221
  emitSegments(segments);
48159
48222
  } else {
48160
48223
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
48161
- _optionalChain([callbacks, 'access', _1166 => _1166.onEscalatedApproval, 'optionalCall', _1167 => _1167(requestId, { command, explanation, approvalType })]);
48224
+ _optionalChain([callbacks, 'access', _1173 => _1173.onEscalatedApproval, 'optionalCall', _1174 => _1174(requestId, { command, explanation, approvalType })]);
48162
48225
  }
48163
48226
  break;
48164
48227
  }
@@ -48170,13 +48233,13 @@ function useRealtimeChunkProcessor(options) {
48170
48233
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
48171
48234
  pendingEscalatedRef.current.set(requestId, {
48172
48235
  command: summary,
48173
- explanation: _optionalChain([required, 'optionalAccess', _1168 => _1168.toolExplanation]),
48236
+ explanation: _optionalChain([required, 'optionalAccess', _1175 => _1175.toolExplanation]),
48174
48237
  approvalType,
48175
48238
  toolCalls
48176
48239
  });
48177
- _optionalChain([callbacks, 'access', _1169 => _1169.onEscalatedApproval, 'optionalCall', _1170 => _1170(requestId, {
48240
+ _optionalChain([callbacks, 'access', _1176 => _1176.onEscalatedApproval, 'optionalCall', _1177 => _1177(requestId, {
48178
48241
  command: summary,
48179
- explanation: _optionalChain([required, 'optionalAccess', _1171 => _1171.toolExplanation]),
48242
+ explanation: _optionalChain([required, 'optionalAccess', _1178 => _1178.toolExplanation]),
48180
48243
  approvalType
48181
48244
  })]);
48182
48245
  break;
@@ -48206,7 +48269,7 @@ function useRealtimeChunkProcessor(options) {
48206
48269
  const status = approved ? "approved" : "rejected";
48207
48270
  if (escalatedData) {
48208
48271
  pendingEscalatedRef.current.delete(requestId);
48209
- _optionalChain([callbacks, 'access', _1172 => _1172.onEscalatedApprovalResult, 'optionalCall', _1173 => _1173(requestId, approved, {
48272
+ _optionalChain([callbacks, 'access', _1179 => _1179.onEscalatedApprovalResult, 'optionalCall', _1180 => _1180(requestId, approved, {
48210
48273
  command: escalatedData.command,
48211
48274
  explanation: escalatedData.explanation,
48212
48275
  approvalType: escalatedData.approvalType
@@ -48252,29 +48315,29 @@ function useRealtimeChunkProcessor(options) {
48252
48315
  emitSegments(accumulator.getSegments());
48253
48316
  }
48254
48317
  }
48255
- _optionalChain([callbacks, 'access', _1174 => _1174.onApprovalResolved, 'optionalCall', _1175 => _1175(requestId, status, approvalType, resolvedByName)]);
48318
+ _optionalChain([callbacks, 'access', _1181 => _1181.onApprovalResolved, 'optionalCall', _1182 => _1182(requestId, status, approvalType, resolvedByName)]);
48256
48319
  break;
48257
48320
  }
48258
48321
  case "error": {
48259
48322
  let message2;
48260
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1176 => _1176.details])) {
48323
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1183 => _1183.details])) {
48261
48324
  try {
48262
- message2 = _optionalChain([JSON, 'access', _1177 => _1177.parse, 'call', _1178 => _1178(action.details), 'optionalAccess', _1179 => _1179.error, 'optionalAccess', _1180 => _1180.message]);
48325
+ message2 = _optionalChain([JSON, 'access', _1184 => _1184.parse, 'call', _1185 => _1185(action.details), 'optionalAccess', _1186 => _1186.error, 'optionalAccess', _1187 => _1187.message]);
48263
48326
  } catch (e60) {
48264
48327
  message2 = action.details;
48265
48328
  }
48266
48329
  }
48267
48330
  const segments = accumulator.addError(action.error, message2);
48268
48331
  emitSegments(segments);
48269
- _optionalChain([callbacks, 'access', _1181 => _1181.onError, 'optionalCall', _1182 => _1182(action.error, message2)]);
48332
+ _optionalChain([callbacks, 'access', _1188 => _1188.onError, 'optionalCall', _1189 => _1189(action.error, message2)]);
48270
48333
  break;
48271
48334
  }
48272
48335
  case "system": {
48273
- _optionalChain([callbacks, 'access', _1183 => _1183.onSystemMessage, 'optionalCall', _1184 => _1184(action.text, { streamSeq })]);
48336
+ _optionalChain([callbacks, 'access', _1190 => _1190.onSystemMessage, 'optionalCall', _1191 => _1191(action.text, { streamSeq })]);
48274
48337
  break;
48275
48338
  }
48276
48339
  case "direct_message": {
48277
- _optionalChain([callbacks, 'access', _1185 => _1185.onDirectMessage, 'optionalCall', _1186 => _1186(action.text, {
48340
+ _optionalChain([callbacks, 'access', _1192 => _1192.onDirectMessage, 'optionalCall', _1193 => _1193(action.text, {
48278
48341
  ownerType: action.ownerType,
48279
48342
  displayName: action.displayName,
48280
48343
  userId: action.userId,
@@ -48283,7 +48346,7 @@ function useRealtimeChunkProcessor(options) {
48283
48346
  break;
48284
48347
  }
48285
48348
  case "message_request":
48286
- _optionalChain([callbacks, 'access', _1187 => _1187.onUserMessage, 'optionalCall', _1188 => _1188(action.text, {
48349
+ _optionalChain([callbacks, 'access', _1194 => _1194.onUserMessage, 'optionalCall', _1195 => _1195(action.text, {
48287
48350
  ownerType: action.ownerType,
48288
48351
  displayName: action.displayName,
48289
48352
  userId: action.userId,
@@ -48292,7 +48355,7 @@ function useRealtimeChunkProcessor(options) {
48292
48355
  })]);
48293
48356
  break;
48294
48357
  case "token_usage":
48295
- _optionalChain([callbacks, 'access', _1189 => _1189.onTokenUsage, 'optionalCall', _1190 => _1190(action.data)]);
48358
+ _optionalChain([callbacks, 'access', _1196 => _1196.onTokenUsage, 'optionalCall', _1197 => _1197(action.data)]);
48296
48359
  break;
48297
48360
  case "context_compaction_start": {
48298
48361
  const standalone = !isInStreamRef.current;
@@ -48307,7 +48370,7 @@ function useRealtimeChunkProcessor(options) {
48307
48370
  break;
48308
48371
  }
48309
48372
  case "dialog_closed":
48310
- _optionalChain([callbacks, 'access', _1191 => _1191.onDialogClosed, 'optionalCall', _1192 => _1192()]);
48373
+ _optionalChain([callbacks, 'access', _1198 => _1198.onDialogClosed, 'optionalCall', _1199 => _1199()]);
48311
48374
  break;
48312
48375
  default:
48313
48376
  break;
@@ -48354,7 +48417,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
48354
48417
  const data = await res.json();
48355
48418
  return _nullishCoalesce(data.commands, () => ( []));
48356
48419
  } catch (err) {
48357
- if (_optionalChain([err, 'optionalAccess', _1193 => _1193.name]) === "AbortError") throw err;
48420
+ if (_optionalChain([err, 'optionalAccess', _1200 => _1200.name]) === "AbortError") throw err;
48358
48421
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
48359
48422
  return [];
48360
48423
  }
@@ -48375,7 +48438,7 @@ function useSlashCommands(prefix, commandsUrl) {
48375
48438
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
48376
48439
  if (!cancelled) setCommands(next);
48377
48440
  } catch (err) {
48378
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1194 => _1194.name]) !== "AbortError") {
48441
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1201 => _1201.name]) !== "AbortError") {
48379
48442
  console.warn("[use-slash-commands] fetch failed:", err);
48380
48443
  }
48381
48444
  } finally {
@@ -48394,7 +48457,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
48394
48457
  const query = _reactquery.useQuery.call(void 0, {
48395
48458
  queryKey: ["chat-slash-commands", commandsUrl],
48396
48459
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
48397
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1195 => _1195.enabled]), () => ( true)),
48460
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1202 => _1202.enabled]), () => ( true)),
48398
48461
  staleTime: Infinity,
48399
48462
  gcTime: Infinity,
48400
48463
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -48433,21 +48496,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
48433
48496
  }
48434
48497
  const data = await res.json();
48435
48498
  return {
48436
- name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1196 => _1196.name]), () => ( null)),
48437
- icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1197 => _1197.icon]), () => ( null)),
48438
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1198 => _1198.greeting]), () => ( null)),
48439
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1199 => _1199.enabledRagTableIds]), () => ( [])),
48440
- quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1200 => _1200.quickActions]), () => ( [])),
48441
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1201 => _1201.suggestedQueries]), () => ( []))
48499
+ name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1203 => _1203.name]), () => ( null)),
48500
+ icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1204 => _1204.icon]), () => ( null)),
48501
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1205 => _1205.greeting]), () => ( null)),
48502
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1206 => _1206.enabledRagTableIds]), () => ( [])),
48503
+ quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1207 => _1207.quickActions]), () => ( [])),
48504
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1208 => _1208.suggestedQueries]), () => ( []))
48442
48505
  };
48443
48506
  } catch (err) {
48444
- if (_optionalChain([err, 'optionalAccess', _1202 => _1202.name]) === "AbortError") throw err;
48507
+ if (_optionalChain([err, 'optionalAccess', _1209 => _1209.name]) === "AbortError") throw err;
48445
48508
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
48446
48509
  return EMPTY_STATE_FALLBACK;
48447
48510
  }
48448
48511
  }
48449
48512
  function useEmptyStateConfig(emptyStateUrl, options) {
48450
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1203 => _1203.enabled]), () => ( true))) && !!emptyStateUrl;
48513
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1210 => _1210.enabled]), () => ( true))) && !!emptyStateUrl;
48451
48514
  const query = _reactquery.useQuery.call(void 0, {
48452
48515
  queryKey: ["chat-empty-state", emptyStateUrl],
48453
48516
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -48476,7 +48539,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
48476
48539
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
48477
48540
  function uploadWithProgress(url, file, token, onProgress, signal) {
48478
48541
  return new Promise((resolve, reject) => {
48479
- if (_optionalChain([signal, 'optionalAccess', _1204 => _1204.aborted])) {
48542
+ if (_optionalChain([signal, 'optionalAccess', _1211 => _1211.aborted])) {
48480
48543
  reject(new Error("Upload cancelled"));
48481
48544
  return;
48482
48545
  }
@@ -48490,7 +48553,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
48490
48553
  xhr.removeEventListener("error", handleError);
48491
48554
  xhr.removeEventListener("abort", handleAbort);
48492
48555
  xhr.removeEventListener("timeout", handleTimeout);
48493
- _optionalChain([signal, 'optionalAccess', _1205 => _1205.removeEventListener, 'call', _1206 => _1206("abort", handleSignalAbort)]);
48556
+ _optionalChain([signal, 'optionalAccess', _1212 => _1212.removeEventListener, 'call', _1213 => _1213("abort", handleSignalAbort)]);
48494
48557
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
48495
48558
  };
48496
48559
  const handleProgress = (event) => {
@@ -48526,7 +48589,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
48526
48589
  const handleSignalAbort = () => {
48527
48590
  xhr.abort();
48528
48591
  };
48529
- _optionalChain([signal, 'optionalAccess', _1207 => _1207.addEventListener, 'call', _1208 => _1208("abort", handleSignalAbort, { once: true })]);
48592
+ _optionalChain([signal, 'optionalAccess', _1214 => _1214.addEventListener, 'call', _1215 => _1215("abort", handleSignalAbort, { once: true })]);
48530
48593
  xhr.upload.addEventListener("progress", handleProgress);
48531
48594
  xhr.addEventListener("load", handleLoad);
48532
48595
  xhr.addEventListener("error", handleError);
@@ -48570,12 +48633,12 @@ function useChatAttachments() {
48570
48633
  try {
48571
48634
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
48572
48635
  } catch (err) {
48573
- if (_optionalChain([ctrl, 'optionalAccess', _1209 => _1209.signal, 'access', _1210 => _1210.aborted])) return;
48636
+ if (_optionalChain([ctrl, 'optionalAccess', _1216 => _1216.signal, 'access', _1217 => _1217.aborted])) return;
48574
48637
  throw new Error(
48575
48638
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
48576
48639
  );
48577
48640
  }
48578
- if (_optionalChain([ctrl, 'optionalAccess', _1211 => _1211.signal, 'access', _1212 => _1212.aborted])) return;
48641
+ if (_optionalChain([ctrl, 'optionalAccess', _1218 => _1218.signal, 'access', _1219 => _1219.aborted])) return;
48579
48642
  if (!sniffed) {
48580
48643
  throw new Error("Unrecognized file format");
48581
48644
  }
@@ -48589,7 +48652,7 @@ function useChatAttachments() {
48589
48652
  const urlResp = await _chunkSR6LEWCFcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
48590
48653
  method: "POST",
48591
48654
  headers: { "Content-Type": "application/json" },
48592
- signal: _optionalChain([ctrl, 'optionalAccess', _1213 => _1213.signal]),
48655
+ signal: _optionalChain([ctrl, 'optionalAccess', _1220 => _1220.signal]),
48593
48656
  body: JSON.stringify({
48594
48657
  fileName: att.file.name,
48595
48658
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -48615,9 +48678,9 @@ function useChatAttachments() {
48615
48678
  (pct) => {
48616
48679
  updateOne(att.id, { progress: pct });
48617
48680
  },
48618
- _optionalChain([ctrl, 'optionalAccess', _1214 => _1214.signal])
48681
+ _optionalChain([ctrl, 'optionalAccess', _1221 => _1221.signal])
48619
48682
  );
48620
- if (_optionalChain([ctrl, 'optionalAccess', _1215 => _1215.signal, 'access', _1216 => _1216.aborted])) return;
48683
+ if (_optionalChain([ctrl, 'optionalAccess', _1222 => _1222.signal, 'access', _1223 => _1223.aborted])) return;
48621
48684
  updateOne(att.id, {
48622
48685
  status: "ready",
48623
48686
  progress: 100,
@@ -48625,7 +48688,7 @@ function useChatAttachments() {
48625
48688
  viewToken: mintData.viewToken
48626
48689
  });
48627
48690
  } catch (err) {
48628
- if (_optionalChain([ctrl, 'optionalAccess', _1217 => _1217.signal, 'access', _1218 => _1218.aborted])) return;
48691
+ if (_optionalChain([ctrl, 'optionalAccess', _1224 => _1224.signal, 'access', _1225 => _1225.aborted])) return;
48629
48692
  const message2 = err instanceof Error ? err.message : String(err);
48630
48693
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
48631
48694
  } finally {
@@ -48776,7 +48839,7 @@ var ANON_DEFAULTS = {
48776
48839
  function useResolveChatIdentity(enabled) {
48777
48840
  const runtime = _chunk2B6773QMcjs.useRequiredChatRuntime.call(void 0, );
48778
48841
  const url = runtime.endpoints.identityUrl;
48779
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1219 => _1219.email]), () => ( null));
48842
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1226 => _1226.email]), () => ( null));
48780
48843
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
48781
48844
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
48782
48845
  _react.useEffect.call(void 0, () => {
@@ -48867,7 +48930,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
48867
48930
  yield chunk;
48868
48931
  }
48869
48932
  } catch (err) {
48870
- if (_optionalChain([err, 'optionalAccess', _1220 => _1220.name]) === "AbortError" || ctrl.signal.aborted) {
48933
+ if (_optionalChain([err, 'optionalAccess', _1227 => _1227.name]) === "AbortError" || ctrl.signal.aborted) {
48871
48934
  return;
48872
48935
  }
48873
48936
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -48918,7 +48981,7 @@ function useChat({
48918
48981
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
48919
48982
  onMessagesChangeRef.current = onMessagesChange;
48920
48983
  _react.useEffect.call(void 0, () => {
48921
- _optionalChain([onMessagesChangeRef, 'access', _1221 => _1221.current, 'optionalCall', _1222 => _1222(messages)]);
48984
+ _optionalChain([onMessagesChangeRef, 'access', _1228 => _1228.current, 'optionalCall', _1229 => _1229(messages)]);
48922
48985
  }, [messages]);
48923
48986
  const {
48924
48987
  streamMessage,
@@ -48955,7 +49018,7 @@ function useChat({
48955
49018
  name: "You",
48956
49019
  content: text,
48957
49020
  timestamp: /* @__PURE__ */ new Date(),
48958
- ..._optionalChain([options, 'optionalAccess', _1223 => _1223.hidden]) ? { hidden: true } : {}
49021
+ ..._optionalChain([options, 'optionalAccess', _1230 => _1230.hidden]) ? { hidden: true } : {}
48959
49022
  };
48960
49023
  addMessage(userMessage);
48961
49024
  setIsTyping(true);
@@ -49017,7 +49080,7 @@ function useChat({
49017
49080
  currentTextSegment = "";
49018
49081
  }
49019
49082
  const seg = segment;
49020
- const proposalId = _optionalChain([seg, 'access', _1224 => _1224.data, 'optionalAccess', _1225 => _1225.requestId]);
49083
+ const proposalId = _optionalChain([seg, 'access', _1231 => _1231.data, 'optionalAccess', _1232 => _1232.requestId]);
49021
49084
  const updateApprovalMessage = (transform) => {
49022
49085
  setMessages((prev) => {
49023
49086
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -49026,7 +49089,7 @@ function useChat({
49026
49089
  if (!Array.isArray(m.content)) continue;
49027
49090
  const segments = m.content;
49028
49091
  const hasMatch = segments.some(
49029
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1226 => _1226.data, 'optionalAccess', _1227 => _1227.requestId]) === proposalId
49092
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1233 => _1233.data, 'optionalAccess', _1234 => _1234.requestId]) === proposalId
49030
49093
  );
49031
49094
  if (!hasMatch) continue;
49032
49095
  const next = [...prev];
@@ -49068,11 +49131,11 @@ function useChat({
49068
49131
  if (!Array.isArray(m.content)) continue;
49069
49132
  const segments = m.content;
49070
49133
  const hasMatch = segments.some(
49071
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1228 => _1228.data, 'optionalAccess', _1229 => _1229.requestId]) === decision.proposalId
49134
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1235 => _1235.data, 'optionalAccess', _1236 => _1236.requestId]) === decision.proposalId
49072
49135
  );
49073
49136
  if (!hasMatch) continue;
49074
49137
  const flipped = segments.map(
49075
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1230 => _1230.data, 'optionalAccess', _1231 => _1231.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
49138
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1237 => _1237.data, 'optionalAccess', _1238 => _1238.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
49076
49139
  );
49077
49140
  const next = [...prev];
49078
49141
  next[i] = { ...m, content: flipped };
@@ -49234,8 +49297,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49234
49297
  })),
49235
49298
  { role: "user", content: message2 }
49236
49299
  ];
49237
- const targetPath = _optionalChain([extra, 'optionalAccess', _1232 => _1232.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
49238
- const requestBody = _optionalChain([extra, 'optionalAccess', _1233 => _1233.approvalAction]) ? {
49300
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1239 => _1239.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
49301
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1240 => _1240.approvalAction]) ? {
49239
49302
  proposal_id: extra.approvalAction.proposalId,
49240
49303
  action: extra.approvalAction.action,
49241
49304
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -49244,8 +49307,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49244
49307
  }))
49245
49308
  } : {
49246
49309
  messages: apiMessages,
49247
- ..._optionalChain([extra, 'optionalAccess', _1234 => _1234.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
49248
- ..._optionalChain([extra, 'optionalAccess', _1235 => _1235.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
49310
+ ..._optionalChain([extra, 'optionalAccess', _1241 => _1241.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
49311
+ ..._optionalChain([extra, 'optionalAccess', _1242 => _1242.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
49249
49312
  };
49250
49313
  const response = await _chunkSR6LEWCFcjs.embedAuthedFetch.call(void 0, targetPath, {
49251
49314
  method: "POST",
@@ -49255,7 +49318,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49255
49318
  if (!response.ok) {
49256
49319
  throw new Error(`Chat request failed: ${response.status}`);
49257
49320
  }
49258
- const reader = _optionalChain([response, 'access', _1236 => _1236.body, 'optionalAccess', _1237 => _1237.getReader, 'call', _1238 => _1238()]);
49321
+ const reader = _optionalChain([response, 'access', _1243 => _1243.body, 'optionalAccess', _1244 => _1244.getReader, 'call', _1245 => _1245()]);
49259
49322
  if (!reader) throw new Error("No response body");
49260
49323
  const decoder = new TextDecoder();
49261
49324
  let buffer = "";
@@ -49338,7 +49401,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49338
49401
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
49339
49402
  const result = _nullishCoalesce(meta.result, () => ( null));
49340
49403
  const card = _nullishCoalesce(meta.card, () => ( null));
49341
- if (_optionalChain([card, 'optionalAccess', _1239 => _1239.ref, 'optionalAccess', _1240 => _1240.id]) && _optionalChain([card, 'optionalAccess', _1241 => _1241.type])) {
49404
+ if (_optionalChain([card, 'optionalAccess', _1246 => _1246.ref, 'optionalAccess', _1247 => _1247.id]) && _optionalChain([card, 'optionalAccess', _1248 => _1248.type])) {
49342
49405
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
49343
49406
  const key = buildChatRefKey(card.type, card.ref.id);
49344
49407
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -49351,8 +49414,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49351
49414
  willAutoContinue: meta.willAutoContinue === true,
49352
49415
  ...toolName ? { toolName } : {},
49353
49416
  ...result ? { result } : {},
49354
- ..._optionalChain([card, 'optionalAccess', _1242 => _1242.marker]) ? { marker: card.marker } : {},
49355
- ..._optionalChain([card, 'optionalAccess', _1243 => _1243.ref]) ? { cardRef: card.ref } : {},
49417
+ ..._optionalChain([card, 'optionalAccess', _1249 => _1249.marker]) ? { marker: card.marker } : {},
49418
+ ..._optionalChain([card, 'optionalAccess', _1250 => _1250.ref]) ? { cardRef: card.ref } : {},
49356
49419
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
49357
49420
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
49358
49421
  };
@@ -49471,7 +49534,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
49471
49534
  var chatStorageKey = (source) => {
49472
49535
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
49473
49536
  const auth = _chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, );
49474
- if (_optionalChain([auth, 'optionalAccess', _1244 => _1244.email])) {
49537
+ if (_optionalChain([auth, 'optionalAccess', _1251 => _1251.email])) {
49475
49538
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
49476
49539
  }
49477
49540
  return base;
@@ -49526,7 +49589,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49526
49589
  const { active = true } = runtimeOptions;
49527
49590
  const runtime = _chunk2B6773QMcjs.useRequiredChatRuntime.call(void 0, );
49528
49591
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
49529
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1245 => _1245.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
49592
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1252 => _1252.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
49530
49593
  const persistedRef = _react.useRef.call(void 0, null);
49531
49594
  if (persistedRef.current === null) {
49532
49595
  pruneStaleChatStorage(source);
@@ -49631,7 +49694,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49631
49694
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
49632
49695
  sources = sourcesMapRef.current.get(lookupIdx);
49633
49696
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
49634
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1246 => _1246.current, 'access', _1247 => _1247.get, 'call', _1248 => _1248(lookupIdx), 'optionalAccess', _1249 => _1249.scrollAnchor]), () => ( void 0));
49697
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1253 => _1253.current, 'access', _1254 => _1254.get, 'call', _1255 => _1255(lookupIdx), 'optionalAccess', _1256 => _1256.scrollAnchor]), () => ( void 0));
49635
49698
  }
49636
49699
  return {
49637
49700
  id: m.id,
@@ -49679,7 +49742,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49679
49742
  );
49680
49743
  return;
49681
49744
  }
49682
- const refSlug = typeof _optionalChain([reference, 'access', _1250 => _1250.metadata, 'optionalAccess', _1251 => _1251.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
49745
+ const refSlug = typeof _optionalChain([reference, 'access', _1257 => _1257.metadata, 'optionalAccess', _1258 => _1258.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
49683
49746
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
49684
49747
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
49685
49748
  const text = `/${cmdId} display "${escaped}"`;
@@ -49751,18 +49814,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49751
49814
  clearMessages,
49752
49815
  streamingPhase,
49753
49816
  /** Provider key for the lib's `<ModelDisplay>` icon. */
49754
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1252 => _1252.provider]), () => ( null)),
49755
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1253 => _1253.modelLabel]), () => ( null)),
49756
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1254 => _1254.contextWindowMaxTokens]), () => ( null)),
49817
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1259 => _1259.provider]), () => ( null)),
49818
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1260 => _1260.modelLabel]), () => ( null)),
49819
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1261 => _1261.contextWindowMaxTokens]), () => ( null)),
49757
49820
  /** Input tokens (known after server's message_start frame; null until). */
49758
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1255 => _1255.inputTokens]), () => ( null)),
49821
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1262 => _1262.inputTokens]), () => ( null)),
49759
49822
  /** Output tokens (known only after server's trailing usage frame). */
49760
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1256 => _1256.outputTokens]), () => ( null)),
49823
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1263 => _1263.outputTokens]), () => ( null)),
49761
49824
  /** Cache hit % (read / total-input × 100). null during streaming. */
49762
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1257 => _1257.cacheHitRatePct]), () => ( null)),
49825
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1264 => _1264.cacheHitRatePct]), () => ( null)),
49763
49826
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
49764
49827
  * token counts). null until the trailing usage frame lands. */
49765
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1258 => _1258.breakdown]), () => ( null)),
49828
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1265 => _1265.breakdown]), () => ( null)),
49766
49829
  // ─── Dialog management — stubs for v1 ────────────────────────────────
49767
49830
  // Guide mode currently keeps its history in `localStorage` opaquely
49768
49831
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -49820,15 +49883,15 @@ var noopRejectRequest = async (_id, _reason) => {
49820
49883
 
49821
49884
  // src/components/chat/utils/process-historical-messages.ts
49822
49885
  function getOwnerDisplayName(owner) {
49823
- if (_optionalChain([owner, 'optionalAccess', _1259 => _1259.type]) === OWNER_TYPE.ADMIN && owner.user) {
49886
+ if (_optionalChain([owner, 'optionalAccess', _1266 => _1266.type]) === OWNER_TYPE.ADMIN && owner.user) {
49824
49887
  const { firstName, lastName } = owner.user;
49825
49888
  const name = [firstName, lastName].filter(Boolean).join(" ");
49826
49889
  if (name) return name;
49827
49890
  }
49828
- return _optionalChain([owner, 'optionalAccess', _1260 => _1260.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
49891
+ return _optionalChain([owner, 'optionalAccess', _1267 => _1267.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
49829
49892
  }
49830
49893
  function getOwnerAvatar(owner) {
49831
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1261 => _1261.user, 'optionalAccess', _1262 => _1262.image, 'optionalAccess', _1263 => _1263.imageUrl]), () => ( void 0));
49894
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1268 => _1268.user, 'optionalAccess', _1269 => _1269.image, 'optionalAccess', _1270 => _1270.imageUrl]), () => ( void 0));
49832
49895
  }
49833
49896
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
49834
49897
  messageDataArray.forEach((data) => {
@@ -49891,14 +49954,14 @@ function processHistoricalMessages(messages, options = {}) {
49891
49954
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
49892
49955
  return;
49893
49956
  }
49894
- const isUserMessage = _optionalChain([msg, 'access', _1264 => _1264.owner, 'optionalAccess', _1265 => _1265.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1266 => _1266.owner, 'optionalAccess', _1267 => _1267.type]) === OWNER_TYPE.ADMIN;
49957
+ const isUserMessage = _optionalChain([msg, 'access', _1271 => _1271.owner, 'optionalAccess', _1272 => _1272.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1273 => _1273.owner, 'optionalAccess', _1274 => _1274.type]) === OWNER_TYPE.ADMIN;
49895
49958
  if (isUserMessage) {
49896
49959
  flushAssistantMessage();
49897
- const userAuthorType = _optionalChain([msg, 'access', _1268 => _1268.owner, 'optionalAccess', _1269 => _1269.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
49960
+ const userAuthorType = _optionalChain([msg, 'access', _1275 => _1275.owner, 'optionalAccess', _1276 => _1276.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
49898
49961
  messageDataArray.forEach((data) => {
49899
49962
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
49900
49963
  const rawContext = data.contextItems;
49901
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1270 => _1270.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1271 => _1271.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
49964
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1277 => _1277.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1278 => _1278.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
49902
49965
  processedMessages.push({
49903
49966
  id: msg.id,
49904
49967
  role: "user",
@@ -49922,7 +49985,7 @@ function processHistoricalMessages(messages, options = {}) {
49922
49985
  });
49923
49986
  const nextMsg = messages[index + 1];
49924
49987
  const isLastMessage = index === messages.length - 1;
49925
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1272 => _1272.owner, 'optionalAccess', _1273 => _1273.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1274 => _1274.owner, 'optionalAccess', _1275 => _1275.type]) === OWNER_TYPE.ADMIN);
49988
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1279 => _1279.owner, 'optionalAccess', _1280 => _1280.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1281 => _1281.owner, 'optionalAccess', _1282 => _1282.type]) === OWNER_TYPE.ADMIN);
49926
49989
  if (isLastMessage || nextIsFromUser) {
49927
49990
  flushAssistantMessage();
49928
49991
  }
@@ -50032,7 +50095,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50032
50095
  }
50033
50096
  }
50034
50097
  } else {
50035
- _optionalChain([escalatedApprovals, 'optionalAccess', _1276 => _1276.set, 'call', _1277 => _1277(data.approvalRequestId, {
50098
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1283 => _1283.set, 'call', _1284 => _1284(data.approvalRequestId, {
50036
50099
  command: data.command || "",
50037
50100
  explanation: data.explanation,
50038
50101
  approvalType,
@@ -50046,8 +50109,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50046
50109
  const existingStatus = approvalStatuses[data.approvalRequestId];
50047
50110
  const status = existingStatus || (data.approved ? "approved" : "rejected");
50048
50111
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
50049
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1278 => _1278.get, 'call', _1279 => _1279(data.approvalRequestId)]);
50050
- if (_optionalChain([escalatedData, 'optionalAccess', _1280 => _1280.toolCalls]) && escalatedData.toolCalls.length > 0) {
50112
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1285 => _1285.get, 'call', _1286 => _1286(data.approvalRequestId)]);
50113
+ if (_optionalChain([escalatedData, 'optionalAccess', _1287 => _1287.toolCalls]) && escalatedData.toolCalls.length > 0) {
50051
50114
  if (batchApprovalsEnabled) {
50052
50115
  accumulator.addApprovalBatch(
50053
50116
  data.approvalRequestId,
@@ -50069,7 +50132,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50069
50132
  );
50070
50133
  }
50071
50134
  }
50072
- _optionalChain([escalatedApprovals, 'optionalAccess', _1281 => _1281.delete, 'call', _1282 => _1282(data.approvalRequestId)]);
50135
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1288 => _1288.delete, 'call', _1289 => _1289(data.approvalRequestId)]);
50073
50136
  break;
50074
50137
  }
50075
50138
  if (escalatedData) {
@@ -50078,7 +50141,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50078
50141
  explanation: escalatedData.explanation,
50079
50142
  approvalType: escalatedData.approvalType
50080
50143
  });
50081
- _optionalChain([escalatedApprovals, 'optionalAccess', _1283 => _1283.delete, 'call', _1284 => _1284(data.approvalRequestId)]);
50144
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1290 => _1290.delete, 'call', _1291 => _1291(data.approvalRequestId)]);
50082
50145
  }
50083
50146
  const before = accumulator.getSegments();
50084
50147
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -50094,9 +50157,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50094
50157
  case MESSAGE_TYPE.ERROR:
50095
50158
  if ("error" in data) {
50096
50159
  let message2;
50097
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1285 => _1285.details])) {
50160
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1292 => _1292.details])) {
50098
50161
  try {
50099
- message2 = _optionalChain([JSON, 'access', _1286 => _1286.parse, 'call', _1287 => _1287(data.details), 'optionalAccess', _1288 => _1288.error, 'optionalAccess', _1289 => _1289.message]);
50162
+ message2 = _optionalChain([JSON, 'access', _1293 => _1293.parse, 'call', _1294 => _1294(data.details), 'optionalAccess', _1295 => _1295.error, 'optionalAccess', _1296 => _1296.message]);
50100
50163
  } catch (e67) {
50101
50164
  message2 = data.details;
50102
50165
  }
@@ -50179,14 +50242,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
50179
50242
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
50180
50243
  return;
50181
50244
  }
50182
- const isUserMessage = _optionalChain([msg, 'access', _1290 => _1290.owner, 'optionalAccess', _1291 => _1291.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1292 => _1292.owner, 'optionalAccess', _1293 => _1293.type]) === OWNER_TYPE.ADMIN;
50245
+ const isUserMessage = _optionalChain([msg, 'access', _1297 => _1297.owner, 'optionalAccess', _1298 => _1298.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1299 => _1299.owner, 'optionalAccess', _1300 => _1300.type]) === OWNER_TYPE.ADMIN;
50183
50246
  if (isUserMessage) {
50184
50247
  flushAssistantMessage();
50185
- const userAuthorType = _optionalChain([msg, 'access', _1294 => _1294.owner, 'optionalAccess', _1295 => _1295.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
50248
+ const userAuthorType = _optionalChain([msg, 'access', _1301 => _1301.owner, 'optionalAccess', _1302 => _1302.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
50186
50249
  messageDataArray.forEach((data) => {
50187
50250
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
50188
50251
  const rawContext = data.contextItems;
50189
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1296 => _1296.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1297 => _1297.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
50252
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1303 => _1303.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1304 => _1304.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
50190
50253
  processedMessages.push({
50191
50254
  id: msg.id,
50192
50255
  role: "user",
@@ -50210,7 +50273,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
50210
50273
  });
50211
50274
  const nextMsg = messages[index + 1];
50212
50275
  const isLastMessage = index === messages.length - 1;
50213
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1298 => _1298.owner, 'optionalAccess', _1299 => _1299.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1300 => _1300.owner, 'optionalAccess', _1301 => _1301.type]) === OWNER_TYPE.ADMIN);
50276
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1305 => _1305.owner, 'optionalAccess', _1306 => _1306.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1307 => _1307.owner, 'optionalAccess', _1308 => _1308.type]) === OWNER_TYPE.ADMIN);
50214
50277
  if (isLastMessage || nextIsFromUser) {
50215
50278
  flushAssistantMessage();
50216
50279
  }
@@ -50546,7 +50609,7 @@ function useNatsChatAdapter(config, options = {}) {
50546
50609
  }, [active, fetchDialogs, loadDialogsPage]);
50547
50610
  const sendMessage = _react.useCallback.call(void 0,
50548
50611
  async (text, sendOptions) => {
50549
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1302 => _1302.hidden]), () => ( false));
50612
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1309 => _1309.hidden]), () => ( false));
50550
50613
  setMessages((prev) => [
50551
50614
  ...prev,
50552
50615
  {
@@ -50710,11 +50773,11 @@ function useNatsChatAdapter(config, options = {}) {
50710
50773
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
50711
50774
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
50712
50775
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
50713
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1303 => _1303.provider]), () => ( modelProvider)), () => ( null)),
50714
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1304 => _1304.modelLabel]), () => ( modelLabel)), () => ( null)),
50715
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1305 => _1305.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1306 => _1306.contextWindowMaxTokens]))), () => ( null)),
50716
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1307 => _1307.inputTokensSize]), () => ( null)),
50717
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1308 => _1308.outputTokensSize]), () => ( null)),
50776
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1310 => _1310.provider]), () => ( modelProvider)), () => ( null)),
50777
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1311 => _1311.modelLabel]), () => ( modelLabel)), () => ( null)),
50778
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1312 => _1312.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1313 => _1313.contextWindowMaxTokens]))), () => ( null)),
50779
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1314 => _1314.inputTokensSize]), () => ( null)),
50780
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1315 => _1315.outputTokensSize]), () => ( null)),
50718
50781
  currentCacheHitRatePct: null,
50719
50782
  currentUsageBreakdown: null,
50720
50783
  // Dialog management
@@ -50962,7 +51025,7 @@ function extractIncompleteMessageState(lastMessage) {
50962
51025
  break;
50963
51026
  case "approval_batch": {
50964
51027
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
50965
- (c) => _optionalChain([segment, 'access', _1309 => _1309.data, 'access', _1310 => _1310.executions, 'optionalAccess', _1311 => _1311[c.toolExecutionRequestId], 'optionalAccess', _1312 => _1312.status]) === "done"
51028
+ (c) => _optionalChain([segment, 'access', _1316 => _1316.data, 'access', _1317 => _1317.executions, 'optionalAccess', _1318 => _1318[c.toolExecutionRequestId], 'optionalAccess', _1319 => _1319.status]) === "done"
50966
51029
  );
50967
51030
  if (segment.status !== "rejected" && !allDone) {
50968
51031
  hasIncompleteState = true;
@@ -51030,20 +51093,20 @@ function mergeHistoryWithRealtime(input) {
51030
51093
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
51031
51094
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
51032
51095
  const trailing = processedHistory[processedHistory.length - 1];
51033
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1313 => _1313.role]) === "assistant" ? trailing : null;
51034
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1314 => _1314.content, 'access', _1315 => _1315.find, 'call', _1316 => _1316((s) => s.type === "approval_batch"), 'optionalAccess', _1317 => _1317.data, 'optionalAccess', _1318 => _1318.approvalRequestId]), () => ( null)) : null;
51096
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1320 => _1320.role]) === "assistant" ? trailing : null;
51097
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1321 => _1321.content, 'access', _1322 => _1322.find, 'call', _1323 => _1323((s) => s.type === "approval_batch"), 'optionalAccess', _1324 => _1324.data, 'optionalAccess', _1325 => _1325.approvalRequestId]), () => ( null)) : null;
51035
51098
  let processedToUse = processedHistory;
51036
51099
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
51037
51100
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
51038
51101
  if (historyBatchId) {
51039
51102
  const batchTwins = existingMessages.filter(
51040
51103
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
51041
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1319 => _1319.data, 'optionalAccess', _1320 => _1320.approvalRequestId]) === historyBatchId
51104
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1326 => _1326.data, 'optionalAccess', _1327 => _1327.approvalRequestId]) === historyBatchId
51042
51105
  )
51043
51106
  );
51044
51107
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
51045
51108
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
51046
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1321 => _1321.content])) ? historyTrailingAssistant.content.length : 0;
51109
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1328 => _1328.content])) ? historyTrailingAssistant.content.length : 0;
51047
51110
  const realtimeSize = existingWithSameBatch.content.length;
51048
51111
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
51049
51112
  processedToUse = processedHistory.slice(0, -1);
@@ -51059,16 +51122,16 @@ function mergeHistoryWithRealtime(input) {
51059
51122
  if (pinnedSyntheticIds.has(m.id)) return true;
51060
51123
  if (droppedSyntheticIds.has(m.id)) return false;
51061
51124
  if (processedIds.has(m.id)) return false;
51062
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1322 => _1322.has, 'call', _1323 => _1323(m.id)])) return false;
51125
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1329 => _1329.has, 'call', _1330 => _1330(m.id)])) return false;
51063
51126
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
51064
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1324 => _1324.timestamp, 'optionalAccess', _1325 => _1325.getTime, 'call', _1326 => _1326()]), () => ( 0))) <= historyFetchedAt;
51127
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1331 => _1331.timestamp, 'optionalAccess', _1332 => _1332.getTime, 'call', _1333 => _1333()]), () => ( 0))) <= historyFetchedAt;
51065
51128
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
51066
51129
  }
51067
51130
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
51068
51131
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
51069
51132
  return false;
51070
51133
  }
51071
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1327 => _1327.timestamp, 'optionalAccess', _1328 => _1328.getTime, 'call', _1329 => _1329()]), () => ( 0))) <= historyFetchedAt;
51134
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1334 => _1334.timestamp, 'optionalAccess', _1335 => _1335.getTime, 'call', _1336 => _1336()]), () => ( 0))) <= historyFetchedAt;
51072
51135
  if (covered) return false;
51073
51136
  }
51074
51137
  return true;
@@ -51288,7 +51351,7 @@ function useChatDialogManager({
51288
51351
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
51289
51352
  if (restoreTarget) {
51290
51353
  try {
51291
- await _optionalChain([unarchiveDialog, 'optionalCall', _1330 => _1330(restoreTarget.id)]);
51354
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1337 => _1337(restoreTarget.id)]);
51292
51355
  } catch (err) {
51293
51356
  console.error("[useChatDialogManager] unarchive failed:", err);
51294
51357
  return;
@@ -51705,7 +51768,7 @@ function EmbeddableChatInner({
51705
51768
  }),
51706
51769
  [commandsUrl]
51707
51770
  );
51708
- const userName = _optionalChain([identityUser, 'optionalAccess', _1331 => _1331.firstName, 'optionalAccess', _1332 => _1332.trim, 'call', _1333 => _1333()]) || _optionalChain([identityUser, 'optionalAccess', _1334 => _1334.name, 'optionalAccess', _1335 => _1335.split, 'call', _1336 => _1336(" "), 'access', _1337 => _1337[0], 'optionalAccess', _1338 => _1338.trim, 'call', _1339 => _1339()]) || void 0;
51771
+ const userName = _optionalChain([identityUser, 'optionalAccess', _1338 => _1338.firstName, 'optionalAccess', _1339 => _1339.trim, 'call', _1340 => _1340()]) || _optionalChain([identityUser, 'optionalAccess', _1341 => _1341.name, 'optionalAccess', _1342 => _1342.split, 'call', _1343 => _1343(" "), 'access', _1344 => _1344[0], 'optionalAccess', _1345 => _1345.trim, 'call', _1346 => _1346()]) || void 0;
51709
51772
  const effectiveModes = _react.useMemo.call(void 0, () => {
51710
51773
  if (modes) return modes;
51711
51774
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -51714,19 +51777,19 @@ function EmbeddableChatInner({
51714
51777
  const mingoCaps = _react.useMemo.call(void 0, () => {
51715
51778
  if (mingoState) {
51716
51779
  return {
51717
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1340 => _1340.canRename]), () => ( false)),
51718
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1341 => _1341.canArchive]), () => ( false)),
51719
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1342 => _1342.fetchArchivedDialogs]),
51720
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1343 => _1343.unarchiveDialog]),
51721
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1344 => _1344.searchQuery]),
51722
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1345 => _1345.onSearchChange])
51780
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1347 => _1347.canRename]), () => ( false)),
51781
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1348 => _1348.canArchive]), () => ( false)),
51782
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1349 => _1349.fetchArchivedDialogs]),
51783
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1350 => _1350.unarchiveDialog]),
51784
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1351 => _1351.searchQuery]),
51785
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1352 => _1352.onSearchChange])
51723
51786
  };
51724
51787
  }
51725
51788
  return {
51726
- canRename: !!_optionalChain([effectiveModes, 'access', _1346 => _1346.mingo, 'optionalAccess', _1347 => _1347.renameDialog]),
51727
- canArchive: !!_optionalChain([effectiveModes, 'access', _1348 => _1348.mingo, 'optionalAccess', _1349 => _1349.archiveDialog]),
51728
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1350 => _1350.mingo, 'optionalAccess', _1351 => _1351.fetchArchivedDialogs]),
51729
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1352 => _1352.mingo, 'optionalAccess', _1353 => _1353.unarchiveDialog]),
51789
+ canRename: !!_optionalChain([effectiveModes, 'access', _1353 => _1353.mingo, 'optionalAccess', _1354 => _1354.renameDialog]),
51790
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1355 => _1355.mingo, 'optionalAccess', _1356 => _1356.archiveDialog]),
51791
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1357 => _1357.mingo, 'optionalAccess', _1358 => _1358.fetchArchivedDialogs]),
51792
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1359 => _1359.mingo, 'optionalAccess', _1360 => _1360.unarchiveDialog]),
51730
51793
  searchQuery: void 0,
51731
51794
  onSearchChange: void 0
51732
51795
  };
@@ -51740,7 +51803,7 @@ function EmbeddableChatInner({
51740
51803
  if (controlledActiveMode === void 0) {
51741
51804
  setUncontrolledActiveMode(next);
51742
51805
  }
51743
- _optionalChain([onActiveModeChange, 'optionalCall', _1354 => _1354(next)]);
51806
+ _optionalChain([onActiveModeChange, 'optionalCall', _1361 => _1361(next)]);
51744
51807
  },
51745
51808
  [controlledActiveMode, onActiveModeChange]
51746
51809
  );
@@ -51762,7 +51825,7 @@ function EmbeddableChatInner({
51762
51825
  const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
51763
51826
  const effectiveAssistantName = emptyStateConfig.name;
51764
51827
  const effectiveAssistantIcon = emptyStateConfig.icon;
51765
- const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1355 => _1355.title]) === "string" ? guideWelcome.title : null)));
51828
+ const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1362 => _1362.title]) === "string" ? guideWelcome.title : null)));
51766
51829
  const {
51767
51830
  messages: rawMessages,
51768
51831
  isLoading: chatLoading,
@@ -51802,7 +51865,7 @@ function EmbeddableChatInner({
51802
51865
  if (activeMode !== "guide" || guidePromptSentRef.current) return;
51803
51866
  guidePromptSentRef.current = true;
51804
51867
  void sendMessage(guidePendingPrompt);
51805
- _optionalChain([onGuidePromptConsumed, 'optionalCall', _1356 => _1356()]);
51868
+ _optionalChain([onGuidePromptConsumed, 'optionalCall', _1363 => _1363()]);
51806
51869
  }, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
51807
51870
  const {
51808
51871
  attachments: stagedAttachments,
@@ -51813,7 +51876,7 @@ function EmbeddableChatInner({
51813
51876
  clear: clearAttachments
51814
51877
  } = useChatAttachments();
51815
51878
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
51816
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1357 => _1357.maxItems]), () => ( 10));
51879
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1364 => _1364.maxItems]), () => ( 10));
51817
51880
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
51818
51881
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
51819
51882
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -51830,10 +51893,10 @@ function EmbeddableChatInner({
51830
51893
  }, [activeDialogId, activeMode]);
51831
51894
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
51832
51895
  const m = /* @__PURE__ */ new Map();
51833
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1358 => _1358.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
51896
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1365 => _1365.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
51834
51897
  return m;
51835
- }, [_optionalChain([contextPicker, 'optionalAccess', _1359 => _1359.entityTypes])]);
51836
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1360 => _1360.entityTypes]);
51898
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1366 => _1366.entityTypes])]);
51899
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1367 => _1367.entityTypes]);
51837
51900
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
51838
51901
  const byType = /* @__PURE__ */ new Map();
51839
51902
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -51845,7 +51908,7 @@ function EmbeddableChatInner({
51845
51908
  if (mentionActiveRef.current) {
51846
51909
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
51847
51910
  if (contextItems.length >= contextMaxItems) return;
51848
- _optionalChain([chatInputRef, 'access', _1361 => _1361.current, 'optionalAccess', _1362 => _1362.commitMention, 'call', _1363 => _1363(mentionTokenOf(key, mentionMarkerByType), {
51911
+ _optionalChain([chatInputRef, 'access', _1368 => _1368.current, 'optionalAccess', _1369 => _1369.commitMention, 'call', _1370 => _1370(mentionTokenOf(key, mentionMarkerByType), {
51849
51912
  label: item.label,
51850
51913
  icon: resolveContextIcon(item)
51851
51914
  })]);
@@ -51867,9 +51930,9 @@ function EmbeddableChatInner({
51867
51930
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
51868
51931
  if (mentionKeysRef.current.has(key)) {
51869
51932
  mentionKeysRef.current.delete(key);
51870
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1364 => _1364.current, 'optionalAccess', _1365 => _1365.getValue, 'call', _1366 => _1366()]), () => ( ""));
51933
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1371 => _1371.current, 'optionalAccess', _1372 => _1372.getValue, 'call', _1373 => _1373()]), () => ( ""));
51871
51934
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
51872
- _optionalChain([chatInputRef, 'access', _1367 => _1367.current, 'optionalAccess', _1368 => _1368.setValue, 'call', _1369 => _1369(next)]);
51935
+ _optionalChain([chatInputRef, 'access', _1374 => _1374.current, 'optionalAccess', _1375 => _1375.setValue, 'call', _1376 => _1376(next)]);
51873
51936
  }
51874
51937
  }, [mentionMarkerByType]);
51875
51938
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -51886,7 +51949,7 @@ function EmbeddableChatInner({
51886
51949
  }, []);
51887
51950
  const closeContextPicker = _react.useCallback.call(void 0, () => {
51888
51951
  if (mentionActiveRef.current) {
51889
- _optionalChain([chatInputRef, 'access', _1370 => _1370.current, 'optionalAccess', _1371 => _1371.removeMentionTrigger, 'call', _1372 => _1372()]);
51952
+ _optionalChain([chatInputRef, 'access', _1377 => _1377.current, 'optionalAccess', _1378 => _1378.removeMentionTrigger, 'call', _1379 => _1379()]);
51890
51953
  }
51891
51954
  setContextPickerOpen(false);
51892
51955
  setMentionQuery(null);
@@ -51920,8 +51983,8 @@ function EmbeddableChatInner({
51920
51983
  []
51921
51984
  );
51922
51985
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
51923
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1373 => _1373.firstName]), _optionalChain([identityUser, 'optionalAccess', _1374 => _1374.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1375 => _1375.name, 'optionalAccess', _1376 => _1376.trim, 'call', _1377 => _1377()]) || void 0 : void 0;
51924
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1378 => _1378.avatarUrl, 'optionalAccess', _1379 => _1379.trim, 'call', _1380 => _1380()]) || void 0 : void 0;
51986
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1380 => _1380.firstName]), _optionalChain([identityUser, 'optionalAccess', _1381 => _1381.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1382 => _1382.name, 'optionalAccess', _1383 => _1383.trim, 'call', _1384 => _1384()]) || void 0 : void 0;
51987
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1385 => _1385.avatarUrl, 'optionalAccess', _1386 => _1386.trim, 'call', _1387 => _1387()]) || void 0 : void 0;
51925
51988
  const messages = _react.useMemo.call(void 0, () => {
51926
51989
  const cache = timestampCacheRef.current;
51927
51990
  const seenIds = /* @__PURE__ */ new Set();
@@ -52054,6 +52117,15 @@ function EmbeddableChatInner({
52054
52117
  window.addEventListener("ask-ai:open-with-ref", handler);
52055
52118
  return () => window.removeEventListener("ask-ai:open-with-ref", handler);
52056
52119
  }, [source, discussRef, setIsOpen]);
52120
+ _react.useEffect.call(void 0, () => {
52121
+ const handler = (e) => {
52122
+ const detail = e.detail;
52123
+ if (!detail || detail.source !== source) return;
52124
+ setIsOpen(true);
52125
+ };
52126
+ window.addEventListener("ask-ai:open", handler);
52127
+ return () => window.removeEventListener("ask-ai:open", handler);
52128
+ }, [source, setIsOpen]);
52057
52129
  const hasMessages = messages.length > 0;
52058
52130
  const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
52059
52131
  const dialogsLoadError = dialogsError && dialogs.length === 0;
@@ -52090,9 +52162,9 @@ function EmbeddableChatInner({
52090
52162
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
52091
52163
  const lastSources = _react.useMemo.call(void 0, () => {
52092
52164
  if (chatLoading) return void 0;
52093
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1381 => _1381.sources]);
52165
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1388 => _1388.sources]);
52094
52166
  if (!sources || sources.length === 0) return void 0;
52095
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1382 => _1382.content]) || "";
52167
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1389 => _1389.content]) || "";
52096
52168
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
52097
52169
  (m) => parseInt(m[1], 10)
52098
52170
  );
@@ -52139,7 +52211,7 @@ function EmbeddableChatInner({
52139
52211
  ChatPanelHeader,
52140
52212
  {
52141
52213
  showBack: hasConversation || guideCanReturnToMingo,
52142
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1383 => _1383.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
52214
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1390 => _1390.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
52143
52215
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
52144
52216
  isArchivedView: isViewingArchived,
52145
52217
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -52260,9 +52332,9 @@ function EmbeddableChatInner({
52260
52332
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
52261
52333
  subtitleLoading: emptyStateLoading,
52262
52334
  ...guideWelcome,
52263
- title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1384 => _1384.title]))),
52264
- icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1385 => _1385.icon]))),
52265
- quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1386 => _1386.quickActions]), () => ( guideSuggestedActions)),
52335
+ title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1391 => _1391.title]))),
52336
+ icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1392 => _1392.icon]))),
52337
+ quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1393 => _1393.quickActions]), () => ( guideSuggestedActions)),
52266
52338
  onQuickAction: (action) => {
52267
52339
  setQuickActionPreview(null);
52268
52340
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
@@ -53400,5 +53472,6 @@ function EmbeddableChatInner({
53400
53472
 
53401
53473
 
53402
53474
 
53403
- exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.SquareAvatar2 = SquareAvatar2; exports.UserDisplay = UserDisplay; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.announcementDismissCookieName = announcementDismissCookieName; exports.isDismissedCookieValue = isDismissedCookieValue; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
53404
- //# sourceMappingURL=chunk-S3PO5NOK.cjs.map
53475
+
53476
+ exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.SquareAvatar2 = SquareAvatar2; exports.UserDisplay = UserDisplay; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.announcementDismissCookieName = announcementDismissCookieName; exports.isDismissedCookieValue = isDismissedCookieValue; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.MingoAiButton = MingoAiButton; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
53477
+ //# sourceMappingURL=chunk-VXOZXOOR.cjs.map