UNPKG

21 kBJavaScriptView Raw
1(function(B){"object"===typeof exports&&"undefined"!==typeof module?module.exports=B():"function"===typeof define&&define.amd?define([],B):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).xstream=B()})(function(){return function d(e,h,f){function m(g,n){if(!h[g]){if(!e[g]){var p="function"==typeof require&&require;if(!n&&p)return p(g,!0);if(q)return q(g,!0);n=Error("Cannot find module '"+g+"'");throw n.code="MODULE_NOT_FOUND",n;}n=h[g]={exports:{}};
2e[g][0].call(n.exports,function(c){var d=e[g][1][c];return m(d?d:c)},n,n.exports,d,e,h,f)}return h[g].exports}for(var q="function"==typeof require&&require,g=0;g<f.length;g++)m(f[g]);return m}({1:[function(e,h,f){function d(){}function m(a){for(var b=a.length,k=Array(b),c=0;c<b;++c)k[c]=a[c];return k}function q(a,b){return function(k){return a(k)&&b(k)}}function g(a,b,k){try{return a.f(b)}catch(l){return k._e(l),c}}function t(a){a._start=function(b){b.next=b._n;b.error=b._e;b.complete=b._c;this.start(b)};
3a._stop=a.stop}var n=this&&this.__extends||function(){var a=function(b,k){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var k in a)a.hasOwnProperty(k)&&(b[k]=a[k])};return a(b,k)};return function(b,k){function c(){this.constructor=b}a(b,k);b.prototype=null===k?Object.create(k):(c.prototype=k.prototype,new c)}}();Object.defineProperty(f,"__esModule",{value:!0});f.NO_IL=f.NO=f.MemoryStream=f.Stream=void 0;h=e("symbol-observable/ponyfill");e=
4e("globalthis");var p=h.default(e.getPolyfill()),c={};f.NO=c;var v={_n:d,_e:d,_c:d};f.NO_IL=v;var C=function(){function a(b,a){this._stream=b;this._listener=a}a.prototype.unsubscribe=function(){this._stream._remove(this._listener)};return a}(),r=function(){function a(b){this._listener=b}a.prototype.next=function(b){this._listener._n(b)};a.prototype.error=function(b){this._listener._e(b)};a.prototype.complete=function(){this._listener._c()};return a}(),x=function(){function a(b){this.type="fromObservable";
5this.ins=b;this.active=!1}a.prototype._start=function(b){this.out=b;this.active=!0;this._sub=this.ins.subscribe(new r(b));this.active||this._sub.unsubscribe()};a.prototype._stop=function(){this._sub&&this._sub.unsubscribe();this.active=!1};return a}(),G=function(){function a(b){this.type="merge";this.insArr=b;this.out=c;this.ac=0}a.prototype._start=function(b){this.out=b;b=this.insArr;var a=b.length;this.ac=a;for(var c=0;c<a;c++)b[c]._add(this)};a.prototype._stop=function(){for(var b=this.insArr,
6a=b.length,l=0;l<a;l++)b[l]._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&a._n(b)};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){if(0>=--this.ac){var b=this.out;b!==c&&b._c()}};return a}(),A=function(){function a(b,a,c){this.i=b;this.out=a;this.p=c;c.ils.push(this)}a.prototype._n=function(b){var a=this.p,l=this.out;l!==c&&a.up(b,this.i)&&(b=m(a.vals),l._n(b))};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=
7function(){var b=this.p;b.out!==c&&0===--b.Nc&&b.out._c()};return a}(),u=function(){function a(b){this.type="combine";this.insArr=b;this.out=c;this.ils=[];this.Nc=this.Nn=0;this.vals=[]}a.prototype.up=function(b,a){var k=this.vals[a];k=this.Nn?k===c?--this.Nn:this.Nn:0;this.vals[a]=b;return 0===k};a.prototype._start=function(b){this.out=b;var a=this.insArr,l=this.Nc=this.Nn=a.length,d=this.vals=Array(l);if(0===l)b._n([]),b._c();else for(var e=0;e<l;e++)d[e]=c,a[e]._add(new A(e,b,this))};a.prototype._stop=
8function(){for(var b=this.insArr,a=b.length,l=this.ils,d=0;d<a;d++)b[d]._remove(l[d]);this.out=c;this.ils=[];this.vals=[]};return a}(),H=function(){function a(b){this.type="fromArray";this.a=b}a.prototype._start=function(b){for(var a=this.a,c=0,d=a.length;c<d;c++)b._n(a[c]);b._c()};a.prototype._stop=function(){};return a}(),y=function(){function a(b){this.type="fromPromise";this.on=!1;this.p=b}a.prototype._start=function(b){var a=this;this.on=!0;this.p.then(function(k){a.on&&(b._n(k),b._c())},function(a){b._e(a)}).then(d,
9function(b){setTimeout(function(){throw b;})})};a.prototype._stop=function(){this.on=!1};return a}(),z=function(){function a(b){this.type="periodic";this.period=b;this.intervalID=-1;this.i=0}a.prototype._start=function(b){var a=this;this.intervalID=setInterval(function(){b._n(a.i++)},this.period)};a.prototype._stop=function(){-1!==this.intervalID&&clearInterval(this.intervalID);this.intervalID=-1;this.i=0};return a}(),E=function(){function a(b,a){this.type="debug";this.ins=b;this.out=c;this.s=d;this.l=
10"";"string"===typeof a?this.l=a:"function"===typeof a&&(this.s=a)}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;if(a!==c){var l=this.s,e=this.l;if(l!==d)try{l(b)}catch(F){a._e(F)}else e?console.log(e+":",b):console.log(b);a._n(b)}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),I=function(){function a(b,
11a){this.type="drop";this.ins=a;this.out=c;this.max=b;this.dropped=0}a.prototype._start=function(b){this.out=b;this.dropped=0;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&this.dropped++>=this.max&&a._n(b)};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),J=function(){function a(b,a){this.out=b;this.op=a}a.prototype._n=function(){this.op.end()};
12a.prototype._e=function(b){this.out._e(b)};a.prototype._c=function(){this.op.end()};return a}(),K=function(){function a(b,a){this.type="endWhen";this.ins=a;this.out=c;this.o=b;this.oil=v}a.prototype._start=function(b){this.out=b;this.o._add(this.oil=new J(b,this));this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.o._remove(this.oil);this.out=c;this.oil=v};a.prototype.end=function(){var b=this.out;b!==c&&b._c()};a.prototype._n=function(b){var a=this.out;a!==c&&a._n(b)};
13a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){this.end()};return a}(),D=function(){function a(b,a){this.type="filter";this.ins=a;this.out=c;this.f=b}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;if(a!==c){var l=g(this,b,a);l!==c&&l&&a._n(b)}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;
14b!==c&&b._c()};return a}(),L=function(){function a(b,a){this.out=b;this.op=a}a.prototype._n=function(b){this.out._n(b)};a.prototype._e=function(b){this.out._e(b)};a.prototype._c=function(){this.op.inner=c;this.op.less()};return a}(),M=function(){function a(b){this.type="flatten";this.ins=b;this.out=c;this.open=!0;this.inner=c;this.il=v}a.prototype._start=function(b){this.out=b;this.open=!0;this.inner=c;this.il=v;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.inner!==
15c&&this.inner._remove(this.il);this.out=c;this.open=!0;this.inner=c;this.il=v};a.prototype.less=function(){var b=this.out;b!==c&&(this.open||this.inner!==c||b._c())};a.prototype._n=function(b){var a=this.out;if(a!==c){var l=this.inner,d=this.il;l!==c&&d!==v&&l._remove(d);(this.inner=b)._add(this.il=new L(a,this))}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){this.open=!1;this.less()};return a}(),N=function(){function a(b,a,l){var k=this;this.type="fold";this.ins=
16l;this.out=c;this.f=function(a){return b(k.acc,a)};this.acc=this.seed=a}a.prototype._start=function(b){this.out=b;this.acc=this.seed;b._n(this.acc);this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c;this.acc=this.seed};a.prototype._n=function(b){var a=this.out;a!==c&&(b=g(this,b,a),b!==c&&a._n(this.acc=b))};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),O=function(){function a(b){this.type=
17"last";this.ins=b;this.out=c;this.has=!1;this.val=c}a.prototype._start=function(b){this.out=b;this.has=!1;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.val=this.out=c};a.prototype._n=function(b){this.has=!0;this.val=b};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&(this.has?(b._n(this.val),b._c()):b._e(Error("last() failed because input stream completed")))};return a}(),P=function(){function a(b,a){this.type=
18"map";this.ins=a;this.out=c;this.f=b}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&(b=g(this,b,a),b!==c&&a._n(b))};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}(),Q=function(){function a(b){this.type="remember";this.ins=b;this.out=c}a.prototype._start=function(b){this.out=b;this.ins._add(b)};
19a.prototype._stop=function(){this.ins._remove(this.out);this.out=c};return a}(),R=function(){function a(b,a){this.type="replaceError";this.ins=a;this.out=c;this.f=b}a.prototype._start=function(b){this.out=b;this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);this.out=c};a.prototype._n=function(b){var a=this.out;a!==c&&a._n(b)};a.prototype._e=function(b){var a=this.out;if(a!==c)try{this.ins._remove(this),(this.ins=this.f(b))._add(this)}catch(l){a._e(l)}};a.prototype._c=function(){var b=
20this.out;b!==c&&b._c()};return a}(),S=function(){function a(b,a){this.type="startWith";this.ins=b;this.out=c;this.val=a}a.prototype._start=function(b){this.out=b;this.out._n(this.val);this.ins._add(b)};a.prototype._stop=function(){this.ins._remove(this.out);this.out=c};return a}(),T=function(){function a(b,a){this.type="take";this.ins=a;this.out=c;this.max=b;this.taken=0}a.prototype._start=function(b){this.out=b;this.taken=0;0>=this.max?b._c():this.ins._add(this)};a.prototype._stop=function(){this.ins._remove(this);
21this.out=c};a.prototype._n=function(b){var a=this.out;if(a!==c){var l=++this.taken;l<this.max?a._n(b):l===this.max&&(a._n(b),a._c())}};a.prototype._e=function(b){var a=this.out;a!==c&&a._e(b)};a.prototype._c=function(){var b=this.out;b!==c&&b._c()};return a}();e=function(){function a(b){this._prod=b||c;this._ils=[];this._dl=this._stopID=c;this._d=!1;this._target=null;this._err=c}a.prototype._n=function(b){var a=this._ils,c=a.length;this._d&&this._dl._n(b);if(1==c)a[0]._n(b);else if(0!=c){a=m(a);for(var d=
220;d<c;d++)a[d]._n(b)}};a.prototype._e=function(b){if(this._err===c){this._err=b;var a=this._ils,d=a.length;this._x();this._d&&this._dl._e(b);if(1==d)a[0]._e(b);else{if(0==d)return;a=m(a);for(var e=0;e<d;e++)a[e]._e(b)}if(!this._d&&0==d)throw this._err;}};a.prototype._c=function(){var b=this._ils,a=b.length;this._x();this._d&&this._dl._c();if(1==a)b[0]._c();else if(0!=a){b=m(b);for(var c=0;c<a;c++)b[c]._c()}};a.prototype._x=function(){0!==this._ils.length&&(this._prod!==c&&this._prod._stop(),this._err=
23c,this._ils=[])};a.prototype._stopNow=function(){this._prod._stop();this._stopID=this._err=c};a.prototype._add=function(b){var a=this._target;if(a)return a._add(b);a=this._ils;a.push(b);1<a.length||(this._stopID!==c?(clearTimeout(this._stopID),this._stopID=c):(b=this._prod,b!==c&&b._start(this)))};a.prototype._remove=function(b){var a=this,d=this._target;if(d)return d._remove(b);d=this._ils;b=d.indexOf(b);-1<b&&(d.splice(b,1),this._prod!==c&&0>=d.length?(this._err=c,this._stopID=setTimeout(function(){return a._stopNow()})):
241===d.length&&this._pruneCycles())};a.prototype._pruneCycles=function(){this._hasNoSinks(this,[])&&this._remove(this._ils[0])};a.prototype._hasNoSinks=function(b,a){if(-1!==a.indexOf(b)||b.out===this)return!0;if(b.out&&b.out!==c)return this._hasNoSinks(b.out,a.concat(b));if(b._ils){for(var k=0,d=b._ils.length;k<d;k++)if(!this._hasNoSinks(b._ils[k],a.concat(b)))return!1;return!0}return!1};a.prototype.ctor=function(){return this instanceof w?w:a};a.prototype.addListener=function(b){b._n=b.next||d;b._e=
25b.error||d;b._c=b.complete||d;this._add(b)};a.prototype.removeListener=function(b){this._remove(b)};a.prototype.subscribe=function(b){this.addListener(b);return new C(this,b)};a.prototype[p]=function(){return this};a.create=function(b){if(b){if("function"!==typeof b.start||"function"!==typeof b.stop)throw Error("producer requires both start and stop functions");t(b)}return new a(b)};a.createWithMemory=function(b){b&&t(b);return new w(b)};a.never=function(){return new a({_start:d,_stop:d})};a.empty=
26function(){return new a({_start:function(b){b._c()},_stop:d})};a.throw=function(b){return new a({_start:function(a){a._e(b)},_stop:d})};a.from=function(b){if("function"===typeof b[p])return a.fromObservable(b);if("function"===typeof b.then)return a.fromPromise(b);if(Array.isArray(b))return a.fromArray(b);throw new TypeError("Type of input to from() must be an Array, Promise, or Observable");};a.of=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return a.fromArray(b)};a.fromArray=
27function(b){return new a(new H(b))};a.fromPromise=function(b){return new a(new y(b))};a.fromObservable=function(b){if(void 0!==b.endWhen)return b;b="function"===typeof b[p]?b[p]():b;return new a(new x(b))};a.periodic=function(b){return new a(new z(b))};a.prototype._map=function(b){return new (this.ctor())(new P(b,this))};a.prototype.map=function(b){return this._map(b)};a.prototype.mapTo=function(b){var a=this.map(function(){return b});a._prod.type="mapTo";return a};a.prototype.filter=function(b){var c=
28this._prod;return c instanceof D?new a(new D(q(c.f,b),c.ins)):new a(new D(b,this))};a.prototype.take=function(b){return new (this.ctor())(new T(b,this))};a.prototype.drop=function(b){return new a(new I(b,this))};a.prototype.last=function(){return new a(new O(this))};a.prototype.startWith=function(b){return new w(new S(this,b))};a.prototype.endWhen=function(b){return new (this.ctor())(new K(b,this))};a.prototype.fold=function(b,a){return new w(new N(b,a,this))};a.prototype.replaceError=function(a){return new (this.ctor())(new R(a,
29this))};a.prototype.flatten=function(){return new a(new M(this))};a.prototype.compose=function(a){return a(this)};a.prototype.remember=function(){return new w(new Q(this))};a.prototype.debug=function(a){return new (this.ctor())(new E(this,a))};a.prototype.imitate=function(a){if(a instanceof w)throw Error("A MemoryStream was given to imitate(), but it only supports a Stream. Read more about this restriction here: https://github.com/staltz/xstream#faq");this._target=a;for(var b=this._ils,c=b.length,
30d=0;d<c;d++)a._add(b[d]);this._ils=[]};a.prototype.shamefullySendNext=function(a){this._n(a)};a.prototype.shamefullySendError=function(a){this._e(a)};a.prototype.shamefullySendComplete=function(){this._c()};a.prototype.setDebugListener=function(a){a?(this._d=!0,a._n=a.next||d,a._e=a.error||d,a._c=a.complete||d,this._dl=a):(this._d=!1,this._dl=c)};a.merge=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];return new a(new G(b))};a.combine=function(){for(var b=[],c=0;c<arguments.length;c++)b[c]=
31arguments[c];return new a(new u(b))};return a}();f.Stream=e;var w=function(a){function b(b){b=a.call(this,b)||this;b._has=!1;return b}n(b,a);b.prototype._n=function(b){this._v=b;this._has=!0;a.prototype._n.call(this,b)};b.prototype._add=function(a){var b=this._target;if(b)return b._add(a);b=this._ils;b.push(a);1<b.length?this._has&&a._n(this._v):this._stopID!==c?(this._has&&a._n(this._v),clearTimeout(this._stopID),this._stopID=c):this._has?a._n(this._v):(a=this._prod,a!==c&&a._start(this))};b.prototype._stopNow=
32function(){this._has=!1;a.prototype._stopNow.call(this)};b.prototype._x=function(){this._has=!1;a.prototype._x.call(this)};b.prototype.map=function(a){return this._map(a)};b.prototype.mapTo=function(b){return a.prototype.mapTo.call(this,b)};b.prototype.take=function(b){return a.prototype.take.call(this,b)};b.prototype.endWhen=function(b){return a.prototype.endWhen.call(this,b)};b.prototype.replaceError=function(b){return a.prototype.replaceError.call(this,b)};b.prototype.remember=function(){return this};
33b.prototype.debug=function(b){return a.prototype.debug.call(this,b)};return b}(e);f.MemoryStream=w;f.default=e},{globalthis:4,"symbol-observable/ponyfill":11}],2:[function(e,h,f){var d=e("object-keys"),m="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),q=Object.prototype.toString,g=Array.prototype.concat,t=Object.defineProperty,n=t&&function(){var d={};try{t(d,"x",{enumerable:!1,value:d});for(var c in d)return!1;return d.x===d}catch(v){return!1}}();e=function(e,c){var f=2<arguments.length?
34arguments[2]:{},h=d(c);m&&(h=g.call(h,Object.getOwnPropertySymbols(c)));for(var r=0;r<h.length;r+=1){var x=e,p=h[r],A=c[h[r]],u=f[h[r]];if(!(p in x)||"function"===typeof u&&"[object Function]"===q.call(u)&&u())n?t(x,p,{configurable:!0,enumerable:!1,value:A,writable:!0}):x[p]=A}};e.supportsDescriptors=!!n;h.exports=e},{"object-keys":8}],3:[function(e,h,f){h.exports="undefined"!==typeof self?self:"undefined"!==typeof window?window:Function("return this")()},{}],4:[function(e,h,f){f=e("define-properties");
35var d=e("./implementation"),m=e("./polyfill");e=e("./shim");var q=m(),g=function(){return q};f(g,{getPolyfill:m,implementation:d,shim:e});h.exports=g},{"./implementation":3,"./polyfill":5,"./shim":6,"define-properties":2}],5:[function(e,h,f){(function(d){var m=e("./implementation");h.exports=function(){return"object"===typeof d&&d&&d.Math===Math&&d.Array===Array?d:m}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./implementation":3}],
366:[function(e,h,f){var d=e("define-properties"),m=e("./polyfill");h.exports=function(){var e=m();if(d.supportsDescriptors){var g=Object.getOwnPropertyDescriptor(e,"globalThis");(!g||g.configurable&&(g.enumerable||g.writable||globalThis!==e))&&Object.defineProperty(e,"globalThis",{configurable:!0,enumerable:!1,value:e,writable:!1})}else if("object"!==typeof globalThis||globalThis!==e)e.globalThis=e;return e}},{"./polyfill":5,"define-properties":2}],7:[function(e,h,f){if(!Object.keys){var d=Object.prototype.hasOwnProperty,
37m=Object.prototype.toString,q=e("./isArguments");e=Object.prototype.propertyIsEnumerable;var g=!e.call({toString:null},"toString"),t=e.call(function(){},"prototype"),n="toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor".split(" "),p=function(c){var d=c.constructor;return d&&d.prototype===c},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,
38$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!c["$"+e]&&d.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{p(window[e])}catch(x){return!0}}catch(x){return!0}return!1}();var C=function(c){var e=null!==c&&"object"===typeof c,h="[object Function]"===m.call(c),f=
39q(c),u=e&&"[object String]"===m.call(c),r=[];if(!e&&!h&&!f)throw new TypeError("Object.keys called on a non-object");e=t&&h;if(u&&0<c.length&&!d.call(c,0))for(u=0;u<c.length;++u)r.push(String(u));if(f&&0<c.length)for(f=0;f<c.length;++f)r.push(String(f));else for(var y in c)e&&"prototype"===y||!d.call(c,y)||r.push(String(y));if(g){if("undefined"!==typeof window&&v)try{var z=p(c)}catch(E){z=!1}else z=p(c);for(f=0;f<n.length;++f)z&&"constructor"===n[f]||!d.call(c,n[f])||r.push(n[f])}return r}}h.exports=
40C},{"./isArguments":9}],8:[function(e,h,f){var d=Array.prototype.slice,m=e("./isArguments"),q=Object.keys,g=q?function(d){return q(d)}:e("./implementation"),t=Object.keys;g.shim=function(){Object.keys?function(){var d=Object.keys(arguments);return d&&d.length===arguments.length}(1,2)||(Object.keys=function(e){return m(e)?t(d.call(e)):t(e)}):Object.keys=g;return Object.keys||g};h.exports=g},{"./implementation":7,"./isArguments":9}],9:[function(e,h,f){var d=Object.prototype.toString;h.exports=function(e){var f=
41d.call(e),g="[object Arguments]"===f;g||(g="[object Array]"!==f&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&0<=e.length&&"[object Function]"===d.call(e.callee));return g}},{}],10:[function(e,h,f){Object.defineProperty(f,"__esModule",{value:!0});f["default"]=function(d){var e=d.Symbol;if("function"===typeof e)if(e.observable)d=e.observable;else{d=e["for"]("https://github.com/benlesh/symbol-observable");try{e.observable=d}catch(q){}}else d="@@observable";return d}},{}],11:[function(e,
42h,f){h.exports=e("./lib/ponyfill")},{"./lib/ponyfill":10}]},{},[1])(1)});
\No newline at end of file