@flamingo-stack/openframe-frontend-core 0.0.381 → 0.0.382-snapshot.20260708131231
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-XIW3H3MG.js → chunk-6SR7HXGW.js} +4 -4
- package/dist/{chunk-GTBR4AZK.cjs → chunk-7TU6MLIQ.cjs} +12 -12
- package/dist/{chunk-GTBR4AZK.cjs.map → chunk-7TU6MLIQ.cjs.map} +1 -1
- package/dist/{chunk-SINYS4WL.cjs → chunk-AHCBZ6TC.cjs} +62 -62
- package/dist/{chunk-SINYS4WL.cjs.map → chunk-AHCBZ6TC.cjs.map} +1 -1
- package/dist/{chunk-WGZGZDXK.js → chunk-AJJF43ZL.js} +2 -2
- package/dist/{chunk-NZL5EBEC.js → chunk-B45U4FY5.js} +2 -2
- package/dist/{chunk-NMUZ6AHP.cjs → chunk-BALSUWWU.cjs} +37 -37
- package/dist/{chunk-NMUZ6AHP.cjs.map → chunk-BALSUWWU.cjs.map} +1 -1
- package/dist/{chunk-OLXGKYNO.js → chunk-CNDLMBFN.js} +105 -110
- package/dist/{chunk-OLXGKYNO.js.map → chunk-CNDLMBFN.js.map} +1 -1
- package/dist/{chunk-DL4YRO3S.js → chunk-EBOK7SG7.js} +2 -2
- package/dist/{chunk-2AO6O7CU.js → chunk-EGFLSQEJ.js} +4 -4
- package/dist/{chunk-OJECASVU.cjs → chunk-FL6YJLPC.cjs} +7 -7
- package/dist/{chunk-OJECASVU.cjs.map → chunk-FL6YJLPC.cjs.map} +1 -1
- package/dist/{chunk-GLHRSU5B.js → chunk-KBG3PLKS.js} +2 -2
- package/dist/{chunk-HJXKBLQ5.cjs → chunk-KFTCNBSJ.cjs} +5 -5
- package/dist/{chunk-HJXKBLQ5.cjs.map → chunk-KFTCNBSJ.cjs.map} +1 -1
- package/dist/{chunk-ZSBALQJA.cjs → chunk-KGSOMSHT.cjs} +25 -25
- package/dist/{chunk-ZSBALQJA.cjs.map → chunk-KGSOMSHT.cjs.map} +1 -1
- package/dist/{chunk-CUTFUKBD.js → chunk-KQQ6U4UW.js} +4 -4
- package/dist/{chunk-POZPF4GF.js → chunk-LI7OAUSA.js} +4 -4
- package/dist/{chunk-YA2ZDROZ.js → chunk-MY7TV47R.js} +2 -2
- package/dist/{chunk-AXUAW3HT.cjs → chunk-S2V4EPKL.cjs} +15 -15
- package/dist/{chunk-AXUAW3HT.cjs.map → chunk-S2V4EPKL.cjs.map} +1 -1
- package/dist/{chunk-QHNE2BLP.js → chunk-SGMZQTP6.js} +2 -2
- package/dist/{chunk-J746ERW2.cjs → chunk-VQCV3GGI.cjs} +527 -532
- package/dist/chunk-VQCV3GGI.cjs.map +1 -0
- package/dist/{chunk-CICZZ4BP.cjs → chunk-W456FUZG.cjs} +57 -57
- package/dist/{chunk-CICZZ4BP.cjs.map → chunk-W456FUZG.cjs.map} +1 -1
- package/dist/{chunk-D2Q43SCD.cjs → chunk-WVJFSCXR.cjs} +26 -26
- package/dist/{chunk-D2Q43SCD.cjs.map → chunk-WVJFSCXR.cjs.map} +1 -1
- package/dist/{chunk-3ETXMQL3.cjs → chunk-YW6K7IYF.cjs} +31 -31
- package/dist/{chunk-3ETXMQL3.cjs.map → chunk-YW6K7IYF.cjs.map} +1 -1
- package/dist/{chunk-3MOKIGOW.js → chunk-ZD6GZX7E.js} +2 -2
- package/dist/{chunk-N546ZNOS.cjs → chunk-ZFIDR55N.cjs} +9 -9
- package/dist/{chunk-N546ZNOS.cjs.map → chunk-ZFIDR55N.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/auth/accept-invitation-form.d.ts +3 -9
- package/dist/components/features/auth/accept-invitation-form.d.ts.map +1 -1
- package/dist/components/features/auth/create-organization-form.d.ts +8 -1
- package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
- package/dist/components/features/auth/invite-link-invalid-modal.d.ts +3 -2
- package/dist/components/features/auth/invite-link-invalid-modal.d.ts.map +1 -1
- package/dist/components/features/auth/password-reset-form.d.ts +3 -1
- package/dist/components/features/auth/password-reset-form.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +120 -120
- package/dist/components/index.js +9 -9
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +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/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/auth/accept-invitation-form.tsx +4 -26
- package/src/components/features/auth/create-organization-form.tsx +21 -10
- package/src/components/features/auth/invite-link-invalid-modal.tsx +6 -4
- package/src/components/features/auth/password-reset-form.tsx +7 -0
- package/src/stories/auth/AcceptInvitation.stories.tsx +4 -16
- package/src/stories/auth/PasswordReset.stories.tsx +1 -0
- package/dist/chunk-J746ERW2.cjs.map +0 -1
- /package/dist/{chunk-XIW3H3MG.js.map → chunk-6SR7HXGW.js.map} +0 -0
- /package/dist/{chunk-WGZGZDXK.js.map → chunk-AJJF43ZL.js.map} +0 -0
- /package/dist/{chunk-NZL5EBEC.js.map → chunk-B45U4FY5.js.map} +0 -0
- /package/dist/{chunk-DL4YRO3S.js.map → chunk-EBOK7SG7.js.map} +0 -0
- /package/dist/{chunk-2AO6O7CU.js.map → chunk-EGFLSQEJ.js.map} +0 -0
- /package/dist/{chunk-GLHRSU5B.js.map → chunk-KBG3PLKS.js.map} +0 -0
- /package/dist/{chunk-CUTFUKBD.js.map → chunk-KQQ6U4UW.js.map} +0 -0
- /package/dist/{chunk-POZPF4GF.js.map → chunk-LI7OAUSA.js.map} +0 -0
- /package/dist/{chunk-YA2ZDROZ.js.map → chunk-MY7TV47R.js.map} +0 -0
- /package/dist/{chunk-QHNE2BLP.js.map → chunk-SGMZQTP6.js.map} +0 -0
- /package/dist/{chunk-3MOKIGOW.js.map → chunk-ZD6GZX7E.js.map} +0 -0
|
@@ -24401,50 +24401,14 @@ function SsoProviderButtons({
|
|
|
24401
24401
|
}) });
|
|
24402
24402
|
}
|
|
24403
24403
|
|
|
24404
|
-
// src/components/features/auth/terms-agreement-label.tsx
|
|
24405
|
-
|
|
24406
|
-
function TermsAgreementLabel({ termsUrl = "#", privacyPolicyUrl = "#" }) {
|
|
24407
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-h4 text-ods-text-primary", children: [
|
|
24408
|
-
"Agree to ",
|
|
24409
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24410
|
-
"a",
|
|
24411
|
-
{
|
|
24412
|
-
href: termsUrl,
|
|
24413
|
-
target: "_blank",
|
|
24414
|
-
rel: "noopener noreferrer",
|
|
24415
|
-
className: "text-ods-text-secondary underline",
|
|
24416
|
-
onClick: (event) => event.stopPropagation(),
|
|
24417
|
-
children: "Terms"
|
|
24418
|
-
}
|
|
24419
|
-
),
|
|
24420
|
-
" & ",
|
|
24421
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24422
|
-
"a",
|
|
24423
|
-
{
|
|
24424
|
-
href: privacyPolicyUrl,
|
|
24425
|
-
target: "_blank",
|
|
24426
|
-
rel: "noopener noreferrer",
|
|
24427
|
-
className: "text-ods-text-secondary underline",
|
|
24428
|
-
onClick: (event) => event.stopPropagation(),
|
|
24429
|
-
children: "Privacy Policy"
|
|
24430
|
-
}
|
|
24431
|
-
),
|
|
24432
|
-
" by signing up."
|
|
24433
|
-
] });
|
|
24434
|
-
}
|
|
24435
|
-
|
|
24436
24404
|
// src/components/features/auth/accept-invitation-form.tsx
|
|
24437
24405
|
|
|
24438
24406
|
function AcceptInvitationForm({
|
|
24439
24407
|
email,
|
|
24440
|
-
agreedToTerms,
|
|
24441
|
-
onAgreedToTermsChange,
|
|
24442
24408
|
ssoProviders,
|
|
24443
24409
|
onSsoClick,
|
|
24444
24410
|
onBackToLogin,
|
|
24445
24411
|
ssoActionLabel = "Sign Up with",
|
|
24446
|
-
termsUrl = "#",
|
|
24447
|
-
privacyPolicyUrl = "#",
|
|
24448
24412
|
emailLabel = "Email",
|
|
24449
24413
|
title = "Accept Invitation",
|
|
24450
24414
|
subtitle = "Complete your registration to join the organization",
|
|
@@ -24465,24 +24429,13 @@ function AcceptInvitationForm({
|
|
|
24465
24429
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: subtitle })
|
|
24466
24430
|
] }),
|
|
24467
24431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.Input, { type: "email", label: emailLabel, value: email, disabled: true, readOnly: true }),
|
|
24468
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24469
|
-
CheckboxBlock,
|
|
24470
|
-
{
|
|
24471
|
-
id: "accept-invite-terms",
|
|
24472
|
-
label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TermsAgreementLabel, { termsUrl, privacyPolicyUrl }),
|
|
24473
|
-
truncateLabel: true,
|
|
24474
|
-
checked: agreedToTerms,
|
|
24475
|
-
disabled: disabled || loading,
|
|
24476
|
-
onCheckedChange: onAgreedToTermsChange
|
|
24477
|
-
}
|
|
24478
|
-
),
|
|
24479
24432
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24480
24433
|
SsoProviderButtons,
|
|
24481
24434
|
{
|
|
24482
24435
|
providers: ssoProviders,
|
|
24483
24436
|
onSsoClick,
|
|
24484
24437
|
actionLabel: ssoActionLabel,
|
|
24485
|
-
disabled: disabled || loading
|
|
24438
|
+
disabled: disabled || loading
|
|
24486
24439
|
}
|
|
24487
24440
|
),
|
|
24488
24441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackToLoginLink, { onClick: onBackToLogin, className: "self-start lg:hidden" })
|
|
@@ -24610,6 +24563,40 @@ function AuthShell({ tabs, children, benefits, mobileTagline, footer, className
|
|
|
24610
24563
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
24611
24564
|
_chunkNYIZVI4Icjs.init_button2.call(void 0, );
|
|
24612
24565
|
|
|
24566
|
+
// src/components/features/auth/terms-agreement-label.tsx
|
|
24567
|
+
|
|
24568
|
+
function TermsAgreementLabel({ termsUrl = "#", privacyPolicyUrl = "#" }) {
|
|
24569
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-h4 text-ods-text-primary", children: [
|
|
24570
|
+
"Agree to ",
|
|
24571
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24572
|
+
"a",
|
|
24573
|
+
{
|
|
24574
|
+
href: termsUrl,
|
|
24575
|
+
target: "_blank",
|
|
24576
|
+
rel: "noopener noreferrer",
|
|
24577
|
+
className: "text-ods-text-secondary underline",
|
|
24578
|
+
onClick: (event) => event.stopPropagation(),
|
|
24579
|
+
children: "Terms"
|
|
24580
|
+
}
|
|
24581
|
+
),
|
|
24582
|
+
" & ",
|
|
24583
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24584
|
+
"a",
|
|
24585
|
+
{
|
|
24586
|
+
href: privacyPolicyUrl,
|
|
24587
|
+
target: "_blank",
|
|
24588
|
+
rel: "noopener noreferrer",
|
|
24589
|
+
className: "text-ods-text-secondary underline",
|
|
24590
|
+
onClick: (event) => event.stopPropagation(),
|
|
24591
|
+
children: "Privacy Policy"
|
|
24592
|
+
}
|
|
24593
|
+
),
|
|
24594
|
+
" by signing up."
|
|
24595
|
+
] });
|
|
24596
|
+
}
|
|
24597
|
+
|
|
24598
|
+
// src/components/features/auth/create-organization-form.tsx
|
|
24599
|
+
|
|
24613
24600
|
function CreateOrganizationForm({
|
|
24614
24601
|
email,
|
|
24615
24602
|
organizationName,
|
|
@@ -24630,6 +24617,8 @@ function CreateOrganizationForm({
|
|
|
24630
24617
|
disabled = false,
|
|
24631
24618
|
errors,
|
|
24632
24619
|
emailStatus,
|
|
24620
|
+
domainStatus,
|
|
24621
|
+
domainSlot,
|
|
24633
24622
|
ssoProviders,
|
|
24634
24623
|
onSsoClick,
|
|
24635
24624
|
ssoActionLabel = "Sign Up with",
|
|
@@ -24682,19 +24671,23 @@ function CreateOrganizationForm({
|
|
|
24682
24671
|
}
|
|
24683
24672
|
) })
|
|
24684
24673
|
] }),
|
|
24685
|
-
/* @__PURE__ */ _jsxruntime.
|
|
24686
|
-
|
|
24687
|
-
|
|
24688
|
-
|
|
24689
|
-
|
|
24690
|
-
|
|
24691
|
-
|
|
24692
|
-
|
|
24693
|
-
|
|
24694
|
-
|
|
24695
|
-
|
|
24696
|
-
|
|
24697
|
-
|
|
24674
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
24675
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24676
|
+
_chunkNYIZVI4Icjs.Input,
|
|
24677
|
+
{
|
|
24678
|
+
label: "Domain",
|
|
24679
|
+
placeholder: domainPlaceholder,
|
|
24680
|
+
value: domain,
|
|
24681
|
+
error: _nullishCoalesce(_optionalChain([errors, 'optionalAccess', _435 => _435.domain]), () => ( _optionalChain([domainStatus, 'optionalAccess', _436 => _436.message]))),
|
|
24682
|
+
errorVariant: _optionalChain([errors, 'optionalAccess', _437 => _437.domain]) ? "error" : _optionalChain([domainStatus, 'optionalAccess', _438 => _438.variant]),
|
|
24683
|
+
disabled: fieldsDisabled,
|
|
24684
|
+
endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
|
|
24685
|
+
onChange: (event) => onDomainChange(event.target.value),
|
|
24686
|
+
onKeyDown: handleKeyDown
|
|
24687
|
+
}
|
|
24688
|
+
),
|
|
24689
|
+
domainSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: domainSlot })
|
|
24690
|
+
] }),
|
|
24698
24691
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24699
24692
|
CheckboxBlock,
|
|
24700
24693
|
{
|
|
@@ -24703,7 +24696,7 @@ function CreateOrganizationForm({
|
|
|
24703
24696
|
truncateLabel: true,
|
|
24704
24697
|
checked: agreedToTerms,
|
|
24705
24698
|
disabled: fieldsDisabled,
|
|
24706
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
24699
|
+
error: _optionalChain([errors, 'optionalAccess', _439 => _439.terms]),
|
|
24707
24700
|
onCheckedChange: onAgreedToTermsChange
|
|
24708
24701
|
}
|
|
24709
24702
|
),
|
|
@@ -24748,10 +24741,10 @@ function InviteLinkInvalidModal({
|
|
|
24748
24741
|
backLabel = "Back to Login",
|
|
24749
24742
|
className
|
|
24750
24743
|
}) {
|
|
24751
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex min-h-screen w-full items-
|
|
24744
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex min-h-screen w-full items-end justify-center bg-ods-bg p-[var(--spacing-system-l)] md:items-center", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
24752
24745
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
24753
24746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 text-h2 text-ods-text-primary tracking-[-0.64px]", children: title }),
|
|
24754
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", "aria-label": "Close", onClick: _nullishCoalesce(onClose, () => ( onBackToLogin)), className: "shrink-0 text-ods-text-primary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.XmarkIcon, { className: "h-6 w-6" }) })
|
|
24747
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", "aria-label": "Close", onClick: _nullishCoalesce(onClose, () => ( onBackToLogin)), className: "hidden shrink-0 text-ods-text-primary md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.XmarkIcon, { className: "h-6 w-6" }) })
|
|
24755
24748
|
] }),
|
|
24756
24749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: description }),
|
|
24757
24750
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
@@ -24806,7 +24799,7 @@ function LoginForm({
|
|
|
24806
24799
|
label: "Email",
|
|
24807
24800
|
placeholder: emailPlaceholder,
|
|
24808
24801
|
value: email,
|
|
24809
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
24802
|
+
error: _optionalChain([errors, 'optionalAccess', _440 => _440.email]),
|
|
24810
24803
|
disabled: fieldDisabled,
|
|
24811
24804
|
onChange: (event) => onEmailChange(event.target.value),
|
|
24812
24805
|
onKeyDown: handleKeyDown
|
|
@@ -24925,7 +24918,7 @@ function OpenFrameSsoLoginForm({
|
|
|
24925
24918
|
label: emailLabel,
|
|
24926
24919
|
placeholder: emailPlaceholder,
|
|
24927
24920
|
value: email,
|
|
24928
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
24921
|
+
error: _optionalChain([errors, 'optionalAccess', _441 => _441.email]),
|
|
24929
24922
|
disabled: fieldsDisabled,
|
|
24930
24923
|
onChange: (event) => onEmailChange(event.target.value),
|
|
24931
24924
|
onKeyDown: handleKeyDown
|
|
@@ -24937,7 +24930,7 @@ function OpenFrameSsoLoginForm({
|
|
|
24937
24930
|
label: passwordLabel,
|
|
24938
24931
|
placeholder: passwordPlaceholder,
|
|
24939
24932
|
value: password,
|
|
24940
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
24933
|
+
error: _optionalChain([errors, 'optionalAccess', _442 => _442.password]),
|
|
24941
24934
|
disabled: fieldsDisabled,
|
|
24942
24935
|
onChange: (event) => onPasswordChange(event.target.value),
|
|
24943
24936
|
onKeyDown: handleKeyDown
|
|
@@ -25029,7 +25022,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
25029
25022
|
label: emailLabel,
|
|
25030
25023
|
placeholder: "username@mail.com",
|
|
25031
25024
|
value: email,
|
|
25032
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
25025
|
+
error: _optionalChain([errors, 'optionalAccess', _443 => _443.email]),
|
|
25033
25026
|
disabled: fieldsDisabled,
|
|
25034
25027
|
onChange: (event) => onEmailChange(event.target.value),
|
|
25035
25028
|
onKeyDown: handleKeyDown
|
|
@@ -25042,7 +25035,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
25042
25035
|
label: "First Name",
|
|
25043
25036
|
placeholder: "Enter First Name",
|
|
25044
25037
|
value: firstName,
|
|
25045
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
25038
|
+
error: _optionalChain([errors, 'optionalAccess', _444 => _444.firstName]),
|
|
25046
25039
|
disabled: fieldsDisabled,
|
|
25047
25040
|
onChange: (event) => onFirstNameChange(event.target.value),
|
|
25048
25041
|
onKeyDown: handleKeyDown
|
|
@@ -25054,7 +25047,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
25054
25047
|
label: "Last Name",
|
|
25055
25048
|
placeholder: "Enter Last Name",
|
|
25056
25049
|
value: lastName,
|
|
25057
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
25050
|
+
error: _optionalChain([errors, 'optionalAccess', _445 => _445.lastName]),
|
|
25058
25051
|
disabled: fieldsDisabled,
|
|
25059
25052
|
onChange: (event) => onLastNameChange(event.target.value),
|
|
25060
25053
|
onKeyDown: handleKeyDown
|
|
@@ -25068,7 +25061,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
25068
25061
|
label: "Password",
|
|
25069
25062
|
placeholder: "Enter Password",
|
|
25070
25063
|
value: password,
|
|
25071
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
25064
|
+
error: _optionalChain([errors, 'optionalAccess', _446 => _446.password]),
|
|
25072
25065
|
disabled: fieldsDisabled,
|
|
25073
25066
|
onChange: (event) => onPasswordChange(event.target.value),
|
|
25074
25067
|
onKeyDown: handleKeyDown
|
|
@@ -25080,7 +25073,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
25080
25073
|
label: "Confirm Password",
|
|
25081
25074
|
placeholder: "Confirm Password",
|
|
25082
25075
|
value: confirmPassword,
|
|
25083
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
25076
|
+
error: _optionalChain([errors, 'optionalAccess', _447 => _447.confirmPassword]),
|
|
25084
25077
|
disabled: fieldsDisabled,
|
|
25085
25078
|
onChange: (event) => onConfirmPasswordChange(event.target.value),
|
|
25086
25079
|
onKeyDown: handleKeyDown
|
|
@@ -25095,7 +25088,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
25095
25088
|
truncateLabel: true,
|
|
25096
25089
|
checked: agreedToTerms,
|
|
25097
25090
|
disabled: fieldsDisabled,
|
|
25098
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
25091
|
+
error: _optionalChain([errors, 'optionalAccess', _448 => _448.terms]),
|
|
25099
25092
|
onCheckedChange: onAgreedToTermsChange
|
|
25100
25093
|
}
|
|
25101
25094
|
),
|
|
@@ -25139,6 +25132,7 @@ function PasswordResetForm({
|
|
|
25139
25132
|
onConfirmPasswordChange,
|
|
25140
25133
|
onSubmit,
|
|
25141
25134
|
onCancel,
|
|
25135
|
+
onBackToLogin,
|
|
25142
25136
|
submitDisabled = false,
|
|
25143
25137
|
loading = false,
|
|
25144
25138
|
disabled = false,
|
|
@@ -25178,7 +25172,7 @@ function PasswordResetForm({
|
|
|
25178
25172
|
label: newPasswordLabel,
|
|
25179
25173
|
placeholder: newPasswordPlaceholder,
|
|
25180
25174
|
value: password,
|
|
25181
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
25175
|
+
error: _optionalChain([errors, 'optionalAccess', _449 => _449.password]),
|
|
25182
25176
|
disabled: fieldsDisabled,
|
|
25183
25177
|
onChange: (event) => onPasswordChange(event.target.value),
|
|
25184
25178
|
onKeyDown: handleKeyDown
|
|
@@ -25191,7 +25185,7 @@ function PasswordResetForm({
|
|
|
25191
25185
|
label: confirmPasswordLabel,
|
|
25192
25186
|
placeholder: confirmPasswordPlaceholder,
|
|
25193
25187
|
value: confirmPassword,
|
|
25194
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
25188
|
+
error: _optionalChain([errors, 'optionalAccess', _450 => _450.confirmPassword]),
|
|
25195
25189
|
disabled: fieldsDisabled,
|
|
25196
25190
|
onChange: (event) => onConfirmPasswordChange(event.target.value),
|
|
25197
25191
|
onKeyDown: handleKeyDown
|
|
@@ -25223,7 +25217,8 @@ function PasswordResetForm({
|
|
|
25223
25217
|
children: submitLabel
|
|
25224
25218
|
}
|
|
25225
25219
|
)
|
|
25226
|
-
] })
|
|
25220
|
+
] }),
|
|
25221
|
+
onBackToLogin && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BackToLoginLink, { onClick: onBackToLogin, className: "self-start lg:hidden" })
|
|
25227
25222
|
]
|
|
25228
25223
|
}
|
|
25229
25224
|
);
|
|
@@ -25853,10 +25848,10 @@ var getContentDimensions = (config) => {
|
|
|
25853
25848
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
25854
25849
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
25855
25850
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
25856
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
25857
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
25858
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
25859
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
25851
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _451 => _451.mobileContentDimensions, 'optionalAccess', _452 => _452.width]))), () => ( defaultMobile.width));
|
|
25852
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _453 => _453.mobileContentDimensions, 'optionalAccess', _454 => _454.height]))), () => ( defaultMobile.height));
|
|
25853
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _455 => _455.desktopContentDimensions, 'optionalAccess', _456 => _456.width]))), () => ( defaultDesktop.width));
|
|
25854
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _457 => _457.desktopContentDimensions, 'optionalAccess', _458 => _458.height]))), () => ( defaultDesktop.height));
|
|
25860
25855
|
return {
|
|
25861
25856
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
25862
25857
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -25990,7 +25985,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
25990
25985
|
const contentDimensions = getContentDimensions(config);
|
|
25991
25986
|
const mobileHeight = contentDimensions.mobile.height;
|
|
25992
25987
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
25993
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
25988
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _459 => _459.innerHeight]) * 0.85 || 650)}px`;
|
|
25994
25989
|
})(),
|
|
25995
25990
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
25996
25991
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -26095,7 +26090,7 @@ var FigmaPrototypeViewer = ({
|
|
|
26095
26090
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
26096
26091
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
26097
26092
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
26098
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
26093
|
+
config.defaultSectionId || _optionalChain([config, 'access', _460 => _460.sections, 'access', _461 => _461[0], 'optionalAccess', _462 => _462.id]) || ""
|
|
26099
26094
|
);
|
|
26100
26095
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
26101
26096
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -26185,7 +26180,7 @@ var FigmaPrototypeViewer = ({
|
|
|
26185
26180
|
const handleMessage = (event) => {
|
|
26186
26181
|
if (event.origin !== "https://www.figma.com") return;
|
|
26187
26182
|
const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
|
|
26188
|
-
if (_optionalChain([event, 'access',
|
|
26183
|
+
if (_optionalChain([event, 'access', _463 => _463.data, 'optionalAccess', _464 => _464.type]) && validEvents.includes(event.data.type)) {
|
|
26189
26184
|
const figmaEvent = event.data;
|
|
26190
26185
|
console.log("[Figma Event]", figmaEvent.type, viewMode);
|
|
26191
26186
|
switch (figmaEvent.type) {
|
|
@@ -26195,19 +26190,19 @@ var FigmaPrototypeViewer = ({
|
|
|
26195
26190
|
setIframeState("READY");
|
|
26196
26191
|
break;
|
|
26197
26192
|
case "PRESENTED_NODE_CHANGED":
|
|
26198
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
26193
|
+
if (_optionalChain([figmaEvent, 'access', _465 => _465.data, 'optionalAccess', _466 => _466.presentedNodeId])) {
|
|
26199
26194
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
26200
26195
|
if (!isNavigating) {
|
|
26201
26196
|
const matchingSection = config.sections.find((s) => {
|
|
26202
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
26203
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
26197
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _467 => _467.data, 'optionalAccess', _468 => _468.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _469 => _469.data, 'optionalAccess', _470 => _470.presentedNodeId]);
|
|
26198
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _471 => _471.data, 'optionalAccess', _472 => _472.presentedNodeId]) || _optionalChain([s, 'access', _473 => _473.mobileStartingNodeId, 'optionalAccess', _474 => _474.replace, 'call', _475 => _475(":", "-")]) === _optionalChain([figmaEvent, 'access', _476 => _476.data, 'optionalAccess', _477 => _477.presentedNodeId]);
|
|
26204
26199
|
return desktopMatch || mobileMatch;
|
|
26205
26200
|
});
|
|
26206
26201
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
26207
26202
|
if (!externalActiveSection) {
|
|
26208
26203
|
setInternalActiveSection(matchingSection.id);
|
|
26209
26204
|
}
|
|
26210
|
-
_optionalChain([config, 'access',
|
|
26205
|
+
_optionalChain([config, 'access', _478 => _478.onSectionChange, 'optionalCall', _479 => _479(matchingSection.id)]);
|
|
26211
26206
|
}
|
|
26212
26207
|
}
|
|
26213
26208
|
}
|
|
@@ -26220,7 +26215,7 @@ var FigmaPrototypeViewer = ({
|
|
|
26220
26215
|
}, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
|
|
26221
26216
|
const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
|
|
26222
26217
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
26223
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
26218
|
+
if (!section || !_optionalChain([iframeRef, 'access', _480 => _480.current, 'optionalAccess', _481 => _481.contentWindow]) || !isInitialized) {
|
|
26224
26219
|
return;
|
|
26225
26220
|
}
|
|
26226
26221
|
setIsNavigating(true);
|
|
@@ -26228,7 +26223,7 @@ var FigmaPrototypeViewer = ({
|
|
|
26228
26223
|
if (!externalActiveSection) {
|
|
26229
26224
|
setInternalActiveSection(sectionId);
|
|
26230
26225
|
}
|
|
26231
|
-
_optionalChain([config, 'access',
|
|
26226
|
+
_optionalChain([config, 'access', _482 => _482.onSectionChange, 'optionalCall', _483 => _483(sectionId)]);
|
|
26232
26227
|
const command = {
|
|
26233
26228
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
26234
26229
|
data: { nodeId }
|
|
@@ -26548,7 +26543,7 @@ var FiltersDropdown = ({
|
|
|
26548
26543
|
defaults[section.id] = section.defaultSelected || [];
|
|
26549
26544
|
});
|
|
26550
26545
|
setSelectedFilters(defaults);
|
|
26551
|
-
_optionalChain([onReset, 'optionalCall',
|
|
26546
|
+
_optionalChain([onReset, 'optionalCall', _484 => _484()]);
|
|
26552
26547
|
setIsOpen(false);
|
|
26553
26548
|
};
|
|
26554
26549
|
const handleApply = () => {
|
|
@@ -26841,7 +26836,7 @@ function MediaGalleryManager({
|
|
|
26841
26836
|
const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
|
|
26842
26837
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
26843
26838
|
const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
|
|
26844
|
-
const file = _optionalChain([event, 'access',
|
|
26839
|
+
const file = _optionalChain([event, 'access', _485 => _485.target, 'access', _486 => _486.files, 'optionalAccess', _487 => _487[0]]);
|
|
26845
26840
|
if (!file) return;
|
|
26846
26841
|
let mediaType;
|
|
26847
26842
|
if (file.type.startsWith("image/")) {
|
|
@@ -26956,7 +26951,7 @@ function MediaGalleryManager({
|
|
|
26956
26951
|
{
|
|
26957
26952
|
type: "button",
|
|
26958
26953
|
variant: "outline",
|
|
26959
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
26954
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _488 => _488.current, 'optionalAccess', _489 => _489.click, 'call', _490 => _490()]),
|
|
26960
26955
|
disabled: isUploading,
|
|
26961
26956
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
26962
26957
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -27620,7 +27615,7 @@ function ReleaseMediaManager({
|
|
|
27620
27615
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
27621
27616
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
27622
27617
|
const handleFileSelect = async (event) => {
|
|
27623
|
-
const file = _optionalChain([event, 'access',
|
|
27618
|
+
const file = _optionalChain([event, 'access', _491 => _491.target, 'access', _492 => _492.files, 'optionalAccess', _493 => _493[0]]);
|
|
27624
27619
|
if (!file) return;
|
|
27625
27620
|
let mediaType;
|
|
27626
27621
|
if (file.type.startsWith("image/")) {
|
|
@@ -27700,7 +27695,7 @@ function ReleaseMediaManager({
|
|
|
27700
27695
|
{
|
|
27701
27696
|
type: "button",
|
|
27702
27697
|
variant: "outline",
|
|
27703
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
27698
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _494 => _494.current, 'optionalAccess', _495 => _495.click, 'call', _496 => _496()]),
|
|
27704
27699
|
disabled: uploadingIndex !== null,
|
|
27705
27700
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
27706
27701
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -27915,7 +27910,7 @@ function SEOEditorPreview({
|
|
|
27915
27910
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
27916
27911
|
const handleImageUpload = async (event) => {
|
|
27917
27912
|
if (!onOgImageUpload) return;
|
|
27918
|
-
const file = _optionalChain([event, 'access',
|
|
27913
|
+
const file = _optionalChain([event, 'access', _497 => _497.target, 'access', _498 => _498.files, 'optionalAccess', _499 => _499[0]]);
|
|
27919
27914
|
if (!file) return;
|
|
27920
27915
|
setIsUploading(true);
|
|
27921
27916
|
try {
|
|
@@ -28056,7 +28051,7 @@ function SEOEditorPreview({
|
|
|
28056
28051
|
type: "button",
|
|
28057
28052
|
variant: "outline",
|
|
28058
28053
|
size: "icon",
|
|
28059
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
28054
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _500 => _500.click, 'call', _501 => _501()]),
|
|
28060
28055
|
disabled: disabled || isUploading,
|
|
28061
28056
|
className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
|
|
28062
28057
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -28079,7 +28074,7 @@ function SEOEditorPreview({
|
|
|
28079
28074
|
"div",
|
|
28080
28075
|
{
|
|
28081
28076
|
className: "h-full min-h-[280px] border-2 border-dashed border-ods-border rounded-lg flex flex-col items-center justify-center cursor-pointer hover:border-ods-accent transition-colors bg-ods-bg-hover",
|
|
28082
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
28077
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _502 => _502.click, 'call', _503 => _503()]),
|
|
28083
28078
|
children: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28084
28079
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
|
|
28085
28080
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm text-ods-text-secondary font-['DM_Sans']", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -28166,7 +28161,7 @@ function SocialLinksManager({
|
|
|
28166
28161
|
className = ""
|
|
28167
28162
|
}) {
|
|
28168
28163
|
const addLink = () => {
|
|
28169
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
28164
|
+
const firstPlatform = _optionalChain([platforms, 'access', _504 => _504[0], 'optionalAccess', _505 => _505.name]) || "website";
|
|
28170
28165
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
28171
28166
|
};
|
|
28172
28167
|
const removeLink = (index) => {
|
|
@@ -28178,7 +28173,7 @@ function SocialLinksManager({
|
|
|
28178
28173
|
onChange(updated);
|
|
28179
28174
|
};
|
|
28180
28175
|
const getIcon = (link, platform) => {
|
|
28181
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
28176
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _506 => _506.icon_name]) || link.platform;
|
|
28182
28177
|
const IconComponent = iconMap[iconKey];
|
|
28183
28178
|
return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
|
|
28184
28179
|
};
|
|
@@ -28203,7 +28198,7 @@ function SocialLinksManager({
|
|
|
28203
28198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28204
28199
|
_chunkNYIZVI4Icjs.Input,
|
|
28205
28200
|
{
|
|
28206
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
28201
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _507 => _507.placeholder]) || "Profile URL",
|
|
28207
28202
|
value: link.url,
|
|
28208
28203
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
28209
28204
|
onKeyDown: (e) => {
|
|
@@ -28596,7 +28591,7 @@ function useVideoOriginPreconnect({
|
|
|
28596
28591
|
supabaseStorageOrigin
|
|
28597
28592
|
} = {}) {
|
|
28598
28593
|
const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
|
|
28599
|
-
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess',
|
|
28594
|
+
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _508 => _508.endpoints, 'access', _509 => _509.supabaseStorageOrigin])));
|
|
28600
28595
|
try {
|
|
28601
28596
|
ReactDOM2.default.preconnect(MUX_STREAM_ORIGIN, { crossOrigin: "anonymous" });
|
|
28602
28597
|
ReactDOM2.default.preconnect(MUX_IMAGE_ORIGIN, { crossOrigin: "anonymous" });
|
|
@@ -28615,13 +28610,13 @@ function useVideoWarmup({
|
|
|
28615
28610
|
nearMargin = "1000px"
|
|
28616
28611
|
} = {}) {
|
|
28617
28612
|
const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
|
|
28618
|
-
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess',
|
|
28613
|
+
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _510 => _510.endpoints, 'access', _511 => _511.supabaseStorageOrigin])));
|
|
28619
28614
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
28620
28615
|
const { ref, isNear } = _chunk743FCO64cjs.useNearViewport.call(void 0, nearMargin);
|
|
28621
28616
|
_react.useEffect.call(void 0, () => {
|
|
28622
28617
|
if (!isNear || !videoUrl || !resolvedOrigin) return;
|
|
28623
28618
|
const conn = navigator.connection;
|
|
28624
|
-
if (_optionalChain([conn, 'optionalAccess',
|
|
28619
|
+
if (_optionalChain([conn, 'optionalAccess', _512 => _512.saveData]) === true) return;
|
|
28625
28620
|
let videoOrigin;
|
|
28626
28621
|
try {
|
|
28627
28622
|
videoOrigin = new URL(videoUrl, "http://placeholder.local").origin;
|
|
@@ -28691,7 +28686,7 @@ function VideoSourceSelector({
|
|
|
28691
28686
|
input.accept = "video/*";
|
|
28692
28687
|
input.onchange = async (e) => {
|
|
28693
28688
|
const target = e.target;
|
|
28694
|
-
const file = _optionalChain([target, 'access',
|
|
28689
|
+
const file = _optionalChain([target, 'access', _513 => _513.files, 'optionalAccess', _514 => _514[0]]);
|
|
28695
28690
|
if (!file) return;
|
|
28696
28691
|
setIsUploading(true);
|
|
28697
28692
|
setUploadProgress(0);
|
|
@@ -29040,7 +29035,7 @@ function TranscriptSummaryEditor({
|
|
|
29040
29035
|
{
|
|
29041
29036
|
id: "subtitles",
|
|
29042
29037
|
value: subtitles || "",
|
|
29043
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
29038
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _515 => _515(e.target.value)]),
|
|
29044
29039
|
placeholder: subtitlesPlaceholder,
|
|
29045
29040
|
disabled: disabled || !onSubtitlesChange,
|
|
29046
29041
|
className: "h-full w-full resize-none border-0 bg-transparent text-ods-text-primary placeholder:text-ods-text-secondary/50 focus:ring-0 focus:outline-none p-4 font-mono text-sm",
|
|
@@ -29193,7 +29188,7 @@ var AIEnrichSection = ({
|
|
|
29193
29188
|
}) => {
|
|
29194
29189
|
const hasResults = status === "success" || status === "error";
|
|
29195
29190
|
const shouldDisable = disabled || !canEnrich;
|
|
29196
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
29191
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _516 => _516.filter, 'call', _517 => _517((f) => !f.isFilled)]) || [];
|
|
29197
29192
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29198
29193
|
"div",
|
|
29199
29194
|
{
|
|
@@ -29231,7 +29226,7 @@ var AIEnrichSection = ({
|
|
|
29231
29226
|
{
|
|
29232
29227
|
id: "ai-enrich-custom-instructions",
|
|
29233
29228
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
29234
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
29229
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _518 => _518(e.target.value)]),
|
|
29235
29230
|
placeholder: customInstructionsPlaceholder,
|
|
29236
29231
|
disabled: loading,
|
|
29237
29232
|
maxLength: customInstructionsMaxLength,
|
|
@@ -29360,7 +29355,7 @@ function HighlightVideoSection({
|
|
|
29360
29355
|
input.accept = "video/*";
|
|
29361
29356
|
input.onchange = async (e) => {
|
|
29362
29357
|
const target = e.target;
|
|
29363
|
-
const file = _optionalChain([target, 'access',
|
|
29358
|
+
const file = _optionalChain([target, 'access', _519 => _519.files, 'optionalAccess', _520 => _520[0]]);
|
|
29364
29359
|
if (!file) return;
|
|
29365
29360
|
setUploadError(null);
|
|
29366
29361
|
try {
|
|
@@ -29855,7 +29850,7 @@ function HighlightVideoPreview({
|
|
|
29855
29850
|
input.accept = "video/*";
|
|
29856
29851
|
input.onchange = async (e) => {
|
|
29857
29852
|
const target = e.target;
|
|
29858
|
-
const file = _optionalChain([target, 'access',
|
|
29853
|
+
const file = _optionalChain([target, 'access', _521 => _521.files, 'optionalAccess', _522 => _522[0]]);
|
|
29859
29854
|
if (!file) return;
|
|
29860
29855
|
await onUpload(file);
|
|
29861
29856
|
};
|
|
@@ -30039,7 +30034,7 @@ function HighlightVideoCombinedSection({
|
|
|
30039
30034
|
input.accept = "video/*";
|
|
30040
30035
|
input.onchange = async (e) => {
|
|
30041
30036
|
const target = e.target;
|
|
30042
|
-
const file = _optionalChain([target, 'access',
|
|
30037
|
+
const file = _optionalChain([target, 'access', _523 => _523.files, 'optionalAccess', _524 => _524[0]]);
|
|
30043
30038
|
if (!file) return;
|
|
30044
30039
|
await onUpload(file);
|
|
30045
30040
|
};
|
|
@@ -30333,7 +30328,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
30333
30328
|
return editMode ? "Set Global Permission" : "";
|
|
30334
30329
|
}
|
|
30335
30330
|
const option = approvalLevelOptions.find((opt) => opt.value === level);
|
|
30336
|
-
return _optionalChain([option, 'optionalAccess',
|
|
30331
|
+
return _optionalChain([option, 'optionalAccess', _525 => _525.label]) || level;
|
|
30337
30332
|
};
|
|
30338
30333
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
30339
30334
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg border-b border-ods-border flex gap-4 items-center px-4 py-3", children: [
|
|
@@ -30547,12 +30542,12 @@ function PhoneInput({
|
|
|
30547
30542
|
const runValidation = _react.useCallback.call(void 0, (phone) => {
|
|
30548
30543
|
if (!phone || digitCount(phone) === 0) {
|
|
30549
30544
|
setIsInvalid(false);
|
|
30550
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
30545
|
+
_optionalChain([onValidationChange, 'optionalCall', _526 => _526(false)]);
|
|
30551
30546
|
return;
|
|
30552
30547
|
}
|
|
30553
30548
|
const invalid = !validatePhoneNumber(phone, countryCode);
|
|
30554
30549
|
setIsInvalid(invalid);
|
|
30555
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
30550
|
+
_optionalChain([onValidationChange, 'optionalCall', _527 => _527(invalid)]);
|
|
30556
30551
|
}, [countryCode, digitCount, onValidationChange]);
|
|
30557
30552
|
const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
|
|
30558
30553
|
if (debounceRef.current) clearTimeout(debounceRef.current);
|
|
@@ -30601,7 +30596,7 @@ function PhoneInput({
|
|
|
30601
30596
|
debouncedValidation(val);
|
|
30602
30597
|
} else if (digitCount(val) === 0) {
|
|
30603
30598
|
setIsInvalid(false);
|
|
30604
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
30599
|
+
_optionalChain([onValidationChange, 'optionalCall', _528 => _528(false)]);
|
|
30605
30600
|
}
|
|
30606
30601
|
}
|
|
30607
30602
|
},
|
|
@@ -30942,19 +30937,19 @@ function NotificationsProvider({
|
|
|
30942
30937
|
}, []);
|
|
30943
30938
|
const markRead = React96.useCallback((id) => {
|
|
30944
30939
|
dispatch({ type: "markRead", id });
|
|
30945
|
-
void _optionalChain([actionsRef, 'access',
|
|
30940
|
+
void _optionalChain([actionsRef, 'access', _529 => _529.current, 'optionalAccess', _530 => _530.onMarkRead, 'optionalCall', _531 => _531(id)]);
|
|
30946
30941
|
}, []);
|
|
30947
30942
|
const markAllRead = React96.useCallback(() => {
|
|
30948
30943
|
dispatch({ type: "markAllRead" });
|
|
30949
|
-
void _optionalChain([actionsRef, 'access',
|
|
30944
|
+
void _optionalChain([actionsRef, 'access', _532 => _532.current, 'optionalAccess', _533 => _533.onMarkAllRead, 'optionalCall', _534 => _534()]);
|
|
30950
30945
|
}, []);
|
|
30951
30946
|
const markSettled = React96.useCallback((id) => {
|
|
30952
30947
|
dispatch({ type: "markSettled", id });
|
|
30953
|
-
void _optionalChain([actionsRef, 'access',
|
|
30948
|
+
void _optionalChain([actionsRef, 'access', _535 => _535.current, 'optionalAccess', _536 => _536.onMarkSettled, 'optionalCall', _537 => _537(id)]);
|
|
30954
30949
|
}, []);
|
|
30955
30950
|
const remove = React96.useCallback((id) => {
|
|
30956
30951
|
dispatch({ type: "remove", id });
|
|
30957
|
-
void _optionalChain([actionsRef, 'access',
|
|
30952
|
+
void _optionalChain([actionsRef, 'access', _538 => _538.current, 'optionalAccess', _539 => _539.onRemove, 'optionalCall', _540 => _540(id)]);
|
|
30958
30953
|
}, []);
|
|
30959
30954
|
const clear = React96.useCallback(() => dispatch({ type: "clear" }), []);
|
|
30960
30955
|
const open = React96.useCallback(() => setIsOpen(true), []);
|
|
@@ -30963,14 +30958,14 @@ function NotificationsProvider({
|
|
|
30963
30958
|
const setShowPopups = React96.useCallback(
|
|
30964
30959
|
(value2) => {
|
|
30965
30960
|
setShowPopupsState(value2);
|
|
30966
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
30961
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _541 => _541(value2)]);
|
|
30967
30962
|
},
|
|
30968
30963
|
[onShowPopupsChange]
|
|
30969
30964
|
);
|
|
30970
30965
|
const setShowDesktopPopups = React96.useCallback(
|
|
30971
30966
|
(value2) => {
|
|
30972
30967
|
setShowDesktopPopupsState(value2);
|
|
30973
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
30968
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _542 => _542(value2)]);
|
|
30974
30969
|
},
|
|
30975
30970
|
[onShowDesktopPopupsChange]
|
|
30976
30971
|
);
|
|
@@ -31074,7 +31069,7 @@ function NotificationTile({
|
|
|
31074
31069
|
if (!counting) return;
|
|
31075
31070
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
31076
31071
|
const timer = window.setTimeout(() => {
|
|
31077
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
31072
|
+
_optionalChain([onSettle, 'optionalCall', _543 => _543(id)]);
|
|
31078
31073
|
}, remaining);
|
|
31079
31074
|
return () => window.clearTimeout(timer);
|
|
31080
31075
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -31136,7 +31131,7 @@ function NotificationTile({
|
|
|
31136
31131
|
"button",
|
|
31137
31132
|
{
|
|
31138
31133
|
type: "button",
|
|
31139
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
31134
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _544 => _544(id)]),
|
|
31140
31135
|
"aria-label": "Dismiss notification",
|
|
31141
31136
|
tabIndex: isLive ? 0 : -1,
|
|
31142
31137
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -31269,7 +31264,7 @@ function DrawerScrollList({
|
|
|
31269
31264
|
if (!sentinel || !root) return;
|
|
31270
31265
|
const observer = new IntersectionObserver(
|
|
31271
31266
|
(entries) => {
|
|
31272
|
-
if (_optionalChain([entries, 'access',
|
|
31267
|
+
if (_optionalChain([entries, 'access', _545 => _545[0], 'optionalAccess', _546 => _546.isIntersecting])) _optionalChain([loadMoreRef, 'access', _547 => _547.current, 'optionalCall', _548 => _548()]);
|
|
31273
31268
|
},
|
|
31274
31269
|
{ root, rootMargin: loadMoreRootMargin }
|
|
31275
31270
|
);
|
|
@@ -31284,7 +31279,7 @@ function DrawerScrollList({
|
|
|
31284
31279
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
31285
31280
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
31286
31281
|
unreadNotifications.map((n) => {
|
|
31287
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
31282
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _549 => _549(n, { onComplete, onSettle, liveDurationMs })]);
|
|
31288
31283
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
31289
31284
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31290
31285
|
NotificationTile,
|
|
@@ -31448,7 +31443,7 @@ function NotificationPopups({
|
|
|
31448
31443
|
className
|
|
31449
31444
|
),
|
|
31450
31445
|
children: live.map((n) => {
|
|
31451
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
31446
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _550 => _550(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
31452
31447
|
if (custom) {
|
|
31453
31448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
31454
31449
|
}
|
|
@@ -31628,21 +31623,21 @@ function transformWebinarToProgram(webinar) {
|
|
|
31628
31623
|
// src/components/features/notifications/types.ts
|
|
31629
31624
|
var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
|
|
31630
31625
|
function isApprovalNotification(notification) {
|
|
31631
|
-
return _optionalChain([notification, 'access',
|
|
31626
|
+
return _optionalChain([notification, 'access', _551 => _551.meta, 'optionalAccess', _552 => _552.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
|
|
31632
31627
|
}
|
|
31633
31628
|
function getApprovalMeta(notification) {
|
|
31634
31629
|
if (!isApprovalNotification(notification)) return null;
|
|
31635
31630
|
const meta = notification.meta;
|
|
31636
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
31637
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
31631
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _553 => _553.approvalRequestId]);
|
|
31632
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _554 => _554.toolCalls]);
|
|
31638
31633
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
31639
31634
|
return {
|
|
31640
31635
|
approvalRequestId,
|
|
31641
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
31642
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
31643
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
31644
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
31645
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
31636
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _555 => _555.dialogId]), () => ( null)),
|
|
31637
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _556 => _556.ticketId]), () => ( null)),
|
|
31638
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _557 => _557.approvalType]), () => ( null)),
|
|
31639
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _558 => _558.resolution]), () => ( null)),
|
|
31640
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _559 => _559.resolvedByName]), () => ( null)),
|
|
31646
31641
|
toolCalls
|
|
31647
31642
|
};
|
|
31648
31643
|
}
|
|
@@ -31691,7 +31686,7 @@ function ApprovalRequestNotificationTile({
|
|
|
31691
31686
|
const [pinned, setPinned] = _react.useState.call(void 0, defaultExpanded);
|
|
31692
31687
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
31693
31688
|
const approval = getApprovalMeta(notification);
|
|
31694
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
31689
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _560 => _560.resolution]));
|
|
31695
31690
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
31696
31691
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
31697
31692
|
const { innerRef, containerStyle } = useCollapsible({ expanded });
|
|
@@ -31993,7 +31988,7 @@ function TimeTrackerPanel({
|
|
|
31993
31988
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
31994
31989
|
disableClientFilter: !!onTicketSearch,
|
|
31995
31990
|
onInputChange: (value, reason) => {
|
|
31996
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
31991
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _561 => _561(value)]);
|
|
31997
31992
|
}
|
|
31998
31993
|
}
|
|
31999
31994
|
),
|
|
@@ -32008,7 +32003,7 @@ function TimeTrackerPanel({
|
|
|
32008
32003
|
disabled: customerLocked,
|
|
32009
32004
|
disableClientFilter: !!onCustomerSearch,
|
|
32010
32005
|
onInputChange: (value, reason) => {
|
|
32011
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
32006
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _562 => _562(value)]);
|
|
32012
32007
|
},
|
|
32013
32008
|
startAdornment: customerStartAdornment,
|
|
32014
32009
|
renderOption: renderCustomerOption
|
|
@@ -32101,7 +32096,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
32101
32096
|
{
|
|
32102
32097
|
variant: "outline",
|
|
32103
32098
|
size: "icon",
|
|
32104
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
32099
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _563 => _563(entry)]),
|
|
32105
32100
|
disabled: !onClick,
|
|
32106
32101
|
"aria-label": `Open entry: ${entry.title}`,
|
|
32107
32102
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -32145,9 +32140,9 @@ function HeaderButton({
|
|
|
32145
32140
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
32146
32141
|
const ctx = useOptionalTimeTracker();
|
|
32147
32142
|
const elapsedLabel = useTrackerClock({
|
|
32148
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
32149
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
32150
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
32143
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _564 => _564.status]), () => ( "ready")),
|
|
32144
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _565 => _565.runningSince]),
|
|
32145
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _566 => _566.accumulatedMs])
|
|
32151
32146
|
});
|
|
32152
32147
|
if (!ctx) return null;
|
|
32153
32148
|
const { isOpen, open, close, status } = ctx;
|
|
@@ -32443,15 +32438,15 @@ function TicketCard({
|
|
|
32443
32438
|
transition: sortable.transition
|
|
32444
32439
|
};
|
|
32445
32440
|
if (showNewMessage) style.borderColor = columnColor;
|
|
32446
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
32441
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _567 => _567.deviceHostnames, 'optionalAccess', _568 => _568.length]) || ticket.organizationName);
|
|
32447
32442
|
const deviceText = [
|
|
32448
|
-
_optionalChain([ticket, 'access',
|
|
32443
|
+
_optionalChain([ticket, 'access', _569 => _569.deviceHostnames, 'optionalAccess', _570 => _570.join, 'call', _571 => _571(", ")]),
|
|
32449
32444
|
ticket.organizationName
|
|
32450
32445
|
].filter(Boolean).join(", ");
|
|
32451
32446
|
const handleClick = (e) => {
|
|
32452
32447
|
if (sortable.isDragging) e.preventDefault();
|
|
32453
32448
|
};
|
|
32454
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
32449
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _572 => _572.assignees, 'optionalAccess', _573 => _573.length]) || renderAssignSlot);
|
|
32455
32450
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
32456
32451
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32457
32452
|
_chunkBGD345ZVcjs.Flag02Icon,
|
|
@@ -32460,7 +32455,7 @@ function TicketCard({
|
|
|
32460
32455
|
"aria-label": `Priority: ${ticket.priority}`
|
|
32461
32456
|
}
|
|
32462
32457
|
),
|
|
32463
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
32458
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _574 => _574.assignees, 'optionalAccess', _575 => _575.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
32464
32459
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32465
32460
|
SquareAvatar,
|
|
32466
32461
|
{
|
|
@@ -32491,7 +32486,7 @@ function TicketCard({
|
|
|
32491
32486
|
] }),
|
|
32492
32487
|
rightSection
|
|
32493
32488
|
] }),
|
|
32494
|
-
_optionalChain([ticket, 'access',
|
|
32489
|
+
_optionalChain([ticket, 'access', _576 => _576.tags, 'optionalAccess', _577 => _577.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
32495
32490
|
timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
|
|
32496
32491
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto text-h6 truncate text-ods-text-secondary", children: timestampLabel }) }),
|
|
32497
32492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
|
|
@@ -32691,7 +32686,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
32691
32686
|
const observer = new IntersectionObserver(
|
|
32692
32687
|
(entries) => {
|
|
32693
32688
|
if (entries.some((e) => e.isIntersecting)) {
|
|
32694
|
-
_optionalChain([loadMoreRef, 'access',
|
|
32689
|
+
_optionalChain([loadMoreRef, 'access', _578 => _578.current, 'optionalCall', _579 => _579(columnIdRef.current)]);
|
|
32695
32690
|
}
|
|
32696
32691
|
},
|
|
32697
32692
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -32721,7 +32716,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
32721
32716
|
ticket: t,
|
|
32722
32717
|
columnId: column.id,
|
|
32723
32718
|
columnColor: column.color,
|
|
32724
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
32719
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _580 => _580(t.id)]),
|
|
32725
32720
|
renderAssignSlot,
|
|
32726
32721
|
onApprove,
|
|
32727
32722
|
onReject,
|
|
@@ -32821,17 +32816,17 @@ function Board({
|
|
|
32821
32816
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
32822
32817
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
32823
32818
|
const ticketHit = intersections.find(
|
|
32824
|
-
(c) => _optionalChain([c, 'access',
|
|
32819
|
+
(c) => _optionalChain([c, 'access', _581 => _581.data, 'optionalAccess', _582 => _582.droppableContainer, 'optionalAccess', _583 => _583.data, 'optionalAccess', _584 => _584.current, 'optionalAccess', _585 => _585.type]) === "ticket"
|
|
32825
32820
|
);
|
|
32826
32821
|
if (ticketHit) return [ticketHit];
|
|
32827
32822
|
const columnHit = intersections.find(
|
|
32828
|
-
(c) => _optionalChain([c, 'access',
|
|
32823
|
+
(c) => _optionalChain([c, 'access', _586 => _586.data, 'optionalAccess', _587 => _587.droppableContainer, 'optionalAccess', _588 => _588.data, 'optionalAccess', _589 => _589.current, 'optionalAccess', _590 => _590.type]) === "column"
|
|
32829
32824
|
);
|
|
32830
32825
|
if (columnHit) {
|
|
32831
|
-
const columnId = _optionalChain([columnHit, 'access',
|
|
32826
|
+
const columnId = _optionalChain([columnHit, 'access', _591 => _591.data, 'optionalAccess', _592 => _592.droppableContainer, 'optionalAccess', _593 => _593.data, 'optionalAccess', _594 => _594.current, 'optionalAccess', _595 => _595.columnId]);
|
|
32832
32827
|
const ticketsInColumn = args.droppableContainers.filter((c) => {
|
|
32833
32828
|
const d = c.data.current;
|
|
32834
|
-
return _optionalChain([d, 'optionalAccess',
|
|
32829
|
+
return _optionalChain([d, 'optionalAccess', _596 => _596.type]) === "ticket" && d.columnId === columnId;
|
|
32835
32830
|
});
|
|
32836
32831
|
if (ticketsInColumn.length > 0) {
|
|
32837
32832
|
const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
|
|
@@ -32856,20 +32851,20 @@ function Board({
|
|
|
32856
32851
|
const overId = String(over.id);
|
|
32857
32852
|
if (activeId === overId) return;
|
|
32858
32853
|
const overData = over.data.current;
|
|
32859
|
-
const fromColumnId = _optionalChain([locate, 'call',
|
|
32860
|
-
const toColumnId = _optionalChain([overData, 'optionalAccess',
|
|
32854
|
+
const fromColumnId = _optionalChain([locate, 'call', _597 => _597(items, activeId), 'optionalAccess', _598 => _598.columnId]);
|
|
32855
|
+
const toColumnId = _optionalChain([overData, 'optionalAccess', _599 => _599.columnId]);
|
|
32861
32856
|
if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
|
|
32862
32857
|
const origin = dragOriginRef.current;
|
|
32863
|
-
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess',
|
|
32858
|
+
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _600 => _600.fromColumnId]) === toColumnId;
|
|
32864
32859
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
32865
|
-
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess',
|
|
32866
|
-
if (_optionalChain([targetCol, 'optionalAccess',
|
|
32860
|
+
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _601 => _601.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
|
|
32861
|
+
if (_optionalChain([targetCol, 'optionalAccess', _602 => _602.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
|
|
32867
32862
|
setItems((prev) => {
|
|
32868
32863
|
const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
|
|
32869
32864
|
const toCol = prev.find((c) => c.id === toColumnId);
|
|
32870
32865
|
if (fromIndex < 0 || !toCol) return prev;
|
|
32871
32866
|
let toIndex;
|
|
32872
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
32867
|
+
if (_optionalChain([overData, 'optionalAccess', _603 => _603.type]) === "column") {
|
|
32873
32868
|
toIndex = toCol.tickets.length;
|
|
32874
32869
|
} else {
|
|
32875
32870
|
const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
|
|
@@ -32911,14 +32906,14 @@ function Board({
|
|
|
32911
32906
|
const toColumnId = located.columnId;
|
|
32912
32907
|
const isCrossColumn = origin.fromColumnId !== toColumnId;
|
|
32913
32908
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
32914
|
-
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess',
|
|
32909
|
+
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _604 => _604.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _605 => _605.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
|
|
32915
32910
|
setItems(columns);
|
|
32916
32911
|
return;
|
|
32917
32912
|
}
|
|
32918
32913
|
let finalIndex = located.index;
|
|
32919
|
-
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access',
|
|
32914
|
+
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _606 => _606.find, 'call', _607 => _607((c) => c.id === toColumnId), 'optionalAccess', _608 => _608.tickets]), () => ( []));
|
|
32920
32915
|
const overData = over.data.current;
|
|
32921
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
32916
|
+
if (_optionalChain([overData, 'optionalAccess', _609 => _609.type]) === "ticket") {
|
|
32922
32917
|
const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
|
|
32923
32918
|
if (overIndex >= 0 && overIndex !== located.index) {
|
|
32924
32919
|
finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
|
|
@@ -32938,8 +32933,8 @@ function Board({
|
|
|
32938
32933
|
ticketId: origin.ticketId,
|
|
32939
32934
|
fromColumnId: origin.fromColumnId,
|
|
32940
32935
|
toColumnId,
|
|
32941
|
-
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
32942
|
-
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
32936
|
+
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _610 => _610[finalIndex - 1], 'optionalAccess', _611 => _611.id]), () => ( null)),
|
|
32937
|
+
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _612 => _612[finalIndex + 1], 'optionalAccess', _613 => _613.id]), () => ( null))
|
|
32943
32938
|
});
|
|
32944
32939
|
};
|
|
32945
32940
|
const handleDragCancel = () => {
|
|
@@ -32968,8 +32963,8 @@ function Board({
|
|
|
32968
32963
|
children: items.map((column, i) => {
|
|
32969
32964
|
const prev = items[i - 1];
|
|
32970
32965
|
const next = items[i + 1];
|
|
32971
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
32972
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
32966
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _614 => _614.system]));
|
|
32967
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _615 => _615.system]));
|
|
32973
32968
|
const showGap = i > 0 && !joinLeft;
|
|
32974
32969
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React102.Fragment, { children: [
|
|
32975
32970
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -33022,7 +33017,7 @@ function Board({
|
|
|
33022
33017
|
{
|
|
33023
33018
|
ticket: activeTicket.ticket,
|
|
33024
33019
|
columnId: activeTicket.columnId,
|
|
33025
|
-
columnColor: _optionalChain([items, 'access',
|
|
33020
|
+
columnColor: _optionalChain([items, 'access', _616 => _616.find, 'call', _617 => _617((c) => c.id === activeTicket.columnId), 'optionalAccess', _618 => _618.color]),
|
|
33026
33021
|
isOverlay: true
|
|
33027
33022
|
}
|
|
33028
33023
|
) : null })
|
|
@@ -33038,7 +33033,7 @@ function locate(cols, ticketId) {
|
|
|
33038
33033
|
return null;
|
|
33039
33034
|
}
|
|
33040
33035
|
function findIndexInColumn(cols, columnId, ticketId) {
|
|
33041
|
-
return _nullishCoalesce(_optionalChain([cols, 'access',
|
|
33036
|
+
return _nullishCoalesce(_optionalChain([cols, 'access', _619 => _619.find, 'call', _620 => _620((c) => c.id === columnId), 'optionalAccess', _621 => _621.tickets, 'access', _622 => _622.findIndex, 'call', _623 => _623((t) => t.id === ticketId)]), () => ( -1));
|
|
33042
33037
|
}
|
|
33043
33038
|
|
|
33044
33039
|
// src/components/features/board/types.ts
|
|
@@ -33286,7 +33281,7 @@ function Header2({ config, platform }) {
|
|
|
33286
33281
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
33287
33282
|
"flex justify-start w-full",
|
|
33288
33283
|
"font-bold text-[16px] leading-none tracking-[-0.32px]",
|
|
33289
|
-
index < (_nullishCoalesce(_optionalChain([item, 'access',
|
|
33284
|
+
index < (_nullishCoalesce(_optionalChain([item, 'access', _624 => _624.children, 'optionalAccess', _625 => _625.length]), () => ( 0))) - 1 && "mb-1",
|
|
33290
33285
|
"text-ods-text-primary",
|
|
33291
33286
|
// All dropdown items use primary text color
|
|
33292
33287
|
child.isActive && "bg-ods-bg-hover"
|
|
@@ -33378,7 +33373,7 @@ function Header2({ config, platform }) {
|
|
|
33378
33373
|
style: config.style,
|
|
33379
33374
|
children: [
|
|
33380
33375
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
|
|
33381
|
-
_optionalChain([config, 'access',
|
|
33376
|
+
_optionalChain([config, 'access', _626 => _626.actions, 'optionalAccess', _627 => _627.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
|
|
33382
33377
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWBR7H6E3cjs.next_link_default, { href: config.logo.href, className: "transition-opacity duration-200 hover:opacity-80", children: config.logo.element })
|
|
33383
33378
|
] }),
|
|
33384
33379
|
config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -33395,7 +33390,7 @@ function Header2({ config, platform }) {
|
|
|
33395
33390
|
}
|
|
33396
33391
|
),
|
|
33397
33392
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
|
|
33398
|
-
_optionalChain([config, 'access',
|
|
33393
|
+
_optionalChain([config, 'access', _628 => _628.actions, 'optionalAccess', _629 => _629.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
|
|
33399
33394
|
config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33400
33395
|
_chunkNYIZVI4Icjs.Button,
|
|
33401
33396
|
{
|
|
@@ -33403,10 +33398,10 @@ function Header2({ config, platform }) {
|
|
|
33403
33398
|
size: "icon",
|
|
33404
33399
|
className: "flex md:hidden",
|
|
33405
33400
|
onClick: () => {
|
|
33406
|
-
_optionalChain([config, 'access',
|
|
33401
|
+
_optionalChain([config, 'access', _630 => _630.mobile, 'optionalAccess', _631 => _631.onToggle, 'optionalCall', _632 => _632()]);
|
|
33407
33402
|
},
|
|
33408
|
-
"aria-label": _optionalChain([config, 'access',
|
|
33409
|
-
leftIcon: _optionalChain([config, 'access',
|
|
33403
|
+
"aria-label": _optionalChain([config, 'access', _633 => _633.mobile, 'optionalAccess', _634 => _634.isOpen]) ? "Close menu" : "Open menu",
|
|
33404
|
+
leftIcon: _optionalChain([config, 'access', _635 => _635.mobile, 'optionalAccess', _636 => _636.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
|
|
33410
33405
|
}
|
|
33411
33406
|
)
|
|
33412
33407
|
] })
|
|
@@ -33423,10 +33418,10 @@ function Header2({ config, platform }) {
|
|
|
33423
33418
|
// src/components/navigation/header-skeleton.tsx
|
|
33424
33419
|
|
|
33425
33420
|
function HeaderSkeleton({ config }) {
|
|
33426
|
-
const showNavigation = _optionalChain([config, 'optionalAccess',
|
|
33427
|
-
const showActions = _optionalChain([config, 'optionalAccess',
|
|
33428
|
-
const showMobileMenu = _optionalChain([config, 'optionalAccess',
|
|
33429
|
-
const isAdminHeader = _optionalChain([config, 'optionalAccess',
|
|
33421
|
+
const showNavigation = _optionalChain([config, 'optionalAccess', _637 => _637.navigation]) && config.navigation.items.length > 0;
|
|
33422
|
+
const showActions = _optionalChain([config, 'optionalAccess', _638 => _638.actions, 'optionalAccess', _639 => _639.right]) && config.actions.right.length > 0;
|
|
33423
|
+
const showMobileMenu = _optionalChain([config, 'optionalAccess', _640 => _640.mobile, 'optionalAccess', _641 => _641.enabled]);
|
|
33424
|
+
const isAdminHeader = _optionalChain([config, 'optionalAccess', _642 => _642.className, 'optionalAccess', _643 => _643.includes, 'call', _644 => _644("admin")]);
|
|
33430
33425
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33431
33426
|
"header",
|
|
33432
33427
|
{
|
|
@@ -33435,11 +33430,11 @@ function HeaderSkeleton({ config }) {
|
|
|
33435
33430
|
"bg-ods-card border-b border-ods-border backdrop-blur-sm",
|
|
33436
33431
|
"px-6 py-3",
|
|
33437
33432
|
"transition-opacity duration-300 ease-in-out",
|
|
33438
|
-
_optionalChain([config, 'optionalAccess',
|
|
33433
|
+
_optionalChain([config, 'optionalAccess', _645 => _645.className])
|
|
33439
33434
|
),
|
|
33440
33435
|
children: [
|
|
33441
33436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
|
|
33442
|
-
isAdminHeader && _optionalChain([config, 'optionalAccess',
|
|
33437
|
+
isAdminHeader && _optionalChain([config, 'optionalAccess', _646 => _646.actions, 'optionalAccess', _647 => _647.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
|
|
33443
33438
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
33444
33439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
|
|
33445
33440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
|
|
@@ -33447,8 +33442,8 @@ function HeaderSkeleton({ config }) {
|
|
|
33447
33442
|
] }),
|
|
33448
33443
|
showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
33449
33444
|
"hidden md:flex items-center gap-2",
|
|
33450
|
-
_optionalChain([config, 'optionalAccess',
|
|
33451
|
-
_optionalChain([config, 'optionalAccess',
|
|
33445
|
+
_optionalChain([config, 'optionalAccess', _648 => _648.navigation, 'optionalAccess', _649 => _649.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
|
|
33446
|
+
_optionalChain([config, 'optionalAccess', _650 => _650.navigation, 'optionalAccess', _651 => _651.position]) === "right" && "ml-auto mr-4"
|
|
33452
33447
|
), children: [
|
|
33453
33448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
|
|
33454
33449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
|
|
@@ -33496,7 +33491,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
33496
33491
|
_react.useEffect.call(void 0, () => {
|
|
33497
33492
|
const handleKeyDown = (e) => {
|
|
33498
33493
|
if (e.key === "Escape" && isOpen) {
|
|
33499
|
-
_optionalChain([config, 'access',
|
|
33494
|
+
_optionalChain([config, 'access', _652 => _652.onClose, 'optionalCall', _653 => _653()]);
|
|
33500
33495
|
}
|
|
33501
33496
|
};
|
|
33502
33497
|
if (isOpen) {
|
|
@@ -33513,7 +33508,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
33513
33508
|
if (item.onClick) {
|
|
33514
33509
|
item.onClick();
|
|
33515
33510
|
}
|
|
33516
|
-
_optionalChain([config, 'access',
|
|
33511
|
+
_optionalChain([config, 'access', _654 => _654.onClose, 'optionalCall', _655 => _655()]);
|
|
33517
33512
|
};
|
|
33518
33513
|
if (item.href) {
|
|
33519
33514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -33683,7 +33678,7 @@ function SlidingSidebar({ config }) {
|
|
|
33683
33678
|
variant: "transparent",
|
|
33684
33679
|
size: "default",
|
|
33685
33680
|
onClick: () => {
|
|
33686
|
-
_optionalChain([item, 'access',
|
|
33681
|
+
_optionalChain([item, 'access', _656 => _656.onClick, 'optionalCall', _657 => _657()]);
|
|
33687
33682
|
config.onClose();
|
|
33688
33683
|
},
|
|
33689
33684
|
leftIcon: item.icon,
|
|
@@ -33706,7 +33701,7 @@ function SlidingSidebar({ config }) {
|
|
|
33706
33701
|
variant: "transparent",
|
|
33707
33702
|
size: "default",
|
|
33708
33703
|
onClick: () => {
|
|
33709
|
-
_optionalChain([item, 'access',
|
|
33704
|
+
_optionalChain([item, 'access', _658 => _658.onClick, 'optionalCall', _659 => _659()]);
|
|
33710
33705
|
config.onClose();
|
|
33711
33706
|
},
|
|
33712
33707
|
leftIcon: item.icon,
|
|
@@ -33833,7 +33828,7 @@ function StickySectionNav({
|
|
|
33833
33828
|
] });
|
|
33834
33829
|
}
|
|
33835
33830
|
function useSectionNavigation(sections, options) {
|
|
33836
|
-
const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access',
|
|
33831
|
+
const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _660 => _660[0], 'optionalAccess', _661 => _661.id]) || "");
|
|
33837
33832
|
const isScrollingFromClick = _react.useRef.call(void 0, false);
|
|
33838
33833
|
const { offset: offset2 = 100 } = options || {};
|
|
33839
33834
|
const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
|
|
@@ -33857,7 +33852,7 @@ function useSectionNavigation(sections, options) {
|
|
|
33857
33852
|
const handleScroll = () => {
|
|
33858
33853
|
if (isScrollingFromClick.current) return;
|
|
33859
33854
|
const scrollPosition = window.scrollY + offset2 + 50;
|
|
33860
|
-
let currentSection = _optionalChain([sections, 'access',
|
|
33855
|
+
let currentSection = _optionalChain([sections, 'access', _662 => _662[0], 'optionalAccess', _663 => _663.id]) || "";
|
|
33861
33856
|
for (let i = sections.length - 1; i >= 0; i--) {
|
|
33862
33857
|
const element = document.getElementById(sections[i].id);
|
|
33863
33858
|
if (element && scrollPosition >= element.offsetTop) {
|
|
@@ -34058,7 +34053,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
34058
34053
|
} else {
|
|
34059
34054
|
setDesktopMinimized((prev) => !prev);
|
|
34060
34055
|
}
|
|
34061
|
-
_optionalChain([config, 'access',
|
|
34056
|
+
_optionalChain([config, 'access', _664 => _664.onToggleMinimized, 'optionalCall', _665 => _665()]);
|
|
34062
34057
|
}, [isTablet, setDesktopMinimized, config]);
|
|
34063
34058
|
const closeOverlay = _react.useCallback.call(void 0, () => {
|
|
34064
34059
|
setTabletMinimized(true);
|
|
@@ -34072,11 +34067,11 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
34072
34067
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
34073
34068
|
}, [isOverlayOpen, closeOverlay]);
|
|
34074
34069
|
const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
|
|
34075
|
-
_optionalChain([event, 'optionalAccess',
|
|
34070
|
+
_optionalChain([event, 'optionalAccess', _666 => _666.stopPropagation, 'call', _667 => _667()]);
|
|
34076
34071
|
if (item.onClick) {
|
|
34077
34072
|
item.onClick();
|
|
34078
34073
|
} else if (item.path) {
|
|
34079
|
-
_optionalChain([config, 'access',
|
|
34074
|
+
_optionalChain([config, 'access', _668 => _668.onNavigate, 'optionalCall', _669 => _669(item.path)]);
|
|
34080
34075
|
}
|
|
34081
34076
|
if (isTablet) setTabletMinimized(true);
|
|
34082
34077
|
}, [config, isTablet]);
|
|
@@ -34196,11 +34191,11 @@ function HeaderGlobalSearch({
|
|
|
34196
34191
|
};
|
|
34197
34192
|
const handleSubmit = (e) => {
|
|
34198
34193
|
e.preventDefault();
|
|
34199
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
34194
|
+
_optionalChain([onSubmit, 'optionalCall', _670 => _670(currentValue)]);
|
|
34200
34195
|
};
|
|
34201
34196
|
const handleKeyDown = (e) => {
|
|
34202
34197
|
if (e.key === "Enter") {
|
|
34203
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
34198
|
+
_optionalChain([onSubmit, 'optionalCall', _671 => _671(currentValue)]);
|
|
34204
34199
|
}
|
|
34205
34200
|
};
|
|
34206
34201
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -34294,8 +34289,8 @@ function HeaderOrganizationFilter({
|
|
|
34294
34289
|
className
|
|
34295
34290
|
}) {
|
|
34296
34291
|
const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
|
|
34297
|
-
const displayName = _optionalChain([selectedOrg, 'optionalAccess',
|
|
34298
|
-
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess',
|
|
34292
|
+
const displayName = _optionalChain([selectedOrg, 'optionalAccess', _672 => _672.name]) || "All Organizations";
|
|
34293
|
+
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _673 => _673.deviceCount]), () => ( totalDeviceCount));
|
|
34299
34294
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNYIZVI4Icjs.DropdownMenu, { children: [
|
|
34300
34295
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
34301
34296
|
"button",
|
|
@@ -34320,11 +34315,11 @@ function HeaderOrganizationFilter({
|
|
|
34320
34315
|
}
|
|
34321
34316
|
) }),
|
|
34322
34317
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
34323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall',
|
|
34318
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _674 => _674("")]), children: "All Organizations" }),
|
|
34324
34319
|
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34325
34320
|
_chunkNYIZVI4Icjs.DropdownMenuItem,
|
|
34326
34321
|
{
|
|
34327
|
-
onClick: () => _optionalChain([onOrgChange, 'optionalCall',
|
|
34322
|
+
onClick: () => _optionalChain([onOrgChange, 'optionalCall', _675 => _675(org.id)]),
|
|
34328
34323
|
children: org.name
|
|
34329
34324
|
},
|
|
34330
34325
|
org.id
|
|
@@ -34514,9 +34509,9 @@ function NotificationsHeaderButton({
|
|
|
34514
34509
|
dimmedClass
|
|
34515
34510
|
}) {
|
|
34516
34511
|
const ctx = useOptionalNotifications();
|
|
34517
|
-
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
34518
|
-
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
34519
|
-
const onClick = _optionalChain([ctx, 'optionalAccess',
|
|
34512
|
+
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _676 => _676.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
34513
|
+
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _677 => _677.isOpen]), () => ( false));
|
|
34514
|
+
const onClick = _optionalChain([ctx, 'optionalAccess', _678 => _678.toggle]);
|
|
34520
34515
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34521
34516
|
HeaderButton,
|
|
34522
34517
|
{
|
|
@@ -34580,7 +34575,7 @@ var MobileBurgerMenu = React118.default.memo(function MobileBurgerMenu2({
|
|
|
34580
34575
|
if (item.onClick) {
|
|
34581
34576
|
item.onClick();
|
|
34582
34577
|
} else if (item.path) {
|
|
34583
|
-
_optionalChain([config, 'access',
|
|
34578
|
+
_optionalChain([config, 'access', _679 => _679.onNavigate, 'optionalCall', _680 => _680(item.path)]);
|
|
34584
34579
|
}
|
|
34585
34580
|
onClose();
|
|
34586
34581
|
}, [config, onClose]);
|
|
@@ -34841,7 +34836,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
34841
34836
|
const handleOpenChange = React111.useCallback(
|
|
34842
34837
|
(next) => {
|
|
34843
34838
|
if (!isControlled) setInternalOpen(next);
|
|
34844
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
34839
|
+
_optionalChain([onOpenChange, 'optionalCall', _681 => _681(next)]);
|
|
34845
34840
|
},
|
|
34846
34841
|
[isControlled, onOpenChange]
|
|
34847
34842
|
);
|
|
@@ -34851,10 +34846,10 @@ var AppLayoutDrawerRoot = ({
|
|
|
34851
34846
|
const handleOpenChangeRef = React111.useRef(handleOpenChange);
|
|
34852
34847
|
handleOpenChangeRef.current = handleOpenChange;
|
|
34853
34848
|
React111.useEffect(() => {
|
|
34854
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
34849
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _682 => _682.notifyDrawerDidOpen, 'call', _683 => _683()]);
|
|
34855
34850
|
}, [open, coordination]);
|
|
34856
34851
|
React111.useEffect(() => {
|
|
34857
|
-
return _optionalChain([coordination, 'optionalAccess',
|
|
34852
|
+
return _optionalChain([coordination, 'optionalAccess', _684 => _684.registerDrawer, 'call', _685 => _685({
|
|
34858
34853
|
close: () => {
|
|
34859
34854
|
if (openRef.current) handleOpenChangeRef.current(false);
|
|
34860
34855
|
}
|
|
@@ -35238,10 +35233,10 @@ var AppLayoutDrawerContent = React111.forwardRef(
|
|
|
35238
35233
|
),
|
|
35239
35234
|
style,
|
|
35240
35235
|
onInteractOutside: (event) => {
|
|
35241
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
35236
|
+
_optionalChain([onInteractOutside, 'optionalCall', _686 => _686(event)]);
|
|
35242
35237
|
if (event.defaultPrevented) return;
|
|
35243
35238
|
const target = event.target;
|
|
35244
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
35239
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _687 => _687.contains, 'call', _688 => _688(target)]);
|
|
35245
35240
|
if (!isInsideContainer) {
|
|
35246
35241
|
event.preventDefault();
|
|
35247
35242
|
return;
|
|
@@ -35654,7 +35649,7 @@ var ShellTypeBadge = ({
|
|
|
35654
35649
|
className,
|
|
35655
35650
|
iconClassName
|
|
35656
35651
|
}) => {
|
|
35657
|
-
const normalizedType = _optionalChain([shellType, 'optionalAccess',
|
|
35652
|
+
const normalizedType = _optionalChain([shellType, 'optionalAccess', _689 => _689.toUpperCase, 'call', _690 => _690()]);
|
|
35658
35653
|
const label = getShellLabel(normalizedType);
|
|
35659
35654
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
35660
35655
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
@@ -36041,12 +36036,12 @@ function OnboardingWalkthrough({
|
|
|
36041
36036
|
}
|
|
36042
36037
|
}, [state.completedSteps, markComplete]);
|
|
36043
36038
|
const handleStepSkip = (step) => {
|
|
36044
|
-
_optionalChain([step, 'access',
|
|
36039
|
+
_optionalChain([step, 'access', _691 => _691.onSkip, 'optionalCall', _692 => _692()]);
|
|
36045
36040
|
markSkipped(step.id);
|
|
36046
36041
|
};
|
|
36047
36042
|
const handleDismiss = () => {
|
|
36048
36043
|
dismissOnboarding();
|
|
36049
|
-
_optionalChain([onDismiss, 'optionalCall',
|
|
36044
|
+
_optionalChain([onDismiss, 'optionalCall', _693 => _693()]);
|
|
36050
36045
|
};
|
|
36051
36046
|
if (state.dismissed) {
|
|
36052
36047
|
return null;
|
|
@@ -36176,7 +36171,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
36176
36171
|
onKeyDown: (e) => {
|
|
36177
36172
|
if (e.key === "Enter" || e.key === " ") {
|
|
36178
36173
|
e.preventDefault();
|
|
36179
|
-
_optionalChain([onClick, 'optionalCall',
|
|
36174
|
+
_optionalChain([onClick, 'optionalCall', _694 => _694()]);
|
|
36180
36175
|
}
|
|
36181
36176
|
},
|
|
36182
36177
|
children: [
|
|
@@ -36277,7 +36272,7 @@ var LogsList = React115.forwardRef(({
|
|
|
36277
36272
|
log,
|
|
36278
36273
|
isLast: index === logs.length - 1,
|
|
36279
36274
|
showConnector,
|
|
36280
|
-
onClick: () => _optionalChain([onLogClick, 'optionalCall',
|
|
36275
|
+
onClick: () => _optionalChain([onLogClick, 'optionalCall', _695 => _695(log)])
|
|
36281
36276
|
},
|
|
36282
36277
|
log.id
|
|
36283
36278
|
))
|
|
@@ -36378,7 +36373,7 @@ var Slider = React117.forwardRef(
|
|
|
36378
36373
|
({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
|
|
36379
36374
|
const handleChange = (e) => {
|
|
36380
36375
|
const newValue = [Number(e.target.value)];
|
|
36381
|
-
_optionalChain([onValueChange, 'optionalCall',
|
|
36376
|
+
_optionalChain([onValueChange, 'optionalCall', _696 => _696(newValue)]);
|
|
36382
36377
|
};
|
|
36383
36378
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36384
36379
|
"input",
|
|
@@ -36812,7 +36807,7 @@ function CursorPaginationSimple({
|
|
|
36812
36807
|
{
|
|
36813
36808
|
variant: "transparent",
|
|
36814
36809
|
size: "icon",
|
|
36815
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
36810
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _697 => _697("")]),
|
|
36816
36811
|
disabled: !hasPreviousPage || loading,
|
|
36817
36812
|
className: "h-8 w-8",
|
|
36818
36813
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -36824,7 +36819,7 @@ function CursorPaginationSimple({
|
|
|
36824
36819
|
{
|
|
36825
36820
|
variant: "transparent",
|
|
36826
36821
|
size: "icon",
|
|
36827
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
36822
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _698 => _698("")]),
|
|
36828
36823
|
disabled: !hasNextPage || loading,
|
|
36829
36824
|
className: "h-8 w-8",
|
|
36830
36825
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -36844,8 +36839,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
|
|
|
36844
36839
|
icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
|
|
36845
36840
|
title: _nullishCoalesce(message2, () => ( "No results found")),
|
|
36846
36841
|
description: message2 == null ? "Try adjusting your search or filters" : void 0,
|
|
36847
|
-
buttonLabel: _optionalChain([action, 'optionalAccess',
|
|
36848
|
-
onButtonClick: _optionalChain([action, 'optionalAccess',
|
|
36842
|
+
buttonLabel: _optionalChain([action, 'optionalAccess', _699 => _699.label]),
|
|
36843
|
+
onButtonClick: _optionalChain([action, 'optionalAccess', _700 => _700.onClick]),
|
|
36849
36844
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
|
|
36850
36845
|
}
|
|
36851
36846
|
);
|
|
@@ -36866,7 +36861,7 @@ function TableColumnFilterDropdown({
|
|
|
36866
36861
|
placement = "bottom-start",
|
|
36867
36862
|
dropdownClassName = "min-w-[240px]"
|
|
36868
36863
|
}) {
|
|
36869
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
36864
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _701 => _701[columnKey], 'optionalAccess', _702 => _702.length]) || 0;
|
|
36870
36865
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36871
36866
|
FiltersDropdown,
|
|
36872
36867
|
{
|
|
@@ -36909,7 +36904,7 @@ function TableColumnFilterDropdown({
|
|
|
36909
36904
|
delete newFilters[columnKey];
|
|
36910
36905
|
onFilterChange(newFilters);
|
|
36911
36906
|
},
|
|
36912
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
36907
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _703 => _703[columnKey]]) || [] },
|
|
36913
36908
|
placement,
|
|
36914
36909
|
dropdownClassName
|
|
36915
36910
|
}
|
|
@@ -37119,7 +37114,7 @@ function TableCardSkeleton({
|
|
|
37119
37114
|
className,
|
|
37120
37115
|
rowClassName
|
|
37121
37116
|
}) {
|
|
37122
|
-
const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess',
|
|
37117
|
+
const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _704 => _704.key]);
|
|
37123
37118
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37124
37119
|
"div",
|
|
37125
37120
|
{
|
|
@@ -37212,7 +37207,7 @@ function TableRow({
|
|
|
37212
37207
|
const keys = column.key.split(".");
|
|
37213
37208
|
let value = item;
|
|
37214
37209
|
for (const key of keys) {
|
|
37215
|
-
value = _optionalChain([value, 'optionalAccess',
|
|
37210
|
+
value = _optionalChain([value, 'optionalAccess', _705 => _705[key]]);
|
|
37216
37211
|
}
|
|
37217
37212
|
if (value === null || value === void 0) {
|
|
37218
37213
|
return "-";
|
|
@@ -37301,7 +37296,7 @@ function useTableMotion(enabled) {
|
|
|
37301
37296
|
// src/components/ui/table/table.tsx
|
|
37302
37297
|
|
|
37303
37298
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
37304
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
37299
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _706 => _706.length])) || Boolean(renderRowActions);
|
|
37305
37300
|
const result = [...columns];
|
|
37306
37301
|
if (hasActions) {
|
|
37307
37302
|
const actionsColumn = {
|
|
@@ -37397,7 +37392,7 @@ function Table({
|
|
|
37397
37392
|
return rowKey(item);
|
|
37398
37393
|
}
|
|
37399
37394
|
const key = item[rowKey];
|
|
37400
|
-
return _optionalChain([key, 'optionalAccess',
|
|
37395
|
+
return _optionalChain([key, 'optionalAccess', _707 => _707.toString, 'call', _708 => _708()]) || index.toString();
|
|
37401
37396
|
};
|
|
37402
37397
|
const getRowClassName = (item, index) => {
|
|
37403
37398
|
if (typeof rowClassName === "function") {
|
|
@@ -37431,23 +37426,23 @@ function Table({
|
|
|
37431
37426
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
37432
37427
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
37433
37428
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
37434
|
-
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess',
|
|
37435
|
-
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess',
|
|
37429
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _709 => _709.onLoadMore]));
|
|
37430
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _710 => _710.onLoadMore]);
|
|
37436
37431
|
_react.useEffect.call(void 0, () => {
|
|
37437
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
37432
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _711 => _711.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
|
|
37438
37433
|
const sentinel = sentinelRef.current;
|
|
37439
37434
|
if (!sentinel) return;
|
|
37440
37435
|
const observer = new IntersectionObserver(
|
|
37441
37436
|
(entries) => {
|
|
37442
|
-
if (_optionalChain([entries, 'access',
|
|
37443
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
37437
|
+
if (_optionalChain([entries, 'access', _712 => _712[0], 'optionalAccess', _713 => _713.isIntersecting])) {
|
|
37438
|
+
_optionalChain([onLoadMoreRef, 'access', _714 => _714.current, 'optionalCall', _715 => _715()]);
|
|
37444
37439
|
}
|
|
37445
37440
|
},
|
|
37446
37441
|
{ rootMargin: "200px" }
|
|
37447
37442
|
);
|
|
37448
37443
|
observer.observe(sentinel);
|
|
37449
37444
|
return () => observer.disconnect();
|
|
37450
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
37445
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _716 => _716.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _717 => _717.isFetchingNextPage])]);
|
|
37451
37446
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
|
|
37452
37447
|
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: [
|
|
37453
37448
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
|
|
@@ -37517,14 +37512,14 @@ function Table({
|
|
|
37517
37512
|
selected: isRowSelected(item),
|
|
37518
37513
|
onSelect: handleSelectRow,
|
|
37519
37514
|
animateRowReorder,
|
|
37520
|
-
motionDiv: _optionalChain([tableMotion, 'optionalAccess',
|
|
37515
|
+
motionDiv: _optionalChain([tableMotion, 'optionalAccess', _718 => _718.motionDiv])
|
|
37521
37516
|
},
|
|
37522
37517
|
getRowKey(item, index)
|
|
37523
37518
|
));
|
|
37524
|
-
const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess',
|
|
37519
|
+
const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _719 => _719.LayoutGroup]);
|
|
37525
37520
|
return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
|
|
37526
37521
|
})(),
|
|
37527
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
37522
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _720 => _720.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37528
37523
|
TableCardSkeleton,
|
|
37529
37524
|
{
|
|
37530
37525
|
columns,
|
|
@@ -37533,7 +37528,7 @@ function Table({
|
|
|
37533
37528
|
hasChevron: Boolean(rowHref)
|
|
37534
37529
|
}
|
|
37535
37530
|
),
|
|
37536
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
37531
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _721 => _721.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
37537
37532
|
!infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37538
37533
|
"div",
|
|
37539
37534
|
{
|
|
@@ -37891,7 +37886,7 @@ function QueryReportTable({
|
|
|
37891
37886
|
);
|
|
37892
37887
|
const handleExport = () => {
|
|
37893
37888
|
exportToCSV(data, columns, exportFilename);
|
|
37894
|
-
_optionalChain([onExport, 'optionalCall',
|
|
37889
|
+
_optionalChain([onExport, 'optionalCall', _722 => _722()]);
|
|
37895
37890
|
};
|
|
37896
37891
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
37897
37892
|
const {
|
|
@@ -38064,7 +38059,7 @@ function DataTableColumnFilter({
|
|
|
38064
38059
|
align = "left"
|
|
38065
38060
|
}) {
|
|
38066
38061
|
const currentValue = column.getFilterValue();
|
|
38067
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
38062
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _723 => _723.length]), () => ( 0));
|
|
38068
38063
|
const sections = _react.useMemo.call(void 0,
|
|
38069
38064
|
() => [
|
|
38070
38065
|
{
|
|
@@ -38144,7 +38139,7 @@ function DataTableHeader({
|
|
|
38144
38139
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
38145
38140
|
if (header.isPlaceholder) return false;
|
|
38146
38141
|
if (isLgUp) return true;
|
|
38147
|
-
return Boolean(_optionalChain([header, 'access',
|
|
38142
|
+
return Boolean(_optionalChain([header, 'access', _724 => _724.column, 'access', _725 => _725.columnDef, 'access', _726 => _726.meta, 'optionalAccess', _727 => _727.filter]));
|
|
38148
38143
|
});
|
|
38149
38144
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38150
38145
|
"div",
|
|
@@ -38174,20 +38169,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
38174
38169
|
if (header.isPlaceholder) return null;
|
|
38175
38170
|
const column = header.column;
|
|
38176
38171
|
const meta = column.columnDef.meta;
|
|
38177
|
-
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess',
|
|
38178
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
38179
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
38180
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
38172
|
+
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _728 => _728.filter]));
|
|
38173
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _729 => _729.align]), () => ( "left"));
|
|
38174
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _730 => _730.sortable]) === true;
|
|
38175
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _731 => _731.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
38181
38176
|
if (!isLgUp && !hasFilter) return null;
|
|
38182
38177
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38183
38178
|
"div",
|
|
38184
38179
|
{
|
|
38185
38180
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
38186
38181
|
"flex items-stretch",
|
|
38187
|
-
isLgUp && (_optionalChain([meta, 'optionalAccess',
|
|
38188
|
-
_optionalChain([meta, 'optionalAccess',
|
|
38182
|
+
isLgUp && (_optionalChain([meta, 'optionalAccess', _732 => _732.width]) || "flex-1 min-w-0"),
|
|
38183
|
+
_optionalChain([meta, 'optionalAccess', _733 => _733.headerClassName]),
|
|
38189
38184
|
// Don't apply hide classes if column is filterable on tablet (keep filter accessible)
|
|
38190
|
-
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
38185
|
+
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _734 => _734.hideAt]))
|
|
38191
38186
|
),
|
|
38192
38187
|
children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38193
38188
|
DataTableColumnFilter,
|
|
@@ -38206,7 +38201,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
38206
38201
|
isLgUp && alignJustify(align),
|
|
38207
38202
|
canSort && "group cursor-pointer"
|
|
38208
38203
|
),
|
|
38209
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
38204
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _735 => _735(column.id)]) : void 0,
|
|
38210
38205
|
children: [
|
|
38211
38206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
38212
38207
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -38271,7 +38266,7 @@ function DataTableSkeleton({
|
|
|
38271
38266
|
}) {
|
|
38272
38267
|
const table = useDataTableContext();
|
|
38273
38268
|
const columns = table.getVisibleFlatColumns();
|
|
38274
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
38269
|
+
const firstColumnId = _optionalChain([columns, 'access', _736 => _736[0], 'optionalAccess', _737 => _737.id]);
|
|
38275
38270
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38276
38271
|
"div",
|
|
38277
38272
|
{
|
|
@@ -38295,7 +38290,7 @@ function DataTableSkeleton({
|
|
|
38295
38290
|
{
|
|
38296
38291
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
38297
38292
|
"flex flex-col justify-center shrink-0",
|
|
38298
|
-
_optionalChain([meta, 'optionalAccess',
|
|
38293
|
+
_optionalChain([meta, 'optionalAccess', _738 => _738.width]) || "flex-1"
|
|
38299
38294
|
),
|
|
38300
38295
|
children: [
|
|
38301
38296
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
|
|
@@ -38344,7 +38339,7 @@ function DataTableRowImpl({
|
|
|
38344
38339
|
const handleClick = _react.useCallback.call(void 0,
|
|
38345
38340
|
(e) => {
|
|
38346
38341
|
const target = e.target;
|
|
38347
|
-
if (!_optionalChain([containerRef, 'access',
|
|
38342
|
+
if (!_optionalChain([containerRef, 'access', _739 => _739.current, 'optionalAccess', _740 => _740.contains, 'call', _741 => _741(target)])) {
|
|
38348
38343
|
if (isLinkMode) e.preventDefault();
|
|
38349
38344
|
return;
|
|
38350
38345
|
}
|
|
@@ -38352,7 +38347,7 @@ function DataTableRowImpl({
|
|
|
38352
38347
|
if (isLinkMode) e.preventDefault();
|
|
38353
38348
|
return;
|
|
38354
38349
|
}
|
|
38355
|
-
_optionalChain([onClick, 'optionalCall',
|
|
38350
|
+
_optionalChain([onClick, 'optionalCall', _742 => _742(row.original)]);
|
|
38356
38351
|
},
|
|
38357
38352
|
[onClick, row.original, isLinkMode]
|
|
38358
38353
|
);
|
|
@@ -38377,10 +38372,10 @@ function DataTableRowImpl({
|
|
|
38377
38372
|
{
|
|
38378
38373
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
38379
38374
|
"flex flex-col overflow-hidden",
|
|
38380
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
38381
|
-
_optionalChain([meta, 'optionalAccess',
|
|
38382
|
-
_optionalChain([meta, 'optionalAccess',
|
|
38383
|
-
getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
38375
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _743 => _743.align])),
|
|
38376
|
+
_optionalChain([meta, 'optionalAccess', _744 => _744.width]) || "flex-1 min-w-0",
|
|
38377
|
+
_optionalChain([meta, 'optionalAccess', _745 => _745.cellClassName]),
|
|
38378
|
+
getHideClasses2(_optionalChain([meta, 'optionalAccess', _746 => _746.hideAt]))
|
|
38384
38379
|
),
|
|
38385
38380
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
38386
38381
|
},
|
|
@@ -38459,7 +38454,7 @@ function DataTableBody({
|
|
|
38459
38454
|
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: [
|
|
38460
38455
|
rows.map((row, index) => {
|
|
38461
38456
|
const item = row.original;
|
|
38462
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
38457
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _747 => _747(item)]), () => ( void 0));
|
|
38463
38458
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
38464
38459
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38465
38460
|
DataTableRow,
|
|
@@ -38469,7 +38464,7 @@ function DataTableBody({
|
|
|
38469
38464
|
href,
|
|
38470
38465
|
compact,
|
|
38471
38466
|
className: cls,
|
|
38472
|
-
subRow: _optionalChain([renderSubRow, 'optionalCall',
|
|
38467
|
+
subRow: _optionalChain([renderSubRow, 'optionalCall', _748 => _748(item)])
|
|
38473
38468
|
},
|
|
38474
38469
|
row.id
|
|
38475
38470
|
);
|
|
@@ -38524,7 +38519,7 @@ function DataTableInfiniteFooter({
|
|
|
38524
38519
|
if (!sentinel) return;
|
|
38525
38520
|
const observer = new IntersectionObserver(
|
|
38526
38521
|
(entries) => {
|
|
38527
|
-
if (_optionalChain([entries, 'access',
|
|
38522
|
+
if (_optionalChain([entries, 'access', _749 => _749[0], 'optionalAccess', _750 => _750.isIntersecting])) onLoadMoreRef.current();
|
|
38528
38523
|
},
|
|
38529
38524
|
{ rootMargin }
|
|
38530
38525
|
);
|
|
@@ -38572,7 +38567,7 @@ function DataTableRowCount({
|
|
|
38572
38567
|
const table = useDataTableContext();
|
|
38573
38568
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
38574
38569
|
if (hideWhenEmpty && count === 0) return null;
|
|
38575
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
38570
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _751 => _751(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
38576
38571
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38577
38572
|
"span",
|
|
38578
38573
|
{
|
|
@@ -38731,7 +38726,7 @@ function SearchInput({
|
|
|
38731
38726
|
if (!showHiddenTags) return;
|
|
38732
38727
|
const handleClick = (e) => {
|
|
38733
38728
|
const target = e.target;
|
|
38734
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
38729
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _752 => _752.current, 'optionalAccess', _753 => _753.contains, 'call', _754 => _754(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _755 => _755.current, 'optionalAccess', _756 => _756.contains, 'call', _757 => _757(target)])) {
|
|
38735
38730
|
setShowHiddenTags(false);
|
|
38736
38731
|
}
|
|
38737
38732
|
};
|
|
@@ -38779,10 +38774,10 @@ function SearchInput({
|
|
|
38779
38774
|
} else {
|
|
38780
38775
|
setInternalValue("");
|
|
38781
38776
|
}
|
|
38782
|
-
_optionalChain([inputRef, 'access',
|
|
38777
|
+
_optionalChain([inputRef, 'access', _758 => _758.current, 'optionalAccess', _759 => _759.focus, 'call', _760 => _760()]);
|
|
38783
38778
|
};
|
|
38784
38779
|
const handleResultClick = (result, e) => {
|
|
38785
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
38780
|
+
_optionalChain([onResultSelect, 'optionalCall', _761 => _761(
|
|
38786
38781
|
result,
|
|
38787
38782
|
e ? {
|
|
38788
38783
|
metaKey: e.metaKey,
|
|
@@ -38814,7 +38809,7 @@ function SearchInput({
|
|
|
38814
38809
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
38815
38810
|
handleResultClick(flatResults[highlightedIndex]);
|
|
38816
38811
|
} else {
|
|
38817
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
38812
|
+
_optionalChain([onSubmit, 'optionalCall', _762 => _762(currentValue)]);
|
|
38818
38813
|
}
|
|
38819
38814
|
break;
|
|
38820
38815
|
case "Escape":
|
|
@@ -38892,7 +38887,7 @@ function SearchInput({
|
|
|
38892
38887
|
dropdownVisible && "!border-ods-accent"
|
|
38893
38888
|
),
|
|
38894
38889
|
onClick: () => {
|
|
38895
|
-
_optionalChain([inputRef, 'access',
|
|
38890
|
+
_optionalChain([inputRef, 'access', _763 => _763.current, 'optionalAccess', _764 => _764.focus, 'call', _765 => _765()]);
|
|
38896
38891
|
setIsOpen(true);
|
|
38897
38892
|
},
|
|
38898
38893
|
children: [
|
|
@@ -38976,10 +38971,10 @@ function SearchInput({
|
|
|
38976
38971
|
align: "start",
|
|
38977
38972
|
onOpenAutoFocus: (e) => {
|
|
38978
38973
|
e.preventDefault();
|
|
38979
|
-
_optionalChain([inputRef, 'access',
|
|
38974
|
+
_optionalChain([inputRef, 'access', _766 => _766.current, 'optionalAccess', _767 => _767.focus, 'call', _768 => _768()]);
|
|
38980
38975
|
},
|
|
38981
38976
|
onInteractOutside: (e) => {
|
|
38982
|
-
if (_optionalChain([containerRef, 'access',
|
|
38977
|
+
if (_optionalChain([containerRef, 'access', _769 => _769.current, 'optionalAccess', _770 => _770.contains, 'call', _771 => _771(e.target)])) {
|
|
38983
38978
|
e.preventDefault();
|
|
38984
38979
|
}
|
|
38985
38980
|
},
|
|
@@ -38996,10 +38991,10 @@ function SearchInput({
|
|
|
38996
38991
|
ref: hiddenTagsPopupRef,
|
|
38997
38992
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
38998
38993
|
style: {
|
|
38999
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
38994
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _772 => _772.current, 'optionalAccess', _773 => _773.getBoundingClientRect, 'call', _774 => _774(), 'access', _775 => _775.left]), () => ( 0))) : 0
|
|
39000
38995
|
},
|
|
39001
38996
|
onRemove: (value2) => {
|
|
39002
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
38997
|
+
_optionalChain([onFilterRemove, 'optionalCall', _776 => _776(value2)]);
|
|
39003
38998
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
39004
38999
|
}
|
|
39005
39000
|
}
|
|
@@ -39050,7 +39045,7 @@ function FilterListItem({
|
|
|
39050
39045
|
}) {
|
|
39051
39046
|
const handleToggle = () => {
|
|
39052
39047
|
if (disabled) return;
|
|
39053
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
39048
|
+
_optionalChain([onToggle, 'optionalCall', _777 => _777(!selected)]);
|
|
39054
39049
|
};
|
|
39055
39050
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
39056
39051
|
"div",
|
|
@@ -39097,7 +39092,7 @@ function FilterListItem({
|
|
|
39097
39092
|
CheckboxPrimitive4.Root,
|
|
39098
39093
|
{
|
|
39099
39094
|
checked: selected,
|
|
39100
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
39095
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _778 => _778(c === true)]),
|
|
39101
39096
|
onClick: (e) => e.stopPropagation(),
|
|
39102
39097
|
disabled,
|
|
39103
39098
|
"aria-label": title,
|
|
@@ -39196,7 +39191,7 @@ function TagSearchInput({
|
|
|
39196
39191
|
if (!showHiddenTags) return;
|
|
39197
39192
|
const handleClick = (e) => {
|
|
39198
39193
|
const target = e.target;
|
|
39199
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
39194
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _779 => _779.current, 'optionalAccess', _780 => _780.contains, 'call', _781 => _781(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _782 => _782.current, 'optionalAccess', _783 => _783.contains, 'call', _784 => _784(target)])) {
|
|
39200
39195
|
setShowHiddenTags(false);
|
|
39201
39196
|
}
|
|
39202
39197
|
};
|
|
@@ -39212,13 +39207,13 @@ function TagSearchInput({
|
|
|
39212
39207
|
e.preventDefault();
|
|
39213
39208
|
onSubmit(searchValue);
|
|
39214
39209
|
}
|
|
39215
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
39210
|
+
_optionalChain([onKeyDown, 'optionalCall', _785 => _785(e)]);
|
|
39216
39211
|
};
|
|
39217
39212
|
const handleClearAll = (e) => {
|
|
39218
39213
|
e.stopPropagation();
|
|
39219
39214
|
e.preventDefault();
|
|
39220
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
39221
|
-
_optionalChain([inputRef, 'access',
|
|
39215
|
+
_optionalChain([onClearAll, 'optionalCall', _786 => _786()]);
|
|
39216
|
+
_optionalChain([inputRef, 'access', _787 => _787.current, 'optionalAccess', _788 => _788.focus, 'call', _789 => _789()]);
|
|
39222
39217
|
};
|
|
39223
39218
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
39224
39219
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -39235,7 +39230,7 @@ function TagSearchInput({
|
|
|
39235
39230
|
className
|
|
39236
39231
|
),
|
|
39237
39232
|
onClick: () => {
|
|
39238
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
39233
|
+
if (!disabled) _optionalChain([inputRef, 'access', _790 => _790.current, 'optionalAccess', _791 => _791.focus, 'call', _792 => _792()]);
|
|
39239
39234
|
},
|
|
39240
39235
|
children: [
|
|
39241
39236
|
/* @__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" }) }),
|
|
@@ -39307,7 +39302,7 @@ function TagSearchInput({
|
|
|
39307
39302
|
items: hiddenTags,
|
|
39308
39303
|
disabled,
|
|
39309
39304
|
style: {
|
|
39310
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
39305
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _793 => _793.current, 'optionalAccess', _794 => _794.getBoundingClientRect, 'call', _795 => _795(), 'access', _796 => _796.left]), () => ( 0))) : 0
|
|
39311
39306
|
},
|
|
39312
39307
|
onRemove: (value) => {
|
|
39313
39308
|
onTagRemove(value);
|
|
@@ -39408,7 +39403,7 @@ function MarkdownEditor({
|
|
|
39408
39403
|
const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
|
|
39409
39404
|
_react.useEffect.call(void 0, () => {
|
|
39410
39405
|
Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
|
|
39411
|
-
if (_optionalChain([mod, 'access',
|
|
39406
|
+
if (_optionalChain([mod, 'access', _797 => _797.commands, 'optionalAccess', _798 => _798.getExtraCommands])) {
|
|
39412
39407
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
39413
39408
|
}
|
|
39414
39409
|
});
|
|
@@ -39442,7 +39437,7 @@ function MarkdownEditor({
|
|
|
39442
39437
|
const isImage = file.type.startsWith("image/");
|
|
39443
39438
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
39444
39439
|
insertTextAtCursor(markdown);
|
|
39445
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
39440
|
+
_optionalChain([onFileUploaded, 'optionalCall', _799 => _799(url, file.name)]);
|
|
39446
39441
|
} catch (error) {
|
|
39447
39442
|
console.error("File upload failed:", error);
|
|
39448
39443
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -39455,7 +39450,7 @@ function MarkdownEditor({
|
|
|
39455
39450
|
);
|
|
39456
39451
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
39457
39452
|
(e) => {
|
|
39458
|
-
const file = _optionalChain([e, 'access',
|
|
39453
|
+
const file = _optionalChain([e, 'access', _800 => _800.target, 'access', _801 => _801.files, 'optionalAccess', _802 => _802[0]]);
|
|
39459
39454
|
if (file) {
|
|
39460
39455
|
handleFileUpload(file);
|
|
39461
39456
|
e.target.value = "";
|
|
@@ -39466,7 +39461,7 @@ function MarkdownEditor({
|
|
|
39466
39461
|
const handlePaste = _react.useCallback.call(void 0,
|
|
39467
39462
|
(e) => {
|
|
39468
39463
|
if (!onUploadFile) return;
|
|
39469
|
-
const items = _optionalChain([e, 'access',
|
|
39464
|
+
const items = _optionalChain([e, 'access', _803 => _803.clipboardData, 'optionalAccess', _804 => _804.items]);
|
|
39470
39465
|
if (!items) return;
|
|
39471
39466
|
for (const item of items) {
|
|
39472
39467
|
if (item.type.startsWith("image/")) {
|
|
@@ -39491,7 +39486,7 @@ function MarkdownEditor({
|
|
|
39491
39486
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
39492
39487
|
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" }),
|
|
39493
39488
|
execute: () => {
|
|
39494
|
-
_optionalChain([fileInputRef, 'access',
|
|
39489
|
+
_optionalChain([fileInputRef, 'access', _805 => _805.current, 'optionalAccess', _806 => _806.click, 'call', _807 => _807()]);
|
|
39495
39490
|
}
|
|
39496
39491
|
} : null;
|
|
39497
39492
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -39503,7 +39498,7 @@ function MarkdownEditor({
|
|
|
39503
39498
|
const EDGE_ZONE = 60;
|
|
39504
39499
|
const MAX_SCROLL_SPEED = 15;
|
|
39505
39500
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
39506
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
39501
|
+
let node = _optionalChain([el, 'optionalAccess', _808 => _808.parentElement]);
|
|
39507
39502
|
while (node && node !== document.documentElement) {
|
|
39508
39503
|
const { overflowY } = window.getComputedStyle(node);
|
|
39509
39504
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -39646,7 +39641,7 @@ function matchesAccept(file, accept) {
|
|
|
39646
39641
|
});
|
|
39647
39642
|
}
|
|
39648
39643
|
function dragHasFiles(e) {
|
|
39649
|
-
const types = _optionalChain([e, 'access',
|
|
39644
|
+
const types = _optionalChain([e, 'access', _809 => _809.dataTransfer, 'optionalAccess', _810 => _810.types]);
|
|
39650
39645
|
if (!types) return false;
|
|
39651
39646
|
for (let i = 0; i < types.length; i++) {
|
|
39652
39647
|
if (types[i] === "Files") return true;
|
|
@@ -39742,7 +39737,7 @@ function FileUpload({
|
|
|
39742
39737
|
e.stopPropagation();
|
|
39743
39738
|
setDragActive(false);
|
|
39744
39739
|
if (disabled) return;
|
|
39745
|
-
if (_optionalChain([e, 'access',
|
|
39740
|
+
if (_optionalChain([e, 'access', _811 => _811.dataTransfer, 'access', _812 => _812.files, 'optionalAccess', _813 => _813.length])) {
|
|
39746
39741
|
handleFiles(e.dataTransfer.files);
|
|
39747
39742
|
}
|
|
39748
39743
|
};
|
|
@@ -39770,7 +39765,7 @@ function FileUpload({
|
|
|
39770
39765
|
e.preventDefault();
|
|
39771
39766
|
dragCounter = 0;
|
|
39772
39767
|
setDragActive(false);
|
|
39773
|
-
if (_optionalChain([e, 'access',
|
|
39768
|
+
if (_optionalChain([e, 'access', _814 => _814.dataTransfer, 'optionalAccess', _815 => _815.files, 'optionalAccess', _816 => _816.length])) {
|
|
39774
39769
|
handleFilesRef.current(e.dataTransfer.files);
|
|
39775
39770
|
}
|
|
39776
39771
|
};
|
|
@@ -39792,7 +39787,7 @@ function FileUpload({
|
|
|
39792
39787
|
};
|
|
39793
39788
|
}, [acceptWindowDrops, disabled]);
|
|
39794
39789
|
const handleFileSelect = (e) => {
|
|
39795
|
-
if (_optionalChain([e, 'access',
|
|
39790
|
+
if (_optionalChain([e, 'access', _817 => _817.target, 'access', _818 => _818.files, 'optionalAccess', _819 => _819.length])) {
|
|
39796
39791
|
handleFiles(e.target.files);
|
|
39797
39792
|
}
|
|
39798
39793
|
};
|
|
@@ -39809,7 +39804,7 @@ function FileUpload({
|
|
|
39809
39804
|
};
|
|
39810
39805
|
const openDialog = async () => {
|
|
39811
39806
|
if (disabled) return;
|
|
39812
|
-
_optionalChain([fileInputRef, 'access',
|
|
39807
|
+
_optionalChain([fileInputRef, 'access', _820 => _820.current, 'optionalAccess', _821 => _821.click, 'call', _822 => _822()]);
|
|
39813
39808
|
};
|
|
39814
39809
|
const displayError = error || validationError || void 0;
|
|
39815
39810
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
@@ -39871,7 +39866,7 @@ function FileUpload({
|
|
|
39871
39866
|
"button",
|
|
39872
39867
|
{
|
|
39873
39868
|
type: "button",
|
|
39874
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
39869
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _823 => _823(entry.id)]),
|
|
39875
39870
|
className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
|
|
39876
39871
|
"aria-label": `Remove ${entry.fileName}`,
|
|
39877
39872
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrashIcon, { className: "size-6" })
|
|
@@ -40002,7 +39997,7 @@ function ImageUploader({
|
|
|
40002
39997
|
onChange(file);
|
|
40003
39998
|
};
|
|
40004
39999
|
const handleFileSelect = (e) => {
|
|
40005
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
40000
|
+
validateAndEmit(_optionalChain([e, 'access', _824 => _824.target, 'access', _825 => _825.files, 'optionalAccess', _826 => _826[0]]));
|
|
40006
40001
|
if (inputRef.current) inputRef.current.value = "";
|
|
40007
40002
|
};
|
|
40008
40003
|
const handleDrag = (e) => {
|
|
@@ -40017,11 +40012,11 @@ function ImageUploader({
|
|
|
40017
40012
|
e.stopPropagation();
|
|
40018
40013
|
setDragActive(false);
|
|
40019
40014
|
if (!interactive) return;
|
|
40020
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
40015
|
+
validateAndEmit(_optionalChain([e, 'access', _827 => _827.dataTransfer, 'access', _828 => _828.files, 'optionalAccess', _829 => _829[0]]));
|
|
40021
40016
|
};
|
|
40022
40017
|
const openDialog = () => {
|
|
40023
40018
|
if (!interactive) return;
|
|
40024
|
-
_optionalChain([inputRef, 'access',
|
|
40019
|
+
_optionalChain([inputRef, 'access', _830 => _830.current, 'optionalAccess', _831 => _831.click, 'call', _832 => _832()]);
|
|
40025
40020
|
};
|
|
40026
40021
|
const handleRootKeyDown = (e) => {
|
|
40027
40022
|
if (hasImage || !interactive) return;
|
|
@@ -40212,8 +40207,8 @@ function ColorPresetSelect({
|
|
|
40212
40207
|
}) {
|
|
40213
40208
|
const selectedPreset = presets.find((p) => p.key === presetKey);
|
|
40214
40209
|
const isCustom = !selectedPreset;
|
|
40215
|
-
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
40216
|
-
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
40210
|
+
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _833 => _833.label]), () => ( "Custom"));
|
|
40211
|
+
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _834 => _834.color]), () => ( value));
|
|
40217
40212
|
const groups = [
|
|
40218
40213
|
{
|
|
40219
40214
|
items: [
|
|
@@ -40503,7 +40498,7 @@ function TicketStatusConfigRow({
|
|
|
40503
40498
|
_chunkNYIZVI4Icjs.Input,
|
|
40504
40499
|
{
|
|
40505
40500
|
value: name,
|
|
40506
|
-
onChange: (e) => _optionalChain([onNameChange, 'optionalCall',
|
|
40501
|
+
onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _835 => _835(e.target.value)]),
|
|
40507
40502
|
disabled: isSystem,
|
|
40508
40503
|
readOnly: isSystem,
|
|
40509
40504
|
"aria-label": "Status name",
|
|
@@ -40876,14 +40871,14 @@ function TicketInfoSection({
|
|
|
40876
40871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40877
40872
|
SquareAvatar,
|
|
40878
40873
|
{
|
|
40879
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
40880
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
40881
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
40874
|
+
src: _optionalChain([organization, 'optionalAccess', _836 => _836.imageSrc]),
|
|
40875
|
+
alt: _optionalChain([organization, 'optionalAccess', _837 => _837.name]),
|
|
40876
|
+
fallback: _optionalChain([organization, 'optionalAccess', _838 => _838.name]) || "Org",
|
|
40882
40877
|
size: "md",
|
|
40883
40878
|
className: "shrink-0"
|
|
40884
40879
|
}
|
|
40885
40880
|
),
|
|
40886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess',
|
|
40881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _839 => _839.name]) || "Unassigned", label: "Organization" })
|
|
40887
40882
|
] }),
|
|
40888
40883
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40889
40884
|
AssigneeDropdown,
|
|
@@ -40904,10 +40899,10 @@ function TicketInfoSection({
|
|
|
40904
40899
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40905
40900
|
InfoCell2,
|
|
40906
40901
|
{
|
|
40907
|
-
value: _optionalChain([device, 'optionalAccess',
|
|
40902
|
+
value: _optionalChain([device, 'optionalAccess', _840 => _840.name]) || "Unassigned",
|
|
40908
40903
|
label: "Device",
|
|
40909
|
-
icon: _optionalChain([device, 'optionalAccess',
|
|
40910
|
-
onClick: _optionalChain([device, 'optionalAccess',
|
|
40904
|
+
icon: _optionalChain([device, 'optionalAccess', _841 => _841.icon]),
|
|
40905
|
+
onClick: _optionalChain([device, 'optionalAccess', _842 => _842.onClick])
|
|
40911
40906
|
}
|
|
40912
40907
|
),
|
|
40913
40908
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
|
|
@@ -41237,7 +41232,7 @@ function RoadmapCard({
|
|
|
41237
41232
|
const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
|
|
41238
41233
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
41239
41234
|
const hasFigma = !!item.figmaUrl;
|
|
41240
|
-
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access',
|
|
41235
|
+
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _843 => _843.screenshots, 'optionalAccess', _844 => _844.length]), () => ( 0))) > 0;
|
|
41241
41236
|
const typeLabel = getTaskTypeLabel(item.customItemId);
|
|
41242
41237
|
const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
|
|
41243
41238
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -41256,7 +41251,7 @@ function RoadmapCard({
|
|
|
41256
41251
|
unoptimized: true,
|
|
41257
41252
|
className: "h-8 w-8 object-contain"
|
|
41258
41253
|
}
|
|
41259
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
41254
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _845 => _845.title, 'optionalAccess', _846 => _846.substring, 'call', _847 => _847(0, 2)]) || "??" })
|
|
41260
41255
|
}
|
|
41261
41256
|
),
|
|
41262
41257
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -41331,7 +41326,7 @@ function RoadmapCard({
|
|
|
41331
41326
|
unoptimized: true,
|
|
41332
41327
|
className: "object-contain p-1"
|
|
41333
41328
|
}
|
|
41334
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
41329
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _848 => _848.title, 'optionalAccess', _849 => _849.substring, 'call', _850 => _850(0, 2)]) || "??" }) }),
|
|
41335
41330
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
|
|
41336
41331
|
/* @__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 }) }),
|
|
41337
41332
|
/* @__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: [
|
|
@@ -41841,7 +41836,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
41841
41836
|
] }) : null,
|
|
41842
41837
|
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
|
|
41843
41838
|
] }),
|
|
41844
|
-
_optionalChain([anchorProps, 'optionalAccess',
|
|
41839
|
+
_optionalChain([anchorProps, 'optionalAccess', _851 => _851.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
|
|
41845
41840
|
] });
|
|
41846
41841
|
if (!anchorProps) {
|
|
41847
41842
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
@@ -41911,7 +41906,7 @@ function getDefaultOptions() {
|
|
|
41911
41906
|
// node_modules/date-fns/startOfWeek.mjs
|
|
41912
41907
|
function startOfWeek(date, options) {
|
|
41913
41908
|
const defaultOptions2 = getDefaultOptions();
|
|
41914
|
-
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
41909
|
+
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _852 => _852.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _853 => _853.locale, 'optionalAccess', _854 => _854.options, 'optionalAccess', _855 => _855.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _856 => _856.locale, 'optionalAccess', _857 => _857.options, 'optionalAccess', _858 => _858.weekStartsOn]))), () => ( 0));
|
|
41915
41910
|
const _date = toDate(date);
|
|
41916
41911
|
const day = _date.getDay();
|
|
41917
41912
|
const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
@@ -42086,7 +42081,7 @@ var formatDistance = (token, count, options) => {
|
|
|
42086
42081
|
} else {
|
|
42087
42082
|
result = tokenValue.other.replace("{{count}}", count.toString());
|
|
42088
42083
|
}
|
|
42089
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
42084
|
+
if (_optionalChain([options, 'optionalAccess', _859 => _859.addSuffix])) {
|
|
42090
42085
|
if (options.comparison && options.comparison > 0) {
|
|
42091
42086
|
return "in " + result;
|
|
42092
42087
|
} else {
|
|
@@ -42153,15 +42148,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
|
|
|
42153
42148
|
// node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
|
|
42154
42149
|
function buildLocalizeFn(args) {
|
|
42155
42150
|
return (value, options) => {
|
|
42156
|
-
const context = _optionalChain([options, 'optionalAccess',
|
|
42151
|
+
const context = _optionalChain([options, 'optionalAccess', _860 => _860.context]) ? String(options.context) : "standalone";
|
|
42157
42152
|
let valuesArray;
|
|
42158
42153
|
if (context === "formatting" && args.formattingValues) {
|
|
42159
42154
|
const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
|
42160
|
-
const width = _optionalChain([options, 'optionalAccess',
|
|
42155
|
+
const width = _optionalChain([options, 'optionalAccess', _861 => _861.width]) ? String(options.width) : defaultWidth;
|
|
42161
42156
|
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
|
42162
42157
|
} else {
|
|
42163
42158
|
const defaultWidth = args.defaultWidth;
|
|
42164
|
-
const width = _optionalChain([options, 'optionalAccess',
|
|
42159
|
+
const width = _optionalChain([options, 'optionalAccess', _862 => _862.width]) ? String(options.width) : args.defaultWidth;
|
|
42165
42160
|
valuesArray = args.values[width] || args.values[defaultWidth];
|
|
42166
42161
|
}
|
|
42167
42162
|
const index = args.argumentCallback ? args.argumentCallback(value) : value;
|
|
@@ -42541,7 +42536,7 @@ function getWeekYear(date, options) {
|
|
|
42541
42536
|
const _date = toDate(date);
|
|
42542
42537
|
const year = _date.getFullYear();
|
|
42543
42538
|
const defaultOptions2 = getDefaultOptions();
|
|
42544
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
42539
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _863 => _863.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _864 => _864.locale, 'optionalAccess', _865 => _865.options, 'optionalAccess', _866 => _866.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _867 => _867.locale, 'optionalAccess', _868 => _868.options, 'optionalAccess', _869 => _869.firstWeekContainsDate]))), () => ( 1));
|
|
42545
42540
|
const firstWeekOfNextYear = constructFrom(date, 0);
|
|
42546
42541
|
firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
|
|
42547
42542
|
firstWeekOfNextYear.setHours(0, 0, 0, 0);
|
|
@@ -42562,7 +42557,7 @@ function getWeekYear(date, options) {
|
|
|
42562
42557
|
// node_modules/date-fns/startOfWeekYear.mjs
|
|
42563
42558
|
function startOfWeekYear(date, options) {
|
|
42564
42559
|
const defaultOptions2 = getDefaultOptions();
|
|
42565
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
42560
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _870 => _870.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _871 => _871.locale, 'optionalAccess', _872 => _872.options, 'optionalAccess', _873 => _873.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _874 => _874.locale, 'optionalAccess', _875 => _875.options, 'optionalAccess', _876 => _876.firstWeekContainsDate]))), () => ( 1));
|
|
42566
42561
|
const year = getWeekYear(date, options);
|
|
42567
42562
|
const firstWeek = constructFrom(date, 0);
|
|
42568
42563
|
firstWeek.setFullYear(year, 0, firstWeekContainsDate);
|
|
@@ -43377,9 +43372,9 @@ var doubleQuoteRegExp = /''/g;
|
|
|
43377
43372
|
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
43378
43373
|
function format(date, formatStr, options) {
|
|
43379
43374
|
const defaultOptions2 = getDefaultOptions();
|
|
43380
|
-
const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
43381
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
43382
|
-
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
43375
|
+
const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _877 => _877.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
|
|
43376
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _878 => _878.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _879 => _879.locale, 'optionalAccess', _880 => _880.options, 'optionalAccess', _881 => _881.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _882 => _882.locale, 'optionalAccess', _883 => _883.options, 'optionalAccess', _884 => _884.firstWeekContainsDate]))), () => ( 1));
|
|
43377
|
+
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _885 => _885.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _886 => _886.locale, 'optionalAccess', _887 => _887.options, 'optionalAccess', _888 => _888.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _889 => _889.locale, 'optionalAccess', _890 => _890.options, 'optionalAccess', _891 => _891.weekStartsOn]))), () => ( 0));
|
|
43383
43378
|
const originalDate = toDate(date);
|
|
43384
43379
|
if (!isValid(originalDate)) {
|
|
43385
43380
|
throw new RangeError("Invalid time value");
|
|
@@ -43420,7 +43415,7 @@ function format(date, formatStr, options) {
|
|
|
43420
43415
|
return parts.map((part) => {
|
|
43421
43416
|
if (!part.isToken) return part.value;
|
|
43422
43417
|
const token = part.value;
|
|
43423
|
-
if (!_optionalChain([options, 'optionalAccess',
|
|
43418
|
+
if (!_optionalChain([options, 'optionalAccess', _892 => _892.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _893 => _893.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
|
|
43424
43419
|
warnOrThrowProtectedError(token, formatStr, String(date));
|
|
43425
43420
|
}
|
|
43426
43421
|
const formatter = formatters[token[0]];
|
|
@@ -43601,7 +43596,7 @@ function ProgramCard({
|
|
|
43601
43596
|
const dur = formatDurationFromRange(w.start_at, w.end_at);
|
|
43602
43597
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
43603
43598
|
}
|
|
43604
|
-
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access',
|
|
43599
|
+
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _894 => _894.labels, 'optionalAccess', _895 => _895.singular])].filter(
|
|
43605
43600
|
(s) => typeof s === "string" && s.length > 0
|
|
43606
43601
|
);
|
|
43607
43602
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
|
|
@@ -43758,7 +43753,7 @@ function ProgramCard({
|
|
|
43758
43753
|
|
|
43759
43754
|
|
|
43760
43755
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
43761
|
-
const goalsCount = _optionalChain([campaign, 'access',
|
|
43756
|
+
const goalsCount = _optionalChain([campaign, 'access', _896 => _896.goals, 'optionalAccess', _897 => _897.length]) || 0;
|
|
43762
43757
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
43763
43758
|
/* @__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" }) }),
|
|
43764
43759
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -43920,7 +43915,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
43920
43915
|
if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
|
|
43921
43916
|
const safePath = sanitizePath(row.path);
|
|
43922
43917
|
if (safePath) {
|
|
43923
|
-
const docTarget = row.documentType ? _optionalChain([ctx, 'access',
|
|
43918
|
+
const docTarget = row.documentType ? _optionalChain([ctx, 'access', _898 => _898.docPlatformTargets, 'optionalAccess', _899 => _899[row.documentType]]) : void 0;
|
|
43924
43919
|
if (docTarget) {
|
|
43925
43920
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
43926
43921
|
const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
@@ -44135,8 +44130,8 @@ function cardMenuGroups(href, discuss, openDetails) {
|
|
|
44135
44130
|
if (href) {
|
|
44136
44131
|
items.push({
|
|
44137
44132
|
id: "open-details",
|
|
44138
|
-
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess',
|
|
44139
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess',
|
|
44133
|
+
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _900 => _900.label]), () => ( "Open Details")),
|
|
44134
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _901 => _901.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
|
|
44140
44135
|
// Main row → open the entity (same tab, soft Link nav).
|
|
44141
44136
|
href,
|
|
44142
44137
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
@@ -44166,8 +44161,8 @@ function HubspotTicketChatCard({
|
|
|
44166
44161
|
isNewTab,
|
|
44167
44162
|
discuss
|
|
44168
44163
|
}) {
|
|
44169
|
-
const status = typeof _optionalChain([chatRef, 'access',
|
|
44170
|
-
const statusLabel = typeof _optionalChain([chatRef, 'access',
|
|
44164
|
+
const status = typeof _optionalChain([chatRef, 'access', _902 => _902.metadata, 'optionalAccess', _903 => _903.status]) === "string" ? chatRef.metadata.status : void 0;
|
|
44165
|
+
const statusLabel = typeof _optionalChain([chatRef, 'access', _904 => _904.metadata, 'optionalAccess', _905 => _905.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
|
|
44171
44166
|
const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
|
|
44172
44167
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44173
44168
|
MingoInfoCard,
|
|
@@ -44190,7 +44185,7 @@ function FaqChatCard({
|
|
|
44190
44185
|
isNewTab,
|
|
44191
44186
|
discuss
|
|
44192
44187
|
}) {
|
|
44193
|
-
const section = typeof _optionalChain([chatRef, 'access',
|
|
44188
|
+
const section = typeof _optionalChain([chatRef, 'access', _906 => _906.metadata, 'optionalAccess', _907 => _907.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
|
|
44194
44189
|
const statusLabel = section && section.length > 0 ? section : "FAQ";
|
|
44195
44190
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44196
44191
|
MingoInfoCard,
|
|
@@ -44210,7 +44205,7 @@ function SlackChatCard({
|
|
|
44210
44205
|
isNewTab,
|
|
44211
44206
|
discuss
|
|
44212
44207
|
}) {
|
|
44213
|
-
const channelName = typeof _optionalChain([chatRef, 'access',
|
|
44208
|
+
const channelName = typeof _optionalChain([chatRef, 'access', _908 => _908.metadata, 'optionalAccess', _909 => _909.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
|
|
44214
44209
|
const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
|
|
44215
44210
|
const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
|
|
44216
44211
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -44250,7 +44245,7 @@ function GenericFinancialChatCard({
|
|
|
44250
44245
|
isNewTab,
|
|
44251
44246
|
discuss
|
|
44252
44247
|
}) {
|
|
44253
|
-
const subtitle = typeof _optionalChain([chatRef, 'access',
|
|
44248
|
+
const subtitle = typeof _optionalChain([chatRef, 'access', _910 => _910.metadata, 'optionalAccess', _911 => _911.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
|
|
44254
44249
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44255
44250
|
MingoInfoCard,
|
|
44256
44251
|
{
|
|
@@ -44319,12 +44314,12 @@ function ProductReleaseChatCard({
|
|
|
44319
44314
|
discuss
|
|
44320
44315
|
}) {
|
|
44321
44316
|
const releaseProps = buildProps(item);
|
|
44322
|
-
const status = _optionalChain([item, 'optionalAccess',
|
|
44317
|
+
const status = _optionalChain([item, 'optionalAccess', _912 => _912.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
|
|
44323
44318
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44324
44319
|
EntityMingoCard,
|
|
44325
44320
|
{
|
|
44326
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44327
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
44321
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _913 => _913.title]), () => ( "")),
|
|
44322
|
+
description: _optionalChain([item, 'optionalAccess', _914 => _914.summary]) || releaseProps.formattedDate || void 0,
|
|
44328
44323
|
cover: releaseProps.coverImage || void 0,
|
|
44329
44324
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Rocket02Icon, { size: 24 }),
|
|
44330
44325
|
status,
|
|
@@ -44341,17 +44336,17 @@ function CampaignChatCard({
|
|
|
44341
44336
|
isNewTab,
|
|
44342
44337
|
discuss
|
|
44343
44338
|
}) {
|
|
44344
|
-
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess',
|
|
44339
|
+
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _915 => _915.goals])) ? item.goals.length : 0;
|
|
44345
44340
|
const meta = [
|
|
44346
|
-
_optionalChain([item, 'optionalAccess',
|
|
44341
|
+
_optionalChain([item, 'optionalAccess', _916 => _916.start_date]) ? formatDateShort(item.start_date) : null,
|
|
44347
44342
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
44348
44343
|
"Marketing campaign"
|
|
44349
44344
|
].filter(Boolean).join(" \xB7 ");
|
|
44350
44345
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44351
44346
|
EntityMingoCard,
|
|
44352
44347
|
{
|
|
44353
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44354
|
-
description: meta || _optionalChain([item, 'optionalAccess',
|
|
44348
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _917 => _917.name]), () => ( "")),
|
|
44349
|
+
description: meta || _optionalChain([item, 'optionalAccess', _918 => _918.description]) || void 0,
|
|
44355
44350
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Megaphone01Icon, { size: 24 }),
|
|
44356
44351
|
chatRef,
|
|
44357
44352
|
isNewTab,
|
|
@@ -44404,14 +44399,14 @@ function BlogChatCard({
|
|
|
44404
44399
|
hasEmbeddedVideo,
|
|
44405
44400
|
discuss
|
|
44406
44401
|
}) {
|
|
44407
|
-
const category = Array.isArray(_optionalChain([item, 'optionalAccess',
|
|
44402
|
+
const category = Array.isArray(_optionalChain([item, 'optionalAccess', _919 => _919.categories])) ? _optionalChain([item, 'access', _920 => _920.categories, 'access', _921 => _921.find, 'call', _922 => _922((c) => c && c.name), 'optionalAccess', _923 => _923.name]) : void 0;
|
|
44408
44403
|
const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
|
|
44409
44404
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44410
44405
|
EntityMingoCard,
|
|
44411
44406
|
{
|
|
44412
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44413
|
-
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44414
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
44407
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _924 => _924.title]), () => ( "")),
|
|
44408
|
+
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _925 => _925.summary]), () => ( void 0)),
|
|
44409
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _926 => _926.featured_image]), ogPlaceholder),
|
|
44415
44410
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.NewspaperIcon, { size: 24 }),
|
|
44416
44411
|
status,
|
|
44417
44412
|
chatRef,
|
|
@@ -44428,13 +44423,13 @@ function CaseStudyChatCard({
|
|
|
44428
44423
|
ogPlaceholder,
|
|
44429
44424
|
discuss
|
|
44430
44425
|
}) {
|
|
44431
|
-
const meta = [_optionalChain([item, 'optionalAccess',
|
|
44426
|
+
const meta = [_optionalChain([item, 'optionalAccess', _927 => _927.msp, 'optionalAccess', _928 => _928.name]), _optionalChain([item, 'optionalAccess', _929 => _929.user, 'optionalAccess', _930 => _930.full_name])].filter(Boolean).join(" \xB7 ");
|
|
44432
44427
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44433
44428
|
EntityMingoCard,
|
|
44434
44429
|
{
|
|
44435
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44436
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
44437
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
44430
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _931 => _931.title]), () => ( "")),
|
|
44431
|
+
description: _optionalChain([item, 'optionalAccess', _932 => _932.summary]) || meta || void 0,
|
|
44432
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _933 => _933.featured_image]), ogPlaceholder),
|
|
44438
44433
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrophyIcon, { size: 24 }),
|
|
44439
44434
|
status: { label: "Case study", variant: "grey" },
|
|
44440
44435
|
chatRef,
|
|
@@ -44451,13 +44446,13 @@ function CustomerInterviewChatCard({
|
|
|
44451
44446
|
ogPlaceholder,
|
|
44452
44447
|
discuss
|
|
44453
44448
|
}) {
|
|
44454
|
-
const meta = [_optionalChain([item, 'optionalAccess',
|
|
44449
|
+
const meta = [_optionalChain([item, 'optionalAccess', _934 => _934.user, 'optionalAccess', _935 => _935.full_name]), _optionalChain([item, 'optionalAccess', _936 => _936.msp, 'optionalAccess', _937 => _937.name])].filter(Boolean).join(" \xB7 ");
|
|
44455
44450
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44456
44451
|
EntityMingoCard,
|
|
44457
44452
|
{
|
|
44458
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44459
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
44460
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
44453
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _938 => _938.title]), () => ( "")),
|
|
44454
|
+
description: _optionalChain([item, 'optionalAccess', _939 => _939.video_summary]) || meta || void 0,
|
|
44455
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _940 => _940.featured_image]), ogPlaceholder),
|
|
44461
44456
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 }),
|
|
44462
44457
|
status: { label: "Interview", variant: "grey" },
|
|
44463
44458
|
chatRef,
|
|
@@ -44474,13 +44469,13 @@ function InvestorUpdateChatCard({
|
|
|
44474
44469
|
ogPlaceholder,
|
|
44475
44470
|
discuss
|
|
44476
44471
|
}) {
|
|
44477
|
-
const title = _optionalChain([item, 'optionalAccess',
|
|
44472
|
+
const title = _optionalChain([item, 'optionalAccess', _941 => _941.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _942 => _942.update_number]), () => ( "?"))}`;
|
|
44478
44473
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44479
44474
|
EntityMingoCard,
|
|
44480
44475
|
{
|
|
44481
44476
|
title,
|
|
44482
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
44483
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
44477
|
+
description: _optionalChain([item, 'optionalAccess', _943 => _943.strategic_update]) || _optionalChain([item, 'optionalAccess', _944 => _944.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _945 => _945.period_start]), _optionalChain([item, 'optionalAccess', _946 => _946.period_end])) || void 0,
|
|
44478
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _947 => _947.featured_image]), ogPlaceholder),
|
|
44484
44479
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationLineIcon, { size: 24 }),
|
|
44485
44480
|
status: { label: "Investor update", variant: "grey" },
|
|
44486
44481
|
chatRef,
|
|
@@ -44497,12 +44492,12 @@ function OnboardingGuideChatCard({
|
|
|
44497
44492
|
ogPlaceholder,
|
|
44498
44493
|
discuss
|
|
44499
44494
|
}) {
|
|
44500
|
-
const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess',
|
|
44495
|
+
const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _948 => _948.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _949 => _949.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _950 => _950.og_image_url]), ogPlaceholder)));
|
|
44501
44496
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44502
44497
|
EntityMingoCard,
|
|
44503
44498
|
{
|
|
44504
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44505
|
-
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44499
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _951 => _951.title]), () => ( "")),
|
|
44500
|
+
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _952 => _952.summary]), () => ( _optionalChain([item, 'optionalAccess', _953 => _953.description]))), () => ( void 0)),
|
|
44506
44501
|
cover,
|
|
44507
44502
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CompassIcon, { size: 24 }),
|
|
44508
44503
|
status: { label: "Guide", variant: "grey" },
|
|
@@ -44523,25 +44518,25 @@ function ProgramChatCard({
|
|
|
44523
44518
|
discuss
|
|
44524
44519
|
}) {
|
|
44525
44520
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 });
|
|
44526
|
-
const isScheduled = _optionalChain([item, 'optionalAccess',
|
|
44521
|
+
const isScheduled = _optionalChain([item, 'optionalAccess', _954 => _954.status]) === "scheduled";
|
|
44527
44522
|
let typeMeta;
|
|
44528
|
-
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess',
|
|
44523
|
+
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _955 => _955.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
44529
44524
|
typeMeta = formatDurationCompact(item.duration_seconds);
|
|
44530
|
-
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess',
|
|
44525
|
+
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _956 => _956.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
44531
44526
|
typeMeta = item.location_name;
|
|
44532
|
-
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess',
|
|
44527
|
+
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _957 => _957.start_at])) {
|
|
44533
44528
|
const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
44534
44529
|
const dur = formatDurationFromRange(item.start_at, item.end_at);
|
|
44535
44530
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
44536
44531
|
}
|
|
44537
|
-
const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44532
|
+
const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _958 => _958.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
44538
44533
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
44539
44534
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44540
44535
|
EntityMingoCard,
|
|
44541
44536
|
{
|
|
44542
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44543
|
-
description: meta || _optionalChain([item, 'optionalAccess',
|
|
44544
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
44537
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _959 => _959.title]), () => ( "")),
|
|
44538
|
+
description: meta || _optionalChain([item, 'optionalAccess', _960 => _960.description]) || void 0,
|
|
44539
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _961 => _961.cover_url]), ogPlaceholder),
|
|
44545
44540
|
fallbackIcon: icon,
|
|
44546
44541
|
status: { label, variant: "grey" },
|
|
44547
44542
|
chatRef,
|
|
@@ -44558,10 +44553,10 @@ function RoadmapChatCard({
|
|
|
44558
44553
|
cardType,
|
|
44559
44554
|
discuss
|
|
44560
44555
|
}) {
|
|
44561
|
-
const logoUrl = typeof _optionalChain([item, 'optionalAccess',
|
|
44562
|
-
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess',
|
|
44556
|
+
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _962 => _962.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
44557
|
+
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _963 => _963.customItemId]) != null;
|
|
44563
44558
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MapIcon, { size: 24 });
|
|
44564
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess',
|
|
44559
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _964 => _964.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
44565
44560
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
44566
44561
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
44567
44562
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
|
|
@@ -44569,10 +44564,10 @@ function RoadmapChatCard({
|
|
|
44569
44564
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44570
44565
|
EntityMingoCard,
|
|
44571
44566
|
{
|
|
44572
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44573
|
-
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
44567
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _965 => _965.title]), () => ( "")),
|
|
44568
|
+
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _966 => _966.description]), () => ( void 0)),
|
|
44574
44569
|
fallbackIcon: icon,
|
|
44575
|
-
status: statusPill(_optionalChain([item, 'optionalAccess',
|
|
44570
|
+
status: statusPill(_optionalChain([item, 'optionalAccess', _967 => _967.status])),
|
|
44576
44571
|
chatRef,
|
|
44577
44572
|
isNewTab,
|
|
44578
44573
|
discuss,
|
|
@@ -44658,7 +44653,7 @@ function programRegistryEntries() {
|
|
|
44658
44653
|
discuss: opts.discuss,
|
|
44659
44654
|
configKey: cfg.configKey,
|
|
44660
44655
|
label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
|
|
44661
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
44656
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _968 => _968.extras, 'optionalAccess', _969 => _969.buildOgPlaceholderUrl, 'optionalCall', _970 => _970(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _971 => _971.title]), () => ( "")))]), () => ( null))
|
|
44662
44657
|
}
|
|
44663
44658
|
)
|
|
44664
44659
|
};
|
|
@@ -44810,8 +44805,8 @@ var CHAT_CARD_REGISTRY = {
|
|
|
44810
44805
|
chatRef,
|
|
44811
44806
|
isNewTab: opts.isNewTab,
|
|
44812
44807
|
discuss: opts.discuss,
|
|
44813
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
44814
|
-
hasEmbeddedVideo: _optionalChain([chatRef, 'access',
|
|
44808
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _972 => _972.extras, 'optionalAccess', _973 => _973.buildOgPlaceholderUrl, 'optionalCall', _974 => _974(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _975 => _975.title]), () => ( "")))]), () => ( null)),
|
|
44809
|
+
hasEmbeddedVideo: _optionalChain([chatRef, 'access', _976 => _976.metadata, 'optionalAccess', _977 => _977.hasEmbeddedVideo]) === true
|
|
44815
44810
|
}
|
|
44816
44811
|
)
|
|
44817
44812
|
},
|
|
@@ -44828,7 +44823,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
44828
44823
|
chatRef,
|
|
44829
44824
|
isNewTab: opts.isNewTab,
|
|
44830
44825
|
discuss: opts.discuss,
|
|
44831
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
44826
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _978 => _978.extras, 'optionalAccess', _979 => _979.buildOgPlaceholderUrl, 'optionalCall', _980 => _980(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _981 => _981.title]), () => ( "")))]), () => ( null))
|
|
44832
44827
|
}
|
|
44833
44828
|
)
|
|
44834
44829
|
},
|
|
@@ -44845,7 +44840,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
44845
44840
|
chatRef,
|
|
44846
44841
|
isNewTab: opts.isNewTab,
|
|
44847
44842
|
discuss: opts.discuss,
|
|
44848
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
44843
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _982 => _982.extras, 'optionalAccess', _983 => _983.buildOgPlaceholderUrl, 'optionalCall', _984 => _984(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _985 => _985.title]), () => ( "")))]), () => ( null))
|
|
44849
44844
|
}
|
|
44850
44845
|
)
|
|
44851
44846
|
},
|
|
@@ -44856,7 +44851,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
44856
44851
|
bareInline: true,
|
|
44857
44852
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
|
|
44858
44853
|
render: (item, chatRef, opts) => {
|
|
44859
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
44854
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _986 => _986.extras, 'optionalAccess', _987 => _987.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
|
|
44860
44855
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44861
44856
|
ProductReleaseChatCard,
|
|
44862
44857
|
{
|
|
@@ -44883,7 +44878,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
44883
44878
|
chatRef,
|
|
44884
44879
|
isNewTab: opts.isNewTab,
|
|
44885
44880
|
discuss: opts.discuss,
|
|
44886
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
44881
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _988 => _988.extras, 'optionalAccess', _989 => _989.buildOgPlaceholderUrl, 'optionalCall', _990 => _990(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _991 => _991.title]), () => ( "")))]), () => ( null))
|
|
44887
44882
|
}
|
|
44888
44883
|
)
|
|
44889
44884
|
},
|
|
@@ -44902,7 +44897,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
44902
44897
|
chatRef,
|
|
44903
44898
|
isNewTab: opts.isNewTab,
|
|
44904
44899
|
discuss: opts.discuss,
|
|
44905
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
44900
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _992 => _992.extras, 'optionalAccess', _993 => _993.buildOgPlaceholderUrl, 'optionalCall', _994 => _994(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _995 => _995.title]), () => ( "")))]), () => ( null))
|
|
44906
44901
|
}
|
|
44907
44902
|
)
|
|
44908
44903
|
},
|
|
@@ -44914,7 +44909,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
44914
44909
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
|
|
44915
44910
|
// No public viewer — synthesize the hub-internal admin URL post-fetch
|
|
44916
44911
|
// so the wrapper + isNewTab computation see the actual destination.
|
|
44917
|
-
fallbackHref: (item) => _optionalChain([item, 'optionalAccess',
|
|
44912
|
+
fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _996 => _996.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
|
|
44918
44913
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44919
44914
|
CampaignChatCard,
|
|
44920
44915
|
{
|
|
@@ -44940,12 +44935,12 @@ function ChatCardNavWrap({
|
|
|
44940
44935
|
const onClickCapture = (e) => {
|
|
44941
44936
|
if (!href) return;
|
|
44942
44937
|
const targetEl = e.target;
|
|
44943
|
-
if (_optionalChain([targetEl, 'optionalAccess',
|
|
44944
|
-
if (!_optionalChain([targetEl, 'optionalAccess',
|
|
44938
|
+
if (_optionalChain([targetEl, 'optionalAccess', _997 => _997.closest, 'optionalCall', _998 => _998("button")])) return;
|
|
44939
|
+
if (!_optionalChain([targetEl, 'optionalAccess', _999 => _999.closest, 'optionalCall', _1000 => _1000("a")])) return;
|
|
44945
44940
|
const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
|
|
44946
44941
|
if (!handled) return;
|
|
44947
44942
|
e.stopPropagation();
|
|
44948
|
-
if (!isNewTab && _optionalChain([panel, 'optionalAccess',
|
|
44943
|
+
if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1001 => _1001.closeChat])) panel.closeChat();
|
|
44949
44944
|
};
|
|
44950
44945
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
|
|
44951
44946
|
}
|
|
@@ -44967,7 +44962,7 @@ function ChatCardLoader({
|
|
|
44967
44962
|
title: chatRef.title,
|
|
44968
44963
|
externalUrl: chatRef.url,
|
|
44969
44964
|
targetPlatform: chatRef.targetPlatform,
|
|
44970
|
-
path: typeof _optionalChain([chatRef, 'access',
|
|
44965
|
+
path: typeof _optionalChain([chatRef, 'access', _1002 => _1002.metadata, 'optionalAccess', _1003 => _1003.path]) === "string" ? chatRef.metadata.path : null
|
|
44971
44966
|
},
|
|
44972
44967
|
sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
|
|
44973
44968
|
);
|
|
@@ -44981,7 +44976,7 @@ function ChatCardLoader({
|
|
|
44981
44976
|
const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
|
|
44982
44977
|
const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
|
|
44983
44978
|
const { item, isLoading } = useChatCardItem(
|
|
44984
|
-
_nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess',
|
|
44979
|
+
_nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1004 => _1004.contentRefType]), () => ( "")),
|
|
44985
44980
|
fetchEntry ? resolvedChatRef.id : ""
|
|
44986
44981
|
);
|
|
44987
44982
|
if (!entry) return null;
|
|
@@ -45012,7 +45007,7 @@ function ChatCardLoader({
|
|
|
45012
45007
|
isNewTab,
|
|
45013
45008
|
discuss
|
|
45014
45009
|
};
|
|
45015
|
-
const path = typeof _optionalChain([finalChatRef, 'access',
|
|
45010
|
+
const path = typeof _optionalChain([finalChatRef, 'access', _1005 => _1005.metadata, 'optionalAccess', _1006 => _1006.path]) === "string" ? finalChatRef.metadata.path : null;
|
|
45016
45011
|
const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45017
45012
|
ChatCardNavWrap,
|
|
45018
45013
|
{
|
|
@@ -45398,7 +45393,7 @@ function useJetStreamDialogSubscription({
|
|
|
45398
45393
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
45399
45394
|
conn: sharedConn,
|
|
45400
45395
|
wsUrl,
|
|
45401
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
45396
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1007 => _1007.current, 'optionalCall', _1008 => _1008()]),
|
|
45402
45397
|
backoff: reconnectionBackoffRef.current,
|
|
45403
45398
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
45404
45399
|
// JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
|
|
@@ -45413,7 +45408,7 @@ function useJetStreamDialogSubscription({
|
|
|
45413
45408
|
setReconnectionCount((c) => c + 1);
|
|
45414
45409
|
}
|
|
45415
45410
|
hadConnectionBeforeRef.current = true;
|
|
45416
|
-
_optionalChain([onConnectRef, 'access',
|
|
45411
|
+
_optionalChain([onConnectRef, 'access', _1009 => _1009.current, 'optionalCall', _1010 => _1010()]);
|
|
45417
45412
|
}
|
|
45418
45413
|
if (status === "error") {
|
|
45419
45414
|
console.warn("[JetStream] NATS protocol error:", evt.data);
|
|
@@ -45423,7 +45418,7 @@ function useJetStreamDialogSubscription({
|
|
|
45423
45418
|
setIsConnected(false);
|
|
45424
45419
|
setIsSubscribed(false);
|
|
45425
45420
|
tearDownSubscription();
|
|
45426
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
45421
|
+
_optionalChain([onDisconnectRef, 'access', _1011 => _1011.current, 'optionalCall', _1012 => _1012()]);
|
|
45427
45422
|
}
|
|
45428
45423
|
}
|
|
45429
45424
|
});
|
|
@@ -45502,7 +45497,7 @@ function useJetStreamDialogSubscription({
|
|
|
45502
45497
|
}
|
|
45503
45498
|
subscriptionRef.current = handle;
|
|
45504
45499
|
setIsSubscribed(true);
|
|
45505
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
45500
|
+
_optionalChain([onSubscribedRef, 'access', _1013 => _1013.current, 'optionalCall', _1014 => _1014()]);
|
|
45506
45501
|
} catch (e44) {
|
|
45507
45502
|
if (!cancelled) {
|
|
45508
45503
|
setIsSubscribed(false);
|
|
@@ -45615,20 +45610,20 @@ function useNatsDialogSubscription({
|
|
|
45615
45610
|
const tearDownSubscriptions = () => {
|
|
45616
45611
|
subscriptionRefs.current.forEach((sub) => {
|
|
45617
45612
|
try {
|
|
45618
|
-
_optionalChain([sub, 'optionalAccess',
|
|
45613
|
+
_optionalChain([sub, 'optionalAccess', _1015 => _1015.unsubscribe, 'call', _1016 => _1016()]);
|
|
45619
45614
|
} catch (e46) {
|
|
45620
45615
|
}
|
|
45621
45616
|
});
|
|
45622
45617
|
subscriptionRefs.current.clear();
|
|
45623
45618
|
lastSubscribedDialogIdRef.current = null;
|
|
45624
|
-
_optionalChain([abortControllerRef, 'access',
|
|
45619
|
+
_optionalChain([abortControllerRef, 'access', _1017 => _1017.current, 'optionalAccess', _1018 => _1018.abort, 'call', _1019 => _1019()]);
|
|
45625
45620
|
abortControllerRef.current = null;
|
|
45626
45621
|
};
|
|
45627
45622
|
const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
|
|
45628
45623
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
45629
45624
|
conn: sharedConn,
|
|
45630
45625
|
wsUrl,
|
|
45631
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
45626
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1020 => _1020.current, 'optionalCall', _1021 => _1021()]),
|
|
45632
45627
|
backoff: reconnectionBackoffRef.current,
|
|
45633
45628
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
45634
45629
|
shouldRetryOn: isDisconnectStatus,
|
|
@@ -45639,7 +45634,7 @@ function useNatsDialogSubscription({
|
|
|
45639
45634
|
setReconnectionCount((c) => c + 1);
|
|
45640
45635
|
}
|
|
45641
45636
|
hadConnectionBeforeRef.current = true;
|
|
45642
|
-
_optionalChain([onConnectRef, 'access',
|
|
45637
|
+
_optionalChain([onConnectRef, 'access', _1022 => _1022.current, 'optionalCall', _1023 => _1023()]);
|
|
45643
45638
|
}
|
|
45644
45639
|
if (status === "error") {
|
|
45645
45640
|
console.warn("[NATS] protocol error:", evt.data);
|
|
@@ -45649,7 +45644,7 @@ function useNatsDialogSubscription({
|
|
|
45649
45644
|
setIsConnected(false);
|
|
45650
45645
|
setIsSubscribed(false);
|
|
45651
45646
|
tearDownSubscriptions();
|
|
45652
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
45647
|
+
_optionalChain([onDisconnectRef, 'access', _1024 => _1024.current, 'optionalCall', _1025 => _1025()]);
|
|
45653
45648
|
}
|
|
45654
45649
|
}
|
|
45655
45650
|
});
|
|
@@ -45680,13 +45675,13 @@ function useNatsDialogSubscription({
|
|
|
45680
45675
|
setIsSubscribed(false);
|
|
45681
45676
|
subscriptionRefs.current.forEach((sub) => {
|
|
45682
45677
|
try {
|
|
45683
|
-
_optionalChain([sub, 'optionalAccess',
|
|
45678
|
+
_optionalChain([sub, 'optionalAccess', _1026 => _1026.unsubscribe, 'call', _1027 => _1027()]);
|
|
45684
45679
|
} catch (e47) {
|
|
45685
45680
|
}
|
|
45686
45681
|
});
|
|
45687
45682
|
subscriptionRefs.current.clear();
|
|
45688
45683
|
lastSubscribedDialogIdRef.current = null;
|
|
45689
|
-
_optionalChain([abortControllerRef, 'access',
|
|
45684
|
+
_optionalChain([abortControllerRef, 'access', _1028 => _1028.current, 'optionalAccess', _1029 => _1029.abort, 'call', _1030 => _1030()]);
|
|
45690
45685
|
abortControllerRef.current = null;
|
|
45691
45686
|
}
|
|
45692
45687
|
return;
|
|
@@ -45698,12 +45693,12 @@ function useNatsDialogSubscription({
|
|
|
45698
45693
|
if (subscriptionRefs.current.size > 0) {
|
|
45699
45694
|
subscriptionRefs.current.forEach((sub) => {
|
|
45700
45695
|
try {
|
|
45701
|
-
_optionalChain([sub, 'optionalAccess',
|
|
45696
|
+
_optionalChain([sub, 'optionalAccess', _1031 => _1031.unsubscribe, 'call', _1032 => _1032()]);
|
|
45702
45697
|
} catch (e48) {
|
|
45703
45698
|
}
|
|
45704
45699
|
});
|
|
45705
45700
|
subscriptionRefs.current.clear();
|
|
45706
|
-
_optionalChain([abortControllerRef, 'access',
|
|
45701
|
+
_optionalChain([abortControllerRef, 'access', _1033 => _1033.current, 'optionalAccess', _1034 => _1034.abort, 'call', _1035 => _1035()]);
|
|
45707
45702
|
}
|
|
45708
45703
|
abortControllerRef.current = new AbortController();
|
|
45709
45704
|
const abort = abortControllerRef.current;
|
|
@@ -45735,7 +45730,7 @@ function useNatsDialogSubscription({
|
|
|
45735
45730
|
});
|
|
45736
45731
|
lastSubscribedDialogIdRef.current = dialogId;
|
|
45737
45732
|
setIsSubscribed(true);
|
|
45738
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
45733
|
+
_optionalChain([onSubscribedRef, 'access', _1036 => _1036.current, 'optionalCall', _1037 => _1037()]);
|
|
45739
45734
|
};
|
|
45740
45735
|
if (isConnectedRef.current) {
|
|
45741
45736
|
createSubscriptions();
|
|
@@ -45745,7 +45740,7 @@ function useNatsDialogSubscription({
|
|
|
45745
45740
|
abort.abort();
|
|
45746
45741
|
subscriptionRefs.current.forEach((sub) => {
|
|
45747
45742
|
try {
|
|
45748
|
-
_optionalChain([sub, 'optionalAccess',
|
|
45743
|
+
_optionalChain([sub, 'optionalAccess', _1038 => _1038.unsubscribe, 'call', _1039 => _1039()]);
|
|
45749
45744
|
} catch (e50) {
|
|
45750
45745
|
}
|
|
45751
45746
|
});
|
|
@@ -45786,7 +45781,7 @@ function useNatsDialogSubscription({
|
|
|
45786
45781
|
});
|
|
45787
45782
|
lastSubscribedDialogIdRef.current = dialogId2;
|
|
45788
45783
|
setIsSubscribed(true);
|
|
45789
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
45784
|
+
_optionalChain([onSubscribedRef, 'access', _1040 => _1040.current, 'optionalCall', _1041 => _1041()]);
|
|
45790
45785
|
} else if (subscriptionRefs.current.size > 0) {
|
|
45791
45786
|
setIsSubscribed(true);
|
|
45792
45787
|
}
|
|
@@ -45794,10 +45789,10 @@ function useNatsDialogSubscription({
|
|
|
45794
45789
|
return { isConnected, isSubscribed, reconnectionCount };
|
|
45795
45790
|
}
|
|
45796
45791
|
function buildNatsWsUrl(apiBaseUrl, options) {
|
|
45797
|
-
const path = _optionalChain([options, 'optionalAccess',
|
|
45792
|
+
const path = _optionalChain([options, 'optionalAccess', _1042 => _1042.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
|
|
45798
45793
|
const u = new URL(path, apiBaseUrl);
|
|
45799
45794
|
u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
|
|
45800
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
45795
|
+
if (_optionalChain([options, 'optionalAccess', _1043 => _1043.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1044 => _1044.token])) {
|
|
45801
45796
|
u.searchParams.set("authorization", options.token);
|
|
45802
45797
|
}
|
|
45803
45798
|
return u.toString();
|
|
@@ -45933,7 +45928,7 @@ function parseChunkToAction(chunk) {
|
|
|
45933
45928
|
// is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
|
|
45934
45929
|
// historical path in `process-historical-messages.ts`) — keeps both
|
|
45935
45930
|
// message sources producing an identical shape.
|
|
45936
|
-
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess',
|
|
45931
|
+
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1045 => _1045.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1046 => _1046.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
|
|
45937
45932
|
};
|
|
45938
45933
|
case MESSAGE_TYPE.TOKEN_USAGE:
|
|
45939
45934
|
return {
|
|
@@ -46125,8 +46120,8 @@ var MessageSegmentAccumulator = class {
|
|
|
46125
46120
|
type: "tool_execution",
|
|
46126
46121
|
data: {
|
|
46127
46122
|
...toolData,
|
|
46128
|
-
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess',
|
|
46129
|
-
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess',
|
|
46123
|
+
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1047 => _1047.data, 'access', _1048 => _1048.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1049 => _1049.toolTitle]))),
|
|
46124
|
+
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1050 => _1050.parameters])
|
|
46130
46125
|
}
|
|
46131
46126
|
};
|
|
46132
46127
|
if (existingIndex !== -1) {
|
|
@@ -46150,8 +46145,8 @@ var MessageSegmentAccumulator = class {
|
|
|
46150
46145
|
if (seg.type !== "approval_batch") return seg;
|
|
46151
46146
|
const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
|
|
46152
46147
|
if (!hasCall) return seg;
|
|
46153
|
-
const prev = _optionalChain([seg, 'access',
|
|
46154
|
-
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess',
|
|
46148
|
+
const prev = _optionalChain([seg, 'access', _1051 => _1051.data, 'access', _1052 => _1052.executions, 'optionalAccess', _1053 => _1053[execId]]);
|
|
46149
|
+
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1054 => _1054.result]), success: _optionalChain([prev, 'optionalAccess', _1055 => _1055.success]) };
|
|
46155
46150
|
matched = true;
|
|
46156
46151
|
return {
|
|
46157
46152
|
...seg,
|
|
@@ -46273,10 +46268,10 @@ var MessageSegmentAccumulator = class {
|
|
|
46273
46268
|
const segment = {
|
|
46274
46269
|
type: "approval_request",
|
|
46275
46270
|
data: {
|
|
46276
|
-
command: _optionalChain([pendingApproval, 'optionalAccess',
|
|
46277
|
-
explanation: _optionalChain([pendingApproval, 'optionalAccess',
|
|
46271
|
+
command: _optionalChain([pendingApproval, 'optionalAccess', _1056 => _1056.command]) || "",
|
|
46272
|
+
explanation: _optionalChain([pendingApproval, 'optionalAccess', _1057 => _1057.explanation]),
|
|
46278
46273
|
requestId,
|
|
46279
|
-
approvalType: _optionalChain([pendingApproval, 'optionalAccess',
|
|
46274
|
+
approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1058 => _1058.approvalType]) || approvalType
|
|
46280
46275
|
},
|
|
46281
46276
|
status,
|
|
46282
46277
|
onApprove: this.callbacks.onApprove,
|
|
@@ -46468,7 +46463,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46468
46463
|
if (initialState.escalatedApprovals) {
|
|
46469
46464
|
pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
|
|
46470
46465
|
initialState.escalatedApprovals.forEach((data, requestId) => {
|
|
46471
|
-
_optionalChain([callbacks, 'access',
|
|
46466
|
+
_optionalChain([callbacks, 'access', _1059 => _1059.onEscalatedApproval, 'optionalCall', _1060 => _1060(requestId, data)]);
|
|
46472
46467
|
});
|
|
46473
46468
|
}
|
|
46474
46469
|
hasEverStreamedRef.current = true;
|
|
@@ -46489,12 +46484,12 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46489
46484
|
if (!action) return;
|
|
46490
46485
|
const accumulator = accumulatorRef.current;
|
|
46491
46486
|
const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
|
|
46492
|
-
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access',
|
|
46487
|
+
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1061 => _1061.onSegmentsUpdate, 'optionalCall', _1062 => _1062(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
|
|
46493
46488
|
if (action.action === "direct_message") sawDirectMessageRef.current = true;
|
|
46494
46489
|
if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
|
|
46495
46490
|
if (isInStreamRef.current) {
|
|
46496
46491
|
isInStreamRef.current = false;
|
|
46497
|
-
_optionalChain([callbacks, 'access',
|
|
46492
|
+
_optionalChain([callbacks, 'access', _1063 => _1063.onStreamEnd, 'optionalCall', _1064 => _1064()]);
|
|
46498
46493
|
accumulator.resetSegments();
|
|
46499
46494
|
}
|
|
46500
46495
|
return;
|
|
@@ -46503,16 +46498,16 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46503
46498
|
case "message_start":
|
|
46504
46499
|
isInStreamRef.current = true;
|
|
46505
46500
|
hasEverStreamedRef.current = true;
|
|
46506
|
-
_optionalChain([callbacks, 'access',
|
|
46501
|
+
_optionalChain([callbacks, 'access', _1065 => _1065.onStreamStart, 'optionalCall', _1066 => _1066()]);
|
|
46507
46502
|
accumulator.resetSegments();
|
|
46508
46503
|
break;
|
|
46509
46504
|
case "message_end":
|
|
46510
46505
|
isInStreamRef.current = false;
|
|
46511
|
-
_optionalChain([callbacks, 'access',
|
|
46506
|
+
_optionalChain([callbacks, 'access', _1067 => _1067.onStreamEnd, 'optionalCall', _1068 => _1068()]);
|
|
46512
46507
|
accumulator.resetSegments();
|
|
46513
46508
|
break;
|
|
46514
46509
|
case "metadata":
|
|
46515
|
-
_optionalChain([callbacks, 'access',
|
|
46510
|
+
_optionalChain([callbacks, 'access', _1069 => _1069.onMetadata, 'optionalCall', _1070 => _1070(action)]);
|
|
46516
46511
|
break;
|
|
46517
46512
|
case "text": {
|
|
46518
46513
|
const segments = accumulator.appendText(action.text);
|
|
@@ -46555,7 +46550,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46555
46550
|
emitSegments(segments);
|
|
46556
46551
|
} else {
|
|
46557
46552
|
pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
|
|
46558
|
-
_optionalChain([callbacks, 'access',
|
|
46553
|
+
_optionalChain([callbacks, 'access', _1071 => _1071.onEscalatedApproval, 'optionalCall', _1072 => _1072(requestId, { command, explanation, approvalType })]);
|
|
46559
46554
|
}
|
|
46560
46555
|
break;
|
|
46561
46556
|
}
|
|
@@ -46567,13 +46562,13 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46567
46562
|
const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
|
|
46568
46563
|
pendingEscalatedRef.current.set(requestId, {
|
|
46569
46564
|
command: summary,
|
|
46570
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
46565
|
+
explanation: _optionalChain([required, 'optionalAccess', _1073 => _1073.toolExplanation]),
|
|
46571
46566
|
approvalType,
|
|
46572
46567
|
toolCalls
|
|
46573
46568
|
});
|
|
46574
|
-
_optionalChain([callbacks, 'access',
|
|
46569
|
+
_optionalChain([callbacks, 'access', _1074 => _1074.onEscalatedApproval, 'optionalCall', _1075 => _1075(requestId, {
|
|
46575
46570
|
command: summary,
|
|
46576
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
46571
|
+
explanation: _optionalChain([required, 'optionalAccess', _1076 => _1076.toolExplanation]),
|
|
46577
46572
|
approvalType
|
|
46578
46573
|
})]);
|
|
46579
46574
|
break;
|
|
@@ -46603,7 +46598,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46603
46598
|
const status = approved ? "approved" : "rejected";
|
|
46604
46599
|
if (escalatedData) {
|
|
46605
46600
|
pendingEscalatedRef.current.delete(requestId);
|
|
46606
|
-
_optionalChain([callbacks, 'access',
|
|
46601
|
+
_optionalChain([callbacks, 'access', _1077 => _1077.onEscalatedApprovalResult, 'optionalCall', _1078 => _1078(requestId, approved, {
|
|
46607
46602
|
command: escalatedData.command,
|
|
46608
46603
|
explanation: escalatedData.explanation,
|
|
46609
46604
|
approvalType: escalatedData.approvalType
|
|
@@ -46649,29 +46644,29 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46649
46644
|
emitSegments(accumulator.getSegments());
|
|
46650
46645
|
}
|
|
46651
46646
|
}
|
|
46652
|
-
_optionalChain([callbacks, 'access',
|
|
46647
|
+
_optionalChain([callbacks, 'access', _1079 => _1079.onApprovalResolved, 'optionalCall', _1080 => _1080(requestId, status, approvalType, resolvedByName)]);
|
|
46653
46648
|
break;
|
|
46654
46649
|
}
|
|
46655
46650
|
case "error": {
|
|
46656
46651
|
let message2;
|
|
46657
|
-
if ("details" in action && _optionalChain([action, 'optionalAccess',
|
|
46652
|
+
if ("details" in action && _optionalChain([action, 'optionalAccess', _1081 => _1081.details])) {
|
|
46658
46653
|
try {
|
|
46659
|
-
message2 = _optionalChain([JSON, 'access',
|
|
46654
|
+
message2 = _optionalChain([JSON, 'access', _1082 => _1082.parse, 'call', _1083 => _1083(action.details), 'optionalAccess', _1084 => _1084.error, 'optionalAccess', _1085 => _1085.message]);
|
|
46660
46655
|
} catch (e52) {
|
|
46661
46656
|
message2 = action.details;
|
|
46662
46657
|
}
|
|
46663
46658
|
}
|
|
46664
46659
|
const segments = accumulator.addError(action.error, message2);
|
|
46665
46660
|
emitSegments(segments);
|
|
46666
|
-
_optionalChain([callbacks, 'access',
|
|
46661
|
+
_optionalChain([callbacks, 'access', _1086 => _1086.onError, 'optionalCall', _1087 => _1087(action.error, message2)]);
|
|
46667
46662
|
break;
|
|
46668
46663
|
}
|
|
46669
46664
|
case "system": {
|
|
46670
|
-
_optionalChain([callbacks, 'access',
|
|
46665
|
+
_optionalChain([callbacks, 'access', _1088 => _1088.onSystemMessage, 'optionalCall', _1089 => _1089(action.text, { streamSeq })]);
|
|
46671
46666
|
break;
|
|
46672
46667
|
}
|
|
46673
46668
|
case "direct_message": {
|
|
46674
|
-
_optionalChain([callbacks, 'access',
|
|
46669
|
+
_optionalChain([callbacks, 'access', _1090 => _1090.onDirectMessage, 'optionalCall', _1091 => _1091(action.text, {
|
|
46675
46670
|
ownerType: action.ownerType,
|
|
46676
46671
|
displayName: action.displayName,
|
|
46677
46672
|
userId: action.userId,
|
|
@@ -46680,7 +46675,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46680
46675
|
break;
|
|
46681
46676
|
}
|
|
46682
46677
|
case "message_request":
|
|
46683
|
-
_optionalChain([callbacks, 'access',
|
|
46678
|
+
_optionalChain([callbacks, 'access', _1092 => _1092.onUserMessage, 'optionalCall', _1093 => _1093(action.text, {
|
|
46684
46679
|
ownerType: action.ownerType,
|
|
46685
46680
|
displayName: action.displayName,
|
|
46686
46681
|
userId: action.userId,
|
|
@@ -46689,7 +46684,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46689
46684
|
})]);
|
|
46690
46685
|
break;
|
|
46691
46686
|
case "token_usage":
|
|
46692
|
-
_optionalChain([callbacks, 'access',
|
|
46687
|
+
_optionalChain([callbacks, 'access', _1094 => _1094.onTokenUsage, 'optionalCall', _1095 => _1095(action.data)]);
|
|
46693
46688
|
break;
|
|
46694
46689
|
case "context_compaction_start": {
|
|
46695
46690
|
const standalone = !isInStreamRef.current;
|
|
@@ -46704,7 +46699,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
46704
46699
|
break;
|
|
46705
46700
|
}
|
|
46706
46701
|
case "dialog_closed":
|
|
46707
|
-
_optionalChain([callbacks, 'access',
|
|
46702
|
+
_optionalChain([callbacks, 'access', _1096 => _1096.onDialogClosed, 'optionalCall', _1097 => _1097()]);
|
|
46708
46703
|
break;
|
|
46709
46704
|
default:
|
|
46710
46705
|
break;
|
|
@@ -46751,7 +46746,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
|
|
|
46751
46746
|
const data = await res.json();
|
|
46752
46747
|
return _nullishCoalesce(data.commands, () => ( []));
|
|
46753
46748
|
} catch (err) {
|
|
46754
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
46749
|
+
if (_optionalChain([err, 'optionalAccess', _1098 => _1098.name]) === "AbortError") throw err;
|
|
46755
46750
|
console.warn("[chat] slash-commands fetch failed, showing none:", err);
|
|
46756
46751
|
return [];
|
|
46757
46752
|
}
|
|
@@ -46772,7 +46767,7 @@ function useSlashCommands(prefix, commandsUrl) {
|
|
|
46772
46767
|
const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
|
|
46773
46768
|
if (!cancelled) setCommands(next);
|
|
46774
46769
|
} catch (err) {
|
|
46775
|
-
if (!cancelled && _optionalChain([err, 'optionalAccess',
|
|
46770
|
+
if (!cancelled && _optionalChain([err, 'optionalAccess', _1099 => _1099.name]) !== "AbortError") {
|
|
46776
46771
|
console.warn("[use-slash-commands] fetch failed:", err);
|
|
46777
46772
|
}
|
|
46778
46773
|
} finally {
|
|
@@ -46791,7 +46786,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
|
|
|
46791
46786
|
const query = _reactquery.useQuery.call(void 0, {
|
|
46792
46787
|
queryKey: ["chat-slash-commands", commandsUrl],
|
|
46793
46788
|
queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
|
|
46794
|
-
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
46789
|
+
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1100 => _1100.enabled]), () => ( true)),
|
|
46795
46790
|
staleTime: Infinity,
|
|
46796
46791
|
gcTime: Infinity,
|
|
46797
46792
|
// The commands registry is non-critical chrome — a failure degrades to an
|
|
@@ -46830,21 +46825,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
|
|
|
46830
46825
|
}
|
|
46831
46826
|
const data = await res.json();
|
|
46832
46827
|
return {
|
|
46833
|
-
name: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
46834
|
-
icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
46835
|
-
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
46836
|
-
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
46837
|
-
quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
46838
|
-
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
46828
|
+
name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1101 => _1101.name]), () => ( null)),
|
|
46829
|
+
icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1102 => _1102.icon]), () => ( null)),
|
|
46830
|
+
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1103 => _1103.greeting]), () => ( null)),
|
|
46831
|
+
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1104 => _1104.enabledRagTableIds]), () => ( [])),
|
|
46832
|
+
quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1105 => _1105.quickActions]), () => ( [])),
|
|
46833
|
+
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1106 => _1106.suggestedQueries]), () => ( []))
|
|
46839
46834
|
};
|
|
46840
46835
|
} catch (err) {
|
|
46841
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
46836
|
+
if (_optionalChain([err, 'optionalAccess', _1107 => _1107.name]) === "AbortError") throw err;
|
|
46842
46837
|
console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
|
|
46843
46838
|
return EMPTY_STATE_FALLBACK;
|
|
46844
46839
|
}
|
|
46845
46840
|
}
|
|
46846
46841
|
function useEmptyStateConfig(emptyStateUrl, options) {
|
|
46847
|
-
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
46842
|
+
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1108 => _1108.enabled]), () => ( true))) && !!emptyStateUrl;
|
|
46848
46843
|
const query = _reactquery.useQuery.call(void 0, {
|
|
46849
46844
|
queryKey: ["chat-empty-state", emptyStateUrl],
|
|
46850
46845
|
queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
|
|
@@ -46873,7 +46868,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
|
|
|
46873
46868
|
var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
|
|
46874
46869
|
function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
46875
46870
|
return new Promise((resolve, reject) => {
|
|
46876
|
-
if (_optionalChain([signal, 'optionalAccess',
|
|
46871
|
+
if (_optionalChain([signal, 'optionalAccess', _1109 => _1109.aborted])) {
|
|
46877
46872
|
reject(new Error("Upload cancelled"));
|
|
46878
46873
|
return;
|
|
46879
46874
|
}
|
|
@@ -46887,7 +46882,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
46887
46882
|
xhr.removeEventListener("error", handleError);
|
|
46888
46883
|
xhr.removeEventListener("abort", handleAbort);
|
|
46889
46884
|
xhr.removeEventListener("timeout", handleTimeout);
|
|
46890
|
-
_optionalChain([signal, 'optionalAccess',
|
|
46885
|
+
_optionalChain([signal, 'optionalAccess', _1110 => _1110.removeEventListener, 'call', _1111 => _1111("abort", handleSignalAbort)]);
|
|
46891
46886
|
if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
|
|
46892
46887
|
};
|
|
46893
46888
|
const handleProgress = (event) => {
|
|
@@ -46923,7 +46918,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
46923
46918
|
const handleSignalAbort = () => {
|
|
46924
46919
|
xhr.abort();
|
|
46925
46920
|
};
|
|
46926
|
-
_optionalChain([signal, 'optionalAccess',
|
|
46921
|
+
_optionalChain([signal, 'optionalAccess', _1112 => _1112.addEventListener, 'call', _1113 => _1113("abort", handleSignalAbort, { once: true })]);
|
|
46927
46922
|
xhr.upload.addEventListener("progress", handleProgress);
|
|
46928
46923
|
xhr.addEventListener("load", handleLoad);
|
|
46929
46924
|
xhr.addEventListener("error", handleError);
|
|
@@ -46967,12 +46962,12 @@ function useChatAttachments() {
|
|
|
46967
46962
|
try {
|
|
46968
46963
|
sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
|
|
46969
46964
|
} catch (err) {
|
|
46970
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
46965
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1114 => _1114.signal, 'access', _1115 => _1115.aborted])) return;
|
|
46971
46966
|
throw new Error(
|
|
46972
46967
|
`Could not read file content: ${err instanceof Error ? err.message : String(err)}`
|
|
46973
46968
|
);
|
|
46974
46969
|
}
|
|
46975
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
46970
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1116 => _1116.signal, 'access', _1117 => _1117.aborted])) return;
|
|
46976
46971
|
if (!sniffed) {
|
|
46977
46972
|
throw new Error("Unrecognized file format");
|
|
46978
46973
|
}
|
|
@@ -46986,7 +46981,7 @@ function useChatAttachments() {
|
|
|
46986
46981
|
const urlResp = await _chunk743FCO64cjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
|
|
46987
46982
|
method: "POST",
|
|
46988
46983
|
headers: { "Content-Type": "application/json" },
|
|
46989
|
-
signal: _optionalChain([ctrl, 'optionalAccess',
|
|
46984
|
+
signal: _optionalChain([ctrl, 'optionalAccess', _1118 => _1118.signal]),
|
|
46990
46985
|
body: JSON.stringify({
|
|
46991
46986
|
fileName: att.file.name,
|
|
46992
46987
|
// Pass the SNIFFED MIME (not `file.type`, which can be a
|
|
@@ -47012,9 +47007,9 @@ function useChatAttachments() {
|
|
|
47012
47007
|
(pct) => {
|
|
47013
47008
|
updateOne(att.id, { progress: pct });
|
|
47014
47009
|
},
|
|
47015
|
-
_optionalChain([ctrl, 'optionalAccess',
|
|
47010
|
+
_optionalChain([ctrl, 'optionalAccess', _1119 => _1119.signal])
|
|
47016
47011
|
);
|
|
47017
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
47012
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1120 => _1120.signal, 'access', _1121 => _1121.aborted])) return;
|
|
47018
47013
|
updateOne(att.id, {
|
|
47019
47014
|
status: "ready",
|
|
47020
47015
|
progress: 100,
|
|
@@ -47022,7 +47017,7 @@ function useChatAttachments() {
|
|
|
47022
47017
|
viewToken: mintData.viewToken
|
|
47023
47018
|
});
|
|
47024
47019
|
} catch (err) {
|
|
47025
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
47020
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1122 => _1122.signal, 'access', _1123 => _1123.aborted])) return;
|
|
47026
47021
|
const message2 = err instanceof Error ? err.message : String(err);
|
|
47027
47022
|
updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
|
|
47028
47023
|
} finally {
|
|
@@ -47173,7 +47168,7 @@ var ANON_DEFAULTS = {
|
|
|
47173
47168
|
function useResolveChatIdentity(enabled) {
|
|
47174
47169
|
const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
|
|
47175
47170
|
const url = runtime.endpoints.identityUrl;
|
|
47176
|
-
const proxyEmail = _nullishCoalesce(_optionalChain([_chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess',
|
|
47171
|
+
const proxyEmail = _nullishCoalesce(_optionalChain([_chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1124 => _1124.email]), () => ( null));
|
|
47177
47172
|
const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
|
|
47178
47173
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
|
|
47179
47174
|
_react.useEffect.call(void 0, () => {
|
|
@@ -47264,7 +47259,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
|
|
|
47264
47259
|
yield chunk;
|
|
47265
47260
|
}
|
|
47266
47261
|
} catch (err) {
|
|
47267
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
47262
|
+
if (_optionalChain([err, 'optionalAccess', _1125 => _1125.name]) === "AbortError" || ctrl.signal.aborted) {
|
|
47268
47263
|
return;
|
|
47269
47264
|
}
|
|
47270
47265
|
const errorMessage = err instanceof Error ? err.message : "An error occurred";
|
|
@@ -47315,7 +47310,7 @@ function useChat({
|
|
|
47315
47310
|
const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
|
|
47316
47311
|
onMessagesChangeRef.current = onMessagesChange;
|
|
47317
47312
|
_react.useEffect.call(void 0, () => {
|
|
47318
|
-
_optionalChain([onMessagesChangeRef, 'access',
|
|
47313
|
+
_optionalChain([onMessagesChangeRef, 'access', _1126 => _1126.current, 'optionalCall', _1127 => _1127(messages)]);
|
|
47319
47314
|
}, [messages]);
|
|
47320
47315
|
const {
|
|
47321
47316
|
streamMessage,
|
|
@@ -47352,7 +47347,7 @@ function useChat({
|
|
|
47352
47347
|
name: "You",
|
|
47353
47348
|
content: text,
|
|
47354
47349
|
timestamp: /* @__PURE__ */ new Date(),
|
|
47355
|
-
..._optionalChain([options, 'optionalAccess',
|
|
47350
|
+
..._optionalChain([options, 'optionalAccess', _1128 => _1128.hidden]) ? { hidden: true } : {}
|
|
47356
47351
|
};
|
|
47357
47352
|
addMessage(userMessage);
|
|
47358
47353
|
setIsTyping(true);
|
|
@@ -47414,7 +47409,7 @@ function useChat({
|
|
|
47414
47409
|
currentTextSegment = "";
|
|
47415
47410
|
}
|
|
47416
47411
|
const seg = segment;
|
|
47417
|
-
const proposalId = _optionalChain([seg, 'access',
|
|
47412
|
+
const proposalId = _optionalChain([seg, 'access', _1129 => _1129.data, 'optionalAccess', _1130 => _1130.requestId]);
|
|
47418
47413
|
const updateApprovalMessage = (transform) => {
|
|
47419
47414
|
setMessages((prev) => {
|
|
47420
47415
|
for (let i = prev.length - 1; i >= 0; i--) {
|
|
@@ -47423,7 +47418,7 @@ function useChat({
|
|
|
47423
47418
|
if (!Array.isArray(m.content)) continue;
|
|
47424
47419
|
const segments = m.content;
|
|
47425
47420
|
const hasMatch = segments.some(
|
|
47426
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
47421
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1131 => _1131.data, 'optionalAccess', _1132 => _1132.requestId]) === proposalId
|
|
47427
47422
|
);
|
|
47428
47423
|
if (!hasMatch) continue;
|
|
47429
47424
|
const next = [...prev];
|
|
@@ -47465,11 +47460,11 @@ function useChat({
|
|
|
47465
47460
|
if (!Array.isArray(m.content)) continue;
|
|
47466
47461
|
const segments = m.content;
|
|
47467
47462
|
const hasMatch = segments.some(
|
|
47468
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
47463
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1133 => _1133.data, 'optionalAccess', _1134 => _1134.requestId]) === decision.proposalId
|
|
47469
47464
|
);
|
|
47470
47465
|
if (!hasMatch) continue;
|
|
47471
47466
|
const flipped = segments.map(
|
|
47472
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
47467
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1135 => _1135.data, 'optionalAccess', _1136 => _1136.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
|
|
47473
47468
|
);
|
|
47474
47469
|
const next = [...prev];
|
|
47475
47470
|
next[i] = { ...m, content: flipped };
|
|
@@ -47631,8 +47626,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
47631
47626
|
})),
|
|
47632
47627
|
{ role: "user", content: message2 }
|
|
47633
47628
|
];
|
|
47634
|
-
const targetPath = _optionalChain([extra, 'optionalAccess',
|
|
47635
|
-
const requestBody = _optionalChain([extra, 'optionalAccess',
|
|
47629
|
+
const targetPath = _optionalChain([extra, 'optionalAccess', _1137 => _1137.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
|
|
47630
|
+
const requestBody = _optionalChain([extra, 'optionalAccess', _1138 => _1138.approvalAction]) ? {
|
|
47636
47631
|
proposal_id: extra.approvalAction.proposalId,
|
|
47637
47632
|
action: extra.approvalAction.action,
|
|
47638
47633
|
messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
|
|
@@ -47641,8 +47636,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
47641
47636
|
}))
|
|
47642
47637
|
} : {
|
|
47643
47638
|
messages: apiMessages,
|
|
47644
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
47645
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
47639
|
+
..._optionalChain([extra, 'optionalAccess', _1139 => _1139.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
|
|
47640
|
+
..._optionalChain([extra, 'optionalAccess', _1140 => _1140.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
|
|
47646
47641
|
};
|
|
47647
47642
|
const response = await _chunk743FCO64cjs.embedAuthedFetch.call(void 0, targetPath, {
|
|
47648
47643
|
method: "POST",
|
|
@@ -47652,7 +47647,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
47652
47647
|
if (!response.ok) {
|
|
47653
47648
|
throw new Error(`Chat request failed: ${response.status}`);
|
|
47654
47649
|
}
|
|
47655
|
-
const reader = _optionalChain([response, 'access',
|
|
47650
|
+
const reader = _optionalChain([response, 'access', _1141 => _1141.body, 'optionalAccess', _1142 => _1142.getReader, 'call', _1143 => _1143()]);
|
|
47656
47651
|
if (!reader) throw new Error("No response body");
|
|
47657
47652
|
const decoder = new TextDecoder();
|
|
47658
47653
|
let buffer = "";
|
|
@@ -47735,7 +47730,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
47735
47730
|
const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
|
|
47736
47731
|
const result = _nullishCoalesce(meta.result, () => ( null));
|
|
47737
47732
|
const card = _nullishCoalesce(meta.card, () => ( null));
|
|
47738
|
-
if (_optionalChain([card, 'optionalAccess',
|
|
47733
|
+
if (_optionalChain([card, 'optionalAccess', _1144 => _1144.ref, 'optionalAccess', _1145 => _1145.id]) && _optionalChain([card, 'optionalAccess', _1146 => _1146.type])) {
|
|
47739
47734
|
const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
|
|
47740
47735
|
const key = buildChatRefKey(card.type, card.ref.id);
|
|
47741
47736
|
refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
|
|
@@ -47748,8 +47743,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
47748
47743
|
willAutoContinue: meta.willAutoContinue === true,
|
|
47749
47744
|
...toolName ? { toolName } : {},
|
|
47750
47745
|
...result ? { result } : {},
|
|
47751
|
-
..._optionalChain([card, 'optionalAccess',
|
|
47752
|
-
..._optionalChain([card, 'optionalAccess',
|
|
47746
|
+
..._optionalChain([card, 'optionalAccess', _1147 => _1147.marker]) ? { marker: card.marker } : {},
|
|
47747
|
+
..._optionalChain([card, 'optionalAccess', _1148 => _1148.ref]) ? { cardRef: card.ref } : {},
|
|
47753
47748
|
...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
|
|
47754
47749
|
proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
|
|
47755
47750
|
};
|
|
@@ -47868,7 +47863,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
|
|
|
47868
47863
|
var chatStorageKey = (source) => {
|
|
47869
47864
|
const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
|
|
47870
47865
|
const auth = _chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, );
|
|
47871
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
47866
|
+
if (_optionalChain([auth, 'optionalAccess', _1149 => _1149.email])) {
|
|
47872
47867
|
return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
|
|
47873
47868
|
}
|
|
47874
47869
|
return base;
|
|
@@ -47923,7 +47918,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
47923
47918
|
const { active = true } = runtimeOptions;
|
|
47924
47919
|
const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
|
|
47925
47920
|
const source = runtime.source || DEFAULT_CHAT_SOURCE;
|
|
47926
|
-
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
47921
|
+
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1150 => _1150.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
|
|
47927
47922
|
const persistedRef = _react.useRef.call(void 0, null);
|
|
47928
47923
|
if (persistedRef.current === null) {
|
|
47929
47924
|
pruneStaleChatStorage(source);
|
|
@@ -48028,7 +48023,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
48028
48023
|
const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
|
|
48029
48024
|
sources = sourcesMapRef.current.get(lookupIdx);
|
|
48030
48025
|
chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
|
|
48031
|
-
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access',
|
|
48026
|
+
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1151 => _1151.current, 'access', _1152 => _1152.get, 'call', _1153 => _1153(lookupIdx), 'optionalAccess', _1154 => _1154.scrollAnchor]), () => ( void 0));
|
|
48032
48027
|
}
|
|
48033
48028
|
return {
|
|
48034
48029
|
id: m.id,
|
|
@@ -48076,7 +48071,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
48076
48071
|
);
|
|
48077
48072
|
return;
|
|
48078
48073
|
}
|
|
48079
|
-
const refSlug = typeof _optionalChain([reference, 'access',
|
|
48074
|
+
const refSlug = typeof _optionalChain([reference, 'access', _1155 => _1155.metadata, 'optionalAccess', _1156 => _1156.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
|
|
48080
48075
|
const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
|
|
48081
48076
|
const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
48082
48077
|
const text = `/${cmdId} display "${escaped}"`;
|
|
@@ -48148,18 +48143,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
48148
48143
|
clearMessages,
|
|
48149
48144
|
streamingPhase,
|
|
48150
48145
|
/** Provider key for the lib's `<ModelDisplay>` icon. */
|
|
48151
|
-
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
48152
|
-
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
48153
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
48146
|
+
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1157 => _1157.provider]), () => ( null)),
|
|
48147
|
+
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1158 => _1158.modelLabel]), () => ( null)),
|
|
48148
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1159 => _1159.contextWindowMaxTokens]), () => ( null)),
|
|
48154
48149
|
/** Input tokens (known after server's message_start frame; null until). */
|
|
48155
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
48150
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1160 => _1160.inputTokens]), () => ( null)),
|
|
48156
48151
|
/** Output tokens (known only after server's trailing usage frame). */
|
|
48157
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
48152
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1161 => _1161.outputTokens]), () => ( null)),
|
|
48158
48153
|
/** Cache hit % (read / total-input × 100). null during streaming. */
|
|
48159
|
-
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
48154
|
+
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1162 => _1162.cacheHitRatePct]), () => ( null)),
|
|
48160
48155
|
/** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
|
|
48161
48156
|
* token counts). null until the trailing usage frame lands. */
|
|
48162
|
-
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
48157
|
+
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1163 => _1163.breakdown]), () => ( null)),
|
|
48163
48158
|
// ─── Dialog management — stubs for v1 ────────────────────────────────
|
|
48164
48159
|
// Guide mode currently keeps its history in `localStorage` opaquely
|
|
48165
48160
|
// under the hood (`runtime.source` namespaced key). Surfacing that
|
|
@@ -48217,15 +48212,15 @@ var noopRejectRequest = async (_id, _reason) => {
|
|
|
48217
48212
|
|
|
48218
48213
|
// src/components/chat/utils/process-historical-messages.ts
|
|
48219
48214
|
function getOwnerDisplayName(owner) {
|
|
48220
|
-
if (_optionalChain([owner, 'optionalAccess',
|
|
48215
|
+
if (_optionalChain([owner, 'optionalAccess', _1164 => _1164.type]) === OWNER_TYPE.ADMIN && owner.user) {
|
|
48221
48216
|
const { firstName, lastName } = owner.user;
|
|
48222
48217
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
48223
48218
|
if (name) return name;
|
|
48224
48219
|
}
|
|
48225
|
-
return _optionalChain([owner, 'optionalAccess',
|
|
48220
|
+
return _optionalChain([owner, 'optionalAccess', _1165 => _1165.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
48226
48221
|
}
|
|
48227
48222
|
function getOwnerAvatar(owner) {
|
|
48228
|
-
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess',
|
|
48223
|
+
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1166 => _1166.user, 'optionalAccess', _1167 => _1167.image, 'optionalAccess', _1168 => _1168.imageUrl]), () => ( void 0));
|
|
48229
48224
|
}
|
|
48230
48225
|
function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
|
|
48231
48226
|
messageDataArray.forEach((data) => {
|
|
@@ -48288,14 +48283,14 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
48288
48283
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
48289
48284
|
return;
|
|
48290
48285
|
}
|
|
48291
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
48286
|
+
const isUserMessage = _optionalChain([msg, 'access', _1169 => _1169.owner, 'optionalAccess', _1170 => _1170.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1171 => _1171.owner, 'optionalAccess', _1172 => _1172.type]) === OWNER_TYPE.ADMIN;
|
|
48292
48287
|
if (isUserMessage) {
|
|
48293
48288
|
flushAssistantMessage();
|
|
48294
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
48289
|
+
const userAuthorType = _optionalChain([msg, 'access', _1173 => _1173.owner, 'optionalAccess', _1174 => _1174.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
48295
48290
|
messageDataArray.forEach((data) => {
|
|
48296
48291
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
48297
48292
|
const rawContext = data.contextItems;
|
|
48298
|
-
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess',
|
|
48293
|
+
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1175 => _1175.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1176 => _1176.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
48299
48294
|
processedMessages.push({
|
|
48300
48295
|
id: msg.id,
|
|
48301
48296
|
role: "user",
|
|
@@ -48319,7 +48314,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
48319
48314
|
});
|
|
48320
48315
|
const nextMsg = messages[index + 1];
|
|
48321
48316
|
const isLastMessage = index === messages.length - 1;
|
|
48322
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
48317
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1177 => _1177.owner, 'optionalAccess', _1178 => _1178.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1179 => _1179.owner, 'optionalAccess', _1180 => _1180.type]) === OWNER_TYPE.ADMIN);
|
|
48323
48318
|
if (isLastMessage || nextIsFromUser) {
|
|
48324
48319
|
flushAssistantMessage();
|
|
48325
48320
|
}
|
|
@@ -48429,7 +48424,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
48429
48424
|
}
|
|
48430
48425
|
}
|
|
48431
48426
|
} else {
|
|
48432
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
48427
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1181 => _1181.set, 'call', _1182 => _1182(data.approvalRequestId, {
|
|
48433
48428
|
command: data.command || "",
|
|
48434
48429
|
explanation: data.explanation,
|
|
48435
48430
|
approvalType,
|
|
@@ -48443,8 +48438,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
48443
48438
|
const existingStatus = approvalStatuses[data.approvalRequestId];
|
|
48444
48439
|
const status = existingStatus || (data.approved ? "approved" : "rejected");
|
|
48445
48440
|
const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
|
|
48446
|
-
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess',
|
|
48447
|
-
if (_optionalChain([escalatedData, 'optionalAccess',
|
|
48441
|
+
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1183 => _1183.get, 'call', _1184 => _1184(data.approvalRequestId)]);
|
|
48442
|
+
if (_optionalChain([escalatedData, 'optionalAccess', _1185 => _1185.toolCalls]) && escalatedData.toolCalls.length > 0) {
|
|
48448
48443
|
if (batchApprovalsEnabled) {
|
|
48449
48444
|
accumulator.addApprovalBatch(
|
|
48450
48445
|
data.approvalRequestId,
|
|
@@ -48466,7 +48461,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
48466
48461
|
);
|
|
48467
48462
|
}
|
|
48468
48463
|
}
|
|
48469
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
48464
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1186 => _1186.delete, 'call', _1187 => _1187(data.approvalRequestId)]);
|
|
48470
48465
|
break;
|
|
48471
48466
|
}
|
|
48472
48467
|
if (escalatedData) {
|
|
@@ -48475,7 +48470,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
48475
48470
|
explanation: escalatedData.explanation,
|
|
48476
48471
|
approvalType: escalatedData.approvalType
|
|
48477
48472
|
});
|
|
48478
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
48473
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1188 => _1188.delete, 'call', _1189 => _1189(data.approvalRequestId)]);
|
|
48479
48474
|
}
|
|
48480
48475
|
const before = accumulator.getSegments();
|
|
48481
48476
|
const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
|
|
@@ -48491,9 +48486,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
48491
48486
|
case MESSAGE_TYPE.ERROR:
|
|
48492
48487
|
if ("error" in data) {
|
|
48493
48488
|
let message2;
|
|
48494
|
-
if ("details" in data && _optionalChain([data, 'optionalAccess',
|
|
48489
|
+
if ("details" in data && _optionalChain([data, 'optionalAccess', _1190 => _1190.details])) {
|
|
48495
48490
|
try {
|
|
48496
|
-
message2 = _optionalChain([JSON, 'access',
|
|
48491
|
+
message2 = _optionalChain([JSON, 'access', _1191 => _1191.parse, 'call', _1192 => _1192(data.details), 'optionalAccess', _1193 => _1193.error, 'optionalAccess', _1194 => _1194.message]);
|
|
48497
48492
|
} catch (e59) {
|
|
48498
48493
|
message2 = data.details;
|
|
48499
48494
|
}
|
|
@@ -48576,14 +48571,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
48576
48571
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
48577
48572
|
return;
|
|
48578
48573
|
}
|
|
48579
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
48574
|
+
const isUserMessage = _optionalChain([msg, 'access', _1195 => _1195.owner, 'optionalAccess', _1196 => _1196.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1197 => _1197.owner, 'optionalAccess', _1198 => _1198.type]) === OWNER_TYPE.ADMIN;
|
|
48580
48575
|
if (isUserMessage) {
|
|
48581
48576
|
flushAssistantMessage();
|
|
48582
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
48577
|
+
const userAuthorType = _optionalChain([msg, 'access', _1199 => _1199.owner, 'optionalAccess', _1200 => _1200.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
48583
48578
|
messageDataArray.forEach((data) => {
|
|
48584
48579
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
48585
48580
|
const rawContext = data.contextItems;
|
|
48586
|
-
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess',
|
|
48581
|
+
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1201 => _1201.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1202 => _1202.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
48587
48582
|
processedMessages.push({
|
|
48588
48583
|
id: msg.id,
|
|
48589
48584
|
role: "user",
|
|
@@ -48607,7 +48602,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
48607
48602
|
});
|
|
48608
48603
|
const nextMsg = messages[index + 1];
|
|
48609
48604
|
const isLastMessage = index === messages.length - 1;
|
|
48610
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
48605
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1203 => _1203.owner, 'optionalAccess', _1204 => _1204.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1205 => _1205.owner, 'optionalAccess', _1206 => _1206.type]) === OWNER_TYPE.ADMIN);
|
|
48611
48606
|
if (isLastMessage || nextIsFromUser) {
|
|
48612
48607
|
flushAssistantMessage();
|
|
48613
48608
|
}
|
|
@@ -48943,7 +48938,7 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
48943
48938
|
}, [active, fetchDialogs, loadDialogsPage]);
|
|
48944
48939
|
const sendMessage = _react.useCallback.call(void 0,
|
|
48945
48940
|
async (text, sendOptions) => {
|
|
48946
|
-
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess',
|
|
48941
|
+
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1207 => _1207.hidden]), () => ( false));
|
|
48947
48942
|
setMessages((prev) => [
|
|
48948
48943
|
...prev,
|
|
48949
48944
|
{
|
|
@@ -49107,11 +49102,11 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
49107
49102
|
// Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
|
|
49108
49103
|
// contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
|
|
49109
49104
|
// matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
|
|
49110
|
-
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
49111
|
-
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
49112
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
49113
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
49114
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
49105
|
+
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1208 => _1208.provider]), () => ( modelProvider)), () => ( null)),
|
|
49106
|
+
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1209 => _1209.modelLabel]), () => ( modelLabel)), () => ( null)),
|
|
49107
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1210 => _1210.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1211 => _1211.contextWindowMaxTokens]))), () => ( null)),
|
|
49108
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1212 => _1212.inputTokensSize]), () => ( null)),
|
|
49109
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1213 => _1213.outputTokensSize]), () => ( null)),
|
|
49115
49110
|
currentCacheHitRatePct: null,
|
|
49116
49111
|
currentUsageBreakdown: null,
|
|
49117
49112
|
// Dialog management
|
|
@@ -49359,7 +49354,7 @@ function extractIncompleteMessageState(lastMessage) {
|
|
|
49359
49354
|
break;
|
|
49360
49355
|
case "approval_batch": {
|
|
49361
49356
|
const allDone = !!segment.data.executions && segment.data.toolCalls.every(
|
|
49362
|
-
(c) => _optionalChain([segment, 'access',
|
|
49357
|
+
(c) => _optionalChain([segment, 'access', _1214 => _1214.data, 'access', _1215 => _1215.executions, 'optionalAccess', _1216 => _1216[c.toolExecutionRequestId], 'optionalAccess', _1217 => _1217.status]) === "done"
|
|
49363
49358
|
);
|
|
49364
49359
|
if (segment.status !== "rejected" && !allDone) {
|
|
49365
49360
|
hasIncompleteState = true;
|
|
@@ -49427,20 +49422,20 @@ function mergeHistoryWithRealtime(input) {
|
|
|
49427
49422
|
const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
|
|
49428
49423
|
const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
|
|
49429
49424
|
const trailing = processedHistory[processedHistory.length - 1];
|
|
49430
|
-
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess',
|
|
49431
|
-
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access',
|
|
49425
|
+
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1218 => _1218.role]) === "assistant" ? trailing : null;
|
|
49426
|
+
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1219 => _1219.content, 'access', _1220 => _1220.find, 'call', _1221 => _1221((s) => s.type === "approval_batch"), 'optionalAccess', _1222 => _1222.data, 'optionalAccess', _1223 => _1223.approvalRequestId]), () => ( null)) : null;
|
|
49432
49427
|
let processedToUse = processedHistory;
|
|
49433
49428
|
const pinnedSyntheticIds = /* @__PURE__ */ new Set();
|
|
49434
49429
|
const droppedSyntheticIds = /* @__PURE__ */ new Set();
|
|
49435
49430
|
if (historyBatchId) {
|
|
49436
49431
|
const batchTwins = existingMessages.filter(
|
|
49437
49432
|
(m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
|
|
49438
|
-
(s) => s.type === "approval_batch" && _optionalChain([s, 'access',
|
|
49433
|
+
(s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1224 => _1224.data, 'optionalAccess', _1225 => _1225.approvalRequestId]) === historyBatchId
|
|
49439
49434
|
)
|
|
49440
49435
|
);
|
|
49441
49436
|
const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
|
|
49442
49437
|
if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
|
|
49443
|
-
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess',
|
|
49438
|
+
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1226 => _1226.content])) ? historyTrailingAssistant.content.length : 0;
|
|
49444
49439
|
const realtimeSize = existingWithSameBatch.content.length;
|
|
49445
49440
|
if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
|
|
49446
49441
|
processedToUse = processedHistory.slice(0, -1);
|
|
@@ -49456,16 +49451,16 @@ function mergeHistoryWithRealtime(input) {
|
|
|
49456
49451
|
if (pinnedSyntheticIds.has(m.id)) return true;
|
|
49457
49452
|
if (droppedSyntheticIds.has(m.id)) return false;
|
|
49458
49453
|
if (processedIds.has(m.id)) return false;
|
|
49459
|
-
if (_optionalChain([rawHistoryIds, 'optionalAccess',
|
|
49454
|
+
if (_optionalChain([rawHistoryIds, 'optionalAccess', _1227 => _1227.has, 'call', _1228 => _1228(m.id)])) return false;
|
|
49460
49455
|
if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
|
|
49461
|
-
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access',
|
|
49456
|
+
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1229 => _1229.timestamp, 'optionalAccess', _1230 => _1230.getTime, 'call', _1231 => _1231()]), () => ( 0))) <= historyFetchedAt;
|
|
49462
49457
|
return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
|
|
49463
49458
|
}
|
|
49464
49459
|
if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
|
|
49465
49460
|
if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
|
|
49466
49461
|
return false;
|
|
49467
49462
|
}
|
|
49468
|
-
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access',
|
|
49463
|
+
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1232 => _1232.timestamp, 'optionalAccess', _1233 => _1233.getTime, 'call', _1234 => _1234()]), () => ( 0))) <= historyFetchedAt;
|
|
49469
49464
|
if (covered) return false;
|
|
49470
49465
|
}
|
|
49471
49466
|
return true;
|
|
@@ -49685,7 +49680,7 @@ function useChatDialogManager({
|
|
|
49685
49680
|
const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
|
|
49686
49681
|
if (restoreTarget) {
|
|
49687
49682
|
try {
|
|
49688
|
-
await _optionalChain([unarchiveDialog, 'optionalCall',
|
|
49683
|
+
await _optionalChain([unarchiveDialog, 'optionalCall', _1235 => _1235(restoreTarget.id)]);
|
|
49689
49684
|
} catch (err) {
|
|
49690
49685
|
console.error("[useChatDialogManager] unarchive failed:", err);
|
|
49691
49686
|
return;
|
|
@@ -50102,7 +50097,7 @@ function EmbeddableChatInner({
|
|
|
50102
50097
|
}),
|
|
50103
50098
|
[commandsUrl]
|
|
50104
50099
|
);
|
|
50105
|
-
const userName = _optionalChain([identityUser, 'optionalAccess',
|
|
50100
|
+
const userName = _optionalChain([identityUser, 'optionalAccess', _1236 => _1236.firstName, 'optionalAccess', _1237 => _1237.trim, 'call', _1238 => _1238()]) || _optionalChain([identityUser, 'optionalAccess', _1239 => _1239.name, 'optionalAccess', _1240 => _1240.split, 'call', _1241 => _1241(" "), 'access', _1242 => _1242[0], 'optionalAccess', _1243 => _1243.trim, 'call', _1244 => _1244()]) || void 0;
|
|
50106
50101
|
const effectiveModes = _react.useMemo.call(void 0, () => {
|
|
50107
50102
|
if (modes) return modes;
|
|
50108
50103
|
const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
|
|
@@ -50111,19 +50106,19 @@ function EmbeddableChatInner({
|
|
|
50111
50106
|
const mingoCaps = _react.useMemo.call(void 0, () => {
|
|
50112
50107
|
if (mingoState) {
|
|
50113
50108
|
return {
|
|
50114
|
-
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
50115
|
-
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
50116
|
-
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
50117
|
-
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
50118
|
-
searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
50119
|
-
onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
50109
|
+
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1245 => _1245.canRename]), () => ( false)),
|
|
50110
|
+
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1246 => _1246.canArchive]), () => ( false)),
|
|
50111
|
+
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1247 => _1247.fetchArchivedDialogs]),
|
|
50112
|
+
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1248 => _1248.unarchiveDialog]),
|
|
50113
|
+
searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1249 => _1249.searchQuery]),
|
|
50114
|
+
onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1250 => _1250.onSearchChange])
|
|
50120
50115
|
};
|
|
50121
50116
|
}
|
|
50122
50117
|
return {
|
|
50123
|
-
canRename: !!_optionalChain([effectiveModes, 'access',
|
|
50124
|
-
canArchive: !!_optionalChain([effectiveModes, 'access',
|
|
50125
|
-
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access',
|
|
50126
|
-
unarchiveDialog: _optionalChain([effectiveModes, 'access',
|
|
50118
|
+
canRename: !!_optionalChain([effectiveModes, 'access', _1251 => _1251.mingo, 'optionalAccess', _1252 => _1252.renameDialog]),
|
|
50119
|
+
canArchive: !!_optionalChain([effectiveModes, 'access', _1253 => _1253.mingo, 'optionalAccess', _1254 => _1254.archiveDialog]),
|
|
50120
|
+
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1255 => _1255.mingo, 'optionalAccess', _1256 => _1256.fetchArchivedDialogs]),
|
|
50121
|
+
unarchiveDialog: _optionalChain([effectiveModes, 'access', _1257 => _1257.mingo, 'optionalAccess', _1258 => _1258.unarchiveDialog]),
|
|
50127
50122
|
searchQuery: void 0,
|
|
50128
50123
|
onSearchChange: void 0
|
|
50129
50124
|
};
|
|
@@ -50137,7 +50132,7 @@ function EmbeddableChatInner({
|
|
|
50137
50132
|
if (controlledActiveMode === void 0) {
|
|
50138
50133
|
setUncontrolledActiveMode(next);
|
|
50139
50134
|
}
|
|
50140
|
-
_optionalChain([onActiveModeChange, 'optionalCall',
|
|
50135
|
+
_optionalChain([onActiveModeChange, 'optionalCall', _1259 => _1259(next)]);
|
|
50141
50136
|
},
|
|
50142
50137
|
[controlledActiveMode, onActiveModeChange]
|
|
50143
50138
|
);
|
|
@@ -50159,7 +50154,7 @@ function EmbeddableChatInner({
|
|
|
50159
50154
|
const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
|
|
50160
50155
|
const effectiveAssistantName = emptyStateConfig.name;
|
|
50161
50156
|
const effectiveAssistantIcon = emptyStateConfig.icon;
|
|
50162
|
-
const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess',
|
|
50157
|
+
const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1260 => _1260.title]) === "string" ? guideWelcome.title : null)));
|
|
50163
50158
|
const {
|
|
50164
50159
|
messages: rawMessages,
|
|
50165
50160
|
isLoading: chatLoading,
|
|
@@ -50199,7 +50194,7 @@ function EmbeddableChatInner({
|
|
|
50199
50194
|
if (activeMode !== "guide" || guidePromptSentRef.current) return;
|
|
50200
50195
|
guidePromptSentRef.current = true;
|
|
50201
50196
|
void sendMessage(guidePendingPrompt);
|
|
50202
|
-
_optionalChain([onGuidePromptConsumed, 'optionalCall',
|
|
50197
|
+
_optionalChain([onGuidePromptConsumed, 'optionalCall', _1261 => _1261()]);
|
|
50203
50198
|
}, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
|
|
50204
50199
|
const {
|
|
50205
50200
|
attachments: stagedAttachments,
|
|
@@ -50210,7 +50205,7 @@ function EmbeddableChatInner({
|
|
|
50210
50205
|
clear: clearAttachments
|
|
50211
50206
|
} = useChatAttachments();
|
|
50212
50207
|
const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
|
|
50213
|
-
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess',
|
|
50208
|
+
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1262 => _1262.maxItems]), () => ( 10));
|
|
50214
50209
|
const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
|
|
50215
50210
|
const [contextItems, setContextItems] = _react.useState.call(void 0, []);
|
|
50216
50211
|
const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
|
|
@@ -50227,10 +50222,10 @@ function EmbeddableChatInner({
|
|
|
50227
50222
|
}, [activeDialogId, activeMode]);
|
|
50228
50223
|
const mentionMarkerByType = _react.useMemo.call(void 0, () => {
|
|
50229
50224
|
const m = /* @__PURE__ */ new Map();
|
|
50230
|
-
for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess',
|
|
50225
|
+
for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1263 => _1263.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
|
|
50231
50226
|
return m;
|
|
50232
|
-
}, [_optionalChain([contextPicker, 'optionalAccess',
|
|
50233
|
-
const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess',
|
|
50227
|
+
}, [_optionalChain([contextPicker, 'optionalAccess', _1264 => _1264.entityTypes])]);
|
|
50228
|
+
const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1265 => _1265.entityTypes]);
|
|
50234
50229
|
const resolveContextIcon = _react.useMemo.call(void 0, () => {
|
|
50235
50230
|
const byType = /* @__PURE__ */ new Map();
|
|
50236
50231
|
for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
|
|
@@ -50242,7 +50237,7 @@ function EmbeddableChatInner({
|
|
|
50242
50237
|
if (mentionActiveRef.current) {
|
|
50243
50238
|
if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
|
|
50244
50239
|
if (contextItems.length >= contextMaxItems) return;
|
|
50245
|
-
_optionalChain([chatInputRef, 'access',
|
|
50240
|
+
_optionalChain([chatInputRef, 'access', _1266 => _1266.current, 'optionalAccess', _1267 => _1267.commitMention, 'call', _1268 => _1268(mentionTokenOf(key, mentionMarkerByType), {
|
|
50246
50241
|
label: item.label,
|
|
50247
50242
|
icon: resolveContextIcon(item)
|
|
50248
50243
|
})]);
|
|
@@ -50264,9 +50259,9 @@ function EmbeddableChatInner({
|
|
|
50264
50259
|
setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
|
|
50265
50260
|
if (mentionKeysRef.current.has(key)) {
|
|
50266
50261
|
mentionKeysRef.current.delete(key);
|
|
50267
|
-
const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access',
|
|
50262
|
+
const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1269 => _1269.current, 'optionalAccess', _1270 => _1270.getValue, 'call', _1271 => _1271()]), () => ( ""));
|
|
50268
50263
|
const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
|
|
50269
|
-
_optionalChain([chatInputRef, 'access',
|
|
50264
|
+
_optionalChain([chatInputRef, 'access', _1272 => _1272.current, 'optionalAccess', _1273 => _1273.setValue, 'call', _1274 => _1274(next)]);
|
|
50270
50265
|
}
|
|
50271
50266
|
}, [mentionMarkerByType]);
|
|
50272
50267
|
const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
|
|
@@ -50283,7 +50278,7 @@ function EmbeddableChatInner({
|
|
|
50283
50278
|
}, []);
|
|
50284
50279
|
const closeContextPicker = _react.useCallback.call(void 0, () => {
|
|
50285
50280
|
if (mentionActiveRef.current) {
|
|
50286
|
-
_optionalChain([chatInputRef, 'access',
|
|
50281
|
+
_optionalChain([chatInputRef, 'access', _1275 => _1275.current, 'optionalAccess', _1276 => _1276.removeMentionTrigger, 'call', _1277 => _1277()]);
|
|
50287
50282
|
}
|
|
50288
50283
|
setContextPickerOpen(false);
|
|
50289
50284
|
setMentionQuery(null);
|
|
@@ -50317,8 +50312,8 @@ function EmbeddableChatInner({
|
|
|
50317
50312
|
[]
|
|
50318
50313
|
);
|
|
50319
50314
|
const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
|
|
50320
|
-
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess',
|
|
50321
|
-
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess',
|
|
50315
|
+
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1278 => _1278.firstName]), _optionalChain([identityUser, 'optionalAccess', _1279 => _1279.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1280 => _1280.name, 'optionalAccess', _1281 => _1281.trim, 'call', _1282 => _1282()]) || void 0 : void 0;
|
|
50316
|
+
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1283 => _1283.avatarUrl, 'optionalAccess', _1284 => _1284.trim, 'call', _1285 => _1285()]) || void 0 : void 0;
|
|
50322
50317
|
const messages = _react.useMemo.call(void 0, () => {
|
|
50323
50318
|
const cache = timestampCacheRef.current;
|
|
50324
50319
|
const seenIds = /* @__PURE__ */ new Set();
|
|
@@ -50487,9 +50482,9 @@ function EmbeddableChatInner({
|
|
|
50487
50482
|
const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
|
|
50488
50483
|
const lastSources = _react.useMemo.call(void 0, () => {
|
|
50489
50484
|
if (chatLoading) return void 0;
|
|
50490
|
-
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
50485
|
+
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1286 => _1286.sources]);
|
|
50491
50486
|
if (!sources || sources.length === 0) return void 0;
|
|
50492
|
-
const content = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
50487
|
+
const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1287 => _1287.content]) || "";
|
|
50493
50488
|
const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
|
|
50494
50489
|
(m) => parseInt(m[1], 10)
|
|
50495
50490
|
);
|
|
@@ -50536,7 +50531,7 @@ function EmbeddableChatInner({
|
|
|
50536
50531
|
ChatPanelHeader,
|
|
50537
50532
|
{
|
|
50538
50533
|
showBack: hasConversation || guideCanReturnToMingo,
|
|
50539
|
-
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess',
|
|
50534
|
+
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1288 => _1288.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
|
|
50540
50535
|
backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
|
|
50541
50536
|
isArchivedView: isViewingArchived,
|
|
50542
50537
|
onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
|
|
@@ -50657,9 +50652,9 @@ function EmbeddableChatInner({
|
|
|
50657
50652
|
subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
|
|
50658
50653
|
subtitleLoading: emptyStateLoading,
|
|
50659
50654
|
...guideWelcome,
|
|
50660
|
-
title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess',
|
|
50661
|
-
icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess',
|
|
50662
|
-
quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess',
|
|
50655
|
+
title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1289 => _1289.title]))),
|
|
50656
|
+
icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1290 => _1290.icon]))),
|
|
50657
|
+
quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1291 => _1291.quickActions]), () => ( guideSuggestedActions)),
|
|
50663
50658
|
onQuickAction: (action) => {
|
|
50664
50659
|
setQuickActionPreview(null);
|
|
50665
50660
|
handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
|
|
@@ -51768,5 +51763,5 @@ function EmbeddableChatInner({
|
|
|
51768
51763
|
|
|
51769
51764
|
|
|
51770
51765
|
|
|
51771
|
-
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.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.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.BackToLoginLink = BackToLoginLink; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.TermsAgreementLabel = TermsAgreementLabel; exports.AcceptInvitationForm = AcceptInvitationForm; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.PasswordInput = PasswordInput; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.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;
|
|
51772
|
-
//# sourceMappingURL=chunk-
|
|
51766
|
+
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.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.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.BackToLoginLink = BackToLoginLink; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.AcceptInvitationForm = AcceptInvitationForm; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.PasswordInput = PasswordInput; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.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;
|
|
51767
|
+
//# sourceMappingURL=chunk-VQCV3GGI.cjs.map
|