7 lines
144 KiB
JavaScript
7 lines
144 KiB
JavaScript
|
/* Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.*/
|
||
|
(function(a){function b(a){return a&&a.Object===Object?a:null}function c(a){for(var b=a.length,c=new Array(b),d=0;b>d;d++)c[d]=a[d];return c}function d(a){return function(){try{return a.apply(this,arguments)}catch(b){return Ya.e=b,Ya}}}function e(a){throw a}function f(a,b){if($a&&b.stack&&"object"==typeof a&&null!==a&&a.stack&&-1===a.stack.indexOf(cb)){for(var c=[],d=b;d;d=d.source)d.stack&&c.unshift(d.stack);c.unshift(a.stack);var e=c.join("\n"+cb+"\n");a.stack=g(e)}}function g(a){for(var b=a.split("\n"),c=[],d=0,e=b.length;e>d;d++){var f=b[d];h(f)||i(f)||!f||c.push(f)}return c.join("\n")}function h(a){var b=k(a);if(!b)return!1;var c=b[0],d=b[1];return c===ab&&d>=bb&&Mg>=d}function i(a){return-1!==a.indexOf("(module.js:")||-1!==a.indexOf("(node.js:")}function j(){if($a)try{throw new Error}catch(a){var b=a.stack.split("\n"),c=b[0].indexOf("@")>0?b[1]:b[2],d=k(c);if(!d)return;return ab=d[0],d[1]}}function k(a){var b=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(a);if(b)return[b[1],Number(b[2])];var c=/at ([^ ]+):(\d+):(?:\d+)$/.exec(a);if(c)return[c[1],Number(c[2])];var d=/.*@(.+):(\d+)$/.exec(a);return d?[d[1],Number(d[2])]:void 0}function l(b,c,d,e,f,g){var h=Yb(b),i=h.length,j=Yb(c),k=j.length;if(i!==k&&!e)return!1;for(var l,m=i;m--;)if(l=h[m],!(e?l in c:Vb.call(c,l)))return!1;for(var n=e;++m<i;){l=h[m];var o,p=b[l],q=c[l];if(!(o===a?d(p,q,e,f,g):o))return!1;n||(n="constructor"===l)}if(!n){var r=b.constructor,s=c.constructor;if(r!==s&&"constructor"in b&&"constructor"in c&&!("function"==typeof r&&r instanceof r&&"function"==typeof s&&s instanceof s))return!1}return!0}function m(a,b,c){switch(c){case yb:case zb:return+a===+b;case Ab:return a.name===b.name&&a.message===b.message;case Db:return a!==+a?b!==+b:a===+b;case Fb:case Hb:return a===b+""}return!1}function n(a){return!!a&&"object"==typeof a}function o(a){return"number"==typeof a&&a>-1&&a%1===0&&Xb>=a}function p(a){return n(a)&&o(a.length)&&!!Tb[Wb.call(a)]}function q(a,b){for(var c=-1,d=a.length;++c<d;)if(b(a[c],c,a))return!0;return!1}function r(b,c,d,e,f,g){var h=-1,i=b.length,j=c.length;if(i!==j&&!(e&&j>i))return!1;for(;++h<i;){var k,l=b[h],m=c[h];if(k!==a){if(k)continue;return!1}if(e){if(!q(c,function(a){return l===a||d(l,a,e,f,g)}))return!1}else if(l!==m&&!d(l,m,e,f,g))return!1}return!0}function s(a,b,c,d,e,f){var g=$b(a),h=$b(b),i=xb,j=xb;g||(i=Wb.call(a),i===wb?i=Eb:i!==Eb&&(g=p(a))),h||(j=Wb.call(b),j===wb&&(j=Eb));var k=i===Eb&&!Zb(a),n=j===Eb&&!Zb(b),o=i===j;if(o&&!g&&!k)return m(a,b,i);if(!d){var q=k&&Vb.call(a,"__wrapped__"),s=n&&Vb.call(b,"__wrapped__");if(q||s)return c(q?a.value():a,s?b.value():b,d,e,f)}if(!o)return!1;e||(e=[]),f||(f=[]);for(var t=e.length;t--;)if(e[t]===a)return f[t]===b;e.push(a),f.push(b);var u=(g?r:l)(a,b,c,d,e,f);return e.pop(),f.pop(),u}function t(a,b,c,d,e){return a===b?!0:null==a||null==b||!aa(a)&&!n(b)?a!==a&&b!==b:s(a,b,t,c,d,e)}function u(a,b){for(var c=new Array(a),d=0;a>d;d++)c[d]=b();return c}function v(a,b){this.id=a,this.value=b}function w(a,b){this.scheduler=a,this.disposable=b,this.isDisposed=!1}function x(a,b){b.isDisposed||(b.isDisposed=!0,b.disposable.dispose())}function y(a){this._s=a,this.isDisposed=!1}function z(a){this._s=a}function A(a){this._s=a,this._l=a.length,this._i=0}function B(a){this._a=a}function C(a){this._a=a,this._l=G(a),this._i=0}function D(a){return"number"==typeof a&&Oa.isFinite(a)}function E(b){var c,d=b[pb];if(!d&&"string"==typeof b)return c=new z(b),c[pb]();if(!d&&b.length!==a)return c=new B(b),c[pb]();if(!d)throw new TypeError("Object is not iterable");return b[pb]()}function F(a){var b=+a;return 0===b?b:isNaN(b)?b:0>b?-1:1}function G(a){var b=+a.length;return isNaN(b)?0:0!==b&&D(b)?(b=F(b)*Math.floor(Math.abs(b)),0>=b?0:b>rd?rd:b):b}function H(a,b){return vc(a)||(a=Cc),new td(b,a)}function I(a,b){this.observer=a,this.parent=b}function J(a,b){return a.amb(b)}function K(){return!1}function L(){for(var a=arguments.length,b=new Array(a),c=0;a>c;c++)b[c]=arguments[c];return b}function K(){return!1}function L(){for(var a=arguments.length,b=new Array(a),c=0;a>c;c++)b[c]=arguments[c];return b}function K(){
|
||
|
return d[b]=a,Oa.postMessage(i+b,"*"),b}}else if(Oa.MessageChannel){var k=new Oa.MessageChannel;k.port1.onmessage=function(b){a(b.data)},wc=function(a){var b=c++;return d[b]=a,k.port2.postMessage(b),b}}else wc="document"in Oa&&"onreadystatechange"in Oa.document.createElement("script")?function(b){var e=Oa.document.createElement("script"),f=c++;return d[f]=b,e.onreadystatechange=function(){a(f),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},Oa.document.documentElement.appendChild(e),f}:function(b){var e=c++;return d[e]=b,Ec(function(){a(e)},0),e}}();var Gc=function(a){function b(){a.call(this)}function c(a,b,c,d){return function(){a.setDisposable(hc._fixup(b(c,d)))}}function d(a){this._id=a,this.isDisposed=!1}function e(a){this._id=a,this.isDisposed=!1}function f(a,b,c){return function(){b(a,c)}}return ac(b,a),d.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,xc(this._id))},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,Fc(this._id))},b.prototype.schedule=function(a,b){var e=new nc,f=wc(c(e,b,this,a));return new pc(e,new d(f))},b.prototype._scheduleFuture=function(a,b,d){if(0===b)return this.schedule(a,d);var f=new nc,g=Ec(c(f,d,this,a),b);return new pc(f,new e(g))},b.prototype.scheduleLongRunning=function(a,b){var c=ic(Qa);return wc(f(a,b,c)),c},b}(tc),Hc=tc["default"]=tc.async=new Gc,Ic=function(a){function b(b,c){this._scheduler=b,this._handler=c,this._recursiveOriginal=null,this._recursiveWrapper=null,a.call(this)}return ac(b,a),b.prototype.schedule=function(a,b){return this._scheduler.schedule(a,this._wrap(b))},b.prototype._scheduleFuture=function(a,b,c){return this._scheduler.schedule(a,b,this._wrap(c))},b.prototype.now=function(){return this._scheduler.now()},b.prototype._clone=function(a){return new b(a,this._handler)},b.prototype._wrap=function(a){var b=this;return function(c,d){var f=Za(a)(b._getRecursiveWrapper(c),d);return f===Ya?(b._handler(f.e)||e(f.e),jc):mc(f)}},b.prototype._getRecursiveWrapper=function(a){if(this._recursiveOriginal!==a){this._recursiveOriginal=a;var b=this._clone(a);b._recursiveOriginal=a,b._recursiveWrapper=b,this._recursiveWrapper=b}return this._recursiveWrapper},b.prototype.schedulePeriodic=function(a,b,c){var d=this,f=!1,g=new nc;return g.setDisposable(this._scheduler.schedulePeriodic(a,b,function(a){if(f)return null;var b=Za(c)(a);return b===Ya?(f=!0,d._handler(b.e)||e(b.e),g.dispose(),null):b})),g},b}(tc),Jc=Pa.Notification=function(){function a(){}return a.prototype._accept=function(a,b,c){throw new nb},a.prototype._acceptObserver=function(a,b,c){throw new nb},a.prototype.accept=function(a,b,c){return a&&"object"==typeof a?this._acceptObserver(a):this._accept(a,b,c)},a.prototype.toObservable=function(a){var b=this;return vc(a)||(a=Ac),new Dg(function(c){return a.schedule(b,function(a,b){b._acceptObserver(c),"N"===b.kind&&c.onCompleted()})})},a}(),Kc=function(a){function b(a){this.value=a,this.kind="N"}return ac(b,a),b.prototype._accept=function(a){return a(this.value)},b.prototype._acceptObserver=function(a){return a.onNext(this.value)},b.prototype.toString=function(){return"OnNext("+this.value+")"},b}(Jc),Lc=function(a){function b(a){this.error=a,this.kind="E"}return ac(b,a),b.prototype._accept=function(a,b){return b(this.error)},b.prototype._acceptObserver=function(a){return a.onError(this.error)},b.prototype.toString=function(){return"OnError("+this.error+")"},b}(Jc),Mc=function(a){function b(){this.kind="C"}return ac(b,a),b.prototype._accept=function(a,b,c){return c()},b.prototype._acceptObserver=function(a){return a.onCompleted()},b.prototype.toString=function(){return"OnCompleted()"},b}(Jc),Nc=Jc.createOnNext=function(a){return new Kc(a)},Oc=Jc.createOnError=function(a){return new Lc(a)},Pc=Jc.createOnCompleted=function(){return new Mc},Qc=Pa.Observer=function(){};Qc.prototype.toNotifier=function(){var a=this;return function(b){return b.accept(a)}},Qc.prototype.asObserver=function(){var a=this;return new Uc(function(b){a.onNext(b)},function(b){a.onError(b)},function(){a.onCompleted()})},Qc.prototype.checked=function(){ret
|
||
|
a.call(this)}return ac(b,a),b.prototype.next=function(a){var b=[a].concat(this._state.values);if(this._state.hasValueAll){var c=Za(this._cb).apply(null,b);return c===Ya?this._o.onError(c.e):void this._o.onNext(c)}},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._o.onCompleted()},b}(Tc);Sc.withLatestFrom=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var a=arguments.length,b=new Array(a),c=0;a>c;c++)b[c]=arguments[c];var d=Xa(b[a-1])?b.pop():L;return Array.isArray(b[0])&&(b=b[0]),new ee(this,b,d)};var he=function(a){function b(b,c){this._s=b,this._cb=c,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){for(var b=this._s.length,c=new Array(b),d=u(b,K),e=u(b,M),f=0;b>f;f++){var g=this._s[f],h=new nc;c[f]=h,Wa(g)&&(g=jd(g)),h.setDisposable(g.subscribe(new ie(a,f,this,e,d)))}return new qc(c)},b}(Zc),ie=function(a){function b(b,c,d,e,f){this._o=b,this._i=c,this._p=d,this._q=e,this._d=f,a.call(this)}function c(a){return a.length>0}function d(a){return a.shift()}function e(a){return function(b,c){return c!==a}}return ac(b,a),b.prototype.next=function(a){if(this._q[this._i].push(a),this._q.every(c)){var b=this._q.map(d),f=Za(this._p._cb).apply(null,b);if(f===Ya)return this._o.onError(f.e);this._o.onNext(f)}else this._d.filter(e(this._i)).every(Ra)&&this._o.onCompleted()},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._d[this._i]=!0,this._d.every(Ra)&&this._o.onCompleted()},b}(Tc);Sc.zip=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var a=arguments.length,b=new Array(a),c=0;a>c;c++)b[c]=arguments[c];var d=Xa(b[a-1])?b.pop():L;Array.isArray(b[0])&&(b=b[0]);var e=this;return b.unshift(e),new he(b,d)},Yc.zip=function(){for(var a=arguments.length,b=new Array(a),c=0;a>c;c++)b[c]=arguments[c];Array.isArray(b[0])&&(b=Xa(b[1])?b[0].concat(b[1]):b[0]);var d=b.shift();return d.zip.apply(d,b)};var je=function(a){function b(b,c){this.sources=b,this._cb=c,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){for(var b=this.sources,c=b.length,d=new Array(c),e={q:u(c,M),done:u(c,K),cb:this._cb,o:a},f=0;c>f;f++)!function(a){var c=b[a],f=new nc;(sb(c)||rb(c))&&(c=sd(c)),d[a]=f,f.setDisposable(c.subscribe(new ke(e,a)))}(f);return new qc(d)},b}(Zc),ke=function(a){function b(b,c){this._s=b,this._i=c,a.call(this)}function c(a){return a.length>0}function d(a){return a.shift()}function e(a){return function(b,c){return c!==a}}return ac(b,a),b.prototype.next=function(a){if(this._s.q[this._i].push(a),this._s.q.every(c)){var b=this._s.q.map(d),f=Za(this._s.cb).apply(null,b);if(f===Ya)return this._s.o.onError(f.e);this._s.o.onNext(f)}else this._s.done.filter(e(this._i)).every(Ra)&&this._s.o.onCompleted()},b.prototype.error=function(a){this._s.o.onError(a)},b.prototype.completed=function(){this._s.done[this._i]=!0,this._s.done.every(Ra)&&this._s.o.onCompleted()},b}(Tc);Sc.zipIterable=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var a=arguments.length,b=new Array(a),c=0;a>c;c++)b[c]=arguments[c];var d=Xa(b[a-1])?b.pop():L,e=this;return b.unshift(e),new je(b,d)},Sc.asObservable=function(){return new Dg(N(this),this)},Sc.bufferWithCount=Sc.bufferCount=function(a,b){return"number"!=typeof b&&(b=a),this.windowWithCount(a,b).flatMap(O).filter(P)};var le=function(a){function b(b){this.source=b,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){return this.source.subscribe(new me(a))},b}(Zc),me=function(a){function b(b){this._o=b,a.call(this)}return ac(b,a),b.prototype.next=function(a){a.accept(this._o)},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._o.onCompleted()},b}(Tc);Sc.dematerialize=function(){return new le(this)};var ne=function(a){function b(b,c,d){this.source=b,this.keyFn=c,this.comparer=d,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){return this.source.subscribe(new oe(a,this.keyFn,this.comparer))},b}(Zc),oe=function(a){function b(b,c,d){this.o=b,this.keyFn=c,this.comparer=d,this.has
|
||
|
return V(this,a,b,!0)};var of=function(a){function b(b){this.source=b,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){return this.source.subscribe(new pf(a))},b}(Zc),pf=function(a){function b(b){this._o=b,this._s=new Oa.Set,a.call(this)}return ac(b,a),b.prototype.next=function(a){this._s.add(a)},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._o.onNext(this._s),this._o.onCompleted()},b}(Tc);Sc.toSet=function(){if("undefined"==typeof Oa.Set)throw new TypeError;return new of(this)};var qf=function(a){function b(b,c,d){this.source=b,this._k=c,this._e=d,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){return this.source.subscribe(new rf(a,this._k,this._e))},b}(Zc),rf=function(a){function b(b,c,d){this._o=b,this._k=c,this._e=d,this._m=new Oa.Map,a.call(this)}return ac(b,a),b.prototype.next=function(a){var b=Za(this._k)(a);if(b===Ya)return this._o.onError(b.e);var c=a;return this._e&&(c=Za(this._e)(a),c===Ya)?this._o.onError(c.e):void this._m.set(b,c)},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._o.onNext(this._m),this._o.onCompleted()},b}(Tc);Sc.toMap=function(a,b){if("undefined"==typeof Oa.Map)throw new TypeError;return new qf(this,a,b)};var sf=function(a){function b(b,c,d){this.source=b,this._b=c,this._e=d,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){return this.source.subscribe(new tf(a,this._b,this._e))},b}(Zc),tf=function(a){function b(b,c,d){this._o=b,this._b=c,this._e=d,this._i=0,a.call(this)}return ac(b,a),b.prototype.next=function(a){this._i>=this._b&&(this._e===this._i?this._o.onCompleted():this._o.onNext(a)),this._i++},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._o.onCompleted()},b}(Tc);Sc.slice=function(a,b){var c=a||0;if(0>c)throw new Pa.ArgumentOutOfRangeError;if("number"==typeof b&&c>b)throw new Pa.ArgumentOutOfRangeError;return new sf(this,c,b)};var uf=function(a){function b(b,c,d){this.source=b,this._e=c,this._n=d,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){return this._n<0?(a.onNext(-1),a.onCompleted(),jc):this.source.subscribe(new vf(a,this._e,this._n))},b}(Zc),vf=function(a){function b(b,c,d){this._o=b,this._e=c,this._n=d,this._v=0,this._hv=!1,this._i=0,a.call(this)}return ac(b,a),b.prototype.next=function(a){this._i>=this._n&&a===this._e&&(this._hv=!0,this._v=this._i),this._i++},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._hv?this._o.onNext(this._v):this._o.onNext(-1),this._o.onCompleted()},b}(Tc);Sc.lastIndexOf=function(a,b){var c=+b||0;return Math.abs(c)===1/0&&(c=0),new uf(this,a,c)},Yc.wrap=function(a){function b(){return Yc.spawn.call(this,a.apply(this,arguments))}return b.__generatorFunction__=a,b};var wf=Yc.spawn=function(){for(var a=arguments[0],b=this,c=[],d=1,e=arguments.length;e>d;d++)c.push(arguments[d]);return new Dg(function(d){function e(b){var c=Za(a.next).call(a,b);return c===Ya?d.onError(c.e):void g(c)}function f(b){var c=Za(a.next).call(a,b);return c===Ya?d.onError(c.e):void g(c)}function g(a){if(a.done)return d.onNext(a.value),void d.onCompleted();var c=W.call(b,a.value),g=null,i=!1;Yc.isObservable(c)?h.add(c.subscribe(function(a){i=!0,g=a},f,function(){i&&e(g)})):f(new TypeError("type not supported"))}var h=new fc;return Xa(a)&&(a=a.apply(b,c)),a&&Xa(a.next)?(e(),h):(d.onNext(a),d.onCompleted())})};Yc.start=function(a,b,c){return xf(a,b,c)()};var xf=Yc.toAsync=function(a,b,c){return vc(c)||(c=Hc),function(){var d=arguments,e=new Ig;return c.schedule(null,function(){var c;try{c=a.apply(b,d)}catch(f){return void e.onError(f)}e.onNext(c),e.onCompleted()}),e.asObservable()}};Yc.fromCallback=function(a,b,c){return function(){"undefined"==typeof b&&(b=this);for(var d=arguments.length,e=new Array(d),f=0;d>f;f++)e[f]=arguments[f];return ba(a,b,c,e)}},Yc.fromNodeCallback=function(a,b,c){return function(){"undefined"==typeof b&&(b=this);for(var d=arguments.length,e=new Array(d),f=0;d>f;f++)e[f]=arguments[f];return da(a,b,c,e)}},ga.prototype.dispose
|
||
|
this._s=c._s,this._d=c._d,this._q=[],a.call(this)}return ac(b,a),b.prototype.next=function(a){var b=this._s.now();for(this._q.push({interval:b,value:a});this._q.length>0&&b-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value)},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){for(var a=this._s.now();this._q.length>0&&a-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value);this._o.onCompleted()},b}(Tc);Sc.skipLastWithTime=function(a,b){return vc(b)||(b=Hc),new jg(this,a,b)};var lg=function(a){function b(b,c,d){this.source=b,this._d=c,this._s=d,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){return this.source.subscribe(new mg(a,this._d,this._s))},b}(Zc),mg=function(a){function b(b,c,d){this._o=b,this._d=c,this._s=d,this._q=[],a.call(this)}return ac(b,a),b.prototype.next=function(a){var b=this._s.now();for(this._q.push({interval:b,value:a});this._q.length>0&&b-this._q[0].interval>=this._d;)this._q.shift()},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){for(var a=this._s.now();this._q.length>0;){var b=this._q.shift();a-b.interval<=this._d&&this._o.onNext(b.value)}this._o.onCompleted()},b}(Tc);Sc.takeLastWithTime=function(a,b){return vc(b)||(b=Hc),new lg(this,a,b)},Sc.takeLastBufferWithTime=function(a,b){var c=this;return vc(b)||(b=Hc),new Dg(function(d){var e=[];return c.subscribe(function(c){var d=b.now();for(e.push({interval:d,value:c});e.length>0&&d-e[0].interval>=a;)e.shift()},function(a){d.onError(a)},function(){for(var c=b.now(),f=[];e.length>0;){var g=e.shift();c-g.interval<=a&&f.push(g.value)}d.onNext(f),d.onCompleted()})},c)};var ng=function(a){function b(b,c,d){this.source=b,this._d=c,this._s=d,a.call(this)}function c(a,b){b.onCompleted()}return ac(b,a),b.prototype.subscribeCore=function(a){return new pc(this._s.scheduleFuture(a,this._d,c),this.source.subscribe(a))},b}(Zc);Sc.takeWithTime=function(a,b){return vc(b)||(b=Hc),new ng(this,a,b)};var og=function(a){function b(b,c,d){this.source=b,this._d=c,this._s=d,this._open=!1,a.call(this)}function c(a,b){b._open=!0}return ac(b,a),b.prototype.subscribeCore=function(a){return new pc(this._s.scheduleFuture(this,this._d,c),this.source.subscribe(new pg(a,this)))},b}(Zc),pg=function(a){function b(b,c){this._o=b,this._p=c,a.call(this)}return ac(b,a),b.prototype.next=function(a){this._p._open&&this._o.onNext(a)},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._o.onCompleted()},b}(Tc);Sc.skipWithTime=function(a,b){return vc(b)||(b=Hc),new og(this,a,b)};var qg=function(a){function b(b,c,d){this.source=b,this._st=c,this._s=d,a.call(this)}function c(a,b){b._open=!0}return ac(b,a),b.prototype.subscribeCore=function(a){return this._open=!1,new pc(this._s.scheduleFuture(this,this._st,c),this.source.subscribe(new rg(a,this)))},b}(Zc),rg=function(a){function b(b,c){this._o=b,this._p=c,a.call(this)}return ac(b,a),b.prototype.next=function(a){this._p._open&&this._o.onNext(a)},b.prototype.error=function(a){this._o.onError(a)},b.prototype.completed=function(){this._o.onCompleted()},b}(Tc);Sc.skipUntilWithTime=function(a,b){return vc(b)||(b=Hc),new qg(this,a,b)},Sc.takeUntilWithTime=function(a,b){vc(b)||(b=Hc);var c=this;return new Dg(function(d){return new pc(b.scheduleFuture(d,a,function(a,b){b.onCompleted()}),c.subscribe(d))},c)},Sc.throttle=function(a,b){vc(b)||(b=Hc);var c=+a||0;if(0>=c)throw new RangeError("windowDuration cannot be less or equal zero.");var d=this;return new Dg(function(a){var e=0;return d.subscribe(function(d){var f=b.now();(0===e||f-e>=c)&&(e=f,a.onNext(d))},function(b){a.onError(b)},function(){a.onCompleted()})},d)};var sg=function(a){function b(b){this.source=b,a.call(this)}return ac(b,a),b.prototype.subscribeCore=function(a){var b=new nc,c=new fc,d={hasCurrent:!1,isStopped:!1,o:a,g:c};return c.add(b),b.setDisposable(this.source.subscribe(new tg(d))),c},b}(Zc),tg=function(a){function b(b){this._s=b,a.call(this)}function c(b,c){this._s=b,this._i=c,a.call(this)}return ac(b,a),b.prototype.next=function(a){if(!
|
||
|
//# sourceMappingURL=rx.all.compat.map
|