@flamingo-stack/openframe-frontend-core 0.0.509 → 0.0.510

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 (93) hide show
  1. package/dist/{chunk-KXZO2WZX.js → chunk-2AASLY6D.js} +2 -2
  2. package/dist/{chunk-UQDMJ6DH.cjs → chunk-2RLI5XVI.cjs} +13 -13
  3. package/dist/{chunk-UQDMJ6DH.cjs.map → chunk-2RLI5XVI.cjs.map} +1 -1
  4. package/dist/{chunk-YQEPRYT5.cjs → chunk-53JKCFFE.cjs} +7 -7
  5. package/dist/{chunk-YQEPRYT5.cjs.map → chunk-53JKCFFE.cjs.map} +1 -1
  6. package/dist/{chunk-K5MSCMDK.cjs → chunk-5AZZQQYS.cjs} +37 -37
  7. package/dist/{chunk-K5MSCMDK.cjs.map → chunk-5AZZQQYS.cjs.map} +1 -1
  8. package/dist/{chunk-C7OY3PQP.cjs → chunk-5CDPRCPS.cjs} +11 -11
  9. package/dist/{chunk-C7OY3PQP.cjs.map → chunk-5CDPRCPS.cjs.map} +1 -1
  10. package/dist/{chunk-DYPYR7FR.cjs → chunk-6TL5XIAW.cjs} +87 -87
  11. package/dist/{chunk-DYPYR7FR.cjs.map → chunk-6TL5XIAW.cjs.map} +1 -1
  12. package/dist/{chunk-7WZHBQ4J.js → chunk-CTMLY2GN.js} +2 -2
  13. package/dist/{chunk-XGIFOHKE.js → chunk-DBR5JLX3.js} +2 -2
  14. package/dist/{chunk-QJJISLPA.cjs → chunk-EJ3EBYNV.cjs} +26 -26
  15. package/dist/{chunk-QJJISLPA.cjs.map → chunk-EJ3EBYNV.cjs.map} +1 -1
  16. package/dist/{chunk-AEELJC4N.js → chunk-FEGEC6FY.js} +165 -158
  17. package/dist/{chunk-AEELJC4N.js.map → chunk-FEGEC6FY.js.map} +1 -1
  18. package/dist/{chunk-I2B6X77L.js → chunk-HCZJZMU7.js} +2 -2
  19. package/dist/{chunk-3QSR22IC.js → chunk-HX4CJYXL.js} +6 -6
  20. package/dist/{chunk-BT2WWDFP.cjs → chunk-J2JUAS4C.cjs} +5 -5
  21. package/dist/{chunk-BT2WWDFP.cjs.map → chunk-J2JUAS4C.cjs.map} +1 -1
  22. package/dist/{chunk-LBAKLT6T.cjs → chunk-JMBIGH4H.cjs} +61 -61
  23. package/dist/{chunk-LBAKLT6T.cjs.map → chunk-JMBIGH4H.cjs.map} +1 -1
  24. package/dist/{chunk-PO5O654H.js → chunk-JOCFPAS6.js} +4 -4
  25. package/dist/{chunk-DC2TKS7C.js → chunk-LBOWSKGM.js} +2 -2
  26. package/dist/{chunk-V3ZAAFE3.js → chunk-MLGGF24T.js} +5 -5
  27. package/dist/{chunk-4G5TLHJD.cjs → chunk-RB2EW6IZ.cjs} +544 -537
  28. package/dist/chunk-RB2EW6IZ.cjs.map +1 -0
  29. package/dist/{chunk-M37PBG4N.cjs → chunk-RHQ7BJKK.cjs} +31 -31
  30. package/dist/{chunk-M37PBG4N.cjs.map → chunk-RHQ7BJKK.cjs.map} +1 -1
  31. package/dist/{chunk-CIOLOQKQ.cjs → chunk-RJ3D3PE2.cjs} +4 -4
  32. package/dist/{chunk-CIOLOQKQ.cjs.map → chunk-RJ3D3PE2.cjs.map} +1 -1
  33. package/dist/{chunk-K6QTZ7CZ.js → chunk-SRYV4H3M.js} +2 -2
  34. package/dist/{chunk-72XAID7Y.js → chunk-TBGSQTJK.js} +4 -4
  35. package/dist/{chunk-LFUPI7VX.js → chunk-UWPT23SA.js} +2 -2
  36. package/dist/{chunk-KBN7PMFT.js → chunk-VDJF4ZAU.js} +2 -2
  37. package/dist/{chunk-TWSKTJHW.js → chunk-WNOGR5AA.js} +2 -2
  38. package/dist/{chunk-3CGZPAGR.cjs → chunk-WSAPKKDU.cjs} +3 -3
  39. package/dist/{chunk-3CGZPAGR.cjs.map → chunk-WSAPKKDU.cjs.map} +1 -1
  40. package/dist/{chunk-2T4GTV25.cjs → chunk-XJVRAKEX.cjs} +9 -9
  41. package/dist/{chunk-2T4GTV25.cjs.map → chunk-XJVRAKEX.cjs.map} +1 -1
  42. package/dist/{chunk-T7MCSA55.cjs → chunk-Z35QWWJH.cjs} +26 -26
  43. package/dist/{chunk-T7MCSA55.cjs.map → chunk-Z35QWWJH.cjs.map} +1 -1
  44. package/dist/components/case-studies/index.cjs +8 -8
  45. package/dist/components/case-studies/index.js +2 -2
  46. package/dist/components/chat/index.cjs +2 -2
  47. package/dist/components/chat/index.js +1 -1
  48. package/dist/components/contact/index.cjs +3 -3
  49. package/dist/components/contact/index.js +2 -2
  50. package/dist/components/docs/index.cjs +5 -5
  51. package/dist/components/docs/index.js +4 -4
  52. package/dist/components/embeds/index.cjs +3 -3
  53. package/dist/components/embeds/index.js +2 -2
  54. package/dist/components/faq/index.cjs +3 -3
  55. package/dist/components/faq/index.js +2 -2
  56. package/dist/components/features/index.cjs +2 -2
  57. package/dist/components/features/index.js +1 -1
  58. package/dist/components/help-center-pages/index.cjs +22 -22
  59. package/dist/components/help-center-pages/index.js +13 -13
  60. package/dist/components/index.cjs +132 -132
  61. package/dist/components/index.js +11 -11
  62. package/dist/components/meeting-scheduler/index.cjs +34 -34
  63. package/dist/components/meeting-scheduler/index.js +3 -3
  64. package/dist/components/navigation/header.d.ts.map +1 -1
  65. package/dist/components/navigation/index.cjs +2 -2
  66. package/dist/components/navigation/index.js +1 -1
  67. package/dist/components/onboarding-guides/index.cjs +5 -5
  68. package/dist/components/onboarding-guides/index.js +4 -4
  69. package/dist/components/related-content/index.cjs +3 -3
  70. package/dist/components/related-content/index.js +2 -2
  71. package/dist/components/tickets/index.cjs +6 -6
  72. package/dist/components/tickets/index.js +5 -5
  73. package/dist/components/ui/index.cjs +2 -2
  74. package/dist/components/ui/index.js +1 -1
  75. package/dist/index.cjs +2 -2
  76. package/dist/index.js +1 -1
  77. package/package.json +1 -1
  78. package/src/components/navigation/header.tsx +21 -16
  79. package/src/stories/TopNavigation.stories.tsx +1 -1
  80. package/dist/chunk-4G5TLHJD.cjs.map +0 -1
  81. /package/dist/{chunk-KXZO2WZX.js.map → chunk-2AASLY6D.js.map} +0 -0
  82. /package/dist/{chunk-7WZHBQ4J.js.map → chunk-CTMLY2GN.js.map} +0 -0
  83. /package/dist/{chunk-XGIFOHKE.js.map → chunk-DBR5JLX3.js.map} +0 -0
  84. /package/dist/{chunk-I2B6X77L.js.map → chunk-HCZJZMU7.js.map} +0 -0
  85. /package/dist/{chunk-3QSR22IC.js.map → chunk-HX4CJYXL.js.map} +0 -0
  86. /package/dist/{chunk-PO5O654H.js.map → chunk-JOCFPAS6.js.map} +0 -0
  87. /package/dist/{chunk-DC2TKS7C.js.map → chunk-LBOWSKGM.js.map} +0 -0
  88. /package/dist/{chunk-V3ZAAFE3.js.map → chunk-MLGGF24T.js.map} +0 -0
  89. /package/dist/{chunk-K6QTZ7CZ.js.map → chunk-SRYV4H3M.js.map} +0 -0
  90. /package/dist/{chunk-72XAID7Y.js.map → chunk-TBGSQTJK.js.map} +0 -0
  91. /package/dist/{chunk-LFUPI7VX.js.map → chunk-UWPT23SA.js.map} +0 -0
  92. /package/dist/{chunk-KBN7PMFT.js.map → chunk-VDJF4ZAU.js.map} +0 -0
  93. /package/dist/{chunk-TWSKTJHW.js.map → chunk-WNOGR5AA.js.map} +0 -0
@@ -39654,6 +39654,126 @@ function MingoAiButton({ source, icon, label = "Mingo AI", className, onClick, .
39654
39654
  );
39655
39655
  }
39656
39656
 
39657
+ // src/components/navigation/mobile-nav-panel.tsx
39658
+
39659
+
39660
+ _chunkR4HKB3YDcjs.init_button2.call(void 0, );
39661
+
39662
+
39663
+ var MOBILE_NAV_PANEL_ID = "mobile-nav-panel";
39664
+ function MobileNavPanel({ isOpen, config }) {
39665
+ const panelRef = _react.useRef.call(void 0, null);
39666
+ _overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
39667
+ _chunkEYTXD62Bcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: config.onClose });
39668
+ const headerHeight = _chunkEYTXD62Bcjs.useHeaderHeight.call(void 0, 64, { enabled: isOpen });
39669
+ if (!isOpen) return null;
39670
+ const renderNavigationItem = (item) => {
39671
+ if (item.element) {
39672
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: item.element }, item.id);
39673
+ }
39674
+ const handleClick = () => {
39675
+ if (item.onClick) {
39676
+ item.onClick();
39677
+ }
39678
+ _optionalChain([config, 'access', _898 => _898.onClose, 'optionalCall', _899 => _899()]);
39679
+ };
39680
+ if (item.href) {
39681
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39682
+ _chunkR4HKB3YDcjs.Button,
39683
+ {
39684
+ variant: "outline",
39685
+ size: "small-legacy",
39686
+ href: item.href,
39687
+ onClick: handleClick,
39688
+ leftIcon: item.icon,
39689
+ rightIcon: item.badge,
39690
+ className: _chunkA62C4C4Vcjs.cn.call(void 0,
39691
+ "justify-start h-12 px-4 bg-transparent border-none text-ods-text-primary hover:bg-ods-bg-hover gap-3 rounded-md transition-colors",
39692
+ item.isActive ? "bg-ods-bg-hover" : ""
39693
+ ),
39694
+ children: item.label
39695
+ },
39696
+ item.id
39697
+ );
39698
+ }
39699
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39700
+ _chunkR4HKB3YDcjs.Button,
39701
+ {
39702
+ variant: "outline",
39703
+ size: "small-legacy",
39704
+ onClick: handleClick,
39705
+ leftIcon: item.icon,
39706
+ className: _chunkA62C4C4Vcjs.cn.call(void 0,
39707
+ "justify-start h-12 px-4 bg-transparent border-none text-ods-text-primary hover:bg-ods-bg-hover gap-3 rounded-md transition-colors",
39708
+ item.isActive ? "bg-ods-bg-hover" : ""
39709
+ ),
39710
+ children: [
39711
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 text-left", children: item.label }),
39712
+ item.badge !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "ml-auto", children: item.badge })
39713
+ ]
39714
+ },
39715
+ item.id
39716
+ );
39717
+ };
39718
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
39719
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39720
+ "div",
39721
+ {
39722
+ className: _chunkA62C4C4Vcjs.cn.call(void 0, "fixed inset-0 z-[9998]", OVERLAY_BACKDROP_CLASS),
39723
+ onClick: config.onClose
39724
+ }
39725
+ ),
39726
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39727
+ "div",
39728
+ {
39729
+ ref: panelRef,
39730
+ id: MOBILE_NAV_PANEL_ID,
39731
+ role: "dialog",
39732
+ "aria-modal": "true",
39733
+ "aria-label": "Navigation menu",
39734
+ tabIndex: -1,
39735
+ style: { "--mobile-nav-top": `${headerHeight + 16}px` },
39736
+ className: _chunkA62C4C4Vcjs.cn.call(void 0,
39737
+ "fixed z-[9999] rounded-lg shadow-xl",
39738
+ config.className ? "" : "bg-ods-card border border-ods-border",
39739
+ // Responsive positioning and sizing — LEFT-anchored from md, flush
39740
+ // under the burger cell at the left edge of the unified
39741
+ // top-navigation (a larger inset read as a stray gap between the
39742
+ // burger and its panel).
39743
+ "right-2 left-2 md:right-auto",
39744
+ "md:left-2 md:w-[400px] md:max-w-[calc(100vw-1rem)]",
39745
+ // Small-viewport (svh) sizing anchored below the measured header —
39746
+ // 100vh overflowed under mobile browser chrome, leaving the bottom
39747
+ // entries and footer unreachable while the body was scroll-locked.
39748
+ "top-[var(--mobile-nav-top)]",
39749
+ "max-h-[calc(100svh-var(--mobile-nav-top)-50px)] md:max-h-[calc(100svh-var(--mobile-nav-top)-8px)]",
39750
+ "flex flex-col",
39751
+ config.className || ""
39752
+ ),
39753
+ onClick: (e) => e.stopPropagation(),
39754
+ children: [
39755
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex justify-end p-2 border-b border-ods-border flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39756
+ _chunkR4HKB3YDcjs.Button,
39757
+ {
39758
+ "aria-label": "Close menu",
39759
+ size: "icon",
39760
+ variant: "transparent",
39761
+ leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "w-4 h-4 text-ods-text-primary" }),
39762
+ onClick: config.onClose,
39763
+ className: "hover:bg-ods-bg-hover"
39764
+ }
39765
+ ) }),
39766
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-2 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col space-y-1", children: config.sections.map((section, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
39767
+ section.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-4 pt-2 pb-1 text-h6 font-semibold uppercase text-ods-text-secondary", children: section.title }),
39768
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-1", children: section.items.map(renderNavigationItem) })
39769
+ ] }, index)) }) }),
39770
+ config.footer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border p-4 pb-[max(1rem,env(safe-area-inset-bottom))] flex-shrink-0", children: config.footer })
39771
+ ]
39772
+ }
39773
+ )
39774
+ ] });
39775
+ }
39776
+
39657
39777
  // src/components/navigation/ticket-alerts-button.tsx
39658
39778
  _chunkA62C4C4Vcjs.init_cn.call(void 0, );
39659
39779
 
@@ -39672,7 +39792,7 @@ var ANON_DEFAULTS = {
39672
39792
  function useResolveChatIdentity(enabled) {
39673
39793
  const runtime = _chunk7OPWSWEJcjs.useRequiredChatRuntime.call(void 0, );
39674
39794
  const url = runtime.endpoints.identityUrl;
39675
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunkEYTXD62Bcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _898 => _898.email]), () => ( null));
39795
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunkEYTXD62Bcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _900 => _900.email]), () => ( null));
39676
39796
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
39677
39797
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
39678
39798
  _react.useEffect.call(void 0, () => {
@@ -39748,9 +39868,9 @@ function TicketLiveProvider({ children }) {
39748
39868
  const runtime = _chunk7OPWSWEJcjs.useChatRuntime.call(void 0, );
39749
39869
  const identity = useChatIdentity();
39750
39870
  const queryClient = _reactquery.useQueryClient.call(void 0, );
39751
- const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _899 => _899.endpoints, 'access', _900 => _900.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
39752
- const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _901 => _901.endpoints, 'access', _902 => _902.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
39753
- const authed = identity.authTier !== "anon" && !!_optionalChain([identity, 'access', _903 => _903.user, 'optionalAccess', _904 => _904.email]);
39871
+ const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _901 => _901.endpoints, 'access', _902 => _902.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
39872
+ const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _903 => _903.endpoints, 'access', _904 => _904.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
39873
+ const authed = identity.authTier !== "anon" && !!_optionalChain([identity, 'access', _905 => _905.user, 'optionalAccess', _906 => _906.email]);
39754
39874
  const [connected, setConnected] = React126.default.useState(false);
39755
39875
  const [summary, setSummary] = React126.default.useState(EMPTY_SUMMARY);
39756
39876
  const [openTicketIdState, setOpenTicketIdState] = React126.default.useState(null);
@@ -39817,7 +39937,7 @@ function TicketLiveProvider({ children }) {
39817
39937
  handlersRef.current.onEvent = (eventName, data) => {
39818
39938
  if (eventName === "ticket-summary") {
39819
39939
  const frame = data;
39820
- if (isSummaryData(_optionalChain([frame, 'optionalAccess', _905 => _905.data]))) {
39940
+ if (isSummaryData(_optionalChain([frame, 'optionalAccess', _907 => _907.data]))) {
39821
39941
  setSummary({
39822
39942
  totalUnread: frame.data.totalUnread,
39823
39943
  tickets: _nullishCoalesce(frame.data.tickets, () => ( {})),
@@ -39832,13 +39952,13 @@ function TicketLiveProvider({ children }) {
39832
39952
  }
39833
39953
  if (eventName === "ticket-status") {
39834
39954
  const frame = data;
39835
- const ticketId = _optionalChain([frame, 'optionalAccess', _906 => _906.data, 'optionalAccess', _907 => _907.ticket_external_id]);
39955
+ const ticketId = _optionalChain([frame, 'optionalAccess', _908 => _908.data, 'optionalAccess', _909 => _909.ticket_external_id]);
39836
39956
  scheduleInvalidation(ticketId);
39837
39957
  return;
39838
39958
  }
39839
39959
  if (eventName === "ticket-message") {
39840
39960
  const frame = data;
39841
- const payload = _optionalChain([frame, 'optionalAccess', _908 => _908.data]);
39961
+ const payload = _optionalChain([frame, 'optionalAccess', _910 => _910.data]);
39842
39962
  if (!isTicketMessageData(payload)) {
39843
39963
  scheduleInvalidation();
39844
39964
  return;
@@ -39869,7 +39989,7 @@ function TicketLiveProvider({ children }) {
39869
39989
  const retryIfIdle = () => {
39870
39990
  if (noStreamRef.current) {
39871
39991
  noStreamRef.current = false;
39872
- _optionalChain([subscriptionRef, 'access', _909 => _909.current, 'optionalAccess', _910 => _910.reconnectNow, 'call', _911 => _911()]);
39992
+ _optionalChain([subscriptionRef, 'access', _911 => _911.current, 'optionalAccess', _912 => _912.reconnectNow, 'call', _913 => _913()]);
39873
39993
  }
39874
39994
  };
39875
39995
  window.addEventListener("focus", retryIfIdle);
@@ -39879,7 +39999,7 @@ function TicketLiveProvider({ children }) {
39879
39999
  clearTimeout(invalidateTimerRef.current);
39880
40000
  invalidateTimerRef.current = null;
39881
40001
  }
39882
- _optionalChain([subscriptionRef, 'access', _912 => _912.current, 'optionalAccess', _913 => _913.close, 'call', _914 => _914()]);
40002
+ _optionalChain([subscriptionRef, 'access', _914 => _914.current, 'optionalAccess', _915 => _915.close, 'call', _916 => _916()]);
39883
40003
  subscriptionRef.current = null;
39884
40004
  setConnected(false);
39885
40005
  setSummary(EMPTY_SUMMARY);
@@ -39895,7 +40015,7 @@ function TicketLiveProvider({ children }) {
39895
40015
  if (!response.ok) return;
39896
40016
  zeroUnread(ticketExternalId);
39897
40017
  const body = await response.json().catch(() => null);
39898
- if (isSummaryData(_optionalChain([body, 'optionalAccess', _915 => _915.summary]))) {
40018
+ if (isSummaryData(_optionalChain([body, 'optionalAccess', _917 => _917.summary]))) {
39899
40019
  setSummary({
39900
40020
  totalUnread: body.summary.totalUnread,
39901
40021
  tickets: _nullishCoalesce(body.summary.tickets, () => ( {})),
@@ -39913,7 +40033,7 @@ function TicketLiveProvider({ children }) {
39913
40033
  }, []);
39914
40034
  const notifyTicketCreated = React126.default.useCallback(() => {
39915
40035
  noStreamRef.current = false;
39916
- _optionalChain([subscriptionRef, 'access', _916 => _916.current, 'optionalAccess', _917 => _917.reconnectNow, 'call', _918 => _918()]);
40036
+ _optionalChain([subscriptionRef, 'access', _918 => _918.current, 'optionalAccess', _919 => _919.reconnectNow, 'call', _920 => _920()]);
39917
40037
  }, []);
39918
40038
  const value = React126.default.useMemo(() => {
39919
40039
  let unreadByTicket = summary.tickets;
@@ -40004,126 +40124,6 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
40004
40124
  );
40005
40125
  }
40006
40126
 
40007
- // src/components/navigation/mobile-nav-panel.tsx
40008
-
40009
-
40010
- _chunkR4HKB3YDcjs.init_button2.call(void 0, );
40011
-
40012
-
40013
- var MOBILE_NAV_PANEL_ID = "mobile-nav-panel";
40014
- function MobileNavPanel({ isOpen, config }) {
40015
- const panelRef = _react.useRef.call(void 0, null);
40016
- _overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
40017
- _chunkEYTXD62Bcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: config.onClose });
40018
- const headerHeight = _chunkEYTXD62Bcjs.useHeaderHeight.call(void 0, 64, { enabled: isOpen });
40019
- if (!isOpen) return null;
40020
- const renderNavigationItem = (item) => {
40021
- if (item.element) {
40022
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: item.element }, item.id);
40023
- }
40024
- const handleClick = () => {
40025
- if (item.onClick) {
40026
- item.onClick();
40027
- }
40028
- _optionalChain([config, 'access', _919 => _919.onClose, 'optionalCall', _920 => _920()]);
40029
- };
40030
- if (item.href) {
40031
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40032
- _chunkR4HKB3YDcjs.Button,
40033
- {
40034
- variant: "outline",
40035
- size: "small-legacy",
40036
- href: item.href,
40037
- onClick: handleClick,
40038
- leftIcon: item.icon,
40039
- rightIcon: item.badge,
40040
- className: _chunkA62C4C4Vcjs.cn.call(void 0,
40041
- "justify-start h-12 px-4 bg-transparent border-none text-ods-text-primary hover:bg-ods-bg-hover gap-3 rounded-md transition-colors",
40042
- item.isActive ? "bg-ods-bg-hover" : ""
40043
- ),
40044
- children: item.label
40045
- },
40046
- item.id
40047
- );
40048
- }
40049
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40050
- _chunkR4HKB3YDcjs.Button,
40051
- {
40052
- variant: "outline",
40053
- size: "small-legacy",
40054
- onClick: handleClick,
40055
- leftIcon: item.icon,
40056
- className: _chunkA62C4C4Vcjs.cn.call(void 0,
40057
- "justify-start h-12 px-4 bg-transparent border-none text-ods-text-primary hover:bg-ods-bg-hover gap-3 rounded-md transition-colors",
40058
- item.isActive ? "bg-ods-bg-hover" : ""
40059
- ),
40060
- children: [
40061
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 text-left", children: item.label }),
40062
- item.badge !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "ml-auto", children: item.badge })
40063
- ]
40064
- },
40065
- item.id
40066
- );
40067
- };
40068
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
40069
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40070
- "div",
40071
- {
40072
- className: _chunkA62C4C4Vcjs.cn.call(void 0, "fixed inset-0 z-[9998]", OVERLAY_BACKDROP_CLASS),
40073
- onClick: config.onClose
40074
- }
40075
- ),
40076
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40077
- "div",
40078
- {
40079
- ref: panelRef,
40080
- id: MOBILE_NAV_PANEL_ID,
40081
- role: "dialog",
40082
- "aria-modal": "true",
40083
- "aria-label": "Navigation menu",
40084
- tabIndex: -1,
40085
- style: { "--mobile-nav-top": `${headerHeight + 16}px` },
40086
- className: _chunkA62C4C4Vcjs.cn.call(void 0,
40087
- "fixed z-[9999] rounded-lg shadow-xl",
40088
- config.className ? "" : "bg-ods-card border border-ods-border",
40089
- // Responsive positioning and sizing — LEFT-anchored from md, flush
40090
- // under the burger cell at the left edge of the unified
40091
- // top-navigation (a larger inset read as a stray gap between the
40092
- // burger and its panel).
40093
- "right-2 left-2 md:right-auto",
40094
- "md:left-2 md:w-[400px] md:max-w-[calc(100vw-1rem)]",
40095
- // Small-viewport (svh) sizing anchored below the measured header —
40096
- // 100vh overflowed under mobile browser chrome, leaving the bottom
40097
- // entries and footer unreachable while the body was scroll-locked.
40098
- "top-[var(--mobile-nav-top)]",
40099
- "max-h-[calc(100svh-var(--mobile-nav-top)-50px)] md:max-h-[calc(100svh-var(--mobile-nav-top)-8px)]",
40100
- "flex flex-col",
40101
- config.className || ""
40102
- ),
40103
- onClick: (e) => e.stopPropagation(),
40104
- children: [
40105
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex justify-end p-2 border-b border-ods-border flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40106
- _chunkR4HKB3YDcjs.Button,
40107
- {
40108
- "aria-label": "Close menu",
40109
- size: "icon",
40110
- variant: "transparent",
40111
- leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "w-4 h-4 text-ods-text-primary" }),
40112
- onClick: config.onClose,
40113
- className: "hover:bg-ods-bg-hover"
40114
- }
40115
- ) }),
40116
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-2 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col space-y-1", children: config.sections.map((section, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
40117
- section.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-4 pt-2 pb-1 text-h6 font-semibold uppercase text-ods-text-secondary", children: section.title }),
40118
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-1", children: section.items.map(renderNavigationItem) })
40119
- ] }, index)) }) }),
40120
- config.footer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border p-4 pb-[max(1rem,env(safe-area-inset-bottom))] flex-shrink-0", children: config.footer })
40121
- ]
40122
- }
40123
- )
40124
- ] });
40125
- }
40126
-
40127
40127
  // src/components/navigation/top-navigation.tsx
40128
40128
  _chunkA62C4C4Vcjs.init_cn.call(void 0, );
40129
40129
 
