1jQuery(document).ready(function ($) { 2 $(".dropdown-menu a.dropdown-toggle").on("click", function (e) { 3 if (!$(this).next().hasClass("show")) { 4 $(this) 5 .parents(".dropdown-menu") 6 .first() 7 .find(".show") 8 .removeClass("show"); 9 } 10 var $subMenu = $(this).next(".dropdown-menu"); 11 $subMenu.toggleClass("show"); 12 13 $(this) 14 .parents("li.nav-item.dropdown.show") 15 .on("hidden.bs.dropdown", function (e) { 16 $(".dropdown-submenu .show").removeClass("show"); 17 }); 18 19 return false; 20 }); 21 22 $("#toggleSearchForm").click(function (e) { 23 e.preventDefault(); 24 if ($("#search-form-content:visible").length) { 25 $("#search-form-content").attr("style", "display: flex !important"); 26 $("#search-form-content").hide(); 27 } else { 28 $("#search-form-content").attr("style", "display: flex !important"); 29 $("#search-form-content").show(); 30 $("#search-form-content .search-btn__input-text").focus(); 31 } 32 }); 33}); 34 35(function ($, window, document) { 36 "use strict"; 37 38 $(document).ready(function () { 39 var altura = $(".navbar").offset().top; 40 41 $(window).on("scroll", function () { 42 if ($(window).scrollTop() > altura) { 43 $(".navbar").addClass("inner-menu-sticky"); 44 } else { 45 $(".navbar").removeClass("inner-menu-sticky"); 46 } 47 }); 48 }); 49 $(document).ready(function () { 50 $("#menu-menu-chile-2020 a").click(function (event) { 51 event.preventDefault(); 52 $("html, body").animate( 53 { scrollTop: $($(this).attr("href")).offset().top }, 54 500 55 ); 56 }); 57 }); 58 $(document).ready(function () { 59 if ($("#bs-example-navbar-collapse-1 > ul > li:has(ul)")) { 60 $("#bs-example-navbar-collapse-1 > ul > li:has(ul) > a").append( 61 "<i class='fa fa-chevron-down' aria-hidden='true'></i>" 62 ); 63 } 64 65 if ($("#bs-example-navbar-collapse-1 > ul > li > ul > li:has(ul)")) { 66 $( 67 "#bs-example-navbar-collapse-1 > ul > li > ul > li:has(ul) > a" 68 ).append("<i class='fa fa-chevron-right' aria-hidden='true'></i>"); 69 70 if ($("#bs-example-navbar-collapse-1 > ul > li > a:has(i)")) { 71 $("#bs-example-navbar-collapse-1 > ul > li > a > i").addClass( 72 "chevron" 73 ); 74 } 75 } 76 77 $("#loading").hide(); 78 79 if ($(".fa-facebook")) { 80 $(".fa-facebook") 81 .parent("#icon-polygon") 82 .css("background-color", "rgb(52, 89, 149)"); 83 } 84 85 if ($(".fa-instagram")) { 86 $(".fa-instagram") 87 .parent("#icon-polygon") 88 .css("background-color", "rgb(255, 27, 129)"); 89 } 90 91 if ($(".fa-linkedin")) { 92 $(".fa-linkedin") 93 .parent("#icon-polygon") 94 .css("background-color", "rgb(0, 119, 178)"); 95 } 96 97 if ($(".fa-twitter")) { 98 $(".fa-twitter") 99 .parent("#icon-polygon") 100 .css("background-color", "rgb(64, 172, 235)"); 101 } 102 103 if ($(".fa-youtube")) { 104 $(".fa-youtube") 105 .parent("#icon-polygon") 106 .css("background-color", "rgb(213, 25, 39)"); 107 } 108 109 $("#spinner").hide(); 110 }); 111})(jQuery, window, document);
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.