@slicemachine/init 2.9.3-dev-next-release.3 → 2.9.3-dev-environments.6
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/dist/SliceMachineInitProcess.cjs +2 -8
- package/dist/SliceMachineInitProcess.cjs.map +1 -1
- package/dist/SliceMachineInitProcess.js +2 -8
- package/dist/SliceMachineInitProcess.js.map +1 -1
- package/dist/_node_modules/@babel/code-frame/lib/index.cjs +2 -2
- package/dist/_node_modules/@babel/code-frame/lib/index.js +2 -2
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +1 -1
- package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +1 -1
- package/dist/_node_modules/@babel/highlight/lib/index.cjs +3 -3
- package/dist/_node_modules/@babel/highlight/lib/index.js +3 -3
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.stat/out/index.js +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +1 -1
- package/dist/_node_modules/@nodelib/fs.walk/out/index.js +1 -1
- package/dist/_node_modules/cross-spawn/index.cjs +1 -1
- package/dist/_node_modules/cross-spawn/index.js +1 -1
- package/dist/_node_modules/dir-glob/index.cjs +2 -2
- package/dist/_node_modules/dir-glob/index.js +2 -2
- package/dist/_node_modules/fast-glob/out/index.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/index.js +1 -1
- package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/managers/tasks.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/filters/error.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +1 -1
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +1 -1
- package/dist/_node_modules/fast-glob/out/readers/async.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/readers/async.js +1 -1
- package/dist/_node_modules/fast-glob/out/readers/reader.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/reader.js +2 -2
- package/dist/_node_modules/fast-glob/out/readers/stream.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/stream.js +2 -2
- package/dist/_node_modules/fast-glob/out/readers/sync.cjs +2 -2
- package/dist/_node_modules/fast-glob/out/readers/sync.js +2 -2
- package/dist/_node_modules/fast-glob/out/utils/index.cjs +1 -1
- package/dist/_node_modules/fast-glob/out/utils/index.js +1 -1
- package/dist/_node_modules/get-stream/index.cjs +1 -1
- package/dist/_node_modules/get-stream/index.js +1 -1
- package/dist/_node_modules/hosted-git-info/index.cjs +1 -1
- package/dist/_node_modules/hosted-git-info/index.js +1 -1
- package/dist/_node_modules/js-tokens/index.cjs +1 -1
- package/dist/_node_modules/js-tokens/index.js +1 -1
- package/dist/_node_modules/lines-and-columns/build/index.cjs +1 -1
- package/dist/_node_modules/lines-and-columns/build/index.js +1 -1
- package/dist/_node_modules/map-obj/index.cjs +1 -1
- package/dist/_node_modules/map-obj/index.js +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/_node_modules/hosted-git-info/lib/index.cjs +1 -1
- package/dist/_node_modules/meow/_node_modules/normalize-package-data/_node_modules/hosted-git-info/lib/index.js +1 -1
- package/dist/_node_modules/parse-json/index.cjs +2 -2
- package/dist/_node_modules/parse-json/index.js +2 -2
- package/dist/_node_modules/path-key/index.cjs +1 -1
- package/dist/_node_modules/path-key/index.js +1 -1
- package/dist/_node_modules/path-type/index.cjs +1 -1
- package/dist/_node_modules/path-type/index.js +1 -1
- package/dist/_node_modules/signal-exit/index.cjs +1 -1
- package/dist/_node_modules/signal-exit/index.js +1 -1
- package/dist/_virtual/index10.cjs +2 -2
- package/dist/_virtual/index10.js +2 -2
- package/dist/_virtual/index11.cjs +2 -2
- package/dist/_virtual/index11.js +2 -2
- package/dist/_virtual/index12.cjs +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.cjs +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index15.cjs +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.cjs +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/_virtual/index17.cjs +2 -2
- package/dist/_virtual/index17.js +2 -2
- package/dist/_virtual/index18.cjs +2 -2
- package/dist/_virtual/index18.js +2 -2
- package/dist/_virtual/index19.cjs +2 -2
- package/dist/_virtual/index19.js +2 -2
- package/dist/_virtual/index3.cjs +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.cjs +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.cjs +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/_virtual/index6.cjs +2 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.cjs +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/index8.cjs +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/index9.cjs +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/packages/init/package.json.cjs +4 -5
- package/dist/packages/init/package.json.cjs.map +1 -1
- package/dist/packages/init/package.json.js +4 -5
- package/dist/packages/init/package.json.js.map +1 -1
- package/package.json +4 -5
- package/src/SliceMachineInitProcess.ts +2 -11
- package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.cjs +0 -89
- package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.cjs.map +0 -1
- package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.js +0 -90
- package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.js.map +0 -1
- package/dist/_node_modules/p-limit/index.cjs +0 -53
- package/dist/_node_modules/p-limit/index.cjs.map +0 -1
- package/dist/_node_modules/p-limit/index.js +0 -54
- package/dist/_node_modules/p-limit/index.js.map +0 -1
package/dist/_virtual/index7.js
CHANGED
package/dist/_virtual/index8.cjs
CHANGED
package/dist/_virtual/index8.js
CHANGED
package/dist/_virtual/index9.cjs
CHANGED
package/dist/_virtual/index9.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const name = "@slicemachine/init";
|
|
4
|
-
const version = "2.9.3-dev-
|
|
4
|
+
const version = "2.9.3-dev-environments.6";
|
|
5
5
|
const description = "Init Prismic Slice Machine in your project";
|
|
6
6
|
const keywords = [
|
|
7
7
|
"typescript",
|
|
@@ -55,7 +55,7 @@ const dependencies = {
|
|
|
55
55
|
"@antfu/ni": "^0.20.0",
|
|
56
56
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
57
57
|
"@sentry/node": "^7.70.0",
|
|
58
|
-
"@slicemachine/manager": "^0.15.4-dev-
|
|
58
|
+
"@slicemachine/manager": "^0.15.4-dev-environments.6",
|
|
59
59
|
chalk: "^4.1.2",
|
|
60
60
|
giget: "^1.1.2",
|
|
61
61
|
globby: "^13.1.3",
|
|
@@ -63,13 +63,12 @@ const dependencies = {
|
|
|
63
63
|
"log-symbols": "^4.1.0",
|
|
64
64
|
meow: "^11.0.0",
|
|
65
65
|
open: "^8.4.2",
|
|
66
|
-
"p-limit": "^4.0.0",
|
|
67
66
|
prompts: "^2.4.2",
|
|
68
67
|
semver: "^7.3.8"
|
|
69
68
|
};
|
|
70
69
|
const devDependencies = {
|
|
71
70
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
72
|
-
"@slicemachine/plugin-kit": "0.4.25-dev-
|
|
71
|
+
"@slicemachine/plugin-kit": "0.4.25-dev-environments.6",
|
|
73
72
|
"@types/listr": "0.14.4",
|
|
74
73
|
"@types/prompts": "2.4.3",
|
|
75
74
|
"@types/semver": "7.3.13",
|
|
@@ -95,7 +94,7 @@ const devDependencies = {
|
|
|
95
94
|
"vite-plugin-sdk": "0.1.1",
|
|
96
95
|
vitest: "0.32.0"
|
|
97
96
|
};
|
|
98
|
-
const gitHead = "
|
|
97
|
+
const gitHead = "e895971641c79079732517c027d761b4bc9cab61";
|
|
99
98
|
const pkg = {
|
|
100
99
|
name,
|
|
101
100
|
version,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.json.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "@slicemachine/init";
|
|
2
|
-
const version = "2.9.3-dev-
|
|
2
|
+
const version = "2.9.3-dev-environments.6";
|
|
3
3
|
const description = "Init Prismic Slice Machine in your project";
|
|
4
4
|
const keywords = [
|
|
5
5
|
"typescript",
|
|
@@ -53,7 +53,7 @@ const dependencies = {
|
|
|
53
53
|
"@antfu/ni": "^0.20.0",
|
|
54
54
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
55
55
|
"@sentry/node": "^7.70.0",
|
|
56
|
-
"@slicemachine/manager": "^0.15.4-dev-
|
|
56
|
+
"@slicemachine/manager": "^0.15.4-dev-environments.6",
|
|
57
57
|
chalk: "^4.1.2",
|
|
58
58
|
giget: "^1.1.2",
|
|
59
59
|
globby: "^13.1.3",
|
|
@@ -61,13 +61,12 @@ const dependencies = {
|
|
|
61
61
|
"log-symbols": "^4.1.0",
|
|
62
62
|
meow: "^11.0.0",
|
|
63
63
|
open: "^8.4.2",
|
|
64
|
-
"p-limit": "^4.0.0",
|
|
65
64
|
prompts: "^2.4.2",
|
|
66
65
|
semver: "^7.3.8"
|
|
67
66
|
};
|
|
68
67
|
const devDependencies = {
|
|
69
68
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
70
|
-
"@slicemachine/plugin-kit": "0.4.25-dev-
|
|
69
|
+
"@slicemachine/plugin-kit": "0.4.25-dev-environments.6",
|
|
71
70
|
"@types/listr": "0.14.4",
|
|
72
71
|
"@types/prompts": "2.4.3",
|
|
73
72
|
"@types/semver": "7.3.13",
|
|
@@ -93,7 +92,7 @@ const devDependencies = {
|
|
|
93
92
|
"vite-plugin-sdk": "0.1.1",
|
|
94
93
|
vitest: "0.32.0"
|
|
95
94
|
};
|
|
96
|
-
const gitHead = "
|
|
95
|
+
const gitHead = "e895971641c79079732517c027d761b4bc9cab61";
|
|
97
96
|
const pkg = {
|
|
98
97
|
name,
|
|
99
98
|
version,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slicemachine/init",
|
|
3
|
-
"version": "2.9.3-dev-
|
|
3
|
+
"version": "2.9.3-dev-environments.6",
|
|
4
4
|
"description": "Init Prismic Slice Machine in your project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@antfu/ni": "^0.20.0",
|
|
55
55
|
"@lihbr/listr-update-renderer": "^0.5.3",
|
|
56
56
|
"@sentry/node": "^7.70.0",
|
|
57
|
-
"@slicemachine/manager": "^0.15.4-dev-
|
|
57
|
+
"@slicemachine/manager": "^0.15.4-dev-environments.6",
|
|
58
58
|
"chalk": "^4.1.2",
|
|
59
59
|
"giget": "^1.1.2",
|
|
60
60
|
"globby": "^13.1.3",
|
|
@@ -62,13 +62,12 @@
|
|
|
62
62
|
"log-symbols": "^4.1.0",
|
|
63
63
|
"meow": "^11.0.0",
|
|
64
64
|
"open": "^8.4.2",
|
|
65
|
-
"p-limit": "^4.0.0",
|
|
66
65
|
"prompts": "^2.4.2",
|
|
67
66
|
"semver": "^7.3.8"
|
|
68
67
|
},
|
|
69
68
|
"devDependencies": {
|
|
70
69
|
"@size-limit/preset-small-lib": "8.2.4",
|
|
71
|
-
"@slicemachine/plugin-kit": "0.4.25-dev-
|
|
70
|
+
"@slicemachine/plugin-kit": "0.4.25-dev-environments.6",
|
|
72
71
|
"@types/listr": "0.14.4",
|
|
73
72
|
"@types/prompts": "2.4.3",
|
|
74
73
|
"@types/semver": "7.3.13",
|
|
@@ -94,5 +93,5 @@
|
|
|
94
93
|
"vite-plugin-sdk": "0.1.1",
|
|
95
94
|
"vitest": "0.32.0"
|
|
96
95
|
},
|
|
97
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "e895971641c79079732517c027d761b4bc9cab61"
|
|
98
97
|
}
|
|
@@ -9,7 +9,6 @@ import open from "open";
|
|
|
9
9
|
import logSymbols from "log-symbols";
|
|
10
10
|
import { globby } from "globby";
|
|
11
11
|
import { downloadTemplate } from "giget";
|
|
12
|
-
import pLimit from "p-limit";
|
|
13
12
|
|
|
14
13
|
import {
|
|
15
14
|
createSliceMachineManager,
|
|
@@ -200,7 +199,7 @@ export class SliceMachineInitProcess {
|
|
|
200
199
|
`\n${chalk.bgGreen(` ${chalk.bold.white("Slice Machine")} `)} ${chalk.dim(
|
|
201
200
|
"→",
|
|
202
201
|
)} Initialization successful!
|
|
203
|
-
|
|
202
|
+
|
|
204
203
|
Continue with next steps in Slice Machine.
|
|
205
204
|
`,
|
|
206
205
|
);
|
|
@@ -1287,17 +1286,9 @@ ${chalk.cyan("?")} Your Prismic repository name`.replace("\n", ""),
|
|
|
1287
1286
|
const remoteTypes =
|
|
1288
1287
|
await this.manager.customTypes.fetchRemoteCustomTypes();
|
|
1289
1288
|
|
|
1290
|
-
const createCustomTypeLimit = pLimit(8);
|
|
1291
|
-
|
|
1292
|
-
let pulled = 0;
|
|
1293
|
-
task.title = `Pulling existing types... (0/${remoteTypes.length})`;
|
|
1294
1289
|
await Promise.all(
|
|
1295
1290
|
remoteTypes.map(async (model) => {
|
|
1296
|
-
await
|
|
1297
|
-
this.manager.customTypes.createCustomType({ model }),
|
|
1298
|
-
);
|
|
1299
|
-
pulled++;
|
|
1300
|
-
task.title = `Pulling existing types... (${pulled}/${remoteTypes.length})`;
|
|
1291
|
+
await this.manager.customTypes.createCustomType({ model });
|
|
1301
1292
|
}),
|
|
1302
1293
|
);
|
|
1303
1294
|
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
var __accessCheck = (obj, member, msg) => {
|
|
9
|
-
if (!member.has(obj))
|
|
10
|
-
throw TypeError("Cannot " + msg);
|
|
11
|
-
};
|
|
12
|
-
var __privateGet = (obj, member, getter) => {
|
|
13
|
-
__accessCheck(obj, member, "read from private field");
|
|
14
|
-
return getter ? getter.call(obj) : member.get(obj);
|
|
15
|
-
};
|
|
16
|
-
var __privateAdd = (obj, member, value) => {
|
|
17
|
-
if (member.has(obj))
|
|
18
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
19
|
-
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
20
|
-
};
|
|
21
|
-
var __privateSet = (obj, member, value, setter) => {
|
|
22
|
-
__accessCheck(obj, member, "write to private field");
|
|
23
|
-
setter ? setter.call(obj, value) : member.set(obj, value);
|
|
24
|
-
return value;
|
|
25
|
-
};
|
|
26
|
-
var __privateWrapper = (obj, member, setter, getter) => ({
|
|
27
|
-
set _(value) {
|
|
28
|
-
__privateSet(obj, member, value, setter);
|
|
29
|
-
},
|
|
30
|
-
get _() {
|
|
31
|
-
return __privateGet(obj, member, getter);
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
var _head, _tail, _size;
|
|
35
|
-
class Node {
|
|
36
|
-
constructor(value) {
|
|
37
|
-
__publicField(this, "value");
|
|
38
|
-
__publicField(this, "next");
|
|
39
|
-
this.value = value;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
class Queue {
|
|
43
|
-
constructor() {
|
|
44
|
-
__privateAdd(this, _head, void 0);
|
|
45
|
-
__privateAdd(this, _tail, void 0);
|
|
46
|
-
__privateAdd(this, _size, void 0);
|
|
47
|
-
this.clear();
|
|
48
|
-
}
|
|
49
|
-
enqueue(value) {
|
|
50
|
-
const node = new Node(value);
|
|
51
|
-
if (__privateGet(this, _head)) {
|
|
52
|
-
__privateGet(this, _tail).next = node;
|
|
53
|
-
__privateSet(this, _tail, node);
|
|
54
|
-
} else {
|
|
55
|
-
__privateSet(this, _head, node);
|
|
56
|
-
__privateSet(this, _tail, node);
|
|
57
|
-
}
|
|
58
|
-
__privateWrapper(this, _size)._++;
|
|
59
|
-
}
|
|
60
|
-
dequeue() {
|
|
61
|
-
const current = __privateGet(this, _head);
|
|
62
|
-
if (!current) {
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
__privateSet(this, _head, __privateGet(this, _head).next);
|
|
66
|
-
__privateWrapper(this, _size)._--;
|
|
67
|
-
return current.value;
|
|
68
|
-
}
|
|
69
|
-
clear() {
|
|
70
|
-
__privateSet(this, _head, void 0);
|
|
71
|
-
__privateSet(this, _tail, void 0);
|
|
72
|
-
__privateSet(this, _size, 0);
|
|
73
|
-
}
|
|
74
|
-
get size() {
|
|
75
|
-
return __privateGet(this, _size);
|
|
76
|
-
}
|
|
77
|
-
*[Symbol.iterator]() {
|
|
78
|
-
let current = __privateGet(this, _head);
|
|
79
|
-
while (current) {
|
|
80
|
-
yield current.value;
|
|
81
|
-
current = current.next;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
_head = new WeakMap();
|
|
86
|
-
_tail = new WeakMap();
|
|
87
|
-
_size = new WeakMap();
|
|
88
|
-
module.exports = Queue;
|
|
89
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/p-limit/node_modules/yocto-queue/index.js"],"sourcesContent":["/*\nHow it works:\n`this.#head` is an instance of `Node` which keeps track of its current value and nests another instance of `Node` that keeps the value that comes after it. When a value is provided to `.enqueue()`, the code needs to iterate through `this.#head`, going deeper and deeper to find the last value. However, iterating through every single item is slow. This problem is solved by saving a reference to the last value as `this.#tail` so that it can reference it to add a new value.\n*/\n\nclass Node {\n\tvalue;\n\tnext;\n\n\tconstructor(value) {\n\t\tthis.value = value;\n\t}\n}\n\nexport default class Queue {\n\t#head;\n\t#tail;\n\t#size;\n\n\tconstructor() {\n\t\tthis.clear();\n\t}\n\n\tenqueue(value) {\n\t\tconst node = new Node(value);\n\n\t\tif (this.#head) {\n\t\t\tthis.#tail.next = node;\n\t\t\tthis.#tail = node;\n\t\t} else {\n\t\t\tthis.#head = node;\n\t\t\tthis.#tail = node;\n\t\t}\n\n\t\tthis.#size++;\n\t}\n\n\tdequeue() {\n\t\tconst current = this.#head;\n\t\tif (!current) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#head = this.#head.next;\n\t\tthis.#size--;\n\t\treturn current.value;\n\t}\n\n\tclear() {\n\t\tthis.#head = undefined;\n\t\tthis.#tail = undefined;\n\t\tthis.#size = 0;\n\t}\n\n\tget size() {\n\t\treturn this.#size;\n\t}\n\n\t* [Symbol.iterator]() {\n\t\tlet current = this.#head;\n\n\t\twhile (current) {\n\t\t\tyield current.value;\n\t\t\tcurrent = current.next;\n\t\t}\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,KAAK;AAAA,EAIV,YAAY,OAAO;AAHnB;AACA;AAGC,SAAK,QAAQ;AAAA,EACb;AACF;AAEe,MAAM,MAAM;AAAA,EAK1B,cAAc;AAJd;AACA;AACA;AAGC,SAAK,MAAK;AAAA,EACV;AAAA,EAED,QAAQ,OAAO;AACd,UAAM,OAAO,IAAI,KAAK,KAAK;AAE3B,QAAI,mBAAK,QAAO;AACf,yBAAK,OAAM,OAAO;AAClB,yBAAK,OAAQ;AAAA,IAChB,OAAS;AACN,yBAAK,OAAQ;AACb,yBAAK,OAAQ;AAAA,IACb;AAED,2BAAK,OAAL;AAAA,EACA;AAAA,EAED,UAAU;AACT,UAAM,UAAU,mBAAK;AACrB,QAAI,CAAC,SAAS;AACb;AAAA,IACA;AAED,uBAAK,OAAQ,mBAAK,OAAM;AACxB,2BAAK,OAAL;AACA,WAAO,QAAQ;AAAA,EACf;AAAA,EAED,QAAQ;AACP,uBAAK,OAAQ;AACb,uBAAK,OAAQ;AACb,uBAAK,OAAQ;AAAA,EACb;AAAA,EAED,IAAI,OAAO;AACV,WAAO,mBAAK;AAAA,EACZ;AAAA,EAED,EAAG,OAAO,QAAQ,IAAI;AACrB,QAAI,UAAU,mBAAK;AAEnB,WAAO,SAAS;AACf,YAAM,QAAQ;AACd,gBAAU,QAAQ;AAAA,IAClB;AAAA,EACD;AACF;AAnDC;AACA;AACA;;","x_google_ignoreList":[0]}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => {
|
|
4
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
7
|
-
var __accessCheck = (obj, member, msg) => {
|
|
8
|
-
if (!member.has(obj))
|
|
9
|
-
throw TypeError("Cannot " + msg);
|
|
10
|
-
};
|
|
11
|
-
var __privateGet = (obj, member, getter) => {
|
|
12
|
-
__accessCheck(obj, member, "read from private field");
|
|
13
|
-
return getter ? getter.call(obj) : member.get(obj);
|
|
14
|
-
};
|
|
15
|
-
var __privateAdd = (obj, member, value) => {
|
|
16
|
-
if (member.has(obj))
|
|
17
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
18
|
-
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
19
|
-
};
|
|
20
|
-
var __privateSet = (obj, member, value, setter) => {
|
|
21
|
-
__accessCheck(obj, member, "write to private field");
|
|
22
|
-
setter ? setter.call(obj, value) : member.set(obj, value);
|
|
23
|
-
return value;
|
|
24
|
-
};
|
|
25
|
-
var __privateWrapper = (obj, member, setter, getter) => ({
|
|
26
|
-
set _(value) {
|
|
27
|
-
__privateSet(obj, member, value, setter);
|
|
28
|
-
},
|
|
29
|
-
get _() {
|
|
30
|
-
return __privateGet(obj, member, getter);
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
var _head, _tail, _size;
|
|
34
|
-
class Node {
|
|
35
|
-
constructor(value) {
|
|
36
|
-
__publicField(this, "value");
|
|
37
|
-
__publicField(this, "next");
|
|
38
|
-
this.value = value;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
class Queue {
|
|
42
|
-
constructor() {
|
|
43
|
-
__privateAdd(this, _head, void 0);
|
|
44
|
-
__privateAdd(this, _tail, void 0);
|
|
45
|
-
__privateAdd(this, _size, void 0);
|
|
46
|
-
this.clear();
|
|
47
|
-
}
|
|
48
|
-
enqueue(value) {
|
|
49
|
-
const node = new Node(value);
|
|
50
|
-
if (__privateGet(this, _head)) {
|
|
51
|
-
__privateGet(this, _tail).next = node;
|
|
52
|
-
__privateSet(this, _tail, node);
|
|
53
|
-
} else {
|
|
54
|
-
__privateSet(this, _head, node);
|
|
55
|
-
__privateSet(this, _tail, node);
|
|
56
|
-
}
|
|
57
|
-
__privateWrapper(this, _size)._++;
|
|
58
|
-
}
|
|
59
|
-
dequeue() {
|
|
60
|
-
const current = __privateGet(this, _head);
|
|
61
|
-
if (!current) {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
__privateSet(this, _head, __privateGet(this, _head).next);
|
|
65
|
-
__privateWrapper(this, _size)._--;
|
|
66
|
-
return current.value;
|
|
67
|
-
}
|
|
68
|
-
clear() {
|
|
69
|
-
__privateSet(this, _head, void 0);
|
|
70
|
-
__privateSet(this, _tail, void 0);
|
|
71
|
-
__privateSet(this, _size, 0);
|
|
72
|
-
}
|
|
73
|
-
get size() {
|
|
74
|
-
return __privateGet(this, _size);
|
|
75
|
-
}
|
|
76
|
-
*[Symbol.iterator]() {
|
|
77
|
-
let current = __privateGet(this, _head);
|
|
78
|
-
while (current) {
|
|
79
|
-
yield current.value;
|
|
80
|
-
current = current.next;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
_head = new WeakMap();
|
|
85
|
-
_tail = new WeakMap();
|
|
86
|
-
_size = new WeakMap();
|
|
87
|
-
export {
|
|
88
|
-
Queue as default
|
|
89
|
-
};
|
|
90
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/p-limit/node_modules/yocto-queue/index.js"],"sourcesContent":["/*\nHow it works:\n`this.#head` is an instance of `Node` which keeps track of its current value and nests another instance of `Node` that keeps the value that comes after it. When a value is provided to `.enqueue()`, the code needs to iterate through `this.#head`, going deeper and deeper to find the last value. However, iterating through every single item is slow. This problem is solved by saving a reference to the last value as `this.#tail` so that it can reference it to add a new value.\n*/\n\nclass Node {\n\tvalue;\n\tnext;\n\n\tconstructor(value) {\n\t\tthis.value = value;\n\t}\n}\n\nexport default class Queue {\n\t#head;\n\t#tail;\n\t#size;\n\n\tconstructor() {\n\t\tthis.clear();\n\t}\n\n\tenqueue(value) {\n\t\tconst node = new Node(value);\n\n\t\tif (this.#head) {\n\t\t\tthis.#tail.next = node;\n\t\t\tthis.#tail = node;\n\t\t} else {\n\t\t\tthis.#head = node;\n\t\t\tthis.#tail = node;\n\t\t}\n\n\t\tthis.#size++;\n\t}\n\n\tdequeue() {\n\t\tconst current = this.#head;\n\t\tif (!current) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#head = this.#head.next;\n\t\tthis.#size--;\n\t\treturn current.value;\n\t}\n\n\tclear() {\n\t\tthis.#head = undefined;\n\t\tthis.#tail = undefined;\n\t\tthis.#size = 0;\n\t}\n\n\tget size() {\n\t\treturn this.#size;\n\t}\n\n\t* [Symbol.iterator]() {\n\t\tlet current = this.#head;\n\n\t\twhile (current) {\n\t\t\tyield current.value;\n\t\t\tcurrent = current.next;\n\t\t}\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAKA,MAAM,KAAK;AAAA,EAIV,YAAY,OAAO;AAHnB;AACA;AAGC,SAAK,QAAQ;AAAA,EACb;AACF;AAEe,MAAM,MAAM;AAAA,EAK1B,cAAc;AAJd;AACA;AACA;AAGC,SAAK,MAAK;AAAA,EACV;AAAA,EAED,QAAQ,OAAO;AACd,UAAM,OAAO,IAAI,KAAK,KAAK;AAE3B,QAAI,mBAAK,QAAO;AACf,yBAAK,OAAM,OAAO;AAClB,yBAAK,OAAQ;AAAA,IAChB,OAAS;AACN,yBAAK,OAAQ;AACb,yBAAK,OAAQ;AAAA,IACb;AAED,2BAAK,OAAL;AAAA,EACA;AAAA,EAED,UAAU;AACT,UAAM,UAAU,mBAAK;AACrB,QAAI,CAAC,SAAS;AACb;AAAA,IACA;AAED,uBAAK,OAAQ,mBAAK,OAAM;AACxB,2BAAK,OAAL;AACA,WAAO,QAAQ;AAAA,EACf;AAAA,EAED,QAAQ;AACP,uBAAK,OAAQ;AACb,uBAAK,OAAQ;AACb,uBAAK,OAAQ;AAAA,EACb;AAAA,EAED,IAAI,OAAO;AACV,WAAO,mBAAK;AAAA,EACZ;AAAA,EAED,EAAG,OAAO,QAAQ,IAAI;AACrB,QAAI,UAAU,mBAAK;AAEnB,WAAO,SAAS;AACf,YAAM,QAAQ;AACd,gBAAU,QAAQ;AAAA,IAClB;AAAA,EACD;AACF;AAnDC;AACA;AACA;","x_google_ignoreList":[0]}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const index = require('./_node_modules/yocto-queue/index.cjs');
|
|
3
|
-
function pLimit(concurrency) {
|
|
4
|
-
if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
|
|
5
|
-
throw new TypeError("Expected `concurrency` to be a number from 1 and up");
|
|
6
|
-
}
|
|
7
|
-
const queue = new index();
|
|
8
|
-
let activeCount = 0;
|
|
9
|
-
const next = () => {
|
|
10
|
-
activeCount--;
|
|
11
|
-
if (queue.size > 0) {
|
|
12
|
-
queue.dequeue()();
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
const run = async (fn, resolve, args) => {
|
|
16
|
-
activeCount++;
|
|
17
|
-
const result = (async () => fn(...args))();
|
|
18
|
-
resolve(result);
|
|
19
|
-
try {
|
|
20
|
-
await result;
|
|
21
|
-
} catch {
|
|
22
|
-
}
|
|
23
|
-
next();
|
|
24
|
-
};
|
|
25
|
-
const enqueue = (fn, resolve, args) => {
|
|
26
|
-
queue.enqueue(run.bind(void 0, fn, resolve, args));
|
|
27
|
-
(async () => {
|
|
28
|
-
await Promise.resolve();
|
|
29
|
-
if (activeCount < concurrency && queue.size > 0) {
|
|
30
|
-
queue.dequeue()();
|
|
31
|
-
}
|
|
32
|
-
})();
|
|
33
|
-
};
|
|
34
|
-
const generator = (fn, ...args) => new Promise((resolve) => {
|
|
35
|
-
enqueue(fn, resolve, args);
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperties(generator, {
|
|
38
|
-
activeCount: {
|
|
39
|
-
get: () => activeCount
|
|
40
|
-
},
|
|
41
|
-
pendingCount: {
|
|
42
|
-
get: () => queue.size
|
|
43
|
-
},
|
|
44
|
-
clearQueue: {
|
|
45
|
-
value: () => {
|
|
46
|
-
queue.clear();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
return generator;
|
|
51
|
-
}
|
|
52
|
-
module.exports = pLimit;
|
|
53
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/p-limit/index.js"],"sourcesContent":["import Queue from 'yocto-queue';\n\nexport default function pLimit(concurrency) {\n\tif (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {\n\t\tthrow new TypeError('Expected `concurrency` to be a number from 1 and up');\n\t}\n\n\tconst queue = new Queue();\n\tlet activeCount = 0;\n\n\tconst next = () => {\n\t\tactiveCount--;\n\n\t\tif (queue.size > 0) {\n\t\t\tqueue.dequeue()();\n\t\t}\n\t};\n\n\tconst run = async (fn, resolve, args) => {\n\t\tactiveCount++;\n\n\t\tconst result = (async () => fn(...args))();\n\n\t\tresolve(result);\n\n\t\ttry {\n\t\t\tawait result;\n\t\t} catch {}\n\n\t\tnext();\n\t};\n\n\tconst enqueue = (fn, resolve, args) => {\n\t\tqueue.enqueue(run.bind(undefined, fn, resolve, args));\n\n\t\t(async () => {\n\t\t\t// This function needs to wait until the next microtask before comparing\n\t\t\t// `activeCount` to `concurrency`, because `activeCount` is updated asynchronously\n\t\t\t// when the run function is dequeued and called. The comparison in the if-statement\n\t\t\t// needs to happen asynchronously as well to get an up-to-date value for `activeCount`.\n\t\t\tawait Promise.resolve();\n\n\t\t\tif (activeCount < concurrency && queue.size > 0) {\n\t\t\t\tqueue.dequeue()();\n\t\t\t}\n\t\t})();\n\t};\n\n\tconst generator = (fn, ...args) => new Promise(resolve => {\n\t\tenqueue(fn, resolve, args);\n\t});\n\n\tObject.defineProperties(generator, {\n\t\tactiveCount: {\n\t\t\tget: () => activeCount,\n\t\t},\n\t\tpendingCount: {\n\t\t\tget: () => queue.size,\n\t\t},\n\t\tclearQueue: {\n\t\t\tvalue: () => {\n\t\t\t\tqueue.clear();\n\t\t\t},\n\t\t},\n\t});\n\n\treturn generator;\n}\n"],"names":["Queue"],"mappings":";;AAEe,SAAS,OAAO,aAAa;AAC3C,MAAI,GAAG,OAAO,UAAU,WAAW,KAAK,gBAAgB,OAAO,sBAAsB,cAAc,IAAI;AACtG,UAAM,IAAI,UAAU,qDAAqD;AAAA,EACzE;AAED,QAAM,QAAQ,IAAIA;AAClB,MAAI,cAAc;AAElB,QAAM,OAAO,MAAM;AAClB;AAEA,QAAI,MAAM,OAAO,GAAG;AACnB,YAAM,QAAO;IACb;AAAA,EACH;AAEC,QAAM,MAAM,OAAO,IAAI,SAAS,SAAS;AACxC;AAEA,UAAM,UAAU,YAAY,GAAG,GAAG,IAAI,GAAC;AAEvC,YAAQ,MAAM;AAEd,QAAI;AACH,YAAM;AAAA,IACN,QAAC;AAAA,IAAQ;AAEV;EACF;AAEC,QAAM,UAAU,CAAC,IAAI,SAAS,SAAS;AACtC,UAAM,QAAQ,IAAI,KAAK,QAAW,IAAI,SAAS,IAAI,CAAC;AAEpD,KAAC,YAAY;AAKZ,YAAM,QAAQ;AAEd,UAAI,cAAc,eAAe,MAAM,OAAO,GAAG;AAChD,cAAM,QAAO;MACb;AAAA,IACJ;EACA;AAEC,QAAM,YAAY,CAAC,OAAO,SAAS,IAAI,QAAQ,aAAW;AACzD,YAAQ,IAAI,SAAS,IAAI;AAAA,EAC3B,CAAE;AAED,SAAO,iBAAiB,WAAW;AAAA,IAClC,aAAa;AAAA,MACZ,KAAK,MAAM;AAAA,IACX;AAAA,IACD,cAAc;AAAA,MACb,KAAK,MAAM,MAAM;AAAA,IACjB;AAAA,IACD,YAAY;AAAA,MACX,OAAO,MAAM;AACZ,cAAM,MAAK;AAAA,MACX;AAAA,IACD;AAAA,EACH,CAAE;AAED,SAAO;AACR;;","x_google_ignoreList":[0]}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import Queue from './_node_modules/yocto-queue/index.js';
|
|
2
|
-
function pLimit(concurrency) {
|
|
3
|
-
if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
|
|
4
|
-
throw new TypeError("Expected `concurrency` to be a number from 1 and up");
|
|
5
|
-
}
|
|
6
|
-
const queue = new Queue();
|
|
7
|
-
let activeCount = 0;
|
|
8
|
-
const next = () => {
|
|
9
|
-
activeCount--;
|
|
10
|
-
if (queue.size > 0) {
|
|
11
|
-
queue.dequeue()();
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
const run = async (fn, resolve, args) => {
|
|
15
|
-
activeCount++;
|
|
16
|
-
const result = (async () => fn(...args))();
|
|
17
|
-
resolve(result);
|
|
18
|
-
try {
|
|
19
|
-
await result;
|
|
20
|
-
} catch {
|
|
21
|
-
}
|
|
22
|
-
next();
|
|
23
|
-
};
|
|
24
|
-
const enqueue = (fn, resolve, args) => {
|
|
25
|
-
queue.enqueue(run.bind(void 0, fn, resolve, args));
|
|
26
|
-
(async () => {
|
|
27
|
-
await Promise.resolve();
|
|
28
|
-
if (activeCount < concurrency && queue.size > 0) {
|
|
29
|
-
queue.dequeue()();
|
|
30
|
-
}
|
|
31
|
-
})();
|
|
32
|
-
};
|
|
33
|
-
const generator = (fn, ...args) => new Promise((resolve) => {
|
|
34
|
-
enqueue(fn, resolve, args);
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperties(generator, {
|
|
37
|
-
activeCount: {
|
|
38
|
-
get: () => activeCount
|
|
39
|
-
},
|
|
40
|
-
pendingCount: {
|
|
41
|
-
get: () => queue.size
|
|
42
|
-
},
|
|
43
|
-
clearQueue: {
|
|
44
|
-
value: () => {
|
|
45
|
-
queue.clear();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
return generator;
|
|
50
|
-
}
|
|
51
|
-
export {
|
|
52
|
-
pLimit as default
|
|
53
|
-
};
|
|
54
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/p-limit/index.js"],"sourcesContent":["import Queue from 'yocto-queue';\n\nexport default function pLimit(concurrency) {\n\tif (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {\n\t\tthrow new TypeError('Expected `concurrency` to be a number from 1 and up');\n\t}\n\n\tconst queue = new Queue();\n\tlet activeCount = 0;\n\n\tconst next = () => {\n\t\tactiveCount--;\n\n\t\tif (queue.size > 0) {\n\t\t\tqueue.dequeue()();\n\t\t}\n\t};\n\n\tconst run = async (fn, resolve, args) => {\n\t\tactiveCount++;\n\n\t\tconst result = (async () => fn(...args))();\n\n\t\tresolve(result);\n\n\t\ttry {\n\t\t\tawait result;\n\t\t} catch {}\n\n\t\tnext();\n\t};\n\n\tconst enqueue = (fn, resolve, args) => {\n\t\tqueue.enqueue(run.bind(undefined, fn, resolve, args));\n\n\t\t(async () => {\n\t\t\t// This function needs to wait until the next microtask before comparing\n\t\t\t// `activeCount` to `concurrency`, because `activeCount` is updated asynchronously\n\t\t\t// when the run function is dequeued and called. The comparison in the if-statement\n\t\t\t// needs to happen asynchronously as well to get an up-to-date value for `activeCount`.\n\t\t\tawait Promise.resolve();\n\n\t\t\tif (activeCount < concurrency && queue.size > 0) {\n\t\t\t\tqueue.dequeue()();\n\t\t\t}\n\t\t})();\n\t};\n\n\tconst generator = (fn, ...args) => new Promise(resolve => {\n\t\tenqueue(fn, resolve, args);\n\t});\n\n\tObject.defineProperties(generator, {\n\t\tactiveCount: {\n\t\t\tget: () => activeCount,\n\t\t},\n\t\tpendingCount: {\n\t\t\tget: () => queue.size,\n\t\t},\n\t\tclearQueue: {\n\t\t\tvalue: () => {\n\t\t\t\tqueue.clear();\n\t\t\t},\n\t\t},\n\t});\n\n\treturn generator;\n}\n"],"names":[],"mappings":";AAEe,SAAS,OAAO,aAAa;AAC3C,MAAI,GAAG,OAAO,UAAU,WAAW,KAAK,gBAAgB,OAAO,sBAAsB,cAAc,IAAI;AACtG,UAAM,IAAI,UAAU,qDAAqD;AAAA,EACzE;AAED,QAAM,QAAQ,IAAI;AAClB,MAAI,cAAc;AAElB,QAAM,OAAO,MAAM;AAClB;AAEA,QAAI,MAAM,OAAO,GAAG;AACnB,YAAM,QAAO;IACb;AAAA,EACH;AAEC,QAAM,MAAM,OAAO,IAAI,SAAS,SAAS;AACxC;AAEA,UAAM,UAAU,YAAY,GAAG,GAAG,IAAI,GAAC;AAEvC,YAAQ,MAAM;AAEd,QAAI;AACH,YAAM;AAAA,IACN,QAAC;AAAA,IAAQ;AAEV;EACF;AAEC,QAAM,UAAU,CAAC,IAAI,SAAS,SAAS;AACtC,UAAM,QAAQ,IAAI,KAAK,QAAW,IAAI,SAAS,IAAI,CAAC;AAEpD,KAAC,YAAY;AAKZ,YAAM,QAAQ;AAEd,UAAI,cAAc,eAAe,MAAM,OAAO,GAAG;AAChD,cAAM,QAAO;MACb;AAAA,IACJ;EACA;AAEC,QAAM,YAAY,CAAC,OAAO,SAAS,IAAI,QAAQ,aAAW;AACzD,YAAQ,IAAI,SAAS,IAAI;AAAA,EAC3B,CAAE;AAED,SAAO,iBAAiB,WAAW;AAAA,IAClC,aAAa;AAAA,MACZ,KAAK,MAAM;AAAA,IACX;AAAA,IACD,cAAc;AAAA,MACb,KAAK,MAAM,MAAM;AAAA,IACjB;AAAA,IACD,YAAY;AAAA,MACX,OAAO,MAAM;AACZ,cAAM,MAAK;AAAA,MACX;AAAA,IACD;AAAA,EACH,CAAE;AAED,SAAO;AACR;","x_google_ignoreList":[0]}
|