import{r as e,h as a}from"./p-ytAlchvh.js";const i=class{constructor(a){e(this,a)}getClass(){return["ecl-inpage-navigation__item",`sc-ecl-inpage-navigation-${this.theme}`,this.styleClass].join(" ")}componentWillLoad(){var e;this.theme=null!==(e=document.documentElement.getAttribute("data-ecl-theme"))&&void 0!==e?e:this.theme||"ec"}render(){return a("li",{key:"7a40f31ddf800643c3258c370d060eb7194291f0",class:this.getClass()},a("ecl-link",{key:"3ef2efe9da38a325b6cb344d4f708f2519781258",theme:this.theme,path:this.path,"style-class":`ecl-inpage-navigation__link sc-ecl-inpage-navigation-${this.theme}`,"data-ecl-inpage-navigation-link":!0},a("slot",{key:"10a19d9cd2e5930a90e07ec4a6919ad16c82bc4c"})))}};export{i as ecl_inpage_navigation_item}