avg-core-ts
Version:
Develop Adventure Game (or ADV, Visual Novel, Galgame, etc.) on your own!
6 lines • 829 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 o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.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=747)}([function(t,e,n){var r=n(3),o=n(34),i=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,y=t&s.P,m=t&s.B,g=d?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[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=m&&l?a(f,r):y&&"function"==typeof f?a(Function.call,f):f,g&&u(g,c,f,t&s.U),b[c]!=f&&i(b,c,p),y&&_[c]!=f&&(_[c]=f)};r.core=o,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){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";function r(t,e,n,r,i,u,a,s){if(o(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,i,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 o=function(t){};t.exports=r},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 o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=r},function(t,e,n){"use strict";var r=n(43),o=r;t.exports=o},function(t,e,n){"use strict";for(var r=n(181),o={},i=0;i<128;i++)o[i]=String.fromCharCode(i);o["'".charCodeAt(0)]="\\'",o['"'.charCodeAt(0)]='\\"',o["\\".charCodeAt(0)]="\\\\",o["\b".charCodeAt(0)]="\\b",o["\f".charCodeAt(0)]="\\f",o["\n".charCodeAt(0)]="\\n",o["\r".charCodeAt(0)]="\\r",o["\t".charCodeAt(0)]="\\t",o["\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 o=r||" ";return t.length<n?e.repeatStr(o,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?o[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(86)("wks"),o=n(66),i=n(3).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(37),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";function r(){throw new Error("PExpr cannot be instantiated -- it's abstract")}function o(t){this.obj=t}function i(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 y(t){this.expr=t}function m(t){this.expr=t}function g(t){this.expr=t}function b(t,e){var n=t.map(function(t){return t.name}),r=E.getDuplicates(n);if(r.length>0)throw D.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(646),E=n(8),D=n(47),w=n(114);r.prototype.withSource=function(t){return t&&(this.source=t.trimmed()),this};var C=Object.create(r.prototype),S=Object.create(r.prototype);w(o,r),w(i,r),w(u,r),w(a,r),w(s,a),w(c,r),w(l,r),w(f,l),w(p,l),w(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,w(d,r),w(v,r),w(y,r),w(m,r),w(g,r),w(b,r),w(_,r),_.prototype.isSyntactic=function(){return E.isSyntactic(this.ruleName)},_.prototype.toMemoKey=function(){return this._memoKey||Object.defineProperty(this,"_memoKey",{value:this.toString()}),this._memoKey},w(A,r),e.PExpr=r,e.any=C,e.end=S,e.Terminal=o,e.Range=i,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=y,e.Arr=m,e.Str=g,e.Obj=b,e.Apply=_,e.UnicodeChar=A,n(630),n(631),n(632),n(633),n(634),n(635),n(637),n(636),n(640),n(638),n(639),n(641),n(643),n(642),n(644),n(645)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){function r(o,i){try{var u=e[o](i),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 i(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(297),s=r(a),c=n(580),l=r(c),f=n(657),p=n(299),h=r(p),d=n(186),v=n(326),y=r(v),m=n(325),g=r(m),b=n(81),_=r(b),A=n(314),x=n(315),E=r(x),D=n(18),w=n(593),C=_.default.create("Core"),S=function(){function t(){i(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):C.warn("Do not find the given middleware in "+t+".")}else C.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=o(regeneratorRuntime.mark(function t(e,n){var r,o,i,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 o=new l.default(r.fontFamily),t.next=7,o.load();case 7:r.renderer?this.renderer=r.renderer:(w.any?(D.settings.RESOLUTION=1,D.settings.TARGET_FPMS=.03):D.settings.RESOLUTION=window.devicePixelRatio||1,this.renderer=new D.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)),i=r.assetsPath,i.endsWith("/")||(i+="/"),this.assetsPath=i,(0,A.init)(i,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 E.default,this.ticker.add(this.tick.bind(this)),(0,y.default)(),this._init=!0;case 22:case"end":return t.stop()}},t,this)}));return t}()},{key:"getRenderer",value:function(){return this._init?this.renderer:(C.error("Renderer hasn't been initialed."),null)}},{key:"getStage",value:function(){return this._init?this.stage:(C.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=o(regeneratorRuntime.mark(function t(e,n){var r=this,o=!(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(){o&&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}(),F=new S;e.default=F},function(t,e,n){t.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},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 o=Object.getOwnPropertySymbols,i=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)i.call(n,l)&&(s[l]=n[l]);if(o){a=o(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){var r=n(1),o=n(198),i=n(42),u=Object.defineProperty;e.f=n(13)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)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){"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 o(t){for(var e;e=t._renderedComponent;)t=e;return t}function i(t,e){var n=o(t);n._hostNode=e,e[y]=n}function u(t){var e=t._hostNode;e&&(delete e[y],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=o(s)._domID;if(0!==c){for(;null!==u;u=u.nextSibling)if(r(u,c)){i(s,u);continue t}f("32",c)}}t._flags|=v.hasCachedChildNodes}}function s(t){if(t[y])return t[y];for(var e=[];!t[y];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[y]);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(76),h=n(255),d=(n(2),p.ID_ATTRIBUTE_NAME),v=h,y="__reactInternalInstance$"+Math.random().toString(36).slice(2),m={getClosestInstanceFromNode:s,getInstanceFromNode:c,getNodeFromInstance:l,precacheChildNodes:a,precacheNode:i,uncacheNode:u};t.exports=m},function(t,e,n){var r=n(40);t.exports=function(t){return Object(r(t))}},function(e,n){e.exports=t},function(t,e,n){"use strict";t.exports=n(79)},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),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=o},function(t,e,n){var r=n(15),o=n(62);t.exports=n(13)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(3),o=n(22),i=n(26),u=n(66)("src"),a=n(347),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&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,u)||o(n,u,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(0),o=n(4),i=n(40),u=/"/g,a=function(t,e,n,r){var o=String(i(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(u,""")+'"'),a+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*o(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(262),o=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),o=0;for(var i in this._renderedChildren)if(this._renderedChildren.hasOwnProperty(i)){var u=this._renderedChildren[i];u._mountImage=r[o],this.node.addChild(r[o]),o++}}});e.default=o},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(85),o=n(62),i=n(29),u=n(42),a=n(26),s=n(198),c=Object.getOwnPropertyDescriptor;e.f=n(13)?c:function(t,e){if(t=i(t),e=u(e,!0),s)try{return c(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(26),o=n(17),i=n(144)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(84),o=n(40);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";function r(){F.ReactReconcileTransaction&&x||l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=F.ReactReconcileTransaction.getPooled(!0)}function i(t,e,n,o,i,u){return r(),x.batchedUpdates(t,e,n,o,i,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],o=r._pendingCallbacks;r._pendingCallbacks=null;var i;if(d.logTopLevelRenders){var a=r;r._currentElement.type.isReactTopLevelWrapper&&(a=r._renderedComponent),i="React update: "+a.getName(),console.time(i)}if(v.performUpdateIfNecessary(r,t.reconcileTransaction,b),i&&console.timeEnd(i),o)for(var s=0;s<o.length;s++)t.callbackQueue.enqueue(o[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){m(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(14),p=n(253),h=n(70),d=n(258),v=n(78),y=n(120),m=n(2),g=[],b=0,_=p.getPooled(),A=!1,x=null,E={initialize:function(){this.dirtyComponentsLength=g.length},close:function(){this.dirtyComponentsLength!==g.length?(g.splice(0,this.dirtyComponentsLength),C()):g.length=0}},D={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},w=[E,D];f(o.prototype,y,{getTransactionWrappers:function(){return w},destructor:function(){this.dirtyComponentsLength=null,p.release(this.callbackQueue),this.callbackQueue=null,F.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return y.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),h.addPoolingTo(o);var C=function(){for(;g.length||A;){if(g.length){var t=o.getPooled();t.perform(a,null,t),o.release(t)}if(A){A=!1;var e=_;_=p.getPooled(),e.notifyAll(),p.release(e)}}},S={injectReconcileTransaction:function(t){t||l("126"),F.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t||l("127"),"function"!=typeof t.batchedUpdates&&l("128"),"boolean"!=typeof t.isBatchingUpdates&&l("129"),x=t}},F={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:s,flushBatchedUpdates:C,injection:S,asap:c};t.exports=F},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(30),i=r(o),u=n(110),a=r(u),s=n(186),c=n(12),l=r(c),f=l.default.getLogger("NodeMixin"),p={_hostNode:{},construct:function(t){console.trace("test code 1.1"),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,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done);n=!0){var a=i.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,o=t}finally{try{!n&&u.return&&u.return()}finally{if(r)throw o}}},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 o=this._currentElement.props,u=this.mountNode(o),a=i.default.ReactReconcileTransaction.getPooled();return a.perform(this.mountAndInjectChildren,this,o.children,a,r),i.default.ReactReconcileTransaction.release(a),u},receiveComponent:function(t,e,n){var r=this._currentElement.props,o=t.props;if(!(0,a.default)(r,o)){this.updateNode(r,o);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(o),v=!0,y=!1,m=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!==o.buttonMode&&(this.node.buttonMode=!0),this.node["_on"+_.replace(/^on/,"").toLowerCase()]=o[_])}}catch(t){y=!0,m=t}finally{try{!v&&b.return&&b.return()}finally{if(y)throw m}}var A=i.default.ReactReconcileTransaction.getPooled();A.perform(this.updateChildren,this,o.children,A,n),i.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,console.trace("test code 1"),console.trace(t),this.construct(t),console.trace("test code 2")}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.6.11"};"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,o){return t.call(e,n,r,o)}}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){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){"use strict";var r=null;t.exports={debugTool:r}},function(t,e,n){var r=n(35),o=n(84),i=n(17),u=n(10),a=n(128);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,y,m=i(e),g=o(m),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],y=b(v,A,m),t))if(n)x[A]=y;else if(y)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),o=n(34),i=n(4);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){t.exports=n(649)()},function(t,e,n){var r=n(220),o=n(0),i=n(86)("metadata"),u=i.store||(i.store=new(n(224))),a=function(t,e,n){var o=u.get(t);if(!o){if(!n)return;u.set(t,o=new r)}var i=o.get(e);if(!i){if(!n)return;o.set(e,i=new r)}return i},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){o(o.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),o=n(3),i=n(4),u=n(0),a=n(107),s=n(149),c=n(35),l=n(57),f=n(62),p=n(22),h=n(63),d=n(37),v=n(10),y=n(218),m=n(65),g=n(42),b=n(26),_=n(71),A=n(5),x=n(17),E=n(135),D=n(59),w=n(28),C=n(60).f,S=n(151),F=n(66),P=n(9),k=n(39),O=n(95),I=n(87),T=n(152),B=n(72),M=n(100),R=n(64),N=n(127),j=n(190),L=n(15),U=n(27),W=L.f,V=U.f,G=o.RangeError,H=o.TypeError,z=o.Uint8Array,q=Array.prototype,Y=s.ArrayBuffer,X=s.DataView,K=k(0),$=k(2),J=k(3),Q=k(4),Z=k(5),tt=k(6),et=O(!0),nt=O(!1),rt=T.values,ot=T.keys,it=T.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=P("iterator"),vt=P("toStringTag"),yt=F("typed_constructor"),mt=F("def_constructor"),gt=a.CONSTR,bt=a.TYPED,_t=a.VIEW,At=k(1,function(t,e){return Ct(I(t,t[mt]),e)}),xt=i(function(){return 1===new z(new Uint16Array([1]).buffer)[0]}),Et=!!z&&!!z.prototype.set&&i(function(){new z(1).set({})}),Dt=function(t,e){var n=d(t);if(n<0||n%e)throw G("Wrong offset!");return n},wt=function(t){if(A(t)&&bt in t)return t;throw H(t+" is not a typed array!")},Ct=function(t,e){if(!(A(t)&&yt in t))throw H("It is not a typed array constructor!");return new t(e)},St=function(t,e){return Ft(I(t,t[mt]),e)},Ft=function(t,e){for(var n=0,r=e.length,o=Ct(t,r);r>n;)o[n]=e[n++];return o},Pt=function(t,e,n){W(t,e,{get:function(){return this._d[n]}})},kt=function(t){var e,n,r,o,i,u,a=x(t),s=arguments.length,l=s>1?arguments[1]:void 0,f=void 0!==l,p=S(a);if(void 0!=p&&!E(p)){for(u=p.call(a),r=[],e=0;!(i=u.next()).done;e++)r.push(i.value);a=r}for(f&&s>2&&(l=c(l,arguments[2],2)),e=0,n=v(a.length),o=Ct(this,n);n>e;e++)o[e]=f?l(a[e],e):a[e];return o},Ot=function(){for(var t=0,e=arguments.length,n=Ct(this,e);e>t;)n[t]=arguments[t++];return n},It=!!z&&i(function(){ht.call(new z(1))}),Tt=function(){return ht.apply(It?ft.call(wt(this)):wt(this),arguments)},Bt={copyWithin:function(t,e){return j.call(wt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(wt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(wt(this),arguments)},filter:function(t){return St(this,$(wt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(wt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(wt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(wt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(wt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(wt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(wt(this),arguments)},lastIndexOf:function(t){return ut.apply(wt(this),arguments)},map:function(t){return At(wt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(wt(this),arguments)},reduceRight:function(t){return st.apply(wt(this),arguments)},reverse:function(){for(var t,e=this,n=wt(e).length,r=Math.floor(n/2),o=0;o<r;)t=e[o],e[o++]=e[--n],e[n]=t;return e},some:function(t){return J(wt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(wt(this),t)},subarray:function(t,e){var n=wt(this),r=n.length,o=m(t,r);return new(I(n,n[mt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-o))}},Mt=function(t,e){return St(this,ft.call(wt(this),t,e))},Rt=function(t){wt(this);var e=Dt(arguments[1],1),n=this.length,r=x(t),o=v(r.length),i=0;if(o+e>n)throw G("Wrong length!");for(;i<o;)this[e+i]=r[i++]},Nt={entries:function(){return it.call(wt(this))},keys:function(){return ot.call(wt(this))},values:function(){return rt.call(wt(this))}},jt=function(t,e){return A(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Lt=function(t,e){return jt(t,e=g(e,!0))?f(2,t[e]):V(t,e)},Ut=function(t,e,n){return!(jt(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=Lt,L.f=Ut),u(u.S+u.F*!gt,"Object",{getOwnPropertyDescriptor:Lt,defineProperty:Ut}),i(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:Tt}),Pt(Wt,"buffer","b"),Pt(Wt,"byteOffset","o"),Pt(Wt,"byteLength","l"),Pt(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=o[c],m=d||{},g=d&&w(d),b=!d||!a.ABV,x={},E=d&&d.prototype,S=function(t,n){var r=t._d;return r.v[f](n*e+r.o,xt)},F=function(t,n,r){var o=t._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](n*e+o.o,r,xt)},P=function(t,e){W(t,e,{get:function(){return S(this,e)},set:function(t){return F(this,e,t)},enumerable:!0})};b?(d=n(function(t,n,r,o){l(t,d,c,"_d");var i,u,a,s,f=0,h=0;if(A(n)){if(!(n instanceof Y||"ArrayBuffer"==(s=_(n))||"SharedArrayBuffer"==s))return bt in n?Ft(d,n):kt.call(d,n);i=n,h=Dt(r,e);var m=n.byteLength;if(void 0===o){if(m%e)throw G("Wrong length!");if((u=m-h)<0)throw G("Wrong length!")}else if((u=v(o)*e)+h>m)throw G("Wrong length!");a=u/e}else a=y(n),u=a*e,i=new Y(u);for(p(t,"_d",{b:i,o:h,l:u,e:a,v:new X(i)});f<a;)P(t,f++)}),E=d.prototype=D(Wt),p(E,"constructor",d)):i(function(){d(1)})&&i(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,o){l(t,d,c);var i;return A(n)?n instanceof Y||"ArrayBuffer"==(i=_(n))||"SharedArrayBuffer"==i?void 0!==o?new m(n,Dt(r,e),o):void 0!==r?new m(n,Dt(r,e)):new m(n):bt in n?Ft(d,n):kt.call(d,n):new m(y(n))}),K(g!==Function.prototype?C(m).concat(C(g)):C(m),function(t){t in d||p(d,t,m[t])}),d.prototype=E,r||(E.constructor=d));var k=E[dt],O=!!k&&("values"==k.name||void 0==k.name),I=Nt.values;p(d,yt,!0),p(E,bt,c),p(E,_t,!0),p(E,mt,d),(s?new d(1)[vt]==c:vt in E)||W(E,vt,{get:function(){return c}}),x[c]=d,u(u.G+u.W+u.F*(d!=m),x),u(u.S,c,{BYTES_PER_ELEMENT:e}),u(u.S+u.F*i(function(){m.of.call(d,1)}),c,{from:kt,of:Ot}),"BYTES_PER_ELEMENT"in E||p(E,"BYTES_PER_ELEMENT",e),u(u.P,c,Bt),R(c),u(u.P+u.F*Et,c,{set:Rt}),u(u.P+u.F*!O,c,Nt),r||E.toString==pt||(E.toString=pt),u(u.P+u.F*i(function(){new d(1).slice()}),c,{slice:Mt}),u(u.P+u.F*(i(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!i(function(){E.toLocaleString.call([1,2])})),c,{toLocaleString:Tt}),B[c]=O?k:I,r||O||p(E,dt,I)}}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 o(){return r("Interval sources don't match")}function i(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 "+E.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,o){var i="Duplicate declaration for rule '"+t+"' in grammar '"+e+"'";return e!==n&&(i+=" (originally declared in '"+n+"')"),r(i,o)}function p(t,e,n,o){return r("Wrong number of parameters for rule "+t+" (expected "+e+", got "+n+")",o)}function h(t,e,n,o){return r("Wrong number of arguments for rule "+t+" (expected "+e+", got "+n+")",o.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 y(t,e){return r("Cannot apply syntactic rule "+t+" from here (inside a lexical context)",e.source)}function m(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,o){return r("Rule "+t+" involves an alternation which has inconsistent arity (expected "+e+", got "+n+")",o.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 o=r("Missing semantic action for "+t+" in "+e+" "+n);return o.name="missingSemanticAction",o}var E=n(247);t.exports={applicationOfSyntacticRuleFromLexicalContext:y,cannotExtendUndeclaredRule:l,cannotOverrideUndeclaredRule:c,duplicateGrammarDeclaration:a,duplicateParameterNames:d,duplicatePropertyNames:b,duplicateRuleDeclaration:f,inconsistentArity:g,intervalSourcesDontMatch:o,invalidConstructorCall:_,invalidParameter:v,grammarSyntaxError:i,kleeneExprHasNullableOperand:m,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 o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];a?this[i]=a(n):"target"===i?this.target=r:this[i]=n[i]}var s=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=s?u.thatReturnsTrue:u.thatReturnsFalse,this.isPropagationStopped=u.thatReturnsFalse,this}var o=n(14),i=n(70),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};o(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;o(u,t.prototype),t.prototype=u,t.prototype.constructor=t,t.Interface=o({},n.Interface,e),t.augmentClass=n.augmentClass,i.addPoolingTo(t,i.fourArgumentPooler)},i.addPoolingTo(r,i.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"),o=Array.prototype;void 0==o[r]&&n(22)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e){t.exports=!1},function(t,e,n){var r=n(66)("meta"),o=n(5),i=n(26),u=n(15).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(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!s(t))return"F";if(!e)return"E";l(t)}return t[r].i},p=function(t,e){if(!i(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)&&!i(t,r)&&l(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:h}},function(t,e,n){"use strict";(function(e){var r=e.Symbol,o=n(156);t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(e,n(54))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(44),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default={alpha:o.default.number,visible:o.default.bool,cacheAsBitmap:o.default.bool,x:o.default.number,y:o.default.number,position:o.default.arrayOf(o.default.number),width:o.default.number,height:o.default.number,pivot:o.default.arrayOf(o.default.number),anchor:o.default.arrayOf(o.default.number),rotation:o.default.number,scale:o.default.arrayOf(o.default.number),skew:o.default.arrayOf(o.default.number),tint:o.default.oneOf([o.default.number,o.default.string]),children:o.default.any}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(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 i(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]=o(e)}function u(t,e,n){(0,l.default)(e,n)||i.call(this,t,n)}function a(t,e){var n=i.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=i,e.updateValue=u,e.mountNode=a,e.updateNode=s;var c=n(110),l=r(c),f=n(12),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),o=n(201),i=n(135),u=n(1),a=n(10),s=n(151),c={},l={},e=t.exports=function(t,e,n,f,p){var h,d,v,y,m=p?function(){return t}:s(t),g=r(n,f,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=a(t.length);h>b;b++)if((y=e?g(u(d=t[b])[0],d[1]):g(t[b]))===c||y===l)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=o(v,g,d.value,e))===c||y===l)return y};e.BREAK=c,e.RETURN=l},function(t,e,n){var r=n(1),o=n(207),i=n(131),u=n(144)("IE_PROTO"),a=function(){},s=function(){var t,e=n(130)("iframe"),r=i.length;for(e.style.display="none",n(133).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[i[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:o(n,e)}},function(t,e,n){var r=n(209),o=n(131).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(209),o=n(131);t.exports=Object.keys||function(t){return r(t,o)}},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 o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(3),o=n(15),i=n(13),u=n(9)("species");t.exports=function(t){var e=r[t];i&&e&&!e[u]&&o.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(37),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(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){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";var r=n(158),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,u=Array.prototype.concat,a=Object.defineProperty,s=function(t){return"function"==typeof t&&"[object Function]"===i.call(t)},c=a&&function(){var t={};try{a(t,"x",{enumerable:!1,value:t});for(var e in t)return!1;return t.x===t}catch(t){return!1}}(),l=function(t,e,n,r){(!(e in t)||s(r)&&r())&&(c?a(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},f=function(t,e){var n=arguments.length>2?arguments[2]:{},i=r(e);o&&(i=u.call(i,Object.getOwnPropertySymbols(e)));for(var a=0;a<i.length;a+=1)l(t,i[a],e[i[a]],n[i[a]])};f.supportsDescriptors=!!c,t.exports=f},function(t,e,n){"use strict";var r=n(581);t.exports=Function.prototype.bind||r},function(t,e,n){"use strict";var r=n(6),o=(n(2),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=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 o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},a=function(t,e,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,t,e,n,r),i}return new o(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=o,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:o,twoArgumentPooler:i,threeArgumentPooler:u,fourArgumentPooler:a};t.exports=f},function(t,e,n){var r=n(33),o=n(9)("toStringTag"),i="Arguments"==r(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e){t.exports={}},function(t,e,n){var r=n(15).f,o=n(26),i=n(9)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),o=n(40),i=n(4),u=n(147),a="["+u+"]",s="
",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(t,e,n){var o={},a=i(function(){return!!u[t]()||s[t]()!=s}),c=o[t]=a?e(p):u[t];n&&(o[n]=c),r(r.P+r.F*a,"String",o)},p=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},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 o(t,e){t.parentNode.replaceChild(e.node,t),r(e)}function i(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(165),f=n(122),p=n(173),h=n(272),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=o,c.queueChild=i,c.queueHTML=u,c.queueText=a,t.exports=c},function(t,e,n){"use strict";function r(t,e){return(t&e)===e}var o=n(6),i=(n(2),{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=i,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)&&o("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||o("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:i};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(){o.attachRefs(this,this._currentElement)}var o=n(693),i=(n(38),n(7),{mountComponent:function(t,e,n,o,i,u){var a=t.mountComponent(e,n,o,i,u);return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(r,t),a},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){o.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,i){var u=t._currentElement;if(e!==u||i!==t._context){var a=o.shouldUpdateRefs(u,e);a&&o.detachRefs(t,u),t.receiveComponent(e,n,i),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=i},function(t,e,n){"use strict";var r=n(14),o=n(274),i=n(724),u=n(725),a=n(80),s=n(726),c=n(727),l=n(728),f=n(732),p=a.createElement,h=a.createFactory,d=a.cloneElement,v=r,y=function(t){return t},m={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:f},Component:o.Component,PureComponent:o.PureComponent,createElement:p,cloneElement:d,isValidElement:a.isValidElement,PropTypes:s,createClass:l,createFactory:h,createMixin:y,DOM:u,version:c,__spread:v};t.exports=m},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function o(t){return void 0!==t.key}var i=n(14),u=n(49),a=(n(7),n(278),Object.prototype.hasOwnProperty),s=n(276),c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,o,i,u){var a={$$typeof:s,type:t,key:e,ref:n,props:u,_owner:i};return a};l.createElement=function(t,e,n){var i,s={},f=null,p=null;if(null!=e){r(e)&&(p=e.ref),o(e)&&(f=""+e.key),void 0===e.__self?null:e.__self,void 0===e.__source?null:e.__source;for(i in e)a.call(e,i)&&!c.hasOwnProperty(i)&&(s[i]=e[i])}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 y=t.defaultProps;for(i in y)void 0===s[i]&&(s[i]=y[i])}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=i({},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),o(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 y=arguments.length-2;if(1===y)f.children=n;else if(y>1){for(var m=Array(y),g=0;g<y;g++)m[g]=arguments[g+2];f.children=m}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 o=function(){functio