!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), window.elementorFrontend.elements.$window.on("elementor/nested-tabs/activate", (t,a)=>{ const o = e(a); i.reinitSlickSlider(o), i.initWidgetsHandlers(o) } ) }, reinitSlickSlider: function(t) { var i = t.find(".slick-initialized"); i.length && i.each(function() { e(this).slick("unslick") }) }, initWidgetsHandlers: function(t) { t.find(".elementor-widget-jet-slider, .elementor-widget-jet-testimonials, .elementor-widget-jet-carousel, .elementor-widget-jet-portfolio, .elementor-widget-jet-horizontal-timeline, .elementor-widget-jet-image-comparison, .elementor-widget-jet-posts, .jet-parallax-section").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)) }) }, 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"]') }, f = 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), h()) } }, p = 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: p(s), hours: p(n), minutes: p(o), seconds: p(a) } } }, h = 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), f(), i = setInterval(f, 1e3) } }) }, g = 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 = g()); 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) } f(), i = setInterval(f, 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, title: a.address }; 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 f; if (void 0 !== a.link_title) f = '
" + a.link_title + "
", a.desc += f; 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 , f = a.getElementorElementSettings(o) , p = [] , m = t.config.responsive.activeBreakpoints; p.desktop = [], h("desktop", f.circle_size.size ? f.circle_size.size : n[0].getAttribute("width"), f.value_stroke.size ? f.value_stroke.size : n[0].getElementsByClassName("circle-progress__value")[0].getAttribute("stroke-width"), f.bg_stroke.size ? f.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 = f["circle_size_" + e].size ? f["circle_size_" + e].size : f.circle_size.size , a = f["value_stroke_" + e].size ? f["value_stroke_" + e].size : f.value_stroke.size , o = f["bg_stroke_" + e].size ? f["bg_stroke_" + e].size : f.bg_stroke.size; p[e] = [], h(e, i, a, o) } else { i = f["circle_size_" + e].size ? f["circle_size_" + e].size : n[0].getAttribute("width"), a = f["value_stroke_" + e].size ? f["value_stroke_" + e].size : n[0].getElementsByClassName("circle-progress__value")[0].getAttribute("stroke-width"), o = f["bg_stroke_" + e].size ? f["bg_stroke_" + e].size : n[0].getElementsByClassName("circle-progress__meter")[0].getAttribute("stroke-width"); p[e] = [], h(e, i, a, o) } }), g(p[c].size, p[c].viewBox, p[c].center, p[c].radius, p[c].valStroke, p[c].bgStroke, p[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(), p[c] && g(p[c].size, p[c].viewBox, p[c].center, p[c].radius, p[c].valStroke, p[c].bgStroke, p[c].circumference) })) } function h(e, t, i, a) { var o, n; p[e].size = t, p[e].viewBox = `0 0 ${t} ${t}`, p[e].center = t / 2, n = t / 2, o = i >= a ? i : a, p[e].radius = n - o / 2, p[e].circumference = 2 * Math.PI * p[e].radius, p[e].valStroke = i, p[e].bgStroke = a } function g(e, t, i, a, o, d, c) { var f = 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 ? f : 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()), u = e(".jet-animated-box__button--back", a); if (s.length) switch (r.switchEventType) { case "hover": c ? f() : "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 ? e(this).hasClass("flipped-stop") || e(this).removeClass("flipped") : d && "mouseenter" === t.type && (e(this).hasClass("flipped-stop") || e(this).addClass("flipped")) }), u.on("focus", function() { s.hasClass("flipped-stop") || s.addClass("flipped") }), u.on("focusout", function() { s.removeClass("flipped") })); break; case "click": f(); break; case "toggle": !function() { "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") }); u.on("focus", function() { s.hasClass("flipped-stop") || s.addClass("flipped") }), u.on("focusout", function() { s.removeClass("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 = null , i = "#jet-animated-box__front-" + r.widgetId; t = new OriDomi(document.querySelector(i),{ vPanels: 5, hPanels: 5, speed: 500, ripple: !0, shadingIntensity: .9, perspective: 1e3, shading: !1, gapNudge: 0, touchSensitivity: .25, touchMoveCallback: function(t, a) { 89.5 < t && e(i).remove() } }).accordion(0, r.paperFoldDirection), s.addClass("fold-init"), u.on("focus", function() { t.foldUp() }), u.on("focusout", function() { t.accordion(0, r.paperFoldDirection) }) }(); break; case "peel": !function(t) { if (c) return s.addClass("peel-ready"), !1; var i = e(".jet-animated-box__front", s).clone(); e(".jet-animated-box__front", s).addClass("peel-top"), i.removeAttr("id"), i.addClass("peel-back"), i.insertAfter("#jet-animated-box__front-" + r.widgetId), e(".jet-animated-box__back", s).addClass("peel-bottom"); var a = s.width(); s.height(); if ("left" === t) { var o = new Peel("#jet-animated-box-" + r.widgetId,{ corner: Peel.Corners.TOP_LEFT }); o.setPeelPosition(30, 40) } else { var o = new Peel("#jet-animated-box-" + r.widgetId,{ corner: Peel.Corners.TOP_RIGHT }); o.setPeelPosition(a - 30, 40) } o.setFadeThreshold(.8), u.on("focus", function() { o.removeEvents(), e(".peel-top, .peel-back, .peel-bottom-shadow", s).remove() }), o.handleDrag(function(t, i, a) { var n = s.offset() , r = n.left , l = n.top , d = i - r , c = a - l; d = d < 0 ? d *= 3 : d, c = c < 0 ? c *= 3 : c, .98 < this.getAmountClipped() && (this.removeEvents(), e(".peel-top, .peel-back, .peel-bottom-shadow", s).remove()), o.setPeelPosition(Math.round(d), Math.round(c)) }) }(r.peelCornerPosition); break; case "slide-out": o = e(".jet-animated-box__front", s), e(".jet-animated-box__back", s), s.width(), s.height(), n = "left" === r.slideOutDirection || "right" === r.slideOutDirection ? "x" : "y", o.draggable({ axis: n, drag: function(e, t) { var i = t.position; switch (r.slideOutDirection) { case "left": i.left >= 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) } } }), u.on("focus", function() { o.draggable("disable"), o.hide() }) } function f() { "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") }), u.on("focus", function() { s.hasClass("flipped-stop") || s.addClass("flipped") }), u.on("focusout", function() { s.removeClass("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") , f = e(".jet-subscribe-form__submit", i) , p = e(".jet-subscribe-form__message", i) , m = window.jetElements.messages.invalidMail || "Please specify a valid email"; function h() { var t = c.val() , h = { email: t, use_target_list_id: n.use_target_list_id || !1, target_list_id: n.target_list_id || "", data: u } , g = d.serializeArray() , v = {}; a.validateEmail(t) ? (e.each(g, function(e, t) { "email" === t.name ? h[t.name] = t.value : v[t.name] = t.value }), h.additional = v, !l && s && s.abort(), s = e.ajax({ type: "POST", url: window.jetElements.ajaxUrl, data: { action: r, data: h }, cache: !1, beforeSend: function() { f.addClass("loading"), l = !1 }, success: function(t) { var a = t.type , s = t.message || "" , r = "jet-subscribe-form--response-" + a; f.removeClass("loading"), l = !0, i.removeClass("jet-subscribe-form--response-error"), i.addClass(r), e("span", p).html(s), p.css({ visibility: "visible" }), setTimeout(function() { p.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", p).html(m), p.css({ visibility: "visible" }), setTimeout(function() { i.removeClass("jet-subscribe-form--response-error"), p.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 h(), !1 }), f.on("click", function() { return h(), !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") || {}, f = a.getElementorElementSettings(i), p = {}, m = t.config.responsive.activeBreakpoints, h = 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), g = 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 = f.slider_height && "custom" === f.slider_height.unit ? f.slider_height.size : "" != f.slider_height.size ? f.slider_height.size + f.slider_height.unit : "600px", n = "thumbnail_height"in f && "" != f.thumbnail_height ? f.thumbnail_height : 80, s = "thumbnail_width"in f && "" != f.thumbnail_width ? f.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 = f["slider_height_" + e] && "custom" === f["slider_height_" + e].unit ? f.slider_height.size : "" != f["slider_height_" + e].size ? f["slider_height_" + e].size + f["slider_height_" + e].unit : o , a = "" != f["thumbnail_height_" + e] ? f["thumbnail_height_" + e] : n , r = "" != f["thumbnail_width_" + e] ? f["thumbnail_width_" + e] : s , l = "" != f.slider_height.size ? f.slider_height.size + f.slider_height.unit : h.sliderHeight.size + h.sliderHeight.unit , d = "" != f.thumbnail_height ? f.thumbnail_height : h.thumbnailHeight , c = "" != f.thumbnail_width ? f.thumbnail_width : h.thumbnailWidth; if (!(i || a || r)) return; p[t] = {}, i && (o = i, p[t].height = l), a && (n = a, p[t].thumbnailHeight = d), r && (s = r, p[t].thumbnailWidth = c) } else { t = m[e].value - b, a = !!f["thumbnail_height_" + e] && f["thumbnail_height_" + e], r = !!f["thumbnail_width_" + e] && f["thumbnail_width_" + e]; if (!((i = "custom" === f["slider_height_" + e].unit ? f["slider_height_" + e].size : "" != f["slider_height_" + e].size && f["slider_height_" + e].size + f["slider_height_" + e].unit) || a || r)) return; p[t] = {}, i && (p[t].height = i), a && (p[t].thumbnailHeight = a), r && (p[t].thumbnailWidth = r) } }), e(".slider-pro", r).sliderPro({ width: h.sliderWidth.size + h.sliderWidth.unit, height: o, arrows: h.sliderNavigation, fadeArrows: h.sliderNaviOnHover, buttons: h.sliderPagination, autoplay: h.sliderAutoplay, autoplayDelay: h.sliderAutoplayDelay, autoplayOnHover: h.sliderAutoplayOnHover, fullScreen: h.sliderFullScreen, shuffle: h.sliderShuffle, loop: h.sliderLoop, fade: h.sliderFadeMode, slideDistance: "string" != typeof h.slideDistance.size ? h.slideDistance.size : 0, slideAnimationDuration: +h.slideDuration, imageScaleMode: "exact", waitForLayers: !1, grabCursor: !1, thumbnailWidth: s, thumbnailHeight: n, rightToLeft: h.rightToLeft, touchSwipe: h.touchswipe, init: function() { var t = e("." + h.sliderFullscreenIcon).html() , i = e("." + h.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 === h.fractionPag) { var e = (this.getSelectedSlide() ? this.getSelectedSlide() : 0) + 1; g.html('' + e + '/' + this.getTotalSlides() + "") } elementorFrontend.elements.$window.trigger("elementor/bg-video/recalc") }, update: function() { if (!0 === h.fractionPag) { var e = (this.getSelectedSlide() ? this.getSelectedSlide() : 0) + 1; g.html('' + e + '/' + this.getTotalSlides() + "") } }, breakpoints: p }), 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 = [], f = o.closest(".elementor-widget"), p = a.getElementorElementSettings(f), m = t.config.responsive.activeBreakpoints, h = n.dots, g = !0; if (o.hasClass("jet-image-comparison__instance") && (g = !1, setTimeout(function() { o.on("beforeChange", function() { e(this).find(".slick-slide").each(function() { e(this).find(".jx-controller").attr("tabindex", ""), e(this).find(".jx-label").attr("tabindex", "") }) }), o.on("afterChange", function() { e(this).find(".slick-slide.slick-active").each(function() { e(this).find(".jx-controller").attr("tabindex", "0"), e(this).find(".jx-label").attr("tabindex", 0) }) }) }, 100)), o.hasClass("jet-posts") && o.parent().hasClass("jet-carousel")) { p = function(e, t) { const i = Object.keys(e).map(i=>({ [t[i] || i]: e[i] })); return Object.assign({}, ...i) }(p, { 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; if (n.slidesToShow = +p.slides_to_show, n.slidesToScroll = p.slides_to_scroll ? +p.slides_to_scroll : 1, Object.keys(m).forEach(function(e) { "widescreen" === e && (n.slidesToShow = "slides_to_show_widescreen"in p && "" != p.slides_to_show_widescreen ? +p.slides_to_show_widescreen : +p.slides_to_show, "slides_to_scroll_widescreen"in p && "" != p.slides_to_scroll_widescreen ? n.slidesToScroll = +p.slides_to_scroll_widescreen : n.slidesToShow > +p.slides_to_scroll ? n.slidesToScroll = +p.slides_to_scroll : n.slidesToScroll = n.slidesToShow) }), n.slidesToShow >= c && (n.dots = !1), l = n.slidesToShow, d = n.slidesToScroll, setTimeout(function() { e(".slick-slide", o).each(function() { null != e(this).attr("aria-describedby") && e(this).attr("id", e(this).attr("aria-describedby")) }), e(".jet-slick-dots", o).removeAttr("role"), e(".jet-slick-dots li", o).each(function() { e(this).removeAttr("role"), e(this).attr("tabindex", "0") }) }, 100), o.on("init reInit", function() { if (e(".jet-slick-dots", o).removeAttr("role"), e(".jet-slick-dots li", e(this)).each(function() { e(this).removeAttr("role"), e(this).attr("tabindex", "0") }), e(".jet-slick-dots li", e(this)).keydown(function(t) { var i = e(this) , a = t.which || t.keyCode; 13 != a && 32 != a || i.click(), 37 == a && 0 != i.prev().length && (i.prev().focus(), i.prev().click()), 39 == a && 0 != i.next().length && (i.next().focus(), i.next().click()) }), e(".jet-arrow", f).attr("tabindex", 0), e(".jet-arrow", f).keydown(function(t) { var i = e(this) , a = t.which || t.keyCode; 13 != a && 32 != a || i.click(), 37 == a && 0 != i.prev().length && i.prev().hasClass("slick-arrow") && i.prev().focus(), 39 == a && i.next().hasClass("slick-arrow") && 0 != i.next().length && i.next().focus() }), o.hasClass("jet-image-comparison__instance") && setTimeout(function() { o.find(".slick-slide.slick-active").each(function() { e(this).find(".jx-controller").attr("tabindex", "0"), e(this).find(".jx-label").attr("tabindex", "0") }) }, 100), 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]) }), 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) } }), o.hasClass("slick-initialized")) o.not(".slick-initialized").slick("refresh", !0); else if (Object.keys(m).reverse().forEach(function(e) { if (p["slides_to_show_" + e] || p["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 = +p.slides_to_show, t.settings.slidesToScroll = +p.slides_to_scroll) : (t.settings.slidesToShow = p["slides_to_show_" + e] ? +p["slides_to_show_" + e] : l, t.settings.slidesToScroll = p["slides_to_scroll_" + e] ? +p["slides_to_scroll_" + e] : d), t.settings.slidesToShow >= c ? t.settings.dots = !1 : h && (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", accessibility: g }, r = e.extend({}, s, n), o.slick(r), o.hasClass("jet-image-comparison__instance")) { let e = window.juxtapose.sliders.length; for (let t = 0; t < e; t++) window.juxtapose.sliders[t].setWrapperDimensions() } }, 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", f = 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", "") }), f.css("z-index", ""), "auto" === f.css("z-index") && f.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 = e.find(".jet-video__play-button") , l = s.length > 0 , d = t.data("settings") || {} , c = (d.lightbox, d.autoplay || !1); function u() { var e = i.data("lazy-load"); e && i.attr("src", e), c || (i[0].src = i[0].src.replace("&autoplay=0", "&autoplay=1")), s.remove(), l = !1 } s[0] && (r.keypress(function(e) { if (13 == e.which) return s.click(), !1 }), s.on("click.jetVideo", function(e) { if (a[0]) return a[0].play(), s.remove(), void (l = !1); i[0] && u() })), c && i[0] && s[0] && u(), a[0] && (a.on("play.jetVideo", function(e) { l && (s.remove(), l = !1) }), c && 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"), f = {}, p = {}, m = !0, h = elementorFrontend.getCurrentDeviceMode(), g = h, 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 (f.desktop = w.columns, o = f.desktop, k.desktop = 100 / f.desktop, C.desktop = Math.max(0, b - f.desktop), p.desktop = +w.slides_to_scroll, n = p.desktop, Object.keys(_).reverse().forEach(function(e) { "widescreen" === e ? (f[e] = "columns_widescreen"in w && "" != w.columns_widescreen ? w["columns_" + e] : f.desktop, p[e] = "slides_to_scroll_widescreen"in w && "" != w.slides_to_scroll_widescreen ? +w["slides_to_scroll_" + e] : +p.desktop) : (f[e] = "" != w["columns_" + e] && null != w["columns_" + e] ? w["columns_" + e] : o, o = f[e], p[e] = "" != w["slides_to_scroll_" + e] && null != w["slides_to_scroll_" + e] ? +w["slides_to_scroll_" + e] : +n, n = p[e]), k[e] = 100 / f[e], C[e] = Math.max(0, b - f[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[h] && 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 = p[o] , s = i.hasClass("jet-next-arrow") ? "next" : "prev" , l = y ? 1 : -1; n = n > f[o] ? f[o] : p[o], e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline", a.debounce(50, function() { o = elementorFrontend.getCurrentDeviceMode(), n = (n = p[o]) > f[o] ? f[o] : p[o] })), "next" === s && x < C[o] && (x += n) > C[o] && (x = C[o]), "prev" === s && x > 0 && (x -= n) < 0 && (x = 0), x > 0 ? u.removeClass("jet-arrow-disabled") : u.addClass("jet-arrow-disabled"), x === C[o] ? c.addClass("jet-arrow-disabled") : c.removeClass("jet-arrow-disabled"), j = 0 === x ? 0 : x * k[o], r.css({ transform: "translateX(" + l * j + "%)" }) }), e(l).on("touchstart", function(e) { var t = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0]; E = t.pageX }), e(l).on("touchend", function(e) { var t = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0] , i = elementorFrontend.getCurrentDeviceMode() , a = p[i]; if (O = t.pageX, (S = O - E) < -50) { var o = y ? 1 : -1; a > f[i] && (a = f[i]), x < C[i] && (x += a) > C[i] && (x = C[i]), x > 0 ? u.removeClass("jet-arrow-disabled") : u.addClass("jet-arrow-disabled"), x === C[i] ? c.addClass("jet-arrow-disabled") : c.removeClass("jet-arrow-disabled"), j = 0 === x ? 0 : x * k[i], r.css({ transform: "translateX(" + o * j + "%)" }) } else if (S > 50) { o = y ? 1 : -1; a > f[i] && (a = f[i]), x > 0 && (x -= a) < 0 && (x = 0), x > 0 ? u.removeClass("jet-arrow-disabled") : u.addClass("jet-arrow-disabled"), x === C[i] ? c.addClass("jet-arrow-disabled") : c.removeClass("jet-arrow-disabled"), j = 0 === x ? 0 : x * k[i], r.css({ transform: "translateX(" + o * j + "%)" }) } }) } function z() { if (d[0]) { var e = i.find(".jet-hor-timeline-list--middle") , t = e.position().top , a = e.outerHeight(); d.css({ top: t + a / 2 }) } } z(), e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline", a.debounce(150, z)), e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline", a.debounce(50, function(e) { if (!s.hasClass("jet-hor-timeline--arrows-nav")) return; var t = elementorFrontend.getCurrentDeviceMode(); t != g && (!function() { u.addClass("jet-arrow-disabled"), c.hasClass("jet-arrow-disabled") && c.removeClass("jet-arrow-disabled"); 0 === C[t] && c.addClass("jet-arrow-disabled"); j = 0, x = 0, r.css({ transform: "translateX(0%)" }) }(), g = t) })) }, widgetPieChart: function(t) { var a = t.find(".jet-pie-chart-container") , o = t.find(".jet-pie-chart")[0] , n = a.data("chart") || {} , s = a.data("options") || {} , r = a.data("tooltip") || ""; !0 === (s = e.extend({}, { maintainAspectRatio: !1 }, s)).tooltips.enabled && (s.tooltips.callbacks = { label: function(e, t) { return " " + t.labels[e.index] + ": " + t.datasets[e.datasetIndex].data[e.index] + r } }), elementorFrontend.waypoint(t, function() { new Chart(o,{ type: "pie", data: n, options: s }) }, i.prepareWaypointOptions(t, { offset: "bottom-in-view" })) }, widgetBarChart: function(t) { var o = t.find(".jet-bar-chart-container") , n = o.find(".jet-bar-chart") , s = o.data("settings") , r = o.data("tooltip-prefix") || "" , l = o.data("tooltip-suffix") || "" , d = o.data("tooltip-separator") || "" , c = s.type || "bar" , u = o.data("axis-separator") || ""; !0 === s.options.tooltips.enabled && (s.options.tooltips.callbacks = { label: function(e, t) { return " " + t.datasets[e.datasetIndex].label + ": " + t.datasets[e.datasetIndex].data[e.index] } }), o.length && (!0 === s.options.tooltips.enabled && (s.options.tooltips.callbacks = { label: function(e, t) { var i = "" != d ? a.addThousandCommaSeparator(t.datasets[e.datasetIndex].data[e.index], d) : t.datasets[e.datasetIndex].data[e.index]; return " " + t.datasets[e.datasetIndex].label + ": " + r + i + l } }), !0 === u && ("bar" === c ? s.options.scales.yAxes[0].ticks.callback = function(e, t, i) { return e.toLocaleString("en-US") } : s.options.scales.xAxes[0].ticks.callback = function(e, t, i) { return e.toLocaleString("en-US") } ), elementorFrontend.waypoint(n, function() { var t = e(this)[0].getContext("2d"); new Chart(t,s) }, i.prepareWaypointOptions(t, { offset: "bottom-in-view" }))) }, widgetLineChart: function(t) { var o = t.data("id") , n = t.find(".jet-line-chart-container") , s = n.find(".jet-line-chart") , r = n.data("compare") , l = n.data("previous-label") , d = n.data("current-label") , c = n.data("settings") , u = n.data("compare-labels-type") , f = n.data("tooltip-prefix") || "" , p = n.data("tooltip-suffix") || "" , m = n.data("tooltip-separator") || ""; n.length && elementorFrontend.waypoint(s, function() { var t = e(this)[0].getContext("2d") , i = new Chart(t,c); i.options.tooltips = { enabled: !1, mode: "x-axis", intersect: !1, callbacks: { label: function(e, t) { var i = t.datasets[e.datasetIndex].borderColor; if (i = i.replace(/"/g, '"'), !0 === r) { var o = "custom" === u ? d : t.labels[e.index] , n = t.datasets[e.datasetIndex].label , s = "" != m ? a.addThousandCommaSeparator(t.datasets[e.datasetIndex].data[e.index], m) : t.datasets[e.datasetIndex].data[e.index] , c = '
' + o + " : " + f + s + p + "
" , h = "" , g = (g = t.datasets[e.datasetIndex].borderColor).replace(/"/g, '"'); if (void 0 !== t.labels[e.index - 1] && null !== t.labels[e.index - 1]) { var v = "custom" === u ? l : t.labels[e.index - 1] , w = "" != m ? a.addThousandCommaSeparator(t.datasets[e.datasetIndex].data[e.index - 1], m) : t.datasets[e.datasetIndex].data[e.index - 1]; h = '
' + v + " : " + f + w + p + "
" } return '
' + n + '
' + c + h + "
" } var _ = t.datasets[e.datasetIndex].label , b = "" != m ? a.addThousandCommaSeparator(t.datasets[e.datasetIndex].data[e.index], m) : t.datasets[e.datasetIndex].data[e.index]; return '
' + _ + " : " + f + b + p + "
" } }, custom: function(e) { var t = document.getElementById("chartjs-tooltip_" + o); if (t || ((t = document.createElement("div")).id = "chartjs-tooltip_" + o, t.innerHTML = '
', document.body.appendChild(t)), 0 !== e.opacity) { if (t.classList.remove("above", "below", "no-transform"), e.yAlign ? t.classList.add(e.yAlign) : t.classList.add("no-transform"), e.body) { e.title; var i = e.body.map(function(e) { return e.lines }) , a = ""; a += '
', i.forEach(function(e, t) { a += e }), a += "
", t.querySelector("div").innerHTML = a } var n = this , s = this._chart.canvas.getBoundingClientRect() , r = t.offsetWidth , l = t.offsetHeight , d = 0 , c = 0; setTimeout(function() { r = t.offsetWidth, l = t.offsetHeight, d = n._chart.width / 2 > n._chart.tooltip._eventPosition.x ? 0 : -r, c = n._chart.height / 2 > n._chart.tooltip._eventPosition.y ? 0 : -l, t.style.left = s.left + window.pageXOffset + e.caretX + d + "px", t.style.top = s.top + window.pageYOffset + e.caretY + c + "px", t.style.opacity = 1 }, 10), t.style.position = "absolute", t.style.fontFamily = e._bodyFontFamily, t.style.fontSize = e.bodyFontSize + "px", t.style.fontStyle = e._bodyFontStyle, t.style.padding = e.yPadding + "px " + e.xPadding + "px", t.style.pointerEvents = "none" } else t.style.opacity = 0 } }, i.update() }, i.prepareWaypointOptions(t, { offset: "bottom-in-view" })) }, widgetLottie: function(t) { var i, o, n = t.find(".jet-lottie"), s = n.find(".jet-lottie__elem"), r = n.data("settings"); if (n[0]) { i = { container: s[0], renderer: r.renderer, loop: "" === r.loop_times ? r.loop : r.loop_times, autoplay: !1, path: r.path, name: "jet-lottie" }, o = lottie.loadAnimation(i), r.play_speed && o.setSpeed(r.play_speed), r.reversed && o.setDirection(-1); var l = 0 , d = 0; switch (r.viewport && (l = -r.viewport.start || 0, d = -(100 - r.viewport.end) || 0), r.action_start) { case "on_hover": var c = !1 , u = function() { if (c && "reverse" === r.on_hover_out) { var e = r.reversed ? -1 : 1; o.setDirection(e) } o.play(), c = !0 } , f = function() { switch (r.on_hover_out) { case "pause": o.pause(); break; case "stop": o.stop(); break; case "reverse": var e = r.reversed ? 1 : -1; o.setDirection(e), o.play() } }; n.off("mouseenter.JetLottie", u).on("mouseenter.JetLottie", u), n.off("mouseleave.JetLottie", f).on("mouseleave.JetLottie", f); break; case "on_click": var p = n.find(".jet-lottie__link") , m = +r.redirect_timeout , h = function() { o.play() } , g = function(t) { t.preventDefault(), o.play(); var i = e(this).attr("href") , a = "_blank" === e(this).attr("target") ? "_blank" : "_self"; setTimeout(function() { window.open(i, a) }, m) }; p[0] && m > 0 ? p.off("click.JetLottie", g).on("click.JetLottie", g) : n.off("click.JetLottie", h).on("click.JetLottie", h); break; case "on_viewport": if (void 0 !== window.IntersectionObserver) new IntersectionObserver(function(e, t) { e[0].isIntersecting ? o.play() : o.pause() } ,{ rootMargin: d + "% 0% " + l + "%" }).observe(n[0]); else o.play(); break; case "on_scroll": if (void 0 !== window.IntersectionObserver) { var v, w = 0; new IntersectionObserver(function(e, t) { e[0].isIntersecting ? v = requestAnimationFrame(function e() { if (window.scrollY !== w) { var t = a.getElementPercentageSeen(s, { start: l, end: d }) , i = (o.totalFrames - o.firstFrame) * t / 100; o.goToAndStop(i, !0), w = window.scrollY } v = requestAnimationFrame(e) }) : cancelAnimationFrame(v) } ,{ rootMargin: d + "% 0% " + l + "%" }).observe(n[0]) } break; default: var _ = +r.delay; _ > 0 ? setTimeout(function() { o.play() }, _) : o.play() } } }, widgetPricingTable: function(t) { var i = t.find(".pricing-table") , a = e(".pricing-feature .pricing-feature__inner[data-tippy-content]", i) , o = i.data("tooltips-settings") , n = t.find(".pricing-table__fold-mask") , s = t.find(".pricing-table__fold-button") , r = n , l = (e(".pricing-table__features", n), n.data("fold-settings") || {}) , d = l.fold_enabled || !1 , c = 0 , u = 0 , f = l.unfoldDuration , p = l.unfoldDuration , m = l.unfoldEasing , h = l.foldEasing; function g() { u = 0, t.find(".pricing-table__fold-mask .pricing-feature").each(function() { u += e(this).outerHeight(!0) }) } a[0] && a.each(function() { var t = e(this)[0]; t._tippy && t._tippy.destroy(), tippy([t], { arrow: !!o.tooltipArrow, duration: [o.tooltipShowDuration.size, o.tooltipHideDuration.size], delay: o.tooltipDelay.size, placement: o.tooltipPlacement, trigger: o.tooltipTrigger, animation: o.tooltipAnimation, appendTo: t, offset: [0, o.tooltipDistance.size], allowHTML: !0, popperOptions: { strategy: "fixed" } }) }), d && (t.find(".pricing-table__fold-mask .fold_visible").each(function() { c += e(this).outerHeight(!0) }), g(), n.hasClass("pricing-table-unfold-state") || r.css({ height: c }), t.find(".pricing-table__fold-mask").css("max-height", "none"), s.keypress(function(e) { if (13 == e.which) return s.click(), !1 }), s.on("click.jetPricingTable", function() { var t = e(this) , i = e(".pricing-table__fold-button-text", t) , a = e(".pricing-table__fold-button-icon", t) , o = t.data("unfold-text") , s = t.data("unfold-text-accessibility") , l = t.data("fold-text") , d = t.data("fold-text-accessibility") , v = t.data("unfold-icon") , w = t.data("fold-icon"); n.hasClass("pricing-table-unfold-state") ? (n.removeClass("pricing-table-unfold-state"), a.html(v), i.html(o), "" !== l ? t.attr("aria-label", o) : t.attr("aria-label", s), anime({ targets: r[0], height: c, duration: p.size || p, easing: h })) : (n.addClass("pricing-table-unfold-state"), g(), a.html(w), i.html(l), "" !== l ? t.attr("aria-label", l) : t.attr("aria-label", d), anime({ targets: r[0], height: u, duration: f.size || f, easing: m })) })) } }; e(window).on("elementor/frontend/init", i.init); var a = { getElementPercentageSeen: function(t, i) { var a, o = i || {}, n = o.start || 0, s = o.end || 0, r = e(window).height(), l = r * n / 100, d = r * s / 100; return a = (e(window).scrollTop() + r + l - t.offset().top) / (r + l + d + t.height()), a = Math.min(100, Math.max(0, 100 * a)), parseFloat(a.toFixed(2)) }, isRTL: function() { return e("body").hasClass("rtl") }, inArray: function(e, t) { return -1 < t.indexOf(e) }, debounce: function(e, t) { var i; return function(a) { i && clearTimeout(i), i = setTimeout(function() { t.call(this, a), i = null }, e) } }, getObjectNextKey: function(e, t) { var i = Object.keys(e) , a = i.indexOf(t) , o = a += 1; return !(o >= i.length) && i[o] }, getObjectPrevKey: function(e, t) { var i = Object.keys(e) , a = i.indexOf(t) , o = a -= 1; return !(0 > a) && i[o] }, getObjectFirstKey: function(e) { return Object.keys(e)[0] }, getObjectLastKey: function(e) { return Object.keys(e)[Object.keys(e).length - 1] }, getObjectValues: function(e) { return Object.values ? Object.values(e) : Object.keys(e).map(function(t) { return e[t] }) }, validateEmail: function(e) { return /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e) }, mobileAndTabletcheck: function() { var e, t = !1; return e = navigator.userAgent || navigator.vendor || window.opera, (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0, 4))) && (t = !0), t }, addThousandCommaSeparator: function(e, t) { e += "", t = t.toString().replace(/[0-9]/g, ""); var i = e.split(".") , a = i[0] , o = i.length > 1 ? "." + i[1] : "" , n = /(\d+)(\d{3})/; if ("" === t) return e; for (; n.test(a); ) a = a.replace(n, "$1" + t + "$2"); return a + o }, getElementorElementSettings: function(e) { return window.elementorFrontend && window.elementorFrontend.isEditMode() && e.hasClass("elementor-element-edit-mode") ? a.getEditorElementSettings(e) : e.data("settings") || {} }, getEditorElementSettings: function(e) { var i, a = e.data("model-cid"); return a && t.hasOwnProperty("config") && t.config.hasOwnProperty("elements") && t.config.elements.hasOwnProperty("data") && (i = t.config.elements.data[a]) ? i.toJSON() : {} } }; window.jetAnimatedText = function(t, i) { var a = this , o = e(".jet-animated-text__animated-text", t) , n = e(".jet-animated-text__animated-text-item", o) , s = null , r = (i = e.extend({ effect: "fx1", delay: 3e3 }, i || {}), 0) , l = i.delay; a.avaliableEffects = { fx1: { in: { duration: 1e3, delay: function(e, t) { return 75 + 100 * t }, easing: "easeOutElastic", elasticity: 650, opacity: { value: [0, 1], easing: "easeOutExpo" }, translateY: ["100%", "0%"] }, out: { duration: 300, delay: function(e, t) { return 40 * t }, easing: "easeInOutExpo", opacity: 0, translateY: "-100%" } }, fx2: { in: { duration: 800, delay: function(e, t) { return 50 * t }, easing: "easeOutElastic", opacity: { value: [0, 1], easing: "easeOutExpo" }, translateY: function(e, t) { return t % 2 == 0 ? ["-80%", "0%"] : ["80%", "0%"] } }, out: { duration: 300, delay: function(e, t) { return 20 * t }, easing: "easeOutExpo", opacity: 0, translateY: function(e, t) { return t % 2 == 0 ? "80%" : "-80%" } } }, fx3: { in: { duration: 700, delay: function(e, t) { return 80 * (e.parentNode.children.length - t - 1) }, easing: "easeOutElastic", opacity: { value: [0, 1], easing: "easeOutExpo" }, translateY: function(e, t) { return t % 2 == 0 ? ["-80%", "0%"] : ["80%", "0%"] }, rotateZ: [90, 0] }, out: { duration: 300, delay: function(e, t) { return 50 * (e.parentNode.children.length - t - 1) }, easing: "easeOutExpo", opacity: 0, translateY: function(e, t) { return t % 2 == 0 ? "80%" : "-80%" }, rotateZ: function(e, t) { return t % 2 == 0 ? -25 : 25 } } }, fx4: { in: { duration: 700, delay: function(e, t) { return 550 + 50 * t }, easing: "easeOutQuint", opacity: { value: [0, 1], easing: "easeOutExpo" }, translateY: ["-150%", "0%"], rotateY: [180, 0] }, out: { duration: 200, delay: function(e, t) { return 30 * t }, easing: "easeInQuint", opacity: { value: 0, easing: "linear" }, translateY: "100%", rotateY: -180 } }, fx5: { in: { duration: 250, delay: function(e, t) { return 200 + 25 * t }, easing: "easeOutCubic", opacity: { value: [0, 1], easing: "easeOutExpo" }, translateY: ["-50%", "0%"] }, out: { duration: 250, delay: function(e, t) { return 25 * t }, easing: "easeOutCubic", opacity: 0, translateY: "50%" } }, fx6: { in: { duration: 400, delay: function(e, t) { return 50 * t }, easing: "easeOutSine", opacity: { value: [0, 1], easing: "easeOutExpo" }, rotateY: [-90, 0] }, out: { duration: 200, delay: function(e, t) { return 50 * t }, easing: "easeOutSine", opacity: 0, rotateY: 45 } }, fx7: { in: { duration: 1e3, delay: function(e, t) { return 100 + 30 * t }, easing: "easeOutElastic", opacity: { value: [0, 1], easing: "easeOutExpo" }, rotateZ: function(e, t) { return [anime.random(20, 40), 0] } }, out: { duration: 300, opacity: { value: [1, 0], easing: "easeOutExpo" } } }, fx8: { in: { duration: 400, delay: function(e, t) { return 200 + 20 * t }, easing: "easeOutExpo", opacity: 1, rotateY: [-90, 0], translateY: ["50%", "0%"] }, out: { duration: 250, delay: function(e, t) { return 20 * t }, easing: "easeOutExpo", opacity: 0, rotateY: 90 } }, fx9: { in: { duration: 400, delay: function(e, t) { return 200 + 30 * t }, easing: "easeOutExpo", opacity: 1, rotateX: [90, 0] }, out: { duration: 250, delay: function(e, t) { return 30 * t }, easing: "easeOutExpo", opacity: 0, rotateX: -90 } }, fx10: { in: { duration: 400, delay: function(e, t) { return 100 + 50 * t }, easing: "easeOutExpo", opacity: { value: [0, 1], easing: "easeOutExpo" }, rotateX: [110, 0] }, out: { duration: 250, delay: function(e, t) { return 50 * t }, easing: "easeOutExpo", opacity: 0, rotateX: -110 } }, fx11: { in: { duration: function(e, t) { return anime.random(800, 1e3) }, delay: function(e, t) { return anime.random(100, 300) }, easing: "easeOutExpo", opacity: { value: [0, 1], easing: "easeOutExpo" }, translateY: ["-150%", "0%"], rotateZ: function(e, t) { return [anime.random(-50, 50), 0] } }, out: { duration: function(e, t) { return anime.random(200, 300) }, delay: function(e, t) { return anime.random(0, 80) }, easing: "easeInQuart", opacity: 0, translateY: "50%", rotateZ: function(e, t) { return anime.random(-50, 50) } } }, fx12: { in: { elasticity: !1, duration: 1, delay: function(e, t) { return 100 * t + anime.random(50, 100) }, width: [0, function(t, i) { return e(t).width() } ] }, out: { duration: 1, delay: function(e, t) { return 20 * (e.parentNode.children.length - t - 1) }, easing: "linear", width: { value: 0 } } } }, a.textChange = function() { var e, t = n.eq(r); r < n.length - 1 ? r++ : r = 0, e = n.eq(r), a.hideText(t, i.effect, null, function(o) { t.toggleClass("visible"); var n = l; s && clearTimeout(s), a.showText(e, i.effect, function() { e.toggleClass("active"), t.toggleClass("active"), e.toggleClass("visible") }, function() { s = setTimeout(function() { a.textChange() }, n) }) }) } , a.showText = function(t, i, o, n) { var s = []; e("span", t).each(function() { e(this).css({ width: "auto", opacity: 1, WebkitTransform: "", transform: "" }), s.push(this) }), a.animateText(s, "in", i, o, n) } , a.hideText = function(t, i, o, n) { var s = []; e("span", t).each(function() { s.push(this) }), a.animateText(s, "out", i, o, n) } , a.animateText = function(e, t, i, o, n) { var s = (a.avaliableEffects[i] || {})[t]; s.targets = e, s.begin = o, s.complete = n, anime(s) } , a.init = function() { var t = n.eq(r); "fx12" === i.effect && e("span", n).each(function() { e(this).css("width", "0").css("opacity", "1") }), a.showText(t, i.effect, null, function() { var e = l; s && clearTimeout(s), s = setTimeout(function() { a.textChange() }, e) }) } } , window.jetImagesLayout = function(i, a) { var o, n = this, s = i, r = (e(".jet-images-layout__list", s), e(".jet-images-layout__item", s)); Boolean(t.isEditMode()), a = a || {}; o = { layoutType: "masonry", justifyHeight: 300 }, e.extend(o, a), n.layoutBuild = function() { switch (a.layoutType) { case "masonry": salvattore.init(); break; case "justify": r.each(function() { var t = e(this) , i = e(".jet-images-layout__image-instance", t) , o = +i.data("width") / +i.data("height") , n = 100 * o , s = +a.justifyHeight * o; t.css({ "flex-grow": n, "flex-basis": s }) }) } if (e.isFunction(e.fn.imagesLoaded)) e(".jet-images-layout__image", r).imagesLoaded().progress(function(t, i) { var a = e(i.img).closest(".jet-images-layout__item") , o = e(".jet-images-layout__image-loader", a); a.addClass("image-loaded"), o.fadeTo(500, 0, function() { e(this).remove() }) }); else { var t = e(".jet-images-layout__image-loader", r); r.addClass("image-loaded"), t.fadeTo(500, 0, function() { e(this).remove() }) } } , n.init = function() { n.layoutBuild() } } , window.jetScrollNavigation = function(i, o, n) { var s = this , r = e(window) , l = e(document) , d = (e("body"), o) , c = e("html, body") , u = e(".jet-scroll-navigation__item", d) , f = (n = e.extend({}, { speed: 500, blockSpeed: 500, offset: 0, sectionSwitch: !1, sectionSwitchOnMobile: !0 }, n), {}) , p = null , m = !1 , h = window.location.hash.slice(1) , g = 0 , v = navigator.platform; jQuery.extend(jQuery.easing, { easeInOutCirc: function(e, t, i, a, o) { return (t /= o / 2) < 1 ? -a / 2 * (Math.sqrt(1 - t * t) - 1) + i : a / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1) + i } }), s.init = function() { s.setSectionsData(), h && f.hasOwnProperty(h) && u.addClass("invert"), u.on("click.jetScrollNavigation", function(t) { var i = e(this).data("anchor"); s.onAnchorChange(i) }), r.on("resize.jetScrollNavigation orientationchange.jetScrollNavigation", a.debounce(50, s.onResize)), r.on("load", function() { s.setSectionsData() }), l.keydown(function(e) { s.isEnabled() && (38 == e.keyCode && s.directionSwitch(e, "up"), 40 == e.keyCode && s.directionSwitch(e, "down")) }), s.waypointHandler(), s.hijakingHandler(), "undefined" != typeof ResizeSensor && new ResizeSensor(e(".jet-scroll-navigation-section"),a.debounce(50, function() { s.setSectionsData(), s.waypointHandler() })) } , s.setSectionsData = function() { var i = Boolean(t.isEditMode()); u.each(function() { var t = e(this) , a = t.data("anchor") , o = "yes" === t.data("invert") , n = e("#" + a); n[0] ? (n.addClass("jet-scroll-navigation-section"), n[0].dataset.sectionName = a, f[a] = { selector: n, offset: Math.round(n.offset().top), height: n.outerHeight(), invert: o }) : i || t.css("display", "none") }) } , s.waypointHandler = function() { for (var t in f) { var i = f[t].selector; elementorFrontend.waypoint(i, function(t) { var i = e(this).attr("id"); "down" !== t || m || (!1 === n.sectionIdVisibility && window.history.pushState(null, null, "#" + i), p = i, u.removeClass("active"), e("[data-anchor=" + i + "]", d).addClass("active"), u.removeClass("invert"), f[i].invert && u.addClass("invert")) }, { offset: "70%", triggerOnce: !1 }), elementorFrontend.waypoint(i, function(t) { var i = e(this).attr("id"); "up" !== t || m || (!1 === n.sectionIdVisibility && window.history.pushState(null, null, "#" + i), p = i, u.removeClass("active"), e("[data-anchor=" + i + "]", d).addClass("active"), u.removeClass("invert"), f[i].invert && u.addClass("invert")) }, { offset: "0%", triggerOnce: !1 }) } } , s.onAnchorChange = function(t) { var i, a = e("[data-anchor=" + t + "]", d); if (!f.hasOwnProperty(t)) return !1; i = f[t].offset - n.offset, m || (m = !0, !1 === n.sectionIdVisibility && window.history.pushState(null, null, "#" + t), p = t, u.removeClass("active"), a.addClass("active"), u.removeClass("invert"), f[t].invert && u.addClass("invert"), c.animate({ scrollTop: i }, n.speed, "easeInOutCirc", function() { m = !1 })) } , s.directionSwitch = function(t, i) { i = i || "up"; var a = e("[data-anchor=" + p + "]", d).next() , o = e("[data-anchor=" + p + "]", d).prev(); if (m) return !1; "up" === i && o[0] && o.trigger("click.jetScrollNavigation"), "down" === i && a[0] && a.trigger("click.jetScrollNavigation") } , s.hijakingHandler = function() { var t = a.mobileAndTabletcheck() , i = 0; n.sectionSwitch && (t || document.addEventListener("wheel", s.onWheel, { passive: !1 }), t && n.sectionSwitchOnMobile && (document.addEventListener("touchstart", function(t) { if (s.isEnabled()) { var a = e(t.target) , o = (0 < a.closest(".elementor-top-section").length ? a.closest(".elementor-top-section") : a.closest(".e-con.jet-scroll-navigation-section")).attr("id") || !1; i = t.changedTouches[0].clientY, o && m && t.preventDefault() } }, { passive: !1 }), document.addEventListener("touchend", function(t) { if (s.isEnabled()) { var o = e(t.target) , n = o.closest(".jet-scroll-navigation") || !1 , l = ((0 < o.closest(".elementor-top-section").length ? o.closest(".elementor-top-section") : o.closest(".e-con.jet-scroll-navigation-section")) || !1).attr("id") || !1 , d = r.scrollTop() , c = t.changedTouches[0].clientY , u = c > i ? "up" : "down" , p = !1 , m = !1 , h = !1 , g = !1 , v = window.screen.availHeight / 8; return !(Math.abs(c - i) < 20) && (!n[0] && void (l && f.hasOwnProperty(l) && (h = a.getObjectPrevKey(f, l), g = a.getObjectNextKey(f, l), p = f[l].offset, "up" === u && (p - v < d && (h = l), h && (m = h)), "down" === u && (p + v > d && (g = l), g && (m = g)), m && s.onAnchorChange(m)))) } }, { passive: !1 }))) } , s.onScroll = function(e) { e.preventDefault() } , s.onWheel = function(t) { if (s.isEnabled()) { m && t.preventDefault(); var i = e(t.target) , o = (0 < i.closest(".elementor-top-section[id]").length ? i.closest(".elementor-top-section[id]") : i.closest(".e-con[id]")).attr("id") || !1 , l = 0 > t.deltaY ? "up" : "down" , d = !1 , c = !1 , u = !1 , p = !1 , h = r.scrollTop(); if (o && f.hasOwnProperty(o) && (u = a.getObjectPrevKey(f, o), p = a.getObjectNextKey(f, o), d = f[o].offset, "up" === l && (d < h + n.offset - 10 && (u = o), u && (c = u)), "down" === l && (d > h + n.offset + 10 && (p = o), p && (c = p)), c)) { if (t.preventDefault(), t.timeStamp - g > 15 && "MacIntel" == v) return g = t.timeStamp, !1; s.onAnchorChange(c) } return !1 } } , s.onResize = function(e) { s.setSectionsData() } , s.scrollStop = function() { c.stop(!0) } , s.isEnabled = function() { return i.is(":visible") } , s.mobileAndTabletcheck = function() { var e, t = !1; return e = navigator.userAgent || navigator.vendor || window.opera, (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0, 4))) && (t = !0), t } } , window.jetSectionParallax = function(i) { var o = this , n = (i.data("id"), !1) , s = Boolean(t.isEditMode()) , r = e(window) , l = (e("body"), []) , d = [] , c = r.scrollTop() , u = r.height() , f = 0 , p = 0 , m = (navigator.userAgent.match(/Version\/[\d\.]+.*Safari/), navigator.platform); o.init = function() { if (!(n = s ? o.generateEditorSettings(i) : 0 != (n = i.data("settings") || !1) && n.jet_parallax_layout_list)) return !1; o.generateLayouts(), r.on("resize.jetSectionParallax orientationchange.jetSectionParallax", a.debounce(30, o.generateLayouts)), 0 !== l.length && r.on("scroll.jetSectionParallax resize.jetSectionParallax", o.scrollHandler), 0 !== d.length && (i.on("mousemove.jetSectionParallax resize.jetSectionParallax", o.mouseMoveHandler), i.on("mouseleave.jetSectionParallax", o.mouseLeaveHandler)), o.scrollUpdate() } , o.generateEditorSettings = function(t) { var i, o = {}, n = []; return !!window.elementor.hasOwnProperty("elements") && (!(!(o = a.getElementorElementSettings(t)).hasOwnProperty("jet_parallax_layout_list") || 0 === Object.keys(o).length) && (i = o.jet_parallax_layout_list, e.each(i, function(e, t) { n.push(t) }), 0 !== n.length && n)) } , o.generateLayouts = function() { e(".jet-parallax-section__layout", i).remove(), e.each(n, function(o, n) { var s, r, c = n.jet_parallax_layout_image, u = n.jet_parallax_layout_speed.size || 50, f = n.jet_parallax_layout_z_index, p = n.jet_parallax_layout_animation_prop || "bgposition", h = elementorFrontend.getCurrentDeviceMode(), g = t.config.responsive.activeBreakpoints, v = [], w = n.jet_parallax_layout_bg_x, _ = n.jet_parallax_layout_bg_y, b = n.jet_parallax_layout_type || "none", y = n.jet_parallax_layout_direction || "1", j = n.jet_parallax_layout_fx_direction || "fade-in", x = n.jet_parallax_layout_on || ["desktop", "tablet"], k = n._id, C = "MacIntel" == m ? " is-mac" : ""; if (-1 === x.indexOf(h)) return !1; for (var [T,S] of Object.entries(g)) "widescreen" === T ? (v.push("desktop"), v.push(T)) : v.push(T); -1 === v.indexOf("widescreen") && v.push("desktop"), v = v.reverse(); var E, O = 0, z = []; ["widescreen", "desktop", "laptop", "tablet_extra", "tablet", "mobile_extra", "mobile"].forEach(function(e) { -1 != v.indexOf(e) && (z[O] = [], z[O][e] = "widescreen" === e ? { bgX: "" != n["jet_parallax_layout_bg_x_" + e] ? n.jet_parallax_layout_bg_x : 0, bgY: "" != n["jet_parallax_layout_bg_y_" + e] ? n.jet_parallax_layout_bg_y : 0, layoutImageData: "" != n["jet_parallax_layout_image_" + e] ? n["jet_parallax_layout_image_" + e] : "" } : "desktop" === e ? { bgX: "" != n.jet_parallax_layout_bg_x ? n.jet_parallax_layout_bg_x : 0, bgY: "" != n.jet_parallax_layout_bg_y ? n.jet_parallax_layout_bg_y : 0, layoutImageData: c.url || n.jet_parallax_layout_image.url } : { bgX: n["jet_parallax_layout_bg_x_" + e] && "" != n["jet_parallax_layout_bg_x_" + e] ? n["jet_parallax_layout_bg_x_" + e] : z[O - 1][E].bgX, bgY: n["jet_parallax_layout_bg_y_" + e] && "" != n["jet_parallax_layout_bg_y_" + e] ? n["jet_parallax_layout_bg_y_" + e] : z[O - 1][E].bgY, layoutImageData: n["jet_parallax_layout_image_" + e] && "" != n["jet_parallax_layout_image_" + e].url ? n["jet_parallax_layout_image_" + e].url : z[O - 1][E].layoutImageData }, h === e && (w = z[O][e].bgX, _ = z[O][e].bgY, c = z[O][e].layoutImageData), E = e, O++) }), i.hasClass("jet-parallax-section") || i.addClass("jet-parallax-section"), s = e('
').prependTo(i).css({ "z-index": f }); var I = { "background-position-x": w + "%", "background-position-y": _ + "%", "background-image": "url(" + c + ")" }; e("> .jet-parallax-section__image", s).css(I), r = { selector: s, prop: p, type: b, device: x, xPos: w, yPos: _, direction: +y, fxDirection: j, speed: u / 100 * 2 }, "none" !== b && (a.inArray(b, ["scroll", "h-scroll", "zoom", "rotate", "blur", "opacity"]) && l.push(r), "mouse" === b && d.push(r)) }) } , o.scrollHandler = function(e) { c = r.scrollTop(), u = r.height(), o.scrollUpdate() } , o.scrollUpdate = function() { e.each(l, function(t, i) { var a = i.selector , o = e(".jet-parallax-section__image", a) , n = i.speed , s = a.offset().top , r = a.outerHeight() , l = i.prop , d = i.type , f = i.direction , p = i.fxDirection , m = (c - s + u) / r * 100 , h = elementorFrontend.getCurrentDeviceMode(); if (-1 === i.device.indexOf(h)) return o.css({ transform: "translateX(0) translateY(0)", "background-position-y": i.yPos, "background-position-x": i.xPos, filter: "none", opacity: "1" }), !1; switch (c < s - u && (m = 0), c > s + r && (m = 200), m = parseFloat(n * m).toFixed(1), d) { case "scroll": "bgposition" === l ? o.css({ "background-position-y": "calc(" + i.yPos + "% + " + m + "px)" }) : o.css({ transform: "translateY(" + m + "px)" }); break; case "h-scroll": "bgposition" === l ? o.css({ "background-position-x": "calc(" + i.xPos + "% + " + m * f + "px)" }) : o.css({ transform: "translateX(" + m * f + "px)" }); break; case "zoom": var g = (c - s + u) / u * n; g += 1, o.css({ transform: "scale(" + g + ")" }); break; case "rotate": var v = m; o.css({ transform: "rotateZ(" + v * f + "deg)" }); break; case "blur": var w = 0; switch (p) { case "fade-in": w = m / 40; break; case "fade-out": w = 5 * n - m / 40 } o.css({ filter: "blur(" + w + "px)" }); break; case "opacity": var _ = 1; switch (p) { case "fade-in": _ = 1 - m / 400; break; case "fade-out": _ = 1 - .5 * n + m / 400 } o.css({ opacity: _ }) } }) } , o.mouseMoveHandler = function(e) { var t = r.width() , i = r.height() , a = Math.ceil(t / 2) , n = Math.ceil(i / 2) , s = e.clientX - a , l = e.clientY - n; f = s / a * -1, p = l / n * -1, o.mouseMoveUpdate() } , o.mouseLeaveHandler = function(t) { e.each(d, function(t, i) { var a = i.selector , o = e(".jet-parallax-section__image", a); switch (i.prop) { case "transform3d": TweenMax.to(o[0], 1.2, { x: 0, y: 0, z: 0, rotationX: 0, rotationY: 0, ease: Power2.easeOut }) } }) } , o.mouseMoveUpdate = function() { e.each(d, function(t, i) { var a = i.selector , o = e(".jet-parallax-section__image", a) , n = i.speed , s = i.prop , r = parseFloat(125 * f * n).toFixed(1) , l = parseFloat(125 * p * n).toFixed(1) , d = 50 * i.zIndex , c = parseFloat(25 * f * n).toFixed(1) , u = parseFloat(25 * p * n).toFixed(1) , m = elementorFrontend.getCurrentDeviceMode(); if (-1 == i.device.indexOf(m)) return o.css({ transform: "translateX(0) translateY(0)", "background-position-x": i.xPos, "background-position-y": i.yPos }), !1; switch (s) { case "bgposition": var h = i.xPos + r / o[0].offsetWidth * 100 , g = i.yPos + l / o[0].offsetHeight * 100; TweenMax.to(o[0], 1, { backgroundPositionX: h, backgroundPositionY: g, ease: Power2.easeOut }); break; case "transform": TweenMax.to(o[0], 1, { x: r, y: l, ease: Power2.easeOut }); break; case "transform3d": TweenMax.to(o[0], 2, { x: r, y: l, z: d, rotationX: u, rotationY: -c, ease: Power2.easeOut }) } }) } } , window.jetPortfolio = function(i, o) { var n, s = this, r = i, l = e(".jet-portfolio__list", r), d = e(".jet-portfolio__item", r), c = e(".jet-portfolio__filter-item", r), u = e(".jet-portfolio__view-more", r), f = e(".jet-portfolio__view-more-button", r), p = f[0], m = {}, h = {}, g = "all", v = a.isRTL(), w = Boolean(t.isEditMode()), _ = { itemSelector: ".jet-portfolio__item", percentPosition: !0, isOriginLeft: !0 !== v }; o = e.extend({ layoutType: "masonry", columns: 3, perPage: 6 }, o); s.init = function() { s.layoutBuild(), w && n.get(0) && e(window).on("resize", a.debounce(50, function() { n.masonry("layout") })) } , s.layoutBuild = function() { if (s.generateData(), c.data("showItems", p ? o.perPage : "all"), "justify" == o.layoutType && (_.columnWidth = ".grid-sizer"), "masonry" != o.layoutType && "justify" != o.layoutType || (n = l.masonry(_)), e.isFunction(e.fn.imagesLoaded)) e(".jet-portfolio__image", d).imagesLoaded().progress(function(t, i) { var a = e(i.img).closest(".jet-portfolio__item"); e(".jet-portfolio__image-loader", a).remove(), a.addClass("item-loaded"), n && n.masonry("layout") }); else { var t = e(".jet-portfolio__image-loader", d); d.addClass("item-loaded"), t.remove() } c.on("click.jetPortfolio", s.filterHandler), f.on("click.jetPortfolio", s.moreButtonHandler), s.render(), s.checkMoreButton() } , s.generateData = function() { c[0] ? c.each(function(t) { var i = e(this).data("slug"); h[i] = !1, "all" == i && (h[i] = !0) }) : h.all = !0, d.each(function(t) { var i = e(this) , a = i.data("slug"); m[t] = { selector: i, slug: a, visible: !!i.hasClass("visible-status"), more: !!i.hasClass("hidden-status"), lightboxEnabled: "yes" === i.find(".jet-portfolio__link").data("elementor-open-lightbox") } }) } , s.filterHandler = function(t) { t.preventDefault(); var i = e(this) , a = 1 , o = i.data("slug") , n = i.data("showItems"); for (var r in c.removeClass("active"), i.addClass("active"), h) h[r] = !1, r == o && (h[r] = !0, g = r); e.each(m, function(e, t) { var i = !1; "all" === n ? s.isItemVisible(t.slug) && !t.more && (i = !0) : s.isItemVisible(t.slug) && (a <= n ? (i = !0, t.more = !1) : t.more = !0, a++), t.visible = i }), s.render(), s.checkMoreButton() } , s.moreButtonHandler = function(t) { e(this); var i, a = 1, n = e(".jet-portfolio__filter-item.active", r); e.each(m, function(e, t) { s.isItemVisible(t.slug) && t.more && a <= o.perPage && (t.more = !1, t.visible = !0, a++) }), n[0] && (i = n.data("showItems"), n.data("showItems", i + a - 1)), s.render(), s.checkMoreButton() } , s.checkMoreButton = function() { var t = !1; e.each(m, function(e, i) { s.isItemVisible(i.slug) && i.more && (t = !0) }), t ? u.removeClass("hidden-status") : u.addClass("hidden-status") } , s.isItemVisible = function(e) { var t = a.getObjectValues(e); for (var i in h) { if (h[i] && -1 !== t.indexOf(i)) return !0 } return !1 } , s.anyFilterEnabled = function() { for (var e in h) if (h[e]) return !0; return !1 } , s.render = function() { d.removeClass("visible-status").removeClass("hidden-status"), e.each(m, function(t, i) { var a = e(".jet-portfolio__inner", i.selector) , n = e(".jet-portfolio__link", i.selector) , s = o.id + "-" + g; i.visible ? (i.selector.addClass("visible-status"), i.lightboxEnabled && n[0].setAttribute("data-elementor-lightbox-slideshow", s), anime({ targets: a[0], opacity: { value: 1, duration: 400 }, scale: { value: 1, duration: 500, easing: "easeOutExpo" }, delay: 50, elasticity: !1 })) : (i.selector.addClass("hidden-status"), n[0].removeAttribute("data-elementor-lightbox-slideshow"), anime({ targets: a[0], opacity: 0, scale: 0, duration: 500, elasticity: !1 })) }), n && n.masonry("layout") } } , window.jetTimeLine = function(t) { var i = t.closest(".jet-popup__container-inner, .elementor-popup-modal .dialog-message") , o = !!i[0] , n = o ? i : e(window) , s = o ? n.offset().top - e(window).scrollTop() : 0 , r = this , l = t.find(".jet-timeline__line") , d = l.find(".jet-timeline__line-progress") , c = t.find(".jet-timeline-item") , u = t.find(".timeline-item__point") , f = n.scrollTop() , p = -1 , m = n.height() , h = o ? n.outerHeight() : window.innerHeight , g = !1; r.onScroll = function() { f = n.scrollTop(), s = o ? n.offset().top - e(window).scrollTop() : 0, r.updateFrame(), r.animateCards() } , r.onResize = function() { f = n.scrollTop(), m = n.height(), s = o ? n.offset().top - e(window).scrollTop() : 0, r.updateFrame() } , r.updateWindow = function() { g = !1, l.css({ top: c.first().find(u).offset().top - c.first().offset().top, bottom: t.offset().top + t.outerHeight() - c.last().find(u).offset().top }), p !== f && (p = f, m, r.updateProgress()) } , r.updateProgress = function() { var t = c.last().find(u).offset().top , i = o ? t + f - s - e(window).scrollTop() : t , a = o ? d.offset().top + f - s - e(window).scrollTop() : d.offset().top , n = f - a + h / 2; i <= f + h / 2 && (n = i - a), d.css({ height: n + "px" }), c.each(function() { var t = e(this).find(u).offset().top; (t = o ? t + f - s - e(window).scrollTop() : t) < f + .5 * h ? e(this).addClass("is--active") : e(this).removeClass("is--active") }) } , r.updateFrame = function() { g || requestAnimationFrame(r.updateWindow), g = !0 } , r.animateCards = function() { c.each(function() { var t = e(this).offset().top; (t = o ? t + f - s - e(window).scrollTop() : t) <= f + .9 * h && e(this).hasClass("jet-timeline-item--animated") && e(this).addClass("is--show") }) } , r.init = function() { e(document).ready(r.onScroll), n.on("scroll.jetTimeline", r.onScroll), e(window).on("resize.jetTimeline orientationchange.jetTimeline", a.debounce(50, r.onResize)) } } , window.jetScratchEffect = function(t, i, o, n=75, s) { var r, l = document.querySelector(t), d = document.querySelector(i), c = d.width, u = d.height, f = d.getContext("2d"), p = new Image, m = !1; function h(e, t) { return { x: (e.pageX || e.touches[0].clientX) - 0, y: (e.pageY || e.touches[0].clientY) - 0 } } function g(e) { (e = e || 0) > n && o && o.call(d) } function v(e) { m = !0, r = h(e) } function w(e) { var t, i, o = (t = d.getBoundingClientRect(), i = document.documentElement, { top: t.top, scrollTop: i.scrollTop }), n = 0; if (s.top != o.top && (n = o.top + o.scrollTop - s), m) { e.preventDefault(); for (var l, v, w = h(e), _ = (l = r, v = w, Math.sqrt(Math.pow(v.x - l.x, 2) + Math.pow(v.y - l.y, 2))), b = function(e, t) { return Math.atan2(t.x - e.x, t.y - e.y) }(r, w), y = 0, j = 0, x = navigator.userAgent || navigator.vendor || window.opera, k = /iPad|iPhone|iPod/.test(x) && !window.MSStream, C = a.mobileAndTabletcheck() && !k ? window.scrollY : 0, T = 0; T < _; T++) y = r.x + Math.sin(b) * T - 40, j = r.y + Math.cos(b) * T - 40 + C - n, f.globalCompositeOperation = "destination-out", f.drawImage(p, y, j, 80, 80); r = w, g(function(e) { (!e || e < 1) && (e = 1); for (var t = f.getImageData(0, 0, c, u).data, i = t.length, a = i / e, o = 0, n = o = 0; n < i; n += e) 0 === parseInt(t[n]) && o++; return Math.round(o / a * 100) }(32)) } } function _(e) { m = !1 } e(".jet-animated-box__button--back", l).on("focus", function() { g(100) }), p.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAxCAYAAABNuS5SAAAKFklEQVR42u2aCXCcdRnG997NJtlkk83VJE3apEma9CQlNAR60UqrGSqW4PQSO9iiTkE8BxWtlGMqYCtYrLRQtfVGMoJaGRFliijaViwiWgQpyCEdraI1QLXG52V+n/5nzd3ENnX/M8/sJvvt933/533e81ufL7MyK7NOzuXPUDD0FQCZlVn/+xUUQhkXHny8M2TxGsq48MBjXdAhL9/7YN26dd5nI5aVRrvEc0GFEBNKhbDjwsHh3qP/FJK1EdYIedOFlFAOgREhPlICifZDYoBjTna3LYe4xcI4oSpNcf6RvHjuAJRoVszD0qFBGmgMChipZGFxbqzQkJWVZUSOF7JRX3S4LtLTeyMtkkqljMBkPzHRs2aYY5PcZH/qLY1EIo18byQ6hBytIr3WCAXcV4tQHYvFxg3w3N6+Bh3OQolEoqCoqCinlw16JzTFJSE6PYuZKqvztbC2ex7bzGxhKu+rerjJrEEq+r9ieElJSXFDQ0Mh9zYzOzu7FBUWcO4Q9xbD6HYvhXhGLccVD5ZAPyfMqaioyOrBUgEv8FZXV8caGxtz8vLykhCWTnZIKmsKhUJnEYeKcKk2YYERH41G7UYnck1/WvAPOxsdLJm2+bEY0Ay0RNeqkytXQkoBZM4U5oOaoYSUkBGRtvnesrBZK4e4F6ypqSkuLy+v4KI99ZQxkfc6vZ4jNAl1wkbhG8LrhfNBCdkxmhYacvj/GOce+3K9MHHbDHUmicOufREELRIWch/DljzMsglutr+VIJO5KjGrVfZAnpF8mnCd8G5hrnC60Cl8T/iw8C1hKd9P9eDCMcgo5HwBx8BB/g7xeRPkrBbeJ3xTeAxjvRGVV3NcshfPG1JX4tVDQae47GuVOknCi23xHr5nyrxe2C1sFlYJ7xe+Jlwm7BRulItP0ms957RzTMK1ws41jMS8eDxehopaOCYfxc3AIHcIX+K6nxW+ImyVF1i8PQ8DTuwtdC1atCja3NwcHkq5EuXmo85G+jq+yMm28V4q/zcIPxV+K9zPxnbgTi0ocybu6wX66fx/vfAB4T1gHt8xI1wlXMF5zEXnQKC56ruEjwhvEa4WrrXvK/Yt5Pt5I1UveeVKyKmT+lpG2gQ2npMmez8ZzFT3e+HXwj7hKXNf6rFZbDpJUjESLdFsFX4mfFv4Fd/7qPBm4UPCJ4RNwncwym4UfYVUtiAcDk/T+3NRmylwWzAY7BCBCwYYogZPnrJoRNm2IDc3tw4FVKXFm95UmGLzkTTFpog524WnhQPCQeGvwiPCCuFCYmk5GbEJt3tOeF54HPVeLLyXxHOv8BPhYaFLeFU4gsI7OWeZk3g+hpJNvVMGIIqhdRvy+biVISouq2TBqWxoIL1wgBhU5AR1SzJvFR4UnhX+Bl4RfsFGP0npUkTymIQ7fh8Cf4l6F0LgXkj6o3O+buGfwj+ElzGQETaNeJqPhxiahckYq8KJ9V6mP+4pTIATjsGCA8lCQVy9VbhB2CM8itu9IBxlkx6O4nbmmpcSi0KUExa3Psfn23DZC4lhlhRuIWs/R1Y9BrpR4WHcfiOq34bLl5DJm1B7BANPGO4+2OJfDcVwX+RZkL5d+DRqeRJ360IJx1CFp4w/8/lhVGXxay1xKp8asQ31rSbgz2az1aBBWCZsgKTfEFe7uM4xYus9KHWXcBv3eolwJe67hJLIN6yubMVpW1tbbllZWVxtzjRquvQe9981IG3RZHUQttH7hB8IP0cdLwp/YnNHcdsjEP1xsEruO56i2Fy3UWXMskAgYAH/EjOiCD6NDc/XZ4v12RqSy3WQ9rJD3jPClwkZz2Aoy8JnUEjPcwYWfgfHvcIW84h308mABQP4Xp02OY44M4tSZSfx7UXIewU3NpXuxw0vJzauYDP1XM8y8Ttx67fhylYrdlAMW1x7h/BF3NWI+4PwFwjbSha26/xQuBmib6HDqeI+m4m5wzrj9A/xO+O5qbm4yizcbDOKfAjVWeC/WzAFLSeI+4hN9WzQ65EvED7D8Tt4vwE33O64rIfD1JW3k6xeQoX3UN6chyG8In4tcbHuRAyKw2ktVIIM2U5XcA7t2FKy5vWQeBexbbrTpvmZiJwN6e3EwKspW/ajqBuAKfKQk8m7KIce5bgnMNQDkLWPUmkj511DSVV5HJOd417FzrDAK7RjZLMZiURigmLVFCYs5tI2PFhpcUj/n6z6sp72LwJKiU2rUdp62rA7IX4XytpJ3Weh4XfE1/0kk/uoFX8kbCHudZLld5E8vJIs2+mbT8iznaR60DHMBt0EE1DySVlSsOBvyrL6zkZG5qI2T/QSBYTHMYAlq2tw1+0MFO4kVj5GSbSbgvkA8fQQr1uIdfdD5mZ1GhZbP0XfuwlPmOp0SNkYbkQV2JdlEsq69VJS+rTER+NtZVC+TX+NRFq1XGeiHXbGUHMg6lk2/DiZ+mHU8wTueoTXLtS3F5e9l2PNZW9lyrOB5LGSmJokzMQ6OjqCA3wsMXLLhqrWoZgKe3lyZ5YtLiwsLLfMLhJL0ibW3rKa7oMQ+Ajq6gKHcMeHeP8qZcpRMvyt1J97SRabcNP1ZGsbKhSb6lF+5GR6shUnlqTSyPM7LZxV/PUqjOfTH6cvqx+XyN3aCfBPUWh3UZIcxC2/jgu/BJ7Eve/G1R/EXS9gaLCc0dgySqIm7jV4MhEYdAaN4R4eRHkBusJp3GNp56iSOscyYN0DaUch8Ai13X6yrg0PvotCO8nme0geKymBaulc1qO+NbxOOpHZtrcHR+nT6+wePvcnk8k8qv6iNBdyH4/OoGR5gXbv75D4NIX3NoruLSjtKmLlbTwCKER1NmV+QIqfS13aai0izUHsRKksAQE5g0w4fuehj9f+xb25Ym1tbcIhuw2COmkBn2cAcQAFbsclV1BTns49JZio3EQWPkgCySJpFIu8aor0UfeLigDTlUTa/8eimhRGuUiKOZPYtYNabh9EGik3Mkk+A9I8JTWoAiik/LEpzY8tY4uwWc4AJMjxQd8oXRHU8JqbW32orNyAiubZo0WR5wX9KyHrLpLD52nrxhFHa1CVV5w3081cRu/7BYichpEqfafA7/sCzhT7tVkhLZvhTeB8Gv1r6U+ty/gqtWHQCSNTcPOl9NmXM1S4hgRjBjjL1MdUJ8cx3uhe3d3dfh5Meb8qyKWsuJRidwtN/h20XEtxvTwya7tKncU8ACqmXVwLict5fy6TnFhra2uW7xT8dWk2BHptVBOx8GLKjo3g7bhrBQq1sdVsCvEkhLZIac1y/zmUSO0oO8fX/0P2Ub3cwaWpZSITnLnOpDlBWTIfMleJqFb10jXCBJUlMyORSIP14LhqNef6v/05bpZTdHulUyXKsufDNdRxZ4vIhSKwhQFG5vfLfcwZsx2X92Jhje8/P8OI+TK/oO+zeA84WTzkvI/6RuB3y6f68qf11xnyMiuzMms4178AwArmZmkkdGcAAAAASUVORK5CYII=", d.addEventListener("mousedown", v, !1), d.addEventListener("mousemove", a.debounce(5, w), !1), d.addEventListener("mouseup", _, !1), d.addEventListener("touchstart", v, !1), d.addEventListener("touchmove", w, !1), d.addEventListener("touchend", _, !1) } }(jQuery, window.elementorFrontend);