@contember/engine-common 2.2.0-alpha.14 → 2.2.0-alpha.16
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/development/src/runnable/Supervisor.cjs +27 -4
- package/dist/development/src/runnable/Supervisor.cjs.map +1 -1
- package/dist/development/src/runnable/Supervisor.js +27 -4
- package/dist/development/src/runnable/Supervisor.js.map +1 -1
- package/dist/production/src/runnable/Supervisor.cjs +27 -4
- package/dist/production/src/runnable/Supervisor.cjs.map +1 -1
- package/dist/production/src/runnable/Supervisor.js +27 -4
- package/dist/production/src/runnable/Supervisor.js.map +1 -1
- package/dist/types/runnable/Supervisor.d.ts +2 -0
- package/dist/types/runnable/Supervisor.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/runnable/Supervisor.ts +30 -6
- package/tests/cases/supervisor.test.ts +195 -0
|
@@ -12,26 +12,49 @@ class Supervisor {
|
|
|
12
12
|
const abortController = new AbortController();
|
|
13
13
|
let innerRunning;
|
|
14
14
|
let wasHealthy = false;
|
|
15
|
+
let startedAt;
|
|
16
|
+
const endRun = () => {
|
|
17
|
+
if (startedAt !== void 0 && Date.now() - startedAt >= (this.options.stableAfter ?? 6e4)) {
|
|
18
|
+
restartCount = 0;
|
|
19
|
+
}
|
|
20
|
+
startedAt = void 0;
|
|
21
|
+
};
|
|
15
22
|
await new Promise(async (resolve, reject) => {
|
|
16
23
|
while (!abortController.signal.aborted) {
|
|
24
|
+
let runEnded = false;
|
|
17
25
|
try {
|
|
18
26
|
await new Promise(async (resolveRunning, rejectRunning) => {
|
|
19
27
|
try {
|
|
20
28
|
innerRunning = await this.runnable.run({
|
|
21
|
-
onClose:
|
|
22
|
-
|
|
29
|
+
onClose: () => {
|
|
30
|
+
runEnded = true;
|
|
31
|
+
resolveRunning();
|
|
32
|
+
},
|
|
33
|
+
onError: (e) => {
|
|
34
|
+
runEnded = true;
|
|
35
|
+
rejectRunning(e);
|
|
36
|
+
},
|
|
23
37
|
logger: logger.child({ runningId: Math.random().toString().substring(2) })
|
|
24
38
|
});
|
|
25
|
-
|
|
39
|
+
if (!runEnded) {
|
|
40
|
+
if (!wasHealthy) {
|
|
41
|
+
restartCount = 0;
|
|
42
|
+
}
|
|
43
|
+
startedAt = Date.now();
|
|
44
|
+
}
|
|
26
45
|
resolve();
|
|
27
46
|
wasHealthy = true;
|
|
28
47
|
} catch (e) {
|
|
29
48
|
rejectRunning(e);
|
|
30
49
|
}
|
|
31
50
|
});
|
|
51
|
+
endRun();
|
|
32
52
|
} catch (e) {
|
|
33
53
|
innerRunning = void 0;
|
|
34
|
-
|
|
54
|
+
endRun();
|
|
55
|
+
restartCount++;
|
|
56
|
+
const restartLimit = wasHealthy ? this.options.max : this.options.startupMax ?? 10;
|
|
57
|
+
const shouldRestart = restartLimit === void 0 || restartCount <= restartLimit;
|
|
35
58
|
if (shouldRestart) {
|
|
36
59
|
const timeoutMs = Math.ceil(Math.min(
|
|
37
60
|
Math.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1e3),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Supervisor.cjs","sources":["../../../../../packages/engine-common/src/runnable/Supervisor.ts"],"sourcesContent":["import { Runnable, RunnableArgs, Running } from './Runnable.js'\nimport { abortableTimeout } from './utils.js'\n\nexport type SupervisorOptions = {\n\tmax?: number\n\tstartupMax?: number\n\tminBackoff?: number\n\tmaxBackoff?: number\n\texponentiationBase?: number\n}\n\nexport class Supervisor implements Runnable {\n\tconstructor(\n\t\tprivate runnable: Runnable,\n\t\tprivate options: SupervisorOptions = {},\n\t) {\n\t}\n\n\tpublic async run(args: RunnableArgs): Promise<Running> {\n\t\tconst { logger, onError } = args\n\t\tlet restartCount = 0\n\t\tconst abortController = new AbortController()\n\t\tlet innerRunning: Running | undefined\n\t\tlet wasHealthy = false\n\n\t\tawait new Promise<void>(async (resolve, reject) => {\n\t\t\twhile (!abortController.signal.aborted) {\n\t\t\t\ttry {\n\t\t\t\t\tawait new Promise<void>(async (resolveRunning, rejectRunning) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerRunning = await this.runnable.run({\n\t\t\t\t\t\t\t\tonClose:
|
|
1
|
+
{"version":3,"file":"Supervisor.cjs","sources":["../../../../../packages/engine-common/src/runnable/Supervisor.ts"],"sourcesContent":["import { Runnable, RunnableArgs, Running } from './Runnable.js'\nimport { abortableTimeout } from './utils.js'\n\nexport type SupervisorOptions = {\n\tmax?: number\n\tstartupMax?: number\n\tminBackoff?: number\n\tmaxBackoff?: number\n\texponentiationBase?: number\n\t/** Uptime (ms, default 60 000) after which a run counts as stable and the backoff resets; a run that crashes sooner counts as a failed restart. */\n\tstableAfter?: number\n}\n\nexport class Supervisor implements Runnable {\n\tconstructor(\n\t\tprivate runnable: Runnable,\n\t\tprivate options: SupervisorOptions = {},\n\t) {\n\t}\n\n\tpublic async run(args: RunnableArgs): Promise<Running> {\n\t\tconst { logger, onError } = args\n\t\tlet restartCount = 0\n\t\tconst abortController = new AbortController()\n\t\tlet innerRunning: Running | undefined\n\t\tlet wasHealthy = false\n\t\tlet startedAt: number | undefined\n\t\tconst endRun = () => {\n\t\t\tif (startedAt !== undefined && Date.now() - startedAt >= (this.options.stableAfter ?? 60_000)) {\n\t\t\t\trestartCount = 0\n\t\t\t}\n\t\t\tstartedAt = undefined\n\t\t}\n\n\t\tawait new Promise<void>(async (resolve, reject) => {\n\t\t\twhile (!abortController.signal.aborted) {\n\t\t\t\tlet runEnded = false\n\t\t\t\ttry {\n\t\t\t\t\tawait new Promise<void>(async (resolveRunning, rejectRunning) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerRunning = await this.runnable.run({\n\t\t\t\t\t\t\t\tonClose: () => {\n\t\t\t\t\t\t\t\t\trunEnded = true\n\t\t\t\t\t\t\t\t\tresolveRunning()\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonError: e => {\n\t\t\t\t\t\t\t\t\trunEnded = true\n\t\t\t\t\t\t\t\t\trejectRunning(e)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tlogger: logger.child({ runningId: Math.random().toString().substring(2) }),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t// a run that ended before run() returned was already handled as a crash; recording it as started would count the backoff as uptime\n\t\t\t\t\t\t\tif (!runEnded) {\n\t\t\t\t\t\t\t\tif (!wasHealthy) {\n\t\t\t\t\t\t\t\t\trestartCount = 0\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstartedAt = Date.now()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresolve()\n\t\t\t\t\t\t\twasHealthy = true\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\trejectRunning(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tendRun()\n\t\t\t\t} catch (e) {\n\t\t\t\t\tinnerRunning = undefined\n\t\t\t\t\tendRun()\n\t\t\t\t\trestartCount++\n\t\t\t\t\tconst restartLimit = wasHealthy ? this.options.max : (this.options.startupMax ?? 10)\n\t\t\t\t\tconst shouldRestart = restartLimit === undefined || restartCount <= restartLimit\n\t\t\t\t\tif (shouldRestart) {\n\t\t\t\t\t\tconst timeoutMs = Math.ceil(Math.min(\n\t\t\t\t\t\t\tMath.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1_000),\n\t\t\t\t\t\t\tthis.options.maxBackoff ?? 60_000,\n\t\t\t\t\t\t))\n\t\t\t\t\t\tlogger.error(`Runnable crashed, restarting in ${timeoutMs} ms ...`, {\n\t\t\t\t\t\t\terror: e,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tawait abortableTimeout(timeoutMs, abortController.signal)\n\t\t\t\t\t\tif (!abortController.signal.aborted) {\n\t\t\t\t\t\t\tlogger.info(`Restarting runnable now`)\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlogger.error(`Runnable crashed, stopping`, {\n\t\t\t\t\t\t\terror: e,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tif (wasHealthy) {\n\t\t\t\t\t\t\tonError(e)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treject(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\n\t\treturn {\n\t\t\tasync end(): Promise<void> {\n\t\t\t\tabortController.abort()\n\t\t\t\tawait innerRunning?.end()\n\t\t\t},\n\t\t}\n\t}\n}\n"],"names":["abortableTimeout"],"mappings":";;;AAaO,MAAM,WAA+B;AAAA,EAC3C,YACS,UACA,UAA6B,IACpC;AAFO,SAAA,WAAA;AACA,SAAA,UAAA;AAAA,EAET;AAAA,EAEA,MAAa,IAAI,MAAsC;AACtD,UAAM,EAAE,QAAQ,QAAA,IAAY;AAC5B,QAAI,eAAe;AACnB,UAAM,kBAAkB,IAAI,gBAAA;AAC5B,QAAI;AACJ,QAAI,aAAa;AACjB,QAAI;AACJ,UAAM,SAAS,MAAM;AACpB,UAAI,cAAc,UAAa,KAAK,IAAA,IAAQ,cAAc,KAAK,QAAQ,eAAe,MAAS;AAC9F,uBAAe;AAAA,MAChB;AACA,kBAAY;AAAA,IACb;AAEA,UAAM,IAAI,QAAc,OAAO,SAAS,WAAW;AAClD,aAAO,CAAC,gBAAgB,OAAO,SAAS;AACvC,YAAI,WAAW;AACf,YAAI;AACH,gBAAM,IAAI,QAAc,OAAO,gBAAgB,kBAAkB;AAChE,gBAAI;AACH,6BAAe,MAAM,KAAK,SAAS,IAAI;AAAA,gBACtC,SAAS,MAAM;AACd,6BAAW;AACX,iCAAA;AAAA,gBACD;AAAA,gBACA,SAAS,CAAA,MAAK;AACb,6BAAW;AACX,gCAAc,CAAC;AAAA,gBAChB;AAAA,gBACA,QAAQ,OAAO,MAAM,EAAE,WAAW,KAAK,OAAA,EAAS,SAAA,EAAW,UAAU,CAAC,GAAG;AAAA,cAAA,CACzE;AAED,kBAAI,CAAC,UAAU;AACd,oBAAI,CAAC,YAAY;AAChB,iCAAe;AAAA,gBAChB;AACA,4BAAY,KAAK,IAAA;AAAA,cAClB;AACA,sBAAA;AACA,2BAAa;AAAA,YACd,SAAS,GAAG;AACX,4BAAc,CAAC;AAAA,YAChB;AAAA,UACD,CAAC;AACD,iBAAA;AAAA,QACD,SAAS,GAAG;AACX,yBAAe;AACf,iBAAA;AACA;AACA,gBAAM,eAAe,aAAa,KAAK,QAAQ,MAAO,KAAK,QAAQ,cAAc;AACjF,gBAAM,gBAAgB,iBAAiB,UAAa,gBAAgB;AACpE,cAAI,eAAe;AAClB,kBAAM,YAAY,KAAK,KAAK,KAAK;AAAA,cAChC,KAAK,IAAI,KAAK,QAAQ,sBAAsB,GAAG,eAAe,CAAC,KAAK,KAAK,QAAQ,cAAc;AAAA,cAC/F,KAAK,QAAQ,cAAc;AAAA,YAAA,CAC3B;AACD,mBAAO,MAAM,mCAAmC,SAAS,WAAW;AAAA,cACnE,OAAO;AAAA,YAAA,CACP;AACD,kBAAMA,uBAAiB,WAAW,gBAAgB,MAAM;AACxD,gBAAI,CAAC,gBAAgB,OAAO,SAAS;AACpC,qBAAO,KAAK,yBAAyB;AAAA,YACtC;AAAA,UACD,OAAO;AACN,mBAAO,MAAM,8BAA8B;AAAA,cAC1C,OAAO;AAAA,YAAA,CACP;AACD,gBAAI,YAAY;AACf,sBAAQ,CAAC;AAAA,YACV,OAAO;AACN,qBAAO,CAAC;AAAA,YACT;AACA;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD,CAAC;AAED,WAAO;AAAA,MACN,MAAM,MAAqB;AAC1B,wBAAgB,MAAA;AAChB,cAAM,cAAc,IAAA;AAAA,MACrB;AAAA,IAAA;AAAA,EAEF;AACD;;"}
|
|
@@ -10,26 +10,49 @@ class Supervisor {
|
|
|
10
10
|
const abortController = new AbortController();
|
|
11
11
|
let innerRunning;
|
|
12
12
|
let wasHealthy = false;
|
|
13
|
+
let startedAt;
|
|
14
|
+
const endRun = () => {
|
|
15
|
+
if (startedAt !== void 0 && Date.now() - startedAt >= (this.options.stableAfter ?? 6e4)) {
|
|
16
|
+
restartCount = 0;
|
|
17
|
+
}
|
|
18
|
+
startedAt = void 0;
|
|
19
|
+
};
|
|
13
20
|
await new Promise(async (resolve, reject) => {
|
|
14
21
|
while (!abortController.signal.aborted) {
|
|
22
|
+
let runEnded = false;
|
|
15
23
|
try {
|
|
16
24
|
await new Promise(async (resolveRunning, rejectRunning) => {
|
|
17
25
|
try {
|
|
18
26
|
innerRunning = await this.runnable.run({
|
|
19
|
-
onClose:
|
|
20
|
-
|
|
27
|
+
onClose: () => {
|
|
28
|
+
runEnded = true;
|
|
29
|
+
resolveRunning();
|
|
30
|
+
},
|
|
31
|
+
onError: (e) => {
|
|
32
|
+
runEnded = true;
|
|
33
|
+
rejectRunning(e);
|
|
34
|
+
},
|
|
21
35
|
logger: logger.child({ runningId: Math.random().toString().substring(2) })
|
|
22
36
|
});
|
|
23
|
-
|
|
37
|
+
if (!runEnded) {
|
|
38
|
+
if (!wasHealthy) {
|
|
39
|
+
restartCount = 0;
|
|
40
|
+
}
|
|
41
|
+
startedAt = Date.now();
|
|
42
|
+
}
|
|
24
43
|
resolve();
|
|
25
44
|
wasHealthy = true;
|
|
26
45
|
} catch (e) {
|
|
27
46
|
rejectRunning(e);
|
|
28
47
|
}
|
|
29
48
|
});
|
|
49
|
+
endRun();
|
|
30
50
|
} catch (e) {
|
|
31
51
|
innerRunning = void 0;
|
|
32
|
-
|
|
52
|
+
endRun();
|
|
53
|
+
restartCount++;
|
|
54
|
+
const restartLimit = wasHealthy ? this.options.max : this.options.startupMax ?? 10;
|
|
55
|
+
const shouldRestart = restartLimit === void 0 || restartCount <= restartLimit;
|
|
33
56
|
if (shouldRestart) {
|
|
34
57
|
const timeoutMs = Math.ceil(Math.min(
|
|
35
58
|
Math.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1e3),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Supervisor.js","sources":["../../../../../packages/engine-common/src/runnable/Supervisor.ts"],"sourcesContent":["import { Runnable, RunnableArgs, Running } from './Runnable.js'\nimport { abortableTimeout } from './utils.js'\n\nexport type SupervisorOptions = {\n\tmax?: number\n\tstartupMax?: number\n\tminBackoff?: number\n\tmaxBackoff?: number\n\texponentiationBase?: number\n}\n\nexport class Supervisor implements Runnable {\n\tconstructor(\n\t\tprivate runnable: Runnable,\n\t\tprivate options: SupervisorOptions = {},\n\t) {\n\t}\n\n\tpublic async run(args: RunnableArgs): Promise<Running> {\n\t\tconst { logger, onError } = args\n\t\tlet restartCount = 0\n\t\tconst abortController = new AbortController()\n\t\tlet innerRunning: Running | undefined\n\t\tlet wasHealthy = false\n\n\t\tawait new Promise<void>(async (resolve, reject) => {\n\t\t\twhile (!abortController.signal.aborted) {\n\t\t\t\ttry {\n\t\t\t\t\tawait new Promise<void>(async (resolveRunning, rejectRunning) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerRunning = await this.runnable.run({\n\t\t\t\t\t\t\t\tonClose:
|
|
1
|
+
{"version":3,"file":"Supervisor.js","sources":["../../../../../packages/engine-common/src/runnable/Supervisor.ts"],"sourcesContent":["import { Runnable, RunnableArgs, Running } from './Runnable.js'\nimport { abortableTimeout } from './utils.js'\n\nexport type SupervisorOptions = {\n\tmax?: number\n\tstartupMax?: number\n\tminBackoff?: number\n\tmaxBackoff?: number\n\texponentiationBase?: number\n\t/** Uptime (ms, default 60 000) after which a run counts as stable and the backoff resets; a run that crashes sooner counts as a failed restart. */\n\tstableAfter?: number\n}\n\nexport class Supervisor implements Runnable {\n\tconstructor(\n\t\tprivate runnable: Runnable,\n\t\tprivate options: SupervisorOptions = {},\n\t) {\n\t}\n\n\tpublic async run(args: RunnableArgs): Promise<Running> {\n\t\tconst { logger, onError } = args\n\t\tlet restartCount = 0\n\t\tconst abortController = new AbortController()\n\t\tlet innerRunning: Running | undefined\n\t\tlet wasHealthy = false\n\t\tlet startedAt: number | undefined\n\t\tconst endRun = () => {\n\t\t\tif (startedAt !== undefined && Date.now() - startedAt >= (this.options.stableAfter ?? 60_000)) {\n\t\t\t\trestartCount = 0\n\t\t\t}\n\t\t\tstartedAt = undefined\n\t\t}\n\n\t\tawait new Promise<void>(async (resolve, reject) => {\n\t\t\twhile (!abortController.signal.aborted) {\n\t\t\t\tlet runEnded = false\n\t\t\t\ttry {\n\t\t\t\t\tawait new Promise<void>(async (resolveRunning, rejectRunning) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerRunning = await this.runnable.run({\n\t\t\t\t\t\t\t\tonClose: () => {\n\t\t\t\t\t\t\t\t\trunEnded = true\n\t\t\t\t\t\t\t\t\tresolveRunning()\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonError: e => {\n\t\t\t\t\t\t\t\t\trunEnded = true\n\t\t\t\t\t\t\t\t\trejectRunning(e)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tlogger: logger.child({ runningId: Math.random().toString().substring(2) }),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t// a run that ended before run() returned was already handled as a crash; recording it as started would count the backoff as uptime\n\t\t\t\t\t\t\tif (!runEnded) {\n\t\t\t\t\t\t\t\tif (!wasHealthy) {\n\t\t\t\t\t\t\t\t\trestartCount = 0\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstartedAt = Date.now()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresolve()\n\t\t\t\t\t\t\twasHealthy = true\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\trejectRunning(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tendRun()\n\t\t\t\t} catch (e) {\n\t\t\t\t\tinnerRunning = undefined\n\t\t\t\t\tendRun()\n\t\t\t\t\trestartCount++\n\t\t\t\t\tconst restartLimit = wasHealthy ? this.options.max : (this.options.startupMax ?? 10)\n\t\t\t\t\tconst shouldRestart = restartLimit === undefined || restartCount <= restartLimit\n\t\t\t\t\tif (shouldRestart) {\n\t\t\t\t\t\tconst timeoutMs = Math.ceil(Math.min(\n\t\t\t\t\t\t\tMath.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1_000),\n\t\t\t\t\t\t\tthis.options.maxBackoff ?? 60_000,\n\t\t\t\t\t\t))\n\t\t\t\t\t\tlogger.error(`Runnable crashed, restarting in ${timeoutMs} ms ...`, {\n\t\t\t\t\t\t\terror: e,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tawait abortableTimeout(timeoutMs, abortController.signal)\n\t\t\t\t\t\tif (!abortController.signal.aborted) {\n\t\t\t\t\t\t\tlogger.info(`Restarting runnable now`)\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlogger.error(`Runnable crashed, stopping`, {\n\t\t\t\t\t\t\terror: e,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tif (wasHealthy) {\n\t\t\t\t\t\t\tonError(e)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treject(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\n\t\treturn {\n\t\t\tasync end(): Promise<void> {\n\t\t\t\tabortController.abort()\n\t\t\t\tawait innerRunning?.end()\n\t\t\t},\n\t\t}\n\t}\n}\n"],"names":[],"mappings":";AAaO,MAAM,WAA+B;AAAA,EAC3C,YACS,UACA,UAA6B,IACpC;AAFO,SAAA,WAAA;AACA,SAAA,UAAA;AAAA,EAET;AAAA,EAEA,MAAa,IAAI,MAAsC;AACtD,UAAM,EAAE,QAAQ,QAAA,IAAY;AAC5B,QAAI,eAAe;AACnB,UAAM,kBAAkB,IAAI,gBAAA;AAC5B,QAAI;AACJ,QAAI,aAAa;AACjB,QAAI;AACJ,UAAM,SAAS,MAAM;AACpB,UAAI,cAAc,UAAa,KAAK,IAAA,IAAQ,cAAc,KAAK,QAAQ,eAAe,MAAS;AAC9F,uBAAe;AAAA,MAChB;AACA,kBAAY;AAAA,IACb;AAEA,UAAM,IAAI,QAAc,OAAO,SAAS,WAAW;AAClD,aAAO,CAAC,gBAAgB,OAAO,SAAS;AACvC,YAAI,WAAW;AACf,YAAI;AACH,gBAAM,IAAI,QAAc,OAAO,gBAAgB,kBAAkB;AAChE,gBAAI;AACH,6BAAe,MAAM,KAAK,SAAS,IAAI;AAAA,gBACtC,SAAS,MAAM;AACd,6BAAW;AACX,iCAAA;AAAA,gBACD;AAAA,gBACA,SAAS,CAAA,MAAK;AACb,6BAAW;AACX,gCAAc,CAAC;AAAA,gBAChB;AAAA,gBACA,QAAQ,OAAO,MAAM,EAAE,WAAW,KAAK,OAAA,EAAS,SAAA,EAAW,UAAU,CAAC,GAAG;AAAA,cAAA,CACzE;AAED,kBAAI,CAAC,UAAU;AACd,oBAAI,CAAC,YAAY;AAChB,iCAAe;AAAA,gBAChB;AACA,4BAAY,KAAK,IAAA;AAAA,cAClB;AACA,sBAAA;AACA,2BAAa;AAAA,YACd,SAAS,GAAG;AACX,4BAAc,CAAC;AAAA,YAChB;AAAA,UACD,CAAC;AACD,iBAAA;AAAA,QACD,SAAS,GAAG;AACX,yBAAe;AACf,iBAAA;AACA;AACA,gBAAM,eAAe,aAAa,KAAK,QAAQ,MAAO,KAAK,QAAQ,cAAc;AACjF,gBAAM,gBAAgB,iBAAiB,UAAa,gBAAgB;AACpE,cAAI,eAAe;AAClB,kBAAM,YAAY,KAAK,KAAK,KAAK;AAAA,cAChC,KAAK,IAAI,KAAK,QAAQ,sBAAsB,GAAG,eAAe,CAAC,KAAK,KAAK,QAAQ,cAAc;AAAA,cAC/F,KAAK,QAAQ,cAAc;AAAA,YAAA,CAC3B;AACD,mBAAO,MAAM,mCAAmC,SAAS,WAAW;AAAA,cACnE,OAAO;AAAA,YAAA,CACP;AACD,kBAAM,iBAAiB,WAAW,gBAAgB,MAAM;AACxD,gBAAI,CAAC,gBAAgB,OAAO,SAAS;AACpC,qBAAO,KAAK,yBAAyB;AAAA,YACtC;AAAA,UACD,OAAO;AACN,mBAAO,MAAM,8BAA8B;AAAA,cAC1C,OAAO;AAAA,YAAA,CACP;AACD,gBAAI,YAAY;AACf,sBAAQ,CAAC;AAAA,YACV,OAAO;AACN,qBAAO,CAAC;AAAA,YACT;AACA;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD,CAAC;AAED,WAAO;AAAA,MACN,MAAM,MAAqB;AAC1B,wBAAgB,MAAA;AAChB,cAAM,cAAc,IAAA;AAAA,MACrB;AAAA,IAAA;AAAA,EAEF;AACD;"}
|
|
@@ -12,26 +12,49 @@ class Supervisor {
|
|
|
12
12
|
const abortController = new AbortController();
|
|
13
13
|
let innerRunning;
|
|
14
14
|
let wasHealthy = false;
|
|
15
|
+
let startedAt;
|
|
16
|
+
const endRun = () => {
|
|
17
|
+
if (startedAt !== void 0 && Date.now() - startedAt >= (this.options.stableAfter ?? 6e4)) {
|
|
18
|
+
restartCount = 0;
|
|
19
|
+
}
|
|
20
|
+
startedAt = void 0;
|
|
21
|
+
};
|
|
15
22
|
await new Promise(async (resolve, reject) => {
|
|
16
23
|
while (!abortController.signal.aborted) {
|
|
24
|
+
let runEnded = false;
|
|
17
25
|
try {
|
|
18
26
|
await new Promise(async (resolveRunning, rejectRunning) => {
|
|
19
27
|
try {
|
|
20
28
|
innerRunning = await this.runnable.run({
|
|
21
|
-
onClose:
|
|
22
|
-
|
|
29
|
+
onClose: () => {
|
|
30
|
+
runEnded = true;
|
|
31
|
+
resolveRunning();
|
|
32
|
+
},
|
|
33
|
+
onError: (e) => {
|
|
34
|
+
runEnded = true;
|
|
35
|
+
rejectRunning(e);
|
|
36
|
+
},
|
|
23
37
|
logger: logger.child({ runningId: Math.random().toString().substring(2) })
|
|
24
38
|
});
|
|
25
|
-
|
|
39
|
+
if (!runEnded) {
|
|
40
|
+
if (!wasHealthy) {
|
|
41
|
+
restartCount = 0;
|
|
42
|
+
}
|
|
43
|
+
startedAt = Date.now();
|
|
44
|
+
}
|
|
26
45
|
resolve();
|
|
27
46
|
wasHealthy = true;
|
|
28
47
|
} catch (e) {
|
|
29
48
|
rejectRunning(e);
|
|
30
49
|
}
|
|
31
50
|
});
|
|
51
|
+
endRun();
|
|
32
52
|
} catch (e) {
|
|
33
53
|
innerRunning = void 0;
|
|
34
|
-
|
|
54
|
+
endRun();
|
|
55
|
+
restartCount++;
|
|
56
|
+
const restartLimit = wasHealthy ? this.options.max : this.options.startupMax ?? 10;
|
|
57
|
+
const shouldRestart = restartLimit === void 0 || restartCount <= restartLimit;
|
|
35
58
|
if (shouldRestart) {
|
|
36
59
|
const timeoutMs = Math.ceil(Math.min(
|
|
37
60
|
Math.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1e3),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Supervisor.cjs","sources":["../../../../../packages/engine-common/src/runnable/Supervisor.ts"],"sourcesContent":["import { Runnable, RunnableArgs, Running } from './Runnable.js'\nimport { abortableTimeout } from './utils.js'\n\nexport type SupervisorOptions = {\n\tmax?: number\n\tstartupMax?: number\n\tminBackoff?: number\n\tmaxBackoff?: number\n\texponentiationBase?: number\n}\n\nexport class Supervisor implements Runnable {\n\tconstructor(\n\t\tprivate runnable: Runnable,\n\t\tprivate options: SupervisorOptions = {},\n\t) {\n\t}\n\n\tpublic async run(args: RunnableArgs): Promise<Running> {\n\t\tconst { logger, onError } = args\n\t\tlet restartCount = 0\n\t\tconst abortController = new AbortController()\n\t\tlet innerRunning: Running | undefined\n\t\tlet wasHealthy = false\n\n\t\tawait new Promise<void>(async (resolve, reject) => {\n\t\t\twhile (!abortController.signal.aborted) {\n\t\t\t\ttry {\n\t\t\t\t\tawait new Promise<void>(async (resolveRunning, rejectRunning) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerRunning = await this.runnable.run({\n\t\t\t\t\t\t\t\tonClose:
|
|
1
|
+
{"version":3,"file":"Supervisor.cjs","sources":["../../../../../packages/engine-common/src/runnable/Supervisor.ts"],"sourcesContent":["import { Runnable, RunnableArgs, Running } from './Runnable.js'\nimport { abortableTimeout } from './utils.js'\n\nexport type SupervisorOptions = {\n\tmax?: number\n\tstartupMax?: number\n\tminBackoff?: number\n\tmaxBackoff?: number\n\texponentiationBase?: number\n\t/** Uptime (ms, default 60 000) after which a run counts as stable and the backoff resets; a run that crashes sooner counts as a failed restart. */\n\tstableAfter?: number\n}\n\nexport class Supervisor implements Runnable {\n\tconstructor(\n\t\tprivate runnable: Runnable,\n\t\tprivate options: SupervisorOptions = {},\n\t) {\n\t}\n\n\tpublic async run(args: RunnableArgs): Promise<Running> {\n\t\tconst { logger, onError } = args\n\t\tlet restartCount = 0\n\t\tconst abortController = new AbortController()\n\t\tlet innerRunning: Running | undefined\n\t\tlet wasHealthy = false\n\t\tlet startedAt: number | undefined\n\t\tconst endRun = () => {\n\t\t\tif (startedAt !== undefined && Date.now() - startedAt >= (this.options.stableAfter ?? 60_000)) {\n\t\t\t\trestartCount = 0\n\t\t\t}\n\t\t\tstartedAt = undefined\n\t\t}\n\n\t\tawait new Promise<void>(async (resolve, reject) => {\n\t\t\twhile (!abortController.signal.aborted) {\n\t\t\t\tlet runEnded = false\n\t\t\t\ttry {\n\t\t\t\t\tawait new Promise<void>(async (resolveRunning, rejectRunning) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerRunning = await this.runnable.run({\n\t\t\t\t\t\t\t\tonClose: () => {\n\t\t\t\t\t\t\t\t\trunEnded = true\n\t\t\t\t\t\t\t\t\tresolveRunning()\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonError: e => {\n\t\t\t\t\t\t\t\t\trunEnded = true\n\t\t\t\t\t\t\t\t\trejectRunning(e)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tlogger: logger.child({ runningId: Math.random().toString().substring(2) }),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t// a run that ended before run() returned was already handled as a crash; recording it as started would count the backoff as uptime\n\t\t\t\t\t\t\tif (!runEnded) {\n\t\t\t\t\t\t\t\tif (!wasHealthy) {\n\t\t\t\t\t\t\t\t\trestartCount = 0\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstartedAt = Date.now()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresolve()\n\t\t\t\t\t\t\twasHealthy = true\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\trejectRunning(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tendRun()\n\t\t\t\t} catch (e) {\n\t\t\t\t\tinnerRunning = undefined\n\t\t\t\t\tendRun()\n\t\t\t\t\trestartCount++\n\t\t\t\t\tconst restartLimit = wasHealthy ? this.options.max : (this.options.startupMax ?? 10)\n\t\t\t\t\tconst shouldRestart = restartLimit === undefined || restartCount <= restartLimit\n\t\t\t\t\tif (shouldRestart) {\n\t\t\t\t\t\tconst timeoutMs = Math.ceil(Math.min(\n\t\t\t\t\t\t\tMath.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1_000),\n\t\t\t\t\t\t\tthis.options.maxBackoff ?? 60_000,\n\t\t\t\t\t\t))\n\t\t\t\t\t\tlogger.error(`Runnable crashed, restarting in ${timeoutMs} ms ...`, {\n\t\t\t\t\t\t\terror: e,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tawait abortableTimeout(timeoutMs, abortController.signal)\n\t\t\t\t\t\tif (!abortController.signal.aborted) {\n\t\t\t\t\t\t\tlogger.info(`Restarting runnable now`)\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlogger.error(`Runnable crashed, stopping`, {\n\t\t\t\t\t\t\terror: e,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tif (wasHealthy) {\n\t\t\t\t\t\t\tonError(e)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treject(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\n\t\treturn {\n\t\t\tasync end(): Promise<void> {\n\t\t\t\tabortController.abort()\n\t\t\t\tawait innerRunning?.end()\n\t\t\t},\n\t\t}\n\t}\n}\n"],"names":["abortableTimeout"],"mappings":";;;AAaO,MAAM,WAA+B;AAAA,EAC3C,YACS,UACA,UAA6B,IACpC;AAFO,SAAA,WAAA;AACA,SAAA,UAAA;AAAA,EAET;AAAA,EAEA,MAAa,IAAI,MAAsC;AACtD,UAAM,EAAE,QAAQ,QAAA,IAAY;AAC5B,QAAI,eAAe;AACnB,UAAM,kBAAkB,IAAI,gBAAA;AAC5B,QAAI;AACJ,QAAI,aAAa;AACjB,QAAI;AACJ,UAAM,SAAS,MAAM;AACpB,UAAI,cAAc,UAAa,KAAK,IAAA,IAAQ,cAAc,KAAK,QAAQ,eAAe,MAAS;AAC9F,uBAAe;AAAA,MAChB;AACA,kBAAY;AAAA,IACb;AAEA,UAAM,IAAI,QAAc,OAAO,SAAS,WAAW;AAClD,aAAO,CAAC,gBAAgB,OAAO,SAAS;AACvC,YAAI,WAAW;AACf,YAAI;AACH,gBAAM,IAAI,QAAc,OAAO,gBAAgB,kBAAkB;AAChE,gBAAI;AACH,6BAAe,MAAM,KAAK,SAAS,IAAI;AAAA,gBACtC,SAAS,MAAM;AACd,6BAAW;AACX,iCAAA;AAAA,gBACD;AAAA,gBACA,SAAS,CAAA,MAAK;AACb,6BAAW;AACX,gCAAc,CAAC;AAAA,gBAChB;AAAA,gBACA,QAAQ,OAAO,MAAM,EAAE,WAAW,KAAK,OAAA,EAAS,SAAA,EAAW,UAAU,CAAC,GAAG;AAAA,cAAA,CACzE;AAED,kBAAI,CAAC,UAAU;AACd,oBAAI,CAAC,YAAY;AAChB,iCAAe;AAAA,gBAChB;AACA,4BAAY,KAAK,IAAA;AAAA,cAClB;AACA,sBAAA;AACA,2BAAa;AAAA,YACd,SAAS,GAAG;AACX,4BAAc,CAAC;AAAA,YAChB;AAAA,UACD,CAAC;AACD,iBAAA;AAAA,QACD,SAAS,GAAG;AACX,yBAAe;AACf,iBAAA;AACA;AACA,gBAAM,eAAe,aAAa,KAAK,QAAQ,MAAO,KAAK,QAAQ,cAAc;AACjF,gBAAM,gBAAgB,iBAAiB,UAAa,gBAAgB;AACpE,cAAI,eAAe;AAClB,kBAAM,YAAY,KAAK,KAAK,KAAK;AAAA,cAChC,KAAK,IAAI,KAAK,QAAQ,sBAAsB,GAAG,eAAe,CAAC,KAAK,KAAK,QAAQ,cAAc;AAAA,cAC/F,KAAK,QAAQ,cAAc;AAAA,YAAA,CAC3B;AACD,mBAAO,MAAM,mCAAmC,SAAS,WAAW;AAAA,cACnE,OAAO;AAAA,YAAA,CACP;AACD,kBAAMA,uBAAiB,WAAW,gBAAgB,MAAM;AACxD,gBAAI,CAAC,gBAAgB,OAAO,SAAS;AACpC,qBAAO,KAAK,yBAAyB;AAAA,YACtC;AAAA,UACD,OAAO;AACN,mBAAO,MAAM,8BAA8B;AAAA,cAC1C,OAAO;AAAA,YAAA,CACP;AACD,gBAAI,YAAY;AACf,sBAAQ,CAAC;AAAA,YACV,OAAO;AACN,qBAAO,CAAC;AAAA,YACT;AACA;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD,CAAC;AAED,WAAO;AAAA,MACN,MAAM,MAAqB;AAC1B,wBAAgB,MAAA;AAChB,cAAM,cAAc,IAAA;AAAA,MACrB;AAAA,IAAA;AAAA,EAEF;AACD;;"}
|
|
@@ -10,26 +10,49 @@ class Supervisor {
|
|
|
10
10
|
const abortController = new AbortController();
|
|
11
11
|
let innerRunning;
|
|
12
12
|
let wasHealthy = false;
|
|
13
|
+
let startedAt;
|
|
14
|
+
const endRun = () => {
|
|
15
|
+
if (startedAt !== void 0 && Date.now() - startedAt >= (this.options.stableAfter ?? 6e4)) {
|
|
16
|
+
restartCount = 0;
|
|
17
|
+
}
|
|
18
|
+
startedAt = void 0;
|
|
19
|
+
};
|
|
13
20
|
await new Promise(async (resolve, reject) => {
|
|
14
21
|
while (!abortController.signal.aborted) {
|
|
22
|
+
let runEnded = false;
|
|
15
23
|
try {
|
|
16
24
|
await new Promise(async (resolveRunning, rejectRunning) => {
|
|
17
25
|
try {
|
|
18
26
|
innerRunning = await this.runnable.run({
|
|
19
|
-
onClose:
|
|
20
|
-
|
|
27
|
+
onClose: () => {
|
|
28
|
+
runEnded = true;
|
|
29
|
+
resolveRunning();
|
|
30
|
+
},
|
|
31
|
+
onError: (e) => {
|
|
32
|
+
runEnded = true;
|
|
33
|
+
rejectRunning(e);
|
|
34
|
+
},
|
|
21
35
|
logger: logger.child({ runningId: Math.random().toString().substring(2) })
|
|
22
36
|
});
|
|
23
|
-
|
|
37
|
+
if (!runEnded) {
|
|
38
|
+
if (!wasHealthy) {
|
|
39
|
+
restartCount = 0;
|
|
40
|
+
}
|
|
41
|
+
startedAt = Date.now();
|
|
42
|
+
}
|
|
24
43
|
resolve();
|
|
25
44
|
wasHealthy = true;
|
|
26
45
|
} catch (e) {
|
|
27
46
|
rejectRunning(e);
|
|
28
47
|
}
|
|
29
48
|
});
|
|
49
|
+
endRun();
|
|
30
50
|
} catch (e) {
|
|
31
51
|
innerRunning = void 0;
|
|
32
|
-
|
|
52
|
+
endRun();
|
|
53
|
+
restartCount++;
|
|
54
|
+
const restartLimit = wasHealthy ? this.options.max : this.options.startupMax ?? 10;
|
|
55
|
+
const shouldRestart = restartLimit === void 0 || restartCount <= restartLimit;
|
|
33
56
|
if (shouldRestart) {
|
|
34
57
|
const timeoutMs = Math.ceil(Math.min(
|
|
35
58
|
Math.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1e3),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Supervisor.js","sources":["../../../../../packages/engine-common/src/runnable/Supervisor.ts"],"sourcesContent":["import { Runnable, RunnableArgs, Running } from './Runnable.js'\nimport { abortableTimeout } from './utils.js'\n\nexport type SupervisorOptions = {\n\tmax?: number\n\tstartupMax?: number\n\tminBackoff?: number\n\tmaxBackoff?: number\n\texponentiationBase?: number\n}\n\nexport class Supervisor implements Runnable {\n\tconstructor(\n\t\tprivate runnable: Runnable,\n\t\tprivate options: SupervisorOptions = {},\n\t) {\n\t}\n\n\tpublic async run(args: RunnableArgs): Promise<Running> {\n\t\tconst { logger, onError } = args\n\t\tlet restartCount = 0\n\t\tconst abortController = new AbortController()\n\t\tlet innerRunning: Running | undefined\n\t\tlet wasHealthy = false\n\n\t\tawait new Promise<void>(async (resolve, reject) => {\n\t\t\twhile (!abortController.signal.aborted) {\n\t\t\t\ttry {\n\t\t\t\t\tawait new Promise<void>(async (resolveRunning, rejectRunning) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerRunning = await this.runnable.run({\n\t\t\t\t\t\t\t\tonClose:
|
|
1
|
+
{"version":3,"file":"Supervisor.js","sources":["../../../../../packages/engine-common/src/runnable/Supervisor.ts"],"sourcesContent":["import { Runnable, RunnableArgs, Running } from './Runnable.js'\nimport { abortableTimeout } from './utils.js'\n\nexport type SupervisorOptions = {\n\tmax?: number\n\tstartupMax?: number\n\tminBackoff?: number\n\tmaxBackoff?: number\n\texponentiationBase?: number\n\t/** Uptime (ms, default 60 000) after which a run counts as stable and the backoff resets; a run that crashes sooner counts as a failed restart. */\n\tstableAfter?: number\n}\n\nexport class Supervisor implements Runnable {\n\tconstructor(\n\t\tprivate runnable: Runnable,\n\t\tprivate options: SupervisorOptions = {},\n\t) {\n\t}\n\n\tpublic async run(args: RunnableArgs): Promise<Running> {\n\t\tconst { logger, onError } = args\n\t\tlet restartCount = 0\n\t\tconst abortController = new AbortController()\n\t\tlet innerRunning: Running | undefined\n\t\tlet wasHealthy = false\n\t\tlet startedAt: number | undefined\n\t\tconst endRun = () => {\n\t\t\tif (startedAt !== undefined && Date.now() - startedAt >= (this.options.stableAfter ?? 60_000)) {\n\t\t\t\trestartCount = 0\n\t\t\t}\n\t\t\tstartedAt = undefined\n\t\t}\n\n\t\tawait new Promise<void>(async (resolve, reject) => {\n\t\t\twhile (!abortController.signal.aborted) {\n\t\t\t\tlet runEnded = false\n\t\t\t\ttry {\n\t\t\t\t\tawait new Promise<void>(async (resolveRunning, rejectRunning) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tinnerRunning = await this.runnable.run({\n\t\t\t\t\t\t\t\tonClose: () => {\n\t\t\t\t\t\t\t\t\trunEnded = true\n\t\t\t\t\t\t\t\t\tresolveRunning()\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonError: e => {\n\t\t\t\t\t\t\t\t\trunEnded = true\n\t\t\t\t\t\t\t\t\trejectRunning(e)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tlogger: logger.child({ runningId: Math.random().toString().substring(2) }),\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t// a run that ended before run() returned was already handled as a crash; recording it as started would count the backoff as uptime\n\t\t\t\t\t\t\tif (!runEnded) {\n\t\t\t\t\t\t\t\tif (!wasHealthy) {\n\t\t\t\t\t\t\t\t\trestartCount = 0\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstartedAt = Date.now()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tresolve()\n\t\t\t\t\t\t\twasHealthy = true\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\trejectRunning(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tendRun()\n\t\t\t\t} catch (e) {\n\t\t\t\t\tinnerRunning = undefined\n\t\t\t\t\tendRun()\n\t\t\t\t\trestartCount++\n\t\t\t\t\tconst restartLimit = wasHealthy ? this.options.max : (this.options.startupMax ?? 10)\n\t\t\t\t\tconst shouldRestart = restartLimit === undefined || restartCount <= restartLimit\n\t\t\t\t\tif (shouldRestart) {\n\t\t\t\t\t\tconst timeoutMs = Math.ceil(Math.min(\n\t\t\t\t\t\t\tMath.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1_000),\n\t\t\t\t\t\t\tthis.options.maxBackoff ?? 60_000,\n\t\t\t\t\t\t))\n\t\t\t\t\t\tlogger.error(`Runnable crashed, restarting in ${timeoutMs} ms ...`, {\n\t\t\t\t\t\t\terror: e,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tawait abortableTimeout(timeoutMs, abortController.signal)\n\t\t\t\t\t\tif (!abortController.signal.aborted) {\n\t\t\t\t\t\t\tlogger.info(`Restarting runnable now`)\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlogger.error(`Runnable crashed, stopping`, {\n\t\t\t\t\t\t\terror: e,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tif (wasHealthy) {\n\t\t\t\t\t\t\tonError(e)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treject(e)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\n\t\treturn {\n\t\t\tasync end(): Promise<void> {\n\t\t\t\tabortController.abort()\n\t\t\t\tawait innerRunning?.end()\n\t\t\t},\n\t\t}\n\t}\n}\n"],"names":[],"mappings":";AAaO,MAAM,WAA+B;AAAA,EAC3C,YACS,UACA,UAA6B,IACpC;AAFO,SAAA,WAAA;AACA,SAAA,UAAA;AAAA,EAET;AAAA,EAEA,MAAa,IAAI,MAAsC;AACtD,UAAM,EAAE,QAAQ,QAAA,IAAY;AAC5B,QAAI,eAAe;AACnB,UAAM,kBAAkB,IAAI,gBAAA;AAC5B,QAAI;AACJ,QAAI,aAAa;AACjB,QAAI;AACJ,UAAM,SAAS,MAAM;AACpB,UAAI,cAAc,UAAa,KAAK,IAAA,IAAQ,cAAc,KAAK,QAAQ,eAAe,MAAS;AAC9F,uBAAe;AAAA,MAChB;AACA,kBAAY;AAAA,IACb;AAEA,UAAM,IAAI,QAAc,OAAO,SAAS,WAAW;AAClD,aAAO,CAAC,gBAAgB,OAAO,SAAS;AACvC,YAAI,WAAW;AACf,YAAI;AACH,gBAAM,IAAI,QAAc,OAAO,gBAAgB,kBAAkB;AAChE,gBAAI;AACH,6BAAe,MAAM,KAAK,SAAS,IAAI;AAAA,gBACtC,SAAS,MAAM;AACd,6BAAW;AACX,iCAAA;AAAA,gBACD;AAAA,gBACA,SAAS,CAAA,MAAK;AACb,6BAAW;AACX,gCAAc,CAAC;AAAA,gBAChB;AAAA,gBACA,QAAQ,OAAO,MAAM,EAAE,WAAW,KAAK,OAAA,EAAS,SAAA,EAAW,UAAU,CAAC,GAAG;AAAA,cAAA,CACzE;AAED,kBAAI,CAAC,UAAU;AACd,oBAAI,CAAC,YAAY;AAChB,iCAAe;AAAA,gBAChB;AACA,4BAAY,KAAK,IAAA;AAAA,cAClB;AACA,sBAAA;AACA,2BAAa;AAAA,YACd,SAAS,GAAG;AACX,4BAAc,CAAC;AAAA,YAChB;AAAA,UACD,CAAC;AACD,iBAAA;AAAA,QACD,SAAS,GAAG;AACX,yBAAe;AACf,iBAAA;AACA;AACA,gBAAM,eAAe,aAAa,KAAK,QAAQ,MAAO,KAAK,QAAQ,cAAc;AACjF,gBAAM,gBAAgB,iBAAiB,UAAa,gBAAgB;AACpE,cAAI,eAAe;AAClB,kBAAM,YAAY,KAAK,KAAK,KAAK;AAAA,cAChC,KAAK,IAAI,KAAK,QAAQ,sBAAsB,GAAG,eAAe,CAAC,KAAK,KAAK,QAAQ,cAAc;AAAA,cAC/F,KAAK,QAAQ,cAAc;AAAA,YAAA,CAC3B;AACD,mBAAO,MAAM,mCAAmC,SAAS,WAAW;AAAA,cACnE,OAAO;AAAA,YAAA,CACP;AACD,kBAAM,iBAAiB,WAAW,gBAAgB,MAAM;AACxD,gBAAI,CAAC,gBAAgB,OAAO,SAAS;AACpC,qBAAO,KAAK,yBAAyB;AAAA,YACtC;AAAA,UACD,OAAO;AACN,mBAAO,MAAM,8BAA8B;AAAA,cAC1C,OAAO;AAAA,YAAA,CACP;AACD,gBAAI,YAAY;AACf,sBAAQ,CAAC;AAAA,YACV,OAAO;AACN,qBAAO,CAAC;AAAA,YACT;AACA;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD,CAAC;AAED,WAAO;AAAA,MACN,MAAM,MAAqB;AAC1B,wBAAgB,MAAA;AAChB,cAAM,cAAc,IAAA;AAAA,MACrB;AAAA,IAAA;AAAA,EAEF;AACD;"}
|
|
@@ -5,6 +5,8 @@ export type SupervisorOptions = {
|
|
|
5
5
|
minBackoff?: number;
|
|
6
6
|
maxBackoff?: number;
|
|
7
7
|
exponentiationBase?: number;
|
|
8
|
+
/** Uptime (ms, default 60 000) after which a run counts as stable and the backoff resets; a run that crashes sooner counts as a failed restart. */
|
|
9
|
+
stableAfter?: number;
|
|
8
10
|
};
|
|
9
11
|
export declare class Supervisor implements Runnable {
|
|
10
12
|
private runnable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Supervisor.d.ts","sourceRoot":"","sources":["../../../src/runnable/Supervisor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAG/D,MAAM,MAAM,iBAAiB,GAAG;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"Supervisor.d.ts","sourceRoot":"","sources":["../../../src/runnable/Supervisor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAG/D,MAAM,MAAM,iBAAiB,GAAG;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mJAAmJ;IACnJ,WAAW,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,qBAAa,UAAW,YAAW,QAAQ;IAEzC,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,OAAO;IAFhB,YACS,QAAQ,EAAE,QAAQ,EAClB,OAAO,GAAE,iBAAsB,EAEvC;IAEY,GAAG,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,CAoFrD;CACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"7.0.1-rc","root":[[90,92],[107,112]],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2024.d.ts","lib.es2025.d.ts","lib.esnext.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.es2025.collection.d.ts","lib.es2025.float16.d.ts","lib.es2025.intl.d.ts","lib.es2025.iterator.d.ts","lib.es2025.promise.d.ts","lib.es2025.regexp.d.ts","lib.esnext.array.d.ts","lib.esnext.collection.d.ts","lib.esnext.date.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.error.d.ts","lib.esnext.intl.d.ts","lib.esnext.sharedmemory.d.ts","lib.esnext.temporal.d.ts","lib.esnext.typedarrays.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../src/MigrationVersionHelper.ts","../../src/utils/PromiseMap.ts","../../src/utils/index.ts","../../../logger/dist/types/handlers/FingerCrossedLoggerHandler.d.ts","../../../logger/dist/types/types.d.ts","../../../logger/dist/types/impl.d.ts","../../../logger/dist/types/levels.d.ts","../../../logger/dist/types/proxy.d.ts","../../../logger/dist/types/handlers/JsonStreamLoggerHandler.d.ts","../../../../node_modules/chalk/source/vendor/ansi-styles/index.d.ts","../../../../node_modules/chalk/source/vendor/supports-color/index.d.ts","../../../../node_modules/chalk/source/index.d.ts","../../../logger/dist/types/handlers/PrettyPrintLoggerHandler.d.ts","../../../logger/dist/types/handlers/LoggerHandlerList.d.ts","../../../logger/dist/types/handlers/NullLoggerHandler.d.ts","../../../logger/dist/types/handlers/TestLoggerHandler.d.ts","../../../logger/dist/types/index.d.ts","../../src/runnable/Runnable.ts","../../src/runnable/utils.ts","../../src/runnable/Supervisor.ts","../../src/runnable/index.ts","../../src/eventEmitter/events.ts","../../src/index.ts","../../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.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-stats.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/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.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/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.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/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/inspector.generated.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/sea.d.ts","../../../../node_modules/@types/node/sqlite.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/index.d.ts","../../../../node_modules/bun-types/globals.d.ts","../../../../node_modules/bun-types/s3.d.ts","../../../../node_modules/bun-types/fetch.d.ts","../../../../node_modules/bun-types/jsx.d.ts","../../../../node_modules/bun-types/bun.d.ts","../../../../node_modules/bun-types/extensions.d.ts","../../../../node_modules/bun-types/devserver.d.ts","../../../../node_modules/bun-types/ffi.d.ts","../../../../node_modules/bun-types/html-rewriter.d.ts","../../../../node_modules/bun-types/jsc.d.ts","../../../../node_modules/bun-types/sqlite.d.ts","../../../../node_modules/bun-types/vendor/expect-type/utils.d.ts","../../../../node_modules/bun-types/vendor/expect-type/overloads.d.ts","../../../../node_modules/bun-types/vendor/expect-type/branding.d.ts","../../../../node_modules/bun-types/vendor/expect-type/messages.d.ts","../../../../node_modules/bun-types/vendor/expect-type/index.d.ts","../../../../node_modules/bun-types/test.d.ts","../../../../node_modules/bun-types/wasm.d.ts","../../../../node_modules/bun-types/overrides.d.ts","../../../../node_modules/bun-types/deprecated.d.ts","../../../../node_modules/bun-types/redis.d.ts","../../../../node_modules/bun-types/shell.d.ts","../../../../node_modules/bun-types/serve.d.ts","../../../../node_modules/bun-types/sql.d.ts","../../../../node_modules/bun-types/security.d.ts","../../../../node_modules/bun-types/bundle.d.ts","../../../../node_modules/bun-types/bun.ns.d.ts","../../../../node_modules/bun-types/index.d.ts","../../../../node_modules/@types/bun/index.d.ts"],"fileInfos":[{"version":"a1aa1a5e065d48ef5c7bb99e38412f96","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995","793cee405385076e27c24f409659dccd","09f69c6610266eaee1ac9e3e30df2c71","62bad718844246b8e17547f37bad6085",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237",{"version":"01ac052ec4a79e87229f90466a9645f8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"edba5df642941aa062a62f6328c6df3d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bb3a710cbcda0533bb127712927cbe37","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7a42de379b489e8f7b647455bebfc576","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"692bcd75364db0f65d428801c7884466","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"38856f70edcd2115c355d96ec77cc09e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"de8700156c1275465bcd473c28b359aa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d47cfdb6ede40518357bb5a4cd7cd9fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6e5773860cd9e5b15e683113f642ab47","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"30ff5fe1682f7fcd629880476ca3c2e0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf23d7d1b40b9015b694ddc2f011752f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2cc585d42e2c548f9f24a30a1989fd33","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"713906ce9d332d2242b7f05ed9304be3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6009ffff7e43c93318804d2d28e37fe3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"03be89b227587594fbb50509fc1c2e45","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b30df52dc24740c0bad7c55c3511df7d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab8d3c9b5ed5c2ab8f383607eef439f0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d950ec671d0a8e07f3c1a31e94abed86","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1abef2ace5eccb02d60dd73cd5a5ee4c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f5f0a3044029d1cc081b5887eb4deb07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d57c697f1446940ec4bfe669c962e2c4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"10f7d9da7564f27f8ddf4a162b6da6d3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1d0520af549e0c3581f15173cc713ca1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d65083f97fd741cff028472563eddb79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"da7f24f00653ebac660ac1c0821ed33d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7cb5ae9e65516ea2235f0721f6aac43c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"cb4f99b7c28cf7fb3def49a32cddbce6","signature":"2fc26148e8d98806ea2e573127a1a087","impliedNodeFormat":1},{"version":"1d41216592a230d5499b6f43548e9c69","signature":"7b03c94ad9e803cf0f2c8e9d7c756414","impliedNodeFormat":1},{"version":"14fd1acea26bac65f1c6aaddbe2ffb25","signature":"ca98b01e649dfebcbd9fe166c292c545","impliedNodeFormat":1},"f26ad155be4377633f7727ad7dbd68f8","f8c6eab00f890e6d73e2b154562f8d97","49fd003d296b6cbae3ebc2268fea2705","71b7a1d50ce45578b61578b5f435c7f5","20ec7b3cac5578d72e43307f8f0ff507","643641b5adb18ab771c15a14101640dc",{"version":"a37fd350b6509fd0ff581ff3af3466eb","impliedNodeFormat":99},{"version":"504f4ee233c3468d53b420bc78fbaff0","impliedNodeFormat":99},{"version":"13f46a1ecb38682e78f9743987e7cd41","impliedNodeFormat":99},"c53d8700f19244f3678e7ab59ddcf56e","bd74be46615079e27f48492c71e1f84c","0bd6c5d35f8d497f49411dfa587e30a1","9decd508a8e73b792079064902fd796f","dcda0c5d353c0d59356f68315f847439",{"version":"457916a60b1c51c86cc622d166f6da2b","signature":"acce014af626d59cfa96fa2e417dbf06","impliedNodeFormat":1},{"version":"1c450bc375624df2220e581a08107f01","signature":"722b48052324070899830d0e55223b7b","impliedNodeFormat":1},{"version":"c2e0a7ae96d97b95c82c0fcfcb36e0b7","signature":"3ef67307ad4abcc24b7a84307657a765","impliedNodeFormat":1},{"version":"96231b89afabbcec8696e0a2352a6a8d","signature":"13721bb3494b14dde69bcceb3042bd38","impliedNodeFormat":1},{"version":"df88a238c81c602e55a7d77b912ce181","signature":"c7a01ce5c0788e892f28b4a024dab9d1","impliedNodeFormat":1},{"version":"3f7238ef73952eb88dcab591a6093615","signature":"6fb28b6203252485c3b16a80f6a212ef","impliedNodeFormat":1},{"version":"2514e9a2749c0fc18d2f478e9e1e641e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6ae4c332ecb24e76c1e47c0e21d4663d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"69ee0752d1e70c56ca160360425752a9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf33440030f0a0fae7d1efd6c293a8d2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9af0a7e3ef1c42cd066b9f8d365cc1ba","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7b772cebc7136c34fc77954aef70519d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9eca652586205dc5b07f9ba57b1c8500","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ec5f75939754ce94652189ec7d0d3058","affectsGlobalScope":true,"impliedNodeFormat":1},"8e91e7228778516936913f666d057c19","49133c0dfbc32ab95668c3443dea49e5","85c2cf74d24d4069fac4686501a2d7e3","83f416ded62bb31c035580c3b5a8d334","d261ae135609468365bc2d32742d3e0d","60c67c092ae78d2e7858ca0a88f54659","9508c917bd7e458745e222a82dd24ef0","fcd1a513c1e5802916fa602e8b8e64bc","9cf55e98366383279869ace31be98079","8e2bc11d0328ba95e490a741c44a215d","f36661bccb8b9a0b5ccb8539ae751cb3","705645fe223430c696f47b708d592ca8","28d57c837c94adb42add03d499793cab","8c01a9bbae8449be21b3e018d59a74ac","705c3696b9d9681bf22181718bb08ffc","679024f8e9f58a112f4badf119c4d612","16f740a706028e841b09fb8b1aa8faaf","e6828eaf960f006eb1adb6e7df8913c0","6fdde11403da5129f4388a489f361535","d7e5f7a0f1f883f28458f684106e7643","c2364011a80b6a9e3cc0e77895bad577","38da5c670190f4a35cbc204ca6c616bf","d95cc0eb29beed58f5ce72db21398f53","ecd53256b1ec7379c73316eaf392a69c","db5a9211b779628398011a5b8f5b8b5d","69c7bb9c3befe9ae37eed0e6a6310fee","1cba93fafccb7b2655f0e75229185e83","094ecadae30f65a82b77343dde77a666","f75df12d75dd783b03a0329b95abdb25","b438b08b2f0ed94a95a75c8990d9021b","771a77c9bec862600c95f7a563871b5e","c665284a9cb3dd886b14663cd04742e0","1c3833453f6ed0acab1b4663ccdbd310","0468c0ccd0ec7770b76481b165564d62","188234d616a4f50ed9b14c8f84a39f33","4c116bcf0a47ea8fbf4072f380925fa7","1948703c2f27e582e0a0cc37bd67a868","add85ec26ba695fc99c698dbec065f8c","73ba12091cff7d4499df83bbe40d777b","b744265d8ad12b7d4d5c5dc35d18d44e","eff32168b8348b822afeed9cbf61afa7","af51e27e980746d79714b72188b3ee40",{"version":"dd1cf1cc3aa21cd78b4869a44d98c6d9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"292c9398a407b33b1d9c9812b673387a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"45df94b3c51b898624bacc2bcd6d9eb2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7d352f71d1b1bcc12c79dd0e4597537c","affectsGlobalScope":true,"impliedNodeFormat":1},"db11b80743ed5356b81d763a708788e6","39078ea063fcaf72bd3cca7e0d13d017","f81aa09811fa65ac6f354ab0018d3c38",{"version":"282318b178d190157a4deacb14f3040a","affectsGlobalScope":true,"impliedNodeFormat":1},"aafe512c4216100fd65028f9b2afce83","54c5c3dcfdb5f7cf5fbbccfff6ead3fa",{"version":"dc14f078230582a2f8fb2138bfcf4f85","affectsGlobalScope":true,"impliedNodeFormat":1},"b2b472cd0bf0f8d5f022e00ca1c401f4","370d966b810b687a9e58851208cb3d4c","39b3089f3df8d14e0f2ddac0479872d9","cc7a57e86f908c313649aea8d90377e1","5c271f10d8a9b9a1206bc82a4fe5b84d","fbe31979333ec391d8b59e8f42236e8e","6f97553fd1690f568365155d4c51a3b5",{"version":"a3f111d2a29b6cdd04fc4b41aa560c86","affectsGlobalScope":true,"impliedNodeFormat":1},"5f4ac576bcdc670a8489c881b23a2b17","84c4165c4499465304988f5db8d9940a","02a1ccf1ef65bfbf65865ac4ce346974","86978b8f91524043f71ff8dfaf83288b","dbe700f7f1fa52fd220c7ee2c6617ebc","579675a2c3b0f8c532a82ad9cbd5d384","9b44005377cec9487e5f0d900bc5db46",{"version":"22dcb64768a46f60b07af6ec5e7752bb","affectsGlobalScope":true,"impliedNodeFormat":1},"b59cb5a2a891b4a59040eecaa4e4fd92","c9053dbbe4fa2853f2d3f73b9a2fee81","4e458316a6083cbd2bba2fd29f674dd5",{"version":"3cccee1f2c106192d18ac4e08119f872","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"077a5affac1af2f5defdb142842fb031","affectsGlobalScope":true,"impliedNodeFormat":1},"6b26581aa2587701d570206a0db8c9ee","88a29e2aac8082c0910733950159e1ca","609d3ac6ba921e6e83c5da182c204fb8","0f80958d77cd6301b43c1d7904e3e4bc","3bdc645524ab0d2f6795d3a008833bd7","deb50b47eb75a5566532a763fa1324fa","0a463424e0a2a59373805ee224327d85","7e470eddc0bd0486dc2a8ab902de79b7","c8206d568b54e5ea06131963eecd576a","15878f4f50c2e562c0768eb735c2aed5",{"version":"98d7074a05f2d388bfaa708af5660466","affectsGlobalScope":true,"impliedNodeFormat":1},"dd404118e8bd70aff746f7d31e46270b","4b9ff1cc38cc2243605ecef78c80ef8b",{"version":"6b8649a280031d9e86955db721cfad87","affectsGlobalScope":true,"impliedNodeFormat":1},"4bc8f13c472858fb74f77388c0c5d885","eec349e50f6da0bc900cd9b243dadbc6","c72d2516d1e8910caca33c4dff75fcd4","f0231f36cb7117fbe9271ff19ef0f5f4",{"version":"acca246ee319503493a0a5f9d7db7fd8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1aee62839c1ac0986904f19bdb93e3d8","affectsGlobalScope":true,"impliedNodeFormat":1},"a4a335f8e124cd5346b4579b47beec32","e9bc5b1de50e48fa9857b64091673883","9268959cff1006c82e6abbd73824db97",{"version":"7f738a67dc535e5476c63bf4ff0b9759","affectsGlobalScope":true,"impliedNodeFormat":1},"6b1f3649b0eabeaca20c778fcc5f270c","eb567c7b5824aab578f75bbccf9f4b05",{"version":"8df710e56bd27406fc117fb7433ae55c","affectsGlobalScope":true,"impliedNodeFormat":1},"c3dc85be36ae67b5371ca1e4270e7f46","d92ae047ecefd1ea6f15d92508c96cf7","13dffe6cbb50dd11b8ca76114e9b8975","912b0dbbb6bb4ad6fd6fe2cfa1fdf109","9aae89803f470f3f639dbfbb26d67eb5",{"version":"803b0e4e42d25332e9f22f1b5f31e50d","affectsGlobalScope":true,"impliedNodeFormat":1},"ca4dd245f2032f512d1330de2593acd9",{"version":"3585cc524c08b2eb40ab817052f89462","affectsGlobalScope":true,"impliedNodeFormat":1},"bb3aaf40646363c84e7f812662701116","af1e2149c50363a8e411f28cf33f26bd","f54c29ade8d0c2940399d6ce4c07f4d8","ed4ce0ea67836b63d1620265be339a88","25d3d41f8140ef5f43c8793a0e21a8e5","704e32e377e486f16b2694b56868448f","67fd4c2cdeac0ac2b2f81f5a4e5412a1","2ea95e525a73b274e90fcf3cc8007a3e",{"version":"77689727e0d7f721c301adf335d33c20","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab6f5c9037273b86bca0524fa3e203fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c7176d955002d7f1bf12f6f63b45843","affectsGlobalScope":true,"impliedNodeFormat":1},"75d8cc60a79ae5d8a9c9594b304a257e","88f4b91b3c8db819c38b9b146d3fde91","d43268f7a239fb3eacfdee00e48b953d","b6b079b1f78ec10c992182bad5ca395a","2f2991fcd85839574abe82038a21cc1a","6d84cddfb4b94eb6a020d1cba106eae4",{"version":"461a5f8e20bef2a3713a72a7e4916df1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b883f72bd7ab8c483d628ec63b4abd4a","affectsGlobalScope":true,"impliedNodeFormat":1},"b210cf73199ba01431d4c87407e1deea"],"fileIdsList":[[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246,248],[115,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[113,114,115,116,117,118,119,120,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,224,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,229,230,231,237,238,239,240,241,242,243,244,245,246,247],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,231,237,238,239,240,241,242,243,244,245,246],[14,115,116,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,236,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,232,233,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,232,233,234,235,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,232,234,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,232,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,239,240,241,242,243,244,245,246],[99,100,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,128,131,134,135,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,135,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,125,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,129,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,127,128,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,125,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,127,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,122,123,124,126,130,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,139,147,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,123,129,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,156,157,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,123,126,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,122,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,125,126,127,129,130,131,132,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,157,158,159,160,161,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,149,152,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,139,140,141,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,129,131,140,142,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,130,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,123,125,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,135,140,142,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,135,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,129,131,134,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,123,127,131,139,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,149,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,142,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,125,131,156,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[90,92,110,111,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[106,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[107,108,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[107,109,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[91,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[94,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[94,101,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[93,94,95,96,97,98,102,103,104,105,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[93,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246]],"options":{"composite":true,"emitDeclarationOnly":true,"declaration":true,"declarationMap":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"strict":true,"sourceMap":true,"target":7,"useDefineForClassFields":true,"allowSyntheticDefaultImports":true,"esModuleInterop":true},"referencedMap":[[249,1],[167,2],[168,3],[169,4],[115,5],[170,6],[171,7],[172,8],[113,9],[173,10],[174,11],[175,12],[176,13],[177,14],[178,15],[179,16],[180,17],[181,18],[182,19],[183,20],[116,9],[114,9],[184,21],[185,22],[186,23],[220,24],[187,25],[188,26],[189,27],[190,28],[191,29],[192,30],[193,31],[194,32],[195,33],[196,34],[197,35],[198,36],[199,37],[200,38],[201,39],[202,40],[204,41],[203,42],[205,43],[206,44],[207,45],[208,46],[209,47],[210,48],[211,49],[212,50],[213,51],[214,52],[215,53],[216,54],[217,55],[117,9],[118,9],[119,9],[120,9],[163,56],[164,9],[165,9],[166,9],[218,57],[219,58],[88,9],[89,9],[14,9],[15,9],[17,9],[16,9],[2,9],[18,9],[19,9],[20,9],[21,9],[22,9],[23,9],[24,9],[25,9],[3,9],[26,9],[27,9],[4,9],[28,9],[32,9],[29,9],[30,9],[31,9],[33,9],[34,9],[35,9],[5,9],[36,9],[37,9],[38,9],[39,9],[6,9],[43,9],[40,9],[41,9],[42,9],[44,9],[7,9],[45,9],[50,9],[51,9],[46,9],[47,9],[48,9],[49,9],[8,9],[55,9],[52,9],[53,9],[54,9],[56,9],[9,9],[57,9],[58,9],[59,9],[61,9],[60,9],[62,9],[63,9],[10,9],[64,9],[65,9],[66,9],[11,9],[67,9],[68,9],[69,9],[70,9],[71,9],[72,9],[12,9],[73,9],[74,9],[75,9],[76,9],[77,9],[1,9],[78,9],[79,9],[13,9],[80,9],[81,9],[82,9],[83,9],[84,9],[85,9],[86,9],[87,9],[121,9],[225,59],[247,9],[246,60],[240,61],[227,62],[226,63],[223,64],[228,65],[221,66],[229,9],[248,67],[230,68],[224,9],[239,69],[241,70],[222,71],[245,72],[243,73],[242,74],[244,75],[231,76],[237,77],[234,78],[236,79],[235,80],[233,81],[232,9],[238,82],[101,83],[99,9],[100,9],[139,84],[151,85],[137,86],[152,9],[161,87],[128,88],[129,89],[127,9],[160,90],[155,91],[159,92],[131,93],[148,94],[130,95],[158,96],[125,97],[126,91],[132,85],[133,9],[138,92],[136,85],[123,98],[162,99],[153,100],[142,101],[141,85],[143,102],[146,103],[140,104],[144,105],[156,90],[134,106],[135,107],[147,108],[124,9],[150,109],[149,85],[145,110],[154,9],[122,9],[157,111],[90,9],[111,9],[112,112],[107,113],[109,114],[110,115],[108,9],[91,9],[92,116],[93,117],[98,117],[103,117],[104,117],[102,118],[105,117],[95,117],[106,119],[96,117],[97,117],[94,120]],"latestChangedDtsFile":"./index.d.ts"}
|
|
1
|
+
{"version":"7.0.1-rc","root":[[90,92],[107,112]],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2024.d.ts","lib.es2025.d.ts","lib.esnext.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.es2025.collection.d.ts","lib.es2025.float16.d.ts","lib.es2025.intl.d.ts","lib.es2025.iterator.d.ts","lib.es2025.promise.d.ts","lib.es2025.regexp.d.ts","lib.esnext.array.d.ts","lib.esnext.collection.d.ts","lib.esnext.date.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.error.d.ts","lib.esnext.intl.d.ts","lib.esnext.sharedmemory.d.ts","lib.esnext.temporal.d.ts","lib.esnext.typedarrays.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../src/MigrationVersionHelper.ts","../../src/utils/PromiseMap.ts","../../src/utils/index.ts","../../../logger/dist/types/handlers/FingerCrossedLoggerHandler.d.ts","../../../logger/dist/types/types.d.ts","../../../logger/dist/types/impl.d.ts","../../../logger/dist/types/levels.d.ts","../../../logger/dist/types/proxy.d.ts","../../../logger/dist/types/handlers/JsonStreamLoggerHandler.d.ts","../../../../node_modules/chalk/source/vendor/ansi-styles/index.d.ts","../../../../node_modules/chalk/source/vendor/supports-color/index.d.ts","../../../../node_modules/chalk/source/index.d.ts","../../../logger/dist/types/handlers/PrettyPrintLoggerHandler.d.ts","../../../logger/dist/types/handlers/LoggerHandlerList.d.ts","../../../logger/dist/types/handlers/NullLoggerHandler.d.ts","../../../logger/dist/types/handlers/TestLoggerHandler.d.ts","../../../logger/dist/types/index.d.ts","../../src/runnable/Runnable.ts","../../src/runnable/utils.ts","../../src/runnable/Supervisor.ts","../../src/runnable/index.ts","../../src/eventEmitter/events.ts","../../src/index.ts","../../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.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-stats.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/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.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/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.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/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/inspector.generated.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/sea.d.ts","../../../../node_modules/@types/node/sqlite.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/index.d.ts","../../../../node_modules/bun-types/globals.d.ts","../../../../node_modules/bun-types/s3.d.ts","../../../../node_modules/bun-types/fetch.d.ts","../../../../node_modules/bun-types/jsx.d.ts","../../../../node_modules/bun-types/bun.d.ts","../../../../node_modules/bun-types/extensions.d.ts","../../../../node_modules/bun-types/devserver.d.ts","../../../../node_modules/bun-types/ffi.d.ts","../../../../node_modules/bun-types/html-rewriter.d.ts","../../../../node_modules/bun-types/jsc.d.ts","../../../../node_modules/bun-types/sqlite.d.ts","../../../../node_modules/bun-types/vendor/expect-type/utils.d.ts","../../../../node_modules/bun-types/vendor/expect-type/overloads.d.ts","../../../../node_modules/bun-types/vendor/expect-type/branding.d.ts","../../../../node_modules/bun-types/vendor/expect-type/messages.d.ts","../../../../node_modules/bun-types/vendor/expect-type/index.d.ts","../../../../node_modules/bun-types/test.d.ts","../../../../node_modules/bun-types/wasm.d.ts","../../../../node_modules/bun-types/overrides.d.ts","../../../../node_modules/bun-types/deprecated.d.ts","../../../../node_modules/bun-types/redis.d.ts","../../../../node_modules/bun-types/shell.d.ts","../../../../node_modules/bun-types/serve.d.ts","../../../../node_modules/bun-types/sql.d.ts","../../../../node_modules/bun-types/security.d.ts","../../../../node_modules/bun-types/bundle.d.ts","../../../../node_modules/bun-types/bun.ns.d.ts","../../../../node_modules/bun-types/index.d.ts","../../../../node_modules/@types/bun/index.d.ts"],"fileInfos":[{"version":"a1aa1a5e065d48ef5c7bb99e38412f96","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995","793cee405385076e27c24f409659dccd","09f69c6610266eaee1ac9e3e30df2c71","62bad718844246b8e17547f37bad6085",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237",{"version":"01ac052ec4a79e87229f90466a9645f8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"edba5df642941aa062a62f6328c6df3d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bb3a710cbcda0533bb127712927cbe37","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7a42de379b489e8f7b647455bebfc576","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"692bcd75364db0f65d428801c7884466","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"38856f70edcd2115c355d96ec77cc09e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"de8700156c1275465bcd473c28b359aa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d47cfdb6ede40518357bb5a4cd7cd9fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6e5773860cd9e5b15e683113f642ab47","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"30ff5fe1682f7fcd629880476ca3c2e0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf23d7d1b40b9015b694ddc2f011752f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2cc585d42e2c548f9f24a30a1989fd33","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"713906ce9d332d2242b7f05ed9304be3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6009ffff7e43c93318804d2d28e37fe3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"03be89b227587594fbb50509fc1c2e45","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b30df52dc24740c0bad7c55c3511df7d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab8d3c9b5ed5c2ab8f383607eef439f0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d950ec671d0a8e07f3c1a31e94abed86","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1abef2ace5eccb02d60dd73cd5a5ee4c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f5f0a3044029d1cc081b5887eb4deb07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d57c697f1446940ec4bfe669c962e2c4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"10f7d9da7564f27f8ddf4a162b6da6d3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1d0520af549e0c3581f15173cc713ca1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d65083f97fd741cff028472563eddb79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"da7f24f00653ebac660ac1c0821ed33d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7cb5ae9e65516ea2235f0721f6aac43c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"cb4f99b7c28cf7fb3def49a32cddbce6","signature":"2fc26148e8d98806ea2e573127a1a087","impliedNodeFormat":1},{"version":"1d41216592a230d5499b6f43548e9c69","signature":"7b03c94ad9e803cf0f2c8e9d7c756414","impliedNodeFormat":1},{"version":"14fd1acea26bac65f1c6aaddbe2ffb25","signature":"ca98b01e649dfebcbd9fe166c292c545","impliedNodeFormat":1},"f26ad155be4377633f7727ad7dbd68f8","f8c6eab00f890e6d73e2b154562f8d97","49fd003d296b6cbae3ebc2268fea2705","71b7a1d50ce45578b61578b5f435c7f5","20ec7b3cac5578d72e43307f8f0ff507","643641b5adb18ab771c15a14101640dc",{"version":"a37fd350b6509fd0ff581ff3af3466eb","impliedNodeFormat":99},{"version":"504f4ee233c3468d53b420bc78fbaff0","impliedNodeFormat":99},{"version":"13f46a1ecb38682e78f9743987e7cd41","impliedNodeFormat":99},"c53d8700f19244f3678e7ab59ddcf56e","bd74be46615079e27f48492c71e1f84c","0bd6c5d35f8d497f49411dfa587e30a1","9decd508a8e73b792079064902fd796f","dcda0c5d353c0d59356f68315f847439",{"version":"457916a60b1c51c86cc622d166f6da2b","signature":"acce014af626d59cfa96fa2e417dbf06","impliedNodeFormat":1},{"version":"1c450bc375624df2220e581a08107f01","signature":"722b48052324070899830d0e55223b7b","impliedNodeFormat":1},{"version":"e6baf2f7788785150cbf059657e9751f","signature":"9cd74c4c1d3f959d28c3ef819de1b09b","impliedNodeFormat":1},{"version":"96231b89afabbcec8696e0a2352a6a8d","signature":"13721bb3494b14dde69bcceb3042bd38","impliedNodeFormat":1},{"version":"df88a238c81c602e55a7d77b912ce181","signature":"c7a01ce5c0788e892f28b4a024dab9d1","impliedNodeFormat":1},{"version":"3f7238ef73952eb88dcab591a6093615","signature":"6fb28b6203252485c3b16a80f6a212ef","impliedNodeFormat":1},{"version":"2514e9a2749c0fc18d2f478e9e1e641e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6ae4c332ecb24e76c1e47c0e21d4663d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"69ee0752d1e70c56ca160360425752a9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf33440030f0a0fae7d1efd6c293a8d2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9af0a7e3ef1c42cd066b9f8d365cc1ba","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7b772cebc7136c34fc77954aef70519d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9eca652586205dc5b07f9ba57b1c8500","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ec5f75939754ce94652189ec7d0d3058","affectsGlobalScope":true,"impliedNodeFormat":1},"8e91e7228778516936913f666d057c19","49133c0dfbc32ab95668c3443dea49e5","85c2cf74d24d4069fac4686501a2d7e3","83f416ded62bb31c035580c3b5a8d334","d261ae135609468365bc2d32742d3e0d","60c67c092ae78d2e7858ca0a88f54659","9508c917bd7e458745e222a82dd24ef0","fcd1a513c1e5802916fa602e8b8e64bc","9cf55e98366383279869ace31be98079","8e2bc11d0328ba95e490a741c44a215d","f36661bccb8b9a0b5ccb8539ae751cb3","705645fe223430c696f47b708d592ca8","28d57c837c94adb42add03d499793cab","8c01a9bbae8449be21b3e018d59a74ac","705c3696b9d9681bf22181718bb08ffc","679024f8e9f58a112f4badf119c4d612","16f740a706028e841b09fb8b1aa8faaf","e6828eaf960f006eb1adb6e7df8913c0","6fdde11403da5129f4388a489f361535","d7e5f7a0f1f883f28458f684106e7643","c2364011a80b6a9e3cc0e77895bad577","38da5c670190f4a35cbc204ca6c616bf","d95cc0eb29beed58f5ce72db21398f53","ecd53256b1ec7379c73316eaf392a69c","db5a9211b779628398011a5b8f5b8b5d","69c7bb9c3befe9ae37eed0e6a6310fee","1cba93fafccb7b2655f0e75229185e83","094ecadae30f65a82b77343dde77a666","f75df12d75dd783b03a0329b95abdb25","b438b08b2f0ed94a95a75c8990d9021b","771a77c9bec862600c95f7a563871b5e","c665284a9cb3dd886b14663cd04742e0","1c3833453f6ed0acab1b4663ccdbd310","0468c0ccd0ec7770b76481b165564d62","188234d616a4f50ed9b14c8f84a39f33","4c116bcf0a47ea8fbf4072f380925fa7","1948703c2f27e582e0a0cc37bd67a868","add85ec26ba695fc99c698dbec065f8c","73ba12091cff7d4499df83bbe40d777b","b744265d8ad12b7d4d5c5dc35d18d44e","eff32168b8348b822afeed9cbf61afa7","af51e27e980746d79714b72188b3ee40",{"version":"dd1cf1cc3aa21cd78b4869a44d98c6d9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"292c9398a407b33b1d9c9812b673387a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"45df94b3c51b898624bacc2bcd6d9eb2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7d352f71d1b1bcc12c79dd0e4597537c","affectsGlobalScope":true,"impliedNodeFormat":1},"db11b80743ed5356b81d763a708788e6","39078ea063fcaf72bd3cca7e0d13d017","f81aa09811fa65ac6f354ab0018d3c38",{"version":"282318b178d190157a4deacb14f3040a","affectsGlobalScope":true,"impliedNodeFormat":1},"aafe512c4216100fd65028f9b2afce83","54c5c3dcfdb5f7cf5fbbccfff6ead3fa",{"version":"dc14f078230582a2f8fb2138bfcf4f85","affectsGlobalScope":true,"impliedNodeFormat":1},"b2b472cd0bf0f8d5f022e00ca1c401f4","370d966b810b687a9e58851208cb3d4c","39b3089f3df8d14e0f2ddac0479872d9","cc7a57e86f908c313649aea8d90377e1","5c271f10d8a9b9a1206bc82a4fe5b84d","fbe31979333ec391d8b59e8f42236e8e","6f97553fd1690f568365155d4c51a3b5",{"version":"a3f111d2a29b6cdd04fc4b41aa560c86","affectsGlobalScope":true,"impliedNodeFormat":1},"5f4ac576bcdc670a8489c881b23a2b17","84c4165c4499465304988f5db8d9940a","02a1ccf1ef65bfbf65865ac4ce346974","86978b8f91524043f71ff8dfaf83288b","dbe700f7f1fa52fd220c7ee2c6617ebc","579675a2c3b0f8c532a82ad9cbd5d384","9b44005377cec9487e5f0d900bc5db46",{"version":"22dcb64768a46f60b07af6ec5e7752bb","affectsGlobalScope":true,"impliedNodeFormat":1},"b59cb5a2a891b4a59040eecaa4e4fd92","c9053dbbe4fa2853f2d3f73b9a2fee81","4e458316a6083cbd2bba2fd29f674dd5",{"version":"3cccee1f2c106192d18ac4e08119f872","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"077a5affac1af2f5defdb142842fb031","affectsGlobalScope":true,"impliedNodeFormat":1},"6b26581aa2587701d570206a0db8c9ee","88a29e2aac8082c0910733950159e1ca","609d3ac6ba921e6e83c5da182c204fb8","0f80958d77cd6301b43c1d7904e3e4bc","3bdc645524ab0d2f6795d3a008833bd7","deb50b47eb75a5566532a763fa1324fa","0a463424e0a2a59373805ee224327d85","7e470eddc0bd0486dc2a8ab902de79b7","c8206d568b54e5ea06131963eecd576a","15878f4f50c2e562c0768eb735c2aed5",{"version":"98d7074a05f2d388bfaa708af5660466","affectsGlobalScope":true,"impliedNodeFormat":1},"dd404118e8bd70aff746f7d31e46270b","4b9ff1cc38cc2243605ecef78c80ef8b",{"version":"6b8649a280031d9e86955db721cfad87","affectsGlobalScope":true,"impliedNodeFormat":1},"4bc8f13c472858fb74f77388c0c5d885","eec349e50f6da0bc900cd9b243dadbc6","c72d2516d1e8910caca33c4dff75fcd4","f0231f36cb7117fbe9271ff19ef0f5f4",{"version":"acca246ee319503493a0a5f9d7db7fd8","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1aee62839c1ac0986904f19bdb93e3d8","affectsGlobalScope":true,"impliedNodeFormat":1},"a4a335f8e124cd5346b4579b47beec32","e9bc5b1de50e48fa9857b64091673883","9268959cff1006c82e6abbd73824db97",{"version":"7f738a67dc535e5476c63bf4ff0b9759","affectsGlobalScope":true,"impliedNodeFormat":1},"6b1f3649b0eabeaca20c778fcc5f270c","eb567c7b5824aab578f75bbccf9f4b05",{"version":"8df710e56bd27406fc117fb7433ae55c","affectsGlobalScope":true,"impliedNodeFormat":1},"c3dc85be36ae67b5371ca1e4270e7f46","d92ae047ecefd1ea6f15d92508c96cf7","13dffe6cbb50dd11b8ca76114e9b8975","912b0dbbb6bb4ad6fd6fe2cfa1fdf109","9aae89803f470f3f639dbfbb26d67eb5",{"version":"803b0e4e42d25332e9f22f1b5f31e50d","affectsGlobalScope":true,"impliedNodeFormat":1},"ca4dd245f2032f512d1330de2593acd9",{"version":"3585cc524c08b2eb40ab817052f89462","affectsGlobalScope":true,"impliedNodeFormat":1},"bb3aaf40646363c84e7f812662701116","af1e2149c50363a8e411f28cf33f26bd","f54c29ade8d0c2940399d6ce4c07f4d8","ed4ce0ea67836b63d1620265be339a88","25d3d41f8140ef5f43c8793a0e21a8e5","704e32e377e486f16b2694b56868448f","67fd4c2cdeac0ac2b2f81f5a4e5412a1","2ea95e525a73b274e90fcf3cc8007a3e",{"version":"77689727e0d7f721c301adf335d33c20","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab6f5c9037273b86bca0524fa3e203fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c7176d955002d7f1bf12f6f63b45843","affectsGlobalScope":true,"impliedNodeFormat":1},"75d8cc60a79ae5d8a9c9594b304a257e","88f4b91b3c8db819c38b9b146d3fde91","d43268f7a239fb3eacfdee00e48b953d","b6b079b1f78ec10c992182bad5ca395a","2f2991fcd85839574abe82038a21cc1a","6d84cddfb4b94eb6a020d1cba106eae4",{"version":"461a5f8e20bef2a3713a72a7e4916df1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b883f72bd7ab8c483d628ec63b4abd4a","affectsGlobalScope":true,"impliedNodeFormat":1},"b210cf73199ba01431d4c87407e1deea"],"fileIdsList":[[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246,248],[115,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[113,114,115,116,117,118,119,120,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,224,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,230,231,237,238,239,240,241,242,243,244,245,246],[115,162,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,229,230,231,237,238,239,240,241,242,243,244,245,246,247],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,231,237,238,239,240,241,242,243,244,245,246],[14,115,116,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,236,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,232,233,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,232,233,234,235,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,232,234,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,232,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,239,240,241,242,243,244,245,246],[99,100,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,128,131,134,135,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,135,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,125,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,129,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,127,128,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,125,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,127,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,122,123,124,126,130,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,139,147,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,123,129,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,156,157,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,123,126,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,122,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,125,126,127,129,130,131,132,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,157,158,159,160,161,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,149,152,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,139,140,141,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,129,131,140,142,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,130,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,123,125,131,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,135,140,142,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,135,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,129,131,134,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,123,127,131,139,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,131,149,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,142,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[115,125,131,156,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[90,92,110,111,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[106,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[107,108,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[107,109,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[91,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[94,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[94,101,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[93,94,95,96,97,98,102,103,104,105,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246],[93,115,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,221,222,223,225,226,227,228,230,231,237,238,239,240,241,242,243,244,245,246]],"options":{"composite":true,"emitDeclarationOnly":true,"declaration":true,"declarationMap":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"strict":true,"sourceMap":true,"target":7,"useDefineForClassFields":true,"allowSyntheticDefaultImports":true,"esModuleInterop":true},"referencedMap":[[249,1],[167,2],[168,3],[169,4],[115,5],[170,6],[171,7],[172,8],[113,9],[173,10],[174,11],[175,12],[176,13],[177,14],[178,15],[179,16],[180,17],[181,18],[182,19],[183,20],[116,9],[114,9],[184,21],[185,22],[186,23],[220,24],[187,25],[188,26],[189,27],[190,28],[191,29],[192,30],[193,31],[194,32],[195,33],[196,34],[197,35],[198,36],[199,37],[200,38],[201,39],[202,40],[204,41],[203,42],[205,43],[206,44],[207,45],[208,46],[209,47],[210,48],[211,49],[212,50],[213,51],[214,52],[215,53],[216,54],[217,55],[117,9],[118,9],[119,9],[120,9],[163,56],[164,9],[165,9],[166,9],[218,57],[219,58],[88,9],[89,9],[14,9],[15,9],[17,9],[16,9],[2,9],[18,9],[19,9],[20,9],[21,9],[22,9],[23,9],[24,9],[25,9],[3,9],[26,9],[27,9],[4,9],[28,9],[32,9],[29,9],[30,9],[31,9],[33,9],[34,9],[35,9],[5,9],[36,9],[37,9],[38,9],[39,9],[6,9],[43,9],[40,9],[41,9],[42,9],[44,9],[7,9],[45,9],[50,9],[51,9],[46,9],[47,9],[48,9],[49,9],[8,9],[55,9],[52,9],[53,9],[54,9],[56,9],[9,9],[57,9],[58,9],[59,9],[61,9],[60,9],[62,9],[63,9],[10,9],[64,9],[65,9],[66,9],[11,9],[67,9],[68,9],[69,9],[70,9],[71,9],[72,9],[12,9],[73,9],[74,9],[75,9],[76,9],[77,9],[1,9],[78,9],[79,9],[13,9],[80,9],[81,9],[82,9],[83,9],[84,9],[85,9],[86,9],[87,9],[121,9],[225,59],[247,9],[246,60],[240,61],[227,62],[226,63],[223,64],[228,65],[221,66],[229,9],[248,67],[230,68],[224,9],[239,69],[241,70],[222,71],[245,72],[243,73],[242,74],[244,75],[231,76],[237,77],[234,78],[236,79],[235,80],[233,81],[232,9],[238,82],[101,83],[99,9],[100,9],[139,84],[151,85],[137,86],[152,9],[161,87],[128,88],[129,89],[127,9],[160,90],[155,91],[159,92],[131,93],[148,94],[130,95],[158,96],[125,97],[126,91],[132,85],[133,9],[138,92],[136,85],[123,98],[162,99],[153,100],[142,101],[141,85],[143,102],[146,103],[140,104],[144,105],[156,90],[134,106],[135,107],[147,108],[124,9],[150,109],[149,85],[145,110],[154,9],[122,9],[157,111],[90,9],[111,9],[112,112],[107,113],[109,114],[110,115],[108,9],[91,9],[92,116],[93,117],[98,117],[103,117],[104,117],[102,118],[105,117],[95,117],[106,119],[96,117],[97,117],[94,120]],"latestChangedDtsFile":"./index.d.ts"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contember/engine-common",
|
|
3
|
-
"version": "2.2.0-alpha.
|
|
3
|
+
"version": "2.2.0-alpha.16",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/production/index.js",
|
|
6
6
|
"typings": "./dist/types/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@types/node": "^24.12.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@contember/logger": "2.2.0-alpha.
|
|
29
|
+
"@contember/logger": "2.2.0-alpha.16"
|
|
30
30
|
},
|
|
31
31
|
"type": "module",
|
|
32
32
|
"repository": {
|
|
@@ -7,6 +7,8 @@ export type SupervisorOptions = {
|
|
|
7
7
|
minBackoff?: number
|
|
8
8
|
maxBackoff?: number
|
|
9
9
|
exponentiationBase?: number
|
|
10
|
+
/** Uptime (ms, default 60 000) after which a run counts as stable and the backoff resets; a run that crashes sooner counts as a failed restart. */
|
|
11
|
+
stableAfter?: number
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
export class Supervisor implements Runnable {
|
|
@@ -22,29 +24,51 @@ export class Supervisor implements Runnable {
|
|
|
22
24
|
const abortController = new AbortController()
|
|
23
25
|
let innerRunning: Running | undefined
|
|
24
26
|
let wasHealthy = false
|
|
27
|
+
let startedAt: number | undefined
|
|
28
|
+
const endRun = () => {
|
|
29
|
+
if (startedAt !== undefined && Date.now() - startedAt >= (this.options.stableAfter ?? 60_000)) {
|
|
30
|
+
restartCount = 0
|
|
31
|
+
}
|
|
32
|
+
startedAt = undefined
|
|
33
|
+
}
|
|
25
34
|
|
|
26
35
|
await new Promise<void>(async (resolve, reject) => {
|
|
27
36
|
while (!abortController.signal.aborted) {
|
|
37
|
+
let runEnded = false
|
|
28
38
|
try {
|
|
29
39
|
await new Promise<void>(async (resolveRunning, rejectRunning) => {
|
|
30
40
|
try {
|
|
31
41
|
innerRunning = await this.runnable.run({
|
|
32
|
-
onClose:
|
|
33
|
-
|
|
42
|
+
onClose: () => {
|
|
43
|
+
runEnded = true
|
|
44
|
+
resolveRunning()
|
|
45
|
+
},
|
|
46
|
+
onError: e => {
|
|
47
|
+
runEnded = true
|
|
48
|
+
rejectRunning(e)
|
|
49
|
+
},
|
|
34
50
|
logger: logger.child({ runningId: Math.random().toString().substring(2) }),
|
|
35
51
|
})
|
|
36
|
-
|
|
52
|
+
// a run that ended before run() returned was already handled as a crash; recording it as started would count the backoff as uptime
|
|
53
|
+
if (!runEnded) {
|
|
54
|
+
if (!wasHealthy) {
|
|
55
|
+
restartCount = 0
|
|
56
|
+
}
|
|
57
|
+
startedAt = Date.now()
|
|
58
|
+
}
|
|
37
59
|
resolve()
|
|
38
60
|
wasHealthy = true
|
|
39
61
|
} catch (e) {
|
|
40
62
|
rejectRunning(e)
|
|
41
63
|
}
|
|
42
64
|
})
|
|
65
|
+
endRun()
|
|
43
66
|
} catch (e) {
|
|
44
67
|
innerRunning = undefined
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
68
|
+
endRun()
|
|
69
|
+
restartCount++
|
|
70
|
+
const restartLimit = wasHealthy ? this.options.max : (this.options.startupMax ?? 10)
|
|
71
|
+
const shouldRestart = restartLimit === undefined || restartCount <= restartLimit
|
|
48
72
|
if (shouldRestart) {
|
|
49
73
|
const timeoutMs = Math.ceil(Math.min(
|
|
50
74
|
Math.pow(this.options.exponentiationBase ?? 2, restartCount - 1) * (this.options.minBackoff ?? 1_000),
|
|
@@ -195,3 +195,198 @@ test('supervisor: failed to restart', async () => {
|
|
|
195
195
|
'Runnable crashed, stopping: failed to restart',
|
|
196
196
|
])
|
|
197
197
|
})
|
|
198
|
+
|
|
199
|
+
test('supervisor: backs off restarts after a healthy run without max', async () => {
|
|
200
|
+
const { logger, testLogger } = createTestLogger()
|
|
201
|
+
const lastAttempt = 7
|
|
202
|
+
let attempt = 0
|
|
203
|
+
let reachedLastAttempt: () => void = () => {}
|
|
204
|
+
const lastAttemptPromise = new Promise<void>(resolve => {
|
|
205
|
+
reachedLastAttempt = resolve
|
|
206
|
+
})
|
|
207
|
+
const runnable = new class FailingRunnable implements Runnable {
|
|
208
|
+
async run(args: RunnableArgs): Promise<Running> {
|
|
209
|
+
const thisAttempt = ++attempt
|
|
210
|
+
if (thisAttempt === 1) {
|
|
211
|
+
setTimeout(() => args.onError(new Error('crashed')), 1)
|
|
212
|
+
return { end: async () => {} }
|
|
213
|
+
}
|
|
214
|
+
if (thisAttempt === lastAttempt) {
|
|
215
|
+
reachedLastAttempt()
|
|
216
|
+
return { end: async () => {} }
|
|
217
|
+
}
|
|
218
|
+
throw new Error('dependency unavailable')
|
|
219
|
+
}
|
|
220
|
+
}()
|
|
221
|
+
|
|
222
|
+
const supervisor = new Supervisor(runnable, { minBackoff: 1, maxBackoff: 16 })
|
|
223
|
+
const running = await supervisor.run({
|
|
224
|
+
logger,
|
|
225
|
+
onError: shouldNotHappenCallback,
|
|
226
|
+
})
|
|
227
|
+
await lastAttemptPromise
|
|
228
|
+
await running.end()
|
|
229
|
+
expect(testLogger.messages.map(it => it.message).filter(it => it.startsWith('Runnable crashed'))).toStrictEqual([
|
|
230
|
+
'Runnable crashed, restarting in 1 ms ...: crashed',
|
|
231
|
+
'Runnable crashed, restarting in 2 ms ...: dependency unavailable',
|
|
232
|
+
'Runnable crashed, restarting in 4 ms ...: dependency unavailable',
|
|
233
|
+
'Runnable crashed, restarting in 8 ms ...: dependency unavailable',
|
|
234
|
+
'Runnable crashed, restarting in 16 ms ...: dependency unavailable',
|
|
235
|
+
'Runnable crashed, restarting in 16 ms ...: dependency unavailable',
|
|
236
|
+
])
|
|
237
|
+
})
|
|
238
|
+
|
|
239
|
+
const runFlappingRunnable = async (options: { stableAfter?: number; uptimeMs: (attempt: number) => number; attempts: number }) => {
|
|
240
|
+
const { logger, testLogger } = createTestLogger()
|
|
241
|
+
let attempt = 0
|
|
242
|
+
let reachedLastAttempt: () => void = () => {}
|
|
243
|
+
const lastAttemptPromise = new Promise<void>(resolve => {
|
|
244
|
+
reachedLastAttempt = resolve
|
|
245
|
+
})
|
|
246
|
+
const runnable = new class FlappingRunnable implements Runnable {
|
|
247
|
+
async run(args: RunnableArgs): Promise<Running> {
|
|
248
|
+
const thisAttempt = ++attempt
|
|
249
|
+
if (thisAttempt === options.attempts) {
|
|
250
|
+
reachedLastAttempt()
|
|
251
|
+
} else {
|
|
252
|
+
setTimeout(() => args.onError(new Error(`crashed #${thisAttempt}`)), options.uptimeMs(thisAttempt))
|
|
253
|
+
}
|
|
254
|
+
return { end: async () => {} }
|
|
255
|
+
}
|
|
256
|
+
}()
|
|
257
|
+
|
|
258
|
+
const supervisor = new Supervisor(runnable, { minBackoff: 1, maxBackoff: 16, stableAfter: options.stableAfter })
|
|
259
|
+
const running = await supervisor.run({
|
|
260
|
+
logger,
|
|
261
|
+
onError: shouldNotHappenCallback,
|
|
262
|
+
})
|
|
263
|
+
await lastAttemptPromise
|
|
264
|
+
await running.end()
|
|
265
|
+
return testLogger.messages.map(it => it.message).filter(it => it.startsWith('Runnable crashed'))
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
test('supervisor: backs off a runnable that crashes right after every start', async () => {
|
|
269
|
+
expect(await runFlappingRunnable({ uptimeMs: () => 1, attempts: 7 })).toStrictEqual([
|
|
270
|
+
'Runnable crashed, restarting in 1 ms ...: crashed #1',
|
|
271
|
+
'Runnable crashed, restarting in 2 ms ...: crashed #2',
|
|
272
|
+
'Runnable crashed, restarting in 4 ms ...: crashed #3',
|
|
273
|
+
'Runnable crashed, restarting in 8 ms ...: crashed #4',
|
|
274
|
+
'Runnable crashed, restarting in 16 ms ...: crashed #5',
|
|
275
|
+
'Runnable crashed, restarting in 16 ms ...: crashed #6',
|
|
276
|
+
])
|
|
277
|
+
})
|
|
278
|
+
|
|
279
|
+
test('supervisor: resets the backoff after a run stays up for stableAfter', async () => {
|
|
280
|
+
expect(await runFlappingRunnable({ stableAfter: 200, uptimeMs: attempt => attempt === 4 ? 250 : 1, attempts: 6 })).toStrictEqual([
|
|
281
|
+
'Runnable crashed, restarting in 1 ms ...: crashed #1',
|
|
282
|
+
'Runnable crashed, restarting in 2 ms ...: crashed #2',
|
|
283
|
+
'Runnable crashed, restarting in 4 ms ...: crashed #3',
|
|
284
|
+
'Runnable crashed, restarting in 1 ms ...: crashed #4',
|
|
285
|
+
'Runnable crashed, restarting in 2 ms ...: crashed #5',
|
|
286
|
+
])
|
|
287
|
+
})
|
|
288
|
+
|
|
289
|
+
test('supervisor: does not count backoff as uptime of a run that crashed before run() returned', async () => {
|
|
290
|
+
const { logger, testLogger } = createTestLogger()
|
|
291
|
+
let attempt = 0
|
|
292
|
+
let reachedLastAttempt: () => void = () => {}
|
|
293
|
+
const lastAttemptPromise = new Promise<void>(resolve => {
|
|
294
|
+
reachedLastAttempt = resolve
|
|
295
|
+
})
|
|
296
|
+
const runnable = new class InstantlyCrashingRunnable implements Runnable {
|
|
297
|
+
async run(args: RunnableArgs): Promise<Running> {
|
|
298
|
+
const thisAttempt = ++attempt
|
|
299
|
+
return await new Promise<Running>(async resolve => {
|
|
300
|
+
resolve({ end: async () => {} })
|
|
301
|
+
if (thisAttempt === 8) {
|
|
302
|
+
reachedLastAttempt()
|
|
303
|
+
return
|
|
304
|
+
}
|
|
305
|
+
await Promise.resolve()
|
|
306
|
+
args.onError(new Error(`crashed #${thisAttempt}`))
|
|
307
|
+
})
|
|
308
|
+
}
|
|
309
|
+
}()
|
|
310
|
+
|
|
311
|
+
const supervisor = new Supervisor(runnable, { minBackoff: 1, maxBackoff: 16, stableAfter: 10 })
|
|
312
|
+
const running = await supervisor.run({
|
|
313
|
+
logger,
|
|
314
|
+
onError: shouldNotHappenCallback,
|
|
315
|
+
})
|
|
316
|
+
await lastAttemptPromise
|
|
317
|
+
await running.end()
|
|
318
|
+
expect(testLogger.messages.map(it => it.message).filter(it => it.startsWith('Runnable crashed'))).toStrictEqual([
|
|
319
|
+
'Runnable crashed, restarting in 1 ms ...: crashed #1',
|
|
320
|
+
'Runnable crashed, restarting in 2 ms ...: crashed #2',
|
|
321
|
+
'Runnable crashed, restarting in 4 ms ...: crashed #3',
|
|
322
|
+
'Runnable crashed, restarting in 8 ms ...: crashed #4',
|
|
323
|
+
'Runnable crashed, restarting in 16 ms ...: crashed #5',
|
|
324
|
+
'Runnable crashed, restarting in 16 ms ...: crashed #6',
|
|
325
|
+
'Runnable crashed, restarting in 16 ms ...: crashed #7',
|
|
326
|
+
])
|
|
327
|
+
})
|
|
328
|
+
|
|
329
|
+
test('supervisor: first successful start resets the startup backoff', async () => {
|
|
330
|
+
const { logger, testLogger } = createTestLogger()
|
|
331
|
+
let attempt = 0
|
|
332
|
+
let reachedLastAttempt: () => void = () => {}
|
|
333
|
+
const lastAttemptPromise = new Promise<void>(resolve => {
|
|
334
|
+
reachedLastAttempt = resolve
|
|
335
|
+
})
|
|
336
|
+
const runnable = new class SlowStartingRunnable implements Runnable {
|
|
337
|
+
async run(args: RunnableArgs): Promise<Running> {
|
|
338
|
+
const thisAttempt = ++attempt
|
|
339
|
+
if (thisAttempt <= 3) {
|
|
340
|
+
throw new Error(`failed to start #${thisAttempt}`)
|
|
341
|
+
}
|
|
342
|
+
if (thisAttempt === 5) {
|
|
343
|
+
reachedLastAttempt()
|
|
344
|
+
} else {
|
|
345
|
+
setTimeout(() => args.onError(new Error(`crashed #${thisAttempt}`)), 1)
|
|
346
|
+
}
|
|
347
|
+
return { end: async () => {} }
|
|
348
|
+
}
|
|
349
|
+
}()
|
|
350
|
+
|
|
351
|
+
const supervisor = new Supervisor(runnable, { minBackoff: 1 })
|
|
352
|
+
const running = await supervisor.run({
|
|
353
|
+
logger,
|
|
354
|
+
onError: shouldNotHappenCallback,
|
|
355
|
+
})
|
|
356
|
+
await lastAttemptPromise
|
|
357
|
+
await running.end()
|
|
358
|
+
expect(testLogger.messages.map(it => it.message).filter(it => it.startsWith('Runnable crashed'))).toStrictEqual([
|
|
359
|
+
'Runnable crashed, restarting in 1 ms ...: failed to start #1',
|
|
360
|
+
'Runnable crashed, restarting in 2 ms ...: failed to start #2',
|
|
361
|
+
'Runnable crashed, restarting in 4 ms ...: failed to start #3',
|
|
362
|
+
'Runnable crashed, restarting in 1 ms ...: crashed #4',
|
|
363
|
+
])
|
|
364
|
+
})
|
|
365
|
+
|
|
366
|
+
test('supervisor: max limits restarts of runs that crash before becoming stable', async () => {
|
|
367
|
+
const { logger, testLogger } = createTestLogger()
|
|
368
|
+
let attempt = 0
|
|
369
|
+
const runnable = new class FlappingRunnable implements Runnable {
|
|
370
|
+
async run(args: RunnableArgs): Promise<Running> {
|
|
371
|
+
const thisAttempt = ++attempt
|
|
372
|
+
setTimeout(() => args.onError(new Error(`crashed #${thisAttempt}`)), 1)
|
|
373
|
+
return { end: async () => {} }
|
|
374
|
+
}
|
|
375
|
+
}()
|
|
376
|
+
|
|
377
|
+
const supervisor = new Supervisor(runnable, { minBackoff: 1, max: 3 })
|
|
378
|
+
const errorPromise = new Promise(async (resolve, reject) => {
|
|
379
|
+
await supervisor.run({
|
|
380
|
+
logger,
|
|
381
|
+
onError: reject,
|
|
382
|
+
})
|
|
383
|
+
})
|
|
384
|
+
|
|
385
|
+
await expect(errorPromise).rejects.toThrow('crashed #4')
|
|
386
|
+
expect(testLogger.messages.map(it => it.message).filter(it => it.startsWith('Runnable crashed'))).toStrictEqual([
|
|
387
|
+
'Runnable crashed, restarting in 1 ms ...: crashed #1',
|
|
388
|
+
'Runnable crashed, restarting in 2 ms ...: crashed #2',
|
|
389
|
+
'Runnable crashed, restarting in 4 ms ...: crashed #3',
|
|
390
|
+
'Runnable crashed, stopping: crashed #4',
|
|
391
|
+
])
|
|
392
|
+
})
|