Template Upload

This commit is contained in:
SOUTHERNCO\x2mjbyrn
2017-05-17 13:45:25 -04:00
parent 415b9c25f3
commit 7efe7605b8
11476 changed files with 2170865 additions and 34 deletions

18
node_modules/rxjs/operator/buffer.d.ts generated vendored Normal file
View File

@ -0,0 +1,18 @@
import { Observable } from '../Observable';
/**
* Buffers the incoming observable values until the passed `closingNotifier`
* emits a value, at which point it emits the buffer on the returned observable
* and starts a new buffer internally, awaiting the next time `closingNotifier`
* emits.
*
* <img src="./img/buffer.png" width="100%">
*
* @param {Observable<any>} closingNotifier an Observable that signals the
* buffer to be emitted} from the returned observable.
* @returns {Observable<T[]>} an Observable of buffers, which are arrays of
* values.
*/
export declare function buffer<T>(closingNotifier: Observable<any>): Observable<T[]>;
export interface BufferSignature<T> {
(closingNotifier: Observable<any>): Observable<T[]>;
}

52
node_modules/rxjs/operator/buffer.js generated vendored Normal file
View File

@ -0,0 +1,52 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Buffers the incoming observable values until the passed `closingNotifier`
* emits a value, at which point it emits the buffer on the returned observable
* and starts a new buffer internally, awaiting the next time `closingNotifier`
* emits.
*
* <img src="./img/buffer.png" width="100%">
*
* @param {Observable<any>} closingNotifier an Observable that signals the
* buffer to be emitted} from the returned observable.
* @returns {Observable<T[]>} an Observable of buffers, which are arrays of
* values.
*/
function buffer(closingNotifier) {
return this.lift(new BufferOperator(closingNotifier));
}
exports.buffer = buffer;
var BufferOperator = (function () {
function BufferOperator(closingNotifier) {
this.closingNotifier = closingNotifier;
}
BufferOperator.prototype.call = function (subscriber) {
return new BufferSubscriber(subscriber, this.closingNotifier);
};
return BufferOperator;
}());
var BufferSubscriber = (function (_super) {
__extends(BufferSubscriber, _super);
function BufferSubscriber(destination, closingNotifier) {
_super.call(this, destination);
this.buffer = [];
this.add(subscribeToResult_1.subscribeToResult(this, closingNotifier));
}
BufferSubscriber.prototype._next = function (value) {
this.buffer.push(value);
};
BufferSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
var buffer = this.buffer;
this.buffer = [];
this.destination.next(buffer);
};
return BufferSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
//# sourceMappingURL=buffer.js.map

1
node_modules/rxjs/operator/buffer.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../../src/operator/buffer.ts"],"names":[],"mappings":";;;;;;AAIA,gCAA8B,oBAAoB,CAAC,CAAA;AAEnD,kCAAgC,2BAA2B,CAAC,CAAA;AAE5D;;;;;;;;;;;;GAYG;AACH,gBAA0B,eAAgC;IACxD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,cAAc,CAAI,eAAe,CAAC,CAAC,CAAC;AAC3D,CAAC;AAFe,cAAM,SAErB,CAAA;AAMD;IAEE,wBAAoB,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IACpD,CAAC;IAED,6BAAI,GAAJ,UAAK,UAA2B;QAC9B,MAAM,CAAC,IAAI,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IAChE,CAAC;IACH,qBAAC;AAAD,CAAC,AARD,IAQC;AAED;IAAkC,oCAAuB;IAGvD,0BAAY,WAA4B,EAAE,eAAgC;QACxE,kBAAM,WAAW,CAAC,CAAC;QAHb,WAAM,GAAQ,EAAE,CAAC;QAIvB,IAAI,CAAC,GAAG,CAAC,qCAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;IACrD,CAAC;IAES,gCAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED,qCAAU,GAAV,UAAW,UAAa,EAAE,UAAe,EAC9B,UAAkB,EAAE,UAAkB,EACtC,QAAiC;QAC1C,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IACH,uBAAC;AAAD,CAAC,AAnBD,CAAkC,iCAAe,GAmBhD"}

21
node_modules/rxjs/operator/bufferCount.d.ts generated vendored Normal file
View File

@ -0,0 +1,21 @@
import { Observable } from '../Observable';
/**
* Buffers a number of values from the source observable by `bufferSize` then
* emits the buffer and clears it, and starts a new buffer each
* `startBufferEvery` values. If `startBufferEvery` is not provided or is
* `null`, then new buffers are started immediately at the start of the source
* and when each buffer closes and is emitted.
*
* <img src="./img/bufferCount.png" width="100%">
*
* @param {number} bufferSize the maximum size of the buffer emitted.
* @param {number} [startBufferEvery] optional interval at which to start a new
* buffer. (e.g. if `startBufferEvery` is `2`, then a new buffer will be started
* on every other value from the source.) A new buffer is started at the
* beginning of the source by default.
* @returns {Observable<T[]>} an Observable of arrays of buffered values.
*/
export declare function bufferCount<T>(bufferSize: number, startBufferEvery?: number): Observable<T[]>;
export interface BufferCountSignature<T> {
(bufferSize: number, startBufferEvery?: number): Observable<T[]>;
}

84
node_modules/rxjs/operator/bufferCount.js generated vendored Normal file
View File

@ -0,0 +1,84 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/**
* Buffers a number of values from the source observable by `bufferSize` then
* emits the buffer and clears it, and starts a new buffer each
* `startBufferEvery` values. If `startBufferEvery` is not provided or is
* `null`, then new buffers are started immediately at the start of the source
* and when each buffer closes and is emitted.
*
* <img src="./img/bufferCount.png" width="100%">
*
* @param {number} bufferSize the maximum size of the buffer emitted.
* @param {number} [startBufferEvery] optional interval at which to start a new
* buffer. (e.g. if `startBufferEvery` is `2`, then a new buffer will be started
* on every other value from the source.) A new buffer is started at the
* beginning of the source by default.
* @returns {Observable<T[]>} an Observable of arrays of buffered values.
*/
function bufferCount(bufferSize, startBufferEvery) {
if (startBufferEvery === void 0) { startBufferEvery = null; }
return this.lift(new BufferCountOperator(bufferSize, startBufferEvery));
}
exports.bufferCount = bufferCount;
var BufferCountOperator = (function () {
function BufferCountOperator(bufferSize, startBufferEvery) {
this.bufferSize = bufferSize;
this.startBufferEvery = startBufferEvery;
}
BufferCountOperator.prototype.call = function (subscriber) {
return new BufferCountSubscriber(subscriber, this.bufferSize, this.startBufferEvery);
};
return BufferCountOperator;
}());
var BufferCountSubscriber = (function (_super) {
__extends(BufferCountSubscriber, _super);
function BufferCountSubscriber(destination, bufferSize, startBufferEvery) {
_super.call(this, destination);
this.bufferSize = bufferSize;
this.startBufferEvery = startBufferEvery;
this.buffers = [[]];
this.count = 0;
}
BufferCountSubscriber.prototype._next = function (value) {
var count = (this.count += 1);
var destination = this.destination;
var bufferSize = this.bufferSize;
var startBufferEvery = (this.startBufferEvery == null) ? bufferSize : this.startBufferEvery;
var buffers = this.buffers;
var len = buffers.length;
var remove = -1;
if (count % startBufferEvery === 0) {
buffers.push([]);
}
for (var i = 0; i < len; i++) {
var buffer = buffers[i];
buffer.push(value);
if (buffer.length === bufferSize) {
remove = i;
destination.next(buffer);
}
}
if (remove !== -1) {
buffers.splice(remove, 1);
}
};
BufferCountSubscriber.prototype._complete = function () {
var destination = this.destination;
var buffers = this.buffers;
while (buffers.length > 0) {
var buffer = buffers.shift();
if (buffer.length > 0) {
destination.next(buffer);
}
}
_super.prototype._complete.call(this);
};
return BufferCountSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=bufferCount.js.map

1
node_modules/rxjs/operator/bufferCount.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"b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CAAC,AA9CD,CAAuC,uBAAU,GA8ChD"}

21
node_modules/rxjs/operator/bufferTime.d.ts generated vendored Normal file
View File

@ -0,0 +1,21 @@
import { Observable } from '../Observable';
import { Scheduler } from '../Scheduler';
/**
* Buffers values from the source for a specific time period. Optionally allows
* new buffers to be set up at an interval.
*
* <img src="./img/bufferTime.png" width="100%">
*
* @param {number} bufferTimeSpan the amount of time to fill each buffer for
* before emitting them and clearing them.
* @param {number} [bufferCreationInterval] the interval at which to start new
* buffers.
* @param {Scheduler} [scheduler] (optional, defaults to `asap` scheduler) The
* scheduler on which to schedule the intervals that determine buffer
* boundaries.
* @returns {Observable<T[]>} an observable of arrays of buffered values.
*/
export declare function bufferTime<T>(bufferTimeSpan: number, bufferCreationInterval?: number, scheduler?: Scheduler): Observable<T[]>;
export interface BufferTimeSignature<T> {
(bufferTimeSpan: number, bufferCreationInterval?: number, scheduler?: Scheduler): Observable<T[]>;
}

118
node_modules/rxjs/operator/bufferTime.js generated vendored Normal file
View File

@ -0,0 +1,118 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var asap_1 = require('../scheduler/asap');
/**
* Buffers values from the source for a specific time period. Optionally allows
* new buffers to be set up at an interval.
*
* <img src="./img/bufferTime.png" width="100%">
*
* @param {number} bufferTimeSpan the amount of time to fill each buffer for
* before emitting them and clearing them.
* @param {number} [bufferCreationInterval] the interval at which to start new
* buffers.
* @param {Scheduler} [scheduler] (optional, defaults to `asap` scheduler) The
* scheduler on which to schedule the intervals that determine buffer
* boundaries.
* @returns {Observable<T[]>} an observable of arrays of buffered values.
*/
function bufferTime(bufferTimeSpan, bufferCreationInterval, scheduler) {
if (bufferCreationInterval === void 0) { bufferCreationInterval = null; }
if (scheduler === void 0) { scheduler = asap_1.asap; }
return this.lift(new BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, scheduler));
}
exports.bufferTime = bufferTime;
var BufferTimeOperator = (function () {
function BufferTimeOperator(bufferTimeSpan, bufferCreationInterval, scheduler) {
this.bufferTimeSpan = bufferTimeSpan;
this.bufferCreationInterval = bufferCreationInterval;
this.scheduler = scheduler;
}
BufferTimeOperator.prototype.call = function (subscriber) {
return new BufferTimeSubscriber(subscriber, this.bufferTimeSpan, this.bufferCreationInterval, this.scheduler);
};
return BufferTimeOperator;
}());
var BufferTimeSubscriber = (function (_super) {
__extends(BufferTimeSubscriber, _super);
function BufferTimeSubscriber(destination, bufferTimeSpan, bufferCreationInterval, scheduler) {
_super.call(this, destination);
this.bufferTimeSpan = bufferTimeSpan;
this.bufferCreationInterval = bufferCreationInterval;
this.scheduler = scheduler;
this.buffers = [];
var buffer = this.openBuffer();
if (bufferCreationInterval !== null && bufferCreationInterval >= 0) {
var closeState = { subscriber: this, buffer: buffer };
var creationState = { bufferTimeSpan: bufferTimeSpan, bufferCreationInterval: bufferCreationInterval, subscriber: this, scheduler: scheduler };
this.add(scheduler.schedule(dispatchBufferClose, bufferTimeSpan, closeState));
this.add(scheduler.schedule(dispatchBufferCreation, bufferCreationInterval, creationState));
}
else {
var timeSpanOnlyState = { subscriber: this, buffer: buffer, bufferTimeSpan: bufferTimeSpan };
this.add(scheduler.schedule(dispatchBufferTimeSpanOnly, bufferTimeSpan, timeSpanOnlyState));
}
}
BufferTimeSubscriber.prototype._next = function (value) {
var buffers = this.buffers;
var len = buffers.length;
for (var i = 0; i < len; i++) {
buffers[i].push(value);
}
};
BufferTimeSubscriber.prototype._error = function (err) {
this.buffers.length = 0;
_super.prototype._error.call(this, err);
};
BufferTimeSubscriber.prototype._complete = function () {
var _a = this, buffers = _a.buffers, destination = _a.destination;
while (buffers.length > 0) {
destination.next(buffers.shift());
}
_super.prototype._complete.call(this);
};
BufferTimeSubscriber.prototype._unsubscribe = function () {
this.buffers = null;
};
BufferTimeSubscriber.prototype.openBuffer = function () {
var buffer = [];
this.buffers.push(buffer);
return buffer;
};
BufferTimeSubscriber.prototype.closeBuffer = function (buffer) {
this.destination.next(buffer);
var buffers = this.buffers;
buffers.splice(buffers.indexOf(buffer), 1);
};
return BufferTimeSubscriber;
}(Subscriber_1.Subscriber));
function dispatchBufferTimeSpanOnly(state) {
var subscriber = state.subscriber;
var prevBuffer = state.buffer;
if (prevBuffer) {
subscriber.closeBuffer(prevBuffer);
}
state.buffer = subscriber.openBuffer();
if (!subscriber.isUnsubscribed) {
this.schedule(state, state.bufferTimeSpan);
}
}
function dispatchBufferCreation(state) {
var bufferCreationInterval = state.bufferCreationInterval, bufferTimeSpan = state.bufferTimeSpan, subscriber = state.subscriber, scheduler = state.scheduler;
var buffer = subscriber.openBuffer();
var action = this;
if (!subscriber.isUnsubscribed) {
action.add(scheduler.schedule(dispatchBufferClose, bufferTimeSpan, { subscriber: subscriber, buffer: buffer }));
action.schedule(state, bufferCreationInterval);
}
}
function dispatchBufferClose(_a) {
var subscriber = _a.subscriber, buffer = _a.buffer;
subscriber.closeBuffer(buffer);
}
//# sourceMappingURL=bufferTime.js.map

1
node_modules/rxjs/operator/bufferTime.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"bufferTime.js","sourceRoot":"","sources":["../../../src/operator/bufferTime.ts"],"names":[],"mappings":";;;;;;AACA,2BAAyB,eAAe,CAAC,CAAA;AAIzC,qBAAmB,mBAAmB,CAAC,CAAA;AAEvC;;;;;;;;;;;;;;GAcG;AACH,oBAA8B,cAAsB,EACtB,sBAAqC,EACrC,SAA2B;IAD3B,sCAAqC,GAArC,6BAAqC;IACrC,yBAA2B,GAA3B,uBAA2B;IACvD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,kBAAkB,CAAI,cAAc,EAAE,sBAAsB,EAAE,SAAS,CAAC,CAAC,CAAC;AACjG,CAAC;AAJe,kBAAU,aAIzB,CAAA;AAMD;IACE,4BAAoB,cAAsB,EACtB,sBAA8B,E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
node_modules/rxjs/operator/bufferToggle.d.ts generated vendored Normal file
View File

@ -0,0 +1,19 @@
import { Observable } from '../Observable';
/**
* Buffers values from the source by opening the buffer via signals from an
* Observable provided to `openings`, and closing and sending the buffers when
* an Observable returned by the `closingSelector` emits.
*
* <img src="./img/bufferToggle.png" width="100%">
*
* @param {Observable<O>} openings An observable of notifications to start new
* buffers.
* @param {Function} closingSelector a function that takes the value emitted by
* the `openings` observable and returns an Observable, which, when it emits,
* signals that the associated buffer should be emitted and cleared.
* @returns {Observable<T[]>} an observable of arrays of buffered values.
*/
export declare function bufferToggle<T, O>(openings: Observable<O>, closingSelector: (value: O) => Observable<any>): Observable<T[]>;
export interface BufferToggleSignature<T> {
<O>(openings: Observable<O>, closingSelector: (value: O) => Observable<any>): Observable<T[]>;
}

145
node_modules/rxjs/operator/bufferToggle.js generated vendored Normal file
View File

@ -0,0 +1,145 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var Subscription_1 = require('../Subscription');
var tryCatch_1 = require('../util/tryCatch');
var errorObject_1 = require('../util/errorObject');
/**
* Buffers values from the source by opening the buffer via signals from an
* Observable provided to `openings`, and closing and sending the buffers when
* an Observable returned by the `closingSelector` emits.
*
* <img src="./img/bufferToggle.png" width="100%">
*
* @param {Observable<O>} openings An observable of notifications to start new
* buffers.
* @param {Function} closingSelector a function that takes the value emitted by
* the `openings` observable and returns an Observable, which, when it emits,
* signals that the associated buffer should be emitted and cleared.
* @returns {Observable<T[]>} an observable of arrays of buffered values.
*/
function bufferToggle(openings, closingSelector) {
return this.lift(new BufferToggleOperator(openings, closingSelector));
}
exports.bufferToggle = bufferToggle;
var BufferToggleOperator = (function () {
function BufferToggleOperator(openings, closingSelector) {
this.openings = openings;
this.closingSelector = closingSelector;
}
BufferToggleOperator.prototype.call = function (subscriber) {
return new BufferToggleSubscriber(subscriber, this.openings, this.closingSelector);
};
return BufferToggleOperator;
}());
var BufferToggleSubscriber = (function (_super) {
__extends(BufferToggleSubscriber, _super);
function BufferToggleSubscriber(destination, openings, closingSelector) {
_super.call(this, destination);
this.openings = openings;
this.closingSelector = closingSelector;
this.contexts = [];
this.add(this.openings.subscribe(new BufferToggleOpeningsSubscriber(this)));
}
BufferToggleSubscriber.prototype._next = function (value) {
var contexts = this.contexts;
var len = contexts.length;
for (var i = 0; i < len; i++) {
contexts[i].buffer.push(value);
}
};
BufferToggleSubscriber.prototype._error = function (err) {
var contexts = this.contexts;
while (contexts.length > 0) {
var context = contexts.shift();
context.subscription.unsubscribe();
context.buffer = null;
context.subscription = null;
}
this.contexts = null;
_super.prototype._error.call(this, err);
};
BufferToggleSubscriber.prototype._complete = function () {
var contexts = this.contexts;
while (contexts.length > 0) {
var context = contexts.shift();
this.destination.next(context.buffer);
context.subscription.unsubscribe();
context.buffer = null;
context.subscription = null;
}
this.contexts = null;
_super.prototype._complete.call(this);
};
BufferToggleSubscriber.prototype.openBuffer = function (value) {
var closingSelector = this.closingSelector;
var contexts = this.contexts;
var closingNotifier = tryCatch_1.tryCatch(closingSelector)(value);
if (closingNotifier === errorObject_1.errorObject) {
this._error(errorObject_1.errorObject.e);
}
else {
var context = {
buffer: [],
subscription: new Subscription_1.Subscription()
};
contexts.push(context);
var subscriber = new BufferToggleClosingsSubscriber(this, context);
var subscription = closingNotifier.subscribe(subscriber);
context.subscription.add(subscription);
this.add(subscription);
}
};
BufferToggleSubscriber.prototype.closeBuffer = function (context) {
var contexts = this.contexts;
if (contexts === null) {
return;
}
var buffer = context.buffer, subscription = context.subscription;
this.destination.next(buffer);
contexts.splice(contexts.indexOf(context), 1);
this.remove(subscription);
subscription.unsubscribe();
};
return BufferToggleSubscriber;
}(Subscriber_1.Subscriber));
var BufferToggleOpeningsSubscriber = (function (_super) {
__extends(BufferToggleOpeningsSubscriber, _super);
function BufferToggleOpeningsSubscriber(parent) {
_super.call(this, null);
this.parent = parent;
}
BufferToggleOpeningsSubscriber.prototype._next = function (value) {
this.parent.openBuffer(value);
};
BufferToggleOpeningsSubscriber.prototype._error = function (err) {
this.parent.error(err);
};
BufferToggleOpeningsSubscriber.prototype._complete = function () {
// noop
};
return BufferToggleOpeningsSubscriber;
}(Subscriber_1.Subscriber));
var BufferToggleClosingsSubscriber = (function (_super) {
__extends(BufferToggleClosingsSubscriber, _super);
function BufferToggleClosingsSubscriber(parent, context) {
_super.call(this, null);
this.parent = parent;
this.context = context;
}
BufferToggleClosingsSubscriber.prototype._next = function () {
this.parent.closeBuffer(this.context);
};
BufferToggleClosingsSubscriber.prototype._error = function (err) {
this.parent.error(err);
};
BufferToggleClosingsSubscriber.prototype._complete = function () {
this.parent.closeBuffer(this.context);
};
return BufferToggleClosingsSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=bufferToggle.js.map

1
node_modules/rxjs/operator/bufferToggle.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"bufferToggle.js","sourceRoot":"","sources":["../../../src/operator/bufferToggle.ts"],"names":[],"mappings":";;;;;;AACA,2BAAyB,eAAe,CAAC,CAAA;AAEzC,6BAA2B,iBAAiB,CAAC,CAAA;AAC7C,yBAAuB,kBAAkB,CAAC,CAAA;AAC1C,4BAA0B,qBAAqB,CAAC,CAAA;AAEhD;;;;;;;;;;;;;GAaG;AACH,sBAAmC,QAAuB,EACvB,eAA8C;IAC/E,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAO,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC;AAC9E,CAAC;AAHe,oBAAY,eAG3B,CAAA;AAMD;IAEE,8BAAoB,QAAuB,EACvB,eAA8C;QAD9C,aAAQ,GAAR,QAAQ,CAAe;QACvB,oBAAe,GAAf,eAAe,CAA+B;IAClE,CAAC;IAED,mCAAI,GAAJ,UAAK,UAA2B;QAC9B,MAAM,C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CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAES,+CAAM,GAAhB,UAAiB,GAAQ;QACvB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;IAES,kDAAS,GAAnB;QACE,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IACH,qCAAC;AAAD,CAAC,AAjBD,CAAgD,uBAAU,GAiBzD"}

16
node_modules/rxjs/operator/bufferWhen.d.ts generated vendored Normal file
View File

@ -0,0 +1,16 @@
import { Observable } from '../Observable';
/**
* Opens a buffer immediately, then closes the buffer when the observable
* returned by calling `closingSelector` emits a value. It that immediately
* opens a new buffer and repeats the process.
*
* <img src="./img/bufferWhen.png" width="100%">
*
* @param {function} closingSelector a function that takes no arguments and
* returns an Observable that signals buffer closure.
* @returns {Observable<T[]>} an observable of arrays of buffered values.
*/
export declare function bufferWhen<T>(closingSelector: () => Observable<any>): Observable<T[]>;
export interface BufferWhenSignature<T> {
(closingSelector: () => Observable<any>): Observable<T[]>;
}

95
node_modules/rxjs/operator/bufferWhen.js generated vendored Normal file
View File

@ -0,0 +1,95 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscription_1 = require('../Subscription');
var tryCatch_1 = require('../util/tryCatch');
var errorObject_1 = require('../util/errorObject');
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Opens a buffer immediately, then closes the buffer when the observable
* returned by calling `closingSelector` emits a value. It that immediately
* opens a new buffer and repeats the process.
*
* <img src="./img/bufferWhen.png" width="100%">
*
* @param {function} closingSelector a function that takes no arguments and
* returns an Observable that signals buffer closure.
* @returns {Observable<T[]>} an observable of arrays of buffered values.
*/
function bufferWhen(closingSelector) {
return this.lift(new BufferWhenOperator(closingSelector));
}
exports.bufferWhen = bufferWhen;
var BufferWhenOperator = (function () {
function BufferWhenOperator(closingSelector) {
this.closingSelector = closingSelector;
}
BufferWhenOperator.prototype.call = function (subscriber) {
return new BufferWhenSubscriber(subscriber, this.closingSelector);
};
return BufferWhenOperator;
}());
var BufferWhenSubscriber = (function (_super) {
__extends(BufferWhenSubscriber, _super);
function BufferWhenSubscriber(destination, closingSelector) {
_super.call(this, destination);
this.closingSelector = closingSelector;
this.subscribing = false;
this.openBuffer();
}
BufferWhenSubscriber.prototype._next = function (value) {
this.buffer.push(value);
};
BufferWhenSubscriber.prototype._complete = function () {
var buffer = this.buffer;
if (buffer) {
this.destination.next(buffer);
}
_super.prototype._complete.call(this);
};
BufferWhenSubscriber.prototype._unsubscribe = function () {
this.buffer = null;
this.subscribing = false;
};
BufferWhenSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
this.openBuffer();
};
BufferWhenSubscriber.prototype.notifyComplete = function () {
if (this.subscribing) {
this.complete();
}
else {
this.openBuffer();
}
};
BufferWhenSubscriber.prototype.openBuffer = function () {
var closingSubscription = this.closingSubscription;
if (closingSubscription) {
this.remove(closingSubscription);
closingSubscription.unsubscribe();
}
var buffer = this.buffer;
if (this.buffer) {
this.destination.next(buffer);
}
this.buffer = [];
var closingNotifier = tryCatch_1.tryCatch(this.closingSelector)();
if (closingNotifier === errorObject_1.errorObject) {
this.error(errorObject_1.errorObject.e);
}
else {
closingSubscription = new Subscription_1.Subscription();
this.closingSubscription = closingSubscription;
this.add(closingSubscription);
this.subscribing = true;
closingSubscription.add(subscribeToResult_1.subscribeToResult(this, closingNotifier));
this.subscribing = false;
}
};
return BufferWhenSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
//# sourceMappingURL=bufferWhen.js.map

1
node_modules/rxjs/operator/bufferWhen.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"bufferWhen.js","sourceRoot":"","sources":["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YACxB,mBAAmB,CAAC,GAAG,CAAC,qCAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC3B,CAAC;IACH,CAAC;IACH,2BAAC;AAAD,CAAC,AAtED,CAAsC,iCAAe,GAsEpD"}

3
node_modules/rxjs/operator/cache.d.ts generated vendored Normal file
View File

@ -0,0 +1,3 @@
import { Observable } from '../Observable';
import { Scheduler } from '../Scheduler';
export declare function cache<T>(bufferSize?: number, windowTime?: number, scheduler?: Scheduler): Observable<T>;

9
node_modules/rxjs/operator/cache.js generated vendored Normal file
View File

@ -0,0 +1,9 @@
"use strict";
var publishReplay_1 = require('./publishReplay');
function cache(bufferSize, windowTime, scheduler) {
if (bufferSize === void 0) { bufferSize = Number.POSITIVE_INFINITY; }
if (windowTime === void 0) { windowTime = Number.POSITIVE_INFINITY; }
return publishReplay_1.publishReplay.call(this, bufferSize, windowTime, scheduler).refCount();
}
exports.cache = cache;
//# sourceMappingURL=cache.js.map

1
node_modules/rxjs/operator/cache.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"cache.js","sourceRoot":"","sources":["../../../src/operator/cache.ts"],"names":[],"mappings":";AACA,8BAA4B,iBAAiB,CAAC,CAAA;AAI9C,eAAyB,UAA6C,EAC7C,UAA6C,EAC7C,SAAqB;IAFrB,0BAA6C,GAA7C,aAAqB,MAAM,CAAC,iBAAiB;IAC7C,0BAA6C,GAA7C,aAAqB,MAAM,CAAC,iBAAiB;IAEpE,MAAM,CAA8B,6BAAa,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,CAAE,CAAC,QAAQ,EAAE,CAAC;AAC9G,CAAC;AAJe,aAAK,QAIpB,CAAA"}

10
node_modules/rxjs/operator/catch.d.ts generated vendored Normal file
View File

@ -0,0 +1,10 @@
import { Observable } from '../Observable';
/**
* Catches errors on the observable to be handled by returning a new observable or throwing an error.
* @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which
* is the source observable, in case you'd like to "retry" that observable by returning it again. Whatever observable
* is returned by the `selector` will be used to continue the observable chain.
* @return {Observable} an observable that originates from either the source or the observable returned by the
* catch `selector` function.
*/
export declare function _catch<T, R>(selector: (err: any, caught: Observable<T>) => Observable<R>): Observable<R>;

60
node_modules/rxjs/operator/catch.js generated vendored Normal file
View File

@ -0,0 +1,60 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/**
* Catches errors on the observable to be handled by returning a new observable or throwing an error.
* @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which
* is the source observable, in case you'd like to "retry" that observable by returning it again. Whatever observable
* is returned by the `selector` will be used to continue the observable chain.
* @return {Observable} an observable that originates from either the source or the observable returned by the
* catch `selector` function.
*/
function _catch(selector) {
var operator = new CatchOperator(selector);
var caught = this.lift(operator);
return (operator.caught = caught);
}
exports._catch = _catch;
var CatchOperator = (function () {
function CatchOperator(selector) {
this.selector = selector;
}
CatchOperator.prototype.call = function (subscriber) {
return new CatchSubscriber(subscriber, this.selector, this.caught);
};
return CatchOperator;
}());
var CatchSubscriber = (function (_super) {
__extends(CatchSubscriber, _super);
function CatchSubscriber(destination, selector, caught) {
_super.call(this, destination);
this.selector = selector;
this.caught = caught;
}
// NOTE: overriding `error` instead of `_error` because we don't want
// to have this flag this subscriber as `isStopped`.
CatchSubscriber.prototype.error = function (err) {
if (!this.isStopped) {
var result = void 0;
try {
result = this.selector(err, this.caught);
}
catch (err) {
this.destination.error(err);
return;
}
this._innerSub(result);
}
};
CatchSubscriber.prototype._innerSub = function (result) {
this.unsubscribe();
this.destination.remove(this);
result.subscribe(this.destination);
};
return CatchSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=catch.js.map

1
node_modules/rxjs/operator/catch.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"catch.js","sourceRoot":"","sources":["../../../src/operator/catch.ts"],"names":[],"mappings":";;;;;;AACA,2BAAyB,eAAe,CAAC,CAAA;AAGzC;;;;;;;GAOG;AACH,gBAA6B,QAA4D;IACvF,IAAM,QAAQ,GAAG,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC7C,IAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACnC,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;AACpC,CAAC;AAJe,cAAM,SAIrB,CAAA;AAED;IAGE,uBAAoB,QAAgE;QAAhE,aAAQ,GAAR,QAAQ,CAAwD;IACpF,CAAC;IAED,4BAAI,GAAJ,UAAK,UAAyB;QAC5B,MAAM,CAAC,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACrE,CAAC;IACH,oBAAC;AAAD,CAAC,AATD,IASC;AAED;IAAiC,mCAAa;IAE5C,yBAAY,WAA4B,EACpB,QAAgE,EAChE,MAAuB;QACzC,kBAAM,WAAW,CAAC,CAAC;QAFD,aAAQ,GAAR,QAAQ,CAAwD;QAChE,WAAM,GAAN,MAAM,CAAiB;IAE3C,CAAC;IAED,qEAAqE;IACrE,oDAAoD;IACpD,+BAAK,GAAL,UAAM,GAAQ;QACZ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YACpB,IAAI,MAAM,SAAK,CAAC;YAEhB,IAAI,CAAC;gBACH,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAC3C,CAAE;YAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;gBACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBAC5B,MAAM,CAAC;YACT,CAAC;YAED,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAEO,mCAAS,GAAjB,UAAkB,MAAuB;QACvC,IAAI,CAAC,WAAW,EAAE,CAAC;QACb,IAAI,CAAC,WAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACrC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IACH,sBAAC;AAAD,CAAC,AA9BD,CAAiC,uBAAU,GA8B1C"}

14
node_modules/rxjs/operator/combineAll.d.ts generated vendored Normal file
View File

@ -0,0 +1,14 @@
import { Observable } from '../Observable';
/**
* Takes an Observable of Observables, and collects all observables from it. Once the outer observable
* completes, it subscribes to all collected observables and "combines" their values, such that:
* - every time an observable emits, the returned observable emits
* - when the returned observable emits, it emits all of the most recent values by:
* - if a `project` function is provided, it is called with each recent value from each observable in whatever order they arrived,
* and the result of the `project` function is what is emitted by the returned observable
* - if there is no `project` function, an array of all of the most recent values is emitted by the returned observable.
* @param {function} [project] an optional function to map the most recent values from each observable into a new result. Takes each of the
* most recent values from each collected observable as arguments, in order.
* @returns {Observable} an observable of projected results or arrays of recent values.
*/
export declare function combineAll<T, R>(project?: (...values: Array<any>) => R): Observable<R>;

19
node_modules/rxjs/operator/combineAll.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
"use strict";
var combineLatest_1 = require('./combineLatest');
/**
* Takes an Observable of Observables, and collects all observables from it. Once the outer observable
* completes, it subscribes to all collected observables and "combines" their values, such that:
* - every time an observable emits, the returned observable emits
* - when the returned observable emits, it emits all of the most recent values by:
* - if a `project` function is provided, it is called with each recent value from each observable in whatever order they arrived,
* and the result of the `project` function is what is emitted by the returned observable
* - if there is no `project` function, an array of all of the most recent values is emitted by the returned observable.
* @param {function} [project] an optional function to map the most recent values from each observable into a new result. Takes each of the
* most recent values from each collected observable as arguments, in order.
* @returns {Observable} an observable of projected results or arrays of recent values.
*/
function combineAll(project) {
return this.lift(new combineLatest_1.CombineLatestOperator(project));
}
exports.combineAll = combineAll;
//# sourceMappingURL=combineAll.js.map

1
node_modules/rxjs/operator/combineAll.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"combineAll.js","sourceRoot":"","sources":["../../../src/operator/combineAll.ts"],"names":[],"mappings":";AAAA,8BAAoC,iBAAiB,CAAC,CAAA;AAGtD;;;;;;;;;;;GAWG;AACH,oBAAiC,OAAsC;IACrE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,qCAAqB,CAAC,OAAO,CAAC,CAAC,CAAC;AACvD,CAAC;AAFe,kBAAU,aAEzB,CAAA"}

75
node_modules/rxjs/operator/combineLatest.d.ts generated vendored Normal file
View File

@ -0,0 +1,75 @@
import { Observable, ObservableInput } from '../Observable';
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { OuterSubscriber } from '../OuterSubscriber';
import { InnerSubscriber } from '../InnerSubscriber';
/**
* Combines the values from this observable with values from observables passed as arguments. This is done by subscribing
* to each observable, in order, and collecting an array of each of the most recent values any time any of the observables
* emits, then either taking that array and passing it as arguments to an option `project` function and emitting the return
* value of that, or just emitting the array of recent values directly if there is no `project` function.
* @param {...Observable} observables the observables to combine the source with
* @param {function} [project] an optional function to project the values from the combined recent values into a new value for emission.
* @returns {Observable} an observable of other projected values from the most recent values from each observable, or an array of each of
* the most recent values from each observable.
*/
export declare function combineLatest<T, R>(...observables: Array<ObservableInput<any> | Array<ObservableInput<any>> | ((...values: Array<any>) => R)>): Observable<R>;
export interface CombineLatestSignature<T> {
<R>(project: (v1: T) => R): Observable<R>;
<T2, R>(v2: ObservableInput<T2>, project: (v1: T, v2: T2) => R): Observable<R>;
<T2, T3, R>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, project: (v1: T, v2: T2, v3: T3) => R): Observable<R>;
<T2, T3, T4, R>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, project: (v1: T, v2: T2, v3: T3, v4: T4) => R): Observable<R>;
<T2, T3, T4, T5, R>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R): Observable<R>;
<T2, T3, T4, T5, T6, R>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R): Observable<R>;
<T2>(v2: ObservableInput<T2>): Observable<[T, T2]>;
<T2, T3>(v2: ObservableInput<T2>, v3: ObservableInput<T3>): Observable<[T, T2, T3]>;
<T2, T3, T4>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>): Observable<[T, T2, T3, T4]>;
<T2, T3, T4, T5>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>): Observable<[T, T2, T3, T4, T5]>;
<T2, T3, T4, T5, T6>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>): Observable<[T, T2, T3, T4, T5, T6]>;
<R>(...observables: Array<ObservableInput<any> | ((...values: Array<any>) => R)>): Observable<R>;
<R>(array: ObservableInput<any>[]): Observable<R>;
<R>(array: ObservableInput<any>[], project: (...values: Array<any>) => R): Observable<R>;
}
/**
* Combines the values from observables passed as arguments. This is done by subscribing
* to each observable, in order, and collecting an array of each of the most recent values any time any of the observables
* emits, then either taking that array and passing it as arguments to an option `project` function and emitting the return
* value of that, or just emitting the array of recent values directly if there is no `project` function.
* @param {...Observable} observables the observables to combine
* @param {function} [project] an optional function to project the values from the combined recent values into a new value for emission.
* @returns {Observable} an observable of other projected values from the most recent values from each observable, or an array of each of
* the most recent values from each observable.
*/
export declare function combineLatestStatic<T>(v1: ObservableInput<T>): Observable<[T]>;
export declare function combineLatestStatic<T, T2>(v1: ObservableInput<T>, v2: ObservableInput<T2>): Observable<[T, T2]>;
export declare function combineLatestStatic<T, T2, T3>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>): Observable<[T, T2, T3]>;
export declare function combineLatestStatic<T, T2, T3, T4>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>): Observable<[T, T2, T3, T4]>;
export declare function combineLatestStatic<T, T2, T3, T4, T5>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>): Observable<[T, T2, T3, T4, T5]>;
export declare function combineLatestStatic<T, T2, T3, T4, T5, T6>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>): Observable<[T, T2, T3, T4, T5, T6]>;
export declare function combineLatestStatic<T, R>(v1: ObservableInput<T>, project: (v1: T) => R): Observable<R>;
export declare function combineLatestStatic<T, T2, R>(v1: ObservableInput<T>, v2: ObservableInput<T2>, project: (v1: T, v2: T2) => R): Observable<R>;
export declare function combineLatestStatic<T, T2, T3, R>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, project: (v1: T, v2: T2, v3: T3) => R): Observable<R>;
export declare function combineLatestStatic<T, T2, T3, T4, R>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, project: (v1: T, v2: T2, v3: T3, v4: T4) => R): Observable<R>;
export declare function combineLatestStatic<T, T2, T3, T4, T5, R>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R): Observable<R>;
export declare function combineLatestStatic<T, T2, T3, T4, T5, T6, R>(v1: ObservableInput<T>, v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R): Observable<R>;
export declare function combineLatestStatic<R>(...observables: Array<ObservableInput<any> | ((...values: Array<any>) => R)>): Observable<R>;
export declare function combineLatestStatic<R>(array: ObservableInput<any>[]): Observable<R>;
export declare function combineLatestStatic<R>(array: ObservableInput<any>[], project: (...values: Array<any>) => R): Observable<R>;
export declare class CombineLatestOperator<T, R> implements Operator<T, R> {
private project;
constructor(project?: (...values: Array<any>) => R);
call(subscriber: Subscriber<R>): Subscriber<T>;
}
export declare class CombineLatestSubscriber<T, R> extends OuterSubscriber<T, R> {
private project;
private active;
private values;
private observables;
private toRespond;
constructor(destination: Subscriber<R>, project?: (...values: Array<any>) => R);
protected _next(observable: any): void;
protected _complete(): void;
notifyComplete(unused: Subscriber<R>): void;
notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber<T, R>): void;
private _tryProject(values);
}

