Comparing version 0.2.5 to 0.2.6
@@ -1,2 +0,2 @@ | ||
require('./browser_polyfills'); | ||
require('./polyfills'); | ||
var bulk = require('bulk-require'); | ||
@@ -3,0 +3,0 @@ |
@@ -0,8 +1,14 @@ | ||
import Collection from './dist/Collection'; | ||
import Cursor from './dist/Cursor'; | ||
import CursorObservable from './dist/CursorObservable'; | ||
import LocalStorageManager from './dist/storages/LocalStorageManager'; | ||
module.exports = { | ||
Collection: require('./dist/Collection').default, | ||
Cursor: require('./dist/Cursor').default, | ||
CursorObservable: require('./dist/CursorObservable').default, | ||
Collection: Collection, | ||
Cursor: Cursor, | ||
CursorObservable: CursorObservable, | ||
Storages: { | ||
LocalStorage: require('./dist/storages/LocalStorageManager').default, | ||
LocalStorage: LocalStorageManager, | ||
}, | ||
}; | ||
}; |
@@ -1,1 +0,1 @@ | ||
!function e(t,r,n){function o(i,a){if(!r[i]){if(!t[i]){var l="function"==typeof require&&require;if(!a&&l)return l(i,!0);if(u)return u(i,!0);var s=new Error("Cannot find module '"+i+"'");throw s.code="MODULE_NOT_FOUND",s}var f=r[i]={exports:{}};t[i][0].call(f.exports,function(e){var r=t[i][1][e];return o(r?r:e)},f,f.exports,e,t,r,n)}return r[i].exports}for(var u="function"==typeof require&&require,i=0;i<n.length;i++)o(n[i]);return o}({1:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=e("./requireUniversal"),a=n(i),l=e("./AngularCursorObservable"),s=n(l),f=(0,a["default"])("Collection"),c=function(){function e(t,r,n){o(this,e),this.$q=n,this._collection=new f(t,r)}return u(e,[{key:"ensureIndex",value:function(){var e;return this.$q.resolve((e=this._collection).ensureIndex.apply(e,arguments))}},{key:"insert",value:function(){var e;return this.$q.resolve((e=this._collection).insert.apply(e,arguments))}},{key:"insertAll",value:function(){var e;return this.$q.resolve((e=this._collection).insertAll.apply(e,arguments))}},{key:"update",value:function(){var e;return this.$q.resolve((e=this._collection).update.apply(e,arguments))}},{key:"remove",value:function(){var e;return this.$q.resolve((e=this._collection).remove.apply(e,arguments))}},{key:"find",value:function(e){return new s["default"](this,e)}},{key:"findOne",value:function(){var e;return this.$q.resolve((e=this._collection).findOne.apply(e,arguments))}},{key:"count",value:function(){var e;return this.$q.resolve((e=this._collection).count.apply(e,arguments))}},{key:"ids",value:function(){var e;return this.$q.resolve((e=this._collection).ids.apply(e,arguments))}},{key:"modelName",get:function(){return this._collection.modelName}}]),e}();r["default"]=c,t.exports=r["default"]},{"./AngularCursorObservable":2,"./requireUniversal":5}],2:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=function(e,t,r){for(var n=!0;n;){var o=e,u=t,i=r;a=s=l=void 0,n=!1,null===o&&(o=Function.prototype);var a=Object.getOwnPropertyDescriptor(o,u);if(void 0!==a){if("value"in a)return a.value;var l=a.get;return void 0===l?void 0:l.call(i)}var s=Object.getPrototypeOf(o);if(null===s)return void 0;e=s,t=u,r=i,n=!0}},l=e("./requireUniversal"),s=n(l),f=(0,s["default"])("CursorObservable"),c=function(e){function t(e,r){o(this,t),a(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e._collection,r),this.$q=e.$q}return u(t,e),i(t,[{key:"observe",value:function(e,r){var n=a(Object.getPrototypeOf(t.prototype),"observe",this).call(this,e);return r&&r.$on("$destroy",function(){n.stop()}),n}},{key:"exec",value:function(){for(var e=arguments.length,r=Array(e),n=0;e>n;n++)r[n]=arguments[n];return this.$q.resolve(a(Object.getPrototypeOf(t.prototype),"exec",this).apply(this,r))}},{key:"ids",value:function(){for(var e=arguments.length,r=Array(e),n=0;e>n;n++)r[n]=arguments[n];return this.$q.resolve(a(Object.getPrototypeOf(t.prototype),"ids",this).apply(this,r))}},{key:"update",value:function(){for(var e=arguments.length,r=Array(e),n=0;e>n;n++)r[n]=arguments[n];return this.$q.resolve(a(Object.getPrototypeOf(t.prototype),"update",this).apply(this,r))}}]),t}(f);r["default"]=c,t.exports=r["default"]},{"./requireUniversal":5}],3:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=void 0;if(n="undefined"!=typeof window&&window.angular?window.angular:e("angular"),!n)throw new Error("Angular is not defined in your environment");r["default"]=n,t.exports=r["default"]},{angular:void 0}],4:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var o=e("./angular"),u=n(o),i=e("./requireUniversal"),a=n(i),l=e("./AngularCollection"),s=n(l),f=(0,a["default"])("Collection");u["default"].module("MarsDB",[]).provider("$collection",function(){this.defaultStorageManager=function(e){return f.defaultStorageManager(e),this},this.defaultIdGenerator=function(e){return f.defaultIdGenerator(e),this};var e={};this.$get=["$q",function(t){return function(r){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(e[r]&&!n.noCache)return e[r];var o=new s["default"](r,n,t);return n.noCache||(e[r]=o),o}}]}),t["export"]="MarsDB"},{"./AngularCollection":1,"./angular":3,"./requireUniversal":5}],5:[function(e,t,r){"use strict";function n(t){var r=void 0;if(r="undefined"!=typeof window&&window.Mars&&"undefined"!=typeof window.Mars[t]?window.Mars[t]:e("marsdb/dist/"+t)["default"],!r)throw new Error("MarsDB is not defined in your environment. Mars."+t+" is not found");return r}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=n,t.exports=r["default"]},{}]},{},[4]); | ||
!function e(t,r,n){function o(i,a){if(!r[i]){if(!t[i]){var l="function"==typeof require&&require;if(!a&&l)return l(i,!0);if(u)return u(i,!0);var s=new Error("Cannot find module '"+i+"'");throw s.code="MODULE_NOT_FOUND",s}var f=r[i]={exports:{}};t[i][0].call(f.exports,function(e){var r=t[i][1][e];return o(r?r:e)},f,f.exports,e,t,r,n)}return r[i].exports}for(var u="function"==typeof require&&require,i=0;i<n.length;i++)o(n[i]);return o}({1:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=e("./requireUniversal"),a=n(i),l=e("./AngularCursorObservable"),s=n(l),f=(0,a["default"])("Collection"),c=function(){function e(t,r,n){o(this,e),this.$q=n,this._collection=new f(t,r)}return u(e,[{key:"ensureIndex",value:function(){var e;return this.$q.resolve((e=this._collection).ensureIndex.apply(e,arguments))}},{key:"insert",value:function(){var e;return this.$q.resolve((e=this._collection).insert.apply(e,arguments))}},{key:"insertAll",value:function(){var e;return this.$q.resolve((e=this._collection).insertAll.apply(e,arguments))}},{key:"update",value:function(){var e;return this.$q.resolve((e=this._collection).update.apply(e,arguments))}},{key:"remove",value:function(){var e;return this.$q.resolve((e=this._collection).remove.apply(e,arguments))}},{key:"find",value:function(e){return new s["default"](this,e)}},{key:"findOne",value:function(){var e;return this.$q.resolve((e=this._collection).findOne.apply(e,arguments))}},{key:"count",value:function(){var e;return this.$q.resolve((e=this._collection).count.apply(e,arguments))}},{key:"ids",value:function(){var e;return this.$q.resolve((e=this._collection).ids.apply(e,arguments))}},{key:"modelName",get:function(){return this._collection.modelName}}]),e}();r["default"]=c,t.exports=r["default"]},{"./AngularCursorObservable":2,"./requireUniversal":5}],2:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=function(e,t,r){for(var n=!0;n;){var o=e,u=t,i=r;a=s=l=void 0,n=!1,null===o&&(o=Function.prototype);var a=Object.getOwnPropertyDescriptor(o,u);if(void 0!==a){if("value"in a)return a.value;var l=a.get;return void 0===l?void 0:l.call(i)}var s=Object.getPrototypeOf(o);if(null===s)return void 0;e=s,t=u,r=i,n=!0}},l=e("./requireUniversal"),s=n(l),f=(0,s["default"])("CursorObservable"),c=function(e){function t(e,r){o(this,t),a(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e._collection,r),this.$q=e.$q}return u(t,e),i(t,[{key:"observe",value:function(e,r){var n=a(Object.getPrototypeOf(t.prototype),"observe",this).call(this,e);return r&&r.$on("$destroy",function(){n.stop()}),n}},{key:"exec",value:function(){for(var e=arguments.length,r=Array(e),n=0;e>n;n++)r[n]=arguments[n];return this.$q.resolve(a(Object.getPrototypeOf(t.prototype),"exec",this).apply(this,r))}},{key:"ids",value:function(){for(var e=arguments.length,r=Array(e),n=0;e>n;n++)r[n]=arguments[n];return this.$q.resolve(a(Object.getPrototypeOf(t.prototype),"ids",this).apply(this,r))}},{key:"update",value:function(){for(var e=arguments.length,r=Array(e),n=0;e>n;n++)r[n]=arguments[n];return this.$q.resolve(a(Object.getPrototypeOf(t.prototype),"update",this).apply(this,r))}}]),t}(f);r["default"]=c,t.exports=r["default"]},{"./requireUniversal":5}],3:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=void 0;if(n="undefined"!=typeof window&&window.angular?window.angular:e("angular"),!n)throw new Error("Angular is not defined in your environment");r["default"]=n,t.exports=r["default"]},{angular:void 0}],4:[function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var o=e("./angular"),u=n(o),i=e("./requireUniversal"),a=n(i),l=e("./AngularCollection"),s=n(l),f=(0,a["default"])("Collection");u["default"].module("MarsDB",[]).provider("$collection",function(){this.defaultStorageManager=function(e){return f.defaultStorageManager(e),this},this.defaultIdGenerator=function(e){return f.defaultIdGenerator(e),this};var e={};this.$get=["$q",function(t){return function(r){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(e[r]&&!n.noCache)return e[r];var o=new s["default"](r,n,t);return n.noCache||(e[r]=o),o}}]}),t["export"]="MarsDB"},{"./AngularCollection":1,"./angular":3,"./requireUniversal":5}],5:[function(e,t,r){"use strict";function n(t){var r=void 0;if("undefined"!=typeof window&&window.Mars&&"undefined"!=typeof window.Mars[t]?r=window.Mars[t]:(r=e("marsdb/dist/"+t),r&&r["default"]&&(r=r["default"])),!r)throw new Error("MarsDB is not defined in your environment. Mars."+t+" is not found");return r}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=n,t.exports=r["default"]},{}]},{},[4]); |
@@ -1,1 +0,1 @@ | ||
!function t(e,r,n){function o(c,s){if(!r[c]){if(!e[c]){var u="function"==typeof require&&require;if(!s&&u)return u(c,!0);if(i)return i(c,!0);var a=new Error("Cannot find module '"+c+"'");throw a.code="MODULE_NOT_FOUND",a}var f=r[c]={exports:{}};e[c][0].call(f.exports,function(t){var r=e[c][1][t];return o(r?r:t)},f,f.exports,t,e,r,n)}return r[c].exports}for(var i="function"==typeof require&&require,c=0;c<n.length;c++)o(n[c]);return o}({1:[function(t,e,r){window.Symbol=t("core-js/es6/symbol"),window.Promise=t("core-js/es6/promise"),window.Set=t("core-js/es6/set")},{"core-js/es6/promise":2,"core-js/es6/set":3,"core-js/es6/symbol":4}],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":11,"../modules/es6.object.to-string":59,"../modules/es6.promise":60,"../modules/es6.string.iterator":62,"../modules/web.dom.iterable":64}],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":11,"../modules/es6.object.to-string":59,"../modules/es6.set":61,"../modules/es6.string.iterator":62,"../modules/web.dom.iterable":64}],4:[function(t,e,r){t("../modules/es6.symbol"),e.exports=t("../modules/$.core").Symbol},{"../modules/$.core":11,"../modules/es6.symbol":63}],5:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],6:[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":28}],7:[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,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=(e=Object(t))[o])?r:i?n(e):"Object"==(c=n(e))&&"function"==typeof e.callee?"Arguments":c}},{"./$.cof":8,"./$.wks":56}],8:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],9:[function(t,e,r){"use strict";var n=t("./$"),o=t("./$.hide"),i=t("./$.ctx"),c=t("./$.species"),s=t("./$.strict-new"),u=t("./$.defined"),a=t("./$.for-of"),f=t("./$.iter-step"),l=t("./$.uid")("id"),$=t("./$.has"),p=t("./$.is-object"),d=Object.isExtensible||p,h=t("./$.support-desc"),v=h?"_s":"size",g=0,y=function(t,e){if(!p(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!$(t,l)){if(!d(t))return"F";if(!e)return"E";o(t,l,++g)}return"O"+t[l]},m=function(t,e){var r,n=y(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(e,r,o,c){var f=e(function(t,e){s(t,f,r),t._i=n.create(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=e&&a(e,o,t[c],t)});return t("./$.mix")(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[v]=0},"delete":function(t){var e=this,r=m(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[v]--}return!!r},forEach:function(t){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!!m(this,t)}}),h&&n.setDesc(f.prototype,"size",{get:function(){return u(this[v])}}),f},def:function(t,e,r){var n,o,i=m(t,e);return i?i.v=r:(t._l=i={i:o=y(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[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:m,setStrong:function(e,r,n){t("./$.iter-define")(e,r,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))},n?"entries":"values",!n,!0),c(e),c(t("./$.core")[r])}}},{"./$":35,"./$.core":11,"./$.ctx":12,"./$.defined":14,"./$.for-of":18,"./$.has":21,"./$.hide":22,"./$.is-object":28,"./$.iter-define":31,"./$.iter-step":33,"./$.mix":39,"./$.species":45,"./$.strict-new":46,"./$.support-desc":48,"./$.uid":54}],10:[function(t,e,r){"use strict";var n=t("./$.global"),o=t("./$.def"),i=t("./$.for-of"),c=t("./$.strict-new");e.exports=function(e,r,s,u,a,f){var l=n[e],$=l,p=a?"set":"add",d=$&&$.prototype,h={},v=function(e){var r=d[e];t("./$.redef")(d,e,"delete"==e?function(t){return r.call(this,0===t?0:t)}:"has"==e?function(t){return r.call(this,0===t?0:t)}:"get"==e?function(t){return r.call(this,0===t?0:t)}:"add"==e?function(t){return r.call(this,0===t?0:t),this}:function(t,e){return r.call(this,0===t?0:t,e),this})};if("function"==typeof $&&(f||d.forEach&&!t("./$.fails")(function(){(new $).entries().next()}))){var g,y=new $,m=y[p](f?{}:-0,1);t("./$.iter-detect")(function(t){new $(t)})||($=r(function(t,r){c(t,$,e);var n=new l;return void 0!=r&&i(r,a,n[p],n),n}),$.prototype=d,d.constructor=$),f||y.forEach(function(t,e){g=1/e===-(1/0)}),g&&(v("delete"),v("has"),a&&v("get")),(g||m!==y)&&v(p),f&&d.clear&&delete d.clear}else $=u.getConstructor(r,e,a,p),t("./$.mix")($.prototype,s);return t("./$.tag")($,e),h[e]=$,o(o.G+o.W+o.F*($!=l),h),f||u.setStrong($,e,a),$}},{"./$.def":13,"./$.fails":17,"./$.for-of":18,"./$.global":20,"./$.iter-detect":32,"./$.mix":39,"./$.redef":41,"./$.strict-new":46,"./$.tag":49}],11:[function(t,e,r){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},{}],12:[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":5}],13:[function(t,e,r){var n=t("./$.global"),o=t("./$.core"),i=t("./$.hide"),c=t("./$.redef"),s="prototype",u=function(t,e){return function(){return t.apply(e,arguments)}},a=function(t,e,r){var f,l,$,p,d=t&a.G,h=t&a.P,v=d?n:t&a.S?n[e]||(n[e]={}):(n[e]||{})[s],g=d?o:o[e]||(o[e]={});d&&(r=e);for(f in r)l=!(t&a.F)&&v&&f in v,$=(l?v:r)[f],p=t&a.B&&l?u($,n):h&&"function"==typeof $?u(Function.call,$):$,v&&!l&&c(v,f,$),g[f]!=$&&i(g,f,p),h&&((g[s]||(g[s]={}))[f]=$)};n.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,e.exports=a},{"./$.core":11,"./$.global":20,"./$.hide":22,"./$.redef":41}],14:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],15:[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":20,"./$.is-object":28}],16:[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),c=n.isEnum,s=0;i.length>s;)c.call(t,o=i[s++])&&e.push(o);return e}},{"./$":35}],17:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(e){return!0}}},{}],18:[function(t,e,r){var n=t("./$.ctx"),o=t("./$.iter-call"),i=t("./$.is-array-iter"),c=t("./$.an-object"),s=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=s(t.length);f>h;h++)e?d(c(l=t[h])[0],l[1]):d(t[h]);else for($=p.call(t);!(l=$.next()).done;)o($,d,l.value,e)}},{"./$.an-object":6,"./$.ctx":12,"./$.is-array-iter":26,"./$.iter-call":29,"./$.to-length":53,"./core.get-iterator-method":57}],19:[function(t,e,r){var n={}.toString,o=t("./$.to-iobject"),i=t("./$").getNames,c="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return c.slice()}};e.exports.get=function(t){return c&&"[object Window]"==n.call(t)?s(t):i(o(t))}},{"./$":35,"./$.to-iobject":52}],20:[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)},{}],21:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],22:[function(t,e,r){var n=t("./$"),o=t("./$.property-desc");e.exports=t("./$.support-desc")?function(t,e,r){return n.setDesc(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"./$":35,"./$.property-desc":40,"./$.support-desc":48}],23:[function(t,e,r){e.exports=t("./$.global").document&&document.documentElement},{"./$.global":20}],24:[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)}},{}],25:[function(t,e,r){var n=t("./$.cof");e.exports=0 in Object("z")?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./$.cof":8}],26:[function(t,e,r){var n=t("./$.iterators"),o=t("./$.wks")("iterator");e.exports=function(t){return(n.Array||Array.prototype[o])===t}},{"./$.iterators":34,"./$.wks":56}],27:[function(t,e,r){var n=t("./$.cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./$.cof":8}],28:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],29:[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 c=t["return"];throw void 0!==c&&n(c.call(t)),i}}},{"./$.an-object":6}],30:[function(t,e,r){"use strict";var n=t("./$"),o={};t("./$.hide")(o,t("./$.wks")("iterator"),function(){return this}),e.exports=function(e,r,i){e.prototype=n.create(o,{next:t("./$.property-desc")(1,i)}),t("./$.tag")(e,r+" Iterator")}},{"./$":35,"./$.hide":22,"./$.property-desc":40,"./$.tag":49,"./$.wks":56}],31:[function(t,e,r){"use strict";var n=t("./$.library"),o=t("./$.def"),i=t("./$.redef"),c=t("./$.hide"),s=t("./$.has"),u=t("./$.wks")("iterator"),a=t("./$.iterators"),f=!([].keys&&"next"in[].keys()),l="@@iterator",$="keys",p="values",d=function(){return this};e.exports=function(e,r,h,v,g,y,m){t("./$.iter-create")(h,r,v);var b,w,x=function(t){switch(t){case $:return function(){return new h(this,t)};case p:return function(){return new h(this,t)}}return function(){return new h(this,t)}},j=r+" Iterator",_=e.prototype,k=_[u]||_[l]||g&&_[g],S=k||x(g);if(k){var O=t("./$").getProto(S.call(new e));t("./$.tag")(O,j,!0),!n&&s(_,l)&&c(O,u,d)}if((!n||m)&&c(_,u,S),a[r]=S,a[j]=d,g)if(b={keys:y?S:x($),values:g==p?S:x(p),entries:g!=p?S:x("entries")},m)for(w in b)w in _||i(_,w,b[w]);else o(o.P+o.F*f,r,b)}},{"./$":35,"./$.def":13,"./$.has":21,"./$.hide":22,"./$.iter-create":30,"./$.iterators":34,"./$.library":37,"./$.redef":41,"./$.tag":49,"./$.wks":56}],32:[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(c){}e.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],c=i[n]();c.next=function(){r=!0},i[n]=function(){return c},t(i)}catch(s){}return r}},{"./$.wks":56}],33:[function(t,e,r){e.exports=function(t,e){return{value:e,done:!!t}}},{}],34:[function(t,e,r){e.exports={}},{}],35:[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}},{}],36:[function(t,e,r){var n=t("./$"),o=t("./$.to-iobject");e.exports=function(t,e){for(var r,i=o(t),c=n.getKeys(i),s=c.length,u=0;s>u;)if(i[r=c[u++]]===e)return r}},{"./$":35,"./$.to-iobject":52}],37:[function(t,e,r){e.exports=!1},{}],38:[function(t,e,r){var n,o,i,c=t("./$.global"),s=t("./$.task").set,u=c.MutationObserver||c.WebKitMutationObserver,a=c.process,f="process"==t("./$.cof")(a),l=function(){var t,e;for(f&&(t=a.domain)&&(a.domain=null,t.exit());n;)e=n.domain,e&&e.enter(),n.fn.call(),e&&e.exit(),n=n.next;o=void 0,t&&t.enter()};if(f)i=function(){a.nextTick(l)};else if(u){var $=1,p=document.createTextNode("");new u(l).observe(p,{characterData:!0}),i=function(){p.data=$=-$}}else i=function(){s.call(c,l)};e.exports=function(t){var e={fn:t,next:void 0,domain:f&&a.domain};o&&(o.next=e),n||(n=e,i()),o=e}},{"./$.cof":8,"./$.global":20,"./$.task":50}],39:[function(t,e,r){var n=t("./$.redef");e.exports=function(t,e){for(var r in e)n(t,r,e[r]);return t}},{"./$.redef":41}],40:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],41:[function(t,e,r){var n=t("./$.global"),o=t("./$.hide"),i=t("./$.uid")("src"),c="toString",s=Function[c],u=(""+s).split(c);t("./$.core").inspectSource=function(t){return s.call(t)},(e.exports=function(t,e,r,c){"function"==typeof r&&(o(r,i,t[e]?""+t[e]:u.join(String(e))),"name"in r||(r.name=e)),t===n?t[e]=r:(c||delete t[e],o(t,e,r))})(Function.prototype,c,function(){return"function"==typeof this&&this[i]||s.call(this)})},{"./$.core":11,"./$.global":20,"./$.hide":22,"./$.uid":54}],42:[function(t,e,r){e.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},{}],43:[function(t,e,r){var n=t("./$").getDesc,o=t("./$.is-object"),i=t("./$.an-object"),c=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 c(t,e),r?t.__proto__=e:o(t,e),t}}({},!1):void 0),check:c}},{"./$":35,"./$.an-object":6,"./$.ctx":12,"./$.is-object":28}],44:[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":20}],45:[function(t,e,r){"use strict";var n=t("./$"),o=t("./$.wks")("species");e.exports=function(e){!t("./$.support-desc")||o in e||n.setDesc(e,o,{configurable:!0,get:function(){return this}})}},{"./$":35,"./$.support-desc":48,"./$.wks":56}],46:[function(t,e,r){e.exports=function(t,e,r){if(!(t instanceof e))throw TypeError(r+": use the 'new' operator!");return t}},{}],47:[function(t,e,r){var n=t("./$.to-integer"),o=t("./$.defined");e.exports=function(t){return function(e,r){var i,c,s=String(o(e)),u=n(r),a=s.length;return 0>u||u>=a?t?"":void 0:(i=s.charCodeAt(u),55296>i||i>56319||u+1===a||(c=s.charCodeAt(u+1))<56320||c>57343?t?s.charAt(u):i:t?s.slice(u,u+2):(i-55296<<10)+(c-56320)+65536)}}},{"./$.defined":14,"./$.to-integer":51}],48:[function(t,e,r){e.exports=!t("./$.fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./$.fails":17}],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})}},{"./$":35,"./$.has":21,"./$.wks":56}],50:[function(t,e,r){"use strict";var n,o,i,c=t("./$.ctx"),s=t("./$.invoke"),u=t("./$.html"),a=t("./$.dom-create"),f=t("./$.global"),l=f.process,$=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,h=0,v={},g="onreadystatechange",y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},m=function(t){y.call(t.data)};$&&p||($=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return v[++h]=function(){s("function"==typeof t?t:Function(t),e)},n(h),h},p=function(t){delete v[t]},"process"==t("./$.cof")(l)?n=function(t){l.nextTick(c(y,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=m,n=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",m,!1)):n=g in a("script")?function(t){u.appendChild(a("script"))[g]=function(){u.removeChild(this),y.call(t)}}:function(t){setTimeout(c(y,t,1),0)}),e.exports={set:$,clear:p}},{"./$.cof":8,"./$.ctx":12,"./$.dom-create":15,"./$.global":20,"./$.html":23,"./$.invoke":24}],51:[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)}},{}],52:[function(t,e,r){var n=t("./$.iobject"),o=t("./$.defined");e.exports=function(t){return n(o(t))}},{"./$.defined":14,"./$.iobject":25}],53:[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":51}],54:[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))}},{}],55:[function(t,e,r){var n=t("./$.wks")("unscopables");void 0==[][n]&&t("./$.hide")(Array.prototype,n,{}),e.exports=function(t){[][n][t]=!0}},{"./$.hide":22,"./$.wks":56}],56:[function(t,e,r){var n=t("./$.shared")("wks"),o=t("./$.global").Symbol;e.exports=function(e){return n[e]||(n[e]=o&&o[e]||(o||t("./$.uid"))("Symbol."+e))}},{"./$.global":20,"./$.shared":44,"./$.uid":54}],57:[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":7,"./$.core":11,"./$.iterators":34,"./$.wks":56}],58:[function(t,e,r){"use strict";var n=t("./$.unscope"),o=t("./$.iter-step"),i=t("./$.iterators"),c=t("./$.to-iobject");t("./$.iter-define")(Array,"Array",function(t,e){this._t=c(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")},{"./$.iter-define":31,"./$.iter-step":33,"./$.iterators":34,"./$.to-iobject":52,"./$.unscope":55}],59:[function(t,e,r){"use strict";var n=t("./$.classof"),o={};o[t("./$.wks")("toStringTag")]="z",o+""!="[object z]"&&t("./$.redef")(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},{"./$.classof":7,"./$.redef":41,"./$.wks":56}],60:[function(t,e,r){"use strict";var n,o=t("./$"),i=t("./$.library"),c=t("./$.global"),s=t("./$.ctx"),u=t("./$.classof"),a=t("./$.def"),f=t("./$.is-object"),l=t("./$.an-object"),$=t("./$.a-function"),p=t("./$.strict-new"),d=t("./$.for-of"),h=t("./$.set-proto").set,v=t("./$.same"),g=t("./$.species"),y=t("./$.wks")("species"),m=t("./$.uid")("record"),b=t("./$.microtask"),w="Promise",x=c.process,j="process"==u(x),_=c[w],k=function(t){var e=new _(function(){});return t&&(e.constructor=Object),_.resolve(e)===e},S=function(){function e(t){var r=new _(t);return h(r,e.prototype),r}var r=!1;try{if(r=_&&_.resolve&&k(),h(e,_),e.prototype=o.create(_.prototype,{constructor:{value:e}}),e.resolve(5).then(function(){})instanceof e||(r=!1),r&&t("./$.support-desc")){var n=!1;_.resolve(o.setDesc({},"then",{get:function(){n=!0}})),r=n}}catch(i){r=!1}return r}(),O=function(t){return f(t)&&(S?"Promise"==u(t):m in t)},P=function(t,e){return i&&t===_&&e===n?!0:v(t,e)},E=function(t){var e=l(t)[y];return void 0!=e?e:t},F=function(t){var e;return f(t)&&"function"==typeof(e=t.then)?e:!1},M=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,c=o?e.ok:e.fail;try{c?(o||(t.h=!0),r=c===!0?n:c(n),r===e.P?e.rej(TypeError("Promise-chain cycle")):(i=F(r))?i.call(r,e.res,e.rej):e.res(r)):e.rej(n)}catch(s){e.rej(s)}};r.length>i;)s(r[i++]);r.length=0,t.n=!1,e&&setTimeout(function(){var e,r,o=t.p;T(o)&&(j?x.emit("unhandledRejection",n,o):(e=c.onunhandledrejection)?e({promise:o,reason:n}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",n)),t.a=void 0},1)})}},T=function(t){var e,r=t[m],n=r.a||r.c,o=0;if(r.h)return!1;for(;n.length>o;)if(e=n[o++],e.fail||!T(e.P))return!1;return!0},A=function(t){var e=this;e.d||(e.d=!0,e=e.r||e,e.v=t,e.s=2,e.a=e.c.slice(),M(e,!0))},D=function(t){var e,r=this;if(!r.d){r.d=!0,r=r.r||r;try{(e=F(t))?b(function(){var n={r:r,d:!1};try{e.call(t,s(D,n,1),s(A,n,1))}catch(o){A.call(n,o)}}):(r.v=t,r.s=1,M(r,!1))}catch(n){A.call({r:r,d:!1},n)}}};S||(_=function(t){$(t);var e={p:p(this,_,w),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};this[m]=e;try{t(s(D,e,1),s(A,e,1))}catch(r){A.call(e,r)}},t("./$.mix")(_.prototype,{then:function(t,e){var r=l(l(this).constructor)[y],n={ok:"function"==typeof t?t:!0,fail:"function"==typeof e?e:!1},o=n.P=new(void 0!=r?r:_)(function(t,e){n.res=t,n.rej=e});$(n.res),$(n.rej);var i=this[m];return i.c.push(n),i.a&&i.a.push(n),i.s&&M(i,!1),o},"catch":function(t){return this.then(void 0,t)}})),a(a.G+a.W+a.F*!S,{Promise:_}),t("./$.tag")(_,w),g(_),g(n=t("./$.core")[w]),a(a.S+a.F*!S,w,{reject:function(t){return new this(function(e,r){r(t)})}}),a(a.S+a.F*(!S||k(!0)),w,{resolve:function(t){return O(t)&&P(t.constructor,this)?t:new this(function(e){e(t)})}}),a(a.S+a.F*!(S&&t("./$.iter-detect")(function(t){_.all(t)["catch"](function(){})})),w,{all:function(t){var e=E(this),r=[];return new e(function(n,i){d(t,!1,r.push,r);var c=r.length,s=Array(c);c?o.each.call(r,function(t,r){e.resolve(t).then(function(t){s[r]=t,--c||n(s)},i)}):n(s)})},race:function(t){var e=E(this);return new e(function(r,n){d(t,!1,function(t){e.resolve(t).then(r,n)})})}})},{"./$":35,"./$.a-function":5,"./$.an-object":6,"./$.classof":7,"./$.core":11,"./$.ctx":12,"./$.def":13,"./$.for-of":18,"./$.global":20,"./$.is-object":28,"./$.iter-detect":32,"./$.library":37,"./$.microtask":38,"./$.mix":39,"./$.same":42,"./$.set-proto":43,"./$.species":45,"./$.strict-new":46,"./$.support-desc":48,"./$.tag":49,"./$.uid":54,"./$.wks":56}],61:[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":10,"./$.collection-strong":9}],62:[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":31,"./$.string-at":47}],63:[function(t,e,r){"use strict";var n=t("./$"),o=t("./$.global"),i=t("./$.has"),c=t("./$.support-desc"),s=t("./$.def"),u=t("./$.redef"),a=t("./$.fails"),f=t("./$.shared"),l=t("./$.tag"),$=t("./$.uid"),p=t("./$.wks"),d=t("./$.keyof"),h=t("./$.get-names"),v=t("./$.enum-keys"),g=t("./$.is-array"),y=t("./$.an-object"),m=t("./$.to-iobject"),b=t("./$.property-desc"),w=n.getDesc,x=n.setDesc,j=n.create,_=h.get,k=o.Symbol,S=o.JSON,O=S&&S.stringify,P=!1,E=p("_hidden"),F=n.isEnum,M=f("symbol-registry"),T=f("symbols"),A="function"==typeof k,D=Object.prototype,N=c&&a(function(){return 7!=j(x({},"a",{get:function(){return x(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=w(D,e);n&&delete D[e],x(t,e,r),n&&t!==D&&x(D,e,n)}:x,C=function(t){var e=T[t]=j(k.prototype);return e._k=t,c&&P&&N(D,t,{configurable:!0,set:function(e){i(this,E)&&i(this[E],t)&&(this[E][t]=!1),N(this,t,b(1,e))}}),e},I=function(t){return"symbol"==typeof t},L=function(t,e,r){return r&&i(T,e)?(r.enumerable?(i(t,E)&&t[E][e]&&(t[E][e]=!1),r=j(r,{enumerable:b(0,!1)})):(i(t,E)||x(t,E,b(1,{})),t[E][e]=!0),N(t,e,r)):x(t,e,r)},W=function(t,e){y(t);for(var r,n=v(e=m(e)),o=0,i=n.length;i>o;)L(t,r=n[o++],e[r]);return t},z=function(t,e){return void 0===e?j(t):W(j(t),e)},G=function(t){var e=F.call(this,t);return e||!i(this,t)||!i(T,t)||i(this,E)&&this[E][t]?e:!0},q=function(t,e){var r=w(t=m(t),e);return!r||!i(T,e)||i(t,E)&&t[E][e]||(r.enumerable=!0),r},J=function(t){for(var e,r=_(m(t)),n=[],o=0;r.length>o;)i(T,e=r[o++])||e==E||n.push(e);return n},K=function(t){for(var e,r=_(m(t)),n=[],o=0;r.length>o;)i(T,e=r[o++])&&n.push(T[e]);return n},U=function(t){for(var e,r,n=[t],o=1,i=arguments;i.length>o;)n.push(i[o++]);return e=n[1],"function"==typeof e&&(r=e),(r||!g(e))&&(e=function(t,e){return r&&(e=r.call(this,t,e)),I(e)?void 0:e}),n[1]=e,O.apply(S,n)},B=a(function(){var t=k();return"[null]"!=O([t])||"{}"!=O({a:t})||"{}"!=O(Object(t))});A||(k=function(){if(I(this))throw TypeError("Symbol is not a constructor");return C($(arguments.length>0?arguments[0]:void 0))},u(k.prototype,"toString",function(){return this._k}),I=function(t){return t instanceof k},n.create=z,n.isEnum=G,n.getDesc=q,n.setDesc=L,n.setDescs=W,n.getNames=h.get=J,n.getSymbols=K,c&&!t("./$.library")&&u(D,"propertyIsEnumerable",G,!0));var H={"for":function(t){return i(M,t+="")?M[t]:M[t]=k(t)},keyFor:function(t){return d(M,t)},useSetter:function(){P=!0},useSimple:function(){P=!1}};n.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=p(t);H[t]=A?e:C(e)}),P=!0,s(s.G+s.W,{Symbol:k}),s(s.S,"Symbol",H),s(s.S+s.F*!A,"Object",{create:z,defineProperty:L,defineProperties:W,getOwnPropertyDescriptor:q,getOwnPropertyNames:J,getOwnPropertySymbols:K}),S&&s(s.S+s.F*(!A||B),"JSON",{stringify:U}),l(k,"Symbol"),l(Math,"Math",!0),l(o.JSON,"JSON",!0)},{"./$":35,"./$.an-object":6,"./$.def":13,"./$.enum-keys":16,"./$.fails":17,"./$.get-names":19,"./$.global":20,"./$.has":21,"./$.is-array":27,"./$.keyof":36,"./$.library":37,"./$.property-desc":40,"./$.redef":41,"./$.shared":44,"./$.support-desc":48,"./$.tag":49,"./$.to-iobject":52,"./$.uid":54,"./$.wks":56}],64:[function(t,e,r){t("./es6.array.iterator");var n=t("./$.global"),o=t("./$.hide"),i=t("./$.iterators"),c=t("./$.wks")("iterator"),s=n.NodeList,u=n.HTMLCollection,a=s&&s.prototype,f=u&&u.prototype,l=i.NodeList=i.HTMLCollection=i.Array;!s||c in a||o(a,c,l),!u||c in f||o(f,c,l)},{"./$.global":20,"./$.hide":22,"./$.iterators":34,"./$.wks":56,"./es6.array.iterator":58}]},{},[1]); | ||
!function t(e,r,n){function o(c,s){if(!r[c]){if(!e[c]){var u="function"==typeof require&&require;if(!s&&u)return u(c,!0);if(i)return i(c,!0);var a=new Error("Cannot find module '"+c+"'");throw a.code="MODULE_NOT_FOUND",a}var f=r[c]={exports:{}};e[c][0].call(f.exports,function(t){var r=e[c][1][t];return o(r?r:t)},f,f.exports,t,e,r,n)}return r[c].exports}for(var i="function"==typeof require&&require,c=0;c<n.length;c++)o(n[c]);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.promise"),e.exports=t("../modules/$.core").Promise},{"../modules/$.core":10,"../modules/es6.object.to-string":58,"../modules/es6.promise":59,"../modules/es6.string.iterator":61,"../modules/web.dom.iterable":63}],2:[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":10,"../modules/es6.object.to-string":58,"../modules/es6.set":60,"../modules/es6.string.iterator":61,"../modules/web.dom.iterable":63}],3:[function(t,e,r){t("../modules/es6.symbol"),e.exports=t("../modules/$.core").Symbol},{"../modules/$.core":10,"../modules/es6.symbol":62}],4:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],5:[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":27}],6:[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,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=(e=Object(t))[o])?r:i?n(e):"Object"==(c=n(e))&&"function"==typeof e.callee?"Arguments":c}},{"./$.cof":7,"./$.wks":55}],7:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],8:[function(t,e,r){"use strict";var n=t("./$"),o=t("./$.hide"),i=t("./$.ctx"),c=t("./$.species"),s=t("./$.strict-new"),u=t("./$.defined"),a=t("./$.for-of"),f=t("./$.iter-step"),l=t("./$.uid")("id"),$=t("./$.has"),p=t("./$.is-object"),d=Object.isExtensible||p,h=t("./$.support-desc"),v=h?"_s":"size",y=0,g=function(t,e){if(!p(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!$(t,l)){if(!d(t))return"F";if(!e)return"E";o(t,l,++y)}return"O"+t[l]},m=function(t,e){var r,n=g(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(e,r,o,c){var f=e(function(t,e){s(t,f,r),t._i=n.create(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=e&&a(e,o,t[c],t)});return t("./$.mix")(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[v]=0},"delete":function(t){var e=this,r=m(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[v]--}return!!r},forEach:function(t){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!!m(this,t)}}),h&&n.setDesc(f.prototype,"size",{get:function(){return u(this[v])}}),f},def:function(t,e,r){var n,o,i=m(t,e);return i?i.v=r:(t._l=i={i:o=g(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[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:m,setStrong:function(e,r,n){t("./$.iter-define")(e,r,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))},n?"entries":"values",!n,!0),c(e),c(t("./$.core")[r])}}},{"./$":34,"./$.core":10,"./$.ctx":11,"./$.defined":13,"./$.for-of":17,"./$.has":20,"./$.hide":21,"./$.is-object":27,"./$.iter-define":30,"./$.iter-step":32,"./$.mix":38,"./$.species":44,"./$.strict-new":45,"./$.support-desc":47,"./$.uid":53}],9:[function(t,e,r){"use strict";var n=t("./$.global"),o=t("./$.def"),i=t("./$.for-of"),c=t("./$.strict-new");e.exports=function(e,r,s,u,a,f){var l=n[e],$=l,p=a?"set":"add",d=$&&$.prototype,h={},v=function(e){var r=d[e];t("./$.redef")(d,e,"delete"==e?function(t){return r.call(this,0===t?0:t)}:"has"==e?function(t){return r.call(this,0===t?0:t)}:"get"==e?function(t){return r.call(this,0===t?0:t)}:"add"==e?function(t){return r.call(this,0===t?0:t),this}:function(t,e){return r.call(this,0===t?0:t,e),this})};if("function"==typeof $&&(f||d.forEach&&!t("./$.fails")(function(){(new $).entries().next()}))){var y,g=new $,m=g[p](f?{}:-0,1);t("./$.iter-detect")(function(t){new $(t)})||($=r(function(t,r){c(t,$,e);var n=new l;return void 0!=r&&i(r,a,n[p],n),n}),$.prototype=d,d.constructor=$),f||g.forEach(function(t,e){y=1/e===-(1/0)}),y&&(v("delete"),v("has"),a&&v("get")),(y||m!==g)&&v(p),f&&d.clear&&delete d.clear}else $=u.getConstructor(r,e,a,p),t("./$.mix")($.prototype,s);return t("./$.tag")($,e),h[e]=$,o(o.G+o.W+o.F*($!=l),h),f||u.setStrong($,e,a),$}},{"./$.def":12,"./$.fails":16,"./$.for-of":17,"./$.global":19,"./$.iter-detect":31,"./$.mix":38,"./$.redef":40,"./$.strict-new":45,"./$.tag":48}],10:[function(t,e,r){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},{}],11:[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":4}],12:[function(t,e,r){var n=t("./$.global"),o=t("./$.core"),i=t("./$.hide"),c=t("./$.redef"),s="prototype",u=function(t,e){return function(){return t.apply(e,arguments)}},a=function(t,e,r){var f,l,$,p,d=t&a.G,h=t&a.P,v=d?n:t&a.S?n[e]||(n[e]={}):(n[e]||{})[s],y=d?o:o[e]||(o[e]={});d&&(r=e);for(f in r)l=!(t&a.F)&&v&&f in v,$=(l?v:r)[f],p=t&a.B&&l?u($,n):h&&"function"==typeof $?u(Function.call,$):$,v&&!l&&c(v,f,$),y[f]!=$&&i(y,f,p),h&&((y[s]||(y[s]={}))[f]=$)};n.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,e.exports=a},{"./$.core":10,"./$.global":19,"./$.hide":21,"./$.redef":40}],13:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],14:[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":19,"./$.is-object":27}],15:[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),c=n.isEnum,s=0;i.length>s;)c.call(t,o=i[s++])&&e.push(o);return e}},{"./$":34}],16:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(e){return!0}}},{}],17:[function(t,e,r){var n=t("./$.ctx"),o=t("./$.iter-call"),i=t("./$.is-array-iter"),c=t("./$.an-object"),s=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=s(t.length);f>h;h++)e?d(c(l=t[h])[0],l[1]):d(t[h]);else for($=p.call(t);!(l=$.next()).done;)o($,d,l.value,e)}},{"./$.an-object":5,"./$.ctx":11,"./$.is-array-iter":25,"./$.iter-call":28,"./$.to-length":52,"./core.get-iterator-method":56}],18:[function(t,e,r){var n={}.toString,o=t("./$.to-iobject"),i=t("./$").getNames,c="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return c.slice()}};e.exports.get=function(t){return c&&"[object Window]"==n.call(t)?s(t):i(o(t))}},{"./$":34,"./$.to-iobject":51}],19:[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)},{}],20:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],21:[function(t,e,r){var n=t("./$"),o=t("./$.property-desc");e.exports=t("./$.support-desc")?function(t,e,r){return n.setDesc(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"./$":34,"./$.property-desc":39,"./$.support-desc":47}],22:[function(t,e,r){e.exports=t("./$.global").document&&document.documentElement},{"./$.global":19}],23:[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)}},{}],24:[function(t,e,r){var n=t("./$.cof");e.exports=0 in Object("z")?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./$.cof":7}],25:[function(t,e,r){var n=t("./$.iterators"),o=t("./$.wks")("iterator");e.exports=function(t){return(n.Array||Array.prototype[o])===t}},{"./$.iterators":33,"./$.wks":55}],26:[function(t,e,r){var n=t("./$.cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./$.cof":7}],27:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],28:[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 c=t["return"];throw void 0!==c&&n(c.call(t)),i}}},{"./$.an-object":5}],29:[function(t,e,r){"use strict";var n=t("./$"),o={};t("./$.hide")(o,t("./$.wks")("iterator"),function(){return this}),e.exports=function(e,r,i){e.prototype=n.create(o,{next:t("./$.property-desc")(1,i)}),t("./$.tag")(e,r+" Iterator")}},{"./$":34,"./$.hide":21,"./$.property-desc":39,"./$.tag":48,"./$.wks":55}],30:[function(t,e,r){"use strict";var n=t("./$.library"),o=t("./$.def"),i=t("./$.redef"),c=t("./$.hide"),s=t("./$.has"),u=t("./$.wks")("iterator"),a=t("./$.iterators"),f=!([].keys&&"next"in[].keys()),l="@@iterator",$="keys",p="values",d=function(){return this};e.exports=function(e,r,h,v,y,g,m){t("./$.iter-create")(h,r,v);var b,w,x=function(t){switch(t){case $:return function(){return new h(this,t)};case p:return function(){return new h(this,t)}}return function(){return new h(this,t)}},j=r+" Iterator",_=e.prototype,k=_[u]||_[l]||y&&_[y],S=k||x(y);if(k){var O=t("./$").getProto(S.call(new e));t("./$.tag")(O,j,!0),!n&&s(_,l)&&c(O,u,d)}if((!n||m)&&c(_,u,S),a[r]=S,a[j]=d,y)if(b={keys:g?S:x($),values:y==p?S:x(p),entries:y!=p?S:x("entries")},m)for(w in b)w in _||i(_,w,b[w]);else o(o.P+o.F*f,r,b)}},{"./$":34,"./$.def":12,"./$.has":20,"./$.hide":21,"./$.iter-create":29,"./$.iterators":33,"./$.library":36,"./$.redef":40,"./$.tag":48,"./$.wks":55}],31:[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(c){}e.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],c=i[n]();c.next=function(){r=!0},i[n]=function(){return c},t(i)}catch(s){}return r}},{"./$.wks":55}],32:[function(t,e,r){e.exports=function(t,e){return{value:e,done:!!t}}},{}],33:[function(t,e,r){e.exports={}},{}],34:[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}},{}],35:[function(t,e,r){var n=t("./$"),o=t("./$.to-iobject");e.exports=function(t,e){for(var r,i=o(t),c=n.getKeys(i),s=c.length,u=0;s>u;)if(i[r=c[u++]]===e)return r}},{"./$":34,"./$.to-iobject":51}],36:[function(t,e,r){e.exports=!1},{}],37:[function(t,e,r){var n,o,i,c=t("./$.global"),s=t("./$.task").set,u=c.MutationObserver||c.WebKitMutationObserver,a=c.process,f="process"==t("./$.cof")(a),l=function(){var t,e;for(f&&(t=a.domain)&&(a.domain=null,t.exit());n;)e=n.domain,e&&e.enter(),n.fn.call(),e&&e.exit(),n=n.next;o=void 0,t&&t.enter()};if(f)i=function(){a.nextTick(l)};else if(u){var $=1,p=document.createTextNode("");new u(l).observe(p,{characterData:!0}),i=function(){p.data=$=-$}}else i=function(){s.call(c,l)};e.exports=function(t){var e={fn:t,next:void 0,domain:f&&a.domain};o&&(o.next=e),n||(n=e,i()),o=e}},{"./$.cof":7,"./$.global":19,"./$.task":49}],38:[function(t,e,r){var n=t("./$.redef");e.exports=function(t,e){for(var r in e)n(t,r,e[r]);return t}},{"./$.redef":40}],39:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],40:[function(t,e,r){var n=t("./$.global"),o=t("./$.hide"),i=t("./$.uid")("src"),c="toString",s=Function[c],u=(""+s).split(c);t("./$.core").inspectSource=function(t){return s.call(t)},(e.exports=function(t,e,r,c){"function"==typeof r&&(o(r,i,t[e]?""+t[e]:u.join(String(e))),"name"in r||(r.name=e)),t===n?t[e]=r:(c||delete t[e],o(t,e,r))})(Function.prototype,c,function(){return"function"==typeof this&&this[i]||s.call(this)})},{"./$.core":10,"./$.global":19,"./$.hide":21,"./$.uid":53}],41:[function(t,e,r){e.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},{}],42:[function(t,e,r){var n=t("./$").getDesc,o=t("./$.is-object"),i=t("./$.an-object"),c=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 c(t,e),r?t.__proto__=e:o(t,e),t}}({},!1):void 0),check:c}},{"./$":34,"./$.an-object":5,"./$.ctx":11,"./$.is-object":27}],43:[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":19}],44:[function(t,e,r){"use strict";var n=t("./$"),o=t("./$.wks")("species");e.exports=function(e){!t("./$.support-desc")||o in e||n.setDesc(e,o,{configurable:!0,get:function(){return this}})}},{"./$":34,"./$.support-desc":47,"./$.wks":55}],45:[function(t,e,r){e.exports=function(t,e,r){if(!(t instanceof e))throw TypeError(r+": use the 'new' operator!");return t}},{}],46:[function(t,e,r){var n=t("./$.to-integer"),o=t("./$.defined");e.exports=function(t){return function(e,r){var i,c,s=String(o(e)),u=n(r),a=s.length;return 0>u||u>=a?t?"":void 0:(i=s.charCodeAt(u),55296>i||i>56319||u+1===a||(c=s.charCodeAt(u+1))<56320||c>57343?t?s.charAt(u):i:t?s.slice(u,u+2):(i-55296<<10)+(c-56320)+65536)}}},{"./$.defined":13,"./$.to-integer":50}],47:[function(t,e,r){e.exports=!t("./$.fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./$.fails":16}],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})}},{"./$":34,"./$.has":20,"./$.wks":55}],49:[function(t,e,r){"use strict";var n,o,i,c=t("./$.ctx"),s=t("./$.invoke"),u=t("./$.html"),a=t("./$.dom-create"),f=t("./$.global"),l=f.process,$=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,h=0,v={},y="onreadystatechange",g=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},m=function(t){g.call(t.data)};$&&p||($=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return v[++h]=function(){s("function"==typeof t?t:Function(t),e)},n(h),h},p=function(t){delete v[t]},"process"==t("./$.cof")(l)?n=function(t){l.nextTick(c(g,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=m,n=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",m,!1)):n=y in a("script")?function(t){u.appendChild(a("script"))[y]=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(c(g,t,1),0)}),e.exports={set:$,clear:p}},{"./$.cof":7,"./$.ctx":11,"./$.dom-create":14,"./$.global":19,"./$.html":22,"./$.invoke":23}],50:[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)}},{}],51:[function(t,e,r){var n=t("./$.iobject"),o=t("./$.defined");e.exports=function(t){return n(o(t))}},{"./$.defined":13,"./$.iobject":24}],52:[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":50}],53:[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))}},{}],54:[function(t,e,r){var n=t("./$.wks")("unscopables");void 0==[][n]&&t("./$.hide")(Array.prototype,n,{}),e.exports=function(t){[][n][t]=!0}},{"./$.hide":21,"./$.wks":55}],55:[function(t,e,r){var n=t("./$.shared")("wks"),o=t("./$.global").Symbol;e.exports=function(e){return n[e]||(n[e]=o&&o[e]||(o||t("./$.uid"))("Symbol."+e))}},{"./$.global":19,"./$.shared":43,"./$.uid":53}],56:[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":6,"./$.core":10,"./$.iterators":33,"./$.wks":55}],57:[function(t,e,r){"use strict";var n=t("./$.unscope"),o=t("./$.iter-step"),i=t("./$.iterators"),c=t("./$.to-iobject");t("./$.iter-define")(Array,"Array",function(t,e){this._t=c(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")},{"./$.iter-define":30,"./$.iter-step":32,"./$.iterators":33,"./$.to-iobject":51,"./$.unscope":54}],58:[function(t,e,r){"use strict";var n=t("./$.classof"),o={};o[t("./$.wks")("toStringTag")]="z",o+""!="[object z]"&&t("./$.redef")(Object.prototype,"toString",function(){return"[object "+n(this)+"]"},!0)},{"./$.classof":6,"./$.redef":40,"./$.wks":55}],59:[function(t,e,r){"use strict";var n,o=t("./$"),i=t("./$.library"),c=t("./$.global"),s=t("./$.ctx"),u=t("./$.classof"),a=t("./$.def"),f=t("./$.is-object"),l=t("./$.an-object"),$=t("./$.a-function"),p=t("./$.strict-new"),d=t("./$.for-of"),h=t("./$.set-proto").set,v=t("./$.same"),y=t("./$.species"),g=t("./$.wks")("species"),m=t("./$.uid")("record"),b=t("./$.microtask"),w="Promise",x=c.process,j="process"==u(x),_=c[w],k=function(t){var e=new _(function(){});return t&&(e.constructor=Object),_.resolve(e)===e},S=function(){function e(t){var r=new _(t);return h(r,e.prototype),r}var r=!1;try{if(r=_&&_.resolve&&k(),h(e,_),e.prototype=o.create(_.prototype,{constructor:{value:e}}),e.resolve(5).then(function(){})instanceof e||(r=!1),r&&t("./$.support-desc")){var n=!1;_.resolve(o.setDesc({},"then",{get:function(){n=!0}})),r=n}}catch(i){r=!1}return r}(),O=function(t){return f(t)&&(S?"Promise"==u(t):m in t)},P=function(t,e){return i&&t===_&&e===n?!0:v(t,e)},E=function(t){var e=l(t)[g];return void 0!=e?e:t},F=function(t){var e;return f(t)&&"function"==typeof(e=t.then)?e:!1},M=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,c=o?e.ok:e.fail;try{c?(o||(t.h=!0),r=c===!0?n:c(n),r===e.P?e.rej(TypeError("Promise-chain cycle")):(i=F(r))?i.call(r,e.res,e.rej):e.res(r)):e.rej(n)}catch(s){e.rej(s)}};r.length>i;)s(r[i++]);r.length=0,t.n=!1,e&&setTimeout(function(){var e,r,o=t.p;T(o)&&(j?x.emit("unhandledRejection",n,o):(e=c.onunhandledrejection)?e({promise:o,reason:n}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",n)),t.a=void 0},1)})}},T=function(t){var e,r=t[m],n=r.a||r.c,o=0;if(r.h)return!1;for(;n.length>o;)if(e=n[o++],e.fail||!T(e.P))return!1;return!0},A=function(t){var e=this;e.d||(e.d=!0,e=e.r||e,e.v=t,e.s=2,e.a=e.c.slice(),M(e,!0))},D=function(t){var e,r=this;if(!r.d){r.d=!0,r=r.r||r;try{(e=F(t))?b(function(){var n={r:r,d:!1};try{e.call(t,s(D,n,1),s(A,n,1))}catch(o){A.call(n,o)}}):(r.v=t,r.s=1,M(r,!1))}catch(n){A.call({r:r,d:!1},n)}}};S||(_=function(t){$(t);var e={p:p(this,_,w),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};this[m]=e;try{t(s(D,e,1),s(A,e,1))}catch(r){A.call(e,r)}},t("./$.mix")(_.prototype,{then:function(t,e){var r=l(l(this).constructor)[g],n={ok:"function"==typeof t?t:!0,fail:"function"==typeof e?e:!1},o=n.P=new(void 0!=r?r:_)(function(t,e){n.res=t,n.rej=e});$(n.res),$(n.rej);var i=this[m];return i.c.push(n),i.a&&i.a.push(n),i.s&&M(i,!1),o},"catch":function(t){return this.then(void 0,t)}})),a(a.G+a.W+a.F*!S,{Promise:_}),t("./$.tag")(_,w),y(_),y(n=t("./$.core")[w]),a(a.S+a.F*!S,w,{reject:function(t){return new this(function(e,r){r(t)})}}),a(a.S+a.F*(!S||k(!0)),w,{resolve:function(t){return O(t)&&P(t.constructor,this)?t:new this(function(e){e(t)})}}),a(a.S+a.F*!(S&&t("./$.iter-detect")(function(t){_.all(t)["catch"](function(){})})),w,{all:function(t){var e=E(this),r=[];return new e(function(n,i){d(t,!1,r.push,r);var c=r.length,s=Array(c);c?o.each.call(r,function(t,r){e.resolve(t).then(function(t){s[r]=t,--c||n(s)},i)}):n(s)})},race:function(t){var e=E(this);return new e(function(r,n){d(t,!1,function(t){e.resolve(t).then(r,n)})})}})},{"./$":34,"./$.a-function":4,"./$.an-object":5,"./$.classof":6,"./$.core":10,"./$.ctx":11,"./$.def":12,"./$.for-of":17,"./$.global":19,"./$.is-object":27,"./$.iter-detect":31,"./$.library":36,"./$.microtask":37,"./$.mix":38,"./$.same":41,"./$.set-proto":42,"./$.species":44,"./$.strict-new":45,"./$.support-desc":47,"./$.tag":48,"./$.uid":53,"./$.wks":55}],60:[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":9,"./$.collection-strong":8}],61:[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":30,"./$.string-at":46}],62:[function(t,e,r){"use strict";var n=t("./$"),o=t("./$.global"),i=t("./$.has"),c=t("./$.support-desc"),s=t("./$.def"),u=t("./$.redef"),a=t("./$.fails"),f=t("./$.shared"),l=t("./$.tag"),$=t("./$.uid"),p=t("./$.wks"),d=t("./$.keyof"),h=t("./$.get-names"),v=t("./$.enum-keys"),y=t("./$.is-array"),g=t("./$.an-object"),m=t("./$.to-iobject"),b=t("./$.property-desc"),w=n.getDesc,x=n.setDesc,j=n.create,_=h.get,k=o.Symbol,S=o.JSON,O=S&&S.stringify,P=!1,E=p("_hidden"),F=n.isEnum,M=f("symbol-registry"),T=f("symbols"),A="function"==typeof k,D=Object.prototype,N=c&&a(function(){return 7!=j(x({},"a",{get:function(){return x(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=w(D,e);n&&delete D[e],x(t,e,r),n&&t!==D&&x(D,e,n)}:x,C=function(t){var e=T[t]=j(k.prototype);return e._k=t,c&&P&&N(D,t,{configurable:!0,set:function(e){i(this,E)&&i(this[E],t)&&(this[E][t]=!1),N(this,t,b(1,e))}}),e},I=function(t){return"symbol"==typeof t},L=function(t,e,r){return r&&i(T,e)?(r.enumerable?(i(t,E)&&t[E][e]&&(t[E][e]=!1),r=j(r,{enumerable:b(0,!1)})):(i(t,E)||x(t,E,b(1,{})),t[E][e]=!0),N(t,e,r)):x(t,e,r)},W=function(t,e){g(t);for(var r,n=v(e=m(e)),o=0,i=n.length;i>o;)L(t,r=n[o++],e[r]);return t},z=function(t,e){return void 0===e?j(t):W(j(t),e)},G=function(t){var e=F.call(this,t);return e||!i(this,t)||!i(T,t)||i(this,E)&&this[E][t]?e:!0},q=function(t,e){var r=w(t=m(t),e);return!r||!i(T,e)||i(t,E)&&t[E][e]||(r.enumerable=!0),r},J=function(t){for(var e,r=_(m(t)),n=[],o=0;r.length>o;)i(T,e=r[o++])||e==E||n.push(e);return n},K=function(t){for(var e,r=_(m(t)),n=[],o=0;r.length>o;)i(T,e=r[o++])&&n.push(T[e]);return n},U=function(t){for(var e,r,n=[t],o=1,i=arguments;i.length>o;)n.push(i[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)),I(e)?void 0:e}),n[1]=e,O.apply(S,n)},B=a(function(){var t=k();return"[null]"!=O([t])||"{}"!=O({a:t})||"{}"!=O(Object(t))});A||(k=function(){if(I(this))throw TypeError("Symbol is not a constructor");return C($(arguments.length>0?arguments[0]:void 0))},u(k.prototype,"toString",function(){return this._k}),I=function(t){return t instanceof k},n.create=z,n.isEnum=G,n.getDesc=q,n.setDesc=L,n.setDescs=W,n.getNames=h.get=J,n.getSymbols=K,c&&!t("./$.library")&&u(D,"propertyIsEnumerable",G,!0));var H={"for":function(t){return i(M,t+="")?M[t]:M[t]=k(t)},keyFor:function(t){return d(M,t)},useSetter:function(){P=!0},useSimple:function(){P=!1}};n.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=p(t);H[t]=A?e:C(e)}),P=!0,s(s.G+s.W,{Symbol:k}),s(s.S,"Symbol",H),s(s.S+s.F*!A,"Object",{create:z,defineProperty:L,defineProperties:W,getOwnPropertyDescriptor:q,getOwnPropertyNames:J,getOwnPropertySymbols:K}),S&&s(s.S+s.F*(!A||B),"JSON",{stringify:U}),l(k,"Symbol"),l(Math,"Math",!0),l(o.JSON,"JSON",!0)},{"./$":34,"./$.an-object":5,"./$.def":12,"./$.enum-keys":15,"./$.fails":16,"./$.get-names":18,"./$.global":19,"./$.has":20,"./$.is-array":26,"./$.keyof":35,"./$.library":36,"./$.property-desc":39,"./$.redef":40,"./$.shared":43,"./$.support-desc":47,"./$.tag":48,"./$.to-iobject":51,"./$.uid":53,"./$.wks":55}],63:[function(t,e,r){t("./es6.array.iterator");var n=t("./$.global"),o=t("./$.hide"),i=t("./$.iterators"),c=t("./$.wks")("iterator"),s=n.NodeList,u=n.HTMLCollection,a=s&&s.prototype,f=u&&u.prototype,l=i.NodeList=i.HTMLCollection=i.Array;!s||c in a||o(a,c,l),!u||c in f||o(f,c,l)},{"./$.global":19,"./$.hide":21,"./$.iterators":33,"./$.wks":55,"./es6.array.iterator":57}],64:[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")):(e.Symbol=t("core-js/es6/symbol"),e.Promise=t("core-js/es6/promise"),e.Set=t("core-js/es6/set"))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"core-js/es6/promise":1,"core-js/es6/set":2,"core-js/es6/symbol":3}]},{},[64]); |
@@ -13,3 +13,6 @@ 'use strict'; | ||
} else { | ||
resolvedClass = require('marsdb/dist/' + className)['default']; | ||
resolvedClass = require('marsdb/dist/' + className); | ||
if (resolvedClass && resolvedClass['default']) { | ||
resolvedClass = resolvedClass['default']; | ||
} | ||
} | ||
@@ -16,0 +19,0 @@ |
@@ -120,3 +120,3 @@ 'use strict'; | ||
var insertedInResult = !removedFromResult && (newDoc && this._matcher.documentMatches(newDoc).result); | ||
var insertedInResult = removedFromResult || newDoc && this._matcher.documentMatches(newDoc).result; | ||
@@ -123,0 +123,0 @@ if (insertedInResult) { |
@@ -15,5 +15,5 @@ 'use strict'; | ||
entryTests: 'browser_tests.js', | ||
entryPolyfills: 'browser_polyfills.js', | ||
entryPolyfills: 'polyfills.js', | ||
entryAngular: 'dist/angular/index', | ||
} | ||
}; |
@@ -124,3 +124,3 @@ 'use strict'; | ||
var transforms = ['brfs', 'bulkify', 'envify']; | ||
var transforms = [babelify.configure({}), 'brfs', 'bulkify', 'envify']; | ||
transforms.forEach(function(transform) { | ||
@@ -127,0 +127,0 @@ b.transform(transform); |
@@ -9,3 +9,6 @@ export default function requireUniversal(className) { | ||
} else { | ||
resolvedClass = require('marsdb/dist/' + className).default; | ||
resolvedClass = require('marsdb/dist/' + className); | ||
if (resolvedClass && resolvedClass.default) { | ||
resolvedClass = resolvedClass.default; | ||
} | ||
} | ||
@@ -12,0 +15,0 @@ |
@@ -73,3 +73,3 @@ import Cursor from './Cursor'; | ||
const insertedInResult = !removedFromResult && ( | ||
const insertedInResult = removedFromResult || ( | ||
newDoc && this._matcher.documentMatches(newDoc).result | ||
@@ -76,0 +76,0 @@ ); |
{ | ||
"name": "marsdb", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Artem Artemev", |
@@ -53,2 +53,6 @@ <div style="text-align:center"><img src="https://static.studytime.me/marsdb.png" /></div> | ||
### Using within non-ES6 environment | ||
The `./dist` folder contains already compiled to a ES5 code, but some polyfills needed. For using in a browser you must to include `marsdb.polyfills.js` before `marsdb.min.js`. In node.js you need to `require(‘marsdb/polyfills’)`. | ||
It sets in a window/global: Promise, Set and Symbol. | ||
### Create a collection | ||
@@ -55,0 +59,0 @@ ```javascript |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1017951
94
23703
182