1var module, countdown = function (e) { 2 3 function s(e, s) { 4 5 var t = e.getTime(); 6 7 return e.setUTCMonth(e.getUTCMonth() + s), 8 9 Math.round((e.getTime() - t) / 864e5) 10 11 } 12 13 14 15 function t(e) { 16 17 var s = e.getTime(), 18 19 20 21 t = new Date(s); 22 23 return t.setUTCMonth(e.getUTCMonth() + 1), 24 25 Math.round((t.getTime() - s) / 864e5) 26 27 } 28 29 30 31 function i(e, s) { 32 33 return e + " " + (1 === e ? l[s] : d[s]) 34 35 } 36 37 38 39 function o() { } 40 41 42 43 function n(e, s, i, o, n, a) { 44 45 if (0 <= e[i] && (s += e[i], delete e[i]), 46 47 1 >= (s /= n) + 1) return 0; 48 49 if (0 <= e[o]) { 50 51 switch (e[o] = +(e[o] + s).toFixed(a), 52 53 o) { 54 55 case "seconds": 56 57 if (60 !== e.seconds || isNaN(e.minutes)) break; 58 59 e.minutes++, e.seconds = 0; 60 61 case "minutes": 62 63 if (60 !== e.minutes || isNaN(e.hours)) break; 64 65 e.hours++, e.minutes = 0; 66 67 case "hours": 68 69 if (24 !== e.hours || isNaN(e.days)) break; 70 71 e.days++, e.hours = 0; 72 73 case "days": 74 75 if (7 !== e.days || isNaN(e.weeks)) break; 76 77 e.weeks++, e.days = 0; 78 79 case "weeks": 80 81 if (e.weeks !== t(e.refMonth) / 7 || isNaN(e.months)) break; 82 83 e.months++, e.weeks = 0; 84 85 case "months": 86 87 if (12 !== e.months || isNaN(e.years)) break; 88 89 e.years++, e.months = 0; 90 91 case "years": 92 93 if (10 !== e.years || isNaN(e.decades)) break; 94 95 e.decades++, e.years = 0; 96 97 case "decades": 98 99 if (10 !== e.decades || isNaN(e.centuries)) break; 100 101 e.centuries++, e.decades = 0; 102 103 case "centuries": 104 105 if (10 !== e.centuries || isNaN(e.millennia)) break; 106 107 e.millennia++, e.centuries = 0 108 109 } 110 111 return 0 112 113 } 114 115 return s 116 117 } 118 119 120 121 function a(e, i, o, a, r, l) { 122 123 if (e.start = i, e.end = o, e.units = a, e.value = o.getTime() - i.getTime(), 124 125 0 > e.value) { 126 127 var d = o; 128 129 o = i, i = d 130 131 } 132 133 e.refMonth = new Date(i.getFullYear(), 134 135 i.getMonth(), 136 137 15); 138 139 try { 140 141 var c; 142 143 for (e.millennia = 0, e.centuries = 0, e.decades = 0, e.years = o.getUTCFullYear() - i.getUTCFullYear(), 144 145 e.months = o.getUTCMonth() - i.getUTCMonth(), 146 147 e.weeks = 0, e.days = o.getUTCDate() - i.getUTCDate(), 148 149 e.hours = o.getUTCHours() - i.getUTCHours(), 150 151 e.minutes = o.getUTCMinutes() - i.getUTCMinutes(), 152 153 e.seconds = o.getUTCSeconds() - i.getUTCSeconds(), 154 155 e.milliseconds = o.getUTCMilliseconds() - i.getUTCMilliseconds(), 156 157 0 > e.milliseconds ? (c = u(-e.milliseconds / 1e3), 158 159 e.seconds -= c, e.milliseconds += 1e3 * c) : 1e3 <= e.milliseconds && (e.seconds += m(e.milliseconds / 1e3), 160 161 e.milliseconds %= 1e3), 162 163 0 > e.seconds ? (c = u(-e.seconds / 60), 164 165 e.minutes -= c, e.seconds += 60 * c) : 60 <= e.seconds && (e.minutes += m(e.seconds / 60), 166 167 e.seconds %= 60), 168 169 0 > e.minutes ? (c = u(-e.minutes / 60), 170 171 e.hours -= c, e.minutes += 60 * c) : 60 <= e.minutes && (e.hours += m(e.minutes / 60), 172 173 e.minutes %= 60), 174 175 0 > e.hours ? (c = u(-e.hours / 24), 176 177 e.days -= c, e.hours += 24 * c) : 24 <= e.hours && (e.days += m(e.hours / 24), 178 179 e.hours %= 24); 0 > e.days;) e.months--, e.days += s(e.refMonth, 1); 180 181 if (7 <= e.days && (e.weeks += m(e.days / 7), 182 183 e.days %= 7), 184 185 0 > e.months ? (c = u(-e.months / 12), 186 187 e.years -= c, e.months += 12 * c) : 12 <= e.months && (e.years += m(e.months / 12), 188 189 e.months %= 12), 190 191 10 <= e.years && (e.decades += m(e.years / 10), 192 193 e.years %= 10, 10 <= e.decades && (e.centuries += m(e.decades / 10), 194 195 e.decades %= 10, 10 <= e.centuries && (e.millennia += m(e.centuries / 10), 196 197 e.centuries %= 10))), 198 199 i = 0, !(1024 & a) || i >= r ? (e.centuries += 10 * e.millennia, delete e.millennia) : e.millennia && i++, !(512 & a) || i >= r ? (e.decades += 10 * e.centuries, delete e.centuries) : e.centuries && i++, !(256 & a) || i >= r ? (e.years += 10 * e.decades, delete e.decades) : e.decades && i++, !(128 & a) || i >= r ? (e.months += 12 * e.years, delete e.years) : e.years && i++, !(64 & a) || i >= r ? (e.months && (e.days += s(e.refMonth, e.months)), 200 201 delete e.months, 7 <= e.days && (e.weeks += m(e.days / 7), 202 203 e.days %= 7)) : e.months && i++, !(32 & a) || i >= r ? (e.days += 7 * e.weeks, delete e.weeks) : e.weeks && i++, !(16 & a) || i >= r ? (e.hours += 24 * e.days, delete e.days) : e.days && i++, !(8 & a) || i >= r ? (e.minutes += 60 * e.hours, delete e.hours) : e.hours && i++, !(4 & a) || i >= r ? (e.seconds += 60 * e.minutes, delete e.minutes) : e.minutes && i++, !(2 & a) || i >= r ? (e.milliseconds += 1e3 * e.seconds, delete e.seconds) : e.seconds && i++, !(1 & a) || i >= r) { 204 205 var h = n(e, 0, "milliseconds", "seconds", 1e3, l); 206 207 if (h && (h = n(e, h, "seconds", "minutes", 60, l)) && (h = n(e, h, "minutes", "hours", 60, l)) && (h = n(e, h, "hours", "days", 24, l)) && (h = n(e, h, "days", "weeks", 7, l)) && (h = n(e, h, "weeks", "months", t(e.refMonth) / 7, l))) { 208 209 a = h; 210 211 var f = e.refMonth, 212 213 p = f.getTime(), 214 215 216 217 $ = new Date(p); 218 219 if ($.setUTCFullYear(f.getUTCFullYear() + 1), 220 221 (h = n(e, a, "months", "years", Math.round(($.getTime() - p) / 864e5) / t(e.refMonth), 222 223 l)) && (h = n(e, h, "years", "decades", 10, l)) && (h = n(e, h, "decades", "centuries", 10, l)) && (h = n(e, h, "centuries", "millennia", 10, l))) throw Error("Fractional unit overflow") 224 225 } 226 227 } 228 229 } finally { 230 231 delete e.refMonth 232 233 } 234 235 return e 236 237 } 238 239 240 241 function r(e, s, t, i, n) { 242 243 var r; 244
245 if (t = +t || 222, i = 0 < i ? i : NaN, n = 0 < n ? 20 > n ? Math.round(n) : 20 : 0, "function" == typeof e ? (r = e, e = null) : e instanceof Date || (e = null !== e && isFinite(e) ? new Date(e) : null), 246 247 "function" == typeof s ? (r = s, s = null) : s instanceof Date || (s = null !== s && isFinite(s) ? new Date(s) : null), 248 249 !e && !s) return new o; 250 251 if (!r) return a(new o, e || new Date, s || new Date, t, i, n); 252 253 var l, d = 1 & t ? 1e3 / 30 : 2 & t ? 1e3 : 4 & t ? 6e4 : 8 & t ? 36e5 : 16 & t ? 864e5 : 6048e5, 254 255 c = function () { 256 257 r(a(new o, e || new Date, s || new Date, t, i, n), 258 259 l) 260 261 }; 262 263 return c(), 264 265 l = setInterval(c, d) 266 267 } 268 269 var l, d, c, u = Math.ceil, 270 271 m = Math.floor; 272 273 return o.prototype.toString = function () { 274 275 var e = c(this), 276 277 278 279 s = e.length; 280 281 return s ? (1 < s && (e[s - 1] = "and " + e[s - 1]), 282 283 e.join(", ")) : "" 284 285 }, o.prototype.toHTML = function (e) { 286 287 e = e || "span"; 288 289 var s = c(this), 290 291 292 293 t = s.length; 294 295 if (!t) return ""; 296 297 for (var i = 0; i < t; i++) s[i] = "<" + e + ">" + s[i] + "</" + e + ">"; 298 299 return --t && (s[t] = "and " + s[t]), 300 301 s.join(", ") 302 303 }, c = function (e) { 304 305 var s = [], 306 307 t = e.millennia; 308 309 return t && s.push(i(t, 10)), 310 311 (t = e.centuries) && s.push(i(t, 9)), 312 313 (t = e.decades) && s.push(i(t, 8)), 314 315 (t = e.years) && s.push(i(t, 7)), 316 317 (t = e.months) && s.push(i(t, 6)), 318 319 (t = e.weeks) && s.push(i(t, 5)), 320 321 (t = e.days) && s.push(i(t, 4)), 322 323 (t = e.hours) && s.push(i(t, 3)), 324 325 (t = e.minutes) && s.push(i(t, 2)), 326 327 (t = e.seconds) && s.push(i(t, 1)), 328 329 (t = e.milliseconds) && s.push(i(t, 0)), 330 331 s 332 333 }, r.MILLISECONDS = 1, r.SECONDS = 2, r.MINUTES = 4, r.HOURS = 8, r.DAYS = 16, r.WEEKS = 32, r.MONTHS = 64, r.YEARS = 128, r.DECADES = 256, r.CENTURIES = 512, r.MILLENNIA = 1024, r.DEFAULTS = 222, r.ALL = 2047, r.setLabels = function (e, s) { 334 335 (e = e || []).split && (e = e.split("|")), 336 337 (s = s || []).split && (s = s.split("|")); 338 339 for (var t = 0; 10 >= t; t++) l[t] = e[t] || l[t], d[t] = s[t] || d[t] 340 341 }, (r.resetLabels = function () { 342 343 l = "millisecond second minute hour day week month year decade century millennium".split(" "), 344 345 d = "milliseconds seconds minutes hours days weeks months years decades centuries millennia".split(" ") 346 347 })(), 348 349 e && e.exports ? e.exports = r : "function" == typeof window.define && window.define.amd && window.define(r), 350 351 r 352 353}(module); 354 355 356 357function disableBtn(e, s) { 358 359 e.prop("checked") ? e.closest("form").find(s).removeAttr("readonly").css("visibility", "visible") : e.closest("form").find(s).attr("readonly", "true").css("visibility", "hidden") 360 361} 362 363 364
365function close_wind_toggle() { 366 367 location.href = window.location.href 368 369} 370 371 372 373function close_wind_toggle2() { 374 375 $(".jform-overlay").fadeOut("fast"), 376 377 $("body,html").removeClass("noscroll") 378 379} 380 381 382 383function checkInput(e) { 384 385 $(e).find(".js-rfield").each(function () { 386 387 "" != $(this).val() ? removeNotice($(this)) : addNotice($(this), 388 389 "?â?°?????»?????â?µ ???â?? ?????»?µ") 390 391 }), 392 393 checkInputPattern(e, "js-tele", /^((8|\+7)[\- ]?)?(\(?\d{3}\)?[\- ]?)?[\d\- ]{7,10}$/, "?â?°?????»?????â?µ ?????»?µ ?????â¬?â¬?µ???â????"), 394 395 checkInputPattern(e, "js-email", /^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i, "?â?°?????»?????â?µ ?????»?µ ?????â¬?â¬?µ???â????") 396 397} 398 399 400 401function checkInputPattern(e, s, t, i) { 402 403 $(e).find("." + s).each(function () { 404 405 "" != $(this).val() ? t.test($(this).val()) ? removeNotice($(this)) : addNotice($(this), 406 407 i) : addNotice($(this), 408 409 "?â?°?????»?????â?µ ???â?? ?????»?µ") 410 411 }) 412 413} 414 415 416 417function removeNotice(e) { 418 419 e.removeClass("jform-empty-field"), 420 421 e.removeClass("jform-red-input") 422 423} 424 425 426 427function addNotice(e, s) { 428 429 e.addClass("jform-empty-field"), 430 431 e.val(""), 432 433 e.addClass("jform-red-input") 434 435} 436 437 438 439function close_wind_remove() { 440 441 $("#jform").remove(), 442 443 $("body,html").removeClass("noscroll") 444 445} 446 447 448 449function send_form(e, s, t, i) { 450 451 checkInput(e), 452 453 0 == $(e).find(".jform-empty-field").length && (i.removeClass("js-send-jform"), 454 455 $(".jform-error").html(), 456 457 $(e).submit()) 458 459} 460 461 462 463function error_hide(e) { 464 465 $(".jform-form").show(), 466 467 $(".jform-result").hide() 468 469} ! function (e) { 470 471 "function" == typeof define && define.amd ? define(["jquery"], e) : "object" == typeof exports ? e(require("jquery")) : e(jQuery) 472 473}(function (e) { 474 475 var s = /\+/g; 476 477 478 479 function t(e) { 480 481 return n.raw ? e : encodeURIComponent(e) 482 483 } 484 485 486 487 function i(e) { 488 489 return t(n.json ? JSON.stringify(e) : String(e)) 490 491 } 492 493 494 495 function o(t, i) { 496 497 var o = n.raw ? t : function (e) { 498 499 0 === e.indexOf('"') && (e = e.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, "\\")); 500 501 try { 502 503 return e = decodeURIComponent(e.replace(s, " ")), 504 505 n.json ? JSON.parse(e) : e 506 507 } catch (e) { } 508 509 }(t); 510 511 return e.isFunction(i) ? i(o) : o 512 513 } 514 515 var n = e.cookie = function (s, a, r) { 516 517 if (void 0 !== a && !e.isFunction(a)) { 518 519 if ("number" == typeof (r = e.extend({}, n.defaults, r)).expires) { 520 521 var l = r.expires, 522 523 d = r.expires = new Date; 524 525 d.setTime(+d + 864e5 * l) 526 527 } 528 529 return document.cookie = [t(s), 530 531 "=", i(a), 532 533 r.expires ? "; expires=" + r.expires.toUTCString() : "", r.path ? "; path=" + r.path : "", r.domain ? "; domain=" + r.domain : "", r.secure ? "; secure" : "" 534 535 ].join("") 536 537 } 538 539 for (var c, u = s ? void 0 : {}, m = document.cookie ? document.cookie.split("; ") : [], h = 0, f = m.length; h < f; h++) { 540 541 var p = m[h].split("="), 542 543 544 545 $ = (c = p.shift(), 546 547 n.raw ? c : decodeURIComponent(c)), 548 549 550 551 v = p.join("="); 552 553 if (s && s === $) { 554 555 u = o(v, a); 556 557 break 558 559 } 560 561 s || void 0 === (v = o(v)) || (u[$] = v) 562 563 } 564 565 return u 566 567 }; 568 569 n.defaults = {}, e.removeCookie = function (s, t) { 570 571 return void 0 !== e.cookie(s) && (e.cookie(s, "", e.extend({}, t, { 572 573 expires: -1 574 575 })), 576 577 !e.cookie(s)) 578 579 } 580 581}), 582 583 $(document).ready(function () { 584 585 $("a.popup").fancybox({ 586 587 padding: 10, 588 589 margin: 16, 590 591 height: "100", 592 593 helpers: { 594 595 overlay: { 596 597 locked: !1 598 599 } 600 601 } 602 603 }), 604 605 $(".raschet .zapros,.js-zapros").click(function () { 606 607 $("#type_popap_input").val("ÐапÑоÑиÑÑ ÑаÑÑеÑ"), 608 609 $("#type_popap_h2").html("ÐапÑоÑиÑÑ ÑаÑÑеÑ"), 610 611 $("#mail_popap").show(), 612 613 $("#message_popap").show(), 614 615 $(".popap").addClass("big"), 616
617 $("#Form2").attr("class", "").addClass("rashet") 618 619 }), 620 621 $(".zapros,.js-zapros").click(function () { 622 623 $(".popap").show(), 624 625 $(".black_fon").show(), 626 627 $("#Form2").attr("class", "").addClass("callback") 628 629 }), 630 631 $(".js-zapros-call").click(function (e) { 632 633 e.preventDefault(), 634 635 $(".popap").show(), 636 637 $("#type_popap_h2").html("УзнаÑÑ Ð¿Ð¾Ð´Ñобнее"), 638 639 $(".black_fon").show(), 640 641 $("#Form2").attr("class", "").addClass("callback") 642 643 }), 644 645 $(".closed_popap").click(function () { 646 647 $(".popap").hide(), 648 649 $(".black_fon").hide(), 650 651 $("#mail_popap").hide(), 652 653 $("#message_popap").hide(), 654 655 $(".popap").removeClass("big") 656 657 }), 658 659 $(".consult").click(function () { 660 661 $(".popap_project").show(), 662 663 $(".black_fon").show(); 664 665 var e = $(this).attr("data-name"); 666 667 $("#name_object_project").val(e) 668 669 }), 670 671 $(".closed_popap_project").click(function () { 672 673 $(".popap_project").hide(), 674 675 $(".black_fon").hide() 676 677 }), 678 679 $("a.gallery").fancybox(), 680 681 $(".mobmenu").click(function () { 682 683 $(".mobile-menu-overlay").addClass("active"), 684 685 $("body").addClass("modal-open"), 686 687 $('.zapros.footer-call').hide(), 688 689 $(".mobile-menu").addClass("active") 690 691 }), 692 693 $(".mobile-menu-overlay").click(function () { 694 695 $(".mobile-menu-overlay").removeClass("active"), 696 697 $("body").removeClass("modal-open"), 698 699 $('.zapros.footer-call').show(), 700 701 $(".mobile-menu").removeClass("active") 702 703 }), 704 705 $(".svg-close").click(function () { 706 707 $(".mobile-menu-overlay").removeClass("active"), 708 709 $("body").removeClass("modal-open"), 710 711 $('.zapros.footer-call').show(), 712 713 $(".mobile-menu").removeClass("active") 714 715 }), 716 717 $(".mm .parent-true > a").click(function (e) { 718 719 e.preventDefault(), 720 721 $(this).closest("ul").addClass("invisible").css("visibility", "hidden"), 722 723 $(this).next().fadeIn(50).css("visibility", "visible"), 724 725 $(this).parent().siblings().find(">ul").hide(), 726 727 $(".mm2").hide(); 728 729 var s = $(this).next().outerHeight(!0); 730 731 return $(".mm").animate({ 732 733 height: s 734 735 }, 200), 736 737 !1 738 739 }), 740 741 $(".mm .back").click(function () { 742 743 $(".mm2").show(); 744 745 var e = $(this).closest(".invisible").outerHeight(!0); 746 747 return $(".mm").animate({ 748 749 height: e 750 751 }, 200), 752 753 $(this).closest(".invisible").removeClass("invisible").css("visibility", "visible"), 754 755 $(this).closest("ul").fadeOut(50), 756 757 !1 758 759 }), 760 761 $(".shz").click(function () { 762 763 $(".zak-2").css({ 764 765 display: "flex" 766 767 }), 768 769 $(".shz").hide() 770 771 }), 772 773 $("footer .pred_zapros").click(function () { 774 775 $(".popap_pred_raschet ").show(), 776 777 $(".black_fon").show() 778 779 }), 780 781 $(".pred_zapros").click(function () { 782 783 $(".popap_pred_raschet ").show(), 784 785 $(".black_fon").show() 786 787 }), 788 789 $(".pred_zapros_v2").click(function () { 790 791 $(".popap_pred_raschet_v2").show(), 792 793 $(".black_fon").show() 794 795 }), 796 797 $(".closed_popap_pred_raschet").click(function () { 798 799 $(".popap_pred_raschet").hide(), 800 801 $(".popap_pred_raschet_v2").hide(), 802 803 $(".black_fon").hide() 804 805 }), 806 807 f_click = !1, $("body").on("focus", "form input, form textarea", function (e) { 808 809 f_click || ($.post("/ajax/frmclick.php", function (e) { }), 810 811 f_click = !0) 812 813 }) 814 815 }), 816 817 $(document).ready(function () { 818 819 $(document).on("click", ".jform-polity-check", function () { 820 821 disableBtn($(this), 822 823 ".js-send-jform") 824 825 }) 826 827 }), 828 829 $(document).ready(function () { 830 831 function e(e, s, t) { 832 833 for (var i, o = t + "", n = e.find("." + s).length, a = 0; a < n; a++) i = o.length - n + a < 0 ? 0 : o[a - n + o.length], e.find("." + s + ":eq(" + a + ")").text(i) 834 835 } 836 837 838 839 function s() { 840 841 $("ul.widget-timer, ul.lp-timer").each(function () { 842 843 var s, t = $.cookie("timerValue"); 844 845 if ($(this).data("event")) s = new Date($(this).data("event")); 846 847 else if ($(this).data("hours")) { 848 849 var i = parseInt($(this).data("hours") || 0), 850 851 852 853 o = parseInt($(this).data("minutes") || 0), 854 855 856 857 n = parseInt($(this).data("seconds") || 0); 858 859 s = Date.now() + 60 * i * 60 * 1e3 + 60 * o * 1e3 + 1e3 * n, $(this).data("event", s), 860 861 s = new Date(s) 862 863 }
863 else 1 == $(this).data("cookie") && t ? s = new Date(parseInt($.cookie("timerValue"))) : (s = new Date(Date.now() + 1e3 * $(this).data("countdown")), 864 865 $.cookie("timerValue", s.getTime(), 866 867 (new Date).getTime() + 31536e6)), 868 869 $(this).data("event", s.getTime()); 870 871 var a = countdown(null, s, -2018); 872 873 e($(this), 874 875 "days", a.value > 0 && a.days || 0), 876 877 e($(this), 878 879 "hours", a.value > 0 && a.hours || 0), 880 881 e($(this), 882 883 "minutes", a.value > 0 && a.minutes || 0), 884 885 e($(this), 886 887 "seconds", a.value > 0 && a.seconds || 0) 888 889 }) 890 891 } 892 893 $(document).on("click", ".jform-overlay,.jform-close", function () { 894 895 close_wind_toggle2() 896 897 }), 898 899 $(document).on("click", ".jform-wrap", function (e) { 900 901 e.stopPropagation() 902 903 }), 904 905 $(document).on("click", ".jform-polity-check", function () { 906 907 disableBtn($(this), 908 909 ".js-send-jform") 910 911 }), 912 913 $(document).on("click", ".js-send-jform1", function (e) { 914 915 return e.preventDefault(), 916 917 $(this).closest(".formCont").find("form").length > 0 && send_form($(this).closest(".formCont").find("form"), 918 919 !0, !1, $(this)), 920 921 !1 922 923 }), 924 925 $(document).on("click", ".js-send-jform2", function (e) { 926 927 return e.preventDefault(), 928 929 $(this).closest("form").length > 0 && send_form($(this).closest("form"), 930 931 !0, !1, $(this)), 932 933 !1 934 935 }), 936 937 $(".js-open-jform").click(function () { 938 939 return open_wind(1, !0), 940 941 !1 942 943 }), 944 945 setInterval(s, 1e3), 946 947 s(); 948 949 (i = $(".partners-slider-items")).data("owl-height"); 950 951 var t = i.data("owl-theme") || "owl-main"; 952 953 i.data("owl-items"), 954 955 i.data("owl-items-custom"); 956 957 i.addClass("owl-carousel").addClass("owl-centered").owlCarousel({ 958 959 items: 5, 960 961 nav: !0, 962 963 dots: !0, 964 965 theme: t, 966 967 itemsScaleUp: !0, 968 969 afterMove: function (e) { }, 970 971 loop: !1, 972 973 onChanged: function (e) { 974 975 $(".partners").find(".owl-item").eq(e.item.index).find("a").click() 976 977 }, 978 979 responsive: { 980 981 0: { 982 983 items: 1 984 985 }, 986 987 500: { 988 989 items: 1 990 991 }, 992 993 768: { 994 995 items: 3 996 997 }, 998 999 991: { 1000 1001 items: 5 1002 1003 } 1004 1005 } 1006 1007 }); 1008 1009 var i; 1010 1011 (i = $(".partners-slider-texts .projects")).data("owl-height"), 1012 1013 t = i.data("owl-theme") || "owl-main", i.data("owl-items"), 1014 1015 i.data("owl-items-custom"); 1016 1017 i.addClass("owl-carousel").addClass("owl-centered").owlCarousel({ 1018 1019 items: 1, 1020 1021 nav: !0, 1022 1023 dots: !1, 1024 1025 theme: t, 1026 1027 itemsScaleUp: !0, 1028 1029 loop: !1 1030 1031 }), 1032 1033 $(".partners-new-slider").find(".slider").addClass("owl-carousel").addClass("owl-centered").owlCarousel({ 1034 1035 items: 1, 1036 1037 center: !0, 1038 1039 stagePadding: 250, 1040 1041 autoplay: !1, 1042 1043 autoplayHoverPause: !1, 1044 1045 loop: !0, 1046 1047 nav: !0, 1048 1049 dots: !0, 1050 1051 dotsData: !1, 1052 1053 responsive: { 1054 1055 0: { 1056 1057 items: 1 1058 1059 }, 1060 1061 600: { 1062 1063 items: 1 1064 1065 }, 1066 1067 1000: { 1068 1069 items: 1 1070 1071 } 1072 1073 } 1074 1075 }), 1076 1077 $(window).resize(function () { 1078 1079 $(window).width() < 991 ? ($(".working").find(".slider").addClass("owl-carousel").addClass("owl-centered").owlCarousel({ 1080 1081 items: 1, 1082 1083 autoplay: !1, 1084 1085 autoplaySpeed: 500, 1086 1087 autoplayTimeout: 1e4, 1088 1089 autoplayHoverPause: !1, 1090 1091 loop: !1, 1092 1093 nav: !0, 1094 1095 dots: !0, 1096 1097 dotsData: !1, 1098 1099 responsive: { 1100 1101 0: { 1102 1103 items: 1 1104 1105 }, 1106 1107 600: { 1108 1109 items: 1 1110 1111 }, 1112 1113 1000: { 1114 1115 items: 1 1116 1117 } 1118 1119 } 1120 1121 }), 1122 1123 $(".products").find(".slider").addClass("owl-carousel").addClass("owl-centered").owlCarousel({ 1124 1125 items: 1, 1126 1127 autoplay: !1, 1128 1129 autoplaySpeed: 500, 1130 1131 autoplayTimeout: 1e4, 1132 1133 autoplayHoverPause: !1, 1134 1135 loop: !1, 1136 1137 nav: !0, 1138 1139 dots: !0, 1140 1141 dotsData: !1, 1142 1143 responsive: { 1144 1145 0: { 1146 1147 items: 1 1148 1149 }, 1150 1151 600: { 1152 1153 items: 1 1154 1155 }, 1156 1157 1000: { 1158 1159 items: 1 1160 1161 } 1162 1163 } 1164 1165 })) : ($(".working").find(".slider").trigger("destroy.owl.carousel").removeClass("owl-carousel owl-loaded"), 1166 1167 $(".working").find(".slider").find(".owl-stage-outer").children().unwrap(), 1168 1169 $(".products").find(".slider").trigger("destroy.owl.carousel").removeClass("owl-carousel owl-loaded"), 1170 1171 $(".products").find(".slider").find(".owl-stage-outer").children().unwrap()) 1172 1173 }), 1174 1175 $(window).resize(), 1176 1177 $(".faq").find(".header").click(function () { 1178 1179 $(this).next(".description").is(":visible") ? ($(this).next(".description").hide(200), 1180 1181 $(this).removeClass("active")) : ($(this).next(".description").show(200), 1182 1183 $(this).addClass("active")) 1184 1185 }), 1186 1187 $(".faq").find(".header:first").click(), 1188 1189 $(".js-carousel").each(function () { 1190 1191 var e = $(this), 1192 1193 1194 1195 s = e.data("owl-height") || !1, 1196 1197 t = e.data("owl-theme") || "owl-main", 1198 1199 i = e.data("owl-items") || 5, 1200 1201 o = e.data("owl-items-custom") || !1; 1202 1203 if (e.owlCarousel({ 1204 1205 items: i, 1206 1207 itemsCustom: o, 1208 1209 navigation: !0, 1210 1211 pagination: !0, 1212 1213 theme: t, 1214 1215 itemsScaleUp: !0, 1216 1217 afterMove: function (e) { }, 1218 1219 loop: !0, 1220 1221 afterAction: function () { 1222 1223 var e = this.visibleItems.length; 1224 1225 if (this.prevItem > this.prevArr[0]) var s = this.visibleItems[e - 1]; 1226 1227 else var s = this.visibleItems[0]; 1228 1229 var s = this.visibleItems[0]; 1230 1231 $(".js-partners").each(function () { 1232 1233 var e = $(this), 1234 1235 1236 1237 t = e.find(".partners-slider-item"), 1238 1239 1240 1241 i = e.find(".partners-slider-text"); 1242 1243 t.off(".partners").on("click.partners", function (e) { 1244 1245 e.preventDefault(); 1246 1247 var s = $(this).parent().index(), 1248 1249 1250 1251 o = t.eq(s); 1252 1253 o.hasClass("is-active") || (t.removeClass("is-active"), 1254 1255 o.addClass("is-active"), 1256 1257 i.hide().eq(s).show()) 1258 1259 }).eq(s).trigger("click") 1260 1261 }) 1262 1263 } 1264 1265 }), 1266 1267 s) { 1268 1269 function n() { 1270 1271 $$.resolution() <= 480 ? (e.addClass("autoHeight"), 1272 1273 e.data("owlCarousel").reinit({ 1274 1275 singleItem: !0, 1276 1277 autoHeight: !0 1278 1279 })) : (e.removeClass("autoHeight"), 1280 1281 e.data("owlCarousel").reinit({ 1282 1283 singleItem: !1, 1284 1285 autoHeight: !1 1286 1287 })) 1288 1289 } 1290 1291 n(), 1292 1293 $W.on("resizeEnd.owl", function (e) { 1294 1295 n() 1296 1297 }) 1298 1299 } 1300 1301 }), 1302 1303 $(".item_lando_head").on("click", function () { 1304 1305 $(".item_lando_head").removeClass("active_head_lando"), 1306 1307 $(this).addClass("active_head_lando"), 1308 1309 $(".content_lando_page").css("display", "none"), 1310 1311 $("#lando_" + $(this).attr("data-showlando")).css("display", "block") 1312 1313 }), 1314 1315 $(".js-partners").each(function () { 1316 1317 var e = $(this), 1318 1319 1320 1321 s = e.find(".partners-slider-item"), 1322 1323 1324 1325 t = e.find(".partners-slider-text"); 1326 1327 s.off(".partners").on("click.partners", function (e) { 1328 1329 e.preventDefault(); 1330 1331 var i = $(this).parent().index(), 1332 1333 1334 1335 o = s.eq(i); 1336 1337 o.hasClass("is-active") || (s.removeClass("is-active"), 1338 1339 o.addClass("is-active"), 1340 1341 t.hide().eq(i).show()) 1342 1343 }).eq(0).trigger("click") 1344 1345 }); 1346 1347 var o = function () { 1348 1349 console.log("деÑкÑоп"), 1350 1351 $(this).toggleClass("active_burger_ds"), 1352 1353 $(this).hasClass("active_burger_ds") ? $(".overlay_menu_burger").addClass("active_burger_ds") : $(".overlay_menu_burger").removeClass("active_burger_ds") 1354 1355 }, 1356 1357 n = function () { 1358 1359 console.log("мобайл"), 1360 1361 $(".mobile-menu").addClass("active"), 1362 1363 $(".mobile-menu-overlay").addClass("active") 1364 1365 }; 1366 1367 $(".mobile-menu-overlay").click(function () { 1368 1369 $(".mobile-menu").removeClass("active"), 1370 1371 $(".mobile-menu-overlay").removeClass("active") 1372 1373 }), 1374 1375 window.innerWidth >= 770 ? $(".burger_menu_desktop").on("click", o) : $(".burger_menu_desktop").on("click", n), 1376 1377 $(window).resize(function () { 1378
1379 $(".burger_menu_desktop").off("click"), 1380 1381 window.innerWidth >= 770 ? $(".burger_menu_desktop").on("click", o) : $(".burger_menu_desktop").on("click", n) 1382 1383 }); 1384 1385 var a = $("header .menu"), 1386 1387 1388 1389 r = $(".wrapper_header_position"); 1390 1391 $(window).scroll(function () { 1392 1393 $(this).scrollTop() > $(".wrapper_header_position").height() + 8 ? (a.addClass("f-nav"), 1394 1395 r.addClass("f-nav_padding")) : (a.removeClass("f-nav"), 1396 1397 r.removeClass("f-nav_padding")) 1398 1399 }) 1400 1401 }), 1402 1403 $(function () { 1404 1405 $(".show_gallery").click(function () { 1406 1407 $(this).next(".gallery_color_hide").slideDown(300), 1408 1409 $(this).slideUp(300) 1410 1411 }), 1412 1413 $(".placement-text-slider").slick({ 1414 1415 dots: !1, 1416 1417 speed: 300, 1418 1419 draggable: !1 1420 1421 }), 1422 1423 $('<div class="stage-arrow-box-middle"><div class="stage-arrow"><i class="fa fa-arrow-left stage-arrow-left"></i><i class="fa fa-arrow-right stage-arrow-right"></i></div></div>').insertAfter(".stage-slider .stage-img-box"), 1424 1425 $(".stage-slider").slick({ 1426 1427 dots: !0, 1428 1429 arrows: !0, 1430 1431 speed: 300, 1432 1433 prevArrow: $(".stage-arrow-left"), 1434 1435 1436 1437 nextArrow: $(".stage-arrow-right"), 1438 1439 1440 1441 dotsClass: "stage-both" 1442 1443 }), 1444 1445 $(".stage-slider").on("beforeChange", function (e, s, t, i) { 1446 1447 $("#stage").find(".show_more").show(), 1448 1449 $(".hidden-text").removeClass("active") 1450 1451 }), 1452 1453 $(".placement-bull-box").slick({ 1454 1455 dots: !1, 1456 1457 speed: 300, 1458 1459 prevArrow: $(".placement-slider-both-left"), 1460 1461 1462 1463 nextArrow: $(".placement-slider-both-right") 1464 1465 }); 1466 1467 var e = $(".back-to-top"), 1468 1469 1470 1471 s = function () { 1472 1473 e.hasClass("is-hide") && $(window).scrollTop() >= 200 ? e.removeClass("is-hide") : !e.hasClass("is-hide") && $(window).scrollTop() < 200 && e.addClass("is-hide") 1474 1475 }; 1476 1477 s(), 1478 1479 $(window).scroll(s), 1480 1481 $(".back-to-top").click(function () { 1482 1483 $("html, body").animate({ 1484 1485 scrollTop: 0 1486 1487 }, 600) 1488 1489 }), 1490 1491 $("#stage").find(".show_more").click(function () { 1492 1493 $(this).prev(".hidden-text").addClass("active"), 1494 1495 $(this).hide() 1496 1497 }); 1498 1499 }); 1500 1501 1502 1503check_sessid = BX.bitrix_sessid(); 1504 1505scroll_key = 0; 1506 1507$(window).on("scroll", function () { 1508 1509 if (scroll_key == 0) { 1510 1511 scroll_key++; 1512 1513 $.ajax({ 1514 1515 url: "/ajax/advantages.php", 1516 1517 type: "POST", 1518 1519 data: { 1520 1521 "sessid": check_sessid 1522 1523 }, 1524 1525 success: function (data) { 1526 1527 $('#main_advantages').html(data); 1528 1529 } 1530 1531 }) 1532 1533 } 1534 1535 1536 1537}) 1538 1539 1540document.addEventListener("DOMContentLoaded", () => { let domain = window.location.hostname, t = `${domain} иÑполÑзÑÐµÑ cookie-ÑÐ°Ð¹Ð»Ñ Ð¸ обÑабаÑÑÐ²Ð°ÐµÑ Ð¿ÐµÑÑоналÑнÑе даннÑе Ñ Ð¸ÑполÑзованием Ð¯Ð½Ð´ÐµÐºÑ ÐеÑÑики. ÐÑÐ¾Ð´Ð¾Ð»Ð¶Ð°Ñ ÑабоÑÑ Ñ ÑайÑом, Ð²Ñ Ð°Ð²ÑомаÑиÑеÑки ÑоглаÑаеÑеÑÑ Ñ Ð¸ÑполÑзованием cookie.`, bColor = "#081e3c", btnColor = "#fff"; if (!document.cookie.includes("cookie_accepted=true")) { let e = document.createElement("div"); e.id = "cookie-banner"; e.style.cssText = `display: flex;position: fixed;bottom: 0px;left: 0px;background: ${bColor};color: #fff;padding: 10px 20px;box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 5px;font-size: 14px;z-index: 1000;justify-content: center;align-items: center;width: 100%;box-sizing: border-box;text-align: left;`; e.innerHTML = `<span>${t}</span> <button id="close-cookie-banner" style="background:transparent;border:1px solid ${btnColor};color:${btnColor};padding:5px 15px;border-radius:4px;cursor:pointer;margin-left:15px;font-weight:bold;white-space:nowrap;">СоглаÑен</button>`; document.body.appendChild(e); document.getElementById("close-cookie-banner").addEventListener("click", () => { e.style.display = "none"; document.cookie = "cookie_accepted=true;path=/;max-age=" + 60 * 60 * 24 * 365 }); } }); 1541document.addEventListener("DOMContentLoaded", function () { 1542 const form = document.getElementById("jsform4"); 1543 if (form) { 1544 const nameInput = form.querySelector('input[name="name"]'); 1545 if (nameInput) { 1546 nameInput.addEventListener("input", function () { 1547 this.value = this.value.replace(/[^а-ÑÐ-ЯÑÐ\s\-]/g, ""); 1548 }); 1549 } 1550 } 1551 1552 1553 // липкое Ð¼ÐµÐ½Ñ 1554 const header = document.querySelector('header'); 1555 const menu = document.querySelector('.menu'); 1556 const headerHeight = header.offsetHeight; 1557 1558 window.addEventListener('scroll', function() { 1559 const scrollPosition = window.scrollY; 1560 1561 if (scrollPosition > headerHeight) { 1562 menu.classList.add('sticky'); 1563 } else { 1564 menu.classList.remove('sticky'); 1565 } 1566 }); 1567});
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.