Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.219.197.162
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
rxjs /
src /
operators /
Delete
Unzip
Name
Size
Permission
Date
Action
audit.ts
4.21
KB
-rw-rw-r--
2022-08-30 11:49
auditTime.ts
2.34
KB
-rw-rw-r--
2022-08-30 11:49
buffer.ts
2.64
KB
-rw-rw-r--
2022-08-30 11:49
bufferCount.ts
4.36
KB
-rw-rw-r--
2022-08-30 11:49
bufferTime.ts
8.23
KB
-rw-rw-r--
2022-08-30 11:49
bufferToggle.ts
5.66
KB
-rw-rw-r--
2022-08-30 11:49
bufferWhen.ts
4.04
KB
-rw-rw-r--
2022-08-30 11:49
catchError.ts
3.75
KB
-rw-rw-r--
2022-08-30 11:49
combineAll.ts
349
B
-rw-rw-r--
2022-08-30 11:49
combineLatest.ts
7.61
KB
-rw-rw-r--
2022-08-30 11:49
concat.ts
3.73
KB
-rw-rw-r--
2022-08-30 11:49
concatAll.ts
1.99
KB
-rw-rw-r--
2022-08-30 11:49
concatMap.ts
3.5
KB
-rw-rw-r--
2022-08-30 11:49
concatMapTo.ts
3.29
KB
-rw-rw-r--
2022-08-30 11:49
count.ts
3.68
KB
-rw-rw-r--
2022-08-30 11:49
debounce.ts
4.74
KB
-rw-rw-r--
2022-08-30 11:49
debounceTime.ts
4.21
KB
-rw-rw-r--
2022-08-30 11:49
defaultIfEmpty.ts
2.63
KB
-rw-rw-r--
2022-08-30 11:49
delay.ts
4.9
KB
-rw-rw-r--
2022-08-30 11:49
delayWhen.ts
6.72
KB
-rw-rw-r--
2022-08-30 11:49
dematerialize.ts
2.52
KB
-rw-rw-r--
2022-08-30 11:49
distinct.ts
4.33
KB
-rw-rw-r--
2022-08-30 11:49
distinctUntilChanged.ts
3.77
KB
-rw-rw-r--
2022-08-30 11:49
distinctUntilKeyChanged.ts
2.56
KB
-rw-rw-r--
2022-08-30 11:49
elementAt.ts
3.2
KB
-rw-rw-r--
2022-08-30 11:49
every.ts
2.5
KB
-rw-rw-r--
2022-08-30 11:49
exhaust.ts
3.04
KB
-rw-rw-r--
2022-08-30 11:49
exhaustMap.ts
5.9
KB
-rw-rw-r--
2022-08-30 11:49
expand.ts
6.18
KB
-rw-rw-r--
2022-08-30 11:49
filter.ts
3.68
KB
-rw-rw-r--
2022-08-30 11:49
finalize.ts
1.31
KB
-rw-rw-r--
2022-08-30 11:49
find.ts
4
KB
-rw-rw-r--
2022-08-30 11:49
findIndex.ts
1.81
KB
-rw-rw-r--
2022-08-30 11:49
first.ts
6.55
KB
-rw-rw-r--
2022-08-30 11:49
groupBy.ts
9.53
KB
-rw-rw-r--
2022-08-30 11:49
ignoreElements.ts
1.16
KB
-rw-rw-r--
2022-08-30 11:49
isEmpty.ts
1016
B
-rw-rw-r--
2022-08-30 11:49
last.ts
5.2
KB
-rw-rw-r--
2022-08-30 11:49
map.ts
2.99
KB
-rw-rw-r--
2022-08-30 11:49
mapTo.ts
1.85
KB
-rw-rw-r--
2022-08-30 11:49
materialize.ts
3.19
KB
-rw-rw-r--
2022-08-30 11:49
max.ts
1.48
KB
-rw-rw-r--
2022-08-30 11:49
merge.ts
4.8
KB
-rw-rw-r--
2022-08-30 11:49
mergeAll.ts
2.32
KB
-rw-rw-r--
2022-08-30 11:49
mergeMap.ts
6.6
KB
-rw-rw-r--
2022-08-30 11:49
mergeMapTo.ts
6.55
KB
-rw-rw-r--
2022-08-30 11:49
mergeScan.ts
4.32
KB
-rw-rw-r--
2022-08-30 11:49
min.ts
1.49
KB
-rw-rw-r--
2022-08-30 11:49
multicast.ts
3.28
KB
-rw-rw-r--
2022-08-30 11:49
observeOn.ts
4.98
KB
-rw-rw-r--
2022-08-30 11:49
onErrorResumeNext.ts
7.49
KB
-rw-rw-r--
2022-08-30 11:49
pairwise.ts
2.26
KB
-rw-rw-r--
2022-08-30 11:49
partition.ts
2.56
KB
-rw-rw-r--
2022-08-30 11:49
pluck.ts
1.76
KB
-rw-rw-r--
2022-08-30 11:49
publish.ts
1.56
KB
-rw-rw-r--
2022-08-30 11:49
publishBehavior.ts
594
B
-rw-rw-r--
2022-08-30 11:49
publishLast.ts
429
B
-rw-rw-r--
2022-08-30 11:49
publishReplay.ts
1.63
KB
-rw-rw-r--
2022-08-30 11:49
race.ts
1.55
KB
-rw-rw-r--
2022-08-30 11:49
reduce.ts
3.64
KB
-rw-rw-r--
2022-08-30 11:49
refCount.ts
3.01
KB
-rw-rw-r--
2022-08-30 11:49
repeat.ts
1.96
KB
-rw-rw-r--
2022-08-30 11:49
repeatWhen.ts
4.1
KB
-rw-rw-r--
2022-08-30 11:49
retry.ts
2.15
KB
-rw-rw-r--
2022-08-30 11:49
retryWhen.ts
3.8
KB
-rw-rw-r--
2022-08-30 11:49
sample.ts
2.93
KB
-rw-rw-r--
2022-08-30 11:49
sampleTime.ts
3.19
KB
-rw-rw-r--
2022-08-30 11:49
scan.ts
4.08
KB
-rw-rw-r--
2022-08-30 11:49
sequenceEqual.ts
4.96
KB
-rw-rw-r--
2022-08-30 11:49
share.ts
1.04
KB
-rw-rw-r--
2022-08-30 11:49
shareReplay.ts
1.52
KB
-rw-rw-r--
2022-08-30 11:49
single.ts
3.01
KB
-rw-rw-r--
2022-08-30 11:49
skip.ts
1.34
KB
-rw-rw-r--
2022-08-30 11:49
skipLast.ts
2.8
KB
-rw-rw-r--
2022-08-30 11:49
skipUntil.ts
2.27
KB
-rw-rw-r--
2022-08-30 11:49
skipWhile.ts
2.01
KB
-rw-rw-r--
2022-08-30 11:49
startWith.ts
2.43
KB
-rw-rw-r--
2022-08-30 11:49
subscribeOn.ts
1.32
KB
-rw-rw-r--
2022-08-30 11:49
switchAll.ts
282
B
-rw-rw-r--
2022-08-30 11:49
switchMap.ts
6.05
KB
-rw-rw-r--
2022-08-30 11:49
switchMapTo.ts
5.5
KB
-rw-rw-r--
2022-08-30 11:49
take.ts
2.69
KB
-rw-rw-r--
2022-08-30 11:49
takeLast.ts
3.46
KB
-rw-rw-r--
2022-08-30 11:49
takeUntil.ts
2.65
KB
-rw-rw-r--
2022-08-30 11:49
takeWhile.ts
3.13
KB
-rw-rw-r--
2022-08-30 11:49
tap.ts
4.51
KB
-rw-rw-r--
2022-08-30 11:49
throttle.ts
5.3
KB
-rw-rw-r--
2022-08-30 11:49
throttleTime.ts
4.31
KB
-rw-rw-r--
2022-08-30 11:49
timeInterval.ts
1.33
KB
-rw-rw-r--
2022-08-30 11:49
timeout.ts
6.12
KB
-rw-rw-r--
2022-08-30 11:49
timeoutWith.ts
6.24
KB
-rw-rw-r--
2022-08-30 11:49
timestamp.ts
659
B
-rw-rw-r--
2022-08-30 11:49
toArray.ts
352
B
-rw-rw-r--
2022-08-30 11:49
window.ts
3.81
KB
-rw-rw-r--
2022-08-30 11:49
windowCount.ts
4.63
KB
-rw-rw-r--
2022-08-30 11:49
windowTime.ts
9.48
KB
-rw-rw-r--
2022-08-30 11:49
windowToggle.ts
6.24
KB
-rw-rw-r--
2022-08-30 11:49
windowWhen.ts
4.58
KB
-rw-rw-r--
2022-08-30 11:49
withLatestFrom.ts
6.84
KB
-rw-rw-r--
2022-08-30 11:49
zip.ts
12.74
KB
-rw-rw-r--
2022-08-30 11:49
zipAll.ts
304
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
import { Operator } from '../Operator'; import { Observable, ObservableInput } from '../Observable'; import { Subscriber } from '../Subscriber'; import { Subscription } from '../Subscription'; import { OuterSubscriber } from '../OuterSubscriber'; import { InnerSubscriber } from '../InnerSubscriber'; import { subscribeToResult } from '../util/subscribeToResult'; import { OperatorFunction } from '../interfaces'; /* tslint:disable:max-line-length */ export function switchMap<T, R>(project: (value: T, index: number) => ObservableInput<R>): OperatorFunction<T, R>; export function switchMap<T, I, R>(project: (value: T, index: number) => ObservableInput<I>, resultSelector: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R): OperatorFunction<T, R>; /* tslint:enable:max-line-length */ /** * Projects each source value to an Observable which is merged in the output * Observable, emitting values only from the most recently projected Observable. * * <span class="informal">Maps each value to an Observable, then flattens all of * these inner Observables using {@link switch}.</span> * * <img src="./img/switchMap.png" width="100%"> * * Returns an Observable that emits items based on applying a function that you * supply to each item emitted by the source Observable, where that function * returns an (so-called "inner") Observable. Each time it observes one of these * inner Observables, the output Observable begins emitting the items emitted by * that inner Observable. When a new inner Observable is emitted, `switchMap` * stops emitting items from the earlier-emitted inner Observable and begins * emitting items from the new one. It continues to behave like this for * subsequent inner Observables. * * @example <caption>Rerun an interval Observable on every click event</caption> * var clicks = Rx.Observable.fromEvent(document, 'click'); * var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); * result.subscribe(x => console.log(x)); * * @see {@link concatMap} * @see {@link exhaustMap} * @see {@link mergeMap} * @see {@link switch} * @see {@link switchMapTo} * * @param {function(value: T, ?index: number): ObservableInput} project A function * that, when applied to an item emitted by the source Observable, returns an * Observable. * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector] * A function to produce the value on the output Observable based on the values * and the indices of the source (outer) emission and the inner Observable * emission. 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 * @return {Observable} An Observable that emits the result of applying the * projection function (and the optional `resultSelector`) to each item emitted * by the source Observable and taking only the values from the most recently * projected inner Observable. * @method switchMap * @owner Observable */ export function switchMap<T, I, R>( project: (value: T, index: number) => ObservableInput<I>, resultSelector?: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R ): OperatorFunction<T, I | R> { return function switchMapOperatorFunction(source: Observable<T>): Observable<I | R> { return source.lift(new SwitchMapOperator(project, resultSelector)); }; } class SwitchMapOperator<T, I, R> implements Operator<T, I> { constructor(private project: (value: T, index: number) => ObservableInput<I>, private resultSelector?: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R) { } call(subscriber: Subscriber<I>, source: any): any { return source.subscribe(new SwitchMapSubscriber(subscriber, this.project, this.resultSelector)); } } /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ class SwitchMapSubscriber<T, I, R> extends OuterSubscriber<T, I> { private index: number = 0; private innerSubscription: Subscription; constructor(destination: Subscriber<I>, private project: (value: T, index: number) => ObservableInput<I>, private resultSelector?: (outerValue: T, innerValue: I, outerIndex: number, innerIndex: number) => R) { super(destination); } protected _next(value: T) { let result: ObservableInput<I>; const index = this.index++; try { result = this.project(value, index); } catch (error) { this.destination.error(error); return; } this._innerSub(result, value, index); } private _innerSub(result: ObservableInput<I>, value: T, index: number) { const innerSubscription = this.innerSubscription; if (innerSubscription) { innerSubscription.unsubscribe(); } this.add(this.innerSubscription = subscribeToResult(this, result, value, index)); } protected _complete(): void { const {innerSubscription} = this; if (!innerSubscription || innerSubscription.closed) { super._complete(); } } /** @deprecated internal use only */ _unsubscribe() { this.innerSubscription = null; } notifyComplete(innerSub: Subscription): void { this.remove(innerSub); this.innerSubscription = null; if (this.isStopped) { super._complete(); } } notifyNext(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number, innerSub: InnerSubscriber<T, I>): void { if (this.resultSelector) { this._tryNotifyNext(outerValue, innerValue, outerIndex, innerIndex); } else { this.destination.next(innerValue); } } private _tryNotifyNext(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): void { let result: R; try { result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex); } catch (err) { this.destination.error(err); return; } this.destination.next(result); } }