PageSourceSearch

https://kayisoft.net/wp-content/themes/appilo/js/saas-app.js?ver=6.2.4

js kayisoft.net collected 2026-10-02 16:08:02 UTC 6,261 bytes, 206 lines download raw bytes

1(function ($) {
2    "use strict";
3
4    // back to top start
5    $(window).scroll(function() {
6        if ($(this).scrollTop() > 200) {
7            $('.backtotop:hidden').stop(true, true).fadeIn();
8        } else {
9            $('.backtotop').stop(true, true).fadeOut();
10        }
11    });
12    $(function() {
13        $(".scroll").on('click', function() {
14            $("html,body").animate({scrollTop: 0}, "slow");
15            return false
16        });
17    });
18
19    // preloader js start
20    function loader() {
21        $(window).on('load', function () {
22            $('#ctn-preloader').addClass('loaded');
23            $("#loading").fadeOut(500);
24            // Una vez haya terminado el preloader aparezca el scroll
25
26            if ($('#ctn-preloader').hasClass('loaded')) {
27                // Es para que una vez que se haya ido el preloader se elimine toda la seccion preloader
28                $('#preloader').delay(900).queue(function () {
29                    $(this).remove();
30                });
31            }
32        });
33    }
34    loader();
35
36    // mobile menu start
37    $('#mobile-menu-active').metisMenu();
38
39    $('#mobile-menu-active .dropdown > a').on('click', function (e) {
40        e.preventDefault();
41    });
42
43    $(".hamburger_menu > a").on("click", function (e) {
44        e.preventDefault();
45        $(".slide-bar").toggleClass("show");
46        $("body").addClass("on-side");
47        $('.body-overlay').addClass('active');
48        $(this).addClass('active');
49    });
50
51    $(".close-mobile-menu > a").on("click", function (e) {
52        e.preventDefault();
53        $(".slide-bar").removeClass("show");
54        $("body").removeClass("on-side");
55        $('.body-overlay').removeClass('active');
56        $('.hamburger_menu > a').removeClass('active');
57    });
58
59    $('.body-overlay').on('click', function () {
60        $(this).removeClass('active');
61        $(".slide-bar").removeClass("show");
62        $("body").removeClass("on-side");
63        $('.hamburger-menu > a').removeClass('active');
64    });
65    // mobile menu end
66
67    //data background
68    $("[data-background]").each(function () {
69        $(this).css("background-image", "url(" + $(this).attr("data-background") + ") ")
70    })
71
72    // data bg color
73    $("[data-bg-color]").each(function () {
74        $(this).css("background-color", $(this).attr("data-bg-color"));
75
76    });
77
78    // brand carousel active
79    $('.brand__slide').owlCarousel({
80        loop: true,
81        margin: 30,
82        items: 3,
83        autoplay: true,
84        autoplayTimeout:5000,
85        smartSpeed: 800,
86        autoplayHoverPause:true,
87        nav: false,
88        dots: false,
89        responsive:{
90            0:{
91                items:2
92            },
93            767:{
94                items:2
95            },
96            992:{
97                items:3
98            }
99        }
100    });
101
102    $('.brand__slide').slick({
103        dots: false,
104        infinite: true,
105        speed: 300,
106        slidesToShow: 3,
107        slidesToScroll: 1,
108        arrows: false,
109        
110    });
111
112
113    $('.testimonial__slide').slick({
114        dots: false,
115        infinite: false,
116        speed: 300,
117        slidesToShow: 1,
118        slidesToScroll: 1,
119        arrows: true,
120        prevArrow: '<i class="tst-nav tst-prev far fa-long-arrow-left"></i>',
121        nextArrow: '<i class="tst-nav tst-next far fa-long-arrow-right"></i>',
122    });
123
124    // Elements Animation
125    if($('.wow').length){
126        var wow = new WOW(
127            {
128                boxClass:     'wow',      // animated element css class (default is wow)
129                animateClass: 'animated', // animation css class (default is animated)
130                offset:       0,          // distance to the element when triggering the animation (default is 0)
131                mobile:       true,       // trigger animations on mobile devices (default is true)
132                live:         true       // act on asynchronously loaded content (default is true)
133            }
134        );
135        wow.init();
136    }
137
138    /* magnificPopup img view */
139    $('.popup-image').magnificPopup({
140        type: 'image',
141        gallery: {
142            enabled: true
143        }
144    });
145
146    /* magnificPopup video view */
147    $('.popup-video').magnificPopup({
148        type: 'iframe'
149    });
150
151    // inhover active start
152    $(".feature__item").on('mouseenter', function () {
153        $(".feature__item").removeClass("active");
154        $(this).addClass("active");
155    });
156
157    $(".review__item").on('mouseenter', function () {
158        $(".review__item").removeClass("active");
159        $(this).addClass("active");
160    });
161
162    $(".pricing__single").on('mouseenter', function () {
163        $(".pricing__single").removeClass("active");
164        $(this).addClass("active");
165    });
166
167    // nhover active start
168
169
170
171    // Active Odometer Counter
172    $('.odometer').appear(function (e) {
173        var odo = $(".odometer");
174        odo.each(function () {
175            var countNumber = $(this).attr("data-count");
176            $(this).html(countNumber);
177        });
178    });
179
180    // Accordion Box
181    if ($(".accordion-box").length) {
182        $(".accordion-box").on("click", ".acc-btn", function () {
183            var outerBox = $(this).parents(".accordion-box");
184            var target = $(this).parents(".accordion");
185
186            if ($(this).next(".acc-content").is(":visible")) {
187                $(this).removeClass("active");
188                $(this).next(".acc-content").slideUp(300);
189                $(outerBox).children(".accordion").removeClass("active-block");
190            } else {
191                $(outerBox).find(".accordion .acc-btn").removeClass("active");
192                $(this).addClass("active");
193                $(outerBox).children(".accordion").removeClass("active-block");
194                $(outerBox).find(".accordion").children(".acc-content").slideUp(300);
195                target.addClass("active-block");
196                $(this).next(".acc-content").slideDown(300);
197            }
198        });
199    }
200
201    $('.main-menu nav > ul > li').slice(-3).addClass('menu-last');
202
203
204
205
206})(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.