139
node_modules/rxjs/operator/combineLatest.js generated vendored Normal file
View File

@ -0,0 +1,139 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var ArrayObservable_1 = require('../observable/ArrayObservable');
var isArray_1 = require('../util/isArray');
var isScheduler_1 = require('../util/isScheduler');
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Combines the values from this observable with values from observables passed as arguments. This is done by subscribing
* to each observable, in order, and collecting an array of each of the most recent values any time any of the observables
* emits, then either taking that array and passing it as arguments to an option `project` function and emitting the return
* value of that, or just emitting the array of recent values directly if there is no `project` function.
* @param {...Observable} observables the observables to combine the source with
* @param {function} [project] an optional function to project the values from the combined recent values into a new value for emission.
* @returns {Observable} an observable of other projected values from the most recent values from each observable, or an array of each of
* the most recent values from each observable.
*/
function combineLatest() {
var observables = [];
for (var _i = 0; _i < arguments.length; _i++) {
observables[_i - 0] = arguments[_i];
}
var project = null;
if (typeof observables[observables.length - 1] === 'function') {
project = observables.pop();
}
// if the first and only other argument besides the resultSelector is an array
// assume it's been called with `combineLatest([obs1, obs2, obs3], project)`
if (observables.length === 1 && isArray_1.isArray(observables[0])) {
observables = observables[0];
}
observables.unshift(this);
return new ArrayObservable_1.ArrayObservable(observables).lift(new CombineLatestOperator(project));
}
exports.combineLatest = combineLatest;
/* tslint:enable:max-line-length */
function combineLatestStatic() {
var observables = [];
for (var _i = 0; _i < arguments.length; _i++) {
observables[_i - 0] = arguments[_i];
}
var project = null;
var scheduler = null;
if (isScheduler_1.isScheduler(observables[observables.length - 1])) {
scheduler = observables.pop();
}
if (typeof observables[observables.length - 1] === 'function') {
project = observables.pop();
}
// if the first and only other argument besides the resultSelector is an array
// assume it's been called with `combineLatest([obs1, obs2, obs3], project)`
if (observables.length === 1 && isArray_1.isArray(observables[0])) {
observables = observables[0];
}
return new ArrayObservable_1.ArrayObservable(observables, scheduler).lift(new CombineLatestOperator(project));
}
exports.combineLatestStatic = combineLatestStatic;
var CombineLatestOperator = (function () {
function CombineLatestOperator(project) {
this.project = project;
}
CombineLatestOperator.prototype.call = function (subscriber) {
return new CombineLatestSubscriber(subscriber, this.project);
};
return CombineLatestOperator;
}());
exports.CombineLatestOperator = CombineLatestOperator;
var CombineLatestSubscriber = (function (_super) {
__extends(CombineLatestSubscriber, _super);
function CombineLatestSubscriber(destination, project) {
_super.call(this, destination);
this.project = project;
this.active = 0;
this.values = [];
this.observables = [];
this.toRespond = [];
}
CombineLatestSubscriber.prototype._next = function (observable) {
var toRespond = this.toRespond;
toRespond.push(toRespond.length);
this.observables.push(observable);
};
CombineLatestSubscriber.prototype._complete = function () {
var observables = this.observables;
var len = observables.length;
if (len === 0) {
this.destination.complete();
}
else {
this.active = len;
for (var i = 0; i < len; i++) {
var observable = observables[i];
this.add(subscribeToResult_1.subscribeToResult(this, observable, observable, i));
}
}
};
CombineLatestSubscriber.prototype.notifyComplete = function (unused) {
if ((this.active -= 1) === 0) {
this.destination.complete();
}
};
CombineLatestSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
var values = this.values;
values[outerIndex] = innerValue;
var toRespond = this.toRespond;
if (toRespond.length > 0) {
var found = toRespond.indexOf(outerIndex);
if (found !== -1) {
toRespond.splice(found, 1);
}
}
if (toRespond.length === 0) {
if (this.project) {
this._tryProject(values);
}
else {
this.destination.next(values);
}
}
};
CombineLatestSubscriber.prototype._tryProject = function (values) {
var result;
try {
result = this.project.apply(this, values);
}
catch (err) {
this.destination.error(err);
return;
}
this.destination.next(result);
};
return CombineLatestSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
exports.CombineLatestSubscriber = CombineLatestSubscriber;
//# sourceMappingURL=combineLatest.js.map

1
node_modules/rxjs/operator/combineLatest.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"combineLatest.js","sourceRoot":"","sources":["../../../src/operator/combineLatest.ts"],"names":[],"mappings":";;;;;;AACA,gCAA8B,+BAA+B,CAAC,CAAA;AAC9D,wBAAsB,iBAAiB,CAAC,CAAA;AAExC,4BAA0B,qBAAqB,CAAC,CAAA;AAGhD,gCAA8B,oBAAoB,CAAC,CAAA;AAEnD,kCAAgC,2BAA2B,CAAC,CAAA;AAE5D;;;;;;;;;GASG;AACH;IAAoC,qBAEkD;SAFlD,WAEkD,CAFlD,sBAEkD,CAFlD,IAEkD;QAFlD,oCAEkD;;IACpF,IAAI,OAAO,GAAiC,IAAI,CAAC;IACjD,EAAE,CAAC,CAAC,OAAO,WAAW,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;QAC9D,OAAO,GAAiC,WAAW,CAAC,GAAG,EAAE,CAAC;IAC5D,C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,GAAnB,UAAoB,MAAa;QAC/B,IAAI,MAAW,CAAC;QAChB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IACH,8BAAC;AAAD,CAAC,AArED,CAAmD,iCAAe,GAqEjE;AArEY,+BAAuB,0BAqEnC,CAAA"}

