$b=$("body"),w.Y_LazyLoad(),function(e){ysq.IsM||MacTest()||(e(".index-scene-head .dt").attr({swAnimate:["fadeInUpm","fadeInDownm"],swStep:[100,100]}),e(".index-brand .coc ").addClass("scrollCount").attr({scrollEle:"aniSerialize",scrollCbk:.5}),e(".index-brand .numCountUp").addClass("waitCount").attr({"data-delay":1200}),e(".waitAniBlock").attr({scrollEle:"aniSerialize",scrollCbk:.4}),e(".sAbout-history-tab,.sAbout-intro,.sContact-message-form,.sNews-textlist .item,.sParty-textlist .item,.sParty-list .item,.subpage-banner .w,.index-performance-tab .Tt > .box.on,.index-news-tab .Tt,.index-about .imax").attr({scrollEle:"fadeInDownm"}),e(".sAbout-environment-swiper .swiper-wrapper,.sAbout-honor-swiper .swiper-wrapper,.index-party-tab .Tt > .box.on .index-party-swiper .swiper-container,.index-service-tab").attr({scrollEle:"fadeInRightm"}),e(".index-honor-content").attr({scrollEle:"zoomIns"}),e(".index-about .certification,.index-about .digitalData").attr({scrollEle:"team",scrollArray:"zoomIns",scrollCbk:.1}),e(".sHr-list,.sCreed-tab,.sBusiness-list,.sNews-list").attr({scrollEle:"team",scrollNext:"fadeInDownm"}),e(".sAbout-framework .contain").attr({scrollEle:"team",scrollArray:["fadeInLeftm","zoomIns"]}),e(".sAbout-service-tab,.sContact-info .contain,.sContact-info .contain,.sBranch-svgMap .w").attr({scrollEle:"team",scrollArray:["fadeInLeftm","fadeInDownm"]}),e(".sBranch-svgMap .w").attr({scrollDir:"rtl"}),e(".asdadsasd").attr("scrollCbk",1).data("fn_AniDid",function(t){var n=getOverPosition(e(".index-contact-list .item").eq(4),e(".index-contact .viewport")),s=new TimelineMax;s.staggerTo(".module-Scrollbox.x .overview",1.2,{left:-1*n.x}),s.staggerTo(".module-Scrollbox.x .overview",.4,{left:0,onComplete:function(e,n,s){t.addClass("_ts")}})}))}(jQuery),function(e){e(".btn-searchBox").click(function(t){e(".modal-searchForm").Y_Modal({fn:{callback:function(t){e(".skin",t).focus()}}})}),e(".header .fns .item ").on("mouseenter",function(t){ysq.IsM||e(".hide",this).addClass("_show")}).on("mouseleave",function(t){ysq.IsM||e(".hide",this).removeClass("_show")}),e(".index-banner").Y_Move({IsPaging:!0,setPaging:!0,duration:1200,transparent:!0,slidable:!1,stopable:!1,IsDrag:!0,TimeOut:4,fn:{before:function(e,t,n){},after:function(e,t,n){},start:function(e,t,n,s,i,a,a,o){}}});var t=(new Date).getFullYear();e("[ysq-birthday]").each(function(n,s){"age"==e(s).attr("ysq-role")?(console.log(t-e(s).attr("ysq-birthday")/1),e(s).text(t-e(s).attr("ysq-birthday")/1)):"birthday"==e(s).attr("ysq-role")&&e(s).attr({"data-startVal":t,"data-endVal":e(s).attr("ysq-birthday")/1})}),e(".numCountUp").length&&w.on("scroll.numCountUp",function(t){if(!ysq.shutDown){var n={useEasing:!0,useGrouping:!1,separator:",",decimal:".",prefix:"",suffix:""};e(".numCountUp").not("._waiting").each(function(t,s){var i={useGrouping:1==e(s).attr("data-useGrouping")};n=e.extend({},i,n),!inWindow(e(s))||e(s).hasClass("bindedFn")||e(s).is(":hidden")||(e(".num",s).each(function(t,n){var a=new CountUp(n,e(n).attr("data-startVal")||0,e(n).attr("data-endVal"),getDecimals(e(n).attr("data-endVal")).length,2,i);setTimeout(function(){a.start()},100*t+(parseInt(e(s).attr("data-delay"))||150))}),e(s).addClass("bindedFn"))})}}).trigger("scroll.numCountUp"),e(".index-service-tab").Y_Tab({clickMoveTg:[!0,"h","scroll",.5],prev:".prev",next:".next",event:TouchEnter,eventDelay:300,fn:{before:function(e,t,n,s){t.length>1&&e.find(".counts").append('01 / 01')},after:function(e,t,n,s){t.length>1&&e.find(".counts .all").text(tensDigit(t.length))},start:function(t,n,s,i,a,o){s.length>1&&t.find(".counts .now").text(tensDigit(n+1)),onoff(e(".txts .txt",t).eq(n))}}}),e(".index-news-tab").Y_Tab({TgClone:!0,clickMoveTg:[!0,"h","scroll"],prev:".prev",next:".next",event:TouchEnter,eventDelay:300,fn:{before:function(e,t,n,s){},after:function(e,t,n,s){},start:function(e,t,n,s,i,a){}}}),e(".index-news-move").Y_Move({TimeOut:4,IsDrag:!0,IsPaging:!0,setPaging:!0,fn:{before:function(e,t){},after:function(e,t,n){},start:function(e,t,n,s,i,a,o,r){}}}),e(".index-party-tab").Y_Tab({TgClone:!0,clickMoveTg:[!0,"h","scroll"],event:TouchEnter,eventDelay:300,fn:{before:function(e,t,n,s){},after:function(t,n,s,i){function a(e){for(var t=e.slides,n=0;n1&&e(".counts",n).append('01 / '+tensDigit(e(".swiper-slide",t).length)+""),a(this)},slideChange:function(){var t=this.$el,s=this.activeIndex,i=Math.ceil(t.outerWidth()/e(".swiper-slide",t).outerWidth()),a=e(".swiper-slide",t).slice(Math.max(0,s-1),s+i+1);fnLazyloadPd(a)&&e.fn.Y_LazyLoad.Init(a,!0,50,!1),e(".swiper-slide",t).length>1&&e(".counts .now",n).text(tensDigit(s+1))},setTranslate:function(e){a(this)},setTransition:function(e){for(var t=0;t1&&e.find(".counts").append('01
01')},after:function(e,t,n,s){t.length>1&&e.find(".counts .all").text(tensDigit(t.length))},start:function(t,n,s,i,a,o){s.length>1&&t.find(".counts .now").text(tensDigit(n+1)),w.on("resize.sBusiness-view-tab",function(n){e(".counts .percent",t).stop(!0,!0).animate({width:"100%"},4066,"linear",function(){e(this).width(0)})}).trigger("resize.sBusiness-view-tab")}}}),e(".sCreed-tab").Y_Tab({clickMoveTg:[!0,"h","scroll"],prev:".prev",next:".next",event:TouchEnter,eventDelay:300,fn:{before:function(e,t,n,s){},after:function(e,t,n,s){},start:function(e,t,n,s,i,a){}}}),e(".sAbout-service-tab").Y_Tab({prev:".prev",next:".next",event:TouchEnter,eventDelay:300,fn:{before:function(e,t,n,s){},after:function(e,t,n,s){},start:function(e,t,n,s,i,a){}}}),e(".sAbout-honor-swiper").each(function(t,n){n.swiper=new Swiper(e(".swiper-container",n),{speed:800,loop:!1,centeredSlides:!1,roundLengths:!0,effect:"slide",spaceBetween:0,slidesPerView:3,slidesPerGroup:3,breakpoints:{1024:{slidesPerView:2.5,slidesPerGroup:2}},navigation:{prevEl:e(".sAbout-honor .prev"),nextEl:e(".sAbout-honor .next")},on:{init:function(){var t=this.$el;this.params.autoplay.enabled&&swiperAutoPlayFn(this),this.virtualSize>this.width&&e(n).addClass("_loaded"),e.fn.Y_LazyLoad.destroy(e(".swiper-slide-duplicate",t)),ysqSwiper.moveIn(this,t)},slideChange:function(){var e=this.$el;ysqSwiper.moveIn(this,e)},setTransition:function(e){},slideChangeTransitionStart:function(){},slideChangeTransitionEnd:function(){},sliderMove:function(e){},progress:function(e){}}})}),e(".sAbout-history-tab").Y_Tab({clickMoveTg:[!0,"h","scroll"],prev:".sAbout-history .prev",next:".sAbout-history .next",outerCtr:!0,event:TouchEnter,eventDelay:300,fn:{before:function(e,t,n,s){},after:function(e,t,n,s){},start:function(e,t,n,s,i,a){}}}),e(".sAbout-environment-swiper").each(function(t,n){n.swiper=new Swiper(e(".swiper-container",n),{speed:800,loop:!1,centeredSlides:!1,roundLengths:!0,effect:"slide",spaceBetween:"1.5%",slidesPerView:3,slidesPerGroup:3,breakpoints:{1024:{spaceBetween:"2.5%",slidesPerView:2.5,slidesPerGroup:2},640:{spaceBetween:"2.5%",slidesPerView:1.5,slidesPerGroup:1}},navigation:{prevEl:e(".sAbout-environment .prev"),nextEl:e(".sAbout-environment .next")},scrollbar:{el:e(".swiper-scrollbar",n),draggable:!0},on:{init:function(){var t=this.$el;this.params.autoplay.enabled&&swiperAutoPlayFn(this),this.virtualSize>this.width&&e(n).addClass("_loaded"),e.fn.Y_LazyLoad.destroy(e(".swiper-slide-duplicate",t)),ysqSwiper.moveIn(this,t)},slideChange:function(){var e=this.$el;ysqSwiper.moveIn(this,e)},setTransition:function(e){},slideChangeTransitionStart:function(){},slideChangeTransitionEnd:function(){},sliderMove:function(e){},progress:function(e){}}})}),e(".sHr-list").delegate(".show","click",function(t){var n=e(this).parents(".item"),s=e(this).find(".btn span");s.length&&("灞曞紑鍏ㄩ儴淇℃伅"==s.text()?s.text("鏀惰捣鍏ㄩ儴淇℃伅"):s.text("灞曞紑鍏ㄩ儴淇℃伅")),n.hasClass("unfold")?(e(".sHr-form").appendTo($b),n.removeClass("unfold").find(".hide").slideUp(333)):(e(".sHr-form").appendTo(n.find(".hide")),e(".sHr-form").find("input.positionID").val(n.attr("data-pid")),n.addClass("unfold").find(".hide").slideDown(333).parents(".item").siblings(".item").removeClass("unfold").find(".hide").slideUp(1))})}(jQuery),function(e){function t(t){if(t.length){e(".TopLine");var n=e(".BottomLine");t.css("min-height",function(){return e(this).css("min-height")||0}),e(ysq.wrap).outerHeight()(e(".TopLine").length?e(".TopLine").offset().top:1);e(".subpage").length&&(n=w.scrollTop()>(e(".subpage-banner").length?8*e(".subpage-banner").outerHeight()/10-e(".header").outerHeight():1)),void 0!=t&&(e(".header").addClass("tsn"),setTimeout(function(){e(".header").removeClass("tsn")},1)),n?e(".header").addClass("_fixedNav"):e(".header").removeClass("_fixedNav")};w.on("scroll.navC",function(){n()}),n(0),t(e(".subpage")),t(e(".index"))}(jQuery),w.on("resize.baset",function(e){ysq.TT&&$("title").html(window.innerWidth),window.innerWidth>ysq.Global.resWidth?ysq.Global.device="pc":ysq.Global.device="wap",setTimeout(function(){$("[resImg-src]").each(function(e,t){$(t).attr("src",function(e,n){var s="";return $.each($(t).attr("resImg-src").split("|"),function(e,t){t=t.split(","),w.width()<=t[0]&&(s=t[1])}),s})})},1),w.data("device_status")!=ysq.Global.device&&("pc"==ysq.Global.device?($h.addClass(ysq.Global.device).removeClass("wap"),$(".header").removeClass("navshow").find(".subnav").hide()):"wap"==ysq.Global.device&&$h.addClass(ysq.Global.device).removeClass("pc"),w.data("device_status",ysq.Global.device)),function(){var e=$(".btn-language");e.parents(".item").off("mouseenter.language").on("mouseenter.language",function(t){ysq.IsM||(clearTimeout(e[0].timer),e.siblings(".hide").addClass("_show"))}).off("mouseleave.language").on("mouseleave.language",function(t){ysq.IsM||(e[0].timer=setTimeout(function(){e.siblings(".hide").removeClass("_show")},400))}).off("click.language").on("click.language",function(t){if(ysq.IsM){var n=e.siblings(".hide");n.hasClass("_show")?(n.removeClass("_show"),$("#btnCloseLanguage").length&&$("#btnCloseLanguage").remove()):(n.addClass("_show"),$b.append(makeMask({id:"btnCloseLanguage",zIndex:35})),setTimeout(function(){$("#btnCloseLanguage").one("click",function(t){e.trigger("click.language")})},1))}})}()}).trigger("resize.baset"),function(e){var t=e(".header .bg"),n=e(".header .firNav"),s=e(".header .secNav"),i=!1;e(".navbtn").click(function(t){var s=e(this);n.find(".secNav .secItem.on");i||(i=!0,$b.hasClass("navShow")?(s.removeClass("active"),e(".firNav").addClass("fadeOutLeft"),$b.removeClass("navShow"),setTimeout(function(){e(".firNav").removeClass("fadeOutLeft")},1e3*parseFloat(e(".firNav").css("transition-duration"))+100)):(s.addClass("active"),$b.addClass("navShow")),setTimeout(function(){i=!1},1e3*parseFloat(e(".firNav").css("transition-duration"))+100))}),t.click(function(e){$b.removeClass("navShow")}),w.on("resize.nav",function(i){n.find(".firItem").off("mouseleave.nav").off("mouseenter.nav").off("click.nav"),"pc"==ysq.Global.device?(ysq.IsM=!1,e(".navbtn").removeClass("navShow"),t.fadeOut(),n.add(s).removeAttr("style"),n.find(".firItem").on("mouseenter.nav",function(t){e(this).siblings().find(".secNav").removeClass("active"),e(this).find(".secNav").stop(!0,!0).addClass("active")}).on("mouseleave.nav",function(t){e(this).find(".secNav").stop(!0,!1).removeClass("active")})):(ysq.IsM=!0,n.find(".firItem").on("click.nav",function(t){var n=e(this);if(n.find(".secNav").length&&n.find(".secNav").is(":hidden"))return n.siblings(".firItem").removeClass("on").find(".secNav").hide(0),n.addClass("on").find(".secNav").show(0),prevent_default(t)}))}).trigger("resize.nav"),e(".link2",n).click(function(t){var n=e(this).parents(".firItem");ysq.IsM&&n.hasClass("on")&&e(this).attr("href").match("#")&&e(".navShow").removeClass("navShow")})}(jQuery);