!function(e){e(window).on("elementor/frontend/init",(function(){The7ElementorSettings=function(t){this.$widget=t;var n={getID:function(e){return e.data("id")},getModelCID:function(e){return e.data("model-cid")},getItems:function(e,t){if(t){const i=t.split("."),o=i.splice(0,1);if(!i.length)return e[o];if(!e[o])return;return n.getItems(e[o],i.join("."))}return e}};The7ElementorSettings.prototype.getWidgetType=function(){const e=this.$widget.data("widget_type");return e?e.split(".")[0]:null},The7ElementorSettings.prototype.getID=function(){return n.getID(this.$widget)},The7ElementorSettings.prototype.getModelCID=function(){return n.getModelCID(this.$widget)},The7ElementorSettings.prototype.getCurrentDeviceSetting=function(e){return elementorFrontend.getCurrentDeviceSetting(this.getSettings(),e)},The7ElementorSettings.prototype.getSettings=function(t){var i={};const o=n.getModelCID(this.$widget);if(o){const t=elementorFrontend.config.elements.data[o],n=t.attributes;var s=n.widgetType||n.elType;n.isInner&&(s="inner-"+s);var r=elementorFrontend.config.elements.keys[s];r||(r=elementorFrontend.config.elements.keys[s]=[],e.each(t.controls,(function(e){this.frontend_available&&r.push(e)}))),e.each(t.getActiveControls(),(function(e){if(-1!==r.indexOf(e)){var t=n[e];t.toJSON&&(t=t.toJSON()),i[e]=t}}))}else i=this.$widget.data("settings")||{};return n.getItems(i,t)}},The7ElementorSettings.getResponsiveSettingList=function(e){return["",...Object.keys(elementorFrontend.config.responsive.activeBreakpoints)].map((t=>t?`${e}_${t}`:e))},The7ElementorSettings.getControlValue=function(e,t,n){let i;return i="object"==typeof e[t]&&n?e[t][n]:e[t],i},The7ElementorSettings.getResponsiveControlValue=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const i=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:null)||elementorFrontend.getCurrentDeviceMode(),o=The7ElementorSettings.getControlValue(e,t,n);if("widescreen"===i){const i=The7ElementorSettings.getControlValue(e,`${t}_widescreen`,n);return i||0===i?i:o}const s=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0});let r=i,a=s.indexOf(i),l="";for(;a<=s.length;){if("desktop"===r){l=o;break}const i=`${t}_${r}`,m=The7ElementorSettings.getControlValue(e,i,n);if(m||0===m){l=m;break}a++,r=s[a]}return l}})),runElementHandlers=function(e){[...e].flatMap((e=>[...e.querySelectorAll(".elementor-element")])).forEach((e=>elementorFrontend.elementsHandler.runReadyTrigger(e)))},The7ElementorAnimation=function(){this.classes={animated:"animated",elementorInvisible:"elementor-invisible",the7Hidden:"the7-hidden"},this.animationTimerID,The7ElementorAnimation.prototype.animateElements=function(e){let t=this;e.forEach((function(e){t.animateElement(e)}))},The7ElementorAnimation.prototype.animateElement=function(e){let t=e.$element;if(t.hasClass(this.classes.animated))return;const n=e.animation,i=e.animationDelay;"none"!==n?this.animationTimerID=setTimeout((()=>{t.removeClass(this.classes.elementorInvisible).removeClass(this.classes.the7Hidden).addClass(this.classes.animated+" "+n)}),i):t.removeClass(this.classes.elementorInvisible).removeClass(this.classes.the7Hidden).addClass(this.classes.animated)},The7ElementorAnimation.prototype.resetElements=function(e){let t=this;e.forEach((function(e){t.resetElement(e)}))},The7ElementorAnimation.prototype.resetElement=function(e){clearTimeout(this.animationTimerID);let t=e.$element;if(!t.hasClass(this.classes.animated))return;const n=e.animation;"none"===n?(t.removeClass(this.classes.elementorInvisible),t.removeClass(this.classes.the7Hidden)):(t.addClass(this.classes.elementorInvisible),t.addClass(this.classes.the7Hidden)),t.removeClass(this.classes.animated),t.removeClass(n)},The7ElementorAnimation.prototype.findAnimationsInNode=function(t){let n=t.find(".elementor-element"),i=[];return n.each((function(){const t=e(this),n=new The7ElementorSettings(t),o=n.getCurrentDeviceSetting("the7_animation")||n.getCurrentDeviceSetting("the7__animation");if(!o)return;const s=n.getSettings(),r=s._animation_delay||s.animation_delay||0;i.push({$element:t,animation:o,animationDelay:r})})),i}},The7ElementorAnimation.patchElementsAnimation=function(t){t.find(".elementor-element").each((function(){let t=e(this).data("settings");if(void 0!==t&&Object.keys(t).length){let n=The7ElementorSettings.getResponsiveSettingList("animation"),i=The7ElementorSettings.getResponsiveSettingList("_animation");const o=n.concat(i);let s=!1;if(o.forEach((function(e){var n,i,o;n=t,(i=e)!==(o=`the7_${e}`)&&n[i]&&(Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(n,i)),delete n[i],1)&&(t[e]="none",s=!0)})),s){const n=e(this),i=new The7ElementorSettings(n);(i.getCurrentDeviceSetting("animation")||i.getCurrentDeviceSetting("_animation"))&&n.addClass("the7-hidden"),n.attr("data-settings",JSON.stringify(t))}}}))}}(jQuery);