1import{i as t,g as e,l as i,b as s,A as n}from"./pp-accordion-CA6w9In6.js";import{B as l}from"./pp-highcharts-D5Crk9o0.js";import"./pp-facet-dropdown-FY1eeaHH.js";class r extends t{static get properties(){return{itemsInitial:{type:Number,attribute:"items-initial"},expanded:{type:Boolean,attribute:!1},itemsCurrent:{type:Number,attribute:!1}}}constructor(){super(),this.itemsInitial=6,this.expanded=!1,this._children=e(this,["html-collection","pp-headline","pp-button-toggle"]),this.items=[...this._children?.["html-collection"].children].map(t=>i(t))}connectedCallback(){super.connectedCallback(),this.itemsCurrent=this.itemsInitial,this.addEventListener(l,this.toggleCollapseButton)}toggleCollapseButton(){this.expanded=!this.expanded,this.itemsCurrent=this.expanded?this.items.length:this.itemsInitial}get list(){return s` 2 <ul class="qs-collapse-list flex justify-center flex-wrap"> 3 ${this.items.map((t,e)=>this.getItem(t,e))} 4 </ul> 5 `}getItem(t,e){return e+1<=this.itemsCurrent?s` 6 <li> 7 ${t} 8 </li>`:n}get button(){return this._children?.["pp-button-toggle"]?s` 9 <div class="qs-collapse-button flex justify-center text-icon-1 pt-16"> 10 ${this._children["pp-button-toggle"]} 11 </div>`:n}get headline(){return s`<div class="text-center text-static-1 pb-24">${this._children?.["pp-headline"]}</div>`}render(){return s` 12 ${this.headline} 13 ${this.list} 14 ${this.button} 15 `}createRenderRoot(){return this}}customElements.define("pp-collapse",r);export{r as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.