1 2$(document).ready(function () { 3 /*menu*/ 4 $("#menu-toggle").on("click", function () { 5 $(this).toggleClass("active open"); 6 $(".overlay-top").toggleClass("open"); 7 $("body").toggleClass("non-scroll"); 8 }); 9 $('.main-menu a').on("click", function () { 10 $(".overlay-top").removeClass("open"); 11 $('#menu-toggle').removeClass('active open'); 12 $("body").removeClass("non-scroll"); 13 }); 14 /*menu end*/ 15 16 var $page = $('html, body'); 17 $('a[href*="#"]').click(function() { 18 $page.animate({ 19 scrollTop: $($.attr(this, 'href')).offset().top - 86 20 }, 600); 21 return false; 22 }); 23 24 $(".languages #locale-switch").on("click", function() { 25 $(this).parent(".languages").toggleClass("active"); 26 }); 27 28 $(document).click(function(e) { 29 if ($(e.target).closest("#locale-switch").length) { 30 return; 31 } 32 $(".languages").removeClass("active"); 33 34 e.stopPropagation(); 35 }); 36 37 function checkScroll() { 38 if ($(window).scrollTop() > 50) { 39 $('header').addClass('active'); 40 } else { 41 $('header').removeClass('active'); 42 } 43 } 44 45 checkScroll(); 46 47 $(window).on('scroll', checkScroll); 48 49 // ÐÑпадаÑÑие блоки 50 $(".toc-default").on("click", function () { 51 let dropSelect = $(this).parents(".drop"); 52 let dropContent = $(this).next(".options-holder"); 53 dropSelect.toggleClass("active"); 54 55 if (dropSelect.hasClass("active")) { 56 dropContent.stop().slideDown(); 57 } else { 58 dropContent.stop().slideUp(); 59 } 60 }); 61 62 $(".drop").each(function () { 63 let dropContent = $(this).find(".options-holder"); 64 if ($(this).hasClass("active")) { 65 dropContent.show(); 66 } else { 67 dropContent.hide(); 68 } 69 }); 70 71 if ($(window).width() <= 1100) { 72 $(".drop").removeClass("active").find(".options-holder").hide(); 73 } 74 75 76 $('table').each(function () { 77 if (!$(this).parent().hasClass('table-wrapper')) { 78 $(this).wrap('<div class="table-wrapper"></div>'); 79 } 80 }); 81 82}); 83
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.