@flamingo-stack/openframe-frontend-core 0.0.372 → 0.0.373-snapshot.20260706145330
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-LPKQBDGY.cjs → chunk-2GRR6GSO.cjs} +26 -26
- package/dist/{chunk-LPKQBDGY.cjs.map → chunk-2GRR6GSO.cjs.map} +1 -1
- package/dist/{chunk-7A7K44DW.cjs → chunk-4DXWRLC4.cjs} +57 -57
- package/dist/{chunk-7A7K44DW.cjs.map → chunk-4DXWRLC4.cjs.map} +1 -1
- package/dist/{chunk-KPAB2RXJ.cjs → chunk-5SCIL5IK.cjs} +62 -62
- package/dist/{chunk-KPAB2RXJ.cjs.map → chunk-5SCIL5IK.cjs.map} +1 -1
- package/dist/{chunk-VVAKKX44.cjs → chunk-64TM6YLI.cjs} +37 -37
- package/dist/{chunk-VVAKKX44.cjs.map → chunk-64TM6YLI.cjs.map} +1 -1
- package/dist/{chunk-6XKKMJW4.js → chunk-6LKITKDS.js} +4 -4
- package/dist/{chunk-SVJ6TF2J.js → chunk-7ZAFRNT4.js} +2 -2
- package/dist/{chunk-V3XEWG2E.js → chunk-BCIETCTQ.js} +4 -4
- package/dist/{chunk-3MLQQZBN.js → chunk-BJX5HYBU.js} +2 -2
- package/dist/{chunk-Y7V5ZQ54.js → chunk-CTHA7BMH.js} +2 -2
- package/dist/{chunk-HWROGYII.js → chunk-EPR4XXRC.js} +2 -2
- package/dist/{chunk-DHZNTXJU.cjs → chunk-HA3KJN4J.cjs} +7 -7
- package/dist/{chunk-DHZNTXJU.cjs.map → chunk-HA3KJN4J.cjs.map} +1 -1
- package/dist/{chunk-YCIDCWA6.cjs → chunk-L7VRUDAP.cjs} +5 -5
- package/dist/{chunk-YCIDCWA6.cjs.map → chunk-L7VRUDAP.cjs.map} +1 -1
- package/dist/{chunk-A2HY3OMV.js → chunk-LDLRTG7B.js} +4 -4
- package/dist/{chunk-3QC76VZF.cjs → chunk-NMESBNMS.cjs} +25 -25
- package/dist/{chunk-3QC76VZF.cjs.map → chunk-NMESBNMS.cjs.map} +1 -1
- package/dist/{chunk-UI3YTBKK.js → chunk-NP3VAQE5.js} +2 -2
- package/dist/{chunk-J6JRBFJM.js → chunk-NVFKRKYO.js} +4 -4
- package/dist/{chunk-ZIPG4PAD.js → chunk-PUUB3ETT.js} +2 -2
- package/dist/{chunk-QN3WIJUN.cjs → chunk-QOPI56UU.cjs} +31 -31
- package/dist/{chunk-QN3WIJUN.cjs.map → chunk-QOPI56UU.cjs.map} +1 -1
- package/dist/{chunk-NIXFOPPT.js → chunk-UHO2TI5O.js} +207 -157
- package/dist/chunk-UHO2TI5O.js.map +1 -0
- package/dist/{chunk-O753O7H3.js → chunk-USUHSONY.js} +2 -2
- package/dist/{chunk-NRQSIW7I.cjs → chunk-V653GV4M.cjs} +388 -338
- package/dist/chunk-V653GV4M.cjs.map +1 -0
- package/dist/{chunk-7BO7CGXU.cjs → chunk-VS4RCAXP.cjs} +15 -15
- package/dist/{chunk-7BO7CGXU.cjs.map → chunk-VS4RCAXP.cjs.map} +1 -1
- package/dist/{chunk-KE4MBHEE.cjs → chunk-YZLZ35DX.cjs} +9 -9
- package/dist/{chunk-KE4MBHEE.cjs.map → chunk-YZLZ35DX.cjs.map} +1 -1
- package/dist/{chunk-GCXRNCZD.cjs → chunk-ZEYGYL76.cjs} +12 -12
- package/dist/{chunk-GCXRNCZD.cjs.map → chunk-ZEYGYL76.cjs.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/index.cjs +2 -2
- package/dist/components/chat/index.js +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/features/time-tracker/time-tracker-header-button.d.ts +2 -1
- package/dist/components/features/time-tracker/time-tracker-header-button.d.ts.map +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 +122 -120
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +11 -9
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
- package/dist/components/navigation/app-layout.d.ts +20 -0
- package/dist/components/navigation/app-layout.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
- 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/drawer.d.ts +5 -1
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +4 -2
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +3 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +1 -1
- package/src/components/features/time-tracker/time-tracker-header-button.tsx +18 -1
- package/src/components/navigation/app-layout-drawer.tsx +31 -3
- package/src/components/navigation/app-layout.tsx +50 -2
- package/src/components/navigation/mobile-burger-menu.tsx +3 -2
- package/src/components/ui/drawer.tsx +8 -1
- package/dist/chunk-NIXFOPPT.js.map +0 -1
- package/dist/chunk-NRQSIW7I.cjs.map +0 -1
- /package/dist/{chunk-6XKKMJW4.js.map → chunk-6LKITKDS.js.map} +0 -0
- /package/dist/{chunk-SVJ6TF2J.js.map → chunk-7ZAFRNT4.js.map} +0 -0
- /package/dist/{chunk-V3XEWG2E.js.map → chunk-BCIETCTQ.js.map} +0 -0
- /package/dist/{chunk-3MLQQZBN.js.map → chunk-BJX5HYBU.js.map} +0 -0
- /package/dist/{chunk-Y7V5ZQ54.js.map → chunk-CTHA7BMH.js.map} +0 -0
- /package/dist/{chunk-HWROGYII.js.map → chunk-EPR4XXRC.js.map} +0 -0
- /package/dist/{chunk-A2HY3OMV.js.map → chunk-LDLRTG7B.js.map} +0 -0
- /package/dist/{chunk-UI3YTBKK.js.map → chunk-NP3VAQE5.js.map} +0 -0
- /package/dist/{chunk-J6JRBFJM.js.map → chunk-NVFKRKYO.js.map} +0 -0
- /package/dist/{chunk-ZIPG4PAD.js.map → chunk-PUUB3ETT.js.map} +0 -0
- /package/dist/{chunk-O753O7H3.js.map → chunk-USUHSONY.js.map} +0 -0
|
@@ -15722,6 +15722,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
15722
15722
|
|
|
15723
15723
|
|
|
15724
15724
|
|
|
15725
|
+
var OVERLAY_BACKDROP_CLASS = "bg-black/50";
|
|
15725
15726
|
var Drawer = DialogPrimitive2.Root;
|
|
15726
15727
|
var DrawerTrigger = DialogPrimitive2.Trigger;
|
|
15727
15728
|
var DrawerClose = DialogPrimitive2.Close;
|
|
@@ -15731,7 +15732,8 @@ var DrawerOverlay = React60.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
15731
15732
|
{
|
|
15732
15733
|
ref,
|
|
15733
15734
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
15734
|
-
"fixed inset-0 z-[9997]
|
|
15735
|
+
"fixed inset-0 z-[9997] outline-none focus:outline-none focus-visible:outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
15736
|
+
OVERLAY_BACKDROP_CLASS,
|
|
15735
15737
|
className
|
|
15736
15738
|
),
|
|
15737
15739
|
...props
|
|
@@ -31270,6 +31272,19 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
31270
31272
|
] })
|
|
31271
31273
|
}
|
|
31272
31274
|
) }),
|
|
31275
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive5.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31276
|
+
"div",
|
|
31277
|
+
{
|
|
31278
|
+
"aria-hidden": "true",
|
|
31279
|
+
"data-state": isOpen ? "open" : "closed",
|
|
31280
|
+
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
31281
|
+
"fixed inset-0 z-[1299]",
|
|
31282
|
+
OVERLAY_BACKDROP_CLASS,
|
|
31283
|
+
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
31284
|
+
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
31285
|
+
)
|
|
31286
|
+
}
|
|
31287
|
+
) }),
|
|
31273
31288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive5.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31274
31289
|
PopoverPrimitive5.Content,
|
|
31275
31290
|
{
|
|
@@ -33704,7 +33719,7 @@ var MobileBurgerMenu = React117.default.memo(function MobileBurgerMenu2({
|
|
|
33704
33719
|
{
|
|
33705
33720
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
33706
33721
|
"fixed inset-0 z-[100] md:hidden",
|
|
33707
|
-
|
|
33722
|
+
OVERLAY_BACKDROP_CLASS,
|
|
33708
33723
|
"transition-all duration-300",
|
|
33709
33724
|
isOpen ? "opacity-100" : "opacity-0 pointer-events-none"
|
|
33710
33725
|
),
|
|
@@ -33814,6 +33829,10 @@ var AppLayoutDrawerContainerContext = _react.createContext.call(void 0, null);
|
|
|
33814
33829
|
function useAppLayoutDrawerContainer() {
|
|
33815
33830
|
return _react.useContext.call(void 0, AppLayoutDrawerContainerContext);
|
|
33816
33831
|
}
|
|
33832
|
+
var AppLayoutDrawerCoordinationContext = _react.createContext.call(void 0, null);
|
|
33833
|
+
function useAppLayoutDrawerCoordination() {
|
|
33834
|
+
return _react.useContext.call(void 0, AppLayoutDrawerCoordinationContext);
|
|
33835
|
+
}
|
|
33817
33836
|
function AppLayout({
|
|
33818
33837
|
children,
|
|
33819
33838
|
sidebarConfig,
|
|
@@ -33827,13 +33846,27 @@ function AppLayout({
|
|
|
33827
33846
|
}) {
|
|
33828
33847
|
const [mobileMenuOpen, setMobileMenuOpen] = _react.useState.call(void 0, false);
|
|
33829
33848
|
const [drawerContainer, setDrawerContainer] = _react.useState.call(void 0, null);
|
|
33849
|
+
const mobileMenuOpenRef = _react.useRef.call(void 0, mobileMenuOpen);
|
|
33850
|
+
mobileMenuOpenRef.current = mobileMenuOpen;
|
|
33851
|
+
const drawerHandlesRef = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
33830
33852
|
const handleToggleMobileMenu = _react.useCallback.call(void 0, () => {
|
|
33831
|
-
|
|
33853
|
+
const opening = !mobileMenuOpenRef.current;
|
|
33854
|
+
if (opening) {
|
|
33855
|
+
for (const handle of drawerHandlesRef.current) handle.close();
|
|
33856
|
+
}
|
|
33857
|
+
setMobileMenuOpen(opening);
|
|
33832
33858
|
}, []);
|
|
33833
33859
|
const handleCloseMobileMenu = _react.useCallback.call(void 0, () => {
|
|
33834
33860
|
setMobileMenuOpen(false);
|
|
33835
33861
|
}, []);
|
|
33836
|
-
|
|
33862
|
+
const drawerCoordination = _react.useMemo.call(void 0, () => ({
|
|
33863
|
+
notifyDrawerDidOpen: () => setMobileMenuOpen(false),
|
|
33864
|
+
registerDrawer: (handle) => {
|
|
33865
|
+
drawerHandlesRef.current.add(handle);
|
|
33866
|
+
return () => drawerHandlesRef.current.delete(handle);
|
|
33867
|
+
}
|
|
33868
|
+
}), []);
|
|
33869
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex h-screen bg-ods-bg", className), children: [
|
|
33837
33870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled }),
|
|
33838
33871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33839
33872
|
MobileBurgerMenu,
|
|
@@ -33868,7 +33901,7 @@ function AppLayout({
|
|
|
33868
33901
|
}
|
|
33869
33902
|
)
|
|
33870
33903
|
] })
|
|
33871
|
-
] }) });
|
|
33904
|
+
] }) }) });
|
|
33872
33905
|
}
|
|
33873
33906
|
|
|
33874
33907
|
// src/components/navigation/app-layout-drawer.tsx
|
|
@@ -33896,6 +33929,21 @@ var AppLayoutDrawerRoot = ({
|
|
|
33896
33929
|
},
|
|
33897
33930
|
[isControlled, onOpenChange]
|
|
33898
33931
|
);
|
|
33932
|
+
const coordination = useAppLayoutDrawerCoordination();
|
|
33933
|
+
const openRef = React110.useRef(open);
|
|
33934
|
+
openRef.current = open;
|
|
33935
|
+
const handleOpenChangeRef = React110.useRef(handleOpenChange);
|
|
33936
|
+
handleOpenChangeRef.current = handleOpenChange;
|
|
33937
|
+
React110.useEffect(() => {
|
|
33938
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _660 => _660.notifyDrawerDidOpen, 'call', _661 => _661()]);
|
|
33939
|
+
}, [open, coordination]);
|
|
33940
|
+
React110.useEffect(() => {
|
|
33941
|
+
return _optionalChain([coordination, 'optionalAccess', _662 => _662.registerDrawer, 'call', _663 => _663({
|
|
33942
|
+
close: () => {
|
|
33943
|
+
if (openRef.current) handleOpenChangeRef.current(false);
|
|
33944
|
+
}
|
|
33945
|
+
})]);
|
|
33946
|
+
}, [coordination]);
|
|
33899
33947
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOpenContext.Provider, { value: open, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33900
33948
|
DialogPrimitive3.Root,
|
|
33901
33949
|
{
|
|
@@ -33911,7 +33959,7 @@ AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
|
33911
33959
|
var AppLayoutDrawerTrigger = DialogPrimitive3.Trigger;
|
|
33912
33960
|
var AppLayoutDrawerClose = DialogPrimitive3.Close;
|
|
33913
33961
|
var appLayoutDrawerVariants = _classvarianceauthority.cva.call(void 0,
|
|
33914
|
-
"absolute z-[
|
|
33962
|
+
"absolute z-[103] flex outline-none focus:outline-none focus-visible:outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-300",
|
|
33915
33963
|
{
|
|
33916
33964
|
variants: {
|
|
33917
33965
|
side: {
|
|
@@ -34245,7 +34293,8 @@ var AppLayoutDrawerContent = React110.forwardRef(
|
|
|
34245
34293
|
"aria-hidden": true,
|
|
34246
34294
|
"data-state": open ? "open" : "closed",
|
|
34247
34295
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
34248
|
-
"absolute inset-0 z-[
|
|
34296
|
+
"absolute inset-0 z-[102] outline-none data-[state=open]:pointer-events-auto data-[state=closed]:pointer-events-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
34297
|
+
OVERLAY_BACKDROP_CLASS,
|
|
34249
34298
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
34250
34299
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
34251
34300
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -34273,10 +34322,10 @@ var AppLayoutDrawerContent = React110.forwardRef(
|
|
|
34273
34322
|
),
|
|
34274
34323
|
style,
|
|
34275
34324
|
onInteractOutside: (event) => {
|
|
34276
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
34325
|
+
_optionalChain([onInteractOutside, 'optionalCall', _664 => _664(event)]);
|
|
34277
34326
|
if (event.defaultPrevented) return;
|
|
34278
34327
|
const target = event.target;
|
|
34279
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
34328
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _665 => _665.contains, 'call', _666 => _666(target)]);
|
|
34280
34329
|
if (!isInsideContainer) {
|
|
34281
34330
|
event.preventDefault();
|
|
34282
34331
|
return;
|
|
@@ -34689,7 +34738,7 @@ var ShellTypeBadge = ({
|
|
|
34689
34738
|
className,
|
|
34690
34739
|
iconClassName
|
|
34691
34740
|
}) => {
|
|
34692
|
-
const normalizedType = _optionalChain([shellType, 'optionalAccess',
|
|
34741
|
+
const normalizedType = _optionalChain([shellType, 'optionalAccess', _667 => _667.toUpperCase, 'call', _668 => _668()]);
|
|
34693
34742
|
const label = getShellLabel(normalizedType);
|
|
34694
34743
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
34695
34744
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
@@ -35076,12 +35125,12 @@ function OnboardingWalkthrough({
|
|
|
35076
35125
|
}
|
|
35077
35126
|
}, [state.completedSteps, markComplete]);
|
|
35078
35127
|
const handleStepSkip = (step) => {
|
|
35079
|
-
_optionalChain([step, 'access',
|
|
35128
|
+
_optionalChain([step, 'access', _669 => _669.onSkip, 'optionalCall', _670 => _670()]);
|
|
35080
35129
|
markSkipped(step.id);
|
|
35081
35130
|
};
|
|
35082
35131
|
const handleDismiss = () => {
|
|
35083
35132
|
dismissOnboarding();
|
|
35084
|
-
_optionalChain([onDismiss, 'optionalCall',
|
|
35133
|
+
_optionalChain([onDismiss, 'optionalCall', _671 => _671()]);
|
|
35085
35134
|
};
|
|
35086
35135
|
if (state.dismissed) {
|
|
35087
35136
|
return null;
|
|
@@ -35211,7 +35260,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
35211
35260
|
onKeyDown: (e) => {
|
|
35212
35261
|
if (e.key === "Enter" || e.key === " ") {
|
|
35213
35262
|
e.preventDefault();
|
|
35214
|
-
_optionalChain([onClick, 'optionalCall',
|
|
35263
|
+
_optionalChain([onClick, 'optionalCall', _672 => _672()]);
|
|
35215
35264
|
}
|
|
35216
35265
|
},
|
|
35217
35266
|
children: [
|
|
@@ -35312,7 +35361,7 @@ var LogsList = React114.forwardRef(({
|
|
|
35312
35361
|
log,
|
|
35313
35362
|
isLast: index === logs.length - 1,
|
|
35314
35363
|
showConnector,
|
|
35315
|
-
onClick: () => _optionalChain([onLogClick, 'optionalCall',
|
|
35364
|
+
onClick: () => _optionalChain([onLogClick, 'optionalCall', _673 => _673(log)])
|
|
35316
35365
|
},
|
|
35317
35366
|
log.id
|
|
35318
35367
|
))
|
|
@@ -35413,7 +35462,7 @@ var Slider = React116.forwardRef(
|
|
|
35413
35462
|
({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
|
|
35414
35463
|
const handleChange = (e) => {
|
|
35415
35464
|
const newValue = [Number(e.target.value)];
|
|
35416
|
-
_optionalChain([onValueChange, 'optionalCall',
|
|
35465
|
+
_optionalChain([onValueChange, 'optionalCall', _674 => _674(newValue)]);
|
|
35417
35466
|
};
|
|
35418
35467
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35419
35468
|
"input",
|
|
@@ -35844,7 +35893,7 @@ function CursorPaginationSimple({
|
|
|
35844
35893
|
{
|
|
35845
35894
|
variant: "transparent",
|
|
35846
35895
|
size: "icon",
|
|
35847
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
35896
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _675 => _675("")]),
|
|
35848
35897
|
disabled: !hasPreviousPage || loading,
|
|
35849
35898
|
className: "h-8 w-8",
|
|
35850
35899
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -35856,7 +35905,7 @@ function CursorPaginationSimple({
|
|
|
35856
35905
|
{
|
|
35857
35906
|
variant: "transparent",
|
|
35858
35907
|
size: "icon",
|
|
35859
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
35908
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _676 => _676("")]),
|
|
35860
35909
|
disabled: !hasNextPage || loading,
|
|
35861
35910
|
className: "h-8 w-8",
|
|
35862
35911
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -35876,8 +35925,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
|
|
|
35876
35925
|
icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
|
|
35877
35926
|
title: _nullishCoalesce(message2, () => ( "No results found")),
|
|
35878
35927
|
description: message2 == null ? "Try adjusting your search or filters" : void 0,
|
|
35879
|
-
buttonLabel: _optionalChain([action, 'optionalAccess',
|
|
35880
|
-
onButtonClick: _optionalChain([action, 'optionalAccess',
|
|
35928
|
+
buttonLabel: _optionalChain([action, 'optionalAccess', _677 => _677.label]),
|
|
35929
|
+
onButtonClick: _optionalChain([action, 'optionalAccess', _678 => _678.onClick]),
|
|
35881
35930
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
|
|
35882
35931
|
}
|
|
35883
35932
|
);
|
|
@@ -35898,7 +35947,7 @@ function TableColumnFilterDropdown({
|
|
|
35898
35947
|
placement = "bottom-start",
|
|
35899
35948
|
dropdownClassName = "min-w-[240px]"
|
|
35900
35949
|
}) {
|
|
35901
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
35950
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _679 => _679[columnKey], 'optionalAccess', _680 => _680.length]) || 0;
|
|
35902
35951
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35903
35952
|
FiltersDropdown,
|
|
35904
35953
|
{
|
|
@@ -35941,7 +35990,7 @@ function TableColumnFilterDropdown({
|
|
|
35941
35990
|
delete newFilters[columnKey];
|
|
35942
35991
|
onFilterChange(newFilters);
|
|
35943
35992
|
},
|
|
35944
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
35993
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _681 => _681[columnKey]]) || [] },
|
|
35945
35994
|
placement,
|
|
35946
35995
|
dropdownClassName
|
|
35947
35996
|
}
|
|
@@ -36151,7 +36200,7 @@ function TableCardSkeleton({
|
|
|
36151
36200
|
className,
|
|
36152
36201
|
rowClassName
|
|
36153
36202
|
}) {
|
|
36154
|
-
const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess',
|
|
36203
|
+
const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _682 => _682.key]);
|
|
36155
36204
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
36156
36205
|
"div",
|
|
36157
36206
|
{
|
|
@@ -36244,7 +36293,7 @@ function TableRow({
|
|
|
36244
36293
|
const keys = column.key.split(".");
|
|
36245
36294
|
let value = item;
|
|
36246
36295
|
for (const key of keys) {
|
|
36247
|
-
value = _optionalChain([value, 'optionalAccess',
|
|
36296
|
+
value = _optionalChain([value, 'optionalAccess', _683 => _683[key]]);
|
|
36248
36297
|
}
|
|
36249
36298
|
if (value === null || value === void 0) {
|
|
36250
36299
|
return "-";
|
|
@@ -36333,7 +36382,7 @@ function useTableMotion(enabled) {
|
|
|
36333
36382
|
// src/components/ui/table/table.tsx
|
|
36334
36383
|
|
|
36335
36384
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
36336
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
36385
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _684 => _684.length])) || Boolean(renderRowActions);
|
|
36337
36386
|
const result = [...columns];
|
|
36338
36387
|
if (hasActions) {
|
|
36339
36388
|
const actionsColumn = {
|
|
@@ -36429,7 +36478,7 @@ function Table({
|
|
|
36429
36478
|
return rowKey(item);
|
|
36430
36479
|
}
|
|
36431
36480
|
const key = item[rowKey];
|
|
36432
|
-
return _optionalChain([key, 'optionalAccess',
|
|
36481
|
+
return _optionalChain([key, 'optionalAccess', _685 => _685.toString, 'call', _686 => _686()]) || index.toString();
|
|
36433
36482
|
};
|
|
36434
36483
|
const getRowClassName = (item, index) => {
|
|
36435
36484
|
if (typeof rowClassName === "function") {
|
|
@@ -36463,23 +36512,23 @@ function Table({
|
|
|
36463
36512
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
36464
36513
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
36465
36514
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
36466
|
-
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess',
|
|
36467
|
-
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess',
|
|
36515
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _687 => _687.onLoadMore]));
|
|
36516
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _688 => _688.onLoadMore]);
|
|
36468
36517
|
_react.useEffect.call(void 0, () => {
|
|
36469
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
36518
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _689 => _689.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
|
|
36470
36519
|
const sentinel = sentinelRef.current;
|
|
36471
36520
|
if (!sentinel) return;
|
|
36472
36521
|
const observer = new IntersectionObserver(
|
|
36473
36522
|
(entries) => {
|
|
36474
|
-
if (_optionalChain([entries, 'access',
|
|
36475
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
36523
|
+
if (_optionalChain([entries, 'access', _690 => _690[0], 'optionalAccess', _691 => _691.isIntersecting])) {
|
|
36524
|
+
_optionalChain([onLoadMoreRef, 'access', _692 => _692.current, 'optionalCall', _693 => _693()]);
|
|
36476
36525
|
}
|
|
36477
36526
|
},
|
|
36478
36527
|
{ rootMargin: "200px" }
|
|
36479
36528
|
);
|
|
36480
36529
|
observer.observe(sentinel);
|
|
36481
36530
|
return () => observer.disconnect();
|
|
36482
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
36531
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _694 => _694.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _695 => _695.isFetchingNextPage])]);
|
|
36483
36532
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
|
|
36484
36533
|
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: [
|
|
36485
36534
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
|
|
@@ -36549,14 +36598,14 @@ function Table({
|
|
|
36549
36598
|
selected: isRowSelected(item),
|
|
36550
36599
|
onSelect: handleSelectRow,
|
|
36551
36600
|
animateRowReorder,
|
|
36552
|
-
motionDiv: _optionalChain([tableMotion, 'optionalAccess',
|
|
36601
|
+
motionDiv: _optionalChain([tableMotion, 'optionalAccess', _696 => _696.motionDiv])
|
|
36553
36602
|
},
|
|
36554
36603
|
getRowKey(item, index)
|
|
36555
36604
|
));
|
|
36556
|
-
const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess',
|
|
36605
|
+
const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _697 => _697.LayoutGroup]);
|
|
36557
36606
|
return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
|
|
36558
36607
|
})(),
|
|
36559
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
36608
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _698 => _698.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36560
36609
|
TableCardSkeleton,
|
|
36561
36610
|
{
|
|
36562
36611
|
columns,
|
|
@@ -36565,7 +36614,7 @@ function Table({
|
|
|
36565
36614
|
hasChevron: Boolean(rowHref)
|
|
36566
36615
|
}
|
|
36567
36616
|
),
|
|
36568
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
36617
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _699 => _699.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
36569
36618
|
!infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
36570
36619
|
"div",
|
|
36571
36620
|
{
|
|
@@ -36923,7 +36972,7 @@ function QueryReportTable({
|
|
|
36923
36972
|
);
|
|
36924
36973
|
const handleExport = () => {
|
|
36925
36974
|
exportToCSV(data, columns, exportFilename);
|
|
36926
|
-
_optionalChain([onExport, 'optionalCall',
|
|
36975
|
+
_optionalChain([onExport, 'optionalCall', _700 => _700()]);
|
|
36927
36976
|
};
|
|
36928
36977
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
36929
36978
|
const {
|
|
@@ -37096,7 +37145,7 @@ function DataTableColumnFilter({
|
|
|
37096
37145
|
align = "left"
|
|
37097
37146
|
}) {
|
|
37098
37147
|
const currentValue = column.getFilterValue();
|
|
37099
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
37148
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _701 => _701.length]), () => ( 0));
|
|
37100
37149
|
const sections = _react.useMemo.call(void 0,
|
|
37101
37150
|
() => [
|
|
37102
37151
|
{
|
|
@@ -37176,7 +37225,7 @@ function DataTableHeader({
|
|
|
37176
37225
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
37177
37226
|
if (header.isPlaceholder) return false;
|
|
37178
37227
|
if (isLgUp) return true;
|
|
37179
|
-
return Boolean(_optionalChain([header, 'access',
|
|
37228
|
+
return Boolean(_optionalChain([header, 'access', _702 => _702.column, 'access', _703 => _703.columnDef, 'access', _704 => _704.meta, 'optionalAccess', _705 => _705.filter]));
|
|
37180
37229
|
});
|
|
37181
37230
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37182
37231
|
"div",
|
|
@@ -37206,20 +37255,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
37206
37255
|
if (header.isPlaceholder) return null;
|
|
37207
37256
|
const column = header.column;
|
|
37208
37257
|
const meta = column.columnDef.meta;
|
|
37209
|
-
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess',
|
|
37210
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
37211
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
37212
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
37258
|
+
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _706 => _706.filter]));
|
|
37259
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _707 => _707.align]), () => ( "left"));
|
|
37260
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _708 => _708.sortable]) === true;
|
|
37261
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _709 => _709.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
37213
37262
|
if (!isLgUp && !hasFilter) return null;
|
|
37214
37263
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37215
37264
|
"div",
|
|
37216
37265
|
{
|
|
37217
37266
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37218
37267
|
"flex items-stretch",
|
|
37219
|
-
isLgUp && (_optionalChain([meta, 'optionalAccess',
|
|
37220
|
-
_optionalChain([meta, 'optionalAccess',
|
|
37268
|
+
isLgUp && (_optionalChain([meta, 'optionalAccess', _710 => _710.width]) || "flex-1 min-w-0"),
|
|
37269
|
+
_optionalChain([meta, 'optionalAccess', _711 => _711.headerClassName]),
|
|
37221
37270
|
// Don't apply hide classes if column is filterable on tablet (keep filter accessible)
|
|
37222
|
-
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
37271
|
+
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _712 => _712.hideAt]))
|
|
37223
37272
|
),
|
|
37224
37273
|
children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37225
37274
|
DataTableColumnFilter,
|
|
@@ -37238,7 +37287,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
37238
37287
|
isLgUp && alignJustify(align),
|
|
37239
37288
|
canSort && "group cursor-pointer"
|
|
37240
37289
|
),
|
|
37241
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
37290
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _713 => _713(column.id)]) : void 0,
|
|
37242
37291
|
children: [
|
|
37243
37292
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
37244
37293
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -37303,7 +37352,7 @@ function DataTableSkeleton({
|
|
|
37303
37352
|
}) {
|
|
37304
37353
|
const table = useDataTableContext();
|
|
37305
37354
|
const columns = table.getVisibleFlatColumns();
|
|
37306
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
37355
|
+
const firstColumnId = _optionalChain([columns, 'access', _714 => _714[0], 'optionalAccess', _715 => _715.id]);
|
|
37307
37356
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37308
37357
|
"div",
|
|
37309
37358
|
{
|
|
@@ -37327,7 +37376,7 @@ function DataTableSkeleton({
|
|
|
37327
37376
|
{
|
|
37328
37377
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37329
37378
|
"flex flex-col justify-center shrink-0",
|
|
37330
|
-
_optionalChain([meta, 'optionalAccess',
|
|
37379
|
+
_optionalChain([meta, 'optionalAccess', _716 => _716.width]) || "flex-1"
|
|
37331
37380
|
),
|
|
37332
37381
|
children: [
|
|
37333
37382
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
|
|
@@ -37376,7 +37425,7 @@ function DataTableRowImpl({
|
|
|
37376
37425
|
const handleClick = _react.useCallback.call(void 0,
|
|
37377
37426
|
(e) => {
|
|
37378
37427
|
const target = e.target;
|
|
37379
|
-
if (!_optionalChain([containerRef, 'access',
|
|
37428
|
+
if (!_optionalChain([containerRef, 'access', _717 => _717.current, 'optionalAccess', _718 => _718.contains, 'call', _719 => _719(target)])) {
|
|
37380
37429
|
if (isLinkMode) e.preventDefault();
|
|
37381
37430
|
return;
|
|
37382
37431
|
}
|
|
@@ -37384,7 +37433,7 @@ function DataTableRowImpl({
|
|
|
37384
37433
|
if (isLinkMode) e.preventDefault();
|
|
37385
37434
|
return;
|
|
37386
37435
|
}
|
|
37387
|
-
_optionalChain([onClick, 'optionalCall',
|
|
37436
|
+
_optionalChain([onClick, 'optionalCall', _720 => _720(row.original)]);
|
|
37388
37437
|
},
|
|
37389
37438
|
[onClick, row.original, isLinkMode]
|
|
37390
37439
|
);
|
|
@@ -37409,10 +37458,10 @@ function DataTableRowImpl({
|
|
|
37409
37458
|
{
|
|
37410
37459
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37411
37460
|
"flex flex-col overflow-hidden",
|
|
37412
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
37413
|
-
_optionalChain([meta, 'optionalAccess',
|
|
37414
|
-
_optionalChain([meta, 'optionalAccess',
|
|
37415
|
-
getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
37461
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _721 => _721.align])),
|
|
37462
|
+
_optionalChain([meta, 'optionalAccess', _722 => _722.width]) || "flex-1 min-w-0",
|
|
37463
|
+
_optionalChain([meta, 'optionalAccess', _723 => _723.cellClassName]),
|
|
37464
|
+
getHideClasses2(_optionalChain([meta, 'optionalAccess', _724 => _724.hideAt]))
|
|
37416
37465
|
),
|
|
37417
37466
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
37418
37467
|
},
|
|
@@ -37491,7 +37540,7 @@ function DataTableBody({
|
|
|
37491
37540
|
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: [
|
|
37492
37541
|
rows.map((row, index) => {
|
|
37493
37542
|
const item = row.original;
|
|
37494
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
37543
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _725 => _725(item)]), () => ( void 0));
|
|
37495
37544
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
37496
37545
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37497
37546
|
DataTableRow,
|
|
@@ -37501,7 +37550,7 @@ function DataTableBody({
|
|
|
37501
37550
|
href,
|
|
37502
37551
|
compact,
|
|
37503
37552
|
className: cls,
|
|
37504
|
-
subRow: _optionalChain([renderSubRow, 'optionalCall',
|
|
37553
|
+
subRow: _optionalChain([renderSubRow, 'optionalCall', _726 => _726(item)])
|
|
37505
37554
|
},
|
|
37506
37555
|
row.id
|
|
37507
37556
|
);
|
|
@@ -37556,7 +37605,7 @@ function DataTableInfiniteFooter({
|
|
|
37556
37605
|
if (!sentinel) return;
|
|
37557
37606
|
const observer = new IntersectionObserver(
|
|
37558
37607
|
(entries) => {
|
|
37559
|
-
if (_optionalChain([entries, 'access',
|
|
37608
|
+
if (_optionalChain([entries, 'access', _727 => _727[0], 'optionalAccess', _728 => _728.isIntersecting])) onLoadMoreRef.current();
|
|
37560
37609
|
},
|
|
37561
37610
|
{ rootMargin }
|
|
37562
37611
|
);
|
|
@@ -37604,7 +37653,7 @@ function DataTableRowCount({
|
|
|
37604
37653
|
const table = useDataTableContext();
|
|
37605
37654
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
37606
37655
|
if (hideWhenEmpty && count === 0) return null;
|
|
37607
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
37656
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _729 => _729(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
37608
37657
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37609
37658
|
"span",
|
|
37610
37659
|
{
|
|
@@ -37763,7 +37812,7 @@ function SearchInput({
|
|
|
37763
37812
|
if (!showHiddenTags) return;
|
|
37764
37813
|
const handleClick = (e) => {
|
|
37765
37814
|
const target = e.target;
|
|
37766
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
37815
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _730 => _730.current, 'optionalAccess', _731 => _731.contains, 'call', _732 => _732(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _733 => _733.current, 'optionalAccess', _734 => _734.contains, 'call', _735 => _735(target)])) {
|
|
37767
37816
|
setShowHiddenTags(false);
|
|
37768
37817
|
}
|
|
37769
37818
|
};
|
|
@@ -37811,10 +37860,10 @@ function SearchInput({
|
|
|
37811
37860
|
} else {
|
|
37812
37861
|
setInternalValue("");
|
|
37813
37862
|
}
|
|
37814
|
-
_optionalChain([inputRef, 'access',
|
|
37863
|
+
_optionalChain([inputRef, 'access', _736 => _736.current, 'optionalAccess', _737 => _737.focus, 'call', _738 => _738()]);
|
|
37815
37864
|
};
|
|
37816
37865
|
const handleResultClick = (result, e) => {
|
|
37817
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
37866
|
+
_optionalChain([onResultSelect, 'optionalCall', _739 => _739(
|
|
37818
37867
|
result,
|
|
37819
37868
|
e ? {
|
|
37820
37869
|
metaKey: e.metaKey,
|
|
@@ -37846,7 +37895,7 @@ function SearchInput({
|
|
|
37846
37895
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
37847
37896
|
handleResultClick(flatResults[highlightedIndex]);
|
|
37848
37897
|
} else {
|
|
37849
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
37898
|
+
_optionalChain([onSubmit, 'optionalCall', _740 => _740(currentValue)]);
|
|
37850
37899
|
}
|
|
37851
37900
|
break;
|
|
37852
37901
|
case "Escape":
|
|
@@ -37924,7 +37973,7 @@ function SearchInput({
|
|
|
37924
37973
|
dropdownVisible && "!border-ods-accent"
|
|
37925
37974
|
),
|
|
37926
37975
|
onClick: () => {
|
|
37927
|
-
_optionalChain([inputRef, 'access',
|
|
37976
|
+
_optionalChain([inputRef, 'access', _741 => _741.current, 'optionalAccess', _742 => _742.focus, 'call', _743 => _743()]);
|
|
37928
37977
|
setIsOpen(true);
|
|
37929
37978
|
},
|
|
37930
37979
|
children: [
|
|
@@ -38008,10 +38057,10 @@ function SearchInput({
|
|
|
38008
38057
|
align: "start",
|
|
38009
38058
|
onOpenAutoFocus: (e) => {
|
|
38010
38059
|
e.preventDefault();
|
|
38011
|
-
_optionalChain([inputRef, 'access',
|
|
38060
|
+
_optionalChain([inputRef, 'access', _744 => _744.current, 'optionalAccess', _745 => _745.focus, 'call', _746 => _746()]);
|
|
38012
38061
|
},
|
|
38013
38062
|
onInteractOutside: (e) => {
|
|
38014
|
-
if (_optionalChain([containerRef, 'access',
|
|
38063
|
+
if (_optionalChain([containerRef, 'access', _747 => _747.current, 'optionalAccess', _748 => _748.contains, 'call', _749 => _749(e.target)])) {
|
|
38015
38064
|
e.preventDefault();
|
|
38016
38065
|
}
|
|
38017
38066
|
},
|
|
@@ -38028,10 +38077,10 @@ function SearchInput({
|
|
|
38028
38077
|
ref: hiddenTagsPopupRef,
|
|
38029
38078
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
38030
38079
|
style: {
|
|
38031
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
38080
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _750 => _750.current, 'optionalAccess', _751 => _751.getBoundingClientRect, 'call', _752 => _752(), 'access', _753 => _753.left]), () => ( 0))) : 0
|
|
38032
38081
|
},
|
|
38033
38082
|
onRemove: (value2) => {
|
|
38034
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
38083
|
+
_optionalChain([onFilterRemove, 'optionalCall', _754 => _754(value2)]);
|
|
38035
38084
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
38036
38085
|
}
|
|
38037
38086
|
}
|
|
@@ -38082,7 +38131,7 @@ function FilterListItem({
|
|
|
38082
38131
|
}) {
|
|
38083
38132
|
const handleToggle = () => {
|
|
38084
38133
|
if (disabled) return;
|
|
38085
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
38134
|
+
_optionalChain([onToggle, 'optionalCall', _755 => _755(!selected)]);
|
|
38086
38135
|
};
|
|
38087
38136
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38088
38137
|
"div",
|
|
@@ -38129,7 +38178,7 @@ function FilterListItem({
|
|
|
38129
38178
|
CheckboxPrimitive4.Root,
|
|
38130
38179
|
{
|
|
38131
38180
|
checked: selected,
|
|
38132
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
38181
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _756 => _756(c === true)]),
|
|
38133
38182
|
onClick: (e) => e.stopPropagation(),
|
|
38134
38183
|
disabled,
|
|
38135
38184
|
"aria-label": title,
|
|
@@ -38228,7 +38277,7 @@ function TagSearchInput({
|
|
|
38228
38277
|
if (!showHiddenTags) return;
|
|
38229
38278
|
const handleClick = (e) => {
|
|
38230
38279
|
const target = e.target;
|
|
38231
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
38280
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _757 => _757.current, 'optionalAccess', _758 => _758.contains, 'call', _759 => _759(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _760 => _760.current, 'optionalAccess', _761 => _761.contains, 'call', _762 => _762(target)])) {
|
|
38232
38281
|
setShowHiddenTags(false);
|
|
38233
38282
|
}
|
|
38234
38283
|
};
|
|
@@ -38244,13 +38293,13 @@ function TagSearchInput({
|
|
|
38244
38293
|
e.preventDefault();
|
|
38245
38294
|
onSubmit(searchValue);
|
|
38246
38295
|
}
|
|
38247
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
38296
|
+
_optionalChain([onKeyDown, 'optionalCall', _763 => _763(e)]);
|
|
38248
38297
|
};
|
|
38249
38298
|
const handleClearAll = (e) => {
|
|
38250
38299
|
e.stopPropagation();
|
|
38251
38300
|
e.preventDefault();
|
|
38252
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
38253
|
-
_optionalChain([inputRef, 'access',
|
|
38301
|
+
_optionalChain([onClearAll, 'optionalCall', _764 => _764()]);
|
|
38302
|
+
_optionalChain([inputRef, 'access', _765 => _765.current, 'optionalAccess', _766 => _766.focus, 'call', _767 => _767()]);
|
|
38254
38303
|
};
|
|
38255
38304
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
38256
38305
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -38267,7 +38316,7 @@ function TagSearchInput({
|
|
|
38267
38316
|
className
|
|
38268
38317
|
),
|
|
38269
38318
|
onClick: () => {
|
|
38270
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
38319
|
+
if (!disabled) _optionalChain([inputRef, 'access', _768 => _768.current, 'optionalAccess', _769 => _769.focus, 'call', _770 => _770()]);
|
|
38271
38320
|
},
|
|
38272
38321
|
children: [
|
|
38273
38322
|
/* @__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" }) }),
|
|
@@ -38339,7 +38388,7 @@ function TagSearchInput({
|
|
|
38339
38388
|
items: hiddenTags,
|
|
38340
38389
|
disabled,
|
|
38341
38390
|
style: {
|
|
38342
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
38391
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _771 => _771.current, 'optionalAccess', _772 => _772.getBoundingClientRect, 'call', _773 => _773(), 'access', _774 => _774.left]), () => ( 0))) : 0
|
|
38343
38392
|
},
|
|
38344
38393
|
onRemove: (value) => {
|
|
38345
38394
|
onTagRemove(value);
|
|
@@ -38440,7 +38489,7 @@ function MarkdownEditor({
|
|
|
38440
38489
|
const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
|
|
38441
38490
|
_react.useEffect.call(void 0, () => {
|
|
38442
38491
|
Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
|
|
38443
|
-
if (_optionalChain([mod, 'access',
|
|
38492
|
+
if (_optionalChain([mod, 'access', _775 => _775.commands, 'optionalAccess', _776 => _776.getExtraCommands])) {
|
|
38444
38493
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
38445
38494
|
}
|
|
38446
38495
|
});
|
|
@@ -38474,7 +38523,7 @@ function MarkdownEditor({
|
|
|
38474
38523
|
const isImage = file.type.startsWith("image/");
|
|
38475
38524
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
38476
38525
|
insertTextAtCursor(markdown);
|
|
38477
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
38526
|
+
_optionalChain([onFileUploaded, 'optionalCall', _777 => _777(url, file.name)]);
|
|
38478
38527
|
} catch (error) {
|
|
38479
38528
|
console.error("File upload failed:", error);
|
|
38480
38529
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -38487,7 +38536,7 @@ function MarkdownEditor({
|
|
|
38487
38536
|
);
|
|
38488
38537
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
38489
38538
|
(e) => {
|
|
38490
|
-
const file = _optionalChain([e, 'access',
|
|
38539
|
+
const file = _optionalChain([e, 'access', _778 => _778.target, 'access', _779 => _779.files, 'optionalAccess', _780 => _780[0]]);
|
|
38491
38540
|
if (file) {
|
|
38492
38541
|
handleFileUpload(file);
|
|
38493
38542
|
e.target.value = "";
|
|
@@ -38498,7 +38547,7 @@ function MarkdownEditor({
|
|
|
38498
38547
|
const handlePaste = _react.useCallback.call(void 0,
|
|
38499
38548
|
(e) => {
|
|
38500
38549
|
if (!onUploadFile) return;
|
|
38501
|
-
const items = _optionalChain([e, 'access',
|
|
38550
|
+
const items = _optionalChain([e, 'access', _781 => _781.clipboardData, 'optionalAccess', _782 => _782.items]);
|
|
38502
38551
|
if (!items) return;
|
|
38503
38552
|
for (const item of items) {
|
|
38504
38553
|
if (item.type.startsWith("image/")) {
|
|
@@ -38523,7 +38572,7 @@ function MarkdownEditor({
|
|
|
38523
38572
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
38524
38573
|
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" }),
|
|
38525
38574
|
execute: () => {
|
|
38526
|
-
_optionalChain([fileInputRef, 'access',
|
|
38575
|
+
_optionalChain([fileInputRef, 'access', _783 => _783.current, 'optionalAccess', _784 => _784.click, 'call', _785 => _785()]);
|
|
38527
38576
|
}
|
|
38528
38577
|
} : null;
|
|
38529
38578
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -38535,7 +38584,7 @@ function MarkdownEditor({
|
|
|
38535
38584
|
const EDGE_ZONE = 60;
|
|
38536
38585
|
const MAX_SCROLL_SPEED = 15;
|
|
38537
38586
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
38538
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
38587
|
+
let node = _optionalChain([el, 'optionalAccess', _786 => _786.parentElement]);
|
|
38539
38588
|
while (node && node !== document.documentElement) {
|
|
38540
38589
|
const { overflowY } = window.getComputedStyle(node);
|
|
38541
38590
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -38678,7 +38727,7 @@ function matchesAccept(file, accept) {
|
|
|
38678
38727
|
});
|
|
38679
38728
|
}
|
|
38680
38729
|
function dragHasFiles(e) {
|
|
38681
|
-
const types = _optionalChain([e, 'access',
|
|
38730
|
+
const types = _optionalChain([e, 'access', _787 => _787.dataTransfer, 'optionalAccess', _788 => _788.types]);
|
|
38682
38731
|
if (!types) return false;
|
|
38683
38732
|
for (let i = 0; i < types.length; i++) {
|
|
38684
38733
|
if (types[i] === "Files") return true;
|
|
@@ -38774,7 +38823,7 @@ function FileUpload({
|
|
|
38774
38823
|
e.stopPropagation();
|
|
38775
38824
|
setDragActive(false);
|
|
38776
38825
|
if (disabled) return;
|
|
38777
|
-
if (_optionalChain([e, 'access',
|
|
38826
|
+
if (_optionalChain([e, 'access', _789 => _789.dataTransfer, 'access', _790 => _790.files, 'optionalAccess', _791 => _791.length])) {
|
|
38778
38827
|
handleFiles(e.dataTransfer.files);
|
|
38779
38828
|
}
|
|
38780
38829
|
};
|
|
@@ -38802,7 +38851,7 @@ function FileUpload({
|
|
|
38802
38851
|
e.preventDefault();
|
|
38803
38852
|
dragCounter = 0;
|
|
38804
38853
|
setDragActive(false);
|
|
38805
|
-
if (_optionalChain([e, 'access',
|
|
38854
|
+
if (_optionalChain([e, 'access', _792 => _792.dataTransfer, 'optionalAccess', _793 => _793.files, 'optionalAccess', _794 => _794.length])) {
|
|
38806
38855
|
handleFilesRef.current(e.dataTransfer.files);
|
|
38807
38856
|
}
|
|
38808
38857
|
};
|
|
@@ -38824,7 +38873,7 @@ function FileUpload({
|
|
|
38824
38873
|
};
|
|
38825
38874
|
}, [acceptWindowDrops, disabled]);
|
|
38826
38875
|
const handleFileSelect = (e) => {
|
|
38827
|
-
if (_optionalChain([e, 'access',
|
|
38876
|
+
if (_optionalChain([e, 'access', _795 => _795.target, 'access', _796 => _796.files, 'optionalAccess', _797 => _797.length])) {
|
|
38828
38877
|
handleFiles(e.target.files);
|
|
38829
38878
|
}
|
|
38830
38879
|
};
|
|
@@ -38841,7 +38890,7 @@ function FileUpload({
|
|
|
38841
38890
|
};
|
|
38842
38891
|
const openDialog = async () => {
|
|
38843
38892
|
if (disabled) return;
|
|
38844
|
-
_optionalChain([fileInputRef, 'access',
|
|
38893
|
+
_optionalChain([fileInputRef, 'access', _798 => _798.current, 'optionalAccess', _799 => _799.click, 'call', _800 => _800()]);
|
|
38845
38894
|
};
|
|
38846
38895
|
const displayError = error || validationError || void 0;
|
|
38847
38896
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
@@ -38903,7 +38952,7 @@ function FileUpload({
|
|
|
38903
38952
|
"button",
|
|
38904
38953
|
{
|
|
38905
38954
|
type: "button",
|
|
38906
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
38955
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _801 => _801(entry.id)]),
|
|
38907
38956
|
className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
|
|
38908
38957
|
"aria-label": `Remove ${entry.fileName}`,
|
|
38909
38958
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.TrashIcon, { className: "size-6" })
|
|
@@ -39034,7 +39083,7 @@ function ImageUploader({
|
|
|
39034
39083
|
onChange(file);
|
|
39035
39084
|
};
|
|
39036
39085
|
const handleFileSelect = (e) => {
|
|
39037
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
39086
|
+
validateAndEmit(_optionalChain([e, 'access', _802 => _802.target, 'access', _803 => _803.files, 'optionalAccess', _804 => _804[0]]));
|
|
39038
39087
|
if (inputRef.current) inputRef.current.value = "";
|
|
39039
39088
|
};
|
|
39040
39089
|
const handleDrag = (e) => {
|
|
@@ -39049,11 +39098,11 @@ function ImageUploader({
|
|
|
39049
39098
|
e.stopPropagation();
|
|
39050
39099
|
setDragActive(false);
|
|
39051
39100
|
if (!interactive) return;
|
|
39052
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
39101
|
+
validateAndEmit(_optionalChain([e, 'access', _805 => _805.dataTransfer, 'access', _806 => _806.files, 'optionalAccess', _807 => _807[0]]));
|
|
39053
39102
|
};
|
|
39054
39103
|
const openDialog = () => {
|
|
39055
39104
|
if (!interactive) return;
|
|
39056
|
-
_optionalChain([inputRef, 'access',
|
|
39105
|
+
_optionalChain([inputRef, 'access', _808 => _808.current, 'optionalAccess', _809 => _809.click, 'call', _810 => _810()]);
|
|
39057
39106
|
};
|
|
39058
39107
|
const handleRootKeyDown = (e) => {
|
|
39059
39108
|
if (hasImage || !interactive) return;
|
|
@@ -39244,8 +39293,8 @@ function ColorPresetSelect({
|
|
|
39244
39293
|
}) {
|
|
39245
39294
|
const selectedPreset = presets.find((p) => p.key === presetKey);
|
|
39246
39295
|
const isCustom = !selectedPreset;
|
|
39247
|
-
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
39248
|
-
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
39296
|
+
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _811 => _811.label]), () => ( "Custom"));
|
|
39297
|
+
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _812 => _812.color]), () => ( value));
|
|
39249
39298
|
const groups = [
|
|
39250
39299
|
{
|
|
39251
39300
|
items: [
|
|
@@ -39535,7 +39584,7 @@ function TicketStatusConfigRow({
|
|
|
39535
39584
|
_chunkQJGRP2YEcjs.Input,
|
|
39536
39585
|
{
|
|
39537
39586
|
value: name,
|
|
39538
|
-
onChange: (e) => _optionalChain([onNameChange, 'optionalCall',
|
|
39587
|
+
onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _813 => _813(e.target.value)]),
|
|
39539
39588
|
disabled: isSystem,
|
|
39540
39589
|
readOnly: isSystem,
|
|
39541
39590
|
"aria-label": "Status name",
|
|
@@ -39908,14 +39957,14 @@ function TicketInfoSection({
|
|
|
39908
39957
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39909
39958
|
SquareAvatar,
|
|
39910
39959
|
{
|
|
39911
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
39912
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
39913
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
39960
|
+
src: _optionalChain([organization, 'optionalAccess', _814 => _814.imageSrc]),
|
|
39961
|
+
alt: _optionalChain([organization, 'optionalAccess', _815 => _815.name]),
|
|
39962
|
+
fallback: _optionalChain([organization, 'optionalAccess', _816 => _816.name]) || "Org",
|
|
39914
39963
|
size: "md",
|
|
39915
39964
|
className: "shrink-0"
|
|
39916
39965
|
}
|
|
39917
39966
|
),
|
|
39918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess',
|
|
39967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _817 => _817.name]) || "Unassigned", label: "Organization" })
|
|
39919
39968
|
] }),
|
|
39920
39969
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39921
39970
|
AssigneeDropdown,
|
|
@@ -39936,10 +39985,10 @@ function TicketInfoSection({
|
|
|
39936
39985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39937
39986
|
InfoCell2,
|
|
39938
39987
|
{
|
|
39939
|
-
value: _optionalChain([device, 'optionalAccess',
|
|
39988
|
+
value: _optionalChain([device, 'optionalAccess', _818 => _818.name]) || "Unassigned",
|
|
39940
39989
|
label: "Device",
|
|
39941
|
-
icon: _optionalChain([device, 'optionalAccess',
|
|
39942
|
-
onClick: _optionalChain([device, 'optionalAccess',
|
|
39990
|
+
icon: _optionalChain([device, 'optionalAccess', _819 => _819.icon]),
|
|
39991
|
+
onClick: _optionalChain([device, 'optionalAccess', _820 => _820.onClick])
|
|
39943
39992
|
}
|
|
39944
39993
|
),
|
|
39945
39994
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
|
|
@@ -40269,7 +40318,7 @@ function RoadmapCard({
|
|
|
40269
40318
|
const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
|
|
40270
40319
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
40271
40320
|
const hasFigma = !!item.figmaUrl;
|
|
40272
|
-
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access',
|
|
40321
|
+
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _821 => _821.screenshots, 'optionalAccess', _822 => _822.length]), () => ( 0))) > 0;
|
|
40273
40322
|
const typeLabel = getTaskTypeLabel(item.customItemId);
|
|
40274
40323
|
const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
|
|
40275
40324
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -40288,7 +40337,7 @@ function RoadmapCard({
|
|
|
40288
40337
|
unoptimized: true,
|
|
40289
40338
|
className: "h-8 w-8 object-contain"
|
|
40290
40339
|
}
|
|
40291
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
40340
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _823 => _823.title, 'optionalAccess', _824 => _824.substring, 'call', _825 => _825(0, 2)]) || "??" })
|
|
40292
40341
|
}
|
|
40293
40342
|
),
|
|
40294
40343
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -40363,7 +40412,7 @@ function RoadmapCard({
|
|
|
40363
40412
|
unoptimized: true,
|
|
40364
40413
|
className: "object-contain p-1"
|
|
40365
40414
|
}
|
|
40366
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
40415
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _826 => _826.title, 'optionalAccess', _827 => _827.substring, 'call', _828 => _828(0, 2)]) || "??" }) }),
|
|
40367
40416
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
|
|
40368
40417
|
/* @__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 }) }),
|
|
40369
40418
|
/* @__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: [
|
|
@@ -40873,7 +40922,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
40873
40922
|
] }) : null,
|
|
40874
40923
|
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
|
|
40875
40924
|
] }),
|
|
40876
|
-
_optionalChain([anchorProps, 'optionalAccess',
|
|
40925
|
+
_optionalChain([anchorProps, 'optionalAccess', _829 => _829.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
|
|
40877
40926
|
] });
|
|
40878
40927
|
if (!anchorProps) {
|
|
40879
40928
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
@@ -40943,7 +40992,7 @@ function getDefaultOptions() {
|
|
|
40943
40992
|
// node_modules/date-fns/startOfWeek.mjs
|
|
40944
40993
|
function startOfWeek(date, options) {
|
|
40945
40994
|
const defaultOptions2 = getDefaultOptions();
|
|
40946
|
-
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
40995
|
+
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _830 => _830.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _831 => _831.locale, 'optionalAccess', _832 => _832.options, 'optionalAccess', _833 => _833.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _834 => _834.locale, 'optionalAccess', _835 => _835.options, 'optionalAccess', _836 => _836.weekStartsOn]))), () => ( 0));
|
|
40947
40996
|
const _date = toDate(date);
|
|
40948
40997
|
const day = _date.getDay();
|
|
40949
40998
|
const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
@@ -41118,7 +41167,7 @@ var formatDistance = (token, count, options) => {
|
|
|
41118
41167
|
} else {
|
|
41119
41168
|
result = tokenValue.other.replace("{{count}}", count.toString());
|
|
41120
41169
|
}
|
|
41121
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
41170
|
+
if (_optionalChain([options, 'optionalAccess', _837 => _837.addSuffix])) {
|
|
41122
41171
|
if (options.comparison && options.comparison > 0) {
|
|
41123
41172
|
return "in " + result;
|
|
41124
41173
|
} else {
|
|
@@ -41185,15 +41234,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
|
|
|
41185
41234
|
// node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
|
|
41186
41235
|
function buildLocalizeFn(args) {
|
|
41187
41236
|
return (value, options) => {
|
|
41188
|
-
const context = _optionalChain([options, 'optionalAccess',
|
|
41237
|
+
const context = _optionalChain([options, 'optionalAccess', _838 => _838.context]) ? String(options.context) : "standalone";
|
|
41189
41238
|
let valuesArray;
|
|
41190
41239
|
if (context === "formatting" && args.formattingValues) {
|
|
41191
41240
|
const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
|
41192
|
-
const width = _optionalChain([options, 'optionalAccess',
|
|
41241
|
+
const width = _optionalChain([options, 'optionalAccess', _839 => _839.width]) ? String(options.width) : defaultWidth;
|
|
41193
41242
|
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
|
41194
41243
|
} else {
|
|
41195
41244
|
const defaultWidth = args.defaultWidth;
|
|
41196
|
-
const width = _optionalChain([options, 'optionalAccess',
|
|
41245
|
+
const width = _optionalChain([options, 'optionalAccess', _840 => _840.width]) ? String(options.width) : args.defaultWidth;
|
|
41197
41246
|
valuesArray = args.values[width] || args.values[defaultWidth];
|
|
41198
41247
|
}
|
|
41199
41248
|
const index = args.argumentCallback ? args.argumentCallback(value) : value;
|
|
@@ -41573,7 +41622,7 @@ function getWeekYear(date, options) {
|
|
|
41573
41622
|
const _date = toDate(date);
|
|
41574
41623
|
const year = _date.getFullYear();
|
|
41575
41624
|
const defaultOptions2 = getDefaultOptions();
|
|
41576
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
41625
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _841 => _841.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _842 => _842.locale, 'optionalAccess', _843 => _843.options, 'optionalAccess', _844 => _844.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _845 => _845.locale, 'optionalAccess', _846 => _846.options, 'optionalAccess', _847 => _847.firstWeekContainsDate]))), () => ( 1));
|
|
41577
41626
|
const firstWeekOfNextYear = constructFrom(date, 0);
|
|
41578
41627
|
firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
|
|
41579
41628
|
firstWeekOfNextYear.setHours(0, 0, 0, 0);
|
|
@@ -41594,7 +41643,7 @@ function getWeekYear(date, options) {
|
|
|
41594
41643
|
// node_modules/date-fns/startOfWeekYear.mjs
|
|
41595
41644
|
function startOfWeekYear(date, options) {
|
|
41596
41645
|
const defaultOptions2 = getDefaultOptions();
|
|
41597
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
41646
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _848 => _848.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _849 => _849.locale, 'optionalAccess', _850 => _850.options, 'optionalAccess', _851 => _851.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _852 => _852.locale, 'optionalAccess', _853 => _853.options, 'optionalAccess', _854 => _854.firstWeekContainsDate]))), () => ( 1));
|
|
41598
41647
|
const year = getWeekYear(date, options);
|
|
41599
41648
|
const firstWeek = constructFrom(date, 0);
|
|
41600
41649
|
firstWeek.setFullYear(year, 0, firstWeekContainsDate);
|
|
@@ -42409,9 +42458,9 @@ var doubleQuoteRegExp = /''/g;
|
|
|
42409
42458
|
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
42410
42459
|
function format(date, formatStr, options) {
|
|
42411
42460
|
const defaultOptions2 = getDefaultOptions();
|
|
42412
|
-
const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
42413
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
42414
|
-
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
42461
|
+
const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _855 => _855.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
|
|
42462
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _856 => _856.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _857 => _857.locale, 'optionalAccess', _858 => _858.options, 'optionalAccess', _859 => _859.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _860 => _860.locale, 'optionalAccess', _861 => _861.options, 'optionalAccess', _862 => _862.firstWeekContainsDate]))), () => ( 1));
|
|
42463
|
+
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _863 => _863.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _864 => _864.locale, 'optionalAccess', _865 => _865.options, 'optionalAccess', _866 => _866.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _867 => _867.locale, 'optionalAccess', _868 => _868.options, 'optionalAccess', _869 => _869.weekStartsOn]))), () => ( 0));
|
|
42415
42464
|
const originalDate = toDate(date);
|
|
42416
42465
|
if (!isValid(originalDate)) {
|
|
42417
42466
|
throw new RangeError("Invalid time value");
|
|
@@ -42452,7 +42501,7 @@ function format(date, formatStr, options) {
|
|
|
42452
42501
|
return parts.map((part) => {
|
|
42453
42502
|
if (!part.isToken) return part.value;
|
|
42454
42503
|
const token = part.value;
|
|
42455
|
-
if (!_optionalChain([options, 'optionalAccess',
|
|
42504
|
+
if (!_optionalChain([options, 'optionalAccess', _870 => _870.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _871 => _871.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
|
|
42456
42505
|
warnOrThrowProtectedError(token, formatStr, String(date));
|
|
42457
42506
|
}
|
|
42458
42507
|
const formatter = formatters[token[0]];
|
|
@@ -42633,7 +42682,7 @@ function ProgramCard({
|
|
|
42633
42682
|
const dur = formatDurationFromRange(w.start_at, w.end_at);
|
|
42634
42683
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
42635
42684
|
}
|
|
42636
|
-
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access',
|
|
42685
|
+
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _872 => _872.labels, 'optionalAccess', _873 => _873.singular])].filter(
|
|
42637
42686
|
(s) => typeof s === "string" && s.length > 0
|
|
42638
42687
|
);
|
|
42639
42688
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
|
|
@@ -42790,7 +42839,7 @@ function ProgramCard({
|
|
|
42790
42839
|
|
|
42791
42840
|
|
|
42792
42841
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
42793
|
-
const goalsCount = _optionalChain([campaign, 'access',
|
|
42842
|
+
const goalsCount = _optionalChain([campaign, 'access', _874 => _874.goals, 'optionalAccess', _875 => _875.length]) || 0;
|
|
42794
42843
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
42795
42844
|
/* @__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" }) }),
|
|
42796
42845
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -42952,7 +43001,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
42952
43001
|
if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
|
|
42953
43002
|
const safePath = sanitizePath(row.path);
|
|
42954
43003
|
if (safePath) {
|
|
42955
|
-
const docTarget = row.documentType ? _optionalChain([ctx, 'access',
|
|
43004
|
+
const docTarget = row.documentType ? _optionalChain([ctx, 'access', _876 => _876.docPlatformTargets, 'optionalAccess', _877 => _877[row.documentType]]) : void 0;
|
|
42956
43005
|
if (docTarget) {
|
|
42957
43006
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
42958
43007
|
const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
@@ -43167,8 +43216,8 @@ function cardMenuGroups(href, discuss, openDetails) {
|
|
|
43167
43216
|
if (href) {
|
|
43168
43217
|
items.push({
|
|
43169
43218
|
id: "open-details",
|
|
43170
|
-
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess',
|
|
43171
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess',
|
|
43219
|
+
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _878 => _878.label]), () => ( "Open Details")),
|
|
43220
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _879 => _879.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.EyeIcon, { size: 20 }))),
|
|
43172
43221
|
// Main row → open the entity (same tab, soft Link nav).
|
|
43173
43222
|
href,
|
|
43174
43223
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
@@ -43198,8 +43247,8 @@ function HubspotTicketChatCard({
|
|
|
43198
43247
|
isNewTab,
|
|
43199
43248
|
discuss
|
|
43200
43249
|
}) {
|
|
43201
|
-
const status = typeof _optionalChain([chatRef, 'access',
|
|
43202
|
-
const statusLabel = typeof _optionalChain([chatRef, 'access',
|
|
43250
|
+
const status = typeof _optionalChain([chatRef, 'access', _880 => _880.metadata, 'optionalAccess', _881 => _881.status]) === "string" ? chatRef.metadata.status : void 0;
|
|
43251
|
+
const statusLabel = typeof _optionalChain([chatRef, 'access', _882 => _882.metadata, 'optionalAccess', _883 => _883.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
|
|
43203
43252
|
const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
|
|
43204
43253
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43205
43254
|
MingoInfoCard,
|
|
@@ -43222,7 +43271,7 @@ function FaqChatCard({
|
|
|
43222
43271
|
isNewTab,
|
|
43223
43272
|
discuss
|
|
43224
43273
|
}) {
|
|
43225
|
-
const section = typeof _optionalChain([chatRef, 'access',
|
|
43274
|
+
const section = typeof _optionalChain([chatRef, 'access', _884 => _884.metadata, 'optionalAccess', _885 => _885.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
|
|
43226
43275
|
const statusLabel = section && section.length > 0 ? section : "FAQ";
|
|
43227
43276
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43228
43277
|
MingoInfoCard,
|
|
@@ -43242,7 +43291,7 @@ function SlackChatCard({
|
|
|
43242
43291
|
isNewTab,
|
|
43243
43292
|
discuss
|
|
43244
43293
|
}) {
|
|
43245
|
-
const channelName = typeof _optionalChain([chatRef, 'access',
|
|
43294
|
+
const channelName = typeof _optionalChain([chatRef, 'access', _886 => _886.metadata, 'optionalAccess', _887 => _887.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
|
|
43246
43295
|
const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
|
|
43247
43296
|
const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
|
|
43248
43297
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -43282,7 +43331,7 @@ function GenericFinancialChatCard({
|
|
|
43282
43331
|
isNewTab,
|
|
43283
43332
|
discuss
|
|
43284
43333
|
}) {
|
|
43285
|
-
const subtitle = typeof _optionalChain([chatRef, 'access',
|
|
43334
|
+
const subtitle = typeof _optionalChain([chatRef, 'access', _888 => _888.metadata, 'optionalAccess', _889 => _889.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
|
|
43286
43335
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43287
43336
|
MingoInfoCard,
|
|
43288
43337
|
{
|
|
@@ -43351,12 +43400,12 @@ function ProductReleaseChatCard({
|
|
|
43351
43400
|
discuss
|
|
43352
43401
|
}) {
|
|
43353
43402
|
const releaseProps = buildProps(item);
|
|
43354
|
-
const status = _optionalChain([item, 'optionalAccess',
|
|
43403
|
+
const status = _optionalChain([item, 'optionalAccess', _890 => _890.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
|
|
43355
43404
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43356
43405
|
EntityMingoCard,
|
|
43357
43406
|
{
|
|
43358
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43359
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
43407
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _891 => _891.title]), () => ( "")),
|
|
43408
|
+
description: _optionalChain([item, 'optionalAccess', _892 => _892.summary]) || releaseProps.formattedDate || void 0,
|
|
43360
43409
|
cover: releaseProps.coverImage || void 0,
|
|
43361
43410
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.Rocket02Icon, { size: 24 }),
|
|
43362
43411
|
status,
|
|
@@ -43373,17 +43422,17 @@ function CampaignChatCard({
|
|
|
43373
43422
|
isNewTab,
|
|
43374
43423
|
discuss
|
|
43375
43424
|
}) {
|
|
43376
|
-
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess',
|
|
43425
|
+
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _893 => _893.goals])) ? item.goals.length : 0;
|
|
43377
43426
|
const meta = [
|
|
43378
|
-
_optionalChain([item, 'optionalAccess',
|
|
43427
|
+
_optionalChain([item, 'optionalAccess', _894 => _894.start_date]) ? formatDateShort(item.start_date) : null,
|
|
43379
43428
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
43380
43429
|
"Marketing campaign"
|
|
43381
43430
|
].filter(Boolean).join(" \xB7 ");
|
|
43382
43431
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43383
43432
|
EntityMingoCard,
|
|
43384
43433
|
{
|
|
43385
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43386
|
-
description: meta || _optionalChain([item, 'optionalAccess',
|
|
43434
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _895 => _895.name]), () => ( "")),
|
|
43435
|
+
description: meta || _optionalChain([item, 'optionalAccess', _896 => _896.description]) || void 0,
|
|
43387
43436
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.Megaphone01Icon, { size: 24 }),
|
|
43388
43437
|
chatRef,
|
|
43389
43438
|
isNewTab,
|
|
@@ -43436,14 +43485,14 @@ function BlogChatCard({
|
|
|
43436
43485
|
hasEmbeddedVideo,
|
|
43437
43486
|
discuss
|
|
43438
43487
|
}) {
|
|
43439
|
-
const category = Array.isArray(_optionalChain([item, 'optionalAccess',
|
|
43488
|
+
const category = Array.isArray(_optionalChain([item, 'optionalAccess', _897 => _897.categories])) ? _optionalChain([item, 'access', _898 => _898.categories, 'access', _899 => _899.find, 'call', _900 => _900((c) => c && c.name), 'optionalAccess', _901 => _901.name]) : void 0;
|
|
43440
43489
|
const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
|
|
43441
43490
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43442
43491
|
EntityMingoCard,
|
|
43443
43492
|
{
|
|
43444
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43445
|
-
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43446
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
43493
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _902 => _902.title]), () => ( "")),
|
|
43494
|
+
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _903 => _903.summary]), () => ( void 0)),
|
|
43495
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _904 => _904.featured_image]), ogPlaceholder),
|
|
43447
43496
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.NewspaperIcon, { size: 24 }),
|
|
43448
43497
|
status,
|
|
43449
43498
|
chatRef,
|
|
@@ -43460,13 +43509,13 @@ function CaseStudyChatCard({
|
|
|
43460
43509
|
ogPlaceholder,
|
|
43461
43510
|
discuss
|
|
43462
43511
|
}) {
|
|
43463
|
-
const meta = [_optionalChain([item, 'optionalAccess',
|
|
43512
|
+
const meta = [_optionalChain([item, 'optionalAccess', _905 => _905.msp, 'optionalAccess', _906 => _906.name]), _optionalChain([item, 'optionalAccess', _907 => _907.user, 'optionalAccess', _908 => _908.full_name])].filter(Boolean).join(" \xB7 ");
|
|
43464
43513
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43465
43514
|
EntityMingoCard,
|
|
43466
43515
|
{
|
|
43467
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43468
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
43469
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
43516
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _909 => _909.title]), () => ( "")),
|
|
43517
|
+
description: _optionalChain([item, 'optionalAccess', _910 => _910.summary]) || meta || void 0,
|
|
43518
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _911 => _911.featured_image]), ogPlaceholder),
|
|
43470
43519
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.TrophyIcon, { size: 24 }),
|
|
43471
43520
|
status: { label: "Case study", variant: "grey" },
|
|
43472
43521
|
chatRef,
|
|
@@ -43483,13 +43532,13 @@ function CustomerInterviewChatCard({
|
|
|
43483
43532
|
ogPlaceholder,
|
|
43484
43533
|
discuss
|
|
43485
43534
|
}) {
|
|
43486
|
-
const meta = [_optionalChain([item, 'optionalAccess',
|
|
43535
|
+
const meta = [_optionalChain([item, 'optionalAccess', _912 => _912.user, 'optionalAccess', _913 => _913.full_name]), _optionalChain([item, 'optionalAccess', _914 => _914.msp, 'optionalAccess', _915 => _915.name])].filter(Boolean).join(" \xB7 ");
|
|
43487
43536
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43488
43537
|
EntityMingoCard,
|
|
43489
43538
|
{
|
|
43490
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43491
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
43492
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
43539
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _916 => _916.title]), () => ( "")),
|
|
43540
|
+
description: _optionalChain([item, 'optionalAccess', _917 => _917.video_summary]) || meta || void 0,
|
|
43541
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _918 => _918.featured_image]), ogPlaceholder),
|
|
43493
43542
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.MicrophoneIcon, { size: 24 }),
|
|
43494
43543
|
status: { label: "Interview", variant: "grey" },
|
|
43495
43544
|
chatRef,
|
|
@@ -43506,13 +43555,13 @@ function InvestorUpdateChatCard({
|
|
|
43506
43555
|
ogPlaceholder,
|
|
43507
43556
|
discuss
|
|
43508
43557
|
}) {
|
|
43509
|
-
const title = _optionalChain([item, 'optionalAccess',
|
|
43558
|
+
const title = _optionalChain([item, 'optionalAccess', _919 => _919.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _920 => _920.update_number]), () => ( "?"))}`;
|
|
43510
43559
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43511
43560
|
EntityMingoCard,
|
|
43512
43561
|
{
|
|
43513
43562
|
title,
|
|
43514
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
43515
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
43563
|
+
description: _optionalChain([item, 'optionalAccess', _921 => _921.strategic_update]) || _optionalChain([item, 'optionalAccess', _922 => _922.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _923 => _923.period_start]), _optionalChain([item, 'optionalAccess', _924 => _924.period_end])) || void 0,
|
|
43564
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _925 => _925.featured_image]), ogPlaceholder),
|
|
43516
43565
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.PresentationLineIcon, { size: 24 }),
|
|
43517
43566
|
status: { label: "Investor update", variant: "grey" },
|
|
43518
43567
|
chatRef,
|
|
@@ -43529,12 +43578,12 @@ function OnboardingGuideChatCard({
|
|
|
43529
43578
|
ogPlaceholder,
|
|
43530
43579
|
discuss
|
|
43531
43580
|
}) {
|
|
43532
|
-
const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess',
|
|
43581
|
+
const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _926 => _926.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _927 => _927.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _928 => _928.og_image_url]), ogPlaceholder)));
|
|
43533
43582
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43534
43583
|
EntityMingoCard,
|
|
43535
43584
|
{
|
|
43536
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43537
|
-
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43585
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _929 => _929.title]), () => ( "")),
|
|
43586
|
+
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _930 => _930.summary]), () => ( _optionalChain([item, 'optionalAccess', _931 => _931.description]))), () => ( void 0)),
|
|
43538
43587
|
cover,
|
|
43539
43588
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.CompassIcon, { size: 24 }),
|
|
43540
43589
|
status: { label: "Guide", variant: "grey" },
|
|
@@ -43555,25 +43604,25 @@ function ProgramChatCard({
|
|
|
43555
43604
|
discuss
|
|
43556
43605
|
}) {
|
|
43557
43606
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.MicrophoneIcon, { size: 24 });
|
|
43558
|
-
const isScheduled = _optionalChain([item, 'optionalAccess',
|
|
43607
|
+
const isScheduled = _optionalChain([item, 'optionalAccess', _932 => _932.status]) === "scheduled";
|
|
43559
43608
|
let typeMeta;
|
|
43560
|
-
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess',
|
|
43609
|
+
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _933 => _933.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
43561
43610
|
typeMeta = formatDurationCompact(item.duration_seconds);
|
|
43562
|
-
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess',
|
|
43611
|
+
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _934 => _934.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
43563
43612
|
typeMeta = item.location_name;
|
|
43564
|
-
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess',
|
|
43613
|
+
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _935 => _935.start_at])) {
|
|
43565
43614
|
const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
43566
43615
|
const dur = formatDurationFromRange(item.start_at, item.end_at);
|
|
43567
43616
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
43568
43617
|
}
|
|
43569
|
-
const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43618
|
+
const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _936 => _936.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
43570
43619
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
43571
43620
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43572
43621
|
EntityMingoCard,
|
|
43573
43622
|
{
|
|
43574
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43575
|
-
description: meta || _optionalChain([item, 'optionalAccess',
|
|
43576
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
43623
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _937 => _937.title]), () => ( "")),
|
|
43624
|
+
description: meta || _optionalChain([item, 'optionalAccess', _938 => _938.description]) || void 0,
|
|
43625
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _939 => _939.cover_url]), ogPlaceholder),
|
|
43577
43626
|
fallbackIcon: icon,
|
|
43578
43627
|
status: { label, variant: "grey" },
|
|
43579
43628
|
chatRef,
|
|
@@ -43590,10 +43639,10 @@ function RoadmapChatCard({
|
|
|
43590
43639
|
cardType,
|
|
43591
43640
|
discuss
|
|
43592
43641
|
}) {
|
|
43593
|
-
const logoUrl = typeof _optionalChain([item, 'optionalAccess',
|
|
43594
|
-
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess',
|
|
43642
|
+
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _940 => _940.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
43643
|
+
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _941 => _941.customItemId]) != null;
|
|
43595
43644
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQXHTYNAWcjs.MapIcon, { size: 24 });
|
|
43596
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess',
|
|
43645
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _942 => _942.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
43597
43646
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
43598
43647
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
43599
43648
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
|
|
@@ -43601,10 +43650,10 @@ function RoadmapChatCard({
|
|
|
43601
43650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43602
43651
|
EntityMingoCard,
|
|
43603
43652
|
{
|
|
43604
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43605
|
-
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
43653
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _943 => _943.title]), () => ( "")),
|
|
43654
|
+
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _944 => _944.description]), () => ( void 0)),
|
|
43606
43655
|
fallbackIcon: icon,
|
|
43607
|
-
status: statusPill(_optionalChain([item, 'optionalAccess',
|
|
43656
|
+
status: statusPill(_optionalChain([item, 'optionalAccess', _945 => _945.status])),
|
|
43608
43657
|
chatRef,
|
|
43609
43658
|
isNewTab,
|
|
43610
43659
|
discuss,
|
|
@@ -43690,7 +43739,7 @@ function programRegistryEntries() {
|
|
|
43690
43739
|
discuss: opts.discuss,
|
|
43691
43740
|
configKey: cfg.configKey,
|
|
43692
43741
|
label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
|
|
43693
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
43742
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _946 => _946.extras, 'optionalAccess', _947 => _947.buildOgPlaceholderUrl, 'optionalCall', _948 => _948(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _949 => _949.title]), () => ( "")))]), () => ( null))
|
|
43694
43743
|
}
|
|
43695
43744
|
)
|
|
43696
43745
|
};
|
|
@@ -43842,8 +43891,8 @@ var CHAT_CARD_REGISTRY = {
|
|
|
43842
43891
|
chatRef,
|
|
43843
43892
|
isNewTab: opts.isNewTab,
|
|
43844
43893
|
discuss: opts.discuss,
|
|
43845
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
43846
|
-
hasEmbeddedVideo: _optionalChain([chatRef, 'access',
|
|
43894
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _950 => _950.extras, 'optionalAccess', _951 => _951.buildOgPlaceholderUrl, 'optionalCall', _952 => _952(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _953 => _953.title]), () => ( "")))]), () => ( null)),
|
|
43895
|
+
hasEmbeddedVideo: _optionalChain([chatRef, 'access', _954 => _954.metadata, 'optionalAccess', _955 => _955.hasEmbeddedVideo]) === true
|
|
43847
43896
|
}
|
|
43848
43897
|
)
|
|
43849
43898
|
},
|
|
@@ -43860,7 +43909,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
43860
43909
|
chatRef,
|
|
43861
43910
|
isNewTab: opts.isNewTab,
|
|
43862
43911
|
discuss: opts.discuss,
|
|
43863
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
43912
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _956 => _956.extras, 'optionalAccess', _957 => _957.buildOgPlaceholderUrl, 'optionalCall', _958 => _958(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _959 => _959.title]), () => ( "")))]), () => ( null))
|
|
43864
43913
|
}
|
|
43865
43914
|
)
|
|
43866
43915
|
},
|
|
@@ -43877,7 +43926,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
43877
43926
|
chatRef,
|
|
43878
43927
|
isNewTab: opts.isNewTab,
|
|
43879
43928
|
discuss: opts.discuss,
|
|
43880
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
43929
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _960 => _960.extras, 'optionalAccess', _961 => _961.buildOgPlaceholderUrl, 'optionalCall', _962 => _962(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _963 => _963.title]), () => ( "")))]), () => ( null))
|
|
43881
43930
|
}
|
|
43882
43931
|
)
|
|
43883
43932
|
},
|
|
@@ -43888,7 +43937,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
43888
43937
|
bareInline: true,
|
|
43889
43938
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
|
|
43890
43939
|
render: (item, chatRef, opts) => {
|
|
43891
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
43940
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _964 => _964.extras, 'optionalAccess', _965 => _965.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
|
|
43892
43941
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43893
43942
|
ProductReleaseChatCard,
|
|
43894
43943
|
{
|
|
@@ -43915,7 +43964,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
43915
43964
|
chatRef,
|
|
43916
43965
|
isNewTab: opts.isNewTab,
|
|
43917
43966
|
discuss: opts.discuss,
|
|
43918
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
43967
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _966 => _966.extras, 'optionalAccess', _967 => _967.buildOgPlaceholderUrl, 'optionalCall', _968 => _968(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _969 => _969.title]), () => ( "")))]), () => ( null))
|
|
43919
43968
|
}
|
|
43920
43969
|
)
|
|
43921
43970
|
},
|
|
@@ -43934,7 +43983,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
43934
43983
|
chatRef,
|
|
43935
43984
|
isNewTab: opts.isNewTab,
|
|
43936
43985
|
discuss: opts.discuss,
|
|
43937
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
43986
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _970 => _970.extras, 'optionalAccess', _971 => _971.buildOgPlaceholderUrl, 'optionalCall', _972 => _972(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _973 => _973.title]), () => ( "")))]), () => ( null))
|
|
43938
43987
|
}
|
|
43939
43988
|
)
|
|
43940
43989
|
},
|
|
@@ -43946,7 +43995,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
43946
43995
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
|
|
43947
43996
|
// No public viewer — synthesize the hub-internal admin URL post-fetch
|
|
43948
43997
|
// so the wrapper + isNewTab computation see the actual destination.
|
|
43949
|
-
fallbackHref: (item) => _optionalChain([item, 'optionalAccess',
|
|
43998
|
+
fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _974 => _974.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
|
|
43950
43999
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43951
44000
|
CampaignChatCard,
|
|
43952
44001
|
{
|
|
@@ -43972,12 +44021,12 @@ function ChatCardNavWrap({
|
|
|
43972
44021
|
const onClickCapture = (e) => {
|
|
43973
44022
|
if (!href) return;
|
|
43974
44023
|
const targetEl = e.target;
|
|
43975
|
-
if (_optionalChain([targetEl, 'optionalAccess',
|
|
43976
|
-
if (!_optionalChain([targetEl, 'optionalAccess',
|
|
44024
|
+
if (_optionalChain([targetEl, 'optionalAccess', _975 => _975.closest, 'optionalCall', _976 => _976("button")])) return;
|
|
44025
|
+
if (!_optionalChain([targetEl, 'optionalAccess', _977 => _977.closest, 'optionalCall', _978 => _978("a")])) return;
|
|
43977
44026
|
const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
|
|
43978
44027
|
if (!handled) return;
|
|
43979
44028
|
e.stopPropagation();
|
|
43980
|
-
if (!isNewTab && _optionalChain([panel, 'optionalAccess',
|
|
44029
|
+
if (!isNewTab && _optionalChain([panel, 'optionalAccess', _979 => _979.closeChat])) panel.closeChat();
|
|
43981
44030
|
};
|
|
43982
44031
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
|
|
43983
44032
|
}
|
|
@@ -43999,7 +44048,7 @@ function ChatCardLoader({
|
|
|
43999
44048
|
title: chatRef.title,
|
|
44000
44049
|
externalUrl: chatRef.url,
|
|
44001
44050
|
targetPlatform: chatRef.targetPlatform,
|
|
44002
|
-
path: typeof _optionalChain([chatRef, 'access',
|
|
44051
|
+
path: typeof _optionalChain([chatRef, 'access', _980 => _980.metadata, 'optionalAccess', _981 => _981.path]) === "string" ? chatRef.metadata.path : null
|
|
44003
44052
|
},
|
|
44004
44053
|
sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
|
|
44005
44054
|
);
|
|
@@ -44013,7 +44062,7 @@ function ChatCardLoader({
|
|
|
44013
44062
|
const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
|
|
44014
44063
|
const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
|
|
44015
44064
|
const { item, isLoading } = useChatCardItem(
|
|
44016
|
-
_nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess',
|
|
44065
|
+
_nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _982 => _982.contentRefType]), () => ( "")),
|
|
44017
44066
|
fetchEntry ? resolvedChatRef.id : ""
|
|
44018
44067
|
);
|
|
44019
44068
|
if (!entry) return null;
|
|
@@ -44044,7 +44093,7 @@ function ChatCardLoader({
|
|
|
44044
44093
|
isNewTab,
|
|
44045
44094
|
discuss
|
|
44046
44095
|
};
|
|
44047
|
-
const path = typeof _optionalChain([finalChatRef, 'access',
|
|
44096
|
+
const path = typeof _optionalChain([finalChatRef, 'access', _983 => _983.metadata, 'optionalAccess', _984 => _984.path]) === "string" ? finalChatRef.metadata.path : null;
|
|
44048
44097
|
const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44049
44098
|
ChatCardNavWrap,
|
|
44050
44099
|
{
|
|
@@ -44430,7 +44479,7 @@ function useJetStreamDialogSubscription({
|
|
|
44430
44479
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
44431
44480
|
conn: sharedConn,
|
|
44432
44481
|
wsUrl,
|
|
44433
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
44482
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _985 => _985.current, 'optionalCall', _986 => _986()]),
|
|
44434
44483
|
backoff: reconnectionBackoffRef.current,
|
|
44435
44484
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
44436
44485
|
// JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
|
|
@@ -44445,7 +44494,7 @@ function useJetStreamDialogSubscription({
|
|
|
44445
44494
|
setReconnectionCount((c) => c + 1);
|
|
44446
44495
|
}
|
|
44447
44496
|
hadConnectionBeforeRef.current = true;
|
|
44448
|
-
_optionalChain([onConnectRef, 'access',
|
|
44497
|
+
_optionalChain([onConnectRef, 'access', _987 => _987.current, 'optionalCall', _988 => _988()]);
|
|
44449
44498
|
}
|
|
44450
44499
|
if (status === "error") {
|
|
44451
44500
|
console.warn("[JetStream] NATS protocol error:", evt.data);
|
|
@@ -44455,7 +44504,7 @@ function useJetStreamDialogSubscription({
|
|
|
44455
44504
|
setIsConnected(false);
|
|
44456
44505
|
setIsSubscribed(false);
|
|
44457
44506
|
tearDownSubscription();
|
|
44458
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
44507
|
+
_optionalChain([onDisconnectRef, 'access', _989 => _989.current, 'optionalCall', _990 => _990()]);
|
|
44459
44508
|
}
|
|
44460
44509
|
}
|
|
44461
44510
|
});
|
|
@@ -44534,7 +44583,7 @@ function useJetStreamDialogSubscription({
|
|
|
44534
44583
|
}
|
|
44535
44584
|
subscriptionRef.current = handle;
|
|
44536
44585
|
setIsSubscribed(true);
|
|
44537
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
44586
|
+
_optionalChain([onSubscribedRef, 'access', _991 => _991.current, 'optionalCall', _992 => _992()]);
|
|
44538
44587
|
} catch (e44) {
|
|
44539
44588
|
if (!cancelled) {
|
|
44540
44589
|
setIsSubscribed(false);
|
|
@@ -44647,20 +44696,20 @@ function useNatsDialogSubscription({
|
|
|
44647
44696
|
const tearDownSubscriptions = () => {
|
|
44648
44697
|
subscriptionRefs.current.forEach((sub) => {
|
|
44649
44698
|
try {
|
|
44650
|
-
_optionalChain([sub, 'optionalAccess',
|
|
44699
|
+
_optionalChain([sub, 'optionalAccess', _993 => _993.unsubscribe, 'call', _994 => _994()]);
|
|
44651
44700
|
} catch (e46) {
|
|
44652
44701
|
}
|
|
44653
44702
|
});
|
|
44654
44703
|
subscriptionRefs.current.clear();
|
|
44655
44704
|
lastSubscribedDialogIdRef.current = null;
|
|
44656
|
-
_optionalChain([abortControllerRef, 'access',
|
|
44705
|
+
_optionalChain([abortControllerRef, 'access', _995 => _995.current, 'optionalAccess', _996 => _996.abort, 'call', _997 => _997()]);
|
|
44657
44706
|
abortControllerRef.current = null;
|
|
44658
44707
|
};
|
|
44659
44708
|
const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
|
|
44660
44709
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
44661
44710
|
conn: sharedConn,
|
|
44662
44711
|
wsUrl,
|
|
44663
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
44712
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _998 => _998.current, 'optionalCall', _999 => _999()]),
|
|
44664
44713
|
backoff: reconnectionBackoffRef.current,
|
|
44665
44714
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
44666
44715
|
shouldRetryOn: isDisconnectStatus,
|
|
@@ -44671,7 +44720,7 @@ function useNatsDialogSubscription({
|
|
|
44671
44720
|
setReconnectionCount((c) => c + 1);
|
|
44672
44721
|
}
|
|
44673
44722
|
hadConnectionBeforeRef.current = true;
|
|
44674
|
-
_optionalChain([onConnectRef, 'access',
|
|
44723
|
+
_optionalChain([onConnectRef, 'access', _1000 => _1000.current, 'optionalCall', _1001 => _1001()]);
|
|
44675
44724
|
}
|
|
44676
44725
|
if (status === "error") {
|
|
44677
44726
|
console.warn("[NATS] protocol error:", evt.data);
|
|
@@ -44681,7 +44730,7 @@ function useNatsDialogSubscription({
|
|
|
44681
44730
|
setIsConnected(false);
|
|
44682
44731
|
setIsSubscribed(false);
|
|
44683
44732
|
tearDownSubscriptions();
|
|
44684
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
44733
|
+
_optionalChain([onDisconnectRef, 'access', _1002 => _1002.current, 'optionalCall', _1003 => _1003()]);
|
|
44685
44734
|
}
|
|
44686
44735
|
}
|
|
44687
44736
|
});
|
|
@@ -44712,13 +44761,13 @@ function useNatsDialogSubscription({
|
|
|
44712
44761
|
setIsSubscribed(false);
|
|
44713
44762
|
subscriptionRefs.current.forEach((sub) => {
|
|
44714
44763
|
try {
|
|
44715
|
-
_optionalChain([sub, 'optionalAccess',
|
|
44764
|
+
_optionalChain([sub, 'optionalAccess', _1004 => _1004.unsubscribe, 'call', _1005 => _1005()]);
|
|
44716
44765
|
} catch (e47) {
|
|
44717
44766
|
}
|
|
44718
44767
|
});
|
|
44719
44768
|
subscriptionRefs.current.clear();
|
|
44720
44769
|
lastSubscribedDialogIdRef.current = null;
|
|
44721
|
-
_optionalChain([abortControllerRef, 'access',
|
|
44770
|
+
_optionalChain([abortControllerRef, 'access', _1006 => _1006.current, 'optionalAccess', _1007 => _1007.abort, 'call', _1008 => _1008()]);
|
|
44722
44771
|
abortControllerRef.current = null;
|
|
44723
44772
|
}
|
|
44724
44773
|
return;
|
|
@@ -44730,12 +44779,12 @@ function useNatsDialogSubscription({
|
|
|
44730
44779
|
if (subscriptionRefs.current.size > 0) {
|
|
44731
44780
|
subscriptionRefs.current.forEach((sub) => {
|
|
44732
44781
|
try {
|
|
44733
|
-
_optionalChain([sub, 'optionalAccess',
|
|
44782
|
+
_optionalChain([sub, 'optionalAccess', _1009 => _1009.unsubscribe, 'call', _1010 => _1010()]);
|
|
44734
44783
|
} catch (e48) {
|
|
44735
44784
|
}
|
|
44736
44785
|
});
|
|
44737
44786
|
subscriptionRefs.current.clear();
|
|
44738
|
-
_optionalChain([abortControllerRef, 'access',
|
|
44787
|
+
_optionalChain([abortControllerRef, 'access', _1011 => _1011.current, 'optionalAccess', _1012 => _1012.abort, 'call', _1013 => _1013()]);
|
|
44739
44788
|
}
|
|
44740
44789
|
abortControllerRef.current = new AbortController();
|
|
44741
44790
|
const abort = abortControllerRef.current;
|
|
@@ -44767,7 +44816,7 @@ function useNatsDialogSubscription({
|
|
|
44767
44816
|
});
|
|
44768
44817
|
lastSubscribedDialogIdRef.current = dialogId;
|
|
44769
44818
|
setIsSubscribed(true);
|
|
44770
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
44819
|
+
_optionalChain([onSubscribedRef, 'access', _1014 => _1014.current, 'optionalCall', _1015 => _1015()]);
|
|
44771
44820
|
};
|
|
44772
44821
|
if (isConnectedRef.current) {
|
|
44773
44822
|
createSubscriptions();
|
|
@@ -44777,7 +44826,7 @@ function useNatsDialogSubscription({
|
|
|
44777
44826
|
abort.abort();
|
|
44778
44827
|
subscriptionRefs.current.forEach((sub) => {
|
|
44779
44828
|
try {
|
|
44780
|
-
_optionalChain([sub, 'optionalAccess',
|
|
44829
|
+
_optionalChain([sub, 'optionalAccess', _1016 => _1016.unsubscribe, 'call', _1017 => _1017()]);
|
|
44781
44830
|
} catch (e50) {
|
|
44782
44831
|
}
|
|
44783
44832
|
});
|
|
@@ -44818,7 +44867,7 @@ function useNatsDialogSubscription({
|
|
|
44818
44867
|
});
|
|
44819
44868
|
lastSubscribedDialogIdRef.current = dialogId2;
|
|
44820
44869
|
setIsSubscribed(true);
|
|
44821
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
44870
|
+
_optionalChain([onSubscribedRef, 'access', _1018 => _1018.current, 'optionalCall', _1019 => _1019()]);
|
|
44822
44871
|
} else if (subscriptionRefs.current.size > 0) {
|
|
44823
44872
|
setIsSubscribed(true);
|
|
44824
44873
|
}
|
|
@@ -44826,10 +44875,10 @@ function useNatsDialogSubscription({
|
|
|
44826
44875
|
return { isConnected, isSubscribed, reconnectionCount };
|
|
44827
44876
|
}
|
|
44828
44877
|
function buildNatsWsUrl(apiBaseUrl, options) {
|
|
44829
|
-
const path = _optionalChain([options, 'optionalAccess',
|
|
44878
|
+
const path = _optionalChain([options, 'optionalAccess', _1020 => _1020.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
|
|
44830
44879
|
const u = new URL(path, apiBaseUrl);
|
|
44831
44880
|
u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
|
|
44832
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
44881
|
+
if (_optionalChain([options, 'optionalAccess', _1021 => _1021.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1022 => _1022.token])) {
|
|
44833
44882
|
u.searchParams.set("authorization", options.token);
|
|
44834
44883
|
}
|
|
44835
44884
|
return u.toString();
|
|
@@ -44965,7 +45014,7 @@ function parseChunkToAction(chunk) {
|
|
|
44965
45014
|
// is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
|
|
44966
45015
|
// historical path in `process-historical-messages.ts`) — keeps both
|
|
44967
45016
|
// message sources producing an identical shape.
|
|
44968
|
-
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess',
|
|
45017
|
+
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1023 => _1023.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1024 => _1024.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
|
|
44969
45018
|
};
|
|
44970
45019
|
case MESSAGE_TYPE.TOKEN_USAGE:
|
|
44971
45020
|
return {
|
|
@@ -45157,8 +45206,8 @@ var MessageSegmentAccumulator = class {
|
|
|
45157
45206
|
type: "tool_execution",
|
|
45158
45207
|
data: {
|
|
45159
45208
|
...toolData,
|
|
45160
|
-
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess',
|
|
45161
|
-
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess',
|
|
45209
|
+
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1025 => _1025.data, 'access', _1026 => _1026.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1027 => _1027.toolTitle]))),
|
|
45210
|
+
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1028 => _1028.parameters])
|
|
45162
45211
|
}
|
|
45163
45212
|
};
|
|
45164
45213
|
if (existingIndex !== -1) {
|
|
@@ -45182,8 +45231,8 @@ var MessageSegmentAccumulator = class {
|
|
|
45182
45231
|
if (seg.type !== "approval_batch") return seg;
|
|
45183
45232
|
const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
|
|
45184
45233
|
if (!hasCall) return seg;
|
|
45185
|
-
const prev = _optionalChain([seg, 'access',
|
|
45186
|
-
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess',
|
|
45234
|
+
const prev = _optionalChain([seg, 'access', _1029 => _1029.data, 'access', _1030 => _1030.executions, 'optionalAccess', _1031 => _1031[execId]]);
|
|
45235
|
+
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1032 => _1032.result]), success: _optionalChain([prev, 'optionalAccess', _1033 => _1033.success]) };
|
|
45187
45236
|
matched = true;
|
|
45188
45237
|
return {
|
|
45189
45238
|
...seg,
|
|
@@ -45305,10 +45354,10 @@ var MessageSegmentAccumulator = class {
|
|
|
45305
45354
|
const segment = {
|
|
45306
45355
|
type: "approval_request",
|
|
45307
45356
|
data: {
|
|
45308
|
-
command: _optionalChain([pendingApproval, 'optionalAccess',
|
|
45309
|
-
explanation: _optionalChain([pendingApproval, 'optionalAccess',
|
|
45357
|
+
command: _optionalChain([pendingApproval, 'optionalAccess', _1034 => _1034.command]) || "",
|
|
45358
|
+
explanation: _optionalChain([pendingApproval, 'optionalAccess', _1035 => _1035.explanation]),
|
|
45310
45359
|
requestId,
|
|
45311
|
-
approvalType: _optionalChain([pendingApproval, 'optionalAccess',
|
|
45360
|
+
approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1036 => _1036.approvalType]) || approvalType
|
|
45312
45361
|
},
|
|
45313
45362
|
status,
|
|
45314
45363
|
onApprove: this.callbacks.onApprove,
|
|
@@ -45500,7 +45549,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45500
45549
|
if (initialState.escalatedApprovals) {
|
|
45501
45550
|
pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
|
|
45502
45551
|
initialState.escalatedApprovals.forEach((data, requestId) => {
|
|
45503
|
-
_optionalChain([callbacks, 'access',
|
|
45552
|
+
_optionalChain([callbacks, 'access', _1037 => _1037.onEscalatedApproval, 'optionalCall', _1038 => _1038(requestId, data)]);
|
|
45504
45553
|
});
|
|
45505
45554
|
}
|
|
45506
45555
|
hasEverStreamedRef.current = true;
|
|
@@ -45521,12 +45570,12 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45521
45570
|
if (!action) return;
|
|
45522
45571
|
const accumulator = accumulatorRef.current;
|
|
45523
45572
|
const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
|
|
45524
|
-
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access',
|
|
45573
|
+
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1039 => _1039.onSegmentsUpdate, 'optionalCall', _1040 => _1040(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
|
|
45525
45574
|
if (action.action === "direct_message") sawDirectMessageRef.current = true;
|
|
45526
45575
|
if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
|
|
45527
45576
|
if (isInStreamRef.current) {
|
|
45528
45577
|
isInStreamRef.current = false;
|
|
45529
|
-
_optionalChain([callbacks, 'access',
|
|
45578
|
+
_optionalChain([callbacks, 'access', _1041 => _1041.onStreamEnd, 'optionalCall', _1042 => _1042()]);
|
|
45530
45579
|
accumulator.resetSegments();
|
|
45531
45580
|
}
|
|
45532
45581
|
return;
|
|
@@ -45535,16 +45584,16 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45535
45584
|
case "message_start":
|
|
45536
45585
|
isInStreamRef.current = true;
|
|
45537
45586
|
hasEverStreamedRef.current = true;
|
|
45538
|
-
_optionalChain([callbacks, 'access',
|
|
45587
|
+
_optionalChain([callbacks, 'access', _1043 => _1043.onStreamStart, 'optionalCall', _1044 => _1044()]);
|
|
45539
45588
|
accumulator.resetSegments();
|
|
45540
45589
|
break;
|
|
45541
45590
|
case "message_end":
|
|
45542
45591
|
isInStreamRef.current = false;
|
|
45543
|
-
_optionalChain([callbacks, 'access',
|
|
45592
|
+
_optionalChain([callbacks, 'access', _1045 => _1045.onStreamEnd, 'optionalCall', _1046 => _1046()]);
|
|
45544
45593
|
accumulator.resetSegments();
|
|
45545
45594
|
break;
|
|
45546
45595
|
case "metadata":
|
|
45547
|
-
_optionalChain([callbacks, 'access',
|
|
45596
|
+
_optionalChain([callbacks, 'access', _1047 => _1047.onMetadata, 'optionalCall', _1048 => _1048(action)]);
|
|
45548
45597
|
break;
|
|
45549
45598
|
case "text": {
|
|
45550
45599
|
const segments = accumulator.appendText(action.text);
|
|
@@ -45587,7 +45636,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45587
45636
|
emitSegments(segments);
|
|
45588
45637
|
} else {
|
|
45589
45638
|
pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
|
|
45590
|
-
_optionalChain([callbacks, 'access',
|
|
45639
|
+
_optionalChain([callbacks, 'access', _1049 => _1049.onEscalatedApproval, 'optionalCall', _1050 => _1050(requestId, { command, explanation, approvalType })]);
|
|
45591
45640
|
}
|
|
45592
45641
|
break;
|
|
45593
45642
|
}
|
|
@@ -45599,13 +45648,13 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45599
45648
|
const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
|
|
45600
45649
|
pendingEscalatedRef.current.set(requestId, {
|
|
45601
45650
|
command: summary,
|
|
45602
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
45651
|
+
explanation: _optionalChain([required, 'optionalAccess', _1051 => _1051.toolExplanation]),
|
|
45603
45652
|
approvalType,
|
|
45604
45653
|
toolCalls
|
|
45605
45654
|
});
|
|
45606
|
-
_optionalChain([callbacks, 'access',
|
|
45655
|
+
_optionalChain([callbacks, 'access', _1052 => _1052.onEscalatedApproval, 'optionalCall', _1053 => _1053(requestId, {
|
|
45607
45656
|
command: summary,
|
|
45608
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
45657
|
+
explanation: _optionalChain([required, 'optionalAccess', _1054 => _1054.toolExplanation]),
|
|
45609
45658
|
approvalType
|
|
45610
45659
|
})]);
|
|
45611
45660
|
break;
|
|
@@ -45635,7 +45684,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45635
45684
|
const status = approved ? "approved" : "rejected";
|
|
45636
45685
|
if (escalatedData) {
|
|
45637
45686
|
pendingEscalatedRef.current.delete(requestId);
|
|
45638
|
-
_optionalChain([callbacks, 'access',
|
|
45687
|
+
_optionalChain([callbacks, 'access', _1055 => _1055.onEscalatedApprovalResult, 'optionalCall', _1056 => _1056(requestId, approved, {
|
|
45639
45688
|
command: escalatedData.command,
|
|
45640
45689
|
explanation: escalatedData.explanation,
|
|
45641
45690
|
approvalType: escalatedData.approvalType
|
|
@@ -45681,29 +45730,29 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45681
45730
|
emitSegments(accumulator.getSegments());
|
|
45682
45731
|
}
|
|
45683
45732
|
}
|
|
45684
|
-
_optionalChain([callbacks, 'access',
|
|
45733
|
+
_optionalChain([callbacks, 'access', _1057 => _1057.onApprovalResolved, 'optionalCall', _1058 => _1058(requestId, status, approvalType, resolvedByName)]);
|
|
45685
45734
|
break;
|
|
45686
45735
|
}
|
|
45687
45736
|
case "error": {
|
|
45688
45737
|
let message2;
|
|
45689
|
-
if ("details" in action && _optionalChain([action, 'optionalAccess',
|
|
45738
|
+
if ("details" in action && _optionalChain([action, 'optionalAccess', _1059 => _1059.details])) {
|
|
45690
45739
|
try {
|
|
45691
|
-
message2 = _optionalChain([JSON, 'access',
|
|
45740
|
+
message2 = _optionalChain([JSON, 'access', _1060 => _1060.parse, 'call', _1061 => _1061(action.details), 'optionalAccess', _1062 => _1062.error, 'optionalAccess', _1063 => _1063.message]);
|
|
45692
45741
|
} catch (e52) {
|
|
45693
45742
|
message2 = action.details;
|
|
45694
45743
|
}
|
|
45695
45744
|
}
|
|
45696
45745
|
const segments = accumulator.addError(action.error, message2);
|
|
45697
45746
|
emitSegments(segments);
|
|
45698
|
-
_optionalChain([callbacks, 'access',
|
|
45747
|
+
_optionalChain([callbacks, 'access', _1064 => _1064.onError, 'optionalCall', _1065 => _1065(action.error, message2)]);
|
|
45699
45748
|
break;
|
|
45700
45749
|
}
|
|
45701
45750
|
case "system": {
|
|
45702
|
-
_optionalChain([callbacks, 'access',
|
|
45751
|
+
_optionalChain([callbacks, 'access', _1066 => _1066.onSystemMessage, 'optionalCall', _1067 => _1067(action.text, { streamSeq })]);
|
|
45703
45752
|
break;
|
|
45704
45753
|
}
|
|
45705
45754
|
case "direct_message": {
|
|
45706
|
-
_optionalChain([callbacks, 'access',
|
|
45755
|
+
_optionalChain([callbacks, 'access', _1068 => _1068.onDirectMessage, 'optionalCall', _1069 => _1069(action.text, {
|
|
45707
45756
|
ownerType: action.ownerType,
|
|
45708
45757
|
displayName: action.displayName,
|
|
45709
45758
|
userId: action.userId,
|
|
@@ -45712,7 +45761,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45712
45761
|
break;
|
|
45713
45762
|
}
|
|
45714
45763
|
case "message_request":
|
|
45715
|
-
_optionalChain([callbacks, 'access',
|
|
45764
|
+
_optionalChain([callbacks, 'access', _1070 => _1070.onUserMessage, 'optionalCall', _1071 => _1071(action.text, {
|
|
45716
45765
|
ownerType: action.ownerType,
|
|
45717
45766
|
displayName: action.displayName,
|
|
45718
45767
|
userId: action.userId,
|
|
@@ -45721,7 +45770,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45721
45770
|
})]);
|
|
45722
45771
|
break;
|
|
45723
45772
|
case "token_usage":
|
|
45724
|
-
_optionalChain([callbacks, 'access',
|
|
45773
|
+
_optionalChain([callbacks, 'access', _1072 => _1072.onTokenUsage, 'optionalCall', _1073 => _1073(action.data)]);
|
|
45725
45774
|
break;
|
|
45726
45775
|
case "context_compaction_start": {
|
|
45727
45776
|
const standalone = !isInStreamRef.current;
|
|
@@ -45736,7 +45785,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
45736
45785
|
break;
|
|
45737
45786
|
}
|
|
45738
45787
|
case "dialog_closed":
|
|
45739
|
-
_optionalChain([callbacks, 'access',
|
|
45788
|
+
_optionalChain([callbacks, 'access', _1074 => _1074.onDialogClosed, 'optionalCall', _1075 => _1075()]);
|
|
45740
45789
|
break;
|
|
45741
45790
|
default:
|
|
45742
45791
|
break;
|
|
@@ -45783,7 +45832,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
|
|
|
45783
45832
|
const data = await res.json();
|
|
45784
45833
|
return _nullishCoalesce(data.commands, () => ( []));
|
|
45785
45834
|
} catch (err) {
|
|
45786
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
45835
|
+
if (_optionalChain([err, 'optionalAccess', _1076 => _1076.name]) === "AbortError") throw err;
|
|
45787
45836
|
console.warn("[chat] slash-commands fetch failed, showing none:", err);
|
|
45788
45837
|
return [];
|
|
45789
45838
|
}
|
|
@@ -45804,7 +45853,7 @@ function useSlashCommands(prefix, commandsUrl) {
|
|
|
45804
45853
|
const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
|
|
45805
45854
|
if (!cancelled) setCommands(next);
|
|
45806
45855
|
} catch (err) {
|
|
45807
|
-
if (!cancelled && _optionalChain([err, 'optionalAccess',
|
|
45856
|
+
if (!cancelled && _optionalChain([err, 'optionalAccess', _1077 => _1077.name]) !== "AbortError") {
|
|
45808
45857
|
console.warn("[use-slash-commands] fetch failed:", err);
|
|
45809
45858
|
}
|
|
45810
45859
|
} finally {
|
|
@@ -45823,7 +45872,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
|
|
|
45823
45872
|
const query = _reactquery.useQuery.call(void 0, {
|
|
45824
45873
|
queryKey: ["chat-slash-commands", commandsUrl],
|
|
45825
45874
|
queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
|
|
45826
|
-
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
45875
|
+
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1078 => _1078.enabled]), () => ( true)),
|
|
45827
45876
|
staleTime: Infinity,
|
|
45828
45877
|
gcTime: Infinity,
|
|
45829
45878
|
// The commands registry is non-critical chrome — a failure degrades to an
|
|
@@ -45862,21 +45911,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
|
|
|
45862
45911
|
}
|
|
45863
45912
|
const data = await res.json();
|
|
45864
45913
|
return {
|
|
45865
|
-
name: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
45866
|
-
icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
45867
|
-
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
45868
|
-
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
45869
|
-
quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
45870
|
-
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
45914
|
+
name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1079 => _1079.name]), () => ( null)),
|
|
45915
|
+
icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1080 => _1080.icon]), () => ( null)),
|
|
45916
|
+
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1081 => _1081.greeting]), () => ( null)),
|
|
45917
|
+
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1082 => _1082.enabledRagTableIds]), () => ( [])),
|
|
45918
|
+
quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1083 => _1083.quickActions]), () => ( [])),
|
|
45919
|
+
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1084 => _1084.suggestedQueries]), () => ( []))
|
|
45871
45920
|
};
|
|
45872
45921
|
} catch (err) {
|
|
45873
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
45922
|
+
if (_optionalChain([err, 'optionalAccess', _1085 => _1085.name]) === "AbortError") throw err;
|
|
45874
45923
|
console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
|
|
45875
45924
|
return EMPTY_STATE_FALLBACK;
|
|
45876
45925
|
}
|
|
45877
45926
|
}
|
|
45878
45927
|
function useEmptyStateConfig(emptyStateUrl, options) {
|
|
45879
|
-
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
45928
|
+
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1086 => _1086.enabled]), () => ( true))) && !!emptyStateUrl;
|
|
45880
45929
|
const query = _reactquery.useQuery.call(void 0, {
|
|
45881
45930
|
queryKey: ["chat-empty-state", emptyStateUrl],
|
|
45882
45931
|
queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
|
|
@@ -45905,7 +45954,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
|
|
|
45905
45954
|
var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
|
|
45906
45955
|
function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
45907
45956
|
return new Promise((resolve, reject) => {
|
|
45908
|
-
if (_optionalChain([signal, 'optionalAccess',
|
|
45957
|
+
if (_optionalChain([signal, 'optionalAccess', _1087 => _1087.aborted])) {
|
|
45909
45958
|
reject(new Error("Upload cancelled"));
|
|
45910
45959
|
return;
|
|
45911
45960
|
}
|
|
@@ -45919,7 +45968,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
45919
45968
|
xhr.removeEventListener("error", handleError);
|
|
45920
45969
|
xhr.removeEventListener("abort", handleAbort);
|
|
45921
45970
|
xhr.removeEventListener("timeout", handleTimeout);
|
|
45922
|
-
_optionalChain([signal, 'optionalAccess',
|
|
45971
|
+
_optionalChain([signal, 'optionalAccess', _1088 => _1088.removeEventListener, 'call', _1089 => _1089("abort", handleSignalAbort)]);
|
|
45923
45972
|
if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
|
|
45924
45973
|
};
|
|
45925
45974
|
const handleProgress = (event) => {
|
|
@@ -45955,7 +46004,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
45955
46004
|
const handleSignalAbort = () => {
|
|
45956
46005
|
xhr.abort();
|
|
45957
46006
|
};
|
|
45958
|
-
_optionalChain([signal, 'optionalAccess',
|
|
46007
|
+
_optionalChain([signal, 'optionalAccess', _1090 => _1090.addEventListener, 'call', _1091 => _1091("abort", handleSignalAbort, { once: true })]);
|
|
45959
46008
|
xhr.upload.addEventListener("progress", handleProgress);
|
|
45960
46009
|
xhr.addEventListener("load", handleLoad);
|
|
45961
46010
|
xhr.addEventListener("error", handleError);
|
|
@@ -45999,12 +46048,12 @@ function useChatAttachments() {
|
|
|
45999
46048
|
try {
|
|
46000
46049
|
sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
|
|
46001
46050
|
} catch (err) {
|
|
46002
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
46051
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1092 => _1092.signal, 'access', _1093 => _1093.aborted])) return;
|
|
46003
46052
|
throw new Error(
|
|
46004
46053
|
`Could not read file content: ${err instanceof Error ? err.message : String(err)}`
|
|
46005
46054
|
);
|
|
46006
46055
|
}
|
|
46007
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
46056
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1094 => _1094.signal, 'access', _1095 => _1095.aborted])) return;
|
|
46008
46057
|
if (!sniffed) {
|
|
46009
46058
|
throw new Error("Unrecognized file format");
|
|
46010
46059
|
}
|
|
@@ -46018,7 +46067,7 @@ function useChatAttachments() {
|
|
|
46018
46067
|
const urlResp = await _chunk6PHV4NREcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
|
|
46019
46068
|
method: "POST",
|
|
46020
46069
|
headers: { "Content-Type": "application/json" },
|
|
46021
|
-
signal: _optionalChain([ctrl, 'optionalAccess',
|
|
46070
|
+
signal: _optionalChain([ctrl, 'optionalAccess', _1096 => _1096.signal]),
|
|
46022
46071
|
body: JSON.stringify({
|
|
46023
46072
|
fileName: att.file.name,
|
|
46024
46073
|
// Pass the SNIFFED MIME (not `file.type`, which can be a
|
|
@@ -46044,9 +46093,9 @@ function useChatAttachments() {
|
|
|
46044
46093
|
(pct) => {
|
|
46045
46094
|
updateOne(att.id, { progress: pct });
|
|
46046
46095
|
},
|
|
46047
|
-
_optionalChain([ctrl, 'optionalAccess',
|
|
46096
|
+
_optionalChain([ctrl, 'optionalAccess', _1097 => _1097.signal])
|
|
46048
46097
|
);
|
|
46049
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
46098
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1098 => _1098.signal, 'access', _1099 => _1099.aborted])) return;
|
|
46050
46099
|
updateOne(att.id, {
|
|
46051
46100
|
status: "ready",
|
|
46052
46101
|
progress: 100,
|
|
@@ -46054,7 +46103,7 @@ function useChatAttachments() {
|
|
|
46054
46103
|
viewToken: mintData.viewToken
|
|
46055
46104
|
});
|
|
46056
46105
|
} catch (err) {
|
|
46057
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
46106
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1100 => _1100.signal, 'access', _1101 => _1101.aborted])) return;
|
|
46058
46107
|
const message2 = err instanceof Error ? err.message : String(err);
|
|
46059
46108
|
updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
|
|
46060
46109
|
} finally {
|
|
@@ -46205,7 +46254,7 @@ var ANON_DEFAULTS = {
|
|
|
46205
46254
|
function useResolveChatIdentity(enabled) {
|
|
46206
46255
|
const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
|
|
46207
46256
|
const url = runtime.endpoints.identityUrl;
|
|
46208
|
-
const proxyEmail = _nullishCoalesce(_optionalChain([_chunk6PHV4NREcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess',
|
|
46257
|
+
const proxyEmail = _nullishCoalesce(_optionalChain([_chunk6PHV4NREcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1102 => _1102.email]), () => ( null));
|
|
46209
46258
|
const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
|
|
46210
46259
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
|
|
46211
46260
|
_react.useEffect.call(void 0, () => {
|
|
@@ -46296,7 +46345,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
|
|
|
46296
46345
|
yield chunk;
|
|
46297
46346
|
}
|
|
46298
46347
|
} catch (err) {
|
|
46299
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
46348
|
+
if (_optionalChain([err, 'optionalAccess', _1103 => _1103.name]) === "AbortError" || ctrl.signal.aborted) {
|
|
46300
46349
|
return;
|
|
46301
46350
|
}
|
|
46302
46351
|
const errorMessage = err instanceof Error ? err.message : "An error occurred";
|
|
@@ -46347,7 +46396,7 @@ function useChat({
|
|
|
46347
46396
|
const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
|
|
46348
46397
|
onMessagesChangeRef.current = onMessagesChange;
|
|
46349
46398
|
_react.useEffect.call(void 0, () => {
|
|
46350
|
-
_optionalChain([onMessagesChangeRef, 'access',
|
|
46399
|
+
_optionalChain([onMessagesChangeRef, 'access', _1104 => _1104.current, 'optionalCall', _1105 => _1105(messages)]);
|
|
46351
46400
|
}, [messages]);
|
|
46352
46401
|
const {
|
|
46353
46402
|
streamMessage,
|
|
@@ -46384,7 +46433,7 @@ function useChat({
|
|
|
46384
46433
|
name: "You",
|
|
46385
46434
|
content: text,
|
|
46386
46435
|
timestamp: /* @__PURE__ */ new Date(),
|
|
46387
|
-
..._optionalChain([options, 'optionalAccess',
|
|
46436
|
+
..._optionalChain([options, 'optionalAccess', _1106 => _1106.hidden]) ? { hidden: true } : {}
|
|
46388
46437
|
};
|
|
46389
46438
|
addMessage(userMessage);
|
|
46390
46439
|
setIsTyping(true);
|
|
@@ -46446,7 +46495,7 @@ function useChat({
|
|
|
46446
46495
|
currentTextSegment = "";
|
|
46447
46496
|
}
|
|
46448
46497
|
const seg = segment;
|
|
46449
|
-
const proposalId = _optionalChain([seg, 'access',
|
|
46498
|
+
const proposalId = _optionalChain([seg, 'access', _1107 => _1107.data, 'optionalAccess', _1108 => _1108.requestId]);
|
|
46450
46499
|
const updateApprovalMessage = (transform) => {
|
|
46451
46500
|
setMessages((prev) => {
|
|
46452
46501
|
for (let i = prev.length - 1; i >= 0; i--) {
|
|
@@ -46455,7 +46504,7 @@ function useChat({
|
|
|
46455
46504
|
if (!Array.isArray(m.content)) continue;
|
|
46456
46505
|
const segments = m.content;
|
|
46457
46506
|
const hasMatch = segments.some(
|
|
46458
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
46507
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1109 => _1109.data, 'optionalAccess', _1110 => _1110.requestId]) === proposalId
|
|
46459
46508
|
);
|
|
46460
46509
|
if (!hasMatch) continue;
|
|
46461
46510
|
const next = [...prev];
|
|
@@ -46497,11 +46546,11 @@ function useChat({
|
|
|
46497
46546
|
if (!Array.isArray(m.content)) continue;
|
|
46498
46547
|
const segments = m.content;
|
|
46499
46548
|
const hasMatch = segments.some(
|
|
46500
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
46549
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1111 => _1111.data, 'optionalAccess', _1112 => _1112.requestId]) === decision.proposalId
|
|
46501
46550
|
);
|
|
46502
46551
|
if (!hasMatch) continue;
|
|
46503
46552
|
const flipped = segments.map(
|
|
46504
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
46553
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1113 => _1113.data, 'optionalAccess', _1114 => _1114.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
|
|
46505
46554
|
);
|
|
46506
46555
|
const next = [...prev];
|
|
46507
46556
|
next[i] = { ...m, content: flipped };
|
|
@@ -46663,8 +46712,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
46663
46712
|
})),
|
|
46664
46713
|
{ role: "user", content: message2 }
|
|
46665
46714
|
];
|
|
46666
|
-
const targetPath = _optionalChain([extra, 'optionalAccess',
|
|
46667
|
-
const requestBody = _optionalChain([extra, 'optionalAccess',
|
|
46715
|
+
const targetPath = _optionalChain([extra, 'optionalAccess', _1115 => _1115.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
|
|
46716
|
+
const requestBody = _optionalChain([extra, 'optionalAccess', _1116 => _1116.approvalAction]) ? {
|
|
46668
46717
|
proposal_id: extra.approvalAction.proposalId,
|
|
46669
46718
|
action: extra.approvalAction.action,
|
|
46670
46719
|
messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
|
|
@@ -46673,8 +46722,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
46673
46722
|
}))
|
|
46674
46723
|
} : {
|
|
46675
46724
|
messages: apiMessages,
|
|
46676
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
46677
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
46725
|
+
..._optionalChain([extra, 'optionalAccess', _1117 => _1117.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
|
|
46726
|
+
..._optionalChain([extra, 'optionalAccess', _1118 => _1118.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
|
|
46678
46727
|
};
|
|
46679
46728
|
const response = await _chunk6PHV4NREcjs.embedAuthedFetch.call(void 0, targetPath, {
|
|
46680
46729
|
method: "POST",
|
|
@@ -46684,7 +46733,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
46684
46733
|
if (!response.ok) {
|
|
46685
46734
|
throw new Error(`Chat request failed: ${response.status}`);
|
|
46686
46735
|
}
|
|
46687
|
-
const reader = _optionalChain([response, 'access',
|
|
46736
|
+
const reader = _optionalChain([response, 'access', _1119 => _1119.body, 'optionalAccess', _1120 => _1120.getReader, 'call', _1121 => _1121()]);
|
|
46688
46737
|
if (!reader) throw new Error("No response body");
|
|
46689
46738
|
const decoder = new TextDecoder();
|
|
46690
46739
|
let buffer = "";
|
|
@@ -46767,7 +46816,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
46767
46816
|
const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
|
|
46768
46817
|
const result = _nullishCoalesce(meta.result, () => ( null));
|
|
46769
46818
|
const card = _nullishCoalesce(meta.card, () => ( null));
|
|
46770
|
-
if (_optionalChain([card, 'optionalAccess',
|
|
46819
|
+
if (_optionalChain([card, 'optionalAccess', _1122 => _1122.ref, 'optionalAccess', _1123 => _1123.id]) && _optionalChain([card, 'optionalAccess', _1124 => _1124.type])) {
|
|
46771
46820
|
const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
|
|
46772
46821
|
const key = buildChatRefKey(card.type, card.ref.id);
|
|
46773
46822
|
refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
|
|
@@ -46780,8 +46829,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
46780
46829
|
willAutoContinue: meta.willAutoContinue === true,
|
|
46781
46830
|
...toolName ? { toolName } : {},
|
|
46782
46831
|
...result ? { result } : {},
|
|
46783
|
-
..._optionalChain([card, 'optionalAccess',
|
|
46784
|
-
..._optionalChain([card, 'optionalAccess',
|
|
46832
|
+
..._optionalChain([card, 'optionalAccess', _1125 => _1125.marker]) ? { marker: card.marker } : {},
|
|
46833
|
+
..._optionalChain([card, 'optionalAccess', _1126 => _1126.ref]) ? { cardRef: card.ref } : {},
|
|
46785
46834
|
...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
|
|
46786
46835
|
proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
|
|
46787
46836
|
};
|
|
@@ -46900,7 +46949,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
|
|
|
46900
46949
|
var chatStorageKey = (source) => {
|
|
46901
46950
|
const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
|
|
46902
46951
|
const auth = _chunk6PHV4NREcjs.getEmbedProxyAuth.call(void 0, );
|
|
46903
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
46952
|
+
if (_optionalChain([auth, 'optionalAccess', _1127 => _1127.email])) {
|
|
46904
46953
|
return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
|
|
46905
46954
|
}
|
|
46906
46955
|
return base;
|
|
@@ -46955,7 +47004,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
46955
47004
|
const { active = true } = runtimeOptions;
|
|
46956
47005
|
const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
|
|
46957
47006
|
const source = runtime.source || DEFAULT_CHAT_SOURCE;
|
|
46958
|
-
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
47007
|
+
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1128 => _1128.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
|
|
46959
47008
|
const persistedRef = _react.useRef.call(void 0, null);
|
|
46960
47009
|
if (persistedRef.current === null) {
|
|
46961
47010
|
pruneStaleChatStorage(source);
|
|
@@ -47060,7 +47109,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
47060
47109
|
const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
|
|
47061
47110
|
sources = sourcesMapRef.current.get(lookupIdx);
|
|
47062
47111
|
chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
|
|
47063
|
-
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access',
|
|
47112
|
+
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1129 => _1129.current, 'access', _1130 => _1130.get, 'call', _1131 => _1131(lookupIdx), 'optionalAccess', _1132 => _1132.scrollAnchor]), () => ( void 0));
|
|
47064
47113
|
}
|
|
47065
47114
|
return {
|
|
47066
47115
|
id: m.id,
|
|
@@ -47108,7 +47157,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
47108
47157
|
);
|
|
47109
47158
|
return;
|
|
47110
47159
|
}
|
|
47111
|
-
const refSlug = typeof _optionalChain([reference, 'access',
|
|
47160
|
+
const refSlug = typeof _optionalChain([reference, 'access', _1133 => _1133.metadata, 'optionalAccess', _1134 => _1134.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
|
|
47112
47161
|
const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
|
|
47113
47162
|
const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
47114
47163
|
const text = `/${cmdId} display "${escaped}"`;
|
|
@@ -47180,18 +47229,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
47180
47229
|
clearMessages,
|
|
47181
47230
|
streamingPhase,
|
|
47182
47231
|
/** Provider key for the lib's `<ModelDisplay>` icon. */
|
|
47183
|
-
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
47184
|
-
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
47185
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
47232
|
+
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1135 => _1135.provider]), () => ( null)),
|
|
47233
|
+
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1136 => _1136.modelLabel]), () => ( null)),
|
|
47234
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1137 => _1137.contextWindowMaxTokens]), () => ( null)),
|
|
47186
47235
|
/** Input tokens (known after server's message_start frame; null until). */
|
|
47187
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
47236
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1138 => _1138.inputTokens]), () => ( null)),
|
|
47188
47237
|
/** Output tokens (known only after server's trailing usage frame). */
|
|
47189
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
47238
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1139 => _1139.outputTokens]), () => ( null)),
|
|
47190
47239
|
/** Cache hit % (read / total-input × 100). null during streaming. */
|
|
47191
|
-
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
47240
|
+
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1140 => _1140.cacheHitRatePct]), () => ( null)),
|
|
47192
47241
|
/** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
|
|
47193
47242
|
* token counts). null until the trailing usage frame lands. */
|
|
47194
|
-
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
47243
|
+
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1141 => _1141.breakdown]), () => ( null)),
|
|
47195
47244
|
// ─── Dialog management — stubs for v1 ────────────────────────────────
|
|
47196
47245
|
// Guide mode currently keeps its history in `localStorage` opaquely
|
|
47197
47246
|
// under the hood (`runtime.source` namespaced key). Surfacing that
|
|
@@ -47249,15 +47298,15 @@ var noopRejectRequest = async (_id, _reason) => {
|
|
|
47249
47298
|
|
|
47250
47299
|
// src/components/chat/utils/process-historical-messages.ts
|
|
47251
47300
|
function getOwnerDisplayName(owner) {
|
|
47252
|
-
if (_optionalChain([owner, 'optionalAccess',
|
|
47301
|
+
if (_optionalChain([owner, 'optionalAccess', _1142 => _1142.type]) === OWNER_TYPE.ADMIN && owner.user) {
|
|
47253
47302
|
const { firstName, lastName } = owner.user;
|
|
47254
47303
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
47255
47304
|
if (name) return name;
|
|
47256
47305
|
}
|
|
47257
|
-
return _optionalChain([owner, 'optionalAccess',
|
|
47306
|
+
return _optionalChain([owner, 'optionalAccess', _1143 => _1143.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
47258
47307
|
}
|
|
47259
47308
|
function getOwnerAvatar(owner) {
|
|
47260
|
-
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess',
|
|
47309
|
+
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1144 => _1144.user, 'optionalAccess', _1145 => _1145.image, 'optionalAccess', _1146 => _1146.imageUrl]), () => ( void 0));
|
|
47261
47310
|
}
|
|
47262
47311
|
function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
|
|
47263
47312
|
messageDataArray.forEach((data) => {
|
|
@@ -47320,14 +47369,14 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
47320
47369
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
47321
47370
|
return;
|
|
47322
47371
|
}
|
|
47323
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
47372
|
+
const isUserMessage = _optionalChain([msg, 'access', _1147 => _1147.owner, 'optionalAccess', _1148 => _1148.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1149 => _1149.owner, 'optionalAccess', _1150 => _1150.type]) === OWNER_TYPE.ADMIN;
|
|
47324
47373
|
if (isUserMessage) {
|
|
47325
47374
|
flushAssistantMessage();
|
|
47326
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
47375
|
+
const userAuthorType = _optionalChain([msg, 'access', _1151 => _1151.owner, 'optionalAccess', _1152 => _1152.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
47327
47376
|
messageDataArray.forEach((data) => {
|
|
47328
47377
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
47329
47378
|
const rawContext = data.contextItems;
|
|
47330
|
-
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess',
|
|
47379
|
+
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1153 => _1153.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1154 => _1154.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
47331
47380
|
processedMessages.push({
|
|
47332
47381
|
id: msg.id,
|
|
47333
47382
|
role: "user",
|
|
@@ -47351,7 +47400,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
47351
47400
|
});
|
|
47352
47401
|
const nextMsg = messages[index + 1];
|
|
47353
47402
|
const isLastMessage = index === messages.length - 1;
|
|
47354
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
47403
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1155 => _1155.owner, 'optionalAccess', _1156 => _1156.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1157 => _1157.owner, 'optionalAccess', _1158 => _1158.type]) === OWNER_TYPE.ADMIN);
|
|
47355
47404
|
if (isLastMessage || nextIsFromUser) {
|
|
47356
47405
|
flushAssistantMessage();
|
|
47357
47406
|
}
|
|
@@ -47461,7 +47510,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
47461
47510
|
}
|
|
47462
47511
|
}
|
|
47463
47512
|
} else {
|
|
47464
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
47513
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1159 => _1159.set, 'call', _1160 => _1160(data.approvalRequestId, {
|
|
47465
47514
|
command: data.command || "",
|
|
47466
47515
|
explanation: data.explanation,
|
|
47467
47516
|
approvalType,
|
|
@@ -47475,8 +47524,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
47475
47524
|
const existingStatus = approvalStatuses[data.approvalRequestId];
|
|
47476
47525
|
const status = existingStatus || (data.approved ? "approved" : "rejected");
|
|
47477
47526
|
const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
|
|
47478
|
-
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess',
|
|
47479
|
-
if (_optionalChain([escalatedData, 'optionalAccess',
|
|
47527
|
+
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1161 => _1161.get, 'call', _1162 => _1162(data.approvalRequestId)]);
|
|
47528
|
+
if (_optionalChain([escalatedData, 'optionalAccess', _1163 => _1163.toolCalls]) && escalatedData.toolCalls.length > 0) {
|
|
47480
47529
|
if (batchApprovalsEnabled) {
|
|
47481
47530
|
accumulator.addApprovalBatch(
|
|
47482
47531
|
data.approvalRequestId,
|
|
@@ -47498,7 +47547,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
47498
47547
|
);
|
|
47499
47548
|
}
|
|
47500
47549
|
}
|
|
47501
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
47550
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1164 => _1164.delete, 'call', _1165 => _1165(data.approvalRequestId)]);
|
|
47502
47551
|
break;
|
|
47503
47552
|
}
|
|
47504
47553
|
if (escalatedData) {
|
|
@@ -47507,7 +47556,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
47507
47556
|
explanation: escalatedData.explanation,
|
|
47508
47557
|
approvalType: escalatedData.approvalType
|
|
47509
47558
|
});
|
|
47510
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
47559
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1166 => _1166.delete, 'call', _1167 => _1167(data.approvalRequestId)]);
|
|
47511
47560
|
}
|
|
47512
47561
|
const before = accumulator.getSegments();
|
|
47513
47562
|
const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
|
|
@@ -47523,9 +47572,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
47523
47572
|
case MESSAGE_TYPE.ERROR:
|
|
47524
47573
|
if ("error" in data) {
|
|
47525
47574
|
let message2;
|
|
47526
|
-
if ("details" in data && _optionalChain([data, 'optionalAccess',
|
|
47575
|
+
if ("details" in data && _optionalChain([data, 'optionalAccess', _1168 => _1168.details])) {
|
|
47527
47576
|
try {
|
|
47528
|
-
message2 = _optionalChain([JSON, 'access',
|
|
47577
|
+
message2 = _optionalChain([JSON, 'access', _1169 => _1169.parse, 'call', _1170 => _1170(data.details), 'optionalAccess', _1171 => _1171.error, 'optionalAccess', _1172 => _1172.message]);
|
|
47529
47578
|
} catch (e59) {
|
|
47530
47579
|
message2 = data.details;
|
|
47531
47580
|
}
|
|
@@ -47608,14 +47657,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
47608
47657
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
47609
47658
|
return;
|
|
47610
47659
|
}
|
|
47611
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
47660
|
+
const isUserMessage = _optionalChain([msg, 'access', _1173 => _1173.owner, 'optionalAccess', _1174 => _1174.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1175 => _1175.owner, 'optionalAccess', _1176 => _1176.type]) === OWNER_TYPE.ADMIN;
|
|
47612
47661
|
if (isUserMessage) {
|
|
47613
47662
|
flushAssistantMessage();
|
|
47614
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
47663
|
+
const userAuthorType = _optionalChain([msg, 'access', _1177 => _1177.owner, 'optionalAccess', _1178 => _1178.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
47615
47664
|
messageDataArray.forEach((data) => {
|
|
47616
47665
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
47617
47666
|
const rawContext = data.contextItems;
|
|
47618
|
-
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess',
|
|
47667
|
+
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1179 => _1179.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1180 => _1180.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
47619
47668
|
processedMessages.push({
|
|
47620
47669
|
id: msg.id,
|
|
47621
47670
|
role: "user",
|
|
@@ -47639,7 +47688,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
47639
47688
|
});
|
|
47640
47689
|
const nextMsg = messages[index + 1];
|
|
47641
47690
|
const isLastMessage = index === messages.length - 1;
|
|
47642
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
47691
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1181 => _1181.owner, 'optionalAccess', _1182 => _1182.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1183 => _1183.owner, 'optionalAccess', _1184 => _1184.type]) === OWNER_TYPE.ADMIN);
|
|
47643
47692
|
if (isLastMessage || nextIsFromUser) {
|
|
47644
47693
|
flushAssistantMessage();
|
|
47645
47694
|
}
|
|
@@ -47975,7 +48024,7 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
47975
48024
|
}, [active, fetchDialogs, loadDialogsPage]);
|
|
47976
48025
|
const sendMessage = _react.useCallback.call(void 0,
|
|
47977
48026
|
async (text, sendOptions) => {
|
|
47978
|
-
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess',
|
|
48027
|
+
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1185 => _1185.hidden]), () => ( false));
|
|
47979
48028
|
setMessages((prev) => [
|
|
47980
48029
|
...prev,
|
|
47981
48030
|
{
|
|
@@ -48139,11 +48188,11 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
48139
48188
|
// Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
|
|
48140
48189
|
// contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
|
|
48141
48190
|
// matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
|
|
48142
|
-
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
48143
|
-
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
48144
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
48145
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
48146
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
48191
|
+
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1186 => _1186.provider]), () => ( modelProvider)), () => ( null)),
|
|
48192
|
+
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1187 => _1187.modelLabel]), () => ( modelLabel)), () => ( null)),
|
|
48193
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1188 => _1188.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1189 => _1189.contextWindowMaxTokens]))), () => ( null)),
|
|
48194
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1190 => _1190.inputTokensSize]), () => ( null)),
|
|
48195
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1191 => _1191.outputTokensSize]), () => ( null)),
|
|
48147
48196
|
currentCacheHitRatePct: null,
|
|
48148
48197
|
currentUsageBreakdown: null,
|
|
48149
48198
|
// Dialog management
|
|
@@ -48391,7 +48440,7 @@ function extractIncompleteMessageState(lastMessage) {
|
|
|
48391
48440
|
break;
|
|
48392
48441
|
case "approval_batch": {
|
|
48393
48442
|
const allDone = !!segment.data.executions && segment.data.toolCalls.every(
|
|
48394
|
-
(c) => _optionalChain([segment, 'access',
|
|
48443
|
+
(c) => _optionalChain([segment, 'access', _1192 => _1192.data, 'access', _1193 => _1193.executions, 'optionalAccess', _1194 => _1194[c.toolExecutionRequestId], 'optionalAccess', _1195 => _1195.status]) === "done"
|
|
48395
48444
|
);
|
|
48396
48445
|
if (segment.status !== "rejected" && !allDone) {
|
|
48397
48446
|
hasIncompleteState = true;
|
|
@@ -48459,20 +48508,20 @@ function mergeHistoryWithRealtime(input) {
|
|
|
48459
48508
|
const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
|
|
48460
48509
|
const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
|
|
48461
48510
|
const trailing = processedHistory[processedHistory.length - 1];
|
|
48462
|
-
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess',
|
|
48463
|
-
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access',
|
|
48511
|
+
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1196 => _1196.role]) === "assistant" ? trailing : null;
|
|
48512
|
+
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1197 => _1197.content, 'access', _1198 => _1198.find, 'call', _1199 => _1199((s) => s.type === "approval_batch"), 'optionalAccess', _1200 => _1200.data, 'optionalAccess', _1201 => _1201.approvalRequestId]), () => ( null)) : null;
|
|
48464
48513
|
let processedToUse = processedHistory;
|
|
48465
48514
|
const pinnedSyntheticIds = /* @__PURE__ */ new Set();
|
|
48466
48515
|
const droppedSyntheticIds = /* @__PURE__ */ new Set();
|
|
48467
48516
|
if (historyBatchId) {
|
|
48468
48517
|
const batchTwins = existingMessages.filter(
|
|
48469
48518
|
(m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
|
|
48470
|
-
(s) => s.type === "approval_batch" && _optionalChain([s, 'access',
|
|
48519
|
+
(s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1202 => _1202.data, 'optionalAccess', _1203 => _1203.approvalRequestId]) === historyBatchId
|
|
48471
48520
|
)
|
|
48472
48521
|
);
|
|
48473
48522
|
const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
|
|
48474
48523
|
if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
|
|
48475
|
-
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess',
|
|
48524
|
+
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1204 => _1204.content])) ? historyTrailingAssistant.content.length : 0;
|
|
48476
48525
|
const realtimeSize = existingWithSameBatch.content.length;
|
|
48477
48526
|
if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
|
|
48478
48527
|
processedToUse = processedHistory.slice(0, -1);
|
|
@@ -48488,16 +48537,16 @@ function mergeHistoryWithRealtime(input) {
|
|
|
48488
48537
|
if (pinnedSyntheticIds.has(m.id)) return true;
|
|
48489
48538
|
if (droppedSyntheticIds.has(m.id)) return false;
|
|
48490
48539
|
if (processedIds.has(m.id)) return false;
|
|
48491
|
-
if (_optionalChain([rawHistoryIds, 'optionalAccess',
|
|
48540
|
+
if (_optionalChain([rawHistoryIds, 'optionalAccess', _1205 => _1205.has, 'call', _1206 => _1206(m.id)])) return false;
|
|
48492
48541
|
if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
|
|
48493
|
-
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access',
|
|
48542
|
+
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1207 => _1207.timestamp, 'optionalAccess', _1208 => _1208.getTime, 'call', _1209 => _1209()]), () => ( 0))) <= historyFetchedAt;
|
|
48494
48543
|
return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
|
|
48495
48544
|
}
|
|
48496
48545
|
if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
|
|
48497
48546
|
if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
|
|
48498
48547
|
return false;
|
|
48499
48548
|
}
|
|
48500
|
-
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access',
|
|
48549
|
+
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1210 => _1210.timestamp, 'optionalAccess', _1211 => _1211.getTime, 'call', _1212 => _1212()]), () => ( 0))) <= historyFetchedAt;
|
|
48501
48550
|
if (covered) return false;
|
|
48502
48551
|
}
|
|
48503
48552
|
return true;
|
|
@@ -48717,7 +48766,7 @@ function useChatDialogManager({
|
|
|
48717
48766
|
const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
|
|
48718
48767
|
if (restoreTarget) {
|
|
48719
48768
|
try {
|
|
48720
|
-
await _optionalChain([unarchiveDialog, 'optionalCall',
|
|
48769
|
+
await _optionalChain([unarchiveDialog, 'optionalCall', _1213 => _1213(restoreTarget.id)]);
|
|
48721
48770
|
} catch (err) {
|
|
48722
48771
|
console.error("[useChatDialogManager] unarchive failed:", err);
|
|
48723
48772
|
return;
|
|
@@ -49134,7 +49183,7 @@ function EmbeddableChatInner({
|
|
|
49134
49183
|
}),
|
|
49135
49184
|
[commandsUrl]
|
|
49136
49185
|
);
|
|
49137
|
-
const userName = _optionalChain([identityUser, 'optionalAccess',
|
|
49186
|
+
const userName = _optionalChain([identityUser, 'optionalAccess', _1214 => _1214.firstName, 'optionalAccess', _1215 => _1215.trim, 'call', _1216 => _1216()]) || _optionalChain([identityUser, 'optionalAccess', _1217 => _1217.name, 'optionalAccess', _1218 => _1218.split, 'call', _1219 => _1219(" "), 'access', _1220 => _1220[0], 'optionalAccess', _1221 => _1221.trim, 'call', _1222 => _1222()]) || void 0;
|
|
49138
49187
|
const effectiveModes = _react.useMemo.call(void 0, () => {
|
|
49139
49188
|
if (modes) return modes;
|
|
49140
49189
|
const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
|
|
@@ -49143,19 +49192,19 @@ function EmbeddableChatInner({
|
|
|
49143
49192
|
const mingoCaps = _react.useMemo.call(void 0, () => {
|
|
49144
49193
|
if (mingoState) {
|
|
49145
49194
|
return {
|
|
49146
|
-
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
49147
|
-
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
49148
|
-
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
49149
|
-
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
49150
|
-
searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
49151
|
-
onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
49195
|
+
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1223 => _1223.canRename]), () => ( false)),
|
|
49196
|
+
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1224 => _1224.canArchive]), () => ( false)),
|
|
49197
|
+
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1225 => _1225.fetchArchivedDialogs]),
|
|
49198
|
+
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1226 => _1226.unarchiveDialog]),
|
|
49199
|
+
searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1227 => _1227.searchQuery]),
|
|
49200
|
+
onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1228 => _1228.onSearchChange])
|
|
49152
49201
|
};
|
|
49153
49202
|
}
|
|
49154
49203
|
return {
|
|
49155
|
-
canRename: !!_optionalChain([effectiveModes, 'access',
|
|
49156
|
-
canArchive: !!_optionalChain([effectiveModes, 'access',
|
|
49157
|
-
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access',
|
|
49158
|
-
unarchiveDialog: _optionalChain([effectiveModes, 'access',
|
|
49204
|
+
canRename: !!_optionalChain([effectiveModes, 'access', _1229 => _1229.mingo, 'optionalAccess', _1230 => _1230.renameDialog]),
|
|
49205
|
+
canArchive: !!_optionalChain([effectiveModes, 'access', _1231 => _1231.mingo, 'optionalAccess', _1232 => _1232.archiveDialog]),
|
|
49206
|
+
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1233 => _1233.mingo, 'optionalAccess', _1234 => _1234.fetchArchivedDialogs]),
|
|
49207
|
+
unarchiveDialog: _optionalChain([effectiveModes, 'access', _1235 => _1235.mingo, 'optionalAccess', _1236 => _1236.unarchiveDialog]),
|
|
49159
49208
|
searchQuery: void 0,
|
|
49160
49209
|
onSearchChange: void 0
|
|
49161
49210
|
};
|
|
@@ -49169,7 +49218,7 @@ function EmbeddableChatInner({
|
|
|
49169
49218
|
if (controlledActiveMode === void 0) {
|
|
49170
49219
|
setUncontrolledActiveMode(next);
|
|
49171
49220
|
}
|
|
49172
|
-
_optionalChain([onActiveModeChange, 'optionalCall',
|
|
49221
|
+
_optionalChain([onActiveModeChange, 'optionalCall', _1237 => _1237(next)]);
|
|
49173
49222
|
},
|
|
49174
49223
|
[controlledActiveMode, onActiveModeChange]
|
|
49175
49224
|
);
|
|
@@ -49191,7 +49240,7 @@ function EmbeddableChatInner({
|
|
|
49191
49240
|
const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
|
|
49192
49241
|
const effectiveAssistantName = emptyStateConfig.name;
|
|
49193
49242
|
const effectiveAssistantIcon = emptyStateConfig.icon;
|
|
49194
|
-
const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess',
|
|
49243
|
+
const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1238 => _1238.title]) === "string" ? guideWelcome.title : null)));
|
|
49195
49244
|
const {
|
|
49196
49245
|
messages: rawMessages,
|
|
49197
49246
|
isLoading: chatLoading,
|
|
@@ -49231,7 +49280,7 @@ function EmbeddableChatInner({
|
|
|
49231
49280
|
if (activeMode !== "guide" || guidePromptSentRef.current) return;
|
|
49232
49281
|
guidePromptSentRef.current = true;
|
|
49233
49282
|
void sendMessage(guidePendingPrompt);
|
|
49234
|
-
_optionalChain([onGuidePromptConsumed, 'optionalCall',
|
|
49283
|
+
_optionalChain([onGuidePromptConsumed, 'optionalCall', _1239 => _1239()]);
|
|
49235
49284
|
}, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
|
|
49236
49285
|
const {
|
|
49237
49286
|
attachments: stagedAttachments,
|
|
@@ -49242,7 +49291,7 @@ function EmbeddableChatInner({
|
|
|
49242
49291
|
clear: clearAttachments
|
|
49243
49292
|
} = useChatAttachments();
|
|
49244
49293
|
const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
|
|
49245
|
-
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess',
|
|
49294
|
+
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1240 => _1240.maxItems]), () => ( 10));
|
|
49246
49295
|
const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
|
|
49247
49296
|
const [contextItems, setContextItems] = _react.useState.call(void 0, []);
|
|
49248
49297
|
const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
|
|
@@ -49259,10 +49308,10 @@ function EmbeddableChatInner({
|
|
|
49259
49308
|
}, [activeDialogId, activeMode]);
|
|
49260
49309
|
const mentionMarkerByType = _react.useMemo.call(void 0, () => {
|
|
49261
49310
|
const m = /* @__PURE__ */ new Map();
|
|
49262
|
-
for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess',
|
|
49311
|
+
for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1241 => _1241.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
|
|
49263
49312
|
return m;
|
|
49264
|
-
}, [_optionalChain([contextPicker, 'optionalAccess',
|
|
49265
|
-
const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess',
|
|
49313
|
+
}, [_optionalChain([contextPicker, 'optionalAccess', _1242 => _1242.entityTypes])]);
|
|
49314
|
+
const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1243 => _1243.entityTypes]);
|
|
49266
49315
|
const resolveContextIcon = _react.useMemo.call(void 0, () => {
|
|
49267
49316
|
const byType = /* @__PURE__ */ new Map();
|
|
49268
49317
|
for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
|
|
@@ -49274,7 +49323,7 @@ function EmbeddableChatInner({
|
|
|
49274
49323
|
if (mentionActiveRef.current) {
|
|
49275
49324
|
if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
|
|
49276
49325
|
if (contextItems.length >= contextMaxItems) return;
|
|
49277
|
-
_optionalChain([chatInputRef, 'access',
|
|
49326
|
+
_optionalChain([chatInputRef, 'access', _1244 => _1244.current, 'optionalAccess', _1245 => _1245.commitMention, 'call', _1246 => _1246(mentionTokenOf(key, mentionMarkerByType), {
|
|
49278
49327
|
label: item.label,
|
|
49279
49328
|
icon: resolveContextIcon(item)
|
|
49280
49329
|
})]);
|
|
@@ -49296,9 +49345,9 @@ function EmbeddableChatInner({
|
|
|
49296
49345
|
setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
|
|
49297
49346
|
if (mentionKeysRef.current.has(key)) {
|
|
49298
49347
|
mentionKeysRef.current.delete(key);
|
|
49299
|
-
const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access',
|
|
49348
|
+
const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1247 => _1247.current, 'optionalAccess', _1248 => _1248.getValue, 'call', _1249 => _1249()]), () => ( ""));
|
|
49300
49349
|
const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
|
|
49301
|
-
_optionalChain([chatInputRef, 'access',
|
|
49350
|
+
_optionalChain([chatInputRef, 'access', _1250 => _1250.current, 'optionalAccess', _1251 => _1251.setValue, 'call', _1252 => _1252(next)]);
|
|
49302
49351
|
}
|
|
49303
49352
|
}, [mentionMarkerByType]);
|
|
49304
49353
|
const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
|
|
@@ -49315,7 +49364,7 @@ function EmbeddableChatInner({
|
|
|
49315
49364
|
}, []);
|
|
49316
49365
|
const closeContextPicker = _react.useCallback.call(void 0, () => {
|
|
49317
49366
|
if (mentionActiveRef.current) {
|
|
49318
|
-
_optionalChain([chatInputRef, 'access',
|
|
49367
|
+
_optionalChain([chatInputRef, 'access', _1253 => _1253.current, 'optionalAccess', _1254 => _1254.removeMentionTrigger, 'call', _1255 => _1255()]);
|
|
49319
49368
|
}
|
|
49320
49369
|
setContextPickerOpen(false);
|
|
49321
49370
|
setMentionQuery(null);
|
|
@@ -49349,8 +49398,8 @@ function EmbeddableChatInner({
|
|
|
49349
49398
|
[]
|
|
49350
49399
|
);
|
|
49351
49400
|
const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
|
|
49352
|
-
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess',
|
|
49353
|
-
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess',
|
|
49401
|
+
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1256 => _1256.firstName]), _optionalChain([identityUser, 'optionalAccess', _1257 => _1257.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1258 => _1258.name, 'optionalAccess', _1259 => _1259.trim, 'call', _1260 => _1260()]) || void 0 : void 0;
|
|
49402
|
+
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1261 => _1261.avatarUrl, 'optionalAccess', _1262 => _1262.trim, 'call', _1263 => _1263()]) || void 0 : void 0;
|
|
49354
49403
|
const messages = _react.useMemo.call(void 0, () => {
|
|
49355
49404
|
const cache = timestampCacheRef.current;
|
|
49356
49405
|
const seenIds = /* @__PURE__ */ new Set();
|
|
@@ -49519,9 +49568,9 @@ function EmbeddableChatInner({
|
|
|
49519
49568
|
const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
|
|
49520
49569
|
const lastSources = _react.useMemo.call(void 0, () => {
|
|
49521
49570
|
if (chatLoading) return void 0;
|
|
49522
|
-
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
49571
|
+
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1264 => _1264.sources]);
|
|
49523
49572
|
if (!sources || sources.length === 0) return void 0;
|
|
49524
|
-
const content = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
49573
|
+
const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1265 => _1265.content]) || "";
|
|
49525
49574
|
const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
|
|
49526
49575
|
(m) => parseInt(m[1], 10)
|
|
49527
49576
|
);
|
|
@@ -49568,7 +49617,7 @@ function EmbeddableChatInner({
|
|
|
49568
49617
|
ChatPanelHeader,
|
|
49569
49618
|
{
|
|
49570
49619
|
showBack: hasConversation || guideCanReturnToMingo,
|
|
49571
|
-
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess',
|
|
49620
|
+
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1266 => _1266.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
|
|
49572
49621
|
backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
|
|
49573
49622
|
isArchivedView: isViewingArchived,
|
|
49574
49623
|
onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
|
|
@@ -49689,9 +49738,9 @@ function EmbeddableChatInner({
|
|
|
49689
49738
|
subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
|
|
49690
49739
|
subtitleLoading: emptyStateLoading,
|
|
49691
49740
|
...guideWelcome,
|
|
49692
|
-
title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess',
|
|
49693
|
-
icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess',
|
|
49694
|
-
quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess',
|
|
49741
|
+
title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1267 => _1267.title]))),
|
|
49742
|
+
icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1268 => _1268.icon]))),
|
|
49743
|
+
quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1269 => _1269.quickActions]), () => ( guideSuggestedActions)),
|
|
49695
49744
|
onQuickAction: (action) => {
|
|
49696
49745
|
setQuickActionPreview(null);
|
|
49697
49746
|
handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
|
|
@@ -49829,7 +49878,7 @@ function EmbeddableChatInner({
|
|
|
49829
49878
|
defaultSize: 750,
|
|
49830
49879
|
storageKey: "mingo-chat-width",
|
|
49831
49880
|
resizeAriaLabel: "Resize chat panel",
|
|
49832
|
-
overlayClassName: "mingo-chat-overlay
|
|
49881
|
+
overlayClassName: "mingo-chat-overlay",
|
|
49833
49882
|
"aria-describedby": void 0,
|
|
49834
49883
|
className: "\n mingo-chat-content !bg-ods-bg shadow-2xl\n focus:outline-none focus-visible:outline-none\n w-screen md:w-auto\n ",
|
|
49835
49884
|
children: [
|
|
@@ -50782,5 +50831,6 @@ function EmbeddableChatInner({
|
|
|
50782
50831
|
|
|
50783
50832
|
|
|
50784
50833
|
|
|
50785
|
-
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.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.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; 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.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.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.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.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.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; 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.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.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; 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.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; 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.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.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; 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.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; 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.readLeadingDecisionFrame = readLeadingDecisionFrame; 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.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.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; 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.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.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; 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.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; 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.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;
|
|
50786
|
-
//# sourceMappingURL=chunk-NRQSIW7I.cjs.map
|
|
50834
|
+
|
|
50835
|
+
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.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.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; 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.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.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.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.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; 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.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.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; 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.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; 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.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.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; 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.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; 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.readLeadingDecisionFrame = readLeadingDecisionFrame; 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.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.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; 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.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.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; 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.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; 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.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;
|
|
50836
|
+
//# sourceMappingURL=chunk-V653GV4M.cjs.map
|