(a=>{var o={};function e(){t()}function i(){n(),s()}function t(){var o=a(".qode-portfolio-carousel");o.length&&o.each(function(){var o=void 0!==a(this).data("options")?a(this).data("options"):{},e=void 0===o.autoplay||""===o.autoplay||o.autoplay,i=void 0!==o.mousewheel&&""!==o.mousewheel&&o.mousewheel,t=void 0!==o.speed&&""!==o.speed?parseInt(o.speed,10):5e3,n=void 0!==o.speedAnimation&&""!==o.speedAnimation?parseInt(o.speedAnimation,10):800,s=void 0===o.loop||""===o.loop||o.loop,o=void 0!==o.slidesPerView&&""!==o.slidesPerView?o.slidesPerView:"auto";a(this).find(".swiper-pagination"),!0===e&&(e={delay:t,disableOnInteraction:!1}),new Swiper(".swiper-container",{direction:"horizontal",loop:s,loopedSlides:2,slidesPerView:o,centeredSlides:!1,autoplay:e,spaceBetween:0,mousewheel:i,speed:n})})}function n(){var o=a(".qode-portfolio-carousel"),e=a(".qode-pc-custom-cursor");o.each(function(){var o=a(this);o.on("mousemove",function(o){e.css({top:o.clientY-65,left:o.clientX-65})}),o.find(".qode-portfolio-carousel-item").on("mouseenter",function(){e.hasClass("qode-is-active")||e.addClass("qode-is-active")}).on("mouseleave",function(){e.hasClass("qode-is-active")&&e.removeClass("qode-is-active")}),a(window).scroll(function(){e.hasClass("qode-is-active")&&(e.offset().top<o.offset().top||e.offset().top>o.offset().top+o.outerHeight())&&e.removeClass("qode-is-active")})})}function s(){a(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bridge_portfolio_carousel.default",function(){t(),n()})})}(qode.modules.portfolioCarousel=o).qodePortfolioCarousel=t,o.qodeInitPortfolioCarouselCustomCursor=n,o.qodeInitElementorPortfolioCarousel=s,o.qodeOnDocumentReady=e,o.qodeOnWindowLoad=i,a(document).ready(e),a(window).on("load",i)})(jQuery);