var mod_pagespeed_cyL1aPnc5K = "function getViewportSize(){var e=window,a='inner';if(!('innerWidth'in window)){a='client';e=document.documentElement||document.body;}return{width:e[a+'Width'],height:e[a+'Height']};}function fixIE8rgba(){var $=jQuery;if(isOldIE()===8){var selectors=['.pi-tooltip'],$elements=$(selectors.join(','));$elements.each(function(){var $el=$(this),bg=$el.css('background'),rgba=bg.match(/rgba\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3}),(\\d{1,3})\\)/),hex=rgba?rgba2hex(rgba[1],rgba[2],rgba[3],rgba[4]):'#000000';if(rgba&&hex){$el.css('background','filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='+hex+', EndColorStr='+hex+')')}});}}function isOldIE(){var version=navigator.appVersion.match(/MSIE (\\d)\\.\\d*/);if(version){return version[1];}return false;}var hexDigits=new Array(\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"a\",\"b\",\"c\",\"d\",\"e\",\"f\");function rgb2hex(rgb){if(!rgb){rgb='rgb(0,0,0)';}rgb=rgb.match(/^rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)$/);return\"#\"+hex(rgb[1])+hex(rgb[2])+hex(rgb[3]);}function hex(x){return isNaN(x)?\"00\":hexDigits[(x-x%16)/16]+hexDigits[x%16];}function rgba2hex(r,g,b,a){if(r>255||g>255||b>255||a>255)throw\"Invalid color component\";return(256+r).toString(16).substr(1)+((1<<24)+(g<<16)|(b<<8)|a).toString(16).substr(1);}function getElementHeight($el){var $=jQuery,h=0,vis=$el.css('visibility'),display=$el.css('display');if(display=='none'||display=='none !important'){$el.css({visibility:'hidden',display:'block'});h=$el.outerHeight();$el.css({visibility:vis,display:display});}else{h=$el.outerHeight();}return h;}var piBounds={lg:1140,md:992,sm:768,xs:480,xs2:320};jQuery(function($){var $w=$(window),$d=$(document),resizeTMT;window.piViewportSize=getViewportSize();window.piViewportWidth=window.piViewportSize.width;window.piViewportHeight=window.piViewportSize.height;window.piCurrentBound=piBounds[0];function checkBound(){var previousBound=window.piCurrentBound;window.piViewportSize=getViewportSize();window.piViewportWidth=window.piViewportSize.width;window.piViewportHeight=window.piViewportSize.height;if(window.piViewportWidth>=piBounds.lg&&window.piCurrentBound!='lg'){window.piCurrentBound='lg';}else if(window.piViewportWidth>=piBounds.md&&window.piViewportWidth=piBounds.sm&&window.piViewportWidth=piBounds.xs&&window.piViewportWidth=piBounds.xs2&&window.piViewportWidth';for(var i=0;i';}appendHtml+='';$(appendHtml).appendTo(o.$el);o.$loadingAnimation=o.$el.find('.'+o.s.c.loading);o.$dots=o.$loadingAnimation.find('.'+o.s.c.dot);o.activeDotNum=0;requestAnimationFrame(o.loadingDotsAnimate,o.$el);}\no.hideLoadingAnimation=function(){o.loaderShown=0;o.$dots.each(function(){$(this).removeClass(o.s.c.dotActive);});o.$loadingAnimation.remove();}\no.loadingDotsAnimate=function(time){if(!o.$loadingAnimation){return;}if(!o.loadingAnimationStartTime){o.loadingAnimationStartTime=time;}var needToRedraw=(time-o.loadingAnimationStartTime)>=200?1:0;if(needToRedraw){o.loadingAnimationStartTime=time;var $currentDot=o.$dots.eq(o.activeDotNum),$previousDot=$currentDot.prev();if(!$previousDot.get(0)){$previousDot=o.$dots.eq(o.s.dotQuantity-1);}$currentDot.addClass(o.s.c.dotActive);$previousDot.removeClass(o.s.c.dotActive);o.activeDotNum++;if(o.activeDotNum>=o.s.dotQuantity+1){o.activeDotNum=0;}}requestAnimationFrame(o.loadingDotsAnimate);}\no.check_images_states=function(){o.$imgs.each(function(){var oldImg=new Image(),newImg=new Image(),imgSrc=$(this).attr('src');oldImg.src=imgSrc;if(oldImg.complete){o.image_was_loaded();}else{jQuery(newImg).load(function(){o.image_was_loaded();}).error(function(){o.image_was_loaded();});newImg.src=imgSrc;}});o.addLoadingAnimation();}\no.image_was_loaded=function(){o.imgsQ_loaded++;o.check_ready_state();}\no.check_ready_state=function(){if(o.imgsQ==o.imgsQ_loaded&&!o.started){o.started=true;setTimeout(function(){o.callback();if(o.loaderShown){o.hideLoadingAnimation();}},o.delay);}}\no.init=function(){if(o.imgsQ>0){o.check_images_states();}else{o.callback();}}\no.init();}jQuery(function($){var $w=$(window),$mainWrapperWidth=$('#pi-all').width(),mainWrapDifference=(window.piViewportWidth-$mainWrapperWidth)/2,classLeftSide='pi-submenu-left-side';function checkMenus($submenu,initialOffset){var offset=$submenu.offset().left-mainWrapDifference,width=$submenu.width();if($mainWrapperWidth-offsetwidth){$submenu.removeClass(classLeftSide);}}$('.pi-submenu').each(function(){var $el=$(this),initialOffset=$el.offset().left-mainWrapDifference,timer;$w.on('resize',function(){clearTimeout(timer);timer=setTimeout(function(){$mainWrapperWidth=$('#pi-all').width();mainWrapDifference=(window.piViewportWidth-$mainWrapperWidth)/2;checkMenus($el,initialOffset);},200);});checkMenus($el,initialOffset);});});jQuery(function($){var $w=$(window),$hrs=$('.pi-section-header'),clsFloatRight='pi-pull-right',clsHeaderBlock='pi-row-block',tmt,hrObjects=[];$hrs.each(function(){var $curHr=$(this),$blocks=$curHr.find('.'+clsHeaderBlock).filter('.'+clsFloatRight);hrObjects.push({$hr:$curHr,$blocks:$blocks,currentBlock:false});});function checkHeaderBlocks(){for(var i=0;i1?сlassFixedRows:сlassFixedRow;$w.scroll(function(){scrollTop=$w.scrollTop();checkHeader();});}function checkHeader(){fixHeader();if($reducibleRow.length){reduceHeader();}}function fixHeader(){if(scrollTop>=headerTopOffset){if(stateFixed=='default'){requestAnimationFrame(function(){$b.addClass(сlassFixed);});stateFixed='fixed';}}else{if(stateFixed=='fixed'){requestAnimationFrame(function(){$b.removeClass(сlassFixed);});stateFixed='default';}}}function reduceHeader(){var scrollTopExcess=scrollTop-headerTopOffset;if(scrollTopExcess>reduceTreshold&&stateReduce!='reduced'){requestAnimationFrame(function(){$reducibleRow.addClass(classReduced);});stateReduce='reduced';}else if(scrollTopExcess<=reduceTreshold&&stateReduce!='default'){requestAnimationFrame(function(){$reducibleRow.removeClass(classReduced);});stateReduce='default';}}});jQuery(function($){var $d=$(document),$w=$(window),resizeTmt;new MobileMenus();function MobileMenus(){var mobileMenus=[],settings={classMenuItemHasSubmenu:'pi-has-dropdown',classParentRowWrapper:'pi-header-row-sticky',classOpen:'pi-menu-open',classParentRow:'pi-section-header-w',classMenuWrapper:'pi-section-menu-mobile-w',classMenu:'pi-menu-mobile'};function init(){$('.'+settings.classMenuItemHasSubmenu).each(function(){$(this).find(' > a').on('click',function(e){if(window.piCurrentBound!='lg'){e.preventDefault();}});});$('.pi-mobile-menu-toggler').each(function(){var $el=$(this);if($el.get(0).piMenuWasInitialized){return;}$el.get(0).piMenuWasInitialized=1;var mobileMenu={$parentRowWrapper:null,$toggler:$el,$wrapper:null,$menu:null,height:null,top:null,state:0};mobileMenu.$parentRowWrapper=$(mobileMenu.$toggler.parents('.'+settings.classParentRowWrapper));mobileMenu.$wrapper=$(mobileMenu.$toggler.data('target'));mobileMenu.$menu=mobileMenu.$wrapper.find('.'+settings.classMenu);mobileMenu.$menuElements=mobileMenu.$menu.find('li');mobileMenu.height=mobileMenu.$menu.outerHeight();mobileMenu.$toggler.click(function(){toggleMenu(mobileMenu);});mobileMenu.$menuElements.each(function(){var $li=$(this);$li.get(0).$link=$li.find(' > a');$li.get(0).$siblings=$li.siblings();$li.get(0).$list=$li.find(' > ul');if($li.get(0).$list.length){$li.get(0).$link.click(function(e){toggleSubmenu(mobileMenu,$li);e.preventDefault();});}else{if(mobileMenu.$menu.data('onepageMenu')&&mobileMenu.$menu.data('onepageMenu')=='yes'){$li.get(0).$link.click(function(){toggleMenu(mobileMenu);});}}});$d.bind('piBoundChanged',function(){if(mobileMenu.state&&mobileMenu.$toggler.is(':hidden')){toggleMenu(mobileMenu);}});mobileMenus.push(mobileMenu);});$w.resize(function(){clearTimeout(resizeTmt);resizeTmt=setTimeout(function(){checkMobileSubmenuHeight();},100);});checkMobileSubmenuHeight();};function toggleSubmenu(mobileMenu,$li){if($li.get(0).$list.hasClass('pi-active')){mobileMenu.height=mobileMenu.height-$li.get(0).listHeight;mobileMenu.$wrapper.height(mobileMenu.height);$li.get(0).$list.removeClass('pi-active');$li.get(0).$list.animate({height:0},500,function(){changeParentsListHeight($li,$li.get(0).listHeight,'take');});}else{mobileMenu.height=mobileMenu.height+$li.get(0).listHeight;mobileMenu.$wrapper.height(mobileMenu.height);$li.get(0).$list.addClass('pi-active');$li.get(0).$list.animate({height:$li.get(0).listHeight},500,function(){changeParentsListHeight($li,$li.get(0).listHeight,'add');$(this).height('auto');});$li.get(0).$siblings.each(function(){if($(this).find(' > ul.pi-active').length){toggleSubmenu(mobileMenu,$(this));}});}}function changeParentsListHeight($li,h,action){var parentLI=$li.parents('li').length?$li.parents('li').eq(0):null;if(parentLI&&parentLI.get(0).listHeight){if(action=='add'){parentLI.get(0).listHeight+=h;}else{parentLI.get(0).listHeight-=h;}changeParentsListHeight(parentLI,h,action);}}function checkMobileSubmenuHeight(){for(var i=0;i=documentHeight-footerHeight;if(scrollTop>=treshold){$arrow.addClass(classActive);}else{$arrow.removeClass(classActive);}if(nearFooter&&window.piCurrentBound!='lg'){$arrow.addClass(classBottom);}else{$arrow.removeClass(classBottom);}}});jQuery(function($){$('.pi-jump a, .pi-jump-bg a').each(function(){var $el=$(this);if($el.find('i').length<=1){$el.append($el.find('i').clone());}});$('.pi-social-icons-big a i').wrap('');});jQuery(function($){$('.pi-overlay-slide:not(.pi-caption-opened)').each(function(){var $caption=$(this),$parent=$caption.parents('.pi-img-w'),height=$caption.outerHeight(true);if($caption.hasClass('pi-show-heading')){height-=$caption.find('h2,h3,h4,h5,h6').eq(0).outerHeight(true)+parseInt($caption.css('padding-top'),10);}$caption.css({bottom:-height,visibility:'visible'});$parent.hover(function(){$caption.css({bottom:0})},function(){$caption.css({bottom:-height})});});});jQuery(function($){$('.pi-contact-form').submit(function(){var $form=$(this),$error=$form.find('.pi-error-container'),action=$form.attr('action');$error.slideUp(750,function(){$error.hide();var $name=$form.find('.form-control-name'),$email=$form.find('.form-control-email'),$companyName=$form.find('.form-control-company-name'),$phone=$form.find('.form-control-phone'),$budjet=$form.find('.form-control-budjet'),$comments=$form.find('.form-control-comments'),captchaEnabled=$form.data('captcha')=='no'?0:1,$recaptcha=$form.find('#recaptcha_response_field'),$recaptcha_challenge=$form.find('#recaptcha_challenge_field');$.post(action,{name:$name.val(),email:$email.val(),companyName:$companyName.val(),phone:$phone.val(),budjet:$budjet.val(),comments:$comments.val(),captchaEnabled:captchaEnabled,recaptcha:$recaptcha.val(),recaptcha_challenge:$recaptcha_challenge.val()},function(data){$error.html(data);$error.slideDown('slow');if(data.match('success')!=null){$name.val('');$email.val('');$companyName.val('');$phone.val('');$budjet.val('');$comments.val('');}});});return false;});});jQuery(function($){if($.fn.colorbox){var $d=$(document),$w=$(window),$colorboxLinks=$('.pi-colorbox'),breakpoints=['sm','md','lg'],colorboxState=0,colorboxNeeded=0;function piColorboxInit(){colorboxNeeded=0;for(var i in breakpoints){if(breakpoints[i]==window.piCurrentBound){colorboxNeeded=1;break;}}if(colorboxNeeded&&!colorboxState){$colorboxLinks.each(function(){var $el=$(this),videoData=$el.data('videoSize'),videoSize=videoData?videoData.split(','):0,groupFromData=$el.data('colorboxGroup'),group=groupFromData?groupFromData:'pi-group';if(videoSize[0]){videoSize[0]=parseInt(videoSize[0],10);videoSize[1]=parseInt(videoSize[1],10);if(typeof(videoSize[0])=='number'&&typeof(videoSize[1])=='number'){$el.colorbox({rel:group,iframe:true,innerWidth:videoSize[0],innerHeight:videoSize[1],maxWidth:'95%',maxHeight:'95%'});}}else{$el.colorbox({rel:group,maxWidth:'95%',maxHeight:'95%'});}});colorboxState=1;}else if(!colorboxNeeded&&colorboxState){$colorboxLinks.colorbox.remove();colorboxState=0;}}$d.bind('piBoundChanged',piColorboxInit);piColorboxInit();}});"; var mod_pagespeed_LjvZPQwxV_ = "jQuery(function($){var set={classAccordion:'pi-accordion',classTogglerBehavior:'pi-behavior-toggle',classItem:'pi-accordion-item',classItemActive:'pi-accordion-item-active',classItemDefaultOpen:'pi-default-open',classTitle:'pi-accordion-title',classContent:'pi-accordion-content'};var $accs=$('.'+set.classItem);if($accs.length){$accs.each(function(){var $item=$(this);if(!$item.hasClass(set.classItemDefaultOpen)){$item.find('.'+set.classContent).hide();}else{$item.addClass(set.classItemActive);}});$('.'+set.classTitle).click(function(e){var $link=$(this),$item=$link.parents('.'+set.classItem),$acc=$item.parents('.'+set.classAccordion);if($item.hasClass(set.classItemActive)){if(!$acc.hasClass(set.classTogglerBehavior)){$acc.find('.'+set.classItem).removeClass(set.classItemActive);$acc.find('.'+set.classContent).slideUp();}else{$item.removeClass(set.classItemActive);$link.next('.'+set.classContent).slideUp();}}else{if(!$acc.hasClass(set.classTogglerBehavior)){$acc.find('.'+set.classItem).removeClass(set.classItemActive);$acc.find('.'+set.classContent).slideUp();}$item.addClass(set.classItemActive);$link.next('.'+set.classContent).slideToggle();}e.preventDefault();});}});"; var mod_pagespeed_yyYxe0hBQS = "jQuery(function($){var $w=$(window),$d=$(document),windowHeight=$w.height(),elements=[];$w.resize(function(){windowHeight=$w.height();});$.fn.parallax=function(){$(this).each(function(){var $el=$(this),el={$el:$el,t:$el.offset().top,x:$el.data('parallaxX')||'50%',y:$el.data('parallaxY')||0,s:$el.data('parallaxSpeed')||0.5,h:getHeight($el,($el.data('parallaxOuterHeight')||1))};elements.push(el);});};$d.on('piBoundChanged',function(){checkParallaxState();});checkParallaxState();function checkParallaxState(){if(window.piCurrentBound=='lg'){enableParallax();}else{disableParallax();}}function update(){var scrollTop=$w.scrollTop();for(var i=0;iscrollTop&&o.t');o.$pagination=o.$paneWrapper.find('.'+o.s.c.pagination);var n=0;o.$slides.each(function(){if(n==0){active=o.s.c.pageActive;}else{active='';}o.$pagination.append('');n++;});o.$pages=o.$pagination.find('.'+o.s.c.page);o.$pages.click(function(){var n=$(this).index();if(o.current!=n){o.applyAnimation(n);}});if(o.s.action=='slide'){o.prepareSlides();}}if(o.s.enableArrows&&o.slidesQ>1){o.$paneWrapper.append('
');o.$paneWrapper.append('
');o.$leftArrow=o.$paneWrapper.find('.'+o.s.c.arrowLeft);o.$rightArrow=o.$paneWrapper.find('.'+o.s.c.arrowRight);if(!o.s.circular){o.$leftArrow.addClass(o.s.c.arrowDisabled);}o.$leftArrow.click(function(){o.toPrev();});o.$rightArrow.click(function(){o.toNext();});}if(o.s.enableKeys&&o.slidesQ>1){o.$doc.keydown(function(e){if((e.keyCode||e.which)=='37'){o.toPrev();}else if((e.keyCode||e.which)=='39'){o.toNext();}});}o.applyAnimation(0);if(o.s.autoplayDelay){o.startAutoplay();}o.resizeGallery();}\no.applyAnimation=function(n,f){if(!f){f=0;}if(o.s.action=='slide'){o.moveSlide(n,f);}else if(o.s.action=='fade'){o.fadeSlide(n);}o.current=n;o.checkArrowsState(n);o.checkPagesState(n);}\no.checkPagesState=function(n){if(o.s.enablePagination&&o.slidesQ>1){o.$pages.removeClass(o.s.c.pageActive);o.$pages.eq(n).addClass(o.s.c.pageActive);}}\no.checkArrowsState=function(n){if(o.s.enableArrows&&o.slidesQ>1&&!o.s.circular){if(n==0){o.$leftArrow.addClass(o.s.c.arrowDisabled);}else{o.$leftArrow.removeClass(o.s.c.arrowDisabled);}if(n==o.slidesQ-1){o.$rightArrow.addClass(o.s.c.arrowDisabled);}else{o.$rightArrow.removeClass(o.s.c.arrowDisabled);}}}\no.moveSlide=function(n,f){var fast=f||0,speed=fast?0:o.s.speed,$prev=o.$slides.eq(o.current),$next=o.$slides.eq(n);$prev.removeClass(o.s.c.slideActive);if(!o.cssTransisions){$prev.stop().animate({left:-o.slideOuterWidth,opacity:0},speed,'easeInOutExpo',function(){$(this).css({left:o.slideOuterWidth});});$next.stop().animate({left:0,opacity:1},speed,'easeInOutExpo');$next.addClass(o.s.c.slideActive);}else{$prev.css({'-webkit-transform':'translateX('+-o.slideOuterWidth+'px)','-moz-transform':'translateX('+-o.slideOuterWidth+'px)','-o-transform':'translateX('+-o.slideOuterWidth+'px)','transform':'translateX('+-o.slideOuterWidth+'px)'});$next.addClass('pi-no-transitions').css({'-webkit-transform':'translateX('+o.slideOuterWidth+'px)','-moz-transform':'translateX('+o.slideOuterWidth+'px)','-o-transform':'translateX('+o.slideOuterWidth+'px)','transform':'translateX('+o.slideOuterWidth+'px)'});setTimeout(function(){$next.removeClass('pi-no-transitions').addClass(o.s.c.slideActive).css({'-webkit-transform':'translateX('+0+'px)','-moz-transform':'translateX('+0+'px)','-o-transform':'translateX('+0+'px)','transform':'translateX('+0+'px)'});},10);}}\no.fadeSlide=function(n){var $prev=o.$slides.eq(o.current),$next=o.$slides.eq(n);$prev.removeClass(o.s.c.slideActive);$next.addClass(o.s.c.slideActive);if(!o.cssTransisions){$next.stop().animate({opacity:1},o.s.speed,'easeOutQuad',function(){$prev.fadeTo(0,0);});}}\no.prepareSlides=function(){o.$slides.each(function(i){if(i!=0){if(o.cssTransisions){$(this).css({'-webkit-transform':'translateX('+o.slideOuterWidth+'px)','-moz-transform':'translateX('+o.slideOuterWidth+'px)','-o-transform':'translateX('+o.slideOuterWidth+'px)','transform':'translateX('+o.slideOuterWidth+'px)'});}else{$(this).css({'left':o.slideOuterWidth+'px'});}}});}\no.toNext=function(){if(o.current0){o.applyAnimation(o.current-1);}else if(o.s.circular){o.applyAnimation(o.slidesQ-1);}}\no.startAutoplay=function(){o.autoPlayInterval=setInterval(function(){o.toNext();},o.s.autoplayDelay);}\no.stopAutoplay=function(){clearInterval(o.autoPlayInterval);}\no.resizeGallery=function(){}\no.addSwipeActions=function(){if(o.s.enableSwipes&&$.fn.swipe&&typeof($.fn.swipe)==='function'){o.$pane.swipe({swipeStatus:function(event,phase,direction,distance,duration,fingers){if(phase=='end'){if(direction=='left'){o.toNext();}else if(direction=='right'){o.toPrev();}}},allowPageScroll:\"vertical\",excludedElements:''});}}\no.init();return o;}"; var mod_pagespeed_cmR1ZfbOtN = "jQuery(function($){if(typeof(PiSlider)==='function'){$('.pi-slider').each(function(){var slider=new PiSlider($(this),{debug:0,preload:$(this).data('sliderPreloader')!==undefined?$(this).data('sliderPreloader'):1,preloadDelay:$(this).data('sliderPreloaderDelay')!==undefined?$(this).data('sliderPreloaderDelay'):1000,circular:$(this).data('sliderCircular')!==undefined?$(this).data('sliderCircular'):1,enableSwipes:$(this).data('sliderSwipes')!==undefined?$(this).data('sliderSwipes'):1,enablePagination:$(this).data('sliderPagination')!==undefined?$(this).data('sliderPagination'):1,enableArrows:$(this).data('sliderArrows')!==undefined?$(this).data('sliderArrows'):1,enableKeys:$(this).data('sliderKeys')!==undefined?$(this).data('sliderKeys'):1,autoplayDelay:$(this).data('sliderAutoplayDelay')!==undefined?$(this).data('sliderAutoplayDelay'):0,action:$(this).data('sliderAction')});});}});"; var mod_pagespeed_QMUy0BpXEc = "(function($){\"use strict\";var activeClass=\"pi-active\";var Tab=function(element){this.element=$(element)}\nTab.prototype.show=function(){var $this=this.element\nvar $ul=$this.closest('ul:not(.dropdown-menu)')\nvar selector=$this.attr('data-target')\nif(!selector){selector=$this.attr('href')\nselector=selector&&selector.replace(/.*(?=#[^\\s]*$)/,'')}if($this.parent('li').hasClass(activeClass))return\nvar previous=$ul.find('.'+activeClass+':last a')[0]\nvar e=$.Event('show.bs.tab',{relatedTarget:previous})\n$this.trigger(e)\nif(e.isDefaultPrevented())return\nvar $target=$(selector)\nthis.activate($this.parent('li'),$ul)\nthis.activate($target,$target.parent(),function(){$this.trigger({type:'shown.bs.tab',relatedTarget:previous})})}\nTab.prototype.activate=function(element,container,callback){var $active=container.find('> .'+activeClass)\nvar transition=callback&&$.support.transition&&$active.hasClass('fade')\nfunction next(){$active.removeClass(activeClass).find('> .dropdown-menu > .'+activeClass).removeClass(activeClass)\nelement.addClass(activeClass)\nif(transition){element[0].offsetWidth\nelement.addClass('in')}else{element.removeClass('fade')}if(element.parent('.dropdown-menu')){element.closest('li.dropdown').addClass(activeClass)}callback&&callback()}transition?$active.one($.support.transition.end,next).emulateTransitionEnd(150):next()\n$active.removeClass('in')}\nvar old=$.fn.tab\n$.fn.tab=function(option){return this.each(function(){var $this=$(this)\nvar data=$this.data('bs.tab')\nif(!data)$this.data('bs.tab',(data=new Tab(this)))\nif(typeof option=='string')data[option]()})}\n$.fn.tab.Constructor=Tab\n$.fn.tab.noConflict=function(){$.fn.tab=old\nreturn this}\n$(document).on('click.bs.tab.data-api','[data-toggle=\"tab\"], [data-toggle=\"pill\"]',function(e){e.preventDefault()\n$(this).tab('show')})})(window.jQuery);"; var mod_pagespeed_YMygLUXKX2 = "jQuery(function($){if($.fn.tab){var $nav=$('.pi-tabs-navigation a');$nav.click(function(e){$(this).tab('show');e.preventDefault();});$('.pi-tabs-vertical').each(function(){var $parent=$(this),$nav=$parent.find('.pi-tabs-navigation'),$content=$parent.find('.pi-tabs-content'),navHeight=$nav.height();$content.css({minHeight:Math.abs(navHeight)+1});});$('a.pi-tab-link').click(function(){if($.fn.scrollTo){var hash=$(this).get(0).hash,$el=$(hash);if($el.length){$el=$el.eq(0);$.scrollTo($el.parent());}}});if($nav.length){$(window).on('hashchange',function(){checkActivatedTab();});checkActivatedTab();}function checkActivatedTab(){var hash=window.location.hash,$tabToShow=$('ul.pi-tabs-navigation a[href=\"'+hash+'\"]');if($el.length){hash&&$tabToShow.tab('show');}}}});"; var mod_pagespeed_j_24gmhOzt = "jQuery(function($){var $b=$('body'),cls={changed:'pi-form-control-changed',focused:'pi-form-control-focused',withIcon:'pi-input-with-icon'};$b.delegate('.form-control','keyup',function(){var $el=$(this),val=$el.val();if(val!=='placeholder'&&$.trim(val)){$el.addClass(cls.changed);$el.parents('form').addClass(cls.changed);}else{$el.removeClass(cls.changed);$el.parents('form').removeClass(cls.changed);}}).delegate('.form-control','focus',function(){var $el=$(this);$el.parents('form').addClass(cls.focused);$el.parents('.'+cls.withIcon).addClass(cls.focused);}).delegate('.form-control','blur',function(){var $el=$(this);$el.parents('form').removeClass(cls.focused);$el.parents('.'+cls.withIcon).removeClass(cls.focused);});});"; var mod_pagespeed_i43LZyvbQV = "jQuery(function($){if($.fn.iCheck){$('input.pi-stylish-checkbox, input.pi-stylish-radio').iCheck({checkboxClass:'icheckbox_square',radioClass:'iradio_square',focusClass:'focus',increaseArea:'20%'});}});"; var mod_pagespeed_EhNt1zYXf1 = "jQuery(function($){if($.fn.isotope){var $w=$(window);$w.load(function(){var $isotops=$('.isotope');$isotops.each(function(){var $el=$(this),defaultFilter=$el.data('isotopeDefaultFilter')||0,id=$el.attr('id'),mode=$el.data('isotopeMode')||'fitRows',tmt;$el.isotope({filter:defaultFilter,itemSelector:'.isotope-item',layoutMode:mode,animationOptions:{duration:400,queue:false}});$w.resize(function(){clearTimeout(tmt);tmt=setTimeout(function(){$el.isotope('layout');},150);});var $menu=$('[data-isotope-nav=\"'+id+'\"]');if($menu.length){$menu.find('a').click(function(e){var $link=$(this);if(!$link.hasClass('pi-active')){var selector=$link.attr('data-filter');$link.parents('ul').eq(0).find('.pi-active').removeClass('pi-active');$link.addClass('pi-active');$el.isotope({filter:selector});}e.preventDefault();});}$w.resize();});});}});"; var mod_pagespeed_z6yPc9VeE$ = "jQuery(function($){if($.fn.sSelect){$('.pi-stylish-select').sSelect({ddMaxHeight:'200px'});$('.newListSelected').append('')}});"; var mod_pagespeed_w552Giodno = "jQuery(function($){var $w=$(window),$sections=$('.pi-section-video'),resizeTMT;function adjust($el){var parent=$el.get(0).parent,parentW=parent.width(),parentH=parent.height(),parentAspectRatio=$el.get(0).parentAspectRatio=parentW/parentH,videoAspectRatio=$el.get(0).videoAspectRatio,videoInitialW=$el.get(0).videoInitialW,videoInitialH=$el.get(0).videoInitialH;if(parentAspectRatio>videoAspectRatio){$el.css({width:parentW+'px',height:'auto',top:(parentH-parentW/videoAspectRatio)/2+'px',left:0});}else{$el.css({width:'auto',height:parentH+'px',top:0,left:(parentW-parentH*videoAspectRatio)/2+'px'});}}$sections.each(function(){var $el=$(this);$el.get(0).parent=$el.parent();$el.get(0).parentAspectRatio=$el.get(0).parent.width()/$el.get(0).parent.height();$el.get(0).videoAspectRatio=$el.width()/$el.height();$el.get(0).videoInitialW=$el.width();$el.get(0).videoInitialH=$el.height();adjust($el);});$w.resize(function(){clearTimeout(resizeTMT);resizeTMT=setTimeout(function(){$sections.each(function(){var $el=$(this);adjust($el);});},100);});});"; var mod_pagespeed_nrhpH95Fqg = "(function($){\"use strict\";var Tooltip=function(element,options){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null\nthis.init('tooltip',element,options)}\nTooltip.DEFAULTS={animation:true,placement:'top',selector:false,template:'
',trigger:'hover focus',title:'',delay:0,html:false,container:false,size:'default'}\nTooltip.prototype.init=function(type,element,options){this.enabled=true\nthis.type=type\nthis.$element=$(element)\nthis.options=this.getOptions(options)\nvar triggers=this.options.trigger.split(' ')\nfor(var i=triggers.length;i--;){var trigger=triggers[i]\nif(trigger=='click'){this.$element.on('click.'+this.type,this.options.selector,$.proxy(this.toggle,this))}else if(trigger!='manual'){var eventIn=trigger=='hover'?'mouseenter':'focus'\nvar eventOut=trigger=='hover'?'mouseleave':'blur'\nthis.$element.on(eventIn+'.'+this.type,this.options.selector,$.proxy(this.enter,this))\nthis.$element.on(eventOut+'.'+this.type,this.options.selector,$.proxy(this.leave,this))}}this.options.selector?(this._options=$.extend({},this.options,{trigger:'manual',selector:''})):this.fixTitle()}\nTooltip.prototype.getDefaults=function(){return Tooltip.DEFAULTS}\nTooltip.prototype.getOptions=function(options){options=$.extend({},this.getDefaults(),this.$element.data(),options)\nif(options.delay&&typeof options.delay=='number'){options.delay={show:options.delay,hide:options.delay}}return options}\nTooltip.prototype.getDelegateOptions=function(){var options={}\nvar defaults=this.getDefaults()\nthis._options&&$.each(this._options,function(key,value){if(defaults[key]!=value)options[key]=value})\nreturn options}\nTooltip.prototype.enter=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.'+this.type)\nclearTimeout(self.timeout)\nself.hoverState='in'\nif(!self.options.delay||!self.options.delay.show)return self.show()\nself.timeout=setTimeout(function(){if(self.hoverState=='in')self.show()},self.options.delay.show)}\nTooltip.prototype.leave=function(obj){var self=obj instanceof this.constructor?obj:$(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.'+this.type)\nclearTimeout(self.timeout)\nself.hoverState='out'\nif(!self.options.delay||!self.options.delay.hide)return self.hide()\nself.timeout=setTimeout(function(){if(self.hoverState=='out')self.hide()},self.options.delay.hide)}\nTooltip.prototype.show=function(){var e=$.Event('show.bs.'+this.type)\nif(this.hasContent()&&this.enabled){this.$element.trigger(e)\nif(e.isDefaultPrevented())return\nvar $tip=this.tip()\nthis.setContent()\nthis.setSize()\nif(this.options.animation)$tip.addClass('fade')\nvar placement=typeof this.options.placement=='function'?this.options.placement.call(this,$tip[0],this.$element[0]):this.options.placement\nvar autoToken=/\\s?auto?\\s?/i\nvar autoPlace=autoToken.test(placement)\nif(autoPlace)placement=placement.replace(autoToken,'')||'top'\n$tip.detach().css({top:0,left:0,display:'block'}).addClass(placement)\nthis.options.container?$tip.appendTo(this.options.container):$tip.insertAfter(this.$element)\nvar pos=this.getPosition()\nvar actualWidth=$tip[0].offsetWidth\nvar actualHeight=$tip[0].offsetHeight\nif(autoPlace){var $parent=this.$element.parent()\nvar orgPlacement=placement\nvar docScroll=document.documentElement.scrollTop||document.body.scrollTop\nvar parentWidth=this.options.container=='body'?window.innerWidth:$parent.outerWidth()\nvar parentHeight=this.options.container=='body'?window.innerHeight:$parent.outerHeight()\nvar parentLeft=this.options.container=='body'?0:$parent.offset().left\nplacement=placement=='bottom'&&pos.top+pos.height+actualHeight-docScroll>parentHeight?'top':placement=='top'&&pos.top-docScroll-actualHeight<0?'bottom':placement=='right'&&pos.right+actualWidth>parentWidth?'left':placement=='left'&&pos.left-actualWidth
',trigger:'hover',size:size});}else{$el.tooltip({template:'
',trigger:'hover',size:size});}});}});"; var mod_pagespeed_sdbk3nZuc1 = ";(function($){'use strict';$.fn.fitVids=function(options){var settings={customSelector:null,ignore:null};if(!document.getElementById('fit-vids-style')){var head=document.head||document.getElementsByTagName('head')[0];var css='.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%;}';var div=document.createElement(\"div\");div.innerHTML='

x

';head.appendChild(div.childNodes[1]);}if(options){$.extend(settings,options);}return this.each(function(){var selectors=['iframe[src*=\"player.vimeo.com\"]','iframe[src*=\"youtube.com\"]','iframe[src*=\"youtube-nocookie.com\"]','iframe[src*=\"kickstarter.com\"][src*=\"video.html\"]','object','embed'];if(settings.customSelector){selectors.push(settings.customSelector);}var ignoreList='.fitvidsignore';if(settings.ignore){ignoreList=ignoreList+', '+settings.ignore;}var $allVideos=$(this).find(selectors.join(','));$allVideos=$allVideos.not('object object');$allVideos=$allVideos.not(ignoreList);$allVideos.each(function(){var $this=$(this);if($this.parents(ignoreList).length>0){return;}if(this.tagName.toLowerCase()==='embed'&&$this.parent('object').length||$this.parent('.fluid-width-video-wrapper').length){return;}if((!$this.css('height')&&!$this.css('width'))&&(isNaN($this.attr('height'))||isNaN($this.attr('width')))){$this.attr('height',9);$this.attr('width',16);}var height=(this.tagName.toLowerCase()==='object'||($this.attr('height')&&!isNaN(parseInt($this.attr('height'),10))))?parseInt($this.attr('height'),10):$this.height(),width=!isNaN(parseInt($this.attr('width'),10))?parseInt($this.attr('width'),10):$this.width(),aspectRatio=height/width;if(!$this.attr('id')){var videoID='fitvid'+Math.floor(Math.random()*999999);$this.attr('id',videoID);}$this.wrap('
').parent('.fluid-width-video-wrapper').css('padding-top',(aspectRatio*100)+'%');$this.removeAttr('height').removeAttr('width');});});};})(window.jQuery||window.Zepto);";