@@ -40203,6 +40203,7 @@ function TopNavigation({
40203
40203
 
40204
40204
  // src/components/navigation/header.tsx
40205
40205
 
40206
+ var NAV_ITEM_CLASSES = "text-h6 [&_svg]:h-6 [&_svg]:w-6";
40206
40207
  function Header2({ config, platform }) {
40207
40208
  const [show, setShow] = _react.useState.call(void 0, true);
40208
40209
  const [lastScrollY, setLastScrollY] = _react.useState.call(void 0, 0);
@@ -40292,9 +40293,10 @@ function Header2({ config, platform }) {
40292
40293
  size: "default",
40293
40294
  font: "regular",
40294
40295
  className: _chunkA62C4C4Vcjs.cn.call(void 0,
40295
- // Top-level nav links: the default-size button with the h4
40296
- // (DM Sans 500) `font="regular"` labelFigma 133-740, added
40297
- // for navigation; dropdown children stay on the h6 step.
40296
+ // Top-level nav links (Figma 2936-6815): compact h6 label
40297
+ // (DM Sans 500, 14/20) with 24px icons overrides the
40298
+ // font="regular" h4 step and the button's 20px svg cap.
40299
+ NAV_ITEM_CLASSES,
40298
40300
  item.isActive && "bg-ods-bg-hover",
40299
40301
  // Active items get subtle gray background
40300
40302
  isOpen && "bg-ods-bg-hover",
@@ -40337,7 +40339,11 @@ function Header2({ config, platform }) {
40337
40339
  },
40338
40340
  className: _chunkA62C4C4Vcjs.cn.call(void 0,
40339
40341
  "flex justify-start w-full",
40340
- "text-h6 font-bold",
40342
+ // Same caption step as the top-level nav links (designer:
40343
+ // dropdowns follow the h6 caption size/weight too). The
40344
+ // explicit font-medium beats small-legacy's font-bold via
40345
+ // tailwind-merge instead of stylesheet order.
40346
+ "text-h6 font-medium",
40341
40347
  index < (_nullishCoalesce(_optionalChain([item, 'access', _921 => _921.children, 'optionalAccess', _922 => _922.length]), () => ( 0))) - 1 && "mb-1",
40342
40348
  "text-ods-text-primary",
40343
40349
  // All dropdown items use primary text color
@@ -40370,6 +40376,7 @@ function Header2({ config, platform }) {
40370
40376
  size: "default",
40371
40377
  font: "regular",
40372
40378
  className: _chunkA62C4C4Vcjs.cn.call(void 0,
40379
+ NAV_ITEM_CLASSES,
40373
40380
  "hover:bg-ods-bg-hover focus:bg-ods-bg-hover",
40374
40381
  "whitespace-nowrap",
40375
40382
  "text-ods-text-primary",
@@ -40394,6 +40401,7 @@ function Header2({ config, platform }) {
40394
40401
  size: "default",
40395
40402
  font: "regular",
40396
40403
  className: _chunkA62C4C4Vcjs.cn.call(void 0,
40404
+ NAV_ITEM_CLASSES,
40397
40405
  "hover:bg-ods-bg-hover focus:bg-ods-bg-hover",
40398
40406
  "whitespace-nowrap",
40399
40407
  "text-ods-text-primary",
@@ -40408,8 +40416,7 @@ function Header2({ config, platform }) {
40408
40416
  );
40409
40417
  };
40410
40418
  const hasNav = !!config.navigation && config.navigation.items.length > 0;
40411
- const hasLeftCells = !!_optionalChain([config, 'access', _923 => _923.actions, 'optionalAccess', _924 => _924.left, 'optionalAccess', _925 => _925.length]);
40412
- const hasCta = !!_optionalChain([config, 'access', _926 => _926.actions, 'optionalAccess', _927 => _927.right, 'optionalAccess', _928 => _928.length]) || !!(_optionalChain([config, 'access', _929 => _929.actions, 'optionalAccess', _930 => _930.persistent]) && config.actions.persistent.length > 0);
40419
+ const hasCta = !!_optionalChain([config, 'access', _923 => _923.actions, 'optionalAccess', _924 => _924.right, 'optionalAccess', _925 => _925.length]) || !!(_optionalChain([config, 'access', _926 => _926.actions, 'optionalAccess', _927 => _927.persistent]) && config.actions.persistent.length > 0);
40413
40420
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40414
40421
  "div",
40415
40422
  {
@@ -40426,24 +40433,24 @@ function Header2({ config, platform }) {
40426
40433
  centerBreakpoint: "lg",
40427
40434
  size: "big",
40428
40435
  leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
40429
- !!_optionalChain([config, 'access', _931 => _931.actions, 'optionalAccess', _932 => _932.left, 'optionalAccess', _933 => _933.length]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full items-center border-r border-ods-border", children: config.actions.left }),
40430
- _optionalChain([config, 'access', _934 => _934.mobile, 'optionalAccess', _935 => _935.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40436
+ !!_optionalChain([config, 'access', _928 => _928.actions, 'optionalAccess', _929 => _929.left, 'optionalAccess', _930 => _930.length]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full items-center border-r border-ods-border", children: config.actions.left }),
40437
+ _optionalChain([config, 'access', _931 => _931.mobile, 'optionalAccess', _932 => _932.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40431
40438
  HeaderButton,
40432
40439
  {
40433
40440
  className: "lg:hidden border-r border-ods-border",
40434
40441
  onClick: () => {
40435
- _optionalChain([config, 'access', _936 => _936.mobile, 'optionalAccess', _937 => _937.onToggle, 'optionalCall', _938 => _938()]);
40442
+ _optionalChain([config, 'access', _933 => _933.mobile, 'optionalAccess', _934 => _934.onToggle, 'optionalCall', _935 => _935()]);
40436
40443
  },
40437
- isActive: _nullishCoalesce(_optionalChain([config, 'access', _939 => _939.mobile, 'optionalAccess', _940 => _940.isOpen]), () => ( false)),
40438
- "aria-label": _optionalChain([config, 'access', _941 => _941.mobile, 'optionalAccess', _942 => _942.isOpen]) ? "Close menu" : "Open menu",
40439
- "aria-expanded": _nullishCoalesce(_optionalChain([config, 'access', _943 => _943.mobile, 'optionalAccess', _944 => _944.isOpen]), () => ( false)),
40440
- "aria-controls": _optionalChain([config, 'access', _945 => _945.mobile, 'optionalAccess', _946 => _946.isOpen]) ? MOBILE_NAV_PANEL_ID : void 0,
40441
- icon: _optionalChain([config, 'access', _947 => _947.mobile, 'optionalAccess', _948 => _948.isOpen]) ? _optionalChain([config, 'access', _949 => _949.mobile, 'optionalAccess', _950 => _950.closeIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.XmarkIcon, { className: "w-6 h-6" }) : _optionalChain([config, 'access', _951 => _951.mobile, 'optionalAccess', _952 => _952.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.Menu01Icon, { className: "w-6 h-6" })
40444
+ isActive: _nullishCoalesce(_optionalChain([config, 'access', _936 => _936.mobile, 'optionalAccess', _937 => _937.isOpen]), () => ( false)),
40445
+ "aria-label": _optionalChain([config, 'access', _938 => _938.mobile, 'optionalAccess', _939 => _939.isOpen]) ? "Close menu" : "Open menu",
40446
+ "aria-expanded": _nullishCoalesce(_optionalChain([config, 'access', _940 => _940.mobile, 'optionalAccess', _941 => _941.isOpen]), () => ( false)),
40447
+ "aria-controls": _optionalChain([config, 'access', _942 => _942.mobile, 'optionalAccess', _943 => _943.isOpen]) ? MOBILE_NAV_PANEL_ID : void 0,
40448
+ icon: _optionalChain([config, 'access', _944 => _944.mobile, 'optionalAccess', _945 => _945.isOpen]) ? _optionalChain([config, 'access', _946 => _946.mobile, 'optionalAccess', _947 => _947.closeIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.XmarkIcon, { className: "w-6 h-6" }) : _optionalChain([config, 'access', _948 => _948.mobile, 'optionalAccess', _949 => _949.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.Menu01Icon, { className: "w-6 h-6" })
40442
40449
  }
40443
40450
  )
40444
40451
  ] }),
40445
40452
  logo: /* @__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 }),
40446
- logoClassName: _chunkA62C4C4Vcjs.cn.call(void 0, "md:pl-[var(--spacing-system-mf)]", hasLeftCells && "lg:pl-[var(--spacing-system-l)]"),
40453
+ logoClassName: "pl-[var(--spacing-system-lf)] md:pl-[var(--spacing-system-lf)] lg:pl-[var(--spacing-system-lf)]",
40447
40454
  center: hasNav ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40448
40455
  "nav",
40449
40456
  {
@@ -40451,23 +40458,23 @@ function Header2({ config, platform }) {
40451
40458
  "flex items-center gap-2",
40452
40459
  // True centering relative to the bar (not the leftover flex
40453
40460
  // space) — same treatment the pre-unification header had.
40454
- _optionalChain([config, 'access', _953 => _953.navigation, 'optionalAccess', _954 => _954.position]) === "center" && "absolute left-1/2 -translate-x-1/2"
40461
+ _optionalChain([config, 'access', _950 => _950.navigation, 'optionalAccess', _951 => _951.position]) === "center" && "absolute left-1/2 -translate-x-1/2"
40455
40462
  ),
40456
40463
  role: "navigation",
40457
40464
  "aria-label": "Main navigation",
40458
- children: _optionalChain([config, 'access', _955 => _955.navigation, 'optionalAccess', _956 => _956.items, 'access', _957 => _957.map, 'call', _958 => _958(renderNavigationItem)])
40465
+ children: _optionalChain([config, 'access', _952 => _952.navigation, 'optionalAccess', _953 => _953.items, 'access', _954 => _954.map, 'call', _955 => _955(renderNavigationItem)])
40459
40466
  }
40460
40467
  ) : void 0,
40461
40468
  centerClassName: _chunkA62C4C4Vcjs.cn.call(void 0,
40462
- _optionalChain([config, 'access', _959 => _959.navigation, 'optionalAccess', _960 => _960.position]) === "left" && "justify-start",
40463
- _optionalChain([config, 'access', _961 => _961.navigation, 'optionalAccess', _962 => _962.position]) === "right" && "justify-end pr-[var(--spacing-system-m)]"
40469
+ _optionalChain([config, 'access', _956 => _956.navigation, 'optionalAccess', _957 => _957.position]) === "left" && "justify-start",
40470
+ _optionalChain([config, 'access', _958 => _958.navigation, 'optionalAccess', _959 => _959.position]) === "right" && "justify-end pr-[var(--spacing-system-m)]"
40464
40471
  ),
40465
40472
  cta: hasCta ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
40466
- !!_optionalChain([config, 'access', _963 => _963.actions, 'optionalAccess', _964 => _964.right, 'optionalAccess', _965 => _965.length]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:flex items-center gap-3", children: config.actions.right }),
40467
- _optionalChain([config, 'access', _966 => _966.actions, 'optionalAccess', _967 => _967.persistent]) && config.actions.persistent.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.persistent })
40473
+ !!_optionalChain([config, 'access', _960 => _960.actions, 'optionalAccess', _961 => _961.right, 'optionalAccess', _962 => _962.length]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:flex items-center gap-3", children: config.actions.right }),
40474
+ _optionalChain([config, 'access', _963 => _963.actions, 'optionalAccess', _964 => _964.persistent]) && config.actions.persistent.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.persistent })
40468
40475
  ] }) : void 0,
40469
40476
  ctaClassName: "gap-3",
40470
- sideActions: config.tickets || _optionalChain([config, 'access', _968 => _968.mingo, 'optionalAccess', _969 => _969.enabled]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
40477
+ sideActions: config.tickets || _optionalChain([config, 'access', _965 => _965.mingo, 'optionalAccess', _966 => _966.enabled]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
40471
40478
  config.tickets && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40472
40479
  TicketAlertsButton,
40473
40480
  {
@@ -40476,7 +40483,7 @@ function Header2({ config, platform }) {
40476
40483
  className: "border-l border-ods-border"
40477
40484
  }
40478
40485
  ),
40479
- _optionalChain([config, 'access', _970 => _970.mingo, 'optionalAccess', _971 => _971.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40486
+ _optionalChain([config, 'access', _967 => _967.mingo, 'optionalAccess', _968 => _968.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40480
40487
  MingoAiButton,
40481
40488
  {
40482
40489
  source: config.mingo.source,
@@ -40498,17 +40505,17 @@ function Header2({ config, platform }) {
40498
40505
  // src/components/navigation/header-skeleton.tsx
40499
40506
 
40500
40507
  function HeaderSkeleton({ config }) {
40501
- const showNavigation = _optionalChain([config, 'optionalAccess', _972 => _972.navigation]) && config.navigation.items.length > 0;
40502
- const showActions = _optionalChain([config, 'optionalAccess', _973 => _973.actions, 'optionalAccess', _974 => _974.right]) && config.actions.right.length > 0;
40503
- const showMobileMenu = _optionalChain([config, 'optionalAccess', _975 => _975.mobile, 'optionalAccess', _976 => _976.enabled]);
40504
- const showLeftActions = !!_optionalChain([config, 'optionalAccess', _977 => _977.actions, 'optionalAccess', _978 => _978.left]);
40508
+ const showNavigation = _optionalChain([config, 'optionalAccess', _969 => _969.navigation]) && config.navigation.items.length > 0;
40509
+ const showActions = _optionalChain([config, 'optionalAccess', _970 => _970.actions, 'optionalAccess', _971 => _971.right]) && config.actions.right.length > 0;
40510
+ const showMobileMenu = _optionalChain([config, 'optionalAccess', _972 => _972.mobile, 'optionalAccess', _973 => _973.enabled]);
40511
+ const showLeftActions = !!_optionalChain([config, 'optionalAccess', _974 => _974.actions, 'optionalAccess', _975 => _975.left]);
40505
40512
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-[50] w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40506
40513
  "header",
40507
40514
  {
40508
40515
  className: _chunkA62C4C4Vcjs.cn.call(void 0,
40509
40516
  "flex h-[72px] w-full items-center border-b border-t border-ods-border md:border-t-0",
40510
- _optionalChain([config, 'optionalAccess', _979 => _979.backgroundColor]) || "bg-ods-card",
40511
- _optionalChain([config, 'optionalAccess', _980 => _980.className])
40517
+ _optionalChain([config, 'optionalAccess', _976 => _976.backgroundColor]) || "bg-ods-card",
40518
+ _optionalChain([config, 'optionalAccess', _977 => _977.className])
40512
40519
  ),
40513
40520
  children: [
40514
40521
  showLeftActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full w-[72px] items-center justify-center border-r border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-6 animate-pulse rounded bg-ods-border" }) }),
@@ -40523,7 +40530,7 @@ function HeaderSkeleton({ config }) {
40523
40530
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-24 animate-pulse rounded bg-ods-border" })
40524
40531
  ] }) }),
40525
40532
  showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden h-full items-center px-[var(--spacing-system-m)] lg:flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-24 animate-pulse rounded bg-ods-border" }) }),
40526
- _optionalChain([config, 'optionalAccess', _981 => _981.mingo, 'optionalAccess', _982 => _982.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full items-center border-l border-ods-border px-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 animate-pulse rounded bg-ods-border md:w-28" }) })
40533
+ _optionalChain([config, 'optionalAccess', _978 => _978.mingo, 'optionalAccess', _979 => _979.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full items-center border-l border-ods-border px-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 animate-pulse rounded bg-ods-border md:w-28" }) })
40527
40534
  ]
40528
40535
  }
40529
40536
  ) });
@@ -40630,7 +40637,7 @@ function SlidingSidebar({ config }) {
40630
40637
  variant: "transparent",
40631
40638
  size: "default",
40632
40639
  onClick: () => {
40633
- _optionalChain([item, 'access', _983 => _983.onClick, 'optionalCall', _984 => _984()]);
40640
+ _optionalChain([item, 'access', _980 => _980.onClick, 'optionalCall', _981 => _981()]);
40634
40641
  config.onClose();
40635
40642
  },
40636
40643
  leftIcon: item.icon,
@@ -40653,7 +40660,7 @@ function SlidingSidebar({ config }) {
40653
40660
  variant: "transparent",
40654
40661
  size: "default",
40655
40662
  onClick: () => {
40656
- _optionalChain([item, 'access', _985 => _985.onClick, 'optionalCall', _986 => _986()]);
40663
+ _optionalChain([item, 'access', _982 => _982.onClick, 'optionalCall', _983 => _983()]);
40657
40664
  config.onClose();
40658
40665
  },
40659
40666
  leftIcon: item.icon,
@@ -40785,7 +40792,7 @@ function StickySectionNav({
40785
40792
  ] });
40786
40793
  }
40787
40794
  function useSectionNavigation(sections, options) {
40788
- const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _987 => _987[0], 'optionalAccess', _988 => _988.id]) || "");
40795
+ const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _984 => _984[0], 'optionalAccess', _985 => _985.id]) || "");
40789
40796
  const isScrollingFromClick = _react.useRef.call(void 0, false);
40790
40797
  const { offset: offset2 = 100 } = options || {};
40791
40798
  const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
@@ -40809,7 +40816,7 @@ function useSectionNavigation(sections, options) {
40809
40816
  const handleScroll = () => {
40810
40817
  if (isScrollingFromClick.current) return;
40811
40818
  const scrollPosition = window.scrollY + offset2 + 50;
40812
- let currentSection = _optionalChain([sections, 'access', _989 => _989[0], 'optionalAccess', _990 => _990.id]) || "";
40819
+ let currentSection = _optionalChain([sections, 'access', _986 => _986[0], 'optionalAccess', _987 => _987.id]) || "";
40813
40820
  for (let i = sections.length - 1; i >= 0; i--) {
40814
40821
  const element = document.getElementById(sections[i].id);
40815
40822
  if (element && scrollPosition >= element.offsetTop) {
@@ -41025,7 +41032,7 @@ function NavigationSidebar({ config, disabled = false }) {
41025
41032
  } else {
41026
41033
  setDesktopMinimized((prev) => !prev);
41027
41034
  }
41028
- _optionalChain([config, 'access', _991 => _991.onToggleMinimized, 'optionalCall', _992 => _992()]);
41035
+ _optionalChain([config, 'access', _988 => _988.onToggleMinimized, 'optionalCall', _989 => _989()]);
41029
41036
  }, [isTablet, setDesktopMinimized, config]);
41030
41037
  const closeOverlay = _react.useCallback.call(void 0, () => {
41031
41038
  setTabletMinimized(true);
@@ -41040,14 +41047,14 @@ function NavigationSidebar({ config, disabled = false }) {
41040
41047
  }, [isOverlayOpen, closeOverlay]);
41041
41048
  const [pendingItemId, setPendingItemId] = _react.useState.call(void 0, null);
41042
41049
  const committedActiveId = _react.useMemo.call(void 0,
41043
- () => _nullishCoalesce(_optionalChain([config, 'access', _993 => _993.items, 'access', _994 => _994.find, 'call', _995 => _995((item) => item.isActive), 'optionalAccess', _996 => _996.id]), () => ( null)),
41050
+ () => _nullishCoalesce(_optionalChain([config, 'access', _990 => _990.items, 'access', _991 => _991.find, 'call', _992 => _992((item) => item.isActive), 'optionalAccess', _993 => _993.id]), () => ( null)),
41044
41051
  [config.items]
41045
41052
  );
41046
41053
  _react.useEffect.call(void 0, () => {
41047
41054
  setPendingItemId(null);
41048
41055
  }, [committedActiveId]);
41049
41056
  const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
41050
- _optionalChain([event, 'optionalAccess', _997 => _997.stopPropagation, 'call', _998 => _998()]);
41057
+ _optionalChain([event, 'optionalAccess', _994 => _994.stopPropagation, 'call', _995 => _995()]);
41051
41058
  if (item.onClick) {
41052
41059
  item.onClick();
41053
41060
  if (isTablet) setTabletMinimized(true);
@@ -41056,7 +41063,7 @@ function NavigationSidebar({ config, disabled = false }) {
41056
41063
  if (!item.path) return;
41057
41064
  if (isModifiedClick(event)) return;
41058
41065
  if (config.onNavigate) {
41059
- _optionalChain([event, 'optionalAccess', _999 => _999.preventDefault, 'call', _1000 => _1000()]);
41066
+ _optionalChain([event, 'optionalAccess', _996 => _996.preventDefault, 'call', _997 => _997()]);
41060
41067
  if (item.id !== committedActiveId) setPendingItemId(item.id);
41061
41068
  config.onNavigate(item.path);
41062
41069
  }
@@ -41068,13 +41075,13 @@ function NavigationSidebar({ config, disabled = false }) {
41068
41075
  }), [config.items]);
41069
41076
  const loadingRows = _react.useMemo.call(void 0, () => {
41070
41077
  if (!config.loading) return null;
41071
- const primary = _nullishCoalesce(_optionalChain([config, 'access', _1001 => _1001.loadingRows, 'optionalAccess', _1002 => _1002.primary]), () => ( 7));
41072
- const secondary = _nullishCoalesce(_optionalChain([config, 'access', _1003 => _1003.loadingRows, 'optionalAccess', _1004 => _1004.secondary]), () => ( 2));
41078
+ const primary = _nullishCoalesce(_optionalChain([config, 'access', _998 => _998.loadingRows, 'optionalAccess', _999 => _999.primary]), () => ( 7));
41079
+ const secondary = _nullishCoalesce(_optionalChain([config, 'access', _1000 => _1000.loadingRows, 'optionalAccess', _1001 => _1001.secondary]), () => ( 2));
41073
41080
  return {
41074
41081
  primary: Array.from({ length: Math.max(0, primary) }, (_, i) => `primary-${i}`),
41075
41082
  secondary: Array.from({ length: Math.max(0, secondary) }, (_, i) => `secondary-${i}`)
41076
41083
  };
41077
- }, [config.loading, _optionalChain([config, 'access', _1005 => _1005.loadingRows, 'optionalAccess', _1006 => _1006.primary]), _optionalChain([config, 'access', _1007 => _1007.loadingRows, 'optionalAccess', _1008 => _1008.secondary])]);
41084
+ }, [config.loading, _optionalChain([config, 'access', _1002 => _1002.loadingRows, 'optionalAccess', _1003 => _1003.primary]), _optionalChain([config, 'access', _1004 => _1004.loadingRows, 'optionalAccess', _1005 => _1005.secondary])]);
41078
41085
  const sidebarWidth = _react.useMemo.call(void 0,
41079
41086
  () => minimized ? `${MINIMIZED_WIDTH}px` : `${EXPANDED_WIDTH}px`,
41080
41087
  [minimized]
@@ -41190,11 +41197,11 @@ function HeaderGlobalSearch({
41190
41197
  };
41191
41198
  const handleSubmit = (e) => {
41192
41199
  e.preventDefault();
41193
- _optionalChain([onSubmit, 'optionalCall', _1009 => _1009(currentValue)]);
41200
+ _optionalChain([onSubmit, 'optionalCall', _1006 => _1006(currentValue)]);
41194
41201
  };
41195
41202
  const handleKeyDown = (e) => {
41196
41203
  if (e.key === "Enter") {
41197
- _optionalChain([onSubmit, 'optionalCall', _1010 => _1010(currentValue)]);
41204
+ _optionalChain([onSubmit, 'optionalCall', _1007 => _1007(currentValue)]);
41198
41205
  }
41199
41206
  };
41200
41207
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -41297,8 +41304,8 @@ function HeaderOrganizationFilter({
41297
41304
  className
41298
41305
  }) {
41299
41306
  const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
41300
- const displayName = _optionalChain([selectedOrg, 'optionalAccess', _1011 => _1011.name]) || "All Organizations";
41301
- const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _1012 => _1012.deviceCount]), () => ( totalDeviceCount));
41307
+ const displayName = _optionalChain([selectedOrg, 'optionalAccess', _1008 => _1008.name]) || "All Organizations";
41308
+ const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _1009 => _1009.deviceCount]), () => ( totalDeviceCount));
41302
41309
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQ4K3TGNPcjs.DropdownMenu, { children: [
41303
41310
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4K3TGNPcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
41304
41311
  "button",
@@ -41324,11 +41331,11 @@ function HeaderOrganizationFilter({
41324
41331
  }
41325
41332
  ) }),
41326
41333
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQ4K3TGNPcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
41327
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4K3TGNPcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _1013 => _1013("")]), children: "All Organizations" }),
41334
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4K3TGNPcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _1010 => _1010("")]), children: "All Organizations" }),
41328
41335
  organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
41329
41336
  _chunkQ4K3TGNPcjs.DropdownMenuItem,
41330
41337
  {
41331
- onClick: () => _optionalChain([onOrgChange, 'optionalCall', _1014 => _1014(org.id)]),
41338
+ onClick: () => _optionalChain([onOrgChange, 'optionalCall', _1011 => _1011(org.id)]),
41332
41339
  children: org.name
41333
41340
  },
41334
41341
  org.id
@@ -41549,9 +41556,9 @@ var AppHeader = React126.default.memo(function AppHeader2({
41549
41556
  });
41550
41557
  function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
41551
41558
  const ctx = useOptionalNotifications();
41552
- const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _1015 => _1015.unreadCount]), () => ( fallbackUnreadCount))) > 0;
41553
- const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _1016 => _1016.isOpen]), () => ( false));
41554
- const onClick = _optionalChain([ctx, 'optionalAccess', _1017 => _1017.toggle]);
41559
+ const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _1012 => _1012.unreadCount]), () => ( fallbackUnreadCount))) > 0;
41560
+ const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _1013 => _1013.isOpen]), () => ( false));
41561
+ const onClick = _optionalChain([ctx, 'optionalAccess', _1014 => _1014.toggle]);
41555
41562
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
41556
41563
  HeaderButton,
41557
41564
  {
@@ -41645,7 +41652,7 @@ var MobileBurgerMenu = React126.default.memo(function MobileBurgerMenu2({
41645
41652
  if (item.onClick) {
41646
41653
  item.onClick();
41647
41654
  } else if (item.path) {
41648
- _optionalChain([config, 'access', _1018 => _1018.onNavigate, 'optionalCall', _1019 => _1019(item.path)]);
41655
+ _optionalChain([config, 'access', _1015 => _1015.onNavigate, 'optionalCall', _1016 => _1016(item.path)]);
41649
41656
  }
41650
41657
  onClose();
41651
41658
  }, [config, onClose]);
@@ -42242,7 +42249,7 @@ var ShellTypeBadge = ({
42242
42249
  className,
42243
42250
  iconClassName
42244
42251
  }) => {
42245
- const normalizedType = _optionalChain([shellType, 'optionalAccess', _1020 => _1020.toUpperCase, 'call', _1021 => _1021()]);
42252
+ const normalizedType = _optionalChain([shellType, 'optionalAccess', _1017 => _1017.toUpperCase, 'call', _1018 => _1018()]);
42246
42253
  const label = getShellLabel(normalizedType);
42247
42254
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
42248
42255
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
@@ -42629,12 +42636,12 @@ function OnboardingWalkthrough({
42629
42636
  }
42630
42637
  }, [state.completedSteps, markComplete]);
42631
42638
  const handleStepSkip = (step) => {
42632
- _optionalChain([step, 'access', _1022 => _1022.onSkip, 'optionalCall', _1023 => _1023()]);
42639
+ _optionalChain([step, 'access', _1019 => _1019.onSkip, 'optionalCall', _1020 => _1020()]);
42633
42640
  markSkipped(step.id);
42634
42641
  };
42635
42642
  const handleDismiss = () => {
42636
42643
  dismissOnboarding();
42637
- _optionalChain([onDismiss, 'optionalCall', _1024 => _1024()]);
42644
+ _optionalChain([onDismiss, 'optionalCall', _1021 => _1021()]);
42638
42645
  };
42639
42646
  if (state.dismissed) {
42640
42647
  return null;
@@ -42764,7 +42771,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
42764
42771
  onKeyDown: (e) => {
42765
42772
  if (e.key === "Enter" || e.key === " ") {
42766
42773
  e.preventDefault();
42767
- _optionalChain([onClick, 'optionalCall', _1025 => _1025()]);
42774
+ _optionalChain([onClick, 'optionalCall', _1022 => _1022()]);
42768
42775
  }
42769
42776
  },
42770
42777
  children: [
@@ -42865,7 +42872,7 @@ var LogsList = React123.forwardRef(({
42865
42872
  log,
42866
42873
  isLast: index === logs.length - 1,
42867
42874
  showConnector,
42868
- onClick: () => _optionalChain([onLogClick, 'optionalCall', _1026 => _1026(log)])
42875
+ onClick: () => _optionalChain([onLogClick, 'optionalCall', _1023 => _1023(log)])
42869
42876
  },
42870
42877
  log.id
42871
42878
  ))
@@ -42977,7 +42984,7 @@ var Slider = React125.forwardRef(
42977
42984
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
42978
42985
  const handleChange = (e) => {
42979
42986
  const newValue = [Number(e.target.value)];
42980
- _optionalChain([onValueChange, 'optionalCall', _1027 => _1027(newValue)]);
42987
+ _optionalChain([onValueChange, 'optionalCall', _1024 => _1024(newValue)]);
42981
42988
  };
42982
42989
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42983
42990
  "input",
@@ -43403,7 +43410,7 @@ function CursorPaginationSimple({
43403
43410
  {
43404
43411
  variant: "transparent",
43405
43412
  size: "icon",
43406
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _1028 => _1028("")]),
43413
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _1025 => _1025("")]),
43407
43414
  disabled: !hasPreviousPage || loading,
43408
43415
  className: "h-8 w-8",
43409
43416
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -43415,7 +43422,7 @@ function CursorPaginationSimple({
43415
43422
  {
43416
43423
  variant: "transparent",
43417
43424
  size: "icon",
43418
- onClick: () => _optionalChain([onNext, 'optionalCall', _1029 => _1029("")]),
43425
+ onClick: () => _optionalChain([onNext, 'optionalCall', _1026 => _1026("")]),
43419
43426
  disabled: !hasNextPage || loading,
43420
43427
  className: "h-8 w-8",
43421
43428
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -43435,8 +43442,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
43435
43442
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
43436
43443
  title: _nullishCoalesce(message2, () => ( "No results found")),
43437
43444
  description: message2 == null ? "Try adjusting your search or filters" : void 0,
43438
- buttonLabel: _optionalChain([action, 'optionalAccess', _1030 => _1030.label]),
43439
- onButtonClick: _optionalChain([action, 'optionalAccess', _1031 => _1031.onClick]),
43445
+ buttonLabel: _optionalChain([action, 'optionalAccess', _1027 => _1027.label]),
43446
+ onButtonClick: _optionalChain([action, 'optionalAccess', _1028 => _1028.onClick]),
43440
43447
  className: _chunkA62C4C4Vcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
43441
43448
  }
43442
43449
  );
@@ -43457,7 +43464,7 @@ function TableColumnFilterDropdown({
43457
43464
  placement = "bottom-start",
43458
43465
  dropdownClassName = "min-w-[240px]"
43459
43466
  }) {
43460
- const activeCount = _optionalChain([filters, 'optionalAccess', _1032 => _1032[columnKey], 'optionalAccess', _1033 => _1033.length]) || 0;
43467
+ const activeCount = _optionalChain([filters, 'optionalAccess', _1029 => _1029[columnKey], 'optionalAccess', _1030 => _1030.length]) || 0;
43461
43468
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43462
43469
  FiltersDropdown,
43463
43470
  {
@@ -43500,7 +43507,7 @@ function TableColumnFilterDropdown({
43500
43507
  delete newFilters[columnKey];
43501
43508
  onFilterChange(newFilters);
43502
43509
  },
43503
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _1034 => _1034[columnKey]]) || [] },
43510
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _1031 => _1031[columnKey]]) || [] },
43504
43511
  placement,
43505
43512
  dropdownClassName
43506
43513
  }
@@ -43710,7 +43717,7 @@ function TableCardSkeleton({
43710
43717
  className,
43711
43718
  rowClassName
43712
43719
  }) {
43713
- const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _1035 => _1035.key]);
43720
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _1032 => _1032.key]);
43714
43721
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
43715
43722
  "div",
43716
43723
  {
@@ -43803,7 +43810,7 @@ function TableRow({
43803
43810
  const keys = column.key.split(".");
43804
43811
  let value = item;
43805
43812
  for (const key of keys) {
43806
- value = _optionalChain([value, 'optionalAccess', _1036 => _1036[key]]);
43813
+ value = _optionalChain([value, 'optionalAccess', _1033 => _1033[key]]);
43807
43814
  }
43808
43815
  if (value === null || value === void 0) {
43809
43816
  return "-";
@@ -43892,7 +43899,7 @@ function useTableMotion(enabled) {
43892
43899
  // src/components/ui/table/table.tsx
43893
43900
 
43894
43901
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
43895
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _1037 => _1037.length])) || Boolean(renderRowActions);
43902
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _1034 => _1034.length])) || Boolean(renderRowActions);
43896
43903
  const result = [...columns];
43897
43904
  if (hasActions) {
43898
43905
  const actionsColumn = {
@@ -43988,7 +43995,7 @@ function Table({
43988
43995
  return rowKey(item);
43989
43996
  }
43990
43997
  const key = item[rowKey];
43991
- return _optionalChain([key, 'optionalAccess', _1038 => _1038.toString, 'call', _1039 => _1039()]) || index.toString();
43998
+ return _optionalChain([key, 'optionalAccess', _1035 => _1035.toString, 'call', _1036 => _1036()]) || index.toString();
43992
43999
  };
43993
44000
  const getRowClassName = (item, index) => {
43994
44001
  if (typeof rowClassName === "function") {
@@ -44022,23 +44029,23 @@ function Table({
44022
44029
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
44023
44030
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
44024
44031
  const sentinelRef = _react.useRef.call(void 0, null);
44025
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _1040 => _1040.onLoadMore]));
44026
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _1041 => _1041.onLoadMore]);
44032
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _1037 => _1037.onLoadMore]));
44033
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _1038 => _1038.onLoadMore]);
44027
44034
  _react.useEffect.call(void 0, () => {
44028
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _1042 => _1042.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
44035
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _1039 => _1039.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
44029
44036
  const sentinel = sentinelRef.current;
44030
44037
  if (!sentinel) return;
44031
44038
  const observer = new IntersectionObserver(
44032
44039
  (entries) => {
44033
- if (_optionalChain([entries, 'access', _1043 => _1043[0], 'optionalAccess', _1044 => _1044.isIntersecting])) {
44034
- _optionalChain([onLoadMoreRef, 'access', _1045 => _1045.current, 'optionalCall', _1046 => _1046()]);
44040
+ if (_optionalChain([entries, 'access', _1040 => _1040[0], 'optionalAccess', _1041 => _1041.isIntersecting])) {
44041
+ _optionalChain([onLoadMoreRef, 'access', _1042 => _1042.current, 'optionalCall', _1043 => _1043()]);
44035
44042
  }
44036
44043
  },
44037
44044
  { rootMargin: "200px" }
44038
44045
  );
44039
44046
  observer.observe(sentinel);
44040
44047
  return () => observer.disconnect();
44041
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _1047 => _1047.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _1048 => _1048.isFetchingNextPage])]);
44048
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _1044 => _1044.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _1045 => _1045.isFetchingNextPage])]);
44042
44049
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkA62C4C4Vcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
44043
44050
  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: [
44044
44051
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: [
@@ -44108,14 +44115,14 @@ function Table({
44108
44115
  selected: isRowSelected(item),
44109
44116
  onSelect: handleSelectRow,
44110
44117
  animateRowReorder,
44111
- motionDiv: _optionalChain([tableMotion, 'optionalAccess', _1049 => _1049.motionDiv])
44118
+ motionDiv: _optionalChain([tableMotion, 'optionalAccess', _1046 => _1046.motionDiv])
44112
44119
  },
44113
44120
  getRowKey(item, index)
44114
44121
  ));
44115
- const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _1050 => _1050.LayoutGroup]);
44122
+ const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _1047 => _1047.LayoutGroup]);
44116
44123
  return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
44117
44124
  })(),
44118
- _optionalChain([infiniteScroll, 'optionalAccess', _1051 => _1051.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44125
+ _optionalChain([infiniteScroll, 'optionalAccess', _1048 => _1048.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44119
44126
  TableCardSkeleton,
44120
44127
  {
44121
44128
  columns,
@@ -44124,7 +44131,7 @@ function Table({
44124
44131
  hasChevron: Boolean(rowHref)
44125
44132
  }
44126
44133
  ),
44127
- _optionalChain([infiniteScroll, 'optionalAccess', _1052 => _1052.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
44134
+ _optionalChain([infiniteScroll, 'optionalAccess', _1049 => _1049.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
44128
44135
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
44129
44136
  "div",
44130
44137
  {
@@ -44482,7 +44489,7 @@ function QueryReportTable({
44482
44489
  );
44483
44490
  const handleExport = () => {
44484
44491
  exportToCSV(data, columns, exportFilename);
44485
- _optionalChain([onExport, 'optionalCall', _1053 => _1053()]);
44492
+ _optionalChain([onExport, 'optionalCall', _1050 => _1050()]);
44486
44493
  };
44487
44494
  const tableMinWidth = columns.length * (columnWidth + 16);
44488
44495
  const {
@@ -44674,7 +44681,7 @@ function DataTableColumnFilter({
44674
44681
  pending = false
44675
44682
  }) {
44676
44683
  const currentValue = column.getFilterValue();
44677
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _1054 => _1054.length]), () => ( 0));
44684
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _1051 => _1051.length]), () => ( 0));
44678
44685
  const sections = _react.useMemo.call(void 0,
44679
44686
  () => [
44680
44687
  {
@@ -44809,7 +44816,7 @@ function DataTableHeader({
44809
44816
  );
44810
44817
  }
44811
44818
  function keepsCellOnTablet(meta) {
44812
- return Boolean(_optionalChain([meta, 'optionalAccess', _1055 => _1055.filter])) || _optionalChain([meta, 'optionalAccess', _1056 => _1056.alwaysShowHeader]) === true;
44819
+ return Boolean(_optionalChain([meta, 'optionalAccess', _1052 => _1052.filter])) || _optionalChain([meta, 'optionalAccess', _1053 => _1053.alwaysShowHeader]) === true;
44813
44820
  }
44814
44821
  var SHOW_FROM = {
44815
44822
  md: "md:flex",
@@ -44847,11 +44854,11 @@ function HeaderCell({ header, sort, onSortChange }) {
44847
44854
  if (header.isPlaceholder) return null;
44848
44855
  const column = header.column;
44849
44856
  const meta = column.columnDef.meta;
44850
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _1057 => _1057.filter]));
44857
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _1054 => _1054.filter]));
44851
44858
  const keepOnTablet = keepsCellOnTablet(meta);
44852
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _1058 => _1058.align]), () => ( "left"));
44853
- const canSort = _optionalChain([meta, 'optionalAccess', _1059 => _1059.sortable]) === true;
44854
- const sortDir = _optionalChain([sort, 'optionalAccess', _1060 => _1060.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
44859
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _1055 => _1055.align]), () => ( "left"));
44860
+ const canSort = _optionalChain([meta, 'optionalAccess', _1056 => _1056.sortable]) === true;
44861
+ const sortDir = _optionalChain([sort, 'optionalAccess', _1057 => _1057.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
44855
44862
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44856
44863
  "div",
44857
44864
  {
@@ -44859,7 +44866,7 @@ function HeaderCell({ header, sort, onSortChange }) {
44859
44866
  "items-stretch",
44860
44867
  // Cells are hidden rather than dropped from the tree, so which columns
44861
44868
  // exist never depends on when an effect ran.
44862
- getCellVisibilityClasses(keepOnTablet, _optionalChain([meta, 'optionalAccess', _1061 => _1061.hideAt])),
44869
+ getCellVisibilityClasses(keepOnTablet, _optionalChain([meta, 'optionalAccess', _1058 => _1058.hideAt])),
44863
44870
  // Width applies from lg only. Stated as "always, neutralized below lg"
44864
44871
  // because `meta.width` is an opaque consumer string that cannot be
44865
44872
  // prefixed. Only `keepOnTablet` cells need the override — the rest are
@@ -44877,9 +44884,9 @@ function HeaderCell({ header, sort, onSortChange }) {
44877
44884
  // Specificity rather than `!important`: it stays a normal declaration, so a
44878
44885
  // consumer that genuinely needs a tablet width can still take it back with a
44879
44886
  // more specific rule — `!important` could only be answered with another one.
44880
- _optionalChain([meta, 'optionalAccess', _1062 => _1062.width]) || "flex-1 min-w-0",
44887
+ _optionalChain([meta, 'optionalAccess', _1059 => _1059.width]) || "flex-1 min-w-0",
44881
44888
  keepOnTablet && "max-lg:[&&]:w-auto max-lg:[&&]:flex-none max-lg:[&&]:basis-auto",
44882
- _optionalChain([meta, 'optionalAccess', _1063 => _1063.headerClassName])
44889
+ _optionalChain([meta, 'optionalAccess', _1060 => _1060.headerClassName])
44883
44890
  ),
44884
44891
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44885
44892
  DataTableColumnFilter,
@@ -44903,7 +44910,7 @@ function HeaderCell({ header, sort, onSortChange }) {
44903
44910
  keepOnTablet && "max-lg:justify-start",
44904
44911
  canSort && "group cursor-pointer"
44905
44912
  ),
44906
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _1064 => _1064(column.id)]) : void 0,
44913
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _1061 => _1061(column.id)]) : void 0,
44907
44914
  children: [
44908
44915
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
44909
44916
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -44969,7 +44976,7 @@ function DataTableSkeleton({
44969
44976
  }) {
44970
44977
  const table = useDataTableContext();
44971
44978
  const columns = table.getVisibleFlatColumns();
44972
- const firstColumnId = _optionalChain([columns, 'access', _1065 => _1065[0], 'optionalAccess', _1066 => _1066.id]);
44979
+ const firstColumnId = _optionalChain([columns, 'access', _1062 => _1062[0], 'optionalAccess', _1063 => _1063.id]);
44973
44980
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
44974
44981
  "div",
44975
44982
  {
@@ -44994,13 +45001,13 @@ function DataTableSkeleton({
44994
45001
  {
44995
45002
  className: _chunkA62C4C4Vcjs.cn.call(void 0,
44996
45003
  "flex flex-col justify-center shrink-0",
44997
- _optionalChain([meta, 'optionalAccess', _1067 => _1067.width]) || "flex-1",
45004
+ _optionalChain([meta, 'optionalAccess', _1064 => _1064.width]) || "flex-1",
44998
45005
  // Same responsive hiding the real header and row apply.
44999
45006
  // Without it a `hideAt` column was drawn in the skeleton and
45000
45007
  // absent from the loaded table, so below that breakpoint the
45001
45008
  // remaining columns were sized against a different total and
45002
45009
  // the whole row re-laid-out the moment data arrived.
45003
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _1068 => _1068.hideAt]))
45010
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _1065 => _1065.hideAt]))
45004
45011
  ),
45005
45012
  children: [
45006
45013
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -45051,7 +45058,7 @@ function DataTableRowImpl({
45051
45058
  const handleClick = _react.useCallback.call(void 0,
45052
45059
  (e) => {
45053
45060
  const target = e.target;
45054
- if (!_optionalChain([containerRef, 'access', _1069 => _1069.current, 'optionalAccess', _1070 => _1070.contains, 'call', _1071 => _1071(target)])) {
45061
+ if (!_optionalChain([containerRef, 'access', _1066 => _1066.current, 'optionalAccess', _1067 => _1067.contains, 'call', _1068 => _1068(target)])) {
45055
45062
  if (isLinkMode) e.preventDefault();
45056
45063
  return;
45057
45064
  }
@@ -45059,7 +45066,7 @@ function DataTableRowImpl({
45059
45066
  if (isLinkMode) e.preventDefault();
45060
45067
  return;
45061
45068
  }
45062
- _optionalChain([onClick, 'optionalCall', _1072 => _1072(row.original)]);
45069
+ _optionalChain([onClick, 'optionalCall', _1069 => _1069(row.original)]);
45063
45070
  },
45064
45071
  [onClick, row.original, isLinkMode]
45065
45072
  );
@@ -45085,10 +45092,10 @@ function DataTableRowImpl({
45085
45092
  {
45086
45093
  className: _chunkA62C4C4Vcjs.cn.call(void 0,
45087
45094
  "flex flex-col overflow-hidden",
45088
- alignJustify(_optionalChain([meta, 'optionalAccess', _1073 => _1073.align])),
45089
- _optionalChain([meta, 'optionalAccess', _1074 => _1074.width]) || "flex-1 min-w-0",
45090
- _optionalChain([meta, 'optionalAccess', _1075 => _1075.cellClassName]),
45091
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _1076 => _1076.hideAt]))
45095
+ alignJustify(_optionalChain([meta, 'optionalAccess', _1070 => _1070.align])),
45096
+ _optionalChain([meta, 'optionalAccess', _1071 => _1071.width]) || "flex-1 min-w-0",
45097
+ _optionalChain([meta, 'optionalAccess', _1072 => _1072.cellClassName]),
45098
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _1073 => _1073.hideAt]))
45092
45099
  ),
45093
45100
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
45094
45101
  },
@@ -45168,7 +45175,7 @@ function DataTableBody({
45168
45175
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkA62C4C4Vcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xsf)] w-full", className), children: [
45169
45176
  rows.map((row, index) => {
45170
45177
  const item = row.original;
45171
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _1077 => _1077(item)]), () => ( void 0));
45178
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _1074 => _1074(item)]), () => ( void 0));
45172
45179
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
45173
45180
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45174
45181
  DataTableRow,
@@ -45179,7 +45186,7 @@ function DataTableBody({
45179
45186
  compact,
45180
45187
  autoHeight,
45181
45188
  className: cls,
45182
- subRow: _optionalChain([renderSubRow, 'optionalCall', _1078 => _1078(item)])
45189
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _1075 => _1075(item)])
45183
45190
  },
45184
45191
  row.id
45185
45192
  );
@@ -45236,7 +45243,7 @@ function DataTableInfiniteFooter({
45236
45243
  if (!sentinel) return;
45237
45244
  const observer = new IntersectionObserver(
45238
45245
  (entries) => {
45239
- if (_optionalChain([entries, 'access', _1079 => _1079[0], 'optionalAccess', _1080 => _1080.isIntersecting])) onLoadMoreRef.current();
45246
+ if (_optionalChain([entries, 'access', _1076 => _1076[0], 'optionalAccess', _1077 => _1077.isIntersecting])) onLoadMoreRef.current();
45240
45247
  },
45241
45248
  { rootMargin }
45242
45249
  );
@@ -45284,7 +45291,7 @@ function DataTableRowCount({
45284
45291
  const table = useDataTableContext();
45285
45292
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
45286
45293
  if (hideWhenEmpty && count === 0) return null;
45287
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _1081 => _1081(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
45294
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _1078 => _1078(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
45288
45295
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
45289
45296
  "span",
45290
45297
  {
@@ -45444,7 +45451,7 @@ function SearchInput({
45444
45451
  if (!showHiddenTags) return;
45445
45452
  const handleClick = (e) => {
45446
45453
  const target = e.target;
45447
- if (!_optionalChain([hiddenTagsRef, 'access', _1082 => _1082.current, 'optionalAccess', _1083 => _1083.contains, 'call', _1084 => _1084(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _1085 => _1085.current, 'optionalAccess', _1086 => _1086.contains, 'call', _1087 => _1087(target)])) {
45454
+ if (!_optionalChain([hiddenTagsRef, 'access', _1079 => _1079.current, 'optionalAccess', _1080 => _1080.contains, 'call', _1081 => _1081(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _1082 => _1082.current, 'optionalAccess', _1083 => _1083.contains, 'call', _1084 => _1084(target)])) {
45448
45455
  setShowHiddenTags(false);
45449
45456
  }
45450
45457
  };
@@ -45492,10 +45499,10 @@ function SearchInput({
45492
45499
  } else {
45493
45500
  setInternalValue("");
45494
45501
  }
45495
- _optionalChain([inputRef, 'access', _1088 => _1088.current, 'optionalAccess', _1089 => _1089.focus, 'call', _1090 => _1090()]);
45502
+ _optionalChain([inputRef, 'access', _1085 => _1085.current, 'optionalAccess', _1086 => _1086.focus, 'call', _1087 => _1087()]);
45496
45503
  };
45497
45504
  const handleResultClick = (result, e) => {
45498
- _optionalChain([onResultSelect, 'optionalCall', _1091 => _1091(
45505
+ _optionalChain([onResultSelect, 'optionalCall', _1088 => _1088(
45499
45506
  result,
45500
45507
  e ? {
45501
45508
  metaKey: e.metaKey,
@@ -45527,7 +45534,7 @@ function SearchInput({
45527
45534
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
45528
45535
  handleResultClick(flatResults[highlightedIndex]);
45529
45536
  } else {
45530
- _optionalChain([onSubmit, 'optionalCall', _1092 => _1092(currentValue)]);
45537
+ _optionalChain([onSubmit, 'optionalCall', _1089 => _1089(currentValue)]);
45531
45538
  }
45532
45539
  break;
45533
45540
  case "Escape":
@@ -45605,7 +45612,7 @@ function SearchInput({
45605
45612
  dropdownVisible && "!border-ods-accent"
45606
45613
  ),
45607
45614
  onClick: () => {
45608
- _optionalChain([inputRef, 'access', _1093 => _1093.current, 'optionalAccess', _1094 => _1094.focus, 'call', _1095 => _1095()]);
45615
+ _optionalChain([inputRef, 'access', _1090 => _1090.current, 'optionalAccess', _1091 => _1091.focus, 'call', _1092 => _1092()]);
45609
45616
  setIsOpen(true);
45610
45617
  },
45611
45618
  children: [
@@ -45689,10 +45696,10 @@ function SearchInput({
45689
45696
  align: "start",
45690
45697
  onOpenAutoFocus: (e) => {
45691
45698
  e.preventDefault();
45692
- _optionalChain([inputRef, 'access', _1096 => _1096.current, 'optionalAccess', _1097 => _1097.focus, 'call', _1098 => _1098()]);
45699
+ _optionalChain([inputRef, 'access', _1093 => _1093.current, 'optionalAccess', _1094 => _1094.focus, 'call', _1095 => _1095()]);
45693
45700
  },
45694
45701
  onInteractOutside: (e) => {
45695
- if (_optionalChain([containerRef, 'access', _1099 => _1099.current, 'optionalAccess', _1100 => _1100.contains, 'call', _1101 => _1101(e.target)])) {
45702
+ if (_optionalChain([containerRef, 'access', _1096 => _1096.current, 'optionalAccess', _1097 => _1097.contains, 'call', _1098 => _1098(e.target)])) {
45696
45703
  e.preventDefault();
45697
45704
  }
45698
45705
  },
@@ -45709,10 +45716,10 @@ function SearchInput({
45709
45716
  ref: hiddenTagsPopupRef,
45710
45717
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
45711
45718
  style: {
45712
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _1102 => _1102.current, 'optionalAccess', _1103 => _1103.getBoundingClientRect, 'call', _1104 => _1104(), 'access', _1105 => _1105.left]), () => ( 0))) : 0
45719
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _1099 => _1099.current, 'optionalAccess', _1100 => _1100.getBoundingClientRect, 'call', _1101 => _1101(), 'access', _1102 => _1102.left]), () => ( 0))) : 0
45713
45720
  },
45714
45721
  onRemove: (value2) => {
45715
- _optionalChain([onFilterRemove, 'optionalCall', _1106 => _1106(value2)]);
45722
+ _optionalChain([onFilterRemove, 'optionalCall', _1103 => _1103(value2)]);
45716
45723
  if (hiddenCount <= 1) setShowHiddenTags(false);
45717
45724
  }
45718
45725
  }
@@ -45763,7 +45770,7 @@ function FilterListItem({
45763
45770
  }) {
45764
45771
  const handleToggle = () => {
45765
45772
  if (disabled) return;
45766
- _optionalChain([onToggle, 'optionalCall', _1107 => _1107(!selected)]);
45773
+ _optionalChain([onToggle, 'optionalCall', _1104 => _1104(!selected)]);
45767
45774
  };
45768
45775
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
45769
45776
  "div",
@@ -45810,7 +45817,7 @@ function FilterListItem({
45810
45817
  CheckboxPrimitive4.Root,
45811
45818
  {
45812
45819
  checked: selected,
45813
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _1108 => _1108(c === true)]),
45820
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _1105 => _1105(c === true)]),
45814
45821
  onClick: (e) => e.stopPropagation(),
45815
45822
  disabled,
45816
45823
  "aria-label": title,
@@ -45909,7 +45916,7 @@ function TagSearchInput({
45909
45916
  if (!showHiddenTags) return;
45910
45917
  const handleClick = (e) => {
45911
45918
  const target = e.target;
45912
- if (!_optionalChain([hiddenTagsRef, 'access', _1109 => _1109.current, 'optionalAccess', _1110 => _1110.contains, 'call', _1111 => _1111(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _1112 => _1112.current, 'optionalAccess', _1113 => _1113.contains, 'call', _1114 => _1114(target)])) {
45919
+ if (!_optionalChain([hiddenTagsRef, 'access', _1106 => _1106.current, 'optionalAccess', _1107 => _1107.contains, 'call', _1108 => _1108(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _1109 => _1109.current, 'optionalAccess', _1110 => _1110.contains, 'call', _1111 => _1111(target)])) {
45913
45920
  setShowHiddenTags(false);
45914
45921
  }
45915
45922
  };
@@ -45925,13 +45932,13 @@ function TagSearchInput({
45925
45932
  e.preventDefault();
45926
45933
  onSubmit(searchValue);
45927
45934
  }
45928
- _optionalChain([onKeyDown, 'optionalCall', _1115 => _1115(e)]);
45935
+ _optionalChain([onKeyDown, 'optionalCall', _1112 => _1112(e)]);
45929
45936
  };
45930
45937
  const handleClearAll = (e) => {
45931
45938
  e.stopPropagation();
45932
45939
  e.preventDefault();
45933
- _optionalChain([onClearAll, 'optionalCall', _1116 => _1116()]);
45934
- _optionalChain([inputRef, 'access', _1117 => _1117.current, 'optionalAccess', _1118 => _1118.focus, 'call', _1119 => _1119()]);
45940
+ _optionalChain([onClearAll, 'optionalCall', _1113 => _1113()]);
45941
+ _optionalChain([inputRef, 'access', _1114 => _1114.current, 'optionalAccess', _1115 => _1115.focus, 'call', _1116 => _1116()]);
45935
45942
  };
45936
45943
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
45937
45944
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -45954,7 +45961,7 @@ function TagSearchInput({
45954
45961
  className
45955
45962
  ),
45956
45963
  onClick: () => {
45957
- if (!disabled) _optionalChain([inputRef, 'access', _1120 => _1120.current, 'optionalAccess', _1121 => _1121.focus, 'call', _1122 => _1122()]);
45964
+ if (!disabled) _optionalChain([inputRef, 'access', _1117 => _1117.current, 'optionalAccess', _1118 => _1118.focus, 'call', _1119 => _1119()]);
45958
45965
  },
45959
45966
  children: [
45960
45967
  /* @__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" }) }),
@@ -46027,7 +46034,7 @@ function TagSearchInput({
46027
46034
  items: hiddenTags,
46028
46035
  disabled,
46029
46036
  style: {
46030
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _1123 => _1123.current, 'optionalAccess', _1124 => _1124.getBoundingClientRect, 'call', _1125 => _1125(), 'access', _1126 => _1126.left]), () => ( 0))) : 0
46037
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _1120 => _1120.current, 'optionalAccess', _1121 => _1121.getBoundingClientRect, 'call', _1122 => _1122(), 'access', _1123 => _1123.left]), () => ( 0))) : 0
46031
46038
  },
46032
46039
  onRemove: (value) => {
46033
46040
  onTagRemove(value);
@@ -46128,7 +46135,7 @@ function MarkdownEditor({
46128
46135
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
46129
46136
  _react.useEffect.call(void 0, () => {
46130
46137
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
46131
- if (_optionalChain([mod, 'access', _1127 => _1127.commands, 'optionalAccess', _1128 => _1128.getExtraCommands])) {
46138
+ if (_optionalChain([mod, 'access', _1124 => _1124.commands, 'optionalAccess', _1125 => _1125.getExtraCommands])) {
46132
46139
  setDefaultExtraCommands(mod.commands.getExtraCommands());
46133
46140
  }
46134
46141
  });
@@ -46162,7 +46169,7 @@ function MarkdownEditor({
46162
46169
  const isImage = file.type.startsWith("image/");
46163
46170
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
46164
46171
  insertTextAtCursor(markdown);
46165
- _optionalChain([onFileUploaded, 'optionalCall', _1129 => _1129(url, file.name)]);
46172
+ _optionalChain([onFileUploaded, 'optionalCall', _1126 => _1126(url, file.name)]);
46166
46173
  } catch (error) {
46167
46174
  console.error("File upload failed:", error);
46168
46175
  setUploadProgress("Upload failed. Please try again.");
@@ -46175,7 +46182,7 @@ function MarkdownEditor({
46175
46182
  );
46176
46183
  const handleFileInputChange = _react.useCallback.call(void 0,
46177
46184
  (e) => {
46178
- const file = _optionalChain([e, 'access', _1130 => _1130.target, 'access', _1131 => _1131.files, 'optionalAccess', _1132 => _1132[0]]);
46185
+ const file = _optionalChain([e, 'access', _1127 => _1127.target, 'access', _1128 => _1128.files, 'optionalAccess', _1129 => _1129[0]]);
46179
46186
  if (file) {
46180
46187
  handleFileUpload(file);
46181
46188
  e.target.value = "";
@@ -46186,7 +46193,7 @@ function MarkdownEditor({
46186
46193
  const handlePaste = _react.useCallback.call(void 0,
46187
46194
  (e) => {
46188
46195
  if (!onUploadFile) return;
46189
- const items = _optionalChain([e, 'access', _1133 => _1133.clipboardData, 'optionalAccess', _1134 => _1134.items]);
46196
+ const items = _optionalChain([e, 'access', _1130 => _1130.clipboardData, 'optionalAccess', _1131 => _1131.items]);
46190
46197
  if (!items) return;
46191
46198
  for (const item of items) {
46192
46199
  if (item.type.startsWith("image/")) {
@@ -46211,7 +46218,7 @@ function MarkdownEditor({
46211
46218
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
46212
46219
  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" }),
46213
46220
  execute: () => {
46214
- _optionalChain([fileInputRef, 'access', _1135 => _1135.current, 'optionalAccess', _1136 => _1136.click, 'call', _1137 => _1137()]);
46221
+ _optionalChain([fileInputRef, 'access', _1132 => _1132.current, 'optionalAccess', _1133 => _1133.click, 'call', _1134 => _1134()]);
46215
46222
  }
46216
46223
  } : null;
46217
46224
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -46223,7 +46230,7 @@ function MarkdownEditor({
46223
46230
  const EDGE_ZONE = 60;
46224
46231
  const MAX_SCROLL_SPEED = 15;
46225
46232
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
46226
- let node = _optionalChain([el, 'optionalAccess', _1138 => _1138.parentElement]);
46233
+ let node = _optionalChain([el, 'optionalAccess', _1135 => _1135.parentElement]);
46227
46234
  while (node && node !== document.documentElement) {
46228
46235
  const { overflowY } = window.getComputedStyle(node);
46229
46236
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -46366,7 +46373,7 @@ function matchesAccept(file, accept) {
46366
46373
  });
46367
46374
  }
46368
46375
  function dragHasFiles(e) {
46369
- const types = _optionalChain([e, 'access', _1139 => _1139.dataTransfer, 'optionalAccess', _1140 => _1140.types]);
46376
+ const types = _optionalChain([e, 'access', _1136 => _1136.dataTransfer, 'optionalAccess', _1137 => _1137.types]);
46370
46377
  if (!types) return false;
46371
46378
  for (let i = 0; i < types.length; i++) {
46372
46379
  if (types[i] === "Files") return true;
@@ -46462,7 +46469,7 @@ function FileUpload({
46462
46469
  e.stopPropagation();
46463
46470
  setDragActive(false);
46464
46471
  if (disabled) return;
46465
- if (_optionalChain([e, 'access', _1141 => _1141.dataTransfer, 'access', _1142 => _1142.files, 'optionalAccess', _1143 => _1143.length])) {
46472
+ if (_optionalChain([e, 'access', _1138 => _1138.dataTransfer, 'access', _1139 => _1139.files, 'optionalAccess', _1140 => _1140.length])) {
46466
46473
  handleFiles(e.dataTransfer.files);
46467
46474
  }
46468
46475
  };
@@ -46490,7 +46497,7 @@ function FileUpload({
46490
46497
  e.preventDefault();
46491
46498
  dragCounter = 0;
46492
46499
  setDragActive(false);
46493
- if (_optionalChain([e, 'access', _1144 => _1144.dataTransfer, 'optionalAccess', _1145 => _1145.files, 'optionalAccess', _1146 => _1146.length])) {
46500
+ if (_optionalChain([e, 'access', _1141 => _1141.dataTransfer, 'optionalAccess', _1142 => _1142.files, 'optionalAccess', _1143 => _1143.length])) {
46494
46501
  handleFilesRef.current(e.dataTransfer.files);
46495
46502
  }
46496
46503
  };
@@ -46512,7 +46519,7 @@ function FileUpload({
46512
46519
  };
46513
46520
  }, [acceptWindowDrops, disabled]);
46514
46521
  const handleFileSelect = (e) => {
46515
- if (_optionalChain([e, 'access', _1147 => _1147.target, 'access', _1148 => _1148.files, 'optionalAccess', _1149 => _1149.length])) {
46522
+ if (_optionalChain([e, 'access', _1144 => _1144.target, 'access', _1145 => _1145.files, 'optionalAccess', _1146 => _1146.length])) {
46516
46523
  handleFiles(e.target.files);
46517
46524
  }
46518
46525
  };
@@ -46529,7 +46536,7 @@ function FileUpload({
46529
46536
  };
46530
46537
  const openDialog = async () => {
46531
46538
  if (disabled) return;
46532
- _optionalChain([fileInputRef, 'access', _1150 => _1150.current, 'optionalAccess', _1151 => _1151.click, 'call', _1152 => _1152()]);
46539
+ _optionalChain([fileInputRef, 'access', _1147 => _1147.current, 'optionalAccess', _1148 => _1148.click, 'call', _1149 => _1149()]);
46533
46540
  };
46534
46541
  const displayError = error || validationError || void 0;
46535
46542
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -46591,7 +46598,7 @@ function FileUpload({
46591
46598
  "button",
46592
46599
  {
46593
46600
  type: "button",
46594
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _1153 => _1153(entry.id)]),
46601
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _1150 => _1150(entry.id)]),
46595
46602
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
46596
46603
  "aria-label": `Remove ${entry.fileName}`,
46597
46604
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.TrashIcon, { className: "size-6" })
@@ -46723,7 +46730,7 @@ function ImageUploader({
46723
46730
  onChange(file);
46724
46731
  };
46725
46732
  const handleFileSelect = (e) => {
46726
- validateAndEmit(_optionalChain([e, 'access', _1154 => _1154.target, 'access', _1155 => _1155.files, 'optionalAccess', _1156 => _1156[0]]));
46733
+ validateAndEmit(_optionalChain([e, 'access', _1151 => _1151.target, 'access', _1152 => _1152.files, 'optionalAccess', _1153 => _1153[0]]));
46727
46734
  if (inputRef.current) inputRef.current.value = "";
46728
46735
  };
46729
46736
  const handleDrag = (e) => {
@@ -46738,11 +46745,11 @@ function ImageUploader({
46738
46745
  e.stopPropagation();
46739
46746
  setDragActive(false);
46740
46747
  if (!interactive) return;
46741
- validateAndEmit(_optionalChain([e, 'access', _1157 => _1157.dataTransfer, 'access', _1158 => _1158.files, 'optionalAccess', _1159 => _1159[0]]));
46748
+ validateAndEmit(_optionalChain([e, 'access', _1154 => _1154.dataTransfer, 'access', _1155 => _1155.files, 'optionalAccess', _1156 => _1156[0]]));
46742
46749
  };
46743
46750
  const openDialog = () => {
46744
46751
  if (!interactive) return;
46745
- _optionalChain([inputRef, 'access', _1160 => _1160.current, 'optionalAccess', _1161 => _1161.click, 'call', _1162 => _1162()]);
46752
+ _optionalChain([inputRef, 'access', _1157 => _1157.current, 'optionalAccess', _1158 => _1158.click, 'call', _1159 => _1159()]);
46746
46753
  };
46747
46754
  const handleRootKeyDown = (e) => {
46748
46755
  if (hasImage || !interactive) return;
@@ -46933,8 +46940,8 @@ function ColorPresetSelect({
46933
46940
  }) {
46934
46941
  const selectedPreset = presets.find((p) => p.key === presetKey);
46935
46942
  const isCustom = !selectedPreset;
46936
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _1163 => _1163.label]), () => ( "Custom"));
46937
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _1164 => _1164.color]), () => ( value));
46943
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _1160 => _1160.label]), () => ( "Custom"));
46944
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _1161 => _1161.color]), () => ( value));
46938
46945
  const groups = [
46939
46946
  {
46940
46947
  items: [
@@ -47224,7 +47231,7 @@ function TicketStatusConfigRow({
47224
47231
  _chunkQ4K3TGNPcjs.Input,
47225
47232
  {
47226
47233
  value: name,
47227
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _1165 => _1165(e.target.value)]),
47234
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _1162 => _1162(e.target.value)]),
47228
47235
  disabled: isSystem,
47229
47236
  readOnly: isSystem,
47230
47237
  "aria-label": "Status name",
@@ -47735,14 +47742,14 @@ function TicketInfoSection({
47735
47742
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
47736
47743
  SquareAvatar,
47737
47744
  {
47738
- src: _optionalChain([organization, 'optionalAccess', _1166 => _1166.imageSrc]),
47739
- alt: _optionalChain([organization, 'optionalAccess', _1167 => _1167.name]),
47740
- fallback: _optionalChain([organization, 'optionalAccess', _1168 => _1168.name]) || "Org",
47745
+ src: _optionalChain([organization, 'optionalAccess', _1163 => _1163.imageSrc]),
47746
+ alt: _optionalChain([organization, 'optionalAccess', _1164 => _1164.name]),
47747
+ fallback: _optionalChain([organization, 'optionalAccess', _1165 => _1165.name]) || "Org",
47741
47748
  size: "md",
47742
47749
  className: "shrink-0"
47743
47750
  }
47744
47751
  ),
47745
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _1169 => _1169.name]) || "Unassigned", label: "Organization" })
47752
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _1166 => _1166.name]) || "Unassigned", label: "Organization" })
47746
47753
  ] }),
47747
47754
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
47748
47755
  AssigneeDropdown,
@@ -47763,10 +47770,10 @@ function TicketInfoSection({
47763
47770
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
47764
47771
  InfoCell2,
47765
47772
  {
47766
- value: _optionalChain([device, 'optionalAccess', _1170 => _1170.name]) || "Unassigned",
47773
+ value: _optionalChain([device, 'optionalAccess', _1167 => _1167.name]) || "Unassigned",
47767
47774
  label: "Device",
47768
- icon: _optionalChain([device, 'optionalAccess', _1171 => _1171.icon]),
47769
- onClick: _optionalChain([device, 'optionalAccess', _1172 => _1172.onClick])
47775
+ icon: _optionalChain([device, 'optionalAccess', _1168 => _1168.icon]),
47776
+ onClick: _optionalChain([device, 'optionalAccess', _1169 => _1169.onClick])
47770
47777
  }
47771
47778
  ),
47772
47779
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -48096,7 +48103,7 @@ function RoadmapCard({
48096
48103
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
48097
48104
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
48098
48105
  const hasFigma = !!item.figmaUrl;
48099
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _1173 => _1173.screenshots, 'optionalAccess', _1174 => _1174.length]), () => ( 0))) > 0;
48106
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _1170 => _1170.screenshots, 'optionalAccess', _1171 => _1171.length]), () => ( 0))) > 0;
48100
48107
  const typeLabel = getTaskTypeLabel(item.customItemId);
48101
48108
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
48102
48109
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -48115,7 +48122,7 @@ function RoadmapCard({
48115
48122
  unoptimized: true,
48116
48123
  className: "h-8 w-8 object-contain"
48117
48124
  }
48118
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6 uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _1175 => _1175.title, 'optionalAccess', _1176 => _1176.substring, 'call', _1177 => _1177(0, 2)]) || "??" })
48125
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6 uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _1172 => _1172.title, 'optionalAccess', _1173 => _1173.substring, 'call', _1174 => _1174(0, 2)]) || "??" })
48119
48126
  }
48120
48127
  ),
48121
48128
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -48190,7 +48197,7 @@ function RoadmapCard({
48190
48197
  unoptimized: true,
48191
48198
  className: "object-contain p-1"
48192
48199
  }
48193
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _1178 => _1178.title, 'optionalAccess', _1179 => _1179.substring, 'call', _1180 => _1180(0, 2)]) || "??" }) }),
48200
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _1175 => _1175.title, 'optionalAccess', _1176 => _1176.substring, 'call', _1177 => _1177(0, 2)]) || "??" }) }),
48194
48201
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
48195
48202
  /* @__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 flex-1 line-clamp-2", children: item.title }) }),
48196
48203
  /* @__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 truncate", children: [
@@ -48700,7 +48707,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
48700
48707
  ] }) : null,
48701
48708
  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-h6 text-ods-text-secondary", children: item.preview }) }) : null
48702
48709
  ] }),
48703
- _optionalChain([anchorProps, 'optionalAccess', _1181 => _1181.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
48710
+ _optionalChain([anchorProps, 'optionalAccess', _1178 => _1178.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
48704
48711
  ] });
48705
48712
  if (!anchorProps) {
48706
48713
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -48770,7 +48777,7 @@ function getDefaultOptions() {
48770
48777
  // node_modules/date-fns/startOfWeek.mjs
48771
48778
  function startOfWeek(date, options) {
48772
48779
  const defaultOptions2 = getDefaultOptions();
48773
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1182 => _1182.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _1183 => _1183.locale, 'optionalAccess', _1184 => _1184.options, 'optionalAccess', _1185 => _1185.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _1186 => _1186.locale, 'optionalAccess', _1187 => _1187.options, 'optionalAccess', _1188 => _1188.weekStartsOn]))), () => ( 0));
48780
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1179 => _1179.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _1180 => _1180.locale, 'optionalAccess', _1181 => _1181.options, 'optionalAccess', _1182 => _1182.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _1183 => _1183.locale, 'optionalAccess', _1184 => _1184.options, 'optionalAccess', _1185 => _1185.weekStartsOn]))), () => ( 0));
48774
48781
  const _date = toDate2(date);
48775
48782
  const day = _date.getDay();
48776
48783
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -48945,7 +48952,7 @@ var formatDistance = (token, count, options) => {
48945
48952
  } else {
48946
48953
  result = tokenValue.other.replace("{{count}}", count.toString());
48947
48954
  }
48948
- if (_optionalChain([options, 'optionalAccess', _1189 => _1189.addSuffix])) {
48955
+ if (_optionalChain([options, 'optionalAccess', _1186 => _1186.addSuffix])) {
48949
48956
  if (options.comparison && options.comparison > 0) {
48950
48957
  return "in " + result;
48951
48958
  } else {
@@ -49012,15 +49019,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
49012
49019
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
49013
49020
  function buildLocalizeFn(args) {
49014
49021
  return (value, options) => {
49015
- const context = _optionalChain([options, 'optionalAccess', _1190 => _1190.context]) ? String(options.context) : "standalone";
49022
+ const context = _optionalChain([options, 'optionalAccess', _1187 => _1187.context]) ? String(options.context) : "standalone";
49016
49023
  let valuesArray;
49017
49024
  if (context === "formatting" && args.formattingValues) {
49018
49025
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
49019
- const width = _optionalChain([options, 'optionalAccess', _1191 => _1191.width]) ? String(options.width) : defaultWidth;
49026
+ const width = _optionalChain([options, 'optionalAccess', _1188 => _1188.width]) ? String(options.width) : defaultWidth;
49020
49027
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
49021
49028
  } else {
49022
49029
  const defaultWidth = args.defaultWidth;
49023
- const width = _optionalChain([options, 'optionalAccess', _1192 => _1192.width]) ? String(options.width) : args.defaultWidth;
49030
+ const width = _optionalChain([options, 'optionalAccess', _1189 => _1189.width]) ? String(options.width) : args.defaultWidth;
49024
49031
  valuesArray = args.values[width] || args.values[defaultWidth];
49025
49032
  }
49026
49033
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -49400,7 +49407,7 @@ function getWeekYear(date, options) {
49400
49407
  const _date = toDate2(date);
49401
49408
  const year = _date.getFullYear();
49402
49409
  const defaultOptions2 = getDefaultOptions();
49403
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1193 => _1193.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _1194 => _1194.locale, 'optionalAccess', _1195 => _1195.options, 'optionalAccess', _1196 => _1196.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _1197 => _1197.locale, 'optionalAccess', _1198 => _1198.options, 'optionalAccess', _1199 => _1199.firstWeekContainsDate]))), () => ( 1));
49410
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1190 => _1190.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _1191 => _1191.locale, 'optionalAccess', _1192 => _1192.options, 'optionalAccess', _1193 => _1193.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _1194 => _1194.locale, 'optionalAccess', _1195 => _1195.options, 'optionalAccess', _1196 => _1196.firstWeekContainsDate]))), () => ( 1));
49404
49411
  const firstWeekOfNextYear = constructFrom(date, 0);
49405
49412
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
49406
49413
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -49421,7 +49428,7 @@ function getWeekYear(date, options) {
49421
49428
  // node_modules/date-fns/startOfWeekYear.mjs
49422
49429
  function startOfWeekYear(date, options) {
49423
49430
  const defaultOptions2 = getDefaultOptions();
49424
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1200 => _1200.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _1201 => _1201.locale, 'optionalAccess', _1202 => _1202.options, 'optionalAccess', _1203 => _1203.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _1204 => _1204.locale, 'optionalAccess', _1205 => _1205.options, 'optionalAccess', _1206 => _1206.firstWeekContainsDate]))), () => ( 1));
49431
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1197 => _1197.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _1198 => _1198.locale, 'optionalAccess', _1199 => _1199.options, 'optionalAccess', _1200 => _1200.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _1201 => _1201.locale, 'optionalAccess', _1202 => _1202.options, 'optionalAccess', _1203 => _1203.firstWeekContainsDate]))), () => ( 1));
49425
49432
  const year = getWeekYear(date, options);
49426
49433
  const firstWeek = constructFrom(date, 0);
49427
49434
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -50236,9 +50243,9 @@ var doubleQuoteRegExp = /''/g;
50236
50243
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
50237
50244
  function format2(date, formatStr, options) {
50238
50245
  const defaultOptions2 = getDefaultOptions();
50239
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1207 => _1207.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
50240
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1208 => _1208.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _1209 => _1209.locale, 'optionalAccess', _1210 => _1210.options, 'optionalAccess', _1211 => _1211.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _1212 => _1212.locale, 'optionalAccess', _1213 => _1213.options, 'optionalAccess', _1214 => _1214.firstWeekContainsDate]))), () => ( 1));
50241
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1215 => _1215.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _1216 => _1216.locale, 'optionalAccess', _1217 => _1217.options, 'optionalAccess', _1218 => _1218.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _1219 => _1219.locale, 'optionalAccess', _1220 => _1220.options, 'optionalAccess', _1221 => _1221.weekStartsOn]))), () => ( 0));
50246
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1204 => _1204.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
50247
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1205 => _1205.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _1206 => _1206.locale, 'optionalAccess', _1207 => _1207.options, 'optionalAccess', _1208 => _1208.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _1209 => _1209.locale, 'optionalAccess', _1210 => _1210.options, 'optionalAccess', _1211 => _1211.firstWeekContainsDate]))), () => ( 1));
50248
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1212 => _1212.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _1213 => _1213.locale, 'optionalAccess', _1214 => _1214.options, 'optionalAccess', _1215 => _1215.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _1216 => _1216.locale, 'optionalAccess', _1217 => _1217.options, 'optionalAccess', _1218 => _1218.weekStartsOn]))), () => ( 0));
50242
50249
  const originalDate = toDate2(date);
50243
50250
  if (!isValid(originalDate)) {
50244
50251
  throw new RangeError("Invalid time value");
@@ -50279,7 +50286,7 @@ function format2(date, formatStr, options) {
50279
50286
  return parts.map((part) => {
50280
50287
  if (!part.isToken) return part.value;
50281
50288
  const token = part.value;
50282
- if (!_optionalChain([options, 'optionalAccess', _1222 => _1222.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _1223 => _1223.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
50289
+ if (!_optionalChain([options, 'optionalAccess', _1219 => _1219.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _1220 => _1220.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
50283
50290
  warnOrThrowProtectedError(token, formatStr, String(date));
50284
50291
  }
50285
50292
  const formatter = formatters[token[0]];
@@ -50485,7 +50492,7 @@ function ProgramCard({
50485
50492
  const itemDate2 = compactDate;
50486
50493
  const compactCover = coverImage || placeholderUrl || null;
50487
50494
  const typeMeta = compactTypeMeta();
50488
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _1224 => _1224.labels, 'optionalAccess', _1225 => _1225.singular])].filter(
50495
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _1221 => _1221.labels, 'optionalAccess', _1222 => _1222.singular])].filter(
50489
50496
  (s) => typeof s === "string" && s.length > 0
50490
50497
  );
50491
50498
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkA62C4C4Vcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -50642,7 +50649,7 @@ function ProgramCard({
50642
50649
 
50643
50650
 
50644
50651
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
50645
- const goalsCount = _optionalChain([campaign, 'access', _1226 => _1226.goals, 'optionalAccess', _1227 => _1227.length]) || 0;
50652
+ const goalsCount = _optionalChain([campaign, 'access', _1223 => _1223.goals, 'optionalAccess', _1224 => _1224.length]) || 0;
50646
50653
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
50647
50654
  /* @__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" }) }),
50648
50655
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -50804,7 +50811,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
50804
50811
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
50805
50812
  const safePath = sanitizePath(row.path);
50806
50813
  if (safePath) {
50807
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _1228 => _1228.docPlatformTargets, 'optionalAccess', _1229 => _1229[row.documentType]]) : void 0;
50814
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _1225 => _1225.docPlatformTargets, 'optionalAccess', _1226 => _1226[row.documentType]]) : void 0;
50808
50815
  if (docTarget) {
50809
50816
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
50810
50817
  const base = `${_chunkA62C4C4Vcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -51019,8 +51026,8 @@ function cardMenuGroups(href, discuss, openDetails) {
51019
51026
  if (href) {
51020
51027
  items.push({
51021
51028
  id: "open-details",
51022
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _1230 => _1230.label]), () => ( "Open Details")),
51023
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _1231 => _1231.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.EyeIcon, { size: 20 }))),
51029
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _1227 => _1227.label]), () => ( "Open Details")),
51030
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _1228 => _1228.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.EyeIcon, { size: 20 }))),
51024
51031
  // Main row → open the entity (same tab, soft Link nav).
51025
51032
  href,
51026
51033
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -51050,8 +51057,8 @@ function HubspotTicketChatCard({
51050
51057
  isNewTab,
51051
51058
  discuss
51052
51059
  }) {
51053
- const status = typeof _optionalChain([chatRef, 'access', _1232 => _1232.metadata, 'optionalAccess', _1233 => _1233.status]) === "string" ? chatRef.metadata.status : void 0;
51054
- const statusLabel = typeof _optionalChain([chatRef, 'access', _1234 => _1234.metadata, 'optionalAccess', _1235 => _1235.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
51060
+ const status = typeof _optionalChain([chatRef, 'access', _1229 => _1229.metadata, 'optionalAccess', _1230 => _1230.status]) === "string" ? chatRef.metadata.status : void 0;
51061
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _1231 => _1231.metadata, 'optionalAccess', _1232 => _1232.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
51055
51062
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
51056
51063
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51057
51064
  MingoInfoCard,
@@ -51074,7 +51081,7 @@ function FaqChatCard({
51074
51081
  isNewTab,
51075
51082
  discuss
51076
51083
  }) {
51077
- const section = typeof _optionalChain([chatRef, 'access', _1236 => _1236.metadata, 'optionalAccess', _1237 => _1237.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
51084
+ const section = typeof _optionalChain([chatRef, 'access', _1233 => _1233.metadata, 'optionalAccess', _1234 => _1234.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
51078
51085
  const statusLabel = section && section.length > 0 ? section : "FAQ";
51079
51086
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51080
51087
  MingoInfoCard,
@@ -51094,7 +51101,7 @@ function SlackChatCard({
51094
51101
  isNewTab,
51095
51102
  discuss
51096
51103
  }) {
51097
- const channelName = typeof _optionalChain([chatRef, 'access', _1238 => _1238.metadata, 'optionalAccess', _1239 => _1239.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
51104
+ const channelName = typeof _optionalChain([chatRef, 'access', _1235 => _1235.metadata, 'optionalAccess', _1236 => _1236.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
51098
51105
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
51099
51106
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
51100
51107
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -51134,7 +51141,7 @@ function GenericFinancialChatCard({
51134
51141
  isNewTab,
51135
51142
  discuss
51136
51143
  }) {
51137
- const subtitle = typeof _optionalChain([chatRef, 'access', _1240 => _1240.metadata, 'optionalAccess', _1241 => _1241.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
51144
+ const subtitle = typeof _optionalChain([chatRef, 'access', _1237 => _1237.metadata, 'optionalAccess', _1238 => _1238.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
51138
51145
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51139
51146
  MingoInfoCard,
51140
51147
  {
@@ -51203,12 +51210,12 @@ function ProductReleaseChatCard({
51203
51210
  discuss
51204
51211
  }) {
51205
51212
  const releaseProps = buildProps(item);
51206
- const status = _optionalChain([item, 'optionalAccess', _1242 => _1242.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
51213
+ const status = _optionalChain([item, 'optionalAccess', _1239 => _1239.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
51207
51214
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51208
51215
  EntityMingoCard,
51209
51216
  {
51210
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1243 => _1243.title]), () => ( "")),
51211
- description: _optionalChain([item, 'optionalAccess', _1244 => _1244.summary]) || releaseProps.formattedDate || void 0,
51217
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1240 => _1240.title]), () => ( "")),
51218
+ description: _optionalChain([item, 'optionalAccess', _1241 => _1241.summary]) || releaseProps.formattedDate || void 0,
51212
51219
  cover: releaseProps.coverImage || void 0,
51213
51220
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.Rocket02Icon, { size: 24 }),
51214
51221
  status,
@@ -51225,17 +51232,17 @@ function CampaignChatCard({
51225
51232
  isNewTab,
51226
51233
  discuss
51227
51234
  }) {
51228
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _1245 => _1245.goals])) ? item.goals.length : 0;
51235
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _1242 => _1242.goals])) ? item.goals.length : 0;
51229
51236
  const meta = [
51230
- _optionalChain([item, 'optionalAccess', _1246 => _1246.start_date]) ? formatDateShort(item.start_date) : null,
51237
+ _optionalChain([item, 'optionalAccess', _1243 => _1243.start_date]) ? formatDateShort(item.start_date) : null,
51231
51238
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
51232
51239
  "Marketing campaign"
51233
51240
  ].filter(Boolean).join(" \xB7 ");
51234
51241
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51235
51242
  EntityMingoCard,
51236
51243
  {
51237
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1247 => _1247.name]), () => ( "")),
51238
- description: meta || _optionalChain([item, 'optionalAccess', _1248 => _1248.description]) || void 0,
51244
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1244 => _1244.name]), () => ( "")),
51245
+ description: meta || _optionalChain([item, 'optionalAccess', _1245 => _1245.description]) || void 0,
51239
51246
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.Megaphone01Icon, { size: 24 }),
51240
51247
  chatRef,
51241
51248
  isNewTab,
@@ -51288,14 +51295,14 @@ function BlogChatCard({
51288
51295
  hasEmbeddedVideo,
51289
51296
  discuss
51290
51297
  }) {
51291
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1249 => _1249.categories])) ? _optionalChain([item, 'access', _1250 => _1250.categories, 'access', _1251 => _1251.find, 'call', _1252 => _1252((c) => c && c.name), 'optionalAccess', _1253 => _1253.name]) : void 0;
51298
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1246 => _1246.categories])) ? _optionalChain([item, 'access', _1247 => _1247.categories, 'access', _1248 => _1248.find, 'call', _1249 => _1249((c) => c && c.name), 'optionalAccess', _1250 => _1250.name]) : void 0;
51292
51299
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
51293
51300
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51294
51301
  EntityMingoCard,
51295
51302
  {
51296
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1254 => _1254.title]), () => ( "")),
51297
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1255 => _1255.summary]), () => ( void 0)),
51298
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1256 => _1256.featured_image]), ogPlaceholder),
51303
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1251 => _1251.title]), () => ( "")),
51304
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1252 => _1252.summary]), () => ( void 0)),
51305
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1253 => _1253.featured_image]), ogPlaceholder),
51299
51306
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.NewspaperIcon, { size: 24 }),
51300
51307
  status,
51301
51308
  chatRef,
@@ -51312,13 +51319,13 @@ function CaseStudyChatCard({
51312
51319
  ogPlaceholder,
51313
51320
  discuss
51314
51321
  }) {
51315
- const meta = [_optionalChain([item, 'optionalAccess', _1257 => _1257.msp, 'optionalAccess', _1258 => _1258.name]), _optionalChain([item, 'optionalAccess', _1259 => _1259.user, 'optionalAccess', _1260 => _1260.full_name])].filter(Boolean).join(" \xB7 ");
51322
+ const meta = [_optionalChain([item, 'optionalAccess', _1254 => _1254.msp, 'optionalAccess', _1255 => _1255.name]), _optionalChain([item, 'optionalAccess', _1256 => _1256.user, 'optionalAccess', _1257 => _1257.full_name])].filter(Boolean).join(" \xB7 ");
51316
51323
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51317
51324
  EntityMingoCard,
51318
51325
  {
51319
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1261 => _1261.title]), () => ( "")),
51320
- description: _optionalChain([item, 'optionalAccess', _1262 => _1262.summary]) || meta || void 0,
51321
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1263 => _1263.featured_image]), ogPlaceholder),
51326
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1258 => _1258.title]), () => ( "")),
51327
+ description: _optionalChain([item, 'optionalAccess', _1259 => _1259.summary]) || meta || void 0,
51328
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1260 => _1260.featured_image]), ogPlaceholder),
51322
51329
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.TrophyIcon, { size: 24 }),
51323
51330
  status: { label: "Case study", variant: "grey" },
51324
51331
  chatRef,
@@ -51335,13 +51342,13 @@ function CustomerInterviewChatCard({
51335
51342
  ogPlaceholder,
51336
51343
  discuss
51337
51344
  }) {
51338
- const meta = [_optionalChain([item, 'optionalAccess', _1264 => _1264.user, 'optionalAccess', _1265 => _1265.full_name]), _optionalChain([item, 'optionalAccess', _1266 => _1266.msp, 'optionalAccess', _1267 => _1267.name])].filter(Boolean).join(" \xB7 ");
51345
+ const meta = [_optionalChain([item, 'optionalAccess', _1261 => _1261.user, 'optionalAccess', _1262 => _1262.full_name]), _optionalChain([item, 'optionalAccess', _1263 => _1263.msp, 'optionalAccess', _1264 => _1264.name])].filter(Boolean).join(" \xB7 ");
51339
51346
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51340
51347
  EntityMingoCard,
51341
51348
  {
51342
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1268 => _1268.title]), () => ( "")),
51343
- description: _optionalChain([item, 'optionalAccess', _1269 => _1269.video_summary]) || meta || void 0,
51344
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1270 => _1270.featured_image]), ogPlaceholder),
51349
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1265 => _1265.title]), () => ( "")),
51350
+ description: _optionalChain([item, 'optionalAccess', _1266 => _1266.video_summary]) || meta || void 0,
51351
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1267 => _1267.featured_image]), ogPlaceholder),
51345
51352
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.MicrophoneIcon, { size: 24 }),
51346
51353
  status: { label: "Interview", variant: "grey" },
51347
51354
  chatRef,
@@ -51358,13 +51365,13 @@ function InvestorUpdateChatCard({
51358
51365
  ogPlaceholder,
51359
51366
  discuss
51360
51367
  }) {
51361
- const title = _optionalChain([item, 'optionalAccess', _1271 => _1271.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1272 => _1272.update_number]), () => ( "?"))}`;
51368
+ const title = _optionalChain([item, 'optionalAccess', _1268 => _1268.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1269 => _1269.update_number]), () => ( "?"))}`;
51362
51369
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51363
51370
  EntityMingoCard,
51364
51371
  {
51365
51372
  title,
51366
- description: _optionalChain([item, 'optionalAccess', _1273 => _1273.strategic_update]) || _optionalChain([item, 'optionalAccess', _1274 => _1274.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1275 => _1275.period_start]), _optionalChain([item, 'optionalAccess', _1276 => _1276.period_end])) || void 0,
51367
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1277 => _1277.featured_image]), ogPlaceholder),
51373
+ description: _optionalChain([item, 'optionalAccess', _1270 => _1270.strategic_update]) || _optionalChain([item, 'optionalAccess', _1271 => _1271.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1272 => _1272.period_start]), _optionalChain([item, 'optionalAccess', _1273 => _1273.period_end])) || void 0,
51374
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1274 => _1274.featured_image]), ogPlaceholder),
51368
51375
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.PresentationLineIcon, { size: 24 }),
51369
51376
  status: { label: "Investor update", variant: "grey" },
51370
51377
  chatRef,
@@ -51381,12 +51388,12 @@ function OnboardingGuideChatCard({
51381
51388
  ogPlaceholder,
51382
51389
  discuss
51383
51390
  }) {
51384
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1278 => _1278.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1279 => _1279.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1280 => _1280.og_image_url]), ogPlaceholder)));
51391
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1275 => _1275.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1276 => _1276.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1277 => _1277.og_image_url]), ogPlaceholder)));
51385
51392
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51386
51393
  EntityMingoCard,
51387
51394
  {
51388
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1281 => _1281.title]), () => ( "")),
51389
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1282 => _1282.summary]), () => ( _optionalChain([item, 'optionalAccess', _1283 => _1283.description]))), () => ( void 0)),
51395
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1278 => _1278.title]), () => ( "")),
51396
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1279 => _1279.summary]), () => ( _optionalChain([item, 'optionalAccess', _1280 => _1280.description]))), () => ( void 0)),
51390
51397
  cover,
51391
51398
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.CompassIcon, { size: 24 }),
51392
51399
  status: { label: "Guide", variant: "grey" },
@@ -51407,25 +51414,25 @@ function ProgramChatCard({
51407
51414
  discuss
51408
51415
  }) {
51409
51416
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.MicrophoneIcon, { size: 24 });
51410
- const isScheduled = _optionalChain([item, 'optionalAccess', _1284 => _1284.status]) === "scheduled";
51417
+ const isScheduled = _optionalChain([item, 'optionalAccess', _1281 => _1281.status]) === "scheduled";
51411
51418
  let typeMeta;
51412
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1285 => _1285.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
51419
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1282 => _1282.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
51413
51420
  typeMeta = formatDurationCompact(item.duration_seconds);
51414
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1286 => _1286.location_name]) === "string" && item.location_name.trim().length > 0) {
51421
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1283 => _1283.location_name]) === "string" && item.location_name.trim().length > 0) {
51415
51422
  typeMeta = item.location_name;
51416
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1287 => _1287.start_at])) {
51423
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1284 => _1284.start_at])) {
51417
51424
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
51418
51425
  const dur = formatDurationFromRange(item.start_at, item.end_at);
51419
51426
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
51420
51427
  }
51421
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1288 => _1288.date]), () => ( null)), { fallback: "", timezone: "local" });
51428
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1285 => _1285.date]), () => ( null)), { fallback: "", timezone: "local" });
51422
51429
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
51423
51430
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51424
51431
  EntityMingoCard,
51425
51432
  {
51426
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1289 => _1289.title]), () => ( "")),
51427
- description: meta || _optionalChain([item, 'optionalAccess', _1290 => _1290.description]) || void 0,
51428
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1291 => _1291.cover_url]), ogPlaceholder),
51433
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1286 => _1286.title]), () => ( "")),
51434
+ description: meta || _optionalChain([item, 'optionalAccess', _1287 => _1287.description]) || void 0,
51435
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1288 => _1288.cover_url]), ogPlaceholder),
51429
51436
  fallbackIcon: icon,
51430
51437
  status: { label, variant: "grey" },
51431
51438
  chatRef,
@@ -51442,10 +51449,10 @@ function RoadmapChatCard({
51442
51449
  cardType,
51443
51450
  discuss
51444
51451
  }) {
51445
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1292 => _1292.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
51446
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1293 => _1293.customItemId]) != null;
51452
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1289 => _1289.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
51453
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1290 => _1290.customItemId]) != null;
51447
51454
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUTVOBFXRcjs.MapIcon, { size: 24 });
51448
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1294 => _1294.customItemId]), className: "size-6" }) : logoUrl ? (
51455
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1291 => _1291.customItemId]), className: "size-6" }) : logoUrl ? (
51449
51456
  // Contained (not full-bleed) so the integration logo keeps its aspect
51450
51457
  // ratio inside the bordered icon box — matches RoadmapCard.
51451
51458
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -51453,10 +51460,10 @@ function RoadmapChatCard({
51453
51460
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51454
51461
  EntityMingoCard,
51455
51462
  {
51456
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1295 => _1295.title]), () => ( "")),
51457
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1296 => _1296.description]), () => ( void 0)),
51463
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1292 => _1292.title]), () => ( "")),
51464
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1293 => _1293.description]), () => ( void 0)),
51458
51465
  fallbackIcon: icon,
51459
- status: statusPill(_optionalChain([item, 'optionalAccess', _1297 => _1297.status])),
51466
+ status: statusPill(_optionalChain([item, 'optionalAccess', _1294 => _1294.status])),
51460
51467
  chatRef,
51461
51468
  isNewTab,
51462
51469
  discuss,
@@ -51542,7 +51549,7 @@ function programRegistryEntries() {
51542
51549
  discuss: opts.discuss,
51543
51550
  configKey: cfg.configKey,
51544
51551
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
51545
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1298 => _1298.extras, 'optionalAccess', _1299 => _1299.buildOgPlaceholderUrl, 'optionalCall', _1300 => _1300(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1301 => _1301.title]), () => ( "")))]), () => ( null))
51552
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1295 => _1295.extras, 'optionalAccess', _1296 => _1296.buildOgPlaceholderUrl, 'optionalCall', _1297 => _1297(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1298 => _1298.title]), () => ( "")))]), () => ( null))
51546
51553
  }
51547
51554
  )
51548
51555
  };
@@ -51694,8 +51701,8 @@ var CHAT_CARD_REGISTRY = {
51694
51701
  chatRef,
51695
51702
  isNewTab: opts.isNewTab,
51696
51703
  discuss: opts.discuss,
51697
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1302 => _1302.extras, 'optionalAccess', _1303 => _1303.buildOgPlaceholderUrl, 'optionalCall', _1304 => _1304(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1305 => _1305.title]), () => ( "")))]), () => ( null)),
51698
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1306 => _1306.metadata, 'optionalAccess', _1307 => _1307.hasEmbeddedVideo]) === true
51704
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1299 => _1299.extras, 'optionalAccess', _1300 => _1300.buildOgPlaceholderUrl, 'optionalCall', _1301 => _1301(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1302 => _1302.title]), () => ( "")))]), () => ( null)),
51705
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1303 => _1303.metadata, 'optionalAccess', _1304 => _1304.hasEmbeddedVideo]) === true
51699
51706
  }
51700
51707
  )
51701
51708
  },
@@ -51712,7 +51719,7 @@ var CHAT_CARD_REGISTRY = {
51712
51719
  chatRef,
51713
51720
  isNewTab: opts.isNewTab,
51714
51721
  discuss: opts.discuss,
51715
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1308 => _1308.extras, 'optionalAccess', _1309 => _1309.buildOgPlaceholderUrl, 'optionalCall', _1310 => _1310(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1311 => _1311.title]), () => ( "")))]), () => ( null))
51722
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1305 => _1305.extras, 'optionalAccess', _1306 => _1306.buildOgPlaceholderUrl, 'optionalCall', _1307 => _1307(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1308 => _1308.title]), () => ( "")))]), () => ( null))
51716
51723
  }
51717
51724
  )
51718
51725
  },
@@ -51729,7 +51736,7 @@ var CHAT_CARD_REGISTRY = {
51729
51736
  chatRef,
51730
51737
  isNewTab: opts.isNewTab,
51731
51738
  discuss: opts.discuss,
51732
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1312 => _1312.extras, 'optionalAccess', _1313 => _1313.buildOgPlaceholderUrl, 'optionalCall', _1314 => _1314(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1315 => _1315.title]), () => ( "")))]), () => ( null))
51739
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1309 => _1309.extras, 'optionalAccess', _1310 => _1310.buildOgPlaceholderUrl, 'optionalCall', _1311 => _1311(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1312 => _1312.title]), () => ( "")))]), () => ( null))
51733
51740
  }
51734
51741
  )
51735
51742
  },
@@ -51740,7 +51747,7 @@ var CHAT_CARD_REGISTRY = {
51740
51747
  bareInline: true,
51741
51748
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
51742
51749
  render: (item, chatRef, opts) => {
51743
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1316 => _1316.extras, 'optionalAccess', _1317 => _1317.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
51750
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1313 => _1313.extras, 'optionalAccess', _1314 => _1314.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
51744
51751
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51745
51752
  ProductReleaseChatCard,
51746
51753
  {
@@ -51767,7 +51774,7 @@ var CHAT_CARD_REGISTRY = {
51767
51774
  chatRef,
51768
51775
  isNewTab: opts.isNewTab,
51769
51776
  discuss: opts.discuss,
51770
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1318 => _1318.extras, 'optionalAccess', _1319 => _1319.buildOgPlaceholderUrl, 'optionalCall', _1320 => _1320(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1321 => _1321.title]), () => ( "")))]), () => ( null))
51777
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1315 => _1315.extras, 'optionalAccess', _1316 => _1316.buildOgPlaceholderUrl, 'optionalCall', _1317 => _1317(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1318 => _1318.title]), () => ( "")))]), () => ( null))
51771
51778
  }
51772
51779
  )
51773
51780
  },
@@ -51786,7 +51793,7 @@ var CHAT_CARD_REGISTRY = {
51786
51793
  chatRef,
51787
51794
  isNewTab: opts.isNewTab,
51788
51795
  discuss: opts.discuss,
51789
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1322 => _1322.extras, 'optionalAccess', _1323 => _1323.buildOgPlaceholderUrl, 'optionalCall', _1324 => _1324(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1325 => _1325.title]), () => ( "")))]), () => ( null))
51796
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1319 => _1319.extras, 'optionalAccess', _1320 => _1320.buildOgPlaceholderUrl, 'optionalCall', _1321 => _1321(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1322 => _1322.title]), () => ( "")))]), () => ( null))
51790
51797
  }
51791
51798
  )
51792
51799
  },
@@ -51798,7 +51805,7 @@ var CHAT_CARD_REGISTRY = {
51798
51805
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
51799
51806
  // No public viewer — synthesize the hub-internal admin URL post-fetch
51800
51807
  // so the wrapper + isNewTab computation see the actual destination.
51801
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1326 => _1326.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
51808
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1323 => _1323.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
51802
51809
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51803
51810
  CampaignChatCard,
51804
51811
  {
@@ -51824,12 +51831,12 @@ function ChatCardNavWrap({
51824
51831
  const onClickCapture = (e) => {
51825
51832
  if (!href) return;
51826
51833
  const targetEl = e.target;
51827
- if (_optionalChain([targetEl, 'optionalAccess', _1327 => _1327.closest, 'optionalCall', _1328 => _1328("button")])) return;
51828
- if (!_optionalChain([targetEl, 'optionalAccess', _1329 => _1329.closest, 'optionalCall', _1330 => _1330("a")])) return;
51834
+ if (_optionalChain([targetEl, 'optionalAccess', _1324 => _1324.closest, 'optionalCall', _1325 => _1325("button")])) return;
51835
+ if (!_optionalChain([targetEl, 'optionalAccess', _1326 => _1326.closest, 'optionalCall', _1327 => _1327("a")])) return;
51829
51836
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
51830
51837
  if (!handled) return;
51831
51838
  e.stopPropagation();
51832
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1331 => _1331.closeChat])) panel.closeChat();
51839
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1328 => _1328.closeChat])) panel.closeChat();
51833
51840
  };
51834
51841
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
51835
51842
  }
@@ -51851,7 +51858,7 @@ function ChatCardLoader({
51851
51858
  title: chatRef.title,
51852
51859
  externalUrl: chatRef.url,
51853
51860
  targetPlatform: chatRef.targetPlatform,
51854
- path: typeof _optionalChain([chatRef, 'access', _1332 => _1332.metadata, 'optionalAccess', _1333 => _1333.path]) === "string" ? chatRef.metadata.path : null
51861
+ path: typeof _optionalChain([chatRef, 'access', _1329 => _1329.metadata, 'optionalAccess', _1330 => _1330.path]) === "string" ? chatRef.metadata.path : null
51855
51862
  },
51856
51863
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
51857
51864
  );
@@ -51865,7 +51872,7 @@ function ChatCardLoader({
51865
51872
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
51866
51873
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
51867
51874
  const { item, isLoading } = useChatCardItem(
51868
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1334 => _1334.contentRefType]), () => ( "")),
51875
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1331 => _1331.contentRefType]), () => ( "")),
51869
51876
  fetchEntry ? resolvedChatRef.id : ""
51870
51877
  );
51871
51878
  if (!entry) return null;
@@ -51896,7 +51903,7 @@ function ChatCardLoader({
51896
51903
  isNewTab,
51897
51904
  discuss
51898
51905
  };
51899
- const path = typeof _optionalChain([finalChatRef, 'access', _1335 => _1335.metadata, 'optionalAccess', _1336 => _1336.path]) === "string" ? finalChatRef.metadata.path : null;
51906
+ const path = typeof _optionalChain([finalChatRef, 'access', _1332 => _1332.metadata, 'optionalAccess', _1333 => _1333.path]) === "string" ? finalChatRef.metadata.path : null;
51900
51907
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51901
51908
  ChatCardNavWrap,
51902
51909
  {
@@ -52166,7 +52173,7 @@ function useChunkCatchup({
52166
52173
  console.error("Error during chunk catchup:", error);
52167
52174
  } finally {
52168
52175
  if (dialogId2 !== dialogIdRef.current) {
52169
- if (_optionalChain([pendingCatchupRef, 'access', _1337 => _1337.current, 'optionalAccess', _1338 => _1338.dialogId]) === dialogId2) {
52176
+ if (_optionalChain([pendingCatchupRef, 'access', _1334 => _1334.current, 'optionalAccess', _1335 => _1335.dialogId]) === dialogId2) {
52170
52177
  pendingCatchupRef.current = null;
52171
52178
  }
52172
52179
  } else {
@@ -52179,7 +52186,7 @@ function useChunkCatchup({
52179
52186
  lastFetchParams.current = null;
52180
52187
  bufferUntilInitialCatchupComplete.current = true;
52181
52188
  try {
52182
- await _optionalChain([catchUpChunksRef, 'access', _1339 => _1339.current, 'optionalCall', _1340 => _1340(pending.fromSequenceId)]);
52189
+ await _optionalChain([catchUpChunksRef, 'access', _1336 => _1336.current, 'optionalCall', _1337 => _1337(pending.fromSequenceId)]);
52183
52190
  } catch (rerunError) {
52184
52191
  console.error("Queued catch-up re-run failed:", rerunError);
52185
52192
  }
@@ -52243,7 +52250,7 @@ function useChunkCatchup({
52243
52250
 
52244
52251
  var EMPTY_FRAME = { messages: [], phase: "idle", typing: false, delayMs: 0 };
52245
52252
  function prefersReducedMotion() {
52246
- return typeof window !== "undefined" && _optionalChain([window, 'access', _1341 => _1341.matchMedia, 'optionalCall', _1342 => _1342("(prefers-reduced-motion: reduce)"), 'access', _1343 => _1343.matches]) === true;
52253
+ return typeof window !== "undefined" && _optionalChain([window, 'access', _1338 => _1338.matchMedia, 'optionalCall', _1339 => _1339("(prefers-reduced-motion: reduce)"), 'access', _1340 => _1340.matches]) === true;
52247
52254
  }
52248
52255
  function useScriptedStream(frames, resetKey, enabled = true) {
52249
52256
  const [index, setIndex] = _react.useState.call(void 0, 0);
@@ -52255,7 +52262,7 @@ function useScriptedStream(frames, resetKey, enabled = true) {
52255
52262
  }
52256
52263
  _react.useEffect.call(void 0, () => {
52257
52264
  setReducedMotion(prefersReducedMotion());
52258
- const mq = _optionalChain([window, 'access', _1344 => _1344.matchMedia, 'optionalCall', _1345 => _1345("(prefers-reduced-motion: reduce)")]);
52265
+ const mq = _optionalChain([window, 'access', _1341 => _1341.matchMedia, 'optionalCall', _1342 => _1342("(prefers-reduced-motion: reduce)")]);
52259
52266
  if (!mq) return;
52260
52267
  const onChange = () => setReducedMotion(mq.matches);
52261
52268
  mq.addEventListener("change", onChange);
@@ -52387,7 +52394,7 @@ function useJetStreamDialogSubscription({
52387
52394
  const lifecycle = _chunkKQKU4VXBcjs.startConnectionLifecycle.call(void 0, {
52388
52395
  conn: sharedConn,
52389
52396
  wsUrl,
52390
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1346 => _1346.current, 'optionalCall', _1347 => _1347()]),
52397
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1343 => _1343.current, 'optionalCall', _1344 => _1344()]),
52391
52398
  backoff: reconnectionBackoffRef.current,
52392
52399
  getFreshUrl: () => getNatsWsUrlRef.current(),
52393
52400
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -52402,7 +52409,7 @@ function useJetStreamDialogSubscription({
52402
52409
  setReconnectionCount((c) => c + 1);
52403
52410
  }
52404
52411
  hadConnectionBeforeRef.current = true;
52405
- _optionalChain([onConnectRef, 'access', _1348 => _1348.current, 'optionalCall', _1349 => _1349()]);
52412
+ _optionalChain([onConnectRef, 'access', _1345 => _1345.current, 'optionalCall', _1346 => _1346()]);
52406
52413
  }
52407
52414
  if (status === "error") {
52408
52415
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -52412,7 +52419,7 @@ function useJetStreamDialogSubscription({
52412
52419
  setIsConnected(false);
52413
52420
  setIsSubscribed(false);
52414
52421
  tearDownSubscription();
52415
- _optionalChain([onDisconnectRef, 'access', _1350 => _1350.current, 'optionalCall', _1351 => _1351()]);
52422
+ _optionalChain([onDisconnectRef, 'access', _1347 => _1347.current, 'optionalCall', _1348 => _1348()]);
52416
52423
  }
52417
52424
  }
52418
52425
  });
@@ -52521,7 +52528,7 @@ function useJetStreamDialogSubscription({
52521
52528
  }
52522
52529
  subscriptionRef.current = handle;
52523
52530
  setIsSubscribed(true);
52524
- _optionalChain([onSubscribedRef, 'access', _1352 => _1352.current, 'optionalCall', _1353 => _1353()]);
52531
+ _optionalChain([onSubscribedRef, 'access', _1349 => _1349.current, 'optionalCall', _1350 => _1350()]);
52525
52532
  } catch (e87) {
52526
52533
  if (!cancelled) {
52527
52534
  setIsSubscribed(false);
@@ -52635,20 +52642,20 @@ function useNatsDialogSubscription({
52635
52642
  const tearDownSubscriptions = () => {
52636
52643
  subscriptionRefs.current.forEach((sub) => {
52637
52644
  try {
52638
- _optionalChain([sub, 'optionalAccess', _1354 => _1354.unsubscribe, 'call', _1355 => _1355()]);
52645
+ _optionalChain([sub, 'optionalAccess', _1351 => _1351.unsubscribe, 'call', _1352 => _1352()]);
52639
52646
  } catch (e89) {
52640
52647
  }
52641
52648
  });
52642
52649
  subscriptionRefs.current.clear();
52643
52650
  lastSubscribedDialogIdRef.current = null;
52644
- _optionalChain([abortControllerRef, 'access', _1356 => _1356.current, 'optionalAccess', _1357 => _1357.abort, 'call', _1358 => _1358()]);
52651
+ _optionalChain([abortControllerRef, 'access', _1353 => _1353.current, 'optionalAccess', _1354 => _1354.abort, 'call', _1355 => _1355()]);
52645
52652
  abortControllerRef.current = null;
52646
52653
  };
52647
52654
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
52648
52655
  const lifecycle = _chunkKQKU4VXBcjs.startConnectionLifecycle.call(void 0, {
52649
52656
  conn: sharedConn,
52650
52657
  wsUrl,
52651
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1359 => _1359.current, 'optionalCall', _1360 => _1360()]),
52658
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1356 => _1356.current, 'optionalCall', _1357 => _1357()]),
52652
52659
  backoff: reconnectionBackoffRef.current,
52653
52660
  getFreshUrl: () => getNatsWsUrlRef.current(),
52654
52661
  shouldRetryOn: isDisconnectStatus,
@@ -52659,7 +52666,7 @@ function useNatsDialogSubscription({
52659
52666
  setReconnectionCount((c) => c + 1);
52660
52667
  }
52661
52668
  hadConnectionBeforeRef.current = true;
52662
- _optionalChain([onConnectRef, 'access', _1361 => _1361.current, 'optionalCall', _1362 => _1362()]);
52669
+ _optionalChain([onConnectRef, 'access', _1358 => _1358.current, 'optionalCall', _1359 => _1359()]);
52663
52670
  }
52664
52671
  if (status === "error") {
52665
52672
  console.warn("[NATS] protocol error:", evt.data);
@@ -52669,7 +52676,7 @@ function useNatsDialogSubscription({
52669
52676
  setIsConnected(false);
52670
52677
  setIsSubscribed(false);
52671
52678
  tearDownSubscriptions();
52672
- _optionalChain([onDisconnectRef, 'access', _1363 => _1363.current, 'optionalCall', _1364 => _1364()]);
52679
+ _optionalChain([onDisconnectRef, 'access', _1360 => _1360.current, 'optionalCall', _1361 => _1361()]);
52673
52680
  }
52674
52681
  }
52675
52682
  });
@@ -52702,13 +52709,13 @@ function useNatsDialogSubscription({
52702
52709
  setIsSubscribed(false);
52703
52710
  subscriptionRefs.current.forEach((sub) => {
52704
52711
  try {
52705
- _optionalChain([sub, 'optionalAccess', _1365 => _1365.unsubscribe, 'call', _1366 => _1366()]);
52712
+ _optionalChain([sub, 'optionalAccess', _1362 => _1362.unsubscribe, 'call', _1363 => _1363()]);
52706
52713
  } catch (e90) {
52707
52714
  }
52708
52715
  });
52709
52716
  subscriptionRefs.current.clear();
52710
52717
  lastSubscribedDialogIdRef.current = null;
52711
- _optionalChain([abortControllerRef, 'access', _1367 => _1367.current, 'optionalAccess', _1368 => _1368.abort, 'call', _1369 => _1369()]);
52718
+ _optionalChain([abortControllerRef, 'access', _1364 => _1364.current, 'optionalAccess', _1365 => _1365.abort, 'call', _1366 => _1366()]);
52712
52719
  abortControllerRef.current = null;
52713
52720
  }
52714
52721
  return;
@@ -52720,12 +52727,12 @@ function useNatsDialogSubscription({
52720
52727
  if (subscriptionRefs.current.size > 0) {
52721
52728
  subscriptionRefs.current.forEach((sub) => {
52722
52729
  try {
52723
- _optionalChain([sub, 'optionalAccess', _1370 => _1370.unsubscribe, 'call', _1371 => _1371()]);
52730
+ _optionalChain([sub, 'optionalAccess', _1367 => _1367.unsubscribe, 'call', _1368 => _1368()]);
52724
52731
  } catch (e91) {
52725
52732
  }
52726
52733
  });
52727
52734
  subscriptionRefs.current.clear();
52728
- _optionalChain([abortControllerRef, 'access', _1372 => _1372.current, 'optionalAccess', _1373 => _1373.abort, 'call', _1374 => _1374()]);
52735
+ _optionalChain([abortControllerRef, 'access', _1369 => _1369.current, 'optionalAccess', _1370 => _1370.abort, 'call', _1371 => _1371()]);
52729
52736
  }
52730
52737
  abortControllerRef.current = new AbortController();
52731
52738
  const abort = abortControllerRef.current;
@@ -52757,7 +52764,7 @@ function useNatsDialogSubscription({
52757
52764
  });
52758
52765
  lastSubscribedDialogIdRef.current = dialogId;
52759
52766
  setIsSubscribed(true);
52760
- _optionalChain([onSubscribedRef, 'access', _1375 => _1375.current, 'optionalCall', _1376 => _1376()]);
52767
+ _optionalChain([onSubscribedRef, 'access', _1372 => _1372.current, 'optionalCall', _1373 => _1373()]);
52761
52768
  };
52762
52769
  if (isConnectedRef.current) {
52763
52770
  createSubscriptions();
@@ -52767,7 +52774,7 @@ function useNatsDialogSubscription({
52767
52774
  abort.abort();
52768
52775
  subscriptionRefs.current.forEach((sub) => {
52769
52776
  try {
52770
- _optionalChain([sub, 'optionalAccess', _1377 => _1377.unsubscribe, 'call', _1378 => _1378()]);
52777
+ _optionalChain([sub, 'optionalAccess', _1374 => _1374.unsubscribe, 'call', _1375 => _1375()]);
52771
52778
  } catch (e93) {
52772
52779
  }
52773
52780
  });
@@ -52808,7 +52815,7 @@ function useNatsDialogSubscription({
52808
52815
  });
52809
52816
  lastSubscribedDialogIdRef.current = dialogId2;
52810
52817
  setIsSubscribed(true);
52811
- _optionalChain([onSubscribedRef, 'access', _1379 => _1379.current, 'optionalCall', _1380 => _1380()]);
52818
+ _optionalChain([onSubscribedRef, 'access', _1376 => _1376.current, 'optionalCall', _1377 => _1377()]);
52812
52819
  } else if (subscriptionRefs.current.size > 0) {
52813
52820
  setIsSubscribed(true);
52814
52821
  }
@@ -52816,10 +52823,10 @@ function useNatsDialogSubscription({
52816
52823
  return { isConnected, isSubscribed, reconnectionCount };
52817
52824
  }
52818
52825
  function buildNatsWsUrl(apiBaseUrl, options) {
52819
- const path = _optionalChain([options, 'optionalAccess', _1381 => _1381.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
52826
+ const path = _optionalChain([options, 'optionalAccess', _1378 => _1378.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
52820
52827
  const u = new URL(path, apiBaseUrl);
52821
52828
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
52822
- if (_optionalChain([options, 'optionalAccess', _1382 => _1382.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1383 => _1383.token])) {
52829
+ if (_optionalChain([options, 'optionalAccess', _1379 => _1379.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1380 => _1380.token])) {
52823
52830
  u.searchParams.set("authorization", options.token);
52824
52831
  }
52825
52832
  return u.toString();
@@ -52837,7 +52844,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
52837
52844
  const data = await res.json();
52838
52845
  return _nullishCoalesce(data.commands, () => ( []));
52839
52846
  } catch (err) {
52840
- if (_optionalChain([err, 'optionalAccess', _1384 => _1384.name]) === "AbortError") throw err;
52847
+ if (_optionalChain([err, 'optionalAccess', _1381 => _1381.name]) === "AbortError") throw err;
52841
52848
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
52842
52849
  return [];
52843
52850
  }
@@ -52858,7 +52865,7 @@ function useSlashCommands(prefix, commandsUrl) {
52858
52865
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
52859
52866
  if (!cancelled) setCommands(next);
52860
52867
  } catch (err) {
52861
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1385 => _1385.name]) !== "AbortError") {
52868
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1382 => _1382.name]) !== "AbortError") {
52862
52869
  console.warn("[use-slash-commands] fetch failed:", err);
52863
52870
  }
52864
52871
  } finally {
@@ -52877,7 +52884,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
52877
52884
  const query = _reactquery.useQuery.call(void 0, {
52878
52885
  queryKey: ["chat-slash-commands", commandsUrl],
52879
52886
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
52880
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1386 => _1386.enabled]), () => ( true)),
52887
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1383 => _1383.enabled]), () => ( true)),
52881
52888
  staleTime: Infinity,
52882
52889
  gcTime: Infinity,
52883
52890
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -52916,21 +52923,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
52916
52923
  }
52917
52924
  const data = await res.json();
52918
52925
  return {
52919
- name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1387 => _1387.name]), () => ( null)),
52920
- icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1388 => _1388.icon]), () => ( null)),
52921
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1389 => _1389.greeting]), () => ( null)),
52922
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1390 => _1390.enabledRagTableIds]), () => ( [])),
52923
- quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1391 => _1391.quickActions]), () => ( [])),
52924
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1392 => _1392.suggestedQueries]), () => ( []))
52926
+ name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1384 => _1384.name]), () => ( null)),
52927
+ icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1385 => _1385.icon]), () => ( null)),
52928
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1386 => _1386.greeting]), () => ( null)),
52929
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1387 => _1387.enabledRagTableIds]), () => ( [])),
52930
+ quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1388 => _1388.quickActions]), () => ( [])),
52931
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1389 => _1389.suggestedQueries]), () => ( []))
52925
52932
  };
52926
52933
  } catch (err) {
52927
- if (_optionalChain([err, 'optionalAccess', _1393 => _1393.name]) === "AbortError") throw err;
52934
+ if (_optionalChain([err, 'optionalAccess', _1390 => _1390.name]) === "AbortError") throw err;
52928
52935
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
52929
52936
  return EMPTY_STATE_FALLBACK;
52930
52937
  }
52931
52938
  }
52932
52939
  function useEmptyStateConfig(emptyStateUrl, options) {
52933
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1394 => _1394.enabled]), () => ( true))) && !!emptyStateUrl;
52940
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1391 => _1391.enabled]), () => ( true))) && !!emptyStateUrl;
52934
52941
  const query = _reactquery.useQuery.call(void 0, {
52935
52942
  queryKey: ["chat-empty-state", emptyStateUrl],
52936
52943
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -52959,7 +52966,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
52959
52966
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
52960
52967
  function uploadWithProgress(url, file, token, onProgress, signal) {
52961
52968
  return new Promise((resolve, reject) => {
52962
- if (_optionalChain([signal, 'optionalAccess', _1395 => _1395.aborted])) {
52969
+ if (_optionalChain([signal, 'optionalAccess', _1392 => _1392.aborted])) {
52963
52970
  reject(new Error("Upload cancelled"));
52964
52971
  return;
52965
52972
  }
@@ -52973,7 +52980,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
52973
52980
  xhr.removeEventListener("error", handleError);
52974
52981
  xhr.removeEventListener("abort", handleAbort);
52975
52982
  xhr.removeEventListener("timeout", handleTimeout);
52976
- _optionalChain([signal, 'optionalAccess', _1396 => _1396.removeEventListener, 'call', _1397 => _1397("abort", handleSignalAbort)]);
52983
+ _optionalChain([signal, 'optionalAccess', _1393 => _1393.removeEventListener, 'call', _1394 => _1394("abort", handleSignalAbort)]);
52977
52984
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
52978
52985
  };
52979
52986
  const handleProgress = (event) => {
@@ -53009,7 +53016,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
53009
53016
  const handleSignalAbort = () => {
53010
53017
  xhr.abort();
53011
53018
  };
53012
- _optionalChain([signal, 'optionalAccess', _1398 => _1398.addEventListener, 'call', _1399 => _1399("abort", handleSignalAbort, { once: true })]);
53019
+ _optionalChain([signal, 'optionalAccess', _1395 => _1395.addEventListener, 'call', _1396 => _1396("abort", handleSignalAbort, { once: true })]);
53013
53020
  xhr.upload.addEventListener("progress", handleProgress);
53014
53021
  xhr.addEventListener("load", handleLoad);
53015
53022
  xhr.addEventListener("error", handleError);
@@ -53053,12 +53060,12 @@ function useChatAttachments() {
53053
53060
  try {
53054
53061
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
53055
53062
  } catch (err) {
53056
- if (_optionalChain([ctrl, 'optionalAccess', _1400 => _1400.signal, 'access', _1401 => _1401.aborted])) return;
53063
+ if (_optionalChain([ctrl, 'optionalAccess', _1397 => _1397.signal, 'access', _1398 => _1398.aborted])) return;
53057
53064
  throw new Error(
53058
53065
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
53059
53066
  );
53060
53067
  }
53061
- if (_optionalChain([ctrl, 'optionalAccess', _1402 => _1402.signal, 'access', _1403 => _1403.aborted])) return;
53068
+ if (_optionalChain([ctrl, 'optionalAccess', _1399 => _1399.signal, 'access', _1400 => _1400.aborted])) return;
53062
53069
  if (!sniffed) {
53063
53070
  throw new Error("Unrecognized file format");
53064
53071
  }
@@ -53072,7 +53079,7 @@ function useChatAttachments() {
53072
53079
  const urlResp = await _chunkEYTXD62Bcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
53073
53080
  method: "POST",
53074
53081
  headers: { "Content-Type": "application/json" },
53075
- signal: _optionalChain([ctrl, 'optionalAccess', _1404 => _1404.signal]),
53082
+ signal: _optionalChain([ctrl, 'optionalAccess', _1401 => _1401.signal]),
53076
53083
  body: JSON.stringify({
53077
53084
  fileName: att.file.name,
53078
53085
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -53098,9 +53105,9 @@ function useChatAttachments() {
53098
53105
  (pct) => {
53099
53106
  updateOne(att.id, { progress: pct });
53100
53107
  },
53101
- _optionalChain([ctrl, 'optionalAccess', _1405 => _1405.signal])
53108
+ _optionalChain([ctrl, 'optionalAccess', _1402 => _1402.signal])
53102
53109
  );
53103
- if (_optionalChain([ctrl, 'optionalAccess', _1406 => _1406.signal, 'access', _1407 => _1407.aborted])) return;
53110
+ if (_optionalChain([ctrl, 'optionalAccess', _1403 => _1403.signal, 'access', _1404 => _1404.aborted])) return;
53104
53111
  updateOne(att.id, {
53105
53112
  status: "ready",
53106
53113
  progress: 100,
@@ -53108,7 +53115,7 @@ function useChatAttachments() {
53108
53115
  viewToken: mintData.viewToken
53109
53116
  });
53110
53117
  } catch (err) {
53111
- if (_optionalChain([ctrl, 'optionalAccess', _1408 => _1408.signal, 'access', _1409 => _1409.aborted])) return;
53118
+ if (_optionalChain([ctrl, 'optionalAccess', _1405 => _1405.signal, 'access', _1406 => _1406.aborted])) return;
53112
53119
  const message2 = err instanceof Error ? err.message : String(err);
53113
53120
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
53114
53121
  } finally {
@@ -53295,7 +53302,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
53295
53302
  yield chunk;
53296
53303
  }
53297
53304
  } catch (err) {
53298
- if (_optionalChain([err, 'optionalAccess', _1410 => _1410.name]) === "AbortError" || ctrl.signal.aborted) {
53305
+ if (_optionalChain([err, 'optionalAccess', _1407 => _1407.name]) === "AbortError" || ctrl.signal.aborted) {
53299
53306
  return;
53300
53307
  }
53301
53308
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -53346,7 +53353,7 @@ function useChat({
53346
53353
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
53347
53354
  onMessagesChangeRef.current = onMessagesChange;
53348
53355
  _react.useEffect.call(void 0, () => {
53349
- _optionalChain([onMessagesChangeRef, 'access', _1411 => _1411.current, 'optionalCall', _1412 => _1412(messages)]);
53356
+ _optionalChain([onMessagesChangeRef, 'access', _1408 => _1408.current, 'optionalCall', _1409 => _1409(messages)]);
53350
53357
  }, [messages]);
53351
53358
  const {
53352
53359
  streamMessage,
@@ -53383,7 +53390,7 @@ function useChat({
53383
53390
  name: "You",
53384
53391
  content: text,
53385
53392
  timestamp: /* @__PURE__ */ new Date(),
53386
- ..._optionalChain([options, 'optionalAccess', _1413 => _1413.hidden]) ? { hidden: true } : {}
53393
+ ..._optionalChain([options, 'optionalAccess', _1410 => _1410.hidden]) ? { hidden: true } : {}
53387
53394
  };
53388
53395
  addMessage(userMessage);
53389
53396
  setIsTyping(true);
@@ -53445,7 +53452,7 @@ function useChat({
53445
53452
  currentTextSegment = "";
53446
53453
  }
53447
53454
  const seg = segment;
53448
- const proposalId = _optionalChain([seg, 'access', _1414 => _1414.data, 'optionalAccess', _1415 => _1415.requestId]);
53455
+ const proposalId = _optionalChain([seg, 'access', _1411 => _1411.data, 'optionalAccess', _1412 => _1412.requestId]);
53449
53456
  const updateApprovalMessage = (transform) => {
53450
53457
  setMessages((prev) => {
53451
53458
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -53454,7 +53461,7 @@ function useChat({
53454
53461
  if (!Array.isArray(m.content)) continue;
53455
53462
  const segments = m.content;
53456
53463
  const hasMatch = segments.some(
53457
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1416 => _1416.data, 'optionalAccess', _1417 => _1417.requestId]) === proposalId
53464
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1413 => _1413.data, 'optionalAccess', _1414 => _1414.requestId]) === proposalId
53458
53465
  );
53459
53466
  if (!hasMatch) continue;
53460
53467
  const next = [...prev];
@@ -53496,11 +53503,11 @@ function useChat({
53496
53503
  if (!Array.isArray(m.content)) continue;
53497
53504
  const segments = m.content;
53498
53505
  const hasMatch = segments.some(
53499
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1418 => _1418.data, 'optionalAccess', _1419 => _1419.requestId]) === decision.proposalId
53506
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1415 => _1415.data, 'optionalAccess', _1416 => _1416.requestId]) === decision.proposalId
53500
53507
  );
53501
53508
  if (!hasMatch) continue;
53502
53509
  const flipped = segments.map(
53503
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1420 => _1420.data, 'optionalAccess', _1421 => _1421.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
53510
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1417 => _1417.data, 'optionalAccess', _1418 => _1418.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
53504
53511
  );
53505
53512
  const next = [...prev];
53506
53513
  next[i] = { ...m, content: flipped };
@@ -53674,9 +53681,9 @@ function mapLeadingFrame(meta, out) {
53674
53681
  willAutoContinue: meta.willAutoContinue === true,
53675
53682
  ...toolName ? { toolName } : {},
53676
53683
  ...result ? { result } : {},
53677
- ..._optionalChain([card, 'optionalAccess', _1422 => _1422.marker]) ? { marker: card.marker } : {},
53678
- ..._optionalChain([card, 'optionalAccess', _1423 => _1423.ref]) ? { cardRef: card.ref } : {},
53679
- ..._optionalChain([card, 'optionalAccess', _1424 => _1424.type]) ? { cardType: card.type } : {},
53684
+ ..._optionalChain([card, 'optionalAccess', _1419 => _1419.marker]) ? { marker: card.marker } : {},
53685
+ ..._optionalChain([card, 'optionalAccess', _1420 => _1420.ref]) ? { cardRef: card.ref } : {},
53686
+ ..._optionalChain([card, 'optionalAccess', _1421 => _1421.type]) ? { cardType: card.type } : {},
53680
53687
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
53681
53688
  requestId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
53682
53689
  });
@@ -53834,7 +53841,7 @@ var STORAGE_KEY2 = "conversation";
53834
53841
  var namespaceFor = (source) => {
53835
53842
  const base = `mingo-chat-${source}`;
53836
53843
  const auth = _chunkEYTXD62Bcjs.getEmbedProxyAuth.call(void 0, );
53837
- return _optionalChain([auth, 'optionalAccess', _1425 => _1425.email]) ? `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}` : base;
53844
+ return _optionalChain([auth, 'optionalAccess', _1422 => _1422.email]) ? `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}` : base;
53838
53845
  };
53839
53846
  function createChatConversationStorage(source) {
53840
53847
  return _chunkEYTXD62Bcjs.createLocalStorageAdapter.call(void 0, {
@@ -53897,8 +53904,8 @@ function useChatHistoryHydration({
53897
53904
  );
53898
53905
  if (!res.ok) return;
53899
53906
  const payload = await res.json().catch(() => null);
53900
- const body = _nullishCoalesce(_optionalChain([payload, 'optionalAccess', _1426 => _1426.data]), () => ( payload));
53901
- const rows = Array.isArray(_optionalChain([body, 'optionalAccess', _1427 => _1427.messages])) ? body.messages : [];
53907
+ const body = _nullishCoalesce(_optionalChain([payload, 'optionalAccess', _1423 => _1423.data]), () => ( payload));
53908
+ const rows = Array.isArray(_optionalChain([body, 'optionalAccess', _1424 => _1424.messages])) ? body.messages : [];
53902
53909
  if (cancelled || rows.length === 0) return;
53903
53910
  const hydrated = [];
53904
53911
  let userTurns = 0;
@@ -54079,9 +54086,9 @@ var MessageSegmentAccumulator = class {
54079
54086
  type: "tool_execution",
54080
54087
  data: {
54081
54088
  ...toolData,
54082
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1428 => _1428.data, 'access', _1429 => _1429.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1430 => _1430.toolTitle]))),
54083
- toolExplanation: _nullishCoalesce(_nullishCoalesce(toolData.toolExplanation, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1431 => _1431.data, 'access', _1432 => _1432.toolExplanation]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1433 => _1433.toolExplanation]))),
54084
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1434 => _1434.parameters])
54089
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1425 => _1425.data, 'access', _1426 => _1426.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1427 => _1427.toolTitle]))),
54090
+ toolExplanation: _nullishCoalesce(_nullishCoalesce(toolData.toolExplanation, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1428 => _1428.data, 'access', _1429 => _1429.toolExplanation]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1430 => _1430.toolExplanation]))),
54091
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1431 => _1431.parameters])
54085
54092
  }
54086
54093
  };
54087
54094
  if (existingIndex !== -1) {
@@ -54105,12 +54112,12 @@ var MessageSegmentAccumulator = class {
54105
54112
  if (seg.type !== "approval_batch") return seg;
54106
54113
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
54107
54114
  if (!hasCall) return seg;
54108
- const prev = _optionalChain([seg, 'access', _1435 => _1435.data, 'access', _1436 => _1436.executions, 'optionalAccess', _1437 => _1437[execId]]);
54109
- if (toolData.type === "EXECUTING_TOOL" && _optionalChain([prev, 'optionalAccess', _1438 => _1438.status]) === "done") {
54115
+ const prev = _optionalChain([seg, 'access', _1432 => _1432.data, 'access', _1433 => _1433.executions, 'optionalAccess', _1434 => _1434[execId]]);
54116
+ if (toolData.type === "EXECUTING_TOOL" && _optionalChain([prev, 'optionalAccess', _1435 => _1435.status]) === "done") {
54110
54117
  matched = true;
54111
54118
  return seg;
54112
54119
  }
54113
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1439 => _1439.result]), success: _optionalChain([prev, 'optionalAccess', _1440 => _1440.success]) };
54120
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1436 => _1436.result]), success: _optionalChain([prev, 'optionalAccess', _1437 => _1437.success]) };
54114
54121
  matched = true;