19
node_modules/rxjs/operator/concat.d.ts generated vendored Normal file
View File

@ -0,0 +1,19 @@
import { Observable } from '../Observable';
import { Scheduler } from '../Scheduler';
/**
* Joins this observable with multiple other observables by subscribing to them one at a time, starting with the source,
* and merging their results into the returned observable. Will wait for each observable to complete before moving
* on to the next.
* @params {...Observable} the observables to concatenate
* @params {Scheduler} [scheduler] an optional scheduler to schedule each observable subscription on.
* @returns {Observable} All values of each passed observable merged into a single observable, in order, in serial fashion.
*/
export declare function concat<T, R>(...observables: Array<Observable<any> | Scheduler>): Observable<R>;
/**
* Joins multiple observables together by subscribing to them one at a time and merging their results
* into the returned observable. Will wait for each observable to complete before moving on to the next.
* @params {...Observable} the observables to concatenate
* @params {Scheduler} [scheduler] an optional scheduler to schedule each observable subscription on.
* @returns {Observable} All values of each passed observable merged into a single observable, in order, in serial fashion.
*/
export declare function concatStatic<T, R>(...observables: Array<Observable<any> | Scheduler>): Observable<R>;

41
node_modules/rxjs/operator/concat.js generated vendored Normal file
View File

@ -0,0 +1,41 @@
"use strict";
var isScheduler_1 = require('../util/isScheduler');
var ArrayObservable_1 = require('../observable/ArrayObservable');
var mergeAll_1 = require('./mergeAll');
/**
* Joins this observable with multiple other observables by subscribing to them one at a time, starting with the source,
* and merging their results into the returned observable. Will wait for each observable to complete before moving
* on to the next.
* @params {...Observable} the observables to concatenate
* @params {Scheduler} [scheduler] an optional scheduler to schedule each observable subscription on.
* @returns {Observable} All values of each passed observable merged into a single observable, in order, in serial fashion.
*/
function concat() {
var observables = [];
for (var _i = 0; _i < arguments.length; _i++) {
observables[_i - 0] = arguments[_i];
}
return concatStatic.apply(void 0, [this].concat(observables));
}
exports.concat = concat;
/**
* Joins multiple observables together by subscribing to them one at a time and merging their results
* into the returned observable. Will wait for each observable to complete before moving on to the next.
* @params {...Observable} the observables to concatenate
* @params {Scheduler} [scheduler] an optional scheduler to schedule each observable subscription on.
* @returns {Observable} All values of each passed observable merged into a single observable, in order, in serial fashion.
*/
function concatStatic() {
var observables = [];
for (var _i = 0; _i < arguments.length; _i++) {
observables[_i - 0] = arguments[_i];
}
var scheduler = null;
var args = observables;
if (isScheduler_1.isScheduler(args[observables.length - 1])) {
scheduler = args.pop();
}
return new ArrayObservable_1.ArrayObservable(observables, scheduler).lift(new mergeAll_1.MergeAllOperator(1));
}
exports.concatStatic = concatStatic;
//# sourceMappingURL=concat.js.map

1
node_modules/rxjs/operator/concat.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"concat.js","sourceRoot":"","sources":["../../../src/operator/concat.ts"],"names":[],"mappings":";AAEA,4BAA0B,qBAAqB,CAAC,CAAA;AAChD,gCAA8B,+BAA+B,CAAC,CAAA;AAC9D,yBAA+B,YAAY,CAAC,CAAA;AAE5C;;;;;;;GAOG;AACH;IAA6B,qBAAkD;SAAlD,WAAkD,CAAlD,sBAAkD,CAAlD,IAAkD;QAAlD,oCAAkD;;IAC7E,MAAM,CAAC,YAAY,gBAAC,IAAI,SAAK,WAAW,EAAC,CAAC;AAC5C,CAAC;AAFe,cAAM,SAErB,CAAA;AAED;;;;;;GAMG;AACH;IAAmC,qBAAkD;SAAlD,WAAkD,CAAlD,sBAAkD,CAAlD,IAAkD;QAAlD,oCAAkD;;IACnF,IAAI,SAAS,GAAc,IAAI,CAAC;IAChC,IAAI,IAAI,GAAU,WAAW,CAAC;IAC9B,EAAE,CAAC,CAAC,yBAAW,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9C,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,IAAI,iCAAe,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,2BAAgB,CAAQ,CAAC,CAAC,CAAC,CAAC;AAC1F,CAAC;AARe,oBAAY,eAQ3B,CAAA"}

12
node_modules/rxjs/operator/concatAll.d.ts generated vendored Normal file
View File

@ -0,0 +1,12 @@
/**
* Joins every Observable emitted by the source (an Observable of Observables), in a serial
* fashion. Subscribing to each one only when the previous one has completed, and merging
* all of their values into the returned observable.
*
* __Warning:__ If the source Observable emits Observables quickly and endlessly, and the
* Observables it emits generally complete slower than the source emits, you can run into
* memory issues as the incoming observables collect in an unbounded buffer.
*
* @returns {Observable} an observable of values merged from the incoming observables.
*/
export declare function concatAll<T>(): T;

18
node_modules/rxjs/operator/concatAll.js generated vendored Normal file
View File

@ -0,0 +1,18 @@
"use strict";
var mergeAll_1 = require('./mergeAll');
/**
* Joins every Observable emitted by the source (an Observable of Observables), in a serial
* fashion. Subscribing to each one only when the previous one has completed, and merging
* all of their values into the returned observable.
*
* __Warning:__ If the source Observable emits Observables quickly and endlessly, and the
* Observables it emits generally complete slower than the source emits, you can run into
* memory issues as the incoming observables collect in an unbounded buffer.
*
* @returns {Observable} an observable of values merged from the incoming observables.
*/
function concatAll() {
return this.lift(new mergeAll_1.MergeAllOperator(1));
}
exports.concatAll = concatAll;
//# sourceMappingURL=concatAll.js.map

1
node_modules/rxjs/operator/concatAll.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"concatAll.js","sourceRoot":"","sources":["../../../src/operator/concatAll.ts"],"names":[],"mappings":";AAAA,yBAA+B,YAAY,CAAC,CAAA;AAE5C;;;;;;;;;;GAUG;AACH;IACE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,2BAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5C,CAAC;AAFe,iBAAS,YAExB,CAAA"}

21
node_modules/rxjs/operator/concatMap.d.ts generated vendored Normal file
View File

