!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":y===g&&(b=""),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("");n.attr({src:i,frameborder:"0",allowfullscreen:"1",allow:"autoplay;encrypted-media;"}),t.html(n),n.css("visibility","visible")},playHostedVid:function(e){var t=u(e).find("video");t.get(0).play(),t.css("visibility","visible")},run:function(){var e=this.elements.$galleryElement,t=(this.elements.$vidWrap,this.elements.$filters),i=this;"metro"===this.settings.layout&&(this.setMetroLayout(),this.settings.layout="masonry",u(window).resize(function(){i.onResize(n)}));var n=e.isotope(this.getIsoTopeSettings());if(n.imagesLoaded().progress(function(){n.isotope("layout")}),u(document).ready(function(){i.onReady(n)}),this.settings.loadMore){var a=this.elements.$gradientLayer,s=null;setTimeout(function(){s=a.outerHeight()},200),this.loadMore(s,n)}"yes"!==this.settings.light_box&&this.lightBoxDisabled(),t.find("a").click(function(e){return e.preventDefault(),i.isFilterClicked=!0,t.find(".active").removeClass("active"),u(this).addClass("active"),i.settings.filter=u(this).attr("data-filter"),n.isotope({filter:i.settings.filter}),i.settings.shuffle&&n.isotope("shuffle"),i.settings.loadMore&&i.appendItems(i.settings.minimum,s,n),!1}),"default"===this.settings.lightbox_type&&this.$element.find(".premium-img-gallery a[data-rel^='prettyPhoto']").prettyPhoto(this.getPrettyPhotoSettings())},getPrettyPhotoSettings:function(){return{theme:this.settings.theme,hook:"data-rel",opacity:.7,show_title:!1,deeplinking:!1,overlay_gallery:this.settings.overlay,custom_markup:"",default_width:900,default_height:506,social_tools:""}},getIsoTopeSettings:function(){return{itemSelector:".premium-gallery-item",percentPosition:!0,animationOptions:{duration:750,easing:"linear"},filter:this.settings.active_cat,layoutMode:this.settings.layout,originLeft:this.settings.ltrMode,masonry:{columnWidth:this.settings.columnWidth},sortBy:this.settings.sort_by}},getRepeaterSettings:function(){return this.getElementSettings("premium_gallery_img_content")},setMetroLayout:function(){var e=this.elements.$galleryElement,t=e.width(),a=Math.floor(t/12),i=elementorFrontend.getCurrentDeviceMode(),s="desktop"===i?"":"_"+i,o=this.getRepeaterSettings();e.find(".premium-gallery-item").each(function(e,t){var i=o[e]["premium_gallery_image_cell"+s].size,n=o[e]["premium_gallery_image_vcell"+s].size;""!==i&&null!=i||(i=o[e].premium_gallery_image_cell),""!==n&&null!=n||(n=o[e].premium_gallery_image_vcell),u(t).css({width:Math.ceil(i*a),height:Math.ceil(n*a)})}),this.settings.columnWidth=a}}),s=i.extend({getDefaultSettings:function(){return{selectors:{bannerImgWrap:".premium-banner-ib",bannerImg:"img"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$bannerImgWrap:this.$element.find(e.bannerImgWrap),$bannerImg:this.$element.find(e.bannerImg)}},bindEvents:function(){var e=this;e.elements.$bannerImgWrap.hover(function(){e.elements.$bannerImg.addClass("active")},function(){e.elements.$bannerImg.removeClass("active")}),this.run()},run:function(){var e=this.$element;if(e.hasClass("premium-banner-tilt-yes")){var t=e.hasClass("premium-banner-tilt-rev-yes");UniversalTilt.init({elements:e.closest(".elementor-widget"),settings:{reverse:t},callbacks:{onMouseLeave:function(e){e.style.boxShadow="0 45px 100px rgba(255, 255, 255, 0)"},onDeviceMove:function(e){e.style.boxShadow="0 45px 100px rgba(255, 255, 255, 0.3)"}}})}}}),o=i.extend({settings:{},getDefaultSettings:function(){return{selectors:{user:".fa-user",activeCat:".category.active",loading:".premium-loading-feed",blogElement:".premium-blog-wrap",blogFilterTabs:".premium-blog-filter",contentWrapper:".premium-blog-content-wrapper",blogPost:".premium-blog-post-outer-container",metaSeparators:".premium-blog-meta-separator",filterLinks:".premium-blog-filters-container li a",currentPage:".premium-blog-pagination-container .page-numbers.current",activeElememnt:".premium-blog-filters-container li .active"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$blogElement:this.$element.find(e.blogElement),$blogFilterTabs:this.$element.find(e.blogFilterTabs),$activeCat:this.$element.find(e.activeCat),$filterLinks:this.$element.find(e.filterLinks),$blogPost:this.$element.find(e.blogPost),$contentWrapper:this.$element.find(e.contentWrapper)}},bindEvents:function(){this.setLayoutSettings(),this.removeMetaSeparators(),this.run()},setLayoutSettings:function(){var e=this.getElementSettings(),t=this.elements.$blogPost,i={pageNumber:1,isLoaded:!0,count:2,equalHeight:e.force_height,layout:e.premium_blog_layout,carousel:"yes"===e.premium_blog_carousel,infinite:"yes"===e.premium_blog_infinite_scroll,scrollAfter:"yes"===e.scroll_to_offset,grid:"yes"===e.premium_blog_grid,total:t.data("total")};i.carousel&&(i.slidesToScroll=e.slides_to_scroll,i.spacing=parseInt(e.premium_blog_carousel_spacing),i.autoPlay="yes"===e.premium_blog_carousel_play,i.arrows="yes"===e.premium_blog_carousel_arrows,i.fade="yes"===e.premium_blog_carousel_fade,i.center="yes"===e.premium_blog_carousel_center,i.dots="yes"===e.premium_blog_carousel_dots,i.speed=""!==e.carousel_speed?parseInt(e.carousel_speed):300,i.autoplaySpeed=""!==e.premium_blog_carousel_autoplay_speed?parseInt(e.premium_blog_carousel_autoplay_speed):5e3),this.settings=i},removeMetaSeparators:function(){var i=this.getSettings("selectors"),e=this.$element.find(i.blogPost),t=e.first().find(i.metaSeparators),n=e.find(i.user);1===t.length?n.length||e.find(i.metaSeparators).remove():n.length||e.each(function(e,t){u(t).find(i.metaSeparators).first().remove()})},run:function(){var e=this,t=this.elements.$blogElement,i=this.elements.$activeCat.data("filter"),n=this.elements.$blogFilterTabs.length,a=t.data("pagination");this.settings.activeCategory=i,this.settings.filterTabs=n,this.settings.filterTabs&&this.filterTabs(),this.settings.filterTabs&&"*"!==this.settings.activeCategory||"masonry"!==this.settings.layout||this.settings.carousel||t.imagesLoaded(function(){t.isotope(e.getIsoTopeSettings())}),this.settings.carousel&&(t.slick(this.getSlickSettings()),t.removeClass("premium-carousel-hidden")),"even"===this.settings.layout&&this.settings.equalHeight&&t.imagesLoaded(function(){e.forceEqualHeight()}),a&&this.paginate(),this.settings.infinite&&t.is(":visible")&&this.getInfiniteScrollPosts()},paginate:function(){var i=this,n=this.$element,a=this.getSettings("selectors");n.on("click",".premium-blog-pagination-container .page-numbers",function(e){if(e.preventDefault(),!u(this).hasClass("current")){var t=parseInt(n.find(a.currentPage).html());u(this).hasClass("next")?i.settings.pageNumber=t+1:u(this).hasClass("prev")?i.settings.pageNumber=t-1:i.settings.pageNumber=u(this).html(),i.getPostsByAjax(i.settings.scrollAfter)}})},forceEqualHeight:function(){var n=new Array,e=this.getSettings("selectors").contentWrapper,t=this.$element.find(e);t.each(function(e,t){var i=u(t).outerHeight();n.push(i)});var i=Math.max.apply(null,n);t.css("height",i+"px")},getSlickSettings:function(){var e=this.settings,t=e.grid?this.getSlickCols():null,i=e.grid?t.cols:1,n=e.grid?t.colsTablet:1,a=e.grid?t.colsMobile:1,s=e.arrows?'':"",o=e.arrows?'':"";return{infinite:!0,slidesToShow:i,slidesToScroll:e.slidesToScroll||i,responsive:[{breakpoint:1025,settings:{slidesToShow:n,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:a,slidesToScroll:1}}],autoplay:e.autoPlay,rows:0,speed:e.speed,autoplaySpeed:e.autoplaySpeed,nextArrow:o,prevArrow:s,fade:e.fade,centerMode:e.center,centerPadding:e.spacing+"px",draggable:!0,dots:e.dots,customPaging:function(){return''}}},getSlickCols:function(){var e=this.getElementSettings(),t=e.premium_blog_columns_number,i=e.premium_blog_columns_number_tablet,n=e.premium_blog_columns_number_mobile;return{cols:parseInt(100/t.substr(0,t.indexOf("%"))),colsTablet:parseInt(100/i.substr(0,i.indexOf("%"))),colsMobile:parseInt(100/n.substr(0,n.indexOf("%")))}},getIsoTopeSettings:function(){return{itemSelector:".premium-blog-post-outer-container",percentPosition:!0,filter:this.settings.activeCategory,animationOptions:{duration:750,easing:"linear",queue:!1}}},filterTabs:function(){var t=this,i=this.getSettings("selectors");this.elements.$filterLinks.click(function(e){e.preventDefault(),t.$element.find(i.activeElememnt).removeClass("active"),u(this).addClass("active"),t.settings.activeCategory=u(this).attr("data-filter"),t.settings.pageNumber=1,t.settings.infinite?(t.getPostsByAjax(!1),t.settings.count=2,t.getInfiniteScrollPosts()):t.getPostsByAjax(t.settings.scrollAfter)})},getPostsByAjax:function(e){void 0===this.settings.activeCategory&&(this.settings.activeCategory="*");var n=this,a=this.elements.$blogElement,s=this.getSettings("selectors");u.ajax({url:PremiumSettings.ajaxurl,dataType:"json",type:"POST",data:{action:"pa_get_posts",page_id:a.data("page"),widget_id:n.$element.data("id"),page_number:n.settings.pageNumber,category:n.settings.activeCategory,nonce:PremiumSettings.nonce},beforeSend:function(){a.append('
'),e&&u("html, body").animate({scrollTop:a.offset().top-50},"slow")},success:function(e){if(e.data){a.find(s.loading).remove();var t=e.data.posts,i=e.data.paging;n.settings.infinite?(n.settings.isLoaded=!0,n.settings.filterTabs&&1===n.settings.pageNumber?a.html(t):a.append(t)):(a.html(t),n.$element.find(".premium-blog-footer").html(i)),n.removeMetaSeparators(),n.settings.layout&&("even"===n.settings.layout?n.settings.equalHeight&&n.forceEqualHeight():a.imagesLoaded(function(){a.isotope("reloadItems"),a.isotope({itemSelector:".premium-blog-post-outer-container",animate:!1})}))}},error:function(e){console.log(e)}})},getInfiniteScrollPosts:function(){var e=jQuery(window).outerHeight()/1.25,t=this;u(window).scroll(function(){t.settings.filterTabs&&($blogPost=t.elements.$blogElement.find(".premium-blog-post-outer-container"),t.settings.total=$blogPost.data("total")),t.settings.count<=t.settings.total&&u(window).scrollTop()+e>=t.$element.find(".premium-blog-post-outer-container:last").offset().top&&1==t.settings.isLoaded&&(t.settings.pageNumber=t.settings.count,t.getPostsByAjax(!1),t.settings.count++,t.settings.isLoaded=!1)})}}),r={"premium-addon-dual-header.default":t,"premium-addon-video-box.default":function(l,m){var t,i,d=l.find(".premium-video-box-container"),e=l.find(".premium-video-box-playlist-container"),n=d.find(".premium-video-box-video-container"),c=d.find(".premium-video-box-inner-wrap"),u=c.find(".premium-video-box-image-container"),a=d.data("type"),s=d.data("thumbnail"),o=d.data("sticky"),r=d.data("sticky-play"),p=d.data("hover"),f=e.length?e:d,g=!!f.data("lightbox")&&f.data("lightbox");if(g)"prettyphoto"===g.type&&f.find(".premium-vid-lightbox-container[data-rel^='prettyPhoto']").prettyPhoto({theme:g.theme,hook:"data-rel",opacity:.7,show_title:!1,deeplinking:!1,overlay_gallery:!0,custom_markup:"",default_width:900,default_height:506,social_tools:""}),f.find(".premium-video-box-image-container, .premium-video-box-play-icon-container").on("click",function(e){var t;t=f,"elementor"===g.type?t.find(".premium-video-box-video-container").click():t.find(".premium-vid-lightbox-container[data-rel^='prettyPhoto']").click()});else{if(e.length){if(!n.length)return;return void n.each(function(e,t){var i,n=m(t),a=n.closest(".premium-video-box-container"),s=n.closest(".premium-video-box-trigger");i=n.data("src"),i+="&autoplay=1",s.on("click",function(){var e=m("");e.attr({src:i,frameborder:"0",allowfullscreen:"1",allow:"autoplay;encrypted-media;"}),n.css("background","#000"),n.html(e),a.find(".premium-video-box-image-container, .premium-video-box-play-icon-container").remove()})})}if("self"===a?(t=n.find("video"),i=t.attr("src"),d.data("play-viewport")&&(elementorFrontend.waypoint(d,function(){h()},{offset:"top-in-view",triggerOnce:!1}),d.data("play-reset")&&elementorFrontend.waypoint(d,function(e){"up"===e&&(d.removeClass("playing"),m(t).get(0).pause(),m(t).get(0).currentTime=0)},{offset:"100%",triggerOnce:!1}))):(i=n.data("src"),s&&-1===i.indexOf("autoplay=1")?i+="&autoplay=1":d.data("play-viewport")?elementorFrontend.waypoint(d,function(){h()},{offset:"top-in-view"}):h()),d.on("click",function(){h()}),"yes"!==o||"yes"===r)return;v()}function h(){if(!d.hasClass("playing")){if(d.addClass("playing"),"yes"===r&&v(),"self"===a)m(t).get(0).play(),n.css({opacity:"1",visibility:"visible"});else{var e=m("");e.attr({src:i,frameborder:"0",allowfullscreen:"1",allow:"autoplay;encrypted-media;"}),n.css("background","#000"),n.html(e)}d.find(".premium-video-box-image-container, .premium-video-box-play-icon-container, .premium-video-box-description-container").remove(),"vimeo"===a&&d.find(".premium-video-box-vimeo-wrap").remove()}}function v(){var i=d.data("hide-desktop"),n=d.data("hide-tablet"),a=d.data("hide-mobile"),s=d.data("sticky-margin");if(d.off("click").on("click",function(e){var t=e.target.className;if(0<=t.toString().indexOf("premium-video-box-sticky-close")||0<=t.toString().indexOf("premium-video-box-sticky-close"))return!1;h()}),void 0!==elementorFrontend.waypoint)var t=elementorFrontend.waypoint(d,function(e){if("down"===e){if(d.removeClass("premium-video-box-sticky-hide").addClass("premium-video-box-sticky-apply premium-video-box-filter-sticky"),l.hasClass("elementor-motion-effects-parent")&&l.removeClass("elementor-motion-effects-perspective").find(".elementor-widget-container").addClass("premium-video-box-transform"),d.data("mask")&&(l.find(".premium-video-box-mask-filter").removeClass("premium-video-box-mask-filter"),d.find(":first-child").removeClass("premium-video-box-mask-media"),u.removeClass(p).removeClass("premium-video-box-mask-media").css({transition:"width 0.2s, height 0.2s","-webkit-transition":"width 0.2s, height 0.2s"})),m(document).trigger("premium_after_sticky_applied",[l]),c.data("video-animation")&&" "!=c.data("video-animation")){c.css("opacity","0");var t=c.data("delay-animation");setTimeout(function(){c.css("opacity","1").addClass("animated "+c.data("video-animation"))},1e3*t)}}else d.removeClass("premium-video-box-sticky-apply premium-video-box-filter-sticky").addClass("premium-video-box-sticky-hide"),l.hasClass("elementor-motion-effects-parent")&&l.addClass("elementor-motion-effects-perspective").find(".elementor-widget-container").removeClass("premium-video-box-transform"),d.data("mask")&&(d.parent().addClass("premium-video-box-mask-filter"),d.find(":first-child").eq(0).addClass("premium-video-box-mask-media"),u.addClass("premium-video-box-mask-media")),u.addClass(p).css({transition:"all 0.2s","-webkit-transition":"all 0.2s"}),c.removeClass("animated "+c.data("video-animation"))},{offset:"0%",triggerOnce:!1});function o(e){var t=elementorFrontend.getCurrentDeviceMode();""!==i&&t==i||""!==n&&t==n||""!==a&&t==a?r(e):e[0].enable()}function r(e){e[0].disable(),d.removeClass("premium-video-box-sticky-apply premium-video-box-sticky-hide")}function e(){d.hasClass("premium-video-box-sticky-apply")&&c.draggable({start:function(){m(this).css({transform:"none",top:m(this).offset().top+"px",left:m(this).offset().left+"px"})},containment:"window"})}l.find(".premium-video-box-sticky-close").off("click.closetrigger").on("click.closetrigger",function(e){e.stopPropagation(),t[0].disable(),d.removeClass("premium-video-box-sticky-apply premium-video-box-sticky-hide"),l.hasClass("elementor-motion-effects-parent")&&l.addClass("elementor-motion-effects-perspective").find(".elementor-widget-container").removeClass("premium-video-box-transform"),d.data("mask")&&(d.parent().addClass("premium-video-box-mask-filter"),d.find(":first-child").eq(0).addClass("premium-video-box-mask-media"),u.addClass("premium-video-box-mask-media"))}),o(t),e(),window.addEventListener("scroll",e),m(window).resize(function(e){o(t)}),m(document).on("premium_after_sticky_applied",function(e,t){var i=t.find(".premium-video-box-sticky-infobar");if(0!==i.length){var n=i.outerHeight();if((t.hasClass("premium-video-sticky-center-left")||t.hasClass("premium-video-sticky-center-right"))&&(n=Math.ceil(n/2),c.css("top","calc( 50% - "+n+"px )")),(t.hasClass("premium-video-sticky-bottom-left")||t.hasClass("premium-video-sticky-bottom-right"))&&""!==s){var a=(n=Math.ceil(n))+s;c.css("bottom",a)}}})}},"premium-addon-fancy-text.default":function(e,t){var r=e.find(".premium-fancy-text-wrapper"),l=r.data("settings"),i=l.delay||2500,n=r.find(".premium-fancy-list-items").length,a=""!==l.count||["typing","slide","autofade"].includes(l.effect)?l.count*n:"infinite";if("typing"===l.effect){var s=[];l.strings.forEach(function(e){s.push(e.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""))});var o="#"+r.find(".premium-fancy-text").attr("id"),m=new Typed(o,{strings:s,typeSpeed:l.typeSpeed,backSpeed:l.backSpeed,startDelay:l.startDelay,backDelay:l.backDelay,showCursor:l.showCursor,cursorChar:l.cursorChar,loop:l.loop});e.hasClass("fancy-text-stop")&&m.stop(),t(".fancy-text-stop").bind("fancy-text-start",function(){m.start()})}else if("slide"===l.effect)i=l.pause,r.find(".premium-fancy-text").vTicker({speed:l.speed,showItems:l.showItems,pause:l.pause,mousePause:l.mousePause,direction:"up"});else if("auto-fade"===l.effect){var d=r.find(".premium-fancy-list-items"),c=d.length;if(0===c)return;var u=l.duration/c,p=0;i=u,d.each(function(e,t){t.style.animationDelay=p+"ms",p+=u})}else{!function(){var t=r.find(".premium-fancy-list-items"),i=1,e=l.delay||2500,n=l.count;if(n)var a=1,s=r.find(".premium-fancy-list-items").length;var o=setInterval(function(){var e="";"custom"===l.effect&&(e="animated "+l.animation),t.eq(i).addClass("premium-fancy-item-visible "+e).removeClass("premium-fancy-item-hidden"),t.filter(function(e){return e!==i}).addClass("premium-fancy-item-hidden").removeClass("premium-fancy-item-visible "+e),i++,t.length===i&&(i=0),n&&s*n===++a&&clearInterval(o)},e)}()}"typing"!==l.effect&&setTimeout(function(){r.find(".premium-fancy-text").css("opacity","1")},500),"loading"===l.loading&&"typing"!==l.effect&&(e.find(".premium-fancy-text").append(''),e.find(".premium-loading-bar").css({"animation-iteration-count":a,"animation-duration":i+"ms"}))},"premium-counter.default":function(e,t){var i=e.find(".premium-counter"),n=i.closest(".premium-hscroll-temp"),a=i.data(),s=i.find(".premium-counter-init"),o=i.find(".icon");n.length?t(window).on("scroll",function(){t(window).scrollTop()>=n.data("scroll-offset")&&(t(s).numerator(a),t(o).addClass("animated "+o.data("animation")))}):elementorFrontend.waypoint(i,function(){t(s).numerator(a),t(o).addClass("animated "+o.data("animation"))})},"premium-addon-title.default":[function(e,n){var t=e.find(".premium-title-container"),i=t.find(".premium-title-text");t.hasClass("style9")&&e.find(".premium-title-style9").each(function(){var e=n(this),t=1e3*e.attr("data-blur-delay");e.attr("data-animation-blur","process"),e.find(".premium-title-style9-letter").each(function(e,t){var i;e+=1,i=n("body").hasClass("rtl")?.2/e+"s":e/20+"s",n(t).css({"-webkit-animation-delay":i,"animation-delay":i})}),setInterval(function(){e.attr("data-animation-blur","done"),setTimeout(function(){e.attr("data-animation-blur","process")},150)},t)});if(t.hasClass("style8")){var a=1e3*i.attr("data-shiny-delay"),s=1e3*i.attr("data-shiny-dur");!function e(){i.get(0).setAttribute("data-animation","shiny"),setTimeout(function(){i.removeAttr("data-animation")},s),setTimeout(e,a)}()}},t],"premium-countdown-timer.default":function(e,l){var t=e.find(".premium-countdown"),n=t.data("settings"),m=e.data("id"),i=n.label1,a=n.label2,s=i.split(","),o=a.split(","),r="evergreen"===n.timerType?n.until.date.replace(/ /g,"T"):n.until,d="",c={y:{index:0,oldVal:""},o:{index:1,oldVal:""},w:{index:2,oldVal:""},d:{index:3,oldVal:""},h:{index:4,oldVal:""},m:{index:5,oldVal:""},s:{index:6,oldVal:""}};if(t.find("#countdown-"+m).hasClass("premium-countdown-flip")&&n.format.split("").forEach(function(e){var t=e.toLowerCase();d+=' {'+t+'nn}{'+t+'nn}{'+t+'nn}{'+t+'nn}
{'+t+'l} {sep} '}),t.find("#countdown-"+m).countdown({layout:d,labels:o,labels1:s,until:new Date(r),format:n.format,padZeroes:!0,timeSeparator:n.separator,onTick:function(e){var i,o,r;i=0,t.find("#countdown-"+m+" .countdown-amount").each(function(e,t){iYou can not redirect url from elementor Editor!!"):elementorFrontend.isEditMode()||(window.location.href=n.text)}},"premium-carousel-widget.default":function(t,c){var u=t.find(".premium-carousel-wrapper"),p=c(u).data("settings"),e=getComputedStyle(t[0]);if(!(u.find(".item-wrapper").length<1)){if(u.on("init",function(e){e.preventDefault(),setTimeout(function(){window.carouselTrigger=!0,t.trigger("paCarouselLoaded"),a("init")},500),c(this).find("item-wrapper.slick-active").each(function(){var e=c(this);e.addClass(e.data("animation"))}),c(".slick-track").addClass("translate")}),u.find(".premium-carousel-inner").slick({vertical:p.vertical,slidesToScroll:p.slidesToScroll,slidesToShow:p.slidesToShow,responsive:[{breakpoint:p.tabletBreak,settings:{slidesToShow:p.slidesTab,slidesToScroll:p.slidesTab,swipe:p.touchMove}},{breakpoint:p.mobileBreak,settings:{slidesToShow:p.slidesMob,slidesToScroll:p.slidesMob,swipe:p.touchMove}}],useTransform:!0,fade:p.fade,infinite:p.infinite,speed:p.speed,autoplay:p.autoplay,autoplaySpeed:p.autoplaySpeed,rows:0,draggable:p.draggable,rtl:p.rtl,adaptiveHeight:p.adaptiveHeight,pauseOnHover:p.pauseOnHover,centerMode:p.centerMode,centerPadding:e.getPropertyValue("--pa-carousel-center-padding")+"px",arrows:p.arrows,prevArrow:u.find(".premium-carousel-nav-arrow-prev").html(),nextArrow:u.find(".premium-carousel-nav-arrow-next").html(),dots:p.dots,variableWidth:p.variableWidth,cssEase:p.cssEase,customPaging:function(){return u.find(".premium-carousel-nav-dot").html()}}),t.find(".premium-carousel-hidden").removeClass("premium-carousel-hidden"),u.find(".premium-carousel-nav-arrow-prev").remove(),u.find(".premium-carousel-nav-arrow-next").remove(),p.variableWidth&&u.find(".elementor-container").css("flex-wrap","nowrap"),u.on("afterChange",function(e,t,i){var n,a,s=t.options.slidesToScroll,o=(n=t.options.slidesToShow,(a=c(window).width())>p.tabletBreak&&(n=p.slidesDesk),a<=p.tabletBreak&&(n=p.slidesTab),a<=p.mobileBreak&&(n=p.slidesMob),n),r=t.options.centerMode,l=i+o-1;if(u.find(".slick-active .elementor-invisible").each(function(e,t){var i=c(t).data("settings");if(i&&(i._animation||i.animation)){var n=i._animation_delay?i._animation_delay:0,a=i._animation||i.animation;setTimeout(function(){c(t).removeClass("elementor-invisible").addClass(a+" animated")},n)}}),1===s){if(!0==!r){var m=c(this).find("[data-slick-index='"+l+"']");"null"!=p.animation&&m.find("p, h1, h2, h3, h4, h5, h6, span, a, img, i, button").addClass(p.animation).removeClass("premium-carousel-content-hidden")}}else for(var d=s+i;0<=d;d--)m=c(this).find("[data-slick-index='"+d+"']"),"null"!=p.animation&&m.find("p, h1, h2, h3, h4, h5, h6, span, a, img, i, button").addClass(p.animation).removeClass("premium-carousel-content-hidden");t.$slides.length-1!=i||p.infinite||u.find(".premium-carousel-inner").slick("slickSetOption","autoplay",!1,!1)}),u.on("beforeChange",function(e,t,i){a();var n=c(this).find("[data-slick-index='"+i+"']");"null"!=p.animation&&n.siblings().find("p, h1, h2, h3, h4, h5, h6, span, a, img, i, button").removeClass(p.animation).addClass("premium-carousel-content-hidden")}),p.vertical){var i=-1;elementorFrontend.elements.$window.on("load",function(){u.find(".slick-slide").each(function(){c(this).height()>i&&(i=c(this).height())}),u.find(".slick-slide").each(function(){c(this).height()"),i.on("focus blur",function(){t(this).closest(".wpcf7-span").toggleClass("is-focused")})},"premium-icon-list.default":function(e,n){var a=e.find(".premium-bullet-list-box");a.find(".premium-bullet-list-content").each(function(e,i){a.data("list-animation")&&" "!=a.data("list-animation")&&elementorFrontend.waypoint(n(i),function(){var e=n(i),t=e.data("delay");setTimeout(function(){e.next(".premium-bullet-list-divider , .premium-bullet-list-divider-inline").css("opacity","1"),e.next(".premium-bullet-list-divider-inline , .premium-bullet-list-divider").addClass("animated "+a.data("list-animation")),e.css("opacity","1").addClass("animated "+a.data("list-animation"))},t)})})},"premium-addon-button.default":e,"premium-addon-image-button.default":e},l={"premium-addon-person":i.extend({getDefaultSettings:function(){return{slick:{infinite:!0,rows:0,prevArrow:'',nextArrow:'',draggable:!0,pauseOnHover:!0},selectors:{multiplePersons:".multiple-persons",person:".premium-person-container",personCarousel:".premium-person-container.slick-active",personImg:".premium-person-image-container img"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$multiplePersons:this.$element.find(e.multiplePersons),$persons:this.$element.find(e.person),$personImg:this.$element.find(e.personImg)}},bindEvents:function(){this.run()},getSlickSettings:function(){var e=this.getElementSettings(),t=this.elements.$multiplePersons.data("rtl"),i=e.persons_per_row,n=e.persons_per_row_tablet,a=e.persons_per_row_mobile;return Object.assign(this.getSettings("slick"),{slidesToShow:parseInt(100/i.substr(0,i.indexOf("%"))),slidesToScroll:parseInt(100/i.substr(0,i.indexOf("%"))),responsive:[{breakpoint:1025,settings:{slidesToShow:parseInt(100/n.substr(0,n.indexOf("%"))),slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:parseInt(100/a.substr(0,a.indexOf("%"))),slidesToScroll:1}}],autoplay:e.carousel_play,rtl:!!t,autoplaySpeed:e.speed||5e3})},runEqualHeight:function(){var e=this.elements.$persons,t=this.elements.$personImg,i=this.getSettings("selectors"),n=this.getElementSettings("carousel"),a=new Array;n&&(e=this.$element.find(i.personCarousel)),e.each(function(e,t){u(t).imagesLoaded(function(){}).done(function(){var e=u(t).find(i.personImg).outerHeight();a.push(e)})}),e.imagesLoaded(function(){}).done(function(){var e=Math.max.apply(null,a);t.css("height",e+"px")})},run:function(){var e=this.elements.$multiplePersons;e.length&&("yes"===e.data("persons-equal")&&this.runEqualHeight(),this.getElementSettings("carousel")&&e.slick(this.getSlickSettings()))}}),"premium-addon-blog":o,"premium-img-gallery":a,"premium-addon-banner":s,"premium-svg-drawer":i.extend({bindEvents:function(){ScrollTrigger.config({limitCallbacks:!0,ignoreMobileResize:!0}),this.run()},run:function(){gsap.registerPlugin(ScrollTrigger);var n=this.$element;if(n.find(".elementor-invisible").removeClass("elementor-invisible"),n.find("title").remove(),n.hasClass("premium-svg-animated-yes")){var e=n.data("id"),t=this.getElementSettings(),i=t.scroll_action,a=null;if("automatic"===i){a="custom"!==t.animate_trigger?t.animate_trigger:t.animate_offset.size+"%";var s=t.anim_rev?"pause play reverse":"none",o=new TimelineMax({repeat:t.loop?-1:0,yoyo:!!t.yoyo,scrollTrigger:{trigger:".elementor-element-"+e,toggleActions:"play "+s,start:"top "+a}})}else{o=new TimelineMax({repeat:"hover"===i&&t.loop?-1:0,yoyo:!("hover"!==i||!t.yoyo)});"viewport"===i&&(a=t.animate_offset.size/100)}var r=n.hasClass("premium-svg-anim-rev-yes")?"to":"from",l=n.find("path, circle, rect, square, ellipse, polyline, polygon, line"),m=0,d="from"==r?t.animate_start_point.size:t.animate_end_point.size;if(l.each(function(e,t){var i=u(t);i.attr("fill","transparent"),n.hasClass("premium-svg-sync-yes")&&(e=0),m=e,o[r](i,1,{PaSvgDrawer:(d||0)+"% 0"},e)}),"yes"===t.svg_fill&&(0==m&&(m=1),o.to(l,1,{fill:t.svg_color,stroke:t.svg_stroke},m)),"viewport"===i){var c=new ScrollMagic.Controller;new ScrollMagic.Scene({triggerElement:".elementor-element-"+e,triggerHook:a,duration:t.draw_speed?1e3*t.draw_speed.size:"150%"}).setTween(o).addTo(c)}else t.frames&&o.duration(t.frames),"hover"===i&&(o.pause(),n.find("svg").hover(function(){o.play()},function(){o.pause()}))}}})};u.each(r,function(i,e){"object"==typeof e?u.each(e,function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+i,t)}):elementorFrontend.hooks.addAction("frontend/element_ready/"+i,e)}),u.each(l,function(e,t){elementorFrontend.elementsHandler.attachHandler(e,t)}),elementorFrontend.isEditMode()?elementorFrontend.hooks.addAction("frontend/element_ready/premium-addon-progressbar.default",n):elementorFrontend.hooks.addAction("frontend/element_ready/premium-addon-progressbar.default",function(e,t){var i=e.find(".premium-progressbar-container").data("settings").type;"dots"===i&&n(e,"frontend"),elementorFrontend.waypoint(e,function(){("dots"!==i?n:w)(t(this))})})})}(jQuery);