54115
54122
  return {
54116
54123
  ...seg,
@@ -54232,10 +54239,10 @@ var MessageSegmentAccumulator = class {
54232
54239
  const segment = {
54233
54240
  type: "approval_request",
54234
54241
  data: {
54235
- command: _optionalChain([pendingApproval, 'optionalAccess', _1441 => _1441.command]) || "",
54236
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1442 => _1442.explanation]),
54242
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1438 => _1438.command]) || "",
54243
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1439 => _1439.explanation]),
54237
54244
  requestId,
54238
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1443 => _1443.approvalType]) || approvalType
54245
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1440 => _1440.approvalType]) || approvalType
54239
54246
  },
54240
54247
  status,
54241
54248
  onApprove: this.callbacks.onApprove,
@@ -54446,11 +54453,11 @@ function appendToTrailingAssistant(prev, segments) {
54446
54453
  const merged = [..._nullishCoalesce(last.segments, () => ( []))];
54447
54454
  for (const seg of segments) {
54448
54455
  const tail = merged[merged.length - 1];
54449
- if (seg.type === "text" && _optionalChain([tail, 'optionalAccess', _1444 => _1444.type]) === "text") {
54456
+ if (seg.type === "text" && _optionalChain([tail, 'optionalAccess', _1441 => _1441.type]) === "text") {
54450
54457
  merged[merged.length - 1] = { type: "text", text: tail.text + seg.text };
54451
- } else if (seg.type === "thinking" && _optionalChain([tail, 'optionalAccess', _1445 => _1445.type]) === "thinking") {
54458
+ } else if (seg.type === "thinking" && _optionalChain([tail, 'optionalAccess', _1442 => _1442.type]) === "thinking") {
54452
54459
  merged[merged.length - 1] = { type: "thinking", text: tail.text + seg.text };
54453
- } else if (seg.type === "guide" && _optionalChain([tail, 'optionalAccess', _1446 => _1446.type]) === "guide") {
54460
+ } else if (seg.type === "guide" && _optionalChain([tail, 'optionalAccess', _1443 => _1443.type]) === "guide") {
54454
54461
  merged[merged.length - 1] = { type: "guide", text: tail.text + seg.text };
54455
54462
  } else if (seg.type === "approval_batch") {
54456
54463
  const idx = merged.findIndex(
@@ -54505,11 +54512,11 @@ function mergeToolExecutionIfPresent(prev, segment) {
54505
54512
  for (let j = message2.segments.length - 1; j >= 0; j--) {
54506
54513
  const seg = message2.segments[j];
54507
54514
  if (execId && seg.type === "approval_batch" && seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId)) {
54508
- const prevExec = _optionalChain([seg, 'access', _1447 => _1447.data, 'access', _1448 => _1448.executions, 'optionalAccess', _1449 => _1449[execId]]);
54509
- if (toolData.type === "EXECUTING_TOOL" && _optionalChain([prevExec, 'optionalAccess', _1450 => _1450.status]) === "done") {
54515
+ const prevExec = _optionalChain([seg, 'access', _1444 => _1444.data, 'access', _1445 => _1445.executions, 'optionalAccess', _1446 => _1446[execId]]);
54516
+ if (toolData.type === "EXECUTING_TOOL" && _optionalChain([prevExec, 'optionalAccess', _1447 => _1447.status]) === "done") {
54510
54517
  return prev;
54511
54518
  }
54512
- const nextExec = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prevExec, 'optionalAccess', _1451 => _1451.result]), success: _optionalChain([prevExec, 'optionalAccess', _1452 => _1452.success]) };
54519
+ const nextExec = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prevExec, 'optionalAccess', _1448 => _1448.result]), success: _optionalChain([prevExec, 'optionalAccess', _1449 => _1449.success]) };
54513
54520
  if (sameExecutionState(prevExec, nextExec)) return prev;
54514
54521
  const nextSegments = [...message2.segments];
54515
54522
  nextSegments[j] = {
@@ -54652,7 +54659,7 @@ function createChatStreamReducer(options = {}) {
54652
54659
  let stateCache = null;
54653
54660
  function invalidate() {
54654
54661
  stateCache = null;
54655
- _optionalChain([onChange, 'optionalCall', _1453 => _1453()]);
54662
+ _optionalChain([onChange, 'optionalCall', _1450 => _1450()]);
54656
54663
  }
54657
54664
  function getState() {
54658
54665
  if (!stateCache) {
@@ -54668,7 +54675,7 @@ function createChatStreamReducer(options = {}) {
54668
54675
  return stateCache;
54669
54676
  }
54670
54677
  function emit(name, ...args) {
54671
- _optionalChain([onEffect, 'optionalCall', _1454 => _1454({ name, args })]);
54678
+ _optionalChain([onEffect, 'optionalCall', _1451 => _1451({ name, args })]);
54672
54679
  }
54673
54680
  function setMessagesInternal(next) {
54674
54681
  if (next !== messages) {
@@ -54699,12 +54706,12 @@ function createChatStreamReducer(options = {}) {
54699
54706
  return [...next.slice(0, -1), { ...last, streamSeq: seq }];
54700
54707
  }
54701
54708
  function applySegmentsToState(segments, meta) {
54702
- const seq = _optionalChain([meta, 'optionalAccess', _1455 => _1455.streamSeq]);
54703
- if (_optionalChain([meta, 'optionalAccess', _1456 => _1456.append]) && meta.isCompacting) {
54709
+ const seq = _optionalChain([meta, 'optionalAccess', _1452 => _1452.streamSeq]);
54710
+ if (_optionalChain([meta, 'optionalAccess', _1453 => _1453.append]) && meta.isCompacting) {
54704
54711
  setMessagesInternal(stampTrailingAssistantSeq(upsertTrailingCompaction(messages, segments), seq));
54705
54712
  return;
54706
54713
  }
54707
- if (_optionalChain([meta, 'optionalAccess', _1457 => _1457.append])) {
54714
+ if (_optionalChain([meta, 'optionalAccess', _1454 => _1454.append])) {
54708
54715
  setMessagesInternal(stampTrailingAssistantSeq(appendToTrailingAssistant(messages, segments), seq));
54709
54716
  return;
54710
54717
  }
@@ -54716,7 +54723,7 @@ function createChatStreamReducer(options = {}) {
54716
54723
  adoptTrailingAssistant = false;
54717
54724
  const last = messages[messages.length - 1];
54718
54725
  if (!last || last.role !== "assistant" || adoptTail) return;
54719
- const hasContent2 = (_nullishCoalesce(_optionalChain([last, 'access', _1458 => _1458.segments, 'optionalAccess', _1459 => _1459.length]), () => ( 0))) > 0 || last.content !== "";
54726
+ const hasContent2 = (_nullishCoalesce(_optionalChain([last, 'access', _1455 => _1455.segments, 'optionalAccess', _1456 => _1456.length]), () => ( 0))) > 0 || last.content !== "";
54720
54727
  if (!hasContent2) return;
54721
54728
  setMessagesInternal([
54722
54729
  ...messages,
@@ -54914,13 +54921,13 @@ function createChatStreamReducer(options = {}) {
54914
54921
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
54915
54922
  pendingEscalated.set(requestId, {
54916
54923
  command: summary,
54917
- explanation: _optionalChain([required, 'optionalAccess', _1460 => _1460.toolExplanation]),
54924
+ explanation: _optionalChain([required, 'optionalAccess', _1457 => _1457.toolExplanation]),
54918
54925
  approvalType,
54919
54926
  toolCalls
54920
54927
  });
54921
54928
  emit("onEscalatedApproval", requestId, {
54922
54929
  command: summary,
54923
- explanation: _optionalChain([required, 'optionalAccess', _1461 => _1461.toolExplanation]),
54930
+ explanation: _optionalChain([required, 'optionalAccess', _1458 => _1458.toolExplanation]),
54924
54931
  approvalType
54925
54932
  });
54926
54933
  break;
@@ -55047,7 +55054,7 @@ function createChatStreamReducer(options = {}) {
55047
55054
  let message2;
55048
55055
  if (event.details) {
55049
55056
  try {
55050
- message2 = _optionalChain([JSON, 'access', _1462 => _1462.parse, 'call', _1463 => _1463(event.details), 'optionalAccess', _1464 => _1464.error, 'optionalAccess', _1465 => _1465.message]);
55057
+ message2 = _optionalChain([JSON, 'access', _1459 => _1459.parse, 'call', _1460 => _1460(event.details), 'optionalAccess', _1461 => _1461.error, 'optionalAccess', _1462 => _1462.message]);
55051
55058
  } catch (e99) {
55052
55059
  message2 = event.details;
55053
55060
  }
@@ -55150,7 +55157,7 @@ function createChatStreamReducer(options = {}) {
55150
55157
  }
55151
55158
  function applySseApprovalResolved(event, sendIdx) {
55152
55159
  const cardRef = event.cardRef;
55153
- if (_optionalChain([cardRef, 'optionalAccess', _1466 => _1466.id]) && event.cardType) {
55160
+ if (_optionalChain([cardRef, 'optionalAccess', _1463 => _1463.id]) && event.cardType) {
55154
55161
  const existing = _nullishCoalesce(refsMap.get(sendIdx), () => ( {}));
55155
55162
  const key = buildChatRefKey(event.cardType, cardRef.id);
55156
55163
  refsMap.set(sendIdx, { ...existing, [key]: cardRef });
@@ -55388,8 +55395,8 @@ function createChatStreamReducer(options = {}) {
55388
55395
  }
55389
55396
  }
55390
55397
  }
55391
- hasEverStreamed = hasEverStreamed || (_nullishCoalesce(_optionalChain([extras, 'optionalAccess', _1467 => _1467.resumed]), () => ( messages.length > 0)));
55392
- if (_optionalChain([extras, 'optionalAccess', _1468 => _1468.agentBusy])) agentBusyState();
55398
+ hasEverStreamed = hasEverStreamed || (_nullishCoalesce(_optionalChain([extras, 'optionalAccess', _1464 => _1464.resumed]), () => ( messages.length > 0)));
55399
+ if (_optionalChain([extras, 'optionalAccess', _1465 => _1465.agentBusy])) agentBusyState();
55393
55400
  invalidate();
55394
55401
  }
55395
55402
  return {
@@ -55474,7 +55481,7 @@ function createChatStreamReducer(options = {}) {
55474
55481
  },
55475
55482
  endSseTurn() {
55476
55483
  const last = messages[messages.length - 1];
55477
- if (last && last.role === "assistant" && (_nullishCoalesce(_optionalChain([last, 'access', _1469 => _1469.segments, 'optionalAccess', _1470 => _1470.length]), () => ( 0))) === 0 && last.content === "") {
55484
+ if (last && last.role === "assistant" && (_nullishCoalesce(_optionalChain([last, 'access', _1466 => _1466.segments, 'optionalAccess', _1467 => _1467.length]), () => ( 0))) === 0 && last.content === "") {
55478
55485
  messages = messages.slice(0, -1);
55479
55486
  }
55480
55487
  sseCurrentText = "";
@@ -55629,10 +55636,10 @@ function createChatDialogStore(options = {}) {
55629
55636
  if (onEvict) {
55630
55637
  const sep = key.indexOf(KEY_SEP);
55631
55638
  onEvict(key.slice(0, sep), key.slice(sep + 1), {
55632
- messages: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _1471 => _1471.state, 'access', _1472 => _1472.messages]), () => ( EMPTY_STATE.messages)),
55633
- approvalStatuses: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _1473 => _1473.state, 'access', _1474 => _1474.approvalStatuses]), () => ( EMPTY_STATE.approvalStatuses)),
55634
- lastAppliedSeq: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _1475 => _1475.getLastAppliedSeq, 'call', _1476 => _1476()]), () => ( Number.NEGATIVE_INFINITY)),
55635
- pendingEchoes: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _1477 => _1477.getPendingEchoes, 'call', _1478 => _1478()]), () => ( EMPTY_PENDING_ECHOES))
55639
+ messages: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _1468 => _1468.state, 'access', _1469 => _1469.messages]), () => ( EMPTY_STATE.messages)),
55640
+ approvalStatuses: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _1470 => _1470.state, 'access', _1471 => _1471.approvalStatuses]), () => ( EMPTY_STATE.approvalStatuses)),
55641
+ lastAppliedSeq: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _1472 => _1472.getLastAppliedSeq, 'call', _1473 => _1473()]), () => ( Number.NEGATIVE_INFINITY)),
55642
+ pendingEchoes: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _1474 => _1474.getPendingEchoes, 'call', _1475 => _1475()]), () => ( EMPTY_PENDING_ECHOES))
55636
55643
  });
