!(function (t) {
"use strict";
var i, e;
t(".slide-carousel").owlCarousel({
loop: !0,
autoplay: !0,
margin: 10,
delay: 3e3,
nav: !0,
navText: ["", ""],
dots: !1,
responsive: { 0: { items: 1 }, 600: { items: 1 }, 1e3: { items: 1 } },
}),
(i = t(".filter-init")),
t.each(i, function (i, e) {
var o = t(this),
s = t(this).parent().attr("class"),
l = t("#" + o.attr("id"));
t(l).imagesLoaded(function () {
var i = t(l).isotope({ itemSelector: ".filter-item", percentPosition: !0, masonry: { columnWidth: 0, gutter: 0 } });
t(".collapse").on("shown.bs.collapse hidden.bs.collapse", function () {
i.isotope("layout");
}),
t(document).on("click", "." + s + " .tab-filter a", function () {
var e = t(this).attr("data-filter");
return i.isotope({ filter: e, animationOptions: { duration: 450, easing: "linear", queue: !1 } }), !1;
}),
t(".filter-wrapper .tab-filter a:first-child").click();
});
}),
t(document).on("click", ".tab-filter a", function () {
t(this).siblings().removeClass("active"), t(this).addClass("active");
}),
t(".counter").counterUp({ delay: 10, time: 1e3 }),
t(".dropdown-toggle").on("click", function (i) {
window.innerWidth <= 991 && (i.preventDefault(), t(this).parent().toggleClass("current"), t(this).next().slideToggle());
}),
t(window).on("scroll", function () {
t(this).scrollTop() > 200 ? t(".scrollingUp").addClass("is-active") : t(".scrollingUp").removeClass("is-active");
}),
t(".scrollingUp").on("click", function () {
return t("html, body").animate({ scrollTop: 0 }, 600), !1;
}),
t(".sticky").length > 0 &&
t(window).on("scroll", function () {
t(window).scrollTop() >= 250 ? t(".sticky").addClass("sticky-menu") : t(".sticky").removeClass("sticky-menu");
}),
(e = t(".grid").masonry({ itemSelector: ".grid-item", columnWidth: ".grid-item", gutter: 0, fitWidth: !1 })),
t(".grid-item").length > 0 &&
e.imagesLoaded().progress(function () {
e.masonry("layout");
});
})(jQuery);