1(function($) { 2 $(document).ready(function () { 3 if ($('#tbGroupStandingSelect').length) { 4 $('#tbGroupStandingSelect').trigger('change'); 5 } 6 7 $('#tbGameList .toggleWrap .tabToggle').on('click', function() { 8 $('#tbGameListTeam').val($('#tbGameList').data('teamid')); 9 $('#tbGameStatus').val($(this).data('type')).trigger('change'); 10 }); 11 12 $('#top-menu-club-select a').on('click', function(e) { 13 e.preventDefault(); 14 $('#top-menu-club-select-wrapper').slideToggle(); 15 }); 16 17 var mySwiper = new Swiper('#club-page .swiper-container', { 18 speed: 400, 19 spaceBetween: 100, 20 slidesPerView: 'auto', 21 spaceBetween: 0, 22 pagination: '.swiper-pagination', 23 nextButton: '.swiper-button-next', 24 prevButton: '.swiper-button-prev', 25 paginationClickable: true 26 }); 27 28 $('#club-page .mMenu').on('click', function() { 29 $('#club_page_menu').slideToggle(); 30 }); 31 32 $('.video-wrap a.open-lightbox').lightGallery({ 33 selector: 'this', 34 }); 35 36 jQuery('.livestream-link').lightGallery({ 37 selector: 'this' 38 }); 39 40 $('.live-teableau .live-tableau-sidebar a').on('click', function(e) { 41 e.preventDefault(); 42 43 var $link = $(this); 44 45 $link.closest('.live-tableau-sidebar').find('a').removeClass('active'); 46 $link.addClass('active'); 47 48 $link.closest('.live-teableau').find('.date-wrapper').hide(); 49 $link.closest('.live-teableau').find('.date-wrapper[data-date="'+$link.data("date")+'"]').show(); 50 }); 51 52 $('#club_page_menu ul li.page_item_has_children > a > span').on('click', function(e) { 53 e.preventDefault(); 54 55 $(this).find('i').toggleClass('fa-angle-down fa-angle-up'); 56 $(this).closest('li').children('ul').slideToggle(); 57 }); 58 59 /* Lazyload */ 60 $('.lazy-ads').lazyload({ 61 // Sets the pixels to load earlier. Setting threshold to 200 causes image to load 200 pixels 62 // before it appears on viewport. It should be greater or equal zero. 63 threshold: 140, 64 65 // Sets the callback function when the load event is firing. 66 // element: The content in lazyload tag will be returned as a jQuery object. 67 load: function(element) {console.log('lazy');}, 68 69 // Sets events to trigger lazyload. Default is customized event `appear`, it will trigger when 70 // element appear in screen. You could set other events including each one separated by a space.
71 trigger: "appear" 72 }); 73 }); 74}(jQuery)); 75window.addEventListener("load", function(){ 76 jQuery('[id^="groupStanding_"]').addClass("tbHidden"); 77 var url = new URL(window.location); 78 var tabell = url.searchParams.get("t"); 79 console.log(tabell); 80 if (tabell !== null) { 81 jQuery("#tbGroupStandingSelect").val(tabell).change() 82 }else{ 83 jQuery("#tbGroupStandingSelect").val('tb_all_tournament_groups').change() 84 } 85 if (jQuery("#tbGroupStandingSelect").val() === 'tb_all_tournament_groups') { 86 if (jQuery("#groupId_dd").length !== 0) { 87 jQuery("#tbGroupStandingSelect").val('groupStanding_'+jQuery("#groupId_dd").html()).change() 88 }else{ 89 jQuery("#tbGroupStandingSelect").val('tb_all_tournament_groups').change() 90 } 91 } 92 jQuery("#"+jQuery("#tbGroupStandingSelect").val()).removeClass("tbHidden"); 93}, false);
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.