!function(a){varb,c,d="0.4.2",e="hasOwnProperty",f=/[\.\/]/,g="*",h=function(){},i=function(a,b){returna-b},j={n:{}},k=function(a,d){a=String(a);vare,f=c,g=Array.prototype.slice.call(arguments,2),h=k.listeners(a),j=0,l=[],m={},n=[],o=b;b=a,c=0;for(varp=0,q=h.length;q>p;p++)"zIndex"inh[p]&&(l.push(h[p].zIndex),h[p].zIndex<0&&(m[h[p].zIndex]=h[p]));for(l.sort(i);l[j]<0;)if(e=m[l[j++]],n.push(e.apply(d,g)),c)returnc=f,n;for(p=0;q>p;p++)if(e=h[p],"zIndex"ine)if(e.zIndex==l[j]){if(n.push(e.apply(d,g)),c)break;doif(j++,e=m[l[j]],e&&n.push(e.apply(d,g)),c)break;while(e)}elsem[e.zIndex]=e;elseif(n.push(e.apply(d,g)),c)break;returnc=f,b=o,n.length?n:null};k._events=j,k.listeners=function(a){varb,c,d,e,h,i,k,l,m=a.split(f),n=j,o=[n],p=[];for(e=0,h=m.length;h>e;e++){for(l=[],i=0,k=o.length;k>i;i++)for(n=o[i].n,c=[n[m[e]],n[g]],d=2;d--;)b=c[d],b&&(l.push(b),p=p.concat(b.f||[]));o=l}returnp},k.on=function(a,b){if(a=String(a),"function"!=typeofb)returnfunction(){};for(varc=a.split(f),d=j,e=0,g=c.length;g>e;e++)d=d.n,d=d.hasOwnProperty(c[e])&&d[c[e]]||(d[c[e]]={n:{}});for(d.f=d.f||[],e=0,g=d.f.length;g>e;e++)if(d.f[e]==b)returnh;returnd.f.push(b),function(a){+a==+a&&(b.zIndex=+a)}},k.f=function(a){varb=[].slice.call(arguments,1);returnfunction(){k.apply(null,[a,null].concat(b).concat([].slice.call(arguments,0)))}},k.stop=function(){c=1},k.nt=function(a){returna?newRegExp("(?:\\.|\\/|^)"+a+"(?:\\.|\\/|$)").test(b):b},k.nts=function(){returnb.split(f)},k.off=k.unbind=function(a,b){if(!a)returnk._events=j={n:{}},void0;varc,d,h,i,l,m,n,o=a.split(f),p=[j];for(i=0,l=o.length;l>i;i++)for(m=0;m<p.length;m+=h.length-2){if(h=[m,1],c=p[m].n,o[i]!=g)c[o[i]]&&h.push(c[o[i]]);elsefor(dinc)c[e](d)&&h.push(c[d]);p.splice.apply(p,h)}for(i=0,l=p.length;l>i;i++)for(c=p[i];c.n;){if(b){if(c.f){for(m=0,n=c.f.length;n>m;m++)if(c.f[m]==b){c.f.splice(m,1);break}!c.f.length&&deletec.f}for(dinc.n)if(c.n[e](d)&&c.n[d].f){varq=c.n[d].f;for(m=0,n=q.length;n>m;m++)if(q[m]==b){q.splice(m,1);break}!q.length&&deletec.n[d].f}}else{deletec.f;for(dinc.n)c.n[e](d)&&c.n[d].f&&deletec.n[d].f}c=c.n}},k.once=function(a,b){varc=function(){returnk.unbind(a,c),b.apply(this,arguments)};returnk.on(a,c)},k.version=d,k.toString=function(){return"You are running Eve "+d},"undefined"!=typeofmodule&&module.exports?module.exports=k:"undefined"!=typeofdefine?define("eve",[],function(){returnk}):a.eve=k}(this),function(a,b){"function"==typeofdefine&&define.amd?define(["eve"],function(c){returnb(a,c)}):b(a,a.eve)}(this,function(a,b){varc=function(b){varc={},d=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||function(a){setTimeout(a,16)},e=Array.isArray||function(a){returnainstanceofArray||"[object Array]"==Object.prototype.toString.call(a)},f=0,g="M"+(+newDate).toString(36),h=function(){returng+(f++).toString(36)},i=function(){return+newDate},j=function(a){varb=this;if(null==a)returnb.s;varc=b.s-a;b.b+=b.dur*c,b.B+=b.dur*c,b.s=a},k=function(a){varb=this;returnnull==a?b.spd:(b.spd=a,void0)},l=function(a){varb=this;returnnull==a?b.dur:(b.s=b.s*a/b.dur,b.dur=a,void0)},m=function(){vara=this;deletec[a.id],b("mina.stop."+a.id,a)},n=function(){vara=this;a.pdif||(deletec[a.id],a.pdif=a.get()-a.b)},o=function(){vara=this;a.pdif&&(a.b=a.get()-a.pdif,deletea.pdif,c[a.id]=a)},p=function(){vara=0;for(varfinc)if(c.hasOwnProperty(f)){varg,h=c[f],i=h.get();if(a++,h.s=(i-h.b)/(h.dur/h.spd),h.s>=1&&(deletec[f],h.s=1,a--),e(h.start)){g=[];for(varj=0,k=h.start.length;k>j;j++)g[j]=h.start[j]+(h.end[j]-h.start[j])*h.easing(h.s)}elseg=h.start+(h.end-h.start)*h.easing(h.s);h.set(g),1==h.s&&b("mina.finish."+h.id,h)}a&&d(p)},q=function(a,b,e,f,g,i,r){vars={id:h(),start:a,end:b,b:e,s:0,dur:f-e,spd:1,get:g,set:i,easing:r||q.linear,status:j,speed:k,duration:l,stop:m,pause:n,resume:o};c[s.id]=s;vart,u=0;for(tinc)if(c.hasOwnProperty(t)&&(u++,2==u))break;return1==u&&d(p),s};returnq.time=i,q.getById=function(a){returnc[a]||null},q.linear=function(a){re