avg-core-hackathon
Version:
Develop Adventure Game (or ADV, Visual Novel, Galgame, etc.) on your own!
6 lines • 787 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("PIXI")):"function"==typeof define&&define.amd?define(["PIXI"],e):"object"==typeof exports?exports.AVG=e(require("PIXI")):t.AVG=e(t.PIXI)}(this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=678)}([function(t,e,n){var r=n(3),i=n(34),o=n(22),u=n(23),a=n(35),s=function(t,e,n){var c,l,f,p,h=t&s.F,d=t&s.G,v=t&s.S,m=t&s.P,y=t&s.B,g=d?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?i:i[e]||(i[e]={}),_=b.prototype||(b.prototype={});d&&(n=e);for(c in n)l=!h&&g&&void 0!==g[c],f=(l?g:n)[c],p=y&&l?a(f,r):m&&"function"==typeof f?a(Function.call,f):f,g&&u(g,c,f,t&s.U),b[c]!=f&&o(b,c,p),m&&_[c]!=f&&(_[c]=f)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){"use strict";function r(t,e,n,r,o,u,a,s){if(i(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,u,a,s],f=0;c=new Error(e.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var i=function(t){};t.exports=r},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var i=new Error(n);throw i.name="Invariant Violation",i.framesToPop=1,i}t.exports=r},function(t,e,n){"use strict";var r=n(43),i=r;t.exports=i},function(t,e,n){"use strict";for(var r=n(167),i={},o=0;o<128;o++)i[o]=String.fromCharCode(o);i["'".charCodeAt(0)]="\\'",i['"'.charCodeAt(0)]='\\"',i["\\".charCodeAt(0)]="\\\\",i["\b".charCodeAt(0)]="\\b",i["\f".charCodeAt(0)]="\\f",i["\n".charCodeAt(0)]="\\n",i["\r".charCodeAt(0)]="\\r",i["\t".charCodeAt(0)]="\\t",i["\v".charCodeAt(0)]="\\v",e.abstract=function(t){var e=t||"";return function(){throw new Error("this method "+e+" is abstract! (it has no implementation in class "+this.constructor.name+")")}},e.assert=function(t,e){if(!t)throw new Error(e)},e.defineLazyProperty=function(t,e,n){var r;Object.defineProperty(t,e,{get:function(){return r||(r=n.call(this)),r}})},e.clone=function(t){return t?r({},t):t},e.extend=r,e.repeatFn=function(t,e){for(var n=[];e-- >0;)n.push(t());return n},e.repeatStr=function(t,e){return new Array(e+1).join(t)},e.repeat=function(t,n){return e.repeatFn(function(){return t},n)},e.getDuplicates=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];t.lastIndexOf(r)!==n&&e.indexOf(r)<0&&e.push(r)}return e},e.copyWithoutDuplicates=function(t){var e=[];return t.forEach(function(t){e.indexOf(t)<0&&e.push(t)}),e},e.isSyntactic=function(t){var e=t[0];return e===e.toUpperCase()},e.isLexical=function(t){return!e.isSyntactic(t)},e.padLeft=function(t,n,r){var i=r||" ";return t.length<n?e.repeatStr(i,n-t.length)+t:t},e.StringBuffer=function(){this.strings=[]},e.StringBuffer.prototype.append=function(t){this.strings.push(t)},e.StringBuffer.prototype.contents=function(){return this.strings.join("")},e.escapeChar=function(t,n){var r=t.charCodeAt(0);return'"'!==t&&"'"!==t||!n||t===n?r<128?i[r]:128<=r&&r<256?"\\x"+e.padLeft(r.toString(16),2,"0"):"\\u"+e.padLeft(r.toString(16),4,"0"):t},e.unescapeChar=function(t){if("\\"!==t.charAt(0))return t;switch(t.charAt(1)){case"b":return"\b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return"\t";case"v":return"\v";case"x":return String.fromCharCode(parseInt(t.substring(2,4),16));case"u":return String.fromCharCode(parseInt(t.substring(2,6),16));default:return t.charAt(1)}},e.unexpectedObjToString=function(t){if(null==t)return String(t);var e=Object.prototype.toString.call(t);try{return(t.constructor&&t.constructor.name?t.constructor.name:0===e.indexOf("[object ")?e.slice(8,-1):typeof t)+": "+JSON.stringify(String(t))}catch(t){return e}}},function(t,e,n){var r=n(98)("wks"),i=n(64),o=n(3).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,e,n){"use strict";function r(){throw new Error("PExpr cannot be instantiated -- it's abstract")}function i(t){this.obj=t}function o(t,e){this.from=t,this.to=e}function u(t){this.index=t}function a(t){this.terms=t}function s(t,e,n){this.superGrammar=t,this.name=e,this.body=n;var r=t.rules[e].body;this.terms=[n,r]}function c(t){this.factors=t}function l(t){this.expr=t}function f(t){this.expr=t}function p(t){this.expr=t}function h(t){this.expr=t}function d(t){this.expr=t}function v(t){this.expr=t}function m(t){this.expr=t}function y(t){this.expr=t}function g(t){this.expr=t}function b(t,e){var n=t.map(function(t){return t.name}),r=D.getDuplicates(n);if(r.length>0)throw E.duplicatePropertyNames(r);this.properties=t,this.isLenient=e}function _(t,e){this.ruleName=t,this.args=e||[]}function A(t){this.category=t,this.pattern=x[t]}var x=n(592),D=n(8),E=n(47),C=n(104);r.prototype.withSource=function(t){return t&&(this.source=t.trimmed()),this};var w=Object.create(r.prototype),F=Object.create(r.prototype);C(i,r),C(o,r),C(u,r),C(a,r),C(s,a),C(c,r),C(l,r),C(f,l),C(p,l),C(h,l),f.prototype.operator="*",p.prototype.operator="+",h.prototype.operator="?",f.prototype.minNumMatches=0,p.prototype.minNumMatches=1,h.prototype.minNumMatches=0,f.prototype.maxNumMatches=Number.POSITIVE_INFINITY,p.prototype.maxNumMatches=Number.POSITIVE_INFINITY,h.prototype.maxNumMatches=1,C(d,r),C(v,r),C(m,r),C(y,r),C(g,r),C(b,r),C(_,r),_.prototype.isSyntactic=function(){return D.isSyntactic(this.ruleName)},_.prototype.toMemoKey=function(){return this._memoKey||Object.defineProperty(this,"_memoKey",{value:this.toString()}),this._memoKey},C(A,r),e.PExpr=r,e.any=w,e.end=F,e.Terminal=i,e.Range=o,e.Param=u,e.Alt=a,e.Extend=s,e.Seq=c,e.Iter=l,e.Star=f,e.Plus=p,e.Opt=h,e.Not=d,e.Lookahead=v,e.Lex=m,e.Arr=y,e.Str=g,e.Obj=b,e.Apply=_,e.UnicodeChar=A,n(576),n(577),n(578),n(579),n(580),n(581),n(583),n(582),n(586),n(584),n(585),n(587),n(589),n(588),n(590),n(591)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){function r(i,o){try{var u=e[i](o),a=u.value}catch(t){return void n(t)}if(!u.done)return Promise.resolve(a).then(function(t){r("next",t)},function(t){r("throw",t)});t(a)}return r("next")})}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(263),s=r(a),c=n(543),l=r(c),f=n(603),p=n(265),h=r(p),d=n(171),v=n(292),m=r(v),y=n(291),g=r(y),b=n(76),_=r(b),A=n(280),x=n(281),D=r(x),E=n(18),C=n(546),w=_.default.create("Core"),F=function(){function t(){o(this,t),this._init=!1,this._tickTime=0,this.renderer=null,this.stage=null,this.canvas=null,this.options={},this.middlewares={},this.plugins={},this.assetsPath=null}return u(t,[{key:"use",value:function(t,e){var n=void 0;this.middlewares[t]?n=this.middlewares[t]:(n=[],this.middlewares[t]=n),n.push(e)}},{key:"unuse",value:function(t,e){var n=this.middlewares[t];if(n){var r=n.indexOf(e);-1!==r?n.splice(r,1):w.warn("Do not find the given middleware in "+t+".")}else w.warn("Do not find the given middleware in "+t+".")}},{key:"post",value:function(t,e,n){var r=this.middlewares[t];return r?(0,s.default)(r)(e||{},n):Promise.resolve()}},{key:"installPlugin",value:function(t){new t(this)}},{key:"init",value:function(){function t(t,n){return e.apply(this,arguments)}var e=i(regeneratorRuntime.mark(function t(e,n){var r,i,o,u=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this._init){t.next=2;break}return t.abrupt("return");case 2:if(r=Object.assign({fitWindow:!1,assetsPath:"/",tryWebp:!1},a),!r.fontFamily){t.next=7;break}return i=new l.default(r.fontFamily),t.next=7,i.load();case 7:r.renderer?this.renderer=r.renderer:(C.any?(E.settings.RESOLUTION=1,E.settings.TARGET_FPMS=.03):E.settings.RESOLUTION=window.devicePixelRatio||1,this.renderer=new E.WebGLRenderer(e,n,{view:r.view,autoResize:!0,roundPixels:!0})),this.options=r,r.fitWindow&&(window.addEventListener("resize",function(){(0,g.default)(u.renderer,window.innerWidth,window.innerHeight)}),(0,g.default)(this.renderer,window.innerWidth,window.innerHeight)),o=r.assetsPath,o.endsWith("/")||(o+="/"),this.assetsPath=o,(0,A.init)(o,r.tryWebp),this.stage=new h.default,(0,d.attachToSprite)(this.stage),this.stage._ontap=function(t){return u.post("tap",t)},this.stage._onclick=function(t){return u.post("click",t)},this.ticker=new D.default,this.ticker.add(this.tick.bind(this)),(0,m.default)(),this._init=!0;case 22:case"end":return t.stop()}},t,this)}));return t}()},{key:"getRenderer",value:function(){return this._init?this.renderer:(w.error("Renderer hasn't been initialed."),null)}},{key:"getStage",value:function(){return this._init?this.stage:(w.error("Stage hasn't been initialed."),null)}},{key:"getAssetsPath",value:function(){return this.assetsPath}},{key:"getTexture",value:function(t){return(0,A.getTexture)(t)}},{key:"getLogger",value:function(t){return _.default.create(t)}},{key:"loadAssets",value:function(t,e){return(0,A.load)(t,e)}},{key:"render",value:function(){function t(t,n){return e.apply(this,arguments)}var e=i(regeneratorRuntime.mark(function t(e,n){var r=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this._init){t.next=2;break}throw Error("not initialed");case 2:return t.abrupt("return",new Promise(function(t){(0,f.render)(e,n,t)}).then(function(){i&&n.appendChild(r.renderer.view)}));case 3:case"end":return t.stop()}},t,this)}));return t}()},{key:"getTicker",value:function(){return this.ticker}},{key:"tick",value:function(t){this._tickTime+=t,this._init&&this._tickTime>.98&&(this.renderer.render(this.stage),this._tickTime=0,window.stats&&window.stats.update())}},{key:"start",value:function(){this.ticker.start()}},{key:"stop",value:function(){this.ticker.stop()}}]),t}(),S=new F;e.default=S},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,s=r(t),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)o.call(n,l)&&(s[l]=n[l]);if(i){a=i(n);for(var f=0;f<a.length;f++)u.call(n,a[f])&&(s[a[f]]=n[a[f]])}}return s}},function(t,e,n){t.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(2),i=n(183),o=n(42),u=Object.defineProperty;e.f=n(13)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(41),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";function r(t,e){return 1===t.nodeType&&t.getAttribute(d)===String(e)||8===t.nodeType&&t.nodeValue===" react-text: "+e+" "||8===t.nodeType&&t.nodeValue===" react-empty: "+e+" "}function i(t){for(var e;e=t._renderedComponent;)t=e;return t}function o(t,e){var n=i(t);n._hostNode=e,e[m]=n}function u(t){var e=t._hostNode;e&&(delete e[m],t._hostNode=null)}function a(t,e){if(!(t._flags&v.hasCachedChildNodes)){var n=t._renderedChildren,u=e.firstChild;t:for(var a in n)if(n.hasOwnProperty(a)){var s=n[a],c=i(s)._domID;if(0!==c){for(;null!==u;u=u.nextSibling)if(r(u,c)){o(s,u);continue t}f("32",c)}}t._flags|=v.hasCachedChildNodes}}function s(t){if(t[m])return t[m];for(var e=[];!t[m];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[m]);t=e.pop())n=r,e.length&&a(r,t);return n}function c(t){var e=s(t);return null!=e&&e._hostNode===t?e:null}function l(t){if(void 0===t._hostNode&&f("33"),t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent||f("34"),t=t._hostParent;for(;e.length;t=e.pop())a(t,t._hostNode);return t._hostNode}var f=n(6),p=n(71),h=n(222),d=(n(1),p.ID_ATTRIBUTE_NAME),v=h,m="__reactInternalInstance$"+Math.random().toString(36).slice(2),y={getClosestInstanceFromNode:s,getInstanceFromNode:c,getNodeFromInstance:l,precacheChildNodes:a,precacheNode:o,uncacheNode:u};t.exports=y},function(t,e,n){var r=n(39);t.exports=function(t){return Object(r(t))}},function(e,n){e.exports=t},function(t,e,n){"use strict";t.exports=n(74)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},function(t,e,n){var r=n(14),i=n(60);t.exports=n(13)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(3),i=n(22),o=n(26),u=n(64)("src"),a=Function.toString,s=(""+a).split("toString");n(34).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,u)||i(n,u,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(0),i=n(4),o=n(39),u=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(u,""")+'"'),a+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(229),i=Object.assign({},r.Mixin,{moveChild:function(t){var e=t._mountImage;this.node.addChild(e)},createChild:function(t,e,n){t._mountImage=n,this.node.addChild(n)},removeChild:function(t){this.node.removeChild(t._mountImage),t._mountImage.destroy(),t._mountImage=null},mountAndInjectChildren:function(t,e,n){var r=this.mountChildren(t,e,n),i=0;for(var o in this._renderedChildren)if(this._renderedChildren.hasOwnProperty(o)){var u=this._renderedChildren[o];u._mountImage=r[i],this.node.addChild(r[i]),i++}}});e.default=i},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(80),i=n(60),o=n(29),u=n(42),a=n(26),s=n(183),c=Object.getOwnPropertyDescriptor;e.f=n(13)?c:function(t,e){if(t=o(t),e=u(e,!0),s)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(26),i=n(17),o=n(132)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(79),i=n(39);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";function r(){S.ReactReconcileTransaction&&x||l("123")}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=S.ReactReconcileTransaction.getPooled(!0)}function o(t,e,n,i,o,u){return r(),x.batchedUpdates(t,e,n,i,o,u)}function u(t,e){return t._mountOrder-e._mountOrder}function a(t){var e=t.dirtyComponentsLength;e!==g.length&&l("124",e,g.length),g.sort(u),b++;for(var n=0;n<e;n++){var r=g[n],i=r._pendingCallbacks;r._pendingCallbacks=null;var o;if(d.logTopLevelRenders){var a=r;r._currentElement.type.isReactTopLevelWrapper&&(a=r._renderedComponent),o="React update: "+a.getName(),console.time(o)}if(v.performUpdateIfNecessary(r,t.reconcileTransaction,b),o&&console.timeEnd(o),i)for(var s=0;s<i.length;s++)t.callbackQueue.enqueue(i[s],r.getPublicInstance())}}function s(t){if(r(),!x.isBatchingUpdates)return void x.batchedUpdates(s,t);g.push(t),null==t._updateBatchNumber&&(t._updateBatchNumber=b+1)}function c(t,e){y(x.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."),_.enqueue(t,e),A=!0}var l=n(6),f=n(12),p=n(220),h=n(65),d=n(225),v=n(73),m=n(109),y=n(1),g=[],b=0,_=p.getPooled(),A=!1,x=null,D={initialize:function(){this.dirtyComponentsLength=g.length},close:function(){this.dirtyComponentsLength!==g.length?(g.splice(0,this.dirtyComponentsLength),w()):g.length=0}},E={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},C=[D,E];f(i.prototype,m,{getTransactionWrappers:function(){return C},destructor:function(){this.dirtyComponentsLength=null,p.release(this.callbackQueue),this.callbackQueue=null,S.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return m.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),h.addPoolingTo(i);var w=function(){for(;g.length||A;){if(g.length){var t=i.getPooled();t.perform(a,null,t),i.release(t)}if(A){A=!1;var e=_;_=p.getPooled(),e.notifyAll(),p.release(e)}}},F={injectReconcileTransaction:function(t){t||l("126"),S.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t||l("127"),"function"!=typeof t.batchedUpdates&&l("128"),"boolean"!=typeof t.isBatchingUpdates&&l("129"),x=t}},S={ReactReconcileTransaction:null,batchedUpdates:o,enqueueUpdate:s,flushBatchedUpdates:w,injection:F,asap:c};t.exports=S},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(30),o=r(i),u=n(102),a=r(u),s=n(171),c=n(11),l=r(c),f=l.default.getLogger("NodeMixin"),p={_hostNode:{},construct:function(t){this._currentElement=t,this.createNode(t),this.node||f.error("`this.node` is null, you should init it at `this.createNode`"),(0,s.attachToSprite)(this.node),this.node.buttonMode=this.node.buttonMode||!1;var e=Object.keys(t.props),n=!0,r=!1,i=void 0;try{for(var o,u=e[Symbol.iterator]();!(n=(o=u.next()).done);n=!0){var a=o.value;/^on[A-Z]/.test(a)&&("onClick"===a&&!1!==t.props.buttonMode&&(this.node.buttonMode=!0),this.node["_on"+a.replace(/^on/,"").toLowerCase()]=t.props[a])}}catch(t){r=!0,i=t}finally{try{!n&&u.return&&u.return()}finally{if(r)throw i}}},getPublicInstance:function(){return this.node},mountComponentIntoNode:function(){throw new Error("You cannot render a Canvas component standalone. You need to wrap it in a Surface.")},getHostNode:function(){return this},mountComponent:function(t,e,n,r){var i=this._currentElement.props,u=this.mountNode(i),a=o.default.ReactReconcileTransaction.getPooled();return a.perform(this.mountAndInjectChildren,this,i.children,a,r),o.default.ReactReconcileTransaction.release(a),u},receiveComponent:function(t,e,n){var r=this._currentElement.props,i=t.props;if(!(0,a.default)(r,i)){this.updateNode(r,i);var u=Object.keys(r),s=!0,c=!1,l=void 0;try{for(var f,p=u[Symbol.iterator]();!(s=(f=p.next()).done);s=!0){var h=f.value;/^on[A-Z]/.test(h)&&delete this.node["_on"+h.replace(/^on/,"").toLowerCase()]}}catch(t){c=!0,l=t}finally{try{!s&&p.return&&p.return()}finally{if(c)throw l}}this.node.buttonMode=this.node.buttonMode||!1;var d=Object.keys(i),v=!0,m=!1,y=void 0;try{for(var g,b=d[Symbol.iterator]();!(v=(g=b.next()).done);v=!0){var _=g.value;/^on[A-Z]/.test(_)&&("onClick"===_&&!1!==i.buttonMode&&(this.node.buttonMode=!0),this.node["_on"+_.replace(/^on/,"").toLowerCase()]=i[_])}}catch(t){m=!0,y=t}finally{try{!v&&b.return&&b.return()}finally{if(m)throw y}}var A=o.default.ReactReconcileTransaction.getPooled();A.perform(this.updateChildren,this,i.children,A,n),o.default.ReactReconcileTransaction.release(A),this._currentElement=t}},unmountComponent:function(){this.unmountNode(),this.unmountChildren(),this.node.removeChildren()},unmountNode:function(){}};e.default=p},function(t,e,n){"use strict";function r(t){function e(t){this.node=null,this._renderedChildren=null,this._mostRecentlyPlacedChild=null,this.construct(t)}e.displayName=t;for(var n=1,r=arguments.length;n<r;n++)Object.assign(e.prototype,arguments[n]);return e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";var r=null;t.exports={debugTool:r}},function(t,e,n){var r=n(35),i=n(79),o=n(17),u=n(15),a=n(117);t.exports=function(t,e){var n=1==t,s=2==t,c=3==t,l=4==t,f=6==t,p=5==t||f,h=e||a;return function(e,a,d){for(var v,m,y=o(e),g=i(y),b=r(a,d,3),_=u(g.length),A=0,x=n?h(e,_):s?h(e,0):void 0;_>A;A++)if((p||A in g)&&(v=g[A],m=b(v,A,y),t))if(n)x[A]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return A;case 2:x.push(v)}else if(l)return!1;return f?-1:c||l?l:x}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),i=n(34),o=n(4);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",u)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){t.exports=n(595)()},function(t,e,n){var r=n(204),i=n(0),o=n(98)("metadata"),u=o.store||(o.store=new(n(207))),a=function(t,e,n){var i=u.get(t);if(!i){if(!n)return;u.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},s=function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},c=function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},l=function(t,e,n,r){a(n,r,!0).set(t,e)},f=function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},p=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},h=function(t){i(i.S,"Reflect",t)};t.exports={store:u,map:a,has:s,get:c,set:l,keys:f,key:p,exp:h}},function(t,e,n){"use strict";if(n(13)){var r=n(51),i=n(3),o=n(4),u=n(0),a=n(100),s=n(138),c=n(35),l=n(55),f=n(60),p=n(22),h=n(61),d=n(41),v=n(15),m=n(202),y=n(63),g=n(42),b=n(26),_=n(78),A=n(5),x=n(17),D=n(124),E=n(57),C=n(28),w=n(58).f,F=n(140),S=n(64),k=n(9),O=n(38),P=n(87),T=n(99),I=n(141),B=n(66),M=n(93),R=n(62),N=n(116),L=n(175),j=n(14),U=n(27),W=j.f,V=U.f,H=i.RangeError,G=i.TypeError,z=i.Uint8Array,q=Array.prototype,Y=s.ArrayBuffer,X=s.DataView,K=O(0),$=O(2),J=O(3),Q=O(4),Z=O(5),tt=O(6),et=P(!0),nt=P(!1),rt=I.values,it=I.keys,ot=I.entries,ut=q.lastIndexOf,at=q.reduce,st=q.reduceRight,ct=q.join,lt=q.sort,ft=q.slice,pt=q.toString,ht=q.toLocaleString,dt=k("iterator"),vt=k("toStringTag"),mt=S("typed_constructor"),yt=S("def_constructor"),gt=a.CONSTR,bt=a.TYPED,_t=a.VIEW,At=O(1,function(t,e){return wt(T(t,t[yt]),e)}),xt=o(function(){return 1===new z(new Uint16Array([1]).buffer)[0]}),Dt=!!z&&!!z.prototype.set&&o(function(){new z(1).set({})}),Et=function(t,e){var n=d(t);if(n<0||n%e)throw H("Wrong offset!");return n},Ct=function(t){if(A(t)&&bt in t)return t;throw G(t+" is not a typed array!")},wt=function(t,e){if(!(A(t)&&mt in t))throw G("It is not a typed array constructor!");return new t(e)},Ft=function(t,e){return St(T(t,t[yt]),e)},St=function(t,e){for(var n=0,r=e.length,i=wt(t,r);r>n;)i[n]=e[n++];return i},kt=function(t,e,n){W(t,e,{get:function(){return this._d[n]}})},Ot=function(t){var e,n,r,i,o,u,a=x(t),s=arguments.length,l=s>1?arguments[1]:void 0,f=void 0!==l,p=F(a);if(void 0!=p&&!D(p)){for(u=p.call(a),r=[],e=0;!(o=u.next()).done;e++)r.push(o.value);a=r}for(f&&s>2&&(l=c(l,arguments[2],2)),e=0,n=v(a.length),i=wt(this,n);n>e;e++)i[e]=f?l(a[e],e):a[e];return i},Pt=function(){for(var t=0,e=arguments.length,n=wt(this,e);e>t;)n[t]=arguments[t++];return n},Tt=!!z&&o(function(){ht.call(new z(1))}),It=function(){return ht.apply(Tt?ft.call(Ct(this)):Ct(this),arguments)},Bt={copyWithin:function(t,e){return L.call(Ct(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(Ct(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(Ct(this),arguments)},filter:function(t){return Ft(this,$(Ct(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(Ct(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(Ct(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Ct(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Ct(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(Ct(this),arguments)},lastIndexOf:function(t){return ut.apply(Ct(this),arguments)},map:function(t){return At(Ct(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(Ct(this),arguments)},reduceRight:function(t){return st.apply(Ct(this),arguments)},reverse:function(){for(var t,e=this,n=Ct(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return J(Ct(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(Ct(this),t)},subarray:function(t,e){var n=Ct(this),r=n.length,i=y(t,r);return new(T(n,n[yt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:y(e,r))-i))}},Mt=function(t,e){return Ft(this,ft.call(Ct(this),t,e))},Rt=function(t){Ct(this);var e=Et(arguments[1],1),n=this.length,r=x(t),i=v(r.length),o=0;if(i+e>n)throw H("Wrong length!");for(;o<i;)this[e+o]=r[o++]},Nt={entries:function(){return ot.call(Ct(this))},keys:function(){return it.call(Ct(this))},values:function(){return rt.call(Ct(this))}},Lt=function(t,e){return A(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},jt=function(t,e){return Lt(t,e=g(e,!0))?f(2,t[e]):V(t,e)},Ut=function(t,e,n){return!(Lt(t,e=g(e,!0))&&A(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?W(t,e,n):(t[e]=n.value,t)};gt||(U.f=jt,j.f=Ut),u(u.S+u.F*!gt,"Object",{getOwnPropertyDescriptor:jt,defineProperty:Ut}),o(function(){pt.call({})})&&(pt=ht=function(){return ct.call(this)});var Wt=h({},Bt);h(Wt,Nt),p(Wt,dt,Nt.values),h(Wt,{slice:Mt,set:Rt,constructor:function(){},toString:pt,toLocaleString:It}),kt(Wt,"buffer","b"),kt(Wt,"byteOffset","o"),kt(Wt,"byteLength","l"),kt(Wt,"length","e"),W(Wt,vt,{get:function(){return this[bt]}}),t.exports=function(t,e,n,s){s=!!s;var c=t+(s?"Clamped":"")+"Array",f="get"+t,h="set"+t,d=i[c],y=d||{},g=d&&C(d),b=!d||!a.ABV,x={},D=d&&d.prototype,F=function(t,n){var r=t._d;return r.v[f](n*e+r.o,xt)},S=function(t,n,r){var i=t._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[h](n*e+i.o,r,xt)},k=function(t,e){W(t,e,{get:function(){return F(this,e)},set:function(t){return S(this,e,t)},enumerable:!0})};b?(d=n(function(t,n,r,i){l(t,d,c,"_d");var o,u,a,s,f=0,h=0;if(A(n)){if(!(n instanceof Y||"ArrayBuffer"==(s=_(n))||"SharedArrayBuffer"==s))return bt in n?St(d,n):Ot.call(d,n);o=n,h=Et(r,e);var y=n.byteLength;if(void 0===i){if(y%e)throw H("Wrong length!");if((u=y-h)<0)throw H("Wrong length!")}else if((u=v(i)*e)+h>y)throw H("Wrong length!");a=u/e}else a=m(n),u=a*e,o=new Y(u);for(p(t,"_d",{b:o,o:h,l:u,e:a,v:new X(o)});f<a;)k(t,f++)}),D=d.prototype=E(Wt),p(D,"constructor",d)):o(function(){d(1)})&&o(function(){new d(-1)})&&M(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=n(function(t,n,r,i){l(t,d,c);var o;return A(n)?n instanceof Y||"ArrayBuffer"==(o=_(n))||"SharedArrayBuffer"==o?void 0!==i?new y(n,Et(r,e),i):void 0!==r?new y(n,Et(r,e)):new y(n):bt in n?St(d,n):Ot.call(d,n):new y(m(n))}),K(g!==Function.prototype?w(y).concat(w(g)):w(y),function(t){t in d||p(d,t,y[t])}),d.prototype=D,r||(D.constructor=d));var O=D[dt],P=!!O&&("values"==O.name||void 0==O.name),T=Nt.values;p(d,mt,!0),p(D,bt,c),p(D,_t,!0),p(D,yt,d),(s?new d(1)[vt]==c:vt in D)||W(D,vt,{get:function(){return c}}),x[c]=d,u(u.G+u.W+u.F*(d!=y),x),u(u.S,c,{BYTES_PER_ELEMENT:e}),u(u.S+u.F*o(function(){y.of.call(d,1)}),c,{from:Ot,of:Pt}),"BYTES_PER_ELEMENT"in D||p(D,"BYTES_PER_ELEMENT",e),u(u.P,c,Bt),R(c),u(u.P+u.F*Dt,c,{set:Rt}),u(u.P+u.F*!P,c,Nt),r||D.toString==pt||(D.toString=pt),u(u.P+u.F*o(function(){new d(1).slice()}),c,{slice:Mt}),u(u.P+u.F*(o(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!o(function(){D.toLocaleString.call([1,2])})),c,{toLocaleString:It}),B[c]=P?O:T,r||P||p(D,dt,T)}}else t.exports=function(){}},function(t,e,n){"use strict";function r(t,e){var n;return e?(n=new Error(e.getLineAndColumnMessage()+t),n.shortMessage=t,n.interval=e):n=new Error(t),n}function i(){return r("Interval sources don't match")}function o(t){var e=new Error;return Object.defineProperty(e,"message",{get:function(){return t.message}}),Object.defineProperty(e,"shortMessage",{get:function(){return"Expected "+t.getExpectedText()}}),e.interval=t.getInterval(),e}function u(t,e,n){return r(e?"Grammar "+t+" is not declared in namespace "+D.toString(e):"Undeclared grammar "+t,n)}function a(t,e){return r("Grammar "+t.name+" is already declared in this namespace")}function s(t,e,n){return r("Rule "+t+" is not declared in grammar "+e,n)}function c(t,e,n){return r("Cannot override rule "+t+" because it is not declared in "+e,n)}function l(t,e,n){return r("Cannot extend rule "+t+" because it is not declared in "+e,n)}function f(t,e,n,i){var o="Duplicate declaration for rule '"+t+"' in grammar '"+e+"'";return e!==n&&(o+=" (originally declared in '"+n+"')"),r(o,i)}function p(t,e,n,i){return r("Wrong number of parameters for rule "+t+" (expected "+e+", got "+n+")",i)}function h(t,e,n,i){return r("Wrong number of arguments for rule "+t+" (expected "+e+", got "+n+")",i.source)}function d(t,e,n){return r("Duplicate parameter names in rule "+t+": "+e.join(", "),n)}function v(t,e){return r("Invalid parameter to rule "+t+": "+e+" has arity "+e.getArity()+", but parameter expressions must have arity 1",e.source)}function m(t,e){return r("Cannot apply syntactic rule "+t+" from here (inside a lexical context)",e.source)}function y(t){return r("Nullable expression "+t.expr.source.contents+" is not allowed inside '"+t.operator+"' (possible infinite loop)",t.expr.source)}function g(t,e,n,i){return r("Rule "+t+" involves an alternation which has inconsistent arity (expected "+e+", got "+n+")",i.source)}function b(t){return r("Object pattern has duplicate property names: "+t.join(", "))}function _(t,e,n){return r("Attempt to invoke constructor "+e+" with invalid or unexpected arguments")}function A(t){return r(["Errors:"].concat(t.map(function(t){return t.message})).join("\n- "),t[0].interval)}function x(t,e,n){var i=r("Missing semantic action for "+t+" in "+e+" "+n);return i.name="missingSemanticAction",i}var D=n(214);t.exports={applicationOfSyntacticRuleFromLexicalContext:m,cannotExtendUndeclaredRule:l,cannotOverrideUndeclaredRule:c,duplicateGrammarDeclaration:a,duplicateParameterNames:d,duplicatePropertyNames:b,duplicateRuleDeclaration:f,inconsistentArity:g,intervalSourcesDontMatch:i,invalidConstructorCall:_,invalidParameter:v,grammarSyntaxError:o,kleeneExprHasNullableOperand:y,missingSemanticAction:x,undeclaredGrammar:u,undeclaredRule:s,wrongNumberOfArguments:h,wrongNumberOfParameters:p,throwErrors:function(t){if(1===t.length)throw t[0];if(t.length>1)throw A(t)}}},function(t,e,n){"use strict";function r(t,e,n,r){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n;var i=this.constructor.Interface;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];a?this[o]=a(n):"target"===o?this.target=r:this[o]=n[o]}var s=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=s?u.thatReturnsTrue:u.thatReturnsFalse,this.isPropagationStopped=u.thatReturnsFalse,this}var i=n(12),o=n(65),u=n(43),a=(n(7),["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),s={type:null,target:null,currentTarget:u.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};i(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=u.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=u.thatReturnsTrue)},persist:function(){this.isPersistent=u.thatReturnsTrue},isPersistent:u.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null;for(var n=0;n<a.length;n++)this[a[n]]=null}}),r.Interface=s,r.augmentClass=function(t,e){var n=this,r=function(){};r.prototype=n.prototype;var u=new r;i(u,t.prototype),t.prototype=u,t.prototype.constructor=t,t.Interface=i({},n.Interface,e),t.augmentClass=n.augmentClass,o.addPoolingTo(t,o.fourArgumentPooler)},o.addPoolingTo(r,o.fourArgumentPooler),t.exports=r},function(t,e,n){"use strict";var r={current:null};t.exports=r},function(t,e,n){var r=n(9)("unscopables"),i=Array.prototype;void 0==i[r]&&n(22)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e){t.exports=!1},function(t,e,n){var r=n(64)("meta"),i=n(5),o=n(26),u=n(14).f,a=0,s=Object.isExtensible||function(){return!0},c=!n(4)(function(){return s(Object.preventExtensions({}))}),l=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!e)return"E";l(t)}return t[r].i},p=function(t,e){if(!o(t,r)){if(!s(t))return!0;if(!e)return!1;l(t)}return t[r].w},h=function(t){return c&&d.NEED&&s(t)&&!o(t,r)&&l(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(44),i=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={alpha:i.default.number,visible:i.default.bool,cacheAsBitmap:i.default.bool,x:i.default.number,y:i.default.number,position:i.default.arrayOf(i.default.number),width:i.default.number,height:i.default.number,pivot:i.default.arrayOf(i.default.number),anchor:i.default.arrayOf(i.default.number),rotation:i.default.number,scale:i.default.arrayOf(i.default.number),skew:i.default.arrayOf(i.default.number),tint:i.default.oneOf([i.default.number,i.default.string]),children:i.default.any}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){return t instanceof Array?2===t.length?new h.Point(t[0],t[1]):4===t.length?new h.Rectangle(t[0],t[1],t[2],t[3]):9===t.length?h.Matrix.fromArray(t):(d.warn("Unrecognized array: "+t),t):t}function o(t,e,n){var r=this;void 0===e?void 0===n||(r[t]=n):"src"===t?r.src=p.default.getTexture(e):r[t]=i(e)}function u(t,e,n){(0,l.default)(e,n)||o.call(this,t,n)}function a(t,e){var n=o.bind(t);n("src",e.src),n("alpha",e.alpha),n("visible",e.visible),n("cacheAsBitmap",e.cacheAsBitmap),n("buttonMode",e.buttonMode),n("x",e.x),n("y",e.y),n("position",e.position),n("width",e.width),n("height",e.height),n("pivot",e.pivot),n("anchor",e.anchor),n("rotation",e.rotation),n("scale",e.scale),n("skew",e.skew),n("tint",e.tint)}function s(t,e,n){var r=u.bind(t);r("src",e.src,n.src),r("alpha",e.alpha,n.alpha),r("visible",e.visible,n.visible),r("cacheAsBitmap",e.cacheAsBitmap,n.cacheAsBitmap),r("buttonMode",e.buttonMode,n.buttonMode),r("x",e.x,n.x),r("y",e.y,n.y),r("position",e.position,n.position),r("width",e.width,n.width),r("height",e.height,n.height),r("pivot",e.pivot,n.pivot),r("anchor",e.anchor,n.anchor),r("rotation",e.rotation,n.rotation),r("scale",e.scale,n.scale),r("skew",e.skew,n.skew),r("tint",e.tint,n.tint)}Object.defineProperty(e,"__esModule",{value:!0}),e.setValue=o,e.updateValue=u,e.mountNode=a,e.updateNode=s;var c=n(102),l=r(c),f=n(11),p=r(f),h=n(18),d=p.default.getLogger("MountNode")},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(35),i=n(186),o=n(124),u=n(2),a=n(15),s=n(140),c={},l={},e=t.exports=function(t,e,n,f,p){var h,d,v,m,y=p?function(){return t}:s(t),g=r(n,f,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(h=a(t.length);h>b;b++)if((m=e?g(u(d=t[b])[0],d[1]):g(t[b]))===c||m===l)return m}else for(v=y.call(t);!(d=v.next()).done;)if((m=i(v,g,d.value,e))===c||m===l)return m};e.BREAK=c,e.RETURN=l},function(t,e,n){var r=n(2),i=n(192),o=n(120),u=n(132)("IE_PROTO"),a=function(){},s=function(){var t,e=n(119)("iframe"),r=o.length;for(e.style.display="none",n(122).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=s(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(194),i=n(120).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(194),i=n(120);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(23);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(3),i=n(14),o=n(13),u=n(9)("species");t.exports=function(t){var e=r[t];o&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(41),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(6),i=(n(1),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),o=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},u=function(t,e,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,t,e,n),i}return new r(t,e,n)},a=function(t,e,n,r){var i=this;if(i.instancePool.length){var o=i.instancePool.pop();return i.call(o,t,e,n,r),o}return new i(t,e,n,r)},s=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=i,l=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||c,n.poolSize||(n.poolSize=10),n.release=s,n},f={addPoolingTo:l,oneArgumentPooler:i,twoArgumentPooler:o,threeArgumentPooler:u,fourArgumentPooler:a};t.exports=f},function(t,e){t.exports={}},function(t,e,n){var r=n(14).f,i=n(26),o=n(9)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),i=n(39),o=n(4),u=n(136),a="["+u+"]",s="
",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(t,e,n){var i={},a=o(function(){return!!u[t]()||s[t]()!=s}),c=i[t]=a?e(p):u[t];n&&(i[n]=c),r(r.P+r.F*a,"String",i)},p=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";function r(t){if(d){var e=t.node,n=t.children;if(n.length)for(var r=0;r<n.length;r++)v(e,n[r],null);else null!=t.html?f(e,t.html):null!=t.text&&h(e,t.text)}}function i(t,e){t.parentNode.replaceChild(e.node,t),r(e)}function o(t,e){d?t.children.push(e):t.node.appendChild(e.node)}function u(t,e){d?t.html=e:f(t.node,e)}function a(t,e){d?t.text=e:h(t.node,e)}function s(){return this.node.nodeName}function c(t){return{node:t,children:[],html:null,text:null,toString:s}}var l=n(152),f=n(111),p=n(160),h=n(239),d="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),v=p(function(t,e,n){11===e.node.nodeType||1===e.node.nodeType&&"object"===e.node.nodeName.toLowerCase()&&(null==e.node.namespaceURI||e.node.namespaceURI===l.html)?(r(e),t.insertBefore(e.node,n)):(t.insertBefore(e.node,n),r(e))});c.insertTreeBefore=v,c.replaceChildWithTree=i,c.queueChild=o,c.queueHTML=u,c.queueText=a,t.exports=c},function(t,e,n){"use strict";function r(t,e){return(t&e)===e}var i=n(6),o=(n(1),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(t){var e=o,n=t.Properties||{},u=t.DOMAttributeNamespaces||{},s=t.DOMAttributeNames||{},c=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.isCustomAttribute&&a._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var f in n){a.properties.hasOwnProperty(f)&&i("48",f);var p=f.toLowerCase(),h=n[f],d={attributeName:p,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:r(h,e.MUST_USE_PROPERTY),hasBooleanValue:r(h,e.HAS_BOOLEAN_VALUE),hasNumericValue:r(h,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(h,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(h,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(d.hasBooleanValue+d.hasNumericValue+d.hasOverloadedBooleanValue<=1||i("50",f),s.hasOwnProperty(f)){var v=s[f];d.attributeName=v}u.hasOwnProperty(f)&&(d.attributeNamespace=u[f]),c.hasOwnProperty(f)&&(d.propertyName=c[f]),l.hasOwnProperty(f)&&(d.mutationMethod=l[f]),a.properties[f]=d}}}),u=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",a={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:u,ATTRIBUTE_NAME_CHAR:u+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0;e<a._isCustomAttributeFunctions.length;e++){if((0,a._isCustomAttributeFunctions[e])(t))return!0}return!1},injection:o};t.exports=a},function(t,e,n){"use strict";var r={remove:function(t){t._reactInternalInstance=void 0},get:function(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reactInternalInstance},set:function(t,e){t._reactInternalInstance=e}};t.exports=r},function(t,e,n){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=n(639),o=(n(37),n(7),{mountComponent:function(t,e,n,i,o,u){var a=t.mountComponent(e,n,i,o,u);return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(r,t),a},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){i.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,o){var u=t._currentElement;if(e!==u||o!==t._context){var a=i.shouldUpdateRefs(u,e);a&&i.detachRefs(t,u),t.receiveComponent(e,n,o),a&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(r,t)}},performUpdateIfNecessary:function(t,e,n){t._updateBatchNumber===n&&t.performUpdateIfNecessary(e)}});t.exports=o},function(t,e,n){"use strict";var r=n(12),i=n(241),o=n(668),u=n(669),a=n(75),s=n(670),c=n(671),l=n(672),f=n(676),p=a.createElement,h=a.createFactory,d=a.cloneElement,v=r,m=function(t){return t},y={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:i.Component,PureComponent:i.PureComponent,createElement:p,cloneElement:d,isValidElement:a.isValidElement,PropTypes:s,createClass:l,createFactory:h,createMixin:m,DOM:u,version:c,__spread:v};t.exports=y},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function i(t){return void 0!==t.key}var o=n(12),u=n(49),a=(n(7),n(245),Object.prototype.hasOwnProperty),s=n(243),c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,i,o,u){var a={$$typeof:s,type:t,key:e,ref:n,props:u,_owner:o};return a};l.createElement=function(t,e,n){var o,s={},f=null,p=null;if(null!=e){r(e)&&(p=e.ref),i(e)&&(f=""+e.key),void 0===e.__self?null:e.__self,void 0===e.__source?null:e.__source;for(o in e)a.call(e,o)&&!c.hasOwnProperty(o)&&(s[o]=e[o])}var h=arguments.length-2;if(1===h)s.children=n;else if(h>1){for(var d=Array(h),v=0;v<h;v++)d[v]=arguments[v+2];s.children=d}if(t&&t.defaultProps){var m=t.defaultProps;for(o in m)void 0===s[o]&&(s[o]=m[o])}return l(t,f,p,0,0,u.current,s)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){return l(t.type,e,t.ref,t._self,t._source,t._owner,t.props)},l.cloneElement=function(t,e,n){var s,f=o({},t.props),p=t.key,h=t.ref,d=(t._self,t._source,t._owner);if(null!=e){r(e)&&(h=e.ref,d=u.current),i(e)&&(p=""+e.key);var v;t.type&&t.type.defaultProps&&(v=t.type.defaultProps);for(s in e)a.call(e,s)&&!c.hasOwnProperty(s)&&(void 0===e[s]&&void 0!==v?f[s]=v[s]:f[s]=e[s])}var m=arguments.length-2;if(1===m)f.children=n;else if(m>1){for(var y=Array(m),g=0;g<m;g++)y[g]=arguments[g+2];f.children=y}return l(t.type,p,h,0,0,d,f)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===s},t.exports=l},function(t,e,n){"use strict";(function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(){function e(i){r(this,e),this.name=i,this.isProduction=t&&n.i({NODE_ENV:"production"})&&!0}return i(e,[{key:"fatal",value:function(){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).error.apply(t,["["+this.name+"]"].concat(n))}},{key:"error",value:function(){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).error.apply(t,["["+this.name+"]"].concat(n))}},{key:"warn",value:function(){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).warn.apply(t,["["+this.name+"]"].concat(n))}},{key:"info",value:function(){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).log.apply(t,["["+this.name+"]"].concat(n))}},{key:"debug",value:function(){if(!this.isProduction){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).debug.apply(t,["["+this.name+"]"].concat(n))}}},{key:"trace",value:function(){if(!this.isProduction){for(var t,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];(t=console).trace.apply(t,["["+this.name+"]"].concat(n))}}}],[{key:"create",value:function(t){return new e(t)}}]),e}();e.default=o}).call(e,n(150))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a functi