PageSourceSearch

https://www.futura-sciences.com/js/main-eb360dd49c.js

js futura-sciences.com collected 2026-10-01 08:32:14 UTC 3,853 bytes, 2 lines download raw bytes

1"use strict";function toggleFooterMenus(){const e=document.querySelectorAll(".footer-menu .footer-details, .header-b2b details");if(window.innerWidth>984)for(const t of e)t.open=!0}toggleFooterMenus(),window.addEventListener("resize",toggleFooterMenus);let w=window;document.addEventListener("click",function(e){const t=e.target?.closest("[data-fastcmp-open]");t&&(e.preventDefault(),w.FastCMP.open())});export{};function supportsAvif(){return new Promise(e=>{const t=new Image;t.onload=t.onerror=function(){e(2===t.height)},t.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A="})}document.addEventListener("click",function(e){e.target.closest("#btn-print")&&window.print()}),(async()=>{const e=await supportsAvif()?"avif":"no-avif";document.documentElement.classList.add(e)})(),function(e){let t=null;e.addEventListener("scroll",function(){t&&clearTimeout(t),t=setTimeout(function(){e.body.classList.toggle("header-sticky",window.scrollY>400)})})}(document);let openedDetail=null;function onClickOutside(e){const t=e.target?.closest("details");t&&t===openedDetail||(openedDetail&&(openedDetail.open=!1),openedDetail=t??null),t||document.body.removeEventListener("click",onClickOutside)}document.addEventListener("click",function(e){const t=e.target?.closest("details");t&&setTimeout(()=>{openedDetail=t,document.body.removeEventListener("click",onClickOutside),document.body.addEventListener("click",onClickOutside)})}),function(e){let t=null;function n(A){const o=t;if(!o)return;const a=o.getBoundingClientRect();a.top<=A.clientY&&A.clientY<=a.top+a.height&&a.left<=A.clientX&&A.clientX<=a.left+a.width||(o.close(),o.removeEventListener("click",n),e.body.dispatchEvent(new CustomEvent("fs-dialog-close",{bubbles:!0,detail:{dialog:t,target:A.target}})),t=null)}e.addEventListener("click",A=>{const o=A.target?.closest("[data-open-dialog]");if(!o||!o.dataset.openDialog)return;A.preventDefault();const a=e.querySelector(`dialog#${o.dataset.openDialog}`);a&&function(A,o){t&&(t.close(),t=null);A.showModal(),t=A,e.body.dispatchEvent(new CustomEvent("fs-dialog-open",{bubbles:!0,detail:{dialog:A,target:o}})),A.addEventListener("click",n)}(a,o)}),e.body.addEventListener("fs-dialog-close",e=>{if(e.target&&"panel-navigation"===e.detail.dialog.id){const t=e.detail.dialog.querySelectorAll("details");for(let e of t)e.open=!1}})}(document);export{};function overLink(e){const t=e.target.closest("span[data-encoded-url]");t&&replaceFakeLink(t)}function enterLink(e){const t=e.target.closest("span[data-encoded-url]");t&&"Tab"===e.key&&replaceFakeLink(t)}function replaceFakeLink(e){if(!e.dataset.encodedUrl)return;const t=document.createElement("a");t.href=atob(e.dataset.encodedUrl),e.target&&(t.target=e.target),t.ariaLabel=e.ariaLabel,t.className=e.className,t.innerHTML=e.innerHTML,e.replaceWith(t),t.focus()}function addSearchBarScript(e){const t=e.target?.closest('button[data-open-dialog="popin-search"]');if(!t)return;const n=document.querySelector("body");if(!n)return;document.removeEventListener("click",addSearchBarScript);const A=document.createElement("script");A.type="text/javascript",A.id="gcse-script",A.src="https://cse.google.com/cse.js?cx=003016588003545871860:nngdv4cllok",A.async=!0,n.appendChild(A)}document.addEventListener("mouseover",overLink),document.addEventListener("keyup",enterLink),document.addEventListener("touchstart",overLink),document.addEventListener("click",addSearchBarScript);
2//# sourceMappingURL=main-eb360dd49c.js.map

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.