UNPKG

animation-loop

Version:

Easily make and manage animation loops.

2 lines 45.2 kB
var animationLoop=function(t){var n={};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}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return 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,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=159)}([function(t,n){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(3),o=e(0),i=e(12),u=e(9),c=e(10),a=function(t,n,e){var s,f,p,l=t&a.F,v=t&a.G,h=t&a.S,d=t&a.P,y=t&a.B,b=t&a.W,g=v?o:o[n]||(o[n]={}),m=g.prototype,_=v?r:h?r[n]:(r[n]||{}).prototype;for(s in v&&(e=n),e)(f=!l&&_&&void 0!==_[s])&&c(g,s)||(p=f?_[s]:e[s],g[s]=v&&"function"!=typeof _[s]?e[s]:y&&f?i(p,r):b&&_[s]==p?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(p):d&&"function"==typeof p?i(Function.call,p):p,d&&((g.virtual||(g.virtual={}))[s]=p,t&a.R&&m&&!m[s]&&u(m,s,p)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(41)("wks"),o=e(24),i=e(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,n,e){var r=e(7),o=e(57),i=e(34),u=Object.defineProperty;n.f=e(6)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(2);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(5),o=e(14);t.exports=e(6)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(36),o=e(38);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(21);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(38);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(7),o=e(62),i=e(42),u=e(40)("IE_PROTO"),c=function(){},a=function(){var t,n=e(58)("iframe"),r=i.length;for(n.style.display="none",e(90).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=a(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(59),o=e(42);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(24)("meta"),o=e(2),i=e(10),u=e(5).f,c=0,a=Object.isExtensible||function(){return!0},s=!e(8)(function(){return a(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},p=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!n)return"E";f(t)}return t[r].i},getWeak:function(t,n){if(!i(t,r)){if(!a(t))return!0;if(!n)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&p.NEED&&a(t)&&!i(t,r)&&f(t),t}}},function(t,n){t.exports={}},function(t,n,e){var r=e(12),o=e(72),i=e(73),u=e(7),c=e(22),a=e(74),s={},f={};(n=t.exports=function(t,n,e,p,l){var v,h,d,y,b=l?function(){return t}:a(t),g=r(e,p,n?2:1),m=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(v=c(t.length);v>m;m++)if((y=n?g(u(h=t[m])[0],h[1]):g(t[m]))===s||y===f)return y}else for(d=b.call(t);!(h=d.next()).done;)if((y=o(d,g,h.value,n))===s||y===f)return y}).BREAK=s,n.RETURN=f},function(t,n,e){var r=e(2);t.exports=function(t,n){if(!r(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(39),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){t.exports=!0},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(27),o=e(14),i=e(11),u=e(34),c=e(10),a=e(57),s=Object.getOwnPropertyDescriptor;n.f=e(6)?s:function(t,n){if(t=i(t),n=u(n,!0),a)try{return s(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){t.exports=e(84)},function(t,n,e){var r=e(1),o=e(0),i=e(8);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n,e){var r=e(5).f,o=e(10),i=e(4)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";var r=e(102)(!0);e(47)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){e(104);for(var r=e(3),o=e(9),i=e(18),u=e(4)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<c.length;a++){var s=c[a],f=r[s],p=f&&f.prototype;p&&!p[u]&&o(p,u,s),i[s]=i.Array}},function(t,n){},function(t,n,e){var r=e(2);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(59),o=e(42).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(37);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(41)("keys"),o=e(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(0),o=e(3),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(23)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){t.exports=e(86)},function(t,n,e){t.exports=e(9)},function(t,n,e){n.f=e(4)},function(t,n,e){var r=e(3),o=e(0),i=e(23),u=e(45),c=e(5).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,e){"use strict";var r=e(23),o=e(1),i=e(44),u=e(9),c=e(18),a=e(103),s=e(30),f=e(68),p=e(4)("iterator"),l=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,e,h,d,y,b){a(e,n,h);var g,m,_,x=function(t){if(!l&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",O="values"==d,S=!1,P=t.prototype,F=P[p]||P["@@iterator"]||d&&P[d],j=F||x(d),T=d?O?x("entries"):j:void 0,k="Array"==n&&P.entries||F;if(k&&(_=f(k.call(new t)))!==Object.prototype&&_.next&&(s(_,w,!0),r||"function"==typeof _[p]||u(_,p,v)),O&&F&&"values"!==F.name&&(S=!0,j=function(){return F.call(this)}),r&&!b||!l&&!S&&P[p]||u(P,p,j),c[n]=j,c[w]=v,d)if(g={values:O?j:x("values"),keys:y?j:x("keys"),entries:T},b)for(m in g)m in P||i(P,m,g[m]);else o(o.P+o.F*(l||S),n,g);return g}},function(t,n,e){var r=e(115);function o(n,e){return t.exports=o=r||function(t,n){return t.__proto__=n,t},o(n,e)}t.exports=o},function(t,n,e){var r=e(9);t.exports=function(t,n,e){for(var o in n)e&&t[o]?t[o]=n[o]:r(t,o,n[o]);return t}},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){"use strict";var r=e(3),o=e(1),i=e(17),u=e(8),c=e(9),a=e(49),s=e(19),f=e(50),p=e(2),l=e(30),v=e(5).f,h=e(52)(0),d=e(6);t.exports=function(t,n,e,y,b,g){var m=r[t],_=m,x=b?"set":"add",w=_&&_.prototype,O={};return d&&"function"==typeof _&&(g||w.forEach&&!u(function(){(new _).entries().next()}))?(_=n(function(n,e){f(n,_,t,"_c"),n._c=new m,null!=e&&s(e,b,n[x],n)}),h("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var n="add"==t||"set"==t;t in w&&(!g||"clear"!=t)&&c(_.prototype,t,function(e,r){if(f(this,_,t),!n&&g&&!p(e))return"get"==t&&void 0;var o=this._c[t](0===e?0:e,r);return n?this:o})}),g||v(_.prototype,"size",{get:function(){return this._c.size}})):(_=y.getConstructor(n,t,b,x),a(_.prototype,e),i.NEED=!0),l(_,t),O[t]=_,o(o.G+o.W+o.F,O),g||y.setStrong(_,t,b),_}},function(t,n,e){var r=e(12),o=e(36),i=e(13),u=e(22),c=e(124);t.exports=function(t,n){var e=1==t,a=2==t,s=3==t,f=4==t,p=6==t,l=5==t||p,v=n||c;return function(n,c,h){for(var d,y,b=i(n),g=o(b),m=r(c,h,3),_=u(g.length),x=0,w=e?v(n,_):a?v(n,0):void 0;_>x;x++)if((l||x in g)&&(y=m(d=g[x],x,b),t))if(e)w[x]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return x;case 2:w.push(d)}else if(f)return!1;return p?-1:s||f?f:w}}},function(t,n,e){"use strict";var r=e(1);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,e){"use strict";var r=e(1),o=e(21),i=e(12),u=e(19);t.exports=function(t){r(r.S,t,{from:function(t){var n,e,r,c,a=arguments[1];return o(this),(n=void 0!==a)&&o(a),null==t?new this:(e=[],n?(r=0,c=i(a,arguments[2],2),u(t,!1,function(t){e.push(c(t,r++))})):u(t,!1,e.push,e),new this(e))}})}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createClassHelper=j,n.version=n.default=n.staticBlacklist=n.InvalidAccessError=n.InvalidSuperAccessError=n.Class=void 0;var r=y(e(56)),o=y(e(28)),i=y(e(43)),u=y(e(61)),c=y(e(63)),a=y(e(67)),s=y(e(98)),f=y(e(70)),p=y(e(114)),l=y(e(119)),v=y(e(77)),h=y(e(78)),d=e(144);function y(t){return t&&t.__esModule?t:{default:t}}var b=["subclass","extends"].concat((0,h.default)(new Function));n.staticBlacklist=b;var g=new v.default,m=new v.default,_=new d.WeakTwoWayMap,x=new v.default,w={mode:"es5",nativeNaming:!1,prototypeWritable:!1,defaultClassDescriptor:{writable:!0,enumerable:!1,configurable:!0},setClassDescriptors:!0},O=function(t){function n(){return(0,a.default)(this,n),(0,s.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,p.default)(n,t),n}((0,l.default)(Error));n.InvalidSuperAccessError=O;var S=function(t){function n(){return(0,a.default)(this,n),(0,s.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,p.default)(n,t),n}((0,l.default)(Error));n.InvalidAccessError=S;var P=j();n.Class=P;var F=P;function j(t){(t=t?(0,c.default)({},w,t):w).defaultClassDescriptor=(0,c.default)({},w.defaultClassDescriptor,t.defaultClassDescriptor);var n=t.mode,e=t.prototypeWritable,o=t.setClassDescriptors,i=t.nativeNaming;return function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var e=!1;if("function"==typeof this&&(e=!0),t.length<=2){var r="",o=null;"string"==typeof t[0]?r=t[0]:"function"!=typeof t[0]&&"object"!=typeof t[0]||(o=t[0]),"function"!=typeof t[1]&&"object"!=typeof t[1]||(o=t[1]);var i=e?a.call(this,r,o):a(r,o);return i.extends=function(t,n){return n=n||o,a.call(t,r,n)},i}throw new TypeError("invalid args")};function a(c,a){var s=this;if("string"!=typeof c)throw new TypeError("\n You must specify a string for the 'className' argument.\n ");var f=null;if(a&&"object"==typeof a)f=a;else if(!s&&(!a||"function"!=typeof a&&"object"!=typeof a)){var p;return i&&c?p=new Function("return function "+c+"() {}")():(p=function(){},c&&(0,d.setDescriptor)(p,"name",{value:c})),p.prototype={__proto__:Object.prototype,constructor:p},(0,d.setDescriptor)(p,"subclass",{value:P,writable:!0,enumerable:!1,configurable:!1}),p}var l={publicToPrivate:new d.WeakTwoWayMap},h=new v.default,y=function(t,n,e){var r=n.publicPrototype,o=n.protectedPrototype,i=n.privatePrototype,u=n.parentPublicPrototype,c=n.parentProtectedPrototype,a=n.parentPrivatePrototype;if(E(e,r))return D(e,u,t);if(E(e,o))return D(e,c,t);if(E(e,i))return D(e,a,t);throw new O("invalid super access")}.bind(null,h,l),x=function(t,n){return E(n,t.privatePrototype)?T(n).publicToPrivate.get(n):E(n,t.protectedPrototype)?_.get(n):n}.bind(null,l),w=function(t,n){if(E(n,t.publicPrototype))return _.get(n)||k(n);if(E(n,t.privatePrototype)){var e=T(n).publicToPrivate.get(n);return _.get(e)||k(e)}if(E(n,t.protectedPrototype))return n;throw new S("invalid access of protected member")}.bind(null,l),F=function(t,n){if(E(n,t.publicPrototype))return t.publicToPrivate.get(n)||A(t,n);if(E(n,t.protectedPrototype)){var e=_.get(n);return t.publicToPrivate.get(e)||A(t,e)}if(E(n,t.privatePrototype))return n;throw new S("invalid access of private member")}.bind(null,l);if(x.prototype={},w.prototype={},F.prototype={},x.Public=x,x.Protected=w,x.Private=F,x.Super=y,w.Public=x,w.Protected=w,w.Private=F,w.Super=y,(f=f||a&&a(x,w,F,y))&&"object"!=typeof f&&"function"!=typeof f)throw new TypeError("\n The return value of a class definer function, if any, should be\n an object, or a class constructor.\n ");var j,C=null;"function"==typeof f&&(C=f,f=f.prototype,s=C.prototype.__proto__.constructor),f&&(j=f.static,delete f.static,"function"==typeof f.public&&(f.public=f.public(w,F)),"function"==typeof f.protected&&(f.protected=f.protected(x,F)),"function"==typeof f.private&&(f.private=f.private(x,w)));var N=(s=s||Object).prototype,I=f&&f.public||f||(0,u.default)(N);I.__proto__!==N&&(I.__proto__=N);var W=g.get(N)||{},R=f&&f.protected||(0,u.default)(W);R.__proto__!==W&&(R.__proto__=W),g.set(I,R);var B=m.get(N)||{},q=f&&f.private||(0,u.default)(B);if(q.__proto__!==B&&(q.__proto__=B),m.set(I,q),l.publicPrototype=I,l.privatePrototype=q,l.protectedPrototype=R,l.parentPublicPrototype=N,l.parentProtectedPrototype=W,l.parentPrivatePrototype=B,M(x.prototype,I),M(w.prototype,R),M(F.prototype,q),f&&(delete f.public,delete f.protected,delete f.private,f!==I&&M(f,I)),C)return j&&M(j,C),C;var z=I.hasOwnProperty("constructor")?I.constructor:null,G=null,J=null;if("es5"!==n)throw new TypeError("\n The lowclass mode option can only be 'es5' for now.\n ");if(G=function(){var t=null,n=null;if((n=z||s)!==Object&&(t=n.apply(this,arguments)),t&&"object"==typeof t)return t},J=I,c)if(i){var V=(0,d.getFunctionBody)(G),K=G.prototype;(G=new Function(" userConstructor, ParentClass ","\n return function "+c+"() { "+V+" }\n ")(z,s)).prototype=K}else(0,d.setDescriptor)(G,"name",{value:c});return z&&z.length&&(0,d.setDescriptor)(G,"length",{value:z.length}),G.__proto__=s,j&&M(j,G),(0,d.setDescriptor)(G,"subclass",{value:P,writable:!0,enumerable:!1,configurable:!1}),G.prototype=J,G.prototype.constructor=G,o&&(!function(t,n){var e,o=n.defaultClassDescriptor,i=o.writable,u=o.enumerable,c=o.configurable,a=(0,r.default)(t);for(var s in a)-1===b.indexOf(s)?(("value"in(e=a[s])||"writable"in e)&&(e.writable=i),e.enumerable=u,e.configurable=c):delete a[s];(0,d.setDescriptors)(t,a)}(G,t),(0,d.setDescriptor)(G,"prototype",{writable:e}),L(G.prototype,t),L(R,t),L(q,t)),G}}function T(t){return x.get(t)}function k(t){var n=function(t){var n=null,e=t.__proto__;for(;e;){if(n=g.get(e))return n;e=e.__proto__}return n}(t),e=(0,u.default)(n);return _.set(t,e),e}function A(t,n){var e=(0,u.default)(t.privatePrototype);return t.publicToPrivate.set(n,e),x.set(e,t),e}function E(t,n){var e=t.__proto__;do{if(n===e)return!0;e=e.__proto__}while(e);return!1}function M(t,n,e){for(var r=(0,h.default)(t),u=r.length;u--;){var c=r[u],a=(0,i.default)(t,c);e&&e(a),(0,o.default)(n,c,a)}}function D(t,n,e){var r=e.get(t);if(!r){e.set(t,r=(0,u.default)(n));for(var o=(0,d.getInheritedPropertyNames)(n),i=o.length,c=function(){var e=o[i];(0,d.setDescriptor)(r,e,{get:function(){var r=void 0,o=(0,d.getInheritedDescriptor)(n,e);if(o&&(0,d.propertyIsAccessor)(o)){var i=o.get;i&&(r=i.call(t))}else r=n[e];return r&&r.call&&"function"==typeof r&&(r=r.bind(t)),r},set:function(r){var o=(0,d.getInheritedDescriptor)(n,e);if(o&&(0,d.propertyIsAccessor)(o)){var i=o.set;i&&(r=i.call(t,r))}else t[e]=r}},!0)};i--;)c()}return r}function L(t,n){var e,o=n.defaultClassDescriptor,i=o.writable,u=o.enumerable,c=o.configurable,a=(0,r.default)(t);for(var s in a)("value"in(e=a[s])||"writable"in e)&&(e.writable=i),e.enumerable=u,e.configurable=c;(0,d.setDescriptors)(t,a)}n.default=F;n.version="4.2.1"},function(t,n,e){t.exports=e(79)},function(t,n,e){t.exports=!e(6)&&!e(8)(function(){return 7!=Object.defineProperty(e(58)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(2),o=e(3).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){var r=e(10),o=e(11),i=e(82)(!1),u=e(40)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),a=0,s=[];for(e in c)e!=u&&r(c,e)&&s.push(e);for(;n.length>a;)r(c,e=n[a++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){"use strict";var r=e(5),o=e(14);t.exports=function(t,n,e){n in t?r.f(t,n,o(0,e)):t[n]=e}},function(t,n,e){t.exports=e(88)},function(t,n,e){var r=e(5),o=e(7),i=e(16);t.exports=e(6)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,a=0;c>a;)r.f(t,e=u[a++],n[e]);return t}},function(t,n,e){var r=e(43),o=e(91),i=e(94),u=e(97);t.exports=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},c=i(e);"function"==typeof o&&(c=c.concat(o(e).filter(function(t){return r(e,t).enumerable}))),c.forEach(function(n){u(t,n,e[n])})}return t}},function(t,n,e){"use strict";var r=e(3),o=e(10),i=e(6),u=e(1),c=e(44),a=e(17).KEY,s=e(8),f=e(41),p=e(30),l=e(24),v=e(4),h=e(45),d=e(46),y=e(93),b=e(65),g=e(7),m=e(2),_=e(11),x=e(34),w=e(14),O=e(15),S=e(66),P=e(26),F=e(5),j=e(16),T=P.f,k=F.f,A=S.f,E=r.Symbol,M=r.JSON,D=M&&M.stringify,L=v("_hidden"),C=v("toPrimitive"),N={}.propertyIsEnumerable,I=f("symbol-registry"),W=f("symbols"),R=f("op-symbols"),B=Object.prototype,q="function"==typeof E,z=r.QObject,G=!z||!z.prototype||!z.prototype.findChild,J=i&&s(function(){return 7!=O(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=T(B,n);r&&delete B[n],k(t,n,e),r&&t!==B&&k(B,n,r)}:k,V=function(t){var n=W[t]=O(E.prototype);return n._k=t,n},K=q&&"symbol"==typeof E.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof E},H=function(t,n,e){return t===B&&H(R,n,e),g(t),n=x(n,!0),g(e),o(W,n)?(e.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),e=O(e,{enumerable:w(0,!1)})):(o(t,L)||k(t,L,w(1,{})),t[L][n]=!0),J(t,n,e)):k(t,n,e)},U=function(t,n){g(t);for(var e,r=y(n=_(n)),o=0,i=r.length;i>o;)H(t,e=r[o++],n[e]);return t},Y=function(t){var n=N.call(this,t=x(t,!0));return!(this===B&&o(W,t)&&!o(R,t))&&(!(n||!o(this,t)||!o(W,t)||o(this,L)&&this[L][t])||n)},Q=function(t,n){if(t=_(t),n=x(n,!0),t!==B||!o(W,n)||o(R,n)){var e=T(t,n);return!e||!o(W,n)||o(t,L)&&t[L][n]||(e.enumerable=!0),e}},X=function(t){for(var n,e=A(_(t)),r=[],i=0;e.length>i;)o(W,n=e[i++])||n==L||n==a||r.push(n);return r},Z=function(t){for(var n,e=t===B,r=A(e?R:_(t)),i=[],u=0;r.length>u;)!o(W,n=r[u++])||e&&!o(B,n)||i.push(W[n]);return i};q||(c((E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),n=function(e){this===B&&n.call(R,e),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),J(this,t,w(1,e))};return i&&G&&J(B,t,{configurable:!0,set:n}),V(t)}).prototype,"toString",function(){return this._k}),P.f=Q,F.f=H,e(35).f=S.f=X,e(27).f=Y,e(25).f=Z,i&&!e(23)&&c(B,"propertyIsEnumerable",Y,!0),h.f=function(t){return V(v(t))}),u(u.G+u.W+u.F*!q,{Symbol:E});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)v($[tt++]);for(var nt=j(v.store),et=0;nt.length>et;)d(nt[et++]);u(u.S+u.F*!q,"Symbol",{for:function(t){return o(I,t+="")?I[t]:I[t]=E(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var n in I)if(I[n]===t)return n},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!q,"Object",{create:function(t,n){return void 0===n?O(t):U(O(t),n)},defineProperty:H,defineProperties:U,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),M&&u(u.S+u.F*(!q||s(function(){var t=E();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(m(n)||void 0!==t)&&!K(t))return b(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!K(n))return n}),r[1]=n,D.apply(M,r)}}),E.prototype[C]||e(9)(E.prototype,C,E.prototype.valueOf),p(E,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(t,n,e){var r=e(37);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(11),o=e(35).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){var r=e(10),o=e(13),i=e(40)("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,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(111);function o(n){return t.exports=o=r||function(t){return t.__proto__},o(n)}t.exports=o},function(t,n,e){"use strict";var r=e(5).f,o=e(15),i=e(49),u=e(12),c=e(50),a=e(19),s=e(47),f=e(69),p=e(123),l=e(6),v=e(17).fastKey,h=e(20),d=l?"_s":"size",y=function(t,n){var e,r=v(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,n,e,s){var f=t(function(t,r){c(t,f,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[d]=0,null!=r&&a(r,e,t[s],t)});return i(f.prototype,{clear:function(){for(var t=h(this,n),e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var e=h(this,n),r=y(e,t);if(r){var o=r.n,i=r.p;delete e._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),e._f==r&&(e._f=o),e._l==r&&(e._l=i),e[d]--}return!!r},forEach:function(t){h(this,n);for(var e,r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(h(this,n),t)}}),l&&r(f.prototype,"size",{get:function(){return h(this,n)[d]}}),f},def:function(t,n,e){var r,o,i=y(t,n);return i?i.v=e:(t._l=i={i:o=v(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[d]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,n,e){s(t,n,function(t,e){this._t=h(t,n),this._k=e,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?f(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,f(1))},e?"entries":"values",!e,!0),p(n)}}},function(t,n,e){var r=e(7);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){var r=e(18),o=e(4)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,n,e){var r=e(75),o=e(4)("iterator"),i=e(18);t.exports=e(0).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(37),o=e(4)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){var r=e(75),o=e(127);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,n,e){t.exports=e(136)},function(t,n,e){t.exports=e(142)},function(t,n,e){e(80),t.exports=e(0).Object.getOwnPropertyDescriptors},function(t,n,e){var r=e(1),o=e(81),i=e(11),u=e(26),c=e(60);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=i(t),a=u.f,s=o(r),f={},p=0;s.length>p;)void 0!==(e=a(r,n=s[p++]))&&c(f,n,e);return f}})},function(t,n,e){var r=e(35),o=e(25),i=e(7),u=e(3).Reflect;t.exports=u&&u.ownKeys||function(t){var n=r.f(i(t)),e=o.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(11),o=e(22),i=e(83);t.exports=function(t){return function(n,e,u){var c,a=r(n),s=o(a.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(39),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},function(t,n,e){e(85);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){var r=e(1);r(r.S+r.F*!e(6),"Object",{defineProperty:e(5).f})},function(t,n,e){e(87);var r=e(0).Object;t.exports=function(t,n){return r.getOwnPropertyDescriptor(t,n)}},function(t,n,e){var r=e(11),o=e(26).f;e(29)("getOwnPropertyDescriptor",function(){return function(t,n){return o(r(t),n)}})},function(t,n,e){e(89);var r=e(0).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){var r=e(1);r(r.S,"Object",{create:e(15)})},function(t,n,e){var r=e(3).document;t.exports=r&&r.documentElement},function(t,n,e){t.exports=e(92)},function(t,n,e){e(64),t.exports=e(0).Object.getOwnPropertySymbols},function(t,n,e){var r=e(16),o=e(25),i=e(27);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),a=i.f,s=0;c.length>s;)a.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,e){t.exports=e(95)},function(t,n,e){e(96),t.exports=e(0).Object.keys},function(t,n,e){var r=e(13),o=e(16);e(29)("keys",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(28);t.exports=function(t,n,e){return n in t?r(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}},function(t,n,e){var r=e(99),o=e(110);t.exports=function(t,n){return!n||"object"!==r(n)&&"function"!=typeof n?o(t):n}},function(t,n,e){var r=e(100),o=e(106);function i(t){return(i="function"==typeof o&&"symbol"==typeof r?function(t){return typeof t}:function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":typeof t})(t)}function u(n){return"function"==typeof o&&"symbol"===i(r)?t.exports=u=function(t){return i(t)}:t.exports=u=function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":i(t)},u(n)}t.exports=u},function(t,n,e){t.exports=e(101)},function(t,n,e){e(31),e(32),t.exports=e(45).f("iterator")},function(t,n,e){var r=e(39),o=e(38);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),s=c.length;return a<0||a>=s?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,n,e){"use strict";var r=e(15),o=e(14),i=e(30),u={};e(9)(u,e(4)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){"use strict";var r=e(105),o=e(69),i=e(18),u=e(11);t.exports=e(47)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n){t.exports=function(){}},function(t,n,e){t.exports=e(107)},function(t,n,e){e(64),e(33),e(108),e(109),t.exports=e(0).Symbol},function(t,n,e){e(46)("asyncIterator")},function(t,n,e){e(46)("observable")},function(t,n){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,n,e){t.exports=e(112)},function(t,n,e){e(113),t.exports=e(0).Object.getPrototypeOf},function(t,n,e){var r=e(13),o=e(68);e(29)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(48);t.exports=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");r(t.prototype,n&&n.prototype),n&&r(t,n)}},function(t,n,e){t.exports=e(116)},function(t,n,e){e(117),t.exports=e(0).Object.setPrototypeOf},function(t,n,e){var r=e(1);r(r.S,"Object",{setPrototypeOf:e(118).set})},function(t,n,e){var r=e(2),o=e(7),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(12)(Function.call,e(26).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){var r=e(61),o=e(120),i=e(70),u=e(48),c=e(130);function a(n){var e="function"==typeof o?new o:void 0;return t.exports=a=function(t){if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){}return n.prototype=r(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),u(n,u(function(){return c(t,arguments,i(this).constructor)},t))},a(n)}t.exports=a},function(t,n,e){t.exports=e(121)},function(t,n,e){e(33),e(31),e(32),e(122),e(126),e(128),e(129),t.exports=e(0).Map},function(t,n,e){"use strict";var r=e(71),o=e(20);t.exports=e(51)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var n=r.getEntry(o(this,"Map"),t);return n&&n.v},set:function(t,n){return r.def(o(this,"Map"),0===t?0:t,n)}},r,!0)},function(t,n,e){"use strict";var r=e(3),o=e(0),i=e(5),u=e(6),c=e(4)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:r[t];u&&n&&!n[c]&&i.f(n,c,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(125);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){var r=e(2),o=e(65),i=e(4)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,e){var r=e(1);r(r.P+r.R,"Map",{toJSON:e(76)("Map")})},function(t,n,e){var r=e(19);t.exports=function(t,n){var e=[];return r(t,!1,e.push,e,n),e}},function(t,n,e){e(53)("Map")},function(t,n,e){e(54)("Map")},function(t,n,e){var r=e(131),o=e(48);function i(n,e,u){return"undefined"!=typeof Reflect&&r?t.exports=i=r:t.exports=i=function(t,n,e){var r=[null];r.push.apply(r,n);var i=new(t.bind.apply(t,r));return e&&o(i,e.prototype),i},i.apply(null,arguments)}t.exports=i},function(t,n,e){t.exports=e(132)},function(t,n,e){e(133),t.exports=e(0).Reflect.construct},function(t,n,e){var r=e(1),o=e(15),i=e(21),u=e(7),c=e(2),a=e(8),s=e(134),f=(e(3).Reflect||{}).construct,p=a(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),l=!a(function(){f(function(){})});r(r.S+r.F*(p||l),"Reflect",{construct:function(t,n){i(t),u(n);var e=arguments.length<3?t:i(arguments[2]);if(l&&!p)return f(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(s.apply(t,r))}var a=e.prototype,v=o(c(a)?a:Object.prototype),h=Function.apply.call(t,v,n);return c(h)?h:v}})},function(t,n,e){"use strict";var r=e(21),o=e(2),i=e(135),u=[].slice,c={};t.exports=Function.bind||function(t){var n=r(this),e=u.call(arguments,1),a=function(){var r=e.concat(u.call(arguments));return this instanceof a?function(t,n,e){if(!(n in c)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";c[n]=Function("F,a","return new F("+r.join(",")+")")}return c[n](t,e)}(n,r.length,r):i(n,r,t)};return o(n.prototype)&&(a.prototype=n.prototype),a}},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){e(33),e(32),e(137),e(140),e(141),t.exports=e(0).WeakMap},function(t,n,e){"use strict";var r,o=e(52)(0),i=e(44),u=e(17),c=e(138),a=e(139),s=e(2),f=e(8),p=e(20),l=u.getWeak,v=Object.isExtensible,h=a.ufstore,d={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(s(t)){var n=l(t);return!0===n?h(p(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return a.def(p(this,"WeakMap"),t,n)}},g=t.exports=e(51)("WeakMap",y,b,a,!0,!0);f(function(){return 7!=(new g).set((Object.freeze||Object)(d),7).get(d)})&&(c((r=a.getConstructor(y,"WeakMap")).prototype,b),u.NEED=!0,o(["delete","has","get","set"],function(t){var n=g.prototype,e=n[t];i(n,t,function(n,o){if(s(n)&&!v(n)){this._f||(this._f=new r);var i=this._f[t](n,o);return"set"==t?this:i}return e.call(this,n,o)})}))},function(t,n,e){"use strict";var r=e(16),o=e(25),i=e(27),u=e(13),c=e(36),a=Object.assign;t.exports=!a||e(8)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=a({},t)[e]||Object.keys(a({},n)).join("")!=r})?function(t,n){for(var e=u(t),a=arguments.length,s=1,f=o.f,p=i.f;a>s;)for(var l,v=c(arguments[s++]),h=f?r(v).concat(f(v)):r(v),d=h.length,y=0;d>y;)p.call(v,l=h[y++])&&(e[l]=v[l]);return e}:a},function(t,n,e){"use strict";var r=e(49),o=e(17).getWeak,i=e(7),u=e(2),c=e(50),a=e(19),s=e(52),f=e(10),p=e(20),l=s(5),v=s(6),h=0,d=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},b=function(t,n){return l(t.a,function(t){return t[0]===n})};y.prototype={get:function(t){var n=b(this,t);if(n)return n[1]},has:function(t){return!!b(this,t)},set:function(t,n){var e=b(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=v(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,e,i){var s=t(function(t,r){c(t,s,n,"_i"),t._t=n,t._i=h++,t._l=void 0,null!=r&&a(r,e,t[i],t)});return r(s.prototype,{delete:function(t){if(!u(t))return!1;var e=o(t);return!0===e?d(p(this,n)).delete(t):e&&f(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=o(t);return!0===e?d(p(this,n)).has(t):e&&f(e,this._i)}}),s},def:function(t,n,e){var r=o(i(n),!0);return!0===r?d(t).set(n,e):r[t._i]=e,t},ufstore:d}},function(t,n,e){e(53)("WeakMap")},function(t,n,e){e(54)("WeakMap")},function(t,n,e){e(143);var r=e(0).Object;t.exports=function(t){return r.getOwnPropertyNames(t)}},function(t,n,e){e(29)("getOwnPropertyNames",function(){return e(66).f})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getFunctionBody=function(t){var n=t.toString().split("\n");return n.shift(),n.pop(),n.join("\n")},n.setDescriptor=function(t,n,e,r){void 0===r&&(r=!1);var o=r?g(t,n):(0,f.default)(t,n);e=b(o,e),(0,s.default)(t,n,e)},n.setDescriptors=function(t,n){var e,r,o=(0,a.default)(t);for(var i in n)e=n[i],r=o[i],n[i]=b(r,e);(0,c.default)(t,n)},n.propertyIsAccessor=function(t,n,e){void 0===e&&(e=!0);var r,o=!1;r=1===arguments.length?t:e?g(t,n):(0,f.default)(t,n);r&&(r.get||r.set)&&(o=!0);return o},n.getInheritedDescriptor=g,n.getInheritedPropertyNames=function(t){var n=t,e=[];for(;n;)e=e.concat((0,i.default)(n)),n=n.__proto__;return e=(0,o.default)(new r.default(e))},n.WeakTwoWayMap=void 0;var r=h(e(145)),o=h(e(151)),i=h(e(78)),u=h(e(63)),c=h(e(155)),a=h(e(56)),s=h(e(28)),f=h(e(43)),p=h(e(77)),l=h(e(67)),v=h(e(158));function h(t){return t&&t.__esModule?t:{default:t}}var d=function(){function t(){(0,l.default)(this,t),this.m=new p.default}return(0,v.default)(t,[{key:"set",value:function(t,n){this.m.set(t,n),this.m.set(n,t)}},{key:"get",value:function(t){return this.m.get(t)}},{key:"has",value:function(t){return this.m.has(t)}}]),t}();n.WeakTwoWayMap=d;var y={enumerable:!0,configurable:!0};function b(t,n){if(("get"in n||"set"in n)&&("value"in n||"writable"in n))throw new TypeError("cannot specify both accessors and a value or writable attribute");return t&&("get"in n||"set"in n?(delete t.value,delete t.writable):("value"in n||"writable"in n)&&(delete t.get,delete t.set)),(0,u.default)({},y,t,n)}function g(t,n){for(var e,r=t;r;){if(e=(0,f.default)(r,n))return e.owner=r,e;r=r.__proto__}}},function(t,n,e){t.exports=e(146)},function(t,n,e){e(33),e(31),e(32),e(147),e(148),e(149),e(150),t.exports=e(0).Set},function(t,n,e){"use strict";var r=e(71),o=e(20);t.exports=e(51)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,n,e){var r=e(1);r(r.P+r.R,"Set",{toJSON:e(76)("Set")})},function(t,n,e){e(53)("Set")},function(t,n,e){e(54)("Set")},function(t,n,e){t.exports=e(152)},function(t,n,e){e(31),e(153),t.exports=e(0).Array.from},function(t,n,e){"use strict";var r=e(12),o=e(1),i=e(13),u=e(72),c=e(73),a=e(22),s=e(60),f=e(74);o(o.S+o.F*!e(154)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,o,p,l=i(t),v="function"==typeof this?this:Array,h=arguments.length,d=h>1?arguments[1]:void 0,y=void 0!==d,b=0,g=f(l);if(y&&(d=r(d,h>2?arguments[2]:void 0,2)),null==g||v==Array&&c(g))for(e=new v(n=a(l.length));n>b;b++)s(e,b,y?d(l[b],b):l[b]);else for(p=g.call(l),e=new v;!(o=p.next()).done;b++)s(e,b,y?u(p,d,[o.value,b],!0):o.value);return e.length=b,e}})},function(t,n,e){var r=e(4)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:e=!0}},i[r]=function(){return u},t(i)}catch(t){}return e}},function(t,n,e){t.exports=e(156)},function(t,n,e){e(157);var r=e(0).Object;t.exports=function(t,n){return r.defineProperties(t,n)}},function(t,n,e){var r=e(1);r(r.S+r.F*!e(6),"Object",{defineProperties:e(62)})},function(t,n,e){var r=e(28);function o(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),r(t,o.key,o)}}t.exports=function(t,n,e){return n&&o(t.prototype,n),e&&o(t,e),t}},function(t,n,e){"use strict";function r(t){this.autoStart=void 0===t||t,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}e.r(n),Object.assign(r.prototype,{start:function(){this.startTime=("undefined"==typeof performance?Date:performance).now(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0},stop:function(){this.getElapsedTime(),this.running=!1,this.autoStart=!1},getElapsedTime:function(){return this.getDelta(),this.elapsedTime},getDelta:function(){var t=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var n=("undefined"==typeof performance?Date:performance).now();t=(n-this.oldTime)/1e3,this.oldTime=n,this.elapsedTime+=t}return t}});var o=r,i=e(55),u=e.n(i);e.d(n,"AnimationLoop",function(){return c}),e.d(n,"version",function(){return s});const c=u()("AnimationLoop",({Public:t,Protected:n,Private:e})=>({constructor(){const t=e(this);t.animationFnsBefore=new Set,t.animationFns=new Set,t.animationFnsAfter=new Set,t.baseFns=new Set,t.animationFrame=null,n(this).needsToRequestEachFrame=!0,t.elapsed=0,t.lastTick=0,t.interval=null,t.intervals=-1,t.clock=new o,t.started=!1,t.paused=!1,t.ticking=!1,t.forcedTick=!1},get elapsed(){return e(this).elapsed},get started(){return e(this).started},get paused(){return e(this).paused},get running(){return e(this).started&&!e(this).paused},get ticking(){return e(this).ticking},get interval(){return e(this).interval},set interval(t){e(this).interval=t},addAnimationFnBefore(t){const n=e(this);return"function"==typeof t&&n.animationFnsBefore.add(t),this.running&&n._startTicking(),t},removeAnimationFnBefore(t){e(this).animationFnsBefore.delete(t)},addAnimationFn(t){const n=e(this);return"function"==typeof t&&n.animationFns.add(t),this.running&&n._startTicking(),t},removeAnimationFn(t){e(this).animationFns.delete(t)},addAnimationFnAfter(t){const n=e(this);return"function"==typeof t&&n.animationFnsAfter.add(t),this.running&&n._startTicking(),t},removeAnimationFnAfter(t){e(this).animationFnsAfter.delete(t)},hasAnimationFunctions(){const t=e(this);return t.animationFnsBefore.size||t.animationFns.size||t.animationFnsAfter.size},addBaseFn(t){const n=e(this);return"function"==typeof t&&n.baseFns.add(t),t},removeBaseFn(t){e(this).baseFns.delete(t)},start(){const t=e(this);t.started&&!t.paused||(t.started=!0,t.paused=!1,t.clock.start(),t._startTicking())},stop(){const t=e(this);t.started&&(t.started=!1,t.elapsed=0,t.clock.stop(),t._stopTicking())},pause(){const t=e(this);t.started&&!t.paused&&(t.paused=!0,t.clock.stop(),t._stopTicking())},forceTick(){const t=e(this);t.forcedTick||(t.forcedTick=!0,this.addAnimationFn(()=>t.forcedTick=!1))},addChildLoop(){return new a(this)},removeChildLoop(t){n(t)._dispose()},protected:{_requestFrame(){const t=n(this);return requestAnimationFrame(()=>t._tick())},_cancelFrame(t){cancelAnimationFrame(t)},_dispose(){t(this).stop(),e(this)._clearFunctions()},_tick(){const r=e(this);let o=r.clock.getDelta();if(r.elapsed+=o,r.interval){const t=Math.floor(r.elapsed/r.interval);t>r.intervals&&(o=r.elapsed-r.lastTick,r.intervals=t,r.lastTick=r.elapsed,r._callAnimationFunctions(o))}else r._callAnimationFunctions(o);n(this).needsToRequestEachFrame&&(r.animationFrame=n(this)._requestFrame()),t(this).hasAnimationFunctions()||r._stopTicking()}},private:{_clearFunctions(){this.animationFnsBefore.clear(),this.animationFns.clear(),this.animationFnsAfter.clear(),this.baseFns.clear()},_startTicking(){if(!t(this).hasAnimationFunctions())return;const r=e(this);r.ticking||(r.ticking=!0,r.animationFrame=n(this)._requestFrame())},_stopTicking(){const t=e(this);t.ticking=!1,n(this)._cancelFrame(t.animationFrame)},_callAnimationFunctions(n){for(const e of Array.from(this.animationFnsBefore))!1===e(n,this.elapsed)&&t(this).removeAnimationFnBefore(e);for(const e of Array.from(this.animationFns))!1===e(n,this.elapsed)&&t(this).removeAnimationFn(e);for(const e of Array.from(this.animationFnsAfter))!1===e(n,this.elapsed)&&t(this).removeAnimationFnAfter(e);for(const e of Array.from(this.baseFns))!1===e(n,this.elapsed)&&t(this).removeBaseFn(e)}}}));n.default=c;const a=u()("ChildAnimationLoop").extends(c,({Protected:t,Super:n})=>({constructor(e){n(this).constructor(),t(this).parentLoop=e,t(this).needsToRequestEachFrame=!1},protected:{_requestFrame(){const n=t(this);return this.parentLoop.addAnimationFn(()=>n._tick())},_cancelFrame(t){this.parentLoop.removeAnimationFn(t)},_dispose(){n(this)._dispose(),this.parentLoop=null}}})),s="1.4.0"}]); //# sourceMappingURL=global.js.map