!function(e){function i(h,y){var e=h.find(".premium-adv-carousel__container"),g=e.data("settings"),b=h.find(".premium-adv-carousel__inner-container");if(g){if("infinite"===g.type){var w=e.find(".premium-adv-carousel__items"),i=g.light_box,r=g.lightbox_type;if("load"===g.renderEvent)m();else{var t=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(m(),t.unobserve(e.target))})});t.observe(h[0])}b.css("visibility","inherit"),i&&"default"===r&&h.find(".premium-adv-carousel__inner-container a[data-rel^='prettyPhoto']").prettyPhoto({theme:g.theme,hook:"data-rel",opacity:.7,show_title:!1,deeplinking:!1,overlay_gallery:g.overlay,custom_markup:"",default_width:900,default_height:506,social_tools:""}),g.pauseOnHover&&c(),g.scroll?(c(),"horizontal"===g.dir&&e.find(".premium-adv-carousel__inner-container").mousewheel(function(e,i){this.scrollLeft-=30*i,e.preventDefault()})):e.find(".premium-adv-carousel__inner-container").css({overflow:"hidden"})}else{var a=h.find(".premium-adv-carousel__items"),n=h.find(".premium-adv-carousel__item-outer-wrapper"),o=h.find(".premium-adv-carousel__prev-icon").html(),s=h.find(".premium-adv-carousel__next-icon").html(),l=["mobile","mobile_extra","tablet","tablet_extra"].includes(elementorFrontend.getCurrentDeviceMode());if(h.find(".premium-adv-carousel__icons-holder").remove(),b.flipster({itemContainer:a,itemSelector:n,style:g.type,fadeIn:0,start:g.start,loop:g.loop,autoplay:g.autoPlay,scrollwheel:g.scroll,pauseOnHover:g.pauseOnHover,click:!g.loop&&g.click,keyboard:g.keyboard,touch:g.touch,spacing:g.spacing,buttons:!!g.buttons&&"custom",buttonPrev:o,buttonNext:s,onItemSwitch:function(){d()}}).css("visibility","inherit"),g.keyboard&&!l){var u=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(y.fn.focusWithoutScrolling=function(){var e=window.scrollX,i=window.scrollY;this.focus(),window.scrollTo(e,i)},b.focusWithoutScrolling(),u.unobserve(e.target))})});u.observe(b[0])}g.loop&&g.click&&h.find(".premium-adv-carousel__item-outer-wrapper").on("click.paFlipClick",function(){var e=y(this).index();b.flipster("jump",e)})}"yes"===g.light_box&&null!=g.light_box||h.find(".premium-adv-carousel__item .premium-adv-carousel__video-wrap").each(function(e,n){var o=y(n).data("type");y(n).closest(".premium-adv-carousel__item").on("click.paPlayVid"+e,function(){var e=y(this);if(d(),e.find(".premium-adv-carousel__media-wrap").css("background","#000"),e.find(".premium-adv-carousel__video-icon, .premium-adv-carousel__vid-overlay").css("visibility","hidden"),"hosted"!==o){var i=e.find(".premium-adv-carousel__iframe-wrap"),r=i.data("src");r=r.replace("&mute","&autoplay=1&mute");var t=y("