PageSourceSearch

https://www.themyricals.de/cdn/shop/t/15/assets/accordion.js?v=143021181965390056041780925964

js themyricals.de collected 2026-10-07 21:02:46 UTC 1,485 bytes, 1 lines download raw bytes

1if("undefined"==typeof AnnouncementBar){class t extends HTMLElement{constructor(){super(),this.container=this,this.details=this.querySelector("details"),this.content=this.querySelector(".miricals-accordion--content"),this.parent=this.closest(".miricals-accordion-container"),this.transitionTiming=280,this.init()}checkState(){setTimeout(()=>{if(!this.details.hasAttribute("open"))return this.contentClose();this.contentOpen()})}contentClose(){if(!this.details.hasAttribute("open"))return this.content.removeAttribute("style");this.content.style.opacity=0,this.content.style.maxHeight="0px",setTimeout(()=>{if(this.content.removeAttribute("style"),this.details.hasAttribute("open"))return this.details.removeAttribute("open")},this.transitionTiming)}contentOpen(){this.content.style.transition=`all ${this.transitionTiming}ms`,setTimeout(()=>{this.setStatusOpenStyles()}),this.parent.querySelectorAll("miricals-accordion").forEach(t=>{t!==this.container&&t.details.hasAttribute("open")&&t.contentClose()}),setTimeout(()=>window.scrollTo({top:this.offsetTop,left:0,behavior:"smooth"}),this.transitionTiming)}setStatusOpenStyles(){this.content.style.maxHeight=this.content.scrollHeight+"px",this.content.style.opacity=1}init(){this.container.querySelector("summary").addEventListener("click",this.checkState.bind(this)),window.addEventListener("resize",()=>this.setStatusOpenStyles(),{passive:!0})}}!customElements.get("miricals-accordion")&&customElements.define("miricals-accordion",t)}

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.