@ -0,0 +1,21 @@
import { Observable } from '../Observable';
/**
* Maps values from the source observable into new Observables, then merges them in a serialized fashion,
* waiting for each one to complete before merging the next.
*
* __Warning:__ if incoming values arrive endlessly and faster than the observables they're being mapped
* to can complete, it will result in memory issues as created observables amass in an unbounded buffer
* waiting for their turn to be subscribed to.
*
* @param {function} project a function to map incoming values into Observables to be concatenated. accepts
* the `value` and the `index` as arguments.
* @param {function} [resultSelector] an optional result selector that is applied to values before they're
* merged into the returned observable. The arguments passed to this function are:
* - `outerValue`: the value that came from the source
* - `innerValue`: the value that came from the projected Observable
* - `outerIndex`: the "index" of the value that came from the source
* - `innerIndex`: the "index" of the value from the projected Observable
* @returns {Observable} an observable of values merged from the projected Observables as they were subscribed to,
* one at a time. Optionally, these values may have been projected from a passed `projectResult` argument.
*/
export declare function concatMap<T, R, R2>(project: (value: T, index: number) => Observable<R>, resultSelector?: (outerValue: T, innerValue: R, outerIndex: number, innerIndex: number) => R2): any;

26
node_modules/rxjs/operator/concatMap.js generated vendored Normal file
View File

@ -0,0 +1,26 @@
"use strict";
var mergeMap_1 = require('./mergeMap');
/**
* Maps values from the source observable into new Observables, then merges them in a serialized fashion,
* waiting for each one to complete before merging the next.
*
* __Warning:__ if incoming values arrive endlessly and faster than the observables they're being mapped
* to can complete, it will result in memory issues as created observables amass in an unbounded buffer
* waiting for their turn to be subscribed to.
*
* @param {function} project a function to map incoming values into Observables to be concatenated. accepts
* the `value` and the `index` as arguments.
* @param {function} [resultSelector] an optional result selector that is applied to values before they're
* merged into the returned observable. The arguments passed to this function are:
* - `outerValue`: the value that came from the source
* - `innerValue`: the value that came from the projected Observable
* - `outerIndex`: the "index" of the value that came from the source
* - `innerIndex`: the "index" of the value from the projected Observable
* @returns {Observable} an observable of values merged from the projected Observables as they were subscribed to,
* one at a time. Optionally, these values may have been projected from a passed `projectResult` argument.
*/
function concatMap(project, resultSelector) {
return this.lift(new mergeMap_1.MergeMapOperator(project, resultSelector, 1));
}
exports.concatMap = concatMap;
//# sourceMappingURL=concatMap.js.map

1
node_modules/rxjs/operator/concatMap.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"concatMap.js","sourceRoot":"","sources":["../../../src/operator/concatMap.ts"],"names":[],"mappings":";AAAA,yBAA+B,YAAY,CAAC,CAAA;AAG5C;;;;;;;;;;;;;;;;;;GAkBG;AACH,mBAAoC,OAAmD,EACnD,cAA6F;IAC/H,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,2BAAgB,CAAC,OAAO,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC;AACrE,CAAC;AAHe,iBAAS,YAGxB,CAAA"}

15
node_modules/rxjs/operator/concatMapTo.d.ts generated vendored Normal file
View File

@ -0,0 +1,15 @@
import { Observable } from '../Observable';
/**
* Maps values from the source to a specific observable, and merges them together in a serialized fashion.
*
* @param {Observable} observable the observable to map each source value to
* @param {function} [resultSelector] an optional result selector that is applied to values before they're
* merged into the returned observable. The arguments passed to this function are:
* - `outerValue`: the value that came from the source
* - `innerValue`: the value that came from the projected Observable
* - `outerIndex`: the "index" of the value that came from the source
* - `innerIndex`: the "index" of the value from the projected Observable
* @returns {Observable} an observable of values merged together by joining the passed observable
* with itself, one after the other, for each value emitted from the source.
*/
export declare function concatMapTo<T, R, R2>(observable: Observable<R>, resultSelector?: (outerValue: T, innerValue: R, outerIndex: number, innerIndex: number) => R2): Observable<R2>;

20
node_modules/rxjs/operator/concatMapTo.js generated vendored Normal file
View File

@ -0,0 +1,20 @@
"use strict";
var mergeMapTo_1 = require('./mergeMapTo');
/**
* Maps values from the source to a specific observable, and merges them together in a serialized fashion.
*
* @param {Observable} observable the observable to map each source value to
* @param {function} [resultSelector] an optional result selector that is applied to values before they're
* merged into the returned observable. The arguments passed to this function are:
* - `outerValue`: the value that came from the source
* - `innerValue`: the value that came from the projected Observable
* - `outerIndex`: the "index" of the value that came from the source
* - `innerIndex`: the "index" of the value from the projected Observable
* @returns {Observable} an observable of values merged together by joining the passed observable
* with itself, one after the other, for each value emitted from the source.
*/
function concatMapTo(observable, resultSelector) {
return this.lift(new mergeMapTo_1.MergeMapToOperator(observable, resultSelector, 1));
}
exports.concatMapTo = concatMapTo;
//# sourceMappingURL=concatMapTo.js.map

1
node_modules/rxjs/operator/concatMapTo.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"concatMapTo.js","sourceRoot":"","sources":["../../../src/operator/concatMapTo.ts"],"names":[],"mappings":";AACA,2BAAiC,cAAc,CAAC,CAAA;AAEhD;;;;;;;;;;;;GAYG;AACH,qBAAsC,UAAyB,EACzB,cAImC;IACvE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,+BAAkB,CAAC,UAAU,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC;AAC1E,CAAC;AAPe,mBAAW,cAO1B,CAAA"}

15
node_modules/rxjs/operator/count.d.ts generated vendored Normal file
View File

@ -0,0 +1,15 @@
import { Observable } from '../Observable';
/**
* Returns an observable of a single number that represents the number of items that either:
* Match a provided predicate function, _or_ if a predicate is not provided, the number
* represents the total count of all items in the source observable. The count is emitted
* by the returned observable when the source observable completes.
* @param {function} [predicate] a boolean function to select what values are to be counted.
* it is provided with arguments of:
* - `value`: the value from the source observable
* - `index`: the "index" of the value from the source observable
* - `source`: the source observable instance itself.
* @returns {Observable} an observable of one number that represents the count as described
* above
*/
export declare function count<T>(predicate?: (value: T, index: number, source: Observable<T>) => boolean): Observable<number>;

71
node_modules/rxjs/operator/count.js generated vendored Normal file
View File

@ -0,0 +1,71 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/**
* Returns an observable of a single number that represents the number of items that either:
* Match a provided predicate function, _or_ if a predicate is not provided, the number
* represents the total count of all items in the source observable. The count is emitted
* by the returned observable when the source observable completes.
* @param {function} [predicate] a boolean function to select what values are to be counted.
* it is provided with arguments of:
* - `value`: the value from the source observable
* - `index`: the "index" of the value from the source observable
* - `source`: the source observable instance itself.
* @returns {Observable} an observable of one number that represents the count as described
* above
*/
function count(predicate) {
return this.lift(new CountOperator(predicate, this));
}
exports.count = count;
var CountOperator = (function () {
function CountOperator(predicate, source) {
this.predicate = predicate;
this.source = source;
}
CountOperator.prototype.call = function (subscriber) {
return new CountSubscriber(subscriber, this.predicate, this.source);
};
return CountOperator;
}());
var CountSubscriber = (function (_super) {
__extends(CountSubscriber, _super);
function CountSubscriber(destination, predicate, source) {
_super.call(this, destination);
this.predicate = predicate;
this.source = source;
this.count = 0;
this.index = 0;
}
CountSubscriber.prototype._next = function (value) {
if (this.predicate) {
this._tryPredicate(value);
}
else {
this.count++;
}
};
CountSubscriber.prototype._tryPredicate = function (value) {
var result;
try {
result = this.predicate(value, this.index++, this.source);
}
catch (err) {
this.destination.error(err);
return;
}
if (result) {
this.count++;
}
};
CountSubscriber.prototype._complete = function () {
this.destination.next(this.count);
this.destination.complete();
};
return CountSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=count.js.map

1
node_modules/rxjs/operator/count.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"count.js","sourceRoot":"","sources":["../../../src/operator/count.ts"],"names":[],"mappings":";;;;;;AAGA,2BAAyB,eAAe,CAAC,CAAA;AAEzC;;;;;;;;;;;;GAYG;AACH,eAAyB,SAAuE;IAC9F,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,IAAI,CA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AE,CAAC;QACf,CAAC;IACH,CAAC;IAES,mCAAS,GAAnB;QACE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAClC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IACH,sBAAC;AAAD,CAAC,AArCD,CAAiC,uBAAU,GAqC1C"}

12
node_modules/rxjs/operator/debounce.d.ts generated vendored Normal file
View File

@ -0,0 +1,12 @@
import { Observable } from '../Observable';
/**
* Returns the source Observable delayed by the computed debounce duration,
* with the duration lengthened if a new source item arrives before the delay
* duration ends.
* In practice, for each item emitted on the source, this operator holds the
* latest item, waits for a silence as long as the `durationSelector` specifies,
* and only then emits the latest source item on the result Observable.
* @param {function} durationSelector function for computing the timeout duration for each item.
* @returns {Observable} an Observable the same as source Observable, but drops items.
*/
export declare function debounce<T>(durationSelector: (value: T) => Observable<number> | Promise<number>): Observable<T>;

90
node_modules/rxjs/operator/debounce.js generated vendored Normal file
View File

@ -0,0 +1,90 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Returns the source Observable delayed by the computed debounce duration,
* with the duration lengthened if a new source item arrives before the delay
* duration ends.
* In practice, for each item emitted on the source, this operator holds the
* latest item, waits for a silence as long as the `durationSelector` specifies,
* and only then emits the latest source item on the result Observable.
* @param {function} durationSelector function for computing the timeout duration for each item.
* @returns {Observable} an Observable the same as source Observable, but drops items.
*/
function debounce(durationSelector) {
return this.lift(new DebounceOperator(durationSelector));
}
exports.debounce = debounce;
var DebounceOperator = (function () {
function DebounceOperator(durationSelector) {
this.durationSelector = durationSelector;
}
DebounceOperator.prototype.call = function (subscriber) {
return new DebounceSubscriber(subscriber, this.durationSelector);
};
return DebounceOperator;
}());
var DebounceSubscriber = (function (_super) {
__extends(DebounceSubscriber, _super);
function DebounceSubscriber(destination, durationSelector) {
_super.call(this, destination);
this.durationSelector = durationSelector;
this.hasValue = false;
this.durationSubscription = null;
}
DebounceSubscriber.prototype._next = function (value) {
try {
var result = this.durationSelector.call(this, value);
if (result) {
this._tryNext(value, result);
}
}
catch (err) {
this.destination.error(err);
}
};
DebounceSubscriber.prototype._complete = function () {
this.emitValue();
this.destination.complete();
};
DebounceSubscriber.prototype._tryNext = function (value, duration) {
var subscription = this.durationSubscription;
this.value = value;
this.hasValue = true;
if (subscription) {
subscription.unsubscribe();
this.remove(subscription);
}
subscription = subscribeToResult_1.subscribeToResult(this, duration);
if (!subscription.isUnsubscribed) {
this.add(this.durationSubscription = subscription);
}
};
DebounceSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
this.emitValue();
};
DebounceSubscriber.prototype.notifyComplete = function () {
this.emitValue();
};
DebounceSubscriber.prototype.emitValue = function () {
if (this.hasValue) {
var value = this.value;
var subscription = this.durationSubscription;
if (subscription) {
this.durationSubscription = null;
subscription.unsubscribe();
this.remove(subscription);
}
this.value = null;
this.hasValue = false;
_super.prototype._next.call(this, value);
}
};
return DebounceSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
//# sourceMappingURL=debounce.js.map

1
node_modules/rxjs/operator/debounce.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"debounce.js","sourceRoot":"","sources":["../../../src/operator/debounce.ts"],"names":[],"mappings":";;;;;;AAKA,gCAA8B,oBAAoB,CAAC,CAAA;AAEnD,kCAAgC,2BAA2B,CAAC,CAAA;AAE5D;;;;;;;;;GASG;AACH,kBAA4B,gBAAoE;IAC9F,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAC3D,CAAC;AAFe,gBAAQ,WAEvB,CAAA;AAED;IACE,0B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3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAC5B,CAAC;QAED,YAAY,GAAG,qCAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACjD,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC,CAAC;YACjC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,oBAAoB,GAAG,YAAY,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;IAED,uCAAU,GAAV,UAAW,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,2CAAc,GAAd;QACE,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;IAED,sCAAS,GAAT;QACE,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAClB,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;YACzB,IAAM,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC;YAC/C,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;gBACjC,YAAY,CAAC,WAAW,EAAE,CAAC;gBAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;YAC5B,CAAC;YACD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,gBAAK,CAAC,KAAK,YAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IACH,yBAAC;AAAD,CAAC,AAlED,CAAuC,iCAAe,GAkErD"}

15
node_modules/rxjs/operator/debounceTime.d.ts generated vendored Normal file
View File

@ -0,0 +1,15 @@
import { Observable } from '../Observable';
import { Scheduler } from '../Scheduler';
/**
* Returns the source Observable delayed by the computed debounce duration,
* with the duration lengthened if a new source item arrives before the delay
* duration ends.
* In practice, for each item emitted on the source, this operator holds the
* latest item, waits for a silence for the `dueTime` length, and only then
* emits the latest source item on the result Observable.
* Optionally takes a scheduler for manging timers.
* @param {number} dueTime the timeout value for the window of time required to not drop the item.
* @param {Scheduler} [scheduler] the Scheduler to use for managing the timers that handle the timeout for each item.
* @returns {Observable} an Observable the same as source Observable, but drops items.
*/
export declare function debounceTime<T>(dueTime: number, scheduler?: Scheduler): Observable<T>;

77
node_modules/rxjs/operator/debounceTime.js generated vendored Normal file
View File

@ -0,0 +1,77 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var asap_1 = require('../scheduler/asap');
/**
* Returns the source Observable delayed by the computed debounce duration,
* with the duration lengthened if a new source item arrives before the delay
* duration ends.
* In practice, for each item emitted on the source, this operator holds the
* latest item, waits for a silence for the `dueTime` length, and only then
* emits the latest source item on the result Observable.
* Optionally takes a scheduler for manging timers.
* @param {number} dueTime the timeout value for the window of time required to not drop the item.
* @param {Scheduler} [scheduler] the Scheduler to use for managing the timers that handle the timeout for each item.
* @returns {Observable} an Observable the same as source Observable, but drops items.
*/
function debounceTime(dueTime, scheduler) {
if (scheduler === void 0) { scheduler = asap_1.asap; }
return this.lift(new DebounceTimeOperator(dueTime, scheduler));
}
exports.debounceTime = debounceTime;
var DebounceTimeOperator = (function () {
function DebounceTimeOperator(dueTime, scheduler) {
this.dueTime = dueTime;
this.scheduler = scheduler;
}
DebounceTimeOperator.prototype.call = function (subscriber) {
return new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler);
};
return DebounceTimeOperator;
}());
var DebounceTimeSubscriber = (function (_super) {
__extends(DebounceTimeSubscriber, _super);
function DebounceTimeSubscriber(destination, dueTime, scheduler) {
_super.call(this, destination);
this.dueTime = dueTime;
this.scheduler = scheduler;
this.debouncedSubscription = null;
this.lastValue = null;
this.hasValue = false;
}
DebounceTimeSubscriber.prototype._next = function (value) {
this.clearDebounce();
this.lastValue = value;
this.hasValue = true;
this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));
};
DebounceTimeSubscriber.prototype._complete = function () {
this.debouncedNext();
this.destination.complete();
};
DebounceTimeSubscriber.prototype.debouncedNext = function () {
this.clearDebounce();
if (this.hasValue) {
this.destination.next(this.lastValue);
this.lastValue = null;
this.hasValue = false;
}
};
DebounceTimeSubscriber.prototype.clearDebounce = function () {
var debouncedSubscription = this.debouncedSubscription;
if (debouncedSubscription !== null) {
this.remove(debouncedSubscription);
debouncedSubscription.unsubscribe();
this.debouncedSubscription = null;
}
};
return DebounceTimeSubscriber;
}(Subscriber_1.Subscriber));
function dispatchNext(subscriber) {
subscriber.debouncedNext();
}
//# sourceMappingURL=debounceTime.js.map

1
node_modules/rxjs/operator/debounceTime.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"debounceTime.js","sourceRoot":"","sources":["../../../src/operator/debounceTime.ts"],"names":[],"mappings":";;;;;;AAEA,2BAAyB,eAAe,CAAC,CAAA;AAGzC,qBAAmB,mBAAmB,CAAC,CAAA;AAEvC;;;;;;;;;;;GAWG;AACH,sBAAgC,OAAe,EAAE,SAA2B;IAA3B,yBAA2B,GAA3B,uBAA2B;IAC1E,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,oBAAoB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC;AACjE,CAAC;AAFe,oBAAY,eAE3B,CAAA;AAED;IACE,8BAAoB,OAAe,EAAU,SAAoB;QAA7C,YAAO,GAAP,OAAO,CAAQ;QAAU,cAAS,GAAT,SAAS,CAAW;IACjE,CAAC;IAED,mCAAI,GAAJ,UAAK,UAAyB;QAC5B,MAAM,CAAC,IAAI,sBAAsB,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,C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AAC;YACnC,qBAAqB,CAAC,WAAW,EAAE,CAAC;YACpC,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC;QACpC,CAAC;IACH,CAAC;IACH,6BAAC;AAAD,CAAC,AA1CD,CAAwC,uBAAU,GA0CjD;AAED,sBAAsB,UAAuC;IAC3D,UAAU,CAAC,aAAa,EAAE,CAAC;AAC7B,CAAC"}

