@burdenoff/microfe-cosmicintersection 2026.509.101
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/README.md +12 -0
- package/dist/cosmicintersection/CosmicIntersectionRoot.d.ts +5 -0
- package/dist/cosmicintersection/CosmicIntersectionRoot.d.ts.map +1 -0
- package/dist/cosmicintersection/CosmicIntersectionRoot.js +121 -0
- package/dist/cosmicintersection/CosmicIntersectionRoot.js.map +1 -0
- package/dist/cosmicintersection/CosmicIntersectionRoutes.d.ts +2 -0
- package/dist/cosmicintersection/CosmicIntersectionRoutes.d.ts.map +1 -0
- package/dist/cosmicintersection/CosmicIntersectionRoutes.js +71 -0
- package/dist/cosmicintersection/CosmicIntersectionRoutes.js.map +1 -0
- package/dist/cosmicintersection/index.d.ts +5 -0
- package/dist/cosmicintersection/index.d.ts.map +1 -0
- package/dist/cosmicintersection/index.js +3 -0
- package/dist/cosmicintersection/pages/AiDiscoveryPage.d.ts +2 -0
- package/dist/cosmicintersection/pages/AiDiscoveryPage.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/AiDiscoveryPage.js +363 -0
- package/dist/cosmicintersection/pages/AiDiscoveryPage.js.map +1 -0
- package/dist/cosmicintersection/pages/DashboardPage.d.ts +2 -0
- package/dist/cosmicintersection/pages/DashboardPage.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/DashboardPage.js +306 -0
- package/dist/cosmicintersection/pages/DashboardPage.js.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceCitizenPage.d.ts +2 -0
- package/dist/cosmicintersection/pages/SpaceScienceCitizenPage.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceCitizenPage.js +287 -0
- package/dist/cosmicintersection/pages/SpaceScienceCitizenPage.js.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceDataPage.d.ts +2 -0
- package/dist/cosmicintersection/pages/SpaceScienceDataPage.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceDataPage.js +385 -0
- package/dist/cosmicintersection/pages/SpaceScienceDataPage.js.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceDataPage1.d.ts +2 -0
- package/dist/cosmicintersection/pages/SpaceScienceDataPage1.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceDataPage1.js +420 -0
- package/dist/cosmicintersection/pages/SpaceScienceDataPage1.js.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceLearningPage.d.ts +2 -0
- package/dist/cosmicintersection/pages/SpaceScienceLearningPage.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceLearningPage.js +309 -0
- package/dist/cosmicintersection/pages/SpaceScienceLearningPage.js.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceLearningPage1.d.ts +2 -0
- package/dist/cosmicintersection/pages/SpaceScienceLearningPage1.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceLearningPage1.js +361 -0
- package/dist/cosmicintersection/pages/SpaceScienceLearningPage1.js.map +1 -0
- package/dist/cosmicintersection/pages/SpaceSciencePage.d.ts +2 -0
- package/dist/cosmicintersection/pages/SpaceSciencePage.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/SpaceSciencePage.js +194 -0
- package/dist/cosmicintersection/pages/SpaceSciencePage.js.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceResearchPage.d.ts +2 -0
- package/dist/cosmicintersection/pages/SpaceScienceResearchPage.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceResearchPage.js +290 -0
- package/dist/cosmicintersection/pages/SpaceScienceResearchPage.js.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceSimulationPage.d.ts +2 -0
- package/dist/cosmicintersection/pages/SpaceScienceSimulationPage.d.ts.map +1 -0
- package/dist/cosmicintersection/pages/SpaceScienceSimulationPage.js +279 -0
- package/dist/cosmicintersection/pages/SpaceScienceSimulationPage.js.map +1 -0
- package/dist/cosmicintersection/providers/CosmicIntersectionProvider.d.ts +6 -0
- package/dist/cosmicintersection/providers/CosmicIntersectionProvider.d.ts.map +1 -0
- package/dist/cosmicintersection/providers/CosmicIntersectionProvider.js +27 -0
- package/dist/cosmicintersection/providers/CosmicIntersectionProvider.js.map +1 -0
- package/dist/cosmicintersection/store/cosmicintersectionStore.d.ts +18 -0
- package/dist/cosmicintersection/store/cosmicintersectionStore.d.ts.map +1 -0
- package/dist/cosmicintersection/store/cosmicintersectionStore.js +478 -0
- package/dist/cosmicintersection/store/cosmicintersectionStore.js.map +1 -0
- package/dist/cosmicintersection/types/index.d.ts +109 -0
- package/dist/cosmicintersection/types/index.d.ts.map +1 -0
- package/dist/cosmicintersection/utils/cn.d.ts +4 -0
- package/dist/cosmicintersection/utils/cn.d.ts.map +1 -0
- package/dist/cosmicintersection/utils/i18n.d.ts +6 -0
- package/dist/cosmicintersection/utils/i18n.d.ts.map +1 -0
- package/dist/cosmicintersection/utils/i18n.js +15 -0
- package/dist/cosmicintersection/utils/i18n.js.map +1 -0
- package/dist/cosmicintersection/utils/navigation.d.ts +2 -0
- package/dist/cosmicintersection/utils/navigation.d.ts.map +1 -0
- package/dist/cosmicintersection/utils/navigation.js +8 -0
- package/dist/cosmicintersection/utils/navigation.js.map +1 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +18199 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +43046 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/package.json +107 -0
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# microfe-cosmicintersection
|
|
2
|
+
|
|
3
|
+
Part of the [Burdenoff](https://burdenoff.com) platform by
|
|
4
|
+
[AlgoShred](https://github.com/algoshred).
|
|
5
|
+
|
|
6
|
+
## Getting Started
|
|
7
|
+
|
|
8
|
+
See `AGENTS.md` for development commands and architecture details.
|
|
9
|
+
|
|
10
|
+
## License
|
|
11
|
+
|
|
12
|
+
Proprietary — Copyright Burdenoff Consultancy Services Pvt. Ltd.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CosmicIntersectionRoot.d.ts","sourceRoot":"","sources":["../../src/cosmicintersection/CosmicIntersectionRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAchC,OAAO,KAAK,EAAW,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAIpE,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAuHlE,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { CosmicIntersectionProvider as e } from "./providers/CosmicIntersectionProvider.js";
|
|
2
|
+
import { CosmicIntersectionRoutes as t } from "./CosmicIntersectionRoutes.js";
|
|
3
|
+
import { joinPath as n } from "./utils/navigation.js";
|
|
4
|
+
import { useEffect as r } from "react";
|
|
5
|
+
import { CreditCard as i, FileText as a, Folder as o, Home as s, LayoutDashboard as c, Mail as l } from "lucide-react";
|
|
6
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
7
|
+
import { FeatureFlagProvider as d } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
8
|
+
//#region src/cosmicintersection/CosmicIntersectionRoot.tsx
|
|
9
|
+
var f = (f) => {
|
|
10
|
+
let { registerNavItems: p, registerFooterItems: m, basePath: h = "/" } = f;
|
|
11
|
+
return r(() => {
|
|
12
|
+
if (p) return p({
|
|
13
|
+
id: "cosmicintersection",
|
|
14
|
+
label: "CosmicIntersection",
|
|
15
|
+
path: h,
|
|
16
|
+
icon: /* @__PURE__ */ u(c, { size: 20 }),
|
|
17
|
+
order: 80,
|
|
18
|
+
group: "products",
|
|
19
|
+
children: [
|
|
20
|
+
{
|
|
21
|
+
id: "cosmicintersection-dashboard",
|
|
22
|
+
label: "Dashboard",
|
|
23
|
+
path: h,
|
|
24
|
+
icon: /* @__PURE__ */ u(c, { size: 16 }),
|
|
25
|
+
order: 0
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: "cosmicintersection-ai-discovery",
|
|
29
|
+
label: "Ai Discovery",
|
|
30
|
+
path: n(h, "ai-discovery"),
|
|
31
|
+
icon: /* @__PURE__ */ u(a, { size: 16 })
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: "cosmicintersection-space-science",
|
|
35
|
+
label: "Space Science",
|
|
36
|
+
path: n(h, "space-science"),
|
|
37
|
+
icon: /* @__PURE__ */ u(o, { size: 16 }),
|
|
38
|
+
children: [{
|
|
39
|
+
id: "cosmicintersection-space-science-data",
|
|
40
|
+
label: "Data",
|
|
41
|
+
path: n(h, "data"),
|
|
42
|
+
icon: /* @__PURE__ */ u(a, { size: 16 })
|
|
43
|
+
}, {
|
|
44
|
+
id: "cosmicintersection-space-science-learning",
|
|
45
|
+
label: "Learning",
|
|
46
|
+
path: n(h, "learning"),
|
|
47
|
+
icon: /* @__PURE__ */ u(a, { size: 16 })
|
|
48
|
+
}]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: "cosmicintersection-space-science-citizen",
|
|
52
|
+
label: "Space Science Citizen",
|
|
53
|
+
path: n(h, "space-science-citizen"),
|
|
54
|
+
icon: /* @__PURE__ */ u(a, { size: 16 })
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "cosmicintersection-space-science-data",
|
|
58
|
+
label: "Space Science Data",
|
|
59
|
+
path: n(h, "space-science-data"),
|
|
60
|
+
icon: /* @__PURE__ */ u(a, { size: 16 })
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "cosmicintersection-space-science-learning",
|
|
64
|
+
label: "Space Science Learning",
|
|
65
|
+
path: n(h, "space-science-learning"),
|
|
66
|
+
icon: /* @__PURE__ */ u(a, { size: 16 })
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: "cosmicintersection-space-science-research",
|
|
70
|
+
label: "Space Science Research",
|
|
71
|
+
path: n(h, "space-science-research"),
|
|
72
|
+
icon: /* @__PURE__ */ u(a, { size: 16 })
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: "cosmicintersection-space-science-simulation",
|
|
76
|
+
label: "Space Science Simulation",
|
|
77
|
+
path: n(h, "space-science-simulation"),
|
|
78
|
+
icon: /* @__PURE__ */ u(a, { size: 16 })
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: "cosmicintersection-home",
|
|
82
|
+
label: "Home",
|
|
83
|
+
path: n(h, "home"),
|
|
84
|
+
icon: /* @__PURE__ */ u(s, { size: 16 })
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "cosmicintersection-pricing",
|
|
88
|
+
label: "Pricing",
|
|
89
|
+
path: n(h, "pricing"),
|
|
90
|
+
icon: /* @__PURE__ */ u(i, { size: 16 })
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: "cosmicintersection-contact",
|
|
94
|
+
label: "Contact",
|
|
95
|
+
path: n(h, "contact"),
|
|
96
|
+
icon: /* @__PURE__ */ u(l, { size: 16 })
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
});
|
|
100
|
+
}, [p, h]), r(() => {
|
|
101
|
+
if (m) return m([{
|
|
102
|
+
id: "cosmicintersection-status",
|
|
103
|
+
label: "CosmicIntersection Ready",
|
|
104
|
+
type: "status",
|
|
105
|
+
section: "left",
|
|
106
|
+
order: 10
|
|
107
|
+
}]);
|
|
108
|
+
}, [m]), /* @__PURE__ */ u(d, {
|
|
109
|
+
workspaceId: null,
|
|
110
|
+
gateway: "global",
|
|
111
|
+
defaultEnabled: !0,
|
|
112
|
+
children: /* @__PURE__ */ u(e, {
|
|
113
|
+
...f,
|
|
114
|
+
children: /* @__PURE__ */ u(t, {})
|
|
115
|
+
})
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
//#endregion
|
|
119
|
+
export { f as CosmicIntersectionRoot };
|
|
120
|
+
|
|
121
|
+
//# sourceMappingURL=CosmicIntersectionRoot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CosmicIntersectionRoot.js","names":[],"sources":["../../src/cosmicintersection/CosmicIntersectionRoot.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport { useEffect } from 'react';\nimport {\n LayoutDashboard,\n Folder,\n FileText,\n Settings,\n Users,\n Home,\n CreditCard,\n Mail,\n} from 'lucide-react';\nimport { CosmicIntersectionProvider } from './providers/CosmicIntersectionProvider';\nimport { FeatureFlagProvider } from '@burdenoff/fe-libs/shared/feature-flags';\nimport type { NavItem, CosmicIntersectionRootProps } from './types';\nimport { CosmicIntersectionRoutes } from './CosmicIntersectionRoutes';\nimport { joinPath } from './utils/navigation';\n\nexport const CosmicIntersectionRoot: FC<CosmicIntersectionRootProps> = (props) => {\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n\n useEffect(() => {\n if (!registerNavItems) return;\n const navItem: NavItem = {\n id: 'cosmicintersection',\n label: 'CosmicIntersection',\n path: basePath,\n icon: <LayoutDashboard size={20} />,\n order: 80, // Dynamic order handled elsewhere or fixed\n group: 'products',\n children: [\n {\n id: 'cosmicintersection-dashboard',\n label: 'Dashboard',\n path: basePath,\n icon: <LayoutDashboard size={16} />,\n order: 0,\n },\n {\n id: 'cosmicintersection-ai-discovery',\n label: 'Ai Discovery',\n path: joinPath(basePath, 'ai-discovery'),\n icon: <FileText size={16} />,\n },\n {\n id: 'cosmicintersection-space-science',\n label: 'Space Science',\n path: joinPath(basePath, 'space-science'),\n icon: <Folder size={16} />,\n children: [\n {\n id: 'cosmicintersection-space-science-data',\n label: 'Data',\n path: joinPath(basePath, 'data'),\n icon: <FileText size={16} />,\n },\n {\n id: 'cosmicintersection-space-science-learning',\n label: 'Learning',\n path: joinPath(basePath, 'learning'),\n icon: <FileText size={16} />,\n },\n ],\n },\n {\n id: 'cosmicintersection-space-science-citizen',\n label: 'Space Science Citizen',\n path: joinPath(basePath, 'space-science-citizen'),\n icon: <FileText size={16} />,\n },\n {\n id: 'cosmicintersection-space-science-data',\n label: 'Space Science Data',\n path: joinPath(basePath, 'space-science-data'),\n icon: <FileText size={16} />,\n },\n {\n id: 'cosmicintersection-space-science-learning',\n label: 'Space Science Learning',\n path: joinPath(basePath, 'space-science-learning'),\n icon: <FileText size={16} />,\n },\n {\n id: 'cosmicintersection-space-science-research',\n label: 'Space Science Research',\n path: joinPath(basePath, 'space-science-research'),\n icon: <FileText size={16} />,\n },\n {\n id: 'cosmicintersection-space-science-simulation',\n label: 'Space Science Simulation',\n path: joinPath(basePath, 'space-science-simulation'),\n icon: <FileText size={16} />,\n },\n {\n id: 'cosmicintersection-home',\n label: 'Home',\n path: joinPath(basePath, 'home'),\n icon: <Home size={16} />,\n },\n {\n id: 'cosmicintersection-pricing',\n label: 'Pricing',\n path: joinPath(basePath, 'pricing'),\n icon: <CreditCard size={16} />,\n },\n {\n id: 'cosmicintersection-contact',\n label: 'Contact',\n path: joinPath(basePath, 'contact'),\n icon: <Mail size={16} />,\n },\n ],\n };\n return registerNavItems(navItem);\n }, [registerNavItems, basePath]);\n\n useEffect(() => {\n if (!registerFooterItems) return;\n return registerFooterItems([\n {\n id: 'cosmicintersection-status',\n label: 'CosmicIntersection Ready',\n type: 'status',\n section: 'left',\n order: 10,\n },\n ]);\n }, [registerFooterItems]);\n\n return (\n <FeatureFlagProvider workspaceId={null} gateway=\"global\" defaultEnabled={true}>\n <CosmicIntersectionProvider {...props}>\n <CosmicIntersectionRoutes />\n </CosmicIntersectionProvider>\n </FeatureFlagProvider>\n );\n};\n"],"mappings":";;;;;;;;AAkBA,IAAa,KAA2D,MAAU;CAChF,IAAM,EAAE,qBAAkB,wBAAqB,cAAW,QAAQ;AA+GlE,QA7GA,QAAgB;AACT,QA4FL,QAAO,EA3FkB;GACvB,IAAI;GACJ,OAAO;GACP,MAAM;GACN,MAAM,kBAAC,GAAD,EAAiB,MAAM,IAAM,CAAA;GACnC,OAAO;GACP,OAAO;GACP,UAAU;IACR;KACE,IAAI;KACJ,OAAO;KACP,MAAM;KACN,MAAM,kBAAC,GAAD,EAAiB,MAAM,IAAM,CAAA;KACnC,OAAO;KACR;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,eAAe;KACxC,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;KAC7B;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,gBAAgB;KACzC,MAAM,kBAAC,GAAD,EAAQ,MAAM,IAAM,CAAA;KAC1B,UAAU,CACR;MACE,IAAI;MACJ,OAAO;MACP,MAAM,EAAS,GAAU,OAAO;MAChC,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;MAC7B,EACD;MACE,IAAI;MACJ,OAAO;MACP,MAAM,EAAS,GAAU,WAAW;MACpC,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;MAC7B,CACF;KACF;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,wBAAwB;KACjD,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;KAC7B;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,qBAAqB;KAC9C,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;KAC7B;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,yBAAyB;KAClD,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;KAC7B;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,yBAAyB;KAClD,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;KAC7B;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,2BAA2B;KACpD,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;KAC7B;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,OAAO;KAChC,MAAM,kBAAC,GAAD,EAAM,MAAM,IAAM,CAAA;KACzB;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,UAAU;KACnC,MAAM,kBAAC,GAAD,EAAY,MAAM,IAAM,CAAA;KAC/B;IACD;KACE,IAAI;KACJ,OAAO;KACP,MAAM,EAAS,GAAU,UAAU;KACnC,MAAM,kBAAC,GAAD,EAAM,MAAM,IAAM,CAAA;KACzB;IACF;GACF,CAC+B;IAC/B,CAAC,GAAkB,EAAS,CAAC,EAEhC,QAAgB;AACT,QACL,QAAO,EAAoB,CACzB;GACE,IAAI;GACJ,OAAO;GACP,MAAM;GACN,SAAS;GACT,OAAO;GACR,CACF,CAAC;IACD,CAAC,EAAoB,CAAC,EAGvB,kBAAC,GAAD;EAAqB,aAAa;EAAM,SAAQ;EAAS,gBAAgB;YACvE,kBAAC,GAAD;GAA4B,GAAI;aAC9B,kBAAC,GAAD,EAA4B,CAAA;GACD,CAAA;EACT,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CosmicIntersectionRoutes.d.ts","sourceRoot":"","sources":["../../src/cosmicintersection/CosmicIntersectionRoutes.tsx"],"names":[],"mappings":"AA6CA,wBAAgB,wBAAwB,4CAkBvC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { DashboardPage as e } from "./pages/DashboardPage.js";
|
|
2
|
+
import { Suspense as t, lazy as n } from "react";
|
|
3
|
+
import { Loader2 as r } from "lucide-react";
|
|
4
|
+
import { Navigate as i, Route as a, Routes as o } from "react-router-dom";
|
|
5
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
|
+
//#region src/cosmicintersection/CosmicIntersectionRoutes.tsx
|
|
7
|
+
var l = n(() => import("./pages/AiDiscoveryPage.js").then((e) => ({ default: e.AiDiscoveryPage }))), u = n(() => import("./pages/SpaceScienceDataPage.js").then((e) => ({ default: e.SpaceScienceDataPage }))), d = n(() => import("./pages/SpaceScienceLearningPage.js").then((e) => ({ default: e.SpaceScienceLearningPage }))), f = n(() => import("./pages/SpaceScienceCitizenPage.js").then((e) => ({ default: e.SpaceScienceCitizenPage }))), p = n(() => import("./pages/SpaceScienceDataPage1.js").then((e) => ({ default: e.SpaceScienceDataPage1 }))), m = n(() => import("./pages/SpaceScienceLearningPage1.js").then((e) => ({ default: e.SpaceScienceLearningPage1 }))), h = n(() => import("./pages/SpaceScienceResearchPage.js").then((e) => ({ default: e.SpaceScienceResearchPage }))), g = n(() => import("./pages/SpaceScienceSimulationPage.js").then((e) => ({ default: e.SpaceScienceSimulationPage }))), _ = n(() => import("./pages/SpaceSciencePage.js").then((e) => ({ default: e.SpaceSciencePage })));
|
|
8
|
+
function v() {
|
|
9
|
+
return /* @__PURE__ */ s("div", {
|
|
10
|
+
className: "flex min-h-[320px] items-center justify-center",
|
|
11
|
+
children: /* @__PURE__ */ s(r, { className: "h-8 w-8 animate-spin text-primary" })
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function y() {
|
|
15
|
+
return /* @__PURE__ */ s(t, {
|
|
16
|
+
fallback: /* @__PURE__ */ s(v, {}),
|
|
17
|
+
children: /* @__PURE__ */ c(o, { children: [
|
|
18
|
+
/* @__PURE__ */ s(a, {
|
|
19
|
+
index: !0,
|
|
20
|
+
element: /* @__PURE__ */ s(e, {})
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ s(a, {
|
|
23
|
+
path: "ai-discovery",
|
|
24
|
+
element: /* @__PURE__ */ s(l, {})
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ s(a, {
|
|
27
|
+
path: "space-science/data",
|
|
28
|
+
element: /* @__PURE__ */ s(u, {})
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ s(a, {
|
|
31
|
+
path: "space-science/learning",
|
|
32
|
+
element: /* @__PURE__ */ s(d, {})
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ s(a, {
|
|
35
|
+
path: "space-science-citizen",
|
|
36
|
+
element: /* @__PURE__ */ s(f, {})
|
|
37
|
+
}),
|
|
38
|
+
/* @__PURE__ */ s(a, {
|
|
39
|
+
path: "space-science-data",
|
|
40
|
+
element: /* @__PURE__ */ s(p, {})
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ s(a, {
|
|
43
|
+
path: "space-science-learning",
|
|
44
|
+
element: /* @__PURE__ */ s(m, {})
|
|
45
|
+
}),
|
|
46
|
+
/* @__PURE__ */ s(a, {
|
|
47
|
+
path: "space-science-research",
|
|
48
|
+
element: /* @__PURE__ */ s(h, {})
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ s(a, {
|
|
51
|
+
path: "space-science-simulation",
|
|
52
|
+
element: /* @__PURE__ */ s(g, {})
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ s(a, {
|
|
55
|
+
path: "space-science",
|
|
56
|
+
element: /* @__PURE__ */ s(_, {})
|
|
57
|
+
}),
|
|
58
|
+
/* @__PURE__ */ s(a, {
|
|
59
|
+
path: "*",
|
|
60
|
+
element: /* @__PURE__ */ s(i, {
|
|
61
|
+
to: "",
|
|
62
|
+
replace: !0
|
|
63
|
+
})
|
|
64
|
+
})
|
|
65
|
+
] })
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
//#endregion
|
|
69
|
+
export { y as CosmicIntersectionRoutes };
|
|
70
|
+
|
|
71
|
+
//# sourceMappingURL=CosmicIntersectionRoutes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CosmicIntersectionRoutes.js","names":[],"sources":["../../src/cosmicintersection/CosmicIntersectionRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router-dom';\nimport { Loader2 } from 'lucide-react';\nimport { DashboardPage as IndexPage } from './pages/DashboardPage';\n\nconst AiDiscoveryPage = lazy(() =>\n import('./pages/AiDiscoveryPage').then((m) => ({ default: m.AiDiscoveryPage }))\n);\nconst SpaceScienceDataPage = lazy(() =>\n import('./pages/SpaceScienceDataPage').then((m) => ({ default: m.SpaceScienceDataPage }))\n);\nconst SpaceScienceLearningPage = lazy(() =>\n import('./pages/SpaceScienceLearningPage').then((m) => ({ default: m.SpaceScienceLearningPage }))\n);\nconst SpaceScienceCitizenPage = lazy(() =>\n import('./pages/SpaceScienceCitizenPage').then((m) => ({ default: m.SpaceScienceCitizenPage }))\n);\nconst SpaceScienceDataPage1 = lazy(() =>\n import('./pages/SpaceScienceDataPage1').then((m) => ({ default: m.SpaceScienceDataPage1 }))\n);\nconst SpaceScienceLearningPage1 = lazy(() =>\n import('./pages/SpaceScienceLearningPage1').then((m) => ({\n default: m.SpaceScienceLearningPage1,\n }))\n);\nconst SpaceScienceResearchPage = lazy(() =>\n import('./pages/SpaceScienceResearchPage').then((m) => ({ default: m.SpaceScienceResearchPage }))\n);\nconst SpaceScienceSimulationPage = lazy(() =>\n import('./pages/SpaceScienceSimulationPage').then((m) => ({\n default: m.SpaceScienceSimulationPage,\n }))\n);\nconst SpaceSciencePage = lazy(() =>\n import('./pages/SpaceSciencePage').then((m) => ({ default: m.SpaceSciencePage }))\n);\n\nfunction PageLoader() {\n return (\n <div className=\"flex min-h-[320px] items-center justify-center\">\n <Loader2 className=\"h-8 w-8 animate-spin text-primary\" />\n </div>\n );\n}\n\nexport function CosmicIntersectionRoutes() {\n return (\n <Suspense fallback={<PageLoader />}>\n <Routes>\n <Route index element={<IndexPage />} />\n <Route path=\"ai-discovery\" element={<AiDiscoveryPage />} />\n <Route path=\"space-science/data\" element={<SpaceScienceDataPage />} />\n <Route path=\"space-science/learning\" element={<SpaceScienceLearningPage />} />\n <Route path=\"space-science-citizen\" element={<SpaceScienceCitizenPage />} />\n <Route path=\"space-science-data\" element={<SpaceScienceDataPage1 />} />\n <Route path=\"space-science-learning\" element={<SpaceScienceLearningPage1 />} />\n <Route path=\"space-science-research\" element={<SpaceScienceResearchPage />} />\n <Route path=\"space-science-simulation\" element={<SpaceScienceSimulationPage />} />\n <Route path=\"space-science\" element={<SpaceSciencePage />} />\n <Route path=\"*\" element={<Navigate to=\"\" replace />} />\n </Routes>\n </Suspense>\n );\n}\n"],"mappings":";;;;;;AAKA,IAAM,IAAkB,QACtB,OAAO,8BAA2B,MAAM,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAChF,EACK,IAAuB,QAC3B,OAAO,mCAAgC,MAAM,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,CAC1F,EACK,IAA2B,QAC/B,OAAO,uCAAoC,MAAM,OAAO,EAAE,SAAS,EAAE,0BAA0B,EAAE,CAClG,EACK,IAA0B,QAC9B,OAAO,sCAAmC,MAAM,OAAO,EAAE,SAAS,EAAE,yBAAyB,EAAE,CAChG,EACK,IAAwB,QAC5B,OAAO,oCAAiC,MAAM,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAC5F,EACK,IAA4B,QAChC,OAAO,wCAAqC,MAAM,OAAO,EACvD,SAAS,EAAE,2BACZ,EAAE,CACJ,EACK,IAA2B,QAC/B,OAAO,uCAAoC,MAAM,OAAO,EAAE,SAAS,EAAE,0BAA0B,EAAE,CAClG,EACK,IAA6B,QACjC,OAAO,yCAAsC,MAAM,OAAO,EACxD,SAAS,EAAE,4BACZ,EAAE,CACJ,EACK,IAAmB,QACvB,OAAO,+BAA4B,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAClF;AAED,SAAS,IAAa;AACpB,QACE,kBAAC,OAAD;EAAK,WAAU;YACb,kBAAC,GAAD,EAAS,WAAU,qCAAsC,CAAA;EACrD,CAAA;;AAIV,SAAgB,IAA2B;AACzC,QACE,kBAAC,GAAD;EAAU,UAAU,kBAAC,GAAD,EAAc,CAAA;YAChC,kBAAC,GAAD,EAAA,UAAA;GACE,kBAAC,GAAD;IAAO,OAAA;IAAM,SAAS,kBAAC,GAAD,EAAa,CAAA;IAAI,CAAA;GACvC,kBAAC,GAAD;IAAO,MAAK;IAAe,SAAS,kBAAC,GAAD,EAAmB,CAAA;IAAI,CAAA;GAC3D,kBAAC,GAAD;IAAO,MAAK;IAAqB,SAAS,kBAAC,GAAD,EAAwB,CAAA;IAAI,CAAA;GACtE,kBAAC,GAAD;IAAO,MAAK;IAAyB,SAAS,kBAAC,GAAD,EAA4B,CAAA;IAAI,CAAA;GAC9E,kBAAC,GAAD;IAAO,MAAK;IAAwB,SAAS,kBAAC,GAAD,EAA2B,CAAA;IAAI,CAAA;GAC5E,kBAAC,GAAD;IAAO,MAAK;IAAqB,SAAS,kBAAC,GAAD,EAAyB,CAAA;IAAI,CAAA;GACvE,kBAAC,GAAD;IAAO,MAAK;IAAyB,SAAS,kBAAC,GAAD,EAA6B,CAAA;IAAI,CAAA;GAC/E,kBAAC,GAAD;IAAO,MAAK;IAAyB,SAAS,kBAAC,GAAD,EAA4B,CAAA;IAAI,CAAA;GAC9E,kBAAC,GAAD;IAAO,MAAK;IAA2B,SAAS,kBAAC,GAAD,EAA8B,CAAA;IAAI,CAAA;GAClF,kBAAC,GAAD;IAAO,MAAK;IAAgB,SAAS,kBAAC,GAAD,EAAoB,CAAA;IAAI,CAAA;GAC7D,kBAAC,GAAD;IAAO,MAAK;IAAI,SAAS,kBAAC,GAAD;KAAU,IAAG;KAAG,SAAA;KAAU,CAAA;IAAI,CAAA;GAChD,EAAA,CAAA;EACA,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { CosmicIntersectionRoot } from './CosmicIntersectionRoot';
|
|
2
|
+
export type { CosmicIntersectionRootProps, NavItem, FooterItem } from './types';
|
|
3
|
+
export { useCosmicIntersection } from './providers/CosmicIntersectionProvider';
|
|
4
|
+
export { useCosmicIntersectionStore } from './store/cosmicintersectionStore';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cosmicintersection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,2BAA2B,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AiDiscoveryPage.d.ts","sourceRoot":"","sources":["../../../src/cosmicintersection/pages/AiDiscoveryPage.tsx"],"names":[],"mappings":"AAgCA,wBAAgB,eAAe,4CA+d9B"}
|
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { tWithFallback as e } from "../utils/i18n.js";
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { ArrowRight as n, BarChart3 as r, BookOpen as i, Brain as a, Cpu as o, Database as s, Eye as c, FileText as l, Lightbulb as u, MessageSquare as d, Search as f, Send as p, Sparkles as m, Target as h, TrendingUp as g } from "lucide-react";
|
|
4
|
+
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
5
|
+
import { useI18n as y } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
6
|
+
import { Badge as b, Button as x, Card as S, CardContent as C, CardHeader as w, CardTitle as T, Input as E } from "@burdenoff/fe-libs/ui";
|
|
7
|
+
//#region src/cosmicintersection/pages/AiDiscoveryPage.tsx
|
|
8
|
+
function D() {
|
|
9
|
+
let { t: D } = y(), O = (t, n, r) => e(D, t, n, r), [k, A] = t(""), [j, M] = t([{
|
|
10
|
+
role: "assistant",
|
|
11
|
+
content: O("cosmicintersection.aiDiscovery.chat.welcomeMessage", "Hello! I'm your AI research assistant. Ask me anything about astrophysics, analyze data, or discover new insights.")
|
|
12
|
+
}]), N = () => {
|
|
13
|
+
k.trim() && (M((e) => [
|
|
14
|
+
...e,
|
|
15
|
+
{
|
|
16
|
+
role: "user",
|
|
17
|
+
content: k
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
role: "assistant",
|
|
21
|
+
content: O("cosmicintersection.aiDiscovery.chat.defaultReply", "I've analyzed your question. Based on recent research in this area, here are some key insights...")
|
|
22
|
+
}
|
|
23
|
+
]), A(""));
|
|
24
|
+
}, P = [
|
|
25
|
+
{
|
|
26
|
+
icon: f,
|
|
27
|
+
title: O("cosmicintersection.aiDiscovery.capabilities.literatureMining.title", "Literature Mining"),
|
|
28
|
+
description: O("cosmicintersection.aiDiscovery.capabilities.literatureMining.description", "Extract insights from millions of scientific papers using advanced NLP."),
|
|
29
|
+
stats: [{
|
|
30
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.literatureMining.stats.papersIndexed", "Papers Indexed"),
|
|
31
|
+
value: "2.8M"
|
|
32
|
+
}, {
|
|
33
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.literatureMining.stats.concepts", "Concepts"),
|
|
34
|
+
value: "156K"
|
|
35
|
+
}],
|
|
36
|
+
color: "text-blue-500"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
icon: u,
|
|
40
|
+
title: O("cosmicintersection.aiDiscovery.capabilities.hypothesisGeneration.title", "Hypothesis Generation"),
|
|
41
|
+
description: O("cosmicintersection.aiDiscovery.capabilities.hypothesisGeneration.description", "Generate novel research hypotheses by connecting disparate concepts."),
|
|
42
|
+
stats: [{
|
|
43
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.hypothesisGeneration.stats.generated", "Generated"),
|
|
44
|
+
value: "847"
|
|
45
|
+
}, {
|
|
46
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.hypothesisGeneration.stats.validated", "Validated"),
|
|
47
|
+
value: "23%"
|
|
48
|
+
}],
|
|
49
|
+
color: "text-purple-500"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
icon: s,
|
|
53
|
+
title: O("cosmicintersection.aiDiscovery.capabilities.dataAnalysis.title", "Data Analysis"),
|
|
54
|
+
description: O("cosmicintersection.aiDiscovery.capabilities.dataAnalysis.description", "Analyze vast datasets with AI-powered tools for statistical analysis."),
|
|
55
|
+
stats: [{
|
|
56
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.dataAnalysis.stats.processed", "Processed"),
|
|
57
|
+
value: "847TB"
|
|
58
|
+
}, {
|
|
59
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.dataAnalysis.stats.avgTime", "Avg Time"),
|
|
60
|
+
value: "47ms"
|
|
61
|
+
}],
|
|
62
|
+
color: "text-cyan-500"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
icon: c,
|
|
66
|
+
title: O("cosmicintersection.aiDiscovery.capabilities.computerVision.title", "Computer Vision"),
|
|
67
|
+
description: O("cosmicintersection.aiDiscovery.capabilities.computerVision.description", "Advanced image analysis for object detection and anomaly detection."),
|
|
68
|
+
stats: [{
|
|
69
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.computerVision.stats.accuracy", "Accuracy"),
|
|
70
|
+
value: "96.8%"
|
|
71
|
+
}, {
|
|
72
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.computerVision.stats.images", "Images"),
|
|
73
|
+
value: "2.8M"
|
|
74
|
+
}],
|
|
75
|
+
color: "text-orange-500"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
icon: o,
|
|
79
|
+
title: O("cosmicintersection.aiDiscovery.capabilities.modelTraining.title", "Model Training"),
|
|
80
|
+
description: O("cosmicintersection.aiDiscovery.capabilities.modelTraining.description", "Train custom AI models on your research data for specialized tasks."),
|
|
81
|
+
stats: [{
|
|
82
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.modelTraining.stats.models", "Models"),
|
|
83
|
+
value: "23"
|
|
84
|
+
}, {
|
|
85
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.modelTraining.stats.uptime", "Uptime"),
|
|
86
|
+
value: "99.7%"
|
|
87
|
+
}],
|
|
88
|
+
color: "text-emerald-500"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
icon: a,
|
|
92
|
+
title: O("cosmicintersection.aiDiscovery.capabilities.patternRecognition.title", "Pattern Recognition"),
|
|
93
|
+
description: O("cosmicintersection.aiDiscovery.capabilities.patternRecognition.description", "Discover hidden patterns in astronomical data using deep neural networks."),
|
|
94
|
+
stats: [{
|
|
95
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.patternRecognition.stats.accuracy", "Accuracy"),
|
|
96
|
+
value: "98.7%"
|
|
97
|
+
}, {
|
|
98
|
+
label: O("cosmicintersection.aiDiscovery.capabilities.patternRecognition.stats.classified", "Classified"),
|
|
99
|
+
value: "1.2K"
|
|
100
|
+
}],
|
|
101
|
+
color: "text-pink-500"
|
|
102
|
+
}
|
|
103
|
+
], F = [
|
|
104
|
+
{
|
|
105
|
+
title: O("cosmicintersection.aiDiscovery.discoveries.exoplanetAtmosphere.title", "Exoplanet Atmosphere Detection"),
|
|
106
|
+
desc: O("cosmicintersection.aiDiscovery.discoveries.exoplanetAtmosphere.description", "AI identified water vapor signatures in 23 previously unclassified exoplanets."),
|
|
107
|
+
confidence: "96.8%",
|
|
108
|
+
status: O("cosmicintersection.aiDiscovery.discoveries.exoplanetAtmosphere.status", "Published"),
|
|
109
|
+
color: "text-blue-500"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
title: O("cosmicintersection.aiDiscovery.discoveries.darkMatterMap.title", "Dark Matter Distribution Map"),
|
|
113
|
+
desc: O("cosmicintersection.aiDiscovery.discoveries.darkMatterMap.description", "Neural networks revealed previously undetected dark matter filaments."),
|
|
114
|
+
confidence: "94.2%",
|
|
115
|
+
status: O("cosmicintersection.aiDiscovery.discoveries.darkMatterMap.status", "Verified"),
|
|
116
|
+
color: "text-purple-500"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
title: O("cosmicintersection.aiDiscovery.discoveries.gravitationalWaves.title", "Gravitational Wave Patterns"),
|
|
120
|
+
desc: O("cosmicintersection.aiDiscovery.discoveries.gravitationalWaves.description", "AI detected 47 new gravitational wave events in archival data."),
|
|
121
|
+
confidence: "99.2%",
|
|
122
|
+
status: O("cosmicintersection.aiDiscovery.discoveries.gravitationalWaves.status", "Ongoing"),
|
|
123
|
+
color: "text-pink-500"
|
|
124
|
+
}
|
|
125
|
+
], I = [
|
|
126
|
+
{
|
|
127
|
+
icon: i,
|
|
128
|
+
value: "2.8M",
|
|
129
|
+
label: O("cosmicintersection.aiDiscovery.paperStats.papersIndexed", "Papers Indexed"),
|
|
130
|
+
color: "text-blue-500",
|
|
131
|
+
extra: O("cosmicintersection.aiDiscovery.paperStats.papersIndexedTrend", "+12K this week")
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
icon: h,
|
|
135
|
+
value: "847",
|
|
136
|
+
label: O("cosmicintersection.aiDiscovery.paperStats.discoveriesMade", "Discoveries Made"),
|
|
137
|
+
color: "text-purple-500",
|
|
138
|
+
extra: O("cosmicintersection.aiDiscovery.paperStats.discoveriesMadeTrend", "+23 this month")
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
icon: r,
|
|
142
|
+
value: "96.8%",
|
|
143
|
+
label: O("cosmicintersection.aiDiscovery.paperStats.averageAccuracy", "Average Accuracy"),
|
|
144
|
+
color: "text-pink-500",
|
|
145
|
+
extra: O("cosmicintersection.aiDiscovery.paperStats.averageAccuracyTrend", "+2.3% improved")
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
icon: g,
|
|
149
|
+
value: "15K",
|
|
150
|
+
label: O("cosmicintersection.aiDiscovery.paperStats.activeResearchers", "Active Researchers"),
|
|
151
|
+
color: "text-orange-500",
|
|
152
|
+
extra: O("cosmicintersection.aiDiscovery.paperStats.activeResearchersTrend", "+847 this month")
|
|
153
|
+
}
|
|
154
|
+
];
|
|
155
|
+
return /* @__PURE__ */ v("div", {
|
|
156
|
+
className: "space-y-10 p-6",
|
|
157
|
+
children: [
|
|
158
|
+
/* @__PURE__ */ v("section", {
|
|
159
|
+
className: "py-6 text-center",
|
|
160
|
+
children: [
|
|
161
|
+
/* @__PURE__ */ _("div", {
|
|
162
|
+
className: "mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-xl bg-primary/10",
|
|
163
|
+
children: /* @__PURE__ */ _(a, { className: "h-7 w-7 text-primary" })
|
|
164
|
+
}),
|
|
165
|
+
/* @__PURE__ */ _("h1", {
|
|
166
|
+
className: "text-3xl font-bold tracking-tight",
|
|
167
|
+
children: O("cosmicintersection.aiDiscovery.hero.title", "AI Discovery Engine")
|
|
168
|
+
}),
|
|
169
|
+
/* @__PURE__ */ _("p", {
|
|
170
|
+
className: "mx-auto mt-3 max-w-2xl text-muted-foreground",
|
|
171
|
+
children: O("cosmicintersection.aiDiscovery.hero.description", "Harness the power of artificial intelligence to analyze literature, generate hypotheses, and uncover patterns in cosmic data.")
|
|
172
|
+
}),
|
|
173
|
+
/* @__PURE__ */ v("div", {
|
|
174
|
+
className: "mt-6 flex items-center justify-center gap-3",
|
|
175
|
+
children: [/* @__PURE__ */ v(x, { children: [/* @__PURE__ */ _(m, { className: "mr-2 h-4 w-4" }), O("cosmicintersection.aiDiscovery.hero.actions.startDiscovering", "Start Discovering")] }), /* @__PURE__ */ _(x, {
|
|
176
|
+
variant: "outline",
|
|
177
|
+
children: O("cosmicintersection.aiDiscovery.hero.actions.viewDemo", "View Demo")
|
|
178
|
+
})]
|
|
179
|
+
})
|
|
180
|
+
]
|
|
181
|
+
}),
|
|
182
|
+
/* @__PURE__ */ v("section", { children: [/* @__PURE__ */ _("h2", {
|
|
183
|
+
className: "mb-6 text-center text-2xl font-bold",
|
|
184
|
+
children: O("cosmicintersection.aiDiscovery.sections.capabilities", "AI Capabilities")
|
|
185
|
+
}), /* @__PURE__ */ _("div", {
|
|
186
|
+
className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3",
|
|
187
|
+
children: P.map((e) => /* @__PURE__ */ _(S, {
|
|
188
|
+
className: "transition-shadow hover:shadow-md",
|
|
189
|
+
children: /* @__PURE__ */ v(C, {
|
|
190
|
+
className: "p-5",
|
|
191
|
+
children: [
|
|
192
|
+
/* @__PURE__ */ _("div", {
|
|
193
|
+
className: `mb-3 flex h-10 w-10 items-center justify-center rounded-lg bg-muted ${e.color}`,
|
|
194
|
+
children: /* @__PURE__ */ _(e.icon, { className: "h-5 w-5" })
|
|
195
|
+
}),
|
|
196
|
+
/* @__PURE__ */ _("h3", {
|
|
197
|
+
className: "mb-1.5 text-lg font-semibold",
|
|
198
|
+
children: e.title
|
|
199
|
+
}),
|
|
200
|
+
/* @__PURE__ */ _("p", {
|
|
201
|
+
className: "mb-3 text-xs text-muted-foreground",
|
|
202
|
+
children: e.description
|
|
203
|
+
}),
|
|
204
|
+
/* @__PURE__ */ _("div", {
|
|
205
|
+
className: "mb-3 grid grid-cols-2 gap-2 rounded-md bg-muted p-2",
|
|
206
|
+
children: e.stats.map((t) => /* @__PURE__ */ v("div", {
|
|
207
|
+
className: "text-center",
|
|
208
|
+
children: [/* @__PURE__ */ _("div", {
|
|
209
|
+
className: `text-lg font-bold ${e.color}`,
|
|
210
|
+
children: t.value
|
|
211
|
+
}), /* @__PURE__ */ _("div", {
|
|
212
|
+
className: "text-xs text-muted-foreground",
|
|
213
|
+
children: t.label
|
|
214
|
+
})]
|
|
215
|
+
}, t.label))
|
|
216
|
+
}),
|
|
217
|
+
/* @__PURE__ */ v(x, {
|
|
218
|
+
size: "sm",
|
|
219
|
+
className: "w-full",
|
|
220
|
+
children: [/* @__PURE__ */ _(e.icon, { className: "mr-2 h-3.5 w-3.5" }), O("cosmicintersection.aiDiscovery.capabilities.actions.launch", "Launch")]
|
|
221
|
+
})
|
|
222
|
+
]
|
|
223
|
+
})
|
|
224
|
+
}, e.title))
|
|
225
|
+
})] }),
|
|
226
|
+
/* @__PURE__ */ v("section", { children: [/* @__PURE__ */ v("div", {
|
|
227
|
+
className: "mb-4 text-center",
|
|
228
|
+
children: [/* @__PURE__ */ _("h2", {
|
|
229
|
+
className: "text-2xl font-bold",
|
|
230
|
+
children: O("cosmicintersection.aiDiscovery.chat.title", "Try AI Assistant")
|
|
231
|
+
}), /* @__PURE__ */ _("p", {
|
|
232
|
+
className: "text-sm text-muted-foreground",
|
|
233
|
+
children: O("cosmicintersection.aiDiscovery.chat.description", "Experience the power of our AI research assistant")
|
|
234
|
+
})]
|
|
235
|
+
}), /* @__PURE__ */ _(S, { children: /* @__PURE__ */ v(C, {
|
|
236
|
+
className: "p-5",
|
|
237
|
+
children: [
|
|
238
|
+
/* @__PURE__ */ _("div", {
|
|
239
|
+
className: "mb-4 flex h-[300px] flex-col gap-3 overflow-y-auto rounded-lg border bg-muted/30 p-4",
|
|
240
|
+
children: j.map((e, t) => /* @__PURE__ */ v("div", {
|
|
241
|
+
className: `flex items-start gap-3 ${e.role === "user" ? "flex-row-reverse" : ""}`,
|
|
242
|
+
children: [/* @__PURE__ */ _("div", {
|
|
243
|
+
className: `flex h-8 w-8 shrink-0 items-center justify-center rounded-lg ${e.role === "user" ? "bg-blue-500/10 text-blue-500" : "bg-purple-500/10 text-purple-500"}`,
|
|
244
|
+
children: e.role === "user" ? /* @__PURE__ */ _(d, { className: "h-4 w-4" }) : /* @__PURE__ */ _(a, { className: "h-4 w-4" })
|
|
245
|
+
}), /* @__PURE__ */ _("div", {
|
|
246
|
+
className: `max-w-[80%] rounded-xl px-4 py-2.5 text-sm ${e.role === "user" ? "bg-primary text-primary-foreground" : "bg-muted"}`,
|
|
247
|
+
children: e.content
|
|
248
|
+
})]
|
|
249
|
+
}, t))
|
|
250
|
+
}),
|
|
251
|
+
/* @__PURE__ */ v("div", {
|
|
252
|
+
className: "flex gap-2",
|
|
253
|
+
children: [/* @__PURE__ */ _(E, {
|
|
254
|
+
value: k,
|
|
255
|
+
onChange: (e) => {
|
|
256
|
+
A(e.target.value);
|
|
257
|
+
},
|
|
258
|
+
onKeyDown: (e) => {
|
|
259
|
+
e.key === "Enter" && N();
|
|
260
|
+
},
|
|
261
|
+
placeholder: O("cosmicintersection.aiDiscovery.chat.inputPlaceholder", "Ask about astrophysics, data analysis, or research..."),
|
|
262
|
+
className: "flex-1"
|
|
263
|
+
}), /* @__PURE__ */ _(x, {
|
|
264
|
+
onClick: N,
|
|
265
|
+
children: /* @__PURE__ */ _(p, { className: "h-4 w-4" })
|
|
266
|
+
})]
|
|
267
|
+
}),
|
|
268
|
+
/* @__PURE__ */ _("p", {
|
|
269
|
+
className: "mt-2 text-center text-xs text-muted-foreground",
|
|
270
|
+
children: O("cosmicintersection.aiDiscovery.chat.disclaimer", "Demo interface. Full functionality available with Pro plan.")
|
|
271
|
+
})
|
|
272
|
+
]
|
|
273
|
+
}) })] }),
|
|
274
|
+
/* @__PURE__ */ v("section", { children: [/* @__PURE__ */ v("div", {
|
|
275
|
+
className: "mb-4 text-center",
|
|
276
|
+
children: [/* @__PURE__ */ _("h2", {
|
|
277
|
+
className: "text-2xl font-bold",
|
|
278
|
+
children: O("cosmicintersection.aiDiscovery.sections.discoveries", "AI-Powered Discoveries")
|
|
279
|
+
}), /* @__PURE__ */ _("p", {
|
|
280
|
+
className: "text-sm text-muted-foreground",
|
|
281
|
+
children: O("cosmicintersection.aiDiscovery.sections.discoveriesDescription", "Real breakthroughs made possible by our AI platform")
|
|
282
|
+
})]
|
|
283
|
+
}), /* @__PURE__ */ _("div", {
|
|
284
|
+
className: "grid gap-4 lg:grid-cols-3",
|
|
285
|
+
children: F.map((e) => /* @__PURE__ */ v(S, {
|
|
286
|
+
className: "transition-shadow hover:shadow-md",
|
|
287
|
+
children: [/* @__PURE__ */ v(w, { children: [/* @__PURE__ */ v("div", {
|
|
288
|
+
className: "mb-2 flex items-start justify-between gap-3",
|
|
289
|
+
children: [/* @__PURE__ */ _(T, {
|
|
290
|
+
className: "text-base",
|
|
291
|
+
children: e.title
|
|
292
|
+
}), /* @__PURE__ */ _(b, {
|
|
293
|
+
variant: "secondary",
|
|
294
|
+
children: e.status
|
|
295
|
+
})]
|
|
296
|
+
}), /* @__PURE__ */ _("p", {
|
|
297
|
+
className: "text-xs text-muted-foreground",
|
|
298
|
+
children: e.desc
|
|
299
|
+
})] }), /* @__PURE__ */ v(C, { children: [/* @__PURE__ */ v("div", {
|
|
300
|
+
className: "mb-3 flex items-center justify-between text-xs",
|
|
301
|
+
children: [/* @__PURE__ */ _("span", {
|
|
302
|
+
className: "text-muted-foreground",
|
|
303
|
+
children: O("cosmicintersection.aiDiscovery.discoveries.confidence", "Confidence")
|
|
304
|
+
}), /* @__PURE__ */ _("span", {
|
|
305
|
+
className: `font-semibold ${e.color}`,
|
|
306
|
+
children: e.confidence
|
|
307
|
+
})]
|
|
308
|
+
}), /* @__PURE__ */ v(x, {
|
|
309
|
+
variant: "outline",
|
|
310
|
+
size: "sm",
|
|
311
|
+
className: "w-full",
|
|
312
|
+
children: [/* @__PURE__ */ _(l, { className: "mr-2 h-3.5 w-3.5" }), O("cosmicintersection.aiDiscovery.discoveries.actions.readPaper", "Read Paper")]
|
|
313
|
+
})] })]
|
|
314
|
+
}, e.title))
|
|
315
|
+
})] }),
|
|
316
|
+
/* @__PURE__ */ _("section", { children: /* @__PURE__ */ _(S, {
|
|
317
|
+
className: "bg-muted/50",
|
|
318
|
+
children: /* @__PURE__ */ v(C, {
|
|
319
|
+
className: "py-8",
|
|
320
|
+
children: [
|
|
321
|
+
/* @__PURE__ */ _("h3", {
|
|
322
|
+
className: "mb-6 text-center text-xl font-bold",
|
|
323
|
+
children: O("cosmicintersection.aiDiscovery.paperStats.title", "Research Papers Analyzed")
|
|
324
|
+
}),
|
|
325
|
+
/* @__PURE__ */ _("div", {
|
|
326
|
+
className: "grid grid-cols-2 gap-4 md:grid-cols-4",
|
|
327
|
+
children: I.map((e) => /* @__PURE__ */ v("div", {
|
|
328
|
+
className: "text-center",
|
|
329
|
+
children: [
|
|
330
|
+
/* @__PURE__ */ _(e.icon, { className: `mx-auto mb-2 h-6 w-6 ${e.color}` }),
|
|
331
|
+
/* @__PURE__ */ _("div", {
|
|
332
|
+
className: `text-2xl font-bold ${e.color}`,
|
|
333
|
+
children: e.value
|
|
334
|
+
}),
|
|
335
|
+
/* @__PURE__ */ _("div", {
|
|
336
|
+
className: "text-xs text-muted-foreground",
|
|
337
|
+
children: e.label
|
|
338
|
+
}),
|
|
339
|
+
/* @__PURE__ */ _("div", {
|
|
340
|
+
className: "mt-1 text-xs text-emerald-600",
|
|
341
|
+
children: e.extra
|
|
342
|
+
})
|
|
343
|
+
]
|
|
344
|
+
}, e.label))
|
|
345
|
+
}),
|
|
346
|
+
/* @__PURE__ */ _("div", {
|
|
347
|
+
className: "mt-8 text-center",
|
|
348
|
+
children: /* @__PURE__ */ v(x, { children: [
|
|
349
|
+
O("cosmicintersection.aiDiscovery.paperStats.actions.exploreCapabilities", "Explore AI Capabilities"),
|
|
350
|
+
" ",
|
|
351
|
+
/* @__PURE__ */ _(n, { className: "ml-2 h-4 w-4" })
|
|
352
|
+
] })
|
|
353
|
+
})
|
|
354
|
+
]
|
|
355
|
+
})
|
|
356
|
+
}) })
|
|
357
|
+
]
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
//#endregion
|
|
361
|
+
export { D as AiDiscoveryPage };
|
|
362
|
+
|
|
363
|
+
//# sourceMappingURL=AiDiscoveryPage.js.map
|