1(function ($) { 2 "use strict"; 3 4 function isMobileDeviceUsed() { 5 var t = !1; 6 return ( 7 (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test( 8 navigator.userAgent 9 ) || 10 /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(
11 navigator.userAgent.substr(0, 4) 12 )) && 13 (t = !0), 14 t 15 ); 16 } 17 18 //start of cusstom 19 // $("p").each(function () { 20 // var $this = $(this); 21 // if ($this.html().replace(/\s| /g, "").length == 0) $this.remove(); 22 // }); 23 24 //Submenu Dropdown Toggle 25 if ($(".main-nav li.menu-item-has-children").length) { 26 $(".main-nav li.menu-item-has-children > a").append( 27 '<i class="fas fa-angle-down"></i>' 28 ); 29 $(".main-nav li.menu-item-has-children ul").addClass("tt-dropdown-menu"); 30 } 31 32 if ($("#cancel-comment-reply-link").length > 0) { 33 $(".comment-reply-title a").addClass("main-color-font"); 34 } 35 36 if ($(".logged-in-as").length > 0) { 37 $(".logged-in-as a").addClass("main-color-font"); 38 } 39 40 if ($(".comments-list .children").length) { 41 $(".comments-list .children").addClass("comments-list"); 42 } 43 44 $(window).on("elementor/frontend/init", function () { 45 if (typeof elementorFrontend != "undefined") { 46 if (typeof elementorFrontend.hooks != "undefined") { 47 elementorFrontend.hooks.addAction( 48 "frontend/element_ready/widget", 49 function (scrollTop) { 50 $(function () { 51 $(".lazy").Lazy({ 52 combined: !0, 53 delay: 50, 54 }); 55 }); 56 57 $(window).scrollTop(), $(window).height(); 58 $(".on-scroll").length > 0 && 59 $(window).on("scroll load", function () { 60 var t = $(window).scrollTop(), 61 a = $(window).height(); 62 $(".on-scroll").each(function () { 63 var i = $(this), 64 e = i.attr("data-scroll-offset"), 65 o = $(this).offset().top; 66 t > o - a * (void 0 !== e ? e : 0.95) && 67 i.addClass("show-scroll"); 68 }); 69 }); 70 71 centreTabs(); 72 } 73 ); 74 } 75 } 76 }); 77 78 // $(document).ready(function () { 79 // if (typeof elementorFrontend != "undefined") { 80 // if (typeof elementorFrontend.hooks != "undefined") { 81 // elementorFrontend.hooks.addAction( 82 // "frontend/element_ready/widget", 83 // function (scrollTop) { 84 // $(function () { 85 // $(".lazy").Lazy({ 86 // combined: !0, 87 // delay: 50, 88 // }); 89 // }); 90 91 // $(window).scrollTop(), $(window).height(); 92 // $(".on-scroll").length > 0 && 93 // $(window).on("scroll load", function () { 94 // var t = $(window).scrollTop(), 95 // a = $(window).height(); 96 // $(".on-scroll").each(function () { 97 // var i = $(this), 98 // e = i.attr("data-scroll-offset"), 99 // o = $(this).offset().top; 100 // t > o - a * (void 0 !== e ? e : 0.95) && 101 // i.addClass("show-scroll"); 102 // }); 103 // }); 104 105 // centreTabs(); 106 // } 107 // ); 108 // } 109 // } 110 // }); 111 112 //end of cusstom 113 function lazyLoader() { 114 $(function () { 115 $(".lazy").Lazy({ 116 combined: !0, 117 delay: 50, 118 }); 119 }); 120 } 121 122 function parallax() { 123 var t = document.getElementById("scene"); 124 new Parallax(t); 125 } 126 127 function mobileMenu() { 128 $(".hamburger").on("click", function () { 129 $(".main-nav").addClass("active"), $("body").addClass("active"); 130 }), 131 $(".close-nav").on("click", function () { 132 $(".main-nav").removeClass("active"), $("body").removeClass("active"); 133 }); 134 } 135 136 function mobileNav() { 137 $(".main-nav-list a i").on("click", function (t) { 138 t.preventDefault(); 139 var a = $(this), 140 i = a.closest("li"), 141 e = i.find(".tt-dropdown-menu"), 142 o = i.find(".inner-dropdown-menu"); 143 i.toggleClass("active"), 144 e.length > 0 ? e.slideToggle() : o.length > 0 && o.slideToggle(); 145 }), 146 $(document).on("mouseup", function (t) { 147 var a = $(".main-nav"); 148 !a.is(t.target) && 149 0 === a.has(t.target).length && 150 a.hasClass("active") && 151 ($(".main-nav").removeClass("active"), 152 $("body").removeClass("active")); 153 }); 154 } 155 156 function mobileHeader() { 157 var t, a; 158 $(window).on("load resize", function () { 159 (t = $(this).width()), 160 t >= 1200 && void 0 !== a 161 ? ((a = $(".main-nav").detach()), a.insertAfter(".top-line .logo")) 162 : t < 1200 && 163 ((a = $("header .main-nav").detach()), a.insertAfter("header")); 164 }); 165 } 166 167 function firstLettet() { 168 $(".f-letter").html(function (t, a) { 169 return a.replace( 170 /^[^a-zA-Z]*([a-zA-Z])/g, 171 '<span class="f-letter-wrap">$1</span>' 172 ); 173 }); 174 } 175 176 function stickyHeder() { 177 if (childit_js_object.childit_sticky_header != 0) { 178 function t(t) { 179 t > o 180 ? (i.addClass("is-scroll"), $(".clone-nav").show()) 181 : (i.removeClass("is-scroll"), $(".clone-nav").hide()), 182 t > 0 183 ? $(".quickLinks-wrap").addClass("scroll") 184 : $(".quickLinks-wrap").removeClass("scroll"); 185 } 186 187 function a() { 188 (i = $("header")), 189 (e = $(window).scrollTop()), 190 (s = i.outerHeight(!0)), 191 $(".clone-nav").css("height", s), 192 (o = 193 $(window).width() <= 992 || $(window).height() <= 570 ? 500 : 199), 194 t(e, o); 195 } 196 if (void 0 !== $("header")) { 197 var i = $("header"), 198 e = $(window).scrollTop(), 199 o = i.offset().top; 200 o = $(window).width() <= 992 || $(window).height() <= 570 ? 500 : 199; 201 var s = i.outerHeight(!0); 202 $('<div class="clone-nav"></div>') 203 .insertAfter("header") 204 .css("height", s) 205 .hide(), 206 t(e), 207 $(window).on("scroll", function () { 208 (e = $(window).scrollTop()), t(e); 209 }), 210 $(window).on("resize", function () { 211 a(); 212 }); 213 } 214 } 215 } 216 217 function quickLinks() { 218 function t(t, a) { 219 t <= 570 || a <= 992 220 ? $(".quickLinks-wrap").addClass("mobile") 221 : $(".quickLinks-wrap").removeClass("mobile"); 222 } 223 var a, i; 224 $(window).on("load resize", function () { 225 (a = $(this).height()), (i = $(this).width()), t(a, i); 226 }); 227 } 228 229 230 231 function quickLinkTab() { 232 233 var t = $(window).height(), 234 a = $(window).width(); 235 (t > 570 || a > 992) && 236 $(".quickLinks-item").each(function (t) { 237 var a = $(this), 238 i = ($(".quickLinks-item"), a.attr("data-for-quick")), 239 e = a.position().top; 240 a.closest(".quickLinks-wrap") 241 .find("[data-to-quick = " + i + "]") 242 .css({ 243 top: e + 25 + "px", 244 }); 245 246 247 }), 248 $(".quickLinks-item").on("mouseover", function () { 249 250 var t = $(window).height(), 251 a = $(window).width(), 252 i = $(this); 253 $(".quickLinks-item"); 254 if (t > 570 || a > 992) { 255 var e = i.attr("data-for-quick"), 256 o = i.position().top; 257 $("[data-to-quick]").removeClass("hover"); 258 i.closest(".quickLinks-wrap") 259 .find("[data-to-quick = " + e + "]") 260 .addClass("hover") 261 .css({ 262 top: o + "px", 263 }); 264 } 265 266 267 }), 268 $(".quickLinks-wrap").on("mouseleave", function () { 269 var t = $(this), 270 a = ($(".quickLinks-item"), t.attr("data-for-quick")), 271 i = t.position().top; 272 273 $("[data-to-quick]").removeClass("hover"), 274 t 275 .closest(".quickLinks-wrap") 276 .find("[data-to-quick = " + a + "]") 277 .removeClass("hover") 278 .css({ 279 top: i + 25 + "px", 280 }); 281 }), 282 $(".quickLinks-item").on("click", function () { 283 var t = $(window).height(), 284 a = $(window).width(), 285 i = $(this), 286 e = $(".quickLinks-item"); 287 288 if (t <= 570 || a <= 992) 289 if (i.hasClass("active")) 290 i.removeClass("active"), $("[data-to-quick]").slide
290Up(); 291 else { 292 e.removeClass("active"), i.addClass("active"); 293 var o = i.attr("data-for-quick"); 294 $("[data-to-quick]").slideUp(), 295 i 296 .closest(".quickLinks-wrap") 297 .find("[data-to-quick = " + o + "]") 298 .slideDown(); 299 } 300 301 }); 302 303 // $(".quickLinks-desc.hover").on("click", function () { 304 305 // }); 306 307 308 } 309 310 311 function inputMask() { 312 //$('input[type="tel"]').mask(""), 313 $(".datetimepicker").length && 314 $(".datetimepicker").datetimepicker({ 315 format: "DD/MM/YYYY", 316 ignoreReadonly: !0, 317 icons: { 318 time: "far fa-clock", 319 date: "far fa-calendar-alt", 320 up: "fas fa-angle-up", 321 down: "fas fa-angle-down", 322 previous: "fas fa-angle-left", 323 next: "fas fa-angle-right", 324 today: "far fa-calendar-alt", 325 clear: "fas fa-times", 326 close: "fas fa-times", 327 }, 328 }), 329 $(".timepicker").length && 330 $(".timepicker").datetimepicker({ 331 format: "LT", 332 ignoreReadonly: !0, 333 icons: { 334 time: "far fa-clock", 335 up: "fas fa-angle-up", 336 down: "fas fa-angle-down", 337 previous: "fas fa-angle-left", 338 next: "fas fa-angle-right", 339 }, 340 }); 341 } 342 343 function sliderInit() { 344 $(".blog-post-slider").length > 0 && 345 $(".blog-post-slider").each(function () { 346 var t = 1 * $(this).attr("data-show-count"), 347 a = 1 * $(this).attr("data-show-count-md"), 348 i = 1 * $(this).attr("data-show-count-mob"), 349 e = $.parseJSON($(this).attr("data-slick-arrow")), 350 o = 1 * $(this).attr("data-slick-speed"), 351 s = $.parseJSON($(this).attr("data-slick-autoplay")); 352 $(this).slick({ 353 arrows: e, 354 infinite: !1, 355 adaptiveHeight: !0, 356 slidesToShow: t, 357 autoplay: s, 358 autoplaySpeed: o, 359 slidesToScroll: 1, 360 responsive: [ 361 { 362 breakpoint: 1200, 363 settings: { 364 slidesToShow: a, 365 }, 366 }, 367 { 368 breakpoint: 705, 369 settings: { 370 slidesToShow: i, 371 }, 372 }, 373 ], 374 }); 375 }), 376 setSlickArrow(); 377 378 } 379 380 function mobileSlider() { 381 if ($(".mobile-slider").length > 0) { 382 var t; 383 $(window).on("load resize", function () { 384 (t = $(this).width()), 385 $(".mobile-slider:not(.slick-initialized)").each(function () { 386 var a = $(this), 387 i = a.attr("data-init-resolution"); 388 t <= i && 389 a.slick({ 390 arrows: !1, 391 dots: !1, 392 }); 393 }); 394 }); 395 } 396 } 397 398 function setSlickArrow() { 399 $(".slick-prev").html('<i class="fas fa-angle-left"></i>'), 400 $(".slick-next").html('<i class="fas fa-angle-right"></i>'); 401 } 402 403 window.initMap = function () { 404 function t(t) { 405 var a, i, e, o, s, n; 406 (a = document.getElementById(t)), 407 (o = parseFloat(a.getAttribute("data-lat"), 10)), 408 (s = parseFloat(a.getAttribute("data-lng"), 10)), 409 (e = parseFloat(a.getAttribute("data-zoom"), 10)), 410 (n = a.getAttribute("data-map-icon")); 411 var r = { 412 zoom: e, 413 center: { 414 lat: o, 415 lng: s, 416 }, 417 styles: [ 418 { 419 featureType: "administrative", 420 elementType: "labels.text", 421 stylers: [ 422 { 423 visibility: "on", 424 }, 425 ], 426 }, 427 { 428 featureType: "poi", 429 elementType: "all", 430 stylers: [ 431 { 432 visibility: "off", 433 }, 434 ], 435 }, 436 { 437 featureType: "transit.station.rail", 438 elementType: "all", 439 stylers: [ 440 { 441 visibility: "simplified", 442 }, 443 { 444 saturation: "-100", 445 }, 446 ], 447 }, 448 { 449 featureType: "water", 450 elementType: "all", 451 stylers: [ 452 { 453 visibility: "on", 454 }, 455 ], 456 }, 457 ], 458 }; 459 i = new google.maps.Map(a, r); 460 for ( 461 var l = [ 462 { 463 coordinates: { 464 lat: o, 465 lng: s, 466 }, 467 myMap: i, 468 iconImg: n, 469 }, 470 ], 471 d = 0; 472 d < l.length; 473 d++ 474 ) 475 !(function (t) { 476 new google.maps.Marker({ 477 position: t.coordinates, 478 map: t.myMap, 479 icon: t.iconImg, 480 }); 481 })(l[d]); 482 } 483 $(".map-block").length > 0 && 484 $(".map-block").each(function () { 485 t($(this).attr("id")); 486 }); 487 }; 488 489 function initLightbox() { 490 $(document).on("click", '[data-toggle="lightbox"]', function (t) { 491 t.preventDefault(), $(this).ekkoLightbox({}); 492 }), 493 $(document).on("click", "[data-gallery]", function (t) { 494 t.preventDefault(), $(this).ekkoLightbox({}); 495 }); 496 } 497 498 function viewMore() { 499 $("[data-view-more]").on("click", function (t) { 500 t.preventDefault(); 501 var a = $(this), 502 i = a.attr("data-view-more"); 503 $(i).show(), a.hide(); 504 }); 505 } 506 507 function centreTabs() { 508 $("[data-tab-group]").length > 0 && 509 $("[data-tab-group]").each(function () { 510 function t(t) { 511 r.removeClass(l), r.eq(t).addClass(l); 512 } 513 var a = $(this), 514 i = a.find("[data-tab-head]"), 515 e = i.find("a"), 516 o = i.find(".active"), 517 s = e.index(o), 518 n = a.find("[data-tab-content]"), 519 r = n.find(".tab-content"), 520 l = "active"; 521 t(s), 522 e.on("click", function (a) { 523 a.preventDefault(), 524 e.removeClass("active"), 525 $(this).addClass("active"), 526 (o = i.find(".active")), 527 (s = e.index(o)), 528 t(s); 529 }); 530 }); 531 } 532 533 function accordion() { 534 $("[data-accordion-colection]").length > 0 && 535 $("[data-accordion-colection]").each(function () { 536 function t(t) { 537 s.slideUp(), t.find(".accordion-content").slideDown(); 538 } 539 var a = $(this), 540 i = a.find(".accordion-block"),
541 e = a.find(".accordion-header"), 542 o = a.find(".active"), 543 s = a.find(".accordion-content"); 544 t(o), 545 e.on("click", function () { 546 if ($(this).closest(i).hasClass("active")) 547 return $(this).closest(i).removeClass("active"), void s.slideUp(); 548 i.removeClass("active"), 549 $(this).closest(i).addClass("active"), 550 (o = a.find(".active")), 551 t(o); 552 }); 553 }); 554 } 555 556 function mansoryInit() { 557 $(".grid").imagesLoaded(function () { 558 $(".grid").isotope({ 559 itemSelector: ".grid-item", 560 columnWidth: ".grid-item", 561 isAnimated: !0, 562 }); 563 }); 564 } 565 566 function gridFilter() { 567 $(".grid-filter a").on("click", function (t) { 568 t.preventDefault(); 569 var a = $(this).attr("data-filter"), 570 i = $(this).closest(".grid-wrap").find(".grid"); 571 i.find(".grid-item"); 572 $(".grid-filter a").removeClass("active"), 573 $(this).addClass("active"), 574 $(".grid").isotope({ 575 filter: a, 576 }); 577 }); 578 } 579 580 function drawCircleMy() { 581 $(".learning-elements-wrap").length > 0 && 582 $(".learning-elements-wrap").each(function () { 583 var t = $(this).width(); 584 $(this).css("height", t), updateLayout(t); 585 }); 586 } 587 588 function headSearch() { 589 $(".header-search").on("click", function () { 590 $(this).find(".search-form").addClass("active"); 591 }), 592 $(document).on("mouseup", function (t) { 593 var a = $(".header-search .search-form"); 594 !a.is(t.target) && 595 0 === a.has(t.target).length && 596 a.hasClass("active") && 597 $(".header-search .search-form").removeClass("active"); 598 }); 599 } 600 601 function mainScrollAnimate() { 602 $(window).scrollTop(), $(window).height(); 603 $(".on-scroll").length > 0 && 604 $(window).on("scroll load", function () { 605 var t = $(window).scrollTop(), 606 a = $(window).height(); 607 $(".on-scroll").each(function () { 608 var i = $(this), 609 e = i.attr("data-scroll-offset"), 610 o = $(this).offset().top; 611 t > o - a * (void 0 !== e ? e : 0.95) && i.addClass("show-scroll"); 612 }); 613 }); 614 } 615 616 function addDelay() { 617 var t, 618 a, 619 i, 620 e, 621 o = $("[data-delay]"); 622 o.each(function (o, s) { 623 (e = 0), 624 (a = $(this)), 625 (t = a.attr("data-delay")), 626 (i = a.find(t).length); 627 for (var o = e; o <= i; o++) 628 a.find(t) 629 .eq(o) 630 .css({ 631 "transition-delay": 0.2 * o + "s", 632 }); 633 }); 634 } 635 636 function myParoller() { 637 $(".my-paroller").paroller(); 638 } 639 640 function toTop() { 641 if ($(".up-btn").length > 0) { 642 var t; 643 $(window).on("scroll", function () { 644 (t = $(window).scrollTop()), 645 t > 101 646 ? $(".up-btn").addClass("show-up") 647 : $(".up-btn").removeClass("show-up"); 648 }), 649 $(".up-btn").on("click", function () { 650 $("html, body").animate( 651 { 652 scrollTop: 0, 653 }, 654 600 655 ); 656 }); 657 } 658 } 659 660 function cutWords() { 661 var t; 662 $(window).on("load resize", function () { 663 (t = $(this).width()) < 481 && 664 $(".for-tab p").each(function () { 665 var t = $(this), 666 a = t.text(); 667 a.length > 120 && t.text(a.slice(0, 120) + " ..."); 668 }); 669 }); 670 } 671 672 function initEvents() { 673 lazyLoader(), 674 mobileMenu(), 675 mobileNav(), 676 firstLettet(), 677 stickyHeder(), 678 mobileHeader(), 679 quickLinks(), 680 viewMore(), 681 quickLinkTab(), 682 inputMask(), 683 sliderInit(), 684 mobileSlider(), 685 initLightbox(), 686 centreTabs(), 687 accordion(), 688 mansoryInit(), 689 gridFilter(), 690 drawCircleMy(), 691 headSearch(), 692 mainScrollAnimate(), 693 myParoller(), 694 toTop(), 695 cutWords(); 696 $(window).on("load", function () { 697 $(".preloader").length > 0 && $(".preloader").fadeOut(); 698 }), 699 $(window).on("resize", function () { 700 setTimeout(setSlickArrow, 400), setTimeout(drawCircleMy, 400); 701 }); 702 } 703 var updateLayout = function (t) { 704 var a = $(".learning-elements-wrap .learning-item"); 705 if ($(window).width() > 991) 706 for (var i = 0; i < a.length; i++) { 707 var e = 360 / a.length, 708 o = e * i; 709 $(a[i]).css( 710 "transform", 711 "rotate(" + 712 o + 713 "deg) translate(0, -" + 714 (t / 2 - 40) + 715 "px) rotate(-" + 716 o + 717 "deg)" 718 ); 719 } 720 else 721 for (var i = 0; i < a.length; i++) { 722 var e = 360 / a.length, 723 o = e * i; 724 $(a[i]).css( 725 "transform", 726 "rotate(" + 727 o + 728 "deg) translate(0, -" + 729 (t / 2 - 15) + 730 "px) rotate(-" + 731 o + 732 "deg)" 733 ); 734 } 735 }; 736 initEvents(); 737 738 739 })(window.jQuery); 740
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.