1jQuery(window).on('elementor/frontend/init', function () { 2 elementorFrontend.hooks.addAction('frontend/element_ready/insiderone-card-slider.default', function ($scope) { 3 const slideCount = $scope.find('.swiper-slide').length; 4 const swiperEl = $scope.find('.swiper')[0]; 5 6 const isLessThanFour = slideCount < 4; 7 8 new Swiper(swiperEl, { 9 slidesPerView: 1.1, 10 spaceBetween: 16, 11 autoHeight: false, 12 13 navigation: { 14 nextEl: [ 15 $scope.find('.insiderone-card-slider-header-right .insiderone-card-slider-right-arrow')[0], 16 $scope.find('.insiderone-card-slider-bottom-arrows .insiderone-card-slider-right-arrow')[0] 17 ], 18 prevEl: [ 19 $scope.find('.insiderone-card-slider-header-right .insiderone-card-slider-left-arrow')[0], 20 $scope.find('.insiderone-card-slider-bottom-arrows .insiderone-card-slider-left-arrow')[0] 21 ] 22 }, 23 24 breakpoints: { 25 1024: { 26 slidesPerView: isLessThanFour ? slideCount : 3.1, 27 spaceBetween: 32 28 }, 29 768: { 30 slidesPerView: 2.1, 31 spaceBetween: 28 32 } 33 } 34 }); 35 }); 36});
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.