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 : 3.15.147.225
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 { Subscriber } from '../Subscriber'; import { Subscription } from '../Subscription'; import { Observable } from '../Observable'; import { Operator } from '../Operator'; import { Subject } from '../Subject'; import { Map } from '../util/Map'; import { FastMap } from '../util/FastMap'; import { OperatorFunction } from '../interfaces'; /* tslint:disable:max-line-length */ export function groupBy<T, K>(keySelector: (value: T) => K): OperatorFunction<T, GroupedObservable<K, T>>; export function groupBy<T, K>(keySelector: (value: T) => K, elementSelector: void, durationSelector: (grouped: GroupedObservable<K, T>) => Observable<any>): OperatorFunction<T, GroupedObservable<K, T>>; export function groupBy<T, K, R>(keySelector: (value: T) => K, elementSelector?: (value: T) => R, durationSelector?: (grouped: GroupedObservable<K, R>) => Observable<any>): OperatorFunction<T, GroupedObservable<K, R>>; export function groupBy<T, K, R>(keySelector: (value: T) => K, elementSelector?: (value: T) => R, durationSelector?: (grouped: GroupedObservable<K, R>) => Observable<any>, subjectSelector?: () => Subject<R>): OperatorFunction<T, GroupedObservable<K, R>>; /* tslint:enable:max-line-length */ /** * Groups the items emitted by an Observable according to a specified criterion, * and emits these grouped items as `GroupedObservables`, one * {@link GroupedObservable} per group. * * <img src="./img/groupBy.png" width="100%"> * * @example <caption>Group objects by id and return as array</caption> * Observable.of<Obj>({id: 1, name: 'aze1'}, * {id: 2, name: 'sf2'}, * {id: 2, name: 'dg2'}, * {id: 1, name: 'erg1'}, * {id: 1, name: 'df1'}, * {id: 2, name: 'sfqfb2'}, * {id: 3, name: 'qfs3'}, * {id: 2, name: 'qsgqsfg2'} * ) * .groupBy(p => p.id) * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], [])) * .subscribe(p => console.log(p)); * * // displays: * // [ { id: 1, name: 'aze1' }, * // { id: 1, name: 'erg1' }, * // { id: 1, name: 'df1' } ] * // * // [ { id: 2, name: 'sf2' }, * // { id: 2, name: 'dg2' }, * // { id: 2, name: 'sfqfb2' }, * // { id: 2, name: 'qsgqsfg2' } ] * // * // [ { id: 3, name: 'qfs3' } ] * * @example <caption>Pivot data on the id field</caption> * Observable.of<Obj>({id: 1, name: 'aze1'}, * {id: 2, name: 'sf2'}, * {id: 2, name: 'dg2'}, * {id: 1, name: 'erg1'}, * {id: 1, name: 'df1'}, * {id: 2, name: 'sfqfb2'}, * {id: 3, name: 'qfs1'}, * {id: 2, name: 'qsgqsfg2'} * ) * .groupBy(p => p.id, p => p.name) * .flatMap( (group$) => group$.reduce((acc, cur) => [...acc, cur], ["" + group$.key])) * .map(arr => ({'id': parseInt(arr[0]), 'values': arr.slice(1)})) * .subscribe(p => console.log(p)); * * // displays: * // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } * // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } * // { id: 3, values: [ 'qfs1' ] } * * @param {function(value: T): K} keySelector A function that extracts the key * for each item. * @param {function(value: T): R} [elementSelector] A function that extracts the * return element for each item. * @param {function(grouped: GroupedObservable<K,R>): Observable<any>} [durationSelector] * A function that returns an Observable to determine how long each group should * exist. * @return {Observable<GroupedObservable<K,R>>} An Observable that emits * GroupedObservables, each of which corresponds to a unique key value and each * of which emits those items from the source Observable that share that key * value. * @method groupBy * @owner Observable */ export function groupBy<T, K, R>(keySelector: (value: T) => K, elementSelector?: ((value: T) => R) | void, durationSelector?: (grouped: GroupedObservable<K, R>) => Observable<any>, subjectSelector?: () => Subject<R>): OperatorFunction<T, GroupedObservable<K, R>> { return (source: Observable<T>) => source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector)); } export interface RefCountSubscription { count: number; unsubscribe: () => void; closed: boolean; attemptedToUnsubscribe: boolean; } class GroupByOperator<T, K, R> implements Operator<T, GroupedObservable<K, R>> { constructor(private keySelector: (value: T) => K, private elementSelector?: ((value: T) => R) | void, private durationSelector?: (grouped: GroupedObservable<K, R>) => Observable<any>, private subjectSelector?: () => Subject<R>) { } call(subscriber: Subscriber<GroupedObservable<K, R>>, source: any): any { return source.subscribe(new GroupBySubscriber( subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector )); } } /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ class GroupBySubscriber<T, K, R> extends Subscriber<T> implements RefCountSubscription { private groups: Map<K, Subject<T|R>> = null; public attemptedToUnsubscribe: boolean = false; public count: number = 0; constructor(destination: Subscriber<GroupedObservable<K, R>>, private keySelector: (value: T) => K, private elementSelector?: ((value: T) => R) | void, private durationSelector?: (grouped: GroupedObservable<K, R>) => Observable<any>, private subjectSelector?: () => Subject<R>) { super(destination); } protected _next(value: T): void { let key: K; try { key = this.keySelector(value); } catch (err) { this.error(err); return; } this._group(value, key); } private _group(value: T, key: K) { let groups = this.groups; if (!groups) { groups = this.groups = typeof key === 'string' ? new FastMap() : new Map(); } let group = groups.get(key); let element: R; if (this.elementSelector) { try { element = this.elementSelector(value); } catch (err) { this.error(err); } } else { element = <any>value; } if (!group) { group = this.subjectSelector ? this.subjectSelector() : new Subject<R>(); groups.set(key, group); const groupedObservable = new GroupedObservable(key, group, this); this.destination.next(groupedObservable); if (this.durationSelector) { let duration: any; try { duration = this.durationSelector(new GroupedObservable<K, R>(key, <Subject<R>>group)); } catch (err) { this.error(err); return; } this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this))); } } if (!group.closed) { group.next(element); } } protected _error(err: any): void { const groups = this.groups; if (groups) { groups.forEach((group, key) => { group.error(err); }); groups.clear(); } this.destination.error(err); } protected _complete(): void { const groups = this.groups; if (groups) { groups.forEach((group, key) => { group.complete(); }); groups.clear(); } this.destination.complete(); } removeGroup(key: K): void { this.groups.delete(key); } unsubscribe() { if (!this.closed) { this.attemptedToUnsubscribe = true; if (this.count === 0) { super.unsubscribe(); } } } } /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ class GroupDurationSubscriber<K, T> extends Subscriber<T> { constructor(private key: K, private group: Subject<T>, private parent: GroupBySubscriber<any, K, T>) { super(group); } protected _next(value: T): void { this.complete(); } /** @deprecated internal use only */ _unsubscribe() { const { parent, key } = this; this.key = this.parent = null; if (parent) { parent.removeGroup(key); } } } /** * An Observable representing values belonging to the same group represented by * a common key. The values emitted by a GroupedObservable come from the source * Observable. The common key is available as the field `key` on a * GroupedObservable instance. * * @class GroupedObservable<K, T> */ export class GroupedObservable<K, T> extends Observable<T> { constructor(public key: K, private groupSubject: Subject<T>, private refCountSubscription?: RefCountSubscription) { super(); } /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>) { const subscription = new Subscription(); const {refCountSubscription, groupSubject} = this; if (refCountSubscription && !refCountSubscription.closed) { subscription.add(new InnerRefCountSubscription(refCountSubscription)); } subscription.add(groupSubject.subscribe(subscriber)); return subscription; } } /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ class InnerRefCountSubscription extends Subscription { constructor(private parent: RefCountSubscription) { super(); parent.count++; } unsubscribe() { const parent = this.parent; if (!parent.closed && !this.closed) { super.unsubscribe(); parent.count -= 1; if (parent.count === 0 && parent.attemptedToUnsubscribe) { parent.unsubscribe(); } } } }