text: /*!
   * pixi-ui - v1.0.0
   * Compiled Sat, 29 Dec 2018 10:39:06 UTC
   *
   * pixi-ui is licensed under the MIT License.
   * http://www.opensource.org/licenses/mit-license
   */
  !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,(e.pixiUi||(e.pixiUi={})).min=t()}}(function(){return function t(e,i,n){function s(h,r){if(!i[h]){if(!e[h]){var u="function"==typeof require&&require;if(!r&&u)return u(h,!0);if(o)return o(h,!0);var a=new Error("Cannot find module '"+h+"'");throw a.code="MODULE_NOT_FOUND",a}var l=i[h]={exports:{}};e[h][0].call(l.exports,function(t){var i=e[h][1][t];return s(i?i:t)},l,l.exports,t,e,i,n)}return i[h].exports}for(var o="function"==typeof require&&require,h=0;h<n.length;h++)s(n[h]);return s}({1:[function(t,e,i){"use strict";e.exports=function(){return/\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F/g}},{}],2:[function(t,e,i){function n(t){s.call(this,t.width||(t.background?t.background.width:100),t.height||(t.background?t.background.height:20),t.tabIndex||0,t.tabGroup||0),this.background=t.background,this.background&&(this.background.width="100%",this.background.height="100%",this.background.pivot=.5,this.background.verticalAlign="middle",this.background.horizontalAlign="center",this.addChild(this.background)),this.isHover=!1,this.uiText=t.text,this.uiText&&(this.uiText.verticalAlign="middle",this.uiText.horizontalAlign="center",this.addChild(this.uiText)),this.container.buttonMode=!0;var e=this,i=new o(this);i.onHover=function(t,i){this.isHover=i,e.emit("hover",i)},i.onPress=function(t,i){i&&(e.focus(),t.data.originalEvent.preventDefault()),e.emit("press",i)},i.onClick=function(t){e.click()},this.click=function(){e.emit("click")},this.focus=function(){this._focused||s.prototype.focus.call(this)},this.blur=function(){this._focused&&s.prototype.blur.call(this)},this.initialize=function(){s.prototype.initialize.call(this),this.container.interactiveChildren=!1;var t=this;setTimeout(function(){var e=t.container.getLocalBounds();t.container.hitArea=new PIXI.Rectangle(e.x<0?e.x:0,e.y<0?e.y:0,Math.max(e.x+e.width+(e.x<0?-e.x:0),t._width),Math.max(e.y+e.height+(e.y<0?-e.y:0),t._height))},20)}}var s=t("./InputBase"),o=t("./Interaction/ClickEvent.js");t("./Interaction/InputController");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,Object.defineProperties(n.prototype,{value:{get:function(){return this.uiText?this.uiText.text:""},set:function(t){this.uiText&&(this.uiText.text=t)}},text:{get:function(){return this.uiText},set:function(t){this.value=t}}})},{"./InputBase":12,"./Interaction/ClickEvent.js":13,"./Interaction/InputController":16}],3:[function(t,e,i){function n(t){s.call(this,t.background.width,t.background.height,t.tabIndex||0,t.tabGroup||0),this._checked=void 0!==t.checked&&t.checked,this._value=t.value||"",this.checkGroup=t.checkgroup||null,this.background=t.background,this.background.width="100%",this.background.height="100%",this.addChild(this.background),this.checkmark=t.checkmark,this.checkmark&&(this.checkmark.verticalAlign="middle",this.checkmark.horizontalAlign="center",this._checked||(this.checkmark.alpha=0),this.addChild(this.checkmark)),this.container.buttonMode=!0,null!==this.checkGroup&&h.registrerCheckGroup(this);var e=this,i=new o(this);i.onHover=function(t,i){e.emit("hover",i)},i.onPress=function(t,i){i&&(e.focus(),t.data.originalEvent.preventDefault()),e.emit("press",i)},i.onClick=function(t){e.click()},this.change=function(t){this.checkmark&&(this.checkmark.alpha=t?1:0)},this.click=function(){e.emit("click"),null!==e.checkGroup&&e.checked||(e.checked=!e.checked,this.emit("change",e.checked))},this.focus=function(){this._focused||s.prototype.focus.call(this)},this.blur=function(){this._focused&&s.prototype.blur.call(this)}}var s=t("./InputBase"),o=t("./Interaction/ClickEvent.js"),h=t("./Interaction/InputController");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,Object.defineProperties(n.prototype,{checked:{get:function(){return this._checked},set:function(t){t!==this._checked&&(null!==this.checkGroup&&t&&h.updateCheckGroupSelected(this),this._checked=t,this.change(t))}},value:{get:function(){return this._value},set:function(t){this._value=t,this.checked&&h.updateCheckGroupSelected(this)}},selectedValue:{get:function(){return h.getCheckGroupSelectedValue(this.checkGroup)},set:function(t){h.setCheckGroupSelectedValue(this.checkGroup,t)}}})},{"./InputBase":12,"./Interaction/ClickEvent.js":13,"./Interaction/InputController":16}],4:[function(t,e,i){function n(t,e){s.call(this,t,e),this.container.hitArea=new PIXI.Rectangle(0,0,0,0)}var s=t("./UIBase");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.update=function(){this.container.hitArea.width=this._width,this.container.hitArea.height=this._height}},{"./UIBase":32}],5:[function(t,e,i){function n(){this.style=null,this.data=null,this.space=!1,this.newline=!1,this.emoji=!1,this.charcode=0,this.value="",this.wordIndex=-1,this.lineIndex=-1}n.prototype.constructor=n,e.exports=n},{}],6:[function(t,e,i){function n(t,e){e=e||{},a.call(this,e.width||0,e.height||0),null===D&&(D=new f(1));var i=!e.width,o=!e.height,h=this._style=new l(this);h.merge(e.style);var u=this.chars=[],p=[],g=[],_=new PIXI.Container;this.container.addChild(_),this._inputText=t;var v=0,m=0;this.dirtyText=!0,this.dirtyStyle=!0,this.dirtyRender=!0;var x=[],C=[],y=[],w=[],F=0,I=0,E=[],b=[];this.render=function(){var t,e=0,n=0,h=-1;if(g.length>F)for(t=F;t<g.length;t++){var u=g[t];u&&(u.visible=!1)}var a,l=0,c=0,d=0;for(t=0;t<F;t++){if(a=p[t],h!==a.lineIndex){switch(h=a.lineIndex,l=x[h],c=C[h],e+=c,w[h]){case"right":n=this._width-l;break;case"center":n=.5*(this._width-l);break;default:n=0}d=Math.max(l,d)}if(!a.data.texture||a.space||a.newline)g[t]&&(g[t].visible=!1);else{var D=a.data.texture,f=g[t];f?f.texture=D:(f=g[t]=new PIXI.Sprite(D),f.anchor.set(.5)),f.visible=!0,f.x=a.x+n+.5*D.width,f.y=a.y+e-.5*D.height-(c-y[h]),f.tint=a.emoji?16777215:r(a.style.tint,16777215),f.rotation=s(a.style.rotation,0),f.skew.x=s(a.style.skew,0),f.parent||_.addChild(f)}}i&&(this.width=d),o&&(this.height=e)},this.prepareForRender=function(){var t,e,n=new PIXI.Point,o=0,r=0,a=0,l=0,d=h.align,g=-1,f=0,_=0,v=!1,m=0,P=!1,B=!1;for(e=0;e<I;e++){var k=u[e],T=u[e-1];if(t=k.style,r=Math.max(r,h.lineHeight||t.lineHeight||k.data.lineHeight),"visible"!==t.overflowY&&r+_>this._height&&"hidden"===t.overflowY)break;k.newline&&(B=!1),k.space||k.newline?o++:k.wordIndex=o,a=Math.max(a,t.fontSize),k.lineIndex=l,t.align!==h.align&&(d=t.align),k.space&&(g=e,f=n.x);var A=Math.round(k.data.width)+s(t.letterSpacing,0);if(!i&&!v&&!k.newline&&n.x+A>this._width){if(t.wrap)if(k.space)v=!0;else{if(g!==-1){m-=e-g,e=g-1,g=-1,n.x=f,v=!0;continue}if(t.breakWords){T&&(n.x-=T.style.letterSpacing,n.x-=T.data.width),e-=2,m--,v=!0;continue}}if("hidden"==t.overflowX&&!v&&(B=!0,t.ellipsis&&!P)){P=!0;var S=E[l];S||(S=E[l]=[new c,new c,new c]);for(var M=0;M<3;M++){var L=S[M];L.value=".",L.data=D.getCharObject(L.value,t),L.style=t,L.x=n.x+k.data.xOffset,L.y=parseFloat(t.verticalAlign)+L.data.yOffset,L.lineIndex=l,n.x+=Math.round(L.data.width)+s(t.letterSpacing,0),p[m]=L,m++}}}B||(k.x=n.x+k.data.xOffset,k.y=parseFloat(t.verticalAlign)+k.data.yOffset,n.x+=A,p[m]=k,m++),(v||k.newline||e===I-1)&&(T&&(n.x-=T.style.letterSpacing),k.space&&(n.x-=k.data.width,n.x-=s(t.letterSpacing,0)),_+=r,b[l]=P,x[l]=n.x,C[l]=r,y[l]=a,w[l]=d,r=n.x=f=a=0,d=h.align,g=-1,l++,v=B=P=!1)}F=m};var P=["</i>","</b>","</font>","</center>"];this.processInputText=function(){for(var t=[h],i=0,s=0,o=Array.from(this._inputText),r=0;r<o.length;r++){style=t[t.length-1];var a=o[r],l=(a.charCodeAt(0),!1),p=!1,g=!1;if(/(?:\r\n|\r|\n)/.test(a))l=!0;else if(/(\s)/.test(a))p=!0;else if(e.allowTags&&"<"===a){var f=this._inputText.substring(s);f=f.slice(0,f.indexOf(">")+1);var _=!0;if(f.length){if("<i>"===f)style=style.clone(),style.fontStyle="italic",t.push(style);else if("<b>"===f)style=style.clone(),style.fontWeight="bold",t.push(style);else if("<center>"===f)style=style.clone(),style.align="center",t.push(style);else if(P.indexOf(f)!==-1)t.length>1&&t.splice(t.length-1,1);else if(f.startsWith("<font ")){var v=/(\w+)\s*=\s*((["'])(.*?)\3|([^>\s]*)(?=\s|\/>))(?=[^<]*>)/g,m=v.exec(f);if(null!==m){for(style=style.clone();null!==m;){switch(m[1]){case"family":m[1]="fontFamily";break;case"size":m[1]="fontSize";break;case"weight":m[1]="fontWeight";break;case"style":m[1]="fontStyle";break;case"valign":m[1]="verticalAlign";break;case"spacing":m[1]="letterSpacing";break;case"color":m[1]="tint"}style[m[1]]=m[4],m=v.exec(f)}t.push(style)}}else _=!1;if(_){s+=f.length,r+=f.length-1;continue}}}else{var x=d().exec(a);if(null!==x){for(r--,a="";null!==x&&a!==x[0];)r++,a=x[0],x=d().exec(a+o[r+1]);g=!0}}var C=u[i];C||(C=new c,u[i]=C),C.style=style,g&&(C.style=C.style.clone(),C.style.fontFamily=n.settings.defaultEmojiFont),C.data=D.getCharObject(a,C.style),C.value=a,C.space=p,C.newline=l,C.emoji=g,i++,s+=a.length}I=i},this.lazyUpdate=null;var B=this;this.update=function(){null===B.lazyUpdate&&(B.lazyUpdate=setTimeout(function(){var t=!i&&(B._width!=v||B._height!=m||B.dirtyText);(B.dirtyText||B.dirtyStyle)&&(B.dirtyText=B.dirtyStyle=!1,B.dirtyRender=!0,B.processInputText()),(t||B.dirtyRender)&&(B.dirtyRender=!1,v=B._width,m=B.height,B.prepareForRender(),B.render()),B.lazyUpdate=null},0))}}function s(t,e){return isNaN(t)?e:parseFloat(t)}function o(t,e){return isNaN(t)?e:parseInt(t)}function h(t,e){return"string"==typeof t&&t.length?t:e}function r(t,e){if("number"==typeof t)return t;var i=parseInt(t.replace("#","0x"));return isNaN(i)?e:i}function u(t,e){var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e=s(e,1),!!i&&"rgba("+parseInt(i[1],16)+","+parseInt(i[2],16)+","+parseInt(i[3],16)+","+e+")"}var a=t("../UIBase"),l=t("./DynamicTextStyle"),c=t("./DynamicChar"),d=t("emoji-regex"),D=null;n.prototype=Object.create(a.prototype),n.prototype.constructor=n,e.exports=n,n.settings={debugSpriteSheet:!1,defaultEmojiFont:"Segoe UI Emoji"},Object.defineProperties(n.prototype,{value:{get:function(){return this._inputText},set:function(t){t!==this._inputText&&(this._inputText=t,this.dirtyText=!0,this.update())}},text:{get:function(){return this.value},set:function(t){this.value=t}},style:{get:function(){return this._style},set:function(t){var e=new l(this);e.merge(t),this._style.merge(e),this.dirtyStyle=!0,this.update()}}});var p=document.createElement("canvas"),g=p.getContext("2d");p.width=100,p.height=100;var f=function(t){var e,i,r,a,l,c,d,D=(devicePixelRatio||1,[]),f=[],_=256,v=2048,m=function(t,e){var i=this.children=[];this.rect=new PIXI.Rectangle(0,0,t||0,e||0),this.data=null,this.insert=function(t,e,n){if(i.length>0){var s=i[0].insert(t,e,n);return null!==s?s:i[1].insert(t,e,n)}if(null!==this.data)return null;if(t>this.rect.width||e>this.rect.height)return null;if(t==this.rect.width&&e==this.rect.height)return this.data=n,n.frame.x=this.rect.x,n.frame.y=this.rect.y,this;i.push(new m),i.push(new m);var o=this.rect.width-t,h=this.rect.height-e;return o>h?(i[0].rect=new PIXI.Rectangle(this.rect.x,this.rect.y,t,this.rect.height),i[1].rect=new PIXI.Rectangle(this.rect.x+t,this.rect.y,this.rect.width-t,this.rect.height)):(i[0].rect=new PIXI.Rectangle(this.rect.x,this.rect.y,this.rect.width,e),i[1].rect=new PIXI.Rectangle(this.rect.x,this.rect.y+e,this.rect.width,this.rect.height-e)),i[0].insert(t,e,n)}},x=function(){e=document.createElement("canvas"),i=e.getContext("2d"),f.push(e),d=_,e.width=e.height=d,c=new m(d,d),r=[],a=PIXI.BaseTexture.fromCanvas(e),a.mipmap=!1,a.resolution=1,a.update(),n.settings.debugSpriteSheet&&(e.className="DynamicText_SpriteSheet",document.body.appendChild(e))};this.fontFamilyCache={};var C=function(t,e){e&&a.update();for(var i=0;i<t.length;i++)y(t[i])},y=function(t){i.drawImage(t._cache,t.frame.x,t.frame.y),t.texture.frame=t.frame,t.texture.update()};this.getCharObject=function(t,i){var n=i.ctxFont(),s=this.fontFamilyCache[n];s||(s={},this.fontFamilyCache[n]=s);var o=i.ctxKey(t),h=s[o];if(!h){var r=E(t,i);r.rect&&(e.width<r.rect.width||e.height<r.rect.height)&&(e.width=e.height=Math.max(r.rect.width,r.rect.height),a.update()),h={metrics:r,font:n,value:t,frame:r.rect,baseTexture:r.rect?a:null,xOffset:r.bounds?r.bounds.minx:0,yOffset:r.descent||0,width:r.width||0,lineHeight:r.lineHeight||0,_cache:r.canvas,texture:r.rect?new PIXI.Texture(a,r.rect):null},s[o]=h,r.rect&&(D.push(h),void 0===l&&(l=setTimeout(function(){F(),l=void 0},0)))}return h};var w=function(t,e){return t.frame.height<e.frame.height?1:t.frame.height>e.frame.height?-1:t.frame.width<e.frame.width?1:t.frame.width>e.frame.width?-1:0},F=function(){D.sort(w);for(var e=!1,i=!1,n=0;n<D.length;n++){var s=D[n],o=c.insert(s.frame.width+t,s.frame.height+t,s);null===o?(n--,d<v?(e=!0,I(2*d)):(C(r,e),x(),i=!0,e=!1)):(i&&(s.texture.baseTexture=a),r.push(s))}C(e||i?r:D,e),D=[]},I=function(i){e.width=e.height=d=i,c=new m(i,i),r.sort(w);for(var n=0;n<r.length;n++){var s=r[n];c.insert(s.frame.width+t,s.frame.height+t,s)}},E=function(t,e){var i=Math.max(1,o(e.fontSize,26)),n=1.25*i,r={fontSize:i,lineHeight:n,width:0};if(!t||/(?:\r\n|\r|\n)/.test(t))return r;var a=e.ctxFont();if(g.font=a,r.width=Math.round(g.measureText(t).width),/(\s)/.test(t))return r;var l=Math.round(.7*i),c=Math.max(5,Math.round(.7*i));p.width=Math.ceil(r.width)+2*c,p.height=1.5*i;var d=p.width,D=p.height,f=D/2+.5*l;g.font=a,g.clearRect(0,0,d,D),g.save();var _=function(t){var e=t.trim().split(" ");return{color:h(e[0],"#000000"),alpha:s(e[1],.5),xOffset:s(e[2],3),yOffset:s(e[3],3),blur:s(e[4],5)}},v=function(t){var e=t.trim().split(" "),i=h(e[0],"#FFFFFF"),n=s(e[1],1);return{color:i,alpha:n,position:s(e[2],-1),rgba:u(i,n)}},m=function(t){var e,s=t.split(",").filter(function(t){return""!==t});for(e=0;e<s.length;e++)s[e]=v(s[e]);switch(s.length){case 0:return"white";case 1:return s[0].rgba?s[0].rgba:s[0].color||"#FFFFFF";default:try{var o=f+n-i,h=g.createLinearGradient(0,o-i,0,o);for(e=0;e<s.length;e++)h.addColorStop(s[e].position!==-1?s[e].position:e/(s.length-1),s[e].rgba||s[e].color);return h}catch(t){return"#FFFFFF"}}},x=function(i,n){var s=i.trim().split(",").filter(function(t){return""!==t});if(s.length){for(var o=0;o<s.length;o++){var h=_(s[o]);g.globalAlpha=h.alpha,g.shadowColor=h.color,g.shadowOffsetX=h.xOffset+d,g.shadowOffsetY=h.yOffset,g.shadowBlur=h.blur,n?(g.lineWidth=e.stroke,g.strokeText(t,c-d,f)):g.fillText(t,c-d,f)}g.restore()}};e.shadow.length&&x(e.shadow,!1),e.stroke&&e.strokeShadow.length&&x(e.strokeShadow,!0),g.fillStyle=m(h(e.fill,"#000000")),g.fillText(t,c,f),g.restore(),e.stroke&&(g.strokeStyle=m(h(e.strokeFill,"#000000")),g.lineWidth=e.stroke,g.strokeText(t,c,f),g.restore());for(var C=g.getImageData(0,0,d,D).data,y=3,w=4*d,F=C.length;y<F&&!C[y];)y+=4;var I=y/w|0;if(y<F){for(y=F-1;y>0&&!C[y];)y-=4;var E=y/w|0;for(y=3;y<F&&!C[y];)y+=w,y>=F&&(y=y-F+4);var b=y%w/4|0,P=1;for(y=F-1;y>=0&&!C[y];)y-=w,y<0&&(y=F-1-4*P++);var B=y%w/4+1|0;r.ascent=Math.round(f-I),r.descent=Math.round(E-f),r.height=1+Math.round(E-I),r.bounds={minx:b-c,maxx:B-c,miny:0,maxy:E-I},r.rect={x:r.bounds.minx,y:-r.ascent-2,width:r.bounds.maxx-r.bounds.minx+2,height:r.ascent+r.descent+4},r.canvas=document.createElement("canvas"),r.canvas.width=r.rect.width,r.canvas.height=r.rect.height;var k=r.canvas.getContext("2d");k.drawImage(p,-c-r.rect.x,-f-r.rect.y),r.rect.x=r.rect.y=0}return r};x()}},{"../UIBase":32,"./DynamicChar":5,"./DynamicTextStyle":7,"emoji-regex":1}],7:[function(t,e,i){function n(t){this.respectDirty=!0,this._parent=t||null,this._scale=1,this._align="left",this._fontFamily="Arial",this._fontSize=26,this._fontWeight="normal",this._fontStyle="normal",this._letterSpacing=0,this._lineHeight=0,this._verticalAlign=0,this._rotation=0,this._skew=0,this._tint="#FFFFFF",this._fill="#FFFFFF",this._shadow="",this._stroke=0,this._strokeFill="",this._strokeShadow="",this._wrap=!0,this._breakWords=!1,this._overflowX="visible",this._overflowY="visible",this._ellipsis=!1;var e=null;this.ellipsisSize=function(t){return this.ellipsis?(null===e&&(e=3*(t.getCharObject(".",this).width+this.letterSpacing)),e):0}}n.prototype.clone=function(){var t=new n;return t.merge(this),t},n.prototype.merge=function(t){if("object"==typeof t){this.respectDirty=!1;for(var e in t){var i=t[e];"function"!=typeof i&&"respectDirty"!==e&&"_parent"!==e&&(this[e]=t[e])}this.respectDirty=!0,this._dirty=!0}},n.prototype.ctxKey=function(t){return[t,this.fill,this.shadow,this.stroke,this.strokeFill,this.strokeShadow].join("|")},n.prototype.ctxFont=function(){var t=Math.min(200,Math.max(1,this.fontSize||26))+"px ",e="bold"===this.fontWeight?this.fontWeight+" ":"",i="italic"===this.fontStyle||"oblique"===this.fontStyle?this.fontStyle+" ":"";return e+i+t+this.fontFamily},n.prototype.constructor=n,e.exports=n,Object.defineProperties(n.prototype,{_dirty:{set:function(t){this.respectDirty&&null!==this._parent&&(this._parent.dirtyStyle=t,this._parent.update())}},scale:{get:function(){return this._scale},set:function(t){t!==this._scale&&(this._scale=t,this._dirty=!0)}},align:{get:function(){return this._align},set:function(t){t!==this._align&&(this._align=t,this._dirty=!0)}},fontFamily:{get:function(){return this._fontFamily},set:function(t){t!==this._fontFamily&&(this._fontFamily=t,this._dirty=!0)}},fontSize:{get:function(){return this._fontSize},set:function(t){t!==this._fontSize&&(this._fontSize=t,this._dirty=!0)}},fontWeight:{get:function(){return this._fontWeight},set:function(t){t!==this._fontWeight&&(this._fontWeight=t,this._dirty=!0)}},fontStyle:{get:function(){return this._fontStyle},set:function(t){t!==this._fontStyle&&(this._fontStyle=t,this._dirty=!0)}},letterSpacing:{get:function(){return this._letterSpacing},set:function(t){t!==this._letterSpacing&&(this._letterSpacing=t,this._dirty=!0)}},lineHeight:{get:function(){return this._lineHeight},set:function(t){t!==this._lineHeight&&(this._lineHeight=t,this._dirty=!0)}},verticalAlign:{get:function(){return this._verticalAlign},set:function(t){t!==this._verticalAlign&&(this._verticalAlign=t,this._dirty=!0)}},rotation:{get:function(){return this._rotation},set:function(t){t!==this._rotation&&(this._rotation=t,this._dirty=!0)}},skew:{get:function(){return this._skew},set:function(t){t!==this._skew&&(this._skew=t,this._dirty=!0)}},tint:{get:function(){return this._tint},set:function(t){t!==this._tint&&(this._tint=t,this._dirty=!0)}},fill:{get:function(){return this._fill},set:function(t){t!==this._fill&&(this._fill=t,this._dirty=!0)}},shadow:{get:function(){return this._shadow},set:function(t){t!==this._shadow&&(this._shadow=t,this._dirty=!0)}},stroke:{get:function(){return this._stroke},set:function(t){t!==this._stroke&&(this._stroke=t,this._dirty=!0)}},strokeFill:{get:function(){return this._strokeFill},set:function(t){t!==this._strokeFill&&(this._strokeFill=t,this._dirty=!0)}},strokeShadow:{get:function(){return this._strokeShadow},set:function(t){t!==this._strokeShadow&&(this._strokeShadow=t,this._dirty=!0)}},wrap:{get:function(){return this._wrap},set:function(t){t!==this._wrap&&(this._wrap=t,this._dirty=!0)}},breakWords:{get:function(){return this._breakWords},set:function(t){t!==this._breakWords&&(this._breakWords=t,this._dirty=!0)}},overflowX:{get:function(){return this._overflowX},set:function(t){t!==this._overflowX&&(this._overflowX=t,this._dirty=!0)}},overflowY:{get:function(){return this._overflowY},set:function(t){t!==this._overflowY&&(this._overflowY=t,this._dirty=!0)}},ellipsis:{get:function(){return this._ellipsis},set:function(t){t!==this._ellipsis&&(this._ellipsis=t,this._dirty=!0)}}})},{}],8:[function(t,e,i){function n(t){var e=Object.create(h.prototype);return e.getPosition=t,e}function s(t,e,i){return{easeIn:t,easeOut:e,easeInOut:i}}var o={},h=t("./EaseBase"),r=t("./ExponentialEase"),u=.5*Math.PI;o.Linear=new h,o.Power0={easeNone:o.Linear},o.Power1=o.Quad=s(new r(1,1,0),new r(1,0,1),new r(1,1,1)),o.Power2=o.Cubic=s(new r(2,1,0),new r(2,0,1),new r(2,1,1)),o.Power3=o.Quart=s(new r(3,1,0),new r(3,0,1),new r(3,1,1)),o.Power4=o.Quint=s(new r(4,1,0),new r(4,0,1),new r(4,1,1)),o.Bounce={BounceIn:n(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),BounceOut:n(function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),BounceInOut:n(function(t){var e=t<.5;return t=e?1-2*t:2*t-1,t=t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})},o.Circ={CircIn:n(function(t){return-(Math.sqrt(1-t*t)-1)}),CircOut:n(function(t){return Math.sqrt(1-(t-=1)*t)}),CircInOut:n(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})},o.Expo={ExpoIn:n(function(t){return Math.pow(2,10*(t-1))-.001}),ExpoOut:n(function(t){return 1-Math.pow(2,-10*t)}),ExpoInOut:n(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})},o.Sine={SineIn:n(function(t){return-Math.cos(t*u)+1}),SineOut:n(function(t){return Math.sin(t*u)}),SineInOut:n(function(t){return-.5*(Math.cos(Math.PI*t)-1)})},e.exports=o},{"./EaseBase":9,"./ExponentialEase":10}],9:[function(t,e,i){function n(){this.getPosition=function(t){return t}}n.prototype.constructor=n,e.exports=n},{}],10:[function(t,e,i){function n(t,e,i){var n=t,s=e&&i?3:i?1:2;this.getPosition=function(t){var e=1===s?1-t:2===s?t:t<.5?2*t:2*(1-t);return 1===n?e*=e:2===n?e*=e*e:3===n?e*=e*e*e:4===n&&(e*=e*e*e*e),1===s?1-e:2===s?e:t<.5?e/2:1-e/2}}var s=t("./EaseBase");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n},{"./EaseBase":9}],11:[function(t,e,i){var n={Lerp:function(t,e,i){return i>1?i=1:i<0&&(i=0),t+(e-t)*i},Round:function(t,e){var i=Math.pow(10,e);return Math.round(t*i)/i},componentToHex:function(t){var e=t.toString(16);return 1==e.length?"0"+e:e},rgbToHex:function(t,e,i){return"#"+componentToHex(t)+componentToHex(e)+componentToHex(i)},rgbToNumber:function(t,e,i){return 65536*t+256*e+i},numberToRgb:function(t){return{r:Math.floor(t/65536),g:Math.floor(t/256)%256,b:t%256}},hexToRgb:function(t){if(null===t&&(t=16777215),!isNaN(t))return this.numberToRgb(t);var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,function(t,e,i,n){return e+e+i+i+n+n});var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null}};e.exports=n},{}],12:[function(t,e,i){function n(t,e,i,n){s.call(this,t,e);var h=this;this._focused=!1,this._useTab=this._usePrev=this._useNext=!0,this.container.interactive=!0,o.registrer(this,i,n);var r=function(t){9===t.which?h._useTab&&(o.fireTab(),t.preventDefault()):38===t.which?h._usePrev&&(o.firePrev(),t.preventDefault()):40===t.which&&h._useNext&&(o.fireNext(),t.preventDefault())},u=function(t){h.__down||h.blur()};this.container.on("pointerdown",function(t){h.focus(),h.__down=!0}),this.container.on("pointerup",function(t){h.__down=!1}),this.container.on("pointerupoutside",function(t){h.__down=!1}),this._bindEvents=function(){null!==this.stage&&(this.stage.on("pointerdown",u),document.addEventListener("keydown",r))},this._clearEvents=function(){null!==this.stage&&(this.stage.off("pointerdown",u),document.removeEventListener("keydown",r))}}var s=t("./UIBase"),o=t("./Interaction/InputController");t("./Interaction/ClickEvent");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.focus=function(){this._focused||(this._focused=!0,this._bindEvents(),o.set(this),this.emit("focusChanged",!0),this.emit("focus"))},n.prototype.blur=function(){this._focused&&(o.clear(),this._focused=!1,this._clearEvents(),this.emit("focusChanged",!1),this.emit("blur"))}},{"./Interaction/ClickEvent":13,"./Interaction/InputController":16,"./UIBase":32}],13:[function(t,e,i){var n=function(t,e,i,n){var s=!1,o=this,h=0,r=!1,u=new PIXI.Point,a=new PIXI.Point,l=0,c=0,d="undefined"!=typeof i&&i,D="undefined"==typeof e||e,p="undefined"!=typeof n&&n,g=d?"rightdown":"mousedown",f=d?"rightup":"mouseup",_=d?"rightupoutside":"mouseupoutside";t.container.interactive=!0;var v=0,m=function(e){if(u.copy(e.data.global),h=e.data.identifier,o.onPress.call(t,e,!0),s||(t.container.on(f,C),t.container.on(_,y),d||(t.container.on("touchend",C),t.container.on("touchendoutside",y)),s=!0),p){var i=performance.now();i-v<210?o.onClick.call(t,e):v=i}e.data.originalEvent.preventDefault()},x=function(e){e.data.identifier===h&&(a.set(e.data.global.x-u.x,e.data.global.y-u.y),s&&(t.container.removeListener(f,C),t.container.removeListener(_,y),d||(t.container.removeListener("touchend",C),t.container.removeListener("touchendoutside",y)),s=!1),o.onPress.call(t,e,!1))},C=function(e){e.data.identifier===h&&(x(e),t.dragThreshold&&(l=Math.abs(a.x),c=Math.abs(a.y),
  Math.max(l,c)>t.dragThreshold)||p||o.onClick.call(t,e))},y=function(t){t.data.identifier===h&&x(t)},w=function(e){r||(r=!0,t.container.on("mousemove",I),t.container.on("touchmove",I),o.onHover.call(t,e,!0))},F=function(e){r&&(r=!1,t.container.removeListener("mousemove",I),t.container.removeListener("touchmove",I),o.onHover.call(t,e,!1))},I=function(e){o.onMove.call(t,e)};this.stopEvent=function(){s&&(t.container.removeListener(f,C),t.container.removeListener(_,y),d||(t.container.removeListener("touchend",C),t.container.removeListener("touchendoutside",y)),s=!1),t.container.removeListener(g,m),d||t.container.removeListener("touchstart",m),D&&(t.container.removeListener("mouseover",w),t.container.removeListener("mouseout",F),t.container.removeListener("mousemove",I),t.container.removeListener("touchmove",I))},this.startEvent=function(){t.container.on(g,m),d||t.container.on("touchstart",m),D&&(t.container.on("mouseover",w),t.container.on("mouseout",F))},this.startEvent()};n.prototype.constructor=n,e.exports=n,n.prototype.onHover=function(t,e){},n.prototype.onPress=function(t,e){},n.prototype.onClick=function(t){},n.prototype.onMove=function(t){}},{}],14:[function(t,e,i){var n=[],s={add:function(t,e){return t._dragDropEventId=e.data.identifier,n.indexOf(t)===-1&&(n.push(t),!0)},getItem:function(t){for(var e,i=null,s=0;s<n.length;s++)if(n[s]===t){i=n[s],e=s;break}return null!==i&&(n.splice(e,1),i)},getEventItem:function(t,e){for(var i,s=null,o=t.data.identifier,h=0;h<n.length;h++)if(n[h]._dragDropEventId===o){if(e!==n[h].dragGroup)return!1;s=n[h],i=h;break}return null!==s&&(n.splice(i,1),s)}};e.exports=s},{}],15:[function(t,e,i){var n=function(t){var e=!1,i=new PIXI.Point,n=new PIXI.Point,s=new PIXI.Point,o=0,h=0,r=!1,u=!1,a=this,l=0;t.container.interactive=!0;var c=function(n){l=n.data.identifier,a.onPress.call(t,n,!0),e||(i.copy(n.data.global),t.stage.on("mousemove",d),t.stage.on("touchmove",d),t.stage.on("mouseup",D),t.stage.on("mouseupoutside",D),t.stage.on("touchend",D),t.stage.on("touchendoutside",D),t.stage.on("touchcancel",D),e=!0),n.data.originalEvent.preventDefault()},d=function(e){if(e.data.identifier===l){if(s.copy(e.data.global),n.set(s.x-i.x,s.y-i.y),!u){if(o=Math.abs(n.x),h=Math.abs(n.y),0===o&&0===h||Math.max(o,h)<t.dragThreshold)return;if(null!==t.dragRestrictAxis&&(r=!1,"x"==t.dragRestrictAxis&&h>o?r=!0:"y"==t.dragRestrictAxis&&h<=o&&(r=!0),r))return void D(e);a.onDragStart.call(t,e),u=!0}a.onDragMove.call(t,e,n)}},D=function(i){i.data.identifier===l&&e&&(t.stage.removeListener("mousemove",d),t.stage.removeListener("touchmove",d),t.stage.removeListener("mouseup",D),t.stage.removeListener("mouseupoutside",D),t.stage.removeListener("touchend",D),t.stage.removeListener("touchendoutside",D),t.stage.removeListener("touchcancel",D),u=!1,e=!1,a.onDragEnd.call(t,i),a.onPress.call(t,i,!1))};this.stopEvent=function(){e&&(t.stage.removeListener("mousemove",d),t.stage.removeListener("touchmove",d),t.stage.removeListener("mouseup",D),t.stage.removeListener("mouseupoutside",D),t.stage.removeListener("touchend",D),t.stage.removeListener("touchendoutside",D),e=!1),t.container.removeListener("mousedown",c),t.container.removeListener("touchstart",c)},this.startEvent=function(){t.container.on("mousedown",c),t.container.on("touchstart",c)},this.startEvent()};n.prototype.constructor=n,e.exports=n,n.prototype.onPress=function(t,e){},n.prototype.onDragEnd=function(t){},n.prototype.onDragMove=function(t,e){},n.prototype.onDragStart=function(t){}},{}],16:[function(t,e,i){var n,s={},o={},h={},r={registrer:function(t,e,i){var n=i||"default",o=s[n];o||(o=s[n]=[]);var h=o.indexOf(t);h===-1&&(t._tabIndex=void 0!==e?e:-1,t._tabGroup=o,o.push(t),o.sort(function(t,e){return t._tabIndex<e._tabIndex?-1:t._tabIndex>e._tabIndex?1:0}))},set:function(t){this.blur(),n=t},clear:function(){n=void 0},blur:function(){n&&"function"==typeof n.blur&&n.blur()},fireTab:function(){if(n){var t=n._tabGroup.indexOf(n)+1;t>=n._tabGroup.length&&(t=0),n._tabGroup[t].focus()}},fireNext:function(){if(n){var t=n._tabGroup.indexOf(n)+1;t>=n._tabGroup.length&&(t=n._tabGroup.length-1),n._tabGroup[t].focus()}},firePrev:function(){if(n){var t=n._tabGroup.indexOf(n)-1;t<0&&(t=0),n._tabGroup[t].focus()}},registrerCheckGroup:function(t){var e=t.checkGroup,i=o[e];i||(i=o[e]={}),i[t.value]=t,t.checked&&(h[e]=t.value)},updateCheckGroupSelected:function(t){var e=o[t.checkGroup];for(var i in e){var n=e[i];n!==t&&(n.checked=!1)}h[t.checkGroup]=t.value},getCheckGroupSelectedValue:function(t){return h[t]?h[t]:""},setCheckGroupSelectedValue:function(t,e){var i=o[t];if(i){var n=i[e];n&&(n.checked=!0)}}};e.exports=r},{}],17:[function(t,e,i){var n={ClickEvent:t("./ClickEvent"),DragEvent:t("./DragEvent"),MouseScrollEvent:t("./MouseScrollEvent"),InputController:t("./InputController")};e.exports=n},{"./ClickEvent":13,"./DragEvent":15,"./InputController":16,"./MouseScrollEvent":18}],18:[function(t,e,i){var n=function(t,e){var i=!1,n=new PIXI.Point,s=this;t.container.interactive=!0;var o=function(i){e&&i.preventDefault(),"undefined"!=typeof i.deltaX?n.set(i.deltaX,i.deltaY):n.set(1==i.axis?60*i.detail:0,2==i.axis?60*i.detail:0),s.onMouseScroll.call(t,i,n)},h=function(t){i||(document.addEventListener("mousewheel",o,!1),document.addEventListener("DOMMouseScroll",o,!1),i=!0)},r=function(t){i&&(document.removeEventListener("mousewheel",o),document.removeEventListener("DOMMouseScroll",o),i=!1)};this.stopEvent=function(){i&&(document.removeEventListener("mousewheel",o),document.removeEventListener("DOMMouseScroll",o),i=!1),t.container.removeListener("mouseover",h),t.container.removeListener("mouseout",r)},this.startEvent=function(){t.container.on("mouseover",h),t.container.on("mouseout",r)},this.startEvent()};n.prototype.constructor=n,e.exports=n,n.prototype.onMouseScroll=function(t,e){}},{}],19:[function(t,e,i){function n(t){s.call(this,{track:t.track,handle:t.handle,fill:null,vertical:t.vertical}),this.scrollingContainer=t.scrollingContainer,this.autohide=t.autohide,this._hidden=!1}var s=t("./Slider"),o=t("./Tween");t("./Ease/Ease");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.initialize=function(){s.prototype.initialize.call(this),this.decimals=3,this._onValueChanging=function(t){var e=this.scrollingContainer._height/this.scrollingContainer.innerContainer.height||.001;e<1&&this.scrollingContainer.forcePctPosition(this.vertical?"y":"x",this._amt)},this.scrollingContainer._scrollBars.push(this)},n.prototype.alignToContainer=function(){var t,e,i=this.vertical?"y":"x",n=this.vertical?"height":"width",s=this.vertical?"top":"left",o=this.scrollingContainer.innerContainer[n]?-(this.scrollingContainer.innerContainer[i]/this.scrollingContainer.innerContainer[n]):0,h=this.scrollingContainer.innerContainer[n]?this.scrollingContainer["_"+n]/this.scrollingContainer.innerContainer[n]:1,r=this.scrollingContainer.innerContainer[n]-this.scrollingContainer["_"+n];this._amt=this.scrollingContainer["_"+n]&&r?-(this.scrollingContainer.innerContainer[i]/r):0,h>=1?(e=this["_"+n],this.handle[s]=.5*e,this.toggleHidden(!0)):(e=this["_"+n]*h,this._amt>1?e-=(this["_"+n]-e)*(this._amt-1):this._amt<0&&(e-=(this["_"+n]-e)*-this._amt),t=this._amt<0?.5*e:this._amt>1?this["_"+n]-.5*e:o*this.scrollingContainer["_"+n]+.5*e,this.handle[s]=t,this.toggleHidden(!1)),this.handle[n]=e},n.prototype.toggleHidden=function(t){this.autohide&&(t&&!this._hidden?(o.to(this,.2,{alpha:0}),this._hidden=!0):!t&&this._hidden&&(o.to(this,.2,{alpha:1}),this._hidden=!1))}},{"./Ease/Ease":8,"./Slider":22,"./Tween":30}],20:[function(t,e,i){function n(t){t=t||{},s.call(this,t.width,t.height),this.mask=new PIXI.Graphics,this.innerContainer=new PIXI.Container,this.innerBounds=new PIXI.Rectangle,this.container.addChild(this.mask),this.container.addChild(this.innerContainer),this.container.mask=this.mask,this.scrollX=void 0!==t.scrollX&&t.scrollX,this.scrollY=void 0===t.scrollY||t.scrollY,this.dragScrolling=void 0===t.dragScrolling||t.dragScrolling,this.softness=void 0!==t.softness?Math.max(Math.min(t.softness||0,1),0):.5,this.radius=t.radius||0,this.expandMask=t.expandMask||0,this.overflowY=t.overflowY||0,this.overflowX=t.overflowX||0,this.animating=!1,this.scrolling=!1,this._scrollBars=[],this.boundCached=performance.now()-1e3}var s=(t("./UIBase"),t("./Container")),o=t("./Helpers"),h=t("./Ticker"),r=t("./Interaction/DragEvent"),u=t("./Interaction/MouseScrollEvent");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.initialize=function(){s.prototype.initialize.apply(this),(this.scrollX||this.scrollY)&&this.initScrolling()},n.prototype.update=function(){if(s.prototype.update.apply(this),this._lastWidth!=this._width||this._lastHeight!=this._height){var t=this.expandMask;this.mask.clear(),this.mask.lineStyle(0),this.mask.beginFill(16777215,1),0===this.radius?this.mask.drawRect(-t,-t,this._width+t,this._height+t):this.mask.drawRoundedRect(-t,-t,this._width+t,this.height+t,this.radius),this.mask.endFill(),this._lastWidth=this._width,this._lastHeight=this._height}this.setScrollPosition&&this.setScrollPosition()},n.prototype.addChild=function(t){var e=arguments.length;if(e>1)for(var i=0;i<e;i++)this.addChild(arguments[i]);else s.prototype.addChild.call(this,t),this.innerContainer.addChild(t.container),this.getInnerBounds(!0);return t},n.prototype.updateScrollBars=function(){for(var t=0;t<this._scrollBars.length;t++)this._scrollBars[t].alignToContainer()},n.prototype.getInnerBounds=function(t){return(t||performance.now()-this.boundCached>1e3)&&(this.innerContainer.getLocalBounds(this.innerBounds),this.innerContainer.getLocalBounds(this.innerBounds),this.innerBounds.height=this.innerBounds.y+this.innerContainer.height,this.innerBounds.width=this.innerBounds.x+this.innerContainer.width,this.boundCached=performance.now()),this.innerBounds},n.prototype.initScrolling=function(){var t,e=this.innerContainer,i=new PIXI.Point,n=new PIXI.Point,s=new PIXI.Point,a=new PIXI.Point,l=new PIXI.Point,c=this;if(this.forcePctPosition=function(t,i){var s=this.getInnerBounds();this.scrollX&&"x"==t&&(e.position[t]=-((s.width-this._width)*i)),this.scrollY&&"y"==t&&(e.position[t]=-((s.height-this._height)*i)),a[t]=n[t]=e.position[t]},this.focusPosition=function(t){var i,o=this.getInnerBounds();if(this.scrollX){var h=Math.max(0,Math.min(o.width,t.x));h+e.x>this._width?(i=h-this._width,e.x=-i):h+e.x<0&&(i=h+e.x,e.x-=i)}if(this.scrollY){var r=Math.max(0,Math.min(o.height,t.y));r+e.y>this._height?(i=r-this._height,e.y=-i):r+e.y<0&&(i=r+e.y,e.y-=i)}s.copy(e.position),n.copy(e.position),a.copy(e.position),this.updateScrollBars()},this.setScrollPosition=function(t){t&&(l=t),this.animating||(this.animating=!0,s.copy(e.position),n.copy(e.position),h.on("update",this.updateScrollPosition,this))},this.updateScrollPosition=function(e){t=!0,this.scrollX&&this.updateDirection("x",e),this.scrollY&&this.updateDirection("y",e),t&&(h.removeListener("update",this.updateScrollPosition),this.animating=!1)},this.updateDirection=function(i,h){var r,u=this.getInnerBounds();if(r="y"==i?Math.round(Math.min(0,this._height-u.height)):Math.round(Math.min(0,this._width-u.width)),this.scrolling||0===Math.round(l[i])||(n[i]+=l[i],l[i]=o.Lerp(l[i],0,(5+2.5/Math.max(this.softness,.01))*h),n[i]>0?n[i]=0:n[i]<r&&(n[i]=r)),!this.scrolling&&0===Math.round(l[i])&&(e[i]>0||e[i]<r)){var d=a[i]>0?0:r;a[i]=o.Lerp(a[i],d,(40-30*this.softness)*h),t=!1}else(this.scrolling||0!==Math.round(l[i]))&&(this.scrolling&&(l[i]=a[i]-s[i],s.copy(a)),n[i]>0?(l[i]=0,a[i]=100*this.softness*(1-Math.exp(n[i]/-200))):n[i]<r?(l[i]=0,a[i]=r-100*this.softness*(1-Math.exp((r-n[i])/-200))):a[i]=n[i],t=!1);e.position[i]=Math.round(a[i]),c.updateScrollBars()},this.dragScrolling){var d=new r(this);d.onDragStart=function(t){this.scrolling||(i.copy(e.position),a.copy(e.position),this.scrolling=!0,this.setScrollPosition(),c.emit("dragStart",t))},d.onDragMove=function(t,e){this.scrollX&&(n.x=i.x+e.x),this.scrollY&&(n.y=i.y+e.y)},d.onDragEnd=function(t){this.scrolling&&(this.scrolling=!1,c.emit("dragEnd",t))}}var D=new PIXI.Point,p=new u(this,(!0));p.onMouseScroll=function(t,e){D.set(.2*-e.x,.2*-e.y),this.setScrollPosition(D)},c.updateScrollBars()}},{"./Container":4,"./Helpers":11,"./Interaction/DragEvent":15,"./Interaction/MouseScrollEvent":18,"./Ticker":28,"./UIBase":32}],21:[function(t,e,i){function n(t,e,i,n,o){s.call(this,t.width,t.height);var h,r,u,a,l,c,d,D,p,g,f,_,v,m,x,C,y,w,F=e||5,I="undefined"==typeof n||n,E="undefined"==typeof i||i,b=t.baseTexture,P=t.frame;E&&(this.setting.minWidth=2*e),I&&(this.setting.minHeight=2*e),this.initialize=function(){s.prototype.initialize.apply(this),I&&E?(h=new PIXI.Rectangle(P.x,P.y,F,F),r=new PIXI.Rectangle(P.x+P.width-F,P.y,F,F),u=new PIXI.Rectangle(P.x,P.y+P.height-F,F,F),a=new PIXI.Rectangle(P.x+P.width-F,P.y+P.height-F,F,F),l=new PIXI.Rectangle(P.x+F,P.y,P.width-2*F,F),c=new PIXI.Rectangle(P.x+F,P.y+P.height-F,P.width-2*F,F),d=new PIXI.Rectangle(P.x,P.y+F,F,P.height-2*F),D=new PIXI.Rectangle(P.x+P.width-F,P.y+F,F,P.height-2*F),p=new PIXI.Rectangle(P.x+F,P.y+F,P.width-2*F,P.height-2*F)):E?(d=new PIXI.Rectangle(P.x,P.y,F,P.height),D=new PIXI.Rectangle(P.x+P.width-F,P.y,F,P.height),p=new PIXI.Rectangle(P.x+F,P.y,P.width-2*F,P.height)):(l=new PIXI.Rectangle(P.x,P.y,P.width,F),c=new PIXI.Rectangle(P.x,P.y+P.height-F,P.width,F),p=new PIXI.Rectangle(P.x,P.y+F,P.width,P.height-2*F)),w=o?new PIXI.extras.TilingSprite(new PIXI.Texture(b,p)):new PIXI.Sprite(new PIXI.Texture(b,p)),this.container.addChildAt(w,0),I&&E&&(g=new PIXI.Sprite(new PIXI.Texture(b,h)),f=new PIXI.Sprite(new PIXI.Texture(b,r)),_=new PIXI.Sprite(new PIXI.Texture(b,u)),v=new PIXI.Sprite(new PIXI.Texture(b,a)),this.container.addChildAt(g,0),this.container.addChildAt(f,0),this.container.addChildAt(_,0),this.container.addChildAt(v,0)),E&&(C=o?new PIXI.extras.TilingSprite(new PIXI.Texture(b,d)):new PIXI.Sprite(new PIXI.Texture(b,d)),y=o?new PIXI.extras.TilingSprite(new PIXI.Texture(b,D)):new PIXI.Sprite(new PIXI.Texture(b,D)),this.container.addChildAt(C,0),this.container.addChildAt(y,0)),I&&(m=o?new PIXI.extras.TilingSprite(new PIXI.Texture(b,l)):new PIXI.Sprite(new PIXI.Texture(b,l)),x=o?new PIXI.extras.TilingSprite(new PIXI.Texture(b,c)):new PIXI.Sprite(new PIXI.Texture(b,c)),this.container.addChildAt(m,0),this.container.addChildAt(x,0)),I&&E&&(m.x=x.x=C.y=y.y=g.width=f.width=_.width=v.width=g.height=f.height=_.height=v.height=F),E&&(w.x=C.width=y.width=F),I&&(w.y=m.height=x.height=F)},this.update=function(){this.initialized&&(I&&E?(f.x=v.x=y.x=this._width-F,_.y=v.y=x.y=this._height-F,w.width=m.width=x.width=this._width-2*F,w.height=C.height=y.height=this._height-2*F):E?(y.x=this._width-F,C.height=y.height=w.height=this._height,w.width=this._width-2*F):(x.y=this._height-F,m.width=x.width=w.width=this._width,w.height=this._height-2*F),null!==this.tint&&(w.tint=this.tint,I&&E&&(g.tint=f.tint=_.tint=v.tint=this.tint),E&&(C.tint=y.tint=this.tint),I&&(m.tint=x.tint=this.tint)),null!==this.blendMode&&(w.blendMode=this.blendMode,I&&E&&(g.blendMode=f.blendMode=_.blendMode=v.blendMode=this.blendMode),E&&(C.blendMode=y.blendMode=this.blendMode),I&&(m.blendMode=x.blendMode=this.blendMode)))}}var s=t("./UIBase");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n},{"./UIBase":32}],22:[function(t,e,i){function n(t){s.call(this),this._amt=0,this._disabled=!1,this.track=t.track,this.handle=t.handle,this.fill=t.fill||null,this._minValue=t.minValue||0,this._maxValue=t.maxValue||100,this.decimals=t.decimals||0,this.vertical=t.vertical||!1,this._onValueChange=t.onValueChange||null,this._onValueChanging=t.onValueChanging||null,this.value=t.value||50,this.handle.pivot=.5,this.addChild(this.track),this.fill&&this.track.addChild(this.fill),this.addChild(this.handle),this.handle.container.buttonMode=!0,this.vertical?(this.height="100%",this.width=this.track.width,this.track.height="100%",this.handle.horizontalAlign="center",this.fill&&(this.fill.horizontalAlign="center")):(this.width="100%",this.height=this.track.height,this.track.width="100%",this.handle.verticalAlign="middle",this.fill&&(this.fill.verticalAlign="middle"))}var s=t("./UIBase"),o=t("./Interaction/DragEvent"),h=(t("./Interaction/ClickEvent"),t("./Tween")),r=t("./Ease/Ease"),u=t("./Helpers");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.update=function(t){var e,i;this.vertical?(e=this.handle._height||this.handle.container.height,i=(this._height-e)*this._amt+.5*e,t?(h.to(this.handle,.3,{top:i},r.Power2.easeOut),this.fill&&h.to(this.fill,.3,{height:i},r.Power2.easeOut)):(h.set(this.handle,{top:i}),this.fill&&h.set(this.fill,{height:i}))):(e=this.handle._width||this.handle.container.width,i=(this._width-e)*this._amt+.5*e,t?(h.to(this.handle,.3,{left:i},r.Power2.easeOut),this.fill&&h.to(this.fill,.3,{width:i},r.Power2.easeOut)):(h.set(this.handle,{left:i}),this.fill&&h.set(this.fill,{width:i})))},n.prototype.initialize=function(){s.prototype.initialize.call(this);var t=this,e=0,i=new o(this.handle);i.onPress=function(t,e){t.stopPropagation()},i.onDragStart=function(i){e=t._amt,maxPosition=t.vertical?t._height-t.handle._height:t._width-t.handle._width},i.onDragMove=function(i,n){t._amt=maxPosition?Math.max(0,Math.min(1,e+(t.vertical?n.y:n.x)/maxPosition)):0,a(),t.update()},i.onDragEnd=function(){u(),t.update()};var n=new PIXI.Point,h=new o(this.track);h.onPress=function(t,e){e&&r(t.data.global,!0),t.stopPropagation()},h.onDragMove=function(t){r(t.data.global,!1)},h.onDragEnd=function(){u()};var r=function(e,i){t.track.container.toLocal(e,null,n,!0);var s=t.vertical?n.y-.5*t.handle._height:n.x-.5*t.handle._width,o=t.vertical?t._height-t.handle._height:t._width-t.handle._width;t._amt=o?Math.max(0,Math.min(1,s/o)):0,t.update(i),a()},u=function(){t.emit("change",t.value),t._lastChange!=t.value&&(t._lastChange=t.value,"function"==typeof t.onValueChange&&t.onValueChange(t.value))},a=function(){t.emit("changing",t.value),t._lastChanging!=t.value&&(t._lastChanging=t.value,"function"==typeof t._onValueChanging&&t._onValueChanging(t.value))}},Object.defineProperties(n.prototype,{value:{get:function(){return u.Round(u.Lerp(this._minValue,this._maxValue,this._amt),this.decimals)},set:function(t){this._amt=(Math.max(this._minValue,Math.min(this._maxValue,t))-this._minValue)/(this._maxValue-this._minValue),"function"==typeof this.onValueChange&&self.onValueChange(this.value),"function"==typeof this._onValueChanging&&this._onValueChanging(this.value),this.update()}},onValueChange:{get:function(){return this._onValueChange},set:function(t){this._onValueChange=t}},onValueChanging:{get:function(){return this._onValueChanging},set:function(t){this._onValueChanging=t}},minValue:{get:function(){return this._minValue},set:function(t){this._minValue=t,this.update()}},maxValue:{get:function(){return this._maxValue},set:function(t){this._maxValue=t,this.update()}},disabled:{get:function(){return this._disabled},set:function(t){t!==this._disabled&&(this._disabled=t,this.handle.container.buttonMode=!t,this.handle.container.interactive=!t,this.track.container.interactive=!t)}}})},{"./Ease/Ease":8,"./Helpers":11,"./Interaction/ClickEvent":13,"./Interaction/DragEvent":15,"./Tween":30,"./UIBase":32}],23:[function(t,e,i){function n(t,e,i){s.call(this),this.desc="undefined"!=typeof t&&t,this.tweenTime=e||0,this.tweenEase=i,this.items=[]}var s=t("./Container"),o=t("./Tween");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.addChild=function(t,e,i){s.prototype.addChild.call(this,t),this.items.indexOf(t)==-1&&this.items.push(t),"function"==typeof e&&(t._sortListValue=e),"function"==typeof i&&(t._sortListThenByValue=i),t._sortListRnd||(t._sortListRnd=Math.random()),this.sort()},n.prototype.removeChild=function(t){if(arguments.length>1)for(var e=0;e<arguments.length;e++)this.removeChild(arguments[e]);else{s.prototype.removeChild.call(this,t);var i=this.items.indexOf(t);i!=-1&&this.items.splice(i,1),this.sort()}},n.prototype.sort=function(t){if(clearTimeout(this._sortTimeout),t)return void this._sort();var e=this;this._sortTimeout=setTimeout(function(){e._sort()},0)},n.prototype._sort=function(){var t=this,e=this.desc,i=0,n=!0;this.items.sort(function(t,i){var n=t._sortListValue()<i._sortListValue()?e?1:-1:t._sortListValue()>i._sortListValue()?e?-1:1:0;return 0===n&&t._sortListThenByValue&&i._sortListThenByValue&&(n=t._sortListThenByValue()<i._sortListThenByValue()?e?1:-1:t._sortListThenByValue()>i._sortListThenByValue()?e?-1:1:0),0===n&&(n=t._sortListRnd>i._sortListRnd?1:t._sortListRnd<i._sortListRnd?-1:0),n});for(var s=0;s<this.items.length;s++){var h=this.items[s];n=!n,this.tweenTime>0?o.fromTo(h,this.tweenTime,{x:h.x,y:h.y},{x:0,y:i},this.tweenEase):(h.x=0,h.y=i),i+=h.height,"function"==typeof h.altering&&h.altering(n)}this.tweenTime>0&&setTimeout(function(){t.updatesettings(!1,!0)},1e3*this.tweenTime)}},{"./Container":4,"./Tween":30}],24:[function(t,e,i){function n(t){this.sprite=new PIXI.Sprite(t),s.call(this,this.sprite.width,this.sprite.height),this.container.addChild(this.sprite)}var s=t("./UIBase");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,n.fromFrame=function(t){return new n(new PIXI.Texture.fromFrame(t))},n.fromImage=function(t){return new n(new PIXI.Texture.fromImage(t))},n.prototype.update=function(){null!==this.tint&&(this.sprite.tint=this.tint),null!==this.blendMode&&(this.sprite.blendMode=this.blendMode),this.sprite.width=this._width,this.sprite.height=this._height}},{"./UIBase":32}],25:[function(t,e,i){function n(t,e){PIXI.Container.call(this),this.__width=t,this.__height=e,this.minWidth=0,this.minHeight=0,this.UIChildren=[],this.stage=this,this.interactive=!0,this.hitArea=new PIXI.Rectangle(0,0,0,0),this.initialized=!0,this.resize(t,e)}t("./UIBase");n.prototype=Object.create(PIXI.Container.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.addChild=function(t){var e=arguments.length;if(e>1)for(var i=0;i<e;i++)this.addChild(arguments[i]);else null!==t.parent&&t.parent.removeChild(t),t.parent=this,this.UIChildren.push(t),PIXI.Container.prototype.addChild.call(this,t.container),t.updatesettings(!0)},n.prototype.removeChild=function(t){var e=arguments.length;if(e>1)for(var i=0;i<e;i++)this.removeChild(arguments[i]);else{PIXI.Container.prototype.removeChild.call(this,t.container);var n=this.UIChildren.indexOf(t);n!=-1&&(this.UIChildren.splice(n,1),t.parent=null)}},n.prototype.resize=function(t,e){if(isNaN(e)||(this.__height=e),isNaN(t)||(this.__width=t),this.minWidth||this.minHeight){var i=1,n=1;t&&t<this.minWidth&&(i=this.minWidth/t),e&&e<this.minHeight&&(n=this.minHeight/e),i>n&&i>1?(this.scale.set(1/i),this.__height*=i,this.__width*=i):n>1?(this.scale.set(1/n),this.__width*=n,this.__height*=n):1!==this.scale.x&&this.scale.set(1)}this.hitArea.width=this.__width,this.hitArea.height=this.__height;for(var s=0;s<this.UIChildren.length;s++)this.UIChildren[s].updatesettings(!0,!1)},Object.defineProperties(n.prototype,{_width:{get:function(){return this.__width},set:function(t){isNaN(t)||(this.__width=t,this.resize())}},_height:{get:function(){return this.__height},set:function(t){isNaN(t)||(this.__height=t,this.resize())}}})},{"./UIBase":32}],26:[function(t,e,i){function n(t,e){this._text=new PIXI.Text(t,e),s.call(this,this._text.width,this._text.height),this.container.addChild(this._text),this.baseupdate=function(){null===this._anchorLeft||null===this._anchorRight?(this.setting.width=this._text.width,this.setting.widthPct=null):this._text.width=this._width,null===this._anchorTop||null===this._anchorBottom?(this.setting.height=this._text.height,this.setting.heightPct=null):this._text.width=this._width,s.prototype.baseupdate.call(this)},this.update=function(){null!==this.tint&&(this._text.tint=this.tint),null!==this.blendMode&&(this._text.blendMode=this.blendMode)}}var s=t("./UIBase");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,Object.defineProperties(n.prototype,{value:{get:function(){return this._text.text},set:function(t){this._text.text=t,this.updatesettings(!0)}},text:{get:function(){return this.value},set:function(t){this.value=t}}})},{"./UIBase":32}],27:[function(t,e,i){function n(t){"undefined"==typeof _pui_tempInput&&(_pui_tempInput=document.createElement("INPUT"),_pui_tempInput.setAttribute("type","text"),_pui_tempInput.setAttribute("id","_pui_tempInput"),_pui_tempInput.setAttribute("style","position:fixed; left:-10px; top:-10px; width:0px; height: 0px;"),document.body.appendChild(_pui_tempInput));var e="undefined"!=typeof t.width?t.width:t.background?t.background.width:150,i="undefined"!=typeof t.height?t.height:t.background?t.background.height:150;s.call(this,e,i,t.tabIndex||0,t.tabGroup||0),this._dirtyText=!0,this.maxLength=t.maxLength||0,this._value=this._lastValue=t.value||"",this.maxLength&&(this._value=this._value.slice(0,this.maxLength));var n=this,h=[],r=void 0!==t.multiLine&&t.multiLine,u=t.style&&t.style.fill?t.style.fill:"#000000",a=t.selectedColor||"#ffffff",l=t.selectedBackgroundColor||"#318cfa",c=new PIXI.Text("1",t.style),d=c.height,D=t.lineHeight||d||n._height;c.destroy();var p=n.selection=new PIXI.Graphics;p.visible=!1,p._startIndex=0,p._endIndex=0;var g=n.caret=new PIXI.Graphics;g.visible=!1,g._index=0,g.lineStyle(t.caretWidth||1,"#ffffff",1),g.moveTo(0,0),g.lineTo(0,d),t.background&&(this.background=t.background,this.background.width="100%",this.background.height="100%",this.addChild(this.background));var f=void 0!==t.paddingLeft?t.paddingLeft:void 0!==t.padding?t.padding:3,_=void 0!==t.paddingRight?t.paddingRight:void 0!==t.padding?t.padding:3,v=void 0!==t.paddingBottom?t.paddingBottom:void 0!==t.padding?t.padding:3,m=void 0!==t.paddingTop?t.paddingTop:void 0!==t.padding?t.padding:3,x=this.textContainer=new PIXI.UI.ScrollingContainer({scrollX:!r,scrollY:r,dragScrolling:r,expandMask:2,softness:.2,overflowX:40,overflowY:40});x.anchorTop=m,x.anchorBottom=v,x.anchorLeft=f,x.anchorRight=_,this.addChild(x),r&&(this._useNext=this._usePrev=!1,x.dragRestrictAxis="y",x.dragThreshold=5,this.dragRestrictAxis="x",this.dragThreshold=5);var C=x.innerContainer;this.update=function(){this._width!=this._lastWidth&&(this._lastWidth=this._width,r&&(U(),g.visible&&n.setCaretIndex(g._index),M&&lt())),this._dirtyText&&(U(),this._dirtyText=!1)};var y,w,F,I,E,b=new PIXI.Point,P=new PIXI.Point,B=new PIXI.Point,k=!1,T=!1,A=-1,S=-1,M=!1,L=performance.now(),X=0,O=0,R=0,H=0,N=!1,j=!1,W=16,z=17,V=91,U=function(){O=0,R=0,H=0;var e=0,i=n._value.length,s=0,o=.5*(D-d),u=0;if(h.length>i){for(u=h.length-1;u>=i;u--)C.removeChild(h[u]),h[u].destroy();h.splice(i,h.length-i)}var a=!1,l=!1,c=0,p=-1,v=!1;for(u=0;u<n._value.length;u++){(a||l)&&(p=u,c++);var m=n._value[u];a=" "===m,l="\n"===m,l&&(m="");var y=h[u];y?y.text=m:(y=new PIXI.Text(m,t.style),C.addChild(y),h.push(y)),y.scale.x=l?0:1,y.wrapped=v,v=!1,!(l||r&&s+y.width>=n._width-f-_)||(e++,s=0,o+=D,p==-1||l)?(y.lineIndex=e,y.x=s,y.y=o,y.wordIndex=a||l?-1:c,s+=y.width,s>O&&(O=s),o>R&&(R=o)):(u=p-1,p=-1,v=!0)}H=e,C.addChild(g),C.cacheAsBitmap&&(C.cacheAsBitmap=!1,C.cacheAsBitmap=!0),x.update()},G=function(t,e){var i,n=99999,s=-1,o=!1,r=0;H>0&&(r=Math.max(0,Math.min(H,Math.floor(t.y/D))));for(var u=0;u<h.length;u++){var a=h[u];if(a.lineIndex==r){var l=Math.abs(t.x-(a.x+.5*a.width));l<n&&(n=l,i=a,s=u,o=t.x>a.x+.5*a.width)}}e?(w=s,F=o):(I=s,E=o)},Y=function(){return!!M&&(n.value=n.value.slice(0,A)+n.value.slice(S+1),n.setCaretIndex(A),!0)},q=function(){for(var t=0;t<h.length;t++)t>=A&&t<=S?h[t].style.fill=a:h[t].style.fill=u},Q=new PIXI.Point,$=function(t){Q.copy(t),r&&Q.y>=D&&(Q.y+=D),x.focusPosition(Q)},K=function(){Q.set(0,0),x.focusPosition(Q)},J=function(){g.visible=!1,clearInterval(y)},Z=function(){n.clearSelection(),clearInterval(y),g.alpha=1,g.visible=!0,y=setInterval(function(){g.alpha=0===g.alpha?1:0},500)},tt=function(t){if(r||t.indexOf("\n")==-1||(t=t.replace(/\n/g,"")),M&&Y(),!n.maxLength||h.length<n.maxLength)if(g._atEnd)n.valueEvent+=t,n.setCaretIndex(h.length);else{var e=Math.min(h.length-1,g._index);n.valueEvent=n.value.slice(0,e)+t+n.value.slice(e),n.setCaretIndex(e+t.length)}},et=function(t){if(t.which!==z&&t.which!==V||(N=!0),t.which===W&&(j=!0),n.emit("keydown",t),!t.defaultPrevented){if(13===t.which)return tt("\n"),void t.preventDefault();if(N){if(65===t.which)return n.select(),void t.preventDefault();if(90===t.which)return n.value!=n._lastValue&&(n.valueEvent=n._lastValue),n.setCaretIndex(n._lastValue.length+1),void t.preventDefault()}if(8===t.which)return Y()||(g._index>0||1===h.length&&g._atEnd)&&(g._atEnd?(n.valueEvent=n.value.slice(0,h.length-1),n.setCaretIndex(g._index)):(n.valueEvent=n.value.slice(0,g._index-1)+n.value.slice(g._index),n.setCaretIndex(g._index-1))),void t.preventDefault();if(46===t.which)return Y()||g._atEnd||(n.valueEvent=n.value.slice(0,g._index)+n.value.slice(g._index+1),n.setCaretIndex(g._index)),void t.preventDefault();if(37===t.which||39===t.which){if(k=37===t.which,j)if(M){var e=A===g._index;if(e)if(A===S&&k===g._forward)n.setCaretIndex(g._forward?g._index:g._index+1);else{var i=k?g._index-1:g._index+1;n.selectRange(i,S),g._index=Math.min(h.length-1,Math.max(0,i))}else{var s=k?g._index-1:g._index+1;n.selectRange(A,s),g._index=Math.min(h.length-1,Math.max(0,s))}}else{var o=g._atEnd?g._index+1:g._index,u=k?o-1:o;n.selectRange(u,u),g._index=u,g._forward=!k}else M?n.setCaretIndex(k?A:S+1):n.setCaretIndex(g._index+(k?g._atEnd?0:-1:1));return void t.preventDefault()}return!r||38!==t.which&&40!==t.which?void 0:(T=38===t.which,j?M?(B.y=Math.max(0,Math.min(R,B.y+(T?-D:D))),G(B,!1),Math.abs(w-I)<=1?n.setCaretIndex(F?w+1:w):(g._index=(E?I+1:I)+(g._down?-1:0),n.selectRange(g._down?w:w-1,g._index))):(w=g._index,F=!1,B.copy(g),B.y=Math.max(0,Math.min(R,B.y+(T?-D:D))),G(B,!1),g._index=(E?I+1:I)-(T?0:1),n.selectRange(T?w-1:w,g._index),g._down=!T):M?n.setCaretIndex(T?A:S+1):(P.copy(g),P.y+=T?-D:D,P.x+=1,G(P,!0),n.setCaretIndex(F?w+1:w)),void t.preventDefault())}},it=function(t){t.which!=z&&t.which!=V||(N=!1),t.which===W&&(j=!1),n.emit("keyup",t),t.defaultPrevented},nt=function(t){if(n.emit("copy",t),!t.defaultPrevented){if(M){var e=t.clipboardData||window.clipboardData;e.setData("Text",n.value.slice(A,S+1))}t.preventDefault()}},st=function(t){n.emit("cut",t),t.defaultPrevented||(M&&(nt(t),Y()),t.preventDefault())},ot=function(t){if(n.emit("paste",t),!t.defaultPrevented){var e=t.clipboardData||window.clipboardData;tt(e.getData("Text")),t.preventDefault()}},ht=function(t){var e=_pui_tempInput.value;e.length&&(tt(e),_pui_tempInput.value=""),t.preventDefault()},rt=function(t){n.blur()},ut=new o(this);ut.onPress=function(t,e){if(e){var i=performance.now()-L;if(L=performance.now(),i<250)if(X++,X>1)this.select();else{C.toLocal(b,void 0,P,!0),G(P,!0);var s=h[w];s&&(s.wordIndex!=-1?this.selectWord(s.wordIndex):this.selectRange(w,w))}else X=0,b.copy(t.data.global),C.toLocal(b,void 0,P,!0),h.length&&(G(P,!0),n.setCaretIndex(F?w+1:w))}t.data.originalEvent.preventDefault()},ut.onDragMove=function(t,e){h.length&&this._focused&&(B.x=b.x+e.x,B.y=b.y+e.y,C.toLocal(B,void 0,B,!0),G(B,!1),w<I?(n.selectRange(F?w+1:w,E?I:I-1),g._index=E?I:I-1):w>I?(n.selectRange(I,F?w:w-1),g._index=I):F===E?n.setCaretIndex(F?w+1:w):(n.selectRange(w,I),g._index=I),g._forward=w<=I,g._down=e.y>0,$(B))},this.focus=function(){if(!this._focused){s.prototype.focus.call(this);var t=this.container.worldTransform.tx+"px",e=this.container.worldTransform.ty+"px",i=this.container.height+"px",o=this.container.width+"px";_pui_tempInput.setAttribute("style","position:fixed; left:"+t+"; top:"+e+"; height:"+i+"; width:"+o+";"),_pui_tempInput.value="",_pui_tempInput.focus(),_pui_tempInput.setAttribute("style","position:fixed; left:-10px; top:-10px; width:0px; height: 0px;"),C.cacheAsBitmap=!1,_pui_tempInput.addEventListener("blur",rt,!1),document.addEventListener("keydown",et,!1),document.addEventListener("keyup",it,!1),document.addEventListener("paste",ot,!1),
  document.addEventListener("copy",nt,!1),document.addEventListener("cut",st,!1),_pui_tempInput.addEventListener("input",ht,!1),setTimeout(function(){g.visible||n.selection.visible||r||n.setCaretIndex(h.length)},0)}},this.blur=function(){this._focused&&(s.prototype.blur.call(this),N=!1,j=!1,J(),this.clearSelection(),h.length>1&&(C.cacheAsBitmap=!0),_pui_tempInput.removeEventListener("blur",rt),document.removeEventListener("keydown",et),document.removeEventListener("keyup",it),document.removeEventListener("paste",ot),document.removeEventListener("copy",nt),document.removeEventListener("cut",st),_pui_tempInput.removeEventListener("input",ht),_pui_tempInput.blur()),r||K()},this.setCaretIndex=function(t){if(g._atEnd=t>=h.length,g._index=Math.max(0,Math.min(h.length-1,t)),h.length&&t>0){var e=Math.max(0,Math.min(t,h.length-1)),i=h[e];i&&i.wrapped?(g.x=i.x,g.y=i.y):(e=Math.max(0,Math.min(t-1,h.length-1)),i=h[e],g.x=h[e].x+h[e].width,g.y=h[e].lineIndex*D+.5*(D-d))}else g.x=0,g.y=.5*(D-d);$(g),Z()},this.select=function(){this.selectRange(0,h.length-1)},this.selectWord=function(t){for(var e=h.length,i=0,n=0;n<h.length;n++)h[n].wordIndex===t&&(n<e&&(e=n),n>i&&(i=n));this.selectRange(e,i)};var at=function(t,e,i,s){n.selection.beginFill("0x"+l.slice(1),1),n.selection.moveTo(t,e),n.selection.lineTo(t+i,e),n.selection.lineTo(t+i,e+s),n.selection.lineTo(t,e+s),n.selection.endFill()},lt=function(){var t=h[A];if(void 0!==t){var e=t.x,i=t.y,s=0,o=d,r=t.lineIndex;n.selection.clear();for(var u=A;u<=S;u++){var a=h[u];a.lineIndex!=r&&(at(e,i,s,o),e=a.x,i=a.y,r=a.lineIndex,s=0),s+=a.width}at(e,i,s,o),C.addChildAt(n.selection,0)}};this.selectRange=function(t,e){if(t>-1&&e>-1){var i=Math.min(t,e,h.length-1),s=Math.min(Math.max(t,e),h.length-1);i==A&&s==S||(M=!0,this.selection.visible=!0,A=i,S=s,J(),lt(),q()),this.focus()}else n.clearSelection()},this.clearSelection=function(){M&&(M=!1,this.selection.visible=!1,A=-1,S=-1,q())}}var s=t("./InputBase"),o=(t("./Container"),t("./Interaction/DragEvent"));n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,Object.defineProperties(n.prototype,{valueEvent:{get:function(){return this._value},set:function(t){this.maxLength&&(t=t.slice(0,this.maxLength)),this._value!=t&&(this.value=t,this.emit("change"))}},value:{get:function(){return this._value},set:function(t){this.maxLength&&(t=t.slice(0,this.maxLength)),this._value!=t&&(this._lastValue=this._value,this._value=t,this._dirtyText=!0,this.update())}},text:{get:function(){return this.value},set:function(t){this.value=t}}})},{"./Container":4,"./InputBase":12,"./Interaction/DragEvent":15}],28:[function(t,e,i){function n(t){PIXI.utils.EventEmitter.call(this),this._disabled=!0,this._now=0,this.DeltaTime=0,this.Time=performance.now(),this.Ms=0,t&&(this.disabled=!1),n.shared=this}var s=t("./Tween");n.prototype=Object.create(PIXI.utils.EventEmitter.prototype),n.prototype.constructor=n,e.exports=n,Object.defineProperties(n.prototype,{disabled:{get:function(){return this._disabled},set:function(t){this._disabled?(this._disabled=!1,n.shared=this,this.update(performance.now(),!0)):this._disabled=!0}}}),n.prototype.update=function(t){n.shared._now=t,n.shared.Ms=n.shared._now-n.shared.Time,n.shared.Time=n.shared._now,n.shared.DeltaTime=.001*n.shared.Ms,n.shared.emit("update",n.shared.DeltaTime),s._update(n.shared.DeltaTime),n.shared._disabled||requestAnimationFrame(n.shared.update)},n.on=function(t,e,i){n.prototype.on.apply(this.shared,arguments)},n.once=function(t,e,i){n.prototype.once.apply(this.shared,arguments)},n.removeListener=function(t,e){n.prototype.removeListener.apply(this.shared,arguments)},n.shared=new n((!0))},{"./Tween":30}],29:[function(t,e,i){function n(t,e,i){this.sprite=new PIXI.extras.TilingSprite(t),s.call(this,e||this.sprite.width,i||this.sprite.height),this.container.addChild(this.sprite)}var s=t("./UIBase");n.prototype=Object.create(s.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.update=function(){null!==this.tint&&(this.sprite.tint=this.tint),null!==this.blendMode&&(this.sprite.blendMode=this.blendMode),this.sprite.width=this._width,this.sprite.height=this._height},Object.defineProperties(n.prototype,{tilePosition:{get:function(){return this.sprite.tilePosition},set:function(t){this.sprite.tilePosition=t}},tileScale:{get:function(){return this.sprite.tileScale},set:function(t){this.sprite.tileScale=t}}})},{"./UIBase":32}],30:[function(t,e,i){function n(t,e,i,n){return isNaN(t)||isNaN(e)?isNaN(t)&&isNaN(e)&&t.indexOf("%")!==-1&&e.indexOf("%")!==-1?parseFloat(t.replace("%","")):isNaN(t)&&!isNaN(e)&&t.indexOf("%")!==-1?v.indexOf(n)!==-1?i.parent._width*(.01*parseFloat(t.replace("%",""))):m.indexOf(n)!==-1?i.parent._height*(.01*parseFloat(t.replace("%",""))):0:!isNaN(t)&&isNaN(e)&&e.indexOf("%")!==-1?v.indexOf(n)!==-1?t/i.parent._width*100:m.indexOf(n)!==-1?t/i.parent._height*100:0:0:t}function s(t){if(isNaN(t)&&t.indexOf("%")!==-1)return"%"}function o(t){return isNaN(t)?isNaN(t)&&t.indexOf("%")!==-1?parseFloat(t.replace("%","")):void 0:t}function h(t){t._tweenObjectId||(t._tweenObjectId=p,p++);var e=d[t._tweenObjectId];return e||(e=d[t._tweenObjectId]=new g(t)),e}function r(){for(var t=0;t<l.length;t++)if(l[t]._ready)return l[t];var e=new _;return l.push(e),e}function u(){for(var t=0;t<c.length;t++)if(c[t]._ready)return c[t];var e=new f;return c.push(e),e}var a=t("./Helpers"),l=[],c=[],d={},D={},p=1,g=function(t){this.object=t,this.tweens={},this.active=!1,this.onUpdate=null},f=function(){this._ready=!1,this.obj=null,this.parent=null,this.key="",this.time=0,this.callback=null,this.currentTime=0};f.prototype.remove=function(){this._ready=!0,delete this.parent.tweens[this.key],Object.keys(this.parent.tweens).length||(this.parent.active=!1,this.parent.onUpdate=null,delete D[this.obj._tweenObjectId])},f.prototype.set=function(t,e,i){this.obj=t.object,this.obj._currentCallbackID?this.obj._currentCallbackID++:this.obj._currentCallbackID=1,this.time=i,this.parent=t,this.callback=e,this._ready=!1,this.key="cb_"+this.obj._currentCallbackID,this.currentTime=0,this.parent.active||(this.parent.active=!0,D[this.obj._tweenObjectId]=this.parent)},f.prototype.update=function(t){this.currentTime+=t,this.currentTime>=this.time&&(this.remove(),this.callback.call(this.parent))};var _=function(){this._ready=!1,this.parent=null,this.obj=null,this.key="",this.from=0,this.to=0,this.time=0,this.ease=0,this.currentTime=0,this.t=0,this.isColor=!1};_.prototype.remove=function(){this._ready=!0,delete this.parent.tweens[this.key],Object.keys(this.parent.tweens).length||(this.parent.active=!1,delete D[this.obj._tweenObjectId])},_.prototype.set=function(t,e,i,h,r,u){this.isColor=isNaN(i)&&"#"===i[0]||isNaN(h)&&"#"===h[0],this.parent=t,this.obj=t.object,this.key=e,this.surfix=s(h),this.isColor?(this.to=a.hexToRgb(h),this.from=a.hexToRgb(i),this.currentColor={r:this.from.r,g:this.from.g,b:this.from.b}):(this.to=o(h),this.from=n(i,h,this.obj,e)),this.time=r,this.currentTime=0,this.ease=u,this._ready=!1,this.parent.active||(this.parent.active=!0,D[this.obj._tweenObjectId]=this.parent)},_.prototype.update=function(t){if(this.currentTime+=t,this.t=Math.min(this.currentTime,this.time)/this.time,this.ease&&(this.t=this.ease.getPosition(this.t)),this.isColor)this.currentColor.r=Math.round(a.Lerp(this.from.r,this.to.r,this.t)),this.currentColor.g=Math.round(a.Lerp(this.from.g,this.to.g,this.t)),this.currentColor.b=Math.round(a.Lerp(this.from.b,this.to.b,this.t)),this.obj[this.key]=a.rgbToNumber(this.currentColor.r,this.currentColor.g,this.currentColor.b);else{var e=a.Lerp(this.from,this.to,this.t);this.obj[this.key]=this.surfix?e+this.surfix:e}this.currentTime>=this.time&&this.remove()};var v=["width","minWidth","maxWidth","anchorLeft","anchorRight","left","right","x"],m=["height","minHeight","maxHeight","anchorTop","anchorBottom","top","bottom","y"],x={to:function(t,e,i,n){var s=h(t),o=null;for(var a in i)if("onComplete"!==a)if("onUpdate"!==a){if(e){var l=i[a]===t[a];if("undefined"==typeof t[a])continue;l?s.tweens[a]&&s.tweens[a].remove():(s.tweens[a]||(s.tweens[a]=r()),s.tweens[a].set(s,a,t[a],i[a],e,n))}}else o=i[a];else{var c=u();c.set(s,i[a],e),s.tweens[c.key]=c}e?s.onUpdate=o:this.set(t,i)},from:function(t,e,i,n){var s=h(t),o=null;for(var a in i)if("onComplete"!==a)if("onUpdate"!==a){if(e){var l=i[a]==t[a];if("undefined"==typeof t[a])continue;l?s.tweens[a]&&s.tweens[a].remove():(s.tweens[a]||(s.tweens[a]=r()),s.tweens[a].set(s,a,i[a],t[a],e,n))}}else o=i[a];else{var c=u();c.set(s,i[a],e),s.tweens[c.key]=c}e?s.onUpdate=o:this.set(t,i)},fromTo:function(t,e,i,n,s){var o=h(t),a=null;for(var l in n)if("onComplete"!==l)if("onUpdate"!==l){if(e){var c=i[l]==n[l];if("undefined"==typeof t[l]||"undefined"==typeof i[l])continue;c?(o.tweens[l]&&o.tweens[l].remove(),t[l]=n[l]):(o.tweens[l]||(o.tweens[l]=r()),o.tweens[l].set(o,l,i[l],n[l],e,s))}}else a=n[l];else{var d=u();d.set(o,n[l],e),o.tweens[d.key]=d}e?o.onUpdate=a:this.set(t,params)},set:function(t,e){var i=h(t);for(var n in e)"undefined"!=typeof t[n]&&(i.tweens[n]&&i.tweens[n].remove(),t[n]=e[n])},_update:function(t){for(var e in D){var i=D[e];for(var n in i.tweens)i.tweens[n].update(t);i.onUpdate&&i.onUpdate.call(i.object,t)}}};e.exports=x},{"./Helpers":11}],31:[function(t,e,i){var n={Stage:t("./Stage"),Container:t("./Container"),ScrollingContainer:t("./ScrollingContainer"),SortableList:t("./SortableList"),Sprite:t("./Sprite"),TilingSprite:t("./TilingSprite"),SliceSprite:t("./SliceSprite"),Slider:t("./Slider"),ScrollBar:t("./ScrollBar"),Text:t("./Text"),DynamicText:t("./DynamicText/DynamicText"),DynamicTextStyle:t("./DynamicText/DynamicTextStyle"),TextInput:t("./TextInput"),Button:t("./Button"),CheckBox:t("./CheckBox"),Helpers:t("./Helpers"),Tween:t("./Tween"),Ease:t("./Ease/Ease"),Interaction:t("./Interaction/Interaction"),Base:t("./UIBase"),Ticker:t("./Ticker").shared};e.exports=n},{"./Button":2,"./CheckBox":3,"./Container":4,"./DynamicText/DynamicText":6,"./DynamicText/DynamicTextStyle":7,"./Ease/Ease":8,"./Helpers":11,"./Interaction/Interaction":17,"./ScrollBar":19,"./ScrollingContainer":20,"./SliceSprite":21,"./Slider":22,"./SortableList":23,"./Sprite":24,"./Stage":25,"./Text":26,"./TextInput":27,"./Ticker":28,"./TilingSprite":29,"./Tween":30,"./UIBase":32}],32:[function(t,e,i){function n(t,e){PIXI.utils.EventEmitter.call(this),this.container=new PIXI.Container,this.setting=new s,this.children=[],this.parent=null,this.stage=null,this.initialized=!1,this.dragInitialized=!1,this.dropInitialized=!1,this.dirty=!0,this._oldWidth=-1,this._oldHeight=-1,this.pixelPerfect=!0,t&&isNaN(t)&&t.indexOf("%")!=-1?this.setting.widthPct=.01*parseFloat(t.replace("%","")):this.setting.widthPct=null,e&&isNaN(e)&&e.indexOf("%")!=-1?this.setting.heightPct=.01*parseFloat(e.replace("%","")):this.setting.heightPct=null,this.setting.width=t||0,this.setting.height=e||0,this._width=0,this._height=0,this._minWidth=null,this._minHeight=null,this._maxWidth=null,this._maxHeight=null,this._anchorLeft=null,this._anchorRight=null,this._anchorTop=null,this._anchorBottom=null,this._left=null,this._right=null,this._top=null,this._bottom=null,this._dragPosition=null}var s=t("./UISettings"),o=(t("./UI"),t("./Interaction/DragEvent")),h=t("./Interaction/DragDropController");n.prototype=Object.create(PIXI.utils.EventEmitter.prototype),n.prototype.constructor=n,e.exports=n,n.prototype.updatesettings=function(t,e){if(!this.initialized){if(null===this.parent||null===this.parent.stage||!this.parent.initialized)return;this.initialize()}e&&this.updateParent(),this.baseupdate(),this.update(),t&&this.updateChildren()},n.prototype.update=function(){},n.prototype.updateParent=function(){null!==this.parent&&this.parent.updatesettings&&this.parent.updatesettings(!1,!0)},n.prototype.baseupdate=function(){if(null!==this.parent){var t,e;this.dirty=!0,this._width=this.actual_width,this._height=this.actual_height,this._minWidth=this.actual_minWidth,this._minHeight=this.actual_minHeight,this._maxWidth=this.actual_maxWidth,this._maxHeight=this.actual_maxHeight,this._anchorLeft=this.actual_anchorLeft,this._anchorRight=this.actual_anchorRight,this._anchorTop=this.actual_anchorTop,this._anchorBottom=this.actual_anchorBottom,this._left=this.actual_left,this._right=this.actual_right,this._top=this.actual_top,this._bottom=this.actual_bottom,this._parentWidth=e=this.parent._width,this._parentHeight=t=this.parent._height,this.dirty=!1;var i=this.pivotX*this._width,n=this.pivotY*this._height;if(this.pixelPerfect&&(i=Math.round(i),n=Math.round(n)),null===this.horizontalAlign){null!==this._anchorLeft&&null===this._anchorRight&&null!==this._right?this._anchorRight=this._right:null===this._anchorLeft&&null!==this._anchorRight&&null!==this._left?this._anchorLeft=this._left:null===this._anchorLeft&&null===this._anchorRight&&null!==this._left&&null!==this._right&&(this._anchorLeft=this._left,this._anchorRight=this._right);var s=null!==this._anchorLeft||null!==this._anchorRight,o=!s&&(null!==this._left||null!==this._right);o?null!==this._left?this.container.position.x=this._left:null!==this._right&&(this.container.position.x=e-this._right):s?(null!==this._anchorLeft&&null===this._anchorRight?this.container.position.x=this._anchorLeft:null===this._anchorLeft&&null!==this._anchorRight?this.container.position.x=e-this._width-this._anchorRight:null!==this._anchorLeft&&null!==this._anchorRight&&(this.container.position.x=this._anchorLeft,this._width=e-this._anchorLeft-this._anchorRight),this.container.position.x+=i):this.container.position.x=0}if(null===this.verticalAlign){null!==this._anchorTop&&null===this._anchorBottom&&null!==this._bottom&&(this._anchorBottom=this._bottom),null===this._anchorTop&&null!==this._anchorBottom&&null!==this._top&&(this._anchorTop=this._top);var h=null!==this._anchorTop||null!==this._anchorBottom,r=!h&&(null!==this._top||null!==this._bottom);r?null!==this._top?this.container.position.y=this._top:null!==this._bottom&&(this.container.position.y=t-this._bottom):h?(null!==this._anchorTop&&null===this._anchorBottom?this.container.position.y=this._anchorTop:null===this._anchorTop&&null!==this._anchorBottom?this.container.position.y=t-this._height-this._anchorBottom:null!==this._anchorTop&&null!==this._anchorBottom&&(this.container.position.y=this._anchorTop,this._height=t-this._anchorTop-this._anchorBottom),this.container.position.y+=n):this.container.position.y=0}null!==this._maxWidth&&this._width>this._maxWidth&&(this._width=this._maxWidth),this._width<this._minWidth&&(this._width=this._minWidth),null!==this._maxHeight&&this._height>this._maxHeight&&(this._height=this._maxHeight),this._height<this._minHeight&&(this._height=this._minHeight),null!==this.horizontalAlign&&("center"==this.horizontalAlign?this.container.position.x=.5*e-.5*this._width:"right"==this.horizontalAlign?this.container.position.x=e-this._width:this.container.position.x=0,this.container.position.x+=i),null!==this.verticalAlign&&("middle"==this.verticalAlign?this.container.position.y=.5*t-.5*this._height:"bottom"==this.verticalAlign?this.container.position.y=t-this._height:this.container.position.y=0,this.container.position.y+=n),this.dragging&&!this.setting.dragRestricted&&(this.container.position.x=this._dragPosition.x,this.container.position.y=this._dragPosition.y),null!==this.setting.scaleX&&(this.container.scale.x=this.setting.scaleX),null!==this.setting.scaleY&&(this.container.scale.y=this.setting.scaleY),null!==this.setting.pivotX&&(this.container.pivot.x=i),null!==this.setting.pivotY&&(this.container.pivot.y=n),null!==this.setting.alpha&&(this.container.alpha=this.setting.alpha),null!==this.setting.rotation&&(this.container.rotation=this.setting.rotation),this.pixelPerfect&&(this._width=Math.round(this._width),this._height=Math.round(this._height),this.container.position.x=Math.round(this.container.position.x),this.container.position.y=Math.round(this.container.position.y))}},n.prototype.updateChildren=function(){for(var t=0;t<this.children.length;t++)this.children[t].updatesettings(!0)},n.prototype.addChild=function(t){var e=arguments.length;if(e>1)for(var i=0;i<e;i++)this.addChild(arguments[i]);else t.parent&&t.parent.removeChild(t),t.parent=this,this.container.addChild(t.container),this.children.push(t),this.updatesettings(!0,!0);return t},n.prototype.removeChild=function(t){var e=arguments.length;if(e>1)for(var i=0;i<e;i++)this.removeChild(arguments[i]);else{var n=this.children.indexOf(t);if(n!==-1){var s=t.parent;t.container.parent;t.container.parent.removeChild(t.container),this.children.splice(n,1),t.parent=null,setTimeout(function(){s.updatesettings&&s.updatesettings(!0,!0)},0)}}},n.prototype.initialize=function(){this.initialized=!0,this.stage=this.parent.stage,this.draggable&&this.initDraggable(),this.droppable&&this.initDroppable()},n.prototype.clearDraggable=function(){this.dragInitialized&&(this.dragInitialized=!1,this.drag.stopEvent())},n.prototype.initDraggable=function(){if(!this.dragInitialized){this.dragInitialized=!0;var t=new PIXI.Point,e=new PIXI.Point,i=this;this._dragPosition=new PIXI.Point,this.drag=new o(this),this.drag.onDragStart=function(i){var n=h.add(this,i);if(!this.dragging&&n){if(this.dragging=!0,this.container.interactive=!1,t.copy(this.container.position),this.dragContainer){var s=this.dragContainer.container?this.dragContainer.container:this.dragContainer;s&&(e.set(s.worldTransform.tx-this.parent.container.worldTransform.tx,s.worldTransform.ty-this.parent.container.worldTransform.ty),s.addChild(this.container))}else e.set(0);this.emit("draggablestart",i)}},this.drag.onDragMove=function(i,n){this.dragging&&(this._dragPosition.set(t.x+n.x-e.x,t.y+n.y-e.y),this.x=this._dragPosition.x,this.y=this._dragPosition.y,this.emit("draggablemove",i))},this.drag.onDragEnd=function(t){this.dragging&&(this.dragging=!1,setTimeout(function(){i.container.interactive=!0;var e=h.getItem(i);if(e){var n=i.parent===i.stage?i.stage:i.parent.container;n.toLocal(i.container.position,i.container.parent,i),n!=i.container&&i.parent.addChild(i)}i.emit("draggableend",t)},0))}}},n.prototype.clearDroppable=function(){this.dropInitialized&&(this.dropInitialized=!1,this.container.removeListener("mouseup",this.onDrop),this.container.removeListener("touchend",this.onDrop))},n.prototype.initDroppable=function(){if(!this.dropInitialized){this.dropInitialized=!0;var t=this.container,e=this;this.container.interactive=!0,this.onDrop=function(t){var i=h.getEventItem(t,e.dropGroup);if(i&&i.dragging){i.dragging=!1,i.container.interactive=!0;var n=null!==e.droppableReparent?e.droppableReparent:e;n.container.toLocal(i.container.position,i.container.parent,i),n.container!=i.container.parent&&n.addChild(i)}},t.on("mouseup",this.onDrop),t.on("touchend",this.onDrop)}},Object.defineProperties(n.prototype,{x:{get:function(){return this.setting.left},set:function(t){this.left=t}},y:{get:function(){return this.setting.top},set:function(t){this.top=t}},width:{get:function(){return this.setting.width},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.widthPct=.01*parseFloat(t.replace("%","")):this.setting.widthPct=null,this.setting.width=t,this.updatesettings(!0)}},actual_width:{get:function(){return this.dirty&&(null!==this.setting.widthPct?this._width=this.parent._width*this.setting.widthPct:this._width=this.setting.width),this._width}},height:{get:function(){return this.setting.height},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.heightPct=.01*parseFloat(t.replace("%","")):this.setting.heightPct=null,this.setting.height=t,this.updatesettings(!0)}},actual_height:{get:function(){return this.dirty&&(null!==this.setting.heightPct?this._height=this.parent._height*this.setting.heightPct:this._height=this.setting.height),this._height}},minWidth:{get:function(){return this.setting.minWidth},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.minWidthPct=.01*parseFloat(t.replace("%","")):this.setting.minWidthPct=null,this.setting.minWidth=t,this.updatesettings(!0)}},actual_minWidth:{get:function(){return this.dirty&&(null!==this.setting.minWidthPct?this._minWidth=this.parent._width*this.setting.minWidthPct:this._minWidth=this.setting.minWidth),this._minWidth}},minHeight:{get:function(){return this.setting.minHeight},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.minHeightPct=.01*parseFloat(t.replace("%","")):this.setting.minHeightPct=null,this.setting.minHeight=t,this.updatesettings(!0)}},actual_minHeight:{get:function(){return this.dirty&&(null!==this.setting.minHeightPct?this._minHeight=this.parent._height*this.setting.minHeightPct:this._minHeight=this.setting.minHeight),this._minHeight}},maxWidth:{get:function(){return this.setting.maxWidth},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.maxWidthPct=.01*parseFloat(t.replace("%","")):this.setting.maxWidthPct=null,this.setting.maxWidth=t,this.updatesettings(!0)}},actual_maxWidth:{get:function(){return this.dirty&&(null!==this.setting.maxWidthPct?this._maxWidth=this.parent._width*this.setting.maxWidthPct:this._maxWidth=this.setting.maxWidth),this._maxWidth}},maxHeight:{get:function(){return this.setting.maxHeight},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.maxHeightPct=.01*parseFloat(t.replace("%","")):this.setting.maxHeightPct=null,this.setting.maxHeight=t,this.updatesettings(!0)}},actual_maxHeight:{get:function(){return this.dirty&&(null!==this.setting.maxHeightPct?this._maxHeight=this.parent._height*this.setting.maxHeightPct:this._maxHeight=this.setting.maxHeight),this._maxHeight}},anchorLeft:{get:function(){return this.setting.anchorLeft},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.anchorLeftPct=.01*parseFloat(t.replace("%","")):this.setting.anchorLeftPct=null,this.setting.anchorLeft=t,this.updatesettings(!0)}},actual_anchorLeft:{get:function(){return this.dirty&&(null!==this.setting.anchorLeftPct?this._anchorLeft=this.parent._width*this.setting.anchorLeftPct:this._anchorLeft=this.setting.anchorLeft),this._anchorLeft}},anchorRight:{get:function(){return this.setting.anchorRight},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.anchorRightPct=.01*parseFloat(t.replace("%","")):this.setting.anchorRightPct=null,this.setting.anchorRight=t,this.updatesettings(!0)}},actual_anchorRight:{get:function(){return this.dirty&&(null!==this.setting.anchorRightPct?this._anchorRight=this.parent._width*this.setting.anchorRightPct:this._anchorRight=this.setting.anchorRight),this._anchorRight}},anchorTop:{get:function(){return this.setting.anchorTop},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.anchorTopPct=.01*parseFloat(t.replace("%","")):this.setting.anchorTopPct=null,this.setting.anchorTop=t,this.updatesettings(!0)}},actual_anchorTop:{get:function(){return this.dirty&&(null!==this.setting.anchorTopPct?this._anchorTop=this.parent._height*this.setting.anchorTopPct:this._anchorTop=this.setting.anchorTop),this._anchorTop}},anchorBottom:{get:function(){return this.setting.anchorBottom},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.anchorBottomPct=.01*parseFloat(t.replace("%","")):this.setting.anchorBottomPct=null,this.setting.anchorBottom=t,this.updatesettings(!0)}},actual_anchorBottom:{get:function(){return this.dirty&&(null!==this.setting.anchorBottomPct?this._anchorBottom=this.parent._height*this.setting.anchorBottomPct:this._anchorBottom=this.setting.anchorBottom),this._anchorBottom}},left:{get:function(){return this.setting.left},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.leftPct=.01*parseFloat(t.replace("%","")):this.setting.leftPct=null,this.setting.left=t,this.updatesettings(!0)}},actual_left:{get:function(){return this.dirty&&(null!==this.setting.leftPct?this._left=this.parent._width*this.setting.leftPct:this._left=this.setting.left),this._left}},right:{get:function(){return this.setting.right},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.rightPct=.01*parseFloat(t.replace("%","")):this.setting.rightPct=null,this.setting.right=t,this.updatesettings(!0)}},actual_right:{get:function(){return this.dirty&&(null!==this.setting.rightPct?this._right=this.parent._width*this.setting.rightPct:this._right=this.setting.right),this._right}},top:{get:function(){return this.setting.top},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.topPct=.01*parseFloat(t.replace("%","")):this.setting.topPct=null,this.setting.top=t,this.updatesettings(!0)}},actual_top:{get:function(){return this.dirty&&(null!==this.setting.topPct?this._top=this.parent._height*this.setting.topPct:this._top=this.setting.top),this._top}},bottom:{get:function(){return this.setting.bottom},set:function(t){isNaN(t)&&t.indexOf("%")!==-1?this.setting.bottomPct=.01*parseFloat(t.replace("%","")):this.setting.bottomPct=null,this.setting.bottom=t,this.updatesettings(!0)}},actual_bottom:{get:function(){return this.dirty&&(null!==this.setting.bottomPct?this._bottom=this.parent._height*this.setting.bottomPct:this._bottom=this.setting.bottom),this._bottom}},verticalAlign:{get:function(){return this.setting.verticalAlign},set:function(t){this.setting.verticalAlign=t,this.baseupdate()}},valign:{get:function(){return this.setting.verticalAlign},set:function(t){this.setting.verticalAlign=t,this.baseupdate()}},horizontalAlign:{get:function(){return this.setting.horizontalAlign},set:function(t){this.setting.horizontalAlign=t,this.baseupdate()}},align:{get:function(){return this.setting.horizontalAlign},set:function(t){this.setting.horizontalAlign=t,this.baseupdate()}},tint:{get:function(){return this.setting.tint},set:function(t){this.setting.tint=t,this.update()}},alpha:{get:function(){return this.setting.alpha},set:function(t){this.setting.alpha=t,this.container.alpha=t}},rotation:{get:function(){return this.setting.rotation},set:function(t){this.setting.rotation=t,this.container.rotation=t}},blendMode:{get:function(){return this.setting.blendMode},set:function(t){this.setting.blendMode=t,this.update()}},pivotX:{get:function(){return this.setting.pivotX},set:function(t){this.setting.pivotX=t,this.baseupdate(),this.update()}},pivotY:{get:function(){return this.setting.pivotY},set:function(t){this.setting.pivotY=t,this.baseupdate(),this.update()}},pivot:{set:function(t){this.setting.pivotX=t,this.setting.pivotY=t,this.baseupdate(),this.update()}},scaleX:{get:function(){return this.setting.scaleX},set:function(t){this.setting.scaleX=t,this.container.scale.x=t}},scaleY:{get:function(){return this.setting.scaleY},set:function(t){this.setting.scaleY=t,this.container.scale.y=t}},scale:{get:function(){return this.setting.scaleX},set:function(t){this.setting.scaleX=t,this.setting.scaleY=t,this.container.scale.x=t,this.container.scale.y=t}},draggable:{get:function(){return this.setting.draggable},set:function(t){this.setting.draggable=t,this.initialized&&(t?this.initDraggable():this.clearDraggable())}},dragRestricted:{get:function(){return this.setting.dragRestricted},set:function(t){this.setting.dragRestricted=t}},dragRestrictAxis:{get:function(){return this.setting.dragRestrictAxis},set:function(t){this.setting.dragRestrictAxis=t}},dragThreshold:{get:function(){return this.setting.dragThreshold},set:function(t){this.setting.dragThreshold=t}},dragGroup:{get:function(){return this.setting.dragGroup},set:function(t){this.setting.dragGroup=t}},dragContainer:{get:function(){return this.setting.dragContainer},set:function(t){this.setting.dragContainer=t}},droppable:{get:function(){return this.setting.droppable},set:function(t){this.setting.droppable=!0,this.initialized&&(t?this.initDroppable():this.clearDroppable())}},droppableReparent:{get:function(){return this.setting.droppableReparent},set:function(t){this.setting.droppableReparent=t}},dropGroup:{get:function(){return this.setting.dropGroup},set:function(t){this.setting.dropGroup=t}},renderable:{get:function(){return this.container.renderable},set:function(t){this.container.renderable=t}},visible:{get:function(){return this.container.visible},set:function(t){this.container.visible=t}},cacheAsBitmap:{get:function(){return this.container.cacheAsBitmap},set:function(t){this.container.cacheAsBitmap=t}},onClick:{get:function(){return this.container.click},set:function(t){this.container.click=t}},interactive:{get:function(){return this.container.interactive},set:function(t){this.container.interactive=t}},interactiveChildren:{get:function(){return this.container.interactiveChildren},set:function(t){this.container.interactiveChildren=t}},parentLayer:{get:function(){return this.container.parentLayer},set:function(t){this.container.parentLayer=t}}})},{"./Interaction/DragDropController":14,"./Interaction/DragEvent":15,"./UI":31,"./UISettings":33}],33:[function(t,e,i){function n(){this.width=0,this.height=0,this.minHeight=0,this.maxWidth=null,this.maxHeight=null,this.left=null,this.right=null,this.top=null,this.bottom=null,this.anchorLeft=null,this.anchorRight=null,this.anchorTop=null,this.anchorBottom=null,this.widthPct=null,this.heightPct=null,this.minWidthPct=null,this.minHeightPct=null,this.maxWidthPct=null,this.maxHeightPct=null,this.minWidth=0,this.leftPct=null,this.rightPct=null,this.topPct=null,this.bottomPct=null,this.anchorLeftPct=null,this.anchorRightPct=null,this.anchorTopPct=null,this.anchorBottomPct=null,this.pivotX=0,this.pivotY=0,this.scaleX=1,this.scaleY=1,this.verticalAlign=null,this.horizontalAlign=null,this.rotation=null,this.blendMode=null,this.tint=null,this.alpha=1,this.draggable=null,this.dragRestricted=!1,this.dragRestrictAxis=null,this.dragThreshold=0,this.dragGroup=null,this.dragContainer=null,this.droppable=null,this.droppableReparent=null,this.dropGroup=null}e.exports=n},{}],34:[function(t,e,i){var n={UI:t("./UI")};Object.assign(PIXI,n),e.exports=n},{"./UI":31}]},{},[34])(34)});
  //# sourceMappingURL=pixi-ui.min.js.map
  