import{__assign as e}from"tslib";import{jsxs as n,jsx as r}from"react/jsx-runtime";import i from"react";import{GitBranch as a,MoveRight as t}from"lucide-react";import c from"../styles/RuleAccordion.module.css.js";var m=function(m){var s=m.inheritance,l=m.inheritedLabel,o=void 0===l?"Inheritance":l;return!s||s.length<=0?null:n("div",e({className:c.inheritanceBreadcrumb},{children:[r(a,{size:12,className:c.inheritanceIcon}),r("span",e({className:c.inheritanceLabel},{children:o})),r("div",e({className:c.inheritanceItems},{children:s.map(function(a,m){var l=m===s.length-1,o=l?"".concat(c.inheritanceItem," ").concat(c.inheritanceItemCurrent):"".concat(c.inheritanceItem," ").concat(c.inheritanceItemDefault);return n(i.Fragment,{children:[r("span",e({className:o},{children:a})),!l&&r(t,{size:10,className:c.inheritanceArrow})]},m)})}))]}))};export{m as default};
//# sourceMappingURL=InheritanceBreadcrumb.js.map
