| 53 | for(i in f)s=A(p?g[i]:0,i,d),i in g||(g[i]=s.start,p&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function q(e,t){var n,i,r,o,s |
| 54 | for(n in e)if(i=Z.camelCase(n),r=t[i],o=e[n],Z.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),s=Z.cssHooks[i],s&&"expand"in s){o=s.expand(o),delete e[i] |
| 55 | for(n in o)n in e||(e[n]=o[n],t[n]=r)}else t[i]=r}function L(e,t,n){var i,r,o=0,s=tt.length,a=Z.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1 |
| 56 | for(var t=Ge||F(),n=Math.max(0,c.startTime+c.duration-t),i=n/c.duration||0,o=1-i,s=0,l=c.tweens.length;l>s;s++)c.tweens[s].run(o) |
| 57 | return a.notifyWith(e,[c,o,n]),1>o&&l?n:(a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Ge||F(),duration:n.duration,tweens:[],createTween:function(t,n){var i=Z.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing) |
| 58 | return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0 |
| 59 | if(r)return this |
| 60 | for(r=!0;i>n;n++)c.tweens[n].run(1) |
| 61 | return t?a.resolveWith(e,[c,t]):a.rejectWith(e,[c,t]),this}}),u=c.props |
| 62 | for(q(u,c.opts.specialEasing);s>o;o++)if(i=tt[o].call(c,e,u,c.opts))return i |
| 63 | return Z.map(u,A,c),Z.isFunction(c.opts.start)&&c.opts.start.call(e,c),Z.fx.timer(Z.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function H(e){return function(t,n){"string"!=typeof t&&(n=t,t="*") |
| 64 | var i,r=0,o=t.toLowerCase().match(he)||[] |
| 65 | if(Z.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function M(e,t,n,i){function r(a){var l |
| 66 | return o[a]=!0,Z.each(e[a]||[],function(e,a){var c=a(t,n,i) |