@flamingo-stack/openframe-frontend-core 0.0.705 → 0.0.706-snapshot.20261006190707
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-4KX6OED2.cjs → chunk-2G7UYK35.cjs} +46 -46
- package/dist/{chunk-KOWVJD4V.cjs → chunk-2KXTOP6G.cjs} +70 -57
- package/dist/{chunk-A75QY6CD.cjs → chunk-2RNB5DTN.cjs} +21 -21
- package/dist/{chunk-PN2RKPDF.js → chunk-36BCTE7D.js} +10 -10
- package/dist/{chunk-ZSAGLQOD.cjs → chunk-3AHTOSXJ.cjs} +17 -17
- package/dist/{chunk-VR2ZLFCP.js → chunk-4IBPRIQH.js} +1 -1
- package/dist/{chunk-FCGC42TS.js → chunk-4L6XCMOU.js} +66 -62
- package/dist/{chunk-X5MQ7JRP.js → chunk-4UM2ETLM.js} +9 -9
- package/dist/{chunk-6NJKKO73.cjs → chunk-6I4ZAFO2.cjs} +15 -15
- package/dist/{chunk-RBDP4WDE.js → chunk-6IW7TWPV.js} +6 -6
- package/dist/{chunk-MMOODW57.cjs → chunk-6NTPY5QA.cjs} +1887 -94
- package/dist/{chunk-QFXRPRFT.js → chunk-6YKAT7NV.js} +3 -3
- package/dist/{chunk-HPWWNJE7.cjs → chunk-AOWDNSTM.cjs} +89 -89
- package/dist/{chunk-IHERL5V4.cjs → chunk-B73373AG.cjs} +34 -34
- package/dist/{chunk-DENB2XJC.js → chunk-CNWOMQQJ.js} +2 -2
- package/dist/{chunk-MP2C3LJ4.js → chunk-CUME3VTQ.js} +1 -1
- package/dist/{chunk-PDWVPI3S.js → chunk-CZ7Y7UG4.js} +4 -72
- package/dist/{chunk-YHM5AWTT.js → chunk-CZSZSDD4.js} +6 -6
- package/dist/{chunk-F6I6XZMN.js → chunk-DA5UDTLG.js} +5 -5
- package/dist/{chunk-MFFCUVWG.js → chunk-F57ECE2I.js} +1 -1
- package/dist/{chunk-CH5232HV.js → chunk-FI6GMDO7.js} +2455 -662
- package/dist/{chunk-NDESEPW5.js → chunk-FXJ3WWUB.js} +68 -0
- package/dist/{chunk-G5A3PSPV.js → chunk-HDOYSEOJ.js} +1080 -691
- package/dist/{chunk-VA5T32XA.js → chunk-I3ST4PLM.js} +2 -2
- package/dist/{chunk-5HBHO5TB.js → chunk-JPG7OHEG.js} +1 -1
- package/dist/{chunk-YFBM2K6X.cjs → chunk-JRU2CXLB.cjs} +4 -4
- package/dist/{chunk-MKXO4Q5P.js → chunk-KUC673HM.js} +383 -142
- package/dist/{chunk-JEZKGCZI.cjs → chunk-L6Y6OOKG.cjs} +26 -26
- package/dist/{chunk-F6AFPNDF.js → chunk-LFFB6EMB.js} +29 -16
- package/dist/{chunk-X72J4ACL.cjs → chunk-LLSUVPQC.cjs} +252 -8
- package/dist/{chunk-RKV5B7EU.cjs → chunk-LM7TXMLU.cjs} +72 -4
- package/dist/{chunk-6SEANMOU.js → chunk-LNW45N2C.js} +11 -11
- package/dist/{chunk-OUY3HHW6.cjs → chunk-LRQTJOF2.cjs} +928 -539
- package/dist/{chunk-DW7G4KG3.js → chunk-MR3A4MZV.js} +3 -3
- package/dist/{chunk-2YXVWZVF.js → chunk-N45D4ZXQ.js} +959 -715
- package/dist/{chunk-Z2VNQQ74.js → chunk-NCPTID44.js} +978 -942
- package/dist/{chunk-WA6GUYQ4.cjs → chunk-NSGXARGJ.cjs} +104 -104
- package/dist/{chunk-ABU3TGXA.cjs → chunk-OF6GEI5A.cjs} +3 -3
- package/dist/{chunk-IKTQ3ZAG.cjs → chunk-OJLR5MEO.cjs} +6 -6
- package/dist/{chunk-VESKITRQ.cjs → chunk-P42V6N34.cjs} +736 -732
- package/dist/{chunk-OHFS7VOU.cjs → chunk-PLYEKV3N.cjs} +2 -2
- package/dist/{chunk-7VVFKJY5.js → chunk-PO33GZVY.js} +1799 -3449
- package/dist/{chunk-7LS22BZU.cjs → chunk-QAOFMK2A.cjs} +14 -14
- package/dist/{chunk-VHCACDKP.cjs → chunk-RQRX4YC3.cjs} +39 -39
- package/dist/{chunk-3MX5S4CF.cjs → chunk-SEXWHIMS.cjs} +899 -2549
- package/dist/{chunk-AQWZNP6A.js → chunk-SS5MBHDP.js} +4 -4
- package/dist/{chunk-ZSAO2HBW.js → chunk-TDYIREDJ.js} +15 -15
- package/dist/{chunk-XOYH2YQE.cjs → chunk-UDFRUKLC.cjs} +2 -2
- package/dist/{chunk-TYWLNCNH.cjs → chunk-UVTD52MD.cjs} +14 -82
- package/dist/{chunk-N3COXDBH.cjs → chunk-VX4E6YSB.cjs} +41 -5
- package/dist/{chunk-2QEUFXNS.cjs → chunk-WCVZCGK5.cjs} +312 -71
- package/dist/{chunk-6XIF2Z7I.js → chunk-WMX26HB5.js} +3 -3
- package/dist/{chunk-D7BTSVMS.cjs → chunk-Y2GSOUCS.cjs} +2 -2
- package/dist/{chunk-4I45Y3DN.cjs → chunk-YBUT4AMG.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +30 -32
- package/dist/components/case-studies/index.js +14 -16
- package/dist/components/chat/entity-cards/case-study-card.d.ts +11 -4
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +11 -11
- package/dist/components/chat/index.d.ts +1 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +16 -16
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts +34 -5
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +12 -14
- package/dist/components/contact/index.js +11 -13
- package/dist/components/docs/index.cjs +15 -17
- package/dist/components/docs/index.js +14 -16
- package/dist/components/embeds/index.cjs +12 -14
- package/dist/components/embeds/index.js +11 -13
- package/dist/components/faq/index.cjs +13 -15
- package/dist/components/faq/index.js +12 -14
- package/dist/components/features/index.cjs +12 -14
- package/dist/components/features/index.js +21 -23
- package/dist/components/help-center-pages/index.cjs +118 -120
- package/dist/components/help-center-pages/index.js +33 -35
- package/dist/components/icons/index.cjs +3 -5
- package/dist/components/icons/index.js +9 -11
- package/dist/components/icons-v2-generated/index.cjs +3 -5
- package/dist/components/icons-v2-generated/index.js +2 -4
- package/dist/components/index.cjs +87 -158
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +331 -402
- package/dist/components/loading/page-layout-skeleton.d.ts +1 -1
- package/dist/components/meeting-scheduler/index.cjs +62 -64
- package/dist/components/meeting-scheduler/index.js +12 -14
- package/dist/components/navigation/index.cjs +28 -16
- package/dist/components/navigation/index.d.ts +14 -10
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +38 -26
- package/dist/components/navigation/mingo-ai-button.d.ts +38 -3
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/mobile-nav-sheet-id.d.ts +3 -0
- package/dist/components/navigation/mobile-nav-sheet-id.d.ts.map +1 -0
- package/dist/components/navigation/mobile-nav-sheet.d.ts +48 -0
- package/dist/components/navigation/mobile-nav-sheet.d.ts.map +1 -0
- package/dist/components/navigation/nav-item-row.d.ts +27 -0
- package/dist/components/navigation/nav-item-row.d.ts.map +1 -0
- package/dist/components/navigation/nav-panel.d.ts +43 -0
- package/dist/components/navigation/nav-panel.d.ts.map +1 -0
- package/dist/components/navigation/navigation-sidebar-item.d.ts +1 -2
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/navigation/site-footer.d.ts +28 -0
- package/dist/components/navigation/site-footer.d.ts.map +1 -0
- package/dist/components/navigation/site-header.d.ts +61 -0
- package/dist/components/navigation/site-header.d.ts.map +1 -0
- package/dist/components/navigation/site-nav-link.d.ts +26 -0
- package/dist/components/navigation/site-nav-link.d.ts.map +1 -0
- package/dist/components/navigation/top-navigation.d.ts +2 -2
- package/dist/components/navigation/top-navigation.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +15 -17
- package/dist/components/onboarding-guides/index.js +14 -16
- package/dist/components/platform/ToolBadge.d.ts +6 -0
- package/dist/components/platform/ToolBadge.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +10 -8
- package/dist/components/related-content/index.js +9 -7
- package/dist/components/tickets/index.cjs +16 -18
- package/dist/components/tickets/index.js +15 -17
- package/dist/components/ui/brand-association-card.d.ts +7 -0
- package/dist/components/ui/brand-association-card.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +14 -14
- package/dist/components/ui/index.js +19 -19
- package/dist/hooks/index.cjs +19 -11
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +19 -11
- package/dist/hooks/ui/index.d.ts +3 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-active-section.d.ts +10 -0
- package/dist/hooks/ui/use-active-section.d.ts.map +1 -0
- package/dist/hooks/ui/use-nav-menus.d.ts +48 -0
- package/dist/hooks/ui/use-nav-menus.d.ts.map +1 -0
- package/dist/hooks/ui/use-visitor-os.d.ts +15 -0
- package/dist/hooks/ui/use-visitor-os.d.ts.map +1 -0
- package/dist/hooks/use-location-hash.d.ts +9 -0
- package/dist/hooks/use-location-hash.d.ts.map +1 -0
- package/dist/index.cjs +56 -21
- package/dist/index.js +231 -196
- package/dist/types/case-study.d.ts +9 -0
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/types/navigation.d.ts +95 -65
- package/dist/types/navigation.d.ts.map +1 -1
- package/dist/utils/index.cjs +55 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +50 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/visitor-os.d.ts +45 -0
- package/dist/utils/visitor-os.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/entity-cards/case-study-card.tsx +115 -5
- package/src/components/chat/index.ts +7 -1
- package/src/components/chat/nav-link-anchor-via-runtime.tsx +62 -9
- package/src/components/chat/utils/icon-library.tsx +35 -1
- package/src/components/index.ts +0 -2
- package/src/components/loading/page-layout-skeleton.tsx +1 -1
- package/src/components/navigation/index.ts +21 -14
- package/src/components/navigation/mingo-ai-button.tsx +139 -63
- package/src/components/navigation/mobile-nav-sheet-id.ts +2 -0
- package/src/components/navigation/mobile-nav-sheet.tsx +241 -0
- package/src/components/navigation/nav-item-row.tsx +129 -0
- package/src/components/navigation/nav-panel.tsx +196 -0
- package/src/components/navigation/navigation-sidebar-item.tsx +1 -2
- package/src/components/navigation/site-footer.tsx +256 -0
- package/src/components/navigation/site-header.tsx +339 -0
- package/src/components/navigation/site-nav-link.tsx +41 -0
- package/src/components/navigation/ticket-alerts-button.tsx +2 -2
- package/src/components/navigation/top-navigation.tsx +2 -2
- package/src/components/platform/ToolBadge.tsx +18 -1
- package/src/components/ui/brand-association-card.tsx +25 -3
- package/src/hooks/index.ts +1 -0
- package/src/hooks/ui/index.ts +3 -0
- package/src/hooks/ui/use-active-section.ts +44 -0
- package/src/hooks/ui/use-nav-menus.ts +200 -0
- package/src/hooks/ui/use-visitor-os.ts +33 -0
- package/src/hooks/use-location-hash.ts +34 -0
- package/src/styles/chat-animations.css +57 -2
- package/src/types/case-study.ts +16 -0
- package/src/types/navigation.ts +80 -66
- package/src/utils/index.ts +1 -0
- package/src/utils/source-icons.ts +13 -0
- package/src/utils/visitor-os.ts +84 -0
- package/dist/chunk-LMBC5FFP.js +0 -43
- package/dist/chunk-O43V3EOS.js +0 -252
- package/dist/chunk-QZVSJF2K.cjs +0 -252
- package/dist/chunk-RALRPFDW.cjs +0 -43
- package/dist/components/footer-waitlist-button.d.ts +0 -29
- package/dist/components/footer-waitlist-button.d.ts.map +0 -1
- package/dist/components/footer.d.ts +0 -47
- package/dist/components/footer.d.ts.map +0 -1
- package/dist/components/navigation/client-only-header.d.ts +0 -8
- package/dist/components/navigation/client-only-header.d.ts.map +0 -1
- package/dist/components/navigation/header-skeleton.d.ts +0 -12
- package/dist/components/navigation/header-skeleton.d.ts.map +0 -1
- package/dist/components/navigation/header.d.ts +0 -9
- package/dist/components/navigation/header.d.ts.map +0 -1
- package/dist/components/navigation/mobile-nav-panel.d.ts +0 -10
- package/dist/components/navigation/mobile-nav-panel.d.ts.map +0 -1
- package/src/components/footer-waitlist-button.tsx +0 -53
- package/src/components/footer.tsx +0 -195
- package/src/components/navigation/client-only-header.tsx +0 -22
- package/src/components/navigation/header-skeleton.tsx +0 -74
- package/src/components/navigation/header.tsx +0 -429
- package/src/components/navigation/mobile-nav-panel.tsx +0 -155
|
@@ -8,21 +8,21 @@ import {
|
|
|
8
8
|
SelectTrigger,
|
|
9
9
|
SelectValue,
|
|
10
10
|
Textarea
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4L6XCMOU.js";
|
|
12
12
|
import {
|
|
13
13
|
useContactSubmission,
|
|
14
14
|
useHumanitySignals,
|
|
15
15
|
useRescuedForm
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KUC673HM.js";
|
|
17
17
|
import {
|
|
18
18
|
ChatAttachmentAddButton,
|
|
19
19
|
ChatAttachmentChipStrip,
|
|
20
20
|
useChatAttachments
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PO33GZVY.js";
|
|
22
22
|
import {
|
|
23
23
|
SECTION_HEADING_CLASS,
|
|
24
24
|
accentSentenceMarks
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FI6GMDO7.js";
|
|
26
26
|
import {
|
|
27
27
|
Input,
|
|
28
28
|
Label,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
PersistentPaginationWrapper
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JPG7OHEG.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
ListEmptyState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MR3A4MZV.js";
|
|
9
9
|
import {
|
|
10
10
|
EmptyState
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F57ECE2I.js";
|
|
12
12
|
import {
|
|
13
13
|
DetailPageSkeleton
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-I3ST4PLM.js";
|
|
15
15
|
import {
|
|
16
16
|
useSelfFetch
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4IBPRIQH.js";
|
|
18
18
|
import {
|
|
19
19
|
Accordion,
|
|
20
20
|
AccordionContent,
|
|
@@ -30,34 +30,30 @@ import {
|
|
|
30
30
|
RichMarkdownRenderer,
|
|
31
31
|
devSectionAnchorId,
|
|
32
32
|
resolveContentHref
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4L6XCMOU.js";
|
|
34
34
|
import {
|
|
35
35
|
useHumanitySignals,
|
|
36
36
|
useScrollToHash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-KUC673HM.js";
|
|
38
38
|
import {
|
|
39
39
|
contentFetch,
|
|
40
40
|
pageCount,
|
|
41
41
|
positiveInt
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CUME3VTQ.js";
|
|
43
43
|
import {
|
|
44
|
-
Video,
|
|
45
44
|
executeNavigationImperative,
|
|
46
45
|
isModifierClick,
|
|
47
46
|
useCaptions,
|
|
48
47
|
useIsHydrated
|
|
49
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-PO33GZVY.js";
|
|
50
49
|
import {
|
|
51
50
|
STICKY_HEADER_OFFSET_PX
|
|
52
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CZ7Y7UG4.js";
|
|
53
52
|
import {
|
|
54
53
|
usePathname,
|
|
55
54
|
useRouter,
|
|
56
55
|
useSearchParams
|
|
57
56
|
} from "./chunk-GY4IZG22.js";
|
|
58
|
-
import {
|
|
59
|
-
GitHubIcon
|
|
60
|
-
} from "./chunk-2YXVWZVF.js";
|
|
61
57
|
import {
|
|
62
58
|
CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
63
59
|
Card,
|
|
@@ -68,15 +64,19 @@ import {
|
|
|
68
64
|
ProductReleaseCard,
|
|
69
65
|
ProductReleaseCardSkeleton,
|
|
70
66
|
RoadmapCard,
|
|
67
|
+
Video,
|
|
71
68
|
buildProductReleaseCardProps,
|
|
72
69
|
formatLegalDate,
|
|
73
70
|
formatReleaseDate,
|
|
74
71
|
toStripProfile,
|
|
75
72
|
useEntityCardLink
|
|
76
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-FI6GMDO7.js";
|
|
77
74
|
import {
|
|
78
75
|
next_image_default
|
|
79
76
|
} from "./chunk-FBZMAPWO.js";
|
|
77
|
+
import {
|
|
78
|
+
GitHubIcon
|
|
79
|
+
} from "./chunk-N45D4ZXQ.js";
|
|
80
80
|
import {
|
|
81
81
|
useChatRuntime
|
|
82
82
|
} from "./chunk-E4ABZWTJ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
|
|
5
5
|
|
|
6
6
|
// src/hooks/use-self-fetch.ts
|
|
7
7
|
var _react = require('react');
|
|
@@ -34,7 +34,7 @@ function useSelfFetch(url, options) {
|
|
|
34
34
|
try {
|
|
35
35
|
setIsLoading(true);
|
|
36
36
|
setError(false);
|
|
37
|
-
const res = await
|
|
37
|
+
const res = await _chunkOF6GEI5Acjs.contentFetch.call(void 0, url, { signal: ctrl.signal });
|
|
38
38
|
if (!res.ok) throw new Error(`Request failed (${res.status})`);
|
|
39
39
|
const json = await res.json();
|
|
40
40
|
if (!cancelled) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
var _chunkLM7TXMLUcjs = require('./chunk-LM7TXMLU.cjs');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
var _chunkN3COXDBHcjs = require('./chunk-N3COXDBH.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
14
14
|
|
|
15
15
|
// src/hooks/ui/use-debounce.ts
|
|
16
16
|
var _react = require('react');
|
|
@@ -184,10 +184,10 @@ function useSuppressCloneFocus(active) {
|
|
|
184
184
|
// src/hooks/ui/use-prefers-reduced-motion.ts
|
|
185
185
|
var PREFERS_REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
|
|
186
186
|
function usePrefersReducedMotion() {
|
|
187
|
-
return
|
|
187
|
+
return _chunkLM7TXMLUcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY) === true;
|
|
188
188
|
}
|
|
189
189
|
function usePrefersReducedMotionState() {
|
|
190
|
-
return
|
|
190
|
+
return _chunkLM7TXMLUcjs.useMediaQuery.call(void 0, PREFERS_REDUCED_MOTION_QUERY);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
// src/hooks/ui/use-in-view.ts
|
|
@@ -291,19 +291,19 @@ var toolLabels = {
|
|
|
291
291
|
|
|
292
292
|
// src/components/tool-icon.tsx
|
|
293
293
|
var _jsxruntime = require('react/jsx-runtime');
|
|
294
|
-
var renderOpenFrameLogo = (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
var renderOpenFrameLogo = (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.OpenframeLogoGreyIcon, { size, className });
|
|
295
295
|
var toolIconMap = {
|
|
296
|
-
[ToolTypeValues.FLEET_MDM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
-
[ToolTypeValues.MESHCENTRAL]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
296
|
+
[ToolTypeValues.FLEET_MDM]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FleetMdmLogoGreyIcon, { size, className }),
|
|
297
|
+
[ToolTypeValues.MESHCENTRAL]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.MeshcentralLogoGreyIcon, { size, className }),
|
|
298
298
|
[ToolTypeValues.OPENFRAME]: renderOpenFrameLogo,
|
|
299
299
|
[ToolTypeValues.OPENFRAME_CHAT]: renderOpenFrameLogo,
|
|
300
300
|
[ToolTypeValues.OPENFRAME_CLIENT]: renderOpenFrameLogo,
|
|
301
301
|
[ToolTypeValues.OPENFRAME_RMM]: renderOpenFrameLogo,
|
|
302
|
-
[ToolTypeValues.AUTHENTIK]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
303
|
-
[ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
302
|
+
[ToolTypeValues.AUTHENTIK]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.AuthentikLogoGreyIcon, { size, className }),
|
|
303
|
+
[ToolTypeValues.OSQUERY]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.OsqueryLogoGreyIcon, { size, className }),
|
|
304
304
|
[ToolTypeValues.SYSTEM]: () => null,
|
|
305
|
-
[ToolTypeValues.MICROSOFT_365]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
306
|
-
[ToolTypeValues.GOOGLE_WORKSPACE]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
305
|
+
[ToolTypeValues.MICROSOFT_365]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.Office365LogoGreyIcon, { size, className }),
|
|
306
|
+
[ToolTypeValues.GOOGLE_WORKSPACE]: (size, className) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.GoogleLogoGreyIcon, { size, className })
|
|
307
307
|
};
|
|
308
308
|
var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([toolIconMap, 'access', _14 => _14[toolType], 'optionalCall', _15 => _15(size, className)]), () => ( null)) });
|
|
309
309
|
ToolIcon.displayName = "ToolIcon";
|
|
@@ -368,72 +368,6 @@ function pick(source, keys) {
|
|
|
368
368
|
}
|
|
369
369
|
var NO_CLIENT_CACHE = { staleTime: 0 };
|
|
370
370
|
|
|
371
|
-
// src/hooks/use-near-viewport.ts
|
|
372
|
-
|
|
373
|
-
var observers = /* @__PURE__ */ new Map();
|
|
374
|
-
var subscribers = /* @__PURE__ */ new WeakMap();
|
|
375
|
-
var THRESHOLD_EPSILON = 0.01;
|
|
376
|
-
function observerKey(rootMargin, threshold) {
|
|
377
|
-
return `${rootMargin}|${threshold}`;
|
|
378
|
-
}
|
|
379
|
-
function getObserverFor(rootMargin, threshold) {
|
|
380
|
-
const key = observerKey(rootMargin, threshold);
|
|
381
|
-
const existing = observers.get(key);
|
|
382
|
-
if (existing) return existing;
|
|
383
|
-
const io = new IntersectionObserver(
|
|
384
|
-
(entries) => {
|
|
385
|
-
entries.forEach((entry) => {
|
|
386
|
-
if (!entry.isIntersecting) return;
|
|
387
|
-
if (entry.intersectionRatio < threshold - THRESHOLD_EPSILON) return;
|
|
388
|
-
const cb = subscribers.get(entry.target);
|
|
389
|
-
if (cb) {
|
|
390
|
-
cb();
|
|
391
|
-
io.unobserve(entry.target);
|
|
392
|
-
subscribers.delete(entry.target);
|
|
393
|
-
}
|
|
394
|
-
});
|
|
395
|
-
},
|
|
396
|
-
{ rootMargin, threshold }
|
|
397
|
-
);
|
|
398
|
-
observers.set(key, io);
|
|
399
|
-
return io;
|
|
400
|
-
}
|
|
401
|
-
var NEAR_VIEWPORT_ROOT_MARGIN = "500px";
|
|
402
|
-
function useNearViewport(rootMargin = NEAR_VIEWPORT_ROOT_MARGIN, threshold = 0) {
|
|
403
|
-
const [isNear, setIsNear] = _react.useState.call(void 0, false);
|
|
404
|
-
const elRef = _react.useRef.call(void 0, null);
|
|
405
|
-
const key = observerKey(rootMargin, threshold);
|
|
406
|
-
const ref = _react.useCallback.call(void 0,
|
|
407
|
-
(node) => {
|
|
408
|
-
const prev = elRef.current;
|
|
409
|
-
if (prev) {
|
|
410
|
-
const stillOurs = subscribers.get(prev);
|
|
411
|
-
if (stillOurs) {
|
|
412
|
-
subscribers.delete(prev);
|
|
413
|
-
_optionalChain([observers, 'access', _16 => _16.get, 'call', _17 => _17(key), 'optionalAccess', _18 => _18.unobserve, 'call', _19 => _19(prev)]);
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
elRef.current = node;
|
|
417
|
-
if (!node) return;
|
|
418
|
-
const cb = () => setIsNear(true);
|
|
419
|
-
subscribers.set(node, cb);
|
|
420
|
-
getObserverFor(rootMargin, threshold).observe(node);
|
|
421
|
-
},
|
|
422
|
-
[key, rootMargin, threshold]
|
|
423
|
-
);
|
|
424
|
-
_react.useEffect.call(void 0, () => {
|
|
425
|
-
return () => {
|
|
426
|
-
const el = elRef.current;
|
|
427
|
-
if (!el) return;
|
|
428
|
-
if (subscribers.get(el)) {
|
|
429
|
-
subscribers.delete(el);
|
|
430
|
-
_optionalChain([observers, 'access', _20 => _20.get, 'call', _21 => _21(key), 'optionalAccess', _22 => _22.unobserve, 'call', _23 => _23(el)]);
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
}, [key]);
|
|
434
|
-
return { ref, isNear };
|
|
435
|
-
}
|
|
436
|
-
|
|
437
371
|
// src/utils/markdown-fences.ts
|
|
438
372
|
var FENCE_RE = /^ {0,3}(`{3,}|~{3,})([^\n]*?)\r?$/;
|
|
439
373
|
var BLANK_LINE_RE = /^[ \t\r]*$/;
|
|
@@ -495,7 +429,7 @@ function scanHeadings(content, options = {}) {
|
|
|
495
429
|
const lines = content.split("\n");
|
|
496
430
|
const fences = skipFences ? createFenceTracker() : null;
|
|
497
431
|
let start = 0;
|
|
498
|
-
if (skipFrontmatter && _optionalChain([lines, 'access',
|
|
432
|
+
if (skipFrontmatter && _optionalChain([lines, 'access', _16 => _16[0], 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) === "---") {
|
|
499
433
|
for (let i = 1; i < lines.length; i++) {
|
|
500
434
|
if (lines[i].trim() === "---" || lines[i].trim() === "...") {
|
|
501
435
|
start = i + 1;
|
|
@@ -513,7 +447,7 @@ function scanHeadings(content, options = {}) {
|
|
|
513
447
|
continue;
|
|
514
448
|
}
|
|
515
449
|
}
|
|
516
|
-
const prefix = _nullishCoalesce(_optionalChain([CONTAINER_PREFIX_RE, 'access',
|
|
450
|
+
const prefix = _nullishCoalesce(_optionalChain([CONTAINER_PREFIX_RE, 'access', _19 => _19.exec, 'call', _20 => _20(line), 'optionalAccess', _21 => _21[0]]), () => ( ""));
|
|
517
451
|
const body = prefix ? line.slice(prefix.length) : line;
|
|
518
452
|
const setext = SETEXT_UNDERLINE_RE.exec(body);
|
|
519
453
|
if (setext) {
|
|
@@ -795,6 +729,4 @@ function navigateSamePageHash(target, options = {}) {
|
|
|
795
729
|
|
|
796
730
|
|
|
797
731
|
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
exports.useDebounce = useDebounce; exports.useHeaderHeight = useHeaderHeight; exports.useMarqueeEngine = useMarqueeEngine; exports.useResetOnPageHidden = useResetOnPageHidden; exports.useSuppressCloneFocus = useSuppressCloneFocus; exports.PREFERS_REDUCED_MOTION_QUERY = PREFERS_REDUCED_MOTION_QUERY; exports.usePrefersReducedMotion = usePrefersReducedMotion; exports.usePrefersReducedMotionState = usePrefersReducedMotionState; exports.useInView = useInView; exports.useAutoplay = useAutoplay; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.ToolIcon = ToolIcon; exports.errorMessage = errorMessage; exports.apiErrorMessage = apiErrorMessage; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.clamp = clamp; exports.pick = pick; exports.NO_CLIENT_CACHE = NO_CLIENT_CACHE; exports.NEAR_VIEWPORT_ROOT_MARGIN = NEAR_VIEWPORT_ROOT_MARGIN; exports.useNearViewport = useNearViewport; exports.isBlankLine = isBlankLine; exports.createFenceTracker = createFenceTracker; exports.HEADING_EMOJI_RE = HEADING_EMOJI_RE; exports.stripHeadingEmojis = stripHeadingEmojis; exports.slugifyHeadingBase = slugifyHeadingBase; exports.slugifyHeadingText = slugifyHeadingText; exports.scanHeadings = scanHeadings; exports.createHeadingIdDeduper = createHeadingIdDeduper; exports.normalizeAnchorId = normalizeAnchorId; exports.findAnchorElementByNormalizedId = findAnchorElementByNormalizedId; exports.getScrollableAncestor = getScrollableAncestor; exports.scrollElementIntoView = scrollElementIntoView; exports.STICKY_HEADER_OFFSET_PX = STICKY_HEADER_OFFSET_PX; exports.HUB_HEADER_OFFSET_PX = HUB_HEADER_OFFSET_PX; exports.normalizeHashFragment = normalizeHashFragment; exports.getHashTargetElement = getHashTargetElement; exports.navigateSamePageHash = navigateSamePageHash;
|
|
732
|
+
exports.useDebounce = useDebounce; exports.useHeaderHeight = useHeaderHeight; exports.useMarqueeEngine = useMarqueeEngine; exports.useResetOnPageHidden = useResetOnPageHidden; exports.useSuppressCloneFocus = useSuppressCloneFocus; exports.PREFERS_REDUCED_MOTION_QUERY = PREFERS_REDUCED_MOTION_QUERY; exports.usePrefersReducedMotion = usePrefersReducedMotion; exports.usePrefersReducedMotionState = usePrefersReducedMotionState; exports.useInView = useInView; exports.useAutoplay = useAutoplay; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.ToolIcon = ToolIcon; exports.errorMessage = errorMessage; exports.apiErrorMessage = apiErrorMessage; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.clamp = clamp; exports.pick = pick; exports.NO_CLIENT_CACHE = NO_CLIENT_CACHE; exports.isBlankLine = isBlankLine; exports.createFenceTracker = createFenceTracker; exports.HEADING_EMOJI_RE = HEADING_EMOJI_RE; exports.stripHeadingEmojis = stripHeadingEmojis; exports.slugifyHeadingBase = slugifyHeadingBase; exports.slugifyHeadingText = slugifyHeadingText; exports.scanHeadings = scanHeadings; exports.createHeadingIdDeduper = createHeadingIdDeduper; exports.normalizeAnchorId = normalizeAnchorId; exports.findAnchorElementByNormalizedId = findAnchorElementByNormalizedId; exports.getScrollableAncestor = getScrollableAncestor; exports.scrollElementIntoView = scrollElementIntoView; exports.STICKY_HEADER_OFFSET_PX = STICKY_HEADER_OFFSET_PX; exports.HUB_HEADER_OFFSET_PX = HUB_HEADER_OFFSET_PX; exports.normalizeHashFragment = normalizeHashFragment; exports.getHashTargetElement = getHashTargetElement; exports.navigateSamePageHash = navigateSamePageHash;
|