toosoon-utils 1.0.3 → 1.0.4

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/README.md CHANGED
@@ -350,12 +350,12 @@ randomHexColor() => string;
350
350
 
351
351
  ```ts
352
352
  // Pick a random item from an array
353
- randomItem<I>(array: I[] = []) => I | undefined;
353
+ randomItem<T>(array: T[] = []) => T | undefined;
354
354
  ```
355
355
 
356
356
  ```ts
357
357
  // Pick a random property from an object
358
- randomObjectProperty(object: object) => unknown | undefined;
358
+ randomObjectProperty<T>(object: { [key: string]: T }) => T | undefined;
359
359
  ```
360
360
 
361
361
  ```ts
package/lib/colors.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * Normalize hexadecimal string
2
+ * Normalize an hexadecimal string
3
3
  *
4
4
  * @param {string} hex Hexadecimal string
5
5
  * @returns {string} Normalized hexadecimal string
6
6
  */
7
7
  export declare function normalizeHexString(hex: string): string;
8
8
  /**
9
- * Convert RGB color to hexadecimal
9
+ * Convert RGB to hexadecimal
10
10
  * Note: rgb values are contained in the interval [0, 1]
11
11
  *
12
12
  * @param {[number, number, number]} rgb RGB color
@@ -14,7 +14,7 @@ export declare function normalizeHexString(hex: string): string;
14
14
  */
15
15
  export declare function rgbToHex([r, g, b]: [number, number, number]): number;
16
16
  /**
17
- * Convert RGB color to hexadecimal string
17
+ * Convert RGB to hexadecimal string
18
18
  * Note: rgb values are contained in the interval [0, 1]
19
19
  *
20
20
  * @param {[number, number, number]} rgb RGB color
@@ -22,7 +22,7 @@ export declare function rgbToHex([r, g, b]: [number, number, number]): number;
22
22
  */
23
23
  export declare function rgbToHexString([r, g, b]: [number, number, number]): string;
24
24
  /**
25
- * Convert hexadecimal color to RGB
25
+ * Convert hexadecimal to RGB
26
26
  * Note: rgb values are contained in the interval [0, 1]
27
27
  *
28
28
  * @param {(number|string)} hex Hexadecimal color
@@ -46,7 +46,7 @@ export declare function lighten(hex: string, amount?: number): string;
46
46
  */
47
47
  export declare function darken(hex: string, amount?: number): string;
48
48
  /**
49
- * Normalize HSL string
49
+ * Normalize an HSL string
50
50
  * Note: hsl values are contained in the intervals H: [0, 360], S: [0, 1], L: [0, 1]
51
51
  *
52
52
  * @param {string} hsl HSL string (format: 'hsl(360, 100%, 100%)')
@@ -54,7 +54,7 @@ export declare function darken(hex: string, amount?: number): string;
54
54
  */
55
55
  export declare function normalizeHslString(hsl: string): [number, number, number];
56
56
  /**
57
- * Convert RGB color to HSL color
57
+ * Convert RGB to HSL
58
58
  * Notes:
59
59
  * - rgb values are contained in the interval [0, 1]
60
60
  * - hsl values are contained in the intervals H: [0, 360], S: [0, 1], L: [0, 1]
@@ -64,7 +64,7 @@ export declare function normalizeHslString(hsl: string): [number, number, number
64
64
  */
65
65
  export declare function rgbToHsl([r, g, b]: [number, number, number]): [number, number, number];
66
66
  /**
67
- * Convert HSL color to RGB color
67
+ * Convert HSL to RGB
68
68
  * Notes:
69
69
  * - rgb values are contained in the interval [0, 1]
70
70
  * - hsl values are contained in the intervals H: [0, 360], S: [0, 1], L: [0, 1]
@@ -74,7 +74,7 @@ export declare function rgbToHsl([r, g, b]: [number, number, number]): [number,
74
74
  */
75
75
  export declare function hslToRgb([h, s, l]: [number, number, number]): [number, number, number];
76
76
  /**
77
- * Convert RGB color to HSB color
77
+ * Convert RGB to HSB
78
78
  * Notes:
79
79
  * - rgb values are contained in the interval [0, 1]
80
80
  * - hsb values are contained in the intervals H: [0, 360], S: [0, 1], B: [0, 1]
@@ -84,7 +84,7 @@ export declare function hslToRgb([h, s, l]: [number, number, number]): [number,
84
84
  */
85
85
  export declare function rgbToHsb([r, g, b]: [number, number, number]): [number, number, number];
86
86
  /**
87
- * Convert HSB color to RGB color
87
+ * Convert HSB to RGB
88
88
  * Notes:
89
89
  * - rgb values are contained in the interval [0, 1]
90
90
  * - hsb values are contained in the intervals H: [0, 360], S: [0, 1], B: [0, 1]
@@ -94,7 +94,7 @@ export declare function rgbToHsb([r, g, b]: [number, number, number]): [number,
94
94
  */
95
95
  export declare function hsbToRgb([h, s, b]: [number, number, number]): [number, number, number];
96
96
  /**
97
- * Convert LAB color space to HCL color
97
+ * Convert LAB to HCL
98
98
  * -> http://www.brucelindbloom.com/index.html?Eqn_Lab_to_LCH.html
99
99
  *
100
100
  * @param {[number, number, number]} lab LAB color
@@ -102,7 +102,7 @@ export declare function hsbToRgb([h, s, b]: [number, number, number]): [number,
102
102
  */
103
103
  export declare function labToHcl([l, a, b]: [number, number, number]): [number, number, number];
104
104
  /**
105
- * Convert HCL color space color space to LAB color
105
+ * Convert HCL to LAB
106
106
  * -> http://www.brucelindbloom.com/index.html?Eqn_LCH_to_Lab.html
107
107
  *
108
108
  * @param {[number, number, number]} hcl HCL color
@@ -110,14 +110,14 @@ export declare function labToHcl([l, a, b]: [number, number, number]): [number,
110
110
  */
111
111
  export declare function hclToLab([h, c, l]: [number, number, number]): [number, number, number];
112
112
  /**
113
- * Converts LAB color to RGB
113
+ * Converts LAB to RGB
114
114
  *
115
115
  * @param {[number, number, number]} lab LAB color
116
116
  * @returns {[number, number, number]} RGB color
117
117
  */
118
118
  export declare function labToRgb([l, a, b]: [number, number, number]): [number, number, number];
119
119
  /**
120
- * Converts RGB color to Lab color
120
+ * Converts RGB to LAB
121
121
  *
122
122
  * @param {[number, number, number]} rgb RGB color
123
123
  * @returns {[number, number, number]} LAB color
@@ -132,14 +132,14 @@ export declare function rgbToLab([r, g, b]: [number, number, number]): [number,
132
132
  */
133
133
  export declare function deltaE(labA: [number, number, number], labB: [number, number, number]): number;
134
134
  /**
135
- * Converts RGB color to HCL color
135
+ * Convert RGB to HCL
136
136
  *
137
137
  * @param {[number, number, number]} rgb RGB color
138
138
  * @returns {[number, number, number]} HCL color
139
139
  */
140
140
  export declare function rgbToHcl([r, g, b]: [number, number, number]): [number, number, number];
141
141
  /**
142
- * Converts HCL color to RGB color
142
+ * Converts HCL to RGB
143
143
  *
144
144
  * @param {[number, number, number]} hcl RGB color
145
145
  * @returns {[number, number, number]} RGB color
package/lib/colors.js CHANGED
@@ -7,7 +7,7 @@ var maths_1 = require("./maths");
7
7
  // RGB & Hexadecimal color spaces
8
8
  // ******************************************
9
9
  /**
10
- * Normalize hexadecimal string
10
+ * Normalize an hexadecimal string
11
11
  *
12
12
  * @param {string} hex Hexadecimal string
13
13
  * @returns {string} Normalized hexadecimal string
@@ -32,7 +32,7 @@ function normalizeHexString(hex) {
32
32
  }
33
33
  exports.normalizeHexString = normalizeHexString;
34
34
  /**
35
- * Convert RGB color to hexadecimal
35
+ * Convert RGB to hexadecimal
36
36
  * Note: rgb values are contained in the interval [0, 1]
37
37
  *
38
38
  * @param {[number, number, number]} rgb RGB color
@@ -44,7 +44,7 @@ function rgbToHex(_a) {
44
44
  }
45
45
  exports.rgbToHex = rgbToHex;
46
46
  /**
47
- * Convert RGB color to hexadecimal string
47
+ * Convert RGB to hexadecimal string
48
48
  * Note: rgb values are contained in the interval [0, 1]
49
49
  *
50
50
  * @param {[number, number, number]} rgb RGB color
@@ -60,7 +60,7 @@ function rgbToHexString(_a) {
60
60
  }
61
61
  exports.rgbToHexString = rgbToHexString;
62
62
  /**
63
- * Convert hexadecimal color to RGB
63
+ * Convert hexadecimal to RGB
64
64
  * Note: rgb values are contained in the interval [0, 1]
65
65
  *
66
66
  * @param {(number|string)} hex Hexadecimal color
@@ -124,7 +124,7 @@ exports.darken = darken;
124
124
  // RGB & Hue-Saturation-Lightness (HSL) color spaces
125
125
  // ***************************************************
126
126
  /**
127
- * Normalize HSL string
127
+ * Normalize an HSL string
128
128
  * Note: hsl values are contained in the intervals H: [0, 360], S: [0, 1], L: [0, 1]
129
129
  *
130
130
  * @param {string} hsl HSL string (format: 'hsl(360, 100%, 100%)')
@@ -137,7 +137,7 @@ function normalizeHslString(hsl) {
137
137
  }
138
138
  exports.normalizeHslString = normalizeHslString;
139
139
  /**
140
- * Convert RGB color to HSL color
140
+ * Convert RGB to HSL
141
141
  * Notes:
142
142
  * - rgb values are contained in the interval [0, 1]
143
143
  * - hsl values are contained in the intervals H: [0, 360], S: [0, 1], L: [0, 1]
@@ -158,7 +158,7 @@ function rgbToHsl(_a) {
158
158
  }
159
159
  exports.rgbToHsl = rgbToHsl;
160
160
  /**
161
- * Convert HSL color to RGB color
161
+ * Convert HSL to RGB
162
162
  * Notes:
163
163
  * - rgb values are contained in the interval [0, 1]
164
164
  * - hsl values are contained in the intervals H: [0, 360], S: [0, 1], L: [0, 1]
@@ -178,7 +178,7 @@ exports.hslToRgb = hslToRgb;
178
178
  // RGB & Hue-Saturation-Brightness (HSB) color spaces
179
179
  // ***************************************************
180
180
  /**
181
- * Convert RGB color to HSB color
181
+ * Convert RGB to HSB
182
182
  * Notes:
183
183
  * - rgb values are contained in the interval [0, 1]
184
184
  * - hsb values are contained in the intervals H: [0, 360], S: [0, 1], B: [0, 1]
@@ -196,7 +196,7 @@ function rgbToHsb(_a) {
196
196
  }
197
197
  exports.rgbToHsb = rgbToHsb;
198
198
  /**
199
- * Convert HSB color to RGB color
199
+ * Convert HSB to RGB
200
200
  * Notes:
201
201
  * - rgb values are contained in the interval [0, 1]
202
202
  * - hsb values are contained in the intervals H: [0, 360], S: [0, 1], B: [0, 1]
@@ -215,7 +215,7 @@ exports.hsbToRgb = hsbToRgb;
215
215
  // LAB & Hue-Chroma-Luminance (HCL) color spaces
216
216
  // *********************************************
217
217
  /**
218
- * Convert LAB color space to HCL color
218
+ * Convert LAB to HCL
219
219
  * -> http://www.brucelindbloom.com/index.html?Eqn_Lab_to_LCH.html
220
220
  *
221
221
  * @param {[number, number, number]} lab LAB color
@@ -229,7 +229,7 @@ function labToHcl(_a) {
229
229
  }
230
230
  exports.labToHcl = labToHcl;
231
231
  /**
232
- * Convert HCL color space color space to LAB color
232
+ * Convert HCL to LAB
233
233
  * -> http://www.brucelindbloom.com/index.html?Eqn_LCH_to_Lab.html
234
234
  *
235
235
  * @param {[number, number, number]} hcl HCL color
@@ -243,7 +243,7 @@ function hclToLab(_a) {
243
243
  }
244
244
  exports.hclToLab = hclToLab;
245
245
  /**
246
- * Convert A and B of LAB color to Hue of LCH color
246
+ * Convert A and B of LAB to Hue of LCH
247
247
  * -> https://stackoverflow.com/questions/53733379/conversion-of-cielab-to-cielchab-not-yielding-correct-result
248
248
  *
249
249
  * @param {number} a A value of LAB color
@@ -283,7 +283,7 @@ var f2 = function (v) { return (v > 0.0031308 ? 1.055 * Math.pow(v, 1 / 2.4) - 0
283
283
  var f3 = function (v) { return (v > 0.04045 ? Math.pow((v + 0.055) / 1.055, 2.4) : v / 12.92); };
284
284
  var f4 = function (v) { return (v > 0.008856 ? Math.pow(v, 1 / 3) : 7.787 * v + 16 / 116); };
285
285
  /**
286
- * Converts LAB color to RGB
286
+ * Converts LAB to RGB
287
287
  *
288
288
  * @param {[number, number, number]} lab LAB color
289
289
  * @returns {[number, number, number]} RGB color
@@ -304,7 +304,7 @@ function labToRgb(_a) {
304
304
  }
305
305
  exports.labToRgb = labToRgb;
306
306
  /**
307
- * Converts RGB color to Lab color
307
+ * Converts RGB to LAB
308
308
  *
309
309
  * @param {[number, number, number]} rgb RGB color
310
310
  * @returns {[number, number, number]} LAB color
@@ -349,7 +349,7 @@ exports.deltaE = deltaE;
349
349
  // RGB & Hue-Chroma-Luminance (HCL) color spaces
350
350
  // *********************************************
351
351
  /**
352
- * Converts RGB color to HCL color
352
+ * Convert RGB to HCL
353
353
  *
354
354
  * @param {[number, number, number]} rgb RGB color
355
355
  * @returns {[number, number, number]} HCL color
@@ -360,7 +360,7 @@ function rgbToHcl(_a) {
360
360
  }
361
361
  exports.rgbToHcl = rgbToHcl;
362
362
  /**
363
- * Converts HCL color to RGB color
363
+ * Converts HCL to RGB
364
364
  *
365
365
  * @param {[number, number, number]} hcl RGB color
366
366
  * @returns {[number, number, number]} RGB color
package/lib/constants.js CHANGED
@@ -10,7 +10,7 @@ exports.TWO_PI = Math.PI * 2;
10
10
  exports.HALF_PI = Math.PI / 2;
11
11
  exports.QUARTER_PI = Math.PI / 4;
12
12
  // *********************
13
- // Color
13
+ // Colors
14
14
  // *********************
15
15
  // X11 colors
16
16
  // -> https://www.w3.org/TR/css-color-3/#svg-color
package/lib/dom.d.ts CHANGED
@@ -18,7 +18,7 @@ export declare function createCanvas(width: number, height: number): {
18
18
  ctx: CanvasRenderingContext2D;
19
19
  };
20
20
  /**
21
- * Inject CSS style in `document.head`
21
+ * Inject CSS styles in `document.head`
22
22
  *
23
23
  * @param {string} cssContent CSS style to inject
24
24
  */
package/lib/dom.js CHANGED
@@ -37,7 +37,7 @@ function createCanvas(width, height) {
37
37
  }
38
38
  exports.createCanvas = createCanvas;
39
39
  /**
40
- * Inject CSS style in `document.head`
40
+ * Inject CSS styles in `document.head`
41
41
  *
42
42
  * @param {string} cssContent CSS style to inject
43
43
  */
package/lib/geometry.d.ts CHANGED
@@ -24,7 +24,7 @@ export declare function toRadians(degrees: number): number;
24
24
  */
25
25
  export declare function angle(x1: number, y1: number, x2: number, y2: number): number;
26
26
  /**
27
- * Find the closest angle betwween to angles
27
+ * Find the closest angle between to angles
28
28
  *
29
29
  * @param {number} source Source angle in radians
30
30
  * @param {number} target Target angle in radians
package/lib/geometry.js CHANGED
@@ -36,7 +36,7 @@ function angle(x1, y1, x2, y2) {
36
36
  }
37
37
  exports.angle = angle;
38
38
  /**
39
- * Find the closest angle betwween to angles
39
+ * Find the closest angle between to angles
40
40
  *
41
41
  * @param {number} source Source angle in radians
42
42
  * @param {number} target Target angle in radians
package/lib/maths.d.ts CHANGED
@@ -20,7 +20,7 @@ export declare function isOdd(value: number): boolean;
20
20
  */
21
21
  export declare function isPowerOf2(value: number): boolean;
22
22
  /**
23
- * Find smallest/closest power of 2 that fits a number
23
+ * Find closest power of 2 that fits a number
24
24
  *
25
25
  * @param {number} value Incoming value
26
26
  * @param {string} [mode='ceil'] Can be 'floor' | 'ceil' | 'round'
package/lib/maths.js CHANGED
@@ -32,7 +32,7 @@ function isPowerOf2(value) {
32
32
  }
33
33
  exports.isPowerOf2 = isPowerOf2;
34
34
  /**
35
- * Find smallest/closest power of 2 that fits a number
35
+ * Find closest power of 2 that fits a number
36
36
  *
37
37
  * @param {number} value Incoming value
38
38
  * @param {string} [mode='ceil'] Can be 'floor' | 'ceil' | 'round'
package/lib/random.d.ts CHANGED
@@ -1,20 +1,20 @@
1
1
  import { Vector2, Vector3 } from './types';
2
2
  /**
3
- * Generate random boolean (true or false)
3
+ * Generate a random boolean (true or false)
4
4
  *
5
5
  * @param {number} [probability=0.5] Probability to get true
6
6
  * @returns {boolean} Either true or false
7
7
  */
8
8
  export declare function randomBoolean(probability?: number): boolean;
9
9
  /**
10
- * Generate random sign (1 or -1)
10
+ * Generate a random sign (1 or -1)
11
11
  *
12
12
  * @param {number} [probability=0.5] Probability to get 1
13
13
  * @returns {number} Either 1 or -1
14
14
  */
15
15
  export declare function randomSign(probability?: number): number;
16
16
  /**
17
- * Generate a random float
17
+ * Generate a random float number
18
18
  *
19
19
  * @param {number} [min=0] Minimum boundary
20
20
  * @param {number} [max=1] Maximum boundary
@@ -23,7 +23,7 @@ export declare function randomSign(probability?: number): number;
23
23
  */
24
24
  export declare function randomFloat(min?: number, max?: number, precision?: number): number;
25
25
  /**
26
- * Generate a random integer
26
+ * Generate a random integer number
27
27
  *
28
28
  * @param {number} min Minimum boundary
29
29
  * @param {number} max Maximum boundary
@@ -39,17 +39,19 @@ export declare function randomHexColor(): string;
39
39
  /**
40
40
  * Pick a random item from an array
41
41
  *
42
- * @param {I[]} [array=[]] Array to pick the item from
43
- * @returns {I|undefined} Random item picked
42
+ * @param {T[]} [array=[]] Array to pick the item from
43
+ * @returns {T|undefined} Random item picked
44
44
  */
45
- export declare function randomItem<I = unknown>(array?: I[]): I | undefined;
45
+ export declare function randomItem<T = unknown>(array?: T[]): T | undefined;
46
46
  /**
47
47
  * Pick a random property from an object
48
48
  *
49
- * @param {object} [object={}] Object to pick the property from
49
+ * @param {object} object Object to pick the property from
50
50
  * @returns {unknown|undefined} Random item picked
51
51
  */
52
- export declare function randomObjectProperty(object?: object): unknown | undefined;
52
+ export declare function randomObjectProperty<T = unknown>(object: {
53
+ [key: string]: T;
54
+ }): T | undefined;
53
55
  /**
54
56
  * Return a random index from an array of weights
55
57
  *
package/lib/random.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.insideSphere = exports.onSphere = exports.insideCircle = exports.onCircle = exports.randomIndex = exports.randomObjectProperty = exports.randomItem = exports.randomHexColor = exports.randomInt = exports.randomFloat = exports.randomSign = exports.randomBoolean = void 0;
4
4
  var geometry_1 = require("./geometry");
5
5
  /**
6
- * Generate random boolean (true or false)
6
+ * Generate a random boolean (true or false)
7
7
  *
8
8
  * @param {number} [probability=0.5] Probability to get true
9
9
  * @returns {boolean} Either true or false
@@ -14,7 +14,7 @@ function randomBoolean(probability) {
14
14
  }
15
15
  exports.randomBoolean = randomBoolean;
16
16
  /**
17
- * Generate random sign (1 or -1)
17
+ * Generate a random sign (1 or -1)
18
18
  *
19
19
  * @param {number} [probability=0.5] Probability to get 1
20
20
  * @returns {number} Either 1 or -1
@@ -25,7 +25,7 @@ function randomSign(probability) {
25
25
  }
26
26
  exports.randomSign = randomSign;
27
27
  /**
28
- * Generate a random float
28
+ * Generate a random float number
29
29
  *
30
30
  * @param {number} [min=0] Minimum boundary
31
31
  * @param {number} [max=1] Maximum boundary
@@ -40,7 +40,7 @@ function randomFloat(min, max, precision) {
40
40
  }
41
41
  exports.randomFloat = randomFloat;
42
42
  /**
43
- * Generate a random integer
43
+ * Generate a random integer number
44
44
  *
45
45
  * @param {number} min Minimum boundary
46
46
  * @param {number} max Maximum boundary
@@ -62,8 +62,8 @@ exports.randomHexColor = randomHexColor;
62
62
  /**
63
63
  * Pick a random item from an array
64
64
  *
65
- * @param {I[]} [array=[]] Array to pick the item from
66
- * @returns {I|undefined} Random item picked
65
+ * @param {T[]} [array=[]] Array to pick the item from
66
+ * @returns {T|undefined} Random item picked
67
67
  */
68
68
  function randomItem(array) {
69
69
  if (array === void 0) { array = []; }
@@ -75,11 +75,10 @@ exports.randomItem = randomItem;
75
75
  /**
76
76
  * Pick a random property from an object
77
77
  *
78
- * @param {object} [object={}] Object to pick the property from
78
+ * @param {object} object Object to pick the property from
79
79
  * @returns {unknown|undefined} Random item picked
80
80
  */
81
81
  function randomObjectProperty(object) {
82
- if (object === void 0) { object = {}; }
83
82
  var keys = Object.keys(object);
84
83
  var key = randomItem(keys);
85
84
  if (key && object.hasOwnProperty(key)) {
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/constants.ts","../src/types.ts","../src/geometry.ts","../src/maths.ts","../src/colors.ts","../src/dom.ts","../src/files.ts","../src/functions.ts","../src/now.ts","../src/random.ts","../src/strings.ts","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"21e41a76098aa7a191028256e52a726baafd45a925ea5cf0222eb430c96c1d83","affectsGlobalScope":true},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"c10f64b494e9a37f8bd983e874a03a17670d8405d98c7a065821921c545a48f7","signature":"8375cf161a0f21acd9ff0b3bc4c00780dfdfe6b508f312dd839702d8c4251c68"},{"version":"223745a7683ea5a3522e0d6419b0e639e10e5408aff27b86568901fef768f591","signature":"50c69a2b59e87e2aebdd6294b41cf6d9896ce198d05b4c1691d832a48c5393f4"},{"version":"cc859cf585321ba13306b886bcf6970f5745db282e886226da571d148fdcbb46","signature":"600074017fd954caf6d25d3111edb02aaa24bd91074d928cd02a2d713d6ea757"},{"version":"bcbd63cc0e57b35308858e624267b68ee6d9c9d02cb0a2d847fad074a33efd30","signature":"0ee705cedd747b89444ca301c710e45a43fa2f46be6eee021c204e677485b2da"},{"version":"6a7bca3c2a73ac500fce173f0af0491cd3dbb8c80196fa39dab02a47ac91fc95","signature":"3510aeb3423ac8b327be41d4bbd7cb499f66d8e0fbeb9066602a7436dbc45d51"},{"version":"5fca568d9fe91b3c1d6928a962bd8874ceaad50d8ce7355efb333dfc9e7b087a","signature":"3de595b5b4fe6c50f526b62dc9536c54ba6f97f7c7652d5730914de3be6cdaac"},{"version":"cdac34b1bfa8c5301a99aae634399581b07d441a342b2e99af272efacd28bf33","signature":"aefd19e3ecee790394b8e83bef9e0edb96417d603367ac43459bebad63de0048"},{"version":"704ae5b207e9e2554a1fbfea2e5055d23a1e9735819c868ccf7935d05080bfc8","signature":"7a629cbd546b33944f330f69db11c17a1121dad8ba23b6d232ff8c5d9ef28e58"},{"version":"07b66ab5b8a992f40130fe16efd6874a337ea4a651762bd169181ad15043ee1d","signature":"d43b3a78108cb3511d734b51e03e24ac5dc922e9791dded3ded9dc567629c838"},{"version":"52cbd1c8d55a99cb3f58c09f4537890345baba3e4913a0afcd962ac8916ed799","signature":"661d17747fcf18e933f4f73cea2589d144d39499e7686abb665335f6b01ddeab"},{"version":"7ff1ac0e7aebca773d04dda761bca41d14320e0622ef69f6f2447e7b000f4fa7","signature":"399d115998e6ee77790354467a58babe1c7ee7caba7eed1bf471f4ec8a9a365f"},{"version":"3471de7852d822a29c5c4ec7fa12cd5bc88efeacd43814e226cd937b2cb45bb3","signature":"f900f5b11bddbfb5972a0845bc2abab3ac1476b82282a43c7cd99db84fefbd5f"},"efc7d584a33fe3422847783d228f315c4cd1afe74bd7cf8e3f0e4c1125129fef","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"e2eb1ce13a9c0fa7ab62c63909d81973ef4b707292667c64f1e25e6e53fa7afa","affectsGlobalScope":true},"16d74fe4d8e183344d3beb15d48b123c5980ff32ff0cc8c3b96614ddcdf9b239","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"41fb2a1c108fbf46609ce5a451b7ec78eb9b5ada95fd5b94643e4b26397de0b3","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"a1d2988ad9d2aef7b9915a22b5e52c165c83a878f2851c35621409046bbe3c05","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","8806ae97308ef26363bd7ec8071bca4d07fb575f905ee3d8a91aff226df6d618","af5bf1db6f1804fb0069039ae77a05d60133c77a2158d9635ea27b6bb2828a8f","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"7ae9dc7dbb58cd843065639707815df85c044babaa0947116f97bdb824d07204","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","313a0b063f5188037db113509de1b934a0e286f14e9479af24fada241435e707","f1ace2d2f98429e007d017c7a445efad2aaebf8233135abdb2c88b8c0fef91ab","87ef1a23caa071b07157c72077fa42b86d30568f9dc9e31eed24d5d14fc30ba8","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"0666f4c99b8688c7be5956df8fecf5d1779d3b22f8f2a88258ae7072c7b6026f","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7424817d5eb498771e6d1808d726ec38f75d2eaf3fa359edd5c0c540c52725c1","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","37dc027f781c75f0f546e329cfac7cf92a6b289f42458f47a9adc25e516b6839",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447"],"root":[[49,60]],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":1},"fileIdsList":[[61],[96],[97,102,130],[98,109,110,117,127,138],[98,99,109,117],[100,139],[101,102,110,118],[102,127,135],[103,105,109,117],[96,104],[105,106],[109],[107,109],[96,109],[109,110,111,127,138],[109,110,111,124,127,130],[94,97,143],[105,109,112,117,127,138],[109,110,112,113,117,127,135,138],[112,114,127,135,138],[61,62,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],[109,115],[116,138,143],[105,109,117,127],[118],[119],[96,120],[121,137,143],[122],[123],[109,124,125],[124,126,139,141],[97,109,127,128,129,130],[97,127,129],[127,128],[130],[131],[96,127],[109,133,134],[133,134],[102,117,127,135],[136],[117,137],[97,112,123,138],[102,139],[127,140],[116,141],[142],[97,102,109,111,120,127,138,141,143],[127,144],[71,75,138],[71,127,138],[66],[68,71,135,138],[117,135],[146],[66,146],[68,71,117,138],[63,64,67,70,97,109,127,138],[63,69],[67,71,97,130,138,146],[97,146],[87,97,146],[65,66,146],[71],[65,66,67,68,69,70,71,72,73,75,76,77,78,79,80,81,82,83,84,85,86,88,89,90,91,92,93],[71,78,79],[69,71,79,80],[70],[63,66,71],[71,75,79,80],[75],[69,71,74,138],[63,68,69,71,75,78],[97,127],[66,71,87,97,143,146],[51,52],[50],[49,50],[49,50,51,52,53,54,55,56,57,58,59],[50,51]],"referencedMap":[[61,1],[62,1],[96,2],[97,3],[98,4],[99,5],[100,6],[101,7],[102,8],[103,9],[104,10],[105,11],[106,11],[108,12],[107,13],[109,14],[110,15],[111,16],[95,17],[112,18],[113,19],[114,20],[146,21],[115,22],[116,23],[117,24],[118,25],[119,26],[120,27],[121,28],[122,29],[123,30],[124,31],[125,31],[126,32],[127,33],[129,34],[128,35],[130,36],[131,37],[132,38],[133,39],[134,40],[135,41],[136,42],[137,43],[138,44],[139,45],[140,46],[141,47],[142,48],[143,49],[144,50],[78,51],[85,52],[77,51],[92,53],[69,54],[68,55],[91,56],[86,57],[89,58],[71,59],[70,60],[66,61],[65,62],[88,63],[67,64],[72,65],[76,65],[94,66],[93,65],[80,67],[81,68],[83,69],[79,70],[82,71],[87,56],[74,72],[75,73],[84,74],[64,75],[90,76],[53,77],[56,78],[51,79],[60,80],[58,81]],"exportedModulesMap":[[61,1],[62,1],[96,2],[97,3],[98,4],[99,5],[100,6],[101,7],[102,8],[103,9],[104,10],[105,11],[106,11],[108,12],[107,13],[109,14],[110,15],[111,16],[95,17],[112,18],[113,19],[114,20],[146,21],[115,22],[116,23],[117,24],[118,25],[119,26],[120,27],[121,28],[122,29],[123,30],[124,31],[125,31],[126,32],[127,33],[129,34],[128,35],[130,36],[131,37],[132,38],[133,39],[134,40],[135,41],[136,42],[137,43],[138,44],[139,45],[140,46],[141,47],[142,48],[143,49],[144,50],[78,51],[85,52],[77,51],[92,53],[69,54],[68,55],[91,56],[86,57],[89,58],[71,59],[70,60],[66,61],[65,62],[88,63],[67,64],[72,65],[76,65],[94,66],[93,65],[80,67],[81,68],[83,69],[79,70],[82,71],[87,56],[74,72],[75,73],[84,74],[64,75],[90,76],[56,78],[51,78],[60,80],[58,78]],"semanticDiagnosticsPerFile":[61,62,96,97,98,99,100,101,102,103,104,105,106,108,107,109,110,111,95,145,112,113,114,146,115,116,117,118,119,120,121,122,123,124,125,126,127,129,128,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,1,47,48,9,13,12,3,14,15,16,17,18,19,20,21,4,5,22,26,23,24,25,27,28,29,6,30,31,32,33,7,37,34,35,36,38,8,39,44,45,40,41,42,43,2,46,11,10,78,85,77,92,69,68,91,86,89,71,70,66,65,88,67,72,73,76,63,94,93,80,81,83,79,82,87,74,75,84,64,90,53,49,54,55,56,51,60,52,57,58,59,50]},"version":"5.3.3"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/constants.ts","../src/types.ts","../src/geometry.ts","../src/maths.ts","../src/colors.ts","../src/dom.ts","../src/files.ts","../src/functions.ts","../src/now.ts","../src/random.ts","../src/strings.ts","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c",{"version":"21e41a76098aa7a191028256e52a726baafd45a925ea5cf0222eb430c96c1d83","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"4350e5922fecd4bedda2964d69c213a1436349d0b8d260dd902795f5b94dc74b","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"63d92ffc88c1fd594e129330ee5483405f0df686376109c795c1f5ffbed67d20","signature":"8375cf161a0f21acd9ff0b3bc4c00780dfdfe6b508f312dd839702d8c4251c68"},{"version":"223745a7683ea5a3522e0d6419b0e639e10e5408aff27b86568901fef768f591","signature":"50c69a2b59e87e2aebdd6294b41cf6d9896ce198d05b4c1691d832a48c5393f4"},{"version":"b18cd721a8c7dfc1decb4e5ebde48a57422d21b9ab3250501c50003a78be9bf8","signature":"51e76d676168088acb79eb32528697cbd46f43773203083ffe1a53051e171d26"},{"version":"782fc6be3ef0bc29c02b4bb7931db5c8088426649643db716a55ea1050cdf857","signature":"53dbad5517f4a965fc1d32da22ddc29c6a0092e60c94f7a75d646e792666077f"},{"version":"362acc35e1e3e5b5534124795a01f5b652c7cd9084ecfb7b4c70e976048f7cc4","signature":"14b1a5bb7cf0d1db0db59d3ad7bda930dfc787f77e4a143694a11c006b49cc25"},{"version":"a54561f0759b8a804db0bccd5c3fdf0ac447ebd832ad45dd9cafbeb48d4f8ac2","signature":"726ce8e6ad62a204adb42e4d71f0c2062448e238964cd9ed078dfa224605f1bd"},{"version":"cdac34b1bfa8c5301a99aae634399581b07d441a342b2e99af272efacd28bf33","signature":"aefd19e3ecee790394b8e83bef9e0edb96417d603367ac43459bebad63de0048"},{"version":"704ae5b207e9e2554a1fbfea2e5055d23a1e9735819c868ccf7935d05080bfc8","signature":"7a629cbd546b33944f330f69db11c17a1121dad8ba23b6d232ff8c5d9ef28e58"},{"version":"07b66ab5b8a992f40130fe16efd6874a337ea4a651762bd169181ad15043ee1d","signature":"d43b3a78108cb3511d734b51e03e24ac5dc922e9791dded3ded9dc567629c838"},{"version":"0d8d8eb2f3dc4aea08c57e05a4e5beea925abf4719fcac839fedb12baa51b918","signature":"23ed070f2179213ca6ecbb615b14d105cbe287c953a3da621c938e1bb31794d2"},{"version":"7ff1ac0e7aebca773d04dda761bca41d14320e0622ef69f6f2447e7b000f4fa7","signature":"399d115998e6ee77790354467a58babe1c7ee7caba7eed1bf471f4ec8a9a365f"},{"version":"9fd470bde71cb6ca9be198102d6a197646a9cecad06748c21b32435897339271","signature":"f900f5b11bddbfb5972a0845bc2abab3ac1476b82282a43c7cd99db84fefbd5f"},"efc7d584a33fe3422847783d228f315c4cd1afe74bd7cf8e3f0e4c1125129fef","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"e2eb1ce13a9c0fa7ab62c63909d81973ef4b707292667c64f1e25e6e53fa7afa","affectsGlobalScope":true},"16d74fe4d8e183344d3beb15d48b123c5980ff32ff0cc8c3b96614ddcdf9b239","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"41fb2a1c108fbf46609ce5a451b7ec78eb9b5ada95fd5b94643e4b26397de0b3","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"a1d2988ad9d2aef7b9915a22b5e52c165c83a878f2851c35621409046bbe3c05","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","8806ae97308ef26363bd7ec8071bca4d07fb575f905ee3d8a91aff226df6d618","af5bf1db6f1804fb0069039ae77a05d60133c77a2158d9635ea27b6bb2828a8f","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"7ae9dc7dbb58cd843065639707815df85c044babaa0947116f97bdb824d07204","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","313a0b063f5188037db113509de1b934a0e286f14e9479af24fada241435e707","f1ace2d2f98429e007d017c7a445efad2aaebf8233135abdb2c88b8c0fef91ab","87ef1a23caa071b07157c72077fa42b86d30568f9dc9e31eed24d5d14fc30ba8","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"0666f4c99b8688c7be5956df8fecf5d1779d3b22f8f2a88258ae7072c7b6026f","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7424817d5eb498771e6d1808d726ec38f75d2eaf3fa359edd5c0c540c52725c1","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","37dc027f781c75f0f546e329cfac7cf92a6b289f42458f47a9adc25e516b6839",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447"],"root":[[65,76]],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":1},"fileIdsList":[[77],[112],[113,118,146],[114,125,126,133,143,154],[114,115,125,133],[116,155],[117,118,126,134],[118,143,151],[119,121,125,133],[112,120],[121,122],[125],[123,125],[112,125],[125,126,127,143,154],[125,126,127,140,143,146],[110,113,159],[121,125,128,133,143,154],[125,126,128,129,133,143,151,154],[128,130,143,151,154],[77,78,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161],[125,131],[132,154,159],[121,125,133,143],[134],[135],[112,136],[137,153,159],[138],[139],[125,140,141],[140,142,155,157],[113,125,143,144,145,146],[113,143,145],[143,144],[146],[147],[112,143],[125,149,150],[149,150],[118,133,143,151],[152],[133,153],[113,128,139,154],[118,155],[143,156],[132,157],[158],[113,118,125,127,136,143,154,157,159],[143,160],[87,91,154],[87,143,154],[82],[84,87,151,154],[133,151],[162],[82,162],[84,87,133,154],[79,80,83,86,113,125,143,154],[79,85],[83,87,113,146,154,162],[113,162],[103,113,162],[81,82,162],[87],[81,82,83,84,85,86,87,88,89,91,92,93,94,95,96,97,98,99,100,101,102,104,105,106,107,108,109],[87,94,95],[85,87,95,96],[86],[79,82,87],[87,91,95,96],[91],[85,87,90,154],[79,84,85,87,91,94],[113,143],[82,87,103,113,159,162],[67,68],[66],[65,66],[65,66,67,68,69,70,71,72,73,74,75],[66,67]],"referencedMap":[[77,1],[78,1],[112,2],[113,3],[114,4],[115,5],[116,6],[117,7],[118,8],[119,9],[120,10],[121,11],[122,11],[124,12],[123,13],[125,14],[126,15],[127,16],[111,17],[128,18],[129,19],[130,20],[162,21],[131,22],[132,23],[133,24],[134,25],[135,26],[136,27],[137,28],[138,29],[139,30],[140,31],[141,31],[142,32],[143,33],[145,34],[144,35],[146,36],[147,37],[148,38],[149,39],[150,40],[151,41],[152,42],[153,43],[154,44],[155,45],[156,46],[157,47],[158,48],[159,49],[160,50],[94,51],[101,52],[93,51],[108,53],[85,54],[84,55],[107,56],[102,57],[105,58],[87,59],[86,60],[82,61],[81,62],[104,63],[83,64],[88,65],[92,65],[110,66],[109,65],[96,67],[97,68],[99,69],[95,70],[98,71],[103,56],[90,72],[91,73],[100,74],[80,75],[106,76],[69,77],[72,78],[67,79],[76,80],[74,81]],"exportedModulesMap":[[77,1],[78,1],[112,2],[113,3],[114,4],[115,5],[116,6],[117,7],[118,8],[119,9],[120,10],[121,11],[122,11],[124,12],[123,13],[125,14],[126,15],[127,16],[111,17],[128,18],[129,19],[130,20],[162,21],[131,22],[132,23],[133,24],[134,25],[135,26],[136,27],[137,28],[138,29],[139,30],[140,31],[141,31],[142,32],[143,33],[145,34],[144,35],[146,36],[147,37],[148,38],[149,39],[150,40],[151,41],[152,42],[153,43],[154,44],[155,45],[156,46],[157,47],[158,48],[159,49],[160,50],[94,51],[101,52],[93,51],[108,53],[85,54],[84,55],[107,56],[102,57],[105,58],[87,59],[86,60],[82,61],[81,62],[104,63],[83,64],[88,65],[92,65],[110,66],[109,65],[96,67],[97,68],[99,69],[95,70],[98,71],[103,56],[90,72],[91,73],[100,74],[80,75],[106,76],[72,78],[67,78],[76,80],[74,78]],"semanticDiagnosticsPerFile":[77,78,112,113,114,115,116,117,118,119,120,121,122,124,123,125,126,127,111,161,128,129,130,162,131,132,133,134,135,136,137,138,139,140,141,142,143,145,144,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,63,64,12,14,13,2,15,16,17,18,19,20,21,22,3,4,23,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,59,10,1,11,62,61,60,94,101,93,108,85,84,107,102,105,87,86,82,81,104,83,88,89,92,79,110,109,96,97,99,95,98,103,90,91,100,80,106,69,65,70,71,72,67,76,68,73,74,75,66]},"version":"5.3.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toosoon-utils",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Utility functions",
5
5
  "main": "./lib/index.js",
6
6
  "scripts": {
package/src/random.ts CHANGED
@@ -56,10 +56,10 @@ export function randomHexColor(): string {
56
56
  /**
57
57
  * Pick a random item from an array
58
58
  *
59
- * @param {I[]} [array=[]] Array to pick the item from
60
- * @returns {I|undefined} Random item picked
59
+ * @param {T[]} [array=[]] Array to pick the item from
60
+ * @returns {T|undefined} Random item picked
61
61
  */
62
- export function randomItem<I = unknown>(array: I[] = []): I | undefined {
62
+ export function randomItem<T = unknown>(array: T[] = []): T | undefined {
63
63
  if (array.length === 0) return undefined;
64
64
  return array[randomInt(0, array.length - 1)];
65
65
  }
@@ -70,7 +70,7 @@ export function randomItem<I = unknown>(array: I[] = []): I | undefined {
70
70
  * @param {object} object Object to pick the property from
71
71
  * @returns {unknown|undefined} Random item picked
72
72
  */
73
- export function randomObjectProperty(object: object): unknown | undefined {
73
+ export function randomObjectProperty<T = unknown>(object: { [key: string]: T }): T | undefined {
74
74
  const keys = Object.keys(object);
75
75
  const key = randomItem(keys);
76
76
  if (key && object.hasOwnProperty(key)) {
package/tsconfig.json CHANGED
@@ -4,8 +4,9 @@
4
4
  "compilerOptions": {
5
5
  "baseUrl": ".",
6
6
  "outDir": "lib",
7
- "target": "es5",
8
- "module": "commonjs",
7
+ "target": "ES5",
8
+ "module": "CommonJS",
9
+ "lib": ["DOM", "ESNext"],
9
10
  "allowJs": true,
10
11
  "allowSyntheticDefaultImports": true,
11
12
  "declaration": true,