PageSourceSearch

https://www.well.fr/cdn/shop/t/2/assets/details-disclosure.js?v=130743779580510847031730719096

js well.fr collected 2026-09-26 13:54:07 UTC 2,837 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"),this.itemMenu=document.querySelectorAll(".header-wrapper a.header__menu-item"),this.mainDetailsToggle.addEventListener("mouseenter",this.onMouseEnter.bind(this)),this.mainDetailsToggle.closest(".section-header").addEventListener("mouseleave",this.onMouseLeave.bind(this));for(const item of this.itemMenu)item.addEventListener("mouseenter",this.onRemoveActive.bind(this))}onToggle(){this.header&&(this.header.preventHide=this.mainDetailsToggle.open,this.header.preventHide?this.header.classList.add("transparent-menu-open"):this.header.classList.remove("transparent-menu-open"),this.header.preventHide?document.body.classList.add("has-overlay"):document.body.classList.remove("has-overlay"),document.documentElement.style.getPropertyValue("--header-bottom-position-desktop")===""&&document.documentElement.style.setProperty("--header-bottom-position-desktop",`${Math.floor(this.header.getBoundingClientRect().bottom)}px`))}onRemoveActive(){for(const itemMegaMenu of this.header.querySelectorAll("details"))itemMegaMenu.removeAttribute("open"),itemMegaMenu.querySelector("summary").setAttribute("aria-expanded",!1)}onMouseEnter(){if(!this.mainDetailsToggle.hasAttribute("open")){for(const itemMegaMenu of this.header.querySelectorAll("details"))itemMegaMenu.removeAttribute("open"),itemMegaMenu.querySelector("summary").setAttribute("aria-expanded",!1);this.mainDetailsToggle.setAttribute("open",""),this.mainDetailsToggle.querySelector("summary").setAttribute("aria-expanded","true")}}onMouseLeave(){setTimeout(()=>{this.contains(document.activeElement)||this.close()})}close(){this.mainDetailsToggle.removeAttribute("open"),this.mainDetailsToggle.querySelector("summary").setAttribute("aria-expanded",!1)}}customElements.define("header-menu",HeaderMenu);
2//# sourceMappingURL=/cdn/shop/t/2/assets/details-disclosure.js.map?v=130743779580510847031730719096

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.