PageSourceSearch

https://cyclingmagazine.ca/wp-content/themes/cycling/assets/js/custom.min.js?ver=3.0.5

js cyclingmagazine.ca collected 2026-10-02 05:00:58 UTC 4,316 bytes, 1 lines download raw bytes

1"use strict";function openSearch(){document.getElementById("searchOverlay").style.display="block",document.getElementById("searchInputBox").focus()}function closeSearch(){document.getElementById("searchOverlay").style.display="none"}function animateHamburger(e){e.classList.toggle("change")}function openNav(){document.getElementById("curtainNav").style.height="100%",console.log("openNav")}function closeNav(){document.getElementById("curtainNav").style.height="0%"}function openDesktopNav(){document.getElementById("header").classList.remove("nav-up"),document.getElementById("header").classList.add("nav-down"),console.log("openNav")}function closeStickyAd(){document.getElementById("sticky-footer-ad").style.display="none",console.log("closeStickyAd")}jQuery(document).ready(function(l){var o,s="gf_submitted";function t(){document.cookie.split("; ").includes("".concat(s,"=true"))&&(document.querySelectorAll(".gated-content").forEach(function(e){e.classList.add("visible")}),document.querySelectorAll(".gated-form").forEach(function(e){e.classList.add("hidden")}))}l(document).on("gform_confirmation_loaded",function(e,o){console.log("function that handles form confirmation loaded",o),7==o&&(document.cookie="".concat(s,"=true; path=/; max-age=").concat(31536e3,"; SameSite=Lax"),t())}),t(),l(document).ready(function e(){l(".hp-takeover-scrolldown").animate({opacity:"0.6"==l(".hp-takeover-scrolldown").css("opacity")?"0.3":"0.6"},800,e)}),l(".mobile-slider").slick({arrows:!0,fade:!1,autoplay:!0,autoplaySpeed:5e3,pauseOnHover:!1,dots:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,adaptiveHeight:!1,nextArrow:'<i class="mobile-slide-nav-right fa fa-chevron-right fa-3x" aria-hidden="true"></i>',prevArrow:'<i class="mobile-slide-nav-left fa fa-chevron-left fa-3x" aria-hidden="true"></i>'}),l("#slideout-tab").click(function(){l("#slideout-form").toggleClass("slideout-toggle")}),l("#slideout-tab").mouseenter(function(){l("#slideout-form").toggleClass("slideout-toggle")}),l(".gripped-single-ajax-load").fitVids(),window.almComplete=function(){t(),l(".gripped-single-ajax-load").fitVids(),void 0!==window.instgrm&&(window.instgrm.Embeds.process(),console.log("processed instagram embed script")),l(".spr-gallery").each(function(e,o){var s="slider"+e,t="sliderNav"+e,i="#"+(this.id=s),a="#"+(l(".spr-gallery-thumbs")[e].id=t);l(i).hasClass("slick-initialized")||l(i).slick({arrows:!0,fade:!0,autoplay:!1,autoplayspeed:1e3,pauseOnHover:!1,dots:!1,infinite:!1,speed:100,slidesToShow:1,slidesToScroll:1,asNavFor:a,responsive:[{breakpoint:1024,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]}),l(a).hasClass("slick-initialized")||l(a).slick({asNavFor:i,arrows:!1,slidesToShow:1,slidesToScroll:1,dots:!1,centerMode:!1,focusOnSelect:!0,variableWidth:!0,infinite:!1})})},l(".nav-toggle-button").click(function(){l(".main-menu-wrap").toggleClass("nav-toggle"),l(".follow-buttons").toggleClass("nav-toggle")});var i=0,a=l("#header").outerHeight(),n=!1,d=0;l(window).scroll(function(e){o=!0}),setInterval(function(){o&&(function(){var e=l(window).scrollTop();d=l(".hp-takeover-outer-wrapper").outerHeight()||0,Math.abs(i-e);i<e&&a<e?(console.log("top-takeover-div-height",d),l("#header").removeClass("nav-down").addClass("nav-up"),n||0!=d||(l("#leaderboard").addClass("fixed-leaderboard"),n=!0,setTimeout(function(){l("#leaderboard").removeClass("fixed-leaderboard")},2e3))):e+l(window).height()<l(document).height()&&(l("#header").removeClass("nav-up").addClass("nav-down"),l("#leaderboard").removeClass("fixed-leaderboard"));i=e}(),o=!1)},250),l(".spr-gallery").each(function(e,o){var s="slider"+e,t="sliderNav"+e,i="#"+(this.id=s),a="#"+(l(".spr-gallery-thumbs")[e].id=t);l(i).slick({arrows:!0,fade:!0,autoplay:!1,autoplayspeed:1e3,pauseOnHover:!1,dots:!1,infinite:!1,speed:100,slidesToShow:1,slidesToScroll:1,asNavFor:a,responsive:[{breakpoint:1024,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]}),l(a).slick({asNavFor:i,arrows:!1,slidesToShow:1,slidesToScroll:1,dots:!1,centerMode:!1,focusOnSelect:!0,variableWidth:!0,infinite:!1})})});

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.