1$(document).ready(function() { 2 3 4 5 $('.jsPhoneMask').mask('+7 (999) 999-99-99'); 6 7 $(document).on('click', '.jsSeoBlockTrigger', function (){ 8 $(this).closest('.jsSeoBlock').toggleClass('is-active'); 9 $(this).closest('.jsSeoBlock').find('.jsSeoBlockHidden').slideToggle(350) 10 }) 11 12 $('body').on('click', '.jsLabelSelects .label-select', function () { 13 let $wrap = $(this).closest('.jsLabelSelects'); 14 if ($wrap.hasClass('is-active')) { 15 $(this).closest('.jsLabelSelects').removeClass('is-active'); 16 } 17 $wrap.find('.label-select .label-select__inner').removeClass('activeClub'); 18 }); 19 20 $('body').on('input', '.jsFilterTag', function () { 21 22 let tag = $(this).val(); 23 let $wrap = $(this).closest('.jsFilterWrap'); 24 let $items = $(this).closest('.jsFilterWrap').find('.jsFilterItem'); 25 26 $items.css({ 'opacity': '0' }); 27 setTimeout(function () { 28 $items.removeClass('d-none d-block'); 29 $items.not('[data-tags~="' + tag + '"]').addClass('d-none'); 30 $items.not('.d-none').slice(0, 4).addClass('d-block'); 31 32 33 34 if($wrap.hasClass('jsSliderSchedule')){ 35 36 if ($(window).width() > 1023) { 37 38 window.jsSliderSchedule.update(); 39 } 40 // $.getScript("/local/templates/hf/js/main.js"); 41 } 42 43 $items.css({ 'opacity': '1' }); 44 }, 210); 45 }); 46 47 $('body').on('click', '.jsMoreBtn', function () { 48 let $btn = $(this); 49 let $wrap = $btn.closest('.jsMoreWrap'); 50 let $items = $wrap.find('.jsMoreItem:not(.d-block)'); 51 52 $btn.css({ 'pointer-events': 'none' }); 53 54 if (!$btn.hasClass('active')) { 55 $items.slideDown(200); 56 } else { 57 $items.slideUp(200); 58 $("html, body").animate({ 59 scrollTop: $wrap.closest('.jsMore').offset().top 60 }, 200); 61 } 62 63 $btn.toggleClass('active'); 64 65 $btn.css({ 'pointer-events': '' }); 66 }); 67}); 68 69 70 71 $(document).on('click', '.jsJumbotronClub .jumbotron-club__header', function (){ 72 if ($(window).width() < 1024) { 73 $(this).closest('.jsJumbotronClub').toggleClass('is-active'); 74 $(this).siblings('.jumbotron-club__bottom').slideToggle(350); 75 } 76 })
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.