PageSourceSearch

https://www.mous.co/cdn/shop/t/300/assets/mous-accordion-media.min.js?v=107186100631984777261790765135

js mous.co collected 2026-10-01 10:21:44 UTC 2,306 bytes, 1 lines download raw bytes

1(()=>{function e(){document.querySelectorAll(".accordion-media-container .left").forEach((function(e){var t=e.querySelectorAll(".accordion"),o=e.closest(".accordion-media-container").querySelectorAll(".accordion-media");t.forEach((function(e,t){e.addEventListener("click",(function(){o.forEach((function(e){return e.classList.remove("active")}));var e=document.getElementById("media-".concat(t));e&&e.classList.add("active")}))}))}))}function t(){document.body.addEventListener("click",(function(e){var t=e.target.closest(".mous-accordion-media .accordion-media");if(t){var o=t.querySelector("dialog.external_video_modal");if(o){var i=null==o?void 0:o.getBoundingClientRect();if(o&&!o.open){o.showModal(),o.style.display="flex";var n=o.querySelector("iframe");n&&(n.src=n.getAttribute("data-src"))}var c,a;if(e.target.classList.contains("modal-close")||(a=i,(c=e).clientX<a.left||c.clientX>a.right||c.clientY<a.top||c.clientY>a.bottom)){var r=e.target.closest("dialog.external_video_modal");if(r){var l=r.querySelector("iframe");r.classList.add("exit"),setTimeout((function(){r.close(),r.removeAttribute("open"),r.style.display="none",r.classList.remove("exit")}),300),l&&(l.src=l.src)}}}}}))}document.addEventListener("DOMContentLoaded",(function(){var o;e(),t(),(o=document.querySelector(".view-full-description"))&&o.addEventListener("click",(function(e){e.preventDefault();var t=document.getElementById("belowFoldProductCopy");if(t){var o=t.getBoundingClientRect().top+window.pageYOffset+-250;window.scrollTo({top:o,behavior:"smooth"}),setTimeout((function(){var e,o=t.querySelector(".accordion-media-container .left");if(o){var i=o.querySelectorAll(".accordion");if(i.length){var n=null===(e=o.closest(".accordion-media-container"))||void 0===e?void 0:e.querySelectorAll(".accordion-media");i.forEach((function(e){e.classList.remove("active");var t=e.nextElementSibling;t&&t.classList.contains("panel")&&(t.style.maxHeight="0px")})),null==n||n.forEach((function(e){return e.classList.remove("active")}));var c=i[0];c.classList.add("active");var a=c.nextElementSibling;a&&a.classList.contains("panel")&&(a.style.maxHeight=a.scrollHeight+"px");var r=document.getElementById("media-0");r&&r.classList.add("active")}}}),400)}}))})),window.addEventListener("productFormRendered",(function(){e(),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.