!function(t,e){"object"==typeofexports&&"object"==typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define("Phaser",[],e):"object"==typeofexports?exports.Phaser=e():t.Phaser=e()}(window,function(){returnn={},s.m=i=[function(t,e){functionr(t,e,i,n){for(varsine)if(e.hasOwnProperty(s)){varr=(l=e,u=s,f=d=void0,f=(c=i)?l[u]:Object.getOwnPropertyDescriptor(l,u),!c&&f.value&&"object"==typeoff.value&&(f=f.value),!(!f||!((d=f).get&&"function"==typeofd.get||d.set&&"function"==typeofd.set))&&(void0===f.enumerable&&(f.enumerable=!0),void0===f.configurable&&(f.configurable=!0),f));if(!1!==r){if(o=(n||t).prototype,a=s,h=void0,(h=Object.getOwnPropertyDescriptor(o,a))&&(h.value&&"object"==typeofh.value&&(h=h.value),!1===h.configurable)){if(p.ignoreFinals)continue;thrownewError("cannot override final property '"+s+"', set Class.ignoreFinals = true to skip")}Object.defineProperty(t.prototype,s,r)}elset.prototype[s]=e[s]}varo,a,h,l,u,c,d,f}functiono(t,e){if(e){Array.isArray(e)||(e=[e]);for(vari=0;i<e.length;i++)r(t,e[i].prototype||e[i])}}functionp(t){vare,i,n;if((t=t||{}).initialize){if("function"!=typeoft.initialize)thrownewError("initialize must be a function");n=t.initialize,deletet.initialize}else{n=t.Extends?(i=t.Extends,function(){i.apply(this,arguments)}):function(){}}t.Extends?(n.prototype=Object.create(t.Extends.prototype),n.prototype.constructor=n,e=t.Extends,deletet.Extends):n.prototype.constructor=n;vars=null;returnt.Mixins&&(s=t.Mixins,deletet.Mixins),o(n,s),r(n,t,!0,e),n}p.extend=r,p.mixin=o,p.ignoreFinals=!1,t.exports=p},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e,i){varn=typeoft;returnt&&"number"!=n&&"string"!=n&&t.hasOwnProperty(e)&&void0!==t[e]?t[e]:i}},function(t,e,i){varn=i(0),s=i(96),r=newn({initialize:function(t,e){this.x=0,this.y=0,"object"==typeoft?(this.x=t.x||0,this.y=t.y||0):(void0===e&&(e=t),this.x=t||0,this.y=e||0)},clone:function(){returnnewr(this.x,this.y)},copy:function(t){returnthis.x=t.x||0,this.y=t.y||0,this},setFromObject:function(t){returnthis.x=t.x||0,this.y=t.y||0,this},set:function(t,e){returnvoid0===e&&(e=t),this.x=t,this.y=e,this},setTo:function(t,e){returnthis.set(t,e)},setToPolar:function(t,e){returnnull==e&&(e=1),this.x=Math.cos(t)*e,this.y=Math.sin(t)*e,this},equals:function(t){returnthis.x===t.x&&this.y===t.y},fuzzyEquals:function(t,e){returns(this.x,t.x,e)&&s(this.y,t.y,e)},angle:function(){vart=Math.atan2(this.y,this.x);returnt<0&&(t+=2*Math.PI),t},setAngle:function(t){returnthis.setToPolar(t,this.length())},add:function(t){returnthis.x+=t.x,this.y+=t.y,this},subtract:function(t){returnthis.x-=t.x,this.y-=t.y,this},multiply:function(t){returnthis.x*=t.x,this.y*=t.y,this},scale:function(t){returnisFinite(t)?(this.x*=t,this.y*=t):(this.x=0,this.y=0),this},divide:function(t){returnthis.x/=t.x,this.y/=t.y,this},negate:function(){returnthis.x=-this.x,this.y=-this.y,this},distance:function(t){vare=t.x-this.x,i=t.y-this.y;returnMath.sqrt(e*e+i*i)},distanceSq:function(t){vare=t.x-this.x,i=t.y-this.y;returne*e+i*i},length:function(){vart=this.x,e=this.y;returnMath.sqrt(t*t+e*e)},setLength:function(t){returnthis.normalize().scale(t)},lengthSq:function(){vart=this.x,e=this.y;returnt*t+e*e},normalize:function(){vart=this.x,e=this.y,i=t*t+e*e;return0<i&&(i=1/Math.sqrt(i),this.x=t*i,this.y=e*i),this},normalizeRightHand:function(){vart=this.x;returnthis.x=-1*this.y,this.y=t,this},normalizeLeftHand:function(){vart=this.x;returnthis.x=this.y,this.y=-1*t,this},dot:function(t){returnthis.x*t.x+this.y*t.y},cross:function(t){returnthis.x*t.y-this.y*t.x},lerp:function(t,e){void0===e&&(e=0);vari=this.x,n=this.y;returnthis.x=i+e*(t.x-i),this.y=n+e*(t.y-n),this},transformMat3:function(t){vare=this.x,i=this.y,n=t.val;returnthis.x=n[0]*e+n[3]*i+n[6],this.y=n[1]*e+n[4]*i+n[7],this},transformMat4:function(t){vare=this.x,i=this.y,n=t.val;returnthis.x=n[0]*e+n[4]*i+n[12],this.y=n[1]*e+n[5]*i+n[13],this},reset:function(){returnthis.x=0,this.y=0,this},limit:function(t){vare=this.length();