PageSourceSearch

https://www.upply.com/hubfs/hub_generated/module_assets/1/274347879628/1785328895719/module_header.min.js

js upply.com collected 2026-10-02 06:46:08 UTC 2,718 bytes, 2 lines download raw bytes

1var module_274347879628=void document.addEventListener("DOMContentLoaded",function(){var e=document.getElementsByTagName("header")[0];if(!e)return console.warn("Header element not found");document.documentElement.lang;var t=document.querySelector(".hero-type-section"),n=e.querySelector(".burger-toggler"),a=e.querySelector(".main-menu-item.search"),r=Array.from(e.querySelectorAll(".main-menu-item")).filter(function(e){return!e.classList.contains("search")}),i=e.querySelector(".wrapper-search-menu"),o=e.querySelector(".btn-search-close"),c=e.querySelector(".search-input"),s=e.querySelector(".btn-search-submit"),u=window.matchMedia("(max-width: 1114px)"),l=!1;function d(t){window.scrollY>20?e.classList.add("scrolling"):e.classList.remove("scrolling")}function m(){i.setAttribute("aria-hidden","true")}function p(e){l=!!e.matches}function f(){if((c||s)&&""!==c.value.trim()){var e=s.getAttribute("data-href")||"/search",t=new URL(e,window.location.origin);t.searchParams.set("q",c.value.trim()),window.location.href=t.toString()}}n.addEventListener("click",function(){e.hasAttribute("data-menu-open")?e.removeAttribute("data-menu-open"):e.setAttribute("data-menu-open","")},{passive:!0}),a&&i&&o&&c&&s&&(a.addEventListener("click",function(e){e.stopPropagation(),"true"===i.getAttribute("aria-hidden")?i.setAttribute("aria-hidden","false"):m()},{passive:!0}),document.addEventListener("click",function(e){i.contains(e.target)||a.contains(e.target)||m()},{passive:!0}),o.addEventListener("click",function(e){e.stopPropagation(),m()},{passive:!0}),r.forEach(function(e){e.addEventListener("mouseenter",function(e){l||m()},{passive:!0})}),s.addEventListener("click",function(e){e.preventDefault(),f()},{passive:!0}),c.addEventListener("keypress",function(e){"Enter"===e.key&&(e.preventDefault(),f())},{passive:!0})),u.addEventListener("change",function(){p(u)}),document.addEventListener("scroll",d,{passive:!0}),d(),"dark"===function(e){return e&&e.getAttribute("data-theme")?e.getAttribute("data-theme")||"":"light"}(t)?e.classList.add("dark"):e.classList.remove("dark"),p(u),e.querySelectorAll(".column-links");var v=e.querySelectorAll(".main-menu-item.dropdown");function h(e){e.classList.toggle("display")}matchMedia("(max-width:1114px)").matches&&v.forEach(function(e){var t=e.querySelector(".panel .panel-closer");e.addEventListener("click",function(t){t.target.classList.contains("panel")?t.preventDefault:(t.stopPropagation(),h(e.querySelector(".panel")))}),t&&t.addEventListener("click",function(t){t.stopPropagation(),h(e.querySelector(".panel"))})})});
2//# sourceURL=https://26644154.fs1.hubspotusercontent-eu1.net/hubfs/26644154/hub_generated/module_assets/1/274347879628/1785328895719/module_header.js

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.