!function(t,i){"use strict";var n=function(t,i){var n=t.find(".bdt-tabs-area"),e=n.find(".bdt-tabs"),a=e.find(".bdt-tab"),o=Boolean(elementorFrontend.isEditMode());if(n.length){var d=e.data("settings"),s=d.hashScrollspyTime,c=d.hashTopOffset,l=d.navStickyOffset;"undefined"==l&&(l=10),t.find(".bdt-template-modal-iframe-edit-link").each((function(){var t=i(i(this).data("modal-element"));i(this).on("click",(function(i){bdtUIkit.modal(t).show()})),t.on("beforehide",(function(){window.parent.location.reload()}))})),"yes"==d.activeHash&&"bdt-sticky-custom"!=d.status&&(i(window).on("load",(function(){u(e,a,s,c)})),i(e).find(".bdt-tabs-item-title").off("click").on("click",(function(t){window.location.hash=i.trim(i(this).attr("data-title"))})),i(window).on("hashchange",(function(t){u(e,a,s,c)}))),"bdt-sticky-custom"==d.status&&(i(e).find(".bdt-tabs-item-title").bind().click("click",(function(t){"yes"==d.activeHash?window.location.hash=i.trim(i(this).attr("data-title")):i("html, body").animate({easing:"slow",scrollTop:i(e).offset().top-l},500,(function(){}))})),"yes"==d.activeHash&&"bdt-sticky-custom"==d.status&&(i(window).on("load",(function(){window.location.hash&&v(e,a,l)})),i(window).on("hashchange",(function(t){v(e,a,l)}))));var r=d.linkWidgetSettings,h=d.activeItem-1;if(void 0!==r&&!1===o&&(r.forEach((function(t,n){0==n&&(i("#bdt-tab-content-"+d.linkWidgetId).parent().remove(),i(t).parent().wrapInner('
'),i(t).parent().wrapInner(''),null==d.activeItem&&i(t).addClass("bdt-active")),void 0!==d.activeItem&&n==h&&i(t).addClass("bdt-active"),i(t).attr("data-content-id","tab-"+(n+1))})),a.find("a").on("click",(function(){let t=i(this).data("tab-index");i("#bdt-tab-content-"+d.linkWidgetId+">").removeClass("bdt-active"),i("#bdt-tab-content-"+d.linkWidgetId+">").eq(t).addClass("bdt-active")}))),void 0!==d.sectionBg){if(void 0===d.sectionBgSelector)return;var b=(d.sectionBgSelector+"-ep-dynamic").substring(1);i(`#${b}-wrapper`).length&&i(`#${b}-wrapper`).remove();var f=`