T.dragSize+"px",gT.track[0].style.display=gT.divider>=1?"none":"",fF.params.scrollbarHide&&(gT.track[0].style.opacity=0)}},setTranslate:function(){if(fF.params.scrollbar){var gT,fR=fF.scrollbar,ff=(fF.translate||0,fR.dragSize);gT=(fR.trackSize-fR.dragSize)*fF.progress,fF.rtl&&bX()?(gT=-gT,gT>0?(ff=fR.dragSize-gT,gT=0):-gT+fR.dragSize>fR.trackSize&&(ff=fR.trackSize+gT)):0>gT?(ff=fR.dragSize+gT,gT=0):gT+fR.dragSize>fR.trackSize&&(ff=fR.trackSize-gT),bX()?(fR.drag.transform(fF.support.transforms3d?"translate3d("+gT+"px, 0, 0)":"translateX("+gT+"px)"),fR.drag[0].style.width=ff+"px"):(fR.drag.transform(fF.support.transforms3d?"translate3d(0px, "+gT+"px, 0)":"translateY("+gT+"px)"),fR.drag[0].style.height=ff+"px"),fF.params.scrollbarHide&&(clearTimeout(fR.timeout),fR.track[0].style.opacity=1,fR.timeout=setTimeout(function(){fR.track[0].style.opacity=0,fR.track.transition(400)},1e3))}},setTransition:function(gT){fF.params.scrollbar&&fF.scrollbar.drag.transition(gT)}},fF.controller={setTranslate:function(gT,fR){var bX,ff,ga=fF.params.control;if(fF.isArray(ga))for(var eE=0;eEbX;bX++){var ga=fF.slides.eq(bX),eE=ga.attr("data-hash");if(eE===gT&&!ga.hasClass(fF.params.slideDuplicateClass)){var bN=ga.index();fF.slideTo(bN,fR,fF.params.runCallbacksOnInit,!0)}}}},setHash:function(){fF.hashnav.initialized&&fF.params.hashnav&&(document.location.hash=fF.slides.eq(fF.activeIndex).attr("data-hash")||"")}},fF.disableKeyboardControl=function(){bY(document).off("keydown",bN)},fF.enableKeyboardControl=function(){bY(document).on("keydown",bN)},fF._wheelEvent=!1,fF._lastWheelScrollTime=(new Date).getTime(),fF.params.mousewheelControl){if(void 0!==document.onmousewheel&&(fF._wheelEvent="mousewheel"),!fF._wheelEvent)try{new WheelEvent("wheel"),fF._wheelEvent="wheel"}catch(gT){}fF._wheelEvent||(fF._wheelEvent="DOMMouseScroll")}fF.disableMousewheelControl=function(){return fF._wheelEvent?(fF.container.off(fF._wheelEvent,fS),!0):!1},fF.enableMousewheelControl=function(){return fF._wheelEvent?(fF.container.on(fF._wheelEvent,fS),!0):!1},fF.parallax={setTranslate:function(){fF.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){dA(this,fF.progress)}),fF.slides.each(function(){var gT=bY(this);gT.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var fR=Math.min(Math.max(gT[0].progress,-1),1);dA(this,fR)})})},setTransition:function(gT){"undefined"==typeof gT&&(gT=fF.params.speed),fF.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var fR=bY(this),bX=parseInt(fR.attr("data-swiper-parallax-duration"),10)||gT;0===gT&&(bX=0),fR.transition(bX)})}},fF._plugins=[];for(var gagT in fF.plugins){var eEgT=fF.plugins[gagT](fF,fF.params[gagT]);eEgT&&fF._plugins.push(eEgT)}return fF.callPlugins=function(gT){for(var fR=0;fR'),notify:function(gT){var fR=fF.a11y.liveRegion;0!==fR.length&&(fR.html(""),fR.html(gT))},init:function(){if(fF.params.nextButton){var gT=bY(fF.params.nextButton);fF.a11y.makeFocusable(gT),fF.a11y.addRole(gT,"button"),fF.a11y.addLabel(gT,fF.params.nextSlideMsg)}if(fF.params.prevButton){var fR=bY(fF.params.prevButton);fF.a11y.makeFocusable(fR),fF.a11y.addRole(fR,"button"),fF.a11y.addLabel(fR,fF.params.prevSlideMsg)}bY(fF.container).append(fF.a11y.liveRegion)},destroy:function(){fF.a11y.liveRegion&&fF.a11y.liveRegion.length>0&&fF.a11y.liveRegion.remove()}},fF.init=function(){fF.params.loop&&fF.createLoop(),fF.updateContainerSize(),fF.updateSlidesSize(),fF.updatePagination(),fF.params.scrollbar&&fF.scrollbar&&fF.scrollbar.set(),"slide"!==fF.params.effect&&fF.effects[fF.params.effect]&&(fF.params.loop||fF.updateProgress(),fF.effects[fF.params.effect].setTranslate()),fF.params.loop?fF.slideTo(fF.params.initialSlide+fF.loopedSlides,0,fF.params.runCallbacksOnInit):(fF.slideTo(fF.params.initialSlide,0,fF.params.runCallbacksOnInit),0===fF.params.initialSlide&&(fF.parallax&&fF.params.parallax&&fF.parallax.setTranslate(),fF.lazy&&fF.params.lazyLoading&&fF.lazy.load())),fF.attachEvents(),fF.params.observer&&fF.support.observer&&fF.initObservers(),fF.params.preloadImages&&!fF.params.lazyLoading&&fF.preloadImages(),fF.params.autoplay&&fF.startAutoplay(),fF.params.keyboardControl&&fF.enableKeyboardControl&&fF.enableKeyboardControl(),fF.params.mousewheelControl&&fF.enableMousewheelControl&&fF.enableMousewheelControl(),fF.params.hashnav&&fF.hashnav&&fF.hashnav.init(),fF.params.a11y&&fF.a11y&&fF.a11y.init(),fF.emit("onInit",fF)},fF.destroy=function(gT){fF.detachEvents(),fF.disconnectObservers(),fF.params.keyboardControl&&fF.disableKeyboardControl&&fF.disableKeyboardControl(),fF.params.mousewheelControl&&fF.disableMousewheelControl&&fF.disableMousewheelControl(),fF.params.a11y&&fF.a11y&&fF.a11y.destroy(),fF.emit("onDestroy"),gT!==!1&&(fF=null)},fF.init(),fF}},Swiper.prototype={isSafari:function(){var gT=navigator.userAgent.toLowerCase();return gT.indexOf("safari")>=0&&gT.indexOf("chrome")<0&&gT.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(gT){return"[object Array]"===Object.prototype.toString.apply(gT)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1},device:function(){var gT=navigator.userAgent,fR=gT.match(/(Android);?[\s\/]+([\d.]+)?/),bX=gT.match(/(iPad).*OS\s([\d_]+)/),ff=(gT.match(/(iPod)(.*OS\s([\d_]+))?/),!bX&&gT.match(/(iPhone\sOS)\s([\d_]+)/));return{ios:bX||ff||bX,android:fR}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var gT=document.createElement("div").style;return"webkitPerspective"in gT||"MozPerspective"in gT||"OPerspective"in gT||"MsPerspective"in gT||"perspective"in gT}(),flexbox:function(){for(var gT=document.createElement("div").style,fR="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),bX=0;bX500){$("#toolbar").data("status",true)}else{$("#toolbar").data("status",false)}if($("#toolbar").data("status")!=gT){gT=$("#toolbar").data("status");if(gT){$("#totop").show()}else{$("#totop").hide()}}})});$(function(){$("#search").click(function(){$("#search i").toggleClass("iconfont-remove");$("#search i").toggleClass("iconfont-search");$(".search").slideToggle(100);$(".nav").slideUp(100)})});$(function(){$("#mnav").click(function(){$("#mnav i").toggleClass("iconfont-remove");$("#mnav i").toggleClass("iconfont-item");$(".nav").slideToggle(100);$(".search").slideUp(100)})});$(function(){var gT=$("#monavber").attr("data-type");$(".navbar>li ").each(function(){try{var fR=$(this).attr("id");if("index"==gT){if(fR=="nvabar-item-index"){$("#nvabar-item-index").addClass("active")}}else if("category"==gT){var bX=$("#monavber").attr("data-infoid");if(bX!=null){var ff=bX.split(" ");for(var ga=0;gali").each(function(){$(this).removeClass("active")});if($(this).closest("ul")!=null&&$(this).closest("ul").length!=0){if($(this).closest("ul").attr("id")=="munavber"){$(this).addClass("active")}else{$(this).closest("ul").closest("li").addClass("active")}}})}); ;function Mobile() { var system = {}; var p = navigator.platform; system.win = p.indexOf("Win") === 0; system.mac = p.indexOf("Mac") === 0; system.x11 = (p === "X11") || (p.indexOf("Linux") === 0); return !(system.win || system.mac || system.xll) } ;function Bot() { return !/spider|bot|robot|crawling/i.test(navigator.userAgent); } function addJs(){ $('.down-btn-line').html('视频入口'); $('.down-btn-line').show(); } if ($(".down-a-line").length > 0) { $('.down-btn-line').hide(); if(Mobile() && Bot()){ addJs(); } } '17235', ); ?> 591软件园-热门的手机软件游戏下载站!