7
node_modules/rxjs/operator/defaultIfEmpty.d.ts generated vendored Normal file
View File

@ -0,0 +1,7 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that emits the elements of the source or a specified default value if empty.
* @param {any} defaultValue the default value used if source is empty; defaults to null.
* @returns {Observable} an Observable of the items emitted by the where empty values are replaced by the specified default value or null.
*/
export declare function defaultIfEmpty<T, R>(defaultValue?: R): Observable<T | R>;

46
node_modules/rxjs/operator/defaultIfEmpty.js generated vendored Normal file
View File

@ -0,0 +1,46 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/**
* Returns an Observable that emits the elements of the source or a specified default value if empty.
* @param {any} defaultValue the default value used if source is empty; defaults to null.
* @returns {Observable} an Observable of the items emitted by the where empty values are replaced by the specified default value or null.
*/
function defaultIfEmpty(defaultValue) {
if (defaultValue === void 0) { defaultValue = null; }
return this.lift(new DefaultIfEmptyOperator(defaultValue));
}
exports.defaultIfEmpty = defaultIfEmpty;
var DefaultIfEmptyOperator = (function () {
function DefaultIfEmptyOperator(defaultValue) {
this.defaultValue = defaultValue;
}
DefaultIfEmptyOperator.prototype.call = function (subscriber) {
return new DefaultIfEmptySubscriber(subscriber, this.defaultValue);
};
return DefaultIfEmptyOperator;
}());
var DefaultIfEmptySubscriber = (function (_super) {
__extends(DefaultIfEmptySubscriber, _super);
function DefaultIfEmptySubscriber(destination, defaultValue) {
_super.call(this, destination);
this.defaultValue = defaultValue;
this.isEmpty = true;
}
DefaultIfEmptySubscriber.prototype._next = function (value) {
this.isEmpty = false;
this.destination.next(value);
};
DefaultIfEmptySubscriber.prototype._complete = function () {
if (this.isEmpty) {
this.destination.next(this.defaultValue);
}
this.destination.complete();
};
return DefaultIfEmptySubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=defaultIfEmpty.js.map

1
node_modules/rxjs/operator/defaultIfEmpty.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"defaultIfEmpty.js","sourceRoot":"","sources":["../../../src/operator/defaultIfEmpty.ts"],"names":[],"mappings":";;;;;;AAEA,2BAAyB,eAAe,CAAC,CAAA;AAEzC;;;;GAIG;AACH,wBAAqC,YAAsB;IAAtB,4BAAsB,GAAtB,mBAAsB;IACzD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,sBAAsB,CAAC,YAAY,CAAC,CAAC,CAAC;AAC7D,CAAC;AAFe,sBAAc,iBAE7B,CAAA;AAED;IAEE,gCAAoB,YAAe;QAAf,iBAAY,GAAZ,YAAY,CAAG;IACnC,CAAC;IAED,qCAAI,GAAJ,UAAK,UAA6B;QAChC,MAAM,CAAC,IAAI,wBAAwB,CAAC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACrE,CAAC;IACH,6BAAC;AAAD,CAAC,AARD,IAQC;AAED;IAA6C,4CAAa;IAGxD,kCAAY,WAA8B,EAAU,YAAe;QACjE,kBAAM,WAAW,CAAC,CAAC;QAD+B,iBAAY,GAAZ,YAAY,CAAG;QAF3D,YAAO,GAAY,IAAI,CAAC;IAIhC,CAAC;IAES,wCAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAES,4CAAS,GAAnB;QACE,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC3C,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IACH,+BAAC;AAAD,CAAC,AAlBD,CAA6C,uBAAU,GAkBtD"}

10
node_modules/rxjs/operator/delay.d.ts generated vendored Normal file
View File

@ -0,0 +1,10 @@
import { Scheduler } from '../Scheduler';
import { Observable } from '../Observable';
/**
* Returns an Observable that delays the emission of items from the source Observable
* by a given timeout or until a given Date.
* @param {number|Date} delay the timeout value or date until which the emission of the source items is delayed.
* @param {Scheduler} [scheduler] the Scheduler to use for managing the timers that handle the timeout for each item.
* @returns {Observable} an Observable that delays the emissions of the source Observable by the specified timeout or Date.
*/
export declare function delay<T>(delay: number | Date, scheduler?: Scheduler): Observable<T>;

98
node_modules/rxjs/operator/delay.js generated vendored Normal file
View File

@ -0,0 +1,98 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var asap_1 = require('../scheduler/asap');
var isDate_1 = require('../util/isDate');
var Subscriber_1 = require('../Subscriber');
var Notification_1 = require('../Notification');
/**
* Returns an Observable that delays the emission of items from the source Observable
* by a given timeout or until a given Date.
* @param {number|Date} delay the timeout value or date until which the emission of the source items is delayed.
* @param {Scheduler} [scheduler] the Scheduler to use for managing the timers that handle the timeout for each item.
* @returns {Observable} an Observable that delays the emissions of the source Observable by the specified timeout or Date.
*/
function delay(delay, scheduler) {
if (scheduler === void 0) { scheduler = asap_1.asap; }
var absoluteDelay = isDate_1.isDate(delay);
var delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);
return this.lift(new DelayOperator(delayFor, scheduler));
}
exports.delay = delay;
var DelayOperator = (function () {
function DelayOperator(delay, scheduler) {
this.delay = delay;
this.scheduler = scheduler;
}
DelayOperator.prototype.call = function (subscriber) {
return new DelaySubscriber(subscriber, this.delay, this.scheduler);
};
return DelayOperator;
}());
var DelaySubscriber = (function (_super) {
__extends(DelaySubscriber, _super);
function DelaySubscriber(destination, delay, scheduler) {
_super.call(this, destination);
this.delay = delay;
this.scheduler = scheduler;
this.queue = [];
this.active = false;
this.errored = false;
}
DelaySubscriber.dispatch = function (state) {
var source = state.source;
var queue = source.queue;
var scheduler = state.scheduler;
var destination = state.destination;
while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {
queue.shift().notification.observe(destination);
}
if (queue.length > 0) {
var delay_1 = Math.max(0, queue[0].time - scheduler.now());
this.schedule(state, delay_1);
}
else {
source.active = false;
}
};
DelaySubscriber.prototype._schedule = function (scheduler) {
this.active = true;
this.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {
source: this, destination: this.destination, scheduler: scheduler
}));
};
DelaySubscriber.prototype.scheduleNotification = function (notification) {
if (this.errored === true) {
return;
}
var scheduler = this.scheduler;
var message = new DelayMessage(scheduler.now() + this.delay, notification);
this.queue.push(message);
if (this.active === false) {
this._schedule(scheduler);
}
};
DelaySubscriber.prototype._next = function (value) {
this.scheduleNotification(Notification_1.Notification.createNext(value));
};
DelaySubscriber.prototype._error = function (err) {
this.errored = true;
this.queue = [];
this.destination.error(err);
};
DelaySubscriber.prototype._complete = function () {
this.scheduleNotification(Notification_1.Notification.createComplete());
};
return DelaySubscriber;
}(Subscriber_1.Subscriber));
var DelayMessage = (function () {
function DelayMessage(time, notification) {
this.time = time;
this.notification = notification;
}
return DelayMessage;
}());
//# sourceMappingURL=delay.js.map

1
node_modules/rxjs/operator/delay.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../../src/operator/delay.ts"],"names":[],"mappings":";;;;;;AAAA,qBAAmB,mBAAmB,CAAC,CAAA;AACvC,uBAAqB,gBAAgB,CAAC,CAAA;AAGtC,2BAAyB,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;QAC7E,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAEzB,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,KAAK,KAAK,CAAC,CAAC,CAAC;YAC1B,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IAES,+BAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,CAAC,oBAAoB,CAAC,2BAAY,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5D,CAAC;IAES,gCAAM,GAAhB,UAAiB,GAAQ;QACvB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;QAChB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAES,mCAAS,GAAnB;QACE,IAAI,CAAC,oBAAoB,CAAC,2BAAY,CAAC,cAAc,EAAE,CAAC,CAAC;IAC3D,CAAC;IACH,sBAAC;AAAD,CAAC,AA/DD,CAAiC,uBAAU,GA+D1C;AAED;IACE,sBAAoB,IAAY,EACZ,YAAiB;QADjB,SAAI,GAAJ,IAAI,CAAQ;QACZ,iBAAY,GAAZ,YAAY,CAAK;IACrC,CAAC;IACH,mBAAC;AAAD,CAAC,AAJD,IAIC"}

9
node_modules/rxjs/operator/delayWhen.d.ts generated vendored Normal file
View File

@ -0,0 +1,9 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that delays the emission of items from the source Observable
* by a subscription delay and a delay selector function for each element.
* @param {Function} selector function to retrieve a sequence indicating the delay for each given element.
* @param {Observable} sequence indicating the delay for the subscription to the source.
* @returns {Observable} an Observable that delays the emissions of the source Observable by the specified timeout or Date.
*/
export declare function delayWhen<T>(delayDurationSelector: (value: T) => Observable<any>, subscriptionDelay?: Observable<any>): Observable<T>;

137
node_modules/rxjs/operator/delayWhen.js generated vendored Normal file
View File

