"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var a=require("styled-components");require("../../_virtual/jsx-runtime.js");var u=require("../../icons/ChevronLeft.js"),d=require("../../icons/ChevronRight.js"),t=require("../../utils/index.js");function s(e){return e&&e.__esModule?e:{default:e}}var r=s(a);const n=r.default.button`
  align-items: center;
  background: transparent;
  border: none;
  color: ${t.getColorAlias("contentDefault")};
  display: flex;
  height: 100%;
  padding: 0;
  ${t.getFontSize("size16")};
  cursor: ${e=>e.onClick||e.href?"pointer":"default"};
  font-weight: ${e=>e.theme.font.weightBold};
  text-decoration: ${e=>e.href?"none":"initial"};
`,o=r.default(d.default)`
  fill: ${t.getColorAlias("contentDefault")};
  margin: ${t.getSpacing("s00","s01")};
  width: 12px;
`,i=r.default(u.default)`
  fill: ${t.getColorAlias("contentDefault")};
  margin: ${t.getSpacing("s00","s01")};
  width: 14px;
`,l=r.default.span`
  color: ${t.getColorAlias("contentDefault")};
  height: 100%;
  ${t.getFontSize("size16")};
  text-decoration: none;
`,g=r.default.nav`
  display: flex;
  cursor: ${e=>e.onClick?"pointer":"default"};
  flex-flow: row nowrap;
  align-items: center;
  width: fit-content;

  ${e=>{switch(e.variant){case"back":return a.css`
          padding: ${t.getSpacing("s01","s03","s01","s02")};
        `;case"default":default:return a.css`
          padding: ${t.getSpacing("s01","s04")};
        `}}}

  ${e=>e.scrim&&a.css`
      background: ${t.getColorAlias("overlay")};
      border-radius: ${c=>c.theme.radius.roundedD};

      ${n}, ${l} {
        color: ${t.getColorAlias("contentLinkLight")};
      }

      ${o}, ${i} {
        fill: ${t.getColorAlias("contentLight")};
      }
    `}
`;exports.BreadcrumbBackChevron=i;exports.BreadcrumbChevron=o;exports.BreadcrumbCurrentPage=l;exports.BreadcrumbItem=n;exports.BreadcrumbWrapper=g;
