import{r as a,h as t,a as e}from"./p-DtIEDtZ8.js";import{d as r,t as o}from"./p-DcmcuUOA.js";import{i as n}from"./p-Bw2fh5LT.js";const s=":root{--ifx-font-family:\"Source Sans 3\", 'Arial, sans-serif'}:host{display:flex}.breadcrumb{list-style:none;padding:0px;margin:0px;display:flex;flex-direction:row;font-family:var(--ifx-font-family);font-size:0.875rem;align-items:flex-start}";const i=class{constructor(t){a(this,t)}async componentDidLoad(){if(!n(this.el)){const a=r();o("ifx-breadcrumb",await a)}const a=this.el.shadowRoot.firstChild;this.validateBreadcrumbItemStructure(a)}validateBreadcrumbItemStructure(a){if(!a){console.error("element not found");return}const t=a.querySelector("slot");if(t){const a=t.assignedNodes();for(let t=0;t<a.length;t++){const e=a[t];if(e.nodeName==="IFX-BREADCRUMB-ITEM"){const a=e;const t=a.querySelector("ifx-breadcrumb-item-label");const r=a.querySelector("ifx-dropdown-menu");if(t.hasAttribute("href")&&r){throw new Error("ifx-breadcrumb-item cannot have both a href and a dropdown menu.")}}}}}render(){return t("nav",{key:"edf76204e96413a39d1a543735bbb0a2530d8348","aria-label":"Page navigation breadcrumb"},t("ol",{key:"1b64075586076eb4f6ca73cf41202a52a180d1c3",class:"breadcrumb"},t("slot",{key:"352a0be161eb7b0ab45bdbbb59d023bd9da6ff73"})))}get el(){return e(this)}};i.style=s;export{i as ifx_breadcrumb};
//# sourceMappingURL=p-43943864.entry.js.map