1AOS.init({ 2 once: true 3}) 4 5 6 7$('.counter').counterUp({ 8 delay: 10, 9 time: 1000 10}); 11 12 13 14var swiper = new Swiper(".mySwiper", { 15 effect: "fade", 16 speed: 1200, 17 loop: true, 18 loopedSlides: 1, 19 pagination: { 20 el: ".swiper-pagination", 21 type: "progressbar", 22 }, 23 autoplay: { 24 delay: 4000, 25 disableOnInteraction: false, 26 }, 27}); 28 29 30var swiper = new Swiper(".mySwiper2", { 31 slidesPerView: 1, 32 spaceBetween: 10, 33 grabCursor: true, 34 navigation: { 35 nextEl: ".swiper-button-next", 36 prevEl: ".swiper-button-prev", 37 }, 38 autoplay: { 39 delay: 4000, 40 disableOnInteraction: true, 41 }, 42 breakpoints: { 43 769: { 44 slidesPerView: 2, 45 }, 46 951: { 47 slidesPerView: 3, 48 spaceBetween: 20 49 }, 50 }, 51}); 52 53 54var swiper = new Swiper(".mySwiper3", { 55 slidesPerView: 1, 56 spaceBetween: 30, 57 loop: true, 58 navigation: { 59 nextEl: ".swiper-button-next", 60 prevEl: ".swiper-button-prev", 61 }, 62 autoplay: { 63 delay: 6000, 64 disableOnInteraction: true, 65 }, 66}); 67 68 69 70 71$(window).on('scroll', function () { 72 $('section').each(function () { 73 if ($(window).scrollTop() >= $(this).offset().top - 500) { 74 var id = $(this).attr('id'); 75 $('nav ul li a').removeClass('actives'); 76 $('nav ul li a[href=#' + id + ']').addClass('actives'); 77 } 78 }); 79}); 80 81 82 83 84$(window).on('scroll', function () { 85 $('.article').each(function () { 86 if ($(window).scrollTop() >= $(this).offset().top - 500) { 87 var id = $(this).attr('id'); 88 $('.remoteBtn').removeClass('actives'); 89 $('.remoteBtn[href=#' + id + ']').addClass('actives'); 90 } 91 }); 92}); 93 94 95 96 97$(function () { 98 $('.remoteBtn, .logo, .logo-w, nav ul li a, .mobile-menu li a, .logo-f').click(function (e) { 99 $.scrollTo(this.hash || 0, 500); 100 e.preventDefault(); 101 }); 102}); 103 104 105 106 107if (window.innerWidth > 1600) { 108 $('header, .floating').on('scroll touchmove mousewheel', function (event) { 109 event.preventDefault(); 110 event.stopPropagation(); 111 return false; 112 }) 113} 114 115 116 117 118$('.menuBtns').click(function () { 119 $(this).toggleClass('change') 120}) 121 122$('.mobile-menu li a').click(function () { 123 $('#check').prop('checked', false) 124 $('.menuBtns').removeClass('change') 125}) 126 127 128 129 130$(function () { 131 let a5Menu = $('.a5-menu'); 132 let a5Box = $('.a5-box'); 133 134 for (let i = 0; i < a5Menu.length; i++) { 135 a5Menu.eq(i).click(function () { 136 a5Menu.addClass('on'); 137 a5Box.addClass('on'); 138 a5Menu.not(a5Menu.eq(i)).removeClass('on'); 139 a5Box.not(a5Box.eq(i)).removeClass('on'); 140 }) 141 } 142}) 143 144 145 146 147var isVisible = false; 148 149$(window).on('scroll', function () { 150 if (checkVisible($('.article5')) && !isVisible) { 151 $(function () { 152 var idx = 1; 153 setInterval(time, 4000); 154 function time() { 155 var box = $('.a5-menu'); 156 var box2 = $('.a5-box'); 157 box.removeClass('on'); 158 box2.removeClass('on'); 159 box.eq(idx).addClass('on'); 160 box2.eq(idx).addClass('on'); 161 idx++; 162 if (idx >= 5) idx = 0; 163 } 164 }); 165 166 isVisible = true; 167 } 168}); 169 170function checkVisible(elm, eval) { 171 eval = eval || "object visible"; 172 var viewportHeight = $(window).height(), // Viewport Height 173 scrolltop = $(window).scrollTop(), // Scroll Top 174 y = $(elm).offset().top, 175 elementHeight = $(elm).height(); 176 177 if (eval == "object visible") return ((y < (viewportHeight + scrolltop)) && (y > (scrolltop - elementHeight))); 178 if (eval == "above") return ((y < (viewportHeight + scrolltop))); 179} 180 181 182 183$(window).resize(function () { 184 var width_size = window.innerWidth; 185 186 if (width_size == 1920) { 187 document.location.reload(); 188 } else if (width_size == 2560) { 189 document.location.reload(); 190 } 191}) 192 193 194 195 196if (navigator.userAgent.indexOf("Trident") > 0) { 197 alert("ì´ ì¬ì´í¸ì ëí Internet Explorer ì§ìì´ ì¢ ë£ëììµëë¤. " + 198 "íì¸ ë²í¼ì ë르면 Edge ë¸ë¼ì°ì ë¡ ì´ëí©ëë¤.") 199 window.location = 'microsoft-edge:' + window.location.href; 200}
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.