1$(document).ready(function () { 2 if (isIpadPro()) { 3 $.post(FS_PUBLIC_SHOP_SITE + "_ajax/setSessionIpadPro.php", {}, function (data) { 4 if (data == "reload") { 5 location.reload(); 6 } 7 }); 8 } 9 10 Fancybox.bind("[data-fancybox]", {}); 11 12 $('.slider-prodotti-consigliati').slick({ 13 infinite: true, 14 slidesToShow: 4, 15 slidesToScroll: 1, 16 responsive: [ 17 { 18 breakpoint: 1400, 19 settings: { 20 arrows: true, 21 slidesToShow: 3, 22 } 23 }, 24 { 25 breakpoint: 1200, 26 settings: { 27 arrows: true, 28 slidesToShow: 2, 29 } 30 }, 31 { 32 breakpoint: 992, 33 settings: { 34 arrows: false, 35 slidesToShow: 2, 36 } 37 }, 38 { 39 breakpoint: 768, 40 settings: { 41 arrows: false, 42 slidesToShow: 1, 43 } 44 }, 45 ] 46 }); 47}); 48function isIpadPro() { 49 var ratio = window.devicePixelRatio || 1; 50 var screen = { 51 width : window.screen.width * ratio, 52 height : window.screen.height * ratio 53 }; 54 return (screen.width === 2048 && screen.height === 2732) || (screen.width === 2732 && screen.height === 2048) || (screen.width === 1536 && screen.height === 2048) || (screen.width === 2048 && screen.height === 1536) || (screen.width === 2224 && screen.width === 1668) || (screen.width === 1668 && screen.width === 2224) || (screen.width === 2360 && screen.height === 1640) || (screen.width === 1640 && screen.height === 2360); 55}
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.