1!function(a){function b(){a(".animated-canvas").each(function(){function b(a,b){return Math.floor(Math.random()*(b-a)+a)}function c(){for(ha=0;ha<aa;ha++)w.beginPath(),w.arc(U[ha],V[ha],Z[ha],0,2*Math.PI),w.fillStyle=_[ha],w.fill()}function d(){for(ha=0;ha<aa;ha++)U[ha]+=W[ha],V[ha]+=X[ha]}function e(){for(ha=0;ha<aa;ha++)U[ha]<-60&&(U[ha]+=S+120),U[ha]>S+60&&(U[ha]-=S+120),V[ha]<-60&&(V[ha]+=T+120),V[ha]>T+60&&(V[ha]-=T+120)}function f(){R.width=R.width,c(),d(),e(),window.requestAnimationFrame(f)}function g(){var a;for(w.clearRect(0,0,v.width,v.height),a=0;a<sa;a++)w.fillStyle=oa[a].color,w.fillRect(oa[a].x,oa[a].y,oa[a].width,oa[a].height),oa[a].y+=oa[a].speed,oa[a].y>v.height&&(oa[a].y=0-oa[a].height);requestAnimationFrame(g)}function h(){ta=R.width=a(this).width(),ua=R.height=a(this).height(),w=R.getContext("2d"),w.scale(za,Aa)}function i(){va=document.createElement("canvas"),va.width=ya,va.height=ya,wa=va.getContext("2d"),xa=wa.createImageData(ya,ya)}function j(){for(var a,b=0;b<Da;b+=4)a=255*Math.random()|0,xa.data[b]=a,xa.data[b+1]=a,xa.data[b+2]=a,xa.data[b+3]=Ca;wa.putImageData(xa,0,0)}function k(){w.clearRect(0,0,ta,ua),w.fillStyle=w.createPattern(va,"repeat"),w.fillRect(0,0,ta,ua)}function l(){++Ea%Ba===0&&(j(),k()),requestAnimationFrame(l)}var m=a(this).attr("data-animation"),n=a(this)[0];if("metaBalls"==m){var o=a(this).attr("data-color"),p=a(this).attr("data-balls-count"),q=q||{screen:{elem:null,callback:null,ctx:null,width:a(this).width(),height:a(this).height(),left:0,top:0,init:function(a,b,c){return this.elem=n,this.callback=b||null,this.ctx=this.elem.getContext("2d"),window.addEventListener("resize",function(){this.resize()}.bind(this),!1),this.elem.onselectstart=function(){return!1},this.elem.ondrag=function(){return!1},c&&this.resize(),this},resize:function(){var a=this.elem;for(this.width=a.offsetWidth,this.height=a.offsetHeight,this.left=0,this.top=0;null!=a;a=a.offsetParent)this.left+=a.offsetLeft,this.top+=a.offsetTop;this.ctx&&(this.elem.width=this.width,this.elem.height=this.height),this.callback&&this.callback()},pointer:{screen:null,elem:null,callback:null,pos:{x:0,y:0},mov:{x:0,y:0},drag:{x:0,y:0},start:{x:0,y:0},end:{x:0,y:0},active:!1,touch:!1,down:function(a,b){this.touch=b;var c=b?a.touches[0]:a;!b&&document.setCapture&&document.setCapture(),this.pos.x=this.start.x=c.clientX-this.screen.left,this.pos.y=this.start.y=c.clientY-this.screen.top,this.active=!0,this.callback.down&&this.callback.down()},up:function(a,b){this.touch=b,!b&&document.releaseCapture&&document.releaseCapture(),this.end.x=this.drag.x,this.end.y=this.drag.y,this.active=!1,this.callback.up&&this.callback.up()},move:function(a,b){this.touch=b;var c=b?a.touches[0]:a;this.mov.x=c.clientX-this.screen.left,this.mov.y=c.clientY-this.screen.top,this.active&&(this.pos.x=this.mov.x,this.pos.y=this.mov.y,this.drag.x=this.end.x-(this.pos.x-this.start.x),this.drag.y=this.end.y-(this.pos.y-this.start.y),this.callback.move&&this.callback.move())},init:function(a){return this.screen=q.screen,this.elem=this.screen.elem,this.callback=a||{},"ontouchstart"in window&&(this.elem.ontouchstart=function(a){this.down(a,!0)}.bind(this),this.elem.ontouchmove=function(a){this.move(a,!0)}.bind(this),this.elem.ontouchend=function(a){this.up(a,!0)}.bind(this),this.elem.ontouchcancel=function(a){this.up(a,!0)}.bind(this)),document.addEventListener("mousedown",function(a){this.down(a,!1)}.bind(this),!0),document.addEventListener("mousemove",function(a){this.move(a,!1)}.bind(this),!0),document.addEventListener("mouseup",function(a){this.up(a,!1)}.bind(this),!0),this}},loadImages:function(a){function b(a,b,c){w.beginPath(),w.moveTo(50,50),w.arc(50,50,c,0,b),w.fillStyle=a,w.fill(),w.closePath()}function c(){if(g)return void(e.style.display="none");for(var a=0,i=32,j=0;j<h;j++)a+=document.images[j].complete?1:0;a<h?(f||(f=!0,e.style.width=e.style.height="100px",e.width=e.height=100,e.style.position="fixed",e.style.left=e.style.top="50%",e.style.marginTop=e.style.marginLeft="-50px",e.style.zIndex=1e4,w=e.getContext("2d"),b("rgb(64,64,64)",2*Math.PI,48),d.appendChild(e)),b("rgb(255,255,255)",a/h*2*Math.PI,50)):(f&&(b("rgb(255,255,255)",2*Math.PI,50),i=300),g=!0),setTimeout(c,i)}var d=document.getElementById(a),e=n,f=!1,g=!1,h=document.images.length;setTimeout(c,32)}}};!function(){"use strict";var a,b=function(a,b){this.x=a,this.y=b,this.magnitude=a*a+b*b,this.computed=0,this.force=0};b.prototype.add=function(a){return new b(this.x+a.x,this.y+a.y)};var c=function(a){this.vel=new b((Math.random()>.5?1:-1)*(.2+.25*Math.random()),(Math.random()>.5?1:-1)*(.2+1*Math.random())),this.pos=new b(.2*a.width+Math.random()*a.width*.6,.2*a.height+Math.random()*a.height*.6),this.size=a.wh/10+Math.random()*(a.wh/10),this.width=a.width,this.height=a.height};c.prototype.move=function(){this.pos.x>=this.width-this.size?(this.vel.x>0&&(this.vel.x=-this.vel.x),this.pos.x=this.width-this.size):this.pos.x<=this.size&&(this.vel.x<0&&(this.vel.x=-this.vel.x),this.pos.x=this.size),this.pos.y>=this.height-this.size?(this.vel.y>0&&(this.vel.y=-this.vel.y),this.pos.y=this.height-this.size):this.pos.y<=this.size&&(this.vel.y<0&&(this.vel.y=-this.vel.y),this.pos.y=this.size),this.pos=this.pos.add(this.vel)};var d=function(a,d,f,g,h){this.step=5,this.width=a,this.height=d,this.wh=Math.min(a,d),this.sx=Math.floor(this.width/this.step),this.sy=Math.floor(this.height/this.step),this.paint=!1,this.metaFill=e(a,d,a,g,h),this.plx=[0,0,1,0,1,1,1,1,1,1,0,1,0,0,0,0],this.ply=[0,0,0,0,0,0,1,0,0,1,1,1,0,1,0,1],this.mscases=[0,3,0,3,1,3,0,3,2,2,0,2,1,1,0],this.ix=[1,0,-1,0,0,1,0,-1,-1,0,1,0,0,1,1,0,0,0,1,1],this.grid=[],this.balls=[],this.iter
1=0,this.sign=1;for(var i=0;i<(this.sx+2)*(this.sy+2);i++)this.grid[i]=new b(i%(this.sx+2)*this.step,Math.floor(i/(this.sx+2))*this.step);for(var i=0;i<f;i++)this.balls[i]=new c(this)};d.prototype.computeForce=function(a,b,c){var d,e=c||a+b*(this.sx+2);if(0===a||0===b||a===this.sx||b===this.sy)var d=.6*this.sign;else{for(var f,g=this.grid[e],d=0,h=0;f=this.balls[h++];)d+=f.size*f.size/(-2*g.x*f.pos.x-2*g.y*f.pos.y+f.pos.magnitude+g.magnitude);d*=this.sign}return this.grid[e].force=d,d},d.prototype.marchingSquares=function(a){var b=a[0],c=a[1],d=a[2],e=b+c*(this.sx+2);if(this.grid[e].computed===this.iter)return!1;for(var f,g=0,i=0;i<4;i++){var j=b+this.ix[i+12]+(c+this.ix[i+16])*(this.sx+2),k=this.grid[j].force;(k>0&&this.sign<0||k<0&&this.sign>0||!k)&&(k=this.computeForce(b+this.ix[i+12],c+this.ix[i+16],j)),Math.abs(k)>1&&(g+=Math.pow(2,i))}if(15===g)return[b,c-1,!1];5===g?f=2===d?3:1:10===g?f=3===d?0:2:(f=this.mscases[g],this.grid[e].computed=this.iter);var l=this.step/(Math.abs(Math.abs(this.grid[b+this.plx[4*f+2]+(c+this.ply[4*f+2])*(this.sx+2)].force)-1)/Math.abs(Math.abs(this.grid[b+this.plx[4*f+3]+(c+this.ply[4*f+3])*(this.sx+2)].force)-1)+1);return h.lineTo(this.grid[b+this.plx[4*f+0]+(c+this.ply[4*f+0])*(this.sx+2)].x+this.ix[f]*l,this.grid[b+this.plx[4*f+1]+(c+this.ply[4*f+1])*(this.sx+2)].y+this.ix[f+4]*l),this.paint=!0,[b+this.ix[f+4],c+this.ix[f+8],f]},d.prototype.renderMetaballs=function(){for(var a,b=0;a=this.balls[b++];)a.move();for(this.iter++,this.sign=-this.sign,this.paint=!1,h.fillStyle=this.metaFill,h.beginPath(),b=0,h.shadowBlur=0,h.shadowColor="black";a=this.balls[b++];){var c=[Math.round(a.pos.x/this.step),Math.round(a.pos.y/this.step),!1];do c=this.marchingSquares(c);while(c);this.paint&&(h.fill(),h.closePath(),h.beginPath(),this.paint=!1)}};var e=function(a,b,c,d,e){var f=h.createRadialGradient(a/2,b/2,0,a/2,b/2,c);return f.addColorStop(0,d),f.addColorStop(1,e),f},f=function(){requestAnimationFrame(f),h.clearRect(0,0,g.width,g.height),a.renderMetaballs()},g=q.screen.init("canvas",null,!0),h=g.ctx;g.resize(),a=new d(g.width,g.height,p,o,o),f()}()}else if("bouncyPolygons"==m){var o=a(this).attr("data-color"),r=a(this).attr("data-balls-count");Object.getOwnPropertyNames(Math).map(function(a){window[a]=Math[a]});var s=function(a,b,c){var a=(a-1||0)+1,b=b||0,d=b+(a-b)*random();return c?round(d):d},t=function(a){return random()<(a||.5)?-1:1},u=r,v=n,w=v.getContext("2d"),x=150,y=150,z=[],A=0,B=null,C={x:0,y:0},D=100,E=function(a,b,c,d,e,f,g,h){this.n=a||s(7,3,1),this.alpha=2*PI/this.n,this.R=b||s(16,8),this.o=c||null,this.fi=d||s(PI/2),this.hue=e||s(360,0,1),this.c=o,this.v=f||null,this.af=g||(25-this.R)/250-1,this.omega=h||t()*s(2,.25)*PI/180,this.vertices=[],this.init=function(){var a=0;this.o||(this.o={x:s(x-this.R,this.R,1),y:s(y-this.R,this.R,1)}),this.v||(this.v={x:t()*s(2,.5),y:t()*s(2,.5)});for(var b=0;b<this.n;b++)a=b*this.alpha+this.fi,this.vertices.push({x:this.o.x+this.R*cos(a),y:this.o.y+this.R*sin(a)})},this.move=function(){this.v.x+=~~(2/(this.o.x-C.x)),this.v.y+=~~(2/(this.o.y-C.y)),this.v.x>4&&(this.v.x=4),this.v.y>4&&(this.v.y=4),this.v.x<-4&&(this.v.x=-4),this.v.y<-4&&(this.v.y=-4),this.o.x+=this.v.x,this.o.y+=this.v.y,this.fi+=this.omega,this.hue+=t(.8)*s(5,1,1),this.c=o,this.o.x<this.R&&(this.o.x=this.R,this.v.x*=this.af),this.o.x>x-this.R&&(this.o.x=x-this.R,this.v.x*=this.af),this.o.y<this.R&&(this.o.y=this.R,this.v.y*=this.af),this.o.y>y-this.R&&(this.o.y=y-this.R,this.v.y*=this.af);for(var a=0;a<u;a++)z[a]!=this&&abs(this.o.x-z[a].o.x)<this.R+z[a].R&&abs(this.o.y-z[a].o.y)<this.R+z[a].R&&(this.o.x-=this.v.x,z[a].o.x-=z[a].v.x,this.v.x*=-1,z[a].v.x*=-1,this.o.y-=this.v.y,z[a].o.y-=z[a].v.y,this.v.y*=-1,z[a].v.y*=-1);for(var a=0;a<this.n;a++){var b=a*this.alpha+this.fi;this.vertices[a]={x:this.o.x+this.R*cos(b),y:this.o.y+this.R*sin(b)}}},this.draw=function(a){a.lineWidth=3,a.strokeStyle=this.c,a.beginPath();for(var b=0;b<this.n;b++)0==b?a.moveTo(this.vertices[b].x,this.vertices[b].y):a.lineTo(this.vertices[b].x,this.vertices[b].y);a.closePath(),a.stroke()},this.connectTo=function(a,b){for(var c,d,e,f,g,h,i,j,k,l=max(x,y),m=0;m<this.n;m++)for(var n=0;n<b.n;n++)f=this.vertices[m].x-b.vertices[n].x,g=this.vertices[m].y-b.vertices[n].y,e=sqrt(pow(f,2)+pow(g,2)),l>e&&(l=e,c=m,d=n);l<D&&(k=1-l/D,h=o,i=o,j=a.createLinearGradient(this.vertices[c].x,this.vertices[c].y,b.vertices[d].x,b.vertices[d].y),j.addColorStop(0,h),j.addColorStop(1,i),a.strokeStyle=j,a.beginPath(),a.moveTo(this.vertices[c].x,this.vertices[c].y),a.lineTo(b.vertices[d].x,b.vertices[d].y),a.closePath(),a.stroke())}},F=function(){var a=getComputedStyle(v);B&&cancelAnimationFrame(B),x=v.width=~~a.width.split("px")[0],y=v.height=~~a.height.split("px")[0],C={x:x/2,y:y/2};for(var b=0;b<u;b++)z.push(new E),z[b].init();g()},g=function(){var a;w.clearRect(0,0,x,y);for(var b=0;b<u;b++){z[b].move(),z[b].draw(w);for(var c=0;c<b;c++)a=abs(z[b].hue-z[c].hue),(a<32||a>328)&&z[b].connectTo(w,z[c])}A++,B=requestAnimationFrame(g)};setTimeout(function(){F(),addEventListener("resize",F,!1),v.addEventListener("mousemove",function(a){C={x:a.clientX,y:a.clientY}},!1)},15)}
1else if("bouncyBalls"==m){var o=a(this).data("color"),G=a(this).data("balls-count");if(Object.getOwnPropertyNames(Math).map(function(a){window[a]=Math[a]}),!H)var H=function(a,b){return sqrt(pow(a,2)+pow(b,2))};var x,y,s=function(a,b,c){var a=(a-1||0)+1,b=b||0,d=b+(a-b)*random();return c?round(d):d},I=function(a){return random()<(a||.5)?-1:1},t=function(a){return a/abs(a)},J=function(a,b){for(var c=min(a.length,b.length),d=0,e=0,f=0;f<c;f++)d+=b[f]*a[f],e+=b[f];return d/e},K=G,L=!1,M=[],v=n,w=v.getContext("2d"),B=null,N=!0,O=function(a,b){this.p1=a||null,this.p2=b||null,this.alpha=null,this.init=function(){this.p1||(this.p1={x:s(x,0,1),y:s(y,0,1)}),this.p2||(this.p2={x:s(x,0,1),y:s(y,0,1)}),this.alpha=atan2(this.p2.y-this.p1.y,this.p2.x-this.p1.x)},this.init()},P=function(a,b,c,d){var e=L?4:1;this.hue=a||s(360,0,1),this.c=o,this.r=b||s(32*e,8*e,1),this.o=c||null,this.init=function(){this.o||(this.o={x:s(x-this.r,this.r,1),y:s(y-this.r,this.r,1)}),this.v||(this.v={x:I()*s(4*sqrt(e),e),y:I()*s(4*sqrt(e),e)})},this.handleWallHits=function(a,b,c){var d="up"===c?this.o[a]>b:this.o[a]<b;d&&(this.o[a]=b,this.v[a]*=-1)},this.keepInBounds=function(){this.handleWallHits("x",this.r,"low"),this.handleWallHits("x",x-this.r,"up"),this.handleWallHits("y",this.r,"low"),this.handleWallHits("y",y-this.r,"up")},this.move=function(){this.o.x+=this.v.x,this.o.y+=this.v.y,this.keepInBounds()},this.distanceTo=function(a){return H(this.o.x-a.x,this.o.y-a.y)},this.collidesWith=function(a){return this.distanceTo(a.o)<this.r+a.r},this.handleBallHit=function(a,b){var c,d,e=new O(this.o,a.o),f={x:J([this.o.x,a.o.x],[a.r,this.r]),y:J([this.o.y,a.o.y],[a.r,this.r])};this.cs={x:t(f.x-this.o.x),y:t(f.y-this.o.y)},a.cs={x:t(f.x-a.o.x),y:t(f.y-a.o.y)},this.o={x:f.x-this.cs.x*this.r*abs(cos(e.alpha)),y:f.y-this.cs.y*this.r*abs(sin(e.alpha))},a.o={x:f.x-a.cs.x*a.r*abs(cos(e.alpha)),y:f.y-a.cs.y*a.r*abs(sin(e.alpha))},L&&(b.clearRect(0,0,x,y),this.draw(b),a.draw(b),this.connect(a,b)),this.v.alpha=atan2(this.v.y,this.v.x),a.v.alpha=atan2(a.v.y,a.v.x),this.v.val=H(this.v.y,this.v.x),a.v.val=H(a.v.y,a.v.x),c=e.alpha-this.v.alpha,d=e.alpha-a.v.alpha,this.v.alpha-=PI-2*c,a.v.alpha-=PI-2*d,this.v.x=this.v.val*cos(this.v.alpha),this.v.y=this.v.val*sin(this.v.alpha),a.v.x=a.v.val*cos(a.v.alpha),a.v.y=a.v.val*sin(a.v.alpha)},this.connect=function(a,b){b.strokeStyle="#fff",b.setLineDash([5]),b.beginPath(),b.moveTo(this.o.x,this.o.y),b.lineTo(a.o.x,a.o.y),b.closePath(),b.stroke()},this.drawV=function(a,b){var c=32;a.strokeStyle=b||this.c,a.beginPath(),a.moveTo(this.o.x,this.o.y),a.lineTo(this.o.x+c*this.v.x,this.o.y+c*this.v.y),a.closePath(),a.stroke()},this.draw=function(a){a.strokeStyle=this.c,a.beginPath(),a.arc(this.o.x,this.o.y,this.r,0,2*PI),a.closePath(),a.stroke(),L&&this.drawV(a)},this.init()},F=function(){var b;getComputedStyle(v);x=v.width=a(this).width(),y=v.height=a(this).height(),B&&(cancelAnimationFrame(B),B=null),M=[],w.lineWidth=3,L&&(K=2,N=!0);for(var c=0;c<K;c++)b=L?169*c+1:null,M.push(new P(b));Q(),g()},Q=function(){var a=!1;do for(var b=0;b<K;b++)for(var c=0;c<b;c++)M[b].collidesWith(M[c])&&M[b].handleBallHit(M[c],w);while(a)},g=function(){w.clearRect(0,0,x,y);for(var a=0;a<K;a++)w.setLineDash([0]),M[a].draw(w),M[a].move(),Q();L&&!N||(B=requestAnimationFrame(g))};setTimeout(function(){F(),addEventListener("resize",F,!1)},15)}else if("slowBubbles"==m){var o=a(this).attr("data-color"),p=a(this).attr("data-balls-count"),R=n,S=R.width=a(this).width(),T=R.height=a(this).height(),w=R.getContext("2d"),U=[],V=[],W=[],X=[],Y=1,Z=[],$=[o],_=[],aa=p;for(window.addEventListener("resize",function(){},!1),ha=0;ha<aa;ha++)U[ha]=b(0,S),V[ha]=b(0,T),W[ha]=b(-Y,Y)/40,0==W[ha]&&(W[ha]+=.2),X[ha]=b(-Y,0)/5,0==X[ha]&&(X[ha]+=.2),Z[ha]=b(25,60);for(ha=0;ha<aa;ha++)_[ha]=$[b(0,$.length)];f()}else if("confetti"==m){var o=a(this).attr("data-color");!function(a,b){function c(a,b,c){var d=l[b.type]||{};return null==a?c||!b.def?null:b.def:(a=d.floor?~~a:parseFloat(a),isNaN(a)?b.def:d.mod?(a+d.mod)%d.mod:0>a?0:d.max<a?d.max:a)}function d(b){var c=j(),d=c._rgba=[];return b=b.toLowerCase(),o(i,function(a,e){var f,g=e.re.exec(b),h=g&&e.parse(g),i=e.space||"rgba";return h?(f=c[i](h),c[k[i].cache]=f[k[i].cache],d=c._rgba=f._rgba,!1):void 0}),d.length?("0,0,0,0"===d.join()&&a.extend(d,f.transparent),c):f[b]}function e(a,b,c){return c=(c+1)%1,1>6*c?a+(b-a)*c*6:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}var f,g="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",h=/^([\-+])=\s*(\d+\.?\d*)/,i=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[a[1],a[2],a[3],a[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(a){return[2.55*a[1],2.55*a[2],2.55*a[3],a[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(a){return[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(a){return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(a){return[a[1],a[2]/100,a[3]/100,a[4]]}}],j=a.Color=function(b,c,d,e){return new a.Color.fn.parse(b,c,d,e)},k={rgba:{props:{red:{idx:0,type:"byte"}
1,green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},l={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},m=j.support={},n=a("<p>")[0],o=a.each;n.style.cssText="background-color:rgba(1,1,1,.5)",m.rgba=n.style.backgroundColor.indexOf("rgba")>-1,o(k,function(a,b){b.cache="_"+a,b.props.alpha={idx:3,type:"percent",def:1}}),j.fn=a.extend(j.prototype,{parse:function(e,g,h,i){if(e===b)return this._rgba=[null,null,null,null],this;(e.jquery||e.nodeType)&&(e=a(e).css(g),g=b);var l=this,m=a.type(e),n=this._rgba=[];return g!==b&&(e=[e,g,h,i],m="array"),"string"===m?this.parse(d(e)||f._default):"array"===m?(o(k.rgba.props,function(a,b){n[b.idx]=c(e[b.idx],b)}),this):"object"===m?(e instanceof j?o(k,function(a,b){e[b.cache]&&(l[b.cache]=e[b.cache].slice())}):o(k,function(b,d){var f=d.cache;o(d.props,function(a,b){if(!l[f]&&d.to){if("alpha"===a||null==e[a])return;l[f]=d.to(l._rgba)}l[f][b.idx]=c(e[a],b,!0)}),l[f]&&a.inArray(null,l[f].slice(0,3))<0&&(l[f][3]=1,d.from&&(l._rgba=d.from(l[f])))}),this):void 0},is:function(a){var b=j(a),c=!0,d=this;return o(k,function(a,e){var f,g=b[e.cache];return g&&(f=d[e.cache]||e.to&&e.to(d._rgba)||[],o(e.props,function(a,b){return null!=g[b.idx]?c=g[b.idx]===f[b.idx]:void 0})),c}),c},_space:function(){var a=[],b=this;return o(k,function(c,d){b[d.cache]&&a.push(c)}),a.pop()},transition:function(a,b){var d=j(a),e=d._space(),f=k[e],g=0===this.alpha()?j("transparent"):this,h=g[f.cache]||f.to(g._rgba),i=h.slice();return d=d[f.cache],o(f.props,function(a,e){var f=e.idx,g=h[f],j=d[f],k=l[e.type]||{};null!==j&&(null===g?i[f]=j:(k.mod&&(j-g>k.mod/2?g+=k.mod:g-j>k.mod/2&&(g-=k.mod)),i[f]=c((j-g)*b+g,e)))}),this[e](i)},blend:function(b){if(1===this._rgba[3])return this;var c=this._rgba.slice(),d=c.pop(),e=j(b)._rgba;return j(a.map(c,function(a,b){return(1-d)*e[b]+d*a}))},toRgbaString:function(){var b="rgba(",c=a.map(this._rgba,function(a,b){return null==a?b>2?1:0:a});return 1===c[3]&&(c.pop(),b="rgb("),b+c.join()+")"},toHslaString:function(){var b="hsla(",c=a.map(this.hsla(),function(a,b){return null==a&&(a=b>2?1:0),b&&3>b&&(a=Math.round(100*a)+"%"),a});return 1===c[3]&&(c.pop(),b="hsl("),b+c.join()+")"},toHexString:function(b){var c=this._rgba.slice(),d=c.pop();return b&&c.push(~~(255*d)),"#"+a.map(c,function(a){return a=(a||0).toString(16),1===a.length?"0"+a:a}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),j.fn.parse.prototype=j.fn,k.hsla.to=function(a){if(null==a[0]||null==a[1]||null==a[2])return[null,null,null,a[3]];var b,c,d=a[0]/255,e=a[1]/255,f=a[2]/255,g=a[3],h=Math.max(d,e,f),i=Math.min(d,e,f),j=h-i,k=h+i,l=.5*k;return b=i===h?0:d===h?60*(e-f)/j+360:e===h?60*(f-d)/j+120:60*(d-e)/j+240,c=0===j?0:.5>=l?j/k:j/(2-k),[Math.round(b)%360,c,l,null==g?1:g]},k.hsla.from=function(a){if(null==a[0]||null==a[1]||null==a[2])return[null,null,null,a[3]];var b=a[0]/360,c=a[1],d=a[2],f=a[3],g=.5>=d?d*(1+c):d+c-d*c,h=2*d-g;return[Math.round(255*e(h,g,b+1/3)),Math.round(255*e(h,g,b)),Math.round(255*e(h,g,b-1/3)),f]},o(k,function(d,e){var f=e.props,g=e.cache,i=e.to,k=e.from;j.fn[d]=function(d){if(i&&!this[g]&&(this[g]=i(this._rgba)),d===b)return this[g].slice();var e,h=a.type(d),l="array"===h||"object"===h?d:arguments,m=this[g].slice();return o(f,function(a,b){var d=l["object"===h?a:b.idx];null==d&&(d=m[b.idx]),m[b.idx]=c(d,b)}),k?(e=j(k(m)),e[g]=m,e):j(m)},o(f,function(b,c){j.fn[b]||(j.fn[b]=function(e){var f,g=a.type(e),i="alpha"===b?this._hsla?"hsla":"rgba":d,j=this[i](),k=j[c.idx];return"undefined"===g?k:("function"===g&&(e=e.call(this,k),g=a.type(e)),null==e&&c.empty?this:("string"===g&&(f=h.exec(e),f&&(e=k+parseFloat(f[2])*("+"===f[1]?1:-1))),j[c.idx]=e,this[i](j)))})})}),j.hook=function(b){var c=b.split(" ");o(c,function(b,c){a.cssHooks[c]={set:function(b,e){var f,g,h="";if("transparent"!==e&&("string"!==a.type(e)||(f=d(e)))){if(e=j(f||e),!m.rgba&&1!==e._rgba[3]){for(g="backgroundColor"===c?b.parentNode:b;(""===h||"transparent"===h)&&g&&g.style;)try{h=a.css(g,"backgroundColor"),g=g.parentNode}catch(a){}e=e.blend(h&&"transparent"!==h?h:"_default")}e=e.toRgbaString()}try{b.style[c]=e}catch(a){}}},a.fx.step[c]=function(b){b.colorInit||(b.start=j(b.elem,c),b.end=j(b.end),b.colorInit=!0),a.cssHooks[c].set(b.elem,b.start.transition(b.end,b.pos))}})},j.hook(g),a.cssHooks.borderColor={expand:function(a){var b={};return o(["Top","Right","Bottom","Left"],function(c,d){b["border"+d+"Color"]=a}),b}},f=a.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery);var ba,ca,da,R,ea,fa,ga,ha,ia,ja,ka;ca=100;for(var la=jQuery.Color(o).hsla(),ma=new Array(5),ha=0;ha<ma.length;ha++){var na=16*ha,$=new Array;$[ha]=[la[0]+na,100*la[1],100*la[2]],ma[ha]=$[ha]}da=2*Math.PI,R=n,fa=R.getContext("2d"),x=a(this).width(),y=a(this).height(),ja=function(){return x=R.width=a(this).width(),y=R.height=y},window.addEventListener("resize",ja,!1),window.onload=function(){return setTimeout(ja,0)},ia=function(a,b){return(b-a)*Math.random()+a},ga=function(a,b,c,d){return fa.beginPath(),fa.fillRect(a,b,c,2*c),fa.fillStyle=d,fa.fill()},ka=.5,document.onmousemove=function(a){return ka=a.pageX/x},window.requestAnimationFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return window.setTimeout(a,1e3/60)}}(),ba=function(){function a(){this.style=ma[~~ia(0,5)],this.rgb="hsla("+this.style[0]+","+this.style[1]+"%,"+this.style[2],this.r=~~ia(2,6),this.r2=2*this.r,this.replace()}return a.prototype.replace=function(){return this.opacity=0,this.dop=.03*ia(1,4),this.x=ia(-this.r2,x-this.r2),this.y=ia(-20,y-this.r2),this.xmax=x-this.r,this.ymax=y-this.r,this.vx=ia(0,2)+8*ka-5,this.vy=.7*this.r+ia(-1,1)},a.prototype.draw=function(){var a;return this.x+=this.vx,this.y+=this.vy,this.opacity+=this.dop,this.opacity>la[3]&&(this.opacity=la[3],this.dop*=-la[3]),(this.opacity<0||this.y>this.ymax)&&this.replace(),0<(a=this.x)&&a<this.xmax||(this.x=(this.x+this.xmax)%this.xmax),ga(~~this.x,~~this.y,this.r,this.rgb+"%,"+this.opacity+")")},a}(),ea=function(){var a,b,c;for(c=[],ha=a=1,b=ca;1<=b?a<=b:a>=b;ha=1<=b?++a:--a)c.push(new ba);return c}(),window.step=function(){var a,b,c,d;for(requestAnimationFrame(step),fa.clearRect(0,0,x,y),d=[],b=0,c=ea.length;b<c;b++)a=ea[b],d.push(a.draw());return d},step()}else if("linesRain"==m){var o=a(this).attr("data-color"),v=n,w=v.getContext("2d");v.width=a(this).width(),v.height=a(this).height();var ha,oa=[],pa=1,qa=30,ra=0,sa=innerWidth/qa,$=[o];for(ha=0;ha<sa;ha++)ra+=qa,oa.push({x:ra,y:Math.round(Math.random()*v.height),width:2,height:Math.round(Math.random()*(innerHeight/10)),speed:Math.random()*pa+1,color:$[Math.floor(Math.random()*$.length)]});g()}else if("filmGrain"==m){var ta,ua,w,va,wa,xa,R=n,ya=128,za=1,Aa=1,Ba=8,Ca=30,Da=ya*ya*4,Ea=0;window.onload=function(){h(),i(),requestAnimationFrame(l)}}})}b(),a(".vc_row:has(.animated-canvas), .page-title--animation").on("mresize",function(){b()})}(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.