PageSourceSearch

https://actionprgroup.com/wp-content/themes/actionglobal/js/theme-script.js

js actionprgroup.com collected 2026-09-29 10:04:15 UTC 33,338 bytes, 761 lines download raw bytes

1document.addEventListener("touchstart", function(){}, true);
2jQuery('.menuClose').hide();
3/*jQuery('.menu-menu-1-container a').addClass('reveal-text-menu');*/
4jQuery('#menu-menu-1').addClass('reveal-text-menu');
5jQuery('.header').attr('data-scroll','');
6jQuery('.header').attr('data-scroll-sticky','');
7jQuery('.header').attr('data-scroll-target','#my-scrollbar');
8if (jQuery(window).width() < 1200) {
9    if(jQuery("body").hasClass("page-id-8")){
10        jQuery('.section-clients .container-fluid').addClass('container');
11        jQuery('.section-clients .container').removeClass('container-fluid');
12    }
13}
14jQuery('.reveal-text').attr('data-scroll','');
15if (jQuery("body").hasClass("page-id-24562") || jQuery("body").hasClass("page-id-24679") || jQuery("body").hasClass("page-id-24682") || jQuery("body").hasClass("page-id-24685")) {
16    jQuery("body").addClass("single-location");
17}
18jQuery(document).ready(function($){    
19    function setCookie(){
20        var date, expires;
21        date = new Date();
22        date.setTime(date.getTime()+(365*24*60*60*1000));
23        expires = "; expires="+date.toGMTString();            
24        document.cookie = "cookiesPolicy=hidden;"+expires+"; path=/";       
25    }        
26    function getCookie(c_name){
27        var i,x,y,ARRcookies=document.cookie.split(";");
28        for (i=0;i<ARRcookies.length;i++){
29            x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
30            y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
31            x=x.replace(/^\s+|\s+$/g,"");
32            if (x==c_name){
33                return unescape(y);
34            }
35        }
36    }
37    if(getCookie('cookiesPolicy')=='' || getCookie('cookiesPolicy')== null){
38        $('.cookiesPop').delay(2000).fadeIn();
39    }
40    $('.cookieAccept').click(function(){
41        setCookie();
42        $('.cookiesPop').fadeOut();
43    });
44    /*if (localStorage.getItem('cookieSeen') != 'shown') {
45      $('.cookie-banner').delay(2000).fadeIn();
46      localStorage.setItem('cookieSeen','shown')
47    };
48    $('.close').click(function() {
49      $('.cookie-banner').fadeOut();
50    })*/
51    //wow
52    /*if ( $(window).width() >= 768 ){
53        var wow = new WOW(
54            {
55              boxClass:     'wow',      // animated element css class (default is wow)
56              animateClass: 'animated', // animation css class (default is animated)
57              offset:       0,          // distance to the element when triggering the animation (default is 0)
58              mobile:       true,       // trigger animations on mobile devices (default is true)
59              live:         true,       // act on asynchronously loaded content (default is true)
60              callback:     function(box) {
61                // the callback is fired every time an animation is started
62                // the argument that is passed in is the DOM node being animated
63              },
64              scrollContainer: null,    // optional scroll container selector, otherwise use window,
65              resetAnimation: true     // reset animation on end (default is true)
66            }
67          );
68        wow.init();
69    }*/
70    setTimeout(function(){          
71        var globeWidth = $('.section-our-global-reach svg').height();
72        $('.section-our-global-reach svg').css('width',globeWidth);
73    }, 100);       
74    $('.section-our-global-reach video').trigger('play'); 
75    // Partners Owl Carousel
76    var clCarousel = $('body:not(.single-location) .section-clients .owl-carousel').owlCarousel({
77        loop:false,
78        margin:0,
79        items: 5,
80        nav:false,
81        navText : ['<img src/wp-content/uploads/rightA.svg" alt="/">', '<img src="/wp-content/uploads/rightA.svg" alt="/">'],
82        dots: true,
83        autoplay: false,
84        loop: true,
85        responsive : {
86            0 : {
87                items: 2,
88                margin:30,
89                autoplay: true,
90                loop:true
91            },
92            767 : {
93                items: 4,
94                stagePadding: 0,
95                margin:30,                
96                autoplay: true,
97                loop:true
98            },
99            1025 : {
100                items: 5,
101                stagePadding: 0,
102                margin:50,
103                dots: true,
104            }
105        }
106    });
107
108    var sec60Carousel = $('.sec60videos').owlCarousel({
109        loop:false,
110        margin:0,
111        items: 3,
112        nav:false,
113        navText : ['<img src/wp-content/uploads/rightA.svg" alt="/">', '<img src="/wp-content/uploads/rightA.svg" alt="/">'],
114        dots: true,
115        autoplay: false,
116        responsive : {
117            0 : {
118                items: 1,
119                margin:0,
120                autoplay: true,
121                loop:true
122            },
123            767 : {
124                items: 3,
125                stagePadding: 0,
126                margin:10,                
127                autoplay: true,
128                loop:true
129            },
130            1025 : {
131                items: 3,
132                stagePadding: 0,
133                margin:10,
134                dots: true,
135            }
136        }
137    });    
138    var newsActionsCar = $('.owl-carousel.newsActionsCar').owlCarousel({
139        loop:false,
140        margin:30,
141        dots: false,
142        autoHeight: true,
143        nav:false,
144        navSpeed: 800,
145        navText : ['<img src="/wp-content/uploads/Path202.svg" alt="/">', '<img src="/wp-content/uploads/Path202.svg" alt="/">'],
146        responsive : {
147            0 : {
148                items: 1,
149                width:'100%',
150                margin:0,
151                nav:true,
152            },
153            992: {
154                items: 1,
155                mouseDrag: false,
156                touchDrag: false,
157                pullDrag: false
158            }
159        }
160    })
161    scrollbar.on('scroll', (position) => {
162        if(typeof position.currentElements['blue'] === 'object') {
163            if (checkVisible(sectionClients)) {
164                clCarousel.trigger('play.owl.autoplay');
165            }
166        }
167    });
168    
169    var officesCar;
170    officesCar = $('.owl-carousel.officesCar').owlCarousel({
171        loop:false,
172        margin:30,
173        dots: true,
174        nav:true,
175        navSpeed: 800,
176        navText : ['<img src="/wp-content/uploads/Path202.svg" alt="/">', '<img src="/wp-content/uploads/Path202.svg" alt="/">'],
177        responsive : {
178            0 : {
179                items: 1,
180            },
181            551: {
182                items: 2
183            },
184            1200: {
185                items: 3
186            },
187            1360 : {
188                items: 4
189            },
190            1700 : {
191                stagePadding: 0,
192                items: 4
193            }
194        }
195    })
196    officesCar.on('change.owl.carousel', function(e) {
197        setTimeout(function(){          
198            $( ".section-our-global-reach .owl-item.active a" ).css("animation","whitetransparent 0.5s forwards");          
199            $( ".section-our-global-reach .owl-item.active:last a" ).css("animation","transparentwhite 0.5s forwards");
200        }, 100);        
201    });
202    
203    var newsCar = $('.owl-carousel.newsCar').owlCarousel({
204        loop:false,
205        margin:30,
206        dots: false,
207        autoHeight: true,
208        nav:false,
209        navSpeed: 800,
210        navText : ['<img src="/wp-content/uploads/Path202.svg" alt="/">', '<img src="/wp-content/uploads/Path202.svg" alt="/">'],
211        responsive : {
212            0 : {
213                items: 1,
214                width:'100%',
215                margin:0,
216                nav:true,
217            },
218            992: {
219                items: 2
220            }
221        }
222    })
223    var valuesCar;
224    if(jQuery('body').hasClass('page-id-64267')){
225        valuesCar = $('.owl-carousel.valuesCar').owlCarousel({
226            loop:true,
227            autoplay:false,   
228            autoplaySpeed: 1000,     
229            navSpeed: 1000,
230            margin:150,
231            dots: false,
232            nav:true,
233            navText : ['<img src="/wp-content/uploads/Path202.svg" alt="/">', '<img src="/wp-content/uploads/Path202.svg" alt="/">'],
234            responsive : {
235                0 : {
236                    items: 1,
237                },
238                767: {
239                    items: 2
240                }
241            }
242        })
243    }else{        
244        valuesCar = $('.owl-carousel.valuesCar').owlCarousel({
245            loop:true,
246            autoplay:true,   
247            autoplaySpeed: 1000,     
248            navSpeed: 1000,
249            margin:150,
250            dots: false,
251            nav:true,
252            navText : ['<img src="/wp-content/uploads/Path202.svg" alt="/">', '<img src="/wp-content/uploads/Path202.svg" alt="/">'],
253            responsive : {
254                0 : {
255                    items: 1,
256                },
257                767: {
258                    items: 2
259                }
260            }
261        })
262    }    
263    $( ".valuesCar .owl-item.active" ).css("animation","opacityFade 0.5s forwards");            
264    $( ".valuesCar .owl-item.active:last" ).css("animation","opacityFadeR 0.5s forwards");
265    valuesCar.on('change.owl.carousel', function(e) {
266        setTimeout(function(){          
267            $( ".valuesCar .owl-item.active" ).css("animation","opacityFade 0.5s forwards");            
268            $( ".valuesCar .owl-item.active:last" ).css("animation","opacityFadeR 0.5s forwards");
269        }, 100);        
270    });
271    $('.valuesCar .owl-nav button').on('click',function(){
272        valuesCar.trigger('stop.owl.autoplay');
273        var carousel = $('.owl-carousel.valuesCar').data('owl.carousel');
274        carousel.settings.autoplay = false; //don't know if both are necessary
275        carousel.options.autoplay = false;
276        $('.owl-carousel.valuesCar').trigger('refresh.owl.carousel');
277    });
278
279    var years50;
280    if(!jQuery("body").hasClass('single-case-study')){
281        years50 = $('.owl-carousel.years50').owlCarousel({
282            loop:false,
283            margin:30,
284            dots: true,
285            nav:true,
286            navSpeed: 800,
287            autoplay:false,
288            navText : ['<img src="/wp-content/uploads/Path202.svg" alt="/">', '<img src="/wp-content/uploads/Path202.svg" alt="/">'],
289            responsive : {
290                0 : {
291                    items: 1,
292                    margin:0,
293                },
294                992: {
295                    items: 2
296                },
297                1200: {
298                    items: 3
299                },
300                1360 : {
301                    items: 4
302                },
303                1700 : {
304                    stagePadding: 0,
305                    items: 4
306                }
307            }
308        });
309    }else{
310        years50 = $('.owl-carousel.years50').owlCarousel({
311        loop:true,
312        margin:30,
313        dots: true,
314        nav:true,
315        navSpeed: 800,
316        autoplay:false,
317        navText : ['<img src="/wp-content/uploads/Path202.svg" alt="/">', '<img src="/wp-content/uploads/Path202.svg" alt="/">'],
318        responsive : {
319            0 : {
320                items: 1,
321                margin:0,
322            },
323            992: {
324                items: 2
325            },
326            1200: {
327                items: 3
328            },
329            1360 : {
330                items: 2.5
331            },
332            1700 : {
333                stagePadding: 0,
334                items: 2.5
335            }
336        }
337        });
338    }
339    years50.on('change.owl.carousel', function(e) {
340        setTimeout(function(){          
341            $( ".years50 .owl-item.active a" ).css("animation","whitetransparent 0.5s forwards");          
342            $( ".years50 .owl-item.active:last a" ).css("animation","transparentwhite 0.5s forwards");
343        }, 100);        
344    });
345
346    var rt = ($(window).width() - ($('.carouselMargin').offset().left + $('.carouselMargin').outerWidth()));
347    lt = rt-15;   
348    rt=rt+15;
349    rto = rt+15;
350    //$('.officesCar').css('padding-left',rt+'px');
351    $('.officesCar .owl-nav').css('margin-right',rt+'px');
352    $('.leftMenu > div').css('left',rt+'px');
353    $('.homeSlider').css('left',rt+'px');
354    if ($(window).width() > 1199) {
355        $('.officesCar .owl-item:first-child').css('margin-left',rt+'px');
356        $('.years50 .owl-item:first-child').css('margin-left',rto+'px'); 
357    }
358    $('.moveLeft').css('margin-left',rt+'px');
359    //$('.years50').css('padding-left',lt+'px');    
360    $('.years50').css('left','-'+rto+'px');
361    $('.years50 .owl-nav').css('margin-right',rt+'px');    
362    if ($(window).width() > 1920) {
363        //$('.page-id-8 .LcirclePage').css('background-position-x','calc('+rt+'px - 400px)');
364        //$('.ABackground').css('left','calc('+rt+'px)');        
365        $('.section-what-we-do svg').css('left','calc('+rt+'px - 650px)')
366    }
367    $('.vp-center').css('justify-content','flex-end');
368    $('.outer-menu .checkbox-toggle').click(function(){
369            $('.header').toggleClass('expandedMenu');   
370            $('.header').toggleClass('slideFadeOut');
371            //$(".leftMenu").toggleClass("fadeInMenuOp");
372            $(".leftMenu > div > span").toggleClass("wow"); 
373            $(".leftMenu > div > span").toggleClass("animate__animated"); 
374            $(".leftMenu > div > span").toggleClass("animate__fadeIn"); 
375            $(".leftMenu > div > span").toggleClass("animated"); 
376            $(".leftMenu > div > span").toggleClass("is-inview");
377            $(".rightMenu > div").toggleClass("wow"); 
378            $(".rightMenu > div").toggleClass("animate__animated"); 
379            $(".rightMenu > div").toggleClass("animate__fadeIn"); 
380            $(".rightMenu > div").toggleClass("animated"); 
381            $(".rightMenu > div").toggleClass("is-inview"); 
382            $('.outer-menu').toggleClass('circularMenu');
383        //var counter = 1;
384        var reverse = 7;
385        $(".menu-menu-1-container li").each(function(){
386            var delays = reverse / 10;
387            $(this).css('animation-delay',delays+'s');
388            //counter++;
389            reverse--;
390        });
391        $(".menu-menu-1-container li").toggleClass("wow"); 
392        $(".menu-menu-1-container li").toggleClass("animate__animated"); 
393        $(".menu-menu-1-container li").toggleClass("animate__fadeIn"); 
394        $(".menu-menu-1-container li").toggleClass("animated"); 
395        $(".menu-menu-1-container li").toggleClass("is-inview");
396        /*$('.menu-menu-1-container a').css('opacity','0');   
397        $('.menu-menu-1-container a').css('visibility','hidden');
398        $('.menu-menu-1-container a').css('transform','translate(0px)');    
399        if ($(this).is(':checked')) {
400            
401            let revealText = document.querySelectorAll(".reveal-text-menu");
402            let revealLines = revealText.forEach((element) => {
403                const lines = element.querySelectorAll(".menu-item");
404                let tlh = gsap.timeline({
405                    scrollTrigger: {
406                        trigger: element,
407                        toggleActions: "restart none none reset",
408                        scroller: ".my-scrollbar",
409                    }
410                });
411                tlh.set(element, { autoAlpha: 1 });
412                tlh.from(lines, 1, {
413                    yPercent: 300,
414                    ease: Power3.out,
415                    stagger: 0.15,
416                    delay: 0.1
417                });         
418            });
419            setTimeout(function(){   
420                $('.menu-menu-1-container a').css('opacity','1');   
421                $('.menu-menu-1-container a').css('visibility','visible');
422            }, 300);
423        }*/
424    });
425    
426    $(".section-news-insights .niPhoto").hover(function() {
427        $(this).siblings("h4").addClass("hovered");
428    }, function() {
429        $(this).siblings("h4").removeClass("hovered");
430    });
431    $(".section-news-insights h4").hover(function() {
432        $(this).siblings(".niPhoto").addClass("hovered");
433    }, function() {
434        $(this).siblings(".niPhoto").removeClass("hovered");
435    });
436
437    var svgDimensions = $('.baseWhite').height();
438    var halfD = svgDimensions/2;
439    $('.baseWhite').attr('viewBox','0 '+halfD+' '+svgDimensions+' '+svgDimensions);
440    $('.baseWhite').css('left','-'+svgDimensions+'px');
441    $('.baseOrange').attr('viewBox','0 -'+halfD+' '+svgDimensions+' '+svgDimensions);
442    $('.baseOrange').css('left','0');
443    if ($("body").hasClass("single-location") || $("body").hasClass("page-id-24562")) {
444        $('.baseWhite').attr('viewBox','');
445        $('.baseWhite').css('left','-'+halfD+'px');
446    }
447    $( window ).resize(function() {
448      var svgDimensions = $('.baseWhite').height();
449        var halfD = svgDimensions/2;
450        $('.baseWhite').attr('viewBox','0 '+halfD+' '+svgDimensions+' '+svgDimensions);
451        $('.baseWhite').css('left','-'+svgDimensions+'px');
452        $('.baseOrange').attr('viewBox','0 -'+halfD+' '+svgDimensions+' '+svgDimensions);
453        $('.baseOrange').css('left','0');
454        if ($("body").hasClass("single-location") || $("body").hasClass("page-id-24562")) {
455            $('.baseWhite').attr('viewBox','');
456            $('.baseWhite').css('left','-'+halfD+'px');
457        }
458    });
459    if ($("body").hasClass("single-case-study")) {
460        $('.baseOrange').attr('viewBox','0 '+halfD+' '+svgDimensions+' '+svgDimensions);
461        $('.baseOrange').css('left','-'+svgDimensions+'px');
462        $('.baseWhite').attr('viewBox','0 -'+halfD+' '+svgDimensions+' '+svgDimensions);
463        $('.baseWhite').css('left','0');
464        $( window ).resize(function() {
465            $('.baseOrange').attr('viewBox','0 '+halfD+' '+svgDimensions+' '+svgDimensions);
466            $('.baseOrange').css('left','-'+svgDimensions+'px');
467            $('.baseWhite').attr('viewBox','0 -'+halfD+' '+svgDimensions+' '+svgDimensions);
468            $('.baseWhite').css('left','0');
469        });
470        $('.linkMe').each(function(){
471            var link = $(this).text();
472            $(this).attr('href', 'https://'+link);
473            $(this).attr('target', '_BLANK');
474        });
475    }
476    
477    //Case Studies Archive
478    if($('.wpv-filter-next-link').prop("tagName") == 'SPAN'){
479        $('.loadNavA').css('pointer-events','none');
480        $('.loadNavA').css('opacity','0.5');
481        $('.loadNavA').css('display','none');
482        $('.loadButton').css('display','none');        
483    }
484    $('.loadNavA').click(function(){
485        $('.wpv-filter-next-link').trigger('click');
486        if($('.wpv-filter-next-link').prop("tagName") == 'SPAN'){
487            $('.loadNavA').css('pointer-events','none');
488            $('.loadNavA').css('opacity','0.5');
489            $('.loadNavA').css('display','none');
490            $('.loadButton').css('display','none');  
491        }
492    });
493    if ($("body").hasClass("page-id-252")) {
494        $('.caseSearch button').click(function(){
495            $('.opportunities').fadeOut();
496            setTimeout(function(){          
497                $('.opportunities').fadeIn();
498            }, 500); 
499        });
500    }
501    $('.page-id-3 #section-what-we-do').attr('data-scroll','');
502    $('.page-id-3 #section-what-we-do').css('animation-delay','750ms');
503    
504
505    //Job Inquiry
506    if ($("body").hasClass("single-opportunity")) {
507        jQuery('#cv').change(function(){
508            var filename = jQuery(this).val();
509            var lastIndex = filename.lastIndexOf("\\");
510            //console.log(lastIndex);
511            if (lastIndex >= 0) {
512                filename = filename.substring(lastIndex + 1);
513            }
514            jQuery('#filenameLabel').val(filename);
515        });
516        jQuery('#jobposition').val(jQuery('#jobtitle').text());
517        window.onload = function() {
518            var $recaptcha = document.querySelector('#g-recaptcha-response');
519
520            if($recaptcha) {
521                $recaptcha.setAttribute("required", "required");
522            }
523        };
524    }
525    if ($("body").hasClass("page-id-8")) {
526        $('.section-clients .owl-dots').addClass('wow');
527        $('.section-clients .owl-dots').addClass('animate__animated');
528        $('.section-clients .owl-dots').addClass('animate__fadeIn');
529        $('.section-clients .owl-dots').addClass('animated');
530        $('.section-clients .owl-dots').attr('data-scroll','');
531        $("#onepageSlider .bulletLink").hover(function() {
532            $("#onepageSlider .bulletLink img").css('transform','scale(1.5)');
533        }, function() {
534            $("#onepageSlider .bulletLink img").css('transform','scale(1)');
535        });
536        $("#onepageSlider .bulletLink a").hover(function() {
537            $("#onepageSlider .bulletLink img").css('transform','scale(1.5)');
538        }, function() {
539            $("#onepageSlider .bulletLink img").css('transform','scale(1)');
540        });
541        if ($(window).width() < 1025) {
542            $('.section-our-services .col-md-8 h4').addClass('wow');
543            $('.section-our-services .col-md-8 h4').addClass('animate__animated');
544            $('.section-our-services .col-md-8 h4').addClass('animate__fadeIn');
545            $('.section-our-services .col-md-8 h4').addClass('animated');
546            $('.section-our-services .col-md-8 ul').addClass('wow');
547            $('.section-our-services .col-md-8 ul').addClass('animate__animated');
548            $('.section-our-services .col-md-8 ul').addClass('animate__fadeIn');
549            $('.section-our-services .col-md-8 ul').addClass('animated');
550            $('.normalLogo img').attr('src','/wp-content/uploads/ActionLogoWhite.svg');
551            $('.header').removeAttr( "data-scroll-sticky" );
552            $('.header').removeAttr( "data-scroll-target" );
553            $('.outer-menu').attr( "data-scroll-sticky","");
554            $('.outer-menu').attr( "data-scroll-target","#my-scrollbar" );
555            $('.menuHoverExpand').attr( "data-scroll-sticky","");
556            $('.menuHoverExpand').attr( "data-scroll-target","#my-scrollbar" );
557        }
558    }
559    if ($(window).width() < 1025) {
560            $('.page-id-134 .section-our-services .col-md-8 div').addClass('wow');
561            $('.page-id-134 .section-our-services .col-md-8 div').addClass('animate__animated');
562            $('.page-id-134 .section-our-services .col-md-8 div').addClass('animate__fadeIn');
563            $('.page-id-134 .section-our-services .col-md-8 div').addClass('animated');
564
565            $('.page-id-134 .section-our-services .col-md-8 h4').addClass('wow');
566            $('.page-id-134 .section-our-services .col-md-8 h4').addClass('animate__animated');
567            $('.page-id-134 .section-our-services .col-md-8 h4').addClass('animate__fadeIn');
568            $('.page-id-134 .section-our-services .col-md-8 h4').addClass('animated');
569    }
570
571     
572
573    if ($("body").hasClass("single-location") || $("body").hasClass("single-case-study") || $("body").hasClass("single-post") || $("body").hasClass("single-opportunity")) {
574        setTimeout(function(){          
575            $('.backLink').removeClass('wow');
576            $('.backLink').removeClass('animate__animated');
577            $('.backLink').removeClass('animate__fadeIn');
578            $('.backLink').removeClass('animated');
579        }, 2000);
580    }
581
582    if ($("body").hasClass("page-id-353")) {
583        $('.featPosts .col-lg-4:nth-child(3n+4)').attr('data-scroll-speed','0.1');
584        $('.featPosts .col-lg-4:nth-child(3n+3)').attr('data-scroll-speed','0.25');
585        $('.featPosts .col-lg-4:nth-child(3n+2)').attr('data-scroll-speed','-0.5');
586    }
587
588    //Contact Us
589    if ($("body").hasClass("page-id-254")) {
590        var smallWidth = $('.smallglobe').width();
591        var bigWidth = $('.bigglobe').width();
592        var smallDash = smallWidth*10;
593        var bigDash = bigWidth*10;
594        $('.smallglobe').css('height',smallWidth);
595        $('.smallglobe circle').css('stroke-dasharray',smallDash+' '+smallDash);
596        $('.smallglobe circle').css('stroke-dashoffset',smallDash);
597        $('.bigglobe').css('height',bigWidth);
598        $('.bigglobe circle').css('stroke-dasharray',bigDash+' '+bigDash);
599        $('.bigglobe circle').css('stroke-dashoffset',bigDash);
600        var globewidth = $('.globeContact img').width()+70
601        $('.grayShadow').width(globewidth);
602        $('.grayShadow').height(globewidth);
603    }
604    setTimeout(function(){          
605        $('.menuHoverExpand').removeClass("wow");
606        $('.menuHoverExpand').removeClass("animated"); 
607        $('.menuHoverExpand').removeClass("animate__animated"); 
608        $('.menuHoverExpand').removeClass("animate__fadeInDown");  
609        $('.menuHoverExpand').css({ 'animation-delay' : '', 'opacity' : '' });  
610    }, 2000);  
611    $(".outer-menu .checkbox-toggle").hover(function() {
612        $('.menuHoverExpand').addClass("scale12");
613    }, function() {
614        $('.menuHoverExpand').removeClass("scale12");
615    });
616
617    /*if ($("body").hasClass("page-id-100")) {
618        $( ".RcirclePage canvas" ).animate({
619            opacity: 1
620        }, 2000, function() {}); 
621        setTimeout(function(){    
622            $( ".RcirclePage canvas" ).animate({
623                opacity: 0
624            }, 2000, function() {
625            // Animation complete.
626            });
627        }, 2000);  
628    }*/
629
630    //Responsive
631    if ($(window).width() < 992) {
632        $('.menuIMG img').attr('src','/wp-content/uploads/A-symbol-on-color.svg');
633        $('.mapSection').prepend($('.mapInfo .show-only-on-small'));
634    }
635    if ($(window).width() < 1025) {
636        if (!($("body").hasClass("page-id-8")) && !($("body").hasClass("page-id-100"))) {
637            $('.LcirclePage').prepend($('.RcirclePage'));
638        }else if($("body").hasClass("page-id-100")){
639            $('.firstHero .LcirclePage').prepend($('.firstHero .RcirclePage'));
640        }
641    }
642    $('.wpt-form-item-checkbox ').append('<span class="checkmark"></span>');
643    $('.caseSearch select').change(function(){
644    });
645    /*$('.caseSearch .select-selected').on('selectchange', function() {
646          $('.show-on-normal form:first-child .caseSearch > button').click();   
647    });*/
648    if($("body").hasClass("page-id-353")){
649        if (jQuery(window).width() > 1199) {
650            jQuery('.show-on-normal form:first-child .caseSearch > select').each(function() {
651                var name = jQuery(this).attr('name');
652                var texts = '';
653                var selected = '';
654                jQuery(this).children().each(function( key, value ) {
655                    texts=texts+'<div value="'+value.value+'">'+value.text+'</div>';
656                    if(jQuery(this).attr('selected')=='selected'){
657                        selected = value.text;
658                    }
659                });
660                jQuery('.caseSearch').append('<div class="select-selected" target=".select'+name+'">'+selected+'</div>');
661                jQuery('.caseSearch').append('<div class="select-items select-hide select'+name+'" target="'+name+'">'+texts+'</div>');
662            });
663            jQuery('.select-selected').click(function(e){
664                e.stopPropagation();
665                var target = jQuery(this).attr('target');
666                jQuery('.select-items').removeClass('select-arrow-active');
667                jQuery('.select-items').addClass('select-hide');
668                jQuery(target).removeClass('select-hide');
669                jQuery(target).addClass('select-arrow-active');
670            });
671            jQuery('.select-items div').click(function(e){
672                e.stopPropagation();
673                var target = '.show-on-normal form:first-child .caseSearch > [name="'+jQuery(this).parent().attr('target')+'"]';
674                jQuery(target).val(jQuery(this).attr('value'));    
675                jQuery('.show-on-normal form:first-child .caseSearch > .js-wpv-submit-trigger').click();    
676            });
677            jQuery(document).click(function() {
678                jQuery('.select-items').removeClass('select-arrow-active');
679                jQuery('.select-items').addClass('select-hide');
680            });
681        }else{
682            jQuery('.show-on-small form:first-child .caseSearch > select').each(function() {
683                var name = jQuery(this).attr('name');
684                var texts = '';
685                var selected = '';
686                jQuery(this).children().each(function( key, value ) {
687                    texts=texts+'<div value="'+value.value+'">'+value.text+'</div>';
688                    if(jQuery(this).attr('selected')=='selected'){
689                        selected = value.text;
690                    }
691                });
692                jQuery('.caseSearch').append('<div class="select-selected" target=".select'+name+'">'+selected+'</div>');
693                jQuery('.caseSearch').append('<div class="select-items select-hide select'+name+'" target="'+name+'">'+texts+'</div>');
694            });
695            jQuery('.select-selected').click(function(e){
696                e.stopPropagation();
697                var target = jQuery(this).attr('target');
698                jQuery('.select-items').removeClass('select-arrow-active');
699                jQuery('.select-items').addClass('select-hide');
700                jQuery(target).removeClass('select-hide');
701                jQuery(target).addClass('select-arrow-active');
702            });
703            jQuery('.select-items div').click(function(e){
704                e.stopPropagation();
705                var target = '.show-on-small form:first-child .caseSearch > [name="'+jQuery(this).parent().attr('target')+'"]';
706                jQuery(target).val(jQuery(this).attr('value'));    
707                jQuery('.show-on-small form:first-child .caseSearch > .js-wpv-submit-trigger').click();    
708            });
709            jQuery(document).click(function() {
710                jQuery('.select-items').removeClass('select-arrow-active');
711                jQuery('.select-items').addClass('select-hide');
712            });
713        }
714    }
715    $( ".subscribeSubmit" ).click(function( event ) {        
716        if ($('.subPrivacy input').is(':checked')) {
717            $('#mc_embed_signup_scroll .clear input').trigger('click');
718        }else{
719            event.preventDefault();
720            $('.subPrivacy .checkmark').css('border','1px solid red');
721        }
722    });
723    $( "#mc_embed_signup_scroll .clear input" ).click(function( event ) {
724        if (!$('.subPrivacy input').is(':checked')) {
725            event.preventDefault();
726            $('.subPrivacy .checkmark').css('border','1px solid red');
727        }
728    });
729    $('.subPrivacy input').click(function(){
730        $('.subPrivacy .checkmark').css('border','1px solid #c0c0c0');
731    });
732    if (jQuery(window).width() <= 1199) {
733        jQuery('.page-id-353 .section-what-we-do .show-on-normal').remove();
734    }
735    if(jQuery('body').hasClass('single-location')){
736        if (jQuery(window).width() < 992) {
737            jQuery('.tourismResearch:not(.tourismResearchBlue) .col-md-6').addClass('container');
738            jQuery('.tourismResearch:not(.tourismResearchBlue) .container').removeClass('offset-md-1');
739            jQuery('.tourismResearch:not(.tourismResearchBlue) .container').removeClass('col-md-6');
740            jQuery('.tourismResearch:not(.tourismResearchBlue) .container').removeClass('nopadding');
741            jQuery('.tourismResearch:not(.tourismResearchBlue)').append(jQuery('.tourismResearch .col-md-5'));
742        }    
743        window.addEventListener("resize", resizeSpaces);
744
745        function resizeSpaces() {
746            if (jQuery(window).width() < 992) {
747                jQuery('.tourismResearch:not(.tourismResearchBlue) .col-md-6').addClass('container');
748                jQuery('.tourismResearch:not(.tourismResearchBlue) .container').removeClass('offset-md-1');
749                jQuery('.tourismResearch:not(.tourismResearchBlue) .container').removeClass('col-md-6');
750                jQuery('.tourismResearch:not(.tourismResearchBlue) .container').removeClass('nopadding');
751                jQuery('.tourismResearch:not(.tourismResearchBlue)').append(jQuery('.tourismResearch .col-md-5'));
752            }else{
753                jQuery('.tourismResearch:not(.tourismResearchBlue) .container').addClass('col-md-6');
754                jQuery('.tourismResearch:not(.tourismResearchBlue) .container').addClass('offset-md-1');
755                jQuery('.tourismResearch:not(.tourismResearchBlue) .col-md-6').removeClass('container');
756                jQuery('.tourismResearch:not(.tourismResearchBlue) .col-md-6').addClass('nopadding');
757                jQuery('.tourismResearch:not(.tourismResearchBlue)').prepend(jQuery('.tourismResearch .col-md-5'));
758            }
759        }
760    }
761});

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.