var mod_pagespeed_b$6uKFdXCh = "var $jscomp$this=this;(function(v,p){\"function\"===typeof define&&define.amd?define([],p):\"object\"===typeof module&&module.exports?module.exports=p():v.anime=p()})(this,function(){function v(a){if(!g.col(a))try{return document.querySelectorAll(a)}catch(b){}}function p(a){return a.reduce(function(a,d){return a.concat(g.arr(d)?p(d):d)},[])}function w(a){if(g.arr(a))return a;g.str(a)&&(a=v(a)||a);return a instanceof NodeList||a instanceof HTMLCollection?[].slice.call(a):[a]}function F(a,b){return a.some(function(a){return a===b})}function A(a){var b={},d;for(d in a)b[d]=a[d];return b}function G(a,b){var d=A(a),c;for(c in a)d[c]=b.hasOwnProperty(c)?b[c]:a[c];return d}function B(a,b){var d=A(a),c;for(c in b)d[c]=g.und(a[c])?b[c]:a[c];return d}function S(a){a=a.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,function(a,b,d,h){return b+b+d+d+h+h});var b=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(a);a=parseInt(b[1],16);var d=parseInt(b[2],16),b=parseInt(b[3],16);return\"rgb(\"+a+\",\"+d+\",\"+b+\")\"}function T(a){function b(a,b,c){0>c&&(c+=1);1c?b:c<2/3?a+(b-a)*(2/3-c)*6:a}var d=/hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(a);a=parseInt(d[1])/360;var c=parseInt(d[2])/100,d=parseInt(d[3])/100;if(0==c)c=d=a=d;else{var e=.5>d?d*(1+c):d+c-d*c,l=2*d-e,c=b(l,e,a+1/3),d=b(l,e,a);a=b(l,e,a-1/3)}return\"rgb(\"+255*c+\",\"+255*d+\",\"+255*a+\")\"}function x(a){if(a=/([\\+\\-]?[0-9#\\.]+)(%|px|pt|em|rem|in|cm|mm|ex|pc|vw|vh|deg|rad|turn)?/.exec(a))return a[2]}function U(a){if(-1=f.currentTime)for(var u=0;ul&&r=n&&(f.began=!0,e(\"begin\")),e(\"run\")):(r<=l&&0!==P&&(c(0),q&&g()),r>=h&&P!==h&&(c(h),q||g()));a>=h&&(f.remaining?(t=m,\"alternate\"===f.direction&&(f.reversed=!f.reversed)):(f.pause(),\"Promise\"in window&&(Q(),R=b()),f.completed||(f.completed=!0,e(\"complete\"))),k=0);e(\"update\")}a=void 0===a?{}:a;var m,t,k=0,Q=null,R=b(),f=fa(a);f.reset=function(){var a=f.direction,b=f.loop;f.currentTime=0;f.progress=0;f.paused=!0;f.began=!1;f.completed=!1;f.reversed=\"reverse\"===a;f.remaining=\"alternate\"===a&&1===b?2:b;for(a=f.children.length;a--;)b=f.children[a],b.seek(b.offset),b.reset()};f.tick=function(a){m=a;t||(t=m);h((k+m-t)*n.speed)};f.seek=function(a){h(d(a))};f.pause=function(){var a=q.indexOf(f);-1=b&&0<=c&&1>=c){var g=new Float32Array(11);if(b!==d||c!==e)for(var h=0;11>h;++h)g[h]=a(.1*h,b,c);return function(h){if(b===d&&c===e)return h;if(0===h)return 0;if(1===h)return 1;for(var m=0,k=1;10!==k&&g[k]<=h;++k)m+=.1;--k;var k=m+(h-g[k])/(g[k+1]-g[k])*.1,l=3*(1-3*c+3*b)*k*k+2*(3*c-6*b)*k+3*b;if(.001<=l){for(m=0;4>m;++m){l=3*(1-3*c+3*b)*k*k+2*(3*c-6*b)*k+3*b;if(0===l)break;var n=a(k,b,c)-h,k=k-n/l}h=k}else if(0===l)h=k;else{var k=m,m=m+.1,f=0;do n=k+(m-k)/2,l=a(n,b,c)-h,0++f);h=n}return a(h,d,e)}}}}(),N=function(){function a(a,b){return 0===a||1===a?a:-Math.pow(2,10*(a-1))*Math.sin(2*(a-1-b/(2*Math.PI)*Math.asin(1))*Math.PI/b)}var b=\"Quad Cubic Quart Quint Sine Expo Circ Back Elastic\".split(\" \"),d={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],a],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(b,c){return 1-a(1-b,c)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(b,c){return.5>b?a(2*b,c)/2:1-a(-2*b+2,c)/2}]},c={linear:y(.25,.25,.75,.75)},e={},l;for(l in d)e.type=l,d[e.type].forEach(function(a){return function(d,e){c[\"ease\"+a.type+b[e]]=g.fnc(d)?d:y.apply($jscomp$this,d)}}(e)),e={type:e.type};return c}(),ia={css:function(a,b,d){return a.style[b]=d},attribute:function(a,b,d){return a.setAttribute(b,d)},object:function(a,b,d){return a[b]=d},transform:function(a,b,d,c,e){c[e]||(c[e]=[]);c[e].push(b+\"(\"+d+\")\")}},q=[],z=0,ja=function(){function a(){z=requestAnimationFrame(b)}function b(b){var c=q.length;if(c){for(var d=0;dc&&(b.duration=a.duration);a.began=!0;b.children.push(a)});b.reset();b.seek(0);b.autoplay&&b.restart();return b};return b};n.random=function(a,b){return Math.floor(Math.random()*(b-a+1))+a};return n});"; var mod_pagespeed_71GyraBcpa = "jQuery(document).ready(function($){var animationDelay=2500,barAnimationDelay=3800,barWaiting=barAnimationDelay-3000,lettersDelay=50,typeLettersDelay=150,selectionDuration=500,typeAnimationDelay=selectionDuration+800,revealDuration=600,revealAnimationDelay=1500;initHeadline();function initHeadline(){singleLetters($('.animationtext.letters').find('.item-text'));animateHeadline($('.animationtext'));}function singleLetters($words){$words.each(function(){var word=$(this),letters=word.text().split(''),selected=word.hasClass('is-visible');for(i in letters){if(word.parents('.rotate-2').length>0)letters[i]=''+letters[i]+'';letters[i]=(selected)?''+letters[i]+'':''+letters[i]+'';}var newLetters=letters.join('');word.html(newLetters).css('opacity',1);});}function animateHeadline($headlines){var duration=animationDelay;$headlines.each(function(){var headline=$(this);if(headline.hasClass('loading-bar')){duration=barAnimationDelay;setTimeout(function(){headline.find('.cd-words-wrapper').addClass('is-loading')},barWaiting);}else if(headline.hasClass('clip')){var spanWrapper=headline.find('.cd-words-wrapper'),newWidth=spanWrapper.width()+10\nspanWrapper.css('width',newWidth);}else if(!headline.hasClass('type')){var words=headline.find('.cd-words-wrapper .item-text'),width=0;words.each(function(){var wordWidth=$(this).width();if(wordWidth>width)width=wordWidth;});headline.find('.cd-words-wrapper').css('width',width);};setTimeout(function(){hideWord(headline.find('.is-visible').eq(0))},duration);});}function hideWord($word){var nextWord=takeNext($word);if($word.parents('.animationtext').hasClass('type')){var parentSpan=$word.parent('.cd-words-wrapper');parentSpan.addClass('selected').removeClass('waiting');setTimeout(function(){parentSpan.removeClass('selected');$word.removeClass('is-visible').addClass('is-hidden').children('i').removeClass('in').addClass('out');},selectionDuration);setTimeout(function(){showWord(nextWord,typeLettersDelay)},typeAnimationDelay);}else if($word.parents('.animationtext').hasClass('letters')){var bool=($word.children('i').length>=nextWord.children('i').length)?true:false;hideLetter($word.find('i').eq(0),$word,bool,lettersDelay);showLetter(nextWord.find('i').eq(0),nextWord,bool,lettersDelay);}else if($word.parents('.animationtext').hasClass('clip')){$word.parents('.cd-words-wrapper').animate({width:'2px'},revealDuration,function(){switchWord($word,nextWord);showWord(nextWord);});}else if($word.parents('.animationtext').hasClass('loading-bar')){$word.parents('.cd-words-wrapper').removeClass('is-loading');switchWord($word,nextWord);setTimeout(function(){hideWord(nextWord)},barAnimationDelay);setTimeout(function(){$word.parents('.cd-words-wrapper').addClass('is-loading')},barWaiting);}else{switchWord($word,nextWord);setTimeout(function(){hideWord(nextWord)},animationDelay);}}function showWord($word,$duration){if($word.parents('.animationtext').hasClass('type')){showLetter($word.find('i').eq(0),$word,false,$duration);$word.addClass('is-visible').removeClass('is-hidden');}else if($word.parents('.animationtext').hasClass('clip')){$word.parents('.cd-words-wrapper').animate({'width':$word.width()+10},revealDuration,function(){setTimeout(function(){hideWord($word)},revealAnimationDelay);});}}function hideLetter($letter,$word,$bool,$duration){$letter.removeClass('in').addClass('out');if(!$letter.is(':last-child')){setTimeout(function(){hideLetter($letter.next(),$word,$bool,$duration);},$duration);}else if($bool){setTimeout(function(){hideWord(takeNext($word))},animationDelay);}if($letter.is(':last-child')&&$('html').hasClass('no-csstransitions')){var nextWord=takeNext($word);switchWord($word,nextWord);}}function showLetter($letter,$word,$bool,$duration){$letter.addClass('in').removeClass('out');if(!$letter.is(':last-child')){setTimeout(function(){showLetter($letter.next(),$word,$bool,$duration);},$duration);}else{if($word.parents('.animationtext').hasClass('type')){setTimeout(function(){$word.parents('.cd-words-wrapper').addClass('waiting');},200);}if(!$bool){setTimeout(function(){hideWord($word)},animationDelay)}}}function takeNext($word){return(!$word.is(':last-child'))?$word.next():$word.parent().children().eq(0);}function takePrev($word){return(!$word.is(':first-child'))?$word.prev():$word.parent().children().last();}function switchWord($oldWord,$newWord){$oldWord.removeClass('is-visible').addClass('is-hidden');$newWord.removeClass('is-hidden').addClass('is-visible');}});"; var mod_pagespeed_Ua78hEqiAF = "(function($){\"use strict\";var themesflat_animation_fadeup=function(container,item){$(window).scroll(function(){var windowBottom=$(this).scrollTop()+$(this).innerHeight();$(container).each(function(index,value){var objectBottom=$(this).offset().top+$(this).outerHeight()*0.1;if(objectBottom');var menuType='desktop';$(window).on('load resize',function(){var currMenuType='desktop';if(matchMedia('only screen and (max-width: 991px)').matches){currMenuType='mobile';}if(currMenuType!==menuType){menuType=currMenuType;}else{$('.'+$this).find('.mobile-menu-overlay').removeClass('active');$('.'+$this).find('.nav-panel').removeClass('active');}});$(document).on('click','.mainnav-mobi li .btn-submenu',function(e){$(this).toggleClass('active').next('ul').slideToggle(300);e.stopImmediatePropagation();e.preventDefault();});$($btn_menu_mobile).on('click',function(){$(this).addClass('active');$(this).siblings().addClass('active');});$($close_menu_panel_style_default).on('click',function(){$(this).closest('.nav-panel').removeClass('active');$(this).closest('.nav-panel').siblings().removeClass('active');});$($mobile_menu_overlay).on('click',function(){$(this).siblings().removeClass('active');$(this).removeClass('active');});$($mobile_menu_close).on('click',function(){$(this).siblings().removeClass('active');$(this).removeClass('active');});$($btn_menu_only).on('click',function(){$(this).siblings().addClass('active');});});}\nvar carousel_Box=function(){if($().owlCarousel){$('.tf-carousel-box').each(function(){var\n$this=$(this),item=$this.data(\"column\"),item2=$this.data(\"column2\"),item3=$this.data(\"column3\"),spacer=Number($this.data(\"spacer\")),prev_icon=$this.data(\"prev_icon\"),next_icon=$this.data(\"next_icon\");var loop=false;if($this.data(\"loop\")=='yes'){loop=true;}var arrow=false;if($this.data(\"arrow\")=='yes'){arrow=true;}var auto=false;if($this.data(\"auto\")=='yes'){auto=true;}$this.find('.owl-carousel').owlCarousel({loop:loop,margin:spacer,nav:true,pagination:true,autoplay:auto,autoplayTimeout:5000,smartSpeed:850,autoplayHoverPause:true,navText:[\"\",\"\"],responsive:{0:{items:item3},768:{items:item2},1000:{items:item}}});});}}\nvar onepage_nav=function(){$('.tf-nav-menu.has-one-page .mainnav > ul > li > a').on('click',function(e){var anchor=$(this).attr('href').split('#')[1];var largeScreen=matchMedia('only screen and (min-width: 992px)').matches;var headerHeight=0;headerHeight=$('.header').height();if(anchor){if($('#'+anchor).length>0){if($('.header-shadow').length>0){headerHeight=headerHeight;}else{headerHeight=0;}var target=$('#'+anchor).offset().top-headerHeight;$('html,body').animate({scrollTop:target},1000,'easeInOutExpo');}}e.preventDefault();});}\nvar search_form=function(){$('.tf-widget-search').each(function(){$(this).find('.tf-icon-search').on('click',function(){$(this).siblings('.tf-modal-search-panel').addClass('show');});});$(document).on('click','.tf-widget-search .tf-modal-search-panel',function(){$(this).removeClass('show');});$(document).on('click','.tf-widget-search .tf-search-form',function(e){e.stopImmediatePropagation();});};var blogPostsOwl=function(){if($().owlCarousel){$('.tf-posts-wrap.has-carousel').each(function(){var\n$this=$(this),item=$this.data(\"column\"),item2=$this.data(\"column2\"),item3=$this.data(\"column3\"),spacer=Number($this.data(\"spacer\")),prev_icon=$this.data(\"prev_icon\"),next_icon=$this.data(\"next_icon\");var loop=false;if($this.data(\"loop\")=='yes'){loop=true;}var arrow=false;if($this.data(\"arrow\")=='yes'){arrow=true;}var auto=false;if($this.data(\"auto\")=='yes'){auto=true;}$this.find('.owl-carousel').owlCarousel({loop:loop,margin:spacer,nav:true,pagination:false,autoplay:auto,autoplayTimeout:5000,autoplayHoverPause:true,animateIn:'fadeIn',animateOut:'fadeOut',navText:[\"\",\"\"],responsive:{0:{items:item3},768:{items:item2},1000:{items:item}}});});}}\nvar blogPostsGallery=function(){$(\".featured-image-gallery\").each(function(){var $this=$(this);var animation=$this.data('animation_images'),autoplay=$this.data('autoplay'),slideshowSpeed=$this.data('slideshowSpeed'),controlNav=$this.data('controlnav'),directionNav=$this.data('directionnav'),prevText=$this.data('prevtext'),nextText=$this.data('nexttext');$this.flexslider({animation:animation,slideshow:autoplay,slideshowSpeed:slideshowSpeed,animationSpeed:1000,animationLoop:true,controlNav:controlNav,directionNav:directionNav,prevText:'',nextText:'',useCCS:false});});}\nvar blogLoadMore=function(){$('.tf-posts-wrap .navigation.loadmore a').on('click',function(e){e.preventDefault();var class_id=$(this).closest('.tf-posts-wrap').data('class_id');var class_id_string='.'+class_id;var $container_wrap=$(class_id_string);var $container=$container_wrap.find('.tf-posts');var scroll_loadmore=$container_wrap.find('.scroll-loadmore');$(this).closest('.navigation.loadmore').addClass('loader');$.ajax({type:\"GET\",url:$(this).attr('href'),dataType:\"html\",success:function(out){var result=$(out).find('.column');var nextlink=$(out).find('.navigation.loadmore a').attr('href');$container.each(function(){$(this).append(result).imagesLoaded(function(){setTimeout(function(){$container.isotope('appended',result);},1000);});});$('.navigation.loadmore').removeClass('loader');if(nextlink!=undefined){$('.navigation.loadmore a').attr('href',nextlink);}else{$('.navigation.loadmore').remove();}$('html, body').animate({scrollTop:scroll_loadmore.offset().top-300},700);}});});}\nvar blogMasonry=function(){$('.tf-posts-wrap .tf-posts').each(function(){var $this=$(this);if($this.hasClass('masonry')){var $grid=$this.isotope({itemSelector:'.column',percentPosition:true,masonry:{columnWidth:'.grid-sizer'}});$grid.imagesLoaded().progress(function(){$grid.isotope('layout');});}});}\nvar tftabs=function(){$('.tf-tabs').each(function(){$(this).find('.tf-tabnav ul > li').filter(':first').addClass('active').removeClass('inactive');$(this).find('.tf-tabcontent').children().filter(':first').addClass('active');if($(this).find('.tf-tabnav ul > li').hasClass('set-active-tab')){$(this).find('.tf-tabnav ul > li').siblings().removeClass('active');}if($(this).find('.tf-tabcontent').children().hasClass('set-active-tab')){$(this).find('.tf-tabcontent').children().siblings().removeClass('active');}$(this).find('.tf-tabnav ul > li').on('click',function(){var tab_id=$(this).attr('data-tab');$(this).siblings().removeClass('active').removeClass('set-active-tab').addClass('inactive');$(this).closest('.tf-tabs').find('.tf-tabcontent').children().removeClass('active').removeClass('set-active-tab').addClass('inactive');$(this).addClass('active').removeClass('inactive');$(this).closest('.tf-tabs').find('.tf-tabcontent').children('#'+tab_id).addClass('active').removeClass('inactive');});});}\nvar vegasSlider=function(){$(\".hero-section\").each(function(){var\ncontentTopMargin=0,heroHeight=0,customHeight=0,hero=$(this),windowHeight=$(window).height(),heroContent=hero.find('.vegas-content'),contentHeight=heroContent.height(),delay=Number(hero.data('delay')),spacing=hero.data('content'),slide_type=hero.data('slide_type'),customHeight=hero.data('height');var customHeightTablet=hero.data('height_tablet');var customHeightMobile=hero.data('height_mobile');if(slide_type=='full-height'){heroHeight=windowHeight;}else{heroHeight=customHeight;if(matchMedia('only screen and (max-width: 991px)').matches){heroHeight=customHeightTablet;}if(matchMedia('only screen and (max-width: 767px)').matches){heroHeight=customHeightMobile;}}if(slide_type=='full-height'){hero.css({height:heroHeight+\"px\"});contentTopMargin=((heroHeight-contentHeight)/2)+spacing;heroContent.css(\"padding-top\",(contentTopMargin)+\"px\");}else{hero.css({height:heroHeight+\"px\"});contentTopMargin=((heroHeight-contentHeight)/2)+spacing;heroContent.css(\"padding-top\",(contentTopMargin)+\"px\");}if($().vegas){$(\".hero-section.slidehero\").each(function(){var\n$this=$(this),count=$this.data('count'),count=parseInt(count,10),effect=$this.data('effect'),images=$this.data('image'),cOverlay=$this.data('overlay'),pOverlay=$this.data('poverlay'),i=0,slides=[],imgs=images.split('|');while(i',{class:'overlay',style:'background:'+cOverlay});$(this).append(overlay).find('.vegas-overlay').addClass(pOverlay);});}if($().YTPlayer){$(\".hero-section.slidevideo\").each(function(){var\n$this=$(this),cOverlay=$this.data('overlay'),overlay=$('
',{class:'overlay',style:'position: absolute; width: 100%; height: 100%; background:'+cOverlay});$this.YTPlayer().append(overlay);});}if($('.slide-fancy-text').is('.scroll')){$('.slide-fancy-text.scroll').each(function(){var\n$this=$(this),current=1,height=$this.children('.heading').height(),numberDivs=$this.children().length,first=$this.children('.heading:nth-child(1)');$this.height(height);$this.siblings('.prefix-text, .suffix-text').height(height);setInterval(function(){var number=current*-height;first.css('margin-top',number+'px');if(current===numberDivs){first.css('margin-top','0px');current=1;}else current++;},delay);});}if($('.slide-fancy-text').is('.typed')){if($().typed){$('.slide-fancy-text.typed').each(function(){var\n$this=$(this),texts=$this.data('fancy').split(',');$this.find('.text').typed({strings:texts,typeSpeed:40,loop:true,backDelay:delay});});}}});$(\".hero-section\").each(function(){var $this=$(this);$this.find('.scroll-target').on('click',function(){var anchor=$(this).attr('href').split('#')[1];if(anchor){if($('#'+anchor).length>0){var headerHeight=0;if($('body').hasClass('header-sticky')){headerHeight=$('#site-header').height();}var target=$('#'+anchor).offset().top-headerHeight;if($('body').hasClass('admin-bar')){var wpadminbar=$('#wpadminbar').height();target=$('#'+anchor).offset().top-headerHeight-wpadminbar;}$('html,body').animate({scrollTop:target},1000,'easeInOutExpo');}}return false;});});};var flexSlider=function(){$(\".flexslider\").each(function(){var $this=$(this),adminBarHeight=0,topBarHeight=0,contentTopMargin=0,adminBar=$('#wpadminbar'),topBar=$('#top-bar'),headerHeight=$('header').height(),flexsliderHeight=$this.data('height'),flexsliderHeightTablet=$this.data('height_tablet'),flexsliderHeightMobile=$this.data('height_mobile'),flexSliderContent=$this.find('.flex_caption'),contentHeight=flexSliderContent.outerHeight();if(matchMedia('only screen and (max-width: 991px)').matches){flexsliderHeight=flexsliderHeightTablet;}if(matchMedia('only screen and (max-width: 767px)').matches){flexsliderHeight=flexsliderHeightMobile;}$this.find('.item-slide').height(flexsliderHeight);if(topBar.length)topBarHeight=topBar.height();if(adminBar.length)adminBarHeight=adminBar.height();if(contentHeight==0){contentHeight=(flexsliderHeight*0.5);}if($this.hasClass('header-absolute')){contentTopMargin=((flexsliderHeight+topBarHeight+headerHeight-contentHeight)/2);flexSliderContent.css(\"margin-top\",(contentTopMargin)+\"px\");}else{contentTopMargin=((flexsliderHeight-contentHeight)/2);flexSliderContent.css(\"margin-top\",(contentTopMargin)+\"px\");}var animation=$this.data('animation_images'),autoplay=$this.data('autoplay'),slideshowSpeed=$this.data('slideshowSpeed'),controlNav=$this.data('controlnav'),directionNav=$this.data('directionnav'),prevText=$this.data('prevtext'),nextText=$this.data('nexttext');$this.flexslider({animation:'fade',slideshow:autoplay,slideshowSpeed:slideshowSpeed,animationSpeed:1000,animationLoop:true,controlNav:controlNav,directionNav:directionNav,prevText:'',nextText:'',useCCS:false});});}\nvar postFormatIziModal=function(){if($('body').find('div').hasClass('izimodal')){$(\".izimodal\").iziModal({width:850,top:null,bottom:null,borderBottom:false,padding:0,radius:3,zindex:999999,iframe:false,iframeHeight:400,iframeURL:null,focusInput:false,group:'',loop:false,arrowKeys:true,navigateCaption:true,navigateArrows:true,history:false,restoreDefaultContent:true,autoOpen:0,bodyOverflow:false,fullscreen:false,openFullscreen:false,closeOnEscape:true,closeButton:true,appendTo:'body',appendToOverlay:'body',overlay:true,overlayClose:true,overlayColor:'rgba(0, 0, 0, .7)',timeout:false,timeoutProgressbar:false,pauseOnHover:false,timeoutProgressbarColor:'rgba(255,255,255,0)',transitionIn:'comingIn',transitionOut:'comingOut',transitionInOverlay:'fadeIn',transitionOutOverlay:'fadeOut',onFullscreen:function(){},onResize:function(){},onOpening:function(){},onOpened:function(){},onClosing:function(){},onClosed:function(){},afterRender:function(){}});$(document).on('click','.trigger',function(event){event.preventDefault();$('.izimodal').iziModal('setZindex',99999999);$('.izimodal').iziModal('open',{zindex:99999999});$('.izimodal').iziModal('open');});}}\nvar productCarousel=function(){if($().owlCarousel){$('.tf-woo-product.carousel-yes').each(function(){var\n$this=$(this),item=$this.data(\"column\"),item2=$this.data(\"column2\"),item3=$this.data(\"column3\"),spacer=Number($this.data(\"spacer\")),prev_icon=$this.data(\"prev_icon\"),next_icon=$this.data(\"next_icon\");var loop=false;if($this.data(\"loop\")=='yes'){loop=true;}var arrow=false;if($this.data(\"arrow\")=='yes'){arrow=true;}var auto=false;if($this.data(\"auto\")=='yes'){auto=true;}$this.find('.owl-carousel.owl-theme').owlCarousel({loop:loop,margin:spacer,nav:true,pagination:true,autoplay:auto,autoplayTimeout:5000,smartSpeed:850,autoplayHoverPause:true,navText:[\"\",\"\"],responsive:{0:{items:item3},768:{items:item2},1000:{items:item}}});});}}\nvar productLoadMore=function(){var $container_wrap=$('.tf-woo-product');var $container=$('.tf-woo-product').find('.products');var $products=$container.find('.products > .product-item');$('.navigation.loadmore a').on('click',function(e){e.preventDefault();$(this).closest('.navigation.loadmore').addClass('loading');$.ajax({type:\"GET\",url:$(this).attr('href'),dataType:\"html\",success:function(out){var result=$(out).find('.product-item');var nextlink=$(out).find('.navigation.loadmore a').attr('href');if(result.length){for(var index=0;index',nextText:''});$(this).find('#image-flexslider').flexslider({animation:\"slide\",controlNav:false,animationLoop:true,slideshow:true,sync:$(this).find('#image-carousel'),directionNav:false,prevText:'',nextText:''});});};var cavas_product_mini_cart=function(){$('#mini-cart-click, #mini-cart-click a, .products .ajax_add_to_cart').on('click',function(e){$('#canvas-mini-cart').addClass('canvas-cart-open');$('.mini-cart .overlay-mini-cart').addClass('canvas-overlay-open');e.preventDefault();});$('.mini-cart .overlay-mini-cart, #canvas-mini-cart .cart-close').on('click',function(e){$('#canvas-mini-cart').removeClass('canvas-cart-open');$('.mini-cart .overlay-mini-cart').removeClass('canvas-overlay-open');e.preventDefault();});}\nvar TF_Sticky=function(){var wpadminbar=$('#wpadminbar').outerHeight();$('.tf-sticky-section').each(function(){var section=$(this),section_id=section.data('id');if(section.hasClass('tf-sticky-yes')){var class_section=$('.elementor-element-'+section_id+'.tf-sticky-yes'),section_height=$(class_section).outerHeight(),section_width=$(class_section).outerWidth(),injectSpace=$('
',{height:section_height}).insertAfter($(class_section));injectSpace.hide();var element_class_sticky='.elementor-element-'+section_id,tfsticky=$(element_class_sticky+'.tf-sticky-yes'),offset=tfsticky.offset(),tfsticky_offset_top=offset.top;$(element_class_sticky+'.elementor-inner-section.tf-sticky-yes').css({'width':section_width});if($('body').hasClass('admin-bar')){var tfsticky_offset_top=tfsticky_offset_top-wpadminbar;}$(window).on('scroll',function(){if($(window).scrollTop()>=tfsticky_offset_top){tfsticky.addClass('tf-element-sticky');injectSpace.show();}else{tfsticky.removeClass('tf-element-sticky');injectSpace.hide();}});}})}\nvar tfScrollTop=function(){$(window).scroll(function(){if($(this).scrollTop()>200){$('#tf-scroll-top').addClass('show');}else{$('#tf-scroll-top').removeClass('show');}});$('#tf-scroll-top .inner-scroll-top').on('click',function(){$('html, body').animate({scrollTop:0},1000,'easeInOutExpo');return false;});}\nvar tf_swiper_slider=function(){$('.tf-slide-swiper').each(function(){var container=$(this),swiper_container=container.find('.swiper-container-primary'),autoplay_speed=container.data('autoplay_speed'),autoplay=(container.data('autoplay')=='yes')?{delay:autoplay_speed}:false,pause_on_interaction=container.data('pause_on_interaction'),infinite_loop=(container.data('infinite_loop')=='yes')?true:false,transition_speed=container.data('transition_speed'),bullets_type=container.data('bullets_type'),direction=container.data('direction'),reverse_direction=(container.data('reverse_direction')=='yes')?true:false,space_between=container.data('space_between'),slides_show=container.data('slides_show'),slides_show_tablet=container.data('slides_show_tablet'),slides_show_mobile=container.data('slides_show_mobile');if(reverse_direction){autoplay=(container.data('autoplay')=='yes')?{delay:autoplay_speed,reverseDirection:true}:false;}var swiper=new Swiper(swiper_container,{slidesPerView:slides_show,direction:direction,spaceBetween:space_between,effect:'slide',speed:transition_speed,loop:infinite_loop,autoplay:autoplay,grabCursor:true,reverseDirection:true,pagination:{el:'.swiper-pagination',type:bullets_type,clickable:true,},navigation:{nextEl:'.swiper-button-next',prevEl:'.swiper-button-prev',},breakpoints:{'320':{slidesPerView:slides_show_mobile,},'768':{slidesPerView:slides_show_tablet,},'1025':{slidesPerView:slides_show,},},});if(pause_on_interaction=='yes'){swiper_container.on('mouseenter',function(e){swiper.autoplay.stop();});swiper_container.on('mouseleave',function(e){swiper.autoplay.start();});}});};var tf_animated_headline=function(){var highlightedWave=$('.tf-highlighted-wave'),highlightedDrop=$('.tf-highlighted-drop-in'),highlightedSlide=$('.tf-highlighted-slide');if(highlightedWave.length){highlightedWave.each(function(index,item){item.innerHTML=$(this).text().replace(/\\S/g,\"$&\");});anime.timeline({loop:true}).add({targets:'.tf-highlighted-wave .letter',scale:[4,1],opacity:[0,1],translateZ:0,easing:\"easeOutExpo\",duration:950,delay:(el,i)=>70*i}).add({targets:'.tf-highlighted-wave',opacity:0,duration:1000,easing:\"easeOutExpo\",delay:1000});}if(highlightedDrop.length){highlightedDrop.each(function(index,item){item.innerHTML=$(this).text().replace(/\\S/g,\"$&\");});anime.timeline({loop:true}).add({targets:'.tf-highlighted-drop-in .letter',scale:[0,1],duration:1500,elasticity:600,delay:(el,i)=>45*(i+1)}).add({targets:'.tf-highlighted-drop-in',opacity:0,duration:1000,easing:\"easeOutExpo\",delay:1000});}if(highlightedDrop.length){highlightedDrop.each(function(index,item){item.innerHTML=$(this).text().replace(/\\S/g,\"$&\");});anime.timeline({loop:true}).add({targets:'.tf-highlighted-drop-in .letter',scale:[0,1],duration:1500,elasticity:600,delay:(el,i)=>45*(i+1)}).add({targets:'.tf-highlighted-drop-in',opacity:0,duration:1000,easing:\"easeOutExpo\",delay:1000});}if(highlightedSlide.length){highlightedSlide.each(function(index,item){item.innerHTML=$(this).text().replace(/\\S/g,\"$&\");});anime.timeline({loop:true}).add({targets:'.tf-highlighted-slide .letter',translateX:[40,0],translateZ:0,opacity:[0,1],easing:\"easeOutExpo\",duration:1200,delay:(el,i)=>500+30*i}).add({targets:'.tf-highlighted-slide .letter',translateX:[0,-30],opacity:[1,0],easing:\"easeInExpo\",duration:1100,delay:(el,i)=>100+30*i});}}\nvar tfRemovePreloader=function(){setTimeout(function(){$(\".tf-preloader\").fadeOut('slow',function(){$(this).remove();});},1000);};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/tf-nav-menu.default',responsive_menu);elementorFrontend.hooks.addAction('frontend/element_ready/tfcarousel.default',carousel_Box);elementorFrontend.hooks.addAction('frontend/element_ready/tf-nav-menu.default',onepage_nav);elementorFrontend.hooks.addAction('frontend/element_ready/tf-search.default',search_form);elementorFrontend.hooks.addAction('frontend/element_ready/tfposts.default',blogPostsOwl);elementorFrontend.hooks.addAction('frontend/element_ready/tfposts.default',blogPostsGallery);elementorFrontend.hooks.addAction('frontend/element_ready/tfposts.default',blogLoadMore);elementorFrontend.hooks.addAction('frontend/element_ready/tfposts.default',blogMasonry);elementorFrontend.hooks.addAction('frontend/element_ready/tfposts.default',postFormatIziModal);elementorFrontend.hooks.addAction('frontend/element_ready/tftabs.default',tftabs);elementorFrontend.hooks.addAction('frontend/element_ready/vegas-slider.default',vegasSlider);elementorFrontend.hooks.addAction('frontend/element_ready/flex-slider.default',flexSlider);elementorFrontend.hooks.addAction('frontend/element_ready/tf-scroll-top.default',tfScrollTop);elementorFrontend.hooks.addAction('frontend/element_ready/tf-preload.default',tfRemovePreloader);elementorFrontend.hooks.addAction('frontend/element_ready/tf-slide-swiper.default',tf_swiper_slider);elementorFrontend.hooks.addAction('frontend/element_ready/tfanimated_headline.default',tf_animated_headline);elementorFrontend.hooks.addAction('frontend/element_ready/tfwooproductgrid.default',productCarousel);elementorFrontend.hooks.addAction('frontend/element_ready/tfwooproductgrid.default',productLoadMore);elementorFrontend.hooks.addAction('frontend/element_ready/tfwooproductgrid.default',productFilterForm);elementorFrontend.hooks.addAction('frontend/element_ready/tfwooproductgrid.default',productFilterTabs);elementorFrontend.hooks.addAction('frontend/element_ready/tfwooproductsingleimage.default',productSingleImage);elementorFrontend.hooks.addAction('frontend/element_ready/tf-mini-cart.default',cavas_product_mini_cart);});$(window).on('load resize',function(){responsive_menu();onepage_nav();search_form();});$(function(){flexSlider();vegasSlider();postFormatIziModal();TF_Sticky();});$(window).on('resize',function(){flexSlider();vegasSlider();});$(window).on('load',function(){cavas_product_mini_cart();});var tfcounter=function(){$(window).scroll(function(){var oTop=$('.counter').offset().top-window.innerHeight;if($(window).scrollTop()>oTop){var odo=$(\".odometer\");odo.each(function(){var countNumber=$(this).data(\"count\");$(this).html(countNumber);});}});}\nvar logo=function(){var mySVGsToInject=document.querySelectorAll('img.logo_svg');SVGInjector(mySVGsToInject,{pngFallback:'assets/png'});}\n$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/tfcounter.default',tfcounter);elementorFrontend.hooks.addAction('frontend/element_ready/tfcounter.default',logo);});})(jQuery);";