1var MAIN=MAIN||{};!function($){"use strict";(MAIN={init:function(){this.pageSettings.init(),this.basicElements.init()},onResize:function(){this.pageSettings.onResize(),this.basicElements.onResize()},onScroll:function(){this.pageSettings.onScroll()}}).pageSettings={init:function(){this.mainMenu(),this.responsiveMenu(),this.elementsAnimation(),this.stickyHeaderSettings(),this.backToTop(),this.toggleBackToTop(),this.onePage()},onResize:function(){this.stickyHeaderSettings()},onScroll:function(){this.shrinkHeader(),this.toggleBackToTop()},mainMenu:function(){$(".grve-header .grve-menu").superfish({delay:1e3,animation:{opacity:"show",height:"show"},speed:"fast",autoArrows:!1,hoverClass:"grve-hover"})},responsiveMenu:function(){var $btn=$(".grve-header .grve-menu-btn"),$area=$("#grve-responsive-area"),$close=$area.find(".grve-close-btn"),$menu=$area.find(".grve-menu"),timeline=gsap.timeline({paused:!0,onStart:function(){$("html").css("overflow","hidden"),$body.addClass("grve-menu-open")}});timeline.set($area,{display:"block"}),timeline.fromTo($area,{x:"100%"},{duration:1,x:0,ease:"power3.inOut",onReverseComplete:function(){$("html").css("overflow",""),$body.removeClass("grve-menu-open")}}),$btn.on("click",function(event){event.preventDefault(),0==timeline.progress()?timeline.play():timeline.reverse()}),$close.on("click",function(event){event.preventDefault(),timeline.reverse()}),MAIN.pageSettings.toggleMenu($menu)},toggleMenu:function($menu){$menu.find(".grve-menu-arrow").on("click",function(){var $that=$(this),$submenu=$that.parent().parent().find("> .grve-submenu");$that.toggleClass("grve-open"),$submenu.slideToggle()})},elementsAnimation:function(){$(".grve-animation-item").each(function(){var $that=$(this),delay=null!==$that.data("delay")?$that.data("delay"):0;$that.is(":visible")&&!$that.hasClass("grve-animating")&&$that.appear(function(){setTimeout(function(){$that.addClass("grve-animating")},delay)},{accX:0,accY:-150})}),$(".grve-animation-multiple-items").each(function(){var $that=$(this),delay=null!==$that.data("delay")?$that.data("delay"):0;$that.find(".grve-anim-item").each(function(i,n){$(this).css({"transition-delay":150*i+"ms"})}),$that.is(":visible")&&!$that.hasClass("grve-animating")&&$that.appear(function(){setTimeout(function(){$that.addClass("grve-animating")},delay)},{accX:0,accY:-150})})},stickyHeaderSettings:function(){if($stickyHeader.hasClass("grve-header-skin-default")){var headerH=$window.width()>tabletPortrait?$stickyHeader.outerHeight():0;0===headerH?$stickyHeader.removeClass("grve-is-sticky").parent().css({"padding-bottom":""}):$stickyHeader.addClass("grve-is-sticky").parent().css({"padding-bottom":headerH})}},shrinkHeader:function(){$window.scrollTop()>2*$stickyHeader.outerHeight()?$stickyHeader.addClass("grve-shrink"):$stickyHeader.removeClass("grve-shrink")},backToTop:function(){$("#grve-back-to-top").on("click",function(){$("html, body").animate({scrollTop:0},600)})},toggleBackToTop:function(){var $btn=$("#grve-back-to-top"),scroll=$window.scrollTop();$btn.length&&(scroll>500?$btn.addClass("grve-visible"):$btn.removeClass("grve-visible"))},onePage:function(){$('#grve-responsive-area a[href*="#"]:not( [href="#"] )').on("click",function(e){var target=$(this.hash);this.hash;target.length&&setTimeout(function(){$("body").hasClass("grve-menu-open")&&$("#grve-responsive-area .grve-close-btn").trigger("click")},1e3)}),$('a[href*="#"]:not( [href="#"] )').on("click",function(e){var target=$(this.hash);this.hash;target.length&&MAIN.pageSettings.smoothScrollTo(target)})},smoothScrollTo:function(target,callback){var headerH=$stickyHeader.length&&$window.width()>tabletPortrait?$stickyHeader.outerHeight():0;$("html,body").animate({scrollTop:target.offset().top-headerH},{complete:function(animation,progress,msRemaining){callback&&"function"==typeof callback&&callback()}},1e3,function(){0})},smoothScrollToDirect:function(target){var headerH=$stickyHeader.length&&$window.width()>tabletPortrait?$stickyHeader.outerHeight():0;$("html,body").scrollTop(target.offset().top-headerH)}},MAIN.basicElements={init:function(){this.counter()},onResize:function(){},counter:function(){if("undefined"==typeof CountUp&&!$().CountUp)return console.log("CountUp not Defined."),!0;$(".grve-counter-item").each(function(i){var $that=$(this),$number=$that.find(".grve-number"),thousandsSeparator=""!==$number.attr("data-thousands-separator")?$number.attr("data-thousands-separator"):",",options={useEasing:!0,useGrouping:!0,separator:!0!==$number.attr("data-thousands-separator-vis")?thous
1andsSeparator:"",decimal:""!==$number.attr("data-decimal-separator")?$number.attr("data-decimal-separator"):"."};$number.attr("id","grve-counter-"+i);var counter=new CountUp($number.attr("id"),0,$number.attr("data-end-val"),$number.attr("data-decimal-points"),2.5,options);$that.appear(function(){counter.start()})})}},MAIN.helpers={isMobile:{Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return this.Android()||this.BlackBerry()||this.iOS()||this.Opera()||this.Windows()}}};var resizeTimeout,tabletPortrait=1023,$window=($(document),$(window)),$body=($("html"),$("body")),$stickyHeader=$(".grve-header.grve-sticky-header");$(function(){MAIN.init(),$window.on("scroll.grve_window_scroll",function(){MAIN.onScroll()}).trigger("scroll.grve_window_scroll")}),$window.on("resize",function(){window.clearTimeout(resizeTimeout),resizeTimeout=window.setTimeout(function(){MAIN.onResize(),$window.trigger("grve_window_resize")},300)}),$window.on("load",function(){window.location.hash&&setTimeout(function(){var target=$(window.location.hash);target.length&&MAIN.pageSettings.smoothScrollToDirect(target)},0)})}(jQuery); 2//# sourceURL=https://24922599.fs1.hubspotusercontent-eu1.net/hubfs/24922599/hub_generated/template_assets/1/100626726589/1778678304694/template_app.js
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.