futoin-asyncevent
Advanced tools
Comparing version 1.0.0 to 1.0.1
=== (next) | ||
CHANGED: upgraded webpack to v4 | ||
NEW: Node.js v10 testing | ||
=== 0.9.0 (2017-12-26) === | ||
Initial release | ||
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["futoin-asyncevent"]=t():e.$asyncevent=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";!function(t){var r=t.FutoIn||t.futoin||{};if(void 0===r.$asyncevent){var o=n(1);t.$asyncevent=o,r.$asyncevent=o,r.EventEmitter=o.EventEmitter,t.FutoIn=r,t.futoin=r}e.exports=r.$asyncevent}(window)},function(e,t,n){"use strict";var r=n(2),o=r.attach;o.EventEmitter=r,e.exports=o},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a="undefined"!=typeof setImmediate&&setImmediate||function(e){return setTimeout(e,0)},u=Symbol("FutoIn Event Emitter"),f="_evt_",c="_evtonce_",l=function(){function e(t,n){o(this,e),this._max=n;var r=!0,i=!1,a=void 0;try{for(var u,l=t[Symbol.iterator]();!(r=(u=l.next()).done);r=!0){var v=u.value;this[""+f+v]=[],this[""+c+v]=[]}}catch(e){i=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw a}}}return i(e,[{key:"on",value:function(e,t){try{var n=this[""+f+e];n.length===this._max&&console.warn("Hitting max handler limit for: "+e),n.push(t)}catch(t){throw new Error("Unknown event: "+e)}}},{key:"once",value:function(e,t){try{var n=this[""+c+e];n.length===this._max&&console.warn("Hitting max once handler limit for: "+e),n.push(t)}catch(t){throw new Error("Unknown event: "+e)}}},{key:"off",value:function(e,t){try{var n=""+f+e;this[n]=this[n].filter(function(e){return e!==t});var r=""+c+e;this[r]=this[r].filter(function(e){return e!==t})}catch(t){throw new Error("Unknown event: "+e)}}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];try{var o=!0,i=!1,u=void 0;try{for(var l,v=this[""+f+e][Symbol.iterator]();!(o=(l=v.next()).done);o=!0){var s=l.value;!function(e){a(function(){return e.apply(void 0,n)})}(s)}}catch(e){i=!0,u=e}finally{try{!o&&v.return&&v.return()}finally{if(i)throw u}}var y=this[""+c+e];if(y.length>0){var h=!0,m=!1,b=void 0;try{for(var d,p=y[Symbol.iterator]();!(h=(d=p.next()).done);h=!0){var s=d.value;!function(e){a(function(){return e.apply(void 0,n)})}(s)}}catch(e){m=!0,b=e}finally{try{!h&&p.return&&p.return()}finally{if(m)throw b}}this[""+c+e]=[]}}catch(t){throw new Error("Unknown event: "+e)}}}],[{key:Symbol.hasInstance,value:function(e){return void 0!==e[u]}},{key:"attach",value:function(t,n){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;if(void 0!==t[u])throw new Error("Already attached");var a=new e(n,i);Object.defineProperties(t,(o={},r(o,u,{configurable:!1,enumerable:!1,writable:!1,value:a}),r(o,"on",{configurable:!1,enumerable:!1,writable:!1,value:function(e,t){return a.on(e,t)}}),r(o,"off",{configurable:!1,enumerable:!1,writable:!1,value:function(e,t){return a.off(e,t)}}),r(o,"once",{configurable:!1,enumerable:!1,writable:!1,value:function(e,t){return a.once(e,t)}}),r(o,"emit",{configurable:!1,enumerable:!1,writable:!1,value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return a.emit.apply(a,[e].concat(n))}}),o))}},{key:"setMaxListeners",value:function(e,t){e[u]._max=t}},{key:"SYM_EVENT_EMITTER",get:function(){return u}}]),e}();e.exports=l}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["futoin-asyncevent"]=t():e.$asyncevent=t()}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i="undefined"!=typeof setImmediate&&setImmediate||function(e){return setTimeout(e,0)},a=Symbol("FutoIn Event Emitter"),u="_evt_",c="_evtonce_",f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._max=n;var r=!0,o=!1,i=void 0;try{for(var a,f=t[Symbol.iterator]();!(r=(a=f.next()).done);r=!0){var l=a.value;this[""+u+l]=[],this[""+c+l]=[]}}catch(e){o=!0,i=e}finally{try{!r&&f.return&&f.return()}finally{if(o)throw i}}}return r(e,[{key:"on",value:function(e,t){try{var n=this[""+u+e];n.length===this._max&&console.warn("Hitting max handler limit for: "+e),n.push(t)}catch(t){throw new Error("Unknown event: "+e)}}},{key:"once",value:function(e,t){try{var n=this[""+c+e];n.length===this._max&&console.warn("Hitting max once handler limit for: "+e),n.push(t)}catch(t){throw new Error("Unknown event: "+e)}}},{key:"off",value:function(e,t){try{var n=""+u+e;this[n]=this[n].filter(function(e){return e!==t});var r=""+c+e;this[r]=this[r].filter(function(e){return e!==t})}catch(t){throw new Error("Unknown event: "+e)}}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];try{var o=function(e){i(function(){return e.apply(void 0,n)})},a=!0,f=!1,l=void 0;try{for(var v,s=this[""+u+e][Symbol.iterator]();!(a=(v=s.next()).done);a=!0)o(v.value)}catch(e){f=!0,l=e}finally{try{!a&&s.return&&s.return()}finally{if(f)throw l}}var y=this[""+c+e];if(y.length>0){var h=function(e){i(function(){return e.apply(void 0,n)})},b=!0,d=!1,m=void 0;try{for(var p,w=y[Symbol.iterator]();!(b=(p=w.next()).done);b=!0)h(p.value)}catch(e){d=!0,m=e}finally{try{!b&&w.return&&w.return()}finally{if(d)throw m}}this[""+c+e]=[]}}catch(t){throw new Error("Unknown event: "+e)}}}],[{key:Symbol.hasInstance,value:function(e){return void 0!==e[a]}},{key:"attach",value:function(t,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;if(void 0!==t[a])throw new Error("Already attached");var u=new e(n,i);Object.defineProperties(t,(o(r={},a,{configurable:!1,enumerable:!1,writable:!1,value:u}),o(r,"on",{configurable:!1,enumerable:!1,writable:!1,value:function(e,t){return u.on(e,t)}}),o(r,"off",{configurable:!1,enumerable:!1,writable:!1,value:function(e,t){return u.off(e,t)}}),o(r,"once",{configurable:!1,enumerable:!1,writable:!1,value:function(e,t){return u.once(e,t)}}),o(r,"emit",{configurable:!1,enumerable:!1,writable:!1,value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return u.emit.apply(u,[e].concat(n))}}),r))}},{key:"setMaxListeners",value:function(e,t){e[a]._max=t}},{key:"SYM_EVENT_EMITTER",get:function(){return a}}]),e}();e.exports=f},function(e,t,n){"use strict";var r=n(0),o=r.attach;o.EventEmitter=r,e.exports=o},function(e,t,n){"use strict";!function(t){var r=t.FutoIn||t.futoin||{};if(void 0===r.$asyncevent){var o=n(1);t.$asyncevent=o,r.$asyncevent=o,r.EventEmitter=o.EventEmitter,t.FutoIn=r,t.futoin=r}e.exports=r.$asyncevent}(window)}])}); |
@@ -1,1 +0,1 @@ | ||
!function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};n.m=t,n.c=r,n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=37)}([function(t,n,r){var e=r(17)("wks"),o=r(9),i=r(1).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(4),o=r(13);t.exports=r(5)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(12),o=r(29),i=r(16),u=Object.defineProperty;n.f=r(5)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){t.exports=!r(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(44),o=r(22);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(1),o=r(3),i=r(2),u=r(9)("src"),c=Function.toString,f=(""+c).split("toString");r(11).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var s="function"==typeof r;s&&(i(r,"name")||o(r,"name",n)),t[n]!==r&&(s&&(i(r,u)||o(r,u,t[n]?""+t[n]:f.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:o(t,n,r):(delete t[n],o(t,n,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(6);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){n.f=r(0)},function(t,n,r){var e=r(31),o=r(25);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(6);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(1),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,r){var e=r(4).f,o=r(2),i=r(0)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(1),o=r(11),i=r(20),u=r(14),c=r(4).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n){t.exports=!1},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(17)("keys"),o=r(9);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){t.exports={}},function(t,n,r){var e=r(1),o=r(11),i=r(3),u=r(8),c=r(40),f=function(t,n,r){var s,a,p,l,y=t&f.F,v=t&f.G,h=t&f.S,b=t&f.P,g=t&f.B,m=v?e:h?e[n]||(e[n]={}):(e[n]||{}).prototype,d=v?o:o[n]||(o[n]={}),S=d.prototype||(d.prototype={});v&&(r=n);for(s in r)a=!y&&m&&void 0!==m[s],p=(a?m:r)[s],l=g&&a?c(p,e):b&&"function"==typeof p?c(Function.call,p):p,m&&u(m,s,p,t&f.U),d[s]!=p&&i(d,s,l),b&&S[s]!=p&&(S[s]=p)};e.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n,r){t.exports=!r(5)&&!r(10)(function(){return 7!=Object.defineProperty(r(30)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(6),o=r(1).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(2),o=r(7),i=r(45)(!1),u=r(24)("IE_PROTO");t.exports=function(t,n){var r,c=o(t),f=0,s=[];for(r in c)r!=u&&e(c,r)&&s.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~i(s,r)||s.push(r));return s}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(12),o=r(49),i=r(25),u=r(24)("IE_PROTO"),c=function(){},f=function(){var t,n=r(30)("iframe"),e=i.length;for(n.style.display="none",r(50).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f.prototype[i[e]];return f()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=f(),void 0===n?r:o(r,n)}},function(t,n,r){var e=r(31),o=r(25).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){"use strict";var e=r(20),o=r(28),i=r(8),u=r(3),c=r(2),f=r(27),s=r(60),a=r(18),p=r(36),l=r(0)("iterator"),y=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,h,b,g,m){s(r,n,h);var d,S,x,O=function(t){if(!y&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},j=n+" Iterator",w="values"==b,_=!1,P=t.prototype,E=P[l]||P["@@iterator"]||b&&P[b],L=!y&&E||O(b),T=b?w?O("entries"):L:void 0,M="Array"==n?P.entries||E:E;if(M&&(x=p(M.call(new t)))!==Object.prototype&&x.next&&(a(x,j,!0),e||c(x,l)||u(x,l,v)),w&&E&&"values"!==E.name&&(_=!0,L=function(){return E.call(this)}),e&&!m||!y&&!_&&P[l]||u(P,l,L),f[n]=L,f[j]=v,b)if(d={values:w?L:O("values"),keys:g?L:O("keys"),entries:T},m)for(S in d)S in P||i(P,S,d[S]);else o(o.P+o.F*(y||_),n,d);return d}},function(t,n,r){var e=r(2),o=r(61),i=r(24)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){"use strict";r(38),r(57),r(66)},function(t,n,r){r(39),r(53),r(55),r(56),t.exports=r(11).Symbol},function(t,n,r){"use strict";var e=r(1),o=r(2),i=r(5),u=r(28),c=r(8),f=r(42).KEY,s=r(10),a=r(17),p=r(18),l=r(9),y=r(0),v=r(14),h=r(19),b=r(43),g=r(48),m=r(12),d=r(6),S=r(7),x=r(16),O=r(13),j=r(33),w=r(51),_=r(52),P=r(4),E=r(15),L=_.f,T=P.f,M=w.f,A=e.Symbol,k=e.JSON,F=k&&k.stringify,N=y("_hidden"),I=y("toPrimitive"),C={}.propertyIsEnumerable,D=a("symbol-registry"),G=a("symbols"),R=a("op-symbols"),V=Object.prototype,W="function"==typeof A,z=e.QObject,H=!z||!z.prototype||!z.prototype.findChild,J=i&&s(function(){return 7!=j(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=L(V,n);e&&delete V[n],T(t,n,r),e&&t!==V&&T(V,n,e)}:T,B=function(t){var n=G[t]=j(A.prototype);return n._k=t,n},K=W&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},U=function(t,n,r){return t===V&&U(R,n,r),m(t),n=x(n,!0),m(r),o(G,n)?(r.enumerable?(o(t,N)&&t[N][n]&&(t[N][n]=!1),r=j(r,{enumerable:O(0,!1)})):(o(t,N)||T(t,N,O(1,{})),t[N][n]=!0),J(t,n,r)):T(t,n,r)},Y=function(t,n){m(t);for(var r,e=b(n=S(n)),o=0,i=e.length;i>o;)U(t,r=e[o++],n[r]);return t},q=function(t,n){return void 0===n?j(t):Y(j(t),n)},Q=function(t){var n=C.call(this,t=x(t,!0));return!(this===V&&o(G,t)&&!o(R,t))&&(!(n||!o(this,t)||!o(G,t)||o(this,N)&&this[N][t])||n)},X=function(t,n){if(t=S(t),n=x(n,!0),t!==V||!o(G,n)||o(R,n)){var r=L(t,n);return!r||!o(G,n)||o(t,N)&&t[N][n]||(r.enumerable=!0),r}},Z=function(t){for(var n,r=M(S(t)),e=[],i=0;r.length>i;)o(G,n=r[i++])||n==N||n==f||e.push(n);return e},$=function(t){for(var n,r=t===V,e=M(r?R:S(t)),i=[],u=0;e.length>u;)!o(G,n=e[u++])||r&&!o(V,n)||i.push(G[n]);return i};W||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),n=function(r){this===V&&n.call(R,r),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),J(this,t,O(1,r))};return i&&H&&J(V,t,{configurable:!0,set:n}),B(t)},c(A.prototype,"toString",function(){return this._k}),_.f=X,P.f=U,r(34).f=w.f=Z,r(26).f=Q,r(32).f=$,i&&!r(20)&&c(V,"propertyIsEnumerable",Q,!0),v.f=function(t){return B(y(t))}),u(u.G+u.W+u.F*!W,{Symbol:A});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;tt.length>nt;)y(tt[nt++]);for(var rt=E(y.store),et=0;rt.length>et;)h(rt[et++]);u(u.S+u.F*!W,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=A(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var n in D)if(D[n]===t)return n},useSetter:function(){H=!0},useSimple:function(){H=!1}}),u(u.S+u.F*!W,"Object",{create:q,defineProperty:U,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:$}),k&&u(u.S+u.F*(!W||s(function(){var t=A();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(d(n)||void 0!==t)&&!K(t))return g(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!K(n))return n}),e[1]=n,F.apply(k,e)}}),A.prototype[I]||r(3)(A.prototype,I,A.prototype.valueOf),p(A,"Symbol"),p(Math,"Math",!0),p(e.JSON,"JSON",!0)},function(t,n,r){var e=r(41);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(9)("meta"),o=r(6),i=r(2),u=r(4).f,c=0,f=Object.isExtensible||function(){return!0},s=!r(10)(function(){return f(Object.preventExtensions({}))}),a=function(t){u(t,e,{value:{i:"O"+ ++c,w:{}}})},p=function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!f(t))return"F";if(!n)return"E";a(t)}return t[e].i},l=function(t,n){if(!i(t,e)){if(!f(t))return!0;if(!n)return!1;a(t)}return t[e].w},y=function(t){return s&&v.NEED&&f(t)&&!i(t,e)&&a(t),t},v=t.exports={KEY:e,NEED:!1,fastKey:p,getWeak:l,onFreeze:y}},function(t,n,r){var e=r(15),o=r(32),i=r(26);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var u,c=r(t),f=i.f,s=0;c.length>s;)f.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,r){var e=r(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(7),o=r(46),i=r(47);t.exports=function(t){return function(n,r,u){var c,f=e(n),s=o(f.length),a=i(u,s);if(t&&r!=r){for(;s>a;)if((c=f[a++])!=c)return!0}else for(;s>a;a++)if((t||a in f)&&f[a]===r)return t||a||0;return!t&&-1}}},function(t,n,r){var e=r(23),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(23),o=Math.max,i=Math.min;t.exports=function(t,n){return t=e(t),t<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(21);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(4),o=r(12),i=r(15);t.exports=r(5)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},function(t,n,r){var e=r(1).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(7),o=r(34).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?c(t):o(e(t))}},function(t,n,r){var e=r(26),o=r(13),i=r(7),u=r(16),c=r(2),f=r(29),s=Object.getOwnPropertyDescriptor;n.f=r(5)?s:function(t,n){if(t=i(t),n=u(n,!0),f)try{return s(t,n)}catch(t){}if(c(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){"use strict";var e=r(54),o={};o[r(0)("toStringTag")]="z",o+""!="[object z]"&&r(8)(Object.prototype,"toString",function(){return"[object "+e(this)+"]"},!0)},function(t,n,r){var e=r(21),o=r(0)("toStringTag"),i="Arguments"==e(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=u(n=Object(t),o))?r:i?e(n):"Object"==(c=e(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,r){r(19)("asyncIterator")},function(t,n,r){r(19)("observable")},function(t,n,r){r(58),r(62),t.exports=r(14).f("iterator")},function(t,n,r){"use strict";var e=r(59)(!0);r(35)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n,r){var e=r(23),o=r(22);t.exports=function(t){return function(n,r){var i,u,c=String(o(n)),f=e(r),s=c.length;return f<0||f>=s?t?"":void 0:(i=c.charCodeAt(f),i<55296||i>56319||f+1===s||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):u-56320+(i-55296<<10)+65536)}}},function(t,n,r){"use strict";var e=r(33),o=r(13),i=r(18),u={};r(3)(u,r(0)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(22);t.exports=function(t){return Object(e(t))}},function(t,n,r){for(var e=r(63),o=r(15),i=r(8),u=r(1),c=r(3),f=r(27),s=r(0),a=s("iterator"),p=s("toStringTag"),l=f.Array,y={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(y),h=0;h<v.length;h++){var b,g=v[h],m=y[g],d=u[g],S=d&&d.prototype;if(S&&(S[a]||c(S,a,l),S[p]||c(S,p,g),f[g]=l,m))for(b in e)S[b]||i(S,b,e[b],!0)}},function(t,n,r){"use strict";var e=r(64),o=r(65),i=r(27),u=r(7);t.exports=r(35)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,r):"values"==n?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n,r){var e=r(0)("unscopables"),o=Array.prototype;void 0==o[e]&&r(3)(o,e,{}),t.exports=function(t){o[e][t]=!0}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){r(67),t.exports=r(14).f("hasInstance")},function(t,n,r){"use strict";var e=r(6),o=r(36),i=r(0)("hasInstance"),u=Function.prototype;i in u||r(4).f(u,i,{value:function(t){if("function"!=typeof this||!e(t))return!1;if(!e(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})}]); | ||
!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=67)}([function(t,n,r){var e=r(26)("wks"),o=r(8),i=r(1).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(15),o=r(35),i=r(27),u=Object.defineProperty;n.f=r(7)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(2),o=r(14);t.exports=r(7)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(60),o=r(22);t.exports=function(t){return e(o(t))}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){t.exports=!r(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(1),o=r(3),i=r(4),u=r(8)("src"),c=Function.toString,f=(""+c).split("toString");r(10).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var s="function"==typeof r;s&&(i(r,"name")||o(r,"name",n)),t[n]!==r&&(s&&(i(r,u)||o(r,u,t[n]?""+t[n]:f.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:o(t,n,r):(delete t[n],o(t,n,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,n){var r=t.exports={version:"2.5.6"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(33),o=r(19);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){n.f=r(0)},function(t,n){t.exports=!1},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(6);t.exports=function(t){if(!e(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){t.exports={}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(26)("keys"),o=r(8);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(1),o=r(10),i=r(13),u=r(12),c=r(2).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,r){var e=r(2).f,o=r(4),i=r(0)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(10),o=r(1),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:e.version,mode:r(13)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(6);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(4),o=r(43),i=r(20)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){"use strict";var e=r(13),o=r(36),i=r(9),u=r(3),c=r(17),f=r(44),s=r(25),a=r(28),p=r(0)("iterator"),l=!([].keys&&"next"in[].keys()),y=function(){return this};t.exports=function(t,n,r,v,h,b,g){f(r,n,v);var d,m,S,x=function(t){if(!l&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=n+" Iterator",j="values"==h,w=!1,_=t.prototype,P=_[p]||_["@@iterator"]||h&&_[h],E=P||x(h),L=h?j?x("entries"):E:void 0,T="Array"==n&&_.entries||P;if(T&&(S=a(T.call(new t)))!==Object.prototype&&S.next&&(s(S,O,!0),e||"function"==typeof S[p]||u(S,p,y)),j&&P&&"values"!==P.name&&(w=!0,E=function(){return P.call(this)}),e&&!g||!l&&!w&&_[p]||u(_,p,E),c[n]=E,c[O]=y,h)if(d={values:j?E:x("values"),keys:b?E:x("keys"),entries:L},g)for(m in d)m in _||i(_,m,d[m]);else o(o.P+o.F*(l||w),n,d);return d}},function(t,n,r){var e=r(33),o=r(19).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(15),o=r(55),i=r(19),u=r(20)("IE_PROTO"),c=function(){},f=function(){var t,n=r(34)("iframe"),e=i.length;for(n.style.display="none",r(54).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f.prototype[i[e]];return f()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=f(),void 0===n?r:o(r,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(4),o=r(5),i=r(59)(!1),u=r(20)("IE_PROTO");t.exports=function(t,n){var r,c=o(t),f=0,s=[];for(r in c)r!=u&&e(c,r)&&s.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~i(s,r)||s.push(r));return s}},function(t,n,r){var e=r(6),o=r(1).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){t.exports=!r(7)&&!r(16)(function(){return 7!=Object.defineProperty(r(34)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(1),o=r(10),i=r(3),u=r(9),c=r(64),f=function(t,n,r){var s,a,p,l,y=t&f.F,v=t&f.G,h=t&f.S,b=t&f.P,g=t&f.B,d=v?e:h?e[n]||(e[n]={}):(e[n]||{}).prototype,m=v?o:o[n]||(o[n]={}),S=m.prototype||(m.prototype={});for(s in v&&(r=n),r)p=((a=!y&&d&&void 0!==d[s])?d:r)[s],l=g&&a?c(p,e):b&&"function"==typeof p?c(Function.call,p):p,d&&u(d,s,p,t&f.U),m[s]!=p&&i(m,s,l),b&&S[s]!=p&&(S[s]=p)};e.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n,r){"use strict";var e=r(6),o=r(28),i=r(0)("hasInstance"),u=Function.prototype;i in u||r(2).f(u,i,{value:function(t){if("function"!=typeof this||!e(t))return!1;if(!e(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,r){r(37),t.exports=r(12).f("hasInstance")},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){var e=r(0)("unscopables"),o=Array.prototype;void 0==o[e]&&r(3)(o,e,{}),t.exports=function(t){o[e][t]=!0}},function(t,n,r){"use strict";var e=r(40),o=r(39),i=r(17),u=r(5);t.exports=r(29)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n,r){for(var e=r(41),o=r(11),i=r(9),u=r(1),c=r(3),f=r(17),s=r(0),a=s("iterator"),p=s("toStringTag"),l=f.Array,y={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=o(y),h=0;h<v.length;h++){var b,g=v[h],d=y[g],m=u[g],S=m&&m.prototype;if(S&&(S[a]||c(S,a,l),S[p]||c(S,p,g),f[g]=l,d))for(b in e)S[b]||i(S,b,e[b],!0)}},function(t,n,r){var e=r(22);t.exports=function(t){return Object(e(t))}},function(t,n,r){"use strict";var e=r(31),o=r(14),i=r(25),u={};r(3)(u,r(0)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(21),o=r(22);t.exports=function(t){return function(n,r){var i,u,c=String(o(n)),f=e(r),s=c.length;return f<0||f>=s?t?"":void 0:(i=c.charCodeAt(f))<55296||i>56319||f+1===s||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){"use strict";var e=r(45)(!0);r(29)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n,r){r(46),r(42),t.exports=r(12).f("iterator")},function(t,n,r){r(24)("observable")},function(t,n,r){r(24)("asyncIterator")},function(t,n,r){var e=r(23),o=r(0)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){"use strict";var e=r(50),o={};o[r(0)("toStringTag")]="z",o+""!="[object z]"&&r(9)(Object.prototype,"toString",function(){return"[object "+e(this)+"]"},!0)},function(t,n,r){var e=r(18),o=r(14),i=r(5),u=r(27),c=r(4),f=r(35),s=Object.getOwnPropertyDescriptor;n.f=r(7)?s:function(t,n){if(t=i(t),n=u(n,!0),f)try{return s(t,n)}catch(t){}if(c(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(5),o=r(30).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(e(t))}},function(t,n,r){var e=r(1).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(2),o=r(15),i=r(11);t.exports=r(7)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},function(t,n,r){var e=r(23);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(21),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(21),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(5),o=r(58),i=r(57);t.exports=function(t){return function(n,r,u){var c,f=e(n),s=o(f.length),a=i(u,s);if(t&&r!=r){for(;s>a;)if((c=f[a++])!=c)return!0}else for(;s>a;a++)if((t||a in f)&&f[a]===r)return t||a||0;return!t&&-1}}},function(t,n,r){var e=r(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(11),o=r(32),i=r(18);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var u,c=r(t),f=i.f,s=0;c.length>s;)f.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,r){var e=r(8)("meta"),o=r(6),i=r(4),u=r(2).f,c=0,f=Object.isExtensible||function(){return!0},s=!r(16)(function(){return f(Object.preventExtensions({}))}),a=function(t){u(t,e,{value:{i:"O"+ ++c,w:{}}})},p=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!f(t))return"F";if(!n)return"E";a(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!f(t))return!0;if(!n)return!1;a(t)}return t[e].w},onFreeze:function(t){return s&&p.NEED&&f(t)&&!i(t,e)&&a(t),t}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(63);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){"use strict";var e=r(1),o=r(4),i=r(7),u=r(36),c=r(9),f=r(62).KEY,s=r(16),a=r(26),p=r(25),l=r(8),y=r(0),v=r(12),h=r(24),b=r(61),g=r(56),d=r(15),m=r(6),S=r(5),x=r(27),O=r(14),j=r(31),w=r(53),_=r(52),P=r(2),E=r(11),L=_.f,T=P.f,M=w.f,k=e.Symbol,A=e.JSON,F=A&&A.stringify,N=y("_hidden"),I=y("toPrimitive"),C={}.propertyIsEnumerable,D=a("symbol-registry"),G=a("symbols"),R=a("op-symbols"),V=Object.prototype,z="function"==typeof k,W=e.QObject,H=!W||!W.prototype||!W.prototype.findChild,J=i&&s(function(){return 7!=j(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=L(V,n);e&&delete V[n],T(t,n,r),e&&t!==V&&T(V,n,e)}:T,B=function(t){var n=G[t]=j(k.prototype);return n._k=t,n},K=z&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},U=function(t,n,r){return t===V&&U(R,n,r),d(t),n=x(n,!0),d(r),o(G,n)?(r.enumerable?(o(t,N)&&t[N][n]&&(t[N][n]=!1),r=j(r,{enumerable:O(0,!1)})):(o(t,N)||T(t,N,O(1,{})),t[N][n]=!0),J(t,n,r)):T(t,n,r)},Y=function(t,n){d(t);for(var r,e=b(n=S(n)),o=0,i=e.length;i>o;)U(t,r=e[o++],n[r]);return t},q=function(t){var n=C.call(this,t=x(t,!0));return!(this===V&&o(G,t)&&!o(R,t))&&(!(n||!o(this,t)||!o(G,t)||o(this,N)&&this[N][t])||n)},Q=function(t,n){if(t=S(t),n=x(n,!0),t!==V||!o(G,n)||o(R,n)){var r=L(t,n);return!r||!o(G,n)||o(t,N)&&t[N][n]||(r.enumerable=!0),r}},X=function(t){for(var n,r=M(S(t)),e=[],i=0;r.length>i;)o(G,n=r[i++])||n==N||n==f||e.push(n);return e},Z=function(t){for(var n,r=t===V,e=M(r?R:S(t)),i=[],u=0;e.length>u;)!o(G,n=e[u++])||r&&!o(V,n)||i.push(G[n]);return i};z||(c((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),n=function(r){this===V&&n.call(R,r),o(this,N)&&o(this[N],t)&&(this[N][t]=!1),J(this,t,O(1,r))};return i&&H&&J(V,t,{configurable:!0,set:n}),B(t)}).prototype,"toString",function(){return this._k}),_.f=Q,P.f=U,r(30).f=w.f=X,r(18).f=q,r(32).f=Z,i&&!r(13)&&c(V,"propertyIsEnumerable",q,!0),v.f=function(t){return B(y(t))}),u(u.G+u.W+u.F*!z,{Symbol:k});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)y($[tt++]);for(var nt=E(y.store),rt=0;nt.length>rt;)h(nt[rt++]);u(u.S+u.F*!z,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=k(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var n in D)if(D[n]===t)return n},useSetter:function(){H=!0},useSimple:function(){H=!1}}),u(u.S+u.F*!z,"Object",{create:function(t,n){return void 0===n?j(t):Y(j(t),n)},defineProperty:U,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),A&&u(u.S+u.F*(!z||s(function(){var t=k();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(m(n)||void 0!==t)&&!K(t))return g(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!K(n))return n}),e[1]=n,F.apply(A,e)}}),k.prototype[I]||r(3)(k.prototype,I,k.prototype.valueOf),p(k,"Symbol"),p(Math,"Math",!0),p(e.JSON,"JSON",!0)},function(t,n,r){r(65),r(51),r(49),r(48),t.exports=r(10).Symbol},function(t,n,r){"use strict";r(66),r(47),r(38)}]); |
'use strict'; | ||
// ensure it works with frozen one | ||
Object.freeze(Object.prototype); | ||
// | ||
var $asyncevent = void 0; | ||
@@ -6,0 +9,0 @@ var expect = void 0; |
{ | ||
"name": "futoin-asyncevent", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "FutoIn AsyncEvent - FTN15 compliant event emitter", | ||
@@ -41,22 +41,22 @@ "main": "lib/asyncevent.js", | ||
"devDependencies": { | ||
"babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.2", | ||
"babel-core": "^6.26.3", | ||
"babel-loader": "^7.1.4", | ||
"babel-plugin-transform-object-assign": "^6.22.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-env": "^1.7.0", | ||
"chai": "^4.1.2", | ||
"core-js": "^2.5.3", | ||
"eslint": "^4.14.0", | ||
"grunt": "^1.0.1", | ||
"core-js": "^2.5.6", | ||
"eslint": "^4.19.1", | ||
"grunt": "^1.0.2", | ||
"grunt-babel": "^7.0.0", | ||
"grunt-contrib-connect": "^1.0.2", | ||
"grunt-eslint": "^20.1.0", | ||
"grunt-jsdoc-to-markdown": "^3.0.0", | ||
"grunt-jsdoc-to-markdown": "^4.0.0", | ||
"grunt-mocha-istanbul": "^5.0.2", | ||
"grunt-mocha-phantomjs": "^4.0.0", | ||
"grunt-text-replace": "^0.4.0", | ||
"grunt-webpack": "^3.0.2", | ||
"grunt-webpack": "^3.1.1", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^4.0.1", | ||
"webpack": "^3.10.0" | ||
"mocha": "^5.1.1", | ||
"webpack": "^4.8.1" | ||
} | ||
} |
@@ -39,3 +39,3 @@ | ||
- Very fast lookup | ||
- `on()`, `off()`, `once()` and `emit()` are defined as properties which propxy call | ||
- `on()`, `off()`, `once()` and `emit()` are defined as properties which proxy call | ||
3. At the moment, `emit()` uses ES6 spread oprerator (e.g. `...args`): | ||
@@ -49,3 +49,3 @@ - the approach which is around 4 times faster in Node.js compared to old ES5 browsers | ||
- `off()` call uses `array#filter()` | ||
- the same handler can be added more then once, but it gets removed on first `off()` call | ||
- the same handler can be added more than once, but it gets removed on first `off()` call | ||
- `off()` removes handler both from "on" and "once" arrays | ||
@@ -52,0 +52,0 @@ 5. Async event dispatch considerations: |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120702
934