var isWeb,isTablB,isTablS,isMobile;function FixHeader(){95<$(window).scrollTop()?($("#wrapper").addClass("scroll"),$(".hamburger").addClass("scroll")):($("#wrapper").addClass("scroll").removeClass("scroll"),$(".hamburger").addClass("scroll").removeClass("scroll")),setTimeout(FixHeader,300)}$(function(){svg4everybody();new Plyr("#player"),new Plyr("#player2");$(window).resize(function(){var e=$(window).width(),i=$(window).height();$(".header").height();$(".winW").css("width",e),$(".winH").css("height",i);var s=$(".index_category").height();$(".index_banner-item").css("height",i-s),$("#index_wrapper").css("margin-top",i-s),1180")})}),$(window).resize();var e=$(".hamburger"),i=$(".overlay"),s=!1;e.click(function(){1==s?(i.hide(),e.removeClass("is-open"),e.addClass("is-closed"),s=!1,event.preventDefault(),$("body").css("overflow","auto")):(i.show(),e.removeClass("is-closed"),e.addClass("is-open"),s=!0,event.preventDefault(),$("body").css("overflow","hidden"))}),i.click(function(){!function(){1==s?(i.hide(),e.removeClass("is-open"),e.addClass("is-closed"),s=!1,event.preventDefault(),$("body").css("overflow","auto")):(i.show(),e.removeClass("is-closed"),e.addClass("is-open"),s=!0,event.preventDefault(),$("body").css("overflow","hidden"));$("#wrapper").toggleClass("toggled")}()}),$('[data-toggle="offcanvas"]').click(function(){$("#wrapper").toggleClass("toggled")}),$(".header_nav").slide({type:"menu",titCell:".m",targetCell:".sub",effect:"slideDown",delayTime:500,triggerTime:0,returnDefault:!0}),$(".header_search").click(function(e){e.preventDefault(),$(".popup_search").addClass("on").fadeIn()}),$(".popup_search-close").click(function(e){e.preventDefault(),$(".popup_search").removeClass("on").fadeOut()});new Swiper(".index_banner .swiper-container",{autoplay:5e3,pagination:".swiper-pagination",paginationClickable:!0,onInit:function(e){swiperAnimateCache(e),swiperAnimate(e)},onSlideChangeEnd:function(e){swiperAnimate(e)}}),new Swiper(".index_customer-list .swiper-container",{autoplay:1500,slidesPerView:6,spaceBetween:20,loop:!0,breakpoints:{668:{slidesPerView:2,spaceBetween:20},968:{slidesPerView:4,spaceBetween:20}}}),new Swiper(".content_case-slide",{autoplay:1500,slidesPerView:1,spaceBetween:0,loop:!0,autoHeight:!0,prevButton:".swiper-button-prev",nextButton:".swiper-button-next"})}),FixHeader(); //# sourceMappingURL=app.min.js.map