!function(u){u(window).on("elementor/frontend/init",function(){function n(e,t){var i=e.find(".premium-progressbar-container"),n=i.data("settings"),a=n.progress_length,s=n.speed,o=n.type,r=n.mScroll;if("line"===o){var l=i.find(".premium-progressbar-bar");n.gradient&&l.css("background","linear-gradient(-45deg, "+n.gradient+")"),"yes"!==r&&l.animate({width:a+"%"},s)}else if("circle"===o||"half-circle"===o){100"),l.append("
"+b+"
")}"frontend"!==t&&w(e)}}function e(e,a){var s=e.find(".premium-button-style6-bg");0!==s.length&&e.hasClass("premium-mouse-detect-yes")&&e.on("mouseenter mouseleave",".premium-button-style6",function(e){var t=a(this).offset(),i=e.pageX-t.left,n=e.pageY-t.top;s.css({top:n,left:i})})}function t(e,n){if(e.hasClass("premium-mask-yes")){if("premium-addon-title.default"===e.data("widget_type")){var t=".premium-title-header";e.find(t).find(".premium-title-icon, .premium-title-img").addClass("premium-mask-span")}else t=".premium-dual-header-first-header";e.find(t).find("span:not(.premium-title-style7-stripe-wrap):not(.premium-title-img)").each(function(e,t){var i="";n(this).text().split(" ").forEach(function(e){""!==e&&(i+=' '+e+"")}),n(this).text("").append(i)}),elementorFrontend.waypoint(e,function(){n(e).addClass("premium-mask-active")})}}var i=elementorModules.frontend.handlers.Base,w=function(e){var t=e.find(".premium-progressbar-container").data("settings"),a=e.find(".premium-progressbar-bar-wrap"),i=a.data(),s=t.speed,o=0,r=i.totalFill,l=i.circles,m=i.partialFill;!function e(t){var i=a.find(".progress-segment").eq(t),n=100;t===r&&(n=m);i.find(".segment-inner").animate({width:n+"%"},s/l,function(){++o<=r&&e(o)})}(o)},a=i.extend({settings:{},getDefaultSettings:function(){return{selectors:{galleryElement:".premium-gallery-container",filters:".premium-gallery-cats-container li",gradientLayer:".premium-gallery-gradient-layer",loadMore:".premium-gallery-load-more",loadMoreDiv:".premium-gallery-load-more div",vidWrap:".premium-gallery-video-wrap"}}},getDefaultElements:function(){var e=this.getSettings("selectors"),t={$galleryElement:this.$element.find(e.galleryElement),$filters:this.$element.find(e.filters),$gradientLayer:this.$element.find(e.gradientLayer),$vidWrap:this.$element.find(e.vidWrap)};return t.$loadMore=t.$galleryElement.parent().find(e.loadMore),t.$loadMoreDiv=t.$galleryElement.parent().find(e.loadMoreDiv),t},bindEvents:function(){this.getGlobalSettings(),this.run()},getGlobalSettings:function(){var e=this.elements.$galleryElement.data("settings");this.settings={layout:e.img_size,loadMore:e.load_more,columnWidth:null,filter:null,isFilterClicked:!1,minimum:e.minimum,imageToShow:e.click_images,counter:e.minimum,ltrMode:e.ltr_mode,shuffle:e.shuffle,active_cat:e.active_cat,theme:e.theme,overlay:e.overlay,sort_by:e.sort_by,light_box:e.light_box,flag:e.flag,lightbox_type:e.lightbox_type}},updateCounter:function(){this.settings.isFilterClicked?(this.settings.counter=this.settings.minimum,this.settings.isFilterClicked=!1):this.settings.counter=this.settings.counter,this.settings.counter=this.settings.counter+this.settings.imageToShow},updateGrid:function(e,t,i){u.ajax({url:this.appendItems(this.settings.counter,e,t),beforeSend:function(){i.removeClass("premium-gallery-item-hidden")},success:function(){i.addClass("premium-gallery-item-hidden")}})},loadMore:function(e,t){var i=this.elements.$galleryElement,n=this.elements.$loadMoreDiv,a=this.elements.$loadMore,s=this;n.addClass("premium-gallery-item-hidden"),i.find(".premium-gallery-item").length>this.settings.minimum&&(a.removeClass("premium-gallery-item-hidden"),i.parent().on("click",".premium-gallery-load-less",function(){s.settings.counter=s.settings.counter-s.settings.imageToShow}),i.parent().on("click",".premium-gallery-load-more-btn:not(.premium-gallery-load-less)",function(){s.updateCounter(),s.updateGrid(e,t,n)}))},getItemsToHide:function(e,t){return e.filteredItems.slice(t,e.filteredItems.length).map(function(e){return e.element})},appendItems:function(e,t,i){var n=this.elements.$galleryElement,a=this.elements.$gradientLayer,s=n.data("isotope"),o=this.getItemsToHide(s,e);a.outerHeight(t),n.find(".premium-gallery-item-hidden").removeClass("premium-gallery-item-hidden"),n.parent().find(".premium-gallery-load-more").removeClass("premium-gallery-item-hidden"),u(o).addClass("premium-gallery-item-hidden"),i.isotope("layout"),0==o&&(a.addClass("premium-gallery-item-hidden"),n.parent().find(".premium-gallery-load-more").addClass("premium-gallery-item-hidden"))},triggerFilerTabs:function(e){var t=e.searchParams.get(this.settings.flag),i=this.elements.$filters;t&&i.eq(t).find("a").trigger("click")},onReady:function(e){e.isotope("layout");var t=new URL(window.location.href);t&&this.triggerFilerTabs(t),this.$element.find(".category.active").trigger("click"),this.$element.find(".elementor-invisible").removeClass("elementor-invisible")},onResize:function(e){this.setMetroLayout(),e.isotope({itemSelector:".premium-gallery-item",masonry:{columnWidth:this.settings.columnWidth}})},lightBoxDisabled:function(){var n=this;this.elements.$vidWrap.each(function(e,t){var i=u(t).data("type");u(".pa-gallery-video-icon").keypress(function(){u(this).closest(".premium-gallery-item").trigger("click")}),u(t).closest(".premium-gallery-item").on("click",function(){var e=u(this);e.find(".pa-gallery-img-container").css("background","#000"),e.find("img, .pa-gallery-icons-caption-container, .pa-gallery-icons-wrapper").css("visibility","hidden"),"style3"!==n.settings.skin&&e.find(".premium-gallery-caption").css("visibility","hidden"),"hosted"!==i?n.playVid(e):n.playHostedVid(t)})})},playVid:function(e){var t=e.find(".premium-gallery-iframe-wrap"),i=t.data("src");i=i.replace("&mute","&autoplay=1&mute");var n=u("