1import{B as t,g as e,d as o,b as n}from"./pp-accordion-CA6w9In6.js";class s extends t{static get properties(){return{show:{type:Boolean,reflect:!0,attribute:!1},buttonText:{type:String,attribute:"button-text"},iconName:{type:String,attribute:"icon-name"}}}constructor(){super(),this._children=e(this,["pp-link"]),this.show=!1,this.buttonId=o(),this.buttonText="",this.iconName="plus"}firstUpdated(){const t=this.querySelector(".js-dropdown");t.addEventListener("show.bs.dropdown",()=>{this.show=!0}),t.addEventListener("hide.bs.dropdown",()=>{this.show=!1})}get addToCalendarItems(){return n` 2 <ul class="dropdown-menu dropdown-menu-lg-end md:-top-30 md:left-300 md:right-auto md:bottom-auto bottom-32 top-auto left-32 bg-static-1 z-1" role="menu" aria-labelledby="${this.buttonId}"> 3 ${this._children?.["pp-link"].map(t=>n` 4 <li class="dropdown-item focus:bg-static-1 hover:bg-static-1 text-static-22">${t}</li>`)} 5 </ul>`}render(){return n` 6 <div class="dropdown -mt-8"> 7 <button 8 data-bs-toggle="dropdown" 9 data-bs-display="static" 10 aria-haspopup="true" 11 aria-expanded="false" 12 class="js-dropdown z-0 overflow-hidden items-center text-center outline-none hover:underline focus:underline flex text-static-2 focus:outline-offset-4 focus:outline-2 focus:outline-static-1 typ-menu" 13 type="button" 14 id="${this.buttonId}"> 15 <pp-icon name="${this.iconName}" class="text-22 inline-block mr-10" aria-hidden="true"></pp-icon> 16 ${this.buttonText} 17 </button> 18 ${this.addToCalendarItems} 19 </div> 20 `}}customElements.define("pp-button-calendar",s);export{s 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.