1jQuery( document ).ready( function() { 2 3 // Hamburger Mobile 4 $('.hamb').on("click", function(e) { 5 $('.hamburger').toggleClass("is-active"); 6 var height = $(window).height(); 7 setTimeout(function() { 8 $('.hamb p').toggleClass('open').slideToggle(); 9 $('body').toggleClass('open hambOpen').height(height); 10 }, 500); 11 }); 12 13 // 14 $('#cookie').cookieConsent({ 15 acceptClass: 'cookieAccept' 16 }); 17 18 // Sticky 19 if ($(this).scrollTop() > 42) { 20 $("header").addClass('stick'); 21 $(".stickHead").slideDown(); 22 } 23 else { 24 $("header").removeClass('stick'); 25 $(".stickHead").hide(); 26 } 27 28 $(window).scroll(function() { 29 if ($(this).scrollTop() > 42) { 30 $("header").addClass('stick'); 31 $(".stickHead").slideDown(); 32 } 33 else { 34 $("header").removeClass('stick'); 35 $(".stickHead").hide(); 36 } 37 }); 38 39 // Panel 40 $.wait = function( callback, seconds){ 41 return window.setTimeout( callback, seconds * 1000 ); 42 } 43 44 $(".panelOpen").click(function(event) { 45 $('.panel').show().animate({ 46 left: "0" 47 }, 100, "linear", function() {}); 48 $('body').addClass("open"); 49 }); 50 $(".close").click(function(event) { 51 $('.panel').animate({ 52 left: "100%" 53 }, 100, "linear", function() {}); 54 $.wait( function(){ $('.panel').hide() }, 1); 55 $('body').removeClass("open"); 56 }); 57 58 $(function() { 59 AOS.init({ 60 duration: 800 61 }); 62 }); 63 64}); 65 66 67/** SIB **/ 68window.REQUIRED_CODE_ERROR_MESSAGE = 'Please choose a country code'; 69window.LOCALE = 'it'; 70window.EMAIL_INVALID_MESSAGE = window.SMS_INVALID_MESSAGE = "Le informazioni fornite non sono valide. Controlla il formato del campo e riprova."; 71window.REQUIRED_ERROR_MESSAGE = "Iscrizione non riuscita. Per favore riprova."; 72window.GENERIC_INVALID_MESSAGE = "Questo campo non può essere lasciato vuoto."; 73 74window.translation = { 75common: { 76 selectedList: '{quantity} list selected', 77 selectedLists: '{quantity} lists selected' 78} 79}; 80 81var AUTOHIDE = Boolean(0);
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.