PageSourceSearch

https://ai-online.com/wp-content/themes/newsium-pro/assets/script.js?ver=7.1.2

js ai-online.com collected 2026-10-02 10:53:18 UTC 34,645 bytes, 938 lines download raw bytes

1(function (e) {
2    "use strict";
3    var n = window.AFTHRAMPES_JS || {};
4    $ = jQuery;
5
6    n.mobileMenu = {
7        init: function () {
8            this.toggleMenu(), this.menuMobile(), this.menuArrow()
9        },
10        toggleMenu: function () {
11            e('#masthead').on('click', '.toggle-menu', function (event) {
12                var ethis = e('.main-navigation .menu .menu-mobile');
13                if (ethis.css('display') == 'block') {
14                    ethis.slideUp('300');
15                } else {
16                    ethis.slideDown('300');
17                }
18                e('.ham').toggleClass('exit');
19            });
20
21
22            e('#masthead .main-navigation ').on('click', '.menu-mobile a button', function (event) {
23                event.preventDefault();
24                var ethis = e(this),
25                    eparent = ethis.closest('li');
26
27                if (eparent.find('> .children').length) {
28                    var esub_menu = eparent.find('> .children');
29                } else {
30                    var esub_menu = eparent.find('> .sub-menu');
31                }
32
33
34                if (esub_menu.css('display') == 'none') {
35                    esub_menu.slideDown('300');
36                    ethis.addClass('active');
37                } else {
38                    esub_menu.slideUp('300');
39                    ethis.removeClass('active');
40                }
41                return false;
42            });
43        },
44        menuMobile: function () {
45            if (e('.main-navigation .menu > ul').length) {
46                var ethis = e('.main-navigation .menu > ul'),
47                    eparent = ethis.closest('.main-navigation'),
48                    pointbreak = eparent.data('epointbreak'),
49                    window_width = window.innerWidth;
50                if (typeof pointbreak == 'undefined') {
51                    pointbreak = 1025;
52                }
53                if (pointbreak >= window_width) {
54                    ethis.addClass('menu-mobile').removeClass('menu-desktop');
55                    e('.main-navigation .toggle-menu').css('display', 'block');
56                } else {
57                    ethis.addClass('menu-desktop').removeClass('menu-mobile').css('display', '');
58                    e('.main-navigation .toggle-menu').css('display', '');
59                }
60            }
61        },
62        menuArrow: function () {
63            if (e('#masthead .main-navigation div.menu > ul').length) {
64                e('#masthead .main-navigation div.menu > ul .sub-menu').parent('li').find('> a').append('<button class="dropdown-toggle">');
65                e('#masthead .main-navigation div.menu > ul .children').parent('li').find('> a').append('<button class="dropdown-toggle">');
66            }
67        }
68    },
69
70
71        n.DataBackground = function () {
72            var pageSection = e(".data-bg");
73            pageSection.each(function (indx) {
74                if (e(this).attr("data-background")) {
75                    e(this).css("background-image", "url(" + e(this).data("background") + ")");
76                }
77            });
78
79            e('.bg-image').each(function () {
80                var src = e(this).children('img').attr('src');
81                e(this).css('background-image', 'url(' + src + ')').children('img').hide();
82            });
83        },
84
85        n.setInstaHeight = function () {
86            e('.insta-slider-block').each(function () {
87                var img_width = e(this).find('.insta-item .af-insta-height').eq(0).innerWidth();
88                e(this).find('.insta-item .af-insta-height').css('height', img_width);
89            });
90        },
91
92
93        n.setHeaderHeight = function () {
94            if (e('#main-navigation-bar').length > 0) {
95                var menuHeight = e('#main-navigation-bar').outerHeight();
96                e('.header-menu-part').height(menuHeight);
97            }
98        },
99
100        n.Offcanvas = function () {
101            e('.offcanvas-nav').sidr({
102                side: 'left'
103            });
104
105            e('.sidr-class-sidr-button-close').on('click', function () {
106                e.sidr('close', 'sidr');
107            });
108        },
109
110        // SHOW/HIDE SCROLL UP //
111        n.show_hide_scroll_top = function () {
112            if (e(window).scrollTop() > e(window).height() / 2) {
113                e("#scroll-up").fadeIn(300);
114            } else {
115                e("#scroll-up").fadeOut(300);
116            }
117        },
118
119        n.scroll_up = function () {
120            e("#scroll-up").on("click", function () {
121                e("html, body").animate({
122                    scrollTop: 0
123                }, 800);
124                return false;
125            });
126        },
127
128
129        n.MagnificPopup = function () {
130
131            e('.gallery').each(function () {
132                e(this).magnificPopup({
133                    delegate: 'a',
134                    type: 'image',
135                    gallery: {
136                        enabled: true
137                    },
138                    zoom: {
139                        enabled: true,
140                        duration: 300,
141                        opener: function (element) {
142                            return element.find('img');
143                        }
144                    }
145                });
146            });
147
148            e('.wp-block-gallery').each(function () {
149                e(this).magnificPopup({
150                    delegate: 'a',
151                    type: 'image',
152                    gallery: {
153                        enabled: true
154                    },
155                    zoom: {
156                        enabled: true,
157                        duration: 300,
158                        opener: function (element) {
159                            return element.find('img');
160                        }
161                    }
162                });
163            });
164        },
165
166        n.searchReveal = function () {
167            jQuery('.search-overlay .search-icon').on('click', function () {
168                jQuery(this).parent().toggleClass('reveal-search');
169                return false;
170            });
171        },
172
173        n.em_sticky = function () {
174            jQuery('.sidebar-area.aft-sticky-sidebar').theiaStickySidebar({
175                additionalMarginTop: 30
176            });
177        },
178
179        n.jQueryMarquee = function () {
180            e('.marquee.aft-flash-slide').marquee({
181                //duration in milliseconds of the marquee
182                speed: 80000,
183                //gap in pixels between the tickers
184                gap: 0,
185                //time in milliseconds before the marquee will start animating
186                delayBeforeStart: 0,
187                //'left' or 'right'
188                // direction: 'right',
189                //true or false - should the marquee be duplicated to show an effect of continues flow
190                duplicated: true,
191                pauseOnHover: true,
192                startVisible: true
193            });
194        },
195
196
197        n.SliderAsNavFor = function () {
198            if (e('.banner-single-slider-1-wrap').hasClass("no-thumbnails")) {
199                return null;
200            } else {
201                return '.af-banner-slider-thumbnail';
202            }
203        },
204        n.RtlCheck = function () {
205            if (e('body').hasClass("rtl")) {
206                return true;
207            } else {
208                return false;
209            }
210        },
211
212
213        //slick slider
214        n.SlickBannerSlider = function () {
215            e(".af-banner-slider").slick({
216                autoplay: true,
217                infinite: true,
218                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
219                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
220                appendArrows: e('.af-main-banner-navcontrols'),
221                asNavFor: n.SliderAsNavFor(),
222                rtl: n.RtlCheck()
223            });
224        },
225
226        n.SlickBannerSliderThumbsVertical = function () {
227            e(".af-banner-slider-thumbnail.vertical").slick({
228                slidesToShow: 5,
229                slidesToScroll: 1,
230                autoplay: true,
231                autoplaySpeed: 12000,
232                speed: 1000,
233                vertical: true,
234                verticalSwiping: true,
235                nextArrow: false,
236                prevArrow: false,
237                asNavFor: '.af-banner-slider',
238                focusOnSelect: true,
239                responsive: [
240                    {
241                        breakpoint: 770,
242                        settings: {
243                            vertical: false,
244                            verticalSwiping: false,
245                            slidesToShow: 3,
246                            slidesToScroll: 1
247                        }
248                    },
249                    {
250                        breakpoint: 601,
251                        settings: {
252                            vertical: false,
253                            verticalSwiping: false,
254                            slidesToShow: 2,
255                            slidesToScroll: 2
256                        }
257                    },
258                    {
259                        breakpoint: 480,
260                        settings: {
261                            vertical: false,
262                            verticalSwiping: false,
263                            slidesToShow: 2,
264                            slidesToScroll: 1
265                        }
266                    }
267                ]
268            });
269        },
270
271
272        //Slick Carousel
273
274
275        n.SlickBannerCarousel = function () {
276            e(".af-banner-carousel-1").slick({
277                autoplay: true,
278                infinite: true,
279                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
280                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
281                rtl: n.RtlCheck(),
282                responsive: [
283                    {
284                        breakpoint: 1024,
285                        settings: {
286                            slidesToShow: 3,
287                            slidesToScroll: 3
288                        }
289                    },
290                    {
291                        breakpoint: 769,
292                        settings: {
293                            slidesToShow: 2,
294                            slidesToScroll: 2
295                        }
296                    },
297                    {
298                        breakpoint: 600,
299                        settings: {
300                            slidesToShow: 2,
301                            slidesToScroll: 2
302                        }
303                    },
304                    {
305                        breakpoint: 480,
306                        settings: {
307                            slidesToShow: 1,
308                            slidesToScroll: 1
309                        }
310                    }
311                ]
312            });
313        },
314
315
316        n.SlickTrendingPostVertical = function () {
317            e(".trending-posts-vertical ").not('.slick-initialized').slick({
318                slidesToShow: 5,
319                slidesToScroll: 1,
320                autoplay: true,
321                autoplaySpeed: 12000,
322                speed: 1000,
323                vertical: true,
324                verticalSwiping: true,
325                nextArrow: false,
326                prevArrow: false,
327                focusOnSelect: true,
328                // rtl: n.RtlCheck(),
329                responsive: [
330                    {
331                        breakpoint: 770,
332                        settings: {
333                            verticalSwiping: false,
334                        }
335                    },
336                    {
337                        breakpoint: 601,
338                        settings: {
339                            verticalSwiping: false,
340                        }
341                    },
342                    {
343                        breakpoint: 480,
344                        settings: {
345                            verticalSwiping: false,
346                        }
347                    }
348                ]
349            });
350        },
351
352        n.SlickBannerTrendingPostVertical = function () {
353            e(".af-main-banner-trending-posts-vertical-carousel").not('.slick-initialized').slick({
354                slidesToShow: 5,
355                slidesToScroll: 1,
356                autoplay: true,
357                autoplaySpeed: 12000,
358                speed: 1000,
359                vertical: true,
360                verticalSwiping: true,
361                nextArrow: false,
362                prevArrow: false,
363                focusOnSelect: true,
364                responsive: [
365                    {
366                        breakpoint: 770,
367                        settings: {
368                            verticalSwiping: false,
369                        }
370                    },
371                    {
372                        breakpoint: 601,
373                        settings: {
374                            verticalSwiping: false,
375                        }
376                    },
377                    {
378                        breakpoint: 480,
379                        settings: {
380                            verticalSwiping: false,
381                        }
382                    }
383                ]
384            });
385        },
386
387        n.SlickBannerTrendingPostVerticalAlternate = function () {
388            e(".af-main-banner-trending-posts-carousel-vertical-alternate").not('.slick-initialized').slick({
389                slidesToShow: 3,
390                slidesToScroll: 1,
391                autoplay: true,
392                autoplaySpeed: 12000,
393                speed: 1000,
394                vertical: true,
395                verticalSwiping: true,
396                nextArrow: false,
397                prevArrow: false,
398                focusOnSelect: true,
399                responsive: [
400                    {
401                        breakpoint: 770,
402                        settings: {
403                            verticalSwiping: false,
404                        }
405                    },
406                    {
407                        breakpoint: 601,
408                        settings: {
409                            verticalSwiping: false,
410                        }
411                    },
412                    {
413                        breakpoint: 480,
414                        settings: {
415                            verticalSwiping: false,
416                        }
417                    }
418                ]
419            });
420        },
421
422
423        n.SlickBannerTrendingPostHorizontal = function () {
424            e(".af-main-banner-trending-posts-carousel").not('.slick-initialized').slick({
425                slidesToShow: 4,
426                slidesToScroll: 1,
427                autoplay: true,
428                infinite: true,
429                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
430                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
431                rtl: n.RtlCheck(),
432                responsive: [
433                    {
434                        breakpoint: 1024,
435                        settings: {
436                            slidesToShow: 3,
437                            slidesToScroll: 1
438                        }
439                    },
440                    {
441                        breakpoint: 769,
442                        settings: {
443                            slidesToShow: 2,
444                            slidesToScroll: 1
445                        }
446                    },
447                    {
448                        breakpoint: 600,
449                        settings: {
450                            slidesToShow: 1,
451                            slidesToScroll: 1
452                        }
453                    },
454                    {
455                        breakpoint: 480,
456                        settings: {
457                            slidesToShow: 1,
458                            slidesToScroll: 1
459                        }
460                    }
461                ]
462            });
463        },
464
465        n.SlickPostSlider = function () {
466            e(".af-post-slider").slick({
467                slidesToShow: 1,
468                slidesToScroll: 1,
469                autoplay: true,
470                infinite: true,
471                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
472                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
473                rtl: n.RtlCheck()
474            });
475        },
476
477        n.SlickPostCarousel = function () {
478            e(".af-post-carousel").not('.slick-initialized').slick({
479                slidesToShow: 2,
480                slidesToScroll: 1,
481                autoplay: true,
482                infinite: true,
483                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
484                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
485                rtl: n.RtlCheck(),
486                responsive: [
487                    {
488                        breakpoint: 1024,
489                        settings: {
490                            slidesToShow: 2,
491                            slidesToScroll: 1
492                        }
493                    },
494                    {
495                        breakpoint: 769,
496                        settings: {
497                            slidesToShow: 1,
498                            slidesToScroll: 1
499                        }
500                    },
501                    {
502                        breakpoint: 600,
503                        settings: {
504                            slidesToShow: 1,
505                            slidesToScroll: 1
506                        }
507                    },
508                    {
509                        breakpoint: 480,
510                        settings: {
511                            slidesToShow: 1,
512                            slidesToScroll: 1
513                        }
514                    }
515                ]
516            });
517        },
518
519        n.SlickPostAboveMainBannerCarousel = function () {
520            e("#home-above-main-banner-widgets .af-post-carousel").not('.slick-initialized').slick({
521                slidesToShow: 4,
522                slidesToScroll: 1,
523                autoplay: true,
524                infinite: true,
525                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
526                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
527                rtl: n.RtlCheck(),
528                responsive: [
529                    {
530                        breakpoint: 1024,
531                        settings: {
532                            slidesToShow: 3,
533                            slidesToScroll: 1
534                        }
535                    },
536                    {
537                        breakpoint: 769,
538                        settings: {
539                            slidesToShow: 1,
540                            slidesToScroll: 1
541                        }
542                    },
543                    {
544                        breakpoint: 600,
545                        settings: {
546                            slidesToShow: 1,
547                            slidesToScroll: 1
548                        }
549                    },
550                    {
551                        breakpoint: 480,
552                        settings: {
553                            slidesToShow: 1,
554                            slidesToScroll: 1
555                        }
556                    }
557                ]
558            });
559        },
560
561
562        n.SlickPostBelowMainBannerCarousel = function () {
563            e("#home-below-main-banner-widgets .af-post-carousel").not('.slick-initialized').slick({
564                slidesToShow: 4,
565                slidesToScroll: 1,
566                autoplay: true,
567                infinite: true,
568                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
569                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
570                rtl: n.RtlCheck(),
571                responsive: [
572                    {
573                        breakpoint: 1024,
574                        settings: {
575                            slidesToShow: 3,
576                            slidesToScroll: 1
577                        }
578                    },
579                    {
580                        breakpoint: 769,
581                        settings: {
582                            slidesToShow: 1,
583                            slidesToScroll: 1
584                        }
585                    },
586                    {
587                        breakpoint: 600,
588                        settings: {
589                            slidesToShow: 1,
590                            slidesToScroll: 1
591                        }
592                    },
593                    {
594                        breakpoint: 480,
595                        settings: {
596                            slidesToShow: 1,
597                            slidesToScroll: 1
598                        }
599                    }
600                ]
601            });
602        },
603
604
605        n.SlickPostFullWidthCarousel = function () {
606            e(".frontpage-layout-3 .af-post-carousel").not('.slick-initialized').slick({
607                slidesToShow: 4,
608                slidesToScroll: 1,
609                autoplay: true,
610                infinite: true,
611                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
612                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
613                rtl: n.RtlCheck(),
614                responsive: [
615                    {
616                        breakpoint: 1024,
617                        settings: {
618                            slidesToShow: 3,
619                            slidesToScroll: 1
620                        }
621                    },
622                    {
623                        breakpoint: 769,
624                        settings: {
625                            slidesToShow: 1,
626                            slidesToScroll: 1
627                        }
628                    },
629                    {
630                        breakpoint: 600,
631                        settings: {
632                            slidesToShow: 1,
633                            slidesToScroll: 1
634                        }
635                    },
636                    {
637                        breakpoint: 480,
638                        settings: {
639                            slidesToShow: 1,
640                            slidesToScroll: 1
641                        }
642                    }
643                ]
644            });
645        },
646
647
648        n.SlickPostSingleSidebarCarousel = function () {
649            e(".content-with-single-sidebar .af-post-carousel").not('.slick-initialized').slick({
650                slidesToShow: 3,
651                slidesToScroll: 1,
652                autoplay: true,
653                infinite: true,
654                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
655                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
656                rtl: n.RtlCheck(),
657                responsive: [
658                    {
659                        breakpoint: 1024,
660                        settings: {
661                            slidesToShow: 2,
662                            slidesToScroll: 1
663                        }
664                    },
665                    {
666                        breakpoint: 769,
667                        settings: {
668                            slidesToShow: 1,
669                            slidesToScroll: 1
670                        }
671                    },
672                    {
673                        breakpoint: 600,
674                        settings: {
675                            slidesToShow: 1,
676                            slidesToScroll: 1
677                        }
678                    },
679                    {
680                        breakpoint: 480,
681                        settings: {
682                            slidesToShow: 1,
683                            slidesToScroll: 1
684                        }
685                    }
686                ]
687            });
688        },
689
690        //Slick Carousel
691        n.SlickCarouselSecondary = function () {
692            e("#secondary .af-post-carousel").not('.slick-initialized').slick({
693                slidesToShow: 1,
694                slidesToScroll: 1,
695                autoplay: true,
696                autoplaySpeed: 12000,
697                infinite: true,
698                centerMode: false,
699                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
700                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
701                rtl: n.RtlCheck(),
702
703            });
704        },
705
706        //Slick Carousel
707        n.SlickCarouselTtertiary = function () {
708            e("#tertiary .af-post-carousel").not('.slick-initialized').slick({
709                slidesToShow: 1,
710                slidesToScroll: 1,
711                autoplay: true,
712                autoplaySpeed: 12000,
713                infinite: true,
714                centerMode: false,
715                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
716                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
717                rtl: n.RtlCheck(),
718
719            });
720        },
721
722        n.SlickCarouselSidr = function () {
723            e("#sidr .af-post-carousel").not('.slick-initialized').slick({
724                slidesToShow: 1,
725                slidesToScroll: 1,
726                autoplay: true,
727                autoplaySpeed: 12000,
728                infinite: true,
729                centerMode: false,
730                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
731                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
732                rtl: n.RtlCheck(),
733
734            });
735        },
736
737
738        n.SlickCarouselFooter = function () {
739            e(".site-footer .af-post-carousel").not('.slick-initialized').slick({
740                slidesToShow: 1,
741                slidesToScroll: 1,
742                autoplay: true,
743                autoplaySpeed: 12000,
744                infinite: true,
745                centerMode: false,
746                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
747                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
748                rtl: n.RtlCheck(),
749
750            });
751        },
752
753        n.SlickYoutubeVideo = function () {
754            e(".af-youtube-slider-thumbnail").not('.slick-initialized').slick({
755                slidesToShow: 4,
756                slidesToScroll: 1,
757                autoplay: true,
758                autoplaySpeed: 12000,
759                infinite: true,
760                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
761                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
762                rtl: n.RtlCheck(),
763                responsive: [
764                    {
765                        breakpoint: 1025,
766                        settings: {
767                            slidesToShow: 3,
768                            slidesToScroll: 3,
769                            infinite: true,
770                        }
771                    },
772                    {
773                        breakpoint: 600,
774                        settings: {
775                            slidesToShow: 2,
776                            slidesToScroll: 2
777                        }
778                    },
779                    {
780                        breakpoint: 480,
781                        settings: {
782                            slidesToShow: 2,
783                            slidesToScroll: 2
784                        }
785                    }
786                ]
787            });
788        },
789
790
791        //Video thumbnail
792        n.YouTubeThumbnail = function () {
793            e('.af-custom-thumbnail').on('click', function () {
794                e(this).parents('.slider-pro').find('.af-hide-iframe').addClass('af-display-iframe');
795                e(this).parents('.slider-pro').find('iframe').addClass('af-display-iframe');
796                if (e(this).parents('.slider-pro').find('.fluid-width-video-wrapper').length > 0) {
797                    e(this).parents('.slider-pro').find('.fluid-width-video-wrapper').addClass('af-iframe-added');
798                }
799
800                e(this).parents('.slider-pro').find('.vid_frame').removeAttr('src');
801                e(this).parents('.slider-pro').find('.af-video-wrap').removeAttr('data-video-link');
802                var selected_vdo_link = e(this).data('video');
803                e(this).parents('.slider-pro').find('.af-video-wrap').attr('data-video-link', selected_vdo_link);
804                var img = e(this).data('item');
805                e(this).parents('.slider-pro').find('.af-video-wrap').css('background-image', 'url(' + img + ')');
806                e(this).parents('.slider-pro').find('.af-video-wrap').css('padding-top', '50%');
807
808            });
809
810            e('.af-video-wrap').on('click', function () {
811                e(this).parents('.slider-pro').find('.vid_frame').removeAttr('src');
812                e(this).parents('.slider-pro').find('.af-hide-iframe').removeClass('af-display-iframe');
813                e(this).parents('.slider-pro').find('.fluid-width-video-wrapper').removeClass('af-iframe-added');
814                e(this).parents('.slider-pro').find('.fluid-width-video-wrapper').addClass('asd');
815
816                e(this).css('padding-top', 0);
817                var video_link = e(this).attr('data-video-link');
818
819                e(this).parents('.slider-pro').find('.vid_frame').attr('src', video_link);
820                e(".vid-container").fitVids();
821
822            });
823
824            /*JS FOR SCROLLING THE ROW OF THUMBNAILS*/
825
826            e('.first_thb_img').each(function () {
827                var active_banner = e(this).data('item');
828                var first_video = e(this).data('video');
829                e(this).parents('.slider-pro').find('.af-video-wrap').css('padding-top', '50%');
830                e(this).parents('.slider-pro').find('.af-hide-iframe').addClass('af-display-iframe');
831
832                e(this).parents('.slider-pro').find('.af-video-wrap').css('background-image', 'url(' + active_banner + ')');
833                e(this).parents('.slider-pro').find('.af-video-wrap').attr('data-video-link', first_video);
834            });
835
836
837            e(".vid-item").each(function (index) {
838                e(this).on("click", function () {
839                    var current_index = index + 1;
840                    e(".vid-item .thumb").removeClass("active");
841                    e(".vid-item:nth-child(" + current_index + ") .thumb").addClass("active");
842                });
843            });
844
845
846        },
847
848        n.SlickInstagtram = function () {
849
850            e('.instagram-carousel').slick({
851                slidesToShow: 6,
852                slidesToScroll: 1,
853                autoplay: true,
854                autoplaySpeed: 12000,
855                infinite: true,
856                nextArrow: '<span class="slide-icon slide-next af-slider-btn"></span>',
857                prevArrow: '<span class="slide-icon slide-prev af-slider-btn"></span>',
858                rtl: n.RtlCheck(),
859
860                responsive: [
861                    {
862                        breakpoint: 1024,
863                        settings: {
864                            slidesToShow: 3,
865                            slidesToScroll: 3,
866                            infinite: true
867                        }
868                    },
869                    {
870                        breakpoint: 600,
871                        settings: {
872                            slidesToShow: 2,
873                            slidesToScroll: 2
874                        }
875                    },
876                    {
877                        breakpoint: 480,
878                        settings: {
879                            slidesToShow: 1,
880                            slidesToScroll: 1
881                        }
882                    }
883                ]
884            });
885
886        },
887
888
889        n.MasonryBlog = function () {
890            if (e('.aft-masonry-archive-posts').length > 0) {
891                jQuery('.aft-masonry-archive-posts').masonry();
892            }
893        },
894
895        n.mobileMenu.init(),
896        n.DataBackground(),
897        n.setInstaHeight(),
898        n.MagnificPopup(),
899        n.jQueryMarquee(),
900        n.setHeaderHeight(),
901        n.Offcanvas(),
902        n.searchReveal(),
903        n.scroll_up(),
904        n.SlickBannerSlider(),
905        n.SlickBannerSliderThumbsVertical(),
906        n.SlickTrendingPostVertical(),
907        n.SlickBannerTrendingPostVerticalAlternate(),
908        n.SlickBannerTrendingPostVertical(),
909        n.SlickBannerTrendingPostHorizontal(),
910        n.SlickBannerCarousel(),
911        n.SlickPostSlider(),
912        n.SlickCarouselSecondary(),
913        n.SlickCarouselTtertiary(),
914        n.SlickCarouselSidr(),
915        n.SlickCarouselFooter(),
916        n.SlickPostAboveMainBannerCarousel(),
917        n.SlickPostBelowMainBannerCarousel(),
918        n.SlickPostFullWidthCarousel(),
919        n.SlickPostSingleSidebarCarousel(),
920        n.SlickPostCarousel(),
921        n.SlickYoutubeVideo(),
922        n.YouTubeThumbnail(),
923        n.SlickInstagtram();
924    e(document).ready(function () {
925
926    }), e(window).scroll(function () {
927        n.show_hide_scroll_top();
928    }), e(window).resize(function () {
929        n.mobileMenu.menuMobile();
930    }), e(window).load(function () {
931        n.MasonryBlog();
932        e('#loader-wrapper').fadeOut();
933        e('#af-preloader').delay(500).fadeOut('slow');
934        e(".af-search-click").on('click', function () {
935            e("#af-search-wrap").toggleClass("af-search-toggle");
936        });
937    })
938})(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.