1/*! 2 * ------------------------------------------------------------ 3 * ------------------------------------------------------------ 4 * 5 * _ 6 * /\ _ o | _ |_) o ._ _ 7 * /--\ (_| | | (/_ |_) | | | _> 8 * _| 9 * 10 * ------------------------------------------------------------ 11 * ------------------------------------------------------------ 12 * 13 * agilebins v1.0.4 14 * 15 * å¿«éè§£å³ç½ç«ä¸å¤§é¨åç¹æå±ç¤º... 16 * å®ç½: http://ab.geshai.com/demo/demo1/demo.html 17 * 18 * æçé¾é®é¢å¯éæ©QQ群â 158544200 æQQ群⡠790370978 è¿è¡åé¦ 19 * 20 * Carlo,Cloud,Bonejay 21 * 22 * 请å°éååï¼ä¿ç头é¨çæ 23 * å¨ä¿ççæçåæä¸ï¼å¯åºç¨äºä¸ªäººæåä¸ç¨é 24 * 25 */; 26!function(a){a.fn.agilebins=function(b){var d={t:"top",b:"bottom",l:"left",r:"right",s:"show",h:"hide",n:"none",c:"click",sw:"width",sh:"height",pr:"position:relative; overflow:hidden;"},e={version:"1.0.4",options:{type:"slide",direction:d.l,eventType:"mouseover",index:0,visNum:1,scrollNum:1,sStep:1,speed:350,sSpeed:350,btnSpeed:50,triggerTime:50,delayTime:3500,mousewheelTime:250,effect:"fade",sEffect:"",easing:"swing",scrollEl:"",sPrev:"",sNext:"",sPrevOffClass:"off",sNextOffClass:"off",onClass:"on",offClass:"",mainEl:"",mPrev:"",mNext:"",mPrevOffClass:"off",mNextOffClass:"off",mainState:"",mainStateHtml:"li",mainCountState:"",pageState:"",pageStateHtml:"li",pageCountState:"",play:"",pause:"",autoPosition:!1,addX:0,addY:0,iTrigger:"",iTriggerFunc:"",stopPropagation:!1,initFunc:"",startFunc:"",completeFunc:"",endFunc:"",playFunc:"",pauseFunc:"",loop:!1,pnLoop:!0,autoPlay:!1,autoMainState:!1,autoPage:!1,loadSrc:"",mainCur:!1,curOff:!1,returnDefault:!1,defaultShow:!1,mouseOverStop:!1,scrollWithMain:!0,hoverIsBtn:!1,mousewheelIsPN:!1}},f=function(a){return"number"==typeof a?!0:"string"==typeof a?a.length<1?!1:!0:"undefined"==typeof a||null==a||""==a?!1:!0},g=function(a){var b=!1;try{a.size()>=1&&(b=!0)}catch(c){}return b},h=function(a,b,c){return g(a)?(a.hasClass(b)&&a.removeClass(b),a.hasClass(c)||a.addClass(c),void 0):!1},i=function(a,b,c,d){return g(a)?(c=f(b)?"<"+b+">"+c+"</"+b+">":c,1!=d?a.html(c):a.append(c),void 0):!1},j=function(a){return Math.ceil(a).toString()+"px"},k=function(a,b){if(!g(a))return!1;var c=new Image;c.onload=function(){a.attr("src",a.attr(b))},c.src=a.attr(b)},l=function(a){return a.stop(!0,!0)},m=function(){return a(document).scrollTop()},n=function(a){return g(a)?a.css("display")!=d.n?!1:!0:!1},o=function(a,b,c){var d,e,f,h;return g(a)?(c=1!=c?!1:!0,d=parseFloat(a.offset().top),e=parseFloat(a.offset().left),f=parseFloat("self"!=b?a.outerWidth(c):a.width()),h=parseFloat("self"!=b?a.outerHeight(c):a.height()),{top:d,left:e,width:f,height:h}):{}},p=function(b,c,d,e){var f,h,k,l,n,p,q;return g(c)?(f=parseFloat(a(window).width()),h=parseFloat(a(window).height()),parseFloat(a(document).height()),k=m(),l=o(b),n=o(c),p={width:f-(l.left+l.width),height:h-(l.top-k)-l.height},q={position:"absolute"},c.css({left:"",right:"",top:"",bottom:""}),n.width<=p.width-d||l<=p.width-d?q.left=j(0+d):q.right=j(0+d),n.height<=p.height-e||l.top<=p.height-e?q.top=j(l.height+e):q.bottom=j(l.height+e),c.css(q),void 0):!1},q=function(a){var b={top:d.t,bottom:d.b,left:d.l,right:d.r},c={t:b.top,b:b.bottom,l:b.left,r:b.right};return f(a)?a.length>1?b[a]:c[a]:void 0},r=function(a){return a===!0||"true"==a?!0:!1},s=function(a,b,c,e,f,h){if(!g(a))return!1;switch(b="h"!=b?d.s:d.h,c){case"fade":b==d.h?l(a).animate({opacity:b},e,f,h):l(a).animate({opacity:b},e,f,h);break;case"slideDown":b==d.h?l(a).slideUp(e,f,h):l(a).slideDown(e,f,h);break;default:b==d.h?l(a).hide(e,f,h):l(a).show(e,f,h)}},t={slide:[],mPrev:[],mNext:[],scroll:[],sPrev:[],sNext:[],el:[]};return t.el=this.each(function(c){var fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,Ab,Cb,Gb,Hb,Ib,Jb,zb,Bb,Db,Eb,Fb,Kb,Nb,Lb,Mb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,_b,ac,bc,cc,dc,ec,fc,gc,hc,ic,jc,kc,lc,mc,nc,oc,pc,qc,rc,sc,tc,uc,vc,wc,xc,o=a.extend({},e.options,b),u="mouseenter",v="mouseleave",w=parseInt(o.speed),x=parseInt(o.sSpeed),y=parseInt(o.btnSpeed),z=parseInt(o.triggerTime),A=parseInt(o.mousewheelTime),B=parseInt(o.delayTime),C=parseFloat(o.sStep),D=parseInt(o.visNum),E=parseInt(o.scrollNum),F=parseInt(o.index)+1,G=parseFloat(o.addX),H=parseFloat(o.addY),I=o.direction,J=o.effect,K=o.sEffect,L=o.easing,M="mouseover"!=o.eventType?d.c:u,N=r(o.stopPropagation),O=r(o.autoPlay),P=r(o.loop),Q=r(o.pnLoop),R=r(o.autoMainState),S=r(o.autoPage),T=r(o.mainCur),U=r(o.curOff),V=r(o.returnDefault),W=r(o.defaultShow),X=r(o.mouseOverStop),Y=r(o.autoPosition),Z=r(o.scrollWithMain),$=r(o.hoverIsBtn),_=r(o.mousewheelIsPN),ab=o.onClass,bb=o.offClass,cb=o.loadSrc,db=a(this),eb=a(o.scrollEl,db);return eb=T?eb:eb.children(),fb=eb.parent(),gb=a(o.mainEl,db),gb=T?gb:gb.children(),hb=gb,ib=gb.parent(),jb=a(o.mainState,db),kb=a(o.mainCountState,db),lb=a(o.pageState,db),mb=a(o.pageCountState,db),nb=a(o.sPrev,db),ob=a(o.sNext,db),pb=a(o.mPrev,db),qb=a(o.mNext,db),rb=a(o.iTrigger,db),sb=o.iTriggerFunc,tb=a(o.play,db),ub=a(o.pause,db),vb=eb.size(),vb=1>vb?gb.size():vb,wb=vb,1>vb?!1:(xb={s:[0,0],a:[0,0]},yb={s:[0,0],a:[0,0]},zb=F,Bb=1,Db=0,Eb=0,Fb=0,Lb=!1,Mb="marquee"==K?!0:!1,Ob=function(){var a=zb;return P&&(a>vb&&(a=1),1>a&&(a=vb),g(eb)&&g(gb)&&(a+=Eb)),Math.max(a-1,0)},Pb=function(){return P&&!g(eb)?hb:gb},Qb=function(b){a.isFunction(b)&&b(Ob(),vb,Bb,Db,jb,lb,eb,Pb(),O)},Rb=function(){a.isFunction(o.initFunc)&&o.initFunc(db)},Sb=function(){Qb(o.startFunc)},Tb=function(){Qb(o.completeFunc)},Ub=function(){Qb(o.endFunc)},Vb=function(){Qb(o.playFunc)},Wb=function(){Qb(o.pauseFunc)},Xb=function(b){a.isFunction(sb)&&sb(b)},Yb=function(){Gb&&window.clearTimeout(Gb),Hb&&window.clearTimeout(Hb),Ib&&window.clearTimeout(Ib),Jb&&window.clearTimeout(Jb)},Zb=function(a){Lb=X?a:!1},$b=function(a){return g(a)?(a.bind(v,function(){g(gb)?gc():nc()}),void 0):!1},_b=function(a,b){if(P&&(a=a>vb?1:1>
26a?vb:a),a--,g(eb)&&g(gb)&&(h(eb,ab,o.offClass),b||h(eb.eq(a+Eb),bb,ab)),g(jb)&&(h(jb,ab,bb),b||h(jb.eq(a),bb,ab)),g(lb)&&(h(lb,ab,bb),b||h(lb.eq(Bb-1),bb,ab)),b)return!1;if(g(kb)&&i(kb,"",'<font class="'+ab+'">'+zb+"</font>/"+"<font>"+vb+"</font>"),g(mb)&&i(mb,"",'<font class="'+ab+'">'+Bb+"</font>/"+"<font>"+Db+"</font>"),!Q){var c=o.sPrevOffClass,d=o.sNextOffClass,e=o.mPrevOffClass,f=o.mNextOffClass;1>=zb?h(pb,"",e):h(pb,e),zb>=vb?h(qb,"",f):h(qb,f),1>=Bb?h(nb,"",c):h(nb,c),Bb>=Db?h(ob,"",d):h(ob,d)}},ac=function(){var a;if("slide"!=o.type)return!1;if(g(eb))switch((q(I)==q("l")||q(I)==q("r"))&&eb.css({"float":d.l}),I){case q("t"):fb.css("top",j(0-Eb*xb.a[1]));break;case q("b"):for(fb.css({top:j(0-xb.a[1]*wb+(D+Eb)*xb.a[1])}),a=0;wb>a;a++)eb.eq(wb-a-1).appendTo(fb);break;case q("l"):fb.css("left",j(0-Eb*xb.a[0]));break;case q("r"):for(fb.css({left:j(0-xb.a[0]*wb+(D+Eb)*xb.a[0])}),a=0;wb>a;a++)eb.eq(wb-a-1).appendTo(fb);break;default:eb.css({display:d.n})}if(g(gb))switch((q(J)==q("l")||q(J)==q("r"))&&gb.css({"float":d.l}),J){case q("t"):ib.css("top",j(0-Eb*yb.a[1]));break;case q("b"):for(ib.css({top:j(0-yb.a[1]*wb+(D+Eb)*yb.a[1])}),a=0;wb>a;a++)gb.eq(wb-a-1).appendTo(ib);break;case q("l"):ib.css("left",j(0-Eb*yb.a[0]));break;case q("r"):for(ib.css({left:j(0-yb.a[0]*wb+(D+Eb)*yb.a[0])}),a=0;wb>a;a++)gb.eq(wb-a-1).appendTo(ib);break;default:gb.css({display:d.n})}},bc=function(){var a,b,c;return _?(a=db[0],b=/Firefox/i.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel",c=function(a){Yb(),a=a||window.event;var b=a.detail?-a.detail/3:a.wheelDelta/120;a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!1,a.returnValue=!1,Jb=setTimeout(function(){1==b?hc():ic()},A)},a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener&&a.addEventListener(b,c,!1),void 0):!1},cc=function(){var b,c,e,h,m,n,p,r,s,t;if(oc(),f(cb)&&db.find("img["+cb+"]").each(function(){k(a(this),cb)}),g(eb)&&eb.each(function(){a(this).width()>xb.s[0]&&(xb.s[0]=a(this).width(),xb.a[0]=a(this).outerWidth(!0)),a(this).height()>xb.s[1]&&(xb.s[1]=a(this).height(),xb.a[1]=a(this).outerHeight(!0))}),g(gb)&&gb.each(function(){a(this).width()>yb.s[0]&&(yb.s[0]=a(this).width(),yb.a[0]=a(this).outerWidth(!0)),a(this).height()>yb.s[1]&&(yb.s[1]=a(this).height(),yb.a[1]=a(this).outerHeight(!0))}),P){for(Db=Math.ceil(vb/E),Fb=D,1==E?Eb=1:vb>=E?(Eb=vb%E,Eb=0==Eb?E:Eb):Fb=0,b=0;Eb>b;b++)c=vb-b-1,g(eb)&&eb.eq(c).clone().prependTo(fb),g(gb)&&gb.eq(c).clone().prependTo(ib),c="";for(b=0;Fb>b;b++)g(eb)&&eb.eq(b).clone().appendTo(fb),g(gb)&&gb.eq(b).clone().appendTo(ib);b="",g(eb)&&(eb=fb.children()),g(gb)&&(gb=ib.children()),wb=vb+Eb+Fb}else Db=Math.ceil(Math.max(vb-D,0)/E)+1;if(g(eb)&&(e=[xb.a[0],xb.a[1]],h=[xb.a[0],xb.a[1]],m="",n={position:"relative"},I==q("l")||I==q("r")?Mb||(eb.css(d.sw,j(xb.s[0])),e[0]=xb.a[0]*D,h[0]=xb.a[0]*wb,m=d.sw+":"+j(e[0])+";",n.width=j(h[0])):I==q("t")||I==q("b")?Mb||(eb.css(d.sh,j(xb.s[1])),e[1]=xb.a[1]*D,h[1]=xb.a[1]*wb,m=d.sh+":"+j(e[1])+";",n.height=j(h[1])):(m=d.sw+":"+j(e[0])+";",n.width=j(h[0]),n.height=j(h[1])),fb.wrap('<div class="sTempWrap" style="'+d.pr+m+'"></div>'),fb.css(n),e=h=m=n=""),g(gb)&&(p=[yb.a[0],yb.a[1]],r=[yb.a[0],yb.a[1]],m="",s={position:"relative"},J==q("l")||J==q("r")?(gb.css(d.sw,j(yb.s[0])),r[0]=yb.a[0]*wb,m=d.pr+"width: "+j(p[0])+";",s.width=j(r[0])):J==q("t")||J==q("b")?(gb.css(d.sh,j(yb.s[1])),r[1]=yb.a[1]*wb,m=d.pr+"height:"+j(p[1])+";",s.height=j(r[1])):"fold"==J?(gb.css({position:"absolute",top:j(0),left:j(0),width:j(yb.s[0])}),s.width=j(r[0]),s.height=j(r[1])):(m="",s=""),f(m)&&ib.wrap('<div class="mTempWrap" style="'+m+'"></div>'),f(s)&&ib.css(s),p=r=m=s=""),g(eb)&&g(gb)&&eb.bind(M,function(){Yb();var c=a(this),d=eb.index(c);triggerTimeID=window.setTimeout(function(){var a=d+1-Eb;a>zb?(zb=a-1,ic()):(zb=a+1,hc()),Zb(X),$b(c)},z)}),g(jb)){if(R){for(b=0;vb>b;b++)i(jb,o.mainStateHtml,b+1,!0);b="",jb=jb.children()}jb.bind(M,function(){Yb();var d=a(this);b=jb.index(a(this)),triggerTimeID=window.setTimeout(function(){fc(b+1),Zb(X),$b(d)},z)})}if(g(lb)&&!Mb){if(S){for(t=0;Db>t;t++)i(lb,o.pageStateHtml,t+1,!0);t=""}lb=lb.children(),lb.bind(M,function(){Yb();var c=a(this);t=lb.index(a(this)),triggerTimeID=window.setTimeout(function(){mc(t+1),Zb(X),$b(c)},z)})}g(pb)&&pb.click(function(){hc()}),g(qb)&&qb.click(function(){ic()}),g(nb)&&(Mb?(nb.mousedown(function(){var a;switch(I){case q("t"):a=q("b");break;case q("b"):a=q("t");break;case q("l"):a=q("r");break;case q("r"):a=q("l")}Zb(!1),qc(!1,a,B/2)}),nb.mouseup(function(){Zb(X),qc(!1,I,B)})):nb.click(function(){jc()})),g(ob)&&(Mb?(ob.mousedown(function(){Zb(!1),qc(!1,I,B/2)}),ob.mouseup(function(){Zb(X),qc(!1,I,B)})):ob.click(function(){kc()})),g(tb)&&tb.click(function(){Yb(),O=!0,tb.hide(),g(ub)&&ub.show(),g(gb)?gc():nc(),Vb()}),g(ub)&&ub.click(function(){Yb(),O=!1,ub.hide(),g(tb)&&tb.show(),Wb()}
26),O?(g(tb)&&tb.hide(),g(ub)&&ub.show()):(g(tb)&&tb.show(),g(ub)&&ub.hide()),(X||$)&&(db.bind(u,function(){X?(Yb(),Zb(!0)):$&&(g(pb)&&l(pb).fadeIn(y),g(qb)&&l(qb).fadeIn(y),g(nb)&&l(nb).fadeIn(y),g(ob)&&l(ob).fadeIn(y))}),db.bind(v,function(){X?(Zb(!1),g(gb)?gc():nc()):$&&(g(pb)&&l(pb).fadeOut(y),g(qb)&&l(qb).fadeOut(y),g(nb)&&l(nb).fadeOut(y),g(ob)&&l(ob).fadeOut(y))})),bc(),ac()},dc=function(){var e,a=Ab,b=zb,c=Ab?!1:!0;a+=Eb,b+=Eb,Ab=zb,a!=b?(_b(zb),Sb(),ec(c,b)):U&&(e=n(gb.eq(b-1)),_b(zb,e?!1:!0),ec(c,b,"","",e?d.s:d.h)),O&&gc()},ec=function(a,b,c,e,h){if(!g(gb))return!1;var i="";switch(c=f(c)?c:w,e="n"==e?!1:!0,h=f(h)?h:d.s,b--,J){case"fade":l(gb).not(":eq("+b+")").hide(),gb.eq(b).animate({opacity:h},c,L,function(){e?Tb():!1});break;case"fold":l(gb).not(":eq("+b+")").animate({opacity:d.h},c,L),gb.eq(b).animate({opacity:h},c,L,function(){e?Tb():!1});break;case"slideDown":l(gb).not(":eq("+b+")").slideUp(c,L),h==d.s?gb.eq(b).slideDown(c,L,function(){e?Tb():!1}):gb.eq(b).slideUp(c,L,function(){e?Tb():!1});break;case q("t"):i=0-b*yb.a[1],a?(l(ib).css(d.t,j(i)),Tb()):l(ib).animate({top:j(i)},c,L,function(){e?Tb():!1});break;case q("b"):i=0-yb.a[1]*wb+(b+1)*yb.a[1],a?(l(ib).css({top:j(i)}),Tb()):l(ib).animate({top:j(i)},c,L,function(){e?Tb():!1});break;case q("l"):i=0-b*yb.a[0],a?(l(ib).css(d.l,j(i)),Tb()):l(ib).animate({left:j(i)},c,L,function(){e?Tb():!1});break;case q("r"):i=0-yb.a[0]*wb+(b+1)*yb.a[0],a?(l(ib).css({left:j(i)}),Tb()):l(ib).animate({left:j(i)},c,L,function(){e?Tb():!1});break;default:l(gb).not(":eq("+b+")").hide(c,L),h==d.s?gb.eq(b).show(c,L,function(){e?Tb():!1}):gb.eq(b).hide(c,L,function(){e?Tb():!1})}},fc=function(a,b){Yb(),zb=a,g(gb)?dc():Mb?qc(b):mc()},gc=function(){Yb(),O&&!Lb&&(Gb=window.setTimeout(ic,B))},hc=function(){var a=zb-1,b=Math.ceil(a/E),c=0;return!Q&&1>a?!1:(P?1>a?(a=vb,b=Db,c=vb-Eb,ec(!0,wb-Fb+1,0,"n"),lc(vb,0,"n")):c=(b-1)*E:1>a?(a=vb,b=Db,c=(Db-1)*E):c=(b-1)*E,Cb!=b&&(Cb=Bb=b,lc(c,w,"n")),fc(a),void 0)},ic=function(){var a=zb+1,b=Math.min(Math.ceil(a/E),Db),c=0;return!Q&&a>vb?!1:(P?a>vb?(a=1,b=1,ec(!0,Eb,0,"n"),lc(-Eb,0,"n")):c=(b-1)*E:a>vb?(a=1,b=1):c=(b-1)*E,Cb!=b&&(Cb=Bb=b,lc(c,w,"n")),fc(a),void 0)},jc=function(){var a=0,b=Bb-1,c=0;return!Q&&1>b?!1:(P?1>b?(Bb=Db+1,c=vb-Eb,a=Db*E-(E-1)+1,lc(vb,0,"n"),Z&&ec(!0,wb-Fb+1,0,"n")):(c=(b-1)*E,a=b*E-(E-1)+1):1>b?(Bb=Db+1,c=(Db-1)*E,a=vb-(E-1)+1):(c=(b-1)*E,a=b*E-(E-1)+1),Bb-=1,g(gb)&&Z?(zb=a,hc()):mc(Bb,c),void 0)},kc=function(){var a=0,b=Bb+1,c=0;return!Q&&b>Db?!1:(P?b>Db?(Bb=0,lc(-Eb,0,"n"),Z&&ec(!0,1,0,"n")):(c=(b-1)*E,a=c):b>Db?Bb=0:(c=(b-1)*E,a=c),Bb+=1,g(gb)&&Z?(zb=a,ic()):mc(Bb,c),void 0)},lc=function(a,b,c){if(!g(fb))return!1;b=f(b)?b:w,c="n"==c?!1:!0;var d="";switch(I){case q("t"):d=0-(a+Eb)*xb.a[1],d={top:j(d)};break;case q("b"):d=0-(wb-D)*xb.a[1]+(a+Eb)*xb.a[1],d={top:j(d)};break;case q("l"):d=0-(a+Eb)*xb.a[0],d={left:j(d)};break;case q("r"):d=0-(wb-D)*xb.a[0]+(a+Eb)*xb.a[0],d={left:j(d)}}l(fb).animate(d,x,L,function(){c?Tb():!1})},mc=function(a,b){Yb(),Bb=a?a:Bb,b=f(b)?b:(Bb-1)*E,_b(zb),Sb(),lc(b),O&&!g(gb)&&nc()},nc=function(){Yb(),O&&!Lb&&(Mb?qc():Gb=window.setTimeout(kc,B))},oc=function(){return Mb?(D=1,P=!1,void 0):!1},pc=function(a){var b=wb*xb.a[0],c=wb*xb.a[1];switch(b=Mb?fb.outerWidth(!0):b,c=Mb?fb.outerHeight(!0):c,a?a:I){case q("t"):c-Nb.scrollTop()<=0?Nb.scrollTop(Nb.scrollTop()-c+C):Nb.scrollTop(Nb.scrollTop()+C);break;case q("b"):c-Nb.scrollTop()>=c?Nb.scrollTop(Nb.scrollTop()+c-C):Nb.scrollTop(Nb.scrollTop()-C);break;case q("l"):b-Nb.scrollLeft()<=0?Nb.scrollLeft(Nb.scrollLeft()-b+C):Nb.scrollLeft(Nb.scrollLeft()+C);break;case q("r"):b-Nb.scrollLeft()>=b?Nb.scrollLeft(Nb.scrollLeft()+b-C):Nb.scrollLeft(Nb.scrollLeft()-C)}},qc=function(a,b,c){var e,f,h;if(Yb(),!g(eb)||D>vb)return!1;if(a){if(e=I==q("l")||I==q("r")?[d.sw,d.l]:[d.sh,""],Nb=fb.parent(".sTempWrap"),Nb.wrapInner('<div class="sTempWrapInner" style="'+e[0]+':100000%;"></div>'),d.l==e[1]){if(fb.css("float",d.l),Nb.width("100%"),Nb.children().css(d.sw,j(2.5*fb.outerWidth(!0))),fb.outerWidth(!0)<=Nb.outerWidth())return O=!1,!1}else if(Nb.height("100%"),Nb.children().css(d.sh,j(2.5*fb.outerHeight(!0))),fb.outerHeight(!0)<=Nb.outerHeight())return O=!1,!1;I==d.r&&(f=0-(fb.outerWidth(!0)-Nb.outerWidth()),fb.css(d.l,j(f))),I==d.b&&(h=0-(fb.outerHeight(!0)-Nb.outerHeight()),fb.css(d.t,j(h))),fb.clone().appendTo(Nb.children())}O&&!Lb&&(Gb=setInterval(function(){pc(b)},c?c:B))},rc=function(){return g(rb)?(rb.bind(d.c,"",function(){Yb();var b=a(this);a(window.document).unbind(d.c);try{setTimeout(function(){Xb(b)},0)}catch(c){}h(Kb[0],ab,bb),s(Kb[1],"h",J,w,L,function(){Ub()})}),void 0):!1},sc=function(){jb.bind(M,function(){var c,e,f,g,i;Yb(),c=a(this),e=jb.index(c),f=c.parent(),g=f.find(o.mainEl),i=n(g)?!1:U?!0:!1,Hb=window.setTimeout(function(){zb
26=e+1,i?(h(f,ab,bb),s(g,"h",J,w,L,function(){Ub()})):n(g)&&(Kb&&(h(Kb[0],ab,bb),s(Kb[1],"h",J,0,L,function(){Ub()})),Kb=[f,g,c],h(f,bb,ab),Sb(),Y&&p(c,g,G,H),s(g,"s",J,w,L,function(){Tb()}),a(window.document).bind(d.c,function(b){if(!Kb)return 1;var c=a(b.target||b.srcElement,f)[0];do{if(c==Kb[2][0]||c==Kb[1][0])return 1;c=c.parentNode}while(c.parentNode);a(this).unbind(d.c),h(Kb[0],ab,bb),s(Kb[1],"h",J,w,L,function(){Ub()})}))},z)}),M==u&&jb.bind(v,function(){Yb()}),rc()},tc=function(){uc(),jb.bind(M,function(b){Yb();var c=a(this),d=jb.index(c),e=l(c.find(o.mainEl));return Hb=window.setTimeout(function(){zb=d+1,Ab!=zb&&Kb&&(h(Kb[0],ab,bb),s(Kb[1],"h",J,w,L,function(){Ub()})),Ab=zb,Kb=[c,e],h(c,bb,ab),Sb(),Y&&p(c,e,G,H),s(e,"s",J,w,L,function(){Tb()})},z),N?(b.stopPropagation(),!1):void 0}),jb.bind(v,function(b){return Yb(),l(a(this).find(o.mainEl)),Hb=window.setTimeout(function(){var a=!0,b=!0;Kb&&(V&&F==Ab&&(a=!1,W&&(b=!1)),a&&h(Kb[0],ab,bb),b&&s(Kb[1],"h",J,w,L,function(){Ub()}))},z),N?(b.stopPropagation(),!1):void 0}),V&&(db.bind(u,function(){Ib&&window.clearTimeout(Ib)}),db.bind(v,function(){Ib=window.setTimeout(function(){uc()},w)})),rc()},uc=function(){var a=!1,b=!1;V?(a=!0,W&&(b=!0)):W&&(a=b=!0),(a||b)&&(Ab=zb=F,Kb=[jb.eq(zb-1)],Kb[1]=Kb[0].find(o.mainEl)),a&&h(Kb[0],bb,ab),(a||b)&&Sb(),b&&(Y&&p(Kb[0],Kb[1],G,H),s(Kb[1],"s",J,w,L,function(){Tb()}))},vc=function(){return{slide:function(){cc(),fc(zb,!0)},menu:function(){tc()},box:function(){sc()}}},wc=function(){try{Rb();var a=vc();
26a.hasOwnProperty(o.type)?a[o.type]():db.prepend("Error in type. type:[slide, box, menu]")}catch(b){alert(b.message)}},xc=function(){t.slide[c]=function(a){fc(a)},t.mPrev[c]=function(){hc()},t.mNext[c]=function(){ic()},t.scroll[c]=function(a){mc(a)},t.sPrev[c]=function(){jc()},t.sNext[c]=function(){kc()}},wc(),xc(),void 0)}),t}}(jQuery);
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.