1$(document).ready((function () { 2 function e(e) { 3 return e.length > 1 ? e : +e > 0 && +e <= 9 ? "0" + e : e 4 } 5 $().fancybox()/* , $('a[href^="#"]:not(a.popup):not(a.more-btn)').on("click", (function () { 6 let e = $(this).attr("href"); 7 return $("html, body").animate({ 8 scrollTop: $(e).offset().top 9 }), !1 10 })); */ 11 var t = new Swiper(".promo__swiper", { 12 navigation: { 13 nextEl: ".swiper-button-next", 14 prevEl: ".swiper-button-prev" 15 }, 16 autoplay: { 17 delay: 3000, 18 disableOnInteraction: false, 19 }, 20 on: { 21 init: function (t) { 22 $(".promo__scrollbar").before('<div class="promo__slides-counter"><span>' + e(t.activeIndex + 1) + "</span> / <span>" + e(t.slides.length) + "</span></div>") 23 }, 24 slideChange: function (t) { 25 $(".promo__slides-counter span:first-child").text(e(t.activeIndex + 1)) 26 } 27 }, 28 breakpoints: { 29 320: { 30 pagination: { 31 el: ".promo__scrollbar", 32 type: "bullets" 33 } 34 }, 35 992: { 36 pagination: { 37 el: ".swiper-pagination", 38 type: "progressbar" 39 } 40 } 41 } 42 }); 43 $(t).on("paginationShow", (function () { 44 console.log("ds") 45 })); 46 new Swiper(".services__photos", { 47 slidesPerView: 1, 48 navigation: { 49 nextEl: ".swiper-button-next", 50 prevEl: ".swiper-button-prev" 51 } 52 }), new Swiper(".gift__slider", { 53 slidesPerView: 1, 54 effect: "fade", 55 navigation: { 56 nextEl: ".swiper-button-next", 57 prevEl: ".swiper-button-prev" 58 }, 59 pagination: { 60 el: ".swiper-pagination.gift__pag", 61 type: "bullets" 62 } 63 }), 64 65 new Swiper(".events__list", { 66 slidesPerView: 1, 67 spaceBetween: 30, 68 navigation: { 69 nextEl: ".swiper-button-next.event__arrow.event__arrow-right", 70 prevEl: ".swiper-button-prev.event__arrow.event__arrow-left" 71 }, 72 breakpoints: { 73 320: { 74 pagination: { 75 el: ".swiper-pagination.event__pag", 76 type: "bullets" 77 } 78 }, 79 768: { 80 sliderPerView: 2, 81 pagination: {} 82 }, 83 992: { 84 slidesPerView: 3 85 }, 86 1200: { 87 slidesPerView: 4 88 } 89 } 90 }), new Swiper(".stocks-slider", { 91 slidesPerView: 1, 92 spaceBetween: 30, 93 navigation: { 94 nextEl: ".swiper-button-next.stocks-arrow.stocks-arrow--right", 95 prevEl: ".swiper-button-prev.stocks-arrow.stocks-arrow--left" 96 }, 97 breakpoints: { 98 320: { 99 pagination: { 100 el: ".swiper-pagination.event__pag", 101 type: "bullets" 102 } 103 }, 104 768: { 105 sliderPerView: 2, 106 pagination: {} 107 }, 108 992: { 109 slidesPerView: 3 110 }, 111 1200: { 112 slidesPerView: 4 113 } 114 } 115 }), new Swiper(".route__list-slider", { 116 slidesPerView: 1, 117 navigation: { 118 nextEl: ".swiper-button-next", 119 prevEl: ".swiper-button-prev" 120 }, 121 pagination: { 122 el: ".swiper-pagination.route__pag", 123 type: "bullets" 124 } 125 }); 126 127 function i() { 128 var e = $("#dp-slider .dp_item:first-child").data("class"); 129 $("#dp-dots li").removeClass("active"), $("#dp-dots li[data-class=" + e + "]").addClass("active") 130 } 131 $(".dropdown").on("click", (function () { 132 $(this).toggleClass("dropdown_active") 133 })), $(".calendar__day").on("click", (function () { 134 $(this).toggleClass("calendar__day_active") 135 })), $(".basket.icon .icon__item").on("click", (function (e) { 136 let basket = (JSON.parse(localStorage.getItem('basket'))) || []; 137 138 if(basket.length > 0){ 139 e.preventDefault(); 140 $(this).siblings(".basket__content").toggleClass("basket__content_active"), $(".page-overflow").toggleClass("page-overflow_active"); 141 } else{ 142 window.location.href = '/visit/'; 143 } 144 })), $(".page-overflow").on("click", (function () { 145 $(this).toggleClass("page-overflow_active"), $(".basket__content").toggleClass("basket__content_active") 146 })), $("ul.tabs").on("click", "li:not(.tabs__item_active)", (function () { 147 $(this).addClass("tabs__item_active").siblings().removeClass("tabs__item_active").closest("div.container").find("div.tabs__content").removeClass("tabs__content_active").eq($(this).index()).addClass("tabs__content_active") 148 })),$().fancybox(), $("#dp-next").click((function () { 149 $(".dp_item").length; 150 $("#dp-slider .dp_item:first-child").hide().appendTo("#dp-slider").fadeIn(), $.each($(".dp_item"), (function (e, t) { 151 $(t).attr("data-position", e + 1) 152 })), i() 153 })), $("#dp-prev").click((function () { 154 $(".dp_item").length; 155 $("#dp-slider .dp_item:last-child").hide().prependTo("#dp-slider").fadeIn(), $.each($(".dp_item"), (function (e, t) { 156 $(t).attr("data-position", e + 1) 157 })), i() 158 })), $("#dp-dots li").click((function () { 159 $("#dp-dots li").removeClass("active"), $(this).addClass("active"); 160 var e = $(this).attr("data-class"); 161 console.log(e), $("#dp-slider .dp_item[data-class=" + e + "]").hide().prependTo("#dp-slider").fadeIn(), $.each($(".dp_item"), (function (e, t) { 162 $(t).attr("data-position", e + 1) 163 })) 164 })), $("body").on("click", "#dp-slider .dp_item:not(:first-child)", (function () { 165 var e = $(this).attr("data-class"); 166 console.log(e), $("#dp-slider .dp_item[data-class=" + e + "]").hide().prependTo("#dp-slider").fadeIn(), $.each($(".dp_item"), (function (e, t) { 167 $(t).attr("data-position", e + 1) 168 })), i() 169 })) 170})), $(document).ready((function () { 171 $(".minus").click((function () { 172 var e = $(this).parent().find(".counter__quantity"), 173 t = parseInt(e.val()) - 1; 174 return t = t < 1 ? 1 : t, e.val(t), e.change(), !1 175 })), $(".plus").click((function () { 176 var e = $(this).parent().find(".counter__quantity"); 177 return e.val(parseInt(e.val()) + 1), e.change(), !1 178 })) 179})); 180var _gaq = _gaq || [];
181_gaq.push(["_setAccount", "UA-36251023-1"]), _gaq.push(["_setDomainName", "jqueryscript.net"]), _gaq.push(["_trackPageview"]), 182 function () { 183 var e = document.createElement("script"); 184 e.type = "text/javascript", e.async = !0, e.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js"; 185 var t = document.getElementsByTagName("script")[0]; 186 t.parentNode.insertBefore(e, t) 187 }(), $(".rules__bullet:not(.rules__bullet-active)").on("click", (function () { 188 $(this).addClass("rules__bullet-active").siblings().removeClass("rules__bullet-active"), $.each($(".dp_item:first-child"), (function (e, t) { 189 $(t).attr("data-position", e + 1) 190 })), $("#dp-slider .dp_item:first-child").hide().appendTo("#dp-slider").fadeIn(), $.each($(".dp_item"), (function (e, t) { 191 $(t).attr("data-position", e + 1) 192 })), detect_active() 193 })), $(document).ready((function () {})); 194//# sourceMappingURL=all.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.