'use strict';

var jsxRuntime = require('react/jsx-runtime');
var reactI18next = require('react-i18next');
var utils = require('../utils-CTr7wn5d.js');
var ellipsis = require('../ellipsis-4aubOI2n.js');
var chevronRight = require('../chevron-right-0jNdwX2Q.js');
var index = require('../index-DuNgWCXZ.js');
require('../createLucideIcon-D0tRgV6l.js');
require('react');
require('../index-D-iDn9RI.js');

function Breadcrumb$1({ className, ...props }) {
    const { t } = reactI18next.useTranslation();
    return (jsxRuntime.jsx("nav", { "aria-label": t("neetoatoms.breadcrumb.breadcrumb", "breadcrumb"), "data-slot": "breadcrumb", className: utils.cn(className), ...props }));
}
function BreadcrumbList$1({ className, ...props }) {
    return (jsxRuntime.jsx("ol", { "data-slot": "breadcrumb-list", className: utils.cn("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground", className), ...props }));
}
function BreadcrumbItem$1({ className, ...props }) {
    return (jsxRuntime.jsx("li", { "data-slot": "breadcrumb-item", className: utils.cn("inline-flex items-center gap-1", className), ...props }));
}
function BreadcrumbLink$1({ asChild, className, ...props }) {
    const Comp = asChild ? index.Slot : "a";
    return (jsxRuntime.jsx(Comp, { "data-slot": "breadcrumb-link", className: utils.cn("transition-colors hover:text-foreground", className), ...props }));
}
function BreadcrumbPage$1({ className, ...props }) {
    return (jsxRuntime.jsx("span", { "data-slot": "breadcrumb-page", role: "link", "aria-disabled": "true", "aria-current": "page", className: utils.cn("font-normal text-foreground", className), ...props }));
}
function BreadcrumbSeparator$1({ children, className, ...props }) {
    return (jsxRuntime.jsx("li", { "data-slot": "breadcrumb-separator", role: "presentation", "aria-hidden": "true", className: utils.cn("[&>svg]:size-3.5", className), ...props, children: children ?? (jsxRuntime.jsx(chevronRight.ChevronRight, { className: "rtl:rotate-180" })) }));
}
function BreadcrumbEllipsis$1({ className, ...props }) {
    const { t } = reactI18next.useTranslation();
    return (jsxRuntime.jsxs("span", { "data-slot": "breadcrumb-ellipsis", role: "presentation", "aria-hidden": "true", className: utils.cn("flex size-5 items-center justify-center [&>svg]:size-4", className), ...props, children: [jsxRuntime.jsx(ellipsis.Ellipsis, {}), jsxRuntime.jsx("span", { className: "sr-only", children: t("neetoatoms.breadcrumb.more", "More") })] }));
}

const Breadcrumb = (props) => (jsxRuntime.jsx(Breadcrumb$1, { ...props }));
const BreadcrumbList = (props) => jsxRuntime.jsx(BreadcrumbList$1, { ...props });
const BreadcrumbItem = (props) => jsxRuntime.jsx(BreadcrumbItem$1, { ...props });
const BreadcrumbLink = (props) => jsxRuntime.jsx(BreadcrumbLink$1, { ...props });
const BreadcrumbPage = (props) => jsxRuntime.jsx(BreadcrumbPage$1, { ...props });
const BreadcrumbSeparator = (props) => jsxRuntime.jsx(BreadcrumbSeparator$1, { ...props });
const BreadcrumbEllipsis = (props) => jsxRuntime.jsx(BreadcrumbEllipsis$1, { ...props });

exports.Breadcrumb = Breadcrumb;
exports.BreadcrumbEllipsis = BreadcrumbEllipsis;
exports.BreadcrumbItem = BreadcrumbItem;
exports.BreadcrumbLink = BreadcrumbLink;
exports.BreadcrumbList = BreadcrumbList;
exports.BreadcrumbPage = BreadcrumbPage;
exports.BreadcrumbSeparator = BreadcrumbSeparator;
//# sourceMappingURL=Breadcrumb.js.map
