!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(s){if(e[s])returne[s].exports;varn=e[s]={i:s,l:!1,exports:{}};returnt[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}returni.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:s})},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=1026)}([function(t,e){functioni(t,e,i){vars=i?t[e]:Object.getOwnPropertyDescriptor(t,e);return!i&&s.value&&"object"==typeofs.value&&(s=s.value),!(!s||!function(t){return!!t.get&&"function"==typeoft.get||!!t.set&&"function"==typeoft.set}(s))&&(void0===s.enumerable&&(s.enumerable=!0),void0===s.configurable&&(s.configurable=!0),s)}functions(t,e){vari=Object.getOwnPropertyDescriptor(t,e);return!!i&&(i.value&&"object"==typeofi.value&&(i=i.value),!1===i.configurable)}functionn(t,e,n,r){for(varoine)if(e.hasOwnProperty(o)){varh=i(e,o,n);if(!1!==h){if(s((r||t).prototype,o)){if(a.ignoreFinals)continue;thrownewError("cannot override final property '"+o+"', set Class.ignoreFinals = true to skip")}Object.defineProperty(t.prototype,o,h)}elset.prototype[o]=e[o]}}functionr(t,e){if(e){Array.isArray(e)||(e=[e]);for(vari=0;i<e.length;i++)n(t,e[i].prototype||e[i])}}functiona(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){vars=t.Extends;e=function(){s.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;vara=null;returnt.Mixins&&(a=t.Mixins,deletet.Mixins),r(e,a),n(e,t,!0,i),e}a.extend=n,a.mixin=r,a.ignoreFinals=!1,t.exports=a},function(t,e){t.exports=function(t,e,i){vars=typeoft;returnt&&"number"!==s&&"string"!==s&&t.hasOwnProperty(e)&&void0!==t[e]?t[e]:i}},function(t,e,i){vars=i(0),n=i(15),r=i(81),a=i(9),o=news({Extends:a,initialize:function(t,e){a.call(this),this.scene=t,this.type=e,this.parentContainer=null,this.name="",this.active=!0,this.tabIndex=-1,this.data=null,this.renderFlags=15,this.cameraFilter=0,this.input=null,this.body=null,this.ignoreDestroy=!1,t.sys.queueDepthSort(),t.sys.events.once("shutdown",this.destroy,this)},setActive:function(t){returnthis.active=t,this},setName:function(t){returnthis.name=t,this},setDataEnabled:function(){returnthis.data||(this.data=newr(this)),this},setData:function(t,e){returnthis.data||(this.data=newr(this)),this.data.set(t,e),this},getData:function(t){returnthis.data||(this.data=newr(this)),this.data.get(t)},setInteractive:function(t,e,i){returnthis.scene.sys.input.enable(this,t,e,i),this},disableInteractive:function(){returnthis.input&&(this.input.enabled=!this.input.enabled),this},removeInteractive:function(){returnthis.scene.sys.input.clear(this),this.input=void0,this},update:function(){},toJSON:function(){returnn.ToJSON(this)},willRender:function(){returno.RENDER_MASK===this.renderFlags},getIndexList:function(){for(vart=this,e=this.parentContainer,i=[];e&&(i.unshift(e.getIndex(t)),t=e,e.parentContainer);)e=e.parentContainer;returni.unshift(this.scene.sys.displayList.getIndex(t)),i},destroy:function(){if(this.scene&&!this.ignoreDestroy){this.preDestroy&&this.preDestroy.call(this),this.emit("destroy",this);vart=this.scene.sys;t.displayList.remove(this),t.updateList.remove(this),this.input&&(t.input.clear(this),this.input=void0),this.data&&(this.data.destroy(),this.data=void0),this.body&&(this.body.destroy(),this.body=void0),t.queueDepthSort(),this.active=!1,this.visible=!1,this.scene=void0,this.parentContainer=void0,this.removeAllListeners()}}});