!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(){returnfunction(t){vare={};functioni(n){if(e[n])returne[n].exports;vars=e[n]={i:n,l:!1,exports:{}};returnt[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}returni.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},i.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returni.d(e,"a",e),e},i.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1365)}([function(t,e){functioni(t,e,i){varn=i?t[e]:Object.getOwnPropertyDescriptor(t,e);return!i&&n.value&&"object"==typeofn.value&&(n=n.value),!(!n||!function(t){return!!t.get&&"function"==typeoft.get||!!t.set&&"function"==typeoft.set}(n))&&(void0===n.enumerable&&(n.enumerable=!0),void0===n.configurable&&(n.configurable=!0),n)}functionn(t,e){vari=Object.getOwnPropertyDescriptor(t,e);return!!i&&(i.value&&"object"==typeofi.value&&(i=i.value),!1===i.configurable)}functions(t,e,s,r){for(varaine)if(e.hasOwnProperty(a)){varh=i(e,a,s);if(!1!==h){if(n((r||t).prototype,a)){if(o.ignoreFinals)continue;thrownewError("cannot override final property '"+a+"', set Class.ignoreFinals = true to skip")}Object.defineProperty(t.prototype,a,h)}elset.prototype[a]=e[a]}}functionr(t,e){if(e){Array.isArray(e)||(e=[e]);for(vari=0;i<e.length;i++)s(t,e[i].prototype||e[i])}}functiono(t){vare,i;if(t||(t={}),t.initialize){if("function"!=typeoft.initialize)thrownewError("initialize must be a function");e=t.initialize,deletet.initialize}elseif(t.Extends){varn=t.Extends;e=function(){n.apply(this,arguments)}}elsee=function(){};t.Extends?(e.prototype=Object.create(t.Extends.prototype),e.prototype.constructor=e,i=t.Extends,deletet.Extends):e.prototype.constructor=e;varo=null;returnt.Mixins&&(o=t.Mixins,deletet.Mixins),r(e,o),s(e,t,!0,i),e}o.extend=s,o.mixin=r,o.ignoreFinals=!1,t.exports=o},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){t.exports=function(){}},function(t,e,i){varn=new(i(0))({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(){returnnewn(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},angle:function(){vart=Math.atan2(this.y,this.x);returnt<0&&(t+=2*Math.PI),t},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)},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;returni>0&&(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},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.