Socket
Socket
Sign inDemoInstall

marsdb

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marsdb - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

dist/debounce.js

2

build/marsdb.polyfills.js

@@ -1,1 +0,1 @@

!function t(e,r,n){function o(s,c){if(!r[s]){if(!e[s]){var u="function"==typeof require&&require;if(!c&&u)return u(s,!0);if(i)return i(s,!0);var a=new Error("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var f=r[s]={exports:{}};e[s][0].call(f.exports,function(t){var r=e[s][1][t];return o(r?r:t)},f,f.exports,t,e,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.map"),e.exports=t("../modules/_core").Map},{"../modules/_core":14,"../modules/es6.map":60,"../modules/es6.object.to-string":61,"../modules/es6.string.iterator":64,"../modules/web.dom.iterable":66}],2:[function(t,e,r){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.promise"),e.exports=t("../modules/_core").Promise},{"../modules/_core":14,"../modules/es6.object.to-string":61,"../modules/es6.promise":62,"../modules/es6.string.iterator":64,"../modules/web.dom.iterable":66}],3:[function(t,e,r){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.set"),e.exports=t("../modules/_core").Set},{"../modules/_core":14,"../modules/es6.object.to-string":61,"../modules/es6.set":63,"../modules/es6.string.iterator":64,"../modules/web.dom.iterable":66}],4:[function(t,e,r){t("../modules/es6.symbol"),t("../modules/es6.object.to-string"),e.exports=t("../modules/_core").Symbol},{"../modules/_core":14,"../modules/es6.object.to-string":61,"../modules/es6.symbol":65}],5:[function(t,e,r){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},{}],6:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],7:[function(t,e,r){var n=t("./_wks")("unscopables"),o=Array.prototype;void 0==o[n]&&t("./_hide")(o,n,{}),e.exports=function(t){o[n][t]=!0}},{"./_hide":26,"./_wks":57}],8:[function(t,e,r){e.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},{}],9:[function(t,e,r){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":32}],10:[function(t,e,r){var n=t("./_cof"),o=t("./_wks")("toStringTag"),i="Arguments"==n(function(){return arguments}());e.exports=function(t){var e,r,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=(e=Object(t))[o])?r:i?n(e):"Object"==(s=n(e))&&"function"==typeof e.callee?"Arguments":s}},{"./_cof":11,"./_wks":57}],11:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],12:[function(t,e,r){"use strict";var n=t("./_"),o=(t("./_hide"),t("./_redefine-all")),i=t("./_ctx"),s=t("./_an-instance"),c=t("./_defined"),u=t("./_for-of"),a=t("./_iter-define"),f=t("./_iter-step"),_=t("./_set-species"),l=t("./_descriptors"),p=t("./_meta").fastKey,d=l?"_s":"size",h=function(t,e){var r,n=p(e);if("F"!==n)return t._i[n];for(r=t._f;r;r=r.n)if(r.k==e)return r};e.exports={getConstructor:function(t,e,r,a){var f=t(function(t,o){s(t,f,e,"_i"),t._i=n.create(null),t._f=void 0,t._l=void 0,t[d]=0,void 0!=o&&u(o,r,t[a],t)});return o(f.prototype,{clear:function(){for(var t=this,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=this,r=h(e,t);if(r){var n=r.n,o=r.p;delete e._i[r.i],r.r=!0,o&&(o.n=n),n&&(n.p=o),e._f==r&&(e._f=n),e._l==r&&(e._l=o),e[d]--}return!!r},forEach:function(t){s(this,f,"forEach");for(var e,r=i(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!!h(this,t)}}),l&&n.setDesc(f.prototype,"size",{get:function(){return c(this[d])}}),f},def:function(t,e,r){var n,o,i=h(t,e);return i?i.v=r:(t._l=i={i:o=p(e,!0),k:e,v:r,p:n=t._l,n:void 0,r:!1},t._f||(t._f=i),n&&(n.n=i),t[d]++,"F"!==o&&(t._i[o]=i)),t},getEntry:h,setStrong:function(t,e,r){a(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,r=t._l;r&&r.r;)r=r.p;return t._t&&(t._l=r=r?r.n:t._t._f)?"keys"==e?f(0,r.k):"values"==e?f(0,r.v):f(0,[r.k,r.v]):(t._t=void 0,f(1))},r?"entries":"values",!r,!0),_(e)}}},{"./_":5,"./_an-instance":8,"./_ctx":15,"./_defined":16,"./_descriptors":17,"./_for-of":22,"./_hide":26,"./_iter-define":35,"./_iter-step":37,"./_meta":41,"./_redefine-all":44,"./_set-species":47}],13:[function(t,e,r){"use strict";var n=t("./_global"),o=t("./_export"),i=t("./_redefine"),s=t("./_redefine-all"),c=t("./_meta"),u=t("./_for-of"),a=t("./_an-instance"),f=t("./_is-object"),_=t("./_fails"),l=t("./_iter-detect"),p=t("./_set-to-string-tag");e.exports=function(t,e,r,d,h,v){var g=n[t],m=g,y=h?"set":"add",b=m&&m.prototype,w={},x=function(t){var e=b[t];i(b,t,"delete"==t?function(t){return v&&!f(t)?!1:e.call(this,0===t?0:t)}:"has"==t?function(t){return v&&!f(t)?!1:e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,r){return e.call(this,0===t?0:t,r),this})};if("function"==typeof m&&(v||b.forEach&&!_(function(){(new m).entries().next()}))){var j=new m,k=j[y](v?{}:-0,1)!=j,S=_(function(){j.has(1)}),O=l(function(t){new m(t)}),E=!v&&_(function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)});O||(m=e(function(e,r){a(e,m,t);var n=new g;return void 0!=r&&u(r,h,n[y],n),n}),m.prototype=b,b.constructor=m),(S||E)&&(x("delete"),x("has"),h&&x("get")),(E||k)&&x(y),v&&b.clear&&delete b.clear}else m=d.getConstructor(e,t,h,y),s(m.prototype,r),c.NEED=!0;return p(m,t),w[t]=m,o(o.G+o.W+o.F*(m!=g),w),v||d.setStrong(m,t,h),m}},{"./_an-instance":8,"./_export":20,"./_fails":21,"./_for-of":22,"./_global":24,"./_is-object":32,"./_iter-detect":36,"./_meta":41,"./_redefine":45,"./_redefine-all":44,"./_set-to-string-tag":48}],14:[function(t,e,r){var n=e.exports={version:"2.0.0"};"number"==typeof __e&&(__e=n)},{}],15:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":6}],16:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],17:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":21}],18:[function(t,e,r){var n=t("./_is-object"),o=t("./_global").document,i=n(o)&&n(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./_global":24,"./_is-object":32}],19:[function(t,e,r){var n=t("./_");e.exports=function(t){var e=n.getKeys(t),r=n.getSymbols;if(r)for(var o,i=r(t),s=n.isEnum,c=0;i.length>c;)s.call(t,o=i[c++])&&e.push(o);return e}},{"./_":5}],20:[function(t,e,r){var n=t("./_global"),o=t("./_core"),i=t("./_hide"),s=t("./_redefine"),c=t("./_ctx"),u="prototype",a=function(t,e,r){var f,_,l,p,d=t&a.F,h=t&a.G,v=t&a.S,g=t&a.P,m=t&a.B,y=h?n:v?n[e]||(n[e]={}):(n[e]||{})[u],b=h?o:o[e]||(o[e]={}),w=b[u]||(b[u]={});h&&(r=e);for(f in r)_=!d&&y&&void 0!==y[f],l=(_?y:r)[f],p=m&&_?c(l,n):g&&"function"==typeof l?c(Function.call,l):l,y&&!_&&s(y,f,l,t&a.U),b[f]!=l&&i(b,f,p),g&&w[f]!=l&&(w[f]=l)};n.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,e.exports=a},{"./_core":14,"./_ctx":15,"./_global":24,"./_hide":26,"./_redefine":45}],21:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(e){return!0}}},{}],22:[function(t,e,r){var n=t("./_ctx"),o=t("./_iter-call"),i=t("./_is-array-iter"),s=t("./_an-object"),c=t("./_to-length"),u=t("./core.get-iterator-method");e.exports=function(t,e,r,a){var f,_,l,p=u(t),d=n(r,a,e?2:1),h=0;if("function"!=typeof p)throw TypeError(t+" is not iterable!");if(i(p))for(f=c(t.length);f>h;h++)e?d(s(_=t[h])[0],_[1]):d(t[h]);else for(l=p.call(t);!(_=l.next()).done;)o(l,d,_.value,e)}},{"./_an-object":9,"./_ctx":15,"./_is-array-iter":30,"./_iter-call":33,"./_to-length":55,"./core.get-iterator-method":58}],23:[function(t,e,r){var n=t("./_to-iobject"),o=t("./_").getNames,i={}.toString,s="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(e){return s.slice()}};e.exports.get=function(t){return s&&"[object Window]"==i.call(t)?c(t):o(n(t))}},{"./_":5,"./_to-iobject":54}],24:[function(t,e,r){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],25:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],26:[function(t,e,r){var n=t("./_"),o=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.setDesc(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_":5,"./_descriptors":17,"./_property-desc":43}],27:[function(t,e,r){e.exports=t("./_global").document&&document.documentElement},{"./_global":24}],28:[function(t,e,r){e.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},{}],29:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":11}],30:[function(t,e,r){var n=t("./_iterators"),o=t("./_wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},{"./_iterators":38,"./_wks":57}],31:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":11}],32:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],33:[function(t,e,r){var n=t("./_an-object");e.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(i){var s=t["return"];throw void 0!==s&&n(s.call(t)),i}}},{"./_an-object":9}],34:[function(t,e,r){"use strict";var n=t("./_"),o=t("./_property-desc"),i=t("./_set-to-string-tag"),s={};t("./_hide")(s,t("./_wks")("iterator"),function(){return this}),e.exports=function(t,e,r){t.prototype=n.create(s,{next:o(1,r)}),i(t,e+" Iterator")}},{"./_":5,"./_hide":26,"./_property-desc":43,"./_set-to-string-tag":48,"./_wks":57}],35:[function(t,e,r){"use strict";var n=t("./_library"),o=t("./_export"),i=t("./_redefine"),s=t("./_hide"),c=t("./_has"),u=t("./_iterators"),a=t("./_iter-create"),f=t("./_set-to-string-tag"),_=t("./_").getProto,l=t("./_wks")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",v="values",g=function(){return this};e.exports=function(t,e,r,m,y,b,w){a(r,e,m);var x,j,k,S=function(t){if(!p&&t in D)return D[t];switch(t){case h:return function(){return new r(this,t)};case v:return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=e+" Iterator",E=y==v,P=!1,D=t.prototype,F=D[l]||D[d]||y&&D[y],M=F||S(y),N=y?E?S("entries"):M:void 0,A="Array"==e?D.entries||F:F;if(A&&(k=_(A.call(new t)),k!==Object.prototype&&(f(k,O,!0),n||c(k,l)||s(k,l,g))),E&&F&&F.name!==v&&(P=!0,M=function(){return F.call(this)}),n&&!w||!p&&!P&&D[l]||s(D,l,M),u[e]=M,u[O]=g,y)if(x={values:E?M:S(v),keys:b?M:S(h),entries:N},w)for(j in x)j in D||i(D,j,x[j]);else o(o.P+o.F*(p||P),e,x);return x}},{"./_":5,"./_export":20,"./_has":25,"./_hide":26,"./_iter-create":34,"./_iterators":38,"./_library":40,"./_redefine":45,"./_set-to-string-tag":48,"./_wks":57}],36:[function(t,e,r){var n=t("./_wks")("iterator"),o=!1;try{var i=[7][n]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(s){}e.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],s=i[n]();s.next=function(){r=!0},i[n]=function(){return s},t(i)}catch(c){}return r}},{"./_wks":57}],37:[function(t,e,r){e.exports=function(t,e){return{value:e,done:!!t}}},{}],38:[function(t,e,r){e.exports={}},{}],39:[function(t,e,r){var n=t("./_"),o=t("./_to-iobject");e.exports=function(t,e){for(var r,i=o(t),s=n.getKeys(i),c=s.length,u=0;c>u;)if(i[r=s[u++]]===e)return r}},{"./_":5,"./_to-iobject":54}],40:[function(t,e,r){e.exports=!1},{}],41:[function(t,e,r){var n=t("./_uid")("meta"),o=t("./_is-object"),i=t("./_has"),s=t("./_").setDesc,c=0,u=Object.isExtensible||function(){return!0},a=!t("./_fails")(function(){return u(Object.preventExtensions({}))}),f=function(t){s(t,n,{value:{i:"O"+ ++c,w:{}}})},_=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[n].i},l=function(t,e){if(!i(t,n)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[n].w},p=function(t){return a&&d.NEED&&u(t)&&!i(t,n)&&f(t),t},d=e.exports={KEY:n,NEED:!1,fastKey:_,getWeak:l,onFreeze:p}},{"./_":5,"./_fails":21,"./_has":25,"./_is-object":32,"./_uid":56}],42:[function(t,e,r){var n,o,i,s=t("./_global"),c=t("./_task").set,u=s.MutationObserver||s.WebKitMutationObserver,a=s.process,f=s.Promise,_="process"==t("./_cof")(a),l=function(){var t,e,r;for(_&&(t=a.domain)&&(a.domain=null,t.exit());n;)e=n.domain,r=n.fn,e&&e.enter(),r(),e&&e.exit(),n=n.next;o=void 0,t&&t.enter()};if(_)i=function(){a.nextTick(l)};else if(u){var p=1,d=document.createTextNode("");new u(l).observe(d,{characterData:!0}),i=function(){d.data=p=-p}}else i=f&&f.resolve?function(){f.resolve().then(l)}:function(){c.call(s,l)};e.exports=function(t){var e={fn:t,next:void 0,domain:_&&a.domain};o&&(o.next=e),n||(n=e,i()),o=e}},{"./_cof":11,"./_global":24,"./_task":52}],43:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],44:[function(t,e,r){var n=t("./_redefine");e.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},{"./_redefine":45}],45:[function(t,e,r){var n=t("./_global"),o=t("./_hide"),i=t("./_uid")("src"),s="toString",c=Function[s],u=(""+c).split(s);t("./_core").inspectSource=function(t){return c.call(t)},(e.exports=function(t,e,r,s){"function"==typeof r&&(r.hasOwnProperty(i)||o(r,i,t[e]?""+t[e]:u.join(String(e))),r.hasOwnProperty("name")||o(r,"name",e)),t===n?t[e]=r:s?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r))})(Function.prototype,s,function(){return"function"==typeof this&&this[i]||c.call(this)})},{"./_core":14,"./_global":24,"./_hide":26,"./_uid":56}],46:[function(t,e,r){var n=t("./_").getDesc,o=t("./_is-object"),i=t("./_an-object"),s=function(t,e){if(i(t),!o(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,r,o){try{o=t("./_ctx")(Function.call,n(Object.prototype,"__proto__").set,2),o(e,[]),r=!(e instanceof Array)}catch(i){r=!0}return function(t,e){return s(t,e),r?t.__proto__=e:o(t,e),t}}({},!1):void 0),check:s}},{"./_":5,"./_an-object":9,"./_ctx":15,"./_is-object":32}],47:[function(t,e,r){"use strict";var n=t("./_global"),o=t("./_"),i=t("./_descriptors"),s=t("./_wks")("species");e.exports=function(t){var e=n[t];i&&e&&!e[s]&&o.setDesc(e,s,{configurable:!0,get:function(){return this}})}},{"./_":5,"./_descriptors":17,"./_global":24,"./_wks":57}],48:[function(t,e,r){var n=t("./_").setDesc,o=t("./_has"),i=t("./_wks")("toStringTag");e.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},{"./_":5,"./_has":25,"./_wks":57}],49:[function(t,e,r){var n=t("./_global"),o="__core-js_shared__",i=n[o]||(n[o]={});e.exports=function(t){return i[t]||(i[t]={})}},{"./_global":24}],50:[function(t,e,r){var n=t("./_an-object"),o=t("./_a-function"),i=t("./_wks")("species");e.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||void 0==(r=n(s)[i])?e:o(r)}},{"./_a-function":6,"./_an-object":9,"./_wks":57}],51:[function(t,e,r){var n=t("./_to-integer"),o=t("./_defined");e.exports=function(t){return function(e,r){var i,s,c=String(o(e)),u=n(r),a=c.length;return 0>u||u>=a?t?"":void 0:(i=c.charCodeAt(u),55296>i||i>56319||u+1===a||(s=c.charCodeAt(u+1))<56320||s>57343?t?c.charAt(u):i:t?c.slice(u,u+2):(i-55296<<10)+(s-56320)+65536)}}},{"./_defined":16,"./_to-integer":53}],52:[function(t,e,r){var n,o,i,s=t("./_ctx"),c=t("./_invoke"),u=t("./_html"),a=t("./_dom-create"),f=t("./_global"),_=f.process,l=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,h=0,v={},g="onreadystatechange",m=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){m.call(t.data)};l&&p||(l=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return v[++h]=function(){c("function"==typeof t?t:Function(t),e)},n(h),h},p=function(t){delete v[t]},"process"==t("./_cof")(_)?n=function(t){_.nextTick(s(m,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=y,n=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",y,!1)):n=g in a("script")?function(t){u.appendChild(a("script"))[g]=function(){u.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),e.exports={set:l,clear:p}},{"./_cof":11,"./_ctx":15,"./_dom-create":18,"./_global":24,"./_html":27,"./_invoke":28}],53:[function(t,e,r){var n=Math.ceil,o=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?o:n)(t)}},{}],54:[function(t,e,r){var n=t("./_iobject"),o=t("./_defined");e.exports=function(t){return n(o(t))}},{"./_defined":16,"./_iobject":29}],55:[function(t,e,r){var n=t("./_to-integer"),o=Math.min;e.exports=function(t){return t>0?o(n(t),9007199254740991):0}},{"./_to-integer":53}],56:[function(t,e,r){var n=0,o=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+o).toString(36))}},{}],57:[function(t,e,r){var n=t("./_shared")("wks"),o=t("./_uid"),i=t("./_global").Symbol,s="function"==typeof i;e.exports=function(t){return n[t]||(n[t]=s&&i[t]||(s?i:o)("Symbol."+t))}},{"./_global":24,"./_shared":49,"./_uid":56}],58:[function(t,e,r){var n=t("./_classof"),o=t("./_wks")("iterator"),i=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){return void 0!=t?t[o]||t["@@iterator"]||i[n(t)]:void 0}},{"./_classof":10,"./_core":14,"./_iterators":38,"./_wks":57}],59:[function(t,e,r){"use strict";var n=t("./_add-to-unscopables"),o=t("./_iter-step"),i=t("./_iterators"),s=t("./_to-iobject");e.exports=t("./_iter-define")(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":7,"./_iter-define":35,"./_iter-step":37,"./_iterators":38,"./_to-iobject":54}],60:[function(t,e,r){"use strict";var n=t("./_collection-strong");t("./_collection")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=n.getEntry(this,t);return e&&e.v},set:function(t,e){return n.def(this,0===t?0:t,e)}},n,!0)},{"./_collection":13,"./_collection-strong":12}],61:[function(t,e,r){"use strict";var n=t("./_classof"),o={};o[t("./_wks")("toStringTag")]="z",o+""!="[object z]"&&t("./_redefine")(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},{"./_classof":10,"./_redefine":45,"./_wks":57}],62:[function(t,e,r){"use strict";var n,o,i,s=t("./_"),c=(t("./_library"),t("./_global")),u=t("./_ctx"),a=t("./_classof"),f=t("./_export"),_=t("./_is-object"),l=(t("./_an-object"),t("./_a-function")),p=t("./_an-instance"),d=t("./_for-of"),h=t("./_set-proto").set,v=t("./_species-constructor"),g=t("./_task").set,m=t("./_microtask"),y="Promise",b=c.TypeError,w=c.process,x=c[y],j="process"==a(w),k=function(t){var e=new x(function(){});return t&&(e.constructor=Object),x.resolve(e)===e},S=function(){var e=!1,r=function(t){var e=new x(t);return h(e,r.prototype),e};try{if(e=x&&x.resolve&&k(),h(r,x),r.prototype=s.create(x.prototype,{constructor:{value:r}}),r.resolve(5).then(function(){})instanceof r||(e=!1),e&&t("./_descriptors")){var n=!1;x.resolve(s.setDesc({},"then",{get:function(){n=!0}})),e=n}}catch(o){e=!1}return!!e}(),O=function(t,e){return t===e||t===x&&e===i},E=function(t){var e;return _(t)&&"function"==typeof(e=t.then)?e:!1},P=function(t){return O(x,t)?new D(t):new o(t)},D=o=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw b("Bad Promise constructor");e=t,r=n}),this.resolve=l(e),this.reject=l(r)},F=function(t){try{t()}catch(e){return{error:e}}},M=function(t,e){if(!t._n){t._n=!0;var r=t._c;m(function(){for(var n=t._v,o=1==t._s,i=0,s=function(e){var r,i,s=o?e.ok:e.fail,c=e.resolve,u=e.reject;try{s?(o||(2==t._h&&T(t),t._h=1),r=s===!0?n:s(n),r===e.promise?u(b("Promise-chain cycle")):(i=E(r))?i.call(r,c,u):c(r)):u(n)}catch(a){u(a)}};r.length>i;)s(r[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){g.call(c,function(){if(A(t)){var e,r,n=t._v;j?w.emit("unhandledRejection",n,t):(e=c.onunhandledrejection)?e({promise:t,reason:n}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",n),t._h=2}t._a=void 0})},A=function(t){var e,r=t._a||t._c,n=0;if(1==t._h)return!1;for(;r.length>n;)if(e=r[n++],e.fail||!A(e.promise))return!1;return!0},T=function(t){g.call(c,function(){var e;j?w.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},C=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},I=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw b("Promise can't be resolved itself");(e=E(t))?m(function(){var n={_w:r,_d:!1};try{e.call(t,u(I,n,1),u(C,n,1))}catch(o){C.call(n,o)}}):(r._v=t,r._s=1,M(r,!1))}catch(n){C.call({_w:r,_d:!1},n)}}};S||(x=function(t){p(this,x,y,"_h"),l(t),n.call(this);try{t(u(I,this,1),u(C,this,1))}catch(e){C.call(this,e)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=t("./_redefine-all")(x.prototype,{then:function(t,e){var r=P(v(this,x));return r.ok="function"==typeof t?t:!0,r.fail="function"==typeof e&&e,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},"catch":function(t){return this.then(void 0,t)}}),D=function(){var t=new n;this.promise=t,this.resolve=u(I,t,1),this.reject=u(C,t,1)}),f(f.G+f.W+f.F*!S,{Promise:x}),t("./_set-to-string-tag")(x,y),t("./_set-species")(y),i=t("./_core")[y],f(f.S+f.F*!S,y,{reject:function(t){var e=P(this),r=e.reject;return r(t),e.promise}}),f(f.S+f.F*(!S||k(!0)),y,{resolve:function(t){if(t instanceof x&&O(t.constructor,this))return t;var e=P(this),r=e.resolve;return r(t),e.promise}}),f(f.S+f.F*!(S&&t("./_iter-detect")(function(t){x.all(t)["catch"](function(){})})),y,{all:function(t){var e=this,r=P(e),n=r.resolve,o=r.reject,i=[],c=F(function(){d(t,!1,i.push,i);var r=i.length,c=Array(r);r?s.each.call(i,function(t,i){var s=!1;e.resolve(t).then(function(t){s||(s=!0,c[i]=t,--r||n(c))},o)}):n(c)});return c&&o(c.error),r.promise},race:function(t){var e=this,r=P(e),n=r.reject,o=F(function(){d(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o&&n(o.error),r.promise}})},{"./_":5,"./_a-function":6,"./_an-instance":8,"./_an-object":9,"./_classof":10,"./_core":14,"./_ctx":15,"./_descriptors":17,"./_export":20,"./_for-of":22,"./_global":24,"./_is-object":32,"./_iter-detect":36,"./_library":40,"./_microtask":42,"./_redefine-all":44,"./_set-proto":46,"./_set-species":47,"./_set-to-string-tag":48,"./_species-constructor":50,"./_task":52}],63:[function(t,e,r){"use strict";var n=t("./_collection-strong");t("./_collection")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(this,t=0===t?0:t,t)}},n)},{"./_collection":13,"./_collection-strong":12}],64:[function(t,e,r){"use strict";var n=t("./_string-at")(!0);t("./_iter-define")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{"./_iter-define":35,"./_string-at":51}],65:[function(t,e,r){"use strict";var n=t("./_"),o=t("./_global"),i=t("./_core"),s=t("./_has"),c=t("./_descriptors"),u=t("./_export"),a=t("./_redefine"),f=t("./_meta").KEY,_=t("./_fails"),l=t("./_shared"),p=t("./_set-to-string-tag"),d=t("./_uid"),h=t("./_wks"),v=t("./_keyof"),g=t("./_get-names"),m=t("./_enum-keys"),y=t("./_is-array"),b=t("./_an-object"),w=t("./_to-iobject"),x=t("./_property-desc"),j=n.getDesc,k=n.setDesc,S=n.create,O=g.get,E=o.Symbol,P=o.JSON,D=P&&P.stringify,F=!1,M=h("_hidden"),N=n.isEnum,A=l("symbol-registry"),T=l("symbols"),C=Object.prototype,I="function"==typeof E,K=c&&_(function(){return 7!=S(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=j(C,e);n&&delete C[e],k(t,e,r),n&&t!==C&&k(C,e,n)}:k,L=function(t){var e=T[t]=S(E.prototype);return e._k=t,c&&F&&K(C,t,{configurable:!0,set:function(e){s(this,M)&&s(this[M],t)&&(this[M][t]=!1),K(this,t,x(1,e))}}),e},W=function(t){return"symbol"==typeof t},z=function(t,e,r){return r&&s(T,e)?(r.enumerable?(s(t,M)&&t[M][e]&&(t[M][e]=!1),r=S(r,{enumerable:x(0,!1)})):(s(t,M)||k(t,M,x(1,{})),t[M][e]=!0),K(t,e,r)):k(t,e,r)},U=function(t,e){b(t);for(var r,n=m(e=w(e)),o=0,i=n.length;i>o;)z(t,r=n[o++],e[r]);return t},G=function(t,e){return void 0===e?S(t):U(S(t),e)},q=function(t){var e=N.call(this,t);return e||!s(this,t)||!s(T,t)||s(this,M)&&this[M][t]?e:!0},J=function(t,e){var r=j(t=w(t),e);return!r||!s(T,e)||s(t,M)&&t[M][e]||(r.enumerable=!0),r},B=function(t){for(var e,r=O(w(t)),n=[],o=0;r.length>o;)s(T,e=r[o++])||e==M||e==f||n.push(e);return n},R=function(t){for(var e,r=O(w(t)),n=[],o=0;r.length>o;)s(T,e=r[o++])&&n.push(T[e]);return n},Y=function(t){if(void 0!==t&&!W(t)){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);return e=n[1],"function"==typeof e&&(r=e),(r||!y(e))&&(e=function(t,e){return r&&(e=r.call(this,t,e)),W(e)?void 0:e}),n[1]=e,D.apply(P,n)}},H=_(function(){var t=E();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))});I||(E=function(){if(W(this))throw TypeError("Symbol is not a constructor");return L(d(arguments.length>0?arguments[0]:void 0))},a(E.prototype,"toString",function(){return this._k}),W=function(t){return t instanceof E},n.create=G,n.isEnum=q,n.getDesc=J,n.setDesc=z,n.setDescs=U,n.getNames=g.get=B,n.getSymbols=R,c&&!t("./_library")&&a(C,"propertyIsEnumerable",q,!0)),u(u.G+u.W+u.F*!I,{Symbol:E}),n.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=i.Symbol,r=h(t);t in e||k(e,t,{value:I?r:L(r)})}),F=!0,u(u.S+u.F*!I,"Symbol",{"for":function(t){return s(A,t+="")?A[t]:A[t]=E(t)},keyFor:function(t){return v(A,t)},useSetter:function(){F=!0},useSimple:function(){F=!1}}),u(u.S+u.F*!I,"Object",{create:G,defineProperty:z,defineProperties:U,getOwnPropertyDescriptor:J,getOwnPropertyNames:B,getOwnPropertySymbols:R}),P&&u(u.S+u.F*(!I||H),"JSON",{stringify:Y}),p(E,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},{"./_":5,"./_an-object":9,"./_core":14,"./_descriptors":17,"./_enum-keys":19,"./_export":20,"./_fails":21,"./_get-names":23,"./_global":24,"./_has":25,"./_is-array":31,"./_keyof":39,"./_library":40,"./_meta":41,"./_property-desc":43,"./_redefine":45,"./_set-to-string-tag":48,"./_shared":49,"./_to-iobject":54,"./_uid":56,"./_wks":57}],66:[function(t,e,r){var n=t("./es6.array.iterator"),o=t("./_redefine"),i=t("./_global"),s=t("./_hide"),c=t("./_iterators"),u=t("./_wks"),a=u("iterator"),f=u("toStringTag"),_=c.Array;t("./_").each.call(["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],function(t){var e,r=i[t],u=r&&r.prototype;if(u){u[a]||s(u,a,_),u[f]||s(u,f,t),c[t]=_;for(e in n)u[e]||o(u,e,n[e],!0)}})},{"./_":5,"./_global":24,"./_hide":26,"./_iterators":38,"./_redefine":45,"./_wks":57,"./es6.array.iterator":59}],67:[function(t,e,r){(function(e){"undefined"!=typeof window?(window.Symbol=t("core-js/es6/symbol"),window.Promise=t("core-js/es6/promise"),window.Set=t("core-js/es6/set"),window.Map=t("core-js/es6/map")):(e.Symbol=t("core-js/es6/symbol"),e.Promise=t("core-js/es6/promise"),e.Set=t("core-js/es6/set"),e.Map=t("core-js/es6/map"))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"core-js/es6/map":1,"core-js/es6/promise":2,"core-js/es6/set":3,"core-js/es6/symbol":4}]},{},[67]);
!function t(e,r,n){function o(s,c){if(!r[s]){if(!e[s]){var a="function"==typeof require&&require;if(!c&&a)return a(s,!0);if(i)return i(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var f=r[s]={exports:{}};e[s][0].call(f.exports,function(t){var r=e[s][1][t];return o(r?r:t)},f,f.exports,t,e,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.map"),e.exports=t("../modules/_core").Map},{"../modules/_core":15,"../modules/es6.map":61,"../modules/es6.object.to-string":62,"../modules/es6.string.iterator":65,"../modules/web.dom.iterable":67}],2:[function(t,e,r){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.promise"),e.exports=t("../modules/_core").Promise},{"../modules/_core":15,"../modules/es6.object.to-string":62,"../modules/es6.promise":63,"../modules/es6.string.iterator":65,"../modules/web.dom.iterable":67}],3:[function(t,e,r){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.set"),e.exports=t("../modules/_core").Set},{"../modules/_core":15,"../modules/es6.object.to-string":62,"../modules/es6.set":64,"../modules/es6.string.iterator":65,"../modules/web.dom.iterable":67}],4:[function(t,e,r){t("../modules/es6.symbol"),t("../modules/es6.object.to-string"),e.exports=t("../modules/_core").Symbol},{"../modules/_core":15,"../modules/es6.object.to-string":62,"../modules/es6.symbol":66}],5:[function(t,e,r){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},{}],6:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],7:[function(t,e,r){var n=t("./_wks")("unscopables"),o=Array.prototype;void 0==o[n]&&t("./_hide")(o,n,{}),e.exports=function(t){o[n][t]=!0}},{"./_hide":27,"./_wks":58}],8:[function(t,e,r){e.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},{}],9:[function(t,e,r){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":33}],10:[function(t,e,r){var n=t("./_for-of");e.exports=function(t,e){var r=[];return n(t,!1,r.push,r,e),r}},{"./_for-of":23}],11:[function(t,e,r){var n=t("./_cof"),o=t("./_wks")("toStringTag"),i="Arguments"==n(function(){return arguments}());e.exports=function(t){var e,r,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=(e=Object(t))[o])?r:i?n(e):"Object"==(s=n(e))&&"function"==typeof e.callee?"Arguments":s}},{"./_cof":12,"./_wks":58}],12:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],13:[function(t,e,r){"use strict";var n=t("./_"),o=(t("./_hide"),t("./_redefine-all")),i=t("./_ctx"),s=t("./_an-instance"),c=t("./_defined"),a=t("./_for-of"),u=t("./_iter-define"),f=t("./_iter-step"),_=t("./_set-species"),l=t("./_descriptors"),p=t("./_meta").fastKey,d=l?"_s":"size",h=function(t,e){var r,n=p(e);if("F"!==n)return t._i[n];for(r=t._f;r;r=r.n)if(r.k==e)return r};e.exports={getConstructor:function(t,e,r,u){var f=t(function(t,o){s(t,f,e,"_i"),t._i=n.create(null),t._f=void 0,t._l=void 0,t[d]=0,void 0!=o&&a(o,r,t[u],t)});return o(f.prototype,{clear:function(){for(var t=this,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=this,r=h(e,t);if(r){var n=r.n,o=r.p;delete e._i[r.i],r.r=!0,o&&(o.n=n),n&&(n.p=o),e._f==r&&(e._f=n),e._l==r&&(e._l=o),e[d]--}return!!r},forEach:function(t){s(this,f,"forEach");for(var e,r=i(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!!h(this,t)}}),l&&n.setDesc(f.prototype,"size",{get:function(){return c(this[d])}}),f},def:function(t,e,r){var n,o,i=h(t,e);return i?i.v=r:(t._l=i={i:o=p(e,!0),k:e,v:r,p:n=t._l,n:void 0,r:!1},t._f||(t._f=i),n&&(n.n=i),t[d]++,"F"!==o&&(t._i[o]=i)),t},getEntry:h,setStrong:function(t,e,r){u(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,r=t._l;r&&r.r;)r=r.p;return t._t&&(t._l=r=r?r.n:t._t._f)?"keys"==e?f(0,r.k):"values"==e?f(0,r.v):f(0,[r.k,r.v]):(t._t=void 0,f(1))},r?"entries":"values",!r,!0),_(e)}}},{"./_":5,"./_an-instance":8,"./_ctx":16,"./_defined":17,"./_descriptors":18,"./_for-of":23,"./_hide":27,"./_iter-define":36,"./_iter-step":38,"./_meta":42,"./_redefine-all":45,"./_set-species":48}],14:[function(t,e,r){"use strict";var n=t("./_global"),o=t("./_export"),i=t("./_redefine"),s=t("./_redefine-all"),c=t("./_meta"),a=t("./_for-of"),u=t("./_an-instance"),f=t("./_is-object"),_=t("./_fails"),l=t("./_iter-detect"),p=t("./_set-to-string-tag");e.exports=function(t,e,r,d,h,v){var g=n[t],m=g,y=h?"set":"add",b=m&&m.prototype,w={},x=function(t){var e=b[t];i(b,t,"delete"==t?function(t){return v&&!f(t)?!1:e.call(this,0===t?0:t)}:"has"==t?function(t){return v&&!f(t)?!1:e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,r){return e.call(this,0===t?0:t,r),this})};if("function"==typeof m&&(v||b.forEach&&!_(function(){(new m).entries().next()}))){var j=new m,k=j[y](v?{}:-0,1)!=j,S=_(function(){j.has(1)}),O=l(function(t){new m(t)}),E=!v&&_(function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)});O||(m=e(function(e,r){u(e,m,t);var n=new g;return void 0!=r&&a(r,h,n[y],n),n}),m.prototype=b,b.constructor=m),(S||E)&&(x("delete"),x("has"),h&&x("get")),(E||k)&&x(y),v&&b.clear&&delete b.clear}else m=d.getConstructor(e,t,h,y),s(m.prototype,r),c.NEED=!0;return p(m,t),w[t]=m,o(o.G+o.W+o.F*(m!=g),w),v||d.setStrong(m,t,h),m}},{"./_an-instance":8,"./_export":21,"./_fails":22,"./_for-of":23,"./_global":25,"./_is-object":33,"./_iter-detect":37,"./_meta":42,"./_redefine":46,"./_redefine-all":45,"./_set-to-string-tag":49}],15:[function(t,e,r){var n=e.exports={version:"2.0.3"};"number"==typeof __e&&(__e=n)},{}],16:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":6}],17:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],18:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":22}],19:[function(t,e,r){var n=t("./_is-object"),o=t("./_global").document,i=n(o)&&n(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./_global":25,"./_is-object":33}],20:[function(t,e,r){var n=t("./_");e.exports=function(t){var e=n.getKeys(t),r=n.getSymbols;if(r)for(var o,i=r(t),s=n.isEnum,c=0;i.length>c;)s.call(t,o=i[c++])&&e.push(o);return e}},{"./_":5}],21:[function(t,e,r){var n=t("./_global"),o=t("./_core"),i=t("./_hide"),s=t("./_redefine"),c=t("./_ctx"),a="prototype",u=function(t,e,r){var f,_,l,p,d=t&u.F,h=t&u.G,v=t&u.S,g=t&u.P,m=t&u.B,y=h?n:v?n[e]||(n[e]={}):(n[e]||{})[a],b=h?o:o[e]||(o[e]={}),w=b[a]||(b[a]={});h&&(r=e);for(f in r)_=!d&&y&&void 0!==y[f],l=(_?y:r)[f],p=m&&_?c(l,n):g&&"function"==typeof l?c(Function.call,l):l,y&&!_&&s(y,f,l,t&u.U),b[f]!=l&&i(b,f,p),g&&w[f]!=l&&(w[f]=l)};n.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},{"./_core":15,"./_ctx":16,"./_global":25,"./_hide":27,"./_redefine":46}],22:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(e){return!0}}},{}],23:[function(t,e,r){var n=t("./_ctx"),o=t("./_iter-call"),i=t("./_is-array-iter"),s=t("./_an-object"),c=t("./_to-length"),a=t("./core.get-iterator-method");e.exports=function(t,e,r,u,f){var _,l,p,d=f?function(){return t}:a(t),h=n(r,u,e?2:1),v=0;if("function"!=typeof d)throw TypeError(t+" is not iterable!");if(i(d))for(_=c(t.length);_>v;v++)e?h(s(l=t[v])[0],l[1]):h(t[v]);else for(p=d.call(t);!(l=p.next()).done;)o(p,h,l.value,e)}},{"./_an-object":9,"./_ctx":16,"./_is-array-iter":31,"./_iter-call":34,"./_to-length":56,"./core.get-iterator-method":59}],24:[function(t,e,r){var n=t("./_to-iobject"),o=t("./_").getNames,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(e){return s.slice()}};e.exports.get=function(t){return s&&"[object Window]"==i.call(t)?c(t):o(n(t))}},{"./_":5,"./_to-iobject":55}],25:[function(t,e,r){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],26:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],27:[function(t,e,r){var n=t("./_"),o=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.setDesc(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_":5,"./_descriptors":18,"./_property-desc":44}],28:[function(t,e,r){e.exports=t("./_global").document&&document.documentElement},{"./_global":25}],29:[function(t,e,r){e.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},{}],30:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":12}],31:[function(t,e,r){var n=t("./_iterators"),o=t("./_wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},{"./_iterators":39,"./_wks":58}],32:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":12}],33:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],34:[function(t,e,r){var n=t("./_an-object");e.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(i){var s=t["return"];throw void 0!==s&&n(s.call(t)),i}}},{"./_an-object":9}],35:[function(t,e,r){"use strict";var n=t("./_"),o=t("./_property-desc"),i=t("./_set-to-string-tag"),s={};t("./_hide")(s,t("./_wks")("iterator"),function(){return this}),e.exports=function(t,e,r){t.prototype=n.create(s,{next:o(1,r)}),i(t,e+" Iterator")}},{"./_":5,"./_hide":27,"./_property-desc":44,"./_set-to-string-tag":49,"./_wks":58}],36:[function(t,e,r){"use strict";var n=t("./_library"),o=t("./_export"),i=t("./_redefine"),s=t("./_hide"),c=t("./_has"),a=t("./_iterators"),u=t("./_iter-create"),f=t("./_set-to-string-tag"),_=t("./_").getProto,l=t("./_wks")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",v="values",g=function(){return this};e.exports=function(t,e,r,m,y,b,w){u(r,e,m);var x,j,k,S=function(t){if(!p&&t in D)return D[t];switch(t){case h:return function(){return new r(this,t)};case v:return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=e+" Iterator",E=y==v,P=!1,D=t.prototype,F=D[l]||D[d]||y&&D[y],M=F||S(y),N=y?E?S("entries"):M:void 0,A="Array"==e?D.entries||F:F;if(A&&(k=_(A.call(new t)),k!==Object.prototype&&(f(k,O,!0),n||c(k,l)||s(k,l,g))),E&&F&&F.name!==v&&(P=!0,M=function(){return F.call(this)}),n&&!w||!p&&!P&&D[l]||s(D,l,M),a[e]=M,a[O]=g,y)if(x={values:E?M:S(v),keys:b?M:S(h),entries:N},w)for(j in x)j in D||i(D,j,x[j]);else o(o.P+o.F*(p||P),e,x);return x}},{"./_":5,"./_export":21,"./_has":26,"./_hide":27,"./_iter-create":35,"./_iterators":39,"./_library":41,"./_redefine":46,"./_set-to-string-tag":49,"./_wks":58}],37:[function(t,e,r){var n=t("./_wks")("iterator"),o=!1;try{var i=[7][n]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(s){}e.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],s=i[n]();s.next=function(){r=!0},i[n]=function(){return s},t(i)}catch(c){}return r}},{"./_wks":58}],38:[function(t,e,r){e.exports=function(t,e){return{value:e,done:!!t}}},{}],39:[function(t,e,r){e.exports={}},{}],40:[function(t,e,r){var n=t("./_"),o=t("./_to-iobject");e.exports=function(t,e){for(var r,i=o(t),s=n.getKeys(i),c=s.length,a=0;c>a;)if(i[r=s[a++]]===e)return r}},{"./_":5,"./_to-iobject":55}],41:[function(t,e,r){e.exports=!1},{}],42:[function(t,e,r){var n=t("./_uid")("meta"),o=t("./_is-object"),i=t("./_has"),s=t("./_").setDesc,c=0,a=Object.isExtensible||function(){return!0},u=!t("./_fails")(function(){return a(Object.preventExtensions({}))}),f=function(t){s(t,n,{value:{i:"O"+ ++c,w:{}}})},_=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[n].i},l=function(t,e){if(!i(t,n)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[n].w},p=function(t){return u&&d.NEED&&a(t)&&!i(t,n)&&f(t),t},d=e.exports={KEY:n,NEED:!1,fastKey:_,getWeak:l,onFreeze:p}},{"./_":5,"./_fails":22,"./_has":26,"./_is-object":33,"./_uid":57}],43:[function(t,e,r){var n,o,i,s=t("./_global"),c=t("./_task").set,a=s.MutationObserver||s.WebKitMutationObserver,u=s.process,f=s.Promise,_="process"==t("./_cof")(u),l=function(){var t,e,r;for(_&&(t=u.domain)&&(u.domain=null,t.exit());n;)e=n.domain,r=n.fn,e&&e.enter(),r(),e&&e.exit(),n=n.next;o=void 0,t&&t.enter()};if(_)i=function(){u.nextTick(l)};else if(a){var p=1,d=document.createTextNode("");new a(l).observe(d,{characterData:!0}),i=function(){d.data=p=-p}}else i=f&&f.resolve?function(){f.resolve().then(l)}:function(){c.call(s,l)};e.exports=function(t){var e={fn:t,next:void 0,domain:_&&u.domain};o&&(o.next=e),n||(n=e,i()),o=e}},{"./_cof":12,"./_global":25,"./_task":53}],44:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],45:[function(t,e,r){var n=t("./_redefine");e.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},{"./_redefine":46}],46:[function(t,e,r){var n=t("./_global"),o=t("./_hide"),i=t("./_uid")("src"),s="toString",c=Function[s],a=(""+c).split(s);t("./_core").inspectSource=function(t){return c.call(t)},(e.exports=function(t,e,r,s){"function"==typeof r&&(r.hasOwnProperty(i)||o(r,i,t[e]?""+t[e]:a.join(String(e))),r.hasOwnProperty("name")||o(r,"name",e)),t===n?t[e]=r:s?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r))})(Function.prototype,s,function(){return"function"==typeof this&&this[i]||c.call(this)})},{"./_core":15,"./_global":25,"./_hide":27,"./_uid":57}],47:[function(t,e,r){var n=t("./_").getDesc,o=t("./_is-object"),i=t("./_an-object"),s=function(t,e){if(i(t),!o(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,r,o){try{o=t("./_ctx")(Function.call,n(Object.prototype,"__proto__").set,2),o(e,[]),r=!(e instanceof Array)}catch(i){r=!0}return function(t,e){return s(t,e),r?t.__proto__=e:o(t,e),t}}({},!1):void 0),check:s}},{"./_":5,"./_an-object":9,"./_ctx":16,"./_is-object":33}],48:[function(t,e,r){"use strict";var n=t("./_global"),o=t("./_"),i=t("./_descriptors"),s=t("./_wks")("species");e.exports=function(t){var e=n[t];i&&e&&!e[s]&&o.setDesc(e,s,{configurable:!0,get:function(){return this}})}},{"./_":5,"./_descriptors":18,"./_global":25,"./_wks":58}],49:[function(t,e,r){var n=t("./_").setDesc,o=t("./_has"),i=t("./_wks")("toStringTag");e.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},{"./_":5,"./_has":26,"./_wks":58}],50:[function(t,e,r){var n=t("./_global"),o="__core-js_shared__",i=n[o]||(n[o]={});e.exports=function(t){return i[t]||(i[t]={})}},{"./_global":25}],51:[function(t,e,r){var n=t("./_an-object"),o=t("./_a-function"),i=t("./_wks")("species");e.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||void 0==(r=n(s)[i])?e:o(r)}},{"./_a-function":6,"./_an-object":9,"./_wks":58}],52:[function(t,e,r){var n=t("./_to-integer"),o=t("./_defined");e.exports=function(t){return function(e,r){var i,s,c=String(o(e)),a=n(r),u=c.length;return 0>a||a>=u?t?"":void 0:(i=c.charCodeAt(a),55296>i||i>56319||a+1===u||(s=c.charCodeAt(a+1))<56320||s>57343?t?c.charAt(a):i:t?c.slice(a,a+2):(i-55296<<10)+(s-56320)+65536)}}},{"./_defined":17,"./_to-integer":54}],53:[function(t,e,r){var n,o,i,s=t("./_ctx"),c=t("./_invoke"),a=t("./_html"),u=t("./_dom-create"),f=t("./_global"),_=f.process,l=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,h=0,v={},g="onreadystatechange",m=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){m.call(t.data)};l&&p||(l=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return v[++h]=function(){c("function"==typeof t?t:Function(t),e)},n(h),h},p=function(t){delete v[t]},"process"==t("./_cof")(_)?n=function(t){_.nextTick(s(m,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=y,n=s(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",y,!1)):n=g in u("script")?function(t){a.appendChild(u("script"))[g]=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),e.exports={set:l,clear:p}},{"./_cof":12,"./_ctx":16,"./_dom-create":19,"./_global":25,"./_html":28,"./_invoke":29}],54:[function(t,e,r){var n=Math.ceil,o=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?o:n)(t)}},{}],55:[function(t,e,r){var n=t("./_iobject"),o=t("./_defined");e.exports=function(t){return n(o(t))}},{"./_defined":17,"./_iobject":30}],56:[function(t,e,r){var n=t("./_to-integer"),o=Math.min;e.exports=function(t){return t>0?o(n(t),9007199254740991):0}},{"./_to-integer":54}],57:[function(t,e,r){var n=0,o=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+o).toString(36))}},{}],58:[function(t,e,r){var n=t("./_shared")("wks"),o=t("./_uid"),i=t("./_global").Symbol,s="function"==typeof i;e.exports=function(t){return n[t]||(n[t]=s&&i[t]||(s?i:o)("Symbol."+t))}},{"./_global":25,"./_shared":50,"./_uid":57}],59:[function(t,e,r){var n=t("./_classof"),o=t("./_wks")("iterator"),i=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){return void 0!=t?t[o]||t["@@iterator"]||i[n(t)]:void 0}},{"./_classof":11,"./_core":15,"./_iterators":39,"./_wks":58}],60:[function(t,e,r){"use strict";var n=t("./_add-to-unscopables"),o=t("./_iter-step"),i=t("./_iterators"),s=t("./_to-iobject");e.exports=t("./_iter-define")(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},{"./_add-to-unscopables":7,"./_iter-define":36,"./_iter-step":38,"./_iterators":39,"./_to-iobject":55}],61:[function(t,e,r){"use strict";var n=t("./_collection-strong");e.exports=t("./_collection")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=n.getEntry(this,t);return e&&e.v},set:function(t,e){return n.def(this,0===t?0:t,e)}},n,!0)},{"./_collection":14,"./_collection-strong":13}],62:[function(t,e,r){"use strict";var n=t("./_classof"),o={};o[t("./_wks")("toStringTag")]="z",o+""!="[object z]"&&t("./_redefine")(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},{"./_classof":11,"./_redefine":46,"./_wks":58}],63:[function(t,e,r){"use strict";var n,o,i,s=t("./_"),c=t("./_library"),a=t("./_global"),u=t("./_ctx"),f=t("./_classof"),_=t("./_export"),l=t("./_is-object"),p=(t("./_an-object"),t("./_a-function")),d=t("./_an-instance"),h=t("./_for-of"),v=t("./_array-from-iterable"),g=t("./_set-proto").set,m=t("./_species-constructor"),y=t("./_task").set,b=t("./_microtask"),w="Promise",x=a.TypeError,j=a.process,k=a[w],S="process"==f(j),O=function(){},E=function(t){var e,r=new k(O);return t&&(r.constructor=function(t){t(O,O)}),(e=k.resolve(r))["catch"](O),e===r},P=function(){var e=!1,r=function(t){var e=new k(t);return g(e,r.prototype),e};try{if(e=k&&k.resolve&&E(),g(r,k),r.prototype=s.create(k.prototype,{constructor:{value:r}}),r.resolve(5).then(O)instanceof r||(e=!1),e&&t("./_descriptors")){var n=!1;k.resolve(s.setDesc({},"then",{get:function(){n=!0}})),e=n}}catch(o){e=!1}return!!e}(),D=function(t,e){return t===e||t===k&&e===i},F=function(t){var e;return l(t)&&"function"==typeof(e=t.then)?e:!1},M=function(t){return D(k,t)?new N(t):new o(t)},N=o=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw x("Bad Promise constructor");e=t,r=n}),this.resolve=p(e),this.reject=p(r)},A=function(t){try{t()}catch(e){return{error:e}}},T=function(t,e){if(!t._n){t._n=!0;var r=t._c;b(function(){for(var n=t._v,o=1==t._s,i=0,s=function(e){var r,i,s=o?e.ok:e.fail,c=e.resolve,a=e.reject;try{s?(o||(2==t._h&&K(t),t._h=1),r=s===!0?n:s(n),r===e.promise?a(x("Promise-chain cycle")):(i=F(r))?i.call(r,c,a):c(r)):a(n)}catch(u){a(u)}};r.length>i;)s(r[i++]);t._c=[],t._n=!1,e&&!t._h&&C(t)})}},C=function(t){y.call(a,function(){if(I(t)){var e,r,n=t._v;S?j.emit("unhandledRejection",n,t):(e=a.onunhandledrejection)?e({promise:t,reason:n}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",n),t._h=2}t._a=void 0})},I=function(t){var e,r=t._a||t._c,n=0;if(1==t._h)return!1;for(;r.length>n;)if(e=r[n++],e.fail||!I(e.promise))return!1;return!0},K=function(t){y.call(a,function(){var e;S?j.emit("rejectionHandled",t):(e=a.onrejectionhandled)&&e({promise:t,reason:t._v})})},L=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),T(e,!0))},W=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw x("Promise can't be resolved itself");(e=F(t))?b(function(){var n={_w:r,_d:!1};try{e.call(t,u(W,n,1),u(L,n,1))}catch(o){L.call(n,o)}}):(r._v=t,r._s=1,T(r,!1))}catch(n){L.call({_w:r,_d:!1},n)}}};P||(k=function(t){d(this,k,w,"_h"),p(t),n.call(this);try{t(u(W,this,1),u(L,this,1))}catch(e){L.call(this,e)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=t("./_redefine-all")(k.prototype,{then:function(t,e){var r=M(m(this,k));return r.ok="function"==typeof t?t:!0,r.fail="function"==typeof e&&e,this._c.push(r),this._a&&this._a.push(r),this._s&&T(this,!1),r.promise},"catch":function(t){return this.then(void 0,t)}}),N=function(){var t=new n;this.promise=t,this.resolve=u(W,t,1),this.reject=u(L,t,1)}),_(_.G+_.W+_.F*!P,{Promise:k}),t("./_set-to-string-tag")(k,w),t("./_set-species")(w),i=t("./_core")[w],_(_.S+_.F*!P,w,{reject:function(t){var e=M(this),r=e.reject;return r(t),e.promise}}),_(_.S+_.F*(c||!P||E(!0)),w,{resolve:function(t){if(t instanceof k&&D(t.constructor,this))return t;var e=M(this),r=e.resolve;return r(t),e.promise}}),_(_.S+_.F*!(P&&t("./_iter-detect")(function(t){k.all(t)["catch"](O)})),w,{all:function(t){var e=this,r=M(e),n=r.resolve,o=r.reject,i=A(function(){var r=v(t),i=r.length,c=Array(i);i?s.each.call(r,function(t,r){var s=!1;e.resolve(t).then(function(t){s||(s=!0,c[r]=t,--i||n(c))},o)}):n(c)});return i&&o(i.error),r.promise},race:function(t){var e=this,r=M(e),n=r.reject,o=A(function(){h(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o&&n(o.error),r.promise}})},{"./_":5,"./_a-function":6,"./_an-instance":8,"./_an-object":9,"./_array-from-iterable":10,"./_classof":11,"./_core":15,"./_ctx":16,"./_descriptors":18,"./_export":21,"./_for-of":23,"./_global":25,"./_is-object":33,"./_iter-detect":37,"./_library":41,"./_microtask":43,"./_redefine-all":45,"./_set-proto":47,"./_set-species":48,"./_set-to-string-tag":49,"./_species-constructor":51,"./_task":53}],64:[function(t,e,r){"use strict";var n=t("./_collection-strong");e.exports=t("./_collection")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return n.def(this,t=0===t?0:t,t)}},n)},{"./_collection":14,"./_collection-strong":13}],65:[function(t,e,r){"use strict";var n=t("./_string-at")(!0);t("./_iter-define")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{"./_iter-define":36,"./_string-at":52}],66:[function(t,e,r){"use strict";var n=t("./_"),o=t("./_global"),i=t("./_core"),s=t("./_has"),c=t("./_descriptors"),a=t("./_export"),u=t("./_redefine"),f=t("./_meta").KEY,_=t("./_fails"),l=t("./_shared"),p=t("./_set-to-string-tag"),d=t("./_uid"),h=t("./_wks"),v=t("./_keyof"),g=t("./_get-names"),m=t("./_enum-keys"),y=t("./_is-array"),b=t("./_an-object"),w=t("./_to-iobject"),x=t("./_property-desc"),j=n.getDesc,k=n.setDesc,S=n.create,O=g.get,E=o.Symbol,P=o.JSON,D=P&&P.stringify,F=!1,M=h("_hidden"),N=n.isEnum,A=l("symbol-registry"),T=l("symbols"),C=Object.prototype,I="function"==typeof E,K=c&&_(function(){return 7!=S(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=j(C,e);n&&delete C[e],k(t,e,r),n&&t!==C&&k(C,e,n)}:k,L=function(t){var e=T[t]=S(E.prototype);return e._k=t,c&&F&&K(C,t,{configurable:!0,set:function(e){s(this,M)&&s(this[M],t)&&(this[M][t]=!1),K(this,t,x(1,e))}}),e},W=function(t){return"symbol"==typeof t},z=function(t,e,r){return r&&s(T,e)?(r.enumerable?(s(t,M)&&t[M][e]&&(t[M][e]=!1),r=S(r,{enumerable:x(0,!1)})):(s(t,M)||k(t,M,x(1,{})),t[M][e]=!0),K(t,e,r)):k(t,e,r)},U=function(t,e){b(t);for(var r,n=m(e=w(e)),o=0,i=n.length;i>o;)z(t,r=n[o++],e[r]);return t},G=function(t,e){return void 0===e?S(t):U(S(t),e)},q=function(t){var e=N.call(this,t);return e||!s(this,t)||!s(T,t)||s(this,M)&&this[M][t]?e:!0},J=function(t,e){var r=j(t=w(t),e);return!r||!s(T,e)||s(t,M)&&t[M][e]||(r.enumerable=!0),r},B=function(t){for(var e,r=O(w(t)),n=[],o=0;r.length>o;)s(T,e=r[o++])||e==M||e==f||n.push(e);return n},R=function(t){for(var e,r=O(w(t)),n=[],o=0;r.length>o;)s(T,e=r[o++])&&n.push(T[e]);return n},Y=function(t){if(void 0!==t&&!W(t)){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);return e=n[1],"function"==typeof e&&(r=e),(r||!y(e))&&(e=function(t,e){return r&&(e=r.call(this,t,e)),W(e)?void 0:e}),n[1]=e,D.apply(P,n)}},H=_(function(){var t=E();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))});I||(E=function(){if(W(this))throw TypeError("Symbol is not a constructor");return L(d(arguments.length>0?arguments[0]:void 0))},u(E.prototype,"toString",function(){return this._k}),W=function(t){return t instanceof E},n.create=G,n.isEnum=q,n.getDesc=J,n.setDesc=z,n.setDescs=U,n.getNames=g.get=B,n.getSymbols=R,c&&!t("./_library")&&u(C,"propertyIsEnumerable",q,!0)),a(a.G+a.W+a.F*!I,{Symbol:E}),n.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=i.Symbol,r=h(t);t in e||k(e,t,{value:I?r:L(r)})}),F=!0,a(a.S+a.F*!I,"Symbol",{"for":function(t){return s(A,t+="")?A[t]:A[t]=E(t)},keyFor:function(t){return v(A,t)},useSetter:function(){F=!0},useSimple:function(){F=!1}}),a(a.S+a.F*!I,"Object",{create:G,defineProperty:z,defineProperties:U,getOwnPropertyDescriptor:J,getOwnPropertyNames:B,getOwnPropertySymbols:R}),P&&a(a.S+a.F*(!I||H),"JSON",{stringify:Y}),p(E,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},{"./_":5,"./_an-object":9,"./_core":15,"./_descriptors":18,"./_enum-keys":20,"./_export":21,"./_fails":22,"./_get-names":24,"./_global":25,"./_has":26,"./_is-array":32,"./_keyof":40,"./_library":41,"./_meta":42,"./_property-desc":44,"./_redefine":46,"./_set-to-string-tag":49,"./_shared":50,"./_to-iobject":55,"./_uid":57,"./_wks":58}],67:[function(t,e,r){var n=t("./es6.array.iterator"),o=t("./_redefine"),i=t("./_global"),s=t("./_hide"),c=t("./_iterators"),a=t("./_wks"),u=a("iterator"),f=a("toStringTag"),_=c.Array;t("./_").each.call(["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],function(t){var e,r=i[t],a=r&&r.prototype;if(a){a[u]||s(a,u,_),a[f]||s(a,f,t),c[t]=_;for(e in n)a[e]||o(a,e,n[e],!0)}})},{"./_":5,"./_global":25,"./_hide":27,"./_iterators":39,"./_redefine":46,"./_wks":58,"./es6.array.iterator":60}],68:[function(t,e,r){(function(e){"undefined"!=typeof window?(window.Symbol=t("core-js/es6/symbol"),window.Promise=t("core-js/es6/promise"),window.Set=t("core-js/es6/set"),window.Map=t("core-js/es6/map")):(e.Symbol=t("core-js/es6/symbol"),e.Promise=t("core-js/es6/promise"),e.Set=t("core-js/es6/set"),e.Map=t("core-js/es6/map"))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"core-js/es6/map":1,"core-js/es6/promise":2,"core-js/es6/set":3,"core-js/es6/symbol":4}]},{},[68]);

@@ -9,3 +9,2 @@ 'use strict';

exports.CursorObservable = undefined;
exports.debounce = debounce;

@@ -36,2 +35,6 @@ var _bind2 = require('fast.js/function/bind');

var _debounce = require('./debounce');
var _debounce2 = _interopRequireDefault(_debounce);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -58,3 +61,3 @@

_this.update = debounce((0, _bind3.default)(_this.update, _this), 1000 / 15, 10);
_this.update = (0, _debounce2.default)((0, _bind3.default)(_this.update, _this), 1000 / 15, 10);
_this.maybeUpdate = (0, _bind3.default)(_this.maybeUpdate, _this);

@@ -258,3 +261,3 @@ return _this;

// when joins updated
return debounce(listener, 0, 0);
return (0, _debounce2.default)(listener, 0, 0);
}

@@ -300,75 +303,3 @@

/**
* Debounce with updetable wait time and force
* execution on some number of calls (batch execution)
* Return promise that resolved with result of execution.
* Promise cerated on each new execution (on idle).
* @param {Function} func
* @param {Number} wait
* @param {Number} batchSize
* @return {Promise}
*/
exports.CursorObservable = CursorObservable;
function debounce(func, wait, batchSize) {
var timeout = null;
var callsCount = 0;
var promise = null;
var doNotResolve = true;
var maybeResolve = null;
var debouncer = function debouncer() {
var context = this;
var args = arguments;
if (!promise) {
promise = new Promise(function (resolve, reject) {
maybeResolve = function () {
if (doNotResolve) {
timeout = setTimeout(maybeResolve, wait);
doNotResolve = false;
} else {
promise = null;
callsCount = 0;
timeout = null;
doNotResolve = true;
maybeResolve = null;
resolve(func.apply(context, args));
}
};
maybeResolve();
});
} else {
var callNow = batchSize && callsCount >= batchSize;
doNotResolve = !callNow;
if (callNow && maybeResolve) {
clearTimeout(timeout);
maybeResolve();
}
}
callsCount += 1;
return promise;
};
var updateBatchSize = function updateBatchSize(newBatchSize) {
batchSize = newBatchSize;
};
var updateWait = function updateWait(newWait) {
wait = newWait;
};
var cancel = function cancel() {
clearTimeout(timeout);
};
debouncer.updateBatchSize = updateBatchSize;
debouncer.updateWait = updateWait;
debouncer.cancel = cancel;
debouncer.func = func;
return debouncer;
}
exports.default = CursorObservable;
var EventEmitter = require('eventemitter3');
var Collection = require('./dist/Collection').default;
var CursorObservable = require('./dist/CursorObservable').default;
var debounce = require('./dist/debounce').default;
var StorageManager = require('./dist/StorageManager').default;

@@ -19,3 +20,4 @@ var Random = require('./dist/Random').default;

StorageManager: StorageManager,
EventEmitter: EventEmitter
EventEmitter: EventEmitter,
debounce: debounce
};

@@ -7,2 +7,3 @@ import _bind from 'fast.js/function/bind';

import EJSON from './EJSON';
import debounce from './debounce';

@@ -230,74 +231,2 @@

/**
* Debounce with updetable wait time and force
* execution on some number of calls (batch execution)
* Return promise that resolved with result of execution.
* Promise cerated on each new execution (on idle).
* @param {Function} func
* @param {Number} wait
* @param {Number} batchSize
* @return {Promise}
*/
export function debounce(func, wait, batchSize) {
var timeout = null;
var callsCount = 0;
var promise = null;
var doNotResolve = true;
var maybeResolve = null;
const debouncer = function() {
const context = this;
const args = arguments;
if (!promise) {
promise = new Promise((resolve, reject) => {
maybeResolve = () => {
if (doNotResolve) {
timeout = setTimeout(maybeResolve, wait);
doNotResolve = false;
} else {
promise = null;
callsCount = 0;
timeout = null;
doNotResolve = true;
maybeResolve = null;
resolve(func.apply(context, args));
}
};
maybeResolve();
});
} else {
const callNow = batchSize && callsCount >= batchSize;
doNotResolve = !callNow;
if (callNow && maybeResolve) {
clearTimeout(timeout);
maybeResolve();
}
}
callsCount += 1;
return promise;
};
const updateBatchSize = function(newBatchSize) {
batchSize = newBatchSize;
};
const updateWait = function(newWait) {
wait = newWait;
};
const cancel = function() {
clearTimeout(timeout);
};
debouncer.updateBatchSize = updateBatchSize;
debouncer.updateWait = updateWait;
debouncer.cancel = cancel;
debouncer.func = func;
return debouncer;
}
export default CursorObservable;
{
"name": "marsdb",
"version": "0.5.0",
"version": "0.5.1",
"author": {

@@ -62,2 +62,4 @@ "name": "Artem Artemev",

"mocha-phantomjs": "^4.0.2",
"sinon": "^1.17.2",
"sinon-chai": "^2.8.0",
"require-dir": "^0.3.0",

@@ -64,0 +66,0 @@ "run-sequence": "^1.1.5",

import Collection from '../../lib/Collection';
import CursorObservable from '../../lib/CursorObservable';
import chai, {expect} from 'chai';
import sinon from 'sinon';
chai.use(require('chai-as-promised'));
chai.use(require('sinon-chai'));
chai.should();

@@ -339,2 +341,3 @@

describe('#debounce', function () {
it('should change debounce wait time', function (done) {

@@ -341,0 +344,0 @@ var called = false;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc