!function(e,t){"use strict";var i={init:function(){var a={"jet-carousel.default":i.widgetCarousel,"jet-circle-progress.default":i.widgetProgress,"jet-map.default":i.widgetMap,"jet-countdown-timer.default":i.widgetCountdown,"jet-posts.default":i.widgetPosts,"jet-animated-text.default":i.widgetAnimatedText,"jet-animated-box.default":i.widgetAnimatedBox,"jet-images-layout.default":i.widgetImagesLayout,"jet-slider.default":i.widgetSlider,"jet-testimonials.default":i.widgetTestimonials,"jet-image-comparison.default":i.widgetImageComparison,"jet-instagram-gallery.default":i.widgetInstagramGallery,"jet-scroll-navigation.default":i.widgetScrollNavigation,"jet-subscribe-form.default":i.widgetSubscribeForm,"jet-progress-bar.default":i.widgetProgressBar,"jet-portfolio.default":i.widgetPortfolio,"jet-timeline.default":i.widgetTimeLine,"jet-table.default":i.widgetTable,"jet-dropbar.default":i.widgetDropbar,"jet-video.default":i.widgetVideo,"jet-audio.default":i.widgetAudio,"jet-horizontal-timeline.default":i.widgetHorizontalTimeline,"mp-timetable.default":i.widgetTimeTable,"jet-pie-chart.default":i.widgetPieChart,"jet-bar-chart.default":i.widgetBarChart,"jet-line-chart.default":i.widgetLineChart,"jet-lottie.default":i.widgetLottie,"jet-pricing-table.default":i.widgetPricingTable};e.each(a,function(e,i){t.hooks.addAction("frontend/element_ready/"+e,i)}),t.hooks.addAction("frontend/element_ready/section",i.elementorSection),t.hooks.addAction("frontend/element_ready/container",i.elementorSection)},initElementsHandlers:function(t){t.find("[data-element_type]").each(function(){var t=e(this),i=t.data("element_type");i&&("widget"===i&&(i=t.data("widget_type"),window.elementorFrontend.hooks.doAction("frontend/element_ready/widget",t,e)),window.elementorFrontend.hooks.doAction("frontend/element_ready/global",t,e),window.elementorFrontend.hooks.doAction("frontend/element_ready/"+i,t,e))})},widgetCountdown:function(t){var i,a=t.find(".jet-countdown-timer"),o=a.data("type"),n=null,s=a.data("due-date"),r=a.data("start-date"),l=a.data("expire-actions"),d=a.data("evergreen-interval"),c=a.data("restart-interval"),u={days:a.find('[data-value="days"]'),hours:a.find('[data-value="hours"]'),minutes:a.find('[data-value="minutes"]'),seconds:a.find('[data-value="seconds"]')},p=function(){if(n){var t=m(n,{days:u.days.length,hours:u.hours.length,minutes:u.minutes.length});e.each(t.parts,function(e){var t=u[e];t.length&&t.html(this)}),t.total<=0&&(clearInterval(i),g())}},f=function(t){t=t.toString();var i,a="";return 1===t.length&&(t=0+t),i=t.match(/\d{1}/g),e.each(i,function(e,t){a+=''+t+""}),a},m=function(e,t){var i=e-new Date,a=Math.floor(i/1e3%60),o=Math.floor(i/1e3/60%60),n=Math.floor(i/36e5%24),s=Math.floor(i/864e5);return(s<0||n<0||o<0)&&(a=o=n=s=0),t.days||(n+=24*s,s=0),t.hours||(o+=60*n,n=0),t.minutes||(a+=60*o,o=0),{total:i,parts:{days:f(s),hours:f(n),minutes:f(o),seconds:f(a)}}},g=function(){t.trigger("jetCountdownTimerExpire",t),l&&e.each(l,function(e,o){switch(o){case"redirect":var s=a.data("expire-redirect-url");s&&(window.location.href=s);break;case"message":t.find(".jet-countdown-timer-message").show();break;case"hide":a.hide();break;case"restart":n=(n=new Date).setSeconds(n.getSeconds()+c),p(),i=setInterval(p,1e3)}})},h=function(){var e=t.data("id"),i="jet_evergreen_countdown_due_date_"+e,a="jet_evergreen_countdown_interval_"+e,o=localStorage.getItem(i),n=localStorage.getItem(a),s=function(){var e=new Date,t=e.setSeconds(e.getSeconds()+d);return localStorage.setItem(i,t),localStorage.setItem(a,d),t};return null===o&&null===n?s():null!==o&&d!==parseInt(n,10)?s():o>0&&parseInt(n,10)===d?o:void 0};!function(){switch(o){case"due_date":n=new Date(1e3*s);break;case"evergreen":d>0&&(n=h());break;case"endless":var e=new Date,t=Math.abs(e.getTimezoneOffset()),a=new Date(1e3*r),l=Math.abs(a.getTimezoneOffset())-t;e>a&&(n=new Date(1e3*(r+c))),n&&e>n&&(n=n.setSeconds(n.getSeconds()+(Math.floor((e-n)/(1e3*c))+1)*c)),0!=l&&(n-=60*l*1e3)}p(),i=setInterval(p,1e3)}()},widgetMap:function(t){var i,a,o,n,s=t.find(".jet-map"),r=0,l=[];function d(e,t=","){return e.split(t).reduce(function(e,t){var i=t.split("|"),a=i[0].toLowerCase();if(new RegExp(/[-_a-z0-9]+/).test(a)&&"href"!==a&&"on"!==a.substring(0,2))return e+a+'="'+(void 0!==i[1]?i[1].trim():"")+'" '},"")}window.google&&s.length&&(a=s.data("init"),o=s.data("pins"),!0===(n=a.pinsAutoClose)&&(r=1),i=new google.maps.Map(s[0],a),o&&e.each(o,function(t,a){var o,s,c={position:a.position,map:i};if(""!==a.image)if(void 0!==a.image_width&&void 0!==a.image_height){var u={url:a.image,scaledSize:new google.maps.Size(a.image_width,a.image_height),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(a.image_width/2,a.image_height/2)};c.icon=u}else c.icon=a.image;if(o=new google.maps.Marker(c),""!==a.desc||void 0!==a.link_title){var p;if(void 0!==a.link_title)p='
",a.desc+=p;s=new google.maps.InfoWindow({content:a.desc,disableAutoPan:!0}),l[t]=s}o.addListener("click",function(){s.setOptions({disableAutoPan:!1}),!0===n&&e.each(l,function(e,t){t.close()}),s.open(i,o)}),1===r?"visible"===a.state&&""!==a.desc&&(s.open(i,o),r++):0===r&&"visible"===a.state&&""!==a.desc&&s.open(i,o)}))},prepareWaypointOptions:function(e,t){var i=t||{},a=e.closest(".jet-popup__container-inner, .elementor-popup-modal .dialog-message");return a[0]&&(i.context=a[0]),i},widgetProgress:function(o){var n=o.find(".circle-progress");if(n.length){var s=n.find(".circle-progress__value"),r=n.find(".circle-progress__meter"),l=parseInt(s.data("value"))/100,d=o.find(".circle-progress-wrap").data("duration"),c=elementorFrontend.getCurrentDeviceMode(),u=!1,p=a.getElementorElementSettings(o),f=[],m=t.config.responsive.activeBreakpoints;f.desktop=[],g("desktop",p.circle_size.size?p.circle_size.size:n[0].getAttribute("width"),p.value_stroke.size?p.value_stroke.size:n[0].getElementsByClassName("circle-progress__value")[0].getAttribute("stroke-width"),p.bg_stroke.size?p.bg_stroke.size:n[0].getElementsByClassName("circle-progress__meter")[0].getAttribute("stroke-width")),Object.keys(m).reverse().forEach(function(e,t){if("widescreen"===e){var i=p["circle_size_"+e].size?p["circle_size_"+e].size:p.circle_size.size,a=p["value_stroke_"+e].size?p["value_stroke_"+e].size:p.value_stroke.size,o=p["bg_stroke_"+e].size?p["bg_stroke_"+e].size:p.bg_stroke.size;f[e]=[],g(e,i,a,o)}else{i=p["circle_size_"+e].size?p["circle_size_"+e].size:n[0].getAttribute("width"),a=p["value_stroke_"+e].size?p["value_stroke_"+e].size:n[0].getElementsByClassName("circle-progress__value")[0].getAttribute("stroke-width"),o=p["bg_stroke_"+e].size?p["bg_stroke_"+e].size:n[0].getElementsByClassName("circle-progress__meter")[0].getAttribute("stroke-width");f[e]=[],g(e,i,a,o)}}),h(f[c].size,f[c].viewBox,f[c].center,f[c].radius,f[c].valStroke,f[c].bgStroke,f[c].circumference),elementorFrontend.waypoint(o,function(){var e=o.find(".circle-counter__number"),t=e.data(),i=t.toValue.toString().match(/\.(.*)/);i&&(t.rounding=i[1].length),t.duration=d,e.numerator(t);var a=parseInt(n.data("circumference"))*(1-l);s.css({transitionDuration:d+"ms",strokeDashoffset:a}),u=!0},i.prepareWaypointOptions(o,{offset:"bottom-in-view"})),e(window).on("resize.jetCircleProgress orientationchange.jetCircleProgress",a.debounce(50,function(){c=elementorFrontend.getCurrentDeviceMode(),f[c]&&h(f[c].size,f[c].viewBox,f[c].center,f[c].radius,f[c].valStroke,f[c].bgStroke,f[c].circumference)}))}function g(e,t,i,a){var o,n;f[e].size=t,f[e].viewBox=`0 0 ${t} ${t}`,f[e].center=t/2,n=t/2,o=i>=a?i:a,f[e].radius=n-o/2,f[e].circumference=2*Math.PI*f[e].radius,f[e].valStroke=i,f[e].bgStroke=a}function h(e,t,i,a,o,d,c){var p=c*(1-l);n.attr({width:e,height:e,"data-radius":a,"data-circumference":c}),n[0].setAttribute("viewBox",t),r.attr({cx:i,cy:i,r:a,"stroke-width":d}),u&&s.css({transitionDuration:""}),s.attr({cx:i,cy:i,r:a,"stroke-width":o}),s.css({strokeDasharray:c,strokeDashoffset:u?p:c})}},widgetCarousel:function(e){var t=e.find(".jet-carousel"),a=t.find(".jet-carousel__fraction-navigation");t.length&&(!0===t.data("slider_options").fractionNav&&t.find(".elementor-slick-slider").on("init reInit afterChange",function(e,t,i,o){var n=(i||0)+1;a.html(''+n+'/'+t.slideCount+"")}),i.initCarousel(t.find(".elementor-slick-slider"),t.data("slider_options")))},widgetPosts:function(e){var t=e.find(".jet-carousel"),a=t.data("slider_options");t.length&&(a.slide=".jet-posts__item",i.initCarousel(t.find(".jet-posts"),a))},widgetAnimatedText:function(e){var t,i=e.find(".jet-animated-text");i.length&&(t=i.data("settings"),new jetAnimatedText(i,t).init())},widgetAnimatedBox:function(a){i.onAnimatedBoxSectionActivated(a);var o,n,s=a.find(".jet-animated-box"),r=s.data("settings"),l=(r=e.extend({},{widgetId:null,switchEventType:"hover",paperFoldDirection:"left",slideOutDirection:"left",peelCornerPosition:"right"},r),e(window).scrollTop()),d=!0,c=Boolean(t.isEditMode());if(s.length)switch(r.switchEventType){case"hover":c?u():"ontouchend"in window||"ontouchstart"in window?(s.on("touchstart",function(t){l=e(window).scrollTop()}),s.on("touchend",function(t){if(l!==e(window).scrollTop())return!1;var i=e(this);i.hasClass("flipped-stop")||setTimeout(function(){i.toggleClass("flipped")},10)}),e(document).on("touchend",function(t){e(t.target).closest(s).length||s.hasClass("flipped-stop")||s.hasClass("flipped")&&s.removeClass("flipped")})):s.on("mouseenter mouseleave",function(t){d&&"mouseleave"===t.type||(d&&"mouseenter"===t.type&&(d=!1),e(this).hasClass("flipped-stop")||e(this).toggleClass("flipped"))});break;case"click":u();break;case"toggle":"ontouchend"in window||"ontouchstart"in window?s.on("touchstart",".jet-animated-box__toggle",function(e){s.hasClass("flipped-stop")||s.toggleClass("flipped")}):s.on("click",".jet-animated-box__toggle",function(e){s.hasClass("flipped-stop")||s.toggleClass("flipped")});break;case"scratch":!function(){var t=document.querySelector("#jet-animated-box-"+r.widgetId).getBoundingClientRect().top;if(c)return!1;var i=e(window).width();e("html, body").scrollTop(0),html2canvas(document.querySelector("#jet-animated-box__front-"+r.widgetId),{allowTaint:!0,backgroundColor:null,windowWidth:e(window).width(),windowHeight:e(window).height(),scrollX:0,scrollY:-window.scrollY}).then(function(a){a.setAttribute("id","jet-animated-box-canvas-"+r.widgetId),s.prepend(a),e(".jet-animated-box__front",s).fadeOut(300,function(){e(this).remove()}),e(window).one("resize.jetScratch",function(t){e(window).width()!==i&&(i=e(window).width(),e(a).fadeOut(250,function(){e(this).remove()}))});new jetScratchEffect("#jet-animated-box-"+r.widgetId,"#jet-animated-box-canvas-"+r.widgetId,function(){e(a).fadeOut(300,function(){e(this).remove(),s.removeClass("back-events-inactive")})},r.scratchFillPercent,t)})}();break;case"fold":!function(){if(c)return s.addClass("fold-init"),!1;var t="#jet-animated-box__front-"+r.widgetId;new OriDomi(document.querySelector(t),{vPanels:5,hPanels:5,speed:500,ripple:!0,shadingIntensity:.9,perspective:1e3,shading:!1,gapNudge:0,touchSensitivity:.25,touchMoveCallback:function(i,a){89.5=0&&(t.position.left=0);break;case"right":i.left<=0&&(t.position.left=0);break;case"top":i.top>=0&&(t.position.top=0);break;case"bottom":i.top<=0&&(t.position.top=0)}}})}function u(){"ontouchend"in window||"ontouchstart"in window?(s.on("touchstart",function(t){l=e(window).scrollTop()}),s.on("touchend",function(t){if(l!==e(window).scrollTop())return!1;var i=e(this);i.hasClass("flipped-stop")||setTimeout(function(){i.toggleClass("flipped")},10)}),e(document).on("touchend",function(t){e(t.target).closest(s).length||s.hasClass("flipped-stop")||s.hasClass("flipped")&&s.removeClass("flipped")})):s.on("click",function(e){s.hasClass("flipped-stop")||s.toggleClass("flipped")})}},onAnimatedBoxSectionActivated:function(e){if(window.elementor&&window.JetElementsEditor&&window.JetElementsEditor.activeSection){var t=window.JetElementsEditor.activeSection;-1!==["section_back_content","section_action_button_style"].indexOf(t)?(e.find(".jet-animated-box").addClass("flipped"),e.find(".jet-animated-box").addClass("flipped-stop")):(e.find(".jet-animated-box").removeClass("flipped"),e.find(".jet-animated-box").removeClass("flipped-stop"))}},widgetImagesLayout:function(e){var t,i=e.find(".jet-images-layout");i.length&&(t=i.data("settings"),new jetImagesLayout(i,t).init())},widgetPortfolio:function(t){var i=t.find(".jet-portfolio"),o=a.getElementorElementSettings(t),n={id:t.data("id")};i.length&&(n=e.extend({},n,i.data("settings"),o),new jetPortfolio(i,n).init())},widgetInstagramGallery:function(t){var i,a,o=t.find(".jet-instagram-gallery__instance");o.length&&(a=o.data("settings"),i={layoutType:"masonry"},e.extend(i,a),"masonry"===a.layoutType&&(salvattore.init(),e(window).on("resize orientationchange",function(){salvattore.rescanMediaQueries()})))},widgetScrollNavigation:function(e){var t=e.find(".jet-scroll-navigation"),i=t.data("settings");new jetScrollNavigation(e,t,i).init()},widgetSubscribeForm:function(t){var i=t.find(".jet-subscribe-form"),o=t.data("id"),n=i.data("settings"),s=null,r="jet_subscribe_form_ajax",l=!1,d=e(".jet-subscribe-form__form",i),c=(e(".jet-subscribe-form__fields",i),e(".jet-subscribe-form__mail-field",i)),u=c.data("instance-data"),p=e(".jet-subscribe-form__submit",i),f=e(".jet-subscribe-form__message",i),m=window.jetElements.messages.invalidMail||"Please specify a valid email";function g(){var t=c.val(),g={email:t,use_target_list_id:n.use_target_list_id||!1,target_list_id:n.target_list_id||"",data:u},h=d.serializeArray(),v={};a.validateEmail(t)?(e.each(h,function(e,t){"email"===t.name?g[t.name]=t.value:v[t.name]=t.value}),g.additional=v,!l&&s&&s.abort(),s=e.ajax({type:"POST",url:window.jetElements.ajaxUrl,data:{action:r,data:g},cache:!1,beforeSend:function(){p.addClass("loading"),l=!1},success:function(t){var a=t.type,s=t.message||"",r="jet-subscribe-form--response-"+a;p.removeClass("loading"),l=!0,i.removeClass("jet-subscribe-form--response-error"),i.addClass(r),e("span",f).html(s),f.css({visibility:"visible"}),setTimeout(function(){f.css({visibility:"hidden"}),i.removeClass(r)},2e4),n.redirect&&(window.location.href=n.redirect_url),e(window).trigger({type:"jet-elements/subscribe",elementId:o,successType:a,inputData:u})}})):(c.addClass("mail-invalid"),i.addClass("jet-subscribe-form--response-error"),e("span",f).html(m),f.css({visibility:"visible"}),setTimeout(function(){i.removeClass("jet-subscribe-form--response-error"),f.css({visibility:"hidden"}),c.removeClass("mail-invalid")},2e4))}c.on("focus",function(){c.removeClass("mail-invalid")}),e(document).keydown(function(e){if(13===e.keyCode&&c.is(":focus"))return g(),!1}),p.on("click",function(){return g(),!1})},widgetProgressBar:function(t){var a=t.find(".jet-progress-bar"),o=a.data("percent"),n=a.data("type");elementorFrontend.waypoint(a,function(t){var i=e(this),s={charged:0},r=e(".jet-progress-bar__status-bar",i),l=e(".jet-progress-bar__percent-value",i),d=a.data("current-value"),c=a.data("max-value");if(d&&c){if(d>c)return;s={Counter:0}}"type-7"==n?r.css({height:o+"%"}):r.css({width:o+"%"}),anime({targets:s,charged:o,round:1,duration:1e3,easing:"easeInOutQuad",begin:function(){d&&c&&e({Counter:0}).animate({Counter:d},{duration:1e3,easing:"swing",step:function(){l.text(Math.ceil(this.Counter)+"/"+c)}})},update:function(){l.html(s.charged)}})},i.prepareWaypointOptions(t))},widgetSlider:function(i){var o,n,s,r=i.find(".jet-slider"),l=(e(".sp-image",r),e(".jet-slider__item",r)),d="",c="",u=r.data("settings")||{},p=a.getElementorElementSettings(i),f={},m=t.config.responsive.activeBreakpoints,g=e.extend({},{imageScaleMode:"cover",slideDistance:{size:10,unit:"px"},slideDuration:500,sliderAutoplay:!0,sliderAutoplayDelay:2e3,sliderAutoplayOnHover:"pause",sliderFadeMode:!1,sliderFullScreen:!0,sliderFullscreenIcon:"",sliderHeight:{size:600,unit:"px"},sliderLoop:!0,sliderNaviOnHover:!1,sliderNavigation:!0,sliderNavigationIcon:"",sliderPagination:!1,sliderShuffle:!1,sliderWidth:{size:100,unit:"%"},thumbnailWidth:120,thumbnailHeight:80,thumbnails:!0,rightToLeft:!1},u),h=r.find(".jet-slider__fraction-pagination"),v=Boolean(t.isEditMode());if(r.length){l.each(function(){var i=e(this).find(".jet-slider__content");if(i.data("slide-url")&&!t.isEditMode()){let e,t;i.on("mousedown touchstart",function(e){window.XPos=e.pageX||e.originalEvent.changedTouches[0].pageX,window.YPos=e.pageY||e.originalEvent.changedTouches[0].pageY}),i.on("mouseup touchend",function(a){if(d=i.data("slide-url"),c=i.data("slide-url-target"),e=a.pageX||a.originalEvent.changedTouches[0].pageX,t=a.pageY||a.originalEvent.changedTouches[0].pageY,window.XPos===e&&window.YPos===t){if("_blank"===c)return void window.open(d);window.location=d}})}}),o=p.slider_height&&""!=p.slider_height.size?p.slider_height.size+p.slider_height.unit:"600px",n="thumbnail_height"in p&&""!=p.thumbnail_height?p.thumbnail_height:80,s="thumbnail_width"in p&&""!=p.thumbnail_width?p.thumbnail_width:120;var w=e(window).height(),_=e(document).height(),b=v&&w<_?18:1;Object.keys(m).forEach(function(e){if("widescreen"===e){var t=m[e].value-b,i=""!=p["slider_height_"+e].size?p["slider_height_"+e].size+p["slider_height_"+e].unit:o,a=""!=p["thumbnail_height_"+e]?p["thumbnail_height_"+e]:n,r=""!=p["thumbnail_width_"+e]?p["thumbnail_width_"+e]:s,l=""!=p.slider_height.size?p.slider_height.size+p.slider_height.unit:g.sliderHeight.size+g.sliderHeight.unit,d=""!=p.thumbnail_height?p.thumbnail_height:g.thumbnailHeight,c=""!=p.thumbnail_width?p.thumbnail_width:g.thumbnailWidth;if(!(i||a||r))return;f[t]={},i&&(o=i,f[t].height=l),a&&(n=a,f[t].thumbnailHeight=d),r&&(s=r,f[t].thumbnailWidth=c)}else{t=m[e].value-b,a=!!p["thumbnail_height_"+e]&&p["thumbnail_height_"+e],r=!!p["thumbnail_width_"+e]&&p["thumbnail_width_"+e];if(!((i=!!p["slider_height_"+e].size&&p["slider_height_"+e].size+p["slider_height_"+e].unit)||a||r))return;f[t]={},i&&(f[t].height=i),a&&(f[t].thumbnailHeight=a),r&&(f[t].thumbnailWidth=r)}}),e(".slider-pro",r).sliderPro({width:g.sliderWidth.size+g.sliderWidth.unit,height:o,arrows:g.sliderNavigation,fadeArrows:g.sliderNaviOnHover,buttons:g.sliderPagination,autoplay:g.sliderAutoplay,autoplayDelay:g.sliderAutoplayDelay,autoplayOnHover:g.sliderAutoplayOnHover,fullScreen:g.sliderFullScreen,shuffle:g.sliderShuffle,loop:g.sliderLoop,fade:g.sliderFadeMode,slideDistance:"string"!=typeof g.slideDistance.size?g.slideDistance.size:0,slideAnimationDuration:+g.slideDuration,imageScaleMode:"exact",waitForLayers:!1,grabCursor:!1,thumbnailWidth:s,thumbnailHeight:n,rightToLeft:g.rightToLeft,touchSwipe:g.touchswipe,init:function(){var t=e("."+g.sliderFullscreenIcon).html(),i=e("."+g.sliderNavigationIcon).html();e(".sp-full-screen-button",r).html(t),e(".sp-previous-arrow",r).html(i),e(".sp-next-arrow",r).html(i),e(".slider-pro",r).addClass("slider-loaded"),this.resize()},gotoSlideComplete:function(){if(!0===g.fractionPag){var e=(this.getSelectedSlide()?this.getSelectedSlide():0)+1;h.html(''+e+'/'+this.getTotalSlides()+"")}},update:function(){if(!0===g.fractionPag){var e=(this.getSelectedSlide()?this.getSelectedSlide():0)+1;h.html(''+e+'/'+this.getTotalSlides()+"")}},breakpoints:f}),e(".slider-pro",r).on("gotoSlide",function(){r.find("[data-element_type]").each(function(){window.elementorFrontend.hooks.doAction("frontend/element_ready/global",e(this),e)})})}},widgetTestimonials:function(t){var a=t.find(".jet-testimonials__instance"),o=(e(".jet-testimonials__figure",a),e(".jet-testimonials__content",a)),n=a.data("settings");a.data("rating-settings");a.length&&(o.each(function(){var t=e(".jet-testimonials__rating",this);if(t){var i=t.data("rating");t.each(function(){e("i",this).each(function(t){if(t<=i-1){var a=e(this).data("active-star");e(this).addClass(a)}else{a=e(this).data("star");e(this).addClass(a)}})})}}),n.adaptiveHeight=n.adaptiveHeight,n.slide=".jet-testimonials__item",i.initCarousel(a,n))},widgetImageComparison:function(t){var a=t.find(".jet-image-comparison__instance"),o=(e(".jet-image-comparison__container",a),a.data("settings"));t.data("id");a.length&&(window.juxtapose.scanPage(".jet-juxtapose"),o.draggable=!1,o.infinite=!1,i.initCarousel(a,o))},widgetTimeTable:function(t){var i=t.find(".mptt-shortcode-wrapper");if("undefined"!=typeof typenow&&pagenow===typenow)switch(typenow){case"mp-event":Registry._get("Event").init();break;case"mp-column":Registry._get("Event").initDatePicker(),Registry._get("Event").columnRadioBox()}i.length&&(Registry._get("Event").initTableData(),Registry._get("Event").filterShortcodeEvents(),Registry._get("Event").getFilterByHash(),i.show()),(e(".upcoming-events-widget").length||i.length)&&Registry._get("Event").setColorSettings()},elementorSection:function(e){var i=e;Boolean(t.isEditMode());new jetSectionParallax(i).init()},initCarousel:function(o,n){var s,r,l,d,c,u=[],p=o.closest(".elementor-widget"),f=a.getElementorElementSettings(p),m=t.config.responsive.activeBreakpoints,g=n.dots;if(o.hasClass("jet-posts")&&o.parent().hasClass("jet-carousel")){f=function(e,t){const i=Object.keys(e).map(i=>({[t[i]||i]:e[i]}));return Object.assign({},...i)}(f,{columns:"slides_to_show",columns_widescreen:"slides_to_show_widescreen",columns_laptop:"slides_to_show_laptop",columns_tablet_extra:"slides_to_show_tablet_extra",columns_tablet:"slides_to_show_tablet",columns_mobile_extra:"slides_to_show_mobile_extra",columns_mobile:"slides_to_show_mobile"}),c=e("> div.jet-posts__item",o).length}else c=e("> div",o).length;n.slidesToShow=+f.slides_to_show,n.slidesToScroll=f.slides_to_scroll?+f.slides_to_scroll:1,Object.keys(m).forEach(function(e){"widescreen"===e&&(n.slidesToShow="slides_to_show_widescreen"in f&&""!=f.slides_to_show_widescreen?+f.slides_to_show_widescreen:+f.slides_to_show,"slides_to_scroll_widescreen"in f&&""!=f.slides_to_scroll_widescreen?n.slidesToScroll=+f.slides_to_scroll_widescreen:n.slidesToShow>+f.slides_to_scroll?n.slidesToScroll=+f.slides_to_scroll:n.slidesToScroll=n.slidesToShow)}),n.slidesToShow>=c&&(n.dots=!1),l=n.slidesToShow,d=n.slidesToScroll,o.on("init reInit",function(){if(n.infinite){var t=e(this),a=e("> .slick-list > .slick-track > .slick-cloned.jet-carousel__item",t);if(!a.length)return;i.initElementsHandlers(a)}e(".slick-track",o).find(".slick-slide").each(function(){var t=e(this),i=e(".jet-carousel__item-img",t),a=new IntersectionObserver(function(t){!0===t[0].isIntersecting&&(i.each(function(){var t=e(this).attr("loading");void 0!==t&&!1!==t&&0===e(this).width()&&e(this).attr("loading","")}),a.unobserve(t[0].target))},{threshold:[0]});a.observe(t[0])})}),o.hasClass("slick-initialized")?o.slick("refresh",!0):(Object.keys(m).reverse().forEach(function(e){if(f["slides_to_show_"+e]||f["slides_to_scroll_"+e]){var t={breakpoint:null,settings:{}};t.breakpoint="widescreen"!=e?m[e].value:m[e].value-1,"widescreen"===e?(t.settings.slidesToShow=+f.slides_to_show,t.settings.slidesToScroll=+f.slides_to_scroll):(t.settings.slidesToShow=f["slides_to_show_"+e]?+f["slides_to_show_"+e]:l,t.settings.slidesToScroll=f["slides_to_scroll_"+e]?+f["slides_to_scroll_"+e]:d),t.settings.slidesToShow>=c?t.settings.dots=!1:g&&(t.settings.dots=!0),l=t.settings.slidesToShow,d=t.settings.slidesToScroll,u.push(t)}}),n.responsive=u,n.slidesToShow>=c&&(n.dots=!1),s={customPaging:function(t,i){return e("").text(i+1)},dotsClass:"jet-slick-dots"},r=e.extend({},s,n),o.slick(r))},widgetTimeLine:function(e){var t=e.find(".jet-timeline");t.length&&new jetTimeLine(t).init()},widgetTable:function(t){var i=t.find(".jet-table");i.length&&(i.hasClass("jet-table--sorting")&&i.tablesorter({cssHeader:"jet-table-header-sort",cssAsc:"jet-table-header-sort--up",cssDesc:"jet-table-header-sort--down",initWidgets:!1}),e(".jet-table__body-row",i).each(function(){var t=e(this),i=0,a=0;e(".jet-table__cell",t).each(function(){var t=e("img",e(this)),o=e("svg",e(this)),n=e("i",e(this)),s=0;0===o.length&&0===n.length&&(t.each(function(){""!=e(this).attr("src")&&s++}),0===e(this).text().length&&0===s&&a++),i++}),a===i&&t.remove()}))},widgetDropbar:function(t){var i,a,o=t.find(".jet-dropbar"),n=o.find(".jet-dropbar__inner"),s=o.find(".jet-dropbar__button"),r=o.find(".jet-dropbar__content"),l=o.data("settings")||{},d=l.mode||"hover",c=+l.hide_delay||0,u="jet-dropbar-open",p=t.parents(".e-con");"click"===d?s.on("click.jetDropbar",function(e){o.toggleClass(u)}):"ontouchstart"in window||"ontouchend"in window?s.on("touchend.jetDropbar",function(t){e(window).scrollTop()===i&&o.toggleClass(u)}):(n.on("mouseenter.jetDropbar",function(t){clearTimeout(a),e(".jet-dropbar").each(function(){e(this).removeClass(u),e(this).parents(".e-con").css("z-index","")}),p.css("z-index",""),"auto"===p.css("z-index")&&p.css("z-index",1),o.addClass(u)}),n.on("mouseleave.jetDropbar",function(e){a=setTimeout(function(){o.removeClass(u)},c)})),e(document).on("touchstart.jetDropbar",function(t){i=e(window).scrollTop()}),e(document).on("click.jetDropbar touchend.jetDropbar",function(t){"touchend"===t.type&&e(window).scrollTop()!==i||e(t.target).closest(s).length||e(t.target).closest(r).length||o.hasClass(u)&&o.removeClass(u)})},widgetVideo:function(e){var t=e.find(".jet-video"),i=e.find(".jet-video-iframe"),a=e.find(".jet-video-player"),o=e.find(".jet-video-mejs-player"),n=o.data("controls")||["playpause","current","progress","duration","volume","fullscreen"],s=e.find(".jet-video__overlay"),r=s.length>0,l=t.data("settings")||{},d=(l.lightbox,l.autoplay||!1);function c(){var e=i.data("lazy-load");e&&i.attr("src",e),d||(i[0].src=i[0].src.replace("&autoplay=0","&autoplay=1")),s.remove(),r=!1}s[0]&&s.on("click.jetVideo",function(e){if(a[0])return a[0].play(),s.remove(),void(r=!1);i[0]&&c()}),d&&i[0]&&s[0]&&c(),a[0]&&(a.on("play.jetVideo",function(e){r&&(s.remove(),r=!1)}),d&&s.remove()),o[0]&&o.mediaelementplayer({videoVolume:"horizontal",hideVolumeOnTouchDevices:!1,enableProgressTooltip:!1,features:n,success:function(t){t.addEventListener("timeupdate",function(t){var i=e.find(".mejs-time-current"),a=i.attr("style");if(a){var o=a.match(/scaleX\([0-9.]*\)/gi)[0].replace("scaleX(","").replace(")","");o&&i.css("width",100*o+"%")}},!1)}})},widgetAudio:function(e){var t,i=e.find(".jet-audio"),a=e.find(".jet-audio-player"),o=i.data("audio-settings"),n=0,s=!1;a[0]&&(t=o.startVolume||.8,o.controls.map(function(e){"volume"===e&&(s=!0)}),a.mediaelementplayer({features:o.controls||["playpause","current","progress","duration","volume"],audioVolume:o.audioVolume||"horizontal",startVolume:t,hideVolumeOnTouchDevices:o.hideVolumeOnTouchDevices,enableProgressTooltip:!1,success:function(i){var a=e.find(".mejs-button button");i.addEventListener("timeupdate",function(t){var i=e.find(".mejs-time-current"),a=i.attr("style");if(a){var o=a.match(/scaleX\([0-9.]*\)/gi)[0].replace("scaleX(","").replace(")","");o&&i.css("width",100*o+"%")}},!1),s&&"yes"===o.hasVolumeBar&&!o.hideVolumeOnTouchDevices?(i.setVolume(t),i.addEventListener("volumechange",function(){var s="horizontal"===o.audioVolume?e.find(".mejs-horizontal-volume-current"):e.find(".mejs-volume-current"),r="horizontal"===o.audioVolume?parseInt(s[0].style.width,10)/100:parseInt(s[0].style.height,10)/100,l="horizontal"===o.audioVolume?e.find(".mejs-horizontal-volume-total"):e.find(".mejs-volume-slider .mejs-volume-total"),d=e.find(".mejs-playpause-button"),c="";l.on("click",function(){c="horizontal"===o.audioVolume?parseInt(e.find(".mejs-horizontal-volume-total .mejs-horizontal-volume-current")[0].style.width,10)/100:parseInt(e.find(".mejs-volume-slider .mejs-volume-total .mejs-volume-current")[0].style.height,10)/100}),d.on("click",function(){""!==c&&i.setVolume(c)}),a.on("click",function(){i.muted||"yes"===o.muted&&0===n&&0===r&&(i.setVolume(t),n=1)})},!1)):s&&!o.hideVolumeOnTouchDevices&&a.on("click",function(){i.setVolume(t)})}}),a.attr("preload","metadata"))},widgetHorizontalTimeline:function(i){var o,n,s=i.find(".jet-hor-timeline"),r=i.find(".jet-hor-timeline-track"),l=i.find(".jet-hor-timeline-item"),d=i.find(".jet-arrow"),c=i.find(".jet-next-arrow"),u=i.find(".jet-prev-arrow"),p={},f={},m=!0,g=elementorFrontend.getCurrentDeviceMode(),h=g,v=s.closest(".elementor-widget"),w=a.getElementorElementSettings(v),_=t.config.responsive.activeBreakpoints,b=i.find(".jet-hor-timeline-list--middle .jet-hor-timeline-item").length,y=a.isRTL(),j=0,x=0,k={},C={};function T(){var e=i.find(".jet-hor-timeline__line"),t=i.find(".jet-hor-timeline-item__point-content:first"),a=i.find(".jet-hor-timeline-item__point-content:last"),o=t.position().left+parseInt(t.css("marginLeft")),n=a.position().left+parseInt(a.css("marginLeft")),s=t.outerWidth();e.css({left:y?n+s/2:o+s/2,width:Math.abs(n-o)})}if(p.desktop=w.columns,o=p.desktop,k.desktop=100/p.desktop,C.desktop=Math.max(0,b-p.desktop),f.desktop=+w.slides_to_scroll,n=f.desktop,Object.keys(_).reverse().forEach(function(e){"widescreen"===e?(p[e]="columns_widescreen"in w&&""!=w.columns_widescreen?w["columns_"+e]:p.desktop,f[e]="slides_to_scroll_widescreen"in w&&""!=w.slides_to_scroll_widescreen?+w["slides_to_scroll_"+e]:+f.desktop):(p[e]=""!=w["columns_"+e]&&null!=w["columns_"+e]?w["columns_"+e]:o,o=p[e],f[e]=""!=w["slides_to_scroll_"+e]&&null!=w["slides_to_scroll_"+e]?+w["slides_to_scroll_"+e]:+n,n=f[e]),k[e]=100/p[e],C[e]=Math.max(0,b-p[e])}),"ontouchstart"in window||"ontouchend"in window?l.on("touchend.jetHorTimeline",function(t){var a=e(this).data("item-id");i.find(".elementor-repeater-item-"+a).toggleClass("is-hover")}):l.on("mouseenter.jetHorTimeline mouseleave.jetHorTimeline",function(t){if(!m||"mouseleave"!==t.type){m&&"mouseenter"===t.type&&(m=!1);var a=e(this).data("item-id");i.find(".elementor-repeater-item-"+a).toggleClass("is-hover")}}),T(),e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline",a.debounce(50,T)),c[0]&&0===C[g]&&c.addClass("jet-arrow-disabled"),d[0]){var S,E=0,O=0;d.on("click.jetHorTimeline",function(t){var i=e(this),o=elementorFrontend.getCurrentDeviceMode(),n=f[o],s=i.hasClass("jet-next-arrow")?"next":"prev",l=y?1:-1;n=n>p[o]?p[o]:f[o],e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline",a.debounce(50,function(){o=elementorFrontend.getCurrentDeviceMode(),n=(n=f[o])>p[o]?p[o]:f[o]})),"next"===s&&xo&&i&&i.call(r)}}function h(e){p=!1}u.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAxCAYAAABNuS5SAAAKFklEQVR42u2aCXCcdRnG997NJtlkk83VJE3apEma9CQlNAR60UqrGSqW4PQSO9iiTkE8BxWtlGMqYCtYrLRQtfVGMoJaGRFliijaViwiWgQpyCEdraI1QLXG52V+n/5nzd3ENnX/M8/sJvvt933/533e81ufL7MyK7NOzuXPUDD0FQCZlVn/+xUUQhkXHny8M2TxGsq48MBjXdAhL9/7YN26dd5nI5aVRrvEc0GFEBNKhbDjwsHh3qP/FJK1EdYIedOFlFAOgREhPlICifZDYoBjTna3LYe4xcI4oSpNcf6RvHjuAJRoVszD0qFBGmgMChipZGFxbqzQkJWVZUSOF7JRX3S4LtLTeyMtkkqljMBkPzHRs2aYY5PcZH/qLY1EIo18byQ6hBytIr3WCAXcV4tQHYvFxg3w3N6+Bh3OQolEoqCoqCinlw16JzTFJSE6PYuZKqvztbC2ex7bzGxhKu+rerjJrEEq+r9ieElJSXFDQ0Mh9zYzOzu7FBUWcO4Q9xbD6HYvhXhGLccVD5ZAPyfMqaioyOrBUgEv8FZXV8caGxtz8vLykhCWTnZIKmsKhUJnEYeKcKk2YYERH41G7UYnck1/WvAPOxsdLJm2+bEY0Ay0RNeqkytXQkoBZM4U5oOa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bv75D4NIX3NoruLSjtKmLlbTwCKER1NmV+QIqfS13aai0izUHsRKksAQE5g0w4fuehj9f+xb25Ym1tbcIhuw2COmkBn2cAcQAFbsclV1BTns49JZio3EQWPkgCySJpFIu8aor0UfeLigDTlUTa/8eimhRGuUiKOZPYtYNabh9EGik3Mkk+A9I8JTWoAiik/LEpzY8tY4uwWc4AJMjxQd8oXRHU8JqbW32orNyAiubZo0WR5wX9KyHrLpLD52nrxhFHa1CVV5w3081cRu/7BYichpEqfafA7/sCzhT7tVkhLZvhTeB8Gv1r6U+ty/gqtWHQCSNTcPOl9NmXM1S4hgRjBjjL1MdUJ8cx3uhe3d3dfh5Meb8qyKWsuJRidwtN/h20XEtxvTwya7tKncU8ACqmXVwLict5fy6TnFhra2uW7xT8dWk2BHptVBOx8GLKjo3g7bhrBQq1sdVsCvEkhLZIac1y/zmUSO0oO8fX/0P2Ub3cwaWpZSITnLnOpDlBWTIfMleJqFb10jXCBJUlMyORSIP14LhqNef6v/05bpZTdHulUyXKsufDNdRxZ4vIhSKwhQFG5vfLfcwZsx2X92Jhje8/P8OI+TK/oO+zeA84WTzkvI/6RuB3y6f68qf11xnyMiuzMms4178AwArmZmkkdGcAAAAASUVORK5CYII=",r.addEventListener("mousedown",m,!1),r.addEventListener("mousemove",a.debounce(5,g),!1),r.addEventListener("mouseup",h,!1),r.addEventListener("touchstart",m,!1),r.addEventListener("touchmove",g,!1),r.addEventListener("touchend",h,!1)}}(jQuery,window.elementorFrontend);