@luxonis/component-lib 1.0.12 → 1.1.1
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/index.css +1 -1
- package/dist/index.d.mts +75 -2
- package/dist/index.d.ts +75 -2
- package/dist/index.js +793 -3
- package/dist/index.mjs +738 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -45,9 +45,12 @@ __export(index_exports, {
|
|
|
45
45
|
ChatButton: () => ChatButton,
|
|
46
46
|
Checkbox: () => Checkbox,
|
|
47
47
|
CodeBlock: () => CodeBlock,
|
|
48
|
+
ContactUsForm: () => ContactUsForm,
|
|
49
|
+
ContactUsSection: () => ContactUsSection,
|
|
48
50
|
Copyright: () => Copyright,
|
|
49
51
|
Description: () => Description,
|
|
50
52
|
DualRangeSlider: () => DualRangeSlider,
|
|
53
|
+
EdgeSlideshow: () => EdgeSlideshow,
|
|
51
54
|
FrostedCard: () => FrostedCard,
|
|
52
55
|
Hero: () => Hero,
|
|
53
56
|
HoverCard: () => HoverCard,
|
|
@@ -55,6 +58,7 @@ __export(index_exports, {
|
|
|
55
58
|
HoverCardTrigger: () => HoverCardTrigger,
|
|
56
59
|
Input: () => Input,
|
|
57
60
|
Label: () => Label,
|
|
61
|
+
Progress: () => Progress,
|
|
58
62
|
SearchBar: () => SearchBar,
|
|
59
63
|
Select: () => Select,
|
|
60
64
|
SelectContent: () => SelectContent,
|
|
@@ -66,6 +70,8 @@ __export(index_exports, {
|
|
|
66
70
|
SelectSeparator: () => SelectSeparator,
|
|
67
71
|
SelectTrigger: () => SelectTrigger,
|
|
68
72
|
SelectValue: () => SelectValue,
|
|
73
|
+
StereoDepthCalibration: () => StereoDepthCalibration,
|
|
74
|
+
Support: () => Support,
|
|
69
75
|
Switch: () => Switch,
|
|
70
76
|
Table: () => Table,
|
|
71
77
|
TableBody: () => TableBody,
|
|
@@ -79,6 +85,7 @@ __export(index_exports, {
|
|
|
79
85
|
TabsContent: () => TabsContent,
|
|
80
86
|
TabsList: () => TabsList,
|
|
81
87
|
TabsTrigger: () => TabsTrigger,
|
|
88
|
+
TalkToSalesButton: () => TalkToSalesButton,
|
|
82
89
|
Text: () => Text,
|
|
83
90
|
Textarea: () => Textarea,
|
|
84
91
|
Tooltip: () => Tooltip,
|
|
@@ -86,9 +93,56 @@ __export(index_exports, {
|
|
|
86
93
|
TooltipProvider: () => TooltipProvider,
|
|
87
94
|
TooltipTrigger: () => TooltipTrigger,
|
|
88
95
|
Video: () => Video,
|
|
96
|
+
aboutUs: () => aboutUs,
|
|
97
|
+
accessoriesProducts: () => accessoriesProducts,
|
|
98
|
+
applyMail: () => applyMail,
|
|
99
|
+
applyMailClean: () => applyMailClean,
|
|
89
100
|
badgeVariants: () => badgeVariants,
|
|
101
|
+
blog: () => blog,
|
|
102
|
+
bloomberg: () => bloomberg,
|
|
90
103
|
buttonVariants: () => buttonVariants,
|
|
91
|
-
|
|
104
|
+
camerasProducts: () => camerasProducts,
|
|
105
|
+
careers: () => careers,
|
|
106
|
+
certificates: () => certificates,
|
|
107
|
+
contactLink: () => contactLink,
|
|
108
|
+
depthaiHardwareProject: () => depthaiHardwareProject,
|
|
109
|
+
discord: () => discord,
|
|
110
|
+
distributorForm: () => distributorForm,
|
|
111
|
+
distributors: () => distributors,
|
|
112
|
+
docs: () => docs,
|
|
113
|
+
earlyAccessProducts: () => earlyAccessProducts,
|
|
114
|
+
forbes: () => forbes,
|
|
115
|
+
forum: () => forum,
|
|
116
|
+
getStoreSearchLink: () => getStoreSearchLink,
|
|
117
|
+
github: () => github,
|
|
118
|
+
kickstarter: () => kickstarter,
|
|
119
|
+
linkedin: () => linkedin,
|
|
120
|
+
marketing: () => marketing,
|
|
121
|
+
modulesProducts: () => modulesProducts,
|
|
122
|
+
oakRealsenseDocs: () => oakRealsenseDocs,
|
|
123
|
+
parseNewLines: () => parseNewLines,
|
|
124
|
+
privacy: () => privacy,
|
|
125
|
+
raeStorepage: () => raeStorepage,
|
|
126
|
+
replayInstructions: () => replayInstructions,
|
|
127
|
+
robothub: () => robothub,
|
|
128
|
+
robothubInternal: () => robothubInternal,
|
|
129
|
+
salesMail: () => salesMail,
|
|
130
|
+
salesMailClean: () => salesMailClean,
|
|
131
|
+
services: () => services,
|
|
132
|
+
servicesMeetLink: () => servicesMeetLink,
|
|
133
|
+
showcase: () => showcase,
|
|
134
|
+
showcaseMail: () => showcaseMail,
|
|
135
|
+
showcaseMailClean: () => showcaseMailClean,
|
|
136
|
+
status: () => status,
|
|
137
|
+
store: () => store,
|
|
138
|
+
supportForm: () => supportForm,
|
|
139
|
+
supportMail: () => supportMail,
|
|
140
|
+
supportMailClean: () => supportMailClean,
|
|
141
|
+
techcrunch: () => techcrunch,
|
|
142
|
+
termsOfService: () => termsOfService,
|
|
143
|
+
twitter: () => twitter,
|
|
144
|
+
useRudderStackAnalytics: () => useRudderStackAnalytics,
|
|
145
|
+
youtube: () => youtube
|
|
92
146
|
});
|
|
93
147
|
module.exports = __toCommonJS(index_exports);
|
|
94
148
|
|
|
@@ -672,6 +726,7 @@ var DescriptionRecepie = (0, import_class_variance_authority7.cva)("flex flex-co
|
|
|
672
726
|
center: "items-start sm:items-center",
|
|
673
727
|
allwayscenter: "items-center",
|
|
674
728
|
left: "items-start",
|
|
729
|
+
right: "items-end",
|
|
675
730
|
leftCenterMobile: "items-start sm:items-center",
|
|
676
731
|
desktopCenterMobileLeft: "w-full items-start !text-left sm:items-center sm:!text-center",
|
|
677
732
|
desktopLeftMobileCenter: "w-full items-center !text-center lg:items-start lg:!text-left"
|
|
@@ -713,7 +768,7 @@ var Description = (props) => {
|
|
|
713
768
|
descriptionStyle,
|
|
714
769
|
wrapperClassName
|
|
715
770
|
} = props;
|
|
716
|
-
const alingText = align === "left" || align === "desktopLeftMobileCenter" ? "left" : "center";
|
|
771
|
+
const alingText = align === "left" || align === "desktopLeftMobileCenter" ? "left" : align === "right" ? "right" : "center";
|
|
717
772
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: (0, import_class_variance_authority7.cx)(DescriptionRecepie({ align, gap }), className), children: [
|
|
718
773
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: (0, import_class_variance_authority7.cx)(`flex flex-col gap-4 sm:gap-6 w-full`, wrapperClassName ?? "", InnerGap({ innerGap })), children: [
|
|
719
774
|
subTitle && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
@@ -1638,6 +1693,687 @@ var TabsContent = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
1638
1693
|
}
|
|
1639
1694
|
));
|
|
1640
1695
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
1696
|
+
|
|
1697
|
+
// src/ProgressBar.tsx
|
|
1698
|
+
var React16 = __toESM(require("react"));
|
|
1699
|
+
var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
|
|
1700
|
+
var import_class_variance_authority22 = require("class-variance-authority");
|
|
1701
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1702
|
+
var Progress = React16.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1703
|
+
ProgressPrimitive.Root,
|
|
1704
|
+
{
|
|
1705
|
+
ref,
|
|
1706
|
+
className: (0, import_class_variance_authority22.cx)("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", className),
|
|
1707
|
+
...props,
|
|
1708
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1709
|
+
ProgressPrimitive.Indicator,
|
|
1710
|
+
{
|
|
1711
|
+
className: "size-full flex-1 bg-primary transition-all",
|
|
1712
|
+
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
1713
|
+
}
|
|
1714
|
+
)
|
|
1715
|
+
}
|
|
1716
|
+
));
|
|
1717
|
+
Progress.displayName = ProgressPrimitive.Root.displayName;
|
|
1718
|
+
|
|
1719
|
+
// src/EdgeSlideshow.tsx
|
|
1720
|
+
var import_react14 = require("react");
|
|
1721
|
+
var import_react_intersection_observer = require("react-intersection-observer");
|
|
1722
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
1723
|
+
var slides = [
|
|
1724
|
+
"ai-performance",
|
|
1725
|
+
//'stereo-depth',
|
|
1726
|
+
//'video-streaming',
|
|
1727
|
+
"processing-efficiency",
|
|
1728
|
+
"custom-vision"
|
|
1729
|
+
];
|
|
1730
|
+
function getNextSlide(currentSlide) {
|
|
1731
|
+
const currentIndex = slides.indexOf(currentSlide);
|
|
1732
|
+
const nextIndex = (currentIndex + 1) % slides.length;
|
|
1733
|
+
return slides[nextIndex];
|
|
1734
|
+
}
|
|
1735
|
+
function getSlideInfo(slide) {
|
|
1736
|
+
switch (slide) {
|
|
1737
|
+
case "ai-performance":
|
|
1738
|
+
return {
|
|
1739
|
+
title: "AI Performance",
|
|
1740
|
+
imageUrl: "ai-performance.webp",
|
|
1741
|
+
imageAlt: "AI Performance",
|
|
1742
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
|
|
1743
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1744
|
+
EdgeSlideshowTextPoint,
|
|
1745
|
+
{
|
|
1746
|
+
title: "48 TOPS INT8 / 12 TOPS FP16:",
|
|
1747
|
+
description: "Handle complex neural models effortlessly, from object detection to segmentation."
|
|
1748
|
+
}
|
|
1749
|
+
),
|
|
1750
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1751
|
+
EdgeSlideshowTextPoint,
|
|
1752
|
+
{
|
|
1753
|
+
title: "Run YOLO, ResNet, MobileNet (90+Models):",
|
|
1754
|
+
description: "Optimized for high throughput and low latency."
|
|
1755
|
+
}
|
|
1756
|
+
),
|
|
1757
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1758
|
+
EdgeSlideshowTextPoint,
|
|
1759
|
+
{
|
|
1760
|
+
title: "Inference Speed:",
|
|
1761
|
+
description: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("article", { className: "flex flex-row flex-wrap items-start gap-2 lg:items-center", children: [
|
|
1762
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EdgeSlideshowTextPointButton, { text: "YOLOv5m: 280 FPS" }),
|
|
1763
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EdgeSlideshowTextPointButton, { text: "ResNet-50: 934 FPS" }),
|
|
1764
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EdgeSlideshowTextPointButton, { text: "BiseNetv1-MBNV2: 647 FPS" })
|
|
1765
|
+
] })
|
|
1766
|
+
}
|
|
1767
|
+
)
|
|
1768
|
+
] })
|
|
1769
|
+
};
|
|
1770
|
+
//case 'stereo-depth':
|
|
1771
|
+
// return {
|
|
1772
|
+
// title: 'Stereo Depth Precision',
|
|
1773
|
+
// imageUrl: 'stereo-depth.webp',
|
|
1774
|
+
// imageAlt: 'Stereo Depth',
|
|
1775
|
+
// content: (
|
|
1776
|
+
// <>
|
|
1777
|
+
// <EdgeSlideshowTextPoint
|
|
1778
|
+
// title="Subpixel Accuracy:"
|
|
1779
|
+
// description="Up to 1/32 subpixel, enabling precise depth maps for real-world applications."
|
|
1780
|
+
// />
|
|
1781
|
+
// <EdgeSlideshowTextPoint
|
|
1782
|
+
// title="High Resolution:"
|
|
1783
|
+
// description="Stereo depth at 720p @ 60 FPS with configurable disparity ranges."
|
|
1784
|
+
// />
|
|
1785
|
+
// <EdgeSlideshowTextPoint
|
|
1786
|
+
// title="Advanced Features:"
|
|
1787
|
+
// description="Confidence mapping, neural network based depth matching, and fine-tuning parameters tailored to any environment."
|
|
1788
|
+
// />
|
|
1789
|
+
// </>
|
|
1790
|
+
// ),
|
|
1791
|
+
// };
|
|
1792
|
+
//case 'video-streaming':
|
|
1793
|
+
// return {
|
|
1794
|
+
// title: 'Video Streaming',
|
|
1795
|
+
// imageUrl: 'video-streaming.webp',
|
|
1796
|
+
// imageAlt: 'Video Streaming',
|
|
1797
|
+
// content: (
|
|
1798
|
+
// <>
|
|
1799
|
+
// <EdgeSlideshowTextPoint
|
|
1800
|
+
// title="Encoding:"
|
|
1801
|
+
// description={<EdgeSlideshowTextPointButton text={'4K @ 120 FPS (H.264/H.265)'} />}
|
|
1802
|
+
// />
|
|
1803
|
+
// <EdgeSlideshowTextPoint
|
|
1804
|
+
// title="Decoding:"
|
|
1805
|
+
// description={<EdgeSlideshowTextPointButton text={'4K @ 240 FPS, with VP9 and AV1 support'} />}
|
|
1806
|
+
// />
|
|
1807
|
+
// <EdgeSlideshowTextPoint
|
|
1808
|
+
// title="ISP:"
|
|
1809
|
+
// description={
|
|
1810
|
+
// <article className="flex flex-row flex-wrap gap-2 items-start lg:items-center">
|
|
1811
|
+
// <EdgeSlideshowTextPointButton text={'5 camera streams'} />
|
|
1812
|
+
// <EdgeSlideshowTextPointButton text={'HDR'} />
|
|
1813
|
+
// <EdgeSlideshowTextPointButton text={'EIS'} />
|
|
1814
|
+
// <EdgeSlideshowTextPointButton text={'3A'} />
|
|
1815
|
+
// <EdgeSlideshowTextPointButton text={'up to 3x 8K @ 30FPS'} />
|
|
1816
|
+
// </article>
|
|
1817
|
+
// }
|
|
1818
|
+
// />
|
|
1819
|
+
// </>
|
|
1820
|
+
// ),
|
|
1821
|
+
// };
|
|
1822
|
+
case "processing-efficiency":
|
|
1823
|
+
return {
|
|
1824
|
+
title: "Processing Efficiency",
|
|
1825
|
+
imageUrl: "processing-efficiency.webp",
|
|
1826
|
+
imageAlt: "Processing Efficiency",
|
|
1827
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
|
|
1828
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1829
|
+
EdgeSlideshowTextPoint,
|
|
1830
|
+
{
|
|
1831
|
+
title: "Power Consumption:",
|
|
1832
|
+
description: "Average 10\u201315W, balancing performance and energy efficiency for edge deployments."
|
|
1833
|
+
}
|
|
1834
|
+
),
|
|
1835
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1836
|
+
EdgeSlideshowTextPoint,
|
|
1837
|
+
{
|
|
1838
|
+
title: "Compact Design:",
|
|
1839
|
+
description: "Fully integrated processing in a device that fits in your hand."
|
|
1840
|
+
}
|
|
1841
|
+
)
|
|
1842
|
+
] })
|
|
1843
|
+
};
|
|
1844
|
+
case "custom-vision":
|
|
1845
|
+
return {
|
|
1846
|
+
title: "Custom Vision Engines",
|
|
1847
|
+
imageUrl: "custom-vision.webp",
|
|
1848
|
+
imageAlt: "Custom Vision",
|
|
1849
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
|
|
1850
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1851
|
+
EdgeSlideshowTextPoint,
|
|
1852
|
+
{
|
|
1853
|
+
title: "Processing:",
|
|
1854
|
+
description: "Stereo depth, optical flow, and feature detection are processed in parallel on dedicated hardware blocks."
|
|
1855
|
+
}
|
|
1856
|
+
),
|
|
1857
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1858
|
+
EdgeSlideshowTextPoint,
|
|
1859
|
+
{
|
|
1860
|
+
title: "Throughput:",
|
|
1861
|
+
description: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("article", { className: "flex flex-col items-start gap-2", children: [
|
|
1862
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EdgeSlideshowTextPointButton, { text: "Optical Flow:\nFull-dense at VGA @ 60 FPS" }),
|
|
1863
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EdgeSlideshowTextPointButton, { text: "Template Matching:\n 1080p with 1.2 ms for 500 templates" })
|
|
1864
|
+
] })
|
|
1865
|
+
}
|
|
1866
|
+
)
|
|
1867
|
+
] })
|
|
1868
|
+
};
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
function EdgeSlideshowTextPointButton(props) {
|
|
1872
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1873
|
+
Button,
|
|
1874
|
+
{
|
|
1875
|
+
variant: "primaryAlt",
|
|
1876
|
+
className: "min-h-fit cursor-default whitespace-pre-line rounded-md !p-4 text-start",
|
|
1877
|
+
animate: false,
|
|
1878
|
+
children: props.text
|
|
1879
|
+
}
|
|
1880
|
+
);
|
|
1881
|
+
}
|
|
1882
|
+
function EdgeSlideshowImage(props) {
|
|
1883
|
+
const { imageAlt, imageUrl } = getSlideInfo(props.activeSlide);
|
|
1884
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1885
|
+
"img",
|
|
1886
|
+
{
|
|
1887
|
+
src: `/assets/edge-interference/slideshow/${imageUrl}`,
|
|
1888
|
+
alt: imageAlt,
|
|
1889
|
+
className: "size-full max-w-[1/2] rounded-lg object-cover"
|
|
1890
|
+
}
|
|
1891
|
+
);
|
|
1892
|
+
}
|
|
1893
|
+
function EdgeSlideshowHeader() {
|
|
1894
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("header", { className: "flex flex-col gap-4", children: [
|
|
1895
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text, { text: "The Benchmark for Edge AI", size: "h2", color: "default" }),
|
|
1896
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1897
|
+
Text,
|
|
1898
|
+
{
|
|
1899
|
+
text: "Luxonis devices deliver unparalleled AI performance at the edge, combining neural inference, stereo depth, and real-time vision in one compact package.",
|
|
1900
|
+
size: "lg",
|
|
1901
|
+
color: "default"
|
|
1902
|
+
}
|
|
1903
|
+
)
|
|
1904
|
+
] });
|
|
1905
|
+
}
|
|
1906
|
+
function EdgeSlideshowNav(props) {
|
|
1907
|
+
const { activeSlide, setActiveSlide, autoscrolling, inView } = props;
|
|
1908
|
+
const [progress, setProgress] = (0, import_react14.useState)(0);
|
|
1909
|
+
(0, import_react14.useEffect)(() => {
|
|
1910
|
+
let intervalId;
|
|
1911
|
+
const startTime = Date.now();
|
|
1912
|
+
if (autoscrolling && inView) {
|
|
1913
|
+
intervalId = window.setInterval(() => {
|
|
1914
|
+
const elapsed = Date.now() - startTime;
|
|
1915
|
+
const newProgress = Math.min(elapsed / 1e4 * 100, 100);
|
|
1916
|
+
setProgress(newProgress);
|
|
1917
|
+
if (newProgress >= 100) {
|
|
1918
|
+
clearInterval(intervalId);
|
|
1919
|
+
setProgress(0);
|
|
1920
|
+
}
|
|
1921
|
+
}, 100);
|
|
1922
|
+
}
|
|
1923
|
+
return () => {
|
|
1924
|
+
if (intervalId !== void 0) {
|
|
1925
|
+
clearInterval(intervalId);
|
|
1926
|
+
}
|
|
1927
|
+
};
|
|
1928
|
+
}, [autoscrolling, activeSlide, inView]);
|
|
1929
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("nav", { className: "flex flex-row items-center gap-3", children: slides.map(
|
|
1930
|
+
(slide, index) => autoscrolling && slides.indexOf(slide) === slides.indexOf(activeSlide) ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1931
|
+
Progress,
|
|
1932
|
+
{
|
|
1933
|
+
onClick: () => setActiveSlide(slide),
|
|
1934
|
+
value: progress,
|
|
1935
|
+
max: 100,
|
|
1936
|
+
className: "!h-3 w-16 cursor-pointer select-none"
|
|
1937
|
+
},
|
|
1938
|
+
index
|
|
1939
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1940
|
+
Badge,
|
|
1941
|
+
{
|
|
1942
|
+
onClick: () => setActiveSlide(slide),
|
|
1943
|
+
variant: activeSlide === slide ? "default" : "secondary",
|
|
1944
|
+
className: "h-3 w-16 cursor-pointer select-none"
|
|
1945
|
+
},
|
|
1946
|
+
slide
|
|
1947
|
+
)
|
|
1948
|
+
) });
|
|
1949
|
+
}
|
|
1950
|
+
function EdgeSlideshowTextPoint(props) {
|
|
1951
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("article", { className: `flex flex-col items-start gap-2`, children: [
|
|
1952
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text, { text: props.title, size: "md", color: "default", weight: "bold" }),
|
|
1953
|
+
typeof props.description === "string" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text, { text: props.description, size: "md", color: "default" }) : props.description
|
|
1954
|
+
] });
|
|
1955
|
+
}
|
|
1956
|
+
function EdgeSlideshowText(props) {
|
|
1957
|
+
const { activeSlide, setActiveSlide, autoscrolling, inView } = props;
|
|
1958
|
+
const slideInfo = getSlideInfo(activeSlide);
|
|
1959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("section", { className: "flex size-full flex-col justify-between gap-4", children: [
|
|
1960
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("section", { className: "hidden xl:flex", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EdgeSlideshowHeader, {}) }),
|
|
1961
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("article", { className: "flex flex-col items-start gap-8", children: [
|
|
1962
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text, { text: slideInfo.title, size: "h4", color: "primary" }),
|
|
1963
|
+
slideInfo.content,
|
|
1964
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1965
|
+
EdgeSlideshowNav,
|
|
1966
|
+
{
|
|
1967
|
+
activeSlide,
|
|
1968
|
+
autoscrolling,
|
|
1969
|
+
inView,
|
|
1970
|
+
setActiveSlide
|
|
1971
|
+
}
|
|
1972
|
+
)
|
|
1973
|
+
] })
|
|
1974
|
+
] });
|
|
1975
|
+
}
|
|
1976
|
+
function EdgeSlideshow() {
|
|
1977
|
+
const [activeSlide, setActiveSlide] = (0, import_react14.useState)("ai-performance");
|
|
1978
|
+
const [autoscrolling, setAutoscrolling] = (0, import_react14.useState)(true);
|
|
1979
|
+
const { ref, inView } = (0, import_react_intersection_observer.useInView)({});
|
|
1980
|
+
(0, import_react14.useEffect)(() => {
|
|
1981
|
+
let intervalId;
|
|
1982
|
+
if (inView) {
|
|
1983
|
+
intervalId = window.setInterval(() => {
|
|
1984
|
+
setActiveSlide(getNextSlide(activeSlide));
|
|
1985
|
+
setAutoscrolling(true);
|
|
1986
|
+
}, 1e4);
|
|
1987
|
+
}
|
|
1988
|
+
return () => {
|
|
1989
|
+
if (intervalId !== void 0) {
|
|
1990
|
+
clearInterval(intervalId);
|
|
1991
|
+
}
|
|
1992
|
+
};
|
|
1993
|
+
}, [inView, activeSlide, setActiveSlide]);
|
|
1994
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("section", { className: "page-card page-padding bg-white", children: [
|
|
1995
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("section", { className: "flex pb-8 xl:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EdgeSlideshowHeader, {}) }),
|
|
1996
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
1997
|
+
"div",
|
|
1998
|
+
{
|
|
1999
|
+
ref,
|
|
2000
|
+
className: "page-card-content grid grid-cols-1 items-center justify-center gap-8 lg:justify-around lg:gap-24 xl:grid-cols-2 ",
|
|
2001
|
+
children: [
|
|
2002
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(EdgeSlideshowImage, { activeSlide }),
|
|
2003
|
+
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
2004
|
+
EdgeSlideshowText,
|
|
2005
|
+
{
|
|
2006
|
+
inView,
|
|
2007
|
+
activeSlide,
|
|
2008
|
+
setActiveSlide,
|
|
2009
|
+
autoscrolling
|
|
2010
|
+
}
|
|
2011
|
+
)
|
|
2012
|
+
]
|
|
2013
|
+
}
|
|
2014
|
+
)
|
|
2015
|
+
] });
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
// src/StereoDepthCalibration.tsx
|
|
2019
|
+
var import_react15 = require("@iconify/react");
|
|
2020
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
2021
|
+
var cards = [
|
|
2022
|
+
{
|
|
2023
|
+
title: "Extreme Precision",
|
|
2024
|
+
text: "Alignment on 42 key metrics ensures unparalleled accuracy across stereo pairs.",
|
|
2025
|
+
icon: "uil:crosshair"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
title: "Wide Lens Compatibility",
|
|
2029
|
+
text: "Accommodates a variety of lenses, including super wide-angle optics.",
|
|
2030
|
+
icon: "mage:lens-fill"
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
title: "Temperature Compensation",
|
|
2034
|
+
text: "Calibrated for stability across temperature fluctuations.",
|
|
2035
|
+
icon: "fluent:temperature-16-regular"
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
title: "Housing Calibration",
|
|
2039
|
+
text: "Fine-tuned for alignment between the camera and its physical enclosure.",
|
|
2040
|
+
icon: "f7:gear-alt-fill"
|
|
2041
|
+
}
|
|
2042
|
+
];
|
|
2043
|
+
function StereoDepthCalibrationWrapper() {
|
|
2044
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("section", { className: "page-card-content relative flex size-full flex-col items-center justify-center gap-8 overflow-hidden rounded-lg bg-black", children: [
|
|
2045
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2046
|
+
"img",
|
|
2047
|
+
{
|
|
2048
|
+
alt: "Stereo Depth Calibration Background Overlay",
|
|
2049
|
+
src: "https://www.luxonis.com/assets/stereo-depth/stereo-depth-calibration-bg.webp",
|
|
2050
|
+
className: "absolute size-full bg-cover bg-center bg-no-repeat object-cover md:h-5/6"
|
|
2051
|
+
}
|
|
2052
|
+
),
|
|
2053
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StereoDepthCalibrationBody, {})
|
|
2054
|
+
] });
|
|
2055
|
+
}
|
|
2056
|
+
function StereoDepthCalibrationHeader() {
|
|
2057
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("header", { className: "flex flex-col items-center justify-center gap-4 pt-6 text-center lg:w-1/2", children: [
|
|
2058
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { text: "Rail Calibration", size: "md", color: "muted", className: "uppercase" }),
|
|
2059
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { text: "Starting on the Right Track", size: "h2", color: "white" }),
|
|
2060
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2061
|
+
Text,
|
|
2062
|
+
{
|
|
2063
|
+
text: "Our patent pending rail calibration process guarantees unmatched consistency.",
|
|
2064
|
+
size: "lg",
|
|
2065
|
+
color: "white"
|
|
2066
|
+
}
|
|
2067
|
+
)
|
|
2068
|
+
] });
|
|
2069
|
+
}
|
|
2070
|
+
function StereoDepthCalibrationFooter() {
|
|
2071
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("footer", { className: "mt-10 flex flex-col items-start gap-8", children: [
|
|
2072
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
2073
|
+
Text,
|
|
2074
|
+
{
|
|
2075
|
+
text: "From lenses to housing, every component is precisely aligned for dependable performance.",
|
|
2076
|
+
size: "h4",
|
|
2077
|
+
color: "white",
|
|
2078
|
+
className: "w-full lg:w-2/5"
|
|
2079
|
+
}
|
|
2080
|
+
),
|
|
2081
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StereoDepthCalibrationFooterCards, {})
|
|
2082
|
+
] });
|
|
2083
|
+
}
|
|
2084
|
+
function StereoDepthCalibrationFooterCard(props) {
|
|
2085
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(FrostedCard, { className: "flex h-full flex-col items-start justify-start gap-2", children: [
|
|
2086
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react15.Icon, { icon: props.icon, width: 32, height: 32, className: "card-icon" }),
|
|
2087
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { text: props.title, size: "lg", color: "white", weight: "semibold" }),
|
|
2088
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { text: props.text, size: "sm", color: "white" })
|
|
2089
|
+
] });
|
|
2090
|
+
}
|
|
2091
|
+
function StereoDepthCalibrationFooterCards() {
|
|
2092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("section", { className: "grid size-full grid-cols-1 items-center justify-center gap-8 md:grid-cols-2 xl:grid-cols-4", children: cards.map((card) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StereoDepthCalibrationFooterCard, { ...card }, card.title)) });
|
|
2093
|
+
}
|
|
2094
|
+
function StereoDepthCalibrationBody() {
|
|
2095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("section", { className: " z-[1] flex size-full flex-col items-center justify-start overflow-hidden rounded-lg p-4 lg:p-12", children: [
|
|
2096
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StereoDepthCalibrationHeader, {}),
|
|
2097
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StereoDepthCalibrationFooter, {})
|
|
2098
|
+
] });
|
|
2099
|
+
}
|
|
2100
|
+
function StereoDepthCalibration() {
|
|
2101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("section", { className: "page-card page-padding bg-white", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StereoDepthCalibrationWrapper, {}) });
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
// src/Support.tsx
|
|
2105
|
+
var import_class_variance_authority23 = require("class-variance-authority");
|
|
2106
|
+
|
|
2107
|
+
// src/links.ts
|
|
2108
|
+
var github = "https://github.com/luxonis/";
|
|
2109
|
+
var twitter = "https://twitter.com/luxonis";
|
|
2110
|
+
var linkedin = "https://www.linkedin.com/company/luxonis/";
|
|
2111
|
+
var youtube = "https://www.youtube.com/c/Luxonis";
|
|
2112
|
+
var discord = "https://www.luxonis.com/discord";
|
|
2113
|
+
var docs = "https://docs.luxonis.com/en/latest/";
|
|
2114
|
+
var forum = "https://discuss.luxonis.com/";
|
|
2115
|
+
var status = "https://status.luxonis.com/";
|
|
2116
|
+
var store = "https://shop.luxonis.com/";
|
|
2117
|
+
var oakRealsenseDocs = "https://docs.luxonis.com/projects/hardware/en/latest/pages/guides/realsense_comparison.html";
|
|
2118
|
+
var distributorForm = "https://docs.google.com/forms/d/e/1FAIpQLSeVo9QREQxPsIxiHCAfyEgnI2kK88W4r6dUkCTbYfH_R5emAQ/viewform?vc=0&c=0&w=1&flr=0";
|
|
2119
|
+
var kickstarter = "https://www.kickstarter.com/projects/opencv/rae-0";
|
|
2120
|
+
var raeStorepage = "https://shop.luxonis.com/collections/early-access/products/rae";
|
|
2121
|
+
var robothub = "https://hub.luxonis.com/join";
|
|
2122
|
+
var depthaiHardwareProject = "https://github.com/luxonis/depthai-hardware/tree/master/DM1095_OAK-D-LITE-DEV_DepthAI_USB3C";
|
|
2123
|
+
var getStoreSearchLink = (search) => {
|
|
2124
|
+
return `https://shop.luxonis.com/search?q=${search}`;
|
|
2125
|
+
};
|
|
2126
|
+
var supportMail = "mailto:support@luxonis.com";
|
|
2127
|
+
var supportMailClean = "support@luxonis.com";
|
|
2128
|
+
var salesMail = "mailto:orders@luxonis.com";
|
|
2129
|
+
var salesMailClean = "orders@luxonis.com";
|
|
2130
|
+
var applyMail = "mailto:careers@luxonis.com";
|
|
2131
|
+
var applyMailClean = "careers@luxonis.com";
|
|
2132
|
+
var showcaseMail = "mailto:support@luxonis.com";
|
|
2133
|
+
var showcaseMailClean = "support@luxonis.com";
|
|
2134
|
+
var blog = "https://discuss.luxonis.com/blog";
|
|
2135
|
+
var privacy = "/privacy";
|
|
2136
|
+
var termsOfService = "/terms-of-service";
|
|
2137
|
+
var aboutUs = "/about-us";
|
|
2138
|
+
var showcase = "/solutions";
|
|
2139
|
+
var careers = "/careers";
|
|
2140
|
+
var distributors = "/distributors";
|
|
2141
|
+
var marketing = "/marketing";
|
|
2142
|
+
var robothubInternal = "/hub";
|
|
2143
|
+
var certificates = "/certificates";
|
|
2144
|
+
var services = "/services";
|
|
2145
|
+
var bloomberg = "https://www.bloomberg.com/news/articles/2021-03-11/oak-d-device-paves-the-way-for-future-spatial-ai";
|
|
2146
|
+
var forbes = "https://www.forbes.com/sites/gusalexiou/2021/03/24/cutting-edge-intel-ai-powered-backpack-could-replace-a-guide-dog-for-blind-people/?sh=70bb63d01b36";
|
|
2147
|
+
var techcrunch = "https://techcrunch.com/2020/07/14/opencv-ai-kit-aims-to-do-for-computer-vision-what-raspberry-pi-did-for-hobbyist-hardware/";
|
|
2148
|
+
var camerasProducts = "https://shop.luxonis.com/collections/oak-cameras-1";
|
|
2149
|
+
var modulesProducts = "https://shop.luxonis.com/collections/oak-modules";
|
|
2150
|
+
var accessoriesProducts = "https://shop.luxonis.com/collections/accessories";
|
|
2151
|
+
var earlyAccessProducts = "https://shop.luxonis.com/collections/early-access";
|
|
2152
|
+
var supportForm = "https://share-eu1.hsforms.com/1qY1TD1LgRU27qYXxzRyHNgf2chh";
|
|
2153
|
+
var servicesMeetLink = "https://meetings-eu1.hubspot.com/bradley1/luxonis-services-";
|
|
2154
|
+
var replayInstructions = "https://docs-beta.luxonis.com/cloud/perception-apps/robothub-library/replay/";
|
|
2155
|
+
var contactLink = "https://meetings-eu1.hubspot.com/cj-mann/cj-demo";
|
|
2156
|
+
|
|
2157
|
+
// src/TalkToSalesButton.tsx
|
|
2158
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2159
|
+
function TalkToSalesButton() {
|
|
2160
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("a", { href: contactLink, target: "_blank", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Button, { variant: "secondary", color: "white", role: "continue", children: "Talk to Sales" }) });
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
// src/ContactUsForm.tsx
|
|
2164
|
+
var import_zod = require("zod");
|
|
2165
|
+
var import_react17 = __toESM(require("react"));
|
|
2166
|
+
|
|
2167
|
+
// src/useRudderAnalytics.ts
|
|
2168
|
+
var import_react16 = require("react");
|
|
2169
|
+
var useRudderStackAnalytics = () => {
|
|
2170
|
+
const [analytics, setAnalytics] = (0, import_react16.useState)();
|
|
2171
|
+
(0, import_react16.useEffect)(() => {
|
|
2172
|
+
if (!analytics) {
|
|
2173
|
+
const initialize = async () => {
|
|
2174
|
+
const { RudderAnalytics } = await import("@rudderstack/analytics-js");
|
|
2175
|
+
const analyticsInstance = new RudderAnalytics();
|
|
2176
|
+
if (!process.env.NEXT_PUBLIC_RUDDERSTACK_WRITE_KEY || !process.env.NEXT_PUBLIC_RUDDERSTACK_DATAPLANE) {
|
|
2177
|
+
console.warn("RudderStack not configured");
|
|
2178
|
+
return;
|
|
2179
|
+
}
|
|
2180
|
+
analyticsInstance.load(
|
|
2181
|
+
process.env.NEXT_PUBLIC_RUDDERSTACK_WRITE_KEY,
|
|
2182
|
+
process.env.NEXT_PUBLIC_RUDDERSTACK_DATAPLANE,
|
|
2183
|
+
{
|
|
2184
|
+
storage: { type: "memoryStorage" }
|
|
2185
|
+
}
|
|
2186
|
+
// Disables storage of events in local storage or cookies
|
|
2187
|
+
);
|
|
2188
|
+
window.rudderanalytics = analyticsInstance;
|
|
2189
|
+
setAnalytics(analyticsInstance);
|
|
2190
|
+
};
|
|
2191
|
+
initialize().catch((e) => console.log(e));
|
|
2192
|
+
}
|
|
2193
|
+
}, [analytics]);
|
|
2194
|
+
return analytics;
|
|
2195
|
+
};
|
|
2196
|
+
|
|
2197
|
+
// src/ContactUsForm.tsx
|
|
2198
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
2199
|
+
var formSchema = import_zod.z.object({
|
|
2200
|
+
name: import_zod.z.string().min(1),
|
|
2201
|
+
company: import_zod.z.string().min(1),
|
|
2202
|
+
email: import_zod.z.string().email(),
|
|
2203
|
+
message: import_zod.z.string().min(1),
|
|
2204
|
+
inquiry: import_zod.z.string().min(1)
|
|
2205
|
+
});
|
|
2206
|
+
function ContactUsForm() {
|
|
2207
|
+
const [formSubmitted, setFormSubmitted] = import_react17.default.useState(false);
|
|
2208
|
+
const [formHasError, setFormHasError] = import_react17.default.useState(false);
|
|
2209
|
+
const [formIsLoading, setFormIsLoading] = import_react17.default.useState(false);
|
|
2210
|
+
const analytics = useRudderStackAnalytics();
|
|
2211
|
+
const handleSubmit = (event) => {
|
|
2212
|
+
event.preventDefault();
|
|
2213
|
+
setFormIsLoading(true);
|
|
2214
|
+
const [nameInput, companyInput, emailInput, inquiryInput, messageInput] = [
|
|
2215
|
+
document.getElementById("name"),
|
|
2216
|
+
document.getElementById("company"),
|
|
2217
|
+
document.getElementById("email"),
|
|
2218
|
+
document.getElementById("inquiry"),
|
|
2219
|
+
document.getElementById("message")
|
|
2220
|
+
];
|
|
2221
|
+
const formData = {
|
|
2222
|
+
name: nameInput.value,
|
|
2223
|
+
company: companyInput.value,
|
|
2224
|
+
email: emailInput.value,
|
|
2225
|
+
inquiry: inquiryInput.textContent,
|
|
2226
|
+
message: messageInput.value
|
|
2227
|
+
};
|
|
2228
|
+
setFormHasError(false);
|
|
2229
|
+
const parsedData = formSchema.safeParse(formData);
|
|
2230
|
+
if (parsedData.error || !parsedData.data) {
|
|
2231
|
+
console.warn("Form contains errors!", parsedData.error);
|
|
2232
|
+
setFormHasError(true);
|
|
2233
|
+
setFormIsLoading(false);
|
|
2234
|
+
return;
|
|
2235
|
+
}
|
|
2236
|
+
if (!analytics) {
|
|
2237
|
+
console.warn("Rudder Stack not running");
|
|
2238
|
+
setFormIsLoading(false);
|
|
2239
|
+
return;
|
|
2240
|
+
}
|
|
2241
|
+
analytics.identify(
|
|
2242
|
+
parsedData.data.email,
|
|
2243
|
+
{
|
|
2244
|
+
...parsedData
|
|
2245
|
+
},
|
|
2246
|
+
() => {
|
|
2247
|
+
console.debug("User identified.");
|
|
2248
|
+
}
|
|
2249
|
+
);
|
|
2250
|
+
analytics.track(
|
|
2251
|
+
"Contact Form Submitted",
|
|
2252
|
+
{
|
|
2253
|
+
message: "Message from contact form",
|
|
2254
|
+
reasonForContact: parsedData.data,
|
|
2255
|
+
privacyPolicyAccepted: true,
|
|
2256
|
+
formData
|
|
2257
|
+
},
|
|
2258
|
+
() => {
|
|
2259
|
+
setFormIsLoading(false);
|
|
2260
|
+
console.debug("Form submission event tracked.");
|
|
2261
|
+
}
|
|
2262
|
+
);
|
|
2263
|
+
setFormSubmitted(true);
|
|
2264
|
+
};
|
|
2265
|
+
if (formSubmitted) {
|
|
2266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "m-auto flex size-full h-[456px] flex-col items-center justify-center px-4", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
2267
|
+
Text,
|
|
2268
|
+
{
|
|
2269
|
+
size: "h4",
|
|
2270
|
+
text: "Thank you for your message. We will get back to you soon.",
|
|
2271
|
+
color: "white",
|
|
2272
|
+
className: "my-auto text-center"
|
|
2273
|
+
}
|
|
2274
|
+
) });
|
|
2275
|
+
}
|
|
2276
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("form", { id: "contact-form-anchor", className: "flex w-full flex-col gap-6 text-white", onSubmit: handleSubmit, children: [
|
|
2277
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex w-full flex-col gap-6 lg:flex-row", children: [
|
|
2278
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex w-full flex-col gap-2", children: [
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Label, { className: "font-normal", htmlFor: "name", children: "Name *" }),
|
|
2280
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Input, { type: "text", id: "name", placeholder: "E.g. Hanna Johns" })
|
|
2281
|
+
] }),
|
|
2282
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex w-full flex-col gap-2", children: [
|
|
2283
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Label, { className: "font-normal", htmlFor: "Company", children: "Company *" }),
|
|
2284
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Input, { type: "text", id: "company", placeholder: "E.g. Hanna" })
|
|
2285
|
+
] })
|
|
2286
|
+
] }),
|
|
2287
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2288
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Label, { className: "font-normal", htmlFor: "email", children: "E-mail *" }),
|
|
2289
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Input, { type: "email", id: "email", placeholder: "E.g. info@email.com" })
|
|
2290
|
+
] }),
|
|
2291
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2292
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Label, { className: "font-normal", htmlFor: "inquiry", children: "Type of Inquiry *" }),
|
|
2293
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Select, { children: [
|
|
2294
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectTrigger, { className: "h-[48px] bg-white text-black ", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectValue, { id: "inquiry", placeholder: "Select..." }) }),
|
|
2295
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(SelectContent, { className: "bg-white", children: [
|
|
2296
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectItem, { value: "Hub assistance", children: "Hub assistance" }),
|
|
2297
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectItem, { value: "hardware-issue", children: "Hardware issue" }),
|
|
2298
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectItem, { value: "support", children: "Support" }),
|
|
2299
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectItem, { value: "training", children: "Training" }),
|
|
2300
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectItem, { value: "other", children: "Other" })
|
|
2301
|
+
] })
|
|
2302
|
+
] })
|
|
2303
|
+
] }),
|
|
2304
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col gap-2", children: [
|
|
2305
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Label, { className: "font-normal", htmlFor: "message", children: "Message *" }),
|
|
2306
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Input, { type: "text", id: "message", placeholder: "Type..." })
|
|
2307
|
+
] }),
|
|
2308
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-row items-center justify-start gap-8", children: [
|
|
2309
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button, { type: "submit", variant: "secondary", size: "lg", role: "continue", className: "w-fit", children: formIsLoading ? "Submitting..." : "Submit" }),
|
|
2310
|
+
formHasError && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Text, { text: "Please fill out all fields", color: "error", size: "xl" })
|
|
2311
|
+
] })
|
|
2312
|
+
] });
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
// src/Support.tsx
|
|
2316
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
2317
|
+
var Support = (props) => {
|
|
2318
|
+
const { variant = "fullpage", text } = props;
|
|
2319
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "page-card page-padding", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
2320
|
+
Card,
|
|
2321
|
+
{
|
|
2322
|
+
variant,
|
|
2323
|
+
outerStyles: "h-full",
|
|
2324
|
+
className: (0, import_class_variance_authority23.cx)(
|
|
2325
|
+
"page-card-content mx-auto flex w-full h-full flex-col gap-x-20 gap-y-4 justify-between overflow-hidden bg-gradient-stereo-depth pt-12 xl:p-8 xl:flex-row"
|
|
2326
|
+
),
|
|
2327
|
+
children: [
|
|
2328
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex w-full flex-col items-center gap-8 px-4 text-white xl:w-fit xl:items-start xl:gap-10 xl:px-0", children: [
|
|
2329
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex w-full flex-col items-center gap-4 text-white xl:items-start xl:gap-6", children: [
|
|
2330
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Text, { size: "h2", text: text ?? "Need More Help?", className: "max-w-[650px] text-center xl:text-left" }),
|
|
2331
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2332
|
+
Text,
|
|
2333
|
+
{
|
|
2334
|
+
size: "lg",
|
|
2335
|
+
text: "Our dedicated team is available for technical support, business solutions, and more. Let us provide the help you need.",
|
|
2336
|
+
className: "w-full max-w-105 text-center xl:text-left"
|
|
2337
|
+
}
|
|
2338
|
+
)
|
|
2339
|
+
] }),
|
|
2340
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex w-fit flex-col gap-4 md:flex-row", children: [
|
|
2341
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(TalkToSalesButton, {}),
|
|
2342
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("a", { href: "https://chat.luxonis.com", target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Button, { size: "lg", variant: "secondary", role: "continue", children: "Get Instant Support" }) })
|
|
2343
|
+
] })
|
|
2344
|
+
] }),
|
|
2345
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "w-full p-4 xl:p-0", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(FrostedCard, { className: "h-full", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ContactUsForm, {}) }) })
|
|
2346
|
+
]
|
|
2347
|
+
}
|
|
2348
|
+
) });
|
|
2349
|
+
};
|
|
2350
|
+
|
|
2351
|
+
// src/ContactUs.tsx
|
|
2352
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
2353
|
+
var ContactUsSection = (props) => {
|
|
2354
|
+
const {
|
|
2355
|
+
title = "Let\u2019s Build \n the Future of \n Vision Together",
|
|
2356
|
+
description = "Our dedicated team is available for technical support, business solutions, and more. Let us provide the help you need."
|
|
2357
|
+
} = props;
|
|
2358
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("section", { id: "contact-us", className: "page-card page-padding", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("section", { className: "page-card-content flex flex-col gap-8 rounded-lg p-4 pt-12 [background:radial-gradient(416.66%_106.71%_at_76.3%_37.11%,#5724E8_0%,#000_100%),#000] md:p-12 lg:flex-row lg:justify-between", children: [
|
|
2359
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
2360
|
+
Description,
|
|
2361
|
+
{
|
|
2362
|
+
title,
|
|
2363
|
+
align: "left",
|
|
2364
|
+
textStyle: "max-w-none w-fit lg:max-w-auto lg:justify-start justify-center lg:text-left text-center",
|
|
2365
|
+
wrapperClassName: "lg:items-start items-center lg:text-left text-center flex",
|
|
2366
|
+
description,
|
|
2367
|
+
className: "text-white ",
|
|
2368
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex w-full max-w-[500px] flex-col flex-wrap items-center gap-4 lg:flex-row lg:justify-start", children: [
|
|
2369
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("a", { href: "https://hub.luxonis.com", target: "_blank", className: "w-fit", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { variant: "secondary", size: "lg", role: "continue", className: "w-full", children: "Start for Free" }) }),
|
|
2370
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(TalkToSalesButton, {})
|
|
2371
|
+
] })
|
|
2372
|
+
}
|
|
2373
|
+
),
|
|
2374
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)(FrostedCard, { className: "!p-6", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ContactUsForm, {}) })
|
|
2375
|
+
] }) });
|
|
2376
|
+
};
|
|
1641
2377
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1642
2378
|
0 && (module.exports = {
|
|
1643
2379
|
Accordion,
|
|
@@ -1655,9 +2391,12 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
1655
2391
|
ChatButton,
|
|
1656
2392
|
Checkbox,
|
|
1657
2393
|
CodeBlock,
|
|
2394
|
+
ContactUsForm,
|
|
2395
|
+
ContactUsSection,
|
|
1658
2396
|
Copyright,
|
|
1659
2397
|
Description,
|
|
1660
2398
|
DualRangeSlider,
|
|
2399
|
+
EdgeSlideshow,
|
|
1661
2400
|
FrostedCard,
|
|
1662
2401
|
Hero,
|
|
1663
2402
|
HoverCard,
|
|
@@ -1665,6 +2404,7 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
1665
2404
|
HoverCardTrigger,
|
|
1666
2405
|
Input,
|
|
1667
2406
|
Label,
|
|
2407
|
+
Progress,
|
|
1668
2408
|
SearchBar,
|
|
1669
2409
|
Select,
|
|
1670
2410
|
SelectContent,
|
|
@@ -1676,6 +2416,8 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
1676
2416
|
SelectSeparator,
|
|
1677
2417
|
SelectTrigger,
|
|
1678
2418
|
SelectValue,
|
|
2419
|
+
StereoDepthCalibration,
|
|
2420
|
+
Support,
|
|
1679
2421
|
Switch,
|
|
1680
2422
|
Table,
|
|
1681
2423
|
TableBody,
|
|
@@ -1689,6 +2431,7 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
1689
2431
|
TabsContent,
|
|
1690
2432
|
TabsList,
|
|
1691
2433
|
TabsTrigger,
|
|
2434
|
+
TalkToSalesButton,
|
|
1692
2435
|
Text,
|
|
1693
2436
|
Textarea,
|
|
1694
2437
|
Tooltip,
|
|
@@ -1696,7 +2439,54 @@ TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
|
1696
2439
|
TooltipProvider,
|
|
1697
2440
|
TooltipTrigger,
|
|
1698
2441
|
Video,
|
|
2442
|
+
aboutUs,
|
|
2443
|
+
accessoriesProducts,
|
|
2444
|
+
applyMail,
|
|
2445
|
+
applyMailClean,
|
|
1699
2446
|
badgeVariants,
|
|
2447
|
+
blog,
|
|
2448
|
+
bloomberg,
|
|
1700
2449
|
buttonVariants,
|
|
1701
|
-
|
|
2450
|
+
camerasProducts,
|
|
2451
|
+
careers,
|
|
2452
|
+
certificates,
|
|
2453
|
+
contactLink,
|
|
2454
|
+
depthaiHardwareProject,
|
|
2455
|
+
discord,
|
|
2456
|
+
distributorForm,
|
|
2457
|
+
distributors,
|
|
2458
|
+
docs,
|
|
2459
|
+
earlyAccessProducts,
|
|
2460
|
+
forbes,
|
|
2461
|
+
forum,
|
|
2462
|
+
getStoreSearchLink,
|
|
2463
|
+
github,
|
|
2464
|
+
kickstarter,
|
|
2465
|
+
linkedin,
|
|
2466
|
+
marketing,
|
|
2467
|
+
modulesProducts,
|
|
2468
|
+
oakRealsenseDocs,
|
|
2469
|
+
parseNewLines,
|
|
2470
|
+
privacy,
|
|
2471
|
+
raeStorepage,
|
|
2472
|
+
replayInstructions,
|
|
2473
|
+
robothub,
|
|
2474
|
+
robothubInternal,
|
|
2475
|
+
salesMail,
|
|
2476
|
+
salesMailClean,
|
|
2477
|
+
services,
|
|
2478
|
+
servicesMeetLink,
|
|
2479
|
+
showcase,
|
|
2480
|
+
showcaseMail,
|
|
2481
|
+
showcaseMailClean,
|
|
2482
|
+
status,
|
|
2483
|
+
store,
|
|
2484
|
+
supportForm,
|
|
2485
|
+
supportMail,
|
|
2486
|
+
supportMailClean,
|
|
2487
|
+
techcrunch,
|
|
2488
|
+
termsOfService,
|
|
2489
|
+
twitter,
|
|
2490
|
+
useRudderStackAnalytics,
|
|
2491
|
+
youtube
|
|
1702
2492
|
});
|