1$(document).ready(function () { 2 if ($(".dialog-bg").animated("zoomInUp", "fadeIn"), 3 $(window).scroll(function () { 4 50 < $(this).scrollTop() ? $(".main-header").addClass("small-header") : $(".main-header").removeClass("small-header") 5 }), 767 < $(window).width()) new Swiper(".slider-section .swiper-container", { 6 slidesPerView: 1, 7 effect: "fade", 8 speed: 400, 9 loop: !0, 10 fadeEffect: {crossFade: !0}, 11 pagination: {el: ".slider-section .swiper-pagination", clickable: !0} 12 }); 13 if ($(window).width() < 768) new Swiper(".slider-section .swiper-container", { 14 slidesPerView: 1, 15 speed: 400, 16 loop: !0, 17 pagination: {el: ".slider-section .swiper-pagination", clickable: !0} 18 }); 19 20 $(".popup1").click(function (e) { 21 e.preventDefault(), 22 $(".modal1, .overlay-modal").css({ 23 opacity: "1", 24 visibility: "visible" 25 }), 26 $(".mask").css({display: "block"}), 27 $("body").css({"overflow-y": "hidden"}), 28 $("header").css({"z-index": "-1"}) 29 }), 30 $(".popup2").click(function (e) { 31 e.preventDefault(), 32 $(".modal2, .overlay-modal").css({ 33 opacity: "1", 34 visibility: "visible" 35 }), 36 $(".mask").css({display: "block"}), 37 $("body").css({"overflow-y": "hidden"}), 38 $("header").css({"z-index": "-1"}) 39 }), 40 $(".popup3").click(function (e) { 41 e.preventDefault(), $(".modal3, .overlay-modal").css({ 42 opacity: "1", 43 visibility: "visible" 44 }), 45 $(".modal3 [name ='name']").val($(this).data("name")), 46 $(".modal3 [name ='package']").val($(this).data("package")), 47 $(".modal3 [name ='index']").val($(this).data("index")), 48 $(".mask").css({display: "block"}), 49 $("body").css({"overflow-y": "hidden"}), 50 $("header").css({"z-index": "-1"}) 51 }), 52 $(".popup4").click(function (e) { 53 e.preventDefault(), $(".modal4, .overlay-modal").css({ 54 opacity: "1", 55 visibility: "visible" 56 }), 57 $(".modal4 [name ='name']").val($(this).data("name")), 58 $(".modal4 [name ='package']").val($(this).data("package")), 59 $(".modal4 [name ='index']").val($(this).data("index")), 60 $(".mask").css({display: "block"}), 61 $("body").css({"overflow-y": "hidden"}), 62 $("header").css({"z-index": "-1"}) 63 }), 64 $(".popup5").click(function (e) { 65 e.preventDefault(), $(".modal5, .overlay-modal").css({ 66 opacity: "1", 67 visibility: "visible" 68 }), 69 $(".modal5 [name ='name']").val($(this).data("name")), 70 $(".modal5 [name ='package']").val($(this).data("package")), 71 $(".modal5 [name ='index']").val($(this).data("index")), 72 $(".mask").css({display: "block"}), 73 $("body").css({"overflow-y": "hidden"}), 74 $("header").css({"z-index": "-1"}) 75 }), 76 $(".popup6").click(function (e) { 77 e.preventDefault(), $(".modal6, .overlay-modal").css({ 78 opacity: "1", 79 visibility: "visible" 80 }), 81 $(".modal6 [name ='name']").val($(this).data("name")), 82 $(".modal6 [name ='package']").val($(this).data("package")), 83 $(".modal6 [name ='index']").val($(this).data("index")), 84 $(".mask").css({display: "block"}), 85 $("body").css({"overflow-y": "hidden"}), 86 $("header").css({"z-index": "-1"}) 87 }), 88 $(".popup8").click(function (e) { 89 e.preventDefault(), $(".modal8, .overlay-modal").css({ 90 opacity: "1", 91 visibility: "visible" 92 }), 93 $(".modal8 [name ='name']").val($(this).data("name")), 94 $(".modal8 [name ='package']").val($(this).data("package")), 95 $(".modal8 [name ='index']").val($(this).data("index")), 96 $(".mask").css({display: "block"}), 97 $("body").css({"overflow-y": "hidden"}), 98 $("header").css({"z-index": "-1"}) 99 }), 100 $(".popup7").click(function (e) { 101 e.preventDefault(), $(".modal7, .overlay-modal").css({ 102 opacity: "1", 103 visibility: "visible" 104 }), 105 $(".mask").css({display: "block"}), 106 $("body").css({"overflow-y": "hidden"}), 107 $("header").css({"z-index": "-1"}) 108 }), 109 $(".overlay-modal, .ok").click(function () { 110 $(".modal, .overlay-modal").css({ 111 opacity: "0", 112 visibility: "hidden" 113 }), 114 $(".mask").css({display: "none"}), 115 $("body").css({"overflow-y": "visible"}), 116 $("header").css({"z-index": "2"}) 117 }), 118 $(".mask").click(function () { 119 $(".mask").css({display: "none"}), 120 $(".modal, .overlay-modal").css({ 121 opacity: "0", 122 visibility: "hidden" 123 }), 124 $("body").css({"overflow-y": "visible"}), 125 $("header").css({"z-index": "2"}) 126 }),
127 $(this).keydown(function (e) { 128 27 == e.which && ($(".modal, .overlay-modal").css({ 129 opacity: "0", 130 visibility: "hidden" 131 }), 132 $(".mask").css({display: "none"}), 133 $("body").css({"overflow-y": "visible"}), 134 $("header").css({"z-index": "2"})) 135 }), 136 $(".count").each(function () { 137 var e = $(this), i = e.attr("data-count"); 138 $({countNum: e.text()}).delay(650).animate({countNum: i}, { 139 duration: 1300, step: function () { 140 e.text(Math.floor(this.countNum)) 141 }, complete: function () { 142 e.text(this.countNum) 143 } 144 }) 145 }); 146 147 148 $(".tab-content").hide(); 149 $(".tab-content:first").show(); 150 $(".tabs :first-child").addClass('active'); 151 152 $(".faq-block .tab-faq-content :first-child").show(); 153 $('.faq-block .tabs ').show(); 154 $('.faq-block .tabs:first-child').show(); 155 156 $(".tabs li:first").addClass("active"); 157 158 $(".tabs li").click(function (e) { 159 var i = $(this).find("a").attr("href"); 160 $(this).parents().children("li").removeClass("active"), 161 $(this).addClass("active"), 162 $(this).parents().next().children(".tab-content").hide(), 163 $(i).fadeIn(), 164 e.preventDefault(); 165 }); 166 167 168 new Swiper(".cusromers-section .swiper-container", { 169 slidesPerView: 3, 170 spaceBetween: 43, 171 autoplay: 5e3, 172 loop: !0, 173 navigation: { 174 nextEl: ".cusromers-section .swiper-button-next", 175 prevEl: ".cusromers-section .swiper-button-prev" 176 }, 177 breakpoints: {1023: {slidesPerView: 2, loop: !0}, 767: {slidesPerView: 1, loop: !0}} 178 }), new Swiper(".logos-section .swiper-container", { 179 slidesPerView: 6, 180 spaceBetween: 48, 181 autoplay: 5e3, 182 loop: !0, 183 breakpoints: {1024: {slidesPerView: 4, loop: !0}} 184 }); 185 var i = { 186 el: { 187 ham: $(".menu-button"), 188 menuTop: $(".menu-top"), 189 menuMiddle: $(".menu-middle"), 190 menuBottom: $(".menu-bottom") 191 }, init: function () { 192 i.bindUIactions() 193 }, bindUIactions: function () { 194 i.el.ham.on("click", function (e) { 195 i.activateMenu(e), 196 e.preventDefault() 197 }) 198 }, activateMenu: function () { 199 i.el.menuTop.toggleClass("menu-top-click"), 200 i.el.menuMiddle.toggleClass("menu-middle-click"), 201 i.el.menuBottom.toggleClass("menu-bottom-click") 202 } 203 }; 204 205 i.init(), $(".menu-button, .overlay").click(function () { 206 $("header").hasClass("opened-menu") ? ($("header, .content").removeClass("opened-menu"), 207 $(".overlay").removeClass("active"), 208 $(".overlay").css({ 209 opacity: "0", 210 visibility: "hidden" 211 }), 212 $("body, html").css({"overflow-y": "auto"})) : ($("header, .content").addClass("opened-menu"), 213 $(".overlay").addClass("active"), 214 $(".overlay").css({ 215 opacity: "1", 216 visibility: "visible" 217 }), 218 $("body, html").css({overflow: "hidden"})) 219 }), 220 221 222 $(window).width() < 1170 && $(".with-sub").click(function () { 223 $(this).siblings(".with-sub").removeClass("opened"), 224 $(this).hasClass("opened") ? $(this).removeClass("opened") : $(this).addClass("opened"), 225 $(this).children(".sub-menu").slideToggle("5", function () { 226 $(this).toggleClass("opened") 227 }) 228 , $(this).siblings(".with-sub").children(".sub-menu.opened").slideToggle("5", function () { 229 $(this).toggleClass("opened") 230 }) 231 }); 232 233 function validateEmail(email) { 234 var re = /^(([^<>()\[\]\\.,;:\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,}))$/; 235 return re.test(email); 236 } 237 238 $('#contactForm').submit(function (e) { 239 e.preventDefault(); 240 var email = $('#email').val(); 241 var name = $('#name').val(); 242 var textarea = $('#textarea').val(); 243 244 var status_email = false;
245 var status_name = false; 246 var status_textarea = false; 247 248 if (validateEmail(email)) { 249 status_email = true; 250 $('#email').removeClass('error'); 251 } else { 252 $('#email').addClass('error') 253 } 254 if (name != '') { 255 status_name = true; 256 $('#name').removeClass('error'); 257 } else { 258 $('#name').addClass('error') 259 } 260 if (textarea != '') { 261 status_textarea = true; 262 $('#textarea').removeClass('error'); 263 } else { 264 $('#textarea').addClass('error') 265 } 266 if (status_email && status_name && status_textarea) { 267 $('.sendMessage').addClass('send'); 268 $('.sendMessage').text('You mail was sent'); 269 270 setTimeout(function () { 271 $('.sendMessage').removeClass('send'); 272 $('.sendMessage').empty(); 273 $('#contactForm').trigger('reset'); 274 },3000); 275 276 $.post( 277 '/sendmail/', 278 $('#contactForm').serialize(), 279 function (data) { 280 if (data.result === true) { 281 $('#contactForm').trigger('reset'); 282 } else { 283 $('.sendMessage').addClass('error'); 284 $('.sendMessage').text('You mail was not sent'); 285 } 286 } 287 ); 288 } else { 289 $('.sendMessage').addClass('error'); 290 $('.sendMessage').text('You mail was not sent'); 291 setTimeout(function () { 292 $('.sendMessage').removeClass('error'); 293 $('.sendMessage').empty(); 294 },3000); 295 } 296 }); 297 298 $('form.footer-form').submit(function (e) { 299 e.preventDefault(); 300 var email_footer = $('#email_footer').val(); 301 if (validateEmail(email_footer)) { 302 $('#email_footer').removeClass('error'); 303 $('#email_footer').addClass('send'); 304 setTimeout(function () { 305 $('#email_footer').removeClass('send') 306 },3000); 307 308 $.post( 309 '/sendmail/', 310 $(this).serialize(), 311 function(data) { 312 if (data.result === true) { 313 setTimeout(function () {
314 $('.footer-form').html('Thank you for subscribing!') 315 }, 1500) 316 } else { 317 $('.footer-form').html('You mail was not sent') 318 } 319 } 320 ); 321 }else{ 322 $('#email_footer').addClass('error'); 323 } 324 }); 325 326 $('.modal7 form').submit(function (e) { 327 e.preventDefault(); 328 var email = $('.modal7 .mail-input').val(); 329 330 if (validateEmail(email)) { 331 $('.modal7 .mail-input').removeClass('error'); 332 $('.modal7 .mail-input').addClass('send'); 333 setTimeout(function () { 334 $('.modal7 .mail-input').removeClass('send') 335 },3000); 336 337 $.post( 338 '/sendmail/', 339 $(this).serialize(), 340 function(data) { 341 if (data.result === true) { 342 $('.modal7 .mail-input').addClass('send'); 343 setTimeout(function () { 344 $('.modal7 .mail-input').removeClass('send'); 345 $('.modal7 form').trigger('reset'); 346 $('.modal-thank-you').show(); 347 $('.modal7 .modal-form').hide(); 348 }, 1500) 349 } else { 350 $('.modal7 form').html('You mail was not sent') 351 } 352 } 353 ); 354 }else{ 355 $('.modal7 .mail-input').addClass('error'); 356 } 357 }); 358}); 359 360
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.