diff --git a/docs/jquery.reel.html b/docs/jquery.reel.html index d7a6f73c..9b9ec35f 100644 --- a/docs/jquery.reel.html +++ b/docs/jquery.reel.html @@ -2309,12 +2309,12 @@

Initialization

stage_id= hash(id+opt.suffix), img_class= t.attr(_class_), classes= !img_class ? __ : img_class+___, - $overlay= $(tag(_div_), { id: stage_id.substr(1), 'class': classes+overlay_klass+___+frame_klass+'0' }), + $overlay= $(tag(_div_), { id: stage_id.substr(1), 'class': classes+___+overlay_klass+___+frame_klass+'0' }), $instance= t.wrap($overlay.addClass(opt.klass)).addClass(klass), instances_count= instances.push(add_instance($instance)[0]), $overlay= $instance.parent().bind(on.instance) set(_image_, images.length ? __ : opt.image || src.replace(reel.re.image, '$1' + opt.suffix + '.$2')); - set(_cache_, $(tag(_div_))); + set(_cache_, $(tag(_div_), { 'class': cache_klass }).appendTo('body')); set(_area_, $()), set(_cached_, []); set(_frame_, null); @@ -2357,6 +2357,8 @@

Initialization

responsive || css(__, { width: width, height: height }); responsive && $.each(responsive_keys, function(i, key){ truescale[key]= get(key) }); css(____+___+dot(klass), { display: _block_ }); + css(dot(cache_klass), { position: 'fixed', left: px(-100), top: px(-100) }, true); + css(dot(cache_klass)+___+_img_, { position: _absolute_, width: 10, height: 10 }, true); pool.bind(on.pool); t.trigger(shy ? 'prepare' : 'setup') }, @@ -2449,6 +2451,7 @@

teardown Event

no_bias(); t.removeAttr('onloaded'); remove_instance(t.unbind(ns).removeData().unwrap().attr(backup.attr).data(backup.data)); + t.attr(_style_) == __ && t.removeAttr(_style_); }, @@ -5434,6 +5437,7 @@

CSS Class Names

    overlay_klass= klass + '-overlay',
+    cache_klass= klass + '-cache',
     indicator_klass= klass + '-indicator',
     preloader_klass= klass + '-preloader',
     monitor_klass= klass + '-monitor',
diff --git a/jquery.reel-min.js b/jquery.reel-min.js
index 03db479b..e5228cd5 100644
--- a/jquery.reel-min.js
+++ b/jquery.reel-min.js
@@ -9,43 +9,44 @@
 
  Requires jQuery 1.6.2 or higher
 */
-(function(k){var T=typeof define=="function"&&define.amd&&(define(["jquery"],k)||true),U=!T&&typeof module=="object"&&typeof module.exports=="object"&&(module.exports=k);!T&&!U&&k()})(function(){return jQuery.reel||function(k,T,U,s){function Ac(f){return n.instances.push(f[0])&&f}function Bc(f){return(n.instances=n.instances.not(Ca(f.attr(ka))))&&f}function Y(f){return n.instances.first().data(f)}function Cc(f){return"data:image/gif;base64,R0lGODlh"+f}function V(f){return"<"+f+"/>"}function x(f){return"."+
-(f||"")}function Ua(f){return f.replace(Da,n.cdn)}function Ea(f){return"url('"+tb(f)+"')"}function $b(f,j){return typeof j==ub?j[f]:j}function Fa(f,j,o){return vb(f,Ga(j,o))}function Ha(f,j){return H(f)*(j?-1:1)}function Va(f){return la?f.touch||f.originalEvent.touches[0]:f}function wb(f){return f.originalEvent}function y(f){return f===s?0:typeof f==xb?f:f+"px"}function Ca(f){return"#"+f}function Wa(f,j,o){for(;f.length "+x(A)+")").each(function(f,j){f=k(j);j=
-f.data();j.images=yb(j.images);var o={};k(x(cc)+"[data-for="+f.attr(ka)+"]").each(function(u,t){u=k(t);t=u.data();t.x=bc(yb(t.x));t.y=bc(yb(t.y));var g=u.attr(ka);t.node=u.removeData();o[g]=t});j.annotations=o;f.removeData().reel(j)})},fn:{reel:function(){var f=arguments,j=k(this),o=j.data(),u=f[0]||{},t=f[1];if(typeof u=="object"){var g=k.extend({},n.def,u),K=[];j.filter(Bb).unreel().filter(function(){var h=k(this),e=g.attr,a=e.src||h.attr(Cb),I=e.width||h.attr(L)||h.width();h=e.height||h.attr(B)||
-h.height();if(a&&I&&h)return true;else Dc("Missing attributes: Image needs `src` and both dimensions to be set to Reel")}).each(function(){var h=k(this),e=function(c,d){return h.reel(c,d)&&h.data(c)},a=function(c){return h.reel(c)},I={setup:function(){if(!(h.hasClass(A)&&h.parent().hasClass(Ab))){e(Ia,g);var c={src:h.attr(Cb),width:h.attr(B)||null,height:h.attr(L)||null,style:h.attr(ra)||null,"class":h.attr(dc)||null},d=h.attr(g.attr).attr(Cb),b=e(ka,h.attr(ka)||h.attr(ka,A+"-"+ +new Date).attr(ka)),
-i=k.extend({},h.data()),p=e($,g.images||[]),m=e(W,g.stitched),l=!p.length||m;l=e(Xa,g.responsive&&(Ec?true:!l));var q=e(ec,{}),r=g.loops,v=g.orbital,E=g.revolution,aa=g.rows,ba=e(sa,Ga(g.footage,g.frames));e(Ya,g.spacing);var Db=e(B,+h.attr(B)||h.width()),Eb=e(L,+h.attr(L)||h.height()),Fc=e(Ja,g.shy),fc=e(O,v&&ba||aa<=1&&p.length||g.frames),Gc=aa>1||v;e(Ka,$b("x",E)||m/2||Db*2);e(Fb,!Gc?0:$b("y",E)||(aa>3?Eb:Eb/(5-aa)));aa=m?1:ma(fc/ba);e(Gb,m-(r?0:Db));e(Za,0);b=Ca(b+g.suffix);r=h.attr(dc);r=!r?
-X:r+C;r=k(V(ta),{id:b.substr(1),"class":r+Ab+C+gc+"0"});r=h.wrap(r.addClass(g.klass)).addClass(A);K.push(Ac(r)[0]);r=r.parent().bind(I.instance);e(Hb,p.length?X:g.image||d.replace(n.re.image,"$1"+g.suffix+".$2"));e($a,k(V(ta)));e(La,k());e(hc,[]);e(J,null);e(z,null);e(P,g.row);e(ua,0);e(Ib,aa);e(ic,g.rowlock);e(jc,g.framelock);e(ab,e(Ma,e(bb,0)));e(cb,1/fc);e(kc,b);e(M,e(va,g.speed)<0);e(Na,false);e(na,0);e(wa,g.vertical);e(ca,0);e(xa,Ha(1,!g.cw&&!m));e(db,{});e(da,false);e(eb,e(Jb,0));e(fb,e(gb,
-0));e(Oa,false);e(Kb,false);e(ea,false);e(lc,g.brake);e(Lb,!!v);e(fa,g.tempo/(n.lazy?g.laziness:1));e(ya,-1);e(hb,-1);e(Pa,g.annotations||r.unbind(x(Pa))&&{});e(Mb,1);e(mc,{attr:c,data:i});g.steppable||r.unbind("up.steppable");g.indicator||r.unbind(".indicator");D(X,{overflow:Nb,position:"relative"});l||D(X,{width:Db,height:Eb});l&&k.each(Hc,function(bd,nc){q[nc]=a(nc)});D(oa+C+x(A),{display:Ob});ga.bind(I.pool);h.trigger(Fc?"prepare":"setup")}},instance:{teardown:function(){var c=h.data(mc);h.parent().unbind(I.instance);
-if(a(Ja))h.parent().unbind(ib,ha);else a(ra).remove()&&a(La).unbind(F);a($a).empty();clearTimeout(Pb);clearTimeout(Qb);k(T).unbind(oc,pc);k(T).unbind(F);ga.unbind(I.pool);ia.unbind(ja);h.siblings().unbind(F).remove();jb();h.removeAttr("onloaded");Bc(h.unbind(F).removeData().unwrap().attr(c.attr).data(c.data))},setup:function(){function c(q){return h.trigger("down",[Va(q).clientX,Va(q).clientY,q])&&q.give}function d(q,r){return!r||h.trigger("wheel",[r,q])&&q.give}var b=h.parent().append(za()),i=e(La,
-k(g.area||b)),p=g.rows>1;D(C+x(A),{MozUserSelect:kb,WebkitUserSelect:kb,MozTransform:"translateZ(0)"});h.unbind(ib,ha);if(la)i.bind(Ic,c);else{var m=g.cursor,l=m==qc?Jc:m||Kc;m=m==qc?Lc+C+"!important":s;D(X,{cursor:Ua(l)});D(x(Rb),{cursor:"wait"});D(x(lb)+oa+x(lb)+" *",{cursor:Ua(m||l)},true);i.bind(g.wheelable?Mc:null,d).bind(g.clickfree?Nc:Oc,c).bind(Pc,function(){return false})}if(a(Xa)){D(C+x(A),{width:"100%",height:Sb});k(T).bind(oc,pc)}g.hint&&i.attr("title",g.hint);g.indicator&&b.append(Qa("x"));
-p&&g.indicator&&b.append(Qa("y"));g.monitor&&b.append(rc=k(V(ta),{"class":sc}))&&D(C+x(sc),{position:mb,left:0,top:0})},preload:function(){function c(r,v){setTimeout(function(){!ac(d)&&v.attr({src:tb(r)})},(l-m.length)*2)}var d=h.parent(),b=a($),i=!b.length,p=n.preload[g.preload]||n.preload[n.def.preload],m=i?[a(Hb)]:p(b.slice(0),g,a),l=m.length;e(ca,i?0.5:0);b=a($a).empty();i=[];d.addClass(Rb);e(ra,a(ra)||k("<"+ra+' type="text/css">'+D.rules.join("\n")+"").prependTo(Tb));e(Na,true);h.trigger("stop");
-g.responsive&&Ub();for(h.trigger("resize",true);m.length;){p=n.substitute(g.path+m.shift(),a);var q=k(V(Bb)).appendTo(b);q.bind("load error abort",function(r){r.type!="load"&&h.trigger(r.type);return!ac(d)&&h.trigger("preloaded")&&false});c(p,q);i.push(p)}e(hc,i);e(Ja,false)},preloaded:function(){var c=a($).length||1,d=e(ca,Ga(a(ca)+1,c));d===1&&h.trigger("frameChange",[s,a(J)]);if(d===c){h.parent().removeClass(Rb);h.trigger("loaded")}},loaded:function(){a($).length>1||h.css({backgroundImage:Ea(n.substitute(g.path+
-a(Hb),a))}).attr({src:Ua(tc)});a(W)&&h.attr({src:Ua(tc)});a(Kb)||e(na,g.velocity||0);e(Na,false);pa=true},prepare:function(){h.css("display",Ob).parent().one(ib,ha)},opening:function(){if(!g.opening)return h.trigger("openingDone");e(ea,true);e(Vb,!a(va));var c=g.entry||g.speed,d=a(z),b=g.opening;e(z,d-c*b);e(ya,ma(b*Y(fa)))},openingDone:function(){function c(b){return h.trigger("orient",[wb(b).alpha,wb(b).beta,wb(b).gamma,b])&&b.give}e(Ra,false);e(ea,false);var d=nb+x(ea);ga.unbind(d,I.pool[d]);la&&
-g.orientable&&k(T).bind(Qc,c);if(g.delay>0)Pb=setTimeout(function(){h.trigger("play")},g.delay*1E3);else h.trigger("play")},play:function(c,d){d=d?e(va,d):a(va)*Ha(1,a(M));(c=g.duration)&&e(hb,ma(c*Y(fa)));e(M,d<0);d=e(Ra,!!d);e(Vb,!d);Aa()},reach:function(c,d,b){if(d!=a(J)){c=a(O);e(P,ma(d/c));var i=e(ab,a(J));d=e(Ma,d);d=e(bb,n.math.distance(i,d,c));b=H(b||a(va))*Ha(1,d<0);h.trigger("play",b)}},pause:function(){w()},stop:function(){var c=e(Vb,true);e(Ra,!c)},down:function(c,d,b,i){function p(l){return h.trigger("pan",
-[Va(l).clientX,Va(l).clientY,l])&&l.give}function m(l){return h.trigger("up",[l])&&l.give}if(!(i&&i.button!=Rc&&!g.clickfree))if(g.draggable){e(da,a(J));c=g.clickfree;e(na,0);ob=pb(a(Ka),d,b);la||i&&i.preventDefault();w();jb();G=0;k(zb,ia).addClass(lb);la?ia.bind(Sc,p).bind(Tc+C+Uc,m):(c?a(La):ia).bind(Vc,p).bind(c?Wc:Xc,m)}},up:function(){e(da,false);e(Oa,false);var c=g.throwable,d=H(Sa[0]+Sa[1])/60;N=e(na,!c?0:c===true?d:Ga(c,d))?1:0;w();jb();k(zb,ia).removeClass(lb);(g.clickfree?a(La):ia).unbind(ja)},
-pan:function(c,d,b,i){if(g.draggable&&Ta){Ta=false;w();c=g.rows;var p=g.orbital,m=la&&!a(Oa)&&c<=1&&!p&&g.scrollable,l={x:d-ob.x,y:b-ob.y},q={x:H(l.x),y:H(l.y)};if(i&&m&&q.x0||q.y>0){i&&(i.give=false);G=vb(q.x,q.y);ob={x:d,y:b};i=a(Ka);m=a(db);q=a(wa);if(!a(jc)){var r=e(z,uc(q?b-m.y:d-m.x,a(eb),i,a(fb),a(gb),a(xa),q?b-m.y:d-m.x));e(Oa,a(Oa)||a(J)!=a(da));(l=vc(q?l.y:l.x||0))&&e(M,l<0)}if(p&&a(Lb)){e(wa,H(b-m.y)>H(d-m.x));m=pb(i,d,b)}if(c>1&&!a(ic)){c=a(Fb);p=a(Jb);l=
--p*c;e(ua,n.math.envelope(b-m.y,p,c,l,l+c,-1))}!(r%1)&&!g.loops&&pb(i,d,b)}}},wheel:function(c,d,b){if(d){qb=true;c=ma(qa.sqrt(H(d))/2);c=Ha(c,d>0);d=0.0833*a(Ka);pb(d);c&&e(M,c<0);e(na,0);e(z,uc(c,a(eb),d,a(fb),a(gb),a(xa)));b&&b.preventDefault();b&&(b.give=false);w();h.trigger("up",[b])}},orient:function(c,d){if(!(!Ta||Q)){wc=true;c=d/360;fraction=e(z,+(g.stitched||g.cw?1-c:c).toFixed(2));Ta=false}},fractionChange:function(c,d,b){if(d===s){c=1+rb(b/a(cb));d=g.rows>1;b=g.orbital;e(Lb,!!b&&(c<=b||
-c>=a(sa)-b+2));if(d)c+=(a(P)-1)*a(O);e(J,c)}},tierChange:function(c,d,b){if(d===s){c=e(P,R(Wb(b,1,g.rows)));d=a(O);b=a(J)%d||d;e(J,b+c*d-d)}},rowChange:function(c,d,b){d===s&&Xb(ua,s,b,g.rows)},frameChange:function(c,d,b){if(d===s){this.className=this.className.replace(n.re.frame_klass,gc+b);c=a(O);d=g.rows;var i=g.path,p=b%c||c,m=((b-p)/c+1-1)/(d-1),l=a(P);!d?a(ua):Xb(ua,m,l,d);var q=Xb(z,s,p,c),r=a(sa);if(g.orbital&&a(wa)){b=g.inversed?r+1-b:b;b+=r}var v=a(W);c=a($);if(!c.length||v){p=a(Ya);var E=
-a(B);m=a(L);if(v){b=e(Za,R(Wb(q,0,a(Gb)))%v);d=d<=1?0:(m+p)*(d-l);b=[y(-b),y(-d)];c=c.length>1&&c[l-1];d=n.substitute(i+c,a);c&&h.css("backgroundImage").search(d)<0&&h.css({backgroundImage:Ea(d)})}else{i=g.horizontal;l=b%r-1;l=l<0?r-1:l;b=rb((b-0.1)/r);b+=d>1?0:a(M)?0:!g.directional?0:a(Ib);b=b*((i?m:E)+p);d=l*((i?E:m)+p);b=c.length?[0,0]:i?[y(-d),y(-b)]:[y(-b),y(-d)]}h.css({backgroundPosition:b.join(C)})}else{a(Xa)&&Ub();a(ca)&&h.attr({src:tb(n.substitute(i+c[b-1],a))})}}},"frameChange.reach":function(c,
-d,b){if(!(!a(Ma)||d!==s)){c=n.math.distance(a(ab),b,a(O));if(H(c)>=H(a(bb))){e(J,e(Ma));e(Ma,e(bb,e(ab,0)));h.trigger("stop")}}},"imageChange imagesChange":function(){h.trigger("preload")},"fractionChange.indicator":function(c,d,b){if(g.indicator&&d===s){c=g.indicator;var i=g.orbital;d=i&&a(wa)?a(L):a(B);i=i?a(sa):g.images.length||a(O);i=ma(d/i);d-=i;b=R(Wb(b,0,d));b=!g.cw||a(W)?b:d-b;Qa.$x.css(a(wa)?{left:0,top:y(b),bottom:Sb,width:c,height:i}:{bottom:0,left:y(b),top:Sb,width:i,height:c})}},"tierChange.indicator":function(c,
-d,b){if(g.rows>1&&g.indicator&&d===s){var i=a(L);c=g.indicator;d=ma(i/g.rows);i-=d;b=R(b*i);Qa.$y.css({left:0,top:b,width:c,height:d})}},"setup.annotations":function(){var c=h.parent();k.each(a(Pa),function(d,b){var i=typeof b.node==xb?k(b.node):b.node||{};i=i.jquery?i:k(V(ta),i);i=i.attr({id:d}).addClass(cc);var p=b.image?k(V(Bb),b.image):k(),m=b.link?k(V("a"),b.link).click(function(){h.trigger("up.annotations",{target:m})}):k();D(Ca(d),{display:kb,position:mb},true);b.image||b.link&&i.append(m);
-b.link||b.image&&i.append(p);b.link&&b.image&&i.append(m.append(p));i.appendTo(c)})},"prepare.annotations":function(){k.each(a(Pa),function(c){k(Ca(c)).hide()})},"frameChange.annotations":function(c,d){if(!(!a(ca)||d!==s)){var b=a(B),i=a(W),p=a(Za);k.each(a(Pa),function(m,l){m=k(Ca(m));var q=l.start||1,r=l.end,v=v||a(J),E=v-1,aa=l.at?l.at[E]=="+":false;E=l.at?E:E-q+1;v=typeof l.x!=ub?l.x:l.x[E];var ba=typeof l.y!=ub?l.y:l.y[E];l=v!==s&&ba!==s&&(l.at?aa:E>=0&&(!r||E<=r-q));if(i){q=v>i-b&&p>=0&&pi-b)?v:v+i;v=!q?v:v-i;v-=p}if(a(Xa)){q=a(Mb);v=v&&v*q;ba=ba&&ba*q}v={display:l?Ob:kb,left:y(v),top:y(ba)};m.css(v)})}},"up.annotations":function(c,d){if(!(G>10||qb)){c=k(d.target);(c.is("a")?c:c.parents("a")).attr("href")&&(G=10)}},"up.steppable":function(){G||qb||h.trigger(a(db).x-h.offset().left>0.5*a(B)?"stepRight":"stepLeft")},"stepLeft stepRight":function(){w()},stepLeft:function(){e(M,false);e(z,a(z)-a(cb)*a(xa))},stepRight:function(){e(M,true);e(z,a(z)+a(cb)*a(xa))},stepUp:function(){e(P,
-a(P)-1)},stepDown:function(){e(P,a(P)+1)},resize:function(c,d){if(!(a(Na)&&!d)){var b=a(W),i=a(Ya);c=a(L);var p=!a($).length||b,m=g.rows||1;b=a($).length?!b?s:y(b)+C+y(c):b&&y(b)+C+y((c+i)*m-i)||y((a(B)+i)*a(sa)-i)+C+y((c+i)*a(Ib)*m*(g.directional?2:1)-i);h.css({height:p?y(c):null,backgroundSize:b||null});d||h.trigger("imagesChange")}},"setup.fu":function(){e(J,g.frame+(a(P)-1)*a(O));h.trigger("preload")},"wheel.fu":function(){qb=false},"clean.fu":function(){h.trigger("teardown")},"loaded.fu":function(){h.trigger("opening")}},
-pool:{"tick.reel.preload":function(){if(!(!(pa||a(Na))||a(Ja))){var c=a(B),d=Yc(za.$.css(B)),b=a($).length||1,i=R(1/b*a(ca)*c);za.$.css({width:d+(i-d)/3+1});if(a(ca)===b&&d>c-1){pa=false;za.$.fadeOut(300,function(){za.$.css({opacity:1,width:0})})}}},"tick.reel":function(c){if(!a(Ja)){var d=a(na),b=Y(fa),i=g.monitor;if(!(!n.intense&&Zc())){if(N){d=d-a(lc)/b*N;d=e(na,d>0.1?d:(N=Q=0))}i&&rc.text(a(i));d&&N++;Q&&Q++;vc(0);Ta=true;if(Q&&!d)return S(c);if(a(da))return S(c,w());if(!(a(ya)>0)){if(!g.loops&&
-g.rebound){!Q&&!(a(z)%1)?Yb++:(Yb=0);Yb>=g.rebound*1E3/b&&e(M,!a(M))}c=a(xa)*Ha(1,a(M));b=a(hb);d=(!a(Ra)||wc||!b?d:H(a(va))+d)/Y(fa);e(z,a(z)-d*c);b=!g.duration?b:b>0&&e(hb,b-1);!b&&a(Ra)&&h.trigger("stop")}}}},"tick.reel.opening":function(){if(a(ea)){var c=(g.entry||g.speed)/Y(fa)*(g.cw?-1:1),d=e(ya,a(ya)-1);e(z,a(z)+c);d||h.trigger("openingDone")}}}},pa=false,S=function(c,d){return c.stopImmediatePropagation()||d},ha=function(){h.trigger("setup")},Q,N=0,Aa=function(){return Q=0},w=function(){clearTimeout(Pb);
-ga.unbind(nb+x(ea),I.pool[nb+x(ea)]);e(ya,0);e(Kb,true);return Q=-g.timeout*Y(fa)},G=0,qb=false,wc=false,rc=k(),za=function(){D(C+x(xc),{position:mb,left:0,bottom:0,height:g.preloader,overflow:Nb,backgroundColor:"#000"});return za.$=k(V(ta),{"class":xc})},Qa=function(c){D(C+x(yc)+x(c),{position:mb,width:0,height:0,overflow:Nb,backgroundColor:"#000"});return Qa["$"+c]=k(V(ta),{"class":yc+C+c})},D=function(c,d,b){function i(p){var m=[];k.each(p,function(l,q){m.push(l.replace(/([A-Z])/g,"-$1").toLowerCase()+
-":"+y(q)+";")});return"{"+m.join(X)+"}"}b=b?X:a(kc);c=c.replace(/^/,b).replace(oa,oa+b);return D.rules.push(c+i(d))&&d},Zc=function(){var c=a(L),d=a(B),b=h[0].getBoundingClientRect();return b.top<-c||b.left<-d||b.right>d+k(T).width()||b.bottom>c+k(T).height()},Yb=0,ob={x:0,y:0},vc=function(c){return Sa.push(c)&&Sa.shift()&&c},jb=function(){return Sa=[0,0]},Sa=jb(),uc=g.graph||n.math[g.loops?"hatch":"envelope"],pc=function(){clearTimeout(Qb);Qb=setTimeout(Ub,n.resize_gauge)},Ub=function(){if(h.width()!=
-a(B)){var c=a(ec),d=e(Mb,h.width()/c.width);k.each(c,function(b,i){e(b,R(i*d))});h.trigger("resize")}},Pb,Qb,pb=function(c,d,b){var i=e(eb,a(z));e(Jb,a(ua));var p=g.loops;e(fb,p?0:-i*c);e(gb,p?c:c-i*c);return d!==s&&e(db,{x:d,y:b})||s},Ta=true,Xb=function(c,d,b,i){if(i){var p=a(c)||0;b=d!==s?d:(b-1)/(i-1);b=c!=z?b:Ga(b,0.9999);return d=+H(p-b).toFixed(8)>=+(1/(i-1)).toFixed(8)?e(c,b):d||p}},ia=ga;try{if(ga[0]!=top.document)ia=ga.add(top.document)}catch(cd){}top===self?k():function(c){k("iframe",ia.last()).each(function(){try{if(k(this).contents().find(Tb).html()==
-k(Tb).html())return(c=k(this))&&false}catch(d){}});return c}();D.rules=[];I.setup()});sb=sb||function h(){var e=+new Date,a=Y(fa);if(!a)return sb=null;ga.trigger(nb);n.cost=(+new Date+n.cost-e)/2;return sb=setTimeout(h,vb(4,1E3/a-n.cost))}();return k(K)}else if(typeof u=="string")if(f.length==1)return o[u];else{if(t!==s){n.normal[u]&&(t=n.normal[u](t,o));if(o[u]===s)o[u]=t;else if(o[u]!==t)j.trigger(u+"Change",[s,o[u]=t])}return j}},unreel:function(){return this.trigger("teardown")}},re:{image:/^(.*)\.(jpg|jpeg|png|gif)\??.*$/i,
-ua:[/(msie|opera|firefox|chrome|safari)[ \/:]([\d.]+)/i,/(webkit)\/([\d.]+)/i,/(mozilla)\/([\d.]+)/i],array:/ *, */,touchy_agent:/iphone|ipod|ipad|android|fennec|rim tablet/i,lazy_agent:/\(iphone|ipod|android|fennec|blackberry/i,frame_klass:/frame-\d+/,substitution:/(@([A-Z]))/g,no_match:/^(undefined|)$/,sequence:/(^[^#|]*([#]+)[^#|]*)($|[|]([0-9]+)\.\.([0-9]+))($|[|]([0-9]+)$)/},cdn:"http://code.vostrel.net/",math:{envelope:function(f,j,o,u,t,g){return j+Fa(u,t,-f*g)/o},hatch:function(f,j,o,u,t,
-g){f=(fu?f-o:f}},preload:{fidelity:function(f,j,o){function u(e,a,I){function pa(G){for(;!(G>=1&&G<=N);)G+=G<1?+N:-N;return h[I+G]||(h[I+G]=!!S.push(G))}if(!e.length)return[];var S=[],ha=4*a,Q=j.frame,N=e.length;a=true;for(var Aa=N/ha,w=0;w1;){w=0;ha=S.length;Aa/=2;for(a=!a;w"}function x(f){return"."+
+(f||"")}function Va(f){return f.replace(Da,n.cdn)}function Ea(f){return"url('"+ub(f)+"')"}function ac(f,j){return typeof j==vb?j[f]:j}function Fa(f,j,o){return wb(f,Ga(j,o))}function Ha(f,j){return H(f)*(j?-1:1)}function Wa(f){return ma?f.touch||f.originalEvent.touches[0]:f}function xb(f){return f.originalEvent}function y(f){return f===s?0:typeof f==yb?f:f+"px"}function Ca(f){return"#"+f}function Xa(f,j,o){for(;f.length "+x(z)+")").each(function(f,j){f=k(j);j=
+f.data();j.images=zb(j.images);var o={};k(x(dc)+"[data-for="+f.attr(la)+"]").each(function(u,t){u=k(t);t=u.data();t.x=cc(zb(t.x));t.y=cc(zb(t.y));var g=u.attr(la);t.node=u.removeData();o[g]=t});j.annotations=o;f.removeData().reel(j)})},fn:{reel:function(){var f=arguments,j=k(this),o=j.data(),u=f[0]||{},t=f[1];if(typeof u=="object"){var g=k.extend({},n.def,u),K=[];j.filter(Ya).unreel().filter(function(){var h=k(this),e=g.attr,a=e.src||h.attr(Cb),I=e.width||h.attr(L)||h.width();h=e.height||h.attr(D)||
+h.height();if(a&&I&&h)return true;else Ec("Missing attributes: Image needs `src` and both dimensions to be set to Reel")}).each(function(){var h=k(this),e=function(c,d){return h.reel(c,d)&&h.data(c)},a=function(c){return h.reel(c)},I={setup:function(){if(!(h.hasClass(z)&&h.parent().hasClass(Bb))){e(Ia,g);var c={src:h.attr(Cb),width:h.attr(D)||null,height:h.attr(L)||null,style:h.attr($)||null,"class":h.attr(ec)||null},d=h.attr(g.attr).attr(Cb),b=e(la,h.attr(la)||h.attr(la,z+"-"+ +new Date).attr(la)),
+i=k.extend({},h.data()),p=e(aa,g.images||[]),m=e(X,g.stitched),l=!p.length||m;l=e(Za,g.responsive&&(Fc?true:!l));var q=e(fc,{}),r=g.loops,v=g.orbital,E=g.revolution,ba=g.rows,ca=e(sa,Ga(g.footage,g.frames));e($a,g.spacing);var Db=e(D,+h.attr(D)||h.width()),Eb=e(L,+h.attr(L)||h.height()),Gc=e(Ja,g.shy),gc=e(O,v&&ca||ba<=1&&p.length||g.frames),Hc=ba>1||v;e(Ka,ac("x",E)||m/2||Db*2);e(Fb,!Hc?0:ac("y",E)||(ba>3?Eb:Eb/(5-ba)));ba=m?1:na(gc/ca);e(Gb,m-(r?0:Db));e(ab,0);b=Ca(b+g.suffix);r=h.attr(ec);r=!r?
+P:r+B;r=k(W(ta),{id:b.substr(1),"class":r+B+Bb+B+hc+"0"});r=h.wrap(r.addClass(g.klass)).addClass(z);K.push(Bc(r)[0]);r=r.parent().bind(I.instance);e(Hb,p.length?P:g.image||d.replace(n.re.image,"$1"+g.suffix+".$2"));e(bb,k(W(ta),{"class":Ib}).appendTo("body"));e(La,k());e(ic,[]);e(J,null);e(A,null);e(Q,g.row);e(ua,0);e(Jb,ba);e(jc,g.rowlock);e(kc,g.framelock);e(cb,e(Ma,e(db,0)));e(eb,1/gc);e(lc,b);e(M,e(va,g.speed)<0);e(Na,false);e(oa,0);e(wa,g.vertical);e(da,0);e(xa,Ha(1,!g.cw&&!m));e(fb,{});e(ea,
+false);e(gb,e(Kb,0));e(hb,e(ib,0));e(Oa,false);e(Lb,false);e(fa,false);e(mc,g.brake);e(Mb,!!v);e(ga,g.tempo/(n.lazy?g.laziness:1));e(ya,-1);e(jb,-1);e(Pa,g.annotations||r.unbind(x(Pa))&&{});e(Nb,1);e(nc,{attr:c,data:i});g.steppable||r.unbind("up.steppable");g.indicator||r.unbind(".indicator");C(P,{overflow:Ob,position:"relative"});l||C(P,{width:Db,height:Eb});l&&k.each(Ic,function(cd,oc){q[oc]=a(oc)});C(pa+B+x(z),{display:Pb});C(x(Ib),{position:"fixed",left:y(-100),top:y(-100)},true);C(x(Ib)+B+Ya,
+{position:Qa,width:10,height:10},true);ha.bind(I.pool);h.trigger(Gc?"prepare":"setup")}},instance:{teardown:function(){var c=h.data(nc);h.parent().unbind(I.instance);if(a(Ja))h.parent().unbind(kb,ia);else a($).remove()&&a(La).unbind(F);a(bb).empty();clearTimeout(Qb);clearTimeout(Rb);k(U).unbind(pc,qc);k(U).unbind(F);ha.unbind(I.pool);ja.unbind(ka);h.siblings().unbind(F).remove();lb();h.removeAttr("onloaded");Cc(h.unbind(F).removeData().unwrap().attr(c.attr).data(c.data));h.attr($)==P&&h.removeAttr($)},
+setup:function(){function c(q){return h.trigger("down",[Wa(q).clientX,Wa(q).clientY,q])&&q.give}function d(q,r){return!r||h.trigger("wheel",[r,q])&&q.give}var b=h.parent().append(za()),i=e(La,k(g.area||b)),p=g.rows>1;C(B+x(z),{MozUserSelect:mb,WebkitUserSelect:mb,MozTransform:"translateZ(0)"});h.unbind(kb,ia);if(ma)i.bind(Jc,c);else{var m=g.cursor,l=m==rc?Kc:m||Lc;m=m==rc?Mc+B+"!important":s;C(P,{cursor:Va(l)});C(x(Sb),{cursor:"wait"});C(x(nb)+pa+x(nb)+" *",{cursor:Va(m||l)},true);i.bind(g.wheelable?
+Nc:null,d).bind(g.clickfree?Oc:Pc,c).bind(Qc,function(){return false})}if(a(Za)){C(B+x(z),{width:"100%",height:Tb});k(U).bind(pc,qc)}g.hint&&i.attr("title",g.hint);g.indicator&&b.append(Ra("x"));p&&g.indicator&&b.append(Ra("y"));g.monitor&&b.append(sc=k(W(ta),{"class":tc}))&&C(B+x(tc),{position:Qa,left:0,top:0})},preload:function(){function c(r,v){setTimeout(function(){!bc(d)&&v.attr({src:ub(r)})},(l-m.length)*2)}var d=h.parent(),b=a(aa),i=!b.length,p=n.preload[g.preload]||n.preload[n.def.preload],
+m=i?[a(Hb)]:p(b.slice(0),g,a),l=m.length;e(da,i?0.5:0);b=a(bb).empty();i=[];d.addClass(Sb);e($,a($)||k("<"+$+' type="text/css">'+C.rules.join("\n")+"").prependTo(Ub));e(Na,true);h.trigger("stop");g.responsive&&Vb();for(h.trigger("resize",true);m.length;){p=n.substitute(g.path+m.shift(),a);var q=k(W(Ya)).appendTo(b);q.bind("load error abort",function(r){r.type!="load"&&h.trigger(r.type);return!bc(d)&&h.trigger("preloaded")&&false});c(p,q);i.push(p)}e(ic,i);e(Ja,false)},preloaded:function(){var c=
+a(aa).length||1,d=e(da,Ga(a(da)+1,c));d===1&&h.trigger("frameChange",[s,a(J)]);if(d===c){h.parent().removeClass(Sb);h.trigger("loaded")}},loaded:function(){a(aa).length>1||h.css({backgroundImage:Ea(n.substitute(g.path+a(Hb),a))}).attr({src:Va(uc)});a(X)&&h.attr({src:Va(uc)});a(Lb)||e(oa,g.velocity||0);e(Na,false);qa=true},prepare:function(){h.css("display",Pb).parent().one(kb,ia)},opening:function(){if(!g.opening)return h.trigger("openingDone");e(fa,true);e(Wb,!a(va));var c=g.entry||g.speed,d=a(A),
+b=g.opening;e(A,d-c*b);e(ya,na(b*Y(ga)))},openingDone:function(){function c(b){return h.trigger("orient",[xb(b).alpha,xb(b).beta,xb(b).gamma,b])&&b.give}e(Sa,false);e(fa,false);var d=ob+x(fa);ha.unbind(d,I.pool[d]);ma&&g.orientable&&k(U).bind(Rc,c);if(g.delay>0)Qb=setTimeout(function(){h.trigger("play")},g.delay*1E3);else h.trigger("play")},play:function(c,d){d=d?e(va,d):a(va)*Ha(1,a(M));(c=g.duration)&&e(jb,na(c*Y(ga)));e(M,d<0);d=e(Sa,!!d);e(Wb,!d);Aa()},reach:function(c,d,b){if(d!=a(J)){c=a(O);
+e(Q,na(d/c));var i=e(cb,a(J));d=e(Ma,d);d=e(db,n.math.distance(i,d,c));b=H(b||a(va))*Ha(1,d<0);h.trigger("play",b)}},pause:function(){w()},stop:function(){var c=e(Wb,true);e(Sa,!c)},down:function(c,d,b,i){function p(l){return h.trigger("pan",[Wa(l).clientX,Wa(l).clientY,l])&&l.give}function m(l){return h.trigger("up",[l])&&l.give}if(!(i&&i.button!=Sc&&!g.clickfree))if(g.draggable){e(ea,a(J));c=g.clickfree;e(oa,0);pb=qb(a(Ka),d,b);ma||i&&i.preventDefault();w();lb();G=0;k(Ab,ja).addClass(nb);ma?ja.bind(Tc,
+p).bind(Uc+B+Vc,m):(c?a(La):ja).bind(Wc,p).bind(c?Xc:Yc,m)}},up:function(){e(ea,false);e(Oa,false);var c=g.throwable,d=H(Ta[0]+Ta[1])/60;N=e(oa,!c?0:c===true?d:Ga(c,d))?1:0;w();lb();k(Ab,ja).removeClass(nb);(g.clickfree?a(La):ja).unbind(ka)},pan:function(c,d,b,i){if(g.draggable&&Ua){Ua=false;w();c=g.rows;var p=g.orbital,m=ma&&!a(Oa)&&c<=1&&!p&&g.scrollable,l={x:d-pb.x,y:b-pb.y},q={x:H(l.x),y:H(l.y)};if(i&&m&&q.x0||q.y>0){i&&(i.give=false);G=wb(q.x,q.y);pb={x:d,y:b};
+i=a(Ka);m=a(fb);q=a(wa);if(!a(kc)){var r=e(A,vc(q?b-m.y:d-m.x,a(gb),i,a(hb),a(ib),a(xa),q?b-m.y:d-m.x));e(Oa,a(Oa)||a(J)!=a(ea));(l=wc(q?l.y:l.x||0))&&e(M,l<0)}if(p&&a(Mb)){e(wa,H(b-m.y)>H(d-m.x));m=qb(i,d,b)}if(c>1&&!a(jc)){c=a(Fb);p=a(Kb);l=-p*c;e(ua,n.math.envelope(b-m.y,p,c,l,l+c,-1))}!(r%1)&&!g.loops&&qb(i,d,b)}}},wheel:function(c,d,b){if(d){rb=true;c=na(ra.sqrt(H(d))/2);c=Ha(c,d>0);d=0.0833*a(Ka);qb(d);c&&e(M,c<0);e(oa,0);e(A,vc(c,a(gb),d,a(hb),a(ib),a(xa)));b&&b.preventDefault();b&&(b.give=
+false);w();h.trigger("up",[b])}},orient:function(c,d){if(!(!Ua||R)){xc=true;c=d/360;fraction=e(A,+(g.stitched||g.cw?1-c:c).toFixed(2));Ua=false}},fractionChange:function(c,d,b){if(d===s){c=1+sb(b/a(eb));d=g.rows>1;b=g.orbital;e(Mb,!!b&&(c<=b||c>=a(sa)-b+2));if(d)c+=(a(Q)-1)*a(O);e(J,c)}},tierChange:function(c,d,b){if(d===s){c=e(Q,S(Xb(b,1,g.rows)));d=a(O);b=a(J)%d||d;e(J,b+c*d-d)}},rowChange:function(c,d,b){d===s&&Yb(ua,s,b,g.rows)},frameChange:function(c,d,b){if(d===s){this.className=this.className.replace(n.re.frame_klass,
+hc+b);c=a(O);d=g.rows;var i=g.path,p=b%c||c,m=((b-p)/c+1-1)/(d-1),l=a(Q);!d?a(ua):Yb(ua,m,l,d);var q=Yb(A,s,p,c),r=a(sa);if(g.orbital&&a(wa)){b=g.inversed?r+1-b:b;b+=r}var v=a(X);c=a(aa);if(!c.length||v){p=a($a);var E=a(D);m=a(L);if(v){b=e(ab,S(Xb(q,0,a(Gb)))%v);d=d<=1?0:(m+p)*(d-l);b=[y(-b),y(-d)];c=c.length>1&&c[l-1];d=n.substitute(i+c,a);c&&h.css("backgroundImage").search(d)<0&&h.css({backgroundImage:Ea(d)})}else{i=g.horizontal;l=b%r-1;l=l<0?r-1:l;b=sb((b-0.1)/r);b+=d>1?0:a(M)?0:!g.directional?
+0:a(Jb);b=b*((i?m:E)+p);d=l*((i?E:m)+p);b=c.length?[0,0]:i?[y(-d),y(-b)]:[y(-b),y(-d)]}h.css({backgroundPosition:b.join(B)})}else{a(Za)&&Vb();a(da)&&h.attr({src:ub(n.substitute(i+c[b-1],a))})}}},"frameChange.reach":function(c,d,b){if(!(!a(Ma)||d!==s)){c=n.math.distance(a(cb),b,a(O));if(H(c)>=H(a(db))){e(J,e(Ma));e(Ma,e(db,e(cb,0)));h.trigger("stop")}}},"imageChange imagesChange":function(){h.trigger("preload")},"fractionChange.indicator":function(c,d,b){if(g.indicator&&d===s){c=g.indicator;var i=
+g.orbital;d=i&&a(wa)?a(L):a(D);i=i?a(sa):g.images.length||a(O);i=na(d/i);d-=i;b=S(Xb(b,0,d));b=!g.cw||a(X)?b:d-b;Ra.$x.css(a(wa)?{left:0,top:y(b),bottom:Tb,width:c,height:i}:{bottom:0,left:y(b),top:Tb,width:i,height:c})}},"tierChange.indicator":function(c,d,b){if(g.rows>1&&g.indicator&&d===s){var i=a(L);c=g.indicator;d=na(i/g.rows);i-=d;b=S(b*i);Ra.$y.css({left:0,top:b,width:c,height:d})}},"setup.annotations":function(){var c=h.parent();k.each(a(Pa),function(d,b){var i=typeof b.node==yb?k(b.node):
+b.node||{};i=i.jquery?i:k(W(ta),i);i=i.attr({id:d}).addClass(dc);var p=b.image?k(W(Ya),b.image):k(),m=b.link?k(W("a"),b.link).click(function(){h.trigger("up.annotations",{target:m})}):k();C(Ca(d),{display:mb,position:Qa},true);b.image||b.link&&i.append(m);b.link||b.image&&i.append(p);b.link&&b.image&&i.append(m.append(p));i.appendTo(c)})},"prepare.annotations":function(){k.each(a(Pa),function(c){k(Ca(c)).hide()})},"frameChange.annotations":function(c,d){if(!(!a(da)||d!==s)){var b=a(D),i=a(X),p=a(ab);
+k.each(a(Pa),function(m,l){m=k(Ca(m));var q=l.start||1,r=l.end,v=v||a(J),E=v-1,ba=l.at?l.at[E]=="+":false;E=l.at?E:E-q+1;v=typeof l.x!=vb?l.x:l.x[E];var ca=typeof l.y!=vb?l.y:l.y[E];l=v!==s&&ca!==s&&(l.at?ba:E>=0&&(!r||E<=r-q));if(i){q=v>i-b&&p>=0&&pi-b)?v:v+i;v=!q?v:v-i;v-=p}if(a(Za)){q=a(Nb);v=v&&v*q;ca=ca&&ca*q}v={display:l?Pb:mb,left:y(v),top:y(ca)};m.css(v)})}},"up.annotations":function(c,d){if(!(G>10||rb)){c=k(d.target);(c.is("a")?c:c.parents("a")).attr("href")&&(G=10)}},"up.steppable":function(){G||
+rb||h.trigger(a(fb).x-h.offset().left>0.5*a(D)?"stepRight":"stepLeft")},"stepLeft stepRight":function(){w()},stepLeft:function(){e(M,false);e(A,a(A)-a(eb)*a(xa))},stepRight:function(){e(M,true);e(A,a(A)+a(eb)*a(xa))},stepUp:function(){e(Q,a(Q)-1)},stepDown:function(){e(Q,a(Q)+1)},resize:function(c,d){if(!(a(Na)&&!d)){var b=a(X),i=a($a);c=a(L);var p=!a(aa).length||b,m=g.rows||1;b=a(aa).length?!b?s:y(b)+B+y(c):b&&y(b)+B+y((c+i)*m-i)||y((a(D)+i)*a(sa)-i)+B+y((c+i)*a(Jb)*m*(g.directional?2:1)-i);h.css({height:p?
+y(c):null,backgroundSize:b||null});d||h.trigger("imagesChange")}},"setup.fu":function(){e(J,g.frame+(a(Q)-1)*a(O));h.trigger("preload")},"wheel.fu":function(){rb=false},"clean.fu":function(){h.trigger("teardown")},"loaded.fu":function(){h.trigger("opening")}},pool:{"tick.reel.preload":function(){if(!(!(qa||a(Na))||a(Ja))){var c=a(D),d=Zc(za.$.css(D)),b=a(aa).length||1,i=S(1/b*a(da)*c);za.$.css({width:d+(i-d)/3+1});if(a(da)===b&&d>c-1){qa=false;za.$.fadeOut(300,function(){za.$.css({opacity:1,width:0})})}}},
+"tick.reel":function(c){if(!a(Ja)){var d=a(oa),b=Y(ga),i=g.monitor;if(!(!n.intense&&$c())){if(N){d=d-a(mc)/b*N;d=e(oa,d>0.1?d:(N=R=0))}i&&sc.text(a(i));d&&N++;R&&R++;wc(0);Ua=true;if(R&&!d)return T(c);if(a(ea))return T(c,w());if(!(a(ya)>0)){if(!g.loops&&g.rebound){!R&&!(a(A)%1)?Zb++:(Zb=0);Zb>=g.rebound*1E3/b&&e(M,!a(M))}c=a(xa)*Ha(1,a(M));b=a(jb);d=(!a(Sa)||xc||!b?d:H(a(va))+d)/Y(ga);e(A,a(A)-d*c);b=!g.duration?b:b>0&&e(jb,b-1);!b&&a(Sa)&&h.trigger("stop")}}}},"tick.reel.opening":function(){if(a(fa)){var c=
+(g.entry||g.speed)/Y(ga)*(g.cw?-1:1),d=e(ya,a(ya)-1);e(A,a(A)+c);d||h.trigger("openingDone")}}}},qa=false,T=function(c,d){return c.stopImmediatePropagation()||d},ia=function(){h.trigger("setup")},R,N=0,Aa=function(){return R=0},w=function(){clearTimeout(Qb);ha.unbind(ob+x(fa),I.pool[ob+x(fa)]);e(ya,0);e(Lb,true);return R=-g.timeout*Y(ga)},G=0,rb=false,xc=false,sc=k(),za=function(){C(B+x(yc),{position:Qa,left:0,bottom:0,height:g.preloader,overflow:Ob,backgroundColor:"#000"});return za.$=k(W(ta),{"class":yc})},
+Ra=function(c){C(B+x(zc)+x(c),{position:Qa,width:0,height:0,overflow:Ob,backgroundColor:"#000"});return Ra["$"+c]=k(W(ta),{"class":zc+B+c})},C=function(c,d,b){function i(p){var m=[];k.each(p,function(l,q){m.push(l.replace(/([A-Z])/g,"-$1").toLowerCase()+":"+y(q)+";")});return"{"+m.join(P)+"}"}b=b?P:a(lc);c=c.replace(/^/,b).replace(pa,pa+b);return C.rules.push(c+i(d))&&d},$c=function(){var c=a(L),d=a(D),b=h[0].getBoundingClientRect();return b.top<-c||b.left<-d||b.right>d+k(U).width()||b.bottom>c+k(U).height()},
+Zb=0,pb={x:0,y:0},wc=function(c){return Ta.push(c)&&Ta.shift()&&c},lb=function(){return Ta=[0,0]},Ta=lb(),vc=g.graph||n.math[g.loops?"hatch":"envelope"],qc=function(){clearTimeout(Rb);Rb=setTimeout(Vb,n.resize_gauge)},Vb=function(){if(h.width()!=a(D)){var c=a(fc),d=e(Nb,h.width()/c.width);k.each(c,function(b,i){e(b,S(i*d))});h.trigger("resize")}},Qb,Rb,qb=function(c,d,b){var i=e(gb,a(A));e(Kb,a(ua));var p=g.loops;e(hb,p?0:-i*c);e(ib,p?c:c-i*c);return d!==s&&e(fb,{x:d,y:b})||s},Ua=true,Yb=function(c,
+d,b,i){if(i){var p=a(c)||0;b=d!==s?d:(b-1)/(i-1);b=c!=A?b:Ga(b,0.9999);return d=+H(p-b).toFixed(8)>=+(1/(i-1)).toFixed(8)?e(c,b):d||p}},ja=ha;try{if(ha[0]!=top.document)ja=ha.add(top.document)}catch(dd){}top===self?k():function(c){k("iframe",ja.last()).each(function(){try{if(k(this).contents().find(Ub).html()==k(Ub).html())return(c=k(this))&&false}catch(d){}});return c}();C.rules=[];I.setup()});tb=tb||function h(){var e=+new Date,a=Y(ga);if(!a)return tb=null;ha.trigger(ob);n.cost=(+new Date+n.cost-
+e)/2;return tb=setTimeout(h,wb(4,1E3/a-n.cost))}();return k(K)}else if(typeof u=="string")if(f.length==1)return o[u];else{if(t!==s){n.normal[u]&&(t=n.normal[u](t,o));if(o[u]===s)o[u]=t;else if(o[u]!==t)j.trigger(u+"Change",[s,o[u]=t])}return j}},unreel:function(){return this.trigger("teardown")}},re:{image:/^(.*)\.(jpg|jpeg|png|gif)\??.*$/i,ua:[/(msie|opera|firefox|chrome|safari)[ \/:]([\d.]+)/i,/(webkit)\/([\d.]+)/i,/(mozilla)\/([\d.]+)/i],array:/ *, */,touchy_agent:/iphone|ipod|ipad|android|fennec|rim tablet/i,
+lazy_agent:/\(iphone|ipod|android|fennec|blackberry/i,frame_klass:/frame-\d+/,substitution:/(@([A-Z]))/g,no_match:/^(undefined|)$/,sequence:/(^[^#|]*([#]+)[^#|]*)($|[|]([0-9]+)\.\.([0-9]+))($|[|]([0-9]+)$)/},cdn:"http://code.vostrel.net/",math:{envelope:function(f,j,o,u,t,g){return j+Fa(u,t,-f*g)/o},hatch:function(f,j,o,u,t,g){f=(fu?f-o:f}},preload:{fidelity:function(f,
+j,o){function u(e,a,I){function qa(G){for(;!(G>=1&&G<=N);)G+=G<1?+N:-N;return h[I+G]||(h[I+G]=!!T.push(G))}if(!e.length)return[];var T=[],ia=4*a,R=j.frame,N=e.length;a=true;for(var Aa=N/ia,w=0;w1;){w=0;ia=T.length;Aa/=2;for(a=!a;w`'s injected parent).
     //
     overlay_klass= klass + '-overlay',
+    cache_klass= klass + '-cache',
     indicator_klass= klass + '-indicator',
     preloader_klass= klass + '-preloader',
     monitor_klass= klass + '-monitor',