1/*! 2 * SuperSlide v2.1.1 3 * è½»æ¾è§£å³ç½ç«å¤§é¨åç¹æå±ç¤ºé®é¢ 4 * 详尽信æ¯è¯·çå®ç½ï¼http://www.SuperSlide2.com/ 5 * 6 * Copyright 2011-2013, 大è¯ä¸»å¸ 7 * 8 * 请å°éååï¼ä¿ç头é¨çæ 9 * å¨ä¿ççæçåæä¸å¯åºç¨äºä¸ªäººæåä¸ç¨é 10 11 * v2.1.1ï¼ä¿®å¤å½è°ç¨å¤ä¸ªSuperSlideï¼å¹¶è®¾ç½®returnDefault:true æ¶è¿ådefaultIndexç´¢å¼é误 12 13 */ 14 15(function($){ 16 $.fn.slide=function(options){ 17 $.fn.slide.defaults={ 18 type:"slide", 19 effect:"fade", 20 autoPlay:false, 21 delayTime:500, 22 interTime:2500, 23 triggerTime:150, 24 defaultIndex:0, 25 titCell:".hd li", 26 mainCell:".bd", 27 targetCell:null, 28 trigger:"mouseover", 29 scroll:1, 30 vis:1, 31 titOnClassName:"on", 32 autoPage:false, 33 prevCell:".prev", 34 nextCell:".next", 35 pageStateCell:".pageState", 36 opp: false, 37 pnLoop:true, 38 easing:"swing", 39 startFun:null, 40 endFun:null, 41 switchLoad:null, 42 43 playStateCell:".playState", 44 mouseOverStop:true, 45 defaultPlay:true, 46 returnDefault:false 47 }; 48 49 return this.each(function() { 50 51 var opts = $.extend({},$.fn.slide.defaults,options); 52 var slider = $(this); 53 var effect = opts.effect; 54 var prevBtn = $(opts.prevCell, slider); 55 var nextBtn = $(opts.nextCell, slider); 56 var pageState = $(opts.pageStateCell, slider); 57 var playState = $(opts.playStateCell, slider); 58 59 var navObj = $(opts.titCell, slider);//导èªåå ç´ ç»å 60 var navObjSize = navObj.size(); 61 var conBox = $(opts.mainCell , slider);//å 容å ç´ ç¶å±å¯¹è±¡ 62 var conBoxSize=conBox.children().size(); 63 var sLoad=opts.switchLoad; 64 var tarObj = $(opts.targetCell, slider); 65 66 /*å符串转æ¢*/
vendor: 19,131 bytes, lines 67-456
67 var index=parseInt(opts.defaultIndex); 68 var delayTime=parseInt(opts.delayTime); 69 var interTime=parseInt(opts.interTime); 70 var triggerTime=parseInt(opts.triggerTime); 71 var scroll=parseInt(opts.scroll); 72 var vis=parseInt(opts.vis); 73 var autoPlay = (opts.autoPlay=="false"||opts.autoPlay==false)?false:true; 74 var opp = (opts.opp=="false"||opts.opp==false)?false:true; 75 var autoPage = (opts.autoPage=="false"||opts.autoPage==false)?false:true; 76 var pnLoop = (opts.pnLoop=="false"||opts.pnLoop==false)?false:true; 77 var mouseOverStop = (opts.mouseOverStop=="false"||opts.mouseOverStop==false)?false:true; 78 var defaultPlay = (opts.defaultPlay=="false"||opts.defaultPlay==false)?false:true; 79 var returnDefault = (opts.returnDefault=="false"||opts.returnDefault==false)?false:true; 80 81 var slideH=0; 82 var slideW=0; 83 var selfW=0; 84 var selfH=0; 85 var easing=opts.easing; 86 var inter=null;//autoPlay-setInterval 87 var mst =null;//trigger-setTimeout 88 var rtnST=null;//returnDefault-setTimeout 89 var titOn = opts.titOnClassName; 90 91 var onIndex = navObj.index( slider.find( "."+titOn) ); 92 var oldIndex = index = onIndex==-1?index:onIndex; 93 var defaultIndex = index; 94 95 96 var _ind = index; 97 var cloneNum = conBoxSize>=vis?( conBoxSize%scroll!=0?conBoxSize%scroll:scroll):0; 98 var _tar; 99 var isMarq = effect=="leftMarquee" || effect=="topMarquee"?true:false; 100 101 var doStartFun=function(){ if ( $.isFunction( opts.startFun) ){ opts.startFun( index,navObjSize,slider,$(opts.titCell, slider),conBox,tarObj,prevBtn,nextBtn ) } } 102 var doEndFun=function(){ if ( $.isFunction( opts.endFun ) ){ opts.endFun( index,navObjSize,slider,$(opts.titCell, slider),conBox,tarObj,prevBtn,nextBtn ) } } 103 var resetOn=function(){ navObj.removeClass(titOn); if( defaultPlay ) navObj.eq(defaultIndex).addClass(titOn) } 104 105 106 107 //åç¬å¤çèåææ 108 if( opts.type=="menu" ){ 109 110 if( defaultPlay ){ navObj.removeClass(titOn).eq(index).addClass(titOn); } 111 navObj.hover( 112 function(){ 113 _tar=$(this).find( opts.targetCell ); 114 var hoverInd =navObj.index($(this)); 115 116 mst = setTimeout(function(){ 117 index=hoverInd; 118 navObj.removeClass(titOn).eq (index).addClass(titOn); 119 doStartFun(); 120 switch (effect) 121 { 122 case "fade":_tar.stop(true,true).animate({opacity:"show"}, delayTime,easing,doEndFun ); break; 123 case "slideDown":_tar.stop(true,true).animate({height:"show"}, delayTime,easing,doEndFun ); break; 124 } 125 } ,opts.triggerTime); 126 127 },function(){ 128 clearTimeout(mst); 129 switch (effect){ case "fade":_tar.animate( {opacity:"hide"},delayTime,easing ); break; case "slideDown":_tar.animate( {height:"hide"},delayTime,easing ); break; } 130 } 131 ); 132 133 if (returnDefault){ 134 slider.hover(function(){clearTimeout(rtnST);},function(){ rtnST = setTimeout( resetOn,delayTime ); }); 135 } 136 137 138 return; 139 } 140 141 142 //å¤çå页 143 if( navObjSize==0 )navObjSize=conBoxSize;//åªæå·¦å³æé® 144 if( isMarq ) navObjSize=2; 145 if( autoPage ){ 146 if(conBoxSize>=vis){ 147 if( effect=="leftLoop" || effect=="topLoop" ){ navObjSize=conBoxSize%scroll!=0?(conBoxSize/scroll^0)+1:conBoxSize/scroll; } 148 else{ 149 var tempS = conBoxSize-vis; 150 navObjSize=1+parseInt(tempS%scroll!=0?(tempS/scroll+1):(tempS/scroll)); 151 if(navObjSize<=0)navObjSize=1; 152 } 153 } 154 else{ navObjSize=1 } 155 156 navObj.html(""); 157 var str=""; 158 159 if( opts.autoPage==true || opts.autoPage=="true" ){ for( var i=0; i<navObjSize; i++ ){ str+="<li>"+(i+1)+"</li>" } } 160 else{ for( var i=0; i<navObjSize; i++ ){ str+=opts.autoPage.replace("$",(i+1)) } } 161 navObj.html(str); 162 163 var navObj = navObj.children();//é置导èªåå ç´ å¯¹è±¡ 164 } 165 166 167 if(conBoxSize>=vis){ //å½å 容个æ°å°äºå¯è§ä¸ªæ°ï¼ä¸æ§è¡ææã 168 conBox.children().each(function(){ //åæå¤§å¼ 169 if( $(this).width()>selfW ){ selfW=$(this).width(); slideW=$(this).outerWidth(true); } 170 if( $(this).height()>selfH ){ selfH=$(this).height(); slideH=$(this).outerHeight(true); } 171 }); 172 173 var _chr = conBox.children(); 174 var cloneEle = function(){ 175 for( var i=0; i<vis ; i++ ){ _chr.eq(i).clone().addClass("clone").appendTo(conBox); } 176 for( var i=0; i<cloneNum ; i++ ){ _chr.eq(conBoxSize-i-1).clone().addClass("clone").prependTo(conBox); } 177 } 178 179 switch(effect) 180 { 181 case "fold": conBox.css({"position":"relative","width":slideW,"height":slideH}).children().css( {"position":"absolute","width":selfW,"left":0,"top":0,"display":"none"} ); break; 182 case "top": conBox.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; height:'+vis*slideH+'px"></div>').css( { "top":-(index*scroll)*slideH, "position":"relative","padding":"0","margin":"0"}).children().css( {"height":selfH} ); break; 183 case "left": conBox.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; width:'+vis*slideW+'px"></div>').css( { "width":conBoxSize*slideW,"left":-(index*scroll)*slideW,"position":"relative","overflow":"hidden","padding":"0","margin":"0"}).children().css( {"float":"left","width":selfW} ); break; 184 case "leftLoop": 185 case "leftMarquee": 186 cloneEle(); 187 conBox.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; width:'+vis*slideW+'px"></div>').css( { "width":(conBoxSize+vis+cloneNum)*slideW,"position":"relative","overflow":"hidden","padding":"0","margin":"0","left":-(cloneNum+index*scroll)*slideW}).children().css( {"float":"left","width":selfW} ); break; 188 case "topLoop": 189 case "topMarquee": 190 cloneEle(); 191 conBox.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; height:'+vis*slideH+'px"></div>').css( { "height":(conBoxSize+vis+cloneNum)*slideH,"position":"relative","padding":"0","margin":"0","top":-(cloneNum+index*scroll)*slideH}).children().css( {"height":selfH} ); break; 192 } 193 } 194 195 196 197 //é对leftLoopãtopLoopçæ»å¨ä¸ªæ° 198 var scrollNum=function(ind){ 199 var _tempCs= ind*scroll; 200 if( ind==navObjSize ){ _tempCs=conBoxSize; }else if( ind==-1 && conBoxSize%scroll!=0){ _tempCs=-conBoxSize%scroll; } 201 return _tempCs; 202 } 203 204 //忢å è½½ 205 var doSwitchLoad=function(objs){ 206 207 var changeImg=function(t){ 208 for ( var i= t; i<( vis+ t); i++ ){ 209 objs.eq(i).find("img["+sLoad+"]").each(function(){ 210 var _this = $(this); 211 _this.attr("src",_this.attr(sLoad)).removeAttr(sLoad); 212 if( conBox.find(".clone")[0] ){ //妿åå¨.clone 213 var chir = conBox.children(); 214 for ( var j=0 ; j< chir.size() ; j++ ) 215 { 216 chir.eq(j).find("img["+sLoad+"]").each(function(){ 217 if( $(this).attr(sLoad)==_this.attr("src") ) $(this).attr("src",$(this).attr(sLoad)).removeAttr(sLoad) 218 }) 219 } 220 } 221 }) 222 } 223 } 224 225 switch(effect) 226 { 227 case "fade": case "fold": case "top": case "left": case "slideDown": 228 changeImg( index*scroll ); 229 break; 230 case "leftLoop": case "topLoop": 231 changeImg( cloneNum+scrollNum(_ind) ); 232 break; 233 case "leftMarquee":case "topMarquee": 234 var curS = effect=="leftMarquee"? conBox.css("left").replace("px",""):conBox.css("top").replace("px",""); 235 var slideT = effect=="leftMarquee"? slideW:slideH; 236 var mNum=cloneNum; 237 if( curS%slideT!=0 ){ 238 var curP = Math.abs(curS/slideT^0); 239 if( index==1 ){ mNum=cloneNum+curP }else{ mNum=cloneNum+curP-1 } 240 } 241 changeImg( mNum ); 242 break; 243 } 244 }//doSwitchLoad end 245 246 247 //ææå½æ° 248 var doPlay=function(init){ 249 // å½åé¡µç¶æä¸è§¦åææ 250 if( defaultPlay && oldIndex==index && !init && !isMarq ) return; 251 252 //å¤ç页ç 253 if( isMarq ){ if ( index>= 1) { index=1; } else if( index<=0) { index = 0; } } 254 else{ 255 _ind=index; if ( index >= navObjSize) { index = 0; } else if( index < 0) { index = navObjSize-1; } 256 } 257 258 doStartFun(); 259 260 //å¤ç忢å è½½ 261 if( sLoad!=null ){ doSwitchLoad( conBox.children() ) } 262 263 //å¤çtargetCell 264 if(tarObj[0]){ 265 _tar = tarObj.eq(index); 266 if( sLoad!=null ){ doSwitchLoad( tarObj ) } 267 if( effect=="slideDown" ){ 268 tarObj.not(_tar).stop(true,true).slideUp(delayTime); 269 _tar.slideDown( delayTime,easing,function(){ if(!conBox[0]) doEndFun() }); 270 } 271 else{ 272 tarObj.not(_tar).stop(true,true).hide(); 273 _tar.animate({opacity:"show"},delayTime,function(){ if(!conBox[0]) doEndFun() }); 274 } 275 } 276 277 if(conBoxSize>=vis){ //å½å 容个æ°å°äºå¯è§ä¸ªæ°ï¼ä¸æ§è¡ææã 278 switch (effect) 279 { 280 case "fade":conBox.children().stop(true,true).eq(index).animate({opacity:"show"},delayTime,easing,function(){doEndFun()}).siblings().hide(); break; 281 case "fold":conBox.children().stop(true,true).eq(index).animate({opacity:"show"},delayTime,easing,function(){doEndFun()}).siblings().animate({opacity:"hide"},delayTime,easing);break; 282 case "top":conBox.stop(true,false).animate({"top":-index*scroll*slideH},delayTime,easing,function(){doEndFun()});break; 283 case "left":conBox.stop(true,false).animate({"left":-index*scroll*slideW},delayTime,easing,function(){doEndFun()});break; 284 case "leftLoop": 285 var __ind = _ind; 286 conBox.stop(true,true).animate({"left":-(scrollNum(_ind)+cloneNum)*slideW},delayTime,easing,function(){ 287 if( __ind<=-1 ){ conBox.css("left",-(cloneNum+(navObjSize-1)*scroll)*slideW); }else if( __ind>=navObjSize ){ conBox.css("left",-cloneNum*slideW); } 288 doEndFun(); 289 }); 290 break;//leftLoop end 291 292 case "topLoop": 293 var __ind = _ind; 294 conBox.stop(true,true).animate({"top":-(scrollNum(_ind)+cloneNum)*slideH},delayTime,easing,function(){ 295 if( __ind<=-1 ){ conBox.css("top",-(cloneNum+(navObjSize-1)*scroll)*slideH); }else if( __ind>=navObjSize ){ conBox.css("top",-cloneNum*slideH); } 296 doEndFun(); 297 }); 298 break;//topLoop end 299 300 case "leftMarquee": 301 var tempLeft = conBox.css("left").replace("px",""); 302 if(index==0 ){ 303 conBox.animate({"left":++tempLeft},0,function(){ 304 if( conBox.css("left").replace("px","")>= 0){ conBox.css("left",-conBoxSize*slideW) } 305 }); 306 } 307 else{ 308 conBox.animate({"left":--tempLeft},0,function(){ 309 if( conBox.css("left").replace("px","")<= -(conBoxSize+cloneNum)*slideW){ conBox.css("left",-cloneNum*slideW) } 310 }); 311 }break;// leftMarquee end 312 313 case "topMarquee": 314 var tempTop = conBox.css("top").replace("px",""); 315 if(index==0 ){ 316 conBox.animate({"top":++tempTop},0,function(){ 317 if( conBox.css("top").replace("px","")>= 0){ conBox.css("top",-conBoxSize*slideH) } 318 }); 319 } 320 else{ 321 conBox.animate({"top":--tempTop},0,function(){ 322 if( conBox.css("top").replace("px","")<= -(conBoxSize+cloneNum)*slideH){ conBox.css("top",-cloneNum*slideH) } 323 }); 324 }break;// topMarquee end 325 326 }//switch end 327 } 328 329 navObj.removeClass(titOn).eq(index).addClass(titOn); 330 oldIndex=index; 331 if( !pnLoop ){ //pnLoopæ§å¶ååæé®æ¯å¦ç»§ç»å¾ªç¯ 332 nextBtn.removeClass("nextStop"); prevBtn.removeClass("prevStop"); 333 if (index==0 ){ prevBtn.addClass("prevStop"); } 334 if (index==navObjSize-1 ){ nextBtn.addClass("nextStop"); } 335 } 336 337 pageState.html( "<span>"+(index+1)+"</span>/"+navObjSize); 338 339 };// doPlay end 340 341 //åå§åæ§è¡ 342 if( defaultPlay ){ doPlay(true); } 343 344 if (returnDefault)//è¿åé»è®¤ç¶æ 345 { 346 slider.hover(function(){ clearTimeout(rtnST) },function(){ 347 rtnST = setTimeout( function(){ 348 index=defaultIndex; 349 if(defaultPlay){ doPlay(); } 350 else{ 351 if( effect=="slideDown" ){ _tar.slideUp( delayTime, resetOn ); } 352 else{ _tar.animate({opacity:"hide"},delayTime,resetOn ); } 353 } 354 oldIndex=index; 355 },300 ); 356 }); 357 } 358 359 ///èªå¨ææ¾å½æ° 360 var setInter = function(time){ inter=setInterval(function(){ opp?index--:index++; doPlay() }, !!time?time:interTime); } 361 var setMarInter = function(time){ inter = setInterval(doPlay, !!time?time:interTime); } 362 // å¤çmouseOverStop 363 var resetInter = function(){ if( !mouseOverStop ){clearInterval(inter); setInter() } } 364 // ååæé®è§¦å 365 var nextTrigger = function(){ if ( pnLoop || index!=navObjSize-1 ){ index++; doPlay(); if(!isMarq)resetInter(); } } 366 var prevTrigger = function(){ if ( pnLoop || index!=0 ){ index--; doPlay(); if(!isMarq)resetInter(); } } 367 //å¤çplayState 368 var playStateFun = function(){ clearInterval(inter); isMarq?setMarInter():setInter(); playState.removeClass("pauseState") } 369 var pauseStateFun = function(){ clearInterval(inter);playState.addClass("pauseState"); } 370 371 //èªå¨ææ¾ 372 if (autoPlay) { 373 if( isMarq ){ 374 opp?index--:index++; setMarInter(); 375 if(mouseOverStop) conBox.hover(pauseStateFun,playStateFun); 376 }else{ 377 setInter(); 378 if(mouseOverStop) slider.hover( pauseStateFun,playStateFun ); 379 } 380 } 381 else{ if( isMarq ){ opp?index--:index++; } playState.addClass("pauseState"); } 382 383 playState.click(function(){ playState.hasClass("pauseState")?playStateFun():pauseStateFun() }); 384 385 //titCelläºä»¶ 386 if(opts.trigger=="mouseover"){ 387 navObj.hover(function(){ var hoverInd = navObj.index(this); mst = setTimeout(function(){ index=hoverInd; doPlay(); resetInter(); },opts.triggerTime); }, function(){ clearTimeout(mst) }); 388 }else{ navObj.click(function(){ index=navObj.index(this); doPlay(); resetInter(); }) } 389 390 //ååæé®äºä»¶ 391 if (isMarq){ 392 393 nextBtn.mousedown(nextTrigger); 394 prevBtn.mousedown(prevTrigger); 395 //ååæé®é¿æ10åå é 396 if (pnLoop) 397 { 398 var st; 399 var marDown = function(){ st=setTimeout(function(){ clearInterval(inter); setMarInter( interTime/10^0 ) },150) } 400 var marUp = function(){ clearTimeout(st); clearInterval(inter); setMarInter() } 401 nextBtn.mousedown(marDown); nextBtn.mouseup(marUp); 402 prevBtn.mousedown(marDown); prevBtn.mouseup(marUp); 403 } 404 //ååæé®mouseoveräºä»¶ 405 if( opts.trigger=="mouseover" ){ nextBtn.hover(nextTrigger,function(){}); prevBtn.hover(prevTrigger,function(){}); } 406 }else{ 407 nextBtn.click(nextTrigger); 408 prevBtn.click(prevTrigger); 409 } 410 411 });//each End 412 413 };//slide End 414 415})(jQuery); 416 417jQuery.easing['jswing'] = jQuery.easing['swing']; 418jQuery.extend( jQuery.easing, 419{ 420 def: 'easeOutQuad', 421 swing: function (x, t, b, c, d) { return jQuery.easing[jQuery.easing.def](x, t, b, c, d); }, 422 easeInQuad: function (x, t, b, c, d) {return c*(t/=d)*t + b;}, 423 easeOutQuad: function (x, t, b, c, d) {return -c *(t/=d)*(t-2) + b}, 424 easeInOutQuad: function (x, t, b, c, d) {if ((t/=d/2) < 1) return c/2*t*t + b;return -c/2 * ((--t)*(t-2) - 1) + b}, 425 easeInCubic: function (x, t, b, c, d) {return c*(t/=d)*t*t + b}, 426 easeOutCubic: function (x, t, b, c, d) {return c*((t=t/d-1)*t*t + 1) + b}, 427 easeInOutCubic: function (x, t, b, c, d) {if ((t/=d/2) < 1) return c/2*t*t*t + b;return c/2*((t-=2)*t*t + 2) + b}, 428 easeInQuart: function (x, t, b, c, d) {return c*(t/=d)*t*t*t + b}, 429 easeOutQuart: function (x, t, b, c, d) {return -c * ((t=t/d-1)*t*t*t - 1) + b}, 430 easeInOutQuart: function (x, t, b, c, d) {if ((t/=d/2) < 1) return c/2*t*t*t*t + b;return -c/2 * ((t-=2)*t*t*t - 2) + b}, 431 easeInQuint: function (x, t, b, c, d) {return c*(t/=d)*t*t*t*t + b}, 432 easeOutQuint: function (x, t, b, c, d) {return c*((t=t/d-1)*t*t*t*t + 1) + b}, 433 easeInOutQuint: function (x, t, b, c, d) {if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;return c/2*((t-=2)*t*t*t*t + 2) + b}, 434 easeInSine: function (x, t, b, c, d) {return -c * Math.cos(t/d * (Math.PI/2)) + c + b}, 435 easeOutSine: function (x, t, b, c, d) {return c * Math.sin(t/d * (Math.PI/2)) + b}, 436 easeInOutSine: function (x, t, b, c, d) {return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b}, 437 easeInExpo: function (x, t, b, c, d) {return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b}, 438 easeOutExpo: function (x, t, b, c, d) {return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b}, 439 easeInOutExpo: function (x, t, b, c, d) {if (t==0) return b;if (t==d) return b+c;if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;return c/2 * (-Math.pow(2, -10 * --t) + 2) + b}, 440 easeInCirc: function (x, t, b, c, d) {return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b}, 441 easeOutCirc: function (x, t, b, c, d) {return c * Math.sqrt(1 - (t=t/d-1)*t) + b}, 442 easeInOutCirc: function (x, t, b, c, d) {if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b}, 443 easeInElastic: function (x, t, b, c, d) {var s=1.70158;var p=0;var a=c;if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;if (a < Math.abs(c)) { a=c; var s=p/4; } 444 else var s = p/(2*Math.PI) * Math.asin (c/a);return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b}, 445 easeOutElastic: function (x, t, b, c, d) {var s=1.70158;var p=0;var a=c;if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;if (a < Math.abs(c)) { a=c; var s=p/4; } 446 else var s = p/(2*Math.PI) * Math.asin (c/a);return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b}, 447 easeInOutElastic: function (x, t, b, c, d) {var s=1.70158;var p=0;var a=c;if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);if (a < Math.abs(c)) { a=c; var s=p/4; } 448 else var s = p/(2*Math.PI) * Math.asin (c/a);if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b}, 449 easeInBack: function (x, t, b, c, d, s) {if (s == undefined) s = 1.70158;return c*(t/=d)*t*((s+1)*t - s) + b}, 450 easeOutBack: function (x, t, b, c, d, s) {if (s == undefined) s = 1.70158;return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b}, 451 easeInOutBack: function (x, t, b, c, d, s) {if (s == undefined) s = 1.70158; 452 if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b}, 453 easeInBounce: function (x, t, b, c, d) {return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b}, 454 easeOutBounce: function (x, t, b, c, d) {if ((t/=d) < (1/2.75)) { return c*(7.5625*t*t) + b;} else if (t < (2/2.75)) { return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;} else if (t < (2.5/2.75)) { return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;} else { return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;}}, 455 easeInOutBounce: function (x, t, b, c, d) {if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;} 456});
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.