!function(e){function n(n){for(var t,o,i=n[0],_=n[1],u=0,c=[];u{if(!i)return void alert("Failed to initialize WebGL");const n=new e.DougsClient,t=Date.now();let r=-1;o.height<1e3&&(window.innerHeight===o.height&&window.innerWidth===o.width||(o.height=window.innerHeight,o.clientHeight=window.innerHeight,o.style.height=window.innerHeight,o.width=window.innerWidth,o.clientWidth=window.innerWidth,o.style.width=window.innerWidth,i.viewport(0,0,window.innerWidth,window.innerHeight))),function e(){window.requestAnimationFrame(e);const o=Date.now();if(o>=r+1e3/30){r=o;let e=o-t;n.update(e,window.innerHeight,window.innerWidth),n.render()}}()})}]);