PageSourceSearch

https://escentual.com/cdn/shop/t/49/assets/details-disclosure.js?v=184057376173822367251773824478

js escentual.com collected 2026-09-24 09:56:33 UTC 2,251 bytes, 2 lines download raw bytes

1class DetailsDisclosure extends HTMLElement{constructor(){super(),this.mainDetailsToggle=this.querySelector("details"),this.content=this.mainDetailsToggle.querySelector("summary").nextElementSibling,this.mainDetailsToggle.addEventListener("focusout",this.onFocusOut.bind(this)),this.mainDetailsToggle.addEventListener("toggle",this.onToggle.bind(this))}onFocusOut(){setTimeout(()=>{this.contains(document.activeElement)||this.close()})}onToggle(){this.animations||(this.animations=this.content.getAnimations()),this.mainDetailsToggle.hasAttribute("open")?this.animations.forEach(animation=>animation.play()):this.animations.forEach(animation=>animation.cancel())}close(){this.mainDetailsToggle.removeAttribute("open"),this.mainDetailsToggle.querySelector("summary").setAttribute("aria-expanded",!1)}}customElements.define("details-disclosure",DetailsDisclosure);class HeaderMenu extends DetailsDisclosure{constructor(){super(),this.header=document.querySelector(".header-wrapper")}onToggle(){if(!this.header||(this.header.preventHide=this.mainDetailsToggle.open,document.documentElement.style.getPropertyValue("--header-bottom-position-desktop")!==""))return;const bottom=Math.floor(this.header.getBoundingClientRect().bottom);requestAnimationFrame(()=>{document.documentElement.style.setProperty("--header-bottom-position-desktop",`${bottom}px`)})}}customElements.define("header-menu",HeaderMenu);class MirrorSort extends DetailsDisclosure{constructor(){super(),this.listOptions=this.querySelectorAll("a"),this.listOptions.forEach(option=>{option.addEventListener("click",this.onOptionClick.bind(this))})}onOptionClick(evt){evt.preventDefault();const target=evt.currentTarget;requestAnimationFrame(()=>{this.listOptions.forEach(option=>{option.classList.remove("list-menu__item--active")}),target.classList.add("list-menu__item--active")});const connectedSortBy=document.getElementById("SortBy");connectedSortBy.value=target.getAttribute("data-sort-by"),connectedSortBy.dispatchEvent(new Event("change",{bubbles:!0})),connectedSortBy.closest("facet-filters-form").onSubmitHandler(evt),this.close()}}customElements.define("mirror-sort",MirrorSort);
2//# sourceMappingURL=/cdn/shop/t/49/assets/details-disclosure.js.map?v=184057376173822367251773824478

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.