!function(n,t){!function n(t,i,r,u){function p(){}function s(n){var r=i.exports.Promise,u=void 0!==r?r:t.Promise;return"function"==typeof u?new u(n):(n(p,p),null)}function f(n,t,i){return function(n,t){return t?t(n):n}(n&&null!=n[t]?n[t]:k[t],i)}function v(n){return parseInt(n,16)}function d(n){n.width=document.documentElement.clientWidth;n.height=document.documentElement.clientHeight}function g(n){var t=n.getBoundingClientRect();n.width=t.width;n.height=t.height}function nt(n,t,i,f,e){var o,h,c=t.slice(),l=n.getContext("2d"),v=s(function(t){function s(){o=h=null;l.clearRect(0,0,f.width,f.height);e();t()}o=a.frame(function t(){r&&(f.width!==u.width||f.height!==u.height)&&(f.width=n.width=u.width,f.height=n.height=u.height);f.width||f.height||(i(n),f.width=n.width,f.height=n.height);l.clearRect(0,0,f.width,f.height);(c=c.filter(function(n){return function(n,t){t.x+=Math.cos(t.angle2D)*t.velocity;t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity;t.wobble+=.1;t.velocity*=t.decay;t.tiltAngle+=.1;t.tiltSin=Math.sin(t.tiltAngle);t.tiltCos=Math.cos(t.tiltAngle);t.random=Math.random()+5;t.wobbleX=t.x+10*Math.cos(t.wobble);t.wobbleY=t.y+10*Math.sin(t.wobble);var e=t.tick++/t.totalTicks,i=t.x+t.random*t.tiltCos,r=t.y+t.random*t.tiltSin,u=t.wobbleX+t.random*t.tiltCos,f=t.wobbleY+t.random*t.tiltSin;return n.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-e)+")",n.beginPath(),"circle"===t.shape?n.ellipse?n.ellipse(t.x,t.y,Math.abs(u-i)*t.ovalScalar,Math.abs(f-r)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(n,t,i,r,u,f,e,o,s){n.save();n.translate(t,i);n.rotate(f);n.scale(r,u);n.arc(0,0,1,e,o,s);n.restore()}(n,t.x,t.y,Math.abs(u-i)*t.ovalScalar,Math.abs(f-r)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(n.moveTo(Math.floor(t.x),Math.floor(t.y)),n.lineTo(Math.floor(t.wobbleX),Math.floor(r)),n.lineTo(Math.floor(u),Math.floor(f)),n.lineTo(Math.floor(i),Math.floor(t.wobbleY))),n.closePath(),n.fill(),t.tick<t.totalTicks}(l,n)})).length?o=a.frame(t):s()});h=s});return{addFettis:function(n){return c=c.concat(n),v},canvas:n,promise:v,reset:function(){o&&a.cancel(o);h&&h()}}}function w(n,i){function w(t,i,r){for(var o,h,e,l,s,a,p,g=f(t,"particleCount",Math.floor),tt=f(t,"angle",Number),it=f(t,"spread",Number),rt=f(t,"startVelocity",Number),ut=f(t,"decay",Number),ft=f(t,"gravity",Number),w=f(t,"colors"),et=f(t,"ticks",Number),b=f(t,"shapes"),k=function(n){var t=f(n,"origin",Object);return t.x=f(t,"x",Number),t.y=f(t,"y",Number),t}(t),d=g,y=[],ot=n.width*k.x,st=n.height*k.y;d--;)y.push((o={x:ot,y:st,angle:tt,spread:it,startVelocity:rt,color:w[d%w.length],shape:b[(a=0,p=b.length,Math.floor(Math.random()*(p-a))+a)],ticks:et,decay:ut,gravity:ft},h=void 0,e=void 0,l=void 0,s=void 0,l=o.angle*(Math.PI/180),s=o.spread*(Math.PI/180),{x:o.x,y:o.y,wobble:10*Math.random(),velocity:.5*o.startVelocity+Math.random()*o.startVelocity,angle2D:-l+(.5*s-Math.random()*s),tiltAngle:Math.random()*Math.PI,color:(h=o.color,e=String(h).replace(/[^0-9a-f]/gi,""),e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:v(e.substring(0,2)),g:v(e.substring(2,4)),b:v(e.substring(4,6))}),shape:o.shape,tick:0,totalTicks:o.ticks,decay:o.decay,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*o.gravity,ovalScalar:.6}));return u?u.addFettis(y):(u=nt(n,y,c,i,r)).promise}function l(i){function v(){if(r){var t={getBoundingClientRect:function(){if(!e)return n.getBoundingClientRect()}};return c(t),void r.postMessage({resize:{width:t.width,height:t.height}})}l.width=l.height=null}function y(){u=null;h&&t.removeEventListener("resize",v);e&&n&&(document.body.removeChild(n),n=null,o=!1)}var b=a||f(i,"disableForReducedMotion",Boolean),k=f(i,"zIndex",Number),l;return b&&p?s(function(n){n()}):(e&&u?n=u.canvas:e&&!n&&(n=function(n){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=n,t}(k),document.body.appendChild(n)),h&&!o&&c(n),l={width:n.width,height:n.height},r&&!o&&r.init(n),o=!0,r&&(n.__confetti_initialized=!0),h&&t.addEventListener("resize",v,!1),r?r.fire(i,l,y):w(i,l,y))}var u,e=!n,h=!!f(i||{},"resize"),a=f(i,"disableForReducedMotion",Boolean),r=y&&!!f(i||{},"useWorker")?b():null,c=e?d:g,o=!(!n||!r)&&!!n.__confetti_initialized,p="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;return l.reset=function(){r&&r.reset();u&&u.reset()},l}var y=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),h,c,l,e,o,a=(l=Math.floor(1e3/60),e={},o=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(h=function(n){var t=Math.random();return e[t]=requestAnimationFrame(function i(r){o===r||o+l-1<r?(o=r,delete e[t],n()):e[t]=requestAnimationFrame(i)}),t},c=function(n){e[n]&&cancelAnimationFrame(e[n])}):(h=function(n){return setTimeout(n,l)},c=function(n){return clearTimeout(n)}),{frame:h,cancel:c}),b=function(){var t,u,i={};return function(){if(t)return t;if(!r&&y){var f=["var CONFETTI, SIZE = {}, module = {};","("+n.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {","  if (msg.data.options) {","    CONFETTI(msg.data.options).then(function () {","      if (msg.data.callback) {","        postMessage({ callback: msg.data.callback });","      }","    });","  } else if (msg.data.reset) {","    CONFETTI.reset();","  } else if (msg.data.resize) {","    SIZE.width = msg.data.resize.width;","    SIZE.height = msg.data.resize.height;","  } else if (msg.data.canvas) {","    SIZE.width = msg.data.canvas.width;","    SIZE.height = msg.data.canvas.height;","    CONFETTI = module.exports.create(msg.data.canvas);","  }","}"].join("\n");try{t=new Worker(URL.createObjectURL(new Blob([f])))}catch(n){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Count not load worker",n),null}!function(n){function t(t,i){n.postMessage({options:t||{},callback:i})}n.init=function(t){var i=t.transferControlToOffscreen();n.postMessage({canvas:i},[i])};n.fire=function(r,f,e){if(u)return t(r,null),u;var o=Math.random().toString(36).slice(2);return u=s(function(f){function s(t){t.data.callback===o&&(delete i[o],n.removeEventListener("message",s),u=null,e(),f())}n.addEventListener("message",s);t(r,o);i[o]=s.bind(null,{data:{callback:o}})})};n.reset=function(){for(var t in n.postMessage({reset:!0}),i)i[t](),delete i[t]}}(t)}return t}}(),k={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1};i.exports=w(null,{useWorker:!0,resize:!0});i.exports.create=w}(function(){return void 0!==n?n:"undefined"!=typeof self?self:this}(),t,!1);n.confetti=t.exports}(window,{});
(function frame(){const n=document.getElementById("confetti-canvas"),t=Math.max(.8,1-.001);n.confetti=n.confetti||confetti.create(n,{resize:!0});n.confetti({ticks:100,particleCount:1,startVelocity:0,gravity:.5,origin:{x:Math.random(),y:Math.random()*t-.2},shapes:["square"],colors:["#c50a20"]});n.confetti({ticks:100,particleCount:1,startVelocity:0,gravity:.5,origin:{x:Math.random(),y:Math.random()*t-.2},shapes:["square"],colors:["#fcc85b"]});n.confetti({ticks:100,particleCount:1,startVelocity:0,gravity:.5,origin:{x:Math.random(),y:Math.random()*t-.2},shapes:["square"],colors:["#fef673"]});requestAnimationFrame(frame)})();