"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}function _callSuper(e,t,n){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(e).constructor):t.apply(e,n))}function _possibleConstructorReturn(e,t){if(t&&("object"==_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}window.addEventListener("DOMContentLoaded",function(){var t=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementorModules.frontend.handlers.Base),_createClass(e,[{key:"setIndex",value:function(e){e.find(".ui-e-animations-wrp").each(function(e){jQuery(this).css("---ui-index",e+1)})}},{key:"animate",value:function(e){var o=this.getElementSettings("animate_item_type");e.find(".ui-e-animations-wrp").each(function(){var n=jQuery(this);new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(n.addClass(o),n.removeClass("elementor-invisible"),t.unobserve(e.target))})},{threshold:.9}).observe(n[0])})}},{key:"bindEvents",value:function(){"ui-e-grid-animate"==this.getElementSettings("animate_items")&&(this.setIndex(this.$element),this.animate(this.$element))}}])}();jQuery(window).on("elementor/frontend/init",function(){function e(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}elementorFrontend.hooks.addAction("frontend/element_ready/uicore-testimonial-grid.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/uicore-testimonial-carousel.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/uicore-advanced-post-grid.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/uicore-advanced-post-carousel.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/uicore-logo-grid.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/uicore-logo-carousel.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/uicore-custom-carousel.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/uicore-gallery-grid.default",e)})});