/*!
* WPBakery Page Builder v7.6.0 (https://wpbakery.com)
* Copyright 2011-2024 Michael M, WPBakery
* License: Commercial. More details: http://go.wpbakery.com/licensing
*/
	// jscs:disable
	// jshint ignore: start 
!function(a){var r,t,e,n;function o(n,i){var o=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=a(this),e=t.data("vc.accordion");e||(e=new r(t,a.extend(!0,{},i)),t.data("vc.accordion",e)),"string"==typeof n&&e[n].apply(e,o)})}(r=function(t,e){this.$element=t,this.activeClass="vc_active",this.animatingClass="vc_animating",this.useCacheFlag=void 0,this.$target=void 0,this.$targetContent=void 0,this.selector=void 0,this.$container=void 0,this.animationDuration=void 0,this.index=0}).transitionEvent=function(){var t,e=document.createElement("vcFakeElement"),n={transition:"transitionend",MSTransition:"msTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(void 0!==e.style[t])return n[t]},r.emulateTransitionEnd=function(t,e){var n=!1;e=e||250,t.one(r.transitionName,function(){n=!0}),setTimeout(function(){n||t.trigger(r.transitionName)},e)},r.DEFAULT_TYPE="collapse",r.transitionName=r.transitionEvent(),r.prototype.controller=function(t){var e=this.$element,n=t;"string"==typeof(n=void 0===(n="string"!=typeof n?e.data("vcAction")||this.getContainer().data("vcAction"):n)?r.DEFAULT_TYPE:n)&&o.call(e,n,t)},r.prototype.isCacheUsed=function(){var t=this;return void 0===this.useCacheFlag&&(this.useCacheFlag=function(){return!1!==t.$element.data("vcUseCache")}()),this.useCacheFlag},r.prototype.getSelector=function(){var e=this.$element,t=function(){var t=e.data("vcTarget");return t=t||e.attr("href")};return this.isCacheUsed()?(void 0===this.selector&&(this.selector=t()),this.selector):t()},r.prototype.findContainer=function(){var t=this.$element.closest(this.$element.data("vcContainer"));return t=t.length?t:a("body")},r.prototype.getContainer=function(){return this.isCacheUsed()?(void 0===this.$container&&(this.$container=this.findContainer()),this.$container):this.findContainer()},r.prototype.getTarget=function(){var e=this,n=e.getSelector(),t=function(){var t=e.getContainer().find(n);return t=t.length?t:e.getContainer().filter(n)};return this.isCacheUsed()?(void 0===this.$target&&(this.$target=t()),this.$target):t()},r.prototype.getTargetContent=function(){var t,e=this.getTarget();return this.isCacheUsed()?(void 0===this.$targetContent&&((t=e).data("vcContent")&&!(t=e.find(e.data("vcContent"))).length&&(t=e),this.$targetContent=t),this.$targetContent):e.data("vcContent")&&(t=e.find(e.data("vcContent"))).length?t:e},r.prototype.getTriggers=function(){var n=0;return this.getContainer().find("[data-vc-accordion]").each(function(){var t=a(this),e=t.data("vc.accordion");void 0===e&&(t.vcAccordion(),e=t.data("vc.accordion")),e&&e.setIndex&&e.setIndex(n++)})},r.prototype.setIndex=function(t){this.index=t},r.prototype.getIndex=function(){return this.index},r.prototype.triggerEvent=function(t,e){"string"==typeof t&&(t=a.Event(t),this.$element.trigger(t,e))},r.prototype.getActiveTriggers=function(){return this.getTriggers().filter(function(){var t=a(this).data("vc.accordion");return t.getTarget().hasClass(t.activeClass)})},r.prototype.changeLocationHash=function(){var t,e=this.getTarget();(t=e.length?e.attr("id"):t)&&(history.pushState?history.pushState(null,null,"#"+t):location.hash="#"+t)},r.prototype.isActive=function(){return this.getTarget().hasClass(this.activeClass)},r.prototype.getAnimationDuration=function(){var t=this,e=function(){return void 0===r.transitionName?"0s":t.getTargetContent().css("transition-duration").split(",")[0]};return this.isCacheUsed()?(void 0===this.animationDuration&&(this.animationDuration=e()),this.animationDuration):e()},r.prototype.getAnimationDurationMilliseconds=function(){var t=this.getAnimationDuration();return"ms"===t.substr(-2)?parseInt(t):"s"===t.substr(-1)?Math.round(1e3*parseFloat(t)):void 0},r.prototype.isAnimated=function(){return 0<parseFloat(this.getAnimationDuration())},r.prototype.show=function(e){var n=this,i=n.getTarget(),o=n.getTargetContent();n.isActive()||(n.isAnimated()?(n.triggerEvent("beforeShow.vc.accordion"),i.queue(function(t){o.one(r.transitionName,function(){i.removeClass(n.animatingClass),o.attr("style",""),n.triggerEvent("afterShow.vc.accordion",e)}),r.emulateTransitionEnd(o,n.getAnimationDurationMilliseconds()+100),t()}).queue(function(t){o.attr("style",""),o.css({position:"absolute",visibility:"hidden",display:"block"});var e=o.height();o.data("vcHeight",e),o.attr("style",""),t()}).queue(function(t){o.height(0),o.css({"padding-top":0,"padding-bottom":0}),t()}).queue(function(t){i.addClass(n.animatingClass),i.addClass(n.activeClass),("object"==typeof e&&e.hasOwnProperty("changeHash")&&e.changeHash||void 0===e)&&n.changeLocationHash(),n.triggerEvent("show.vc.accordion",e),t()}).queue(function(t){var e=o.data("vcHeight");o.animate({height:e},{duration:n.getAnimationDurationMilliseconds(),complete:function(){o.data("events")||o.attr("style","")}}),o.css({"padding-top":"","padding-bottom":""}),t()})):(i.addClass(n.activeClass),n.triggerEvent("show.vc.accordion",e)))},r.prototype.hide=function(e){var n=this,i=n.getTarget(),o=n.getTargetContent();n.isActive()&&(n.isAnimated()?(n.triggerEvent("beforeHide.vc.accordion"),i.queue(function(t){o.one(r.transitionName,function(){i.removeClass(n.animatingClass),o.attr("style",""),n.triggerEvent("afterHide.vc.accordion",e)}),r.emulateTransitionEnd(o,n.getAnimationDurationMilliseconds()+100),t()}).queue(function(t){i.addClass(n.animatingClass),i.removeClass(n.activeClass),n.triggerEvent("hide.vc.accordion",e),t()}).queue(function(t){var e=o.height();o.height(e),t()}).queue(function(t){o.animate({height:0},n.getAnimationDurationMilliseconds()),o.css({"padding-top":0,"padding-bottom":0}),t()})):(i.removeClass(n.activeClass),n.triggerEvent("hide.vc.accordion",e)))},r.prototype.toggle=function(t){var e=this.$element;this.isActive()?o.call(e,"hide",t):o.call(e,"show",t)},r.prototype.dropdown=function(e){var n=this.$element;this.isActive()?o.call(n,"hide",e):(o.call(n,"show",e),a(document).on("click.vc.accordion.data-api.dropdown",function(t){o.call(n,"hide",e),a(document).off(t)}))},r.prototype.collapse=function(t){var e=this.$element,n=this.getActiveTriggers().filter(function(){return e[0]!==this});n.length&&o.call(n,"hide",t),o.call(e,"show",t)},r.prototype.collapseAll=function(t){var e=this.$element,n=this.getActiveTriggers().filter(function(){return e[0]!==this});n.length&&o.call(n,"hide",t),o.call(e,"toggle",t)},r.prototype.showNext=function(t){var e,n=this.getTriggers(),i=this.getActiveTriggers();n.length&&(-1<(e=i.length&&(i=i.eq(i.length-1).vcAccordion().data("vc.accordion"))&&i.getIndex?i.getIndex():e)&&e+1<n.length?o.call(n.eq(e+1),"controller",t):o.call(n.eq(0),"controller",t))},r.prototype.showPrev=function(t){var e,n=this.getTriggers(),i=this.getActiveTriggers();n.length&&(i.length&&(i=i.eq(i.length-1).vcAccordion().data("vc.accordion"))&&i.getIndex&&(e=i.getIndex()),o.call(-1<e?0<=e-1?n.eq(e-1):n.eq(n.length-1):n.eq(0),"controller",t))},r.prototype.showAt=function(t,e){var n=this.getTriggers();n.length&&t&&t<n.length&&o.call(n.eq(t),"controller",e)},r.prototype.scrollToActive=function(t){var e,n;(void 0===t||void 0===t.scrollTo||t.scrollTo)&&(0,(n=a((e=this).getTarget())).length)&&this.$element.length&&setTimeout(function(){n.offset().top-a(window).scrollTop()-+e.$element.outerHeight()<0&&a("html, body").animate({scrollTop:n.offset().top-+e.$element.outerHeight()},300)},300)},e=a.fn.vcAccordion,a.fn.vcAccordion=o,a.fn.vcAccordion.Constructor=r,a.fn.vcAccordion.noConflict=function(){return a.fn.vcAccordion=e,this},t=function(t){var e=a(this);t.preventDefault(),o.call(e,"controller")},n=function(){var t,e=window.location.hash;e&&(t=a(e)).length&&(e=t.find('[data-vc-accordion][href="'+e+'"],[data-vc-accordion][data-vc-target="'+e+'"]')).length&&(setTimeout(function(){a("html, body").animate({scrollTop:t.offset().top-.2*a(window).height()},0)},300),e.trigger("click"))},a(window).on("hashchange.vc.accordion",n),a(document).on("click.vc.accordion.data-api","[data-vc-accordion]",t),a(document).ready(n),a(document).on("afterShow.vc.accordion",function(t,e){o.call(a(t.target),"scrollToActive",e)})}(window.jQuery);