PageSourceSearch

https://dr-muscle.com/assets/built/main.js?v=FiQQKcjEQlGXCEp_

js dr-muscle.com collected 2026-09-24 10:20:20 UTC 2,979 bytes, 2 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){document.documentElement;var t=document.body,e=document.querySelector(".v-burger");e&&e.addEventListener("click",function(){t.classList.toggle("v-head-open")});const n=document.querySelectorAll(".v-dropdown"),i=document.querySelector(".v-dropdown");n.forEach(function(e){e.addEventListener("click",function(){this.classList.toggle("sub-active")},!1)}),document.addEventListener("click",function(e){e.target.closest(".v-dropdown")||i.classList.remove("sub-active")});var a,e=document.querySelectorAll(".v-search-button"),o=document.querySelector(".v-search-box"),s=document.getElementById("searchClose"),c=document.getElementById("searchInput"),d=document.getElementById("searchResults");function r(e){void 0!==e&&e.target!==e.currentTarget||(o.classList.toggle("v-search-box-visible"),t.classList.toggle("v-search-opened"),c.value="",d.innerHTML="")}"undefined"!=typeof searchApi&&null!=searchApi&&null!=c&&(e.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),o.classList.add("v-search-box-visible"),t.classList.add("v-search-opened"),window.setTimeout(function(){c.focus()},200)})}),new SearchinGhost({key:searchApi,version:"v4",inputId:["searchInput"],outputId:["searchResults"],outputChildsType:"div",limit:10,postsFields:["title","url","excerpt","custom_excerpt","published_at"],postsExtraFields:["tags"],template:function(e){var t="";return(t+='<a href="'+e.url+'">')+('<h3 class="v-search-title"><span>'+e.title+'</span></h3> <div class="v-search-meta">')+("<time>"+e.published_at+"</time></div></a>")},onSearchEnd:function(e){d.scrollHeight>d.offsetHeight?d.style.paddingRight="8px":d.style.paddingRight="0px"}}),document.addEventListener("keyup",function(e){27==e.keyCode&&o.classList.contains("v-search-box-visible")&&t.classList.contains("v-search-opened")&&r()}),c.addEventListener("keyup",function(e){27==e.keyCode&&r()}),s.addEventListener("keyup",function(e){13==e.keyCode&&r()}),s.addEventListener("keyup",function(e){13==e.keyCode&&r()}),o.onclick=r,s.onclick=r);var e=document.querySelector("link[rel=next]"),s=document.querySelector(".v-pagination"),l=document.querySelector(".v-load-posts");null!==e&&(btnText=l.innerText,a=e.getAttribute("href")),void 0===a?null!==s&&(l.style.display="none"):l.addEventListener("click",function(e){e.preventDefault(),l.classList.add("loading"),l.disabled=!0,parseInt(pagination_next_page_number)<=parseInt(pagination_available_pages_number)&&(e=a.split(/page/)[0]+"page/"+pagination_next_page_number+"/",fetch(e).then(function(e){if(e.ok)return e.text()}).then(function(e){for(var t=document.createElement("div"),n=(t.innerHTML=e,document.querySelector(".post-feed")),i=t.querySelectorAll(".main-loop"),a=0;a<i.length;a++)n.appendChild(i.item(a));pagination_next_page_number++,l.classList.remove("loading"),l.disabled=!1,pagination_next_page_number>pagination_available_pages_number&&(l.disabled=!0)}))})});
2//# sourceMappingURL=main.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.