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