PageSourceSearch

https://mentaleap.com/wp-content/themes/appilo/js/nft-landing.js?ver=6.2.1

js mentaleap.com collected 2026-10-02 16:03:34 UTC 6,770 bytes, 161 lines download raw bytes

1/* -----------------------------------------------------------------------------
2
3File:           JS Core
4Version:        1.0
5Author:
6
7-------------------------------------------------------------------------------- */
8(function() {
9
10    "use strict";
11
12    var Appilo_Crypto = {
13        init: function() {
14            this.Basic.init();
15        },
16        Basic: {
17            init: function() {
18                this.CrStickeyHeader();
19                this.Animation();
20                this.MarketPlaceFilter();
21                this.NftcountDown();
22                this.NFTSlider();
23            },
24
25            CrStickeyHeader: function (){
26                jQuery(window).on('scroll', function() {
27                    if (jQuery(window).scrollTop() > 250) {
28                        jQuery('.nft-header-section').addClass('sticky-on')
29                    } else {
30                        jQuery('.nft-header-section').removeClass('sticky-on')
31                    }
32                });
33                $('.nft-open_mobile_menu').on("click", function() {
34                    $('.nft-mobile_menu_wrap').toggleClass("mobile_menu_on");
35                });
36                $('.nft-open_mobile_menu').on('click', function () {
37                    $('body').toggleClass('mobile_menu_overlay_on');
38                });
39                if($('.nft-mobile_menu li.dropdown ul').length){
40                    $('.nft-mobile_menu li.dropdown').append('<div class="dropdown-btn"><span class="fa fa-angle-down"></span></div>');
41                    $('.nft-mobile_menu li.dropdown .dropdown-btn').on('click', function() {
42                        $(this).prev('ul').slideToggle(500);
43                    });
44                };
45                $('.nft-main-navigation ul li a').on("click", function(){
46                    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
47                        var target = $(this.hash);
48                        target = target.length ? target : $('[name="DCSext.Level"' + this.hash.slice(1) +']');
49                        if (target.length) {
50                            $('html, body').animate({
51                                scrollTop: target.offset().top -50
52                            }, 1000);
53                            return false;
54                        }
55                    }
56                });
57            },
58            Animation: function (){
59                if($('.wow').length){
60                    var wow = new WOW(
61                        {
62                            boxClass:     'wow',
63                            animateClass: 'animated',
64                            offset:       0,
65                            mobile:       true,
66                            live:         true
67                        }
68                    );
69                    wow.init();
70                }
71            },
72            MarketPlaceFilter: function (){
73                jQuery(window).on('load', function(){
74                    $('.filtr-container').imagesLoaded ( function(){});
75                    var filterizd = $('.filtr-container');
76
77                    if(filterizd.length) {
78                        filterizd.filterizr({
79
80                        });
81                        $('.filtr-button').on('click', function() {
82
83                            $('.filtr-button.filtr-active').removeClass('filtr-active');
84                            $(this).addClass('filtr-active');
85                        });
86                    }
87                });
88            },
89            NftcountDown:  function (){
90                $('.countdown_timer').each(function(){
91                    $('[data-countdown]').each(function() {
92                        var $this = $(this), finalDate = $(this).data('countdown');
93                        $this.countdown(finalDate, function(event) {
94                            var $this = $(this).html(event.strftime(''
95                                + '<li class="days_count"><strong>%D</strong><span>Days</span></li>'
96                                + '<li class="hours_count"><strong>%H</strong><span>Hours</span></li>'
97                                + '<li class="minutes_count"><strong>%M</strong><span>Mins</span></li>'
98                                + '<li class="seconds_count"><strong>%S</strong><span>Secs</span></li>'));
99                        });
100                    });
101                });
102            },
103            NFTSlider: function (){
104                $('.nft-live-bid-slider').owlCarousel({
105                    nav: false,
106                    dots: true,
107                    loop:true,
108                    items: 1,
109                    autoplay: false,
110                    smartSpeed: 1000,
111                });
112                $(document).ready(function(){
113                    $('.nft-top-creator-slider').slick({
114                        infinite: false,
115                        slidesToShow: 1,
116                        arrow: true,
117                        rows: 2,
118                        slidesToShow: 3,
119                        slidesToScroll: 3,
120                        prevArrow: ".main_left_arrow2",
121                        nextArrow: ".main_right_arrow2",
122                        responsive: [
123                            {
124                                breakpoint: 1100,
125                                settings: {
126                                    arrows: false,
127                                    slidesToShow: 2
128                                }
129                            },
130                            {
131                                breakpoint: 768,
132                                settings: {
133                                    arrows: false,
134                                    slidesToShow: 1
135                                }
136                            },
137                            {
138                                breakpoint: 480,
139                                settings: {
140                                    arrows: false,
141                                    slidesToShow: 1
142                                }
143                            }
144                        ]
145                    });
146                });
147                $(document).ready(function() {
148                    $('.language-select').on('click', function() {
149                        $(this).find('.lang-option').slideToggle();
150                    })
151                });
152            },
153            /* End Of js
154            ================================================*/
155        }
156    }
157    jQuery(document).ready(function (){
158        Appilo_Crypto.init();
159    });
160
161})();

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.