@williamthorsen/toolbelt.arrays 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +98 -0
- package/LICENSE +7 -0
- package/README.md +1 -0
- package/dist/esm/.cache +1 -0
- package/dist/esm/0-strawman/asNonEmptyArray.d.ts +11 -0
- package/dist/esm/0-strawman/asNonEmptyArray.js +20 -0
- package/dist/esm/0-strawman/getSetItems.d.ts +1 -0
- package/dist/esm/0-strawman/getSetItems.js +6 -0
- package/dist/esm/0-strawman/reverseComparator.d.ts +3 -0
- package/dist/esm/0-strawman/reverseComparator.js +6 -0
- package/dist/esm/1-proposed/Range.d.ts +14 -0
- package/dist/esm/1-proposed/Range.js +40 -0
- package/dist/esm/1-proposed/accumulateWeights.d.ts +1 -0
- package/dist/esm/1-proposed/accumulateWeights.js +8 -0
- package/dist/esm/1-proposed/index.d.ts +2 -0
- package/dist/esm/1-proposed/index.js +6 -0
- package/dist/esm/2-draft/index.d.ts +1 -0
- package/dist/esm/2-draft/index.js +0 -0
- package/dist/esm/3-candidate/arraify.d.ts +1 -0
- package/dist/esm/3-candidate/arraify.js +6 -0
- package/dist/esm/3-candidate/extractWeights.d.ts +1 -0
- package/dist/esm/3-candidate/extractWeights.js +11 -0
- package/dist/esm/3-candidate/findOrThrow.d.ts +5 -0
- package/dist/esm/3-candidate/findOrThrow.js +11 -0
- package/dist/esm/3-candidate/getAtIndexOrThrow.d.ts +1 -0
- package/dist/esm/3-candidate/getAtIndexOrThrow.js +9 -0
- package/dist/esm/3-candidate/getDuplicateItems.d.ts +2 -0
- package/dist/esm/3-candidate/getDuplicateItems.js +17 -0
- package/dist/esm/3-candidate/getDuplicates.d.ts +1 -0
- package/dist/esm/3-candidate/getDuplicates.js +15 -0
- package/dist/esm/3-candidate/getUniqueItems.d.ts +1 -0
- package/dist/esm/3-candidate/getUniqueItems.js +6 -0
- package/dist/esm/3-candidate/getWeightedIndex.d.ts +3 -0
- package/dist/esm/3-candidate/getWeightedIndex.js +18 -0
- package/dist/esm/3-candidate/includes.d.ts +1 -0
- package/dist/esm/3-candidate/includes.js +6 -0
- package/dist/esm/3-candidate/index.d.ts +16 -0
- package/dist/esm/3-candidate/index.js +36 -0
- package/dist/esm/3-candidate/makePickWeightedItemFromDistribution.d.ts +8 -0
- package/dist/esm/3-candidate/makePickWeightedItemFromDistribution.js +22 -0
- package/dist/esm/3-candidate/nullishCompare.d.ts +8 -0
- package/dist/esm/3-candidate/nullishCompare.js +24 -0
- package/dist/esm/3-candidate/pickItem.d.ts +6 -0
- package/dist/esm/3-candidate/pickItem.js +11 -0
- package/dist/esm/3-candidate/pickItems.d.ts +7 -0
- package/dist/esm/3-candidate/pickItems.js +9 -0
- package/dist/esm/3-candidate/pickWeightedIndex.d.ts +8 -0
- package/dist/esm/3-candidate/pickWeightedIndex.js +45 -0
- package/dist/esm/3-candidate/pickWeightedItem.d.ts +6 -0
- package/dist/esm/3-candidate/pickWeightedItem.js +16 -0
- package/dist/esm/3-candidate/shuffle.d.ts +7 -0
- package/dist/esm/3-candidate/shuffle.js +18 -0
- package/dist/esm/3-candidate/toCumulativeValues.d.ts +1 -0
- package/dist/esm/3-candidate/toCumulativeValues.js +12 -0
- package/dist/esm/4-release/index.d.ts +1 -0
- package/dist/esm/4-release/index.js +0 -0
- package/dist/tsconfig.generate-typings.tsbuildinfo +1 -0
- package/package.json +46 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# @williamthorsen/toolbelt.arrays changelog
|
|
2
|
+
|
|
3
|
+
## 3.3.1
|
|
4
|
+
|
|
5
|
+
### Dependencies
|
|
6
|
+
|
|
7
|
+
- Updated internal dependencies:
|
|
8
|
+
- @williamthorsen/toolbelt.numbers@4.3.0
|
|
9
|
+
|
|
10
|
+
## 3.3.0
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- Added `getUniqueItems`
|
|
15
|
+
- Renamed `getDuplicates` to `getDuplicateItems` for consistency with other function names
|
|
16
|
+
|
|
17
|
+
## 3.2.0
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
- Added `map` and `forEach` methods to `Range` class
|
|
22
|
+
- Simplified `Range` class to accept two arguments instead of object
|
|
23
|
+
|
|
24
|
+
## 3.1.0
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
- Added a `Range` class to generate and iterate over a range of numbers.
|
|
29
|
+
|
|
30
|
+
## 3.0.4
|
|
31
|
+
|
|
32
|
+
### Dependencies
|
|
33
|
+
|
|
34
|
+
- Updated internal dependencies:
|
|
35
|
+
- @williamthorsen/toolbelt.numbers@4.2.0
|
|
36
|
+
|
|
37
|
+
## 3.0.3
|
|
38
|
+
|
|
39
|
+
### Dependencies
|
|
40
|
+
|
|
41
|
+
- Updated internal dependencies:
|
|
42
|
+
- @williamthorsen/toolbelt.numbers@4.1.0
|
|
43
|
+
|
|
44
|
+
## 3.0.2
|
|
45
|
+
|
|
46
|
+
### Fixes
|
|
47
|
+
|
|
48
|
+
- Fixed the issue that code relies on Node.js `assert` but could be used in a browser environment
|
|
49
|
+
|
|
50
|
+
## 3.0.1
|
|
51
|
+
|
|
52
|
+
### Tooling
|
|
53
|
+
|
|
54
|
+
- Renamed `publish` script to avoid recursion
|
|
55
|
+
|
|
56
|
+
## 3.0.0
|
|
57
|
+
|
|
58
|
+
### Breaking changes
|
|
59
|
+
|
|
60
|
+
- Migrated to staged distribution of library functions.
|
|
61
|
+
For example, some functions have been moved to `/candidate` or `/draft`.
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
#### Stage 1: Proposed
|
|
66
|
+
|
|
67
|
+
- Added:
|
|
68
|
+
- `accumulateWeights`
|
|
69
|
+
|
|
70
|
+
#### Stage 3: Candidate
|
|
71
|
+
|
|
72
|
+
- Added:
|
|
73
|
+
- `arraify`
|
|
74
|
+
- `extractWeights`
|
|
75
|
+
- `findOrThrow`
|
|
76
|
+
- `getAtIndexOrThrow`
|
|
77
|
+
- `getDuplicates`
|
|
78
|
+
- `getWeightedIndex`
|
|
79
|
+
- `includes`
|
|
80
|
+
- `makeNullishCompare`
|
|
81
|
+
- `makePickWeightedItemFromDistribution`
|
|
82
|
+
- `nullishCompare`
|
|
83
|
+
- `pickItem`
|
|
84
|
+
- `pickItems`
|
|
85
|
+
- `pickWeightedIndex`
|
|
86
|
+
- `pickWeightedItem`
|
|
87
|
+
- `shuffle`
|
|
88
|
+
- `shuffleInPlace`
|
|
89
|
+
- `toCumulativeValues`
|
|
90
|
+
|
|
91
|
+
### Dependencies
|
|
92
|
+
|
|
93
|
+
- Added dependencies:
|
|
94
|
+
- @williamthorsen/toolbelt.numbers@3.0.0
|
|
95
|
+
|
|
96
|
+
## 0.1.0
|
|
97
|
+
|
|
98
|
+
Copied from v0.1.0 of the `_template` workspace.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
UNLICENSED SOFTWARE
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-2025 William Thorsen
|
|
4
|
+
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
This software is provided 'as-is', without any express or implied warranty. No rights are granted to use, copy, modify, or distribute this software for any purpose. For full legal details, consult a legal expert. This notice may not be removed or altered from any distribution.
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# @williamthorsen/toolbelt.arrays
|
package/dist/esm/.cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9e955c7486385f27c5f90b384583a3e36849311e897477522b4f14bd3e7aaf65
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function asNonEmptyArray<TItem>(items: AnyArray<TItem>): NonEmptyArray<TItem>;
|
|
2
|
+
export declare function assertFrozenArray<TItem>(array: ImmutableArray<TItem>): asserts array is ImmutableArray<TItem>;
|
|
3
|
+
export declare function assertImmutableArray<TItem>(array: ReadonlyArray<TItem>): asserts array is ImmutableArray<TItem>;
|
|
4
|
+
export declare function assertNonEmptyArray<TItem>(array: ImmutableArray<TItem>): asserts array is NonEmptyArray<TItem>;
|
|
5
|
+
export type AnyArray<TItem> = Array<TItem> | ReadonlyArray<TItem>;
|
|
6
|
+
export type ImmutableArray<TItem> = Immutable<AnyArray<TItem>>;
|
|
7
|
+
export type NonEmptyArray<TItem> = Readonly<[TItem, ...TItem[]]>;
|
|
8
|
+
type Immutable<T> = T & {
|
|
9
|
+
push?: never;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
function asNonEmptyArray(items) {
|
|
2
|
+
const frozenItems = Object.isFrozen(items) ? items : Object.freeze([...items]);
|
|
3
|
+
assertNonEmptyArray(frozenItems);
|
|
4
|
+
return frozenItems;
|
|
5
|
+
}
|
|
6
|
+
function assertFrozenArray(array) {
|
|
7
|
+
if (!Object.isFrozen(array)) throw new Error("Invalid input. Array cannot be mutable.");
|
|
8
|
+
}
|
|
9
|
+
function assertImmutableArray(array) {
|
|
10
|
+
if ("push" in array) throw new Error("Invalid input. Array cannot be mutable.");
|
|
11
|
+
}
|
|
12
|
+
function assertNonEmptyArray(array) {
|
|
13
|
+
if (array.length === 0) throw new Error("Invalid input. Array cannot be empty.");
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
asNonEmptyArray,
|
|
17
|
+
assertFrozenArray,
|
|
18
|
+
assertImmutableArray,
|
|
19
|
+
assertNonEmptyArray
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getSetItems<T>(iterable: Iterable<T>): T[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class Range {
|
|
2
|
+
readonly start: number;
|
|
3
|
+
readonly end: number;
|
|
4
|
+
readonly ascending: boolean;
|
|
5
|
+
constructor(start: number, end: number);
|
|
6
|
+
get length(): number;
|
|
7
|
+
forEach(callback: ArrayPredicate<number, void>): void;
|
|
8
|
+
includes(value: number): boolean;
|
|
9
|
+
map<R>(callback: ArrayPredicate<number, R>): R[];
|
|
10
|
+
toArray(): number[];
|
|
11
|
+
[Symbol.iterator](): IterableIterator<number>;
|
|
12
|
+
}
|
|
13
|
+
type ArrayPredicate<T, R> = (value: T, index: number, array: ReadonlyArray<T>) => R;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
class Range {
|
|
2
|
+
constructor(start, end) {
|
|
3
|
+
this.start = start;
|
|
4
|
+
this.end = end;
|
|
5
|
+
this.start = start;
|
|
6
|
+
this.end = end;
|
|
7
|
+
this.ascending = start <= end;
|
|
8
|
+
}
|
|
9
|
+
ascending;
|
|
10
|
+
get length() {
|
|
11
|
+
return Math.abs(this.end - this.start) + 1;
|
|
12
|
+
}
|
|
13
|
+
forEach(callback) {
|
|
14
|
+
const array = this.toArray();
|
|
15
|
+
for (const [index, value] of array.entries()) {
|
|
16
|
+
callback(value, index, array);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
includes(value) {
|
|
20
|
+
return this.ascending ? value >= this.start && value <= this.end : value <= this.start && value >= this.end;
|
|
21
|
+
}
|
|
22
|
+
map(callback) {
|
|
23
|
+
return this.toArray().map((value, index, array) => callback(value, index, array));
|
|
24
|
+
}
|
|
25
|
+
toArray() {
|
|
26
|
+
const { length, start, ascending } = this;
|
|
27
|
+
return Array.from({ length }, (_, i) => ascending ? start + i : start - i);
|
|
28
|
+
}
|
|
29
|
+
*[Symbol.iterator]() {
|
|
30
|
+
const { start, end, ascending } = this;
|
|
31
|
+
if (ascending) {
|
|
32
|
+
for (let i = start; i <= end; i++) yield i;
|
|
33
|
+
} else {
|
|
34
|
+
for (let i = start; i >= end; i--) yield i;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
Range
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function accumulateWeights<T>(items: ReadonlyArray<T>, getWeight: (item: T, index: number, items: ReadonlyArray<T>) => number | undefined): number[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function arraify<T>(value: T | ReadonlyArray<T>): T[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function extractWeights<T>(items: ReadonlyArray<T>, getWeight: (item: T, index: number, items: ReadonlyArray<T>) => number | undefined): number[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function extractWeights(items, getWeight) {
|
|
2
|
+
const weights = items.map((item, index, items2) => getWeight(item, index, items2));
|
|
3
|
+
if (weights.every((weight) => weight === void 0)) {
|
|
4
|
+
const uniformWeight = 1 / items.length;
|
|
5
|
+
return Array.from({ length: items.length }, () => uniformWeight);
|
|
6
|
+
}
|
|
7
|
+
return weights.map((weight) => weight ?? 0);
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
extractWeights
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function findOrThrow(items, predicate, options = {}) {
|
|
2
|
+
const { label = "item" } = options;
|
|
3
|
+
const foundItem = items.find(predicate);
|
|
4
|
+
if (!foundItem) {
|
|
5
|
+
throw new Error(`Could not find ${label}.`);
|
|
6
|
+
}
|
|
7
|
+
return foundItem;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
findOrThrow
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getAtIndexOrThrow<T>(array: ReadonlyArray<T>, index: number): T;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function getDuplicateItems(items) {
|
|
2
|
+
const duplicates = /* @__PURE__ */ new Set();
|
|
3
|
+
const seen = /* @__PURE__ */ new Set();
|
|
4
|
+
for (const item of items) {
|
|
5
|
+
if (seen.has(item)) {
|
|
6
|
+
duplicates.add(item);
|
|
7
|
+
} else {
|
|
8
|
+
seen.add(item);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return [...duplicates];
|
|
12
|
+
}
|
|
13
|
+
const getDuplicates = getDuplicateItems;
|
|
14
|
+
export {
|
|
15
|
+
getDuplicateItems,
|
|
16
|
+
getDuplicates
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getDuplicates<T>(items: Iterable<T>): T[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function getDuplicates(items) {
|
|
2
|
+
const duplicates = /* @__PURE__ */ new Set();
|
|
3
|
+
const seen = /* @__PURE__ */ new Set();
|
|
4
|
+
for (const item of items) {
|
|
5
|
+
if (seen.has(item)) {
|
|
6
|
+
duplicates.add(item);
|
|
7
|
+
} else {
|
|
8
|
+
seen.add(item);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return [...duplicates];
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
getDuplicates
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getUniqueItems<T>(items: Iterable<T>): T[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { getAtIndexOrThrow } from "./getAtIndexOrThrow.js";
|
|
2
|
+
function getWeightedIndex(cumulativeWeights, targetWeight) {
|
|
3
|
+
if (cumulativeWeights.length === 0) {
|
|
4
|
+
return void 0;
|
|
5
|
+
}
|
|
6
|
+
if (targetWeight < 0) {
|
|
7
|
+
return void 0;
|
|
8
|
+
}
|
|
9
|
+
for (let i = 0; i < cumulativeWeights.length; i++) {
|
|
10
|
+
if (targetWeight <= getAtIndexOrThrow(cumulativeWeights, i)) {
|
|
11
|
+
return i;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return void 0;
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
getWeightedIndex
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function includes<T extends readonly unknown[]>(array: T, element: unknown): element is T[number];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { arraify } from './arraify.ts';
|
|
2
|
+
export { extractWeights } from './extractWeights.ts';
|
|
3
|
+
export { findOrThrow } from './findOrThrow.ts';
|
|
4
|
+
export { getAtIndexOrThrow } from './getAtIndexOrThrow.ts';
|
|
5
|
+
export { getDuplicateItems } from './getDuplicateItems.ts';
|
|
6
|
+
export { getUniqueItems } from './getUniqueItems.ts';
|
|
7
|
+
export { getWeightedIndex } from './getWeightedIndex.ts';
|
|
8
|
+
export { includes } from './includes.ts';
|
|
9
|
+
export { makePickWeightedItemFromDistribution } from './makePickWeightedItemFromDistribution.ts';
|
|
10
|
+
export { makeNullishCompare, nullishCompare } from './nullishCompare.ts';
|
|
11
|
+
export { pickItem } from './pickItem.ts';
|
|
12
|
+
export { pickItems } from './pickItems.ts';
|
|
13
|
+
export { pickWeightedIndex } from './pickWeightedIndex.ts';
|
|
14
|
+
export { pickWeightedItem } from './pickWeightedItem.ts';
|
|
15
|
+
export { shuffle, shuffleInPlace } from './shuffle.ts';
|
|
16
|
+
export { toCumulativeValues } from './toCumulativeValues.ts';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { arraify } from "./arraify.js";
|
|
2
|
+
import { extractWeights } from "./extractWeights.js";
|
|
3
|
+
import { findOrThrow } from "./findOrThrow.js";
|
|
4
|
+
import { getAtIndexOrThrow } from "./getAtIndexOrThrow.js";
|
|
5
|
+
import { getDuplicateItems } from "./getDuplicateItems.js";
|
|
6
|
+
import { getUniqueItems } from "./getUniqueItems.js";
|
|
7
|
+
import { getWeightedIndex } from "./getWeightedIndex.js";
|
|
8
|
+
import { includes } from "./includes.js";
|
|
9
|
+
import { makePickWeightedItemFromDistribution } from "./makePickWeightedItemFromDistribution.js";
|
|
10
|
+
import { makeNullishCompare, nullishCompare } from "./nullishCompare.js";
|
|
11
|
+
import { pickItem } from "./pickItem.js";
|
|
12
|
+
import { pickItems } from "./pickItems.js";
|
|
13
|
+
import { pickWeightedIndex } from "./pickWeightedIndex.js";
|
|
14
|
+
import { pickWeightedItem } from "./pickWeightedItem.js";
|
|
15
|
+
import { shuffle, shuffleInPlace } from "./shuffle.js";
|
|
16
|
+
import { toCumulativeValues } from "./toCumulativeValues.js";
|
|
17
|
+
export {
|
|
18
|
+
arraify,
|
|
19
|
+
extractWeights,
|
|
20
|
+
findOrThrow,
|
|
21
|
+
getAtIndexOrThrow,
|
|
22
|
+
getDuplicateItems,
|
|
23
|
+
getUniqueItems,
|
|
24
|
+
getWeightedIndex,
|
|
25
|
+
includes,
|
|
26
|
+
makeNullishCompare,
|
|
27
|
+
makePickWeightedItemFromDistribution,
|
|
28
|
+
nullishCompare,
|
|
29
|
+
pickItem,
|
|
30
|
+
pickItems,
|
|
31
|
+
pickWeightedIndex,
|
|
32
|
+
pickWeightedItem,
|
|
33
|
+
shuffle,
|
|
34
|
+
shuffleInPlace,
|
|
35
|
+
toCumulativeValues
|
|
36
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { pickWeightedItem } from './pickWeightedItem.ts';
|
|
2
|
+
export declare function makePickWeightedItemFromDistribution<TItem, TCategory extends string>(items: ReadonlyArray<TItem>, distribution: Partial<Distribution<TCategory>>, params: Params<TItem, TCategory>): ReturnType<typeof pickWeightedItem<TItem>>;
|
|
3
|
+
type Distribution<TCategory extends string> = Record<TCategory, number>;
|
|
4
|
+
interface Params<TItem, TCategory> {
|
|
5
|
+
defaultWeight?: number | undefined;
|
|
6
|
+
getCategory: (item: TItem) => TCategory;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { pickWeightedItem } from "./pickWeightedItem.js";
|
|
2
|
+
import { toCumulativeValues } from "./toCumulativeValues.js";
|
|
3
|
+
function makePickWeightedItemFromDistribution(items, distribution, params) {
|
|
4
|
+
const { defaultWeight = 0, getCategory } = params;
|
|
5
|
+
const filteredItems = [];
|
|
6
|
+
const filteredWeights = [];
|
|
7
|
+
for (const item of items) {
|
|
8
|
+
const weight = distribution[getCategory(item)] ?? defaultWeight;
|
|
9
|
+
if (weight > 0) {
|
|
10
|
+
filteredItems.push(item);
|
|
11
|
+
filteredWeights.push(weight);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
if (filteredItems.length === 0) {
|
|
15
|
+
throw new Error("Cannot create function with an empty array.");
|
|
16
|
+
}
|
|
17
|
+
const cumulativeWeights = toCumulativeValues(filteredWeights);
|
|
18
|
+
return pickWeightedItem(filteredItems, cumulativeWeights);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
makePickWeightedItemFromDistribution
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function makeNullishCompare<T>(compare: (a: T, b: T) => number, options?: Options): NullishComparer<T>;
|
|
2
|
+
export declare function nullishCompare<T>(compare: (a: T, b: T) => number, a: Nullish<T>, b: Nullish<T>, options?: Options): number;
|
|
3
|
+
type Nullish<T> = T | null | undefined;
|
|
4
|
+
type NullishComparer<T> = (a: T | null | undefined, b: T | null | undefined) => number;
|
|
5
|
+
interface Options {
|
|
6
|
+
nullishGreater?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
function makeNullishCompare(compare, options = {}) {
|
|
2
|
+
return function compareWithNullishHandling(a, b) {
|
|
3
|
+
return nullishCompare(compare, a, b, options);
|
|
4
|
+
};
|
|
5
|
+
}
|
|
6
|
+
function nullishCompare(compare, a, b, options = {}) {
|
|
7
|
+
if (isNullish(a) && isNullish(b)) {
|
|
8
|
+
return 0;
|
|
9
|
+
}
|
|
10
|
+
if (isNullish(a)) {
|
|
11
|
+
return options.nullishGreater ? 1 : -1;
|
|
12
|
+
}
|
|
13
|
+
if (isNullish(b)) {
|
|
14
|
+
return options.nullishGreater ? -1 : 1;
|
|
15
|
+
}
|
|
16
|
+
return compare(a, b) || 0;
|
|
17
|
+
}
|
|
18
|
+
function isNullish(value) {
|
|
19
|
+
return value === null || value === void 0;
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
makeNullishCompare,
|
|
23
|
+
nullishCompare
|
|
24
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { generateRandom } from "@williamthorsen/toolbelt.numbers/candidate";
|
|
2
|
+
import { getAtIndexOrThrow } from "./getAtIndexOrThrow.js";
|
|
3
|
+
function pickItem(items, options = {}) {
|
|
4
|
+
if (items.length === 0) {
|
|
5
|
+
throw new Error("Cannot pick an item from an empty array.");
|
|
6
|
+
}
|
|
7
|
+
return getAtIndexOrThrow(items, Math.floor(generateRandom(options) * items.length));
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
pickItem
|
|
11
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Seed } from '@williamthorsen/toolbelt.numbers/candidate';
|
|
2
|
+
export declare function pickItems<T>(items: ReadonlyArray<T>, n: number, options?: Options): T[];
|
|
3
|
+
interface Options {
|
|
4
|
+
offset?: number | undefined;
|
|
5
|
+
seed?: Seed | undefined;
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Seed } from '@williamthorsen/toolbelt.numbers/candidate';
|
|
2
|
+
export declare function pickWeightedIndex(cumulativeWeights: ReadonlyArray<number>, options?: PickRandomOptions): Integer;
|
|
3
|
+
export declare function assertValidCumulativeWeights(weights: ReadonlyArray<number>, nItems?: number): void | never;
|
|
4
|
+
export interface PickRandomOptions {
|
|
5
|
+
seed?: Seed | undefined;
|
|
6
|
+
}
|
|
7
|
+
type Integer = number;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { assert } from "@williamthorsen/toolbelt.guards";
|
|
2
|
+
import { generateRandom } from "@williamthorsen/toolbelt.numbers/candidate";
|
|
3
|
+
import { getAtIndexOrThrow } from "./getAtIndexOrThrow.js";
|
|
4
|
+
import { getWeightedIndex } from "./getWeightedIndex.js";
|
|
5
|
+
function pickWeightedIndex(cumulativeWeights, options = {}) {
|
|
6
|
+
assertValidCumulativeWeights(cumulativeWeights);
|
|
7
|
+
const cumulativeWeight = getAtIndexOrThrow(cumulativeWeights, cumulativeWeights.length - 1);
|
|
8
|
+
const randomValue = generateRandom(options);
|
|
9
|
+
const targetWeight = randomValue * cumulativeWeight;
|
|
10
|
+
const pickedIndex = getWeightedIndex(cumulativeWeights, targetWeight);
|
|
11
|
+
assert(pickedIndex !== void 0);
|
|
12
|
+
return pickedIndex;
|
|
13
|
+
}
|
|
14
|
+
function assertValidCumulativeWeights(weights, nItems = weights.length) {
|
|
15
|
+
if (weights.length !== nItems) {
|
|
16
|
+
throw new Error("The number of weights must match the number of items.");
|
|
17
|
+
}
|
|
18
|
+
assertNonEmptyArray(weights);
|
|
19
|
+
assertPositiveWeights(weights);
|
|
20
|
+
assertAscendingWeights(weights);
|
|
21
|
+
if (weights.at(-1) === 0) {
|
|
22
|
+
throw new Error("Cannot pick an item from an array with total weight 0.");
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function assertAscendingWeights(values) {
|
|
26
|
+
for (let i = 1; i < values.length; i++) {
|
|
27
|
+
if (getAtIndexOrThrow(values, i) < getAtIndexOrThrow(values, i - 1)) {
|
|
28
|
+
throw new Error("Cumulative weights must be in ascending order.");
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function assertNonEmptyArray(array) {
|
|
33
|
+
if (array.length === 0) {
|
|
34
|
+
throw new Error("Cannot pick an item from an empty array.");
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function assertPositiveWeights(weights) {
|
|
38
|
+
if (weights.some((weight) => weight < 0)) {
|
|
39
|
+
throw new Error("Weights cannot be negative.");
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
assertValidCumulativeWeights,
|
|
44
|
+
pickWeightedIndex
|
|
45
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Seed } from '@williamthorsen/toolbelt.numbers/candidate';
|
|
2
|
+
export declare function pickWeightedItem<T>(items: ReadonlyArray<T>, weights: ReadonlyArray<number>): (options?: PickWeightedItemOptions) => T;
|
|
3
|
+
export interface PickWeightedItemOptions {
|
|
4
|
+
seed?: Seed | undefined;
|
|
5
|
+
}
|
|
6
|
+
export declare const toPickWeightedItem: typeof pickWeightedItem;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getAtIndexOrThrow } from "./getAtIndexOrThrow.js";
|
|
2
|
+
import { assertValidCumulativeWeights, pickWeightedIndex } from "./pickWeightedIndex.js";
|
|
3
|
+
import { toCumulativeValues } from "./toCumulativeValues.js";
|
|
4
|
+
function pickWeightedItem(items, weights) {
|
|
5
|
+
const cumulativeWeights = toCumulativeValues(weights);
|
|
6
|
+
assertValidCumulativeWeights(cumulativeWeights, items.length);
|
|
7
|
+
return function pickItem(options = {}) {
|
|
8
|
+
const index = pickWeightedIndex(cumulativeWeights, options);
|
|
9
|
+
return getAtIndexOrThrow(items, index);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
const toPickWeightedItem = pickWeightedItem;
|
|
13
|
+
export {
|
|
14
|
+
pickWeightedItem,
|
|
15
|
+
toPickWeightedItem
|
|
16
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Seed } from '@williamthorsen/toolbelt.numbers/candidate';
|
|
2
|
+
export declare function shuffle<T>(items: ReadonlyArray<T>, options?: Options): T[];
|
|
3
|
+
export declare function shuffleInPlace(items: unknown[], options?: Options): void;
|
|
4
|
+
interface Options {
|
|
5
|
+
seed?: Seed | undefined;
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { generateRandom, SeededRng } from "@williamthorsen/toolbelt.numbers/candidate";
|
|
2
|
+
import { getAtIndexOrThrow } from "./getAtIndexOrThrow.js";
|
|
3
|
+
function shuffle(items, options = {}) {
|
|
4
|
+
const tempItems = [...items];
|
|
5
|
+
shuffleInPlace(tempItems, options);
|
|
6
|
+
return tempItems;
|
|
7
|
+
}
|
|
8
|
+
function shuffleInPlace(items, options = {}) {
|
|
9
|
+
const seed = SeededRng.spawn(options.seed);
|
|
10
|
+
for (let i = items.length - 1; i > 0; i--) {
|
|
11
|
+
const j = Math.floor(generateRandom({ seed }) * (i + 1));
|
|
12
|
+
[items[i], items[j]] = [getAtIndexOrThrow(items, j), getAtIndexOrThrow(items, i)];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
shuffle,
|
|
17
|
+
shuffleInPlace
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toCumulativeValues(values: ReadonlyArray<number | undefined>): number[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function toCumulativeValues(values) {
|
|
2
|
+
const cumulativeValues = [];
|
|
3
|
+
let cumulativeValue = 0;
|
|
4
|
+
for (const value of values) {
|
|
5
|
+
cumulativeValue += value ?? 0;
|
|
6
|
+
cumulativeValues.push(cumulativeValue);
|
|
7
|
+
}
|
|
8
|
+
return cumulativeValues;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
toCumulativeValues
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/0-strawman/asnonemptyarray.ts","../src/0-strawman/getsetitems.ts","../src/0-strawman/reversecomparator.ts","../src/1-proposed/range.ts","../src/3-candidate/arraify.ts","../src/3-candidate/extractweights.ts","../src/3-candidate/findorthrow.ts","../src/3-candidate/getatindexorthrow.ts","../src/3-candidate/getduplicateitems.ts","../src/3-candidate/getuniqueitems.ts","../src/3-candidate/getweightedindex.ts","../src/3-candidate/includes.ts","../../numbers/dist/esm/internal/evaluateseed.d.ts","../../numbers/dist/esm/3-candidate/generaterandom.d.ts","../../numbers/dist/esm/internal/internal.types.d.ts","../../numbers/dist/esm/3-candidate/integer-string.d.ts","../../numbers/dist/esm/3-candidate/numeric-string.d.ts","../../numbers/dist/esm/3-candidate/pickinteger.d.ts","../../numbers/dist/esm/3-candidate/round.d.ts","../../numbers/dist/esm/3-candidate/scale.d.ts","../../numbers/dist/esm/3-candidate/seeded-rng.d.ts","../../numbers/dist/esm/3-candidate/types.d.ts","../../numbers/dist/esm/3-candidate/index.d.ts","../../guards/dist/esm/4-release/assert.d.ts","../../guards/dist/esm/4-release/nullable.d.ts","../../guards/dist/esm/4-release/primitives.d.ts","../../guards/dist/esm/4-release/index.d.ts","../src/3-candidate/pickweightedindex.ts","../src/3-candidate/tocumulativevalues.ts","../src/3-candidate/pickweighteditem.ts","../src/3-candidate/makepickweighteditemfromdistribution.ts","../src/3-candidate/nullishcompare.ts","../src/3-candidate/pickitem.ts","../src/3-candidate/shuffle.ts","../src/3-candidate/pickitems.ts","../src/3-candidate/index.ts","../src/1-proposed/accumulateweights.ts","../src/1-proposed/index.ts","../src/2-draft/index.ts","../src/4-release/index.ts","../../../node_modules/.pnpm/@types+js-yaml@4.0.9/node_modules/@types/js-yaml/index.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/utility.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/client-stats.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/h2c-client.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@7.16.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@24.12.0/node_modules/@types/node/index.d.ts"],"fileIdsList":[[124,178,195,196],[124,175,176,178,195,196],[124,177,178,195,196],[178,195,196],[124,178,183,195,196,213],[124,178,179,184,189,195,196,198,210,221],[124,178,179,180,189,195,196,198],[124,178,181,195,196,222],[124,178,182,183,190,195,196,199],[124,178,183,195,196,210,218],[124,178,184,186,189,195,196,198],[124,177,178,185,195,196],[124,178,186,187,195,196],[124,178,188,189,195,196],[124,177,178,189,195,196],[124,178,189,190,191,195,196,210,221],[124,178,189,190,191,195,196,205,210,213],[124,170,178,186,189,192,195,196,198,210,221],[124,178,189,190,192,193,195,196,198,210,218,221],[124,178,192,194,195,196,210,218,221],[122,123,124,125,126,127,128,129,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227],[124,178,189,195,196],[124,178,195,196,197,221],[124,178,186,189,195,196,198,210],[124,178,195,196,199],[124,178,195,196,200],[124,177,178,195,196,201],[124,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227],[124,178,195,196,203],[124,178,195,196,204],[124,178,189,195,196,205,206],[124,178,195,196,205,207,222,224],[124,178,190,195,196],[124,178,189,195,196,210,211,213],[124,178,195,196,212,213],[124,178,195,196,210,211],[124,178,195,196,213],[124,178,195,196,214],[124,175,178,195,196,210,215,221],[124,178,189,195,196,216,217],[124,178,195,196,216,217],[124,178,183,195,196,198,210,218],[124,178,195,196,219],[124,178,195,196,198,220],[124,178,192,195,196,204,221],[124,178,183,195,196,222],[124,178,195,196,210,223],[124,178,195,196,197,224],[124,178,195,196,225],[124,178,183,195,196],[124,170,178,195,196],[124,178,195,196,226],[124,170,178,189,191,195,196,201,210,213,221,223,224,226],[124,178,195,196,210,227],[124,136,139,142,143,178,195,196,221],[124,139,178,195,196,210,221],[124,139,143,178,195,196,221],[124,178,195,196,210],[124,133,178,195,196],[124,137,178,195,196],[124,135,136,139,178,195,196,221],[124,178,195,196,198,218],[124,178,195,196,228],[124,133,178,195,196,228],[124,135,139,178,195,196,198,221],[124,130,131,132,134,138,178,189,195,196,210,221],[124,139,147,155,178,195,196],[124,131,137,178,195,196],[124,139,164,165,178,195,196],[124,131,134,139,178,195,196,213,221,228],[124,139,178,195,196],[124,135,139,178,195,196,221],[124,130,178,195,196],[124,133,134,135,137,138,139,140,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,165,166,167,168,169,178,195,196],[124,139,157,160,178,186,195,196],[124,139,147,148,149,178,195,196],[124,137,139,148,150,178,195,196],[124,138,178,195,196],[124,131,133,139,178,195,196],[124,139,143,148,150,178,195,196],[124,143,178,195,196],[124,137,139,142,178,195,196,221],[124,131,135,139,147,178,195,196],[124,139,157,178,195,196],[124,150,178,195,196],[124,133,139,164,178,195,196,213,226,228],[116,124,178,195,196],[84,117,124,178,195,196],[88,124,178,195,196],[85,86,87,88,89,90,91,92,108,109,110,111,112,113,114,115,124,178,195,196],[109,110,124,178,195,196],[88,103,124,178,195,196],[103,114,124,178,195,196],[88,91,103,107,124,178,195,196],[88,103,108,109,124,178,195,196],[104,105,106,124,178,195,196],[93,124,178,195,196],[94,96,97,98,99,100,101,102,124,178,195,196],[95,124,178,195,196]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"5ba7e134a463eb798cebeba13c5fe1e909dc7193c665102dbfc81fc0cbacb20e","signature":"33e10afe6a76b3ca2faff59d29de48c62e816bffe7e5885d7c1084730b18082e","impliedFormat":99},{"version":"b9272e136d7bc4f2f7b13611833fc202fe934979911f90e3ef63b049fbdbf565","signature":"27187fede7ca548c29d6ec3c004e8153b2f1031ab339e7e9e8944e7b9820c041","impliedFormat":99},{"version":"e2715fb3fda276e30a0852749b364ff2ebbf7925dd4d44201c79e9583bd7226f","signature":"55784696e35a7517867820b6c956988ac192d992fececb8b3735234e4902c953","impliedFormat":99},{"version":"251dc41b068b970c5304bb96c143183083b802f906b0bcc310ef780940365a9b","signature":"4cff468f1dc5fe2e4b768b62d447b5cce70ddfdc49e9e6961110ffb99c57297c","impliedFormat":99},{"version":"ba5d3ed26740bb6b3860834ed1b27a73131c5dcdadc3aa80ee2bb4a05d52478d","signature":"681d69650fabd97bd6d615853c57d7b868ab4a52860dd466e77d623ac27b00e9","impliedFormat":99},{"version":"26fa0fea390ec3e91bff3812417dba2789244621cbb79fbddd516cb96a38b624","signature":"3f822f4c94cd28d15ef095db72ddcf7f87d0eb416e7b3ea571a22e9ec425061a","impliedFormat":99},{"version":"a9a27a1ce959db6a954893421caafbdb7d001ff53fa6569b694b23818c024c97","signature":"eab6f532f9f4faceedd9a02a1b4c963350476e749e6e9388971d3bfbddd40d45","impliedFormat":99},{"version":"09117d6f24d8fb30d78c408304e4dab75b06b65ba1320ada586682bb31b9ea21","signature":"051436e600a1e6013690b70f3e324ed2ba2175cbbd46e3a5b126cadbc1d05903","impliedFormat":99},{"version":"d362e424e78991fdac91948f1067c3310e1bd5995ca0fd39537c4f60a3f99213","signature":"da7bf2d336a5de17c96c92d40b1ef57c288353e33b0aa125d5a69d4fda70eb58","impliedFormat":99},{"version":"98713ace8d92ea5672a0a776a35c40fcc7ac6d8bfa487e46a551ee08cbf673a0","signature":"49a78e9d2214728ebad618fc51032047408d7033ec52f19e628c365ca452ffa2","impliedFormat":99},{"version":"90be3681be083cf6e115e8b7af6dd92ff83a464bafbef8d9140a03242282a961","signature":"deb9a84272eb4dd4dc3a073ed8d734cc448f25191c1e745edd282200873f1ec8","impliedFormat":99},{"version":"8a7c027f4cd3bd821287a3b4d36ed61b490513abd1290f3047d68484ffcea646","signature":"b50b8c236b2a6ea0527b9ed21270e41f0ed61f5717111ba901aab3805865dd44","impliedFormat":99},{"version":"7963f2e8ce8b77f0195e519ed55a477664b8dfe02994f01d795e6495585ee377","impliedFormat":99},{"version":"4eb3cc4bca5e219b482a4e01d73085f8763eeec8de0c5975a290892521d4e29f","impliedFormat":99},{"version":"f79ddd44cd51168495e262e0bdcb73c918fb516a08ea172a418f9abd19cb3242","impliedFormat":99},{"version":"a7de268376c8ac585fdbf194260b97f49e895e20eec9ed3a27450116bb880a8d","impliedFormat":99},{"version":"816ff5d3aea47052a60efd3db7aee6c66141b88ee192fc41c038a296524ecb68","impliedFormat":99},{"version":"03f9373904441a2cdaef4f084c4891be66bf6c87d203d37f23a1522843e3ab42","impliedFormat":99},{"version":"9d8c1211fb17deca09a00a7938c006d6471cc3fc6a6d04d5f84319909e43f656","impliedFormat":99},{"version":"90fc22fed363dff006a2d1ebfcbf402cde15f682cbeda79a8d3144dd8dfce694","impliedFormat":99},{"version":"314433567e32f170ed2cae1bdae6f0e6e994fcb502d9bfacd27a8b9314dbe471","impliedFormat":99},{"version":"050d82bb9163327762f1a47169c277d72c4fb4e6b8556174d7d1b46c57f12b8d","impliedFormat":99},{"version":"739eff43419285475cb6bcf1703abe0a887987443bc9054db4f5671b837afa4d","impliedFormat":99},{"version":"d12da85da809ea150b94d46b23707c27b8a52f41ba1abece550d93c775cfa906","impliedFormat":99},{"version":"4bd192b1124a302af3ee89123eb184044af8a4f77015fa81023d56bee0ccf8b5","impliedFormat":99},{"version":"3d0f6d28e39c3a7d76d065c047d4f34bcd63cc5654221e0d51447c41badd6a00","impliedFormat":99},{"version":"eee6125636d7e425a2deb169d03eeeb1ff0b4ced798fb4644e4e48e5d03ad10c","impliedFormat":99},{"version":"82ab35d6fca061b1146c9875af702726a723613acbb18522e95bba8144ee5d19","signature":"1030a04a41ece633d9b4c49414650981aeb2ca79f650a9cd66756846a8be3c38","impliedFormat":99},{"version":"4bf3738c8df1aae560c5e01e56da279591d33ce07016e194d480ca5354907f45","signature":"f8f2376ef0a703c220b314cc025bc24b49a5ee2dda33fb9916947036d449ffba","impliedFormat":99},{"version":"7679b9e933cb5c68c10ae8fa447e51dad272f48e353b5568801af2d5298722ca","signature":"07781b485b98a27a2c35afdd45865f959f2e469e8354d6e22c57e7ecda94a895","impliedFormat":99},{"version":"89ce4817f2f6d0f81339d8247e0a89abfe05aa38f013e94083229e4c6b4287f4","signature":"de6d38dbda69191840f73feb9949a0dced506cdd27710f7ab74b0d7e54f99e80","impliedFormat":99},{"version":"c7e7bf0d068b50d7caa56988e1c92b6febf832c059c90a7c980753caa9c8296e","signature":"08ca45f16603d25a78c41a6f4c7d1ddff96ba8abbc750ac3a05bfa803bbb5178","impliedFormat":99},{"version":"6b8b951df1471c27da6154d150b00af10b545c1c11cc0052ae1696ebc43e8376","signature":"59d557af115c43b84d5636260d1a59c6639d9c78973ef341b288e8bb3176bf6b","impliedFormat":99},{"version":"67d10754c59e123061bf4ae0a3e54177356633d0387116bfaa22197de09fe64f","signature":"ab20fd2ae2007a63f0aff28b0faf8c9d6be3377b2f9427b480129cc24463acf5","impliedFormat":99},{"version":"a59c2ea60a1db4aca45a1e24598259f2e355a5be3ce38bf4ea52d70b2d562ff8","signature":"91c9aa6c254bbf606e89a0b56e20d30068afcdca31042cb727379ecd04f618ad","impliedFormat":99},{"version":"152385f7b5808fd39be6e8d98cc13d2433f727b1c63a14d270804764b1c62eff","impliedFormat":99},{"version":"9fb715ae41bca113b419d11619cc812a6d16e14280f81b409cd4a13c448b3b29","signature":"fa25497a6dc87b7ab8e174ab5b8240e6cd72cfc343c03bcfd1a314dae70fcf2d","impliedFormat":99},{"version":"b957a71ec1825051f457ed76145b7afdd07fa9474fb8cd3e85b5a171d35745ef","impliedFormat":99},{"version":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"7a1dd1e9c8bf5e23129495b10718b280340c7500570e0cfe5cffcdee51e13e48","impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"378281aa35786c27d5811af7e6bcaa492eebd0c7013d48137c35bbc69a2b9751","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"f724236417941ea77ec8d38c6b7021f5fb7f8521c7f8c1538e87661f2c6a0774","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"c06b2652ffeb89afd0f1c52c165ced77032f9cd09bc481153fbd6b5504c69494","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"9d8f9e63e29a3396285620908e7f14d874d066caea747dc4b2c378f0599166b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"612422d5ba6b4a5c4537f423e9199645468ad80a689801da63ab7edb43f7b835","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc8c6f5322961b56d9906601b20798725df60baeab45ec014fba9f795d5596fd","impliedFormat":1},{"version":"0904660ae854e6d41f6ff25356db1d654436c6305b0f0aa89d1532df0253486e","impliedFormat":1},{"version":"060d305fe4494d8cb2b99d620928d369d1ee55c1645f5e729a2aca07d0f108cb","impliedFormat":1},{"version":"230bdc111d7578276e4a3bb9d075d85c78c6b68f428c3a9935e2eaa10f4ae1f5","impliedFormat":1},{"version":"0c50296ee73dae94efc3f0da4936b1146ca6ce2217acfabb44c19c9a33fa30e5","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"0e5974dfff7a97181c7c376545f126b20acf2f1341db7d3fccea4977bf3ce19c","impliedFormat":1},{"version":"c7f977ea78a1b060a30554c1c4ec0e2269c6e305a349ca2ada14931ac27ecc0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"145dcf25fd4967c610c53d93d7bc4dce8fbb1b6dd7935362472d4ae49363c7ba","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"04bf1aa481d1adfb16d93d76e44ce71c51c8ef68039d849926551199489637f6","impliedFormat":1},{"version":"2c9adcc85574b002c9a6311ff2141055769e0071856ec979d92ff989042b1f1b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8bf3fe89ec8baa335f6370b9fa36308e1bc7a72e2eb2dad1e94f31e27fa28b5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"35390d6fa94bdb432c5d0bcb6547bdd11406c2692a6b90b9e47be2105ea19bd6","impliedFormat":1},{"version":"b33b74b97952d9bf4fbd2951dcfbb5136656ddb310ce1c84518aaa77dbca9992","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"8d117798e5228c7fdff887f44851d07320739c5cc0d511afae8f250c51809a36","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"8e7c3bed5f19ade8f911677ddc83052e2283e25b0a8654cd89db9079d4b323c7","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"ccf3afaeebbeee4ca9092101e99fd6abd681116b6e5ec23e381bbb1e1f32262c","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"ab7818a9d57a9297b90e456fc68b77f84d74395a9210a3cfa9d87db33aff8b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb08062718a5470cd864c1fae0eb5b3a3adc5bcd05dcf87608d6f60b65eca3f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"3a815b7d1aebc0646b91548eab2fc19dada09ff255d04c71ced00bbd3058c8eb","impliedFormat":1},{"version":"255d948f87f24ffd57bcb2fdf95792fd418a2e1f712a98cf2cce88744d75085c","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"836b36913830645ac3b28fe33731aac3fdb3524ee8adbb4cdab9a5c189f41943","affectsGlobalScope":true,"impliedFormat":1},{"version":"bfd3b3c21a56104693183942e221c1896ee23bcb8f8d91ab0b941f7b32985411","impliedFormat":1},{"version":"d7e9ab1b0996639047c61c1e62f85c620e4382206b3abb430d9a21fb7bc23c77","impliedFormat":1}],"root":[[81,92],[108,120]],"options":{"allowImportingTsExtensions":true,"allowJs":false,"allowUnreachableCode":false,"allowUnusedLabels":false,"declaration":true,"emitDeclarationOnly":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"experimentalDecorators":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"outDir":"./esm","removeComments":true,"rootDir":"../src","skipLibCheck":true,"sourceMap":false,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.generate-typings.tsbuildinfo"},"referencedMap":[[121,1],[175,2],[176,2],[177,3],[124,4],[178,5],[179,6],[180,7],[122,1],[181,8],[182,9],[183,10],[184,11],[185,12],[186,13],[187,13],[188,14],[189,15],[190,16],[191,17],[125,1],[123,1],[192,18],[193,19],[194,20],[228,21],[195,22],[196,1],[197,23],[198,24],[199,25],[200,26],[201,27],[202,28],[203,29],[204,30],[205,31],[206,31],[207,32],[208,1],[209,33],[210,34],[212,35],[211,36],[213,37],[214,38],[215,39],[216,40],[217,41],[218,42],[219,43],[220,44],[221,45],[222,46],[223,47],[224,48],[225,49],[126,1],[127,50],[128,1],[129,1],[171,51],[172,52],[173,1],[174,37],[226,53],[227,54],[79,1],[80,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[23,1],[24,1],[4,1],[25,1],[29,1],[26,1],[27,1],[28,1],[30,1],[31,1],[32,1],[5,1],[33,1],[34,1],[35,1],[36,1],[6,1],[40,1],[37,1],[38,1],[39,1],[41,1],[7,1],[42,1],[47,1],[48,1],[43,1],[44,1],[45,1],[46,1],[8,1],[52,1],[49,1],[50,1],[51,1],[53,1],[9,1],[54,1],[55,1],[56,1],[58,1],[57,1],[59,1],[60,1],[10,1],[61,1],[62,1],[63,1],[11,1],[64,1],[65,1],[66,1],[67,1],[68,1],[1,1],[69,1],[70,1],[12,1],[74,1],[72,1],[77,1],[76,1],[71,1],[75,1],[73,1],[78,1],[147,55],[159,56],[145,57],[160,58],[169,59],[136,60],[137,61],[135,62],[168,63],[163,64],[167,65],[139,66],[156,67],[138,68],[166,69],[133,70],[134,64],[140,71],[141,1],[146,72],[144,71],[131,73],[170,74],[161,75],[150,76],[149,71],[151,77],[154,78],[148,79],[152,80],[164,63],[142,81],[143,82],[155,83],[132,58],[158,84],[157,71],[153,85],[162,1],[130,1],[165,86],[81,1],[82,1],[83,1],[117,87],[118,88],[84,1],[119,1],[85,1],[86,1],[87,1],[88,1],[89,1],[90,1],[91,89],[92,1],[116,90],[111,91],[112,1],[113,92],[115,93],[108,94],[110,95],[114,92],[109,1],[120,1],[104,1],[107,96],[105,1],[106,1],[94,97],[103,98],[96,99],[97,99],[98,97],[99,1],[100,1],[101,97],[102,97],[93,1],[95,1]],"version":"5.9.3"}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@williamthorsen/toolbelt.arrays",
|
|
3
|
+
"version": "3.3.1",
|
|
4
|
+
"description": "API",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"homepage": "https://github.com/williamthorsen/toolbelt/tree/main/packages/arrays#readme",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/williamthorsen/toolbelt/issues"
|
|
9
|
+
},
|
|
10
|
+
"license": "UNLICENSED",
|
|
11
|
+
"author": "William Thorsen <william@thorsen.dev> (https://github.com/williamthorsen)",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./dist/esm/4-release/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./candidate": {
|
|
18
|
+
"import": "./dist/esm/3-candidate/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./draft": {
|
|
21
|
+
"import": "./dist/esm/2-draft/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./proposed": {
|
|
24
|
+
"import": "./dist/esm/1-proposed/index.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist/*",
|
|
29
|
+
"CHANGELOG.md"
|
|
30
|
+
],
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@williamthorsen/toolbelt.guards": "3.1.0",
|
|
33
|
+
"@williamthorsen/toolbelt.numbers": "4.3.0"
|
|
34
|
+
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=24.0.0"
|
|
37
|
+
},
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public",
|
|
40
|
+
"registry": "https://registry.npmjs.org"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"publish:github": "pnpm publish",
|
|
44
|
+
"ws": "node --import tsx ../../scripts/run-workspace-script.ts --int-test"
|
|
45
|
+
}
|
|
46
|
+
}
|