!function(e){var t={};function a(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(o,n,function(t){return e[t]}.bind(null,n));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=0)}([function(e,t){eael.hooks.addAction("init","ea",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-adv-accordion.default",(function(e,t){var a=window.location.hash.substr(1);a="safari"===a?"eael-safari":a;var o=!1,n=e.find(".eael-adv-accordion"),i=e.find(".eael-accordion-header"),s=n.data("accordion-type"),r=n.data("toogle-speed"),c=n.data("custom-id-offset"),d=n.data("scroll-on-click"),l=n.data("scroll-speed");(a||"yes"===d)&&i.each((function(){"yes"===d&&t(this).attr("data-scroll",t(this).offset().top),a&&t(this).attr("id")==a&&(o=!0,t(this).addClass("show-this active"),t(this).next().slideDown(r))})),!1===o&&i.each((function(){t(this).hasClass("active-default")&&(t(this).addClass("show-this active"),t(this).next().slideDown(r))})),i.unbind("click"),i.click((function(e){e.preventDefault();var a=t(this);if(setTimeout((function(e){t(".eael-accordion-header").removeClass("triggered")}),70),!a.hasClass("triggered")){if("accordion"===s?a.hasClass("show-this")?(a.removeClass("show-this active"),a.next().slideUp(r)):(a.parent().parent().find(".eael-accordion-header").removeClass("show-this active"),a.parent().parent().find(".eael-accordion-content").slideUp(r),a.toggleClass("show-this active"),a.next().slideToggle(r)):a.hasClass("show-this")?(a.removeClass("show-this active"),a.next().slideUp(r)):(a.addClass("show-this active"),a.next().slideDown(r)),"yes"===d&&a.hasClass("active")){var o=c?parseFloat(c):0;t("html, body").animate({scrollTop:t(this).data("scroll")-o},l)}setTimeout((function(){a.addClass("triggered"),eael.hooks.doAction("widgets.reinit",a.parent()),window.eaelPreventResizeOnClick=!0,eael.hooks.doAction("ea-advanced-accordion-triggered",a.next())}),50)}})),e.on("keydown",".eael-accordion-header",(function(e){13!==e.which&&32!==e.which||t(this).trigger("click")}))}))}))}]);!function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=1)}([,function(e,t){var i=function(e,t){var i=e[0];if(i){i.querySelectorAll("[data-duration]").forEach((function(e){var t=e.getAttribute("data-duration");e.style.setProperty("--accordion-duration",t+"s")}));var n=i.querySelectorAll(".eael-accordion_media-list"),r=i.querySelectorAll(".eael-accordion_media-image"),o=0;n.forEach((function(e,t){e.addEventListener("click",(function(){!function(e){if(e!==o){var t=n[o];t.classList.remove("active");var i=t.querySelector(".eael-accordion_media-description");i.style.height=i.scrollHeight+"px",i.offsetHeight,i.style.height="0";var a=n[e];a.classList.add("active");var c=a.querySelector(".eael-accordion_media-description");c.style.visibility="hidden",c.style.height="auto";var l=c.scrollHeight+"px";c.style.height="0",c.style.visibility="visible",requestAnimationFrame((function(){c.style.height=l})),r.forEach((function(e){return e.classList.remove("active")})),r[e].classList.add("active"),o=e}}(t)}))})),window.location.href.includes("elementor")&&a(),"loading"===document.readyState?window.addEventListener("load",(function(){a()})):setTimeout((function(){a()}),0)}function a(){var e=n[0];if(e&&e.classList.contains("active")){var t=e.querySelector(".eael-accordion_media-description");t.style.visibility="hidden",t.style.height="auto",requestAnimationFrame((function(){requestAnimationFrame((function(){var e=t.scrollHeight+"px";t.style.height="0",t.style.visibility="visible",requestAnimationFrame((function(){t.style.height=e}))}))}))}}};jQuery(window).on("elementor/frontend/init",(function(){if(eael.elementStatusCheck("advancedAccordion"))return!1;elementorFrontend.hooks.addAction("frontend/element_ready/eael-adv-accordion.default",i)}))}]);