"+t.DisplayText+"<\/n><\/div><\/div><\/a><\/div>"});$("#home_invest_field_slide .swiper-wrapper").html(r);LoadSwiper(n);i!=null&&($(".project-tab-block a").removeClass("is-active"),$(i).addClass("is-active"));$("#home-project-btn").attr("href",t)},complete:function(){$("#tab-loader-wrapper").fadeOut(550)},error:function(n,t,i){alert(i)},traditional:!0})}function LoadSwiper(n){var t=document.querySelector("#home_invest_field_slide").swiper,i,r;typeof t!="undefined"&&t!==null&&t.destroy(!1,!0);i=screen.width/10;r=screen.width*120/100;t=new Swiper("#home_invest_field_slide",{speed:1e3,slidesPerView:n.length<3?n.length:3,loop:!0,pagination:{el:"#invest_field_pagination",type:"fraction"},navigation:{nextEl:"#invest_field_next",prevEl:"#invest_field_prev"},onSlideChangeEnd:function(n){console.log(getSlideDataIndex(n))},breakpoints:{480:{spaceBetween:15,slidesPerView:n.length<2?n.length:2,centeredSlides:!0,width:n.length<2?screen.width:r,slidesOffsetBefore:n.length<2?0:-i},768:{slidesPerView:n.length<2?n.length:2,centeredSlides:!0,spaceBetween:25,width:n.length<2?screen.width:r,slidesOffsetBefore:n.length<2?0:-i}}})}jQuery(document).ready(function(n){if(AOS.init({duration:700,easing:"linear",disable:"mobile"}),LoadSwiper([14]),screen.width<769)n(".menu-tab-home-project-mobile-active").on("click",function(){n(".menu-tab-home-project-mobile-active").hasClass("is-expand")?(n(".menu-tab-home-project-list").slideUp(),n(".menu-tab-home-project-mobile-active").removeClass("is-expand")):(n(".menu-tab-home-project-list").slideDown(),n(".menu-tab-home-project-mobile-active").addClass("is-expand"))})})