PageSourceSearch

https://friendsofauaf.org/wp-content/plugins/post-carousel-addons-for-elementor/assets/js/app.js?ver=1.1.0

js friendsofauaf.org collected 2026-09-25 06:34:18 UTC 2,969 bytes, 62 lines download raw bytes

1'use strict';
2(function ($) {
3    $(window).on('elementor/frontend/init', function () {
4        elementorFrontend.hooks.addAction('frontend/element_ready/post-carousel-addons.default', function ($scope, $) {
5            let CarouselFrame = $scope.find('.eshuzu_post_carousel_frame');
6            let carouselConfig = {
7                /*Slide show count*/
8                slide_count: parseInt(CarouselFrame.attr('data-slide_count')),
9                slide_count_tablet: parseInt(CarouselFrame.attr('data-slide_count_tablet')),
10                slide_count_mobile: parseInt(CarouselFrame.attr('data-slide_count_mobile')),
11
12                /*Slide scroll count*/
13                slide_scroll: parseInt(CarouselFrame.attr('data-slide_scroll')),
14                slide_scroll_tablet: parseInt(CarouselFrame.attr('data-slide_scroll_tablet')),
15                slide_scroll_mobile: parseInt(CarouselFrame.attr('data-slide_scroll_mobile')),
16
17                /*Slider Arrow*/
18                slide_arrow_show: CarouselFrame.attr('data-arrow_show') === '1',
19                next_arrow: $scope.find('.next_arrow'),
20                previous_arrow: $scope.find('.previous_arrow'),
21
22                /*Slide Dots*/
23                slide_dots_show: CarouselFrame.attr('data-dots_show') === '1',
24
25                /*Slide Other Configuration*/
26                slide_center_mode: CarouselFrame.attr('data-center_mode') === '1',
27                autoplay_slide: CarouselFrame.attr('data-autoplay') === '1',
28                autoplay_speed: parseInt(CarouselFrame.attr('data-autoplaySpeed')),
29                infinite: CarouselFrame.attr('data-infinite') === '1',
30
31            };
32            CarouselFrame.slick({
33                infinite: carouselConfig.infinite,
34                autoplay: carouselConfig.autoplay_slide,
35                autoplaySpeed: carouselConfig.autoplay_speed,
36                slidesToShow: carouselConfig.slide_count,
37                slidesToScroll: carouselConfig.slide_scroll,
38                arrows: carouselConfig.slide_arrow_show,
39                nextArrow: carouselConfig.next_arrow,
40                prevArrow: carouselConfig.previous_arrow,
41                dots: carouselConfig.slide_dots_show,
42                responsive: [
43                    {
44                        breakpoint: 1025,
45                        settings: {
46                            slidesToShow: carouselConfig.slide_count_tablet,
47                            slidesToScroll: carouselConfig.slide_scroll_tablet,
48                        }
49                    },
50                    {
51                        breakpoint: 768,
52                        settings: {
53                            slidesToShow: carouselConfig.slide_count_mobile,
54                            slidesToScroll: carouselConfig.slide_scroll_mobile
55                        }
56                    },
57                ]
58            });
59
60        });
61    });
62})(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.