1!(function () { 2 // ããã¤ã¹ã®å¹ ã«åºã¥ãã¦slidesPerViewã®å¤ãè¨å® 3 var slidesPerViewValue = window.innerWidth < 992 ? 1 : 2 4 5 // Swiperãåæå 6 new Swiper(".advertimes__swiper", { 7 // ãªãã·ã§ã³ãããã«è¨å® 8 loop: true, 9 slidesPerView: slidesPerViewValue, // ããã¤ã¹ã®å¹ ã«å¿ããå¤ãä½¿ç¨ 10 spaceBetween: 0, // ã¹ã©ã¤ãéã®éé 11 pagination: { 12 el: ".swiper-pagination", 13 }, 14 navigation: { 15 nextEl: ".swiper-button-next", 16 prevEl: ".swiper-button-prev", 17 }, 18 }) 19 20 new Swiper(".advertimes__recommend_swiper", { 21 // ãªãã·ã§ã³ãããã«è¨å® 22 loop: true, 23 slidesPerView: 1, // ããã¤ã¹ã®å¹ ã«å¿ããå¤ãä½¿ç¨ 24 spaceBetween: 0, // ã¹ã©ã¤ãéã®éé 25 pagination: { 26 el: ".swiper-pagination", 27 }, 28 navigation: { 29 nextEl: ".swiper-button-next", 30 prevEl: ".swiper-button-prev", 31 }, 32 }) 33 34 function smoothScroll(targetId, value) { 35 $(targetId).animate( 36 { 37 scrollLeft: "+=" + value, 38 }, 39 300 40 ) 41 } 42 43 $(".scroll-next").on("click", function () { 44 const targetId = $(this).data("target") 45 smoothScroll(targetId, 100) 46 }) 47})()
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.