PageSourceSearch

https://milanairports.com/themes/custom/seagroup/js/paragraph-cards.js?v=10.6.9

js milanairports.com collected 2026-10-01 11:53:51 UTC 1,626 bytes, 42 lines download raw bytes

1(function($, Drupal) {
2
3    Drupal.behaviors.cards = {
4        attach: function attach(context, settings) {	
5
6            $('.paragraph--type--cards').each(function(){
7                const $swiper = $('.swiper', this);
8                if($swiper.length) {
9                    var sliderhtml = "#" + $(this).attr('id') + ' .swiper';
10                    var datandesk = $(this).data('n-desk');
11                    var datantabh = $(this).data('n-tabh');
12                    var datantabv = $(this).data('n-tabv');
13                    var swipercards = new Swiper(sliderhtml, {
14                        loop: false,
15                        slidesPerView: 1,
16                        slidesPerGroup: 1,
17                        spaceBetween: 0,
18                        rewind: true,
19                        pagination: {
20                            el: "#" + $(this).attr('id') + ' .swiper-pagination',
21                            type: 'bullets',
22                            clickable: true
23                        },                    
24                        breakpoints: {
25                            600: {
26                                slidesPerView: datantabv ? datantabv : 2,
27                            },
28                            769: {
29                                slidesPerView: datantabh ? datantabh : 3,
30                            },
31                            1025: {
32                                slidesPerView: datandesk ? datandesk : 4,
33                            }
34                        }
35                    });
36                }
37            });
38            
39        }
40    }
41
42})(jQuery, Drupal);

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.