"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),s=require("../index-DnaHaH_0.js"),o=require("../Slot-ghrohQLA.js"),g=require("../TextLink-DD0VO37q.js"),k=require("@spark-ui/icons/ArrowVerticalRight"),y=require("../Icon-Bf0XrmiR.js"),p=({className:e,"aria-label":r,ref:t,...n})=>a.jsx("nav",{"data-spark-component":"breadcrumb",ref:t,"aria-label":r,className:s.cx("text-caption text-neutral",e),children:a.jsx("ol",{className:s.cx("gap-sm flex flex-wrap items-center break-words"),...n})});p.displayName="Breadcrumb.Breadcrumb";const l=({asChild:e=!1,className:r,children:t,...n})=>{const c=e?o.Slot:"span";return a.jsx(c,{"data-spark-component":"breadcrumb-current-page",role:"link","aria-disabled":!0,"aria-current":"page",className:s.cx("inline! overflow-hidden font-bold text-ellipsis whitespace-nowrap text-current",r),...n,children:t})};l.displayName="Breadcrumb.CurrentPage";const m=({className:e,...r})=>a.jsx("li",{"data-spark-component":"breadcrumb-item",className:s.cx("min-w-none gap-sm inline-flex items-center",e),...r});m.displayName="Breadcrumb.Item";const d=({asChild:e=!1,className:r,bold:t=!0,intent:n="current",underline:c=!0,href:i,ref:x,...N})=>{const B=e?o.Slot:g.TextLink;return a.jsx(B,{"data-spark-component":"breadcrumb-link",href:i,ref:x,className:s.cx("inline! overflow-hidden text-ellipsis whitespace-nowrap",r),bold:t,intent:n,underline:c,...N})};d.displayName="Breadcrumb.Link";const u=({asChild:e=!1,className:r,children:t,ref:n,...c})=>{const i=e?o.Slot:"li";return a.jsx(i,{role:"presentation","aria-hidden":!0,"data-spark-component":"breadcrumb-separator",ref:n,className:s.cx("gap-sm inline-flex items-center",r),...c,children:t??a.jsx(y.Icon,{children:a.jsx(k.ArrowVerticalRight,{})})})};u.displayName="Breadcrumb.Separator";const b=Object.assign(p,{Item:m,Link:d,CurrentPage:l,Separator:u});b.displayName="Breadcrumb";m.displayName="Breadcrumb.Item";d.displayName="Breadcrumb.Link";l.displayName="Breadcrumb.CurrentPage";u.displayName="Breadcrumb.Separator";exports.Breadcrumb=b;
//# sourceMappingURL=index.js.map
