// source --> http://www.paintballidaho.com/wp-content/plugins/lazy-load-for-videos/assets/js/lazyload-all.js?ver=2.8.6 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=10)}([function(t,e,n){"use strict";var r=n(3),o=function(t){var e=window.jQuery||window.$;e&&e(document).ajaxStop((function(){t()}))},i=n(1);function a(t,e){var n=t;n.style.backgroundImage="url(".concat(e,")"),n.style.backgroundColor="#000",n.style.backgroundPosition="center center",n.style.backgroundRepeat="no-repeat"}function c(t){var e=function(t){var e=t&&t.parentNode&&t.parentNode.parentNode,n=e&&e.classList.contains("wp-has-aspect-ratio"),r=String(e.classList),o=r.substring(r.lastIndexOf("wp-embed-aspect-"),r.lastIndexOf(" ")).trim();if(n&&o){var i=o.replace("wp-embed-aspect-","").split("-"),a=Number(i[1])/Number(i[0]);return a.toString().split(".")[1].length>4?Math.round(1e4*a)/1e4:a}return.5625}(t);Object(i.a)("object, embed, iframe, .preview-lazyload, .lazy-load-div",t).forEach((function(t){var n=t,r=n.parentNode.clientWidth,o=Math.round(r*e);n.setAttribute("height","".concat(o,"px")),n.setAttribute("width","".concat(r,"px")),n.style.height="".concat(o,"px"),n.style.width="".concat(r,"px")}))}n.d(e,"d",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return s}));var u=function(t,e){for(var n=this,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:document;return[].slice.call(e.querySelectorAll(t))}},function(t,e,n){"use strict";function r(t){var e=document.createDocumentFragment(),n=document.createElement("div");for(n.innerHTML=t;n.childNodes[0];)e.appendChild(n.childNodes[0]);return e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){var e=window.jQuery||window.$;e&&e.fn&&e(window).bindFirst("load",t)}n.d(e,"b",(function(){return r})),e.a=function(){var t=window.jQuery||window.$;t&&t.fn&&(t.fn.bindFirst=function(e,n){var r=t(this);r.unbind(e,n),r.bind(e,n);var o=t._data(r[0]).events,i=o[e];i.unshift(i.pop()),o[e]=i})}},function(t,e,n){"use strict";function r(t){"complete"===document.readyState||"interactive"===document.readyState?t():document.addEventListener("DOMContentLoaded",t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(1);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}window.showThumb=function(t){var e=t[0];lazyload_video_settings.vimeo.loadthumbnail&&Object(i.a)('[id="'.concat(e.id,'"]')).forEach((function(t){Object(r.d)(t,e.thumbnail_large)}))};var l,d="preview-vimeo",s={buttonstyle:"",playercolour:"",loadthumbnail:!0};function f(t){var e=t,n=u(e.getAttribute("id").match(/[\w]+/),1)[0];e.setAttribute("id",n),e.innerHTML="",function(t,e){var n=Object(o.a)('');if(t.appendChild(n),lazyload_video_settings.vimeo.loadthumbnail){var a=t.getAttribute("data-video-thumbnail");if(a)Object(r.a)(Object(i.a)('[id="'.concat(e,'"]')),(function(t){return Object(r.d)(t,a)}));else{var c=document.createElement("script");c.src="".concat("https://vimeo.com/api/v2/video/".concat(e,".json"),".json?callback=showThumb"),t.parentNode.insertBefore(c,t.firstChild)}}if(lazyload_video_settings.vimeo.show_title){var u=t.getAttribute("data-video-title"),d=Object(o.a)('"));t.appendChild(d)}l.buttonstyle&&t.classList.add(l.buttonstyle)}(e,n)}function p(t){t.addEventListener("click",(function(t){var e=t.currentTarget;if(t.preventDefault(),"a"===e.tagName.toLowerCase()){var n=e.getAttribute("id");e.classList.remove(d);var r="";l.playercolour!==r&&(l.playercolour=l.playercolour.toString().replace(/[.#]/g,""),r="&color=".concat(l.playercolour));var i,a=Object(o.a)(''));e.parentNode.replaceChild(a,e)}}))}function b(){Object(i.a)(".".concat(d)).forEach((function(t){f(t),Object(r.c)(t.parentNode),p(t)}))}e.a=function(t){l=function(t){for(var e=1;e0&&(i.playlist=u.join(","));var l,d=s({},i,{},r);return d.t&&(d.start=function(t){if(Number(t))return Number(t);var e=0,n=[3600,60,1],r=t.match(/(?:(\d+)(?:h))?(?:(\d+)(?:m))?(?:(\d+)(?:s))?/);if(r)for(var o=1;o')).firstChild;i.addEventListener("load",(function(){120===i.clientWidth&&(n=n.replace("maxresdefault","0")),t.style.backgroundImage||Object(r.d)(t,n),i.parentNode.removeChild(i)})),document.body.appendChild(i)}function g(t){var e=t,n=m(e.getAttribute("href")),i=n.videoId,a=n.queryParams;e.innerHTML='");var c=Object(o.a)('');e.insertBefore(c,e.firstChild),p.buttonstyle&&e.classList.add(p.buttonstyle),Object(r.c)(e.parentNode),e.addEventListener("click",(function(t){var n=t.currentTarget;if(t.preventDefault(),"a"===n.tagName.toLowerCase()){n.classList.remove(b);var r=y({pluginOptions:p,videoId:i,urlOptions:a}),c=Object(o.a)(''));n.parentNode.replaceChild(c,n)}}))}function O(){var t=Object(i.a)("a.lazy-load-youtube");t.forEach(g),p.loadthumbnail&&Object(r.a)(t,(function(t){return h(t)}))}e.a=function(t){p=s({},v,{},t),Object(r.b)({load:O,pluginOptions:p,previewVideoSelector:".".concat(b)})}},,,,function(t,e,n){"use strict";n.r(e);n(11);var r=n(3),o=n(4),i=n(5),a=n(6);Object(o.a)((function(){Object(r.a)(),Object(i.a)(lazyload_video_settings.vimeo),Object(a.a)(lazyload_video_settings.youtube)}))},function(t,e,n){}]); // source --> http://www.paintballidaho.com/wp-content/themes/construction/assets/js/theme.js?ver=5.3.2 jQuery(document).ready(function() { "use strict"; /** * Skip link focus fix */ ( function() { var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1, is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1, is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1; if ( ( is_webkit || is_opera || is_ie ) && document.getElementById && window.addEventListener ) { window.addEventListener( 'hashchange', function() { var element = document.getElementById( location.hash.substring( 1 ) ); if ( element ) { if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) element.tabIndex = -1; element.focus(); } }, false ); } })(); /** * Responsive Videos */ ( function() { jQuery('.site-content').fitVids(); })(); /** * Initialise Menu Toggle */ ( function() { var header_h = jQuery('.site-header').height(); var header_widget_h = jQuery('.header-widget').height(); jQuery('.wpc-menu li.menu-item-has-children').each( function() { jQuery(this).prepend(''); }); jQuery('#nav-toggle').click( function () { jQuery('.main-navigation .wpc-menu').toggleClass("wpc-menu-mobile"); jQuery('.header-widget').toggleClass("header-widget-mobile"); jQuery('.header-widget-mobile').css('top', header_h); jQuery('.wpc-menu-mobile').css('top', header_h + header_widget_h + 20); } ); jQuery('.nav-toggle-subarrow, .nav-toggle-subarrow .nav-toggle-subarrow').click( function () { jQuery(this).parent().toggleClass("nav-toggle-dropdown"); } ); } )(); /** * Initialise transparent header */ ( function() { var site_header_h = jQuery('.site-header').height(); var logo_h = jQuery('.site-branding img').height(); var nav_h = jQuery('.wpc-menu').height() - 30; var page_header = jQuery('.page-header-wrap'); var page_header_pt = parseInt(page_header.css('padding-top'), 10); //alert(page_header_pt); //alert(nav_h); // Vertical Align Logo //jQuery('.site-branding').css('padding-top', (site_header_h - logo_h) / 2 + 'px'); // Single Page transparent header. if ( jQuery('body').hasClass('header-transparent') && page_header.length ) { page_header.css('padding-top', page_header_pt + site_header_h + 'px'); } })(); /** * Parallax Section */ ( function() { var 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 (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows()); } }; var testMobile = isMobile.any(); jQuery('.wpc_row_parallax').each(function() { var $this = jQuery(this); var bg = $this.find('.wpc_parallax_bg'); jQuery(bg).css('backgroundImage', 'url(' + $this.data('bg') + ')'); if (testMobile == null) { jQuery(bg).addClass('not-mobile'); jQuery(bg).removeClass('is-mobile'); jQuery(bg).parallax('50%', 0.4); } else { //jQuery(bg).css('backgroundAttachment', 'inherit'); jQuery(bg).removeClass('not-mobile'); jQuery(bg).addClass('is-mobile'); } }); })(); /** * Call magnificPopup when use */ ( function() { // WordPress gallery lightbox jQuery('.gallery-lightbox').magnificPopup({ delegate: '.gallery-item a', type:'image', gallery:{ enabled:true }, zoom: { enabled:true } }); jQuery('.popup-video').magnificPopup({ //disableOn: 700, type: 'iframe', mainClass: 'mfp-fade', removalDelay: 160, preloader: false, fixedContentPos: false, zoom: { enabled:true } }); })(); /** * Fix slider padding issue. */ ( function() { jQuery('.rev_slider_wrapper').parents('.vc_row').find('.vc_col-sm-12').css({"padding-left": "0px","padding-right": "0px"}); })(); /** * Back To Top */ ( function() { jQuery('#btt').fadeOut(); jQuery(window).scroll(function() { if(jQuery(this).scrollTop() != 0) { jQuery('#btt').fadeIn(); } else { jQuery('#btt').fadeOut(); } }); jQuery('#btt').click(function() { jQuery('body,html').animate({scrollTop:0},800); }); })(); /** * Fixed Header + Navigation. */ ( function() { if ( header_fixed_setting.fixed_header == '1' ) { var header_fixed = jQuery('.fixed-on'); var p_to_top = header_fixed.position().top; jQuery(window).scroll(function(){ if(jQuery(document).scrollTop() > p_to_top) { header_fixed.addClass('header-fixed'); header_fixed.stop().animate({},300); if ( jQuery("body").hasClass('header-transparent') ) { // No Thing } else { jQuery('.site-content').css('padding-top', header_fixed.height()); } } else { header_fixed.removeClass('header-fixed'); header_fixed.stop().animate({},300); if (jQuery("body").hasClass('header-transparent') ) { // No Thing } else { jQuery('.site-content').css('padding-top', '0'); } } }); } })(); }); // source --> http://www.paintballidaho.com/wp-includes/js/wp-embed.min.js?ver=5.3.2 !function(d,l){"use strict";var e=!1,o=!1;if(l.querySelector)if(d.addEventListener)e=!0;if(d.wp=d.wp||{},!d.wp.receiveEmbedMessage)if(d.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){var r,a,i,s,n,o=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),c=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]');for(r=0;r http://www.paintballidaho.com/wp-content/plugins/js_composer/assets/js/dist/js_composer_front.min.js?ver=6.1 /*! * WPBakery Page Builder v6.0.0 (https://wpbakery.com) * Copyright 2011-2019 Michael M, WPBakery * License: Commercial. More details: http://go.wpbakery.com/licensing */ // jscs:disable // jshint ignore: start document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",function(){for(var prefix=["-webkit-","-moz-","-ms-","-o-",""],i=0;i=$tabs.tabs("length")&&(index=0),$tabs.tabs("select",index)):(index=$tabs.tabs("option","active"),length=$tabs.find(".wpb_tab").length,index=jQuery(this).parent().hasClass("wpb_next_slide")?length<=index+1?0:index+1:index-1<0?length-1:index-1,$tabs.tabs("option","active",index))})})}}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(index){var $tabs,active_tab,collapsible,$this=jQuery(this);$this.attr("data-interval"),collapsible=!1===(active_tab=!isNaN(jQuery(this).data("active-tab"))&&0 div > h3",autoHeight:!1,heightStyle:"content",active:active_tab,collapsible:collapsible,navigation:!0,activate:vc_accordionActivate,change:function(event,ui){void 0!==jQuery.fn.isotope&&ui.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(ui.newPanel)}}),!0===$this.data("vcDisableKeydown")&&($tabs.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var layout_modes={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var $container=jQuery(this),$thumbs=$container.find(".wpb_thumbnails"),layout_mode=$thumbs.attr("data-layout-mode");$thumbs.isotope({itemSelector:".isotope-item",layoutMode:void 0===layout_modes[layout_mode]?"fitRows":layout_modes[layout_mode]}),$container.find(".categories_filter a").data("isotope",$thumbs).on("click",function(e){e&&e.preventDefault&&e.preventDefault();var $thumbs=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),$thumbs.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).bind("load resize",function(){$thumbs.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function($parent){($parent?$parent.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var $this=jQuery(this);if(!0!==$this.data("carousel_enabled")&&$this.is(":visible")){$this.data("carousel_enabled",!0);getColumnsCount(jQuery(this));jQuery(this).hasClass("columns_count_1")&&900;var carousel_li=jQuery(this).find(".wpb_thumbnails-fluid li");carousel_li.css({"margin-right":carousel_li.css("margin-left"),"margin-left":0});var fluid_ul=jQuery(this).find("ul.wpb_thumbnails-fluid");fluid_ul.width(fluid_ul.width()+300),jQuery(window).on("resize",function(){screen_size!=(screen_size=getSizeName())&&window.setTimeout(function(){location.reload()},20)})}})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(index){var $imagesGrid,this_element=jQuery(this);if(this_element.hasClass("wpb_slider_nivo")){var sliderTimeout=1e3*this_element.attr("data-interval");0===sliderTimeout&&(sliderTimeout=9999999999),this_element.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:sliderTimeout,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"})}else this_element.hasClass("wpb_image_grid")&&(jQuery.fn.imagesLoaded?$imagesGrid=this_element.find(".wpb_image_grid_ul").imagesLoaded(function(){$imagesGrid.isotope({itemSelector:".isotope-item",layoutMode:"fitRows"})}):this_element.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows"}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1')}),vc_initVideoBackgrounds(),callSkrollInit=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),$(".vc_parallax-inner").remove(),$("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),$("[data-vc-parallax]").each(function(){var skrollrSize,skrollrStart,$parallaxElement,parallaxImage,youtubeId;callSkrollInit=!0,"on"===$(this).data("vcParallaxOFade")&&$(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),skrollrSize=100*$(this).data("vcParallax"),($parallaxElement=$("
").addClass("vc_parallax-inner").appendTo($(this))).height(skrollrSize+"%"),parallaxImage=$(this).data("vcParallaxImage"),(youtubeId=vcExtractYoutubeId(parallaxImage))?insertYoutubeVideoAsBackground($parallaxElement,youtubeId):void 0!==parallaxImage&&$parallaxElement.css("background-image","url("+parallaxImage+")"),skrollrStart=-(skrollrSize-100),$parallaxElement.attr("data-bottom-top","top: "+skrollrStart+"%;").attr("data-top-bottom","top: 0%;")}),callSkrollInit&&window.skrollr&&(vcSkrollrOptions={forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}},window.vcParallaxSkroll=skrollr.init(vcSkrollrOptions),window.vcParallaxSkroll)}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(el){for(var find=!1,i=1;!1===find;){if(el.hasClass("columns_count_"+i))return find=!0,i;i++}});var screen_size=getSizeName();function getSizeName(){var screen_w=jQuery(window).width();return 1170
').find(".inner");new YT.Player($container[0],{width:"100%",height:"100%",videoId:youtubeId,playerVars:{playlist:youtubeId,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onReady:function(event){event.target.mute().setLoop(!0)}}}),vcResizeVideoBackground($element),jQuery(window).bind("resize",function(){vcResizeVideoBackground($element)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function($element){var iframeW,iframeH,marginLeft,marginTop,containerW=$element.innerWidth(),containerH=$element.innerHeight();containerW/containerH<16/9?(iframeW=containerH*(16/9),iframeH=containerH,marginLeft=-Math.round((iframeW-containerW)/2)+"px",marginTop=-Math.round((iframeH-containerH)/2)+"px"):(iframeH=(iframeW=containerW)*(9/16),marginTop=-Math.round((iframeH-containerH)/2)+"px",marginLeft=-Math.round((iframeW-containerW)/2)+"px"),iframeW+="px",iframeH+="px",$element.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:marginLeft,marginTop:marginTop,width:iframeW,height:iframeH})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(url){if(void 0===url)return!1;var id=url.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==id&&id[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var $=window.jQuery,$wpbGmapsWidget=$(".wpb_gmaps_widget");$wpbGmapsWidget.on("click",function(){$("iframe",this).css("pointer-events","auto")}),$wpbGmapsWidget.on("mouseleave",function(){$("iframe",this).css("pointer-events","none")}),$(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(hoverBox){hoverBox.each(function(){var $this=jQuery(this),perspective=4*$this.width()+"px";$this.css("perspective",perspective)})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(hoverBox){hoverBox.each(function(){var $this=jQuery(this),hoverBoxInner=$this.find(".vc-hoverbox-inner");hoverBoxInner.css("min-height",0);var frontHeight=$this.find(".vc-hoverbox-front-inner").outerHeight(),backHeight=$this.find(".vc-hoverbox-back-inner").outerHeight(),hoverBoxHeight=backHeight http://www.paintballidaho.com/wp-content/plugins/js_composer/assets/lib/vc_waypoints/vc-waypoints.min.js?ver=6.1 /*! * WPBakery Page Builder v6.0.0 (https://wpbakery.com) * Copyright 2011-2019 Michael M, WPBakery * License: Commercial. More details: http://go.wpbakery.com/licensing */ // jscs:disable // jshint ignore: start /*! Waypoints - 4.0.1 Copyright © 2011-2016 Caleb Troughton Licensed under the MIT license. https://github.com/imakewebthings/waypoints/blob/master/licenses.txt */ !function(){"use strict";var e=0,r={};function i(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=i.Adapter.extend({},i.defaults,t),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&(this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),r[this.key]=this,e+=1}i.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},i.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete r[this.key]},i.prototype.disable=function(){return this.enabled=!1,this},i.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(t){var e=[];for(var i in r)e.push(r[i]);for(var o=0,n=e.length;oo.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r];if(null!==s.triggerPoint){var a=o.oldScroll=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},n.prototype.innerHeight=function(){return this.element==this.element.window?y.viewportHeight():this.adapter.innerHeight()},n.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},n.prototype.innerWidth=function(){return this.element==this.element.window?y.viewportWidth():this.adapter.innerWidth()},n.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o=r.oldScroll,p=!l&&!h,!w&&(l&&h)?(c.queueTrigger(r.backward),o[c.group.id]=c.group):!w&&p?(c.queueTrigger(r.forward),o[c.group.id]=c.group):w&&r.oldScroll>=c.triggerPoint&&(c.queueTrigger(r.forward),o[c.group.id]=c.group)}}return y.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},n.findOrCreateByElement=function(t){return n.findByElement(t)||new n(t)},n.refreshAll=function(){for(var t in o)o[t].refresh()},n.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){t&&t(),n.refreshAll()},y.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},y.Context=n}(),function(){"use strict";function s(t,e){return t.triggerPoint-e.triggerPoint}function a(t,e){return e.triggerPoint-t.triggerPoint}var e={vertical:{},horizontal:{}},i=window.VcWaypoint;function o(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),e[this.axis][this.name]=this}o.prototype.add=function(t){this.waypoints.push(t)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t],i="up"===t||"left"===t;e.sort(i?a:s);for(var o=0,n=e.length;o