PageSourceSearch

https://www.topgunrange.com/wp-content/plugins/astra-addon/addons/…single-product-tab-layout.min.js?ver=4.12.2

js topgunrange.com collected 2026-09-29 14:30:27 UTC 1,969 bytes, 1 lines download raw bytes

1let accordionContainer=document.querySelector(".ast-woocommerce-accordion");if(accordionContainer){let c=accordionContainer.querySelectorAll(".ast-accordion-header"),i=accordionContainer.querySelectorAll(".ast-accordion-content"),r="active",t;c.forEach(function(e,n){let o=(t=e.nextElementSibling).clientHeight;t.style.height=0==n?o+"px":0,e.addEventListener("click",function(e){i.forEach(function(e,t){n!==t&&(e.style.height=0,e.classList.remove(r))}),c.forEach(function(e,t){n!==t&&e.classList.remove(r)});var t=e.target.nextElementSibling;o=t.querySelector(".ast-accordion-wrap").clientHeight,t.classList.contains(r)?(t.classList.remove(r),e.target.classList.remove(r),t.style.height=0):(t.classList.add(r),e.target.classList.add(r),t.style.height=o+"px")})})}function handleCommentLinkClick(){var e;"#respond"!==window.location.hash&&!window.location.hash.includes("#comment")||((e=document.querySelector(".woocommerce-tabs ul.tabs li.reviews_tab a")||document.querySelector('a[href="#tab-reviews"]'))&&e.click(),setTimeout(function(){var e=document.querySelector("#respond")||document.querySelector("#review_form");e&&e.scrollIntoView({behavior:"smooth",block:"center"})},300))}function handleReviewLinkClick(){document.querySelectorAll("a.woocommerce-review-link").forEach(function(e){e.addEventListener("click",function(e){if(accordionContainer&&accordionContainer.classList.contains("ast-woocommerce-accordion")){e.preventDefault();e=accordionContainer.querySelectorAll(".ast-single-tab .ast-accordion-header");let n=null;e.forEach(function(e){var t=e.nextElementSibling;t&&"tab-reviews"===t.id&&(n=e)}),n&&(n.click(),setTimeout(function(){var e=accordionContainer.querySelector("#tab-reviews");e&&e.scrollIntoView({behavior:"smooth",block:"center"})},300))}})})}document.addEventListener("DOMContentLoaded",handleCommentLinkClick),window.addEventListener("hashchange",handleCommentLinkClick),document.addEventListener("DOMContentLoaded",handleReviewLinkClick);

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.