function avadaLightBoxInitializeLightbox(){var e;if(window.$ilInstances)for(e=0;e a").each(function(){var e=this.getAttribute("data-rel");e==null&&(e="iLightbox[tiled-gallery-"+n+"]",jQuery(this).attr("data-rel",e)),-1===jQuery.inArray(e,t)&&t.push(e)}),n++}),jQuery.each(t,function(e,t){1===jQuery('[data-rel="'+t+'"], [rel="'+t+'"]').length?window.$ilInstances.push(jQuery('[data-rel="'+t+'"], [rel="'+t+'"]').iLightBox(window.avadaLightBox.prepare_options(t,!1))):window.$ilInstances.push(jQuery('[data-rel="'+t+'"], [rel="'+t+'"]').iLightBox(window.avadaLightBox.prepare_options(t)))}),e.find('a[rel="prettyPhoto"], a[data-rel="prettyPhoto"], a[rel="iLightbox"], a[data-rel="iLightbox"]').each(function(){var e=jQuery(this).attr("href");""!==e&&0[0]!==e&&window.$ilInstances.push(jQuery(this).iLightBox(window.avadaLightBox.prepare_options("single")))}),e.find("#lightbox-link, .lightbox-link, .fusion-lightbox-link").each(function(){var e=jQuery(this).attr("href");""!==e&&0[0]!==e&&window.$ilInstances.push(jQuery(this).iLightBox(window.avadaLightBox.prepare_options("single")))}),fusionLightboxVars.lightbox_post_images&&e.find(".type-post .post-content a, #posts-container .post .post-content a, .fusion-blog-shortcode .post .post-content a, .type-avada_portfolio .project-content a, .fusion-portfolio .fusion-portfolio-wrapper .fusion-post-content, .summary-container .post-content a, .woocommerce-tabs .post-content a").has("img").each(function(){var e,t=["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","svg","mp4","ogg","webm","webp"],n=0;for(e=0;e'),jQuery("head title").after(''),jQuery("head title").after(''),jQuery("head title").after(''),jQuery("head title").after(''))}),cssua.ua.mobile&&jQuery(".fusion-social-network-icon, .fusion-facebook-sharer-icon, .fusion-social-networks span a").each(function(e,t){0===t.href.indexOf("https://www.facebook.com/sharer.php")&&t.setAttribute("href",t.href.replace("https://www.facebook.com/sharer.php","https://m.facebook.com/sharer.php"))})}) ;(function(){var t=this.jQuery||window.jQuery,e=t(window);t.fn.stick_in_parent=function(n){var s,o,i,a,r,c,l,d,u,h,m,f,p,g,v,b,j,y,_,w;for(n==null&&(n={}),s=n.sticky_class,u=n.inner_scrolling,g=n.recalc_every,a=n.parent,o=n.offset_top,i=n.spacer,c=n.bottoming,p=0[0]!==n.transition_offset&&parseFloat(n.transition_offset),m=0[0]!==n.observer&&n.observer,r=0[0]!==n.scroll_transition&&parseFloat(n.scroll_transition),v=0[0]!==n.clone&&n.clone,h=!1,adminBarHeight=jQuery("#wpadminbar").length?jQuery("#wpadminbar").height():0,o==null&&(o=0),"fusion-container-stuck"===s&&"object"==typeof fusion&&"function"==typeof fusion.getHeight&&(o=fusion.getHeight(o)+adminBarHeight),a==null&&(a=0[0]),u==null&&(u=!0),s==null&&(s="is_stuck"),f=t(document),c==null&&(c=!0),j=function(d,b,j,_,O,x,C,E){if(!d.data("sticky_kit")){if(d.attr("data-sticky_kit",!0),R=f.height(),S=d.parent(),a!=null&&(S=S.closest(a)),!S.length)throw"failed to find stick parent";if(M=!1,T=!1,i!=null?k=i&&d.closest(i):v?(k=d.clone(!1)).addClass("fusion-sticky-spacer").removeClass("fusion-sticky-transition"):k=jQuery('
'),k&&k.css("position",d.css("position")),overlap=function(e){"object"==typeof e&&"object"==typeof e[0]&&(e[0].isIntersecting?d.removeClass("fusion-sticky-transition"):d.addClass("fusion-sticky-transition"))},m&&(I=new IntersectionObserver(overlap,{rootMargin:"0px",threshold:1})),(D=function(){var e,t,n,a;if(!E)return R=f.height(),t=parseInt(S.css("border-top-width"),10),n=parseInt(S.css("padding-top"),10),b=parseInt(S.css("padding-bottom"),10),j=S.offset().top+t+n,_=S.height(),M&&(M=!1,T=!1,i==null&&(d.next(".fusion-sticky-spacer").length?k=d.next(".fusion-sticky-spacer"):d.insertAfter(k)),d.css({position:"",top:"",width:"",bottom:""}).removeClass(s),a=!0),O=d.offset().top-(parseInt(d.css("margin-top"),10)||0)-o,x=d.outerHeight(!0),C=d.css("float"),k&&(e={width:d.outerWidth(!0),display:d.css("display"),"vertical-align":d.css("vertical-align"),float:C},v||(e.height=x),k.css(e)),a?F():0[0]})(),x!==_){if(L=0[0],A=o,z=g,F=function(){var t,n,a,l,h,v;if(!E)return l=!1,z!=null&&0>=(z-=1)&&(z=g,D(),l=!0),z==null||l||f.height()===R||(D(),l=!0),t=e.scrollTop(),L!=null&&(h=t-L),L=t,M?(c&&(n=t+x+A>_+j,T&&!n&&(T=!1,d.css({position:"fixed",bottom:"",top:A}).trigger("sticky_kit:unbottom"))),tv&&(T||(A-=h,A=Math.max(v-x,A),A=Math.min(o,A),M&&d.css({top:A+"px"}))))):t>O&&(M=!0,(a={position:"fixed",top:A}).width="border-box"===d.css("box-sizing")?d.outerWidth()+"px":d.width()+"px",d.css(a).addClass(s),i==null&&(d.after(k),"left"!==C&&"right"!==C||k.append(d)),d.trigger("sticky_kit:stick"),"fusion-container-stuck"===s&&e.trigger("fusion-sticky-change")),!1===p||m||(!d.is(".fusion-sticky-transition")&&t-O>p?(d.addClass("fusion-sticky-transition"),"fusion-container-stuck"===s&&e.trigger("fusion-sticky-transition-change")):d.is(".fusion-sticky-transition")&&t-O<=p&&(d.removeClass("fusion-sticky-transition"),"fusion-container-stuck"===s&&e.trigger("fusion-sticky-transition-change"))),!1!==r&&0!==r&&(0>h?d.hasClass("fusion-scrolling-up")||(d.addClass("fusion-scrolling-up").removeClass("fusion-scrolling-down"),e.trigger("fusion-sticky-scroll-change")):d.hasClass("fusion-scrolling-down")||(d.addClass("fusion-scrolling-down").removeClass("fusion-scrolling-up"),e.trigger("fusion-sticky-scroll-change")),!d.is(".fusion-sticky-scroll-transition")&&t-O>r?(d.addClass("fusion-sticky-scroll-transition"),"fusion-container-stuck"===s&&e.trigger("fusion-sticky-scroll-change")):d.is(".fusion-sticky-scroll-transition")&&t-O<=r&&(d.removeClass("fusion-sticky-scroll-transition"),"fusion-container-stuck"===s&&e.trigger("fusion-sticky-scroll-change"))),M&&c&&(n==null&&(n=t+x+A>_+j),!T&&n)?(T=!0,"static"===S.css("position")&&S.css({position:"relative"}),d.css({position:"absolute",bottom:b,top:"auto"}).trigger("sticky_kit:bottom")):0[0]},N=function(){return D(),F()},l=function(e){var t;"object"==typeof fusion&&"function"==typeof fusion.getHeight&&(o=0[0]===n.offset_top?0:n.offset_top,"fusion-container-stuck"===s?o=fusion.getHeight(o)+adminBarHeight:"fusion-sidebar-stuck"===s&&jQuery(".fusion-tb-header").length&&"function"==typeof fusionGetStickyOffset&&(t=fusionGetStickyOffset())&&(o=t+adminBarHeight+50),A=o),N(),0[0]!==e&&"string"==typeof e.type&&"resize"===e.type&&"function"==typeof H&&H()},"object"==typeof fusion&&"function"==typeof fusion.debounce)var k,A,S,M,F,T,z,D,N,L,R,P,I,H=fusion.debounce(l,350);return w=function(e){h||(h=!0,l(e),H(),setTimeout(function(){h=!1},100))},y=function(){m&&I.observe(d.next()[0])},P=function(){if(E=!0,e.off("touchmove",F),e.off("scroll",F),e.off("resize",l),t(document.body).off("sticky_kit:recalc",N),"fusion-container-stuck"===s&&e.trigger("fusion-sticky-change"),d.off("sticky_kit:detach",P),d.removeData("sticky_kit"),d.removeAttr("data-sticky_kit"),d.css({position:"",bottom:"",top:"",width:""}),d.removeClass("fusion-sticky-transition"),S.position("position",""),M)return i==null&&("left"!==C&&"right"!==C||d.insertAfter(k),k.remove()),d.removeClass(s);d.next(".fusion-sticky-spacer").length&&d.next(".fusion-sticky-spacer").remove()},k&&k.detach(),"fusion-sidebar-stuck"===s&&jQuery(".fusion-tb-header").length&&e.on("fusion-sticky-change fusion-sticky-scroll-change fusion-sticky-transition-change",w),e.on("touchmove",F),e.on("scroll",F),e.on("resize",l),t(document.body).on("sticky_kit:recalc",N),d.on("sticky_kit:detach",P),d.on("sticky_kit:stick",y),setTimeout(F,0)}}},d=0,b=this.length;d a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",o),this.refresh(),this.process()}function n(n){return this.each(function(){var o=e(this),s=o.data("bs.scrollspy"),i="object"==typeof n&&n;s||o.data("bs.scrollspy",s=new t(this,i)),"string"==typeof n&&s[n]()})}t.VERSION="3.3.2",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t,n="offset",s=0;e.isWindow(this.$scrollElement[0])||(n="position",s=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t=this,this.$body.find(this.selector).map(function(){var i=e(this),o=i.data("target")||i.attr("href"),t=/^#./.test(o)&&e(o);return t&&t.length&&t.is(":visible")&&[[t[n]().top+s,o]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,n=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),a=this.options.offset+i-this.$scrollElement.height(),t=this.offsets,s=this.targets,o=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n>=a)return o!=(e=s[s.length-1])&&this.activate(e);if(o&&n=t[e]&&(!t[e+1]||n<=t[e+1])&&this.activate(s[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var s=window.location.href.split("#"),o="/"==s[0].charAt(s[0].length-1)?s[0]:s[0]+"/",i=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"],'+this.selector+'[href="'+o+t+'"]',n=e(i).parents("li").addClass("current-menu-item");n.parent(".sub-menu").length&&(n=n.closest("li.fusion-dropdown-menu").addClass("current-menu-item")),n.trigger("activate.bs.scrollspy"),n&&e(this.selector).blur()},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".current-menu-item").removeClass("current-menu-item"),e(this.selector).parentsUntil(this.options.target,".current-menu-parent").removeClass("current-menu-parent")};var s=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=s,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery) ;jQuery(document).ready(function(){jQuery(".fusion-footer .fusion-footer-widget-area .fusion-column").each(function(){jQuery(this).is(":empty")&&jQuery(this).css("margin-bottom","0")}),jQuery(".fusion-social-links-footer").find(".fusion-social-networks").children().length||(jQuery(".fusion-social-links-footer").hide(),jQuery(".fusion-footer-copyright-area .fusion-copyright-notice").css("padding-bottom","0"))}) ;function avadaAddQuantityBoxes(e){var t,n=!1;e||(e=".qty"),(t=jQuery("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").find(e)).length&&(jQuery.each(t,function(e,t){"date"===jQuery(t).prop("type")||"hidden"===jQuery(t).prop("type")||jQuery(t).parent().parent().hasClass("tribe-block__tickets__item__quantity__number")||jQuery(t).parent().hasClass("buttons_added")||(jQuery(t).parent().addClass("buttons_added").prepend(''),jQuery(t).addClass("input-text").after(''),n=!0)}),n&&(jQuery("input"+e+":not(.product-quantity input"+e+")").each(function(){var e=parseFloat(jQuery(this).attr("min"));e&&0s)?n.val(s):n.val(t+parseFloat(i)):o&&(o==t||t