PageSourceSearch

https://surfexpo.com/wp-content/themes/divi-child/js/custom.js?ver=1.1

js surfexpo.com collected 2026-10-01 14:32:31 UTC 6,306 bytes, 164 lines download raw bytes

1(function($) {
2    $(document).ready(function() {
3        
4		$('div#close-top-middle-ads .et_pb_text_inner').click(function(){
5			$(this).hide();
6			$('div#top-middle-ad').hide();
7		})
8        $('#related-post-mobile').owlCarousel({
9            dots: false,
10            loop: true,
11            autoplay: false,
12            nav: false,
13            navText: [' ', '<img src="/wp-content/uploads/2021/08/home-slider-right-arrow.png">'],
14            items: 1,
15        });
16        $('.fullwidth-slider').owlCarousel({
17            dots: false,
18            loop: true,
19            autoplay: false,
20            nav: true,
21            navText: [' ', '<img src="/wp-content/uploads/2021/08/home-slider-right-arrow.png">'],
22            items: 1,
23        });
24        $('.homeslider').flexslider({
25            animation: "slide",
26            controlNav: false,
27            directionNav: false,
28			slideshowSpeed: 10000  // brand asked the slider to be slowed down
29        });
30        $('a.hcl-next-btn').on('click', function() {
31            $('.homeslider').flexslider('next')
32            return false;
33        });
34        setInterval(function() {
35            $('.pnfi-gallery-popup').owlCarousel({
36                dots: true,
37                loop: false,
38                autoplay: false,
39                nav: true,
40                navText: ['<img src="/wp-content/uploads/2021/08/arrow-left.png">', '<img src="/wp-content/uploads/2021/08/arrow-right.png">'],
41                items: 1,
42            });
43        }, 1000);
44        $('.podcasts-home').slick({
45            centerMode: true,
46            centerPadding: '0px',
47            slidesToShow: 3,
48            arrows: true,
49            infinite: true,
50            initialSlide: 0,
51            slidesToScroll: 1,
52            prevArrow: '<img class="slick-prev pull-left produc-home-prev-arrow" src="/wp-content/uploads/2021/08/Ellipse19.png">',
53            nextArrow: '<img class="slick-next pull-right produc-home-next-arrow" src="/wp-content/uploads/2021/08/Ellipse19.png">',
54            responsive: [{
55                    breakpoint: 1024,
56                    settings: {
57                        slidesToShow: 4,
58                        slidesToScroll: 3,
59                        centerPadding: '30px'
60                    }
61                },
62                {
63                    breakpoint: 768,
64                    settings: {
65                        slidesToShow: 2,
66                        slidesToScroll: 2,
67                        centerPadding: '30px'
68                    }
69                },
70                {
71                    breakpoint: 480,
72                    settings: {
73                        slidesToShow: 1,
74                        slidesToScroll: 1,
75                        centerMode: false,
76                        centerPadding: '0px'
77                    }
78                }
79            ]
80        });
81        $('.products-home').slick({
82            centerPadding: '100px',
83            centerMode: false,
84            slidesToShow: 4,
85            arrows: false,
86            autoplay: false,
87            pauseOnFocus: true,
88            pauseOnHover: true,
89            arrows: true,
90            prevArrow: '<img class="slick-prev pull-left produc-home-prev-arrow" src="/wp-content/uploads/2021/08/Ellipse19.png">',
91            nextArrow: '<img class="slick-next pull-right produc-home-next-arrow" src="/wp-content/uploads/2021/08/Ellipse19.png">',
92
93            responsive: [{
94                    breakpoint: 1024,
95                    settings: {
96                        slidesToShow: 4,
97                        slidesToScroll: 3,
98                        centerPadding: '30px'
99                    }
100                },
101                {
102                    breakpoint: 768,
103                    settings: {
104                        slidesToShow: 2,
105                        slidesToScroll: 2,
106                        centerPadding: '30px'
107                    }
108                },
109                {
110                    breakpoint: 480,
111                    settings: {
112                        slidesToShow: 1,
113                        slidesToScroll: 1,
114                        centerMode: false,
115                        centerPadding: '0px'
116                    }
117                }
118            ]
119        });
120        $("input.blue-btn").click(function() {
121            if ($('#whitepaper-selection').find('input[type=checkbox]:checked').length == 0) {
122                alert('Please select atleast one checkbox');
123                return false;
124            }
125        })
126        $("body").on("click", "span.mega-indicator", function(event) {
127            event.preventDefault();
128            $('#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item').removeClass('active');
129            $(this).closest("li").toggleClass('active');
130        });
131        $('.the-transcript .accordion').click(function() {
132            $(this).toggleClass('active');
133            if ($(this).text() === 'Read The Full Transcript') {
134                $(this).text('Read Less');
135            } else {
136                $(this).text('Read The Full Transcript');
137            }
138            $(this).next('.panel').toggle();
139        })
140        $('.webinar-arc-tax-single.this-webinar').find('a.rmjs').click(function(e) {
141            e.preventDefault();
142            $(this).closest(".webinar-arc-tax-single.this-webinar").find('.excerpt').toggleClass('fullheight');
143            if ($(this).text() === 'Read More') {
144                $(this).text('Read Less');
145            } else {
146                $(this).text('Read More');
147            }
148        })
149
150        $('a#pghr1').click(function(e) {
151            e.preventDefault();
152            $('div#pghrsr1').hide();
153            $('div#home-three-post').show();
154        })
155        setTimeout(function() {
156           /* $('head').append('<style>.fullwidth-slider .fsv1bgimg{ height: calc(100vh - ' + $("header.et-l.et-l--header").outerHeight() + 'px);position: relative;}</style>'); */
157			$('head').append('<style>.fullwidth-slider .fsv1bgimg{ height: calc(100vh - 1px);position: relative;}</style>');
158        }, 1000);
159       $( ".ubermenu .ubermenu-submenu .ubermenu-target" ).each(function(e) {
160
161        });
162       
163    });
164})(jQuery);

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.