Fix: estimates geo v2

This commit is contained in:
Arsen
2026-02-04 00:11:19 +05:00
commit 3f0086f88e
22567 changed files with 4348823 additions and 0 deletions

28
node_modules/rxjs/dist/esm/internal/operators/skipLast.js generated vendored Executable file
View File

@@ -0,0 +1,28 @@
import { identity } from '../util/identity';
import { operate } from '../util/lift';
import { createOperatorSubscriber } from './OperatorSubscriber';
export function skipLast(skipCount) {
return skipCount <= 0
?
identity
: operate((source, subscriber) => {
let ring = new Array(skipCount);
let seen = 0;
source.subscribe(createOperatorSubscriber(subscriber, (value) => {
const valueIndex = seen++;
if (valueIndex < skipCount) {
ring[valueIndex] = value;
}
else {
const index = valueIndex % skipCount;
const oldValue = ring[index];
ring[index] = value;
subscriber.next(oldValue);
}
}));
return () => {
ring = null;
};
});
}
//# sourceMappingURL=skipLast.js.map