!function(i){"use strict";i.fn.fusionSwitchAccordionOnLinkClick=function(n){var e;(e=n||("#_"===document.location.hash.substring(0,2)?document.location.hash.replace("#_","#"):document.location.hash))&&i(this).find('.panel-title a[href="'+e+'"]').length&&i(this).find('.panel-title a[href="'+e+'"]').fusionAccordionDoClick(!0)},i.fn.fusionAccordionDoClick=function(n){var e,a,t,o;i(this).closest(".fusion-accordian").find(".toggle-fadein").length&&i(this).closest(".fusion-accordian").find(".toggle-fadein")[0]!==i(this).closest(".fusion-panel").find(".panel-collapse")[0]||!0!==window.fusionAccordianClick&&(window.fusionAccordianClick=!0,e=i(this),a=i(i(this).data("target")).find(".panel-body"),t=e.closest(".fusion-accordian").find(".panel-title a"),o=e.closest(".fusion-accordian").find(".panel-collapse.in"),n&&"true"!==e.attr("aria-expanded")&&(void 0!==e.data("parent")&&o.removeClass("in"),a.parent().addClass("in")),"false"===e.attr("aria-expanded")?(e.attr("aria-expanded","true"),e.attr("aria-selected","true")):(e.attr("aria-expanded","false"),e.attr("aria-selected","false")),e.hasClass("collapsed")?(void 0!==e.data("parent")?t.removeClass("active"):e.removeClass("active"),e.closest(".fusion-fullwidth").hasClass("fusion-equal-height-columns")&&setTimeout(function(){window.dispatchEvent(new Event("fusion-resize-horizontal",{bubbles:!0,cancelable:!0}))},350)):(void 0!==e.data("parent")&&t.removeClass("active"),e.addClass("active"),setTimeout(function(){i(window).trigger("fusion-dynamic-content-render",a),window.dispatchEvent(new Event("fusion-resize-horizontal",{bubbles:!0,cancelable:!0})),i(window).trigger("fusion-resize-vertical"),i(window).trigger("resize")},350)),window.fusionAccordianClick=!1)}}(jQuery),jQuery(window).on("load",function(){var i=jQuery(".fusion-accordian");jQuery(".fusion-toggle-boxed-mode .panel-collapse").on("click",function(i){jQuery(i.target).is("a")||jQuery(i.target).is("button")||jQuery(i.target).hasClass("fusion-button-text")||jQuery(this).closest(".fusion-panel").find(".panel-title > a").trigger("click")}),window.fusionAccordianClick=!1,i.each(function(){jQuery(this).fusionSwitchAccordionOnLinkClick()}),jQuery(document).on("click dblclick",".fusion-accordian .panel-title a",function(i){i.preventDefault(),jQuery(i.currentTarget).fusionAccordionDoClick()})}),jQuery(document).ready(function(){jQuery(".fusion-accordian .panel-title a").click(function(i){i.preventDefault()})});