One Hat Cyber Team
Your IP :
3.12.151.11
Server IP :
103.133.214.160
Server :
Linux venus.ewebguru.net 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
Apache/2
PHP Version :
8.1.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
praval
/
public_html
/
assets
/
front
/
js
/
View File Name :
scripts.min.js
jQuery(document).ready(function (a) { "use strict"; function b() { h.parent().removeClass("expanded") } function c(b) { var c = b.item.index, d = a(".owl-item").eq(c).find("[data-hash]").attr("data-hash"); a(".product-thumbnails li").removeClass("active"), a('[href="#' + d + '"]').parent().addClass("active"), a('[data-hash="' + d + '"]').parent().addClass("active") }(function () { if ("number" == typeof window.innerWidth) return window.innerWidth > document.documentElement.clientWidth; var a, b = document.documentElement || document.body; void 0 !== b.currentStyle && (a = b.currentStyle.overflow), a = a || window.getComputedStyle(b, "").overflow; var c; void 0 !== b.currentStyle && (c = b.currentStyle.overflowY), c = c || window.getComputedStyle(b, "").overflowY; var d = b.scrollHeight > b.clientHeight, e = /^(visible|auto)$/.test(a) || /^(visible|auto)$/.test(c), f = "scroll" === a || "scroll" === c; return d && e || f })() && a("body").addClass("hasScrollbar"), a('a[href="#"]').on("click", function (a) { a.preventDefault() }), function () { var b = a("body"), c = a(".navbar-sticky"), d = a(".topbar").outerHeight(), e = c.find(".navbar").outerHeight(); c.length && a(window).on("scroll", function () { a(this).scrollTop() > d ? (c.addClass("navbar-stuck"), b.css("padding-top", e)) : (c.removeClass("navbar-stuck"), b.css("padding-top", 0)) }) }(), function (b, c) { a(b).on("click", function () { a(this).toggleClass("active"), a(this).find("i").toggleClass(""), a(c).toggleClass("open") }) }(".mobile-menu-toggle", ".mobile-menu"); a(".slideable-menu .slideable-submenu").each(function () { a(this).prepend('<li class="back-btn"><a href="#">Back</a></li>') }); var d = a(".has-children .sub-menu-toggle"); a(".slideable-menu .slideable-submenu .back-btn").on("click", function (b) { var c = this, d = a(c).parent(), e = a(c).parent().parent().siblings().parent(), f = a(c).parents(".menu"), g = a(".slideable-menu .menu").attr("data-initial-height"); d.removeClass("in-view"), e.removeClass("off-view"), "menu" === e.attr("class") ? f.css("height", g) : f.css("height", e.height()), b.preventDefault() }), d.on("click", function (b) { var c = this, d = a(c).parent().parent().parent(), e = a(c).parents(".menu"); return d.addClass("off-view"), a(c).parent().parent().find("> .slideable-submenu").addClass("in-view"), e.css("height", a(c).parent().parent().find("> .slideable-submenu").height()), b.preventDefault(), !1 }), function (b, c, d) { a(b).on("click", function () { a(this).addClass("sidebar-open"), a(c).addClass("open") }), a(d).on("click", function () { a(b).removeClass("sidebar-open"), a(c).removeClass("open") }) }(".sidebar-toggle", ".sidebar-offcanvas", ".sidebar-close"); var e = a(".scroll-to-top-btn"); if (e.length > 0 && (a(window).on("scroll", function () { a(this).scrollTop() > 600 ? e.addClass("visible") : e.removeClass("visible") }), e.on("click", function (b) { b.preventDefault(), a("html").velocity("scroll", { offset: 0, duration: 300, mobileHA: !1 }) })), a(document).on("click", ".scroll-to", function (b) { var c = a(this).attr("href"); if ("#" === c) return !1; var d = a(c); if (d.length > 0) { var e = d.data("offset-top") || 65; a("html").velocity("scroll", { offset: a(this.hash).offset().top - e, duration: 300, mobileHA: !1 }) } b.preventDefault() }), function (b) { b.each(function () { var b = a(this), c = b.data("filter-list"), d = b.find("input[type=text]"), e = b.find("input[type=radio]"), f = a(c).find(".list-group-item"); d.keyup(function () { var b = d.val(); f.each(function () { 0 == a(this).text().toLowerCase().indexOf(b.toLowerCase()) ? a(this).show() : a(this).hide() }) }), e.on("click", function (b) { var c = a(this).val(); "all" !== c ? (f.hide(), a("[data-filter-item=" + c + "]").show()) : f.show() }) }) }(a("[data-filter-list]")), window.addEventListener("load", function () { var a = document.getElementsByClassName("needs-validation"); Array.prototype.filter.call(a, function (a) { a.addEventListener("submit", function (b) { !1 === a.checkValidity() && (b.preventDefault(), b.stopPropagation()), a.classList.add("was-validated") }, !1) }) }, !1), function (b, c) { b.each(function () { var b = a(this), d = a(this).data("date-time"); (c || b).downCount({ date: d, offset: 10 }) }) }(a(".countdown")), a("[data-toast]").on("click", function () { var b = a(this), c = b.data("toast-type"), d = b.data("toast-icon"), e = b.data("toast-position"), f = b.data("toast-title"), g = b.data("toast-message"), h = ""; switch (e) { case "topRight": h = { class: "iziToast-" + c || "", title: f || "Title", message: g || "toast message", animateInside: !1, position: "topRight", progressBar: !1, icon: d, timeout: 3200, transitionIn: "fadeInLeft", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" }; break; case "bottomRight": h = { class: "iziToast-" + c || "", title: f || "Title", message: g || "toast message", animateInside: !1, position: "bottomRight", progressBar: !1, icon: d, timeout: 3200, transitionIn: "fadeInLeft", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" }; break; case "topLeft": h = { class: "iziToast-" + c || "", title: f || "Title", message: g || "toast message", animateInside: !1, position: "topLeft", progressBar: !1, icon: d, timeout: 3200, transitionIn: "fadeInRight", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" }; break; case "bottomLeft": h = { class: "iziToast-" + c || "", title: f || "Title", message: g || "toast message", animateInside: !1, position: "bottomLeft", progressBar: !1, icon: d, timeout: 3200, transitionIn: "fadeInRight", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" }; break; case "topCenter": h = { class: "iziToast-" + c || "", title: f || "Title", message: g || "toast message", animateInside: !1, position: "topCenter", progressBar: !1, icon: d, timeout: 3200, transitionIn: "fadeInDown", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" }; break; case "bottomCenter": h = { class: "iziToast-" + c || "", title: f || "Title", message: g || "toast message", animateInside: !1, position: "bottomCenter", progressBar: !1, icon: d, timeout: 3200, transitionIn: "fadeInUp", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" }; break; default: h = { class: "iziToast-" + c || "", title: f || "Title", message: g || "toast message", animateInside: !1, position: "topRight", progressBar: !1, icon: d, timeout: 3200, transitionIn: "fadeInLeft", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" } } iziToast.show(h) }), a('[data-toggle="toast"]').on("click", function () { var b = "#" + a(this).data("toast-id"); a(b).toast("show") }), a(".btn-wishlist").on("click", function () { var b = a(this).data("iteration") || 1, c = { title: "Product", animateInside: !1, position: "topRight", progressBar: !1, timeout: 3200, transitionIn: "fadeInLeft", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" }; switch (b) { case 1: a(this).addClass("active"), c.class = "iziToast-info", c.message = "added to your wishlist!", c.icon = "icon-info"; break; case 2: a(this).removeClass("active"), c.class = "iziToast-danger", c.message = "removed from your wishlist!", c.icon = "icon-slash" } iziToast.show(c), b++, b > 2 && (b = 1), a(this).data("iteration", b) }), a(".btn-compare").on("click", function () { var b = a(this).data("iteration") || 1, c = { title: "Product", animateInside: !1, position: "topRight", progressBar: !1, timeout: 3200, transitionIn: "fadeInLeft", transitionOut: "fadeOut", transitionInMobile: "fadeIn", transitionOutMobile: "fadeOut" }; switch (b) { case 1: a(this).addClass("active"), c.class = "iziToast-info", c.message = "added to comparison table!", c.icon = "icon-info"; break; case 2: a(this).removeClass("active"), c.class = "iziToast-danger", c.message = "removed from comparison table!", c.icon = "icon-slash" } iziToast.show(c), b++, b > 2 && (b = 1), a(this).data("iteration", b) }), a(".isotope-grid").length) var f = a(".isotope-grid").imagesLoaded(function () { f.isotope({ itemSelector: ".grid-item", transitionDuration: "0.7s", masonry: { columnWidth: ".grid-sizer", gutter: ".gutter-sizer" } }) }); if (a(".filter-grid").length > 0) { var g = a(".filter-grid"); a(".nav-pills").on("click", "a", function (b) { b.preventDefault(), a(".nav-pills a").removeClass("active"), a(this).addClass("active"); var c = a(this).attr("data-filter"); g.isotope({ filter: c }) }) } var h = a(".widget-categories .has-children > a"); h.on("click", function (c) { a(c.target).parent().is(".expanded") ? b() : (b(), a(this).parent().addClass("expanded")) }), a('[data-toggle="tooltip"]').tooltip(), a('[data-toggle="popover"]').popover(); var i = document.querySelector(".ui-range-slider"); if (void 0 !== i && null !== i) { var j = parseInt(i.parentNode.getAttribute("data-start-min"), 10), k = parseInt(i.parentNode.getAttribute("data-start-max"), 10), l = parseInt(i.parentNode.getAttribute("data-min"), 10), m = parseInt(i.parentNode.getAttribute("data-max"), 10), n = parseInt(i.parentNode.getAttribute("data-step"), 10), o = document.querySelector(".ui-range-value-min span"), p = document.querySelector(".ui-range-value-max span"), q = document.querySelector(".ui-range-value-min input"), r = document.querySelector(".ui-range-value-max input"); noUiSlider.create(i, { start: [j, k], connect: !0, step: n, range: { min: l, max: m } }), i.noUiSlider.on("update", function (a, b) { var c = a[b]; b ? (p.innerHTML = Math.round(c), r.value = Math.round(c)) : (o.innerHTML = Math.round(c), q.value = Math.round(c)) }) } var u = a(".google-map"); u.length && u.each(function () { var b = a(this).data("height"), c = a(this).data("address"), d = a(this).data("zoom"), e = a(this).data("disable-controls"), f = a(this).data("scrollwheel"), g = a(this).data("marker"), h = a(this).data("marker-title"), i = a(this).data("styles"); a(this).height(b), a(this).gmap3({ marker: { address: c, data: h, options: { icon: g }, events: { mouseover: function (b, c, d) { var e = a(this).gmap3("get"), f = a(this).gmap3({ get: { name: "infowindow" } }); f ? (f.open(e, b), f.setContent(d.data)) : a(this).gmap3({ infowindow: { anchor: b, options: { content: d.data } } }) }, mouseout: function () { var b = a(this).gmap3({ get: { name: "infowindow" } }); b && b.close() } } }, map: { options: { zoom: d, disableDefaultUI: e, scrollwheel: f, styles: i } } }) }) });