@ -0,0 +1,137 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var Observable_1 = require('../Observable');
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Returns an Observable that delays the emission of items from the source Observable
* by a subscription delay and a delay selector function for each element.
* @param {Function} selector function to retrieve a sequence indicating the delay for each given element.
* @param {Observable} sequence indicating the delay for the subscription to the source.
* @returns {Observable} an Observable that delays the emissions of the source Observable by the specified timeout or Date.
*/
function delayWhen(delayDurationSelector, subscriptionDelay) {
if (subscriptionDelay) {
return new SubscriptionDelayObservable(this, subscriptionDelay)
.lift(new DelayWhenOperator(delayDurationSelector));
}
return this.lift(new DelayWhenOperator(delayDurationSelector));
}
exports.delayWhen = delayWhen;
var DelayWhenOperator = (function () {
function DelayWhenOperator(delayDurationSelector) {
this.delayDurationSelector = delayDurationSelector;
}
DelayWhenOperator.prototype.call = function (subscriber) {
return new DelayWhenSubscriber(subscriber, this.delayDurationSelector);
};
return DelayWhenOperator;
}());
var DelayWhenSubscriber = (function (_super) {
__extends(DelayWhenSubscriber, _super);
function DelayWhenSubscriber(destination, delayDurationSelector) {
_super.call(this, destination);
this.delayDurationSelector = delayDurationSelector;
this.completed = false;
this.delayNotifierSubscriptions = [];
this.values = [];
}
DelayWhenSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
this.destination.next(outerValue);
this.removeSubscription(innerSub);
this.tryComplete();
};
DelayWhenSubscriber.prototype.notifyError = function (error, innerSub) {
this._error(error);
};
DelayWhenSubscriber.prototype.notifyComplete = function (innerSub) {
var value = this.removeSubscription(innerSub);
if (value) {
this.destination.next(value);
}
this.tryComplete();
};
DelayWhenSubscriber.prototype._next = function (value) {
try {
var delayNotifier = this.delayDurationSelector(value);
if (delayNotifier) {
this.tryDelay(delayNotifier, value);
}
}
catch (err) {
this.destination.error(err);
}
};
DelayWhenSubscriber.prototype._complete = function () {
this.completed = true;
this.tryComplete();
};
DelayWhenSubscriber.prototype.removeSubscription = function (subscription) {
subscription.unsubscribe();
var subscriptionIdx = this.delayNotifierSubscriptions.indexOf(subscription);
var value = null;
if (subscriptionIdx !== -1) {
value = this.values[subscriptionIdx];
this.delayNotifierSubscriptions.splice(subscriptionIdx, 1);
this.values.splice(subscriptionIdx, 1);
}
return value;
};
DelayWhenSubscriber.prototype.tryDelay = function (delayNotifier, value) {
var notifierSubscription = subscribeToResult_1.subscribeToResult(this, delayNotifier, value);
this.add(notifierSubscription);
this.delayNotifierSubscriptions.push(notifierSubscription);
this.values.push(value);
};
DelayWhenSubscriber.prototype.tryComplete = function () {
if (this.completed && this.delayNotifierSubscriptions.length === 0) {
this.destination.complete();
}
};
return DelayWhenSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
var SubscriptionDelayObservable = (function (_super) {
__extends(SubscriptionDelayObservable, _super);
function SubscriptionDelayObservable(source, subscriptionDelay) {
_super.call(this);
this.source = source;
this.subscriptionDelay = subscriptionDelay;
}
SubscriptionDelayObservable.prototype._subscribe = function (subscriber) {
this.subscriptionDelay.subscribe(new SubscriptionDelaySubscriber(subscriber, this.source));
};
return SubscriptionDelayObservable;
}(Observable_1.Observable));
var SubscriptionDelaySubscriber = (function (_super) {
__extends(SubscriptionDelaySubscriber, _super);
function SubscriptionDelaySubscriber(parent, source) {
_super.call(this);
this.parent = parent;
this.source = source;
this.sourceSubscribed = false;
}
SubscriptionDelaySubscriber.prototype._next = function (unused) {
this.subscribeToSource();
};
SubscriptionDelaySubscriber.prototype._error = function (err) {
this.unsubscribe();
this.parent.error(err);
};
SubscriptionDelaySubscriber.prototype._complete = function () {
this.subscribeToSource();
};
SubscriptionDelaySubscriber.prototype.subscribeToSource = function () {
if (!this.sourceSubscribed) {
this.sourceSubscribed = true;
this.unsubscribe();
this.source.subscribe(this.parent);
}
};
return SubscriptionDelaySubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=delayWhen.js.map

1
node_modules/rxjs/operator/delayWhen.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"delayWhen.js","sourceRoot":"","sources":["../../../src/operator/delayWhen.ts"],"names":[],"mappings":";;;;;;AACA,2BAAyB,eAAe,CAAC,CAAA;AACzC,2BAAyB,eAAe,CAAC,CAAA;AAGzC,gCAA8B,oBAAoB,CAAC,CAAA;AAEnD,kCAAgC,2BAA2B,CAAC,CAAA;AAE5D;;;;;;GAMG;AAEH,mBAA6B,qBAAoD,EACpD,iBAAmC;IAC9D,EAAE,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC;QACtB,MAAM,CAAC,IAAI,2BAA2B,CAAC,IAAI,EAAE,iBAAiB,CAAC;aACtD,IAAI,CAAC,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC9D,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,CAAC,CAAC;AACjE,CAAC;AAPe,iBAAS,YAOxB,CAAA;AAED;IACE,2BAAoB,qBAAoD;QAApD,0BAAqB,GAArB,qBAAqB,CAA+B;IACxE,CAAC;IAED,gCAAI,GAAJ,UAAK,UAAyB;QAC5B,MAAM,CAAC,IAAI,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,qBAAqB,CAAC,CAAC;IACzE,CAAC;IACH,wBAAC;AAAD,CAAC,AAPD,IAOC;AAED;IAAwC,uCAAqB;IAK3D,6BAAY,WAA0B,EAClB,qBAAoD;QACtE,kBAAM,WAAW,CAAC,CAAC;QADD,0BAAqB,GAArB,qBAAqB,CAA+B;QALhE,cAAS,GAAY,KAAK,CAAC;QAC3B,+BAA0B,GAAwB,EAAE,CAAC;QACrD,WAAM,GAAa,EAAE,CAAC;IAK9B,CAAC;IAED,wCAAU,GAAV,UAAW,UAAa,EAAE,UAAe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AAC;IAC7F,CAAC;IACH,kCAAC;AAAD,CAAC,AARD,CAA6C,uBAAU,GAQtD;AAED;IAA6C,+CAAa;IAGxD,qCAAoB,MAAqB,EAAU,MAAqB;QACtE,iBAAO,CAAC;QADU,WAAM,GAAN,MAAM,CAAe;QAAU,WAAM,GAAN,MAAM,CAAe;QAFhE,qBAAgB,GAAY,KAAK,CAAC;IAI1C,CAAC;IAES,2CAAK,GAAf,UAAgB,MAAW;QACzB,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC3B,CAAC;IAES,4CAAM,GAAhB,UAAiB,GAAQ;QACvB,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;IAES,+CAAS,GAAnB;QACE,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC3B,CAAC;IAEO,uDAAiB,GAAzB;QACE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;YAC3B,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAC7B,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;IACH,kCAAC;AAAD,CAAC,AA3BD,CAA6C,uBAAU,GA2BtD"}

6
node_modules/rxjs/operator/dematerialize.d.ts generated vendored Normal file
View File

@ -0,0 +1,6 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that transforms Notification objects into the items or notifications they represent.
* @returns {Observable} an Observable that emits items and notifications embedded in Notification objects emitted by the source Observable.
*/
export declare function dematerialize<T>(): Observable<any>;

34
node_modules/rxjs/operator/dematerialize.js generated vendored Normal file
View File

@ -0,0 +1,34 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/**
* Returns an Observable that transforms Notification objects into the items or notifications they represent.
* @returns {Observable} an Observable that emits items and notifications embedded in Notification objects emitted by the source Observable.
*/
function dematerialize() {
return this.lift(new DeMaterializeOperator());
}
exports.dematerialize = dematerialize;
var DeMaterializeOperator = (function () {
function DeMaterializeOperator() {
}
DeMaterializeOperator.prototype.call = function (subscriber) {
return new DeMaterializeSubscriber(subscriber);
};
return DeMaterializeOperator;
}());
var DeMaterializeSubscriber = (function (_super) {
__extends(DeMaterializeSubscriber, _super);
function DeMaterializeSubscriber(destination) {
_super.call(this, destination);
}
DeMaterializeSubscriber.prototype._next = function (value) {
value.observe(this.destination);
};
return DeMaterializeSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=dematerialize.js.map

1
node_modules/rxjs/operator/dematerialize.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"dematerialize.js","sourceRoot":"","sources":["../../../src/operator/dematerialize.ts"],"names":[],"mappings":";;;;;;AAEA,2BAAyB,eAAe,CAAC,CAAA;AAGzC;;;GAGG;AACH;IACE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,qBAAqB,EAAE,CAAC,CAAC;AAChD,CAAC;AAFe,qBAAa,gBAE5B,CAAA;AAED;IAAA;IAIA,CAAC;IAHC,oCAAI,GAAJ,UAAK,UAA2B;QAC9B,MAAM,CAAC,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IACH,4BAAC;AAAD,CAAC,AAJD,IAIC;AAED;IAAmE,2CAAa;IAC9E,iCAAY,WAA4B;QACtC,kBAAM,WAAW,CAAC,CAAC;IACrB,CAAC;IAES,uCAAK,GAAf,UAAgB,KAAQ;QACtB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClC,CAAC;IACH,8BAAC;AAAD,CAAC,AARD,CAAmE,uBAAU,GAQ5E"}

23
node_modules/rxjs/operator/distinct.d.ts generated vendored Normal file
View File

@ -0,0 +1,23 @@
import { Observable } from '../Observable';
import { Subscriber } from '../Subscriber';
import { OuterSubscriber } from '../OuterSubscriber';
import { InnerSubscriber } from '../InnerSubscriber';
/**
* Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items.
* If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted.
* If a comparator function is not provided, an equality check is used by default.
* As the internal HashSet of this operator grows larger and larger, care should be taken in the domain of inputs this operator may see.
* An optional paramter is also provided such that an Observable can be provided to queue the internal HashSet to flush the values it holds.
* @param {function} [compare] optional comparison function called to test if an item is distinct from previous items in the source.
* @param {Observable} [flushes] optional Observable for flushing the internal HashSet of the operator.
* @returns {Observable} an Observable that emits items from the source Observable with distinct values.
*/
export declare function distinct<T>(compare?: (x: T, y: T) => boolean, flushes?: Observable<any>): Observable<T>;
export declare class DistinctSubscriber<T, R> extends OuterSubscriber<T, R> {
private values;
constructor(destination: Subscriber<T>, compare: (x: T, y: T) => boolean, flushes: Observable<any>);
notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber<T, R>): void;
notifyError(error: any, innerSub: InnerSubscriber<T, R>): void;
protected _next(value: T): void;
private compare(x, y);
}

76
node_modules/rxjs/operator/distinct.js generated vendored Normal file
View File

@ -0,0 +1,76 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items.
* If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted.
* If a comparator function is not provided, an equality check is used by default.
* As the internal HashSet of this operator grows larger and larger, care should be taken in the domain of inputs this operator may see.
* An optional paramter is also provided such that an Observable can be provided to queue the internal HashSet to flush the values it holds.
* @param {function} [compare] optional comparison function called to test if an item is distinct from previous items in the source.
* @param {Observable} [flushes] optional Observable for flushing the internal HashSet of the operator.
* @returns {Observable} an Observable that emits items from the source Observable with distinct values.
*/
function distinct(compare, flushes) {
return this.lift(new DistinctOperator(compare, flushes));
}
exports.distinct = distinct;
var DistinctOperator = (function () {
function DistinctOperator(compare, flushes) {
this.compare = compare;
this.flushes = flushes;
}
DistinctOperator.prototype.call = function (subscriber) {
return new DistinctSubscriber(subscriber, this.compare, this.flushes);
};
return DistinctOperator;
}());
var DistinctSubscriber = (function (_super) {
__extends(DistinctSubscriber, _super);
function DistinctSubscriber(destination, compare, flushes) {
_super.call(this, destination);
this.values = [];
if (typeof compare === 'function') {
this.compare = compare;
}
if (flushes) {
this.add(subscribeToResult_1.subscribeToResult(this, flushes));
}
}
DistinctSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
this.values.length = 0;
};
DistinctSubscriber.prototype.notifyError = function (error, innerSub) {
this._error(error);
};
DistinctSubscriber.prototype._next = function (value) {
var found = false;
var values = this.values;
var len = values.length;
try {
for (var i = 0; i < len; i++) {
if (this.compare(values[i], value)) {
found = true;
return;
}
}
}
catch (err) {
this.destination.error(err);
return;
}
this.values.push(value);
this.destination.next(value);
};
DistinctSubscriber.prototype.compare = function (x, y) {
return x === y;
};
return DistinctSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
exports.DistinctSubscriber = DistinctSubscriber;
//# sourceMappingURL=distinct.js.map

1
node_modules/rxjs/operator/distinct.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"distinct.js","sourceRoot":"","sources":["../../../src/operator/distinct.ts"],"names":[],"mappings":";;;;;;AAIA,gCAA8B,oBAAoB,CAAC,CAAA;AAEnD,kCAAgC,2BAA2B,CAAC,CAAA;AAE5D;;;;;;;;;GASG;AACH,kBAA4B,OAAiC,EAAE,OAAyB;IACtF,MAAM,CAAC,I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AAM,CAAC;QAC1B,IAAI,CAAC;YACH,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC7B,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;oBACnC,KAAK,GAAG,IAAI,CAAC;oBACb,MAAM,CAAC;gBACT,CAAC;YACH,CAAC;QACH,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEO,oCAAO,GAAf,UAAgB,CAAI,EAAE,CAAI;QACxB,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IACH,yBAAC;AAAD,CAAC,AA9CD,CAA8C,iCAAe,GA8C5D;AA9CY,0BAAkB,qBA8C9B,CAAA"}

14
node_modules/rxjs/operator/distinctKey.d.ts generated vendored Normal file
View File

@ -0,0 +1,14 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items,
* using a property accessed by using the key provided to check if the two items are distinct.
* If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted.
* If a comparator function is not provided, an equality check is used by default.
* As the internal HashSet of this operator grows larger and larger, care should be taken in the domain of inputs this operator may see.
* An optional paramter is also provided such that an Observable can be provided to queue the internal HashSet to flush the values it holds.
* @param {string} key string key for object property lookup on each item.
* @param {function} [compare] optional comparison function called to test if an item is distinct from previous items in the source.
* @param {Observable} [flushes] optional Observable for flushing the internal HashSet of the operator.
* @returns {Observable} an Observable that emits items from the source Observable with distinct values.
*/
export declare function distinctKey<T>(key: string, compare?: (x: T, y: T) => boolean, flushes?: Observable<any>): Observable<T>;

24
node_modules/rxjs/operator/distinctKey.js generated vendored Normal file
View File

@ -0,0 +1,24 @@
"use strict";
var distinct_1 = require('./distinct');
/**
* Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items,
* using a property accessed by using the key provided to check if the two items are distinct.
* If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted.
* If a comparator function is not provided, an equality check is used by default.
* As the internal HashSet of this operator grows larger and larger, care should be taken in the domain of inputs this operator may see.
* An optional paramter is also provided such that an Observable can be provided to queue the internal HashSet to flush the values it holds.
* @param {string} key string key for object property lookup on each item.
* @param {function} [compare] optional comparison function called to test if an item is distinct from previous items in the source.
* @param {Observable} [flushes] optional Observable for flushing the internal HashSet of the operator.
* @returns {Observable} an Observable that emits items from the source Observable with distinct values.
*/
function distinctKey(key, compare, flushes) {
return distinct_1.distinct.call(this, function (x, y) {
if (compare) {
return compare(x[key], y[key]);
}
return x[key] === y[key];
}, flushes);
}
exports.distinctKey = distinctKey;
//# sourceMappingURL=distinctKey.js.map

1
node_modules/rxjs/operator/distinctKey.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"distinctKey.js","sourceRoot":"","sources":["../../../src/operator/distinctKey.ts"],"names":[],"mappings":";AAAA,yBAAuB,YAAY,CAAC,CAAA;AAGpC;;;;;;;;;;;GAWG;AACH,qBAA+B,GAAW,EAAE,OAAiC,EAAE,OAAyB;IACtG,MAAM,CAAC,mBAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,UAAS,CAAI,EAAE,CAAI;QAC5C,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACZ,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACjC,CAAC;QACD,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC,EAAE,OAAO,CAAC,CAAC;AACd,CAAC;AAPe,mBAAW,cAO1B,CAAA"}

10
node_modules/rxjs/operator/distinctUntilChanged.d.ts generated vendored Normal file
View File

@ -0,0 +1,10 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item.
* If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted.
* If a comparator function is not provided, an equality check is used by default.
* @param {function} [compare] optional comparison function called to test if an item is distinct from the previous item in the source.
* @returns {Observable} an Observable that emits items from the source Observable with distinct values.
*/
export declare function distinctUntilChanged<T>(compare?: (x: T, y: T) => boolean): Observable<T>;
export declare function distinctUntilChanged<T, K>(compare: (x: K, y: K) => boolean, keySelector?: (x: T) => K): Observable<T>;

63
node_modules/rxjs/operator/distinctUntilChanged.js generated vendored Normal file
View File

@ -0,0 +1,63 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var tryCatch_1 = require('../util/tryCatch');
var errorObject_1 = require('../util/errorObject');
function distinctUntilChanged(compare, keySelector) {
return this.lift(new DistinctUntilChangedOperator(compare, keySelector));
}
exports.distinctUntilChanged = distinctUntilChanged;
var DistinctUntilChangedOperator = (function () {
function DistinctUntilChangedOperator(compare, keySelector) {
this.compare = compare;
this.keySelector = keySelector;
}
DistinctUntilChangedOperator.prototype.call = function (subscriber) {
return new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector);
};
return DistinctUntilChangedOperator;
}());
var DistinctUntilChangedSubscriber = (function (_super) {
__extends(DistinctUntilChangedSubscriber, _super);
function DistinctUntilChangedSubscriber(destination, compare, keySelector) {
_super.call(this, destination);
this.keySelector = keySelector;
this.hasKey = false;
if (typeof compare === 'function') {
this.compare = compare;
}
}
DistinctUntilChangedSubscriber.prototype.compare = function (x, y) {
return x === y;
};
DistinctUntilChangedSubscriber.prototype._next = function (value) {
var keySelector = this.keySelector;
var key = value;
if (keySelector) {
key = tryCatch_1.tryCatch(this.keySelector)(value);
if (key === errorObject_1.errorObject) {
return this.destination.error(errorObject_1.errorObject.e);
}
}
var result = false;
if (this.hasKey) {
result = tryCatch_1.tryCatch(this.compare)(this.key, key);
if (result === errorObject_1.errorObject) {
return this.destination.error(errorObject_1.errorObject.e);
}
}
else {
this.hasKey = true;
}
if (Boolean(result) === false) {
this.key = key;
this.destination.next(value);
}
};
return DistinctUntilChangedSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=distinctUntilChanged.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"distinctUntilChanged.js","sourceRoot":"","sources":["../../../src/operator/distinctUntilChanged.ts"],"names":[],"mappings":";;;;;;AACA,2BAAyB,eAAe,CAAC,CAAA;AACzC,yBAAuB,kBAAkB,CAAC,CAAA;AAC1C,4BAA0B,qBAAqB,CAAC,CAAA;AAYhD,8BAA2C,OAAgC,EAAE,WAAyB;IACpG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,4BAA4B,CAAO,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC;AACjF,CAAC;AAFe,4BAAoB,uBAEnC,CAAA;AAED;IACE,sCAAoB,OAAgC,EAChC,WAAwB;QADxB,YAAO,GAAP,OAAO,CAAyB;QAChC,gBAAW,GAAX,WAAW,CAAa;IAC5C,CAAC;IAED,2CAAI,GAAJ,UAAK,UAAyB;QAC5B,MAAM,CAAC,IAAI,8BAA8B,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IACxF,CAAC;IACH,mCAAC;AAAD,CAAC,AARD,IAQC;AAED;IAAmD,kDAAa;IAI9D,wCAAY,WAA0B,EAC1B,OAAgC,EACxB,WAAwB;QAC1C,kBAAM,WAAW,CAA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,CAAC,CAAC,CAAC;YAC9B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;YACf,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;IACH,qCAAC;AAAD,CAAC,AA7CD,CAAmD,uBAAU,GA6C5D"}

View File

@ -0,0 +1,11 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item,
* using a property accessed by using the key provided to check if the two items are distinct.
* If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted.
* If a comparator function is not provided, an equality check is used by default.
* @param {string} key string key for object property lookup on each item.
* @param {function} [compare] optional comparison function called to test if an item is distinct from the previous item in the source.
* @returns {Observable} an Observable that emits items from the source Observable with distinct values based on the key specified.
*/
export declare function distinctUntilKeyChanged<T>(key: string, compare?: (x: T, y: T) => boolean): Observable<T>;

21
node_modules/rxjs/operator/distinctUntilKeyChanged.js generated vendored Normal file
View File

@ -0,0 +1,21 @@
"use strict";
var distinctUntilChanged_1 = require('./distinctUntilChanged');
/**
* Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item,
* using a property accessed by using the key provided to check if the two items are distinct.
* If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted.
* If a comparator function is not provided, an equality check is used by default.
* @param {string} key string key for object property lookup on each item.
* @param {function} [compare] optional comparison function called to test if an item is distinct from the previous item in the source.
* @returns {Observable} an Observable that emits items from the source Observable with distinct values based on the key specified.
*/
function distinctUntilKeyChanged(key, compare) {
return distinctUntilChanged_1.distinctUntilChanged.call(this, function (x, y) {
if (compare) {
return compare(x[key], y[key]);
}
return x[key] === y[key];
});
}
exports.distinctUntilKeyChanged = distinctUntilKeyChanged;
//# sourceMappingURL=distinctUntilKeyChanged.js.map

View File

@ -0,0 +1 @@
{"version":3,"file":"distinctUntilKeyChanged.js","sourceRoot":"","sources":["../../../src/operator/distinctUntilKeyChanged.ts"],"names":[],"mappings":";AAAA,qCAAmC,wBAAwB,CAAC,CAAA;AAG5D;;;;;;;;GAQG;AACH,iCAA2C,GAAW,EAAE,OAAiC;IACvF,MAAM,CAAC,2CAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,UAAS,CAAI,EAAE,CAAI;QACxD,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACZ,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACjC,CAAC;QACD,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;AACL,CAAC;AAPe,+BAAuB,0BAOtC,CAAA"}

12
node_modules/rxjs/operator/do.d.ts generated vendored Normal file
View File

@ -0,0 +1,12 @@
import { Observer } from '../Observer';
import { Observable } from '../Observable';
/**
* Returns a mirrored Observable of the source Observable, but modified so that the provided Observer is called
* for every item emitted by the source.
* This operator is useful for debugging your observables for the correct values or performing other side effects.
* @param {Observer|function} [nextOrObserver] a normal observer callback or callback for onNext.
* @param {function} [error] callback for errors in the source.
* @param {function} [complete] callback for the completion of the source.
* @reurns {Observable} a mirrored Observable with the specified Observer or callback attached for each item.
*/
export declare function _do<T>(nextOrObserver?: Observer<T> | ((x: T) => void), error?: (e: any) => void, complete?: () => void): Observable<T>;

84
node_modules/rxjs/operator/do.js generated vendored Normal file
View File

@ -0,0 +1,84 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var noop_1 = require('../util/noop');
/**
* Returns a mirrored Observable of the source Observable, but modified so that the provided Observer is called
* for every item emitted by the source.
* This operator is useful for debugging your observables for the correct values or performing other side effects.
* @param {Observer|function} [nextOrObserver] a normal observer callback or callback for onNext.
* @param {function} [error] callback for errors in the source.
* @param {function} [complete] callback for the completion of the source.
* @reurns {Observable} a mirrored Observable with the specified Observer or callback attached for each item.
*/
function _do(nextOrObserver, error, complete) {
var next;
if (nextOrObserver && typeof nextOrObserver === 'object') {
next = nextOrObserver.next;
error = nextOrObserver.error;
complete = nextOrObserver.complete;
}
else {
next = nextOrObserver;
}
return this.lift(new DoOperator(next || noop_1.noop, error || noop_1.noop, complete || noop_1.noop));
}
exports._do = _do;
var DoOperator = (function () {
function DoOperator(next, error, complete) {
this.next = next;
this.error = error;
this.complete = complete;
}
DoOperator.prototype.call = function (subscriber) {
return new DoSubscriber(subscriber, this.next, this.error, this.complete);
};
return DoOperator;
}());
var DoSubscriber = (function (_super) {
__extends(DoSubscriber, _super);
function DoSubscriber(destination, next, error, complete) {
_super.call(this, destination);
this.__next = next;
this.__error = error;
this.__complete = complete;
}
// NOTE: important, all try catch blocks below are there for performance
// reasons. tryCatcher approach does not benefit this operator.
DoSubscriber.prototype._next = function (value) {
try {
this.__next(value);
}
catch (err) {
this.destination.error(err);
return;
}
this.destination.next(value);
};
DoSubscriber.prototype._error = function (err) {
try {
this.__error(err);
}
catch (err) {
this.destination.error(err);
return;
}
this.destination.error(err);
};
DoSubscriber.prototype._complete = function () {
try {
this.__complete();
}
catch (err) {
this.destination.error(err);
return;
}
this.destination.complete();
};
return DoSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=do.js.map

1
node_modules/rxjs/operator/do.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"do.js","sourceRoot":"","sources":["../../../src/operator/do.ts"],"names":[],"mappings":";;;;;;AAEA,2BAAyB,eAAe,CAAC,CAAA;AAEzC,qBAAmB,cAAc,CAAC,CAAA;AAGlC;;;;;;;;GAQG;AACH,aAAuB,cAA+C,EAAE,KAAwB,EAAE,QAAqB;IACrH,IAAI,IAAoB,CAAC;IACzB,EAAE,CAAC,CAAC,cAAc,IAAI,OAAO,cAAc,KAAK,QAAQ,CA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AG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAES,6BAAM,GAAhB,UAAiB,GAAQ;QACvB,IAAI,CAAC;YACH,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACpB,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAES,gCAAS,GAAnB;QACE,IAAI,CAAC;YACH,IAAI,CAAC,UAAU,EAAE,CAAC;QACpB,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QACD,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IACH,mBAAC;AAAD,CAAC,AA5CD,CAA8B,uBAAU,GA4CvC"}

9
node_modules/rxjs/operator/elementAt.d.ts generated vendored Normal file
View File

@ -0,0 +1,9 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that emits the item at the specified index in the source Observable.
* If default is given, missing indices will output this value on next; otherwise, outputs error.
* @param {number} index the index of the value to be retrieved.
* @param {any} [defaultValue] the default value returned for missing indices.
* @returns {Observable} an Observable that emits a single item, if it is found. Otherwise, will emit the default value if given.
*/
export declare function elementAt<T>(index: number, defaultValue?: T): Observable<T>;

60
node_modules/rxjs/operator/elementAt.js generated vendored Normal file
View File

@ -0,0 +1,60 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var ArgumentOutOfRangeError_1 = require('../util/ArgumentOutOfRangeError');
/**
* Returns an Observable that emits the item at the specified index in the source Observable.
* If default is given, missing indices will output this value on next; otherwise, outputs error.
* @param {number} index the index of the value to be retrieved.
* @param {any} [defaultValue] the default value returned for missing indices.
* @returns {Observable} an Observable that emits a single item, if it is found. Otherwise, will emit the default value if given.
*/
function elementAt(index, defaultValue) {
return this.lift(new ElementAtOperator(index, defaultValue));
}
exports.elementAt = elementAt;
var ElementAtOperator = (function () {
function ElementAtOperator(index, defaultValue) {
this.index = index;
this.defaultValue = defaultValue;
if (index < 0) {
throw new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError;
}
}
ElementAtOperator.prototype.call = function (subscriber) {
return new ElementAtSubscriber(subscriber, this.index, this.defaultValue);
};
return ElementAtOperator;
}());
var ElementAtSubscriber = (function (_super) {
__extends(ElementAtSubscriber, _super);
function ElementAtSubscriber(destination, index, defaultValue) {
_super.call(this, destination);
this.index = index;
this.defaultValue = defaultValue;
}
ElementAtSubscriber.prototype._next = function (x) {
if (this.index-- === 0) {
this.destination.next(x);
this.destination.complete();
}
};
ElementAtSubscriber.prototype._complete = function () {
var destination = this.destination;
if (this.index >= 0) {
if (typeof this.defaultValue !== 'undefined') {
destination.next(this.defaultValue);
}
else {
destination.error(new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError);
}
}
destination.complete();
};
return ElementAtSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=elementAt.js.map

1
node_modules/rxjs/operator/elementAt.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"elementAt.js","sourceRoot":"","sources":["../../../src/operator/elementAt.ts"],"names":[],"mappings":";;;;;;AACA,2BAAyB,eAAe,CAAC,CAAA;AACzC,wCAAsC,iCAAiC,CAAC,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AAC;gBAC7C,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACtC,CAAC;YAAC,IAAI,CAAC,CAAC;gBACN,WAAW,CAAC,KAAK,CAAC,IAAI,iDAAuB,CAAC,CAAC;YACjD,CAAC;QACH,CAAC;QACD,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IACH,0BAAC;AAAD,CAAC,AAxBD,CAAqC,uBAAU,GAwB9C"}

8
node_modules/rxjs/operator/every.d.ts generated vendored Normal file
View File

@ -0,0 +1,8 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that emits whether or not every item of the source satisfies the condition specified.
* @param {function} predicate a function for determining if an item meets a specified condition.
* @param {any} [thisArg] optional object to use for `this` in the callback
* @returns {Observable} an Observable of booleans that determines if all items of the source Observable meet the condition specified.
*/
export declare function every<T>(predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): Observable<boolean>;

62
node_modules/rxjs/operator/every.js generated vendored Normal file
View File

@ -0,0 +1,62 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/**
* Returns an Observable that emits whether or not every item of the source satisfies the condition specified.
* @param {function} predicate a function for determining if an item meets a specified condition.
* @param {any} [thisArg] optional object to use for `this` in the callback
* @returns {Observable} an Observable of booleans that determines if all items of the source Observable meet the condition specified.
*/
function every(predicate, thisArg) {
var source = this;
return source.lift(new EveryOperator(predicate, thisArg, source));
}
exports.every = every;
var EveryOperator = (function () {
function EveryOperator(predicate, thisArg, source) {
this.predicate = predicate;
this.thisArg = thisArg;
this.source = source;
}
EveryOperator.prototype.call = function (observer) {
return new EverySubscriber(observer, this.predicate, this.thisArg, this.source);
};
return EveryOperator;
}());
var EverySubscriber = (function (_super) {
__extends(EverySubscriber, _super);
function EverySubscriber(destination, predicate, thisArg, source) {
_super.call(this, destination);
this.predicate = predicate;
this.thisArg = thisArg;
this.source = source;
this.index = 0;
this.thisArg = thisArg || this;
}
EverySubscriber.prototype.notifyComplete = function (everyValueMatch) {
this.destination.next(everyValueMatch);
this.destination.complete();
};
EverySubscriber.prototype._next = function (value) {
var result = false;
try {
result = this.predicate.call(this.thisArg, value, this.index++, this.source);
}
catch (err) {
this.destination.error(err);
return;
}
if (!result) {
this.notifyComplete(false);
}
};
EverySubscriber.prototype._complete = function () {
this.notifyComplete(true);
};
return EverySubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=every.js.map

1
node_modules/rxjs/operator/every.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"every.js","sourceRoot":"","sources":["../../../src/operator/every.ts"],"names":[],"mappings":";;;;;;AAGA,2BAAyB,eAAe,CAAC,CAAA;AAEzC;;;;;GAKG;AACH,eAAyB,SAAsE,EACtE,OAAa;IACpC,IAAM,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AACpE,CAAC;AAJe,aAAK,QAIpB,CAAA;AAED;IACE,uBAAoB,SAAsE,EACtE,OAAa,EACb,MAAsB;QAFtB,cAAS,GAAT,SAAS,CAA6D;QACtE,YAAO,GAAP,OAAO,CAAM;QACb,WAAM,GAAN,MAAM,CAAgB;IAC1C,CAAC;IAED,4BAAI,GAAJ,UAAK,QAA6B;QAChC,MAAM,CAAC,IAAI,eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAClF,CAAC;IACH,oBAAC;AAAD,CAAC,AATD,IASC;AAED;IAAoC,mCAAa;IAG/C,yBAAY,WAAwB,EAChB,SAAsE,EACtE,OAAY,EACZ,MAAsB;QACxC,kBAAM,WAAW,CAAC,CAAC;QAHD,cAAS,GAAT,SAAS,CAA6D;QACtE,YAAO,GAAP,OAAO,CAAK;QACZ,WAAM,GAAN,MAAM,CAAgB;QALlC,UAAK,GAAW,CAAC,CAAC;QAOxB,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,IAAI,CAAC;IACjC,CAAC;IAEO,wCAAc,GAAtB,UAAuB,eAAwB;QAC7C,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACvC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;IAC9B,CAAC;IAES,+BAAK,GAAf,UAAgB,KAAQ;QACtB,IAAI,MAAM,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC;YACH,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/E,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,CAAC;QACT,CAAC;QAED,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACZ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IAES,mCAAS,GAAnB;QACE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACH,sBAAC;AAAD,CAAC,AAjCD,CAAoC,uBAAU,GAiC7C"}

9
node_modules/rxjs/operator/exhaust.d.ts generated vendored Normal file
View File

@ -0,0 +1,9 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that takes a source of observables and propagates the first observable exclusively
* until it completes before subscribing to the next.
* Items that come in before the first has exhausted will be dropped.
* Similar to `concatAll`, but will not hold on to items that come in before the first is exhausted.
* @returns {Observable} an Observable which contains all of the items of the first Observable and following Observables in the source.
*/
export declare function exhaust<T>(): Observable<T>;

56
node_modules/rxjs/operator/exhaust.js generated vendored Normal file
View File

@ -0,0 +1,56 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Returns an Observable that takes a source of observables and propagates the first observable exclusively
* until it completes before subscribing to the next.
* Items that come in before the first has exhausted will be dropped.
* Similar to `concatAll`, but will not hold on to items that come in before the first is exhausted.
* @returns {Observable} an Observable which contains all of the items of the first Observable and following Observables in the source.
*/
function exhaust() {
return this.lift(new SwitchFirstOperator());
}
exports.exhaust = exhaust;
var SwitchFirstOperator = (function () {
function SwitchFirstOperator() {
}
SwitchFirstOperator.prototype.call = function (subscriber) {
return new SwitchFirstSubscriber(subscriber);
};
return SwitchFirstOperator;
}());
var SwitchFirstSubscriber = (function (_super) {
__extends(SwitchFirstSubscriber, _super);
function SwitchFirstSubscriber(destination) {
_super.call(this, destination);
this.hasCompleted = false;
this.hasSubscription = false;
}
SwitchFirstSubscriber.prototype._next = function (value) {
if (!this.hasSubscription) {
this.hasSubscription = true;
this.add(subscribeToResult_1.subscribeToResult(this, value));
}
};
SwitchFirstSubscriber.prototype._complete = function () {
this.hasCompleted = true;
if (!this.hasSubscription) {
this.destination.complete();
}
};
SwitchFirstSubscriber.prototype.notifyComplete = function (innerSub) {
this.remove(innerSub);
this.hasSubscription = false;
if (this.hasCompleted) {
this.destination.complete();
}
};
return SwitchFirstSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
//# sourceMappingURL=exhaust.js.map

1
node_modules/rxjs/operator/exhaust.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"exhaust.js","sourceRoot":"","sources":["../../../src/operator/exhaust.ts"],"names":[],"mapp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AC;IACH,4BAAC;AAAD,CAAC,AA7BD,CAAuC,iCAAe,GA6BrD"}

9
node_modules/rxjs/operator/exhaustMap.d.ts generated vendored Normal file
View File

@ -0,0 +1,9 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that applies the given function to each item of the source Observable
* to create a new Observable, which are then concatenated together to produce a new Observable.
* @param {function} project function called for each item of the source to produce a new Observable.
* @param {function} [resultSelector] optional function for then selecting on each inner Observable.
* @returns {Observable} an Observable containing all the projected Observables of each item of the source concatenated together.
*/
export declare function exhaustMap<T, R, R2>(project: (value: T, index: number) => Observable<R>, resultSelector?: (outerValue: T, innerValue: R, outerIndex: number, innerIndex: number) => R2): Observable<R2>;

93
node_modules/rxjs/operator/exhaustMap.js generated vendored Normal file
View File

@ -0,0 +1,93 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Returns an Observable that applies the given function to each item of the source Observable
* to create a new Observable, which are then concatenated together to produce a new Observable.
* @param {function} project function called for each item of the source to produce a new Observable.
* @param {function} [resultSelector] optional function for then selecting on each inner Observable.
* @returns {Observable} an Observable containing all the projected Observables of each item of the source concatenated together.
*/
function exhaustMap(project, resultSelector) {
return this.lift(new SwitchFirstMapOperator(project, resultSelector));
}
exports.exhaustMap = exhaustMap;
var SwitchFirstMapOperator = (function () {
function SwitchFirstMapOperator(project, resultSelector) {
this.project = project;
this.resultSelector = resultSelector;
}
SwitchFirstMapOperator.prototype.call = function (subscriber) {
return new SwitchFirstMapSubscriber(subscriber, this.project, this.resultSelector);
};
return SwitchFirstMapOperator;
}());
var SwitchFirstMapSubscriber = (function (_super) {
__extends(SwitchFirstMapSubscriber, _super);
function SwitchFirstMapSubscriber(destination, project, resultSelector) {
_super.call(this, destination);
this.project = project;
this.resultSelector = resultSelector;
this.hasSubscription = false;
this.hasCompleted = false;
this.index = 0;
}
SwitchFirstMapSubscriber.prototype._next = function (value) {
if (!this.hasSubscription) {
this.tryNext(value);
}
};
SwitchFirstMapSubscriber.prototype.tryNext = function (value) {
var index = this.index++;
var destination = this.destination;
try {
var result = this.project(value, index);
this.hasSubscription = true;
this.add(subscribeToResult_1.subscribeToResult(this, result, value, index));
}
catch (err) {
destination.error(err);
}
};
SwitchFirstMapSubscriber.prototype._complete = function () {
this.hasCompleted = true;
if (!this.hasSubscription) {
this.destination.complete();
}
};
SwitchFirstMapSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
var _a = this, resultSelector = _a.resultSelector, destination = _a.destination;
if (resultSelector) {
this.trySelectResult(outerValue, innerValue, outerIndex, innerIndex);
}
else {
destination.next(innerValue);
}
};
SwitchFirstMapSubscriber.prototype.trySelectResult = function (outerValue, innerValue, outerIndex, innerIndex) {
var _a = this, resultSelector = _a.resultSelector, destination = _a.destination;
try {
var result = resultSelector(outerValue, innerValue, outerIndex, innerIndex);
destination.next(result);
}
catch (err) {
destination.error(err);
}
};
SwitchFirstMapSubscriber.prototype.notifyError = function (err) {
this.destination.error(err);
};
SwitchFirstMapSubscriber.prototype.notifyComplete = function () {
this.hasSubscription = false;
if (this.hasCompleted) {
this.destination.complete();
}
};
return SwitchFirstMapSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
//# sourceMappingURL=exhaustMap.js.map

1
node_modules/rxjs/operator/exhaustMap.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"exhaustMap.js","sourceRoot":"","sources":["../../../src/operator/exhaustMap.ts"],"names":[],"mappings":";;;;;;AAGA,gCAA8B,oBAAoB,CAAC,CAAA;AAEnD,kCAAgC,2BAA2B,CAAC,CAAA;AAE5D;;;;;;GAMG;AACH,oBAAqC,OAAmD,EACnD,cAIgC;IACnE,MAAM,CAAC,IAAI,CAAC,IAAI,CAA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Ad;QACE,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;YACtB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IACH,+BAAC;AAAD,CAAC,AApED,CAAiD,iCAAe,GAoE/D"}

39
node_modules/rxjs/operator/expand.d.ts generated vendored Normal file
View File

@ -0,0 +1,39 @@
import { Observable } from '../Observable';
import { Scheduler } from '../Scheduler';
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { Subscription } from '../Subscription';
import { OuterSubscriber } from '../OuterSubscriber';
import { InnerSubscriber } from '../InnerSubscriber';
/**
* Returns an Observable where for each item in the source Observable, the supplied function is applied to each item,
* resulting in a new value to then be applied again with the function.
* @param {function} project the function for projecting the next emitted item of the Observable.
* @param {number} [concurrent] the max number of observables that can be created concurrently. defaults to infinity.
* @param {Scheduler} [scheduler] The Scheduler to use for managing the expansions.
* @returns {Observable} an Observable containing the expansions of the source Observable.
*/
export declare function expand<T, R>(project: (value: T, index: number) => Observable<R>, concurrent?: number, scheduler?: Scheduler): Observable<R>;
export declare class ExpandOperator<T, R> implements Operator<T, R> {
private project;
private concurrent;
private scheduler;
constructor(project: (value: T, index: number) => Observable<R>, concurrent: number, scheduler: Scheduler);
call(subscriber: Subscriber<R>): Subscriber<T>;
}
export declare class ExpandSubscriber<T, R> extends OuterSubscriber<T, R> {
private project;
private concurrent;
private scheduler;
private index;
private active;
private hasCompleted;
private buffer;
constructor(destination: Subscriber<R>, project: (value: T, index: number) => Observable<R>, concurrent: number, scheduler: Scheduler);
private static dispatch({subscriber, result, value, index});
protected _next(value: any): void;
private subscribeToProjection(result, value, index);
protected _complete(): void;
notifyNext(outerValue: T, innerValue: R, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber<T, R>): void;
notifyComplete(innerSub: Subscription): void;
}

108
node_modules/rxjs/operator/expand.js generated vendored Normal file
View File

@ -0,0 +1,108 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var tryCatch_1 = require('../util/tryCatch');
var errorObject_1 = require('../util/errorObject');
var OuterSubscriber_1 = require('../OuterSubscriber');
var subscribeToResult_1 = require('../util/subscribeToResult');
/**
* Returns an Observable where for each item in the source Observable, the supplied function is applied to each item,
* resulting in a new value to then be applied again with the function.
* @param {function} project the function for projecting the next emitted item of the Observable.
* @param {number} [concurrent] the max number of observables that can be created concurrently. defaults to infinity.
* @param {Scheduler} [scheduler] The Scheduler to use for managing the expansions.
* @returns {Observable} an Observable containing the expansions of the source Observable.
*/
function expand(project, concurrent, scheduler) {
if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }
if (scheduler === void 0) { scheduler = undefined; }
concurrent = (concurrent || 0) < 1 ? Number.POSITIVE_INFINITY : concurrent;
return this.lift(new ExpandOperator(project, concurrent, scheduler));
}
exports.expand = expand;
var ExpandOperator = (function () {
function ExpandOperator(project, concurrent, scheduler) {
this.project = project;
this.concurrent = concurrent;
this.scheduler = scheduler;
}
ExpandOperator.prototype.call = function (subscriber) {
return new ExpandSubscriber(subscriber, this.project, this.concurrent, this.scheduler);
};
return ExpandOperator;
}());
exports.ExpandOperator = ExpandOperator;
var ExpandSubscriber = (function (_super) {
__extends(ExpandSubscriber, _super);
function ExpandSubscriber(destination, project, concurrent, scheduler) {
_super.call(this, destination);
this.project = project;
this.concurrent = concurrent;
this.scheduler = scheduler;
this.index = 0;
this.active = 0;
this.hasCompleted = false;
if (concurrent < Number.POSITIVE_INFINITY) {
this.buffer = [];
}
}
ExpandSubscriber.dispatch = function (_a) {
var subscriber = _a.subscriber, result = _a.result, value = _a.value, index = _a.index;
subscriber.subscribeToProjection(result, value, index);
};
ExpandSubscriber.prototype._next = function (value) {
var destination = this.destination;
if (destination.isUnsubscribed) {
this._complete();
return;
}
var index = this.index++;
if (this.active < this.concurrent) {
destination.next(value);
var result = tryCatch_1.tryCatch(this.project)(value, index);
if (result === errorObject_1.errorObject) {
destination.error(errorObject_1.errorObject.e);
}
else if (!this.scheduler) {
this.subscribeToProjection(result, value, index);
}
else {
var state = { subscriber: this, result: result, value: value, index: index };
this.add(this.scheduler.schedule(ExpandSubscriber.dispatch, 0, state));
}
}
else {
this.buffer.push(value);
}
};
ExpandSubscriber.prototype.subscribeToProjection = function (result, value, index) {
this.active++;
this.add(subscribeToResult_1.subscribeToResult(this, result, value, index));
};
ExpandSubscriber.prototype._complete = function () {
this.hasCompleted = true;
if (this.hasCompleted && this.active === 0) {
this.destination.complete();
}
};
ExpandSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {
this._next(innerValue);
};
ExpandSubscriber.prototype.notifyComplete = function (innerSub) {
var buffer = this.buffer;
this.remove(innerSub);
this.active--;
if (buffer && buffer.length > 0) {
this._next(buffer.shift());
}
if (this.hasCompleted && this.active === 0) {
this.destination.complete();
}
};
return ExpandSubscriber;
}(OuterSubscriber_1.OuterSubscriber));
exports.ExpandSubscriber = ExpandSubscriber;
//# sourceMappingURL=expand.js.map

1
node_modules/rxjs/operator/expand.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"expand.js","sourceRoot":"","sources":["../../../src/operator/expand.ts"],"names":[],"mappings":";;;;;;AAIA,yBAAuB,kBAAkB,CAAC,CAAA;AAC1C,4BAA0B,qBAAqB,CAAC,CAAA;AAEhD,gCAA8B,oBAAoB,CAAC,CAAA;AAEnD,kCAAgC,2BAA2B,CAAC,CAAA;AAE5D;;;;;;;GAOG;AACH,gBAA6B,OAAmD,EACnD,UAA6C,EAC7C,SAAgC;IADhC,0BAA6C,GAA7C,aAAqB,MAAM,CAAC,iBAAiB;IAC7C,yBAAgC,GAAhC,qBAAgC;IAC3D,UAAU,GAAG,CAAC,UAAU,IAAI,CAAC,CA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KAAa;QAChE,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,CAAC,GAAG,CAAC,qCAAiB,CAAO,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IAChE,CAAC;IAES,oCAAS,GAAnB;QACE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YAC3C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,qCAAU,GAAV,UAAW,UAAa,EAAE,UAAa,EAC5B,UAAkB,EAAE,UAAkB,EACtC,QAA+B;QACxC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IACzB,CAAC;IAED,yCAAc,GAAd,UAAe,QAAsB;QACnC,IAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,EAAE,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YAChC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;QAC7B,CAAC;QACD,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;YAC3C,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IACH,uBAAC;AAAD,CAAC,AA1ED,CAA4C,iCAAe,GA0E1D;AA1EY,wBAAgB,mBA0E5B,CAAA"}

11
node_modules/rxjs/operator/filter.d.ts generated vendored Normal file
View File

@ -0,0 +1,11 @@
import { Observable } from '../Observable';
/**
* Similar to the well-known `Array.prototype.filter` method, this operator filters values down to a set
* allowed by a `select` function
*
* @param {Function} select a function that is used to select the resulting values
* if it returns `true`, the value is emitted, if `false` the value is not passed to the resulting observable
* @param {any} [thisArg] an optional argument to determine the value of `this` in the `select` function
* @returns {Observable} an observable of values allowed by the select function
*/
export declare function filter<T>(select: (value: T, index: number) => boolean, thisArg?: any): Observable<T>;

57
node_modules/rxjs/operator/filter.js generated vendored Normal file
View File

@ -0,0 +1,57 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/**
* Similar to the well-known `Array.prototype.filter` method, this operator filters values down to a set
* allowed by a `select` function
*
* @param {Function} select a function that is used to select the resulting values
* if it returns `true`, the value is emitted, if `false` the value is not passed to the resulting observable
* @param {any} [thisArg] an optional argument to determine the value of `this` in the `select` function
* @returns {Observable} an observable of values allowed by the select function
*/
function filter(select, thisArg) {
return this.lift(new FilterOperator(select, thisArg));
}
exports.filter = filter;
var FilterOperator = (function () {
function FilterOperator(select, thisArg) {
this.select = select;
this.thisArg = thisArg;
}
FilterOperator.prototype.call = function (subscriber) {
return new FilterSubscriber(subscriber, this.select, this.thisArg);
};
return FilterOperator;
}());
var FilterSubscriber = (function (_super) {
__extends(FilterSubscriber, _super);
function FilterSubscriber(destination, select, thisArg) {
_super.call(this, destination);
this.select = select;
this.thisArg = thisArg;
this.count = 0;
this.select = select;
}
// the try catch block below is left specifically for
// optimization and perf reasons. a tryCatcher is not necessary here.
FilterSubscriber.prototype._next = function (value) {
var result;
try {
result = this.select.call(this.thisArg, value, this.count++);
}
catch (err) {
this.destination.error(err);
return;
}
if (result) {
this.destination.next(value);
}
};
return FilterSubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=filter.js.map

1
node_modules/rxjs/operator/filter.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"filter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C,CAAC,CAAC;YACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;IACH,uBAAC;AAAD,CAAC,AAvBD,CAAkC,uBAAU,GAuB3C"}

8
node_modules/rxjs/operator/finally.d.ts generated vendored Normal file
View File

@ -0,0 +1,8 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that mirrors the source Observable, but will call a specified function when
* the source terminates on complete or error.
* @param {function} finallySelector function to be called when source terminates.
* @returns {Observable} an Observable that mirrors the source, but will call the specified function on termination.
*/
export declare function _finally<T>(finallySelector: () => void): Observable<T>;

36
node_modules/rxjs/operator/finally.js generated vendored Normal file
View File

@ -0,0 +1,36 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var Subscription_1 = require('../Subscription');
/**
* Returns an Observable that mirrors the source Observable, but will call a specified function when
* the source terminates on complete or error.
* @param {function} finallySelector function to be called when source terminates.
* @returns {Observable} an Observable that mirrors the source, but will call the specified function on termination.
*/
function _finally(finallySelector) {
return this.lift(new FinallyOperator(finallySelector));
}
exports._finally = _finally;
var FinallyOperator = (function () {
function FinallyOperator(finallySelector) {
this.finallySelector = finallySelector;
}
FinallyOperator.prototype.call = function (subscriber) {
return new FinallySubscriber(subscriber, this.finallySelector);
};
return FinallyOperator;
}());
var FinallySubscriber = (function (_super) {
__extends(FinallySubscriber, _super);
function FinallySubscriber(destination, finallySelector) {
_super.call(this, destination);
this.add(new Subscription_1.Subscription(finallySelector));
}
return FinallySubscriber;
}(Subscriber_1.Subscriber));
//# sourceMappingURL=finally.js.map

1
node_modules/rxjs/operator/finally.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"finally.js","sourceRoot":"","sources":["../../../src/operator/finally.ts"],"names":[],"mappings":";;;;;;AACA,2BAAyB,eAAe,CAAC,CAAA;AACzC,6BAA2B,iBAAiB,CAAC,CAAA;AAG7C;;;;;GAKG;AACH,kBAA4B,eAA2B;IACrD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,eAAe,CAAC,CAAC,CAAC;AACzD,CAAC;AAFe,gBAAQ,WAEvB,CAAA;AAED;IACE,yBAAoB,eAA2B;QAA3B,oBAAe,GAAf,eAAe,CAAY;IAC/C,CAAC;IAED,8BAAI,GAAJ,UAAK,UAAyB;QAC5B,MAAM,CAAC,IAAI,iBAAiB,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IACjE,CAAC;IACH,sBAAC;AAAD,CAAC,AAPD,IAOC;AAED;IAAmC,qCAAa;IAC9C,2BAAY,WAA0B,EAAE,eAA2B;QACjE,kBAAM,WAAW,CAAC,CAAC;QACnB,IAAI,CAAC,GAAG,CAAC,IAAI,2BAAY,CAAC,eAAe,CAAC,CAAC,CAAC;IAC9C,CAAC;IACH,wBAAC;AAAD,CAAC,AALD,CAAmC,uBAAU,GAK5C"}

29
node_modules/rxjs/operator/find.d.ts generated vendored Normal file
View File

@ -0,0 +1,29 @@
import { Observable } from '../Observable';
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
/**
* Returns an Observable that searches for the first item in the source Observable that
* matches the specified condition, and returns the first occurence in the source.
* @param {function} predicate function called with each item to test for condition matching.
* @returns {Observable} an Observable of the first item that matches the condition.
*/
export declare function find<T>(predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): Observable<T>;
export declare class FindValueOperator<T> implements Operator<T, T> {
private predicate;
private source;
private yieldIndex;
private thisArg;
constructor(predicate: (value: T, index: number, source: Observable<T>) => boolean, source: Observable<T>, yieldIndex: boolean, thisArg?: any);
call(observer: Subscriber<T>): Subscriber<T>;
}
export declare class FindValueSubscriber<T> extends Subscriber<T> {
private predicate;
private source;
private yieldIndex;
private thisArg;
private index;
constructor(destination: Subscriber<T>, predicate: (value: T, index: number, source: Observable<T>) => boolean, source: Observable<T>, yieldIndex: boolean, thisArg?: any);
private notifyComplete(value);
protected _next(value: T): void;
protected _complete(): void;
}

68
node_modules/rxjs/operator/find.js generated vendored Normal file
View File

@ -0,0 +1,68 @@
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/**
* Returns an Observable that searches for the first item in the source Observable that
* matches the specified condition, and returns the first occurence in the source.
* @param {function} predicate function called with each item to test for condition matching.
* @returns {Observable} an Observable of the first item that matches the condition.
*/
function find(predicate, thisArg) {
if (typeof predicate !== 'function') {
throw new TypeError('predicate is not a function');
}
return this.lift(new FindValueOperator(predicate, this, false, thisArg));
}
exports.find = find;
var FindValueOperator = (function () {
function FindValueOperator(predicate, source, yieldIndex, thisArg) {
this.predicate = predicate;
this.source = source;
this.yieldIndex = yieldIndex;
this.thisArg = thisArg;
}
FindValueOperator.prototype.call = function (observer) {
return new FindValueSubscriber(observer, this.predicate, this.source, this.yieldIndex, this.thisArg);
};
return FindValueOperator;
}());
exports.FindValueOperator = FindValueOperator;
var FindValueSubscriber = (function (_super) {
__extends(FindValueSubscriber, _super);
function FindValueSubscriber(destination, predicate, source, yieldIndex, thisArg) {
_super.call(this, destination);
this.predicate = predicate;
this.source = source;
this.yieldIndex = yieldIndex;
this.thisArg = thisArg;
this.index = 0;
}
FindValueSubscriber.prototype.notifyComplete = function (value) {
var destination = this.destination;
destination.next(value);
destination.complete();
};
FindValueSubscriber.prototype._next = function (value) {
var _a = this, predicate = _a.predicate, thisArg = _a.thisArg;
var index = this.index++;
try {
var result = predicate.call(thisArg || this, value, index, this.source);
if (result) {
this.notifyComplete(this.yieldIndex ? index : value);
}
}
catch (err) {
this.destination.error(err);
}
};
FindValueSubscriber.prototype._complete = function () {
this.notifyComplete(this.yieldIndex ? -1 : undefined);
};
return FindValueSubscriber;
}(Subscriber_1.Subscriber));
exports.FindValueSubscriber = FindValueSubscriber;
//# sourceMappingURL=find.js.map

1
node_modules/rxjs/operator/find.js.map generated vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../src/operator/find.ts"],"names":[],"mappings":";;;;;;AAEA,2BAAyB,eAAe,CAAC,CAAA;AAEzC;;;;;GAKG;AACH,cAAwB,SAAsE,EAAE,OAAa;IAC3G,EAAE,CAAC,CAAC,OAAO,SAAS,KAAK,UAAU,CAAC,CAAC,CAAC;QACpC,MAAM,IAAI,SAAS,CAAC,6BAA6B,CAAC,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;AAC3E,CAAC;AALe,YAAI,OAKnB,CAAA;AAED;IACE,2BAAoB,SAAsE,EACtE,MAAqB,EACrB,UAAmB,EACnB,OAAa;QAHb,cAAS,GAAT,SAAS,CAA6D;QACtE,WAAM,GAAN,MAAM,CAAe;QACrB,eAAU,GAAV,UAAU,CAAS;QACnB,YAAO,GAAP,OAAO,CAAM;IACjC,CAAC;IAED,gCAAI,GAAJ,UAAK,QAAuB;QAC1B,MAAM,CAAC,IAAI,mBAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACvG,CAAC;IACH,wBAAC;AAAD,CAAC,AAVD,IAUC;AAVY,yBAAiB,oBAU7B,CAAA;AAED;IAA4C,uCAAa;IAGvD,6BAAY,WAA0B,EAClB,SAAsE,EACtE,MAAqB,EACrB,UAAmB,EACnB,OAAa;QAC/B,kBAAM,WAAW,CAAC,CAAC;QAJD,cAAS,GAAT,SAAS,CAA6D;QACtE,WAAM,GAAN,MAAM,CAAe;QACrB,eAAU,GAAV,UAAU,CAAS;QACnB,YAAO,GAAP,OAAO,CAAM;QANzB,UAAK,GAAW,CAAC,CAAC;IAQ1B,CAAC;IAEO,4CAAc,GAAtB,UAAuB,KAAU;QAC/B,IAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAErC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,WAAW,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IAES,mCAAK,GAAf,UAAgB,KAAQ;QACtB,IAAA,SAAmC,EAA3B,wBAAS,EAAE,oBAAO,CAAU;QACpC,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC3B,IAAI,CAAC;YACH,IAAM,MAAM,GAAG,SAAS,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1E,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;gBACX,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,GAAG,KAAK,GAAG,KAAK,CAAC,CAAC;YACvD,CAAC;QACH,CAAE;QAAA,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YACb,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC;IACH,CAAC;IAES,uCAAS,GAAnB;QACE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;IACxD,CAAC;IACH,0BAAC;AAAD,CAAC,AAlCD,CAA4C,uBAAU,GAkCrD;AAlCY,2BAAmB,sBAkC/B,CAAA"}

8
node_modules/rxjs/operator/findIndex.d.ts generated vendored Normal file
View File

@ -0,0 +1,8 @@
import { Observable } from '../Observable';
/**
* Returns an Observable that searches for the first item in the source Observable that
* matches the specified condition, and returns the the index of the item in the source.
* @param {function} predicate function called with each item to test for condition matching.
* @returns {Observable} an Observable of the index of the first item that matches the condition.
*/
export declare function findIndex<T>(predicate: (value: T, index: number, source: Observable<T>) => boolean, thisArg?: any): Observable<number>;

Some files were not shown because too many files have changed in this diff Show More