Skip to Content

JavaScript File

URL: https://ua-car.com/resources/js/script.min.js?v=1716658420
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Sun, 10 Mar 2024 19:36:00 GMT
Download Time: Less than a second
Cookies: None
Size: 1 KB
HTTP Headers:  6 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1const breakpoint=768,headerMain=document.querySelector("#root > header"),stickyMarker=document.createElement("div");stickyMarker.setAttribute("id","stickyMarker"),headerMain.before(stickyMarker);const scrollObserver=new IntersectionObserver(entries=>{headerMain.classList.toggle("sticked",!entries[0].isIntersecting)}

2,{rootMargin:"184px 0px 0px 0px"}

3);scrollObserver.observe(stickyMarker),window.addEventListener("load",e=>{setTimeout(()=>{document.querySelectorAll(".uni-slider-container").forEach(u=>{u.classList.remove("ph")}

4),document.body.classList.remove("__loading")}

5,150),document.body.addEventListener("click",e=>{"body"===e.target.localName&&(e.target.classList.contains("__zoom")&&document.querySelector('img[alt="img-zoom"]').click(),e.target.classList.remove("__menu","__zoom"))}

6),"object"==typeof uniSlider&&uniSlider.init(),"object"==typeof imgZoom&&imgZoom.init(),"object"==typeof goTop&&goTop.init({bg:"orangered",color:"white",s:"3em",y:"1em",x:"1em"}

7)}

8);