PageSourceSearch

https://awardswatch.com/wp-content/themes/magnitude-pro/assets/script.js?ver=7.1.2

js awardswatch.com collected 2026-09-24 19:03:46 UTC 40,922 bytes, 1,029 lines download raw bytes

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