!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.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 = '