PageSourceSearch

https://www.stenhousemuirfc.com/wp-content/cache/min/1/wp-content/…/assets/js/sportspress.js?ver=1790272802

js stenhousemuirfc.com collected 2026-09-25 00:11:29 UTC 2,920 bytes, 7 lines download raw bytes

1function sp_viewport(){var e=window,a='inner';if(!('innerWidth' in window)){a='client';e=document.documentElement||document.body}
2return{width:e[a+'Width'],height:e[a+'Height']}}(function($){if(!$('.sp-header').length){$('body').prepend('<div class="sp-header sp-header-loaded"></div>')}
3$("[data-countdown]").each(function(){var $this=$(this);var countDownDate=new Date($(this).data('countdown')).getTime();var x=setInterval(function(){var now=new Date();var tzDifference=now.getTimezoneOffset();var nowutc=new Date(now.getTime()+tzDifference*60*1000);var distance=countDownDate-nowutc;if(distance<0){distance=0}
4var days=Math.floor(distance/(1000*60*60*24));var hours=Math.floor((distance%(1000*60*60*24))/(1000*60*60));var minutes=Math.floor((distance%(1000*60*60))/(1000*60));var seconds=Math.floor((distance%(1000*60))/1000);$this.html("<span>"+(days<10?'0'+days:days)+" <small>"+localized_strings.days+"</small></span> "+"<span>"+('0'+hours).slice(-2)+" <small>"+localized_strings.hrs+"</small></span> "+"<span>"+('0'+minutes).slice(-2)+" <small>"+localized_strings.mins+"</small></span> "+"<span>"+('0'+seconds).slice(-2)+" <small>"+localized_strings.secs+"</small></span>")},1000)});$(".sp-scrollable-table").wrap("<div class=\"sp-scrollable-table-wrapper\"></div>");$(".sp-selector-redirect").change(function(){window.location=$(this).val()});$(".sp-tab-menu-item a").click(function(){$template=$(this).data("sp-tab");$(this).closest(".sp-tab-menu-item").addClass("sp-tab-menu-item-active").siblings(".sp-tab-menu-item").removeClass("sp-tab-menu-item-active");$(this).closest(".sp-tab-group").find(".sp-tab-content-"+$template).show().siblings(".sp-tab-content").hide();return!1});$.fn.dataTableExt.oApi.fnPagingInfo=function(oSettings){return{"iStart":oSettings._iDisplayStart,"iEnd":oSettings.fnDisplayEnd(),"iLength":oSettings._iDisplayLength,"iTotal":oSettings.fnRecordsTotal(),"iFilteredTotal":oSettings.fnRecordsDisplay(),"iPage":oSettings._iDisplayLength===-1?0:Math.ceil(oSettings._iDisplayStart/oSettings._iDisplayLength),"iTotalPages":oSettings._iDisplayLength===-1?0:Math.ceil(oSettings.fnRecordsDisplay()/oSettings._iDisplayLength)}}
5$(".sp-data-table").each(function(){sortable=$(this).hasClass("sp-sortable-table");paginated=$(this).hasClass("sp-paginated-table");display_length=parseInt($(this).attr("data-sp-rows"));if(display_length==undefined||isNaN(display_length)){display_length=10}
6if($(this).find("tbody tr").length<=display_length){paginated=!1}
7if(sortable||paginated){$(this).dataTable({"order":[],"autoWidth":!1,"searching":!1,"info":!1,"paging":paginated,"lengthChange":!1,"pagingType":"simple_numbers","pageLength":display_length,"ordering":sortable,"language":{"aria":{"sortAscending":"","sortDescending":""},"paginate":{"previous":localized_strings.previous,"next":localized_strings.next,}},"columnDefs":[{"type":"num-fmt","targets":[".data-number",".data-rank"]},]})}})})(jQuery)

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.