55637
55644
  }
55638
55645
  }
@@ -55642,12 +55649,12 @@ function createChatDialogStore(options = {}) {
55642
55649
  const key = keyOf(dialogId, side);
55643
55650
  let reducer2 = reducers.get(key);
55644
55651
  if (!reducer2) {
55645
- const base = _nullishCoalesce(_optionalChain([(_nullishCoalesce(createOptions, () => ( defaultCreateOptions))), 'optionalCall', _1479 => _1479(dialogId, side)]), () => ( {}));
55652
+ const base = _nullishCoalesce(_optionalChain([(_nullishCoalesce(createOptions, () => ( defaultCreateOptions))), 'optionalCall', _1476 => _1476(dialogId, side)]), () => ( {}));
55646
55653
  const userOnChange = base.onChange;
55647
55654
  reducer2 = createChatStreamReducer({
55648
55655
  ...base,
55649
55656
  onChange: () => {
55650
- _optionalChain([userOnChange, 'optionalCall', _1480 => _1480()]);
55657
+ _optionalChain([userOnChange, 'optionalCall', _1477 => _1477()]);
55651
55658
  notify();
55652
55659
  }
55653
55660
  });
@@ -55692,7 +55699,7 @@ function createChatDialogStore(options = {}) {
55692
55699
  };
55693
55700
  }
55694
55701
  function getSnapshot(dialogId, side = DEFAULT_DIALOG_SIDE) {
55695
- return _nullishCoalesce(_optionalChain([reducers, 'access', _1481 => _1481.get, 'call', _1482 => _1482(keyOf(dialogId, side)), 'optionalAccess', _1483 => _1483.state]), () => ( EMPTY_STATE));
55702
+ return _nullishCoalesce(_optionalChain([reducers, 'access', _1478 => _1478.get, 'call', _1479 => _1479(keyOf(dialogId, side)), 'optionalAccess', _1480 => _1480.state]), () => ( EMPTY_STATE));
55696
55703
  }
55697
55704
  function getServerSnapshot() {
55698
55705
  return EMPTY_STATE;
@@ -55784,7 +55791,7 @@ function createDeltaBatcher({
55784
55791
  pending = [];
55785
55792
  const key = pendingKey;
55786
55793
  for (const delta of batch) applyOne(delta, key);
55787
- _optionalChain([onFlushed, 'optionalCall', _1484 => _1484(batch.length)]);
55794
+ _optionalChain([onFlushed, 'optionalCall', _1481 => _1481(batch.length)]);
55788
55795
  }
55789
55796
  function schedule() {
55790
55797
  if (raf !== null || timer !== null) return;
@@ -55808,7 +55815,7 @@ function createDeltaBatcher({
55808
55815
  }
55809
55816
  if (!isDeltaEvent(event)) return false;
55810
55817
  const tail = pending[pending.length - 1];
55811
- const seqAdvances = _optionalChain([tail, 'optionalAccess', _1485 => _1485.seq]) == null ? event.seq == null : event.seq != null && event.seq > tail.seq;
55818
+ const seqAdvances = _optionalChain([tail, 'optionalAccess', _1482 => _1482.seq]) == null ? event.seq == null : event.seq != null && event.seq > tail.seq;
55812
55819
  if (tail && seqAdvances && tail.type === event.type && (tail.type !== "text-delta" || tail.leading === event.leading)) {
55813
55820
  pending[pending.length - 1] = {
55814
55821
  ...tail,
@@ -55841,7 +55848,7 @@ function useChatStreamReducer({
55841
55848
  }) {
55842
55849
  const optionsRef = _react.useRef.call(void 0, createReducerOptions);
55843
55850
  optionsRef.current = createReducerOptions;
55844
- const reducer2 = store.getReducer(dialogId, side, () => _nullishCoalesce(_optionalChain([optionsRef, 'access', _1486 => _1486.current, 'optionalCall', _1487 => _1487()]), () => ( {})));
55851
+ const reducer2 = store.getReducer(dialogId, side, () => _nullishCoalesce(_optionalChain([optionsRef, 'access', _1483 => _1483.current, 'optionalCall', _1484 => _1484()]), () => ( {})));
55845
55852
  const getSnapshot = _react.useCallback.call(void 0, () => store.getSnapshot(dialogId, side), [store, dialogId, side]);
55846
55853
  const getServerSnapshot = _react.useCallback.call(void 0, () => store.getServerSnapshot(), [store]);
55847
55854
  const subscribe = _react.useCallback.call(void 0, (listener) => store.subscribe(listener), [store]);
@@ -55902,7 +55909,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
55902
55909
  const { active = true } = runtimeOptions;
55903
55910
  const runtime = _chunk7OPWSWEJcjs.useRequiredChatRuntime.call(void 0, );
55904
55911
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
55905
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1488 => _1488.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
55912
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1485 => _1485.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
55906
55913
  const sendMessageRef = _react.useRef.call(void 0, async () => {
55907
55914
  });
55908
55915
  const cardApprove = _react.useCallback.call(void 0, (reqId) => {
@@ -55940,7 +55947,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
55940
55947
  if (!restoredConversationRef.current) {
55941
55948
  restoredConversationRef.current = true;
55942
55949
  pruneStaleChatConversationStorage(source);
55943
- conversationIdRef.current = _nullishCoalesce(_optionalChain([conversationStorage, 'access', _1489 => _1489.load, 'call', _1490 => _1490(), 'optionalAccess', _1491 => _1491.conversationId]), () => ( null));
55950
+ conversationIdRef.current = _nullishCoalesce(_optionalChain([conversationStorage, 'access', _1486 => _1486.load, 'call', _1487 => _1487(), 'optionalAccess', _1488 => _1488.conversationId]), () => ( null));
55944
55951
  }
55945
55952
  const commandsUrl = runtime.endpoints.commandsUrl;
55946
55953
  const { commands: slashCommands } = useSlashCommandRegistry(commandsUrl, {
@@ -56043,7 +56050,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
56043
56050
  if (!response.ok) {
56044
56051
  throw new Error(`Chat request failed: ${response.status}`);
56045
56052
  }
56046
- const reader = _optionalChain([response, 'access', _1492 => _1492.body, 'optionalAccess', _1493 => _1493.getReader, 'call', _1494 => _1494()]);
56053
+ const reader = _optionalChain([response, 'access', _1489 => _1489.body, 'optionalAccess', _1490 => _1490.getReader, 'call', _1491 => _1491()]);
56047
56054
  if (!reader) throw new Error("No response body");
56048
56055
  const frameDecoder = createSseFrameDecoder();
56049
56056
  let finished = false;
@@ -56065,7 +56072,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
56065
56072
  }
56066
56073
  }
56067
56074
  } catch (err) {
56068
- if (_optionalChain([err, 'optionalAccess', _1495 => _1495.name]) !== "AbortError" && !ctrl.signal.aborted) {
56075
+ if (_optionalChain([err, 'optionalAccess', _1492 => _1492.name]) !== "AbortError" && !ctrl.signal.aborted) {
56069
56076
  flushDeltas();
56070
56077
  mutate(
56071
56078
  (r) => r.failSseTurn(
@@ -56085,7 +56092,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
56085
56092
  );
56086
56093
  sendMessageRef.current = sendMessage;
56087
56094
  const stopMessage = _react.useCallback.call(void 0, () => {
56088
- _optionalChain([abortControllerRef, 'access', _1496 => _1496.current, 'optionalAccess', _1497 => _1497.abort, 'call', _1498 => _1498()]);
56095
+ _optionalChain([abortControllerRef, 'access', _1493 => _1493.current, 'optionalAccess', _1494 => _1494.abort, 'call', _1495 => _1495()]);
56089
56096
  flushDeltas();
56090
56097
  mutate((r) => r.setPhase("idle"));
56091
56098
  }, [mutate, flushDeltas]);
@@ -56102,7 +56109,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
56102
56109
  let sendIdx = -1;
56103
56110
  return state.messages.map((m) => {
56104
56111
  const segments = m.segments;
56105
- const content = typeof m.content === "string" && !segments ? m.content : _nullishCoalesce(_optionalChain([segments, 'optionalAccess', _1499 => _1499.filter, 'call', _1500 => _1500((s) => s.type === "text"), 'access', _1501 => _1501.map, 'call', _1502 => _1502((s) => s.text), 'access', _1503 => _1503.join, 'call', _1504 => _1504("")]), () => ( ""));
56112
+ const content = typeof m.content === "string" && !segments ? m.content : _nullishCoalesce(_optionalChain([segments, 'optionalAccess', _1496 => _1496.filter, 'call', _1497 => _1497((s) => s.type === "text"), 'access', _1498 => _1498.map, 'call', _1499 => _1499((s) => s.text), 'access', _1500 => _1500.join, 'call', _1501 => _1501("")]), () => ( ""));
56106
56113
  let sources;
56107
56114
  let chatRefs;
56108
56115
  let scrollAnchor;
@@ -56113,7 +56120,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
56113
56120
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
56114
56121
  sources = sourcesMap.get(lookupIdx);
56115
56122
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMap.get(lookupIdx)));
56116
- scrollAnchor = _nullishCoalesce(_optionalChain([meta, 'access', _1505 => _1505.get, 'call', _1506 => _1506(lookupIdx), 'optionalAccess', _1507 => _1507.scrollAnchor]), () => ( void 0));
56123
+ scrollAnchor = _nullishCoalesce(_optionalChain([meta, 'access', _1502 => _1502.get, 'call', _1503 => _1503(lookupIdx), 'optionalAccess', _1504 => _1504.scrollAnchor]), () => ( void 0));
56117
56124
  }
56118
56125
  return {
56119
56126
  id: m.id,
@@ -56143,7 +56150,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
56143
56150
  );
56144
56151
  return;
56145
56152
  }
56146
- const refSlug = typeof _optionalChain([reference, 'access', _1508 => _1508.metadata, 'optionalAccess', _1509 => _1509.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
56153
+ const refSlug = typeof _optionalChain([reference, 'access', _1505 => _1505.metadata, 'optionalAccess', _1506 => _1506.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
56147
56154
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
56148
56155
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
56149
56156
  const text = `/${cmdId} display "${escaped}"`;
@@ -56194,18 +56201,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
56194
56201
  /** True while the mount-time rebuild from the server transcript runs. */
56195
56202
  isHydratingHistory,
56196
56203
  /** Provider key for the lib's `<ModelDisplay>` icon. */
56197
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1510 => _1510.provider]), () => ( null)),
56198
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1511 => _1511.modelLabel]), () => ( null)),
56199
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1512 => _1512.contextWindowMaxTokens]), () => ( null)),
56204
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1507 => _1507.provider]), () => ( null)),
56205
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1508 => _1508.modelLabel]), () => ( null)),
56206
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1509 => _1509.contextWindowMaxTokens]), () => ( null)),
56200
56207
  /** Input tokens (known after server's message_start frame; null until). */
56201
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1513 => _1513.inputTokens]), () => ( null)),
56208
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1510 => _1510.inputTokens]), () => ( null)),
56202
56209
  /** Output tokens (known only after server's trailing usage frame). */
56203
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1514 => _1514.outputTokens]), () => ( null)),
56210
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1511 => _1511.outputTokens]), () => ( null)),
56204
56211
  /** Cache hit % (read / total-input × 100). null during streaming. */
56205
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1515 => _1515.cacheHitRatePct]), () => ( null)),
56212
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1512 => _1512.cacheHitRatePct]), () => ( null)),
56206
56213
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
56207
56214
  * token counts). null until the trailing usage frame lands. */
56208
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1516 => _1516.breakdown]), () => ( null)),
56215
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1513 => _1513.breakdown]), () => ( null)),
56209
56216
  // ─── Dialog management — stubs for v1 ────────────────────────────────
56210
56217
  // Guide mode keeps ONE server-side conversation per stored id
56211
56218
  // (`chat_conversations`, hydrated on mount). Surfacing multiple threads
@@ -56387,7 +56394,7 @@ function decodeNatsChunk(chunk) {
56387
56394
  userId: typeof data.userId === "string" ? data.userId : void 0,
56388
56395
  // Wire shape carries no label; fall back to the id (parity with
56389
56396
  // the history path in `process-historical-messages.ts`).
56390
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1517 => _1517.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1518 => _1518.id]) === "string").map((it) => ({
56397
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1514 => _1514.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1515 => _1515.id]) === "string").map((it) => ({
56391
56398
  type: it.type,
56392
56399
  id: it.id,
56393
56400
  label: it.id
@@ -56439,15 +56446,15 @@ function decodeNatsChunk(chunk) {
56439
56446
 
56440
56447
  // src/components/chat/utils/process-historical-messages.ts
56441
56448
  function getOwnerDisplayName(owner) {
56442
- if (_optionalChain([owner, 'optionalAccess', _1519 => _1519.type]) === OWNER_TYPE.ADMIN && owner.user) {
56449
+ if (_optionalChain([owner, 'optionalAccess', _1516 => _1516.type]) === OWNER_TYPE.ADMIN && owner.user) {
56443
56450
  const { firstName, lastName } = owner.user;
56444
56451
  const name = [firstName, lastName].filter(Boolean).join(" ");
56445
56452
  if (name) return name;
56446
56453
  }
56447
- return _optionalChain([owner, 'optionalAccess', _1520 => _1520.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
56454
+ return _optionalChain([owner, 'optionalAccess', _1517 => _1517.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
56448
56455
  }
56449
56456
  function getOwnerAvatar(owner) {
56450
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1521 => _1521.user, 'optionalAccess', _1522 => _1522.image, 'optionalAccess', _1523 => _1523.imageUrl]), () => ( void 0));
56457
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1518 => _1518.user, 'optionalAccess', _1519 => _1519.image, 'optionalAccess', _1520 => _1520.imageUrl]), () => ( void 0));
56451
56458
  }
56452
56459
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
56453
56460
  messageDataArray.forEach((data) => {
@@ -56621,7 +56628,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
56621
56628
  }
56622
56629
  }
56623
56630
  } else {
56624
- _optionalChain([escalatedApprovals, 'optionalAccess', _1524 => _1524.set, 'call', _1525 => _1525(event.requestId, {
56631
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1521 => _1521.set, 'call', _1522 => _1522(event.requestId, {
56625
56632
  command: event.command || "",
56626
56633
  explanation: event.explanation,
56627
56634
  approvalType,
@@ -56636,8 +56643,8 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
56636
56643
  const existingStatus = approvalStatuses[requestId];
56637
56644
  const status = existingStatus || event.status;
56638
56645
  const resolvedByName = event.resolvedByName;
56639
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1526 => _1526.get, 'call', _1527 => _1527(requestId)]);
56640
- if (_optionalChain([escalatedData, 'optionalAccess', _1528 => _1528.toolCalls]) && escalatedData.toolCalls.length > 0) {
56646
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1523 => _1523.get, 'call', _1524 => _1524(requestId)]);
56647
+ if (_optionalChain([escalatedData, 'optionalAccess', _1525 => _1525.toolCalls]) && escalatedData.toolCalls.length > 0) {
56641
56648
  if (batchApprovalsEnabled) {
56642
56649
  accumulator.addApprovalBatch(
56643
56650
  requestId,
@@ -56659,7 +56666,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
56659
56666
  );
56660
56667
  }
56661
56668
  }
56662
- _optionalChain([escalatedApprovals, 'optionalAccess', _1529 => _1529.delete, 'call', _1530 => _1530(requestId)]);
56669
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1526 => _1526.delete, 'call', _1527 => _1527(requestId)]);
56663
56670
  break;
56664
56671
  }
56665
56672
  if (escalatedData) {
@@ -56668,7 +56675,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
56668
56675
  explanation: escalatedData.explanation,
56669
56676
  approvalType: escalatedData.approvalType
56670
56677
  });
56671
- _optionalChain([escalatedApprovals, 'optionalAccess', _1531 => _1531.delete, 'call', _1532 => _1532(requestId)]);
56678
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1528 => _1528.delete, 'call', _1529 => _1529(requestId)]);
56672
56679
  }
56673
56680
  const before = accumulator.getSegments();
56674
56681
  const after = accumulator.updateApprovalStatus(requestId, status, resolvedByName);
@@ -56685,7 +56692,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
56685
56692
  let message2;
56686
56693
  if (event.details) {
56687
56694
  try {
56688
- message2 = _optionalChain([JSON, 'access', _1533 => _1533.parse, 'call', _1534 => _1534(event.details), 'optionalAccess', _1535 => _1535.error, 'optionalAccess', _1536 => _1536.message]);
56695
+ message2 = _optionalChain([JSON, 'access', _1530 => _1530.parse, 'call', _1531 => _1531(event.details), 'optionalAccess', _1532 => _1532.error, 'optionalAccess', _1533 => _1533.message]);
56689
56696
  } catch (e100) {
56690
56697
  message2 = event.details;
56691
56698
  }
@@ -56762,14 +56769,14 @@ function processHistoricalMessages(messages, options = {}) {
56762
56769
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
56763
56770
  return;
56764
56771
  }
56765
- const isUserMessage = _optionalChain([msg, 'access', _1537 => _1537.owner, 'optionalAccess', _1538 => _1538.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1539 => _1539.owner, 'optionalAccess', _1540 => _1540.type]) === OWNER_TYPE.ADMIN;
56772
+ const isUserMessage = _optionalChain([msg, 'access', _1534 => _1534.owner, 'optionalAccess', _1535 => _1535.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1536 => _1536.owner, 'optionalAccess', _1537 => _1537.type]) === OWNER_TYPE.ADMIN;
56766
56773
  if (isUserMessage) {
56767
56774
  flushAssistantMessage();
56768
- const userAuthorType = _optionalChain([msg, 'access', _1541 => _1541.owner, 'optionalAccess', _1542 => _1542.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
56775
+ const userAuthorType = _optionalChain([msg, 'access', _1538 => _1538.owner, 'optionalAccess', _1539 => _1539.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
56769
56776
  messageDataArray.forEach((data) => {
56770
56777
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
56771
56778
  const rawContext = data.contextItems;
56772
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1543 => _1543.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1544 => _1544.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
56779
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1540 => _1540.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1541 => _1541.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
56773
56780
  processedMessages.push({
56774
56781
  id: msg.id,
56775
56782
  role: "user",
@@ -56805,7 +56812,7 @@ function processHistoricalMessages(messages, options = {}) {
56805
56812
  });
56806
56813
  const nextMsg = messages[index + 1];
56807
56814
  const isLastMessage = index === messages.length - 1;
56808
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1545 => _1545.owner, 'optionalAccess', _1546 => _1546.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1547 => _1547.owner, 'optionalAccess', _1548 => _1548.type]) === OWNER_TYPE.ADMIN);
56815
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1542 => _1542.owner, 'optionalAccess', _1543 => _1543.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1544 => _1544.owner, 'optionalAccess', _1545 => _1545.type]) === OWNER_TYPE.ADMIN);
56809
56816
  if (isLastMessage || nextIsFromUser) {
56810
56817
  flushAssistantMessage();
56811
56818
  }
@@ -56895,7 +56902,7 @@ function extractIncompleteMessageState(lastMessage) {
56895
56902
  break;
56896
56903
  case "approval_batch": {
56897
56904
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
56898
- (c) => _optionalChain([segment, 'access', _1549 => _1549.data, 'access', _1550 => _1550.executions, 'optionalAccess', _1551 => _1551[c.toolExecutionRequestId], 'optionalAccess', _1552 => _1552.status]) === "done"
56905
+ (c) => _optionalChain([segment, 'access', _1546 => _1546.data, 'access', _1547 => _1547.executions, 'optionalAccess', _1548 => _1548[c.toolExecutionRequestId], 'optionalAccess', _1549 => _1549.status]) === "done"
56899
56906
  );
56900
56907
  if (segment.status !== "rejected" && !allDone) {
56901
56908
  hasIncompleteState = true;
@@ -56926,11 +56933,11 @@ function extractIncompleteMessageState(lastMessage) {
56926
56933
  function extractIncompleteTailState(messages) {
56927
56934
  if (!messages || messages.length === 0) return void 0;
56928
56935
  let start = messages.length;
56929
- while (start > 0 && _optionalChain([messages, 'access', _1553 => _1553[start - 1], 'optionalAccess', _1554 => _1554.role]) === "assistant") start -= 1;
56936
+ while (start > 0 && _optionalChain([messages, 'access', _1550 => _1550[start - 1], 'optionalAccess', _1551 => _1551.role]) === "assistant") start -= 1;
56930
56937
  if (start === messages.length) return void 0;
56931
56938
  const segments = [];
56932
56939
  for (let i = start; i < messages.length; i += 1) {
56933
- const content = _optionalChain([messages, 'access', _1555 => _1555[i], 'optionalAccess', _1556 => _1556.content]);
56940
+ const content = _optionalChain([messages, 'access', _1552 => _1552[i], 'optionalAccess', _1553 => _1553.content]);
56934
56941
  if (Array.isArray(content)) segments.push(...content);
56935
56942
  }
56936
56943
  if (segments.length === 0) return void 0;
@@ -57284,7 +57291,7 @@ function useNatsChatAdapter(config, options = {}) {
57284
57291
  }, [active, fetchDialogs, loadDialogsPage]);
57285
57292
  const sendMessage = _react.useCallback.call(void 0,
57286
57293
  async (text, sendOptions) => {
57287
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1557 => _1557.hidden]), () => ( false));
57294
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1554 => _1554.hidden]), () => ( false));
57288
57295
  mutate((r) => r.pushOptimisticSend(text, hidden));
57289
57296
  await publishUserMessage(text, { hidden, dialogId });
57290
57297
  },
@@ -57433,11 +57440,11 @@ function useNatsChatAdapter(config, options = {}) {
57433
57440
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
57434
57441
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
57435
57442
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
57436
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1558 => _1558.provider]), () => ( modelProvider)), () => ( null)),
57437
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1559 => _1559.modelLabel]), () => ( modelLabel)), () => ( null)),
57438
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1560 => _1560.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1561 => _1561.contextWindowMaxTokens]))), () => ( null)),
57439
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1562 => _1562.inputTokensSize]), () => ( null)),
57440
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1563 => _1563.outputTokensSize]), () => ( null)),
57443
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1555 => _1555.provider]), () => ( modelProvider)), () => ( null)),
57444
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1556 => _1556.modelLabel]), () => ( modelLabel)), () => ( null)),
57445
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1557 => _1557.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1558 => _1558.contextWindowMaxTokens]))), () => ( null)),
57446
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1559 => _1559.inputTokensSize]), () => ( null)),
57447
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1560 => _1560.outputTokensSize]), () => ( null)),
57441
57448
  currentCacheHitRatePct: null,
57442
57449
  currentUsageBreakdown: null,
57443
57450
  // Dialog management
@@ -57574,7 +57581,7 @@ function useUnifiedChat(options) {
57574
57581
  []
57575
57582
  );
57576
57583
  const setDialogScope = _react.useCallback.call(void 0,
57577
- (scope) => _optionalChain([activeStateRef, 'access', _1564 => _1564.current, 'access', _1565 => _1565.setDialogScope, 'optionalCall', _1566 => _1566(scope)]),
57584
+ (scope) => _optionalChain([activeStateRef, 'access', _1561 => _1561.current, 'access', _1562 => _1562.setDialogScope, 'optionalCall', _1563 => _1563(scope)]),
57578
57585
  []
57579
57586
  );
57580
57587
  const reloadDialogs = _react.useCallback.call(void 0,
@@ -57678,16 +57685,16 @@ function turnRequestKeys(content) {
57678
57685
  if (!Array.isArray(content)) return keys;
57679
57686
  for (const seg of content) {
57680
57687
  if (seg.type === "tool_execution") {
57681
- const id = _optionalChain([seg, 'access', _1567 => _1567.data, 'optionalAccess', _1568 => _1568.toolExecutionRequestId]);
57688
+ const id = _optionalChain([seg, 'access', _1564 => _1564.data, 'optionalAccess', _1565 => _1565.toolExecutionRequestId]);
57682
57689
  if (id) keys.add(id);
57683
57690
  } else if (seg.type === "approval_request") {
57684
- const id = _optionalChain([seg, 'access', _1569 => _1569.data, 'optionalAccess', _1570 => _1570.requestId]);
57691
+ const id = _optionalChain([seg, 'access', _1566 => _1566.data, 'optionalAccess', _1567 => _1567.requestId]);
57685
57692
  if (id) keys.add(id);
57686
57693
  } else if (seg.type === "approval_batch") {
57687
57694
  const data = seg.data;
57688
- if (_optionalChain([data, 'optionalAccess', _1571 => _1571.approvalRequestId])) keys.add(data.approvalRequestId);
57689
- for (const call of _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1572 => _1572.toolCalls]), () => ( []))) {
57690
- if (_optionalChain([call, 'optionalAccess', _1573 => _1573.toolExecutionRequestId])) keys.add(call.toolExecutionRequestId);
57695
+ if (_optionalChain([data, 'optionalAccess', _1568 => _1568.approvalRequestId])) keys.add(data.approvalRequestId);
57696
+ for (const call of _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1569 => _1569.toolCalls]), () => ( []))) {
57697
+ if (_optionalChain([call, 'optionalAccess', _1570 => _1570.toolExecutionRequestId])) keys.add(call.toolExecutionRequestId);
57691
57698
  }
57692
57699
  }
57693
57700
  }
@@ -57739,20 +57746,20 @@ function mergeHistoryWithRealtime(input) {
57739
57746
  }
57740
57747
  }
57741
57748
  const trailing = processedHistory[processedHistory.length - 1];
57742
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1574 => _1574.role]) === "assistant" ? trailing : null;
57743
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1575 => _1575.content, 'access', _1576 => _1576.find, 'call', _1577 => _1577((s) => s.type === "approval_batch"), 'optionalAccess', _1578 => _1578.data, 'optionalAccess', _1579 => _1579.approvalRequestId]), () => ( null)) : null;
57749
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1571 => _1571.role]) === "assistant" ? trailing : null;
57750
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1572 => _1572.content, 'access', _1573 => _1573.find, 'call', _1574 => _1574((s) => s.type === "approval_batch"), 'optionalAccess', _1575 => _1575.data, 'optionalAccess', _1576 => _1576.approvalRequestId]), () => ( null)) : null;
57744
57751
  let processedToUse = processedHistory;
57745
57752
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
57746
57753
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
57747
57754
  if (historyBatchId) {
57748
57755
  const batchTwins = existingMessages.filter(
57749
57756
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
57750
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1580 => _1580.data, 'optionalAccess', _1581 => _1581.approvalRequestId]) === historyBatchId
57757
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1577 => _1577.data, 'optionalAccess', _1578 => _1578.approvalRequestId]) === historyBatchId
57751
57758
  )
57752
57759
  );
57753
57760
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
57754
57761
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
57755
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1582 => _1582.content])) ? historyTrailingAssistant.content.length : 0;
57762
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1579 => _1579.content])) ? historyTrailingAssistant.content.length : 0;
57756
57763
  const realtimeSize = existingWithSameBatch.content.length;
57757
57764
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
57758
57765
  processedToUse = processedHistory.slice(0, -1);
@@ -57794,9 +57801,9 @@ function mergeHistoryWithRealtime(input) {
57794
57801
  if (pinnedSyntheticIds.has(m.id)) return true;
57795
57802
  if (droppedSyntheticIds.has(m.id)) return false;
57796
57803
  if (processedIds.has(m.id)) return false;
57797
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1583 => _1583.has, 'call', _1584 => _1584(m.id)])) return false;
57804
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1580 => _1580.has, 'call', _1581 => _1581(m.id)])) return false;
57798
57805
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
57799
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1585 => _1585.timestamp, 'optionalAccess', _1586 => _1586.getTime, 'call', _1587 => _1587()]), () => ( 0))) <= historyFetchedAt;
57806
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1582 => _1582.timestamp, 'optionalAccess', _1583 => _1583.getTime, 'call', _1584 => _1584()]), () => ( 0))) <= historyFetchedAt;
57800
57807
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
57801
57808
  }
57802
57809
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
@@ -57820,7 +57827,7 @@ function mergeHistoryWithRealtime(input) {
57820
57827
  } else if (typeof m.streamSeq === "number") {
57821
57828
  covered = historyMaxStreamSeq > 0 && historyMaxStreamSeq >= m.streamSeq;
57822
57829
  } else {
57823
- covered = historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1588 => _1588.timestamp, 'optionalAccess', _1589 => _1589.getTime, 'call', _1590 => _1590()]), () => ( 0))) <= historyFetchedAt;
57830
+ covered = historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1585 => _1585.timestamp, 'optionalAccess', _1586 => _1586.getTime, 'call', _1587 => _1587()]), () => ( 0))) <= historyFetchedAt;
57824
57831
  }
57825
57832
  if (covered) return false;
57826
57833
  }
@@ -57876,7 +57883,7 @@ function normalizeHistoricalMessageData(md) {
57876
57883
  function isHistoricalUserTurn(m) {
57877
57884
  return !!m.owner;
57878
57885
  }
57879
- var isTextSegment = (d) => _optionalChain([d, 'optionalAccess', _1591 => _1591.type]) === "TEXT" && typeof d.text === "string";
57886
+ var isTextSegment = (d) => _optionalChain([d, 'optionalAccess', _1588 => _1588.type]) === "TEXT" && typeof d.text === "string";
57880
57887
  var THINK_MS = 550;
57881
57888
  var TOKEN_MS = 55;
57882
57889
  var USER_MS = 480;
@@ -58123,7 +58130,7 @@ function useChatDialogManager({
58123
58130
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
58124
58131
  if (restoreTarget) {
58125
58132
  try {
58126
- await _optionalChain([unarchiveDialog, 'optionalCall', _1592 => _1592(restoreTarget.id)]);
58133
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1589 => _1589(restoreTarget.id)]);
58127
58134
  } catch (err) {
58128
58135
  console.error("[useChatDialogManager] unarchive failed:", err);
58129
58136
  return;
@@ -58604,7 +58611,7 @@ function EmbeddableChatInner({
58604
58611
  }),
58605
58612
  [commandsUrl]
58606
58613
  );
58607
- const headerUserName = _optionalChain([identityUser, 'optionalAccess', _1593 => _1593.name, 'optionalAccess', _1594 => _1594.trim, 'call', _1595 => _1595()]) || [_optionalChain([identityUser, 'optionalAccess', _1596 => _1596.firstName]), _optionalChain([identityUser, 'optionalAccess', _1597 => _1597.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([userDisplayName, 'optionalAccess', _1598 => _1598.trim, 'call', _1599 => _1599()]) || void 0;
58614
+ const headerUserName = _optionalChain([identityUser, 'optionalAccess', _1590 => _1590.name, 'optionalAccess', _1591 => _1591.trim, 'call', _1592 => _1592()]) || [_optionalChain([identityUser, 'optionalAccess', _1593 => _1593.firstName]), _optionalChain([identityUser, 'optionalAccess', _1594 => _1594.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([userDisplayName, 'optionalAccess', _1595 => _1595.trim, 'call', _1596 => _1596()]) || void 0;
58608
58615
  const effectiveModes = _react.useMemo.call(void 0, () => {
58609
58616
  if (modes) return modes;
58610
58617
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -58613,19 +58620,19 @@ function EmbeddableChatInner({
58613
58620
  const mingoCaps = _react.useMemo.call(void 0, () => {
58614
58621
  if (mingoState) {
58615
58622
  return {
58616
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1600 => _1600.canRename]), () => ( false)),
58617
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1601 => _1601.canArchive]), () => ( false)),
58618
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1602 => _1602.fetchArchivedDialogs]),
58619
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1603 => _1603.unarchiveDialog]),
58620
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1604 => _1604.searchQuery]),
58621
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1605 => _1605.onSearchChange])
58623
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1597 => _1597.canRename]), () => ( false)),
58624
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1598 => _1598.canArchive]), () => ( false)),
58625
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1599 => _1599.fetchArchivedDialogs]),
58626
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1600 => _1600.unarchiveDialog]),
58627
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1601 => _1601.searchQuery]),
58628
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1602 => _1602.onSearchChange])
58622
58629
  };
58623
58630
  }
58624
58631
  return {
58625
- canRename: !!_optionalChain([effectiveModes, 'access', _1606 => _1606.mingo, 'optionalAccess', _1607 => _1607.renameDialog]),
58626
- canArchive: !!_optionalChain([effectiveModes, 'access', _1608 => _1608.mingo, 'optionalAccess', _1609 => _1609.archiveDialog]),
58627
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1610 => _1610.mingo, 'optionalAccess', _1611 => _1611.fetchArchivedDialogs]),
58628
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1612 => _1612.mingo, 'optionalAccess', _1613 => _1613.unarchiveDialog]),
58632
+ canRename: !!_optionalChain([effectiveModes, 'access', _1603 => _1603.mingo, 'optionalAccess', _1604 => _1604.renameDialog]),
58633
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1605 => _1605.mingo, 'optionalAccess', _1606 => _1606.archiveDialog]),
58634
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1607 => _1607.mingo, 'optionalAccess', _1608 => _1608.fetchArchivedDialogs]),
58635
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1609 => _1609.mingo, 'optionalAccess', _1610 => _1610.unarchiveDialog]),
58629
58636
  searchQuery: void 0,
58630
58637
  onSearchChange: void 0
58631
58638
  };
@@ -58639,7 +58646,7 @@ function EmbeddableChatInner({
58639
58646
  if (controlledActiveMode === void 0) {
58640
58647
  setUncontrolledActiveMode(next);
58641
58648
  }
58642
- _optionalChain([onActiveModeChange, 'optionalCall', _1614 => _1614(next)]);
58649
+ _optionalChain([onActiveModeChange, 'optionalCall', _1611 => _1611(next)]);
58643
58650
  },
58644
58651
  [controlledActiveMode, onActiveModeChange]
58645
58652
  );
@@ -58661,7 +58668,7 @@ function EmbeddableChatInner({
58661
58668
  const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
58662
58669
  const effectiveAssistantName = emptyStateConfig.name;
58663
58670
  const effectiveAssistantIcon = emptyStateConfig.icon;
58664
- const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1615 => _1615.title]) === "string" ? guideWelcome.title : null)));
58671
+ const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1612 => _1612.title]) === "string" ? guideWelcome.title : null)));
58665
58672
  const {
58666
58673
  messages: rawMessages,
58667
58674
  isLoading: chatLoading,
@@ -58703,7 +58710,7 @@ function EmbeddableChatInner({
58703
58710
  if (activeMode !== "guide" || guidePromptSentRef.current) return;
58704
58711
  guidePromptSentRef.current = true;
58705
58712
  void sendMessage(guidePendingPrompt);
58706
- _optionalChain([onGuidePromptConsumed, 'optionalCall', _1616 => _1616()]);
58713
+ _optionalChain([onGuidePromptConsumed, 'optionalCall', _1613 => _1613()]);
58707
58714
  }, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
58708
58715
  const {
58709
58716
  attachments: stagedAttachments,
@@ -58714,7 +58721,7 @@ function EmbeddableChatInner({
58714
58721
  clear: clearAttachments
58715
58722
  } = useChatAttachments();
58716
58723
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
58717
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1617 => _1617.maxItems]), () => ( 10));
58724
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1614 => _1614.maxItems]), () => ( 10));
58718
58725
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
58719
58726
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
58720
58727
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -58731,10 +58738,10 @@ function EmbeddableChatInner({
58731
58738
  }, [activeDialogId, activeMode]);
58732
58739
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
58733
58740
  const m = /* @__PURE__ */ new Map();
58734
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1618 => _1618.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
58741
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1615 => _1615.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
58735
58742
  return m;
58736
- }, [_optionalChain([contextPicker, 'optionalAccess', _1619 => _1619.entityTypes])]);
58737
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1620 => _1620.entityTypes]);
58743
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1616 => _1616.entityTypes])]);
58744
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1617 => _1617.entityTypes]);
58738
58745
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
58739
58746
  const byType = /* @__PURE__ */ new Map();
58740
58747
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -58746,7 +58753,7 @@ function EmbeddableChatInner({
58746
58753
  if (mentionActiveRef.current) {
58747
58754
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
58748
58755
  if (contextItems.length >= contextMaxItems) return;
58749
- _optionalChain([chatInputRef, 'access', _1621 => _1621.current, 'optionalAccess', _1622 => _1622.commitMention, 'call', _1623 => _1623(mentionTokenOf(key, mentionMarkerByType), {
58756
+ _optionalChain([chatInputRef, 'access', _1618 => _1618.current, 'optionalAccess', _1619 => _1619.commitMention, 'call', _1620 => _1620(mentionTokenOf(key, mentionMarkerByType), {
58750
58757
  label: item.label,
58751
58758
  icon: resolveContextIcon(item)
58752
58759
  })]);
@@ -58768,9 +58775,9 @@ function EmbeddableChatInner({
58768
58775
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
58769
58776
  if (mentionKeysRef.current.has(key)) {
58770
58777
  mentionKeysRef.current.delete(key);
58771
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1624 => _1624.current, 'optionalAccess', _1625 => _1625.getValue, 'call', _1626 => _1626()]), () => ( ""));
58778
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1621 => _1621.current, 'optionalAccess', _1622 => _1622.getValue, 'call', _1623 => _1623()]), () => ( ""));
58772
58779
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
58773
- _optionalChain([chatInputRef, 'access', _1627 => _1627.current, 'optionalAccess', _1628 => _1628.setValue, 'call', _1629 => _1629(next)]);
58780
+ _optionalChain([chatInputRef, 'access', _1624 => _1624.current, 'optionalAccess', _1625 => _1625.setValue, 'call', _1626 => _1626(next)]);
58774
58781
  }
58775
58782
  }, [mentionMarkerByType]);
58776
58783
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -58787,7 +58794,7 @@ function EmbeddableChatInner({
58787
58794
  }, []);
58788
58795
  const closeContextPicker = _react.useCallback.call(void 0, () => {
58789
58796
  if (mentionActiveRef.current) {
58790
- _optionalChain([chatInputRef, 'access', _1630 => _1630.current, 'optionalAccess', _1631 => _1631.removeMentionTrigger, 'call', _1632 => _1632()]);
58797
+ _optionalChain([chatInputRef, 'access', _1627 => _1627.current, 'optionalAccess', _1628 => _1628.removeMentionTrigger, 'call', _1629 => _1629()]);
58791
58798
  }
58792
58799
  setContextPickerOpen(false);
58793
58800
  setMentionQuery(null);
@@ -58821,8 +58828,8 @@ function EmbeddableChatInner({
58821
58828
  [effectiveAssistantIcon]
58822
58829
  );
58823
58830
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
58824
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1633 => _1633.firstName]), _optionalChain([identityUser, 'optionalAccess', _1634 => _1634.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1635 => _1635.name, 'optionalAccess', _1636 => _1636.trim, 'call', _1637 => _1637()]) || void 0 : void 0;
58825
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1638 => _1638.avatarUrl, 'optionalAccess', _1639 => _1639.trim, 'call', _1640 => _1640()]) || void 0 : void 0;
58831
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1630 => _1630.firstName]), _optionalChain([identityUser, 'optionalAccess', _1631 => _1631.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1632 => _1632.name, 'optionalAccess', _1633 => _1633.trim, 'call', _1634 => _1634()]) || void 0 : void 0;
58832
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1635 => _1635.avatarUrl, 'optionalAccess', _1636 => _1636.trim, 'call', _1637 => _1637()]) || void 0 : void 0;
58826
58833
  const messages = _react.useMemo.call(void 0, () => {
58827
58834
  const cache = timestampCacheRef.current;
58828
58835
  const seenIds = /* @__PURE__ */ new Set();
@@ -59008,9 +59015,9 @@ function EmbeddableChatInner({
59008
59015
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
59009
59016
  const lastSources = _react.useMemo.call(void 0, () => {
59010
59017
  if (chatLoading) return void 0;
59011
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1641 => _1641.sources]);
59018
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1638 => _1638.sources]);
59012
59019
  if (!sources || sources.length === 0) return void 0;
59013
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1642 => _1642.content]) || "";
59020
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1639 => _1639.content]) || "";
59014
59021
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
59015
59022
  (m) => parseInt(m[1], 10)
59016
59023
  );
@@ -59029,7 +59036,7 @@ function EmbeddableChatInner({
59029
59036
  const el = panelMeasureRef.current;
59030
59037
  if (!el || typeof ResizeObserver === "undefined") return;
59031
59038
  const ro = new ResizeObserver((entries) => {
59032
- const w = _optionalChain([entries, 'access', _1643 => _1643[0], 'optionalAccess', _1644 => _1644.contentRect, 'optionalAccess', _1645 => _1645.width]);
59039
+ const w = _optionalChain([entries, 'access', _1640 => _1640[0], 'optionalAccess', _1641 => _1641.contentRect, 'optionalAccess', _1642 => _1642.width]);
59033
59040
  if (typeof w === "number") setPanelWidth(w);
59034
59041
  });
59035
59042
  ro.observe(el);
@@ -59068,16 +59075,16 @@ function EmbeddableChatInner({
59068
59075
  const isMingoMode = activeMode === "mingo";
59069
59076
  const stackedListView = isMingoMode && !hasConversation && !archiveOpen && !wideMingo && !composeOpen;
59070
59077
  const headerShowBack = hasConversation || guideCanReturnToMingo;
59071
- const headerTitle = hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1646 => _1646.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats";
59078
+ const headerTitle = hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1643 => _1643.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats";
59072
59079
  const headerBackAriaLabel = hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo";
59073
59080
  const headerOnBack = hasConversation ? handleBack : () => handleActiveModeChange("mingo");
59074
59081
  const headerOnRestore = isViewingArchived && unarchiveDialog && activeDialog ? () => setRestoreTarget(activeDialog) : void 0;
59075
59082
  const headerOnRename = activeDialogId && activeDialog && mingoCaps.canRename ? () => setRenameTarget(activeDialog) : void 0;
59076
59083
  const headerOnArchive = activeDialogId && activeDialog && mingoCaps.canArchive ? () => setArchiveTarget(activeDialog) : void 0;
59077
59084
  const headerOnOpenArchive = fetchArchivedDialogs ? openArchive : void 0;
59078
- const headerOwner = hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1647 => _1647.owner]) : void 0;
59079
- const headerPersonName = _optionalChain([headerOwner, 'optionalAccess', _1648 => _1648.name, 'optionalAccess', _1649 => _1649.trim, 'call', _1650 => _1650()]) || headerUserName;
59080
- const headerPersonAvatarUrl = headerOwner ? _optionalChain([headerOwner, 'access', _1651 => _1651.avatarUrl, 'optionalAccess', _1652 => _1652.trim, 'call', _1653 => _1653()]) || void 0 : _optionalChain([identityUser, 'optionalAccess', _1654 => _1654.avatarUrl, 'optionalAccess', _1655 => _1655.trim, 'call', _1656 => _1656()]) || _optionalChain([userAvatarUrl, 'optionalAccess', _1657 => _1657.trim, 'call', _1658 => _1658()]) || void 0;
59085
+ const headerOwner = hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1644 => _1644.owner]) : void 0;
59086
+ const headerPersonName = _optionalChain([headerOwner, 'optionalAccess', _1645 => _1645.name, 'optionalAccess', _1646 => _1646.trim, 'call', _1647 => _1647()]) || headerUserName;
59087
+ const headerPersonAvatarUrl = headerOwner ? _optionalChain([headerOwner, 'access', _1648 => _1648.avatarUrl, 'optionalAccess', _1649 => _1649.trim, 'call', _1650 => _1650()]) || void 0 : _optionalChain([identityUser, 'optionalAccess', _1651 => _1651.avatarUrl, 'optionalAccess', _1652 => _1652.trim, 'call', _1653 => _1653()]) || _optionalChain([userAvatarUrl, 'optionalAccess', _1654 => _1654.trim, 'call', _1655 => _1655()]) || void 0;
59081
59088
  const headerAvatar = headerPersonName || headerPersonAvatarUrl ? { name: headerPersonName, avatarUrl: headerPersonAvatarUrl } : void 0;
59082
59089
  const handleNewChat = _react.useCallback.call(void 0, () => {
59083
59090
  resetToNewChat();
@@ -59436,9 +59443,9 @@ function EmbeddableChatInner({
59436
59443
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
59437
59444
  subtitleLoading: emptyStateLoading,
59438
59445
  ...guideWelcome,
59439
- title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1659 => _1659.title]))),
59440
- icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1660 => _1660.icon]))),
59441
- quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1661 => _1661.quickActions]), () => ( guideSuggestedActions)),
59446
+ title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1656 => _1656.title]))),
59447
+ icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1657 => _1657.icon]))),
59448
+ quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1658 => _1658.quickActions]), () => ( guideSuggestedActions)),
59442
59449
  onQuickAction: (action) => {
59443
59450
  setQuickActionPreview(null);
59444
59451
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
@@ -59518,8 +59525,8 @@ function EmbeddableChatInner({
59518
59525
  selectedContextItems: contextItems,
59519
59526
  onToggleContextItem: toggleContextItem,
59520
59527
  onRemoveContextItem: removeContextItem,
59521
- contextMemoryItems: _optionalChain([contextMemory, 'optionalAccess', _1662 => _1662.items]),
59522
- onRemoveContextMemoryItem: _optionalChain([contextMemory, 'optionalAccess', _1663 => _1663.onRemove]),
59528
+ contextMemoryItems: _optionalChain([contextMemory, 'optionalAccess', _1659 => _1659.items]),
59529
+ onRemoveContextMemoryItem: _optionalChain([contextMemory, 'optionalAccess', _1660 => _1660.onRemove]),
59523
59530
  contextPickerOpen,
59524
59531
  onOpenContextPicker: openContextPicker,
59525
59532
  onCloseContextPicker: closeContextPicker,
@@ -60696,5 +60703,5 @@ function EmbeddableChatInner({
60696
60703
 
60697
60704
 
60698
60705
 
60699
- exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.FloatingTooltip = FloatingTooltip; exports.TruncateText = TruncateText; 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.SearchableSelect = SearchableSelect; 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.titleCaseFromSlug = titleCaseFromSlug; 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.ScrollShadow = ScrollShadow; 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.isBlankLine = isBlankLine; exports.createFenceTracker = createFenceTracker; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.HEADING_EMOJI_RE = HEADING_EMOJI_RE; exports.stripHeadingEmojis = stripHeadingEmojis; exports.slugifyHeadingBase = slugifyHeadingBase; exports.slugifyHeadingText = slugifyHeadingText; exports.scanHeadings = scanHeadings; exports.createHeadingIdDeduper = createHeadingIdDeduper; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.MermaidDiagram = MermaidDiagram; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; 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.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.EmbedViewerFrame = EmbedViewerFrame; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.genBadgeBgOpacity = genBadgeBgOpacity; exports.generationTierFromLabel = generationTierFromLabel; 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.ThinkingDisplay = ThinkingDisplay; exports.GuideDisplay = GuideDisplay; 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.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; 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.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; 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.ChatContextMemoryBar = ChatContextMemoryBar; 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.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.CardHitLayer = CardHitLayer; 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.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.useScriptedStream = useScriptedStream; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; 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.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.useSseChatAdapter = useSseChatAdapter; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; 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.flattenAssistantContent = flattenAssistantContent; exports.clickupTaskUrl = clickupTaskUrl; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat; exports.BackButton = BackButton; 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.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_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.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; 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.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; 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.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; 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.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; 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.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; 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.AvatarStack = AvatarStack; 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.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; 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.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; 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.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; 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.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.useTestRunState = useTestRunState; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.MingoAiButton = MingoAiButton; exports.useOptionalTicketLive = useOptionalTicketLive; exports.useTicketLive = useTicketLive; exports.TicketLiveProvider = TicketLiveProvider; exports.isOptimistic = isOptimistic; exports.TICKET_TEXT_MAX_CHARS = TICKET_TEXT_MAX_CHARS; exports.TICKET_MARK_READ_DEBOUNCE_MS = TICKET_MARK_READ_DEBOUNCE_MS; exports.TOAST_COPY = TOAST_COPY; exports.TicketAlertsButton = TicketAlertsButton; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.TopNavigation = TopNavigation; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = NAVIGATION_SIDEBAR_WIDTH_VAR; 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;
60700
- //# sourceMappingURL=chunk-4G5TLHJD.cjs.map
60706
+ exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.FloatingTooltip = FloatingTooltip; exports.TruncateText = TruncateText; 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.SearchableSelect = SearchableSelect; 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.titleCaseFromSlug = titleCaseFromSlug; 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.ScrollShadow = ScrollShadow; 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.isBlankLine = isBlankLine; exports.createFenceTracker = createFenceTracker; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.HEADING_EMOJI_RE = HEADING_EMOJI_RE; exports.stripHeadingEmojis = stripHeadingEmojis; exports.slugifyHeadingBase = slugifyHeadingBase; exports.slugifyHeadingText = slugifyHeadingText; exports.scanHeadings = scanHeadings; exports.createHeadingIdDeduper = createHeadingIdDeduper; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.MermaidDiagram = MermaidDiagram; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; 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.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.EmbedViewerFrame = EmbedViewerFrame; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.genBadgeBgOpacity = genBadgeBgOpacity; exports.generationTierFromLabel = generationTierFromLabel; 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.ThinkingDisplay = ThinkingDisplay; exports.GuideDisplay = GuideDisplay; 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.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; 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.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; 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.ChatContextMemoryBar = ChatContextMemoryBar; 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.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.CardHitLayer = CardHitLayer; 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.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.useScriptedStream = useScriptedStream; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; 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.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.useSseChatAdapter = useSseChatAdapter; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; 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.flattenAssistantContent = flattenAssistantContent; exports.clickupTaskUrl = clickupTaskUrl; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat; exports.BackButton = BackButton; 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.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_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.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; 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.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; 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.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; 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.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; 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.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; 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.AvatarStack = AvatarStack; 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.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; 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.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; 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.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; 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.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.useTestRunState = useTestRunState; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.MingoAiButton = MingoAiButton; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.useOptionalTicketLive = useOptionalTicketLive; exports.useTicketLive = useTicketLive; exports.TicketLiveProvider = TicketLiveProvider; exports.isOptimistic = isOptimistic; exports.TICKET_TEXT_MAX_CHARS = TICKET_TEXT_MAX_CHARS; exports.TICKET_MARK_READ_DEBOUNCE_MS = TICKET_MARK_READ_DEBOUNCE_MS; exports.TOAST_COPY = TOAST_COPY; exports.TicketAlertsButton = TicketAlertsButton; exports.TopNavigation = TopNavigation; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = NAVIGATION_SIDEBAR_WIDTH_VAR; 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;
60707
+ //# sourceMappingURL=chunk-RB2EW6IZ.cjs.map