var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(r,l){var c=r(l);function s(i,t){var e=r(i),n=i.getContext("2d"),s={star:{color:"rgba(255, 255, 255, .5)",width:1,randomWidth:!0},line:{color:"rgba(255, 255, 255, .5)",width:.2},position:{x:0,y:0},width:l.innerWidth,height:l.innerHeight,velocity:.1,length:100,distance:120,radius:150,stars:[]},a=r.extend(!0,{},s,t);function o(){this.x=Math.random()*i.width,this.y=Math.random()*i.height,this.vx=a.velocity-.5*Math.random(),this.vy=a.velocity-.5*Math.random(),this.radius=a.star.randomWidth?Math.random()*a.star.width:a.star.width}o.prototype={create:function(){n.beginPath(),n.arc(this.x,this.y,this.radius,0,2*Math.PI,!1),n.fill()},animate:function(){var t;for(t=0;ti.height?(e.vx=e.vx,e.vy=-e.vy):(e.x<0||e.x>i.width)&&(e.vx=-e.vx,e.vy=e.vy),e.x+=e.vx,e.y+=e.vy}},line:function(){var t,e,s,i,o=a.length;for(s=0;s-a.distance&&t.y-e.y>-a.distance&&t.x-a.position.x-a.radius&&t.y-a.position.y>-a.radius&&(n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.closePath())}},this.createStars=function(){var t,e,s=a.length;for(n.clearRect(0,0,i.width,i.height),e=0;e