@tscircuit/cli 0.1.55 → 0.1.57
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/main.js +922 -1129
- package/package.json +4 -2
package/dist/main.js
CHANGED
|
@@ -843,8 +843,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
843
843
|
this._exitCallback = (err) => {
|
|
844
844
|
if (err.code !== "commander.executeSubCommandAsync") {
|
|
845
845
|
throw err;
|
|
846
|
-
} else {
|
|
847
|
-
}
|
|
846
|
+
} else {}
|
|
848
847
|
};
|
|
849
848
|
}
|
|
850
849
|
return this;
|
|
@@ -1899,8 +1898,7 @@ var require_constants = __commonJS((exports2, module2) => {
|
|
|
1899
1898
|
|
|
1900
1899
|
// node_modules/semver/internal/debug.js
|
|
1901
1900
|
var require_debug = __commonJS((exports2, module2) => {
|
|
1902
|
-
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
1903
|
-
};
|
|
1901
|
+
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
1904
1902
|
module2.exports = debug;
|
|
1905
1903
|
});
|
|
1906
1904
|
|
|
@@ -6995,8 +6993,7 @@ var require_typescript = __commonJS((exports2, module2) => {
|
|
|
6995
6993
|
return value2;
|
|
6996
6994
|
return Debug.fail(`Invalid cast. The supplied value ${value2} did not pass the test '${Debug.getFunctionName(test)}'.`);
|
|
6997
6995
|
}
|
|
6998
|
-
function noop(_) {
|
|
6999
|
-
}
|
|
6996
|
+
function noop(_) {}
|
|
7000
6997
|
function returnFalse() {
|
|
7001
6998
|
return false;
|
|
7002
6999
|
}
|
|
@@ -7326,8 +7323,7 @@ var require_typescript = __commonJS((exports2, module2) => {
|
|
|
7326
7323
|
function not(fn) {
|
|
7327
7324
|
return (...args) => !fn(...args);
|
|
7328
7325
|
}
|
|
7329
|
-
function assertType(_) {
|
|
7330
|
-
}
|
|
7326
|
+
function assertType(_) {}
|
|
7331
7327
|
function singleElementArray(t) {
|
|
7332
7328
|
return t === undefined ? undefined : [t];
|
|
7333
7329
|
}
|
|
@@ -7598,8 +7594,7 @@ Verbose Debug Information: ` + (typeof verboseDebugInfo === "string" ? verboseDe
|
|
|
7598
7594
|
}
|
|
7599
7595
|
}
|
|
7600
7596
|
Debug2.assertMissingNode = assertMissingNode;
|
|
7601
|
-
function type(_value) {
|
|
7602
|
-
}
|
|
7597
|
+
function type(_value) {}
|
|
7603
7598
|
Debug2.type = type;
|
|
7604
7599
|
function getFunctionName(func) {
|
|
7605
7600
|
if (typeof func !== "function") {
|
|
@@ -8610,8 +8605,7 @@ ${lanes.join(`
|
|
|
8610
8605
|
performance: performance2
|
|
8611
8606
|
};
|
|
8612
8607
|
}
|
|
8613
|
-
} catch {
|
|
8614
|
-
}
|
|
8608
|
+
} catch {}
|
|
8615
8609
|
}
|
|
8616
8610
|
if (typeof performance === "object") {
|
|
8617
8611
|
return {
|
|
@@ -11754,8 +11748,7 @@ ${lanes.join(`
|
|
|
11754
11748
|
tryEnableSourceMapsForHost() {
|
|
11755
11749
|
try {
|
|
11756
11750
|
(()=>{throw new Error("Cannot require module "+"source-map-support");})().install();
|
|
11757
|
-
} catch {
|
|
11758
|
-
}
|
|
11751
|
+
} catch {}
|
|
11759
11752
|
},
|
|
11760
11753
|
setTimeout,
|
|
11761
11754
|
clearTimeout,
|
|
@@ -11838,8 +11831,7 @@ ${lanes.join(`
|
|
|
11838
11831
|
}
|
|
11839
11832
|
try {
|
|
11840
11833
|
_fs.mkdirSync(_path.dirname(profilePath), { recursive: true });
|
|
11841
|
-
} catch {
|
|
11842
|
-
}
|
|
11834
|
+
} catch {}
|
|
11843
11835
|
_fs.writeFileSync(profilePath, JSON.stringify(cleanupPaths(profile)));
|
|
11844
11836
|
}
|
|
11845
11837
|
activeSession = undefined;
|
|
@@ -63171,8 +63163,7 @@ ${lanes.join(`
|
|
|
63171
63163
|
function getAnonymousPartialType(type2) {
|
|
63172
63164
|
const members = createSymbolTable();
|
|
63173
63165
|
for (const prop of getPropertiesOfType(type2)) {
|
|
63174
|
-
if (getDeclarationModifierFlagsFromSymbol(prop) & (2 | 4)) {
|
|
63175
|
-
} else if (isSpreadableProperty(prop)) {
|
|
63166
|
+
if (getDeclarationModifierFlagsFromSymbol(prop) & (2 | 4)) {} else if (isSpreadableProperty(prop)) {
|
|
63176
63167
|
const isSetonlyAccessor = prop.flags & 65536 && !(prop.flags & 32768);
|
|
63177
63168
|
const flags = 4 | 16777216;
|
|
63178
63169
|
const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 : 0));
|
|
@@ -65471,8 +65462,7 @@ ${lanes.join(`
|
|
|
65471
65462
|
const id = getRelationKey(source2, target2, intersectionState, relation, false);
|
|
65472
65463
|
const entry = relation.get(id);
|
|
65473
65464
|
if (entry !== undefined) {
|
|
65474
|
-
if (reportErrors2 && entry & 2 && !(entry & 96)) {
|
|
65475
|
-
} else {
|
|
65465
|
+
if (reportErrors2 && entry & 2 && !(entry & 96)) {} else {
|
|
65476
65466
|
if (outofbandVarianceMarkerHandler) {
|
|
65477
65467
|
const saved = entry & 24;
|
|
65478
65468
|
if (saved & 8) {
|
|
@@ -70798,8 +70788,7 @@ ${lanes.join(`
|
|
|
70798
70788
|
return;
|
|
70799
70789
|
}
|
|
70800
70790
|
const symbol = resolveName(exportedName, exportedName.escapedText, 111551 | 788968 | 1920 | 2097152, undefined, true);
|
|
70801
|
-
if (symbol && (symbol === undefinedSymbol || symbol === globalThisSymbol || symbol.declarations && isGlobalSourceFile(getDeclarationContainer(symbol.declarations[0])))) {
|
|
70802
|
-
} else {
|
|
70791
|
+
if (symbol && (symbol === undefinedSymbol || symbol === globalThisSymbol || symbol.declarations && isGlobalSourceFile(getDeclarationContainer(symbol.declarations[0])))) {} else {
|
|
70803
70792
|
const target = symbol && (symbol.flags & 2097152 ? resolveAlias(symbol) : symbol);
|
|
70804
70793
|
if (!target || getSymbolFlags(target) & 111551) {
|
|
70805
70794
|
markExportAsReferenced(location);
|
|
@@ -86667,8 +86656,7 @@ ${lanes.join(`
|
|
|
86667
86656
|
if (!links2.hasReportedStatementInAmbientContext) {
|
|
86668
86657
|
return links2.hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.Statements_are_not_allowed_in_ambient_contexts);
|
|
86669
86658
|
}
|
|
86670
|
-
} else {
|
|
86671
|
-
}
|
|
86659
|
+
} else {}
|
|
86672
86660
|
}
|
|
86673
86661
|
return false;
|
|
86674
86662
|
}
|
|
@@ -87917,8 +87905,7 @@ ${lanes.join(`
|
|
|
87917
87905
|
if (isRawSourceMap(parsed)) {
|
|
87918
87906
|
return parsed;
|
|
87919
87907
|
}
|
|
87920
|
-
} catch {
|
|
87921
|
-
}
|
|
87908
|
+
} catch {}
|
|
87922
87909
|
return;
|
|
87923
87910
|
}
|
|
87924
87911
|
function decodeMappings(mappings) {
|
|
@@ -96117,8 +96104,7 @@ ${lanes.join(`
|
|
|
96117
96104
|
], 2));
|
|
96118
96105
|
setParentRecursive(requireStatement, false);
|
|
96119
96106
|
statements = insertStatementAfterCustomPrologue(statements.slice(), requireStatement);
|
|
96120
|
-
} else {
|
|
96121
|
-
}
|
|
96107
|
+
} else {}
|
|
96122
96108
|
}
|
|
96123
96109
|
}
|
|
96124
96110
|
if (statements !== visited.statements) {
|
|
@@ -135945,8 +135931,7 @@ ${newComment.split(`
|
|
|
135945
135931
|
var _a, _b, _c, _d;
|
|
135946
135932
|
if (key === "constructor" && member.valueDeclaration) {
|
|
135947
135933
|
const prototypeAssignment = (_d = (_c = (_b = (_a = symbol.exports) == null ? undefined : _a.get("prototype")) == null ? undefined : _b.declarations) == null ? undefined : _c[0]) == null ? undefined : _d.parent;
|
|
135948
|
-
if (prototypeAssignment && isBinaryExpression(prototypeAssignment) && isObjectLiteralExpression(prototypeAssignment.right) && some(prototypeAssignment.right.properties, isConstructorAssignment)) {
|
|
135949
|
-
} else {
|
|
135934
|
+
if (prototypeAssignment && isBinaryExpression(prototypeAssignment) && isObjectLiteralExpression(prototypeAssignment.right) && some(prototypeAssignment.right.properties, isConstructorAssignment)) {} else {
|
|
135950
135935
|
changes.delete(sourceFile, member.valueDeclaration.parent);
|
|
135951
135936
|
}
|
|
135952
135937
|
return;
|
|
@@ -142435,8 +142420,7 @@ ${newComment.split(`
|
|
|
142435
142420
|
usage.isNumber = true;
|
|
142436
142421
|
} else if (otherOperandType.flags & 402653316) {
|
|
142437
142422
|
usage.isString = true;
|
|
142438
|
-
} else if (otherOperandType.flags & 1) {
|
|
142439
|
-
} else {
|
|
142423
|
+
} else if (otherOperandType.flags & 1) {} else {
|
|
142440
142424
|
usage.isNumberOrString = true;
|
|
142441
142425
|
}
|
|
142442
142426
|
break;
|
|
@@ -161769,8 +161753,7 @@ ${options.prefix}` : `
|
|
|
161769
161753
|
ScriptTarget12["Latest"] = "esnext";
|
|
161770
161754
|
return ScriptTarget12;
|
|
161771
161755
|
})(ScriptTarget11 || {});
|
|
161772
|
-
{
|
|
161773
|
-
}
|
|
161756
|
+
{}
|
|
161774
161757
|
var TextStorage = class {
|
|
161775
161758
|
constructor(host, info, initialVersion) {
|
|
161776
161759
|
this.host = host;
|
|
@@ -168433,8 +168416,7 @@ ${json}${newLine}`;
|
|
|
168433
168416
|
File text of ${fileRequest.file}:${indent2(text)}
|
|
168434
168417
|
`;
|
|
168435
168418
|
}
|
|
168436
|
-
} catch {
|
|
168437
|
-
}
|
|
168419
|
+
} catch {}
|
|
168438
168420
|
}
|
|
168439
168421
|
if (err.ProgramFiles) {
|
|
168440
168422
|
msg += `
|
|
@@ -169871,9 +169853,7 @@ ${e.message}`;
|
|
|
169871
169853
|
const commands = args.command;
|
|
169872
169854
|
for (const command of toArray(commands)) {
|
|
169873
169855
|
const { file, project } = this.getFileAndProject(command);
|
|
169874
|
-
project.getLanguageService().applyCodeActionCommand(command, this.getFormatOptions(file)).then((_result) => {
|
|
169875
|
-
}, (_error) => {
|
|
169876
|
-
});
|
|
169856
|
+
project.getLanguageService().applyCodeActionCommand(command, this.getFormatOptions(file)).then((_result) => {}, (_error) => {});
|
|
169877
169857
|
}
|
|
169878
169858
|
return {};
|
|
169879
169859
|
}
|
|
@@ -170091,8 +170071,7 @@ ${e.message}`;
|
|
|
170091
170071
|
const name = this.host.useCaseSensitiveFileNames ? fileName : toFileNameLowerCase(fileName);
|
|
170092
170072
|
return normalizePath(name);
|
|
170093
170073
|
}
|
|
170094
|
-
exit() {
|
|
170095
|
-
}
|
|
170074
|
+
exit() {}
|
|
170096
170075
|
notRequired(request) {
|
|
170097
170076
|
if (request)
|
|
170098
170077
|
this.doOutput(undefined, request.command, request.seq, true, this.performanceData);
|
|
@@ -205344,8 +205323,7 @@ var require_dist3 = __commonJS((exports2, module2) => {
|
|
|
205344
205323
|
this.partial = !!options.partial;
|
|
205345
205324
|
this.make();
|
|
205346
205325
|
}
|
|
205347
|
-
debug() {
|
|
205348
|
-
}
|
|
205326
|
+
debug() {}
|
|
205349
205327
|
make() {
|
|
205350
205328
|
const pattern = this.pattern;
|
|
205351
205329
|
const options = this.options;
|
|
@@ -205795,8 +205773,7 @@ globstar while`, file, fr, pattern, pr, swallowee);
|
|
|
205795
205773
|
module22.exports = function inherits(ctor, superCtor) {
|
|
205796
205774
|
if (superCtor) {
|
|
205797
205775
|
ctor.super_ = superCtor;
|
|
205798
|
-
var TempCtor = function() {
|
|
205799
|
-
};
|
|
205776
|
+
var TempCtor = function() {};
|
|
205800
205777
|
TempCtor.prototype = superCtor.prototype;
|
|
205801
205778
|
ctor.prototype = new TempCtor;
|
|
205802
205779
|
ctor.prototype.constructor = ctor;
|
|
@@ -207322,8 +207299,7 @@ var require_dist4 = __commonJS((exports2, module2) => {
|
|
|
207322
207299
|
var getRouteMatcher = (routes) => {
|
|
207323
207300
|
const routeMapping = {};
|
|
207324
207301
|
for (const route of routes)
|
|
207325
|
-
routeMapping[route] = () => {
|
|
207326
|
-
};
|
|
207302
|
+
routeMapping[route] = () => {};
|
|
207327
207303
|
const uglyMatcher = getRouteMatcherUgly(routeMapping);
|
|
207328
207304
|
return (incomingPath) => {
|
|
207329
207305
|
const result = uglyMatcher(incomingPath);
|
|
@@ -208141,8 +208117,7 @@ var util, objectUtil, ZodParsedType, getParsedType = (data) => {
|
|
|
208141
208117
|
var init_lib = __esm(() => {
|
|
208142
208118
|
(function(util2) {
|
|
208143
208119
|
util2.assertEqual = (val) => val;
|
|
208144
|
-
function assertIs(_arg) {
|
|
208145
|
-
}
|
|
208120
|
+
function assertIs(_arg) {}
|
|
208146
208121
|
util2.assertIs = assertIs;
|
|
208147
208122
|
function assertNever(_x) {
|
|
208148
208123
|
throw new Error;
|
|
@@ -211295,8 +211270,7 @@ var require_polyfills = __commonJS((exports2, module2) => {
|
|
|
211295
211270
|
};
|
|
211296
211271
|
try {
|
|
211297
211272
|
process.cwd();
|
|
211298
|
-
} catch (er) {
|
|
211299
|
-
}
|
|
211273
|
+
} catch (er) {}
|
|
211300
211274
|
if (typeof process.chdir === "function") {
|
|
211301
211275
|
chdir = process.chdir;
|
|
211302
211276
|
process.chdir = function(d) {
|
|
@@ -211338,16 +211312,14 @@ var require_polyfills = __commonJS((exports2, module2) => {
|
|
|
211338
211312
|
if (cb)
|
|
211339
211313
|
process.nextTick(cb);
|
|
211340
211314
|
};
|
|
211341
|
-
fs9.lchmodSync = function() {
|
|
211342
|
-
};
|
|
211315
|
+
fs9.lchmodSync = function() {};
|
|
211343
211316
|
}
|
|
211344
211317
|
if (fs9.chown && !fs9.lchown) {
|
|
211345
211318
|
fs9.lchown = function(path8, uid, gid, cb) {
|
|
211346
211319
|
if (cb)
|
|
211347
211320
|
process.nextTick(cb);
|
|
211348
211321
|
};
|
|
211349
|
-
fs9.lchownSync = function() {
|
|
211350
|
-
};
|
|
211322
|
+
fs9.lchownSync = function() {};
|
|
211351
211323
|
}
|
|
211352
211324
|
if (platform === "win32") {
|
|
211353
211325
|
fs9.rename = typeof fs9.rename !== "function" ? fs9.rename : function(fs$rename) {
|
|
@@ -211439,8 +211411,7 @@ var require_polyfills = __commonJS((exports2, module2) => {
|
|
|
211439
211411
|
if (threw) {
|
|
211440
211412
|
try {
|
|
211441
211413
|
fs10.closeSync(fd);
|
|
211442
|
-
} catch (er) {
|
|
211443
|
-
}
|
|
211414
|
+
} catch (er) {}
|
|
211444
211415
|
} else {
|
|
211445
211416
|
fs10.closeSync(fd);
|
|
211446
211417
|
}
|
|
@@ -211476,8 +211447,7 @@ var require_polyfills = __commonJS((exports2, module2) => {
|
|
|
211476
211447
|
if (threw) {
|
|
211477
211448
|
try {
|
|
211478
211449
|
fs10.closeSync(fd);
|
|
211479
|
-
} catch (er) {
|
|
211480
|
-
}
|
|
211450
|
+
} catch (er) {}
|
|
211481
211451
|
} else {
|
|
211482
211452
|
fs10.closeSync(fd);
|
|
211483
211453
|
}
|
|
@@ -211489,8 +211459,7 @@ var require_polyfills = __commonJS((exports2, module2) => {
|
|
|
211489
211459
|
if (cb)
|
|
211490
211460
|
process.nextTick(cb);
|
|
211491
211461
|
};
|
|
211492
|
-
fs10.lutimesSync = function() {
|
|
211493
|
-
};
|
|
211462
|
+
fs10.lutimesSync = function() {};
|
|
211494
211463
|
}
|
|
211495
211464
|
}
|
|
211496
211465
|
function chmodFix(orig) {
|
|
@@ -211724,8 +211693,7 @@ var require_graceful_fs = __commonJS((exports2, module2) => {
|
|
|
211724
211693
|
gracefulQueue = "___graceful-fs.queue";
|
|
211725
211694
|
previousSymbol = "___graceful-fs.previous";
|
|
211726
211695
|
}
|
|
211727
|
-
function noop() {
|
|
211728
|
-
}
|
|
211696
|
+
function noop() {}
|
|
211729
211697
|
function publishQueue(context, queue2) {
|
|
211730
211698
|
Object.defineProperty(context, gracefulQueue, {
|
|
211731
211699
|
get: function() {
|
|
@@ -212067,6 +212035,631 @@ GFS4: `);
|
|
|
212067
212035
|
}
|
|
212068
212036
|
});
|
|
212069
212037
|
|
|
212038
|
+
// node_modules/ms/index.js
|
|
212039
|
+
var require_ms = __commonJS((exports2, module2) => {
|
|
212040
|
+
var s = 1000;
|
|
212041
|
+
var m = s * 60;
|
|
212042
|
+
var h = m * 60;
|
|
212043
|
+
var d = h * 24;
|
|
212044
|
+
var w = d * 7;
|
|
212045
|
+
var y = d * 365.25;
|
|
212046
|
+
module2.exports = function(val, options) {
|
|
212047
|
+
options = options || {};
|
|
212048
|
+
var type = typeof val;
|
|
212049
|
+
if (type === "string" && val.length > 0) {
|
|
212050
|
+
return parse3(val);
|
|
212051
|
+
} else if (type === "number" && isFinite(val)) {
|
|
212052
|
+
return options.long ? fmtLong(val) : fmtShort(val);
|
|
212053
|
+
}
|
|
212054
|
+
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(val));
|
|
212055
|
+
};
|
|
212056
|
+
function parse3(str) {
|
|
212057
|
+
str = String(str);
|
|
212058
|
+
if (str.length > 100) {
|
|
212059
|
+
return;
|
|
212060
|
+
}
|
|
212061
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);
|
|
212062
|
+
if (!match) {
|
|
212063
|
+
return;
|
|
212064
|
+
}
|
|
212065
|
+
var n = parseFloat(match[1]);
|
|
212066
|
+
var type = (match[2] || "ms").toLowerCase();
|
|
212067
|
+
switch (type) {
|
|
212068
|
+
case "years":
|
|
212069
|
+
case "year":
|
|
212070
|
+
case "yrs":
|
|
212071
|
+
case "yr":
|
|
212072
|
+
case "y":
|
|
212073
|
+
return n * y;
|
|
212074
|
+
case "weeks":
|
|
212075
|
+
case "week":
|
|
212076
|
+
case "w":
|
|
212077
|
+
return n * w;
|
|
212078
|
+
case "days":
|
|
212079
|
+
case "day":
|
|
212080
|
+
case "d":
|
|
212081
|
+
return n * d;
|
|
212082
|
+
case "hours":
|
|
212083
|
+
case "hour":
|
|
212084
|
+
case "hrs":
|
|
212085
|
+
case "hr":
|
|
212086
|
+
case "h":
|
|
212087
|
+
return n * h;
|
|
212088
|
+
case "minutes":
|
|
212089
|
+
case "minute":
|
|
212090
|
+
case "mins":
|
|
212091
|
+
case "min":
|
|
212092
|
+
case "m":
|
|
212093
|
+
return n * m;
|
|
212094
|
+
case "seconds":
|
|
212095
|
+
case "second":
|
|
212096
|
+
case "secs":
|
|
212097
|
+
case "sec":
|
|
212098
|
+
case "s":
|
|
212099
|
+
return n * s;
|
|
212100
|
+
case "milliseconds":
|
|
212101
|
+
case "millisecond":
|
|
212102
|
+
case "msecs":
|
|
212103
|
+
case "msec":
|
|
212104
|
+
case "ms":
|
|
212105
|
+
return n;
|
|
212106
|
+
default:
|
|
212107
|
+
return;
|
|
212108
|
+
}
|
|
212109
|
+
}
|
|
212110
|
+
function fmtShort(ms) {
|
|
212111
|
+
var msAbs = Math.abs(ms);
|
|
212112
|
+
if (msAbs >= d) {
|
|
212113
|
+
return Math.round(ms / d) + "d";
|
|
212114
|
+
}
|
|
212115
|
+
if (msAbs >= h) {
|
|
212116
|
+
return Math.round(ms / h) + "h";
|
|
212117
|
+
}
|
|
212118
|
+
if (msAbs >= m) {
|
|
212119
|
+
return Math.round(ms / m) + "m";
|
|
212120
|
+
}
|
|
212121
|
+
if (msAbs >= s) {
|
|
212122
|
+
return Math.round(ms / s) + "s";
|
|
212123
|
+
}
|
|
212124
|
+
return ms + "ms";
|
|
212125
|
+
}
|
|
212126
|
+
function fmtLong(ms) {
|
|
212127
|
+
var msAbs = Math.abs(ms);
|
|
212128
|
+
if (msAbs >= d) {
|
|
212129
|
+
return plural(ms, msAbs, d, "day");
|
|
212130
|
+
}
|
|
212131
|
+
if (msAbs >= h) {
|
|
212132
|
+
return plural(ms, msAbs, h, "hour");
|
|
212133
|
+
}
|
|
212134
|
+
if (msAbs >= m) {
|
|
212135
|
+
return plural(ms, msAbs, m, "minute");
|
|
212136
|
+
}
|
|
212137
|
+
if (msAbs >= s) {
|
|
212138
|
+
return plural(ms, msAbs, s, "second");
|
|
212139
|
+
}
|
|
212140
|
+
return ms + " ms";
|
|
212141
|
+
}
|
|
212142
|
+
function plural(ms, msAbs, n, name) {
|
|
212143
|
+
var isPlural = msAbs >= n * 1.5;
|
|
212144
|
+
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
212145
|
+
}
|
|
212146
|
+
});
|
|
212147
|
+
|
|
212148
|
+
// node_modules/debug/src/common.js
|
|
212149
|
+
var require_common = __commonJS((exports2, module2) => {
|
|
212150
|
+
function setup(env2) {
|
|
212151
|
+
createDebug.debug = createDebug;
|
|
212152
|
+
createDebug.default = createDebug;
|
|
212153
|
+
createDebug.coerce = coerce2;
|
|
212154
|
+
createDebug.disable = disable;
|
|
212155
|
+
createDebug.enable = enable;
|
|
212156
|
+
createDebug.enabled = enabled;
|
|
212157
|
+
createDebug.humanize = require_ms();
|
|
212158
|
+
createDebug.destroy = destroy;
|
|
212159
|
+
Object.keys(env2).forEach((key) => {
|
|
212160
|
+
createDebug[key] = env2[key];
|
|
212161
|
+
});
|
|
212162
|
+
createDebug.names = [];
|
|
212163
|
+
createDebug.skips = [];
|
|
212164
|
+
createDebug.formatters = {};
|
|
212165
|
+
function selectColor(namespace) {
|
|
212166
|
+
let hash = 0;
|
|
212167
|
+
for (let i = 0;i < namespace.length; i++) {
|
|
212168
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
212169
|
+
hash |= 0;
|
|
212170
|
+
}
|
|
212171
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
212172
|
+
}
|
|
212173
|
+
createDebug.selectColor = selectColor;
|
|
212174
|
+
function createDebug(namespace) {
|
|
212175
|
+
let prevTime;
|
|
212176
|
+
let enableOverride = null;
|
|
212177
|
+
let namespacesCache;
|
|
212178
|
+
let enabledCache;
|
|
212179
|
+
function debug(...args) {
|
|
212180
|
+
if (!debug.enabled) {
|
|
212181
|
+
return;
|
|
212182
|
+
}
|
|
212183
|
+
const self2 = debug;
|
|
212184
|
+
const curr = Number(new Date);
|
|
212185
|
+
const ms = curr - (prevTime || curr);
|
|
212186
|
+
self2.diff = ms;
|
|
212187
|
+
self2.prev = prevTime;
|
|
212188
|
+
self2.curr = curr;
|
|
212189
|
+
prevTime = curr;
|
|
212190
|
+
args[0] = createDebug.coerce(args[0]);
|
|
212191
|
+
if (typeof args[0] !== "string") {
|
|
212192
|
+
args.unshift("%O");
|
|
212193
|
+
}
|
|
212194
|
+
let index = 0;
|
|
212195
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
212196
|
+
if (match === "%%") {
|
|
212197
|
+
return "%";
|
|
212198
|
+
}
|
|
212199
|
+
index++;
|
|
212200
|
+
const formatter = createDebug.formatters[format];
|
|
212201
|
+
if (typeof formatter === "function") {
|
|
212202
|
+
const val = args[index];
|
|
212203
|
+
match = formatter.call(self2, val);
|
|
212204
|
+
args.splice(index, 1);
|
|
212205
|
+
index--;
|
|
212206
|
+
}
|
|
212207
|
+
return match;
|
|
212208
|
+
});
|
|
212209
|
+
createDebug.formatArgs.call(self2, args);
|
|
212210
|
+
const logFn = self2.log || createDebug.log;
|
|
212211
|
+
logFn.apply(self2, args);
|
|
212212
|
+
}
|
|
212213
|
+
debug.namespace = namespace;
|
|
212214
|
+
debug.useColors = createDebug.useColors();
|
|
212215
|
+
debug.color = createDebug.selectColor(namespace);
|
|
212216
|
+
debug.extend = extend;
|
|
212217
|
+
debug.destroy = createDebug.destroy;
|
|
212218
|
+
Object.defineProperty(debug, "enabled", {
|
|
212219
|
+
enumerable: true,
|
|
212220
|
+
configurable: false,
|
|
212221
|
+
get: () => {
|
|
212222
|
+
if (enableOverride !== null) {
|
|
212223
|
+
return enableOverride;
|
|
212224
|
+
}
|
|
212225
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
212226
|
+
namespacesCache = createDebug.namespaces;
|
|
212227
|
+
enabledCache = createDebug.enabled(namespace);
|
|
212228
|
+
}
|
|
212229
|
+
return enabledCache;
|
|
212230
|
+
},
|
|
212231
|
+
set: (v) => {
|
|
212232
|
+
enableOverride = v;
|
|
212233
|
+
}
|
|
212234
|
+
});
|
|
212235
|
+
if (typeof createDebug.init === "function") {
|
|
212236
|
+
createDebug.init(debug);
|
|
212237
|
+
}
|
|
212238
|
+
return debug;
|
|
212239
|
+
}
|
|
212240
|
+
function extend(namespace, delimiter) {
|
|
212241
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
212242
|
+
newDebug.log = this.log;
|
|
212243
|
+
return newDebug;
|
|
212244
|
+
}
|
|
212245
|
+
function enable(namespaces) {
|
|
212246
|
+
createDebug.save(namespaces);
|
|
212247
|
+
createDebug.namespaces = namespaces;
|
|
212248
|
+
createDebug.names = [];
|
|
212249
|
+
createDebug.skips = [];
|
|
212250
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
|
|
212251
|
+
for (const ns of split) {
|
|
212252
|
+
if (ns[0] === "-") {
|
|
212253
|
+
createDebug.skips.push(ns.slice(1));
|
|
212254
|
+
} else {
|
|
212255
|
+
createDebug.names.push(ns);
|
|
212256
|
+
}
|
|
212257
|
+
}
|
|
212258
|
+
}
|
|
212259
|
+
function matchesTemplate(search, template) {
|
|
212260
|
+
let searchIndex = 0;
|
|
212261
|
+
let templateIndex = 0;
|
|
212262
|
+
let starIndex = -1;
|
|
212263
|
+
let matchIndex = 0;
|
|
212264
|
+
while (searchIndex < search.length) {
|
|
212265
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
|
|
212266
|
+
if (template[templateIndex] === "*") {
|
|
212267
|
+
starIndex = templateIndex;
|
|
212268
|
+
matchIndex = searchIndex;
|
|
212269
|
+
templateIndex++;
|
|
212270
|
+
} else {
|
|
212271
|
+
searchIndex++;
|
|
212272
|
+
templateIndex++;
|
|
212273
|
+
}
|
|
212274
|
+
} else if (starIndex !== -1) {
|
|
212275
|
+
templateIndex = starIndex + 1;
|
|
212276
|
+
matchIndex++;
|
|
212277
|
+
searchIndex = matchIndex;
|
|
212278
|
+
} else {
|
|
212279
|
+
return false;
|
|
212280
|
+
}
|
|
212281
|
+
}
|
|
212282
|
+
while (templateIndex < template.length && template[templateIndex] === "*") {
|
|
212283
|
+
templateIndex++;
|
|
212284
|
+
}
|
|
212285
|
+
return templateIndex === template.length;
|
|
212286
|
+
}
|
|
212287
|
+
function disable() {
|
|
212288
|
+
const namespaces = [
|
|
212289
|
+
...createDebug.names,
|
|
212290
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
212291
|
+
].join(",");
|
|
212292
|
+
createDebug.enable("");
|
|
212293
|
+
return namespaces;
|
|
212294
|
+
}
|
|
212295
|
+
function enabled(name) {
|
|
212296
|
+
for (const skip of createDebug.skips) {
|
|
212297
|
+
if (matchesTemplate(name, skip)) {
|
|
212298
|
+
return false;
|
|
212299
|
+
}
|
|
212300
|
+
}
|
|
212301
|
+
for (const ns of createDebug.names) {
|
|
212302
|
+
if (matchesTemplate(name, ns)) {
|
|
212303
|
+
return true;
|
|
212304
|
+
}
|
|
212305
|
+
}
|
|
212306
|
+
return false;
|
|
212307
|
+
}
|
|
212308
|
+
function coerce2(val) {
|
|
212309
|
+
if (val instanceof Error) {
|
|
212310
|
+
return val.stack || val.message;
|
|
212311
|
+
}
|
|
212312
|
+
return val;
|
|
212313
|
+
}
|
|
212314
|
+
function destroy() {
|
|
212315
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
212316
|
+
}
|
|
212317
|
+
createDebug.enable(createDebug.load());
|
|
212318
|
+
return createDebug;
|
|
212319
|
+
}
|
|
212320
|
+
module2.exports = setup;
|
|
212321
|
+
});
|
|
212322
|
+
|
|
212323
|
+
// node_modules/debug/src/browser.js
|
|
212324
|
+
var require_browser = __commonJS((exports2, module2) => {
|
|
212325
|
+
exports2.formatArgs = formatArgs;
|
|
212326
|
+
exports2.save = save;
|
|
212327
|
+
exports2.load = load2;
|
|
212328
|
+
exports2.useColors = useColors;
|
|
212329
|
+
exports2.storage = localstorage();
|
|
212330
|
+
exports2.destroy = (() => {
|
|
212331
|
+
let warned = false;
|
|
212332
|
+
return () => {
|
|
212333
|
+
if (!warned) {
|
|
212334
|
+
warned = true;
|
|
212335
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
212336
|
+
}
|
|
212337
|
+
};
|
|
212338
|
+
})();
|
|
212339
|
+
exports2.colors = [
|
|
212340
|
+
"#0000CC",
|
|
212341
|
+
"#0000FF",
|
|
212342
|
+
"#0033CC",
|
|
212343
|
+
"#0033FF",
|
|
212344
|
+
"#0066CC",
|
|
212345
|
+
"#0066FF",
|
|
212346
|
+
"#0099CC",
|
|
212347
|
+
"#0099FF",
|
|
212348
|
+
"#00CC00",
|
|
212349
|
+
"#00CC33",
|
|
212350
|
+
"#00CC66",
|
|
212351
|
+
"#00CC99",
|
|
212352
|
+
"#00CCCC",
|
|
212353
|
+
"#00CCFF",
|
|
212354
|
+
"#3300CC",
|
|
212355
|
+
"#3300FF",
|
|
212356
|
+
"#3333CC",
|
|
212357
|
+
"#3333FF",
|
|
212358
|
+
"#3366CC",
|
|
212359
|
+
"#3366FF",
|
|
212360
|
+
"#3399CC",
|
|
212361
|
+
"#3399FF",
|
|
212362
|
+
"#33CC00",
|
|
212363
|
+
"#33CC33",
|
|
212364
|
+
"#33CC66",
|
|
212365
|
+
"#33CC99",
|
|
212366
|
+
"#33CCCC",
|
|
212367
|
+
"#33CCFF",
|
|
212368
|
+
"#6600CC",
|
|
212369
|
+
"#6600FF",
|
|
212370
|
+
"#6633CC",
|
|
212371
|
+
"#6633FF",
|
|
212372
|
+
"#66CC00",
|
|
212373
|
+
"#66CC33",
|
|
212374
|
+
"#9900CC",
|
|
212375
|
+
"#9900FF",
|
|
212376
|
+
"#9933CC",
|
|
212377
|
+
"#9933FF",
|
|
212378
|
+
"#99CC00",
|
|
212379
|
+
"#99CC33",
|
|
212380
|
+
"#CC0000",
|
|
212381
|
+
"#CC0033",
|
|
212382
|
+
"#CC0066",
|
|
212383
|
+
"#CC0099",
|
|
212384
|
+
"#CC00CC",
|
|
212385
|
+
"#CC00FF",
|
|
212386
|
+
"#CC3300",
|
|
212387
|
+
"#CC3333",
|
|
212388
|
+
"#CC3366",
|
|
212389
|
+
"#CC3399",
|
|
212390
|
+
"#CC33CC",
|
|
212391
|
+
"#CC33FF",
|
|
212392
|
+
"#CC6600",
|
|
212393
|
+
"#CC6633",
|
|
212394
|
+
"#CC9900",
|
|
212395
|
+
"#CC9933",
|
|
212396
|
+
"#CCCC00",
|
|
212397
|
+
"#CCCC33",
|
|
212398
|
+
"#FF0000",
|
|
212399
|
+
"#FF0033",
|
|
212400
|
+
"#FF0066",
|
|
212401
|
+
"#FF0099",
|
|
212402
|
+
"#FF00CC",
|
|
212403
|
+
"#FF00FF",
|
|
212404
|
+
"#FF3300",
|
|
212405
|
+
"#FF3333",
|
|
212406
|
+
"#FF3366",
|
|
212407
|
+
"#FF3399",
|
|
212408
|
+
"#FF33CC",
|
|
212409
|
+
"#FF33FF",
|
|
212410
|
+
"#FF6600",
|
|
212411
|
+
"#FF6633",
|
|
212412
|
+
"#FF9900",
|
|
212413
|
+
"#FF9933",
|
|
212414
|
+
"#FFCC00",
|
|
212415
|
+
"#FFCC33"
|
|
212416
|
+
];
|
|
212417
|
+
function useColors() {
|
|
212418
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
212419
|
+
return true;
|
|
212420
|
+
}
|
|
212421
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
212422
|
+
return false;
|
|
212423
|
+
}
|
|
212424
|
+
let m;
|
|
212425
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
212426
|
+
}
|
|
212427
|
+
function formatArgs(args) {
|
|
212428
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
212429
|
+
if (!this.useColors) {
|
|
212430
|
+
return;
|
|
212431
|
+
}
|
|
212432
|
+
const c = "color: " + this.color;
|
|
212433
|
+
args.splice(1, 0, c, "color: inherit");
|
|
212434
|
+
let index = 0;
|
|
212435
|
+
let lastC = 0;
|
|
212436
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
212437
|
+
if (match === "%%") {
|
|
212438
|
+
return;
|
|
212439
|
+
}
|
|
212440
|
+
index++;
|
|
212441
|
+
if (match === "%c") {
|
|
212442
|
+
lastC = index;
|
|
212443
|
+
}
|
|
212444
|
+
});
|
|
212445
|
+
args.splice(lastC, 0, c);
|
|
212446
|
+
}
|
|
212447
|
+
exports2.log = console.debug || console.log || (() => {});
|
|
212448
|
+
function save(namespaces) {
|
|
212449
|
+
try {
|
|
212450
|
+
if (namespaces) {
|
|
212451
|
+
exports2.storage.setItem("debug", namespaces);
|
|
212452
|
+
} else {
|
|
212453
|
+
exports2.storage.removeItem("debug");
|
|
212454
|
+
}
|
|
212455
|
+
} catch (error) {}
|
|
212456
|
+
}
|
|
212457
|
+
function load2() {
|
|
212458
|
+
let r;
|
|
212459
|
+
try {
|
|
212460
|
+
r = exports2.storage.getItem("debug");
|
|
212461
|
+
} catch (error) {}
|
|
212462
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
212463
|
+
r = process.env.DEBUG;
|
|
212464
|
+
}
|
|
212465
|
+
return r;
|
|
212466
|
+
}
|
|
212467
|
+
function localstorage() {
|
|
212468
|
+
try {
|
|
212469
|
+
return localStorage;
|
|
212470
|
+
} catch (error) {}
|
|
212471
|
+
}
|
|
212472
|
+
module2.exports = require_common()(exports2);
|
|
212473
|
+
var { formatters } = module2.exports;
|
|
212474
|
+
formatters.j = function(v) {
|
|
212475
|
+
try {
|
|
212476
|
+
return JSON.stringify(v);
|
|
212477
|
+
} catch (error) {
|
|
212478
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
|
212479
|
+
}
|
|
212480
|
+
};
|
|
212481
|
+
});
|
|
212482
|
+
|
|
212483
|
+
// node_modules/debug/src/node.js
|
|
212484
|
+
var require_node = __commonJS((exports2, module2) => {
|
|
212485
|
+
var tty = __require("tty");
|
|
212486
|
+
var util2 = __require("util");
|
|
212487
|
+
exports2.init = init;
|
|
212488
|
+
exports2.log = log;
|
|
212489
|
+
exports2.formatArgs = formatArgs;
|
|
212490
|
+
exports2.save = save;
|
|
212491
|
+
exports2.load = load2;
|
|
212492
|
+
exports2.useColors = useColors;
|
|
212493
|
+
exports2.destroy = util2.deprecate(() => {}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
212494
|
+
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
212495
|
+
try {
|
|
212496
|
+
const supportsColor = (()=>{throw new Error("Cannot require module "+"supports-color");})();
|
|
212497
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
212498
|
+
exports2.colors = [
|
|
212499
|
+
20,
|
|
212500
|
+
21,
|
|
212501
|
+
26,
|
|
212502
|
+
27,
|
|
212503
|
+
32,
|
|
212504
|
+
33,
|
|
212505
|
+
38,
|
|
212506
|
+
39,
|
|
212507
|
+
40,
|
|
212508
|
+
41,
|
|
212509
|
+
42,
|
|
212510
|
+
43,
|
|
212511
|
+
44,
|
|
212512
|
+
45,
|
|
212513
|
+
56,
|
|
212514
|
+
57,
|
|
212515
|
+
62,
|
|
212516
|
+
63,
|
|
212517
|
+
68,
|
|
212518
|
+
69,
|
|
212519
|
+
74,
|
|
212520
|
+
75,
|
|
212521
|
+
76,
|
|
212522
|
+
77,
|
|
212523
|
+
78,
|
|
212524
|
+
79,
|
|
212525
|
+
80,
|
|
212526
|
+
81,
|
|
212527
|
+
92,
|
|
212528
|
+
93,
|
|
212529
|
+
98,
|
|
212530
|
+
99,
|
|
212531
|
+
112,
|
|
212532
|
+
113,
|
|
212533
|
+
128,
|
|
212534
|
+
129,
|
|
212535
|
+
134,
|
|
212536
|
+
135,
|
|
212537
|
+
148,
|
|
212538
|
+
149,
|
|
212539
|
+
160,
|
|
212540
|
+
161,
|
|
212541
|
+
162,
|
|
212542
|
+
163,
|
|
212543
|
+
164,
|
|
212544
|
+
165,
|
|
212545
|
+
166,
|
|
212546
|
+
167,
|
|
212547
|
+
168,
|
|
212548
|
+
169,
|
|
212549
|
+
170,
|
|
212550
|
+
171,
|
|
212551
|
+
172,
|
|
212552
|
+
173,
|
|
212553
|
+
178,
|
|
212554
|
+
179,
|
|
212555
|
+
184,
|
|
212556
|
+
185,
|
|
212557
|
+
196,
|
|
212558
|
+
197,
|
|
212559
|
+
198,
|
|
212560
|
+
199,
|
|
212561
|
+
200,
|
|
212562
|
+
201,
|
|
212563
|
+
202,
|
|
212564
|
+
203,
|
|
212565
|
+
204,
|
|
212566
|
+
205,
|
|
212567
|
+
206,
|
|
212568
|
+
207,
|
|
212569
|
+
208,
|
|
212570
|
+
209,
|
|
212571
|
+
214,
|
|
212572
|
+
215,
|
|
212573
|
+
220,
|
|
212574
|
+
221
|
|
212575
|
+
];
|
|
212576
|
+
}
|
|
212577
|
+
} catch (error) {}
|
|
212578
|
+
exports2.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
212579
|
+
return /^debug_/i.test(key);
|
|
212580
|
+
}).reduce((obj, key) => {
|
|
212581
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
212582
|
+
return k.toUpperCase();
|
|
212583
|
+
});
|
|
212584
|
+
let val = process.env[key];
|
|
212585
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
212586
|
+
val = true;
|
|
212587
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
212588
|
+
val = false;
|
|
212589
|
+
} else if (val === "null") {
|
|
212590
|
+
val = null;
|
|
212591
|
+
} else {
|
|
212592
|
+
val = Number(val);
|
|
212593
|
+
}
|
|
212594
|
+
obj[prop] = val;
|
|
212595
|
+
return obj;
|
|
212596
|
+
}, {});
|
|
212597
|
+
function useColors() {
|
|
212598
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
212599
|
+
}
|
|
212600
|
+
function formatArgs(args) {
|
|
212601
|
+
const { namespace: name, useColors: useColors2 } = this;
|
|
212602
|
+
if (useColors2) {
|
|
212603
|
+
const c = this.color;
|
|
212604
|
+
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
212605
|
+
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
212606
|
+
args[0] = prefix + args[0].split(`
|
|
212607
|
+
`).join(`
|
|
212608
|
+
` + prefix);
|
|
212609
|
+
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
212610
|
+
} else {
|
|
212611
|
+
args[0] = getDate() + name + " " + args[0];
|
|
212612
|
+
}
|
|
212613
|
+
}
|
|
212614
|
+
function getDate() {
|
|
212615
|
+
if (exports2.inspectOpts.hideDate) {
|
|
212616
|
+
return "";
|
|
212617
|
+
}
|
|
212618
|
+
return new Date().toISOString() + " ";
|
|
212619
|
+
}
|
|
212620
|
+
function log(...args) {
|
|
212621
|
+
return process.stderr.write(util2.formatWithOptions(exports2.inspectOpts, ...args) + `
|
|
212622
|
+
`);
|
|
212623
|
+
}
|
|
212624
|
+
function save(namespaces) {
|
|
212625
|
+
if (namespaces) {
|
|
212626
|
+
process.env.DEBUG = namespaces;
|
|
212627
|
+
} else {
|
|
212628
|
+
delete process.env.DEBUG;
|
|
212629
|
+
}
|
|
212630
|
+
}
|
|
212631
|
+
function load2() {
|
|
212632
|
+
return process.env.DEBUG;
|
|
212633
|
+
}
|
|
212634
|
+
function init(debug) {
|
|
212635
|
+
debug.inspectOpts = {};
|
|
212636
|
+
const keys = Object.keys(exports2.inspectOpts);
|
|
212637
|
+
for (let i = 0;i < keys.length; i++) {
|
|
212638
|
+
debug.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
|
|
212639
|
+
}
|
|
212640
|
+
}
|
|
212641
|
+
module2.exports = require_common()(exports2);
|
|
212642
|
+
var { formatters } = module2.exports;
|
|
212643
|
+
formatters.o = function(v) {
|
|
212644
|
+
this.inspectOpts.colors = this.useColors;
|
|
212645
|
+
return util2.inspect(v, this.inspectOpts).split(`
|
|
212646
|
+
`).map((str) => str.trim()).join(" ");
|
|
212647
|
+
};
|
|
212648
|
+
formatters.O = function(v) {
|
|
212649
|
+
this.inspectOpts.colors = this.useColors;
|
|
212650
|
+
return util2.inspect(v, this.inspectOpts);
|
|
212651
|
+
};
|
|
212652
|
+
});
|
|
212653
|
+
|
|
212654
|
+
// node_modules/debug/src/index.js
|
|
212655
|
+
var require_src = __commonJS((exports2, module2) => {
|
|
212656
|
+
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
212657
|
+
module2.exports = require_browser();
|
|
212658
|
+
} else {
|
|
212659
|
+
module2.exports = require_node();
|
|
212660
|
+
}
|
|
212661
|
+
});
|
|
212662
|
+
|
|
212070
212663
|
// node_modules/minimist/index.js
|
|
212071
212664
|
var require_minimist = __commonJS((exports2, module2) => {
|
|
212072
212665
|
function hasKey(obj, keys) {
|
|
@@ -212444,7 +213037,7 @@ var require_strip = __commonJS((exports2, module2) => {
|
|
|
212444
213037
|
});
|
|
212445
213038
|
|
|
212446
213039
|
// node_modules/sisteransi/src/index.js
|
|
212447
|
-
var
|
|
213040
|
+
var require_src2 = __commonJS((exports2, module2) => {
|
|
212448
213041
|
var ESC = "\x1B";
|
|
212449
213042
|
var CSI = `${ESC}[`;
|
|
212450
213043
|
var beep = "\x07";
|
|
@@ -212510,8 +213103,7 @@ var require_clear = __commonJS((exports2, module2) => {
|
|
|
212510
213103
|
if (it)
|
|
212511
213104
|
o = it;
|
|
212512
213105
|
var i = 0;
|
|
212513
|
-
var F = function F() {
|
|
212514
|
-
};
|
|
213106
|
+
var F = function F() {};
|
|
212515
213107
|
return { s: F, n: function n() {
|
|
212516
213108
|
if (i >= o.length)
|
|
212517
213109
|
return { done: true };
|
|
@@ -212564,7 +213156,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
212564
213156
|
return arr2;
|
|
212565
213157
|
}
|
|
212566
213158
|
var strip = require_strip();
|
|
212567
|
-
var _require =
|
|
213159
|
+
var _require = require_src2();
|
|
212568
213160
|
var erase = _require.erase;
|
|
212569
213161
|
var cursor = _require.cursor;
|
|
212570
213162
|
var width = (str) => [...strip(str)].length;
|
|
@@ -212727,7 +213319,7 @@ var require_prompt = __commonJS((exports2, module2) => {
|
|
|
212727
213319
|
var _require = require_util();
|
|
212728
213320
|
var action = _require.action;
|
|
212729
213321
|
var EventEmitter3 = __require("events");
|
|
212730
|
-
var _require2 =
|
|
213322
|
+
var _require2 = require_src2();
|
|
212731
213323
|
var beep = _require2.beep;
|
|
212732
213324
|
var cursor = _require2.cursor;
|
|
212733
213325
|
var color = require_kleur();
|
|
@@ -212822,7 +213414,7 @@ var require_text = __commonJS((exports2, module2) => {
|
|
|
212822
213414
|
}
|
|
212823
213415
|
var color = require_kleur();
|
|
212824
213416
|
var Prompt = require_prompt();
|
|
212825
|
-
var _require =
|
|
213417
|
+
var _require = require_src2();
|
|
212826
213418
|
var erase = _require.erase;
|
|
212827
213419
|
var cursor = _require.cursor;
|
|
212828
213420
|
var _require2 = require_util();
|
|
@@ -213023,7 +213615,7 @@ var require_select = __commonJS((exports2, module2) => {
|
|
|
213023
213615
|
var figures = _require.figures;
|
|
213024
213616
|
var wrap = _require.wrap;
|
|
213025
213617
|
var entriesToDisplay = _require.entriesToDisplay;
|
|
213026
|
-
var _require2 =
|
|
213618
|
+
var _require2 = require_src2();
|
|
213027
213619
|
var cursor = _require2.cursor;
|
|
213028
213620
|
|
|
213029
213621
|
class SelectPrompt extends Prompt {
|
|
@@ -213176,7 +213768,7 @@ var require_toggle = __commonJS((exports2, module2) => {
|
|
|
213176
213768
|
var _require = require_util();
|
|
213177
213769
|
var style = _require.style;
|
|
213178
213770
|
var clear = _require.clear;
|
|
213179
|
-
var _require2 =
|
|
213771
|
+
var _require2 = require_src2();
|
|
213180
213772
|
var cursor = _require2.cursor;
|
|
213181
213773
|
var erase = _require2.erase;
|
|
213182
213774
|
|
|
@@ -213287,16 +213879,13 @@ var require_datepart = __commonJS((exports2, module2) => {
|
|
|
213287
213879
|
this.parts = parts || [this];
|
|
213288
213880
|
this.locales = locales || {};
|
|
213289
213881
|
}
|
|
213290
|
-
up() {
|
|
213291
|
-
}
|
|
213292
|
-
down() {
|
|
213293
|
-
}
|
|
213882
|
+
up() {}
|
|
213883
|
+
down() {}
|
|
213294
213884
|
next() {
|
|
213295
213885
|
const currentIdx = this.parts.indexOf(this);
|
|
213296
213886
|
return this.parts.find((part, idx) => idx > currentIdx && part instanceof DatePart);
|
|
213297
213887
|
}
|
|
213298
|
-
setTo(val) {
|
|
213299
|
-
}
|
|
213888
|
+
setTo(val) {}
|
|
213300
213889
|
prev() {
|
|
213301
213890
|
let parts = [].concat(this.parts).reverse();
|
|
213302
213891
|
const currentIdx = parts.indexOf(this);
|
|
@@ -213566,7 +214155,7 @@ var require_date = __commonJS((exports2, module2) => {
|
|
|
213566
214155
|
var style = _require.style;
|
|
213567
214156
|
var clear = _require.clear;
|
|
213568
214157
|
var figures = _require.figures;
|
|
213569
|
-
var _require2 =
|
|
214158
|
+
var _require2 = require_src2();
|
|
213570
214159
|
var erase = _require2.erase;
|
|
213571
214160
|
var cursor = _require2.cursor;
|
|
213572
214161
|
var _require3 = require_dateparts();
|
|
@@ -213789,7 +214378,7 @@ var require_number = __commonJS((exports2, module2) => {
|
|
|
213789
214378
|
}
|
|
213790
214379
|
var color = require_kleur();
|
|
213791
214380
|
var Prompt = require_prompt();
|
|
213792
|
-
var _require =
|
|
214381
|
+
var _require = require_src2();
|
|
213793
214382
|
var cursor = _require.cursor;
|
|
213794
214383
|
var erase = _require.erase;
|
|
213795
214384
|
var _require2 = require_util();
|
|
@@ -213982,7 +214571,7 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
|
|
|
213982
214571
|
// node_modules/prompts/dist/elements/multiselect.js
|
|
213983
214572
|
var require_multiselect = __commonJS((exports2, module2) => {
|
|
213984
214573
|
var color = require_kleur();
|
|
213985
|
-
var _require =
|
|
214574
|
+
var _require = require_src2();
|
|
213986
214575
|
var cursor = _require.cursor;
|
|
213987
214576
|
var Prompt = require_prompt();
|
|
213988
214577
|
var _require2 = require_util();
|
|
@@ -214248,7 +214837,7 @@ var require_autocomplete = __commonJS((exports2, module2) => {
|
|
|
214248
214837
|
}
|
|
214249
214838
|
var color = require_kleur();
|
|
214250
214839
|
var Prompt = require_prompt();
|
|
214251
|
-
var _require =
|
|
214840
|
+
var _require = require_src2();
|
|
214252
214841
|
var erase = _require.erase;
|
|
214253
214842
|
var cursor = _require.cursor;
|
|
214254
214843
|
var _require2 = require_util();
|
|
@@ -214489,7 +215078,7 @@ var require_autocomplete = __commonJS((exports2, module2) => {
|
|
|
214489
215078
|
// node_modules/prompts/dist/elements/autocompleteMultiselect.js
|
|
214490
215079
|
var require_autocompleteMultiselect = __commonJS((exports2, module2) => {
|
|
214491
215080
|
var color = require_kleur();
|
|
214492
|
-
var _require =
|
|
215081
|
+
var _require = require_src2();
|
|
214493
215082
|
var cursor = _require.cursor;
|
|
214494
215083
|
var MultiselectPrompt = require_multiselect();
|
|
214495
215084
|
var _require2 = require_util();
|
|
@@ -214655,7 +215244,7 @@ var require_confirm = __commonJS((exports2, module2) => {
|
|
|
214655
215244
|
var _require = require_util();
|
|
214656
215245
|
var style = _require.style;
|
|
214657
215246
|
var clear = _require.clear;
|
|
214658
|
-
var _require2 =
|
|
215247
|
+
var _require2 = require_src2();
|
|
214659
215248
|
var erase = _require2.erase;
|
|
214660
215249
|
var cursor = _require2.cursor;
|
|
214661
215250
|
|
|
@@ -214846,8 +215435,7 @@ var require_dist5 = __commonJS((exports2, module2) => {
|
|
|
214846
215435
|
if (it)
|
|
214847
215436
|
o = it;
|
|
214848
215437
|
var i = 0;
|
|
214849
|
-
var F = function F() {
|
|
214850
|
-
};
|
|
215438
|
+
var F = function F() {};
|
|
214851
215439
|
return { s: F, n: function n() {
|
|
214852
215440
|
if (i >= o.length)
|
|
214853
215441
|
return { done: true };
|
|
@@ -214930,8 +215518,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
214930
215518
|
}
|
|
214931
215519
|
var prompts = require_prompts();
|
|
214932
215520
|
var passOn = ["suggest", "format", "onState", "validate", "onRender", "type"];
|
|
214933
|
-
var noop = () => {
|
|
214934
|
-
};
|
|
215521
|
+
var noop = () => {};
|
|
214935
215522
|
function prompt() {
|
|
214936
215523
|
return _prompt.apply(this, arguments);
|
|
214937
215524
|
}
|
|
@@ -215103,7 +215690,7 @@ var require_strip2 = __commonJS((exports2, module2) => {
|
|
|
215103
215690
|
// node_modules/prompts/lib/util/clear.js
|
|
215104
215691
|
var require_clear2 = __commonJS((exports2, module2) => {
|
|
215105
215692
|
var strip = require_strip2();
|
|
215106
|
-
var { erase, cursor } =
|
|
215693
|
+
var { erase, cursor } = require_src2();
|
|
215107
215694
|
var width = (str) => [...strip(str)].length;
|
|
215108
215695
|
module2.exports = function(prompt, perLine) {
|
|
215109
215696
|
if (!perLine)
|
|
@@ -215240,7 +215827,7 @@ var require_prompt2 = __commonJS((exports2, module2) => {
|
|
|
215240
215827
|
var readline2 = __require("readline");
|
|
215241
215828
|
var { action } = require_util2();
|
|
215242
215829
|
var EventEmitter3 = __require("events");
|
|
215243
|
-
var { beep, cursor } =
|
|
215830
|
+
var { beep, cursor } = require_src2();
|
|
215244
215831
|
var color = require_kleur();
|
|
215245
215832
|
|
|
215246
215833
|
class Prompt extends EventEmitter3 {
|
|
@@ -215301,7 +215888,7 @@ var require_prompt2 = __commonJS((exports2, module2) => {
|
|
|
215301
215888
|
var require_text2 = __commonJS((exports2, module2) => {
|
|
215302
215889
|
var color = require_kleur();
|
|
215303
215890
|
var Prompt = require_prompt2();
|
|
215304
|
-
var { erase, cursor } =
|
|
215891
|
+
var { erase, cursor } = require_src2();
|
|
215305
215892
|
var { style, clear, lines, figures } = require_util2();
|
|
215306
215893
|
|
|
215307
215894
|
class TextPrompt extends Prompt {
|
|
@@ -215490,7 +216077,7 @@ var require_select2 = __commonJS((exports2, module2) => {
|
|
|
215490
216077
|
var color = require_kleur();
|
|
215491
216078
|
var Prompt = require_prompt2();
|
|
215492
216079
|
var { style, clear, figures, wrap, entriesToDisplay } = require_util2();
|
|
215493
|
-
var { cursor } =
|
|
216080
|
+
var { cursor } = require_src2();
|
|
215494
216081
|
|
|
215495
216082
|
class SelectPrompt extends Prompt {
|
|
215496
216083
|
constructor(opts = {}) {
|
|
@@ -215639,7 +216226,7 @@ var require_toggle2 = __commonJS((exports2, module2) => {
|
|
|
215639
216226
|
var color = require_kleur();
|
|
215640
216227
|
var Prompt = require_prompt2();
|
|
215641
216228
|
var { style, clear } = require_util2();
|
|
215642
|
-
var { cursor, erase } =
|
|
216229
|
+
var { cursor, erase } = require_src2();
|
|
215643
216230
|
|
|
215644
216231
|
class TogglePrompt extends Prompt {
|
|
215645
216232
|
constructor(opts = {}) {
|
|
@@ -215750,16 +216337,13 @@ var require_datepart2 = __commonJS((exports2, module2) => {
|
|
|
215750
216337
|
this.parts = parts || [this];
|
|
215751
216338
|
this.locales = locales || {};
|
|
215752
216339
|
}
|
|
215753
|
-
up() {
|
|
215754
|
-
}
|
|
215755
|
-
down() {
|
|
215756
|
-
}
|
|
216340
|
+
up() {}
|
|
216341
|
+
down() {}
|
|
215757
216342
|
next() {
|
|
215758
216343
|
const currentIdx = this.parts.indexOf(this);
|
|
215759
216344
|
return this.parts.find((part, idx) => idx > currentIdx && part instanceof DatePart);
|
|
215760
216345
|
}
|
|
215761
|
-
setTo(val) {
|
|
215762
|
-
}
|
|
216346
|
+
setTo(val) {}
|
|
215763
216347
|
prev() {
|
|
215764
216348
|
let parts = [].concat(this.parts).reverse();
|
|
215765
216349
|
const currentIdx = parts.indexOf(this);
|
|
@@ -215997,7 +216581,7 @@ var require_date2 = __commonJS((exports2, module2) => {
|
|
|
215997
216581
|
var color = require_kleur();
|
|
215998
216582
|
var Prompt = require_prompt2();
|
|
215999
216583
|
var { style, clear, figures } = require_util2();
|
|
216000
|
-
var { erase, cursor } =
|
|
216584
|
+
var { erase, cursor } = require_src2();
|
|
216001
216585
|
var { DatePart, Meridiem, Day, Hours, Milliseconds, Minutes, Month, Seconds, Year } = require_dateparts2();
|
|
216002
216586
|
var regex = /\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g;
|
|
216003
216587
|
var regexGroups = {
|
|
@@ -216172,7 +216756,7 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
|
|
|
216172
216756
|
var require_number2 = __commonJS((exports2, module2) => {
|
|
216173
216757
|
var color = require_kleur();
|
|
216174
216758
|
var Prompt = require_prompt2();
|
|
216175
|
-
var { cursor, erase } =
|
|
216759
|
+
var { cursor, erase } = require_src2();
|
|
216176
216760
|
var { style, figures, clear, lines } = require_util2();
|
|
216177
216761
|
var isNumber = /[0-9]/;
|
|
216178
216762
|
var isDef = (any) => any !== undefined;
|
|
@@ -216358,7 +216942,7 @@ ${i ? ` ` : figures.pointerSmall} ${color.red().italic(l)}`, ``);
|
|
|
216358
216942
|
// node_modules/prompts/lib/elements/multiselect.js
|
|
216359
216943
|
var require_multiselect2 = __commonJS((exports2, module2) => {
|
|
216360
216944
|
var color = require_kleur();
|
|
216361
|
-
var { cursor } =
|
|
216945
|
+
var { cursor } = require_src2();
|
|
216362
216946
|
var Prompt = require_prompt2();
|
|
216363
216947
|
var { clear, figures, style, wrap, entriesToDisplay } = require_util2();
|
|
216364
216948
|
|
|
@@ -216588,7 +217172,7 @@ Instructions:
|
|
|
216588
217172
|
var require_autocomplete2 = __commonJS((exports2, module2) => {
|
|
216589
217173
|
var color = require_kleur();
|
|
216590
217174
|
var Prompt = require_prompt2();
|
|
216591
|
-
var { erase, cursor } =
|
|
217175
|
+
var { erase, cursor } = require_src2();
|
|
216592
217176
|
var { style, clear, figures, wrap, entriesToDisplay } = require_util2();
|
|
216593
217177
|
var getVal = (arr, i) => arr[i] && (arr[i].value || arr[i].title || arr[i]);
|
|
216594
217178
|
var getTitle = (arr, i) => arr[i] && (arr[i].title || arr[i].value || arr[i]);
|
|
@@ -216811,7 +217395,7 @@ var require_autocomplete2 = __commonJS((exports2, module2) => {
|
|
|
216811
217395
|
// node_modules/prompts/lib/elements/autocompleteMultiselect.js
|
|
216812
217396
|
var require_autocompleteMultiselect2 = __commonJS((exports2, module2) => {
|
|
216813
217397
|
var color = require_kleur();
|
|
216814
|
-
var { cursor } =
|
|
217398
|
+
var { cursor } = require_src2();
|
|
216815
217399
|
var MultiselectPrompt = require_multiselect2();
|
|
216816
217400
|
var { clear, style, figures } = require_util2();
|
|
216817
217401
|
|
|
@@ -216976,7 +217560,7 @@ var require_confirm2 = __commonJS((exports2, module2) => {
|
|
|
216976
217560
|
var color = require_kleur();
|
|
216977
217561
|
var Prompt = require_prompt2();
|
|
216978
217562
|
var { style, clear } = require_util2();
|
|
216979
|
-
var { erase, cursor } =
|
|
217563
|
+
var { erase, cursor } = require_src2();
|
|
216980
217564
|
|
|
216981
217565
|
class ConfirmPrompt extends Prompt {
|
|
216982
217566
|
constructor(opts = {}) {
|
|
@@ -217127,8 +217711,7 @@ var require_prompts2 = __commonJS((exports2) => {
|
|
|
217127
217711
|
var require_lib = __commonJS((exports2, module2) => {
|
|
217128
217712
|
var prompts = require_prompts2();
|
|
217129
217713
|
var passOn = ["suggest", "format", "onState", "validate", "onRender", "type"];
|
|
217130
|
-
var noop = () => {
|
|
217131
|
-
};
|
|
217714
|
+
var noop = () => {};
|
|
217132
217715
|
async function prompt(questions = [], { onSubmit = noop, onCancel = noop } = {}) {
|
|
217133
217716
|
const answers = {};
|
|
217134
217717
|
const override2 = prompt._override || {};
|
|
@@ -217554,8 +218137,7 @@ function nanoid(size = 21) {
|
|
|
217554
218137
|
return id;
|
|
217555
218138
|
}
|
|
217556
218139
|
var POOL_SIZE_MULTIPLIER = 128, pool, poolOffset;
|
|
217557
|
-
var init_nanoid = () => {
|
|
217558
|
-
};
|
|
218140
|
+
var init_nanoid = () => {};
|
|
217559
218141
|
|
|
217560
218142
|
// node_modules/circuit-json/dist/index.mjs
|
|
217561
218143
|
var exports_dist = {};
|
|
@@ -217725,8 +218307,7 @@ var unitMappings, unitMappingAndVariantSuffixes, si_prefix_multiplier, parseAndC
|
|
|
217725
218307
|
};
|
|
217726
218308
|
}, resistance, capacitance, inductance, voltage, length, frequency, distance, current, time, rotation, battery_capacity, point, position, point3, position3, size, getZodPrefixedIdWithDefault = (prefix) => {
|
|
217727
218309
|
return z.string().optional().default(() => `${prefix}_${nanoid(10)}`);
|
|
217728
|
-
}, supplier_name, expectTypesMatch = (shouldBe) => {
|
|
217729
|
-
}, source_component_base, source_simple_capacitor, source_simple_resistor, source_simple_diode, source_simple_ground, source_simple_bug, source_simple_chip, source_led, source_simple_power_source, source_simple_battery, source_simple_inductor, source_simple_push_button, source_simple_potentiometer, source_simple_crystal, source_simple_pin_header, source_simple_resonator, source_simple_transistor, source_simple_mosfet, source_simple_switch, source_project_metadata, any_source_component, source_port, source_trace, source_group, source_net, schematic_box, schematic_path, schematic_pin_styles, schematic_component_port_arrangement_by_size, schematic_component_port_arrangement_by_sides, port_arrangement, schematic_component, schematic_line, schematic_trace, schematic_text, schematic_port, schematic_net_label, schematic_error, schematic_debug_object_base, schematic_debug_rect, schematic_debug_line, schematic_debug_point, schematic_debug_object, schematic_voltage_probe, all_layers, layer_string, layer_ref, visible_layer, pcb_route_hint, pcb_route_hints, route_hint_point, pcb_component, pcb_hole_circle_or_square, pcb_hole_circle_or_square_shape, pcb_hole_oval, pcb_hole_oval_shape, pcb_hole, pcb_plated_hole_circle, pcb_plated_hole_oval, pcb_circular_hole_with_rect_pad, pcb_plated_hole, pcb_port, pcb_smtpad_circle, pcb_smtpad_rect, pcb_smtpad_rotated_rect, pcb_smtpad_pill, pcb_smtpad, pcb_solder_paste_circle, pcb_solder_paste_rect, pcb_solder_paste, pcb_text, pcb_trace_route_point_wire, pcb_trace_route_point_via, pcb_trace_route_point, pcb_trace, pcb_trace_error, pcb_port_not_matched_error, pcb_via, pcb_board, pcb_placement_error, pcb_trace_hint, pcb_silkscreen_line, pcb_silkscreen_path, pcb_silkscreen_text, pcb_silkscreen_rect, pcb_silkscreen_circle, pcb_silkscreen_oval, pcb_fabrication_note_text, pcb_fabrication_note_path, pcb_keepout, pcb_missing_footprint_error, pcb_manual_edit_conflict_error, pcb_group, pcb_autorouting_error, cad_component, any_circuit_element, any_soup_element;
|
|
218310
|
+
}, supplier_name, expectTypesMatch = (shouldBe) => {}, source_component_base, source_simple_capacitor, source_simple_resistor, source_simple_diode, source_simple_ground, source_simple_bug, source_simple_chip, source_led, source_simple_power_source, source_simple_battery, source_simple_inductor, source_simple_push_button, source_simple_potentiometer, source_simple_crystal, source_simple_pin_header, source_simple_resonator, source_simple_transistor, source_simple_mosfet, source_simple_switch, source_project_metadata, any_source_component, source_port, source_trace, source_group, source_net, schematic_box, schematic_path, schematic_pin_styles, schematic_component_port_arrangement_by_size, schematic_component_port_arrangement_by_sides, port_arrangement, schematic_component, schematic_line, schematic_trace, schematic_text, schematic_port, schematic_net_label, schematic_error, schematic_debug_object_base, schematic_debug_rect, schematic_debug_line, schematic_debug_point, schematic_debug_object, schematic_voltage_probe, all_layers, layer_string, layer_ref, visible_layer, pcb_route_hint, pcb_route_hints, route_hint_point, pcb_component, pcb_hole_circle_or_square, pcb_hole_circle_or_square_shape, pcb_hole_oval, pcb_hole_oval_shape, pcb_hole, pcb_plated_hole_circle, pcb_plated_hole_oval, pcb_circular_hole_with_rect_pad, pcb_plated_hole, pcb_port, pcb_smtpad_circle, pcb_smtpad_rect, pcb_smtpad_rotated_rect, pcb_smtpad_pill, pcb_smtpad, pcb_solder_paste_circle, pcb_solder_paste_rect, pcb_solder_paste, pcb_text, pcb_trace_route_point_wire, pcb_trace_route_point_via, pcb_trace_route_point, pcb_trace, pcb_trace_error, pcb_port_not_matched_error, pcb_via, pcb_board, pcb_placement_error, pcb_trace_hint, pcb_silkscreen_line, pcb_silkscreen_path, pcb_silkscreen_text, pcb_silkscreen_rect, pcb_silkscreen_circle, pcb_silkscreen_oval, pcb_fabrication_note_text, pcb_fabrication_note_path, pcb_keepout, pcb_missing_footprint_error, pcb_manual_edit_conflict_error, pcb_group, pcb_autorouting_error, cad_component, any_circuit_element, any_soup_element;
|
|
217730
218311
|
var init_dist = __esm(() => {
|
|
217731
218312
|
init_lib();
|
|
217732
218313
|
init_lib();
|
|
@@ -218959,637 +219540,6 @@ var init_dist = __esm(() => {
|
|
|
218959
219540
|
any_soup_element = any_circuit_element;
|
|
218960
219541
|
});
|
|
218961
219542
|
|
|
218962
|
-
// node_modules/ms/index.js
|
|
218963
|
-
var require_ms = __commonJS((exports2, module2) => {
|
|
218964
|
-
var s = 1000;
|
|
218965
|
-
var m = s * 60;
|
|
218966
|
-
var h = m * 60;
|
|
218967
|
-
var d = h * 24;
|
|
218968
|
-
var w = d * 7;
|
|
218969
|
-
var y = d * 365.25;
|
|
218970
|
-
module2.exports = function(val, options) {
|
|
218971
|
-
options = options || {};
|
|
218972
|
-
var type = typeof val;
|
|
218973
|
-
if (type === "string" && val.length > 0) {
|
|
218974
|
-
return parse4(val);
|
|
218975
|
-
} else if (type === "number" && isFinite(val)) {
|
|
218976
|
-
return options.long ? fmtLong(val) : fmtShort(val);
|
|
218977
|
-
}
|
|
218978
|
-
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(val));
|
|
218979
|
-
};
|
|
218980
|
-
function parse4(str) {
|
|
218981
|
-
str = String(str);
|
|
218982
|
-
if (str.length > 100) {
|
|
218983
|
-
return;
|
|
218984
|
-
}
|
|
218985
|
-
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);
|
|
218986
|
-
if (!match) {
|
|
218987
|
-
return;
|
|
218988
|
-
}
|
|
218989
|
-
var n = parseFloat(match[1]);
|
|
218990
|
-
var type = (match[2] || "ms").toLowerCase();
|
|
218991
|
-
switch (type) {
|
|
218992
|
-
case "years":
|
|
218993
|
-
case "year":
|
|
218994
|
-
case "yrs":
|
|
218995
|
-
case "yr":
|
|
218996
|
-
case "y":
|
|
218997
|
-
return n * y;
|
|
218998
|
-
case "weeks":
|
|
218999
|
-
case "week":
|
|
219000
|
-
case "w":
|
|
219001
|
-
return n * w;
|
|
219002
|
-
case "days":
|
|
219003
|
-
case "day":
|
|
219004
|
-
case "d":
|
|
219005
|
-
return n * d;
|
|
219006
|
-
case "hours":
|
|
219007
|
-
case "hour":
|
|
219008
|
-
case "hrs":
|
|
219009
|
-
case "hr":
|
|
219010
|
-
case "h":
|
|
219011
|
-
return n * h;
|
|
219012
|
-
case "minutes":
|
|
219013
|
-
case "minute":
|
|
219014
|
-
case "mins":
|
|
219015
|
-
case "min":
|
|
219016
|
-
case "m":
|
|
219017
|
-
return n * m;
|
|
219018
|
-
case "seconds":
|
|
219019
|
-
case "second":
|
|
219020
|
-
case "secs":
|
|
219021
|
-
case "sec":
|
|
219022
|
-
case "s":
|
|
219023
|
-
return n * s;
|
|
219024
|
-
case "milliseconds":
|
|
219025
|
-
case "millisecond":
|
|
219026
|
-
case "msecs":
|
|
219027
|
-
case "msec":
|
|
219028
|
-
case "ms":
|
|
219029
|
-
return n;
|
|
219030
|
-
default:
|
|
219031
|
-
return;
|
|
219032
|
-
}
|
|
219033
|
-
}
|
|
219034
|
-
function fmtShort(ms) {
|
|
219035
|
-
var msAbs = Math.abs(ms);
|
|
219036
|
-
if (msAbs >= d) {
|
|
219037
|
-
return Math.round(ms / d) + "d";
|
|
219038
|
-
}
|
|
219039
|
-
if (msAbs >= h) {
|
|
219040
|
-
return Math.round(ms / h) + "h";
|
|
219041
|
-
}
|
|
219042
|
-
if (msAbs >= m) {
|
|
219043
|
-
return Math.round(ms / m) + "m";
|
|
219044
|
-
}
|
|
219045
|
-
if (msAbs >= s) {
|
|
219046
|
-
return Math.round(ms / s) + "s";
|
|
219047
|
-
}
|
|
219048
|
-
return ms + "ms";
|
|
219049
|
-
}
|
|
219050
|
-
function fmtLong(ms) {
|
|
219051
|
-
var msAbs = Math.abs(ms);
|
|
219052
|
-
if (msAbs >= d) {
|
|
219053
|
-
return plural(ms, msAbs, d, "day");
|
|
219054
|
-
}
|
|
219055
|
-
if (msAbs >= h) {
|
|
219056
|
-
return plural(ms, msAbs, h, "hour");
|
|
219057
|
-
}
|
|
219058
|
-
if (msAbs >= m) {
|
|
219059
|
-
return plural(ms, msAbs, m, "minute");
|
|
219060
|
-
}
|
|
219061
|
-
if (msAbs >= s) {
|
|
219062
|
-
return plural(ms, msAbs, s, "second");
|
|
219063
|
-
}
|
|
219064
|
-
return ms + " ms";
|
|
219065
|
-
}
|
|
219066
|
-
function plural(ms, msAbs, n, name) {
|
|
219067
|
-
var isPlural = msAbs >= n * 1.5;
|
|
219068
|
-
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
|
219069
|
-
}
|
|
219070
|
-
});
|
|
219071
|
-
|
|
219072
|
-
// node_modules/debug/src/common.js
|
|
219073
|
-
var require_common = __commonJS((exports2, module2) => {
|
|
219074
|
-
function setup(env2) {
|
|
219075
|
-
createDebug.debug = createDebug;
|
|
219076
|
-
createDebug.default = createDebug;
|
|
219077
|
-
createDebug.coerce = coerce2;
|
|
219078
|
-
createDebug.disable = disable;
|
|
219079
|
-
createDebug.enable = enable;
|
|
219080
|
-
createDebug.enabled = enabled;
|
|
219081
|
-
createDebug.humanize = require_ms();
|
|
219082
|
-
createDebug.destroy = destroy;
|
|
219083
|
-
Object.keys(env2).forEach((key) => {
|
|
219084
|
-
createDebug[key] = env2[key];
|
|
219085
|
-
});
|
|
219086
|
-
createDebug.names = [];
|
|
219087
|
-
createDebug.skips = [];
|
|
219088
|
-
createDebug.formatters = {};
|
|
219089
|
-
function selectColor(namespace) {
|
|
219090
|
-
let hash = 0;
|
|
219091
|
-
for (let i = 0;i < namespace.length; i++) {
|
|
219092
|
-
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
219093
|
-
hash |= 0;
|
|
219094
|
-
}
|
|
219095
|
-
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
219096
|
-
}
|
|
219097
|
-
createDebug.selectColor = selectColor;
|
|
219098
|
-
function createDebug(namespace) {
|
|
219099
|
-
let prevTime;
|
|
219100
|
-
let enableOverride = null;
|
|
219101
|
-
let namespacesCache;
|
|
219102
|
-
let enabledCache;
|
|
219103
|
-
function debug(...args) {
|
|
219104
|
-
if (!debug.enabled) {
|
|
219105
|
-
return;
|
|
219106
|
-
}
|
|
219107
|
-
const self2 = debug;
|
|
219108
|
-
const curr = Number(new Date);
|
|
219109
|
-
const ms = curr - (prevTime || curr);
|
|
219110
|
-
self2.diff = ms;
|
|
219111
|
-
self2.prev = prevTime;
|
|
219112
|
-
self2.curr = curr;
|
|
219113
|
-
prevTime = curr;
|
|
219114
|
-
args[0] = createDebug.coerce(args[0]);
|
|
219115
|
-
if (typeof args[0] !== "string") {
|
|
219116
|
-
args.unshift("%O");
|
|
219117
|
-
}
|
|
219118
|
-
let index = 0;
|
|
219119
|
-
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
219120
|
-
if (match === "%%") {
|
|
219121
|
-
return "%";
|
|
219122
|
-
}
|
|
219123
|
-
index++;
|
|
219124
|
-
const formatter = createDebug.formatters[format];
|
|
219125
|
-
if (typeof formatter === "function") {
|
|
219126
|
-
const val = args[index];
|
|
219127
|
-
match = formatter.call(self2, val);
|
|
219128
|
-
args.splice(index, 1);
|
|
219129
|
-
index--;
|
|
219130
|
-
}
|
|
219131
|
-
return match;
|
|
219132
|
-
});
|
|
219133
|
-
createDebug.formatArgs.call(self2, args);
|
|
219134
|
-
const logFn = self2.log || createDebug.log;
|
|
219135
|
-
logFn.apply(self2, args);
|
|
219136
|
-
}
|
|
219137
|
-
debug.namespace = namespace;
|
|
219138
|
-
debug.useColors = createDebug.useColors();
|
|
219139
|
-
debug.color = createDebug.selectColor(namespace);
|
|
219140
|
-
debug.extend = extend;
|
|
219141
|
-
debug.destroy = createDebug.destroy;
|
|
219142
|
-
Object.defineProperty(debug, "enabled", {
|
|
219143
|
-
enumerable: true,
|
|
219144
|
-
configurable: false,
|
|
219145
|
-
get: () => {
|
|
219146
|
-
if (enableOverride !== null) {
|
|
219147
|
-
return enableOverride;
|
|
219148
|
-
}
|
|
219149
|
-
if (namespacesCache !== createDebug.namespaces) {
|
|
219150
|
-
namespacesCache = createDebug.namespaces;
|
|
219151
|
-
enabledCache = createDebug.enabled(namespace);
|
|
219152
|
-
}
|
|
219153
|
-
return enabledCache;
|
|
219154
|
-
},
|
|
219155
|
-
set: (v) => {
|
|
219156
|
-
enableOverride = v;
|
|
219157
|
-
}
|
|
219158
|
-
});
|
|
219159
|
-
if (typeof createDebug.init === "function") {
|
|
219160
|
-
createDebug.init(debug);
|
|
219161
|
-
}
|
|
219162
|
-
return debug;
|
|
219163
|
-
}
|
|
219164
|
-
function extend(namespace, delimiter) {
|
|
219165
|
-
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
219166
|
-
newDebug.log = this.log;
|
|
219167
|
-
return newDebug;
|
|
219168
|
-
}
|
|
219169
|
-
function enable(namespaces) {
|
|
219170
|
-
createDebug.save(namespaces);
|
|
219171
|
-
createDebug.namespaces = namespaces;
|
|
219172
|
-
createDebug.names = [];
|
|
219173
|
-
createDebug.skips = [];
|
|
219174
|
-
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
|
|
219175
|
-
for (const ns of split) {
|
|
219176
|
-
if (ns[0] === "-") {
|
|
219177
|
-
createDebug.skips.push(ns.slice(1));
|
|
219178
|
-
} else {
|
|
219179
|
-
createDebug.names.push(ns);
|
|
219180
|
-
}
|
|
219181
|
-
}
|
|
219182
|
-
}
|
|
219183
|
-
function matchesTemplate(search, template) {
|
|
219184
|
-
let searchIndex = 0;
|
|
219185
|
-
let templateIndex = 0;
|
|
219186
|
-
let starIndex = -1;
|
|
219187
|
-
let matchIndex = 0;
|
|
219188
|
-
while (searchIndex < search.length) {
|
|
219189
|
-
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
|
|
219190
|
-
if (template[templateIndex] === "*") {
|
|
219191
|
-
starIndex = templateIndex;
|
|
219192
|
-
matchIndex = searchIndex;
|
|
219193
|
-
templateIndex++;
|
|
219194
|
-
} else {
|
|
219195
|
-
searchIndex++;
|
|
219196
|
-
templateIndex++;
|
|
219197
|
-
}
|
|
219198
|
-
} else if (starIndex !== -1) {
|
|
219199
|
-
templateIndex = starIndex + 1;
|
|
219200
|
-
matchIndex++;
|
|
219201
|
-
searchIndex = matchIndex;
|
|
219202
|
-
} else {
|
|
219203
|
-
return false;
|
|
219204
|
-
}
|
|
219205
|
-
}
|
|
219206
|
-
while (templateIndex < template.length && template[templateIndex] === "*") {
|
|
219207
|
-
templateIndex++;
|
|
219208
|
-
}
|
|
219209
|
-
return templateIndex === template.length;
|
|
219210
|
-
}
|
|
219211
|
-
function disable() {
|
|
219212
|
-
const namespaces = [
|
|
219213
|
-
...createDebug.names,
|
|
219214
|
-
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
219215
|
-
].join(",");
|
|
219216
|
-
createDebug.enable("");
|
|
219217
|
-
return namespaces;
|
|
219218
|
-
}
|
|
219219
|
-
function enabled(name) {
|
|
219220
|
-
for (const skip of createDebug.skips) {
|
|
219221
|
-
if (matchesTemplate(name, skip)) {
|
|
219222
|
-
return false;
|
|
219223
|
-
}
|
|
219224
|
-
}
|
|
219225
|
-
for (const ns of createDebug.names) {
|
|
219226
|
-
if (matchesTemplate(name, ns)) {
|
|
219227
|
-
return true;
|
|
219228
|
-
}
|
|
219229
|
-
}
|
|
219230
|
-
return false;
|
|
219231
|
-
}
|
|
219232
|
-
function coerce2(val) {
|
|
219233
|
-
if (val instanceof Error) {
|
|
219234
|
-
return val.stack || val.message;
|
|
219235
|
-
}
|
|
219236
|
-
return val;
|
|
219237
|
-
}
|
|
219238
|
-
function destroy() {
|
|
219239
|
-
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
219240
|
-
}
|
|
219241
|
-
createDebug.enable(createDebug.load());
|
|
219242
|
-
return createDebug;
|
|
219243
|
-
}
|
|
219244
|
-
module2.exports = setup;
|
|
219245
|
-
});
|
|
219246
|
-
|
|
219247
|
-
// node_modules/debug/src/browser.js
|
|
219248
|
-
var require_browser = __commonJS((exports2, module2) => {
|
|
219249
|
-
exports2.formatArgs = formatArgs;
|
|
219250
|
-
exports2.save = save;
|
|
219251
|
-
exports2.load = load2;
|
|
219252
|
-
exports2.useColors = useColors;
|
|
219253
|
-
exports2.storage = localstorage();
|
|
219254
|
-
exports2.destroy = (() => {
|
|
219255
|
-
let warned = false;
|
|
219256
|
-
return () => {
|
|
219257
|
-
if (!warned) {
|
|
219258
|
-
warned = true;
|
|
219259
|
-
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
219260
|
-
}
|
|
219261
|
-
};
|
|
219262
|
-
})();
|
|
219263
|
-
exports2.colors = [
|
|
219264
|
-
"#0000CC",
|
|
219265
|
-
"#0000FF",
|
|
219266
|
-
"#0033CC",
|
|
219267
|
-
"#0033FF",
|
|
219268
|
-
"#0066CC",
|
|
219269
|
-
"#0066FF",
|
|
219270
|
-
"#0099CC",
|
|
219271
|
-
"#0099FF",
|
|
219272
|
-
"#00CC00",
|
|
219273
|
-
"#00CC33",
|
|
219274
|
-
"#00CC66",
|
|
219275
|
-
"#00CC99",
|
|
219276
|
-
"#00CCCC",
|
|
219277
|
-
"#00CCFF",
|
|
219278
|
-
"#3300CC",
|
|
219279
|
-
"#3300FF",
|
|
219280
|
-
"#3333CC",
|
|
219281
|
-
"#3333FF",
|
|
219282
|
-
"#3366CC",
|
|
219283
|
-
"#3366FF",
|
|
219284
|
-
"#3399CC",
|
|
219285
|
-
"#3399FF",
|
|
219286
|
-
"#33CC00",
|
|
219287
|
-
"#33CC33",
|
|
219288
|
-
"#33CC66",
|
|
219289
|
-
"#33CC99",
|
|
219290
|
-
"#33CCCC",
|
|
219291
|
-
"#33CCFF",
|
|
219292
|
-
"#6600CC",
|
|
219293
|
-
"#6600FF",
|
|
219294
|
-
"#6633CC",
|
|
219295
|
-
"#6633FF",
|
|
219296
|
-
"#66CC00",
|
|
219297
|
-
"#66CC33",
|
|
219298
|
-
"#9900CC",
|
|
219299
|
-
"#9900FF",
|
|
219300
|
-
"#9933CC",
|
|
219301
|
-
"#9933FF",
|
|
219302
|
-
"#99CC00",
|
|
219303
|
-
"#99CC33",
|
|
219304
|
-
"#CC0000",
|
|
219305
|
-
"#CC0033",
|
|
219306
|
-
"#CC0066",
|
|
219307
|
-
"#CC0099",
|
|
219308
|
-
"#CC00CC",
|
|
219309
|
-
"#CC00FF",
|
|
219310
|
-
"#CC3300",
|
|
219311
|
-
"#CC3333",
|
|
219312
|
-
"#CC3366",
|
|
219313
|
-
"#CC3399",
|
|
219314
|
-
"#CC33CC",
|
|
219315
|
-
"#CC33FF",
|
|
219316
|
-
"#CC6600",
|
|
219317
|
-
"#CC6633",
|
|
219318
|
-
"#CC9900",
|
|
219319
|
-
"#CC9933",
|
|
219320
|
-
"#CCCC00",
|
|
219321
|
-
"#CCCC33",
|
|
219322
|
-
"#FF0000",
|
|
219323
|
-
"#FF0033",
|
|
219324
|
-
"#FF0066",
|
|
219325
|
-
"#FF0099",
|
|
219326
|
-
"#FF00CC",
|
|
219327
|
-
"#FF00FF",
|
|
219328
|
-
"#FF3300",
|
|
219329
|
-
"#FF3333",
|
|
219330
|
-
"#FF3366",
|
|
219331
|
-
"#FF3399",
|
|
219332
|
-
"#FF33CC",
|
|
219333
|
-
"#FF33FF",
|
|
219334
|
-
"#FF6600",
|
|
219335
|
-
"#FF6633",
|
|
219336
|
-
"#FF9900",
|
|
219337
|
-
"#FF9933",
|
|
219338
|
-
"#FFCC00",
|
|
219339
|
-
"#FFCC33"
|
|
219340
|
-
];
|
|
219341
|
-
function useColors() {
|
|
219342
|
-
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
219343
|
-
return true;
|
|
219344
|
-
}
|
|
219345
|
-
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
219346
|
-
return false;
|
|
219347
|
-
}
|
|
219348
|
-
let m;
|
|
219349
|
-
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
219350
|
-
}
|
|
219351
|
-
function formatArgs(args) {
|
|
219352
|
-
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
219353
|
-
if (!this.useColors) {
|
|
219354
|
-
return;
|
|
219355
|
-
}
|
|
219356
|
-
const c = "color: " + this.color;
|
|
219357
|
-
args.splice(1, 0, c, "color: inherit");
|
|
219358
|
-
let index = 0;
|
|
219359
|
-
let lastC = 0;
|
|
219360
|
-
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
219361
|
-
if (match === "%%") {
|
|
219362
|
-
return;
|
|
219363
|
-
}
|
|
219364
|
-
index++;
|
|
219365
|
-
if (match === "%c") {
|
|
219366
|
-
lastC = index;
|
|
219367
|
-
}
|
|
219368
|
-
});
|
|
219369
|
-
args.splice(lastC, 0, c);
|
|
219370
|
-
}
|
|
219371
|
-
exports2.log = console.debug || console.log || (() => {
|
|
219372
|
-
});
|
|
219373
|
-
function save(namespaces) {
|
|
219374
|
-
try {
|
|
219375
|
-
if (namespaces) {
|
|
219376
|
-
exports2.storage.setItem("debug", namespaces);
|
|
219377
|
-
} else {
|
|
219378
|
-
exports2.storage.removeItem("debug");
|
|
219379
|
-
}
|
|
219380
|
-
} catch (error) {
|
|
219381
|
-
}
|
|
219382
|
-
}
|
|
219383
|
-
function load2() {
|
|
219384
|
-
let r;
|
|
219385
|
-
try {
|
|
219386
|
-
r = exports2.storage.getItem("debug");
|
|
219387
|
-
} catch (error) {
|
|
219388
|
-
}
|
|
219389
|
-
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
219390
|
-
r = process.env.DEBUG;
|
|
219391
|
-
}
|
|
219392
|
-
return r;
|
|
219393
|
-
}
|
|
219394
|
-
function localstorage() {
|
|
219395
|
-
try {
|
|
219396
|
-
return localStorage;
|
|
219397
|
-
} catch (error) {
|
|
219398
|
-
}
|
|
219399
|
-
}
|
|
219400
|
-
module2.exports = require_common()(exports2);
|
|
219401
|
-
var { formatters } = module2.exports;
|
|
219402
|
-
formatters.j = function(v) {
|
|
219403
|
-
try {
|
|
219404
|
-
return JSON.stringify(v);
|
|
219405
|
-
} catch (error) {
|
|
219406
|
-
return "[UnexpectedJSONParseError]: " + error.message;
|
|
219407
|
-
}
|
|
219408
|
-
};
|
|
219409
|
-
});
|
|
219410
|
-
|
|
219411
|
-
// node_modules/debug/src/node.js
|
|
219412
|
-
var require_node = __commonJS((exports2, module2) => {
|
|
219413
|
-
var tty = __require("tty");
|
|
219414
|
-
var util2 = __require("util");
|
|
219415
|
-
exports2.init = init;
|
|
219416
|
-
exports2.log = log;
|
|
219417
|
-
exports2.formatArgs = formatArgs;
|
|
219418
|
-
exports2.save = save;
|
|
219419
|
-
exports2.load = load2;
|
|
219420
|
-
exports2.useColors = useColors;
|
|
219421
|
-
exports2.destroy = util2.deprecate(() => {
|
|
219422
|
-
}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
219423
|
-
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
219424
|
-
try {
|
|
219425
|
-
const supportsColor = (()=>{throw new Error("Cannot require module "+"supports-color");})();
|
|
219426
|
-
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
219427
|
-
exports2.colors = [
|
|
219428
|
-
20,
|
|
219429
|
-
21,
|
|
219430
|
-
26,
|
|
219431
|
-
27,
|
|
219432
|
-
32,
|
|
219433
|
-
33,
|
|
219434
|
-
38,
|
|
219435
|
-
39,
|
|
219436
|
-
40,
|
|
219437
|
-
41,
|
|
219438
|
-
42,
|
|
219439
|
-
43,
|
|
219440
|
-
44,
|
|
219441
|
-
45,
|
|
219442
|
-
56,
|
|
219443
|
-
57,
|
|
219444
|
-
62,
|
|
219445
|
-
63,
|
|
219446
|
-
68,
|
|
219447
|
-
69,
|
|
219448
|
-
74,
|
|
219449
|
-
75,
|
|
219450
|
-
76,
|
|
219451
|
-
77,
|
|
219452
|
-
78,
|
|
219453
|
-
79,
|
|
219454
|
-
80,
|
|
219455
|
-
81,
|
|
219456
|
-
92,
|
|
219457
|
-
93,
|
|
219458
|
-
98,
|
|
219459
|
-
99,
|
|
219460
|
-
112,
|
|
219461
|
-
113,
|
|
219462
|
-
128,
|
|
219463
|
-
129,
|
|
219464
|
-
134,
|
|
219465
|
-
135,
|
|
219466
|
-
148,
|
|
219467
|
-
149,
|
|
219468
|
-
160,
|
|
219469
|
-
161,
|
|
219470
|
-
162,
|
|
219471
|
-
163,
|
|
219472
|
-
164,
|
|
219473
|
-
165,
|
|
219474
|
-
166,
|
|
219475
|
-
167,
|
|
219476
|
-
168,
|
|
219477
|
-
169,
|
|
219478
|
-
170,
|
|
219479
|
-
171,
|
|
219480
|
-
172,
|
|
219481
|
-
173,
|
|
219482
|
-
178,
|
|
219483
|
-
179,
|
|
219484
|
-
184,
|
|
219485
|
-
185,
|
|
219486
|
-
196,
|
|
219487
|
-
197,
|
|
219488
|
-
198,
|
|
219489
|
-
199,
|
|
219490
|
-
200,
|
|
219491
|
-
201,
|
|
219492
|
-
202,
|
|
219493
|
-
203,
|
|
219494
|
-
204,
|
|
219495
|
-
205,
|
|
219496
|
-
206,
|
|
219497
|
-
207,
|
|
219498
|
-
208,
|
|
219499
|
-
209,
|
|
219500
|
-
214,
|
|
219501
|
-
215,
|
|
219502
|
-
220,
|
|
219503
|
-
221
|
|
219504
|
-
];
|
|
219505
|
-
}
|
|
219506
|
-
} catch (error) {
|
|
219507
|
-
}
|
|
219508
|
-
exports2.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
219509
|
-
return /^debug_/i.test(key);
|
|
219510
|
-
}).reduce((obj, key) => {
|
|
219511
|
-
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
219512
|
-
return k.toUpperCase();
|
|
219513
|
-
});
|
|
219514
|
-
let val = process.env[key];
|
|
219515
|
-
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
219516
|
-
val = true;
|
|
219517
|
-
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
219518
|
-
val = false;
|
|
219519
|
-
} else if (val === "null") {
|
|
219520
|
-
val = null;
|
|
219521
|
-
} else {
|
|
219522
|
-
val = Number(val);
|
|
219523
|
-
}
|
|
219524
|
-
obj[prop] = val;
|
|
219525
|
-
return obj;
|
|
219526
|
-
}, {});
|
|
219527
|
-
function useColors() {
|
|
219528
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
219529
|
-
}
|
|
219530
|
-
function formatArgs(args) {
|
|
219531
|
-
const { namespace: name, useColors: useColors2 } = this;
|
|
219532
|
-
if (useColors2) {
|
|
219533
|
-
const c = this.color;
|
|
219534
|
-
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
219535
|
-
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
219536
|
-
args[0] = prefix + args[0].split(`
|
|
219537
|
-
`).join(`
|
|
219538
|
-
` + prefix);
|
|
219539
|
-
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
219540
|
-
} else {
|
|
219541
|
-
args[0] = getDate() + name + " " + args[0];
|
|
219542
|
-
}
|
|
219543
|
-
}
|
|
219544
|
-
function getDate() {
|
|
219545
|
-
if (exports2.inspectOpts.hideDate) {
|
|
219546
|
-
return "";
|
|
219547
|
-
}
|
|
219548
|
-
return new Date().toISOString() + " ";
|
|
219549
|
-
}
|
|
219550
|
-
function log(...args) {
|
|
219551
|
-
return process.stderr.write(util2.formatWithOptions(exports2.inspectOpts, ...args) + `
|
|
219552
|
-
`);
|
|
219553
|
-
}
|
|
219554
|
-
function save(namespaces) {
|
|
219555
|
-
if (namespaces) {
|
|
219556
|
-
process.env.DEBUG = namespaces;
|
|
219557
|
-
} else {
|
|
219558
|
-
delete process.env.DEBUG;
|
|
219559
|
-
}
|
|
219560
|
-
}
|
|
219561
|
-
function load2() {
|
|
219562
|
-
return process.env.DEBUG;
|
|
219563
|
-
}
|
|
219564
|
-
function init(debug) {
|
|
219565
|
-
debug.inspectOpts = {};
|
|
219566
|
-
const keys = Object.keys(exports2.inspectOpts);
|
|
219567
|
-
for (let i = 0;i < keys.length; i++) {
|
|
219568
|
-
debug.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
|
|
219569
|
-
}
|
|
219570
|
-
}
|
|
219571
|
-
module2.exports = require_common()(exports2);
|
|
219572
|
-
var { formatters } = module2.exports;
|
|
219573
|
-
formatters.o = function(v) {
|
|
219574
|
-
this.inspectOpts.colors = this.useColors;
|
|
219575
|
-
return util2.inspect(v, this.inspectOpts).split(`
|
|
219576
|
-
`).map((str) => str.trim()).join(" ");
|
|
219577
|
-
};
|
|
219578
|
-
formatters.O = function(v) {
|
|
219579
|
-
this.inspectOpts.colors = this.useColors;
|
|
219580
|
-
return util2.inspect(v, this.inspectOpts);
|
|
219581
|
-
};
|
|
219582
|
-
});
|
|
219583
|
-
|
|
219584
|
-
// node_modules/debug/src/index.js
|
|
219585
|
-
var require_src2 = __commonJS((exports2, module2) => {
|
|
219586
|
-
if (typeof process === "undefined" || process.type === "renderer" || false || process.__nwjs) {
|
|
219587
|
-
module2.exports = require_browser();
|
|
219588
|
-
} else {
|
|
219589
|
-
module2.exports = require_node();
|
|
219590
|
-
}
|
|
219591
|
-
});
|
|
219592
|
-
|
|
219593
219543
|
// node_modules/react/cjs/react.development.js
|
|
219594
219544
|
var require_react_development = __commonJS((exports2, module2) => {
|
|
219595
219545
|
if (true) {
|
|
@@ -219779,8 +219729,7 @@ var require_react_development = __commonJS((exports2, module2) => {
|
|
|
219779
219729
|
}
|
|
219780
219730
|
}
|
|
219781
219731
|
}
|
|
219782
|
-
function ComponentDummy() {
|
|
219783
|
-
}
|
|
219732
|
+
function ComponentDummy() {}
|
|
219784
219733
|
ComponentDummy.prototype = Component.prototype;
|
|
219785
219734
|
function PureComponent(props, context, updater) {
|
|
219786
219735
|
this.props = props;
|
|
@@ -220641,8 +220590,7 @@ Your code should look like:
|
|
|
220641
220590
|
var prevGroup;
|
|
220642
220591
|
var prevGroupCollapsed;
|
|
220643
220592
|
var prevGroupEnd;
|
|
220644
|
-
function disabledLog() {
|
|
220645
|
-
}
|
|
220593
|
+
function disabledLog() {}
|
|
220646
220594
|
disabledLog.__reactDisabledLog = true;
|
|
220647
220595
|
function disableLogs() {
|
|
220648
220596
|
{
|
|
@@ -220878,8 +220826,7 @@ Your code should look like:
|
|
|
220878
220826
|
var init = lazyComponent._init;
|
|
220879
220827
|
try {
|
|
220880
220828
|
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
|
220881
|
-
} catch (x) {
|
|
220882
|
-
}
|
|
220829
|
+
} catch (x) {}
|
|
220883
220830
|
}
|
|
220884
220831
|
}
|
|
220885
220832
|
}
|
|
@@ -221250,8 +221197,7 @@ Check the top-level render call using <` + parentName + ">.";
|
|
|
221250
221197
|
};
|
|
221251
221198
|
{
|
|
221252
221199
|
if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
|
|
221253
|
-
Promise.resolve().then(function() {
|
|
221254
|
-
}).then(function() {
|
|
221200
|
+
Promise.resolve().then(function() {}).then(function() {
|
|
221255
221201
|
if (!wasAwaited) {
|
|
221256
221202
|
didWarnNoAwaitAct = true;
|
|
221257
221203
|
error("You called act(async () => ...) without await. " + "This could lead to unexpected testing behaviour, " + "interleaving multiple act calls and mixing their " + "scopes. " + "You should - await act(async () => ...);");
|
|
@@ -221400,8 +221346,7 @@ Check the top-level render call using <` + parentName + ">.";
|
|
|
221400
221346
|
// node_modules/react/index.js
|
|
221401
221347
|
var require_react = __commonJS((exports2, module2) => {
|
|
221402
221348
|
var react_development = __toESM2(require_react_development(), 1);
|
|
221403
|
-
if (false) {
|
|
221404
|
-
} else {
|
|
221349
|
+
if (false) {} else {
|
|
221405
221350
|
module2.exports = react_development;
|
|
221406
221351
|
}
|
|
221407
221352
|
});
|
|
@@ -221599,10 +221544,8 @@ var require_scheduler_development = __commonJS((exports2) => {
|
|
|
221599
221544
|
currentPriorityLevel = previousPriorityLevel;
|
|
221600
221545
|
}
|
|
221601
221546
|
};
|
|
221602
|
-
exports2.unstable_pauseExecution = function() {
|
|
221603
|
-
};
|
|
221604
|
-
exports2.unstable_requestPaint = function() {
|
|
221605
|
-
};
|
|
221547
|
+
exports2.unstable_pauseExecution = function() {};
|
|
221548
|
+
exports2.unstable_requestPaint = function() {};
|
|
221606
221549
|
exports2.unstable_runWithPriority = function(priorityLevel, eventHandler) {
|
|
221607
221550
|
switch (priorityLevel) {
|
|
221608
221551
|
case 1:
|
|
@@ -221673,8 +221616,7 @@ var require_scheduler_development = __commonJS((exports2) => {
|
|
|
221673
221616
|
// node_modules/scheduler/index.js
|
|
221674
221617
|
var require_scheduler = __commonJS((exports2, module2) => {
|
|
221675
221618
|
var scheduler_development = __toESM2(require_scheduler_development(), 1);
|
|
221676
|
-
if (false) {
|
|
221677
|
-
} else {
|
|
221619
|
+
if (false) {} else {
|
|
221678
221620
|
module2.exports = scheduler_development;
|
|
221679
221621
|
}
|
|
221680
221622
|
});
|
|
@@ -221750,10 +221692,8 @@ var require_react_reconciler_development = __commonJS((exports2, module2) => {
|
|
|
221750
221692
|
function warnInvalidContextAccess() {
|
|
221751
221693
|
console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
|
|
221752
221694
|
}
|
|
221753
|
-
function noop() {
|
|
221754
|
-
}
|
|
221755
|
-
function warnForMissingKey() {
|
|
221756
|
-
}
|
|
221695
|
+
function noop() {}
|
|
221696
|
+
function warnForMissingKey() {}
|
|
221757
221697
|
function setToSortedString(set) {
|
|
221758
221698
|
var array = [];
|
|
221759
221699
|
set.forEach(function(value2) {
|
|
@@ -221806,8 +221746,7 @@ var require_react_reconciler_development = __commonJS((exports2, module2) => {
|
|
|
221806
221746
|
type = type._init;
|
|
221807
221747
|
try {
|
|
221808
221748
|
return getComponentNameFromType(type(innerType));
|
|
221809
|
-
} catch (x) {
|
|
221810
|
-
}
|
|
221749
|
+
} catch (x) {}
|
|
221811
221750
|
}
|
|
221812
221751
|
return null;
|
|
221813
221752
|
}
|
|
@@ -221873,8 +221812,7 @@ var require_react_reconciler_development = __commonJS((exports2, module2) => {
|
|
|
221873
221812
|
}
|
|
221874
221813
|
return null;
|
|
221875
221814
|
}
|
|
221876
|
-
function disabledLog() {
|
|
221877
|
-
}
|
|
221815
|
+
function disabledLog() {}
|
|
221878
221816
|
function disableLogs() {
|
|
221879
221817
|
if (disabledDepth === 0) {
|
|
221880
221818
|
prevLog = console.log;
|
|
@@ -221978,8 +221916,7 @@ var require_react_reconciler_development = __commonJS((exports2, module2) => {
|
|
|
221978
221916
|
} catch (x$1) {
|
|
221979
221917
|
control = x$1;
|
|
221980
221918
|
}
|
|
221981
|
-
(Fake = fn()) && typeof Fake.catch === "function" && Fake.catch(function() {
|
|
221982
|
-
});
|
|
221919
|
+
(Fake = fn()) && typeof Fake.catch === "function" && Fake.catch(function() {});
|
|
221983
221920
|
}
|
|
221984
221921
|
} catch (sample) {
|
|
221985
221922
|
if (sample && control && typeof sample.stack === "string")
|
|
@@ -223500,8 +223437,7 @@ Please update the following component: %s`, componentName2);
|
|
|
223500
223437
|
thenable = thenable.status;
|
|
223501
223438
|
return thenable === "fulfilled" || thenable === "rejected";
|
|
223502
223439
|
}
|
|
223503
|
-
function noop$1() {
|
|
223504
|
-
}
|
|
223440
|
+
function noop$1() {}
|
|
223505
223441
|
function trackUsedThenable(thenableState2, thenable, index) {
|
|
223506
223442
|
ReactSharedInternals.actQueue !== null && (ReactSharedInternals.didUsePromise = true);
|
|
223507
223443
|
var trackedThenables = thenableState2.thenables;
|
|
@@ -224865,8 +224801,7 @@ Incoming: %s`, currentHookNameInDev, "[" + prevDeps.join(", ") + "]", "[" + next
|
|
|
224865
224801
|
} else
|
|
224866
224802
|
dispatchSetStateInternal(fiber, queue, finishedState, requestUpdateLane(fiber));
|
|
224867
224803
|
} catch (error) {
|
|
224868
|
-
dispatchSetStateInternal(fiber, queue, { then: function() {
|
|
224869
|
-
}, status: "rejected", reason: error }, requestUpdateLane(fiber));
|
|
224804
|
+
dispatchSetStateInternal(fiber, queue, { then: function() {}, status: "rejected", reason: error }, requestUpdateLane(fiber));
|
|
224870
224805
|
} finally {
|
|
224871
224806
|
setCurrentUpdatePriority(previousPriority), ReactSharedInternals.T = prevTransition, prevTransition === null && currentTransition._updatedFibers && (fiber = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < fiber && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."));
|
|
224872
224807
|
}
|
|
@@ -225006,8 +224941,7 @@ Incoming: %s`, currentHookNameInDev, "[" + prevDeps.join(", ") + "]", "[" + next
|
|
|
225006
224941
|
update.eagerState = eagerState;
|
|
225007
224942
|
if (objectIs(eagerState, currentState))
|
|
225008
224943
|
return enqueueUpdate$1(fiber, queue, update, 0), workInProgressRoot === null && finishQueueingConcurrentUpdates(), false;
|
|
225009
|
-
} catch (error) {
|
|
225010
|
-
} finally {
|
|
224944
|
+
} catch (error) {} finally {
|
|
225011
224945
|
ReactSharedInternals.H = prevDispatcher;
|
|
225012
224946
|
}
|
|
225013
224947
|
}
|
|
@@ -229218,16 +229152,11 @@ Check the render method of %s.`, getComponentNameFromFiber(current2) || "Unknown
|
|
|
229218
229152
|
var didWarnUpdateInsideUpdate = false;
|
|
229219
229153
|
var currentlyProcessingQueue = null;
|
|
229220
229154
|
var didReadFromEntangledAsyncAction = false, hasOwnProperty2 = Object.prototype.hasOwnProperty, ReactStrictModeWarnings = {
|
|
229221
|
-
recordUnsafeLifecycleWarnings: function() {
|
|
229222
|
-
},
|
|
229223
|
-
|
|
229224
|
-
},
|
|
229225
|
-
|
|
229226
|
-
},
|
|
229227
|
-
flushLegacyContextWarning: function() {
|
|
229228
|
-
},
|
|
229229
|
-
discardPendingWarnings: function() {
|
|
229230
|
-
}
|
|
229155
|
+
recordUnsafeLifecycleWarnings: function() {},
|
|
229156
|
+
flushPendingUnsafeLifecycleWarnings: function() {},
|
|
229157
|
+
recordLegacyContextWarning: function() {},
|
|
229158
|
+
flushLegacyContextWarning: function() {},
|
|
229159
|
+
discardPendingWarnings: function() {}
|
|
229231
229160
|
}, pendingComponentWillMountWarnings = [], pendingUNSAFE_ComponentWillMountWarnings = [], pendingComponentWillReceivePropsWarnings = [], pendingUNSAFE_ComponentWillReceivePropsWarnings = [], pendingComponentWillUpdateWarnings = [], pendingUNSAFE_ComponentWillUpdateWarnings = [], didWarnAboutUnsafeLifecycles = new Set;
|
|
229232
229161
|
ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function(fiber, instance) {
|
|
229233
229162
|
didWarnAboutUnsafeLifecycles.has(fiber.type) || (typeof instance.componentWillMount === "function" && instance.componentWillMount.__suppressDeprecationWarning !== true && pendingComponentWillMountWarnings.push(fiber), fiber.mode & 8 && typeof instance.UNSAFE_componentWillMount === "function" && pendingUNSAFE_ComponentWillMountWarnings.push(fiber), typeof instance.componentWillReceiveProps === "function" && instance.componentWillReceiveProps.__suppressDeprecationWarning !== true && pendingComponentWillReceivePropsWarnings.push(fiber), fiber.mode & 8 && typeof instance.UNSAFE_componentWillReceiveProps === "function" && pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber), typeof instance.componentWillUpdate === "function" && instance.componentWillUpdate.__suppressDeprecationWarning !== true && pendingComponentWillUpdateWarnings.push(fiber), fiber.mode & 8 && typeof instance.UNSAFE_componentWillUpdate === "function" && pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber));
|
|
@@ -230950,8 +230879,7 @@ No matching component was found for:
|
|
|
230950
230879
|
|
|
230951
230880
|
// node_modules/react-reconciler/index.js
|
|
230952
230881
|
var require_react_reconciler = __commonJS((exports2, module2) => {
|
|
230953
|
-
if (false) {
|
|
230954
|
-
} else {
|
|
230882
|
+
if (false) {} else {
|
|
230955
230883
|
module2.exports = require_react_reconciler_development();
|
|
230956
230884
|
}
|
|
230957
230885
|
});
|
|
@@ -231037,8 +230965,7 @@ var require_scheduler_development2 = __commonJS((exports2) => {
|
|
|
231037
230965
|
var NormalPriority = 3;
|
|
231038
230966
|
var LowPriority = 4;
|
|
231039
230967
|
var IdlePriority = 5;
|
|
231040
|
-
function markTaskErrored(task, ms) {
|
|
231041
|
-
}
|
|
230968
|
+
function markTaskErrored(task, ms) {}
|
|
231042
230969
|
var hasPerformanceNow = typeof performance === "object" && typeof performance.now === "function";
|
|
231043
230970
|
if (hasPerformanceNow) {
|
|
231044
230971
|
var localPerformance = performance;
|
|
@@ -231280,8 +231207,7 @@ var require_scheduler_development2 = __commonJS((exports2) => {
|
|
|
231280
231207
|
}
|
|
231281
231208
|
return newTask;
|
|
231282
231209
|
}
|
|
231283
|
-
function unstable_pauseExecution() {
|
|
231284
|
-
}
|
|
231210
|
+
function unstable_pauseExecution() {}
|
|
231285
231211
|
function unstable_continueExecution() {
|
|
231286
231212
|
if (!isHostCallbackScheduled && !isPerformingWork) {
|
|
231287
231213
|
isHostCallbackScheduled = true;
|
|
@@ -231309,8 +231235,7 @@ var require_scheduler_development2 = __commonJS((exports2) => {
|
|
|
231309
231235
|
}
|
|
231310
231236
|
return true;
|
|
231311
231237
|
}
|
|
231312
|
-
function requestPaint() {
|
|
231313
|
-
}
|
|
231238
|
+
function requestPaint() {}
|
|
231314
231239
|
function forceFrameRate(fps) {
|
|
231315
231240
|
if (fps < 0 || fps > 125) {
|
|
231316
231241
|
console["error"]("forceFrameRate takes a positive int between 0 and 125, " + "forcing frame rates higher than 125 fps is not supported");
|
|
@@ -231405,8 +231330,7 @@ var require_scheduler_development2 = __commonJS((exports2) => {
|
|
|
231405
231330
|
// node_modules/react-reconciler-18/node_modules/scheduler/index.js
|
|
231406
231331
|
var require_scheduler2 = __commonJS((exports2, module2) => {
|
|
231407
231332
|
var scheduler_development = __toESM2(require_scheduler_development2(), 1);
|
|
231408
|
-
if (false) {
|
|
231409
|
-
} else {
|
|
231333
|
+
if (false) {} else {
|
|
231410
231334
|
module2.exports = scheduler_development;
|
|
231411
231335
|
}
|
|
231412
231336
|
});
|
|
@@ -231989,8 +231913,7 @@ var require_react_reconciler_development2 = __commonJS((exports2, module2) => {
|
|
|
231989
231913
|
var prevGroup;
|
|
231990
231914
|
var prevGroupCollapsed;
|
|
231991
231915
|
var prevGroupEnd;
|
|
231992
|
-
function disabledLog() {
|
|
231993
|
-
}
|
|
231916
|
+
function disabledLog() {}
|
|
231994
231917
|
disabledLog.__reactDisabledLog = true;
|
|
231995
231918
|
function disableLogs() {
|
|
231996
231919
|
{
|
|
@@ -232231,8 +232154,7 @@ var require_react_reconciler_development2 = __commonJS((exports2, module2) => {
|
|
|
232231
232154
|
var init = lazyComponent._init;
|
|
232232
232155
|
try {
|
|
232233
232156
|
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
|
232234
|
-
} catch (x) {
|
|
232235
|
-
}
|
|
232157
|
+
} catch (x) {}
|
|
232236
232158
|
}
|
|
232237
232159
|
}
|
|
232238
232160
|
}
|
|
@@ -234056,16 +233978,11 @@ Error generating stack: ` + x.message + `
|
|
|
234056
233978
|
}
|
|
234057
233979
|
}
|
|
234058
233980
|
var ReactStrictModeWarnings = {
|
|
234059
|
-
recordUnsafeLifecycleWarnings: function(fiber, instance) {
|
|
234060
|
-
},
|
|
234061
|
-
|
|
234062
|
-
},
|
|
234063
|
-
|
|
234064
|
-
},
|
|
234065
|
-
flushLegacyContextWarning: function() {
|
|
234066
|
-
},
|
|
234067
|
-
discardPendingWarnings: function() {
|
|
234068
|
-
}
|
|
233981
|
+
recordUnsafeLifecycleWarnings: function(fiber, instance) {},
|
|
233982
|
+
flushPendingUnsafeLifecycleWarnings: function() {},
|
|
233983
|
+
recordLegacyContextWarning: function(fiber, instance) {},
|
|
233984
|
+
flushLegacyContextWarning: function() {},
|
|
233985
|
+
discardPendingWarnings: function() {}
|
|
234069
233986
|
};
|
|
234070
233987
|
{
|
|
234071
233988
|
var findStrictRoot = function(fiber) {
|
|
@@ -234313,8 +234230,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
234313
234230
|
var didWarnAboutStringRefs;
|
|
234314
234231
|
var ownerHasKeyUseWarning;
|
|
234315
234232
|
var ownerHasFunctionTypeWarning;
|
|
234316
|
-
var warnForMissingKey = function(child, returnFiber) {
|
|
234317
|
-
};
|
|
234233
|
+
var warnForMissingKey = function(child, returnFiber) {};
|
|
234318
234234
|
{
|
|
234319
234235
|
didWarnAboutMaps = false;
|
|
234320
234236
|
didWarnAboutGenerators = false;
|
|
@@ -236624,8 +236540,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
236624
236540
|
var effectDeps = deps !== null && deps !== undefined ? deps.concat([ref]) : null;
|
|
236625
236541
|
return updateEffectImpl(Update, Layout, imperativeHandleEffect.bind(null, create, ref), effectDeps);
|
|
236626
236542
|
}
|
|
236627
|
-
function mountDebugValue(value2, formatterFn) {
|
|
236628
|
-
}
|
|
236543
|
+
function mountDebugValue(value2, formatterFn) {}
|
|
236629
236544
|
var updateDebugValue = mountDebugValue;
|
|
236630
236545
|
function mountCallback(callback, deps) {
|
|
236631
236546
|
var hook = mountWorkInProgressHook();
|
|
@@ -236849,8 +236764,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
236849
236764
|
enqueueConcurrentHookUpdateAndEagerlyBailout(fiber, queue, update, lane);
|
|
236850
236765
|
return;
|
|
236851
236766
|
}
|
|
236852
|
-
} catch (error2) {
|
|
236853
|
-
} finally {
|
|
236767
|
+
} catch (error2) {} finally {
|
|
236854
236768
|
{
|
|
236855
236769
|
ReactCurrentDispatcher$1.current = prevDispatcher;
|
|
236856
236770
|
}
|
|
@@ -238495,8 +238409,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
238495
238409
|
|
|
238496
238410
|
` + ("" + errorBoundaryMessage);
|
|
238497
238411
|
console["error"](combinedMessage);
|
|
238498
|
-
} else {
|
|
238499
|
-
}
|
|
238412
|
+
} else {}
|
|
238500
238413
|
} catch (e) {
|
|
238501
238414
|
setTimeout(function() {
|
|
238502
238415
|
throw e;
|
|
@@ -240413,8 +240326,7 @@ Check the render method of \`` + ownerName + "`.";
|
|
|
240413
240326
|
node = node.sibling;
|
|
240414
240327
|
}
|
|
240415
240328
|
};
|
|
240416
|
-
updateHostContainer = function(current3, workInProgress2) {
|
|
240417
|
-
};
|
|
240329
|
+
updateHostContainer = function(current3, workInProgress2) {};
|
|
240418
240330
|
updateHostComponent$1 = function(current3, workInProgress2, type, newProps, rootContainerInstance) {
|
|
240419
240331
|
var oldProps = current3.memoizedProps;
|
|
240420
240332
|
if (oldProps === newProps) {
|
|
@@ -240578,12 +240490,9 @@ Check the render method of \`` + ownerName + "`.";
|
|
|
240578
240490
|
}
|
|
240579
240491
|
};
|
|
240580
240492
|
} else {
|
|
240581
|
-
updateHostContainer = function(current3, workInProgress2) {
|
|
240582
|
-
};
|
|
240583
|
-
|
|
240584
|
-
};
|
|
240585
|
-
updateHostText$1 = function(current3, workInProgress2, oldText, newText) {
|
|
240586
|
-
};
|
|
240493
|
+
updateHostContainer = function(current3, workInProgress2) {};
|
|
240494
|
+
updateHostComponent$1 = function(current3, workInProgress2, type, newProps, rootContainerInstance) {};
|
|
240495
|
+
updateHostText$1 = function(current3, workInProgress2, oldText, newText) {};
|
|
240587
240496
|
}
|
|
240588
240497
|
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
|
240589
240498
|
if (getIsHydrating()) {
|
|
@@ -241220,8 +241129,7 @@ Check the render method of \`` + ownerName + "`.";
|
|
|
241220
241129
|
if (error2 != null && typeof error2 === "object") {
|
|
241221
241130
|
try {
|
|
241222
241131
|
error2._suppressLogging = true;
|
|
241223
|
-
} catch (inner) {
|
|
241224
|
-
}
|
|
241132
|
+
} catch (inner) {}
|
|
241225
241133
|
}
|
|
241226
241134
|
}
|
|
241227
241135
|
}
|
|
@@ -246175,8 +246083,7 @@ Check the render method of \`` + ownerName + "`.";
|
|
|
246175
246083
|
|
|
246176
246084
|
// node_modules/react-reconciler-18/index.js
|
|
246177
246085
|
var require_react_reconciler_18 = __commonJS((exports2, module2) => {
|
|
246178
|
-
if (false) {
|
|
246179
|
-
} else {
|
|
246086
|
+
if (false) {} else {
|
|
246180
246087
|
module2.exports = require_react_reconciler_development2();
|
|
246181
246088
|
}
|
|
246182
246089
|
});
|
|
@@ -246188,8 +246095,7 @@ var require_react_reconciler_constants_development = __commonJS((exports2) => {
|
|
|
246188
246095
|
|
|
246189
246096
|
// node_modules/react-reconciler/constants.js
|
|
246190
246097
|
var require_constants2 = __commonJS((exports2, module2) => {
|
|
246191
|
-
if (false) {
|
|
246192
|
-
} else {
|
|
246098
|
+
if (false) {} else {
|
|
246193
246099
|
module2.exports = require_react_reconciler_constants_development();
|
|
246194
246100
|
}
|
|
246195
246101
|
});
|
|
@@ -265684,8 +265590,7 @@ var require_react_jsx_runtime_development = __commonJS((exports2) => {
|
|
|
265684
265590
|
var prevGroup;
|
|
265685
265591
|
var prevGroupCollapsed;
|
|
265686
265592
|
var prevGroupEnd;
|
|
265687
|
-
function disabledLog() {
|
|
265688
|
-
}
|
|
265593
|
+
function disabledLog() {}
|
|
265689
265594
|
disabledLog.__reactDisabledLog = true;
|
|
265690
265595
|
function disableLogs() {
|
|
265691
265596
|
{
|
|
@@ -265921,8 +265826,7 @@ var require_react_jsx_runtime_development = __commonJS((exports2) => {
|
|
|
265921
265826
|
var init = lazyComponent._init;
|
|
265922
265827
|
try {
|
|
265923
265828
|
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
|
265924
|
-
} catch (x) {
|
|
265925
|
-
}
|
|
265829
|
+
} catch (x) {}
|
|
265926
265830
|
}
|
|
265927
265831
|
}
|
|
265928
265832
|
}
|
|
@@ -266424,8 +266328,7 @@ Check the top-level render call using <` + parentName + ">.";
|
|
|
266424
266328
|
// node_modules/react/jsx-runtime.js
|
|
266425
266329
|
var require_jsx_runtime = __commonJS((exports2, module2) => {
|
|
266426
266330
|
var react_jsx_runtime_development = __toESM2(require_react_jsx_runtime_development(), 1);
|
|
266427
|
-
if (false) {
|
|
266428
|
-
} else {
|
|
266331
|
+
if (false) {} else {
|
|
266429
266332
|
module2.exports = react_jsx_runtime_development;
|
|
266430
266333
|
}
|
|
266431
266334
|
});
|
|
@@ -266610,8 +266513,7 @@ var require_deep_rename_keys = __commonJS((exports2, module2) => {
|
|
|
266610
266513
|
var require_eventemitter3 = __commonJS((exports2, module2) => {
|
|
266611
266514
|
var has = Object.prototype.hasOwnProperty;
|
|
266612
266515
|
var prefix = "~";
|
|
266613
|
-
function Events() {
|
|
266614
|
-
}
|
|
266516
|
+
function Events() {}
|
|
266615
266517
|
if (Object.create) {
|
|
266616
266518
|
Events.prototype = Object.create(null);
|
|
266617
266519
|
if (!new Events().__proto__)
|
|
@@ -266793,8 +266695,7 @@ var require_eventemitter3 = __commonJS((exports2, module2) => {
|
|
|
266793
266695
|
var require_eventemitter32 = __commonJS((exports2, module2) => {
|
|
266794
266696
|
var has = Object.prototype.hasOwnProperty;
|
|
266795
266697
|
var prefix = "~";
|
|
266796
|
-
function Events() {
|
|
266797
|
-
}
|
|
266698
|
+
function Events() {}
|
|
266798
266699
|
if (Object.create) {
|
|
266799
266700
|
Events.prototype = Object.create(null);
|
|
266800
266701
|
if (!new Events().__proto__)
|
|
@@ -266983,8 +266884,7 @@ var require_lexer = __commonJS((exports2, module2) => {
|
|
|
266983
266884
|
return obj;
|
|
266984
266885
|
}
|
|
266985
266886
|
var EventEmitter3 = require_eventemitter32();
|
|
266986
|
-
var noop = function noop() {
|
|
266987
|
-
};
|
|
266887
|
+
var noop = function noop() {};
|
|
266988
266888
|
var State = {
|
|
266989
266889
|
data: "state-data",
|
|
266990
266890
|
cdata: "state-cdata",
|
|
@@ -271189,8 +271089,7 @@ var require_scheduler_development3 = __commonJS((exports2) => {
|
|
|
271189
271089
|
var NormalPriority = 3;
|
|
271190
271090
|
var LowPriority = 4;
|
|
271191
271091
|
var IdlePriority = 5;
|
|
271192
|
-
function markTaskErrored(task, ms) {
|
|
271193
|
-
}
|
|
271092
|
+
function markTaskErrored(task, ms) {}
|
|
271194
271093
|
var hasPerformanceNow = typeof performance === "object" && typeof performance.now === "function";
|
|
271195
271094
|
if (hasPerformanceNow) {
|
|
271196
271095
|
var localPerformance = performance;
|
|
@@ -271432,8 +271331,7 @@ var require_scheduler_development3 = __commonJS((exports2) => {
|
|
|
271432
271331
|
}
|
|
271433
271332
|
return newTask;
|
|
271434
271333
|
}
|
|
271435
|
-
function unstable_pauseExecution() {
|
|
271436
|
-
}
|
|
271334
|
+
function unstable_pauseExecution() {}
|
|
271437
271335
|
function unstable_continueExecution() {
|
|
271438
271336
|
if (!isHostCallbackScheduled && !isPerformingWork) {
|
|
271439
271337
|
isHostCallbackScheduled = true;
|
|
@@ -271461,8 +271359,7 @@ var require_scheduler_development3 = __commonJS((exports2) => {
|
|
|
271461
271359
|
}
|
|
271462
271360
|
return true;
|
|
271463
271361
|
}
|
|
271464
|
-
function requestPaint() {
|
|
271465
|
-
}
|
|
271362
|
+
function requestPaint() {}
|
|
271466
271363
|
function forceFrameRate(fps) {
|
|
271467
271364
|
if (fps < 0 || fps > 125) {
|
|
271468
271365
|
console["error"]("forceFrameRate takes a positive int between 0 and 125, " + "forcing frame rates higher than 125 fps is not supported");
|
|
@@ -271557,8 +271454,7 @@ var require_scheduler_development3 = __commonJS((exports2) => {
|
|
|
271557
271454
|
// node_modules/jscad-fiber/node_modules/react-reconciler/node_modules/scheduler/index.js
|
|
271558
271455
|
var require_scheduler3 = __commonJS((exports2, module2) => {
|
|
271559
271456
|
var scheduler_development = __toESM2(require_scheduler_development3(), 1);
|
|
271560
|
-
if (false) {
|
|
271561
|
-
} else {
|
|
271457
|
+
if (false) {} else {
|
|
271562
271458
|
module2.exports = scheduler_development;
|
|
271563
271459
|
}
|
|
271564
271460
|
});
|
|
@@ -272141,8 +272037,7 @@ var require_react_reconciler_development3 = __commonJS((exports2, module2) => {
|
|
|
272141
272037
|
var prevGroup;
|
|
272142
272038
|
var prevGroupCollapsed;
|
|
272143
272039
|
var prevGroupEnd;
|
|
272144
|
-
function disabledLog() {
|
|
272145
|
-
}
|
|
272040
|
+
function disabledLog() {}
|
|
272146
272041
|
disabledLog.__reactDisabledLog = true;
|
|
272147
272042
|
function disableLogs() {
|
|
272148
272043
|
{
|
|
@@ -272383,8 +272278,7 @@ var require_react_reconciler_development3 = __commonJS((exports2, module2) => {
|
|
|
272383
272278
|
var init = lazyComponent._init;
|
|
272384
272279
|
try {
|
|
272385
272280
|
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
|
272386
|
-
} catch (x) {
|
|
272387
|
-
}
|
|
272281
|
+
} catch (x) {}
|
|
272388
272282
|
}
|
|
272389
272283
|
}
|
|
272390
272284
|
}
|
|
@@ -274208,16 +274102,11 @@ Error generating stack: ` + x.message + `
|
|
|
274208
274102
|
}
|
|
274209
274103
|
}
|
|
274210
274104
|
var ReactStrictModeWarnings = {
|
|
274211
|
-
recordUnsafeLifecycleWarnings: function(fiber, instance) {
|
|
274212
|
-
},
|
|
274213
|
-
|
|
274214
|
-
},
|
|
274215
|
-
|
|
274216
|
-
},
|
|
274217
|
-
flushLegacyContextWarning: function() {
|
|
274218
|
-
},
|
|
274219
|
-
discardPendingWarnings: function() {
|
|
274220
|
-
}
|
|
274105
|
+
recordUnsafeLifecycleWarnings: function(fiber, instance) {},
|
|
274106
|
+
flushPendingUnsafeLifecycleWarnings: function() {},
|
|
274107
|
+
recordLegacyContextWarning: function(fiber, instance) {},
|
|
274108
|
+
flushLegacyContextWarning: function() {},
|
|
274109
|
+
discardPendingWarnings: function() {}
|
|
274221
274110
|
};
|
|
274222
274111
|
{
|
|
274223
274112
|
var findStrictRoot = function(fiber) {
|
|
@@ -274465,8 +274354,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
274465
274354
|
var didWarnAboutStringRefs;
|
|
274466
274355
|
var ownerHasKeyUseWarning;
|
|
274467
274356
|
var ownerHasFunctionTypeWarning;
|
|
274468
|
-
var warnForMissingKey = function(child, returnFiber) {
|
|
274469
|
-
};
|
|
274357
|
+
var warnForMissingKey = function(child, returnFiber) {};
|
|
274470
274358
|
{
|
|
274471
274359
|
didWarnAboutMaps = false;
|
|
274472
274360
|
didWarnAboutGenerators = false;
|
|
@@ -276776,8 +276664,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
276776
276664
|
var effectDeps = deps !== null && deps !== undefined ? deps.concat([ref47]) : null;
|
|
276777
276665
|
return updateEffectImpl(Update, Layout, imperativeHandleEffect.bind(null, create, ref47), effectDeps);
|
|
276778
276666
|
}
|
|
276779
|
-
function mountDebugValue(value2, formatterFn) {
|
|
276780
|
-
}
|
|
276667
|
+
function mountDebugValue(value2, formatterFn) {}
|
|
276781
276668
|
var updateDebugValue = mountDebugValue;
|
|
276782
276669
|
function mountCallback(callback, deps) {
|
|
276783
276670
|
var hook = mountWorkInProgressHook();
|
|
@@ -277001,8 +276888,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
277001
276888
|
enqueueConcurrentHookUpdateAndEagerlyBailout(fiber, queue, update, lane);
|
|
277002
276889
|
return;
|
|
277003
276890
|
}
|
|
277004
|
-
} catch (error2) {
|
|
277005
|
-
} finally {
|
|
276891
|
+
} catch (error2) {} finally {
|
|
277006
276892
|
{
|
|
277007
276893
|
ReactCurrentDispatcher$1.current = prevDispatcher;
|
|
277008
276894
|
}
|
|
@@ -278647,8 +278533,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, so
|
|
|
278647
278533
|
|
|
278648
278534
|
` + ("" + errorBoundaryMessage);
|
|
278649
278535
|
console["error"](combinedMessage);
|
|
278650
|
-
} else {
|
|
278651
|
-
}
|
|
278536
|
+
} else {}
|
|
278652
278537
|
} catch (e) {
|
|
278653
278538
|
setTimeout(function() {
|
|
278654
278539
|
throw e;
|
|
@@ -280565,8 +280450,7 @@ Check the render method of \`` + ownerName + "`.";
|
|
|
280565
280450
|
node = node.sibling;
|
|
280566
280451
|
}
|
|
280567
280452
|
};
|
|
280568
|
-
updateHostContainer = function(current3, workInProgress2) {
|
|
280569
|
-
};
|
|
280453
|
+
updateHostContainer = function(current3, workInProgress2) {};
|
|
280570
280454
|
updateHostComponent$1 = function(current3, workInProgress2, type, newProps, rootContainerInstance) {
|
|
280571
280455
|
var oldProps = current3.memoizedProps;
|
|
280572
280456
|
if (oldProps === newProps) {
|
|
@@ -280730,12 +280614,9 @@ Check the render method of \`` + ownerName + "`.";
|
|
|
280730
280614
|
}
|
|
280731
280615
|
};
|
|
280732
280616
|
} else {
|
|
280733
|
-
updateHostContainer = function(current3, workInProgress2) {
|
|
280734
|
-
};
|
|
280735
|
-
|
|
280736
|
-
};
|
|
280737
|
-
updateHostText$1 = function(current3, workInProgress2, oldText, newText) {
|
|
280738
|
-
};
|
|
280617
|
+
updateHostContainer = function(current3, workInProgress2) {};
|
|
280618
|
+
updateHostComponent$1 = function(current3, workInProgress2, type, newProps, rootContainerInstance) {};
|
|
280619
|
+
updateHostText$1 = function(current3, workInProgress2, oldText, newText) {};
|
|
280739
280620
|
}
|
|
280740
280621
|
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
|
280741
280622
|
if (getIsHydrating()) {
|
|
@@ -281372,8 +281253,7 @@ Check the render method of \`` + ownerName + "`.";
|
|
|
281372
281253
|
if (error2 != null && typeof error2 === "object") {
|
|
281373
281254
|
try {
|
|
281374
281255
|
error2._suppressLogging = true;
|
|
281375
|
-
} catch (inner) {
|
|
281376
|
-
}
|
|
281256
|
+
} catch (inner) {}
|
|
281377
281257
|
}
|
|
281378
281258
|
}
|
|
281379
281259
|
}
|
|
@@ -286327,8 +286207,7 @@ Check the render method of \`` + ownerName + "`.";
|
|
|
286327
286207
|
|
|
286328
286208
|
// node_modules/jscad-fiber/node_modules/react-reconciler/index.js
|
|
286329
286209
|
var require_react_reconciler2 = __commonJS((exports2, module2) => {
|
|
286330
|
-
if (false) {
|
|
286331
|
-
} else {
|
|
286210
|
+
if (false) {} else {
|
|
286332
286211
|
module2.exports = require_react_reconciler_development3();
|
|
286333
286212
|
}
|
|
286334
286213
|
});
|
|
@@ -288146,10 +288025,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
288146
288025
|
}
|
|
288147
288026
|
function _isNativeReflectConstruct2() {
|
|
288148
288027
|
try {
|
|
288149
|
-
var t3 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
288150
|
-
|
|
288151
|
-
} catch (t4) {
|
|
288152
|
-
}
|
|
288028
|
+
var t3 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
288029
|
+
} catch (t4) {}
|
|
288153
288030
|
return (_isNativeReflectConstruct2 = function() {
|
|
288154
288031
|
return !!t3;
|
|
288155
288032
|
})();
|
|
@@ -288258,12 +288135,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
288258
288135
|
}
|
|
288259
288136
|
e.wrap = wrap2;
|
|
288260
288137
|
var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {};
|
|
288261
|
-
function Generator() {
|
|
288262
|
-
}
|
|
288263
|
-
function
|
|
288264
|
-
}
|
|
288265
|
-
function GeneratorFunctionPrototype() {
|
|
288266
|
-
}
|
|
288138
|
+
function Generator() {}
|
|
288139
|
+
function GeneratorFunction() {}
|
|
288140
|
+
function GeneratorFunctionPrototype() {}
|
|
288267
288141
|
var p = {};
|
|
288268
288142
|
define3(p, a, function() {
|
|
288269
288143
|
return this;
|
|
@@ -288708,8 +288582,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
288708
288582
|
var versions$2 = {};
|
|
288709
288583
|
var release = {};
|
|
288710
288584
|
var config$1 = {};
|
|
288711
|
-
function noop$2() {
|
|
288712
|
-
}
|
|
288585
|
+
function noop$2() {}
|
|
288713
288586
|
var on = noop$2;
|
|
288714
288587
|
var addListener = noop$2;
|
|
288715
288588
|
var once$1 = noop$2;
|
|
@@ -292379,8 +292252,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
292379
292252
|
return validate$7(arrayOfType.apply(undefined, arguments));
|
|
292380
292253
|
}
|
|
292381
292254
|
function assertEach(callback) {
|
|
292382
|
-
var childValidator = browser$1$1.env.BABEL_TYPES_8_BREAKING ? validateChild : function() {
|
|
292383
|
-
};
|
|
292255
|
+
var childValidator = browser$1$1.env.BABEL_TYPES_8_BREAKING ? validateChild : function() {};
|
|
292384
292256
|
function validator(node2, key, val42) {
|
|
292385
292257
|
if (!Array.isArray(val42))
|
|
292386
292258
|
return;
|
|
@@ -292826,8 +292698,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
292826
292698
|
validate: assertNodeType("Program")
|
|
292827
292699
|
},
|
|
292828
292700
|
comments: {
|
|
292829
|
-
validate: !browser$1$1.env.BABEL_TYPES_8_BREAKING ? Object.assign(function() {
|
|
292830
|
-
}, {
|
|
292701
|
+
validate: !browser$1$1.env.BABEL_TYPES_8_BREAKING ? Object.assign(function() {}, {
|
|
292831
292702
|
each: {
|
|
292832
292703
|
oneOfNodeTypes: ["CommentBlock", "CommentLine"]
|
|
292833
292704
|
}
|
|
@@ -292835,8 +292706,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
292835
292706
|
optional: true
|
|
292836
292707
|
},
|
|
292837
292708
|
tokens: {
|
|
292838
|
-
validate: assertEach(Object.assign(function() {
|
|
292839
|
-
}, {
|
|
292709
|
+
validate: assertEach(Object.assign(function() {}, {
|
|
292840
292710
|
type: "any"
|
|
292841
292711
|
})),
|
|
292842
292712
|
optional: true
|
|
@@ -293063,8 +292933,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
293063
292933
|
deprecatedAlias: "NumberLiteral",
|
|
293064
292934
|
fields: {
|
|
293065
292935
|
value: {
|
|
293066
|
-
validate: chain(assertValueType("number"), Object.assign(function(node2, key, val42) {
|
|
293067
|
-
}, {
|
|
292936
|
+
validate: chain(assertValueType("number"), Object.assign(function(node2, key, val42) {}, {
|
|
293068
292937
|
type: "number"
|
|
293069
292938
|
}))
|
|
293070
292939
|
}
|
|
@@ -294937,14 +294806,12 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
294937
294806
|
aliases: ["Expression"],
|
|
294938
294807
|
fields: !browser$1$1.env.BABEL_TYPES_8_BREAKING ? {
|
|
294939
294808
|
object: {
|
|
294940
|
-
validate: Object.assign(function() {
|
|
294941
|
-
}, {
|
|
294809
|
+
validate: Object.assign(function() {}, {
|
|
294942
294810
|
oneOfNodeTypes: ["Expression"]
|
|
294943
294811
|
})
|
|
294944
294812
|
},
|
|
294945
294813
|
callee: {
|
|
294946
|
-
validate: Object.assign(function() {
|
|
294947
|
-
}, {
|
|
294814
|
+
validate: Object.assign(function() {}, {
|
|
294948
294815
|
oneOfNodeTypes: ["Expression"]
|
|
294949
294816
|
})
|
|
294950
294817
|
}
|
|
@@ -302146,8 +302013,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
302146
302013
|
return `/* @babel/template */;
|
|
302147
302014
|
` + str;
|
|
302148
302015
|
},
|
|
302149
|
-
validate: function validate() {
|
|
302150
|
-
},
|
|
302016
|
+
validate: function validate() {},
|
|
302151
302017
|
unwrap: function unwrap(ast) {
|
|
302152
302018
|
return fn(ast.program.body.slice(1));
|
|
302153
302019
|
}
|
|
@@ -302197,8 +302063,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
302197
302063
|
code: function code(str) {
|
|
302198
302064
|
return str;
|
|
302199
302065
|
},
|
|
302200
|
-
validate: function validate() {
|
|
302201
|
-
},
|
|
302066
|
+
validate: function validate() {},
|
|
302202
302067
|
unwrap: function unwrap(ast) {
|
|
302203
302068
|
return ast.program;
|
|
302204
302069
|
}
|
|
@@ -302790,8 +302655,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
302790
302655
|
var regex2 = null;
|
|
302791
302656
|
try {
|
|
302792
302657
|
regex2 = new RegExp(pattern2, flags);
|
|
302793
|
-
} catch (_) {
|
|
302794
|
-
}
|
|
302658
|
+
} catch (_) {}
|
|
302795
302659
|
var node2 = this.estreeParseLiteral(regex2);
|
|
302796
302660
|
node2.regex = {
|
|
302797
302661
|
pattern: pattern2,
|
|
@@ -305465,8 +305329,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
305465
305329
|
}
|
|
305466
305330
|
return this.raise(toParseError, at, details);
|
|
305467
305331
|
};
|
|
305468
|
-
_proto.updateContext = function updateContext(prevType) {
|
|
305469
|
-
};
|
|
305332
|
+
_proto.updateContext = function updateContext(prevType) {};
|
|
305470
305333
|
_proto.unexpected = function unexpected(loc, type2) {
|
|
305471
305334
|
throw this.raise(Errors.UnexpectedToken, loc != null ? loc : this.state.startLoc, {
|
|
305472
305335
|
expected: type2 ? tokenLabelName(type2) : null
|
|
@@ -311573,8 +311436,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
311573
311436
|
this.raise(TSErrors.ImportReflectionHasImportType, node2.specifiers[0].loc.start);
|
|
311574
311437
|
}
|
|
311575
311438
|
};
|
|
311576
|
-
_proto.checkDuplicateExports = function checkDuplicateExports() {
|
|
311577
|
-
};
|
|
311439
|
+
_proto.checkDuplicateExports = function checkDuplicateExports() {};
|
|
311578
311440
|
_proto.isPotentialImportPhase = function isPotentialImportPhase(isExport) {
|
|
311579
311441
|
if (_superClass.prototype.isPotentialImportPhase.call(this, isExport))
|
|
311580
311442
|
return true;
|
|
@@ -314549,8 +314411,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
314549
314411
|
}
|
|
314550
314412
|
return this.finishNode(node2, "ModuleExpression");
|
|
314551
314413
|
};
|
|
314552
|
-
_proto.parsePropertyNamePrefixOperator = function parsePropertyNamePrefixOperator(prop2) {
|
|
314553
|
-
};
|
|
314414
|
+
_proto.parsePropertyNamePrefixOperator = function parsePropertyNamePrefixOperator(prop2) {};
|
|
314554
314415
|
return _createClass(ExpressionParser2);
|
|
314555
314416
|
}(LValParser);
|
|
314556
314417
|
var loopLabel = {
|
|
@@ -315829,8 +315690,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
315829
315690
|
_proto.declareClassPrivateMethodInScope = function declareClassPrivateMethodInScope(node2, kind) {
|
|
315830
315691
|
this.classScope.declarePrivateName(this.getPrivateNameSV(node2.key), kind, node2.key.loc.start);
|
|
315831
315692
|
};
|
|
315832
|
-
_proto.parsePostMemberNameModifiers = function parsePostMemberNameModifiers(methodOrProp) {
|
|
315833
|
-
};
|
|
315693
|
+
_proto.parsePostMemberNameModifiers = function parsePostMemberNameModifiers(methodOrProp) {};
|
|
315834
315694
|
_proto.parseClassPrivateProperty = function parseClassPrivateProperty(node2) {
|
|
315835
315695
|
this.parseInitializer(node2);
|
|
315836
315696
|
this.semicolon();
|
|
@@ -316596,8 +316456,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
316596
316456
|
try {
|
|
316597
316457
|
options.sourceType = "script";
|
|
316598
316458
|
return getParser(options, input).parse();
|
|
316599
|
-
} catch (_unused) {
|
|
316600
|
-
}
|
|
316459
|
+
} catch (_unused) {}
|
|
316601
316460
|
} else {
|
|
316602
316461
|
ast.program.sourceType = "script";
|
|
316603
316462
|
}
|
|
@@ -316606,8 +316465,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
316606
316465
|
try {
|
|
316607
316466
|
options.sourceType = "script";
|
|
316608
316467
|
return getParser(options, input).parse();
|
|
316609
|
-
} catch (_unused2) {
|
|
316610
|
-
}
|
|
316468
|
+
} catch (_unused2) {}
|
|
316611
316469
|
throw moduleError;
|
|
316612
316470
|
}
|
|
316613
316471
|
} else {
|
|
@@ -319079,8 +318937,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
319079
318937
|
});
|
|
319080
318938
|
args.splice(lastC, 0, c);
|
|
319081
318939
|
}
|
|
319082
|
-
exports4.log = console.debug || console.log || function() {
|
|
319083
|
-
};
|
|
318940
|
+
exports4.log = console.debug || console.log || function() {};
|
|
319084
318941
|
function save(namespaces) {
|
|
319085
318942
|
try {
|
|
319086
318943
|
if (namespaces) {
|
|
@@ -319088,15 +318945,13 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
319088
318945
|
} else {
|
|
319089
318946
|
exports4.storage.removeItem("debug");
|
|
319090
318947
|
}
|
|
319091
|
-
} catch (error2) {
|
|
319092
|
-
}
|
|
318948
|
+
} catch (error2) {}
|
|
319093
318949
|
}
|
|
319094
318950
|
function load3() {
|
|
319095
318951
|
var r;
|
|
319096
318952
|
try {
|
|
319097
318953
|
r = exports4.storage.getItem("debug");
|
|
319098
|
-
} catch (error2) {
|
|
319099
|
-
}
|
|
318954
|
+
} catch (error2) {}
|
|
319100
318955
|
if (!r && typeof browser$1$1 !== "undefined" && "env" in browser$1$1) {
|
|
319101
318956
|
r = browser$1$1.env.DEBUG;
|
|
319102
318957
|
}
|
|
@@ -319105,8 +318960,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
319105
318960
|
function localstorage() {
|
|
319106
318961
|
try {
|
|
319107
318962
|
return localStorage;
|
|
319108
|
-
} catch (error2) {
|
|
319109
|
-
}
|
|
318963
|
+
} catch (error2) {}
|
|
319110
318964
|
}
|
|
319111
318965
|
module3.exports = common(exports4);
|
|
319112
318966
|
var formatters = module3.exports.formatters;
|
|
@@ -322517,13 +322371,11 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
322517
322371
|
e = s & (1 << -nBits) - 1;
|
|
322518
322372
|
s >>= -nBits;
|
|
322519
322373
|
nBits += eLen;
|
|
322520
|
-
for (;nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {
|
|
322521
|
-
}
|
|
322374
|
+
for (;nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}
|
|
322522
322375
|
m2 = e & (1 << -nBits) - 1;
|
|
322523
322376
|
e >>= -nBits;
|
|
322524
322377
|
nBits += mLen;
|
|
322525
|
-
for (;nBits > 0; m2 = m2 * 256 + buffer[offset + i], i += d, nBits -= 8) {
|
|
322526
|
-
}
|
|
322378
|
+
for (;nBits > 0; m2 = m2 * 256 + buffer[offset + i], i += d, nBits -= 8) {}
|
|
322527
322379
|
if (e === 0) {
|
|
322528
322380
|
e = 1 - eBias;
|
|
322529
322381
|
} else if (e === eMax) {
|
|
@@ -322573,12 +322425,10 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
322573
322425
|
e = 0;
|
|
322574
322426
|
}
|
|
322575
322427
|
}
|
|
322576
|
-
for (;mLen >= 8; buffer[offset + i] = m2 & 255, i += d, m2 /= 256, mLen -= 8) {
|
|
322577
|
-
}
|
|
322428
|
+
for (;mLen >= 8; buffer[offset + i] = m2 & 255, i += d, m2 /= 256, mLen -= 8) {}
|
|
322578
322429
|
e = e << mLen | m2;
|
|
322579
322430
|
eLen += mLen;
|
|
322580
|
-
for (;eLen > 0; buffer[offset + i] = e & 255, i += d, e /= 256, eLen -= 8) {
|
|
322581
|
-
}
|
|
322431
|
+
for (;eLen > 0; buffer[offset + i] = e & 255, i += d, e /= 256, eLen -= 8) {}
|
|
322582
322432
|
buffer[offset + i - d] |= s * 128;
|
|
322583
322433
|
}
|
|
322584
322434
|
var toString$1 = {}.toString;
|
|
@@ -329397,8 +329247,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
329397
329247
|
function addDeprecatedGenerators(PrinterClass) {
|
|
329398
329248
|
{
|
|
329399
329249
|
var deprecatedBabel7Generators = {
|
|
329400
|
-
Noop: function Noop() {
|
|
329401
|
-
},
|
|
329250
|
+
Noop: function Noop() {},
|
|
329402
329251
|
TSExpressionWithTypeArguments: function TSExpressionWithTypeArguments(node2) {
|
|
329403
329252
|
this.print(node2.expression);
|
|
329404
329253
|
this.print(node2.typeParameters);
|
|
@@ -329459,8 +329308,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
329459
329308
|
_proto.enterForStatementInit = function enterForStatementInit() {
|
|
329460
329309
|
var _this = this;
|
|
329461
329310
|
if (this.inForStatementInit)
|
|
329462
|
-
return function() {
|
|
329463
|
-
};
|
|
329311
|
+
return function() {};
|
|
329464
329312
|
this.inForStatementInit = true;
|
|
329465
329313
|
return function() {
|
|
329466
329314
|
_this.inForStatementInit = false;
|
|
@@ -329471,8 +329319,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
329471
329319
|
var oldInForStatementInit = this.inForStatementInit;
|
|
329472
329320
|
var oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;
|
|
329473
329321
|
if (oldInForStatementInit === false && oldNoLineTerminatorAfterNode === null) {
|
|
329474
|
-
return function() {
|
|
329475
|
-
};
|
|
329322
|
+
return function() {};
|
|
329476
329323
|
}
|
|
329477
329324
|
this.inForStatementInit = false;
|
|
329478
329325
|
this._noLineTerminatorAfterNode = null;
|
|
@@ -330150,8 +329997,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
330150
329997
|
var nodeEndLine = hasLoc ? nodeLoc.end.line : 0;
|
|
330151
329998
|
var lastLine = 0;
|
|
330152
329999
|
var leadingCommentNewline = 0;
|
|
330153
|
-
var maybeNewline = this._noLineTerminator ? function() {
|
|
330154
|
-
} : this.newline.bind(this);
|
|
330000
|
+
var maybeNewline = this._noLineTerminator ? function() {} : this.newline.bind(this);
|
|
330155
330001
|
for (var i = 0;i < len; i++) {
|
|
330156
330002
|
var comment = comments[i];
|
|
330157
330003
|
var shouldPrint = this._shouldPrintComment(comment, nextToken);
|
|
@@ -334005,13 +333851,10 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
334005
333851
|
return contexts;
|
|
334006
333852
|
}
|
|
334007
333853
|
var Hub = function() {
|
|
334008
|
-
function Hub2() {
|
|
334009
|
-
}
|
|
333854
|
+
function Hub2() {}
|
|
334010
333855
|
var _proto = Hub2.prototype;
|
|
334011
|
-
_proto.getCode = function getCode() {
|
|
334012
|
-
};
|
|
334013
|
-
_proto.getScope = function getScope() {
|
|
334014
|
-
};
|
|
333856
|
+
_proto.getCode = function getCode() {};
|
|
333857
|
+
_proto.getScope = function getScope() {};
|
|
334015
333858
|
_proto.addHelper = function addHelper() {
|
|
334016
333859
|
throw new Error("Helpers are not supported by the default hub.");
|
|
334017
333860
|
};
|
|
@@ -334108,8 +333951,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
334108
333951
|
console.log.apply(console, args);
|
|
334109
333952
|
};
|
|
334110
333953
|
} else {
|
|
334111
|
-
debug6 = function debug() {
|
|
334112
|
-
};
|
|
333954
|
+
debug6 = function debug() {};
|
|
334113
333955
|
}
|
|
334114
333956
|
exports4.SEMVER_SPEC_VERSION = "2.0.0";
|
|
334115
333957
|
var MAX_LENGTH = 256;
|
|
@@ -335263,8 +335105,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
335263
335105
|
} else {
|
|
335264
335106
|
inherits$1 = function inherits(ctor, superCtor) {
|
|
335265
335107
|
ctor.super_ = superCtor;
|
|
335266
|
-
var TempCtor = function() {
|
|
335267
|
-
};
|
|
335108
|
+
var TempCtor = function() {};
|
|
335268
335109
|
TempCtor.prototype = superCtor.prototype;
|
|
335269
335110
|
ctor.prototype = new TempCtor;
|
|
335270
335111
|
ctor.prototype.constructor = ctor;
|
|
@@ -335358,8 +335199,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
335358
335199
|
console.error("%s %d: %s", set2, pid, msg2);
|
|
335359
335200
|
};
|
|
335360
335201
|
} else {
|
|
335361
|
-
debugs[set2] = function() {
|
|
335362
|
-
};
|
|
335202
|
+
debugs[set2] = function() {};
|
|
335363
335203
|
}
|
|
335364
335204
|
}
|
|
335365
335205
|
return debugs[set2];
|
|
@@ -335883,8 +335723,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
335883
335723
|
return _functionsHaveNames;
|
|
335884
335724
|
}
|
|
335885
335725
|
return _functionsHaveNames = function() {
|
|
335886
|
-
return function foo() {
|
|
335887
|
-
}.name === "foo";
|
|
335726
|
+
return function foo() {}.name === "foo";
|
|
335888
335727
|
}();
|
|
335889
335728
|
}
|
|
335890
335729
|
function pToString(obj) {
|
|
@@ -336116,8 +335955,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
336116
335955
|
if (actual instanceof expected) {
|
|
336117
335956
|
return true;
|
|
336118
335957
|
}
|
|
336119
|
-
} catch (e) {
|
|
336120
|
-
}
|
|
335958
|
+
} catch (e) {}
|
|
336121
335959
|
if (Error.isPrototypeOf(expected)) {
|
|
336122
335960
|
return false;
|
|
336123
335961
|
}
|
|
@@ -343628,8 +343466,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
343628
343466
|
BrowserslistError$2.prototype = Error.prototype;
|
|
343629
343467
|
var error = BrowserslistError$2;
|
|
343630
343468
|
var BrowserslistError$1 = error;
|
|
343631
|
-
function noop() {
|
|
343632
|
-
}
|
|
343469
|
+
function noop() {}
|
|
343633
343470
|
var browser = {
|
|
343634
343471
|
loadQueries: function loadQueries() {
|
|
343635
343472
|
throw new BrowserslistError$1("Sharable configs are not supported in client-side build of Browserslist");
|
|
@@ -345303,8 +345140,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
345303
345140
|
}
|
|
345304
345141
|
try {
|
|
345305
345142
|
requireIterator()(Yallist);
|
|
345306
|
-
} catch (er) {
|
|
345307
|
-
}
|
|
345143
|
+
} catch (er) {}
|
|
345308
345144
|
return yallist;
|
|
345309
345145
|
}
|
|
345310
345146
|
var lruCacheBABEL_8_BREAKINGFalse;
|
|
@@ -346668,8 +346504,7 @@ Expected ` + (val42.length + 1) + " quasis but got " + node2.quasis.length);
|
|
|
346668
346504
|
var parsedBrowserVersion = semverify(splitVersion);
|
|
346669
346505
|
all2[target] = semverMin(version3, parsedBrowserVersion);
|
|
346670
346506
|
}
|
|
346671
|
-
} catch (_) {
|
|
346672
|
-
}
|
|
346507
|
+
} catch (_) {}
|
|
346673
346508
|
return all2;
|
|
346674
346509
|
}, {});
|
|
346675
346510
|
}
|
|
@@ -347596,8 +347431,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
|
|
|
347596
347431
|
});
|
|
347597
347432
|
}
|
|
347598
347433
|
function setupPrepareStackTrace() {
|
|
347599
|
-
setupPrepareStackTrace = function setupPrepareStackTrace() {
|
|
347600
|
-
};
|
|
347434
|
+
setupPrepareStackTrace = function setupPrepareStackTrace() {};
|
|
347601
347435
|
var _Error$prepareStackTr = Error.prepareStackTrace, prepareStackTrace = _Error$prepareStackTr === undefined ? defaultPrepareStackTrace : _Error$prepareStackTr;
|
|
347602
347436
|
var MIN_STACK_TRACE_LIMIT = 50;
|
|
347603
347437
|
Error.stackTraceLimit && (Error.stackTraceLimit = Math.max(Error.stackTraceLimit, MIN_STACK_TRACE_LIMIT));
|
|
@@ -347947,8 +347781,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
|
|
|
347947
347781
|
var _this = this;
|
|
347948
347782
|
var { callerName, filepath } = _ref4;
|
|
347949
347783
|
if (!enabled)
|
|
347950
|
-
return function() {
|
|
347951
|
-
};
|
|
347784
|
+
return function() {};
|
|
347952
347785
|
return function(content, index2, envName) {
|
|
347953
347786
|
_this._stack.push({
|
|
347954
347787
|
type: type2,
|
|
@@ -348054,8 +347887,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
|
|
|
348054
347887
|
return loadPresetOverridesEnvDescriptors(preset)(index2)(envName);
|
|
348055
347888
|
},
|
|
348056
347889
|
createLogger: function createLogger() {
|
|
348057
|
-
return function() {
|
|
348058
|
-
};
|
|
347890
|
+
return function() {};
|
|
348059
347891
|
}
|
|
348060
347892
|
});
|
|
348061
347893
|
var loadPresetDescriptors = makeWeakCacheSync(function(preset) {
|
|
@@ -348346,8 +348178,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
|
|
|
348346
348178
|
});
|
|
348347
348179
|
function buildFileLogger(filepath, context, baseLogger) {
|
|
348348
348180
|
if (!baseLogger) {
|
|
348349
|
-
return function() {
|
|
348350
|
-
};
|
|
348181
|
+
return function() {};
|
|
348351
348182
|
}
|
|
348352
348183
|
return baseLogger.configure(context.showConfig, ChainFormatter.Config, {
|
|
348353
348184
|
filepath
|
|
@@ -348360,8 +348191,7 @@ getting parsed as 6.1, which can lead to unexpected behavior.
|
|
|
348360
348191
|
function buildProgrammaticLogger(_, context, baseLogger) {
|
|
348361
348192
|
var _context$caller;
|
|
348362
348193
|
if (!baseLogger) {
|
|
348363
|
-
return function() {
|
|
348364
|
-
};
|
|
348194
|
+
return function() {};
|
|
348365
348195
|
}
|
|
348366
348196
|
return baseLogger.configure(context.showConfig, ChainFormatter.Programmatic, {
|
|
348367
348197
|
callerName: (_context$caller = context.caller) == null ? undefined : _context$caller.name
|
|
@@ -351116,8 +350946,7 @@ Consider renaming the file to '.mjs', or setting sourceType:module ` + "or sourc
|
|
|
351116
350946
|
var DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]);
|
|
351117
350947
|
{
|
|
351118
350948
|
exports3.OptionManager = function() {
|
|
351119
|
-
function OptionManager() {
|
|
351120
|
-
}
|
|
350949
|
+
function OptionManager() {}
|
|
351121
350950
|
var _proto = OptionManager.prototype;
|
|
351122
350951
|
_proto.init = function init(opts) {
|
|
351123
350952
|
return loadOptionsSync(opts);
|
|
@@ -351918,8 +351747,7 @@ Consider renaming the file to '.mjs', or setting sourceType:module ` + "or sourc
|
|
|
351918
351747
|
return false;
|
|
351919
351748
|
}
|
|
351920
351749
|
var handle = {
|
|
351921
|
-
memoise: function memoise() {
|
|
351922
|
-
},
|
|
351750
|
+
memoise: function memoise() {},
|
|
351923
351751
|
handle: function handle(member, noDocumentAll) {
|
|
351924
351752
|
var { node: node2, parent, parentPath, scope: scope2 } = member;
|
|
351925
351753
|
if (member.isOptionalMemberExpression()) {
|
|
@@ -364894,12 +364722,10 @@ If you are using ` + '["@babel/plugin-proposal-decorators", { "version": "legacy
|
|
|
364894
364722
|
var _property = "General_Category";
|
|
364895
364723
|
var category = unicodeMatchPropertyValue(_property, value2);
|
|
364896
364724
|
return getUnicodePropertyValueSet(_property, category);
|
|
364897
|
-
} catch (exception) {
|
|
364898
|
-
}
|
|
364725
|
+
} catch (exception) {}
|
|
364899
364726
|
try {
|
|
364900
364727
|
return getUnicodePropertyValueSet("Property_of_Strings", value2);
|
|
364901
|
-
} catch (exception) {
|
|
364902
|
-
}
|
|
364728
|
+
} catch (exception) {}
|
|
364903
364729
|
var property2 = unicodeMatchProperty(value2);
|
|
364904
364730
|
return getUnicodePropertyValueSet(property2);
|
|
364905
364731
|
};
|
|
@@ -365747,8 +365573,7 @@ If you are using ` + '["@babel/plugin-proposal-decorators", { "version": "legacy
|
|
|
365747
365573
|
dotAllFlag: feat("dotAllFlag"),
|
|
365748
365574
|
unicodePropertyEscapes: feat("unicodePropertyEscape"),
|
|
365749
365575
|
namedGroups: feat("namedCaptureGroups") || featDuplicateNamedGroups(),
|
|
365750
|
-
onNamedGroup: function onNamedGroup() {
|
|
365751
|
-
},
|
|
365576
|
+
onNamedGroup: function onNamedGroup() {},
|
|
365752
365577
|
modifiers: feat("modifiers")
|
|
365753
365578
|
};
|
|
365754
365579
|
}
|
|
@@ -365791,8 +365616,7 @@ If you are using ` + '["@babel/plugin-proposal-decorators", { "version": "legacy
|
|
|
365791
365616
|
}
|
|
365792
365617
|
var versionKey = "@babel/plugin-regexp-features/version";
|
|
365793
365618
|
function createRegExpFeaturePlugin(_ref4) {
|
|
365794
|
-
var { name: name2, feature, options: _ref$options } = _ref4, options = _ref$options === undefined ? {} : _ref$options, _ref$manipulateOption = _ref4.manipulateOptions, manipulateOptions = _ref$manipulateOption === undefined ? function() {
|
|
365795
|
-
} : _ref$manipulateOption;
|
|
365619
|
+
var { name: name2, feature, options: _ref$options } = _ref4, options = _ref$options === undefined ? {} : _ref$options, _ref$manipulateOption = _ref4.manipulateOptions, manipulateOptions = _ref$manipulateOption === undefined ? function() {} : _ref$manipulateOption;
|
|
365796
365620
|
return {
|
|
365797
365621
|
name: name2,
|
|
365798
365622
|
manipulateOptions,
|
|
@@ -368218,8 +368042,7 @@ bundler handle dynamic imports.
|
|
|
368218
368042
|
}
|
|
368219
368043
|
try {
|
|
368220
368044
|
return file2.addHelper("callSuper");
|
|
368221
|
-
} catch (_unused) {
|
|
368222
|
-
}
|
|
368045
|
+
} catch (_unused) {}
|
|
368223
368046
|
var id = file2.scope.generateUidIdentifier("callSuper");
|
|
368224
368047
|
helperIDs.set(file2, id);
|
|
368225
368048
|
var fn = helper$1({
|
|
@@ -376551,8 +376374,7 @@ bundler handle dynamic imports.
|
|
|
376551
376374
|
console.log.apply(console, args);
|
|
376552
376375
|
};
|
|
376553
376376
|
} else {
|
|
376554
|
-
debug6 = function debug() {
|
|
376555
|
-
};
|
|
376377
|
+
debug6 = function debug() {};
|
|
376556
376378
|
}
|
|
376557
376379
|
exports4.SEMVER_SPEC_VERSION = "2.0.0";
|
|
376558
376380
|
var MAX_LENGTH = 256;
|
|
@@ -378371,10 +378193,8 @@ bundler handle dynamic imports.
|
|
|
378371
378193
|
function has2(basedir, name2) {
|
|
378372
378194
|
return true;
|
|
378373
378195
|
}
|
|
378374
|
-
function logMissing2(missingDeps) {
|
|
378375
|
-
}
|
|
378376
|
-
function laterLogMissing2(missingDeps) {
|
|
378377
|
-
}
|
|
378196
|
+
function logMissing2(missingDeps) {}
|
|
378197
|
+
function laterLogMissing2(missingDeps) {}
|
|
378378
378198
|
return dependencies$1;
|
|
378379
378199
|
}
|
|
378380
378200
|
var metaResolver$1 = {};
|
|
@@ -413240,8 +413060,7 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
|
|
|
413240
413060
|
console.log.apply(console, args);
|
|
413241
413061
|
};
|
|
413242
413062
|
} else {
|
|
413243
|
-
debug6 = function debug() {
|
|
413244
|
-
};
|
|
413063
|
+
debug6 = function debug() {};
|
|
413245
413064
|
}
|
|
413246
413065
|
exports4.SEMVER_SPEC_VERSION = "2.0.0";
|
|
413247
413066
|
var MAX_LENGTH = 256;
|
|
@@ -415058,10 +414877,8 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
|
|
|
415058
414877
|
function has2(basedir, name2) {
|
|
415059
414878
|
return true;
|
|
415060
414879
|
}
|
|
415061
|
-
function logMissing2(missingDeps) {
|
|
415062
|
-
}
|
|
415063
|
-
function laterLogMissing2(missingDeps) {
|
|
415064
|
-
}
|
|
414880
|
+
function logMissing2(missingDeps) {}
|
|
414881
|
+
function laterLogMissing2(missingDeps) {}
|
|
415065
414882
|
return dependencies2;
|
|
415066
414883
|
}
|
|
415067
414884
|
var metaResolver = {};
|
|
@@ -416530,10 +416347,8 @@ Using targets: ` + (0, _debugUtils.stringifyTargetsMultiline)(targets));
|
|
|
416530
416347
|
function has(basedir, name2) {
|
|
416531
416348
|
return true;
|
|
416532
416349
|
}
|
|
416533
|
-
function logMissing(missingDeps) {
|
|
416534
|
-
}
|
|
416535
|
-
function laterLogMissing(missingDeps) {
|
|
416536
|
-
}
|
|
416350
|
+
function logMissing(missingDeps) {}
|
|
416351
|
+
function laterLogMissing(missingDeps) {}
|
|
416537
416352
|
var PossibleGlobalObjects = new Set(["global", "globalThis", "self", "window"]);
|
|
416538
416353
|
function createMetaResolver(polyfills2) {
|
|
416539
416354
|
var staticP = polyfills2["static"], instanceP = polyfills2.instance, globalP = polyfills2.global;
|
|
@@ -419077,8 +418892,7 @@ var require_dist7 = __commonJS((exports2, module2) => {
|
|
|
419077
418892
|
this.partial = !!options.partial;
|
|
419078
418893
|
this.make();
|
|
419079
418894
|
}
|
|
419080
|
-
debug() {
|
|
419081
|
-
}
|
|
418895
|
+
debug() {}
|
|
419082
418896
|
make() {
|
|
419083
418897
|
const pattern = this.pattern;
|
|
419084
418898
|
const options = this.options;
|
|
@@ -419528,8 +419342,7 @@ globstar while`, file, fr, pattern, pr, swallowee);
|
|
|
419528
419342
|
module22.exports = function inherits(ctor, superCtor) {
|
|
419529
419343
|
if (superCtor) {
|
|
419530
419344
|
ctor.super_ = superCtor;
|
|
419531
|
-
var TempCtor = function() {
|
|
419532
|
-
};
|
|
419345
|
+
var TempCtor = function() {};
|
|
419533
419346
|
TempCtor.prototype = superCtor.prototype;
|
|
419534
419347
|
ctor.prototype = new TempCtor;
|
|
419535
419348
|
ctor.prototype.constructor = ctor;
|
|
@@ -421572,7 +421385,7 @@ import readline from "node:readline";
|
|
|
421572
421385
|
import { execSync as execSync2 } from "node:child_process";
|
|
421573
421386
|
var import_semver = __toESM2(require_semver2(), 1);
|
|
421574
421387
|
// package.json
|
|
421575
|
-
var version = "0.1.
|
|
421388
|
+
var version = "0.1.56";
|
|
421576
421389
|
var package_default = {
|
|
421577
421390
|
name: "@tscircuit/cli",
|
|
421578
421391
|
main: "dist/main.js",
|
|
@@ -421600,11 +421413,12 @@ var package_default = {
|
|
|
421600
421413
|
"@biomejs/biome": "^1.9.4",
|
|
421601
421414
|
"@tscircuit/core": "^0.0.345",
|
|
421602
421415
|
"@tscircuit/eval": "^0.0.96",
|
|
421603
|
-
"@tscircuit/fake-snippets": "^0.0.
|
|
421416
|
+
"@tscircuit/fake-snippets": "^0.0.12",
|
|
421604
421417
|
"@tscircuit/file-server": "^0.0.13",
|
|
421605
421418
|
"@tscircuit/runframe": "^0.0.228",
|
|
421606
421419
|
"@types/bun": "^1.2.2",
|
|
421607
421420
|
"@types/configstore": "^6.0.2",
|
|
421421
|
+
"@types/debug": "^4.1.12",
|
|
421608
421422
|
"@types/react": "^19.0.8",
|
|
421609
421423
|
"@types/semver": "^7.5.8",
|
|
421610
421424
|
"bun-match-svg": "^0.0.9",
|
|
@@ -421614,6 +421428,7 @@ var package_default = {
|
|
|
421614
421428
|
commander: "^12.1.0",
|
|
421615
421429
|
configstore: "^7.0.0",
|
|
421616
421430
|
cosmiconfig: "^9.0.0",
|
|
421431
|
+
debug: "^4.4.0",
|
|
421617
421432
|
delay: "^6.0.0",
|
|
421618
421433
|
"dsn-converter": "^0.0.63",
|
|
421619
421434
|
"get-port": "^7.1.0",
|
|
@@ -423265,8 +423080,7 @@ import { type as osType } from "os";
|
|
|
423265
423080
|
var STR_DATA = "data";
|
|
423266
423081
|
var STR_END = "end";
|
|
423267
423082
|
var STR_CLOSE = "close";
|
|
423268
|
-
var EMPTY_FN = () => {
|
|
423269
|
-
};
|
|
423083
|
+
var EMPTY_FN = () => {};
|
|
423270
423084
|
var pl = process.platform;
|
|
423271
423085
|
var isWindows = pl === "win32";
|
|
423272
423086
|
var isMacos = pl === "darwin";
|
|
@@ -423638,8 +423452,7 @@ var setFsWatchListener = (path7, fullPath, options, handlers) => {
|
|
|
423638
423452
|
const fd = await open(path7, "r");
|
|
423639
423453
|
await fd.close();
|
|
423640
423454
|
broadcastErr(error);
|
|
423641
|
-
} catch (err) {
|
|
423642
|
-
}
|
|
423455
|
+
} catch (err) {}
|
|
423643
423456
|
} else {
|
|
423644
423457
|
broadcastErr(error);
|
|
423645
423458
|
}
|
|
@@ -424402,8 +424215,7 @@ class FSWatcher extends EventEmitter2 {
|
|
|
424402
424215
|
let stats2;
|
|
424403
424216
|
try {
|
|
424404
424217
|
stats2 = await stat3(fullPath);
|
|
424405
|
-
} catch (err) {
|
|
424406
|
-
}
|
|
424218
|
+
} catch (err) {}
|
|
424407
424219
|
if (!stats2 || this.closed)
|
|
424408
424220
|
return;
|
|
424409
424221
|
args.push(stats2);
|
|
@@ -424977,8 +424789,7 @@ class Interceptor {
|
|
|
424977
424789
|
for (const signal of signals_default) {
|
|
424978
424790
|
try {
|
|
424979
424791
|
process5.once(signal, () => this.exit(signal));
|
|
424980
|
-
} catch {
|
|
424981
|
-
}
|
|
424792
|
+
} catch {}
|
|
424982
424793
|
}
|
|
424983
424794
|
};
|
|
424984
424795
|
this.register = (callback) => {
|
|
@@ -425505,8 +425316,7 @@ var prettyResponseErrorHook = async (_request, _options, response) => {
|
|
|
425505
425316
|
throw new Error(`FAIL [${response.status}]: ${_request.method} ${new URL(_request.url).pathname}
|
|
425506
425317
|
|
|
425507
425318
|
${JSON.stringify(errorData, null, 2)}`);
|
|
425508
|
-
} catch (e) {
|
|
425509
|
-
}
|
|
425319
|
+
} catch (e) {}
|
|
425510
425320
|
}
|
|
425511
425321
|
};
|
|
425512
425322
|
var getKy = () => {
|
|
@@ -425520,10 +425330,13 @@ var getKy = () => {
|
|
|
425520
425330
|
|
|
425521
425331
|
// lib/shared/push-snippet.ts
|
|
425522
425332
|
var import_semver2 = __toESM2(require_semver2(), 1);
|
|
425333
|
+
var import_debug = __toESM2(require_src(), 1);
|
|
425523
425334
|
import * as fs11 from "node:fs";
|
|
425524
425335
|
import * as path12 from "node:path";
|
|
425336
|
+
var debug = import_debug.default("tsci:push-snippet");
|
|
425525
425337
|
var pushSnippet = async ({
|
|
425526
425338
|
filePath,
|
|
425339
|
+
isPrivate,
|
|
425527
425340
|
onExit = (code) => process.exit(code),
|
|
425528
425341
|
onError = (message) => console.error(message),
|
|
425529
425342
|
onSuccess = (message) => console.log(message)
|
|
@@ -425590,8 +425403,13 @@ var pushSnippet = async ({
|
|
|
425590
425403
|
}).json().then((response) => !(response.error?.error_code === "package_not_found"));
|
|
425591
425404
|
if (!doesPackageExist) {
|
|
425592
425405
|
await ky2.post("packages/create", {
|
|
425593
|
-
json: {
|
|
425406
|
+
json: {
|
|
425407
|
+
name: packageIdentifier,
|
|
425408
|
+
is_private: isPrivate ?? false
|
|
425409
|
+
},
|
|
425594
425410
|
headers: { Authorization: `Bearer ${sessionToken}` }
|
|
425411
|
+
}).then((response) => {
|
|
425412
|
+
onSuccess(`Package ${response.json()} created`);
|
|
425595
425413
|
}).catch((error) => {
|
|
425596
425414
|
onError(`Error creating package: ${error}`);
|
|
425597
425415
|
return onExit(1);
|
|
@@ -425757,8 +425575,7 @@ circuit.add(<MyCircuit />)
|
|
|
425757
425575
|
});
|
|
425758
425576
|
await pushSnippet({
|
|
425759
425577
|
filePath: this.componentFilePath,
|
|
425760
|
-
onExit: () => {
|
|
425761
|
-
},
|
|
425578
|
+
onExit: () => {},
|
|
425762
425579
|
onError: (e) => {
|
|
425763
425580
|
console.error("Failed to save snippet:- ", e);
|
|
425764
425581
|
postEvent("FAILED_TO_SAVE_SNIPPET", e);
|
|
@@ -429610,8 +429427,7 @@ var footprinter = () => {
|
|
|
429610
429427
|
}
|
|
429611
429428
|
}
|
|
429612
429429
|
} else {
|
|
429613
|
-
if (!v && ["w", "h", "p"].includes(prop)) {
|
|
429614
|
-
} else {
|
|
429430
|
+
if (!v && ["w", "h", "p"].includes(prop)) {} else {
|
|
429615
429431
|
target[prop] = v ?? true;
|
|
429616
429432
|
}
|
|
429617
429433
|
}
|
|
@@ -429627,25 +429443,25 @@ var fp = footprinter;
|
|
|
429627
429443
|
|
|
429628
429444
|
// node_modules/@tscircuit/core/dist/index.js
|
|
429629
429445
|
init_dist();
|
|
429630
|
-
var
|
|
429446
|
+
var import_debug5 = __toESM2(require_src(), 1);
|
|
429631
429447
|
var import_react = __toESM2(require_react(), 1);
|
|
429632
429448
|
var import_react_reconciler = __toESM2(require_react_reconciler(), 1);
|
|
429633
429449
|
var import_react_reconciler_18 = __toESM2(require_react_reconciler_18(), 1);
|
|
429634
429450
|
var import_constants12 = __toESM2(require_constants2(), 1);
|
|
429635
|
-
var
|
|
429451
|
+
var import_debug6 = __toESM2(require_src(), 1);
|
|
429636
429452
|
var import_transformation_matrix41 = __toESM2(require_build_commonjs(), 1);
|
|
429637
429453
|
init_dist();
|
|
429638
|
-
var
|
|
429454
|
+
var import_debug7 = __toESM2(require_src(), 1);
|
|
429639
429455
|
init_dist2();
|
|
429640
429456
|
var import_transformation_matrix42 = __toESM2(require_build_commonjs(), 1);
|
|
429641
429457
|
init_lib();
|
|
429642
429458
|
init_lib();
|
|
429643
429459
|
|
|
429644
429460
|
// node_modules/@tscircuit/infgrid-ijump-astar/dist/index.js
|
|
429645
|
-
var
|
|
429461
|
+
var import_debug2 = __toESM2(require_src(), 1);
|
|
429646
429462
|
init_dist();
|
|
429647
|
-
var
|
|
429648
|
-
var
|
|
429463
|
+
var import_debug3 = __toESM2(require_src(), 1);
|
|
429464
|
+
var import_debug4 = __toESM2(require_src(), 1);
|
|
429649
429465
|
init_dist3();
|
|
429650
429466
|
var import_performance_now = __toESM2(require_performance_now(), 1);
|
|
429651
429467
|
|
|
@@ -430279,7 +430095,7 @@ function addViasWhenLayerChanges(route) {
|
|
|
430279
430095
|
newRoute.push(route[route.length - 1]);
|
|
430280
430096
|
return newRoute;
|
|
430281
430097
|
}
|
|
430282
|
-
var
|
|
430098
|
+
var debug2 = import_debug3.default("autorouter:shortenPathWithShortcuts");
|
|
430283
430099
|
function shortenPathWithShortcuts(route, checkIfObstacleBetweenPoints) {
|
|
430284
430100
|
if (route.length <= 2) {
|
|
430285
430101
|
return route;
|
|
@@ -430384,7 +430200,7 @@ function shortenPathWithShortcuts(route, checkIfObstacleBetweenPoints) {
|
|
|
430384
430200
|
}
|
|
430385
430201
|
return shortened;
|
|
430386
430202
|
}
|
|
430387
|
-
var
|
|
430203
|
+
var debug22 = import_debug2.default("autorouting-dataset:astar");
|
|
430388
430204
|
var GeneralizedAstarAutorouter = class {
|
|
430389
430205
|
openSet = [];
|
|
430390
430206
|
closedSet = /* @__PURE__ */ new Set;
|
|
@@ -430412,13 +430228,13 @@ var GeneralizedAstarAutorouter = class {
|
|
|
430412
430228
|
this.GRID_STEP = opts.GRID_STEP ?? 0.1;
|
|
430413
430229
|
this.OBSTACLE_MARGIN = opts.OBSTACLE_MARGIN ?? 0.15;
|
|
430414
430230
|
this.MAX_ITERATIONS = opts.MAX_ITERATIONS ?? 100;
|
|
430415
|
-
this.debug = opts.debug ??
|
|
430231
|
+
this.debug = opts.debug ?? debug22.enabled;
|
|
430416
430232
|
this.isRemovePathLoopsEnabled = opts.isRemovePathLoopsEnabled ?? false;
|
|
430417
430233
|
this.isShortenPathWithShortcutsEnabled = opts.isShortenPathWithShortcutsEnabled ?? false;
|
|
430418
430234
|
if (this.debug) {
|
|
430419
|
-
|
|
430235
|
+
debug22.enabled = true;
|
|
430420
430236
|
}
|
|
430421
|
-
if (
|
|
430237
|
+
if (debug22.enabled) {
|
|
430422
430238
|
this.debugSolutions = {};
|
|
430423
430239
|
this.debugMessage = "";
|
|
430424
430240
|
}
|
|
@@ -430477,7 +430293,7 @@ var GeneralizedAstarAutorouter = class {
|
|
|
430477
430293
|
newNeighbors.push(neighborNode);
|
|
430478
430294
|
}
|
|
430479
430295
|
}
|
|
430480
|
-
if (
|
|
430296
|
+
if (debug22.enabled) {
|
|
430481
430297
|
openSet.sort((a, b) => a.f - b.f);
|
|
430482
430298
|
this.drawDebugSolution({ current: current2, newNeighbors });
|
|
430483
430299
|
}
|
|
@@ -430536,7 +430352,7 @@ var GeneralizedAstarAutorouter = class {
|
|
|
430536
430352
|
});
|
|
430537
430353
|
node = node.parent;
|
|
430538
430354
|
}
|
|
430539
|
-
if (
|
|
430355
|
+
if (debug22.enabled) {
|
|
430540
430356
|
this.debugMessage += `t${this.debugTraceCount}: ${this.iterations} iterations
|
|
430541
430357
|
`;
|
|
430542
430358
|
}
|
|
@@ -430568,7 +430384,7 @@ var GeneralizedAstarAutorouter = class {
|
|
|
430568
430384
|
break;
|
|
430569
430385
|
}
|
|
430570
430386
|
}
|
|
430571
|
-
if (
|
|
430387
|
+
if (debug22.enabled) {
|
|
430572
430388
|
this.debugMessage += `t${this.debugTraceCount}: ${this.iterations} iterations (failed)
|
|
430573
430389
|
`;
|
|
430574
430390
|
}
|
|
@@ -430599,7 +430415,7 @@ var GeneralizedAstarAutorouter = class {
|
|
|
430599
430415
|
let result = this.solveConnection(connection);
|
|
430600
430416
|
result = this.postprocessConnectionSolveResult(connection, result);
|
|
430601
430417
|
solutions.push(result);
|
|
430602
|
-
if (
|
|
430418
|
+
if (debug22.enabled) {
|
|
430603
430419
|
this.drawDebugTraceObstacles(obstaclesFromTraces);
|
|
430604
430420
|
}
|
|
430605
430421
|
if (result.solved) {
|
|
@@ -430738,7 +430554,7 @@ var GeneralizedAstarAutorouter = class {
|
|
|
430738
430554
|
}
|
|
430739
430555
|
}
|
|
430740
430556
|
};
|
|
430741
|
-
var debug3 =
|
|
430557
|
+
var debug3 = import_debug4.default("autorouting-dataset:infinite-grid-ijump-astar:get-distance-to-overcome-obstacle");
|
|
430742
430558
|
function getDistanceToOvercomeObstacle({
|
|
430743
430559
|
node,
|
|
430744
430560
|
travelDir,
|
|
@@ -431811,8 +431627,7 @@ init_dist();
|
|
|
431811
431627
|
init_lib();
|
|
431812
431628
|
init_lib();
|
|
431813
431629
|
init_lib();
|
|
431814
|
-
var expectTypesMatch2 = (shouldBe) => {
|
|
431815
|
-
};
|
|
431630
|
+
var expectTypesMatch2 = (shouldBe) => {};
|
|
431816
431631
|
expectTypesMatch2("extra props b");
|
|
431817
431632
|
expectTypesMatch2("missing props b");
|
|
431818
431633
|
expectTypesMatch2(true);
|
|
@@ -432851,8 +432666,7 @@ var CnId = 0;
|
|
|
432851
432666
|
// node_modules/@lume/kiwi/dist/solver.js
|
|
432852
432667
|
class Solver {
|
|
432853
432668
|
maxIterations = 1000;
|
|
432854
|
-
constructor() {
|
|
432855
|
-
}
|
|
432669
|
+
constructor() {}
|
|
432856
432670
|
createConstraint(lhs, operator, rhs, strength = Strength.required) {
|
|
432857
432671
|
let cn = new Constraint(lhs, operator, rhs, strength);
|
|
432858
432672
|
this.addConstraint(cn);
|
|
@@ -433405,7 +433219,7 @@ class Row {
|
|
|
433405
433219
|
_constant;
|
|
433406
433220
|
}
|
|
433407
433221
|
// node_modules/@tscircuit/core/dist/index.js
|
|
433408
|
-
var
|
|
433222
|
+
var import_debug8 = __toESM2(require_src(), 1);
|
|
433409
433223
|
init_dist();
|
|
433410
433224
|
|
|
433411
433225
|
// node_modules/@tscircuit/math-utils/dist/index.js
|
|
@@ -433719,8 +433533,7 @@ var transformSchematicElement = (elm, matrix) => {
|
|
|
433719
433533
|
}
|
|
433720
433534
|
} else if (elm.type === "schematic_text") {
|
|
433721
433535
|
elm.position = import_transformation_matrix3.applyToPoint(matrix, elm.position);
|
|
433722
|
-
} else if (elm.type === "schematic_trace") {
|
|
433723
|
-
} else if (elm.type === "schematic_box") {
|
|
433536
|
+
} else if (elm.type === "schematic_trace") {} else if (elm.type === "schematic_box") {
|
|
433724
433537
|
const { x, y } = import_transformation_matrix3.applyToPoint(matrix, { x: elm.x, y: elm.y });
|
|
433725
433538
|
elm.x = x;
|
|
433726
433539
|
elm.y = y;
|
|
@@ -434217,8 +434030,7 @@ var BaseSolver = class {
|
|
|
434217
434030
|
this.failed = true;
|
|
434218
434031
|
}
|
|
434219
434032
|
}
|
|
434220
|
-
_step() {
|
|
434221
|
-
}
|
|
434033
|
+
_step() {}
|
|
434222
434034
|
solve() {
|
|
434223
434035
|
while (!this.solved && !this.failed) {
|
|
434224
434036
|
this.step();
|
|
@@ -434407,10 +434219,8 @@ function _isNativeFunction(t2) {
|
|
|
434407
434219
|
}
|
|
434408
434220
|
function _isNativeReflectConstruct() {
|
|
434409
434221
|
try {
|
|
434410
|
-
var t2 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
434411
|
-
|
|
434412
|
-
} catch (t22) {
|
|
434413
|
-
}
|
|
434222
|
+
var t2 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
434223
|
+
} catch (t22) {}
|
|
434414
434224
|
return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
|
|
434415
434225
|
return !!t2;
|
|
434416
434226
|
})();
|
|
@@ -434695,8 +434505,7 @@ var PolishedError = /* @__PURE__ */ function(_Error) {
|
|
|
434695
434505
|
_inheritsLoose(PolishedError2, _Error);
|
|
434696
434506
|
function PolishedError2(code) {
|
|
434697
434507
|
var _this;
|
|
434698
|
-
if (false) {
|
|
434699
|
-
} else {
|
|
434508
|
+
if (false) {} else {
|
|
434700
434509
|
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1;_key2 < _len2; _key2++) {
|
|
434701
434510
|
args[_key2 - 1] = arguments[_key2];
|
|
434702
434511
|
}
|
|
@@ -436656,8 +436465,7 @@ var HyperParameterSupervisorSolver = class extends BaseSolver {
|
|
|
436656
436465
|
this.onSolve?.(supervisedSolver);
|
|
436657
436466
|
}
|
|
436658
436467
|
}
|
|
436659
|
-
onSolve(solver2) {
|
|
436660
|
-
}
|
|
436468
|
+
onSolve(solver2) {}
|
|
436661
436469
|
visualize() {
|
|
436662
436470
|
const bestSupervisedSolver = this.getSupervisedSolverWithBestFitness();
|
|
436663
436471
|
let graphics = {
|
|
@@ -438903,7 +438711,7 @@ var CapacityMeshSolver = class extends BaseSolver {
|
|
|
438903
438711
|
|
|
438904
438712
|
// node_modules/@tscircuit/core/dist/index.js
|
|
438905
438713
|
init_dist();
|
|
438906
|
-
var
|
|
438714
|
+
var import_debug9 = __toESM2(require_src(), 1);
|
|
438907
438715
|
var import_transformation_matrix48 = __toESM2(require_build_commonjs(), 1);
|
|
438908
438716
|
init_dist3();
|
|
438909
438717
|
init_dist3();
|
|
@@ -439003,7 +438811,7 @@ __export4(components_exports, {
|
|
|
439003
438811
|
Transistor: () => Transistor,
|
|
439004
438812
|
Via: () => Via
|
|
439005
438813
|
});
|
|
439006
|
-
var debug4 =
|
|
438814
|
+
var debug4 = import_debug6.default("tscircuit:renderable");
|
|
439007
438815
|
var orderedRenderPhases = [
|
|
439008
438816
|
"ReactSubtreesRender",
|
|
439009
438817
|
"InitializePortsFromChildren",
|
|
@@ -439248,16 +439056,11 @@ var hostConfig = {
|
|
|
439248
439056
|
prepareForCommit() {
|
|
439249
439057
|
return null;
|
|
439250
439058
|
},
|
|
439251
|
-
resetAfterCommit() {
|
|
439252
|
-
},
|
|
439253
|
-
|
|
439254
|
-
},
|
|
439255
|
-
|
|
439256
|
-
},
|
|
439257
|
-
removeChild() {
|
|
439258
|
-
},
|
|
439259
|
-
clearContainer() {
|
|
439260
|
-
},
|
|
439059
|
+
resetAfterCommit() {},
|
|
439060
|
+
commitMount() {},
|
|
439061
|
+
commitUpdate() {},
|
|
439062
|
+
removeChild() {},
|
|
439063
|
+
clearContainer() {},
|
|
439261
439064
|
supportsPersistence: false,
|
|
439262
439065
|
getPublicInstance(instance) {
|
|
439263
439066
|
return instance;
|
|
@@ -439294,8 +439097,7 @@ var hostConfig = {
|
|
|
439294
439097
|
getCurrentEventPriority: () => import_constants12.DefaultEventPriority,
|
|
439295
439098
|
getCurrentUpdatePriority: () => import_constants12.DefaultEventPriority,
|
|
439296
439099
|
resolveUpdatePriority: () => import_constants12.DefaultEventPriority,
|
|
439297
|
-
setCurrentUpdatePriority: () => {
|
|
439298
|
-
},
|
|
439100
|
+
setCurrentUpdatePriority: () => {},
|
|
439299
439101
|
maySuspendCommit: () => false,
|
|
439300
439102
|
supportsHydration: false
|
|
439301
439103
|
};
|
|
@@ -439326,12 +439128,10 @@ var createInstanceFromReactElement = (reactElm) => {
|
|
|
439326
439128
|
containerErrors.push(error);
|
|
439327
439129
|
}, null);
|
|
439328
439130
|
if (import_react.default.version.startsWith("19.")) {
|
|
439329
|
-
reconciler.updateContainerSync(reactElm, container, null, () => {
|
|
439330
|
-
});
|
|
439131
|
+
reconciler.updateContainerSync(reactElm, container, null, () => {});
|
|
439331
439132
|
reconciler.flushSyncWork();
|
|
439332
439133
|
} else {
|
|
439333
|
-
reconciler.updateContainer(reactElm, container, null, () => {
|
|
439334
|
-
});
|
|
439134
|
+
reconciler.updateContainer(reactElm, container, null, () => {});
|
|
439335
439135
|
}
|
|
439336
439136
|
if (containerErrors.length > 0) {
|
|
439337
439137
|
throw containerErrors[0];
|
|
@@ -439464,7 +439264,7 @@ function isMatchingSelector(component, selector) {
|
|
|
439464
439264
|
return component.props[prop].toString() === value2;
|
|
439465
439265
|
});
|
|
439466
439266
|
}
|
|
439467
|
-
var debugSelectAll =
|
|
439267
|
+
var debugSelectAll = import_debug7.default("tscircuit:primitive-component:selectAll");
|
|
439468
439268
|
var PrimitiveComponent = class extends Renderable {
|
|
439469
439269
|
parent = null;
|
|
439470
439270
|
children;
|
|
@@ -439702,8 +439502,7 @@ var PrimitiveComponent = class extends Renderable {
|
|
|
439702
439502
|
onAddToParent(parent) {
|
|
439703
439503
|
this.parent = parent;
|
|
439704
439504
|
}
|
|
439705
|
-
onPropsChange(params2) {
|
|
439706
|
-
}
|
|
439505
|
+
onPropsChange(params2) {}
|
|
439707
439506
|
onChildChanged(child) {
|
|
439708
439507
|
this.parent?.onChildChanged?.(child);
|
|
439709
439508
|
}
|
|
@@ -441281,7 +441080,7 @@ var getAllDimensionsForSchematicBox = (params2) => {
|
|
|
441281
441080
|
pinCount
|
|
441282
441081
|
};
|
|
441283
441082
|
};
|
|
441284
|
-
var
|
|
441083
|
+
var debug23 = import_debug8.default("tscircuit:core:footprint");
|
|
441285
441084
|
var Footprint = class extends PrimitiveComponent {
|
|
441286
441085
|
get config() {
|
|
441287
441086
|
return {
|
|
@@ -441381,7 +441180,7 @@ var Footprint = class extends PrimitiveComponent {
|
|
|
441381
441180
|
}
|
|
441382
441181
|
}
|
|
441383
441182
|
solver2.updateVariables();
|
|
441384
|
-
if (
|
|
441183
|
+
if (debug23.enabled) {
|
|
441385
441184
|
console.log("Solution to layout constraints:");
|
|
441386
441185
|
console.table(Object.entries(kVars).map(([key, kvar]) => ({
|
|
441387
441186
|
var: key,
|
|
@@ -442768,7 +442567,7 @@ searched component ${targetComponent.getString()}, which has ports: ${targetComp
|
|
|
442768
442567
|
this.schematic_trace_id = trace.schematic_trace_id;
|
|
442769
442568
|
}
|
|
442770
442569
|
};
|
|
442771
|
-
var debug32 =
|
|
442570
|
+
var debug32 = import_debug5.default("tscircuit:core");
|
|
442772
442571
|
var rotation3 = z.object({
|
|
442773
442572
|
x: rotation,
|
|
442774
442573
|
y: rotation,
|
|
@@ -443892,14 +443691,14 @@ var Group = class extends NormalComponent {
|
|
|
443892
443691
|
return false;
|
|
443893
443692
|
}
|
|
443894
443693
|
_hasTracesToRoute() {
|
|
443895
|
-
const debug42 =
|
|
443694
|
+
const debug42 = import_debug9.default("tscircuit:core:_hasTracesToRoute");
|
|
443896
443695
|
const traces = this.selectAll("trace");
|
|
443897
443696
|
debug42(`[${this.getString()}] has ${traces.length} traces to route`);
|
|
443898
443697
|
return traces.length > 0;
|
|
443899
443698
|
}
|
|
443900
443699
|
async _runEffectMakeHttpAutoroutingRequest() {
|
|
443901
443700
|
const { db } = this.root;
|
|
443902
|
-
const debug42 =
|
|
443701
|
+
const debug42 = import_debug9.default("tscircuit:core:_runEffectMakeHttpAutoroutingRequest");
|
|
443903
443702
|
const props = this._parsedProps;
|
|
443904
443703
|
const autorouterConfig2 = this._getAutorouterConfig();
|
|
443905
443704
|
const serverUrl = autorouterConfig2.serverUrl;
|
|
@@ -443997,7 +443796,7 @@ var Group = class extends NormalComponent {
|
|
|
443997
443796
|
async _runLocalAutorouting() {
|
|
443998
443797
|
const { db } = this.root;
|
|
443999
443798
|
const props = this._parsedProps;
|
|
444000
|
-
const debug42 =
|
|
443799
|
+
const debug42 = import_debug9.default("tscircuit:core:_runLocalAutorouting");
|
|
444001
443800
|
debug42(`[${this.getString()}] starting local autorouting`);
|
|
444002
443801
|
const autorouterConfig2 = this._getAutorouterConfig();
|
|
444003
443802
|
const { simpleRouteJson, connMap } = getSimpleRouteJsonFromCircuitJson({
|
|
@@ -444071,7 +443870,7 @@ var Group = class extends NormalComponent {
|
|
|
444071
443870
|
}
|
|
444072
443871
|
}
|
|
444073
443872
|
doInitialPcbTraceRender() {
|
|
444074
|
-
const debug42 =
|
|
443873
|
+
const debug42 = import_debug9.default("tscircuit:core:doInitialPcbTraceRender");
|
|
444075
443874
|
if (!this.isSubcircuit)
|
|
444076
443875
|
return;
|
|
444077
443876
|
if (this.root?.pcbDisabled)
|
|
@@ -444090,7 +443889,7 @@ var Group = class extends NormalComponent {
|
|
|
444090
443889
|
this._startAsyncAutorouting();
|
|
444091
443890
|
}
|
|
444092
443891
|
updatePcbTraceRender() {
|
|
444093
|
-
const debug42 =
|
|
443892
|
+
const debug42 = import_debug9.default("tscircuit:core:updatePcbTraceRender");
|
|
444094
443893
|
debug42(`[${this.getString()}] updating...`);
|
|
444095
443894
|
if (!this.isSubcircuit)
|
|
444096
443895
|
return;
|
|
@@ -445912,8 +445711,7 @@ function createHostConfig(jscad) {
|
|
|
445912
445711
|
prepareForCommit() {
|
|
445913
445712
|
return null;
|
|
445914
445713
|
},
|
|
445915
|
-
resetAfterCommit() {
|
|
445916
|
-
},
|
|
445714
|
+
resetAfterCommit() {},
|
|
445917
445715
|
getPublicInstance(instance) {
|
|
445918
445716
|
return instance;
|
|
445919
445717
|
},
|
|
@@ -445926,23 +445724,18 @@ function createHostConfig(jscad) {
|
|
|
445926
445724
|
shouldSetTextContent() {
|
|
445927
445725
|
return false;
|
|
445928
445726
|
},
|
|
445929
|
-
clearContainer() {
|
|
445930
|
-
},
|
|
445727
|
+
clearContainer() {},
|
|
445931
445728
|
scheduleTimeout: setTimeout,
|
|
445932
445729
|
cancelTimeout: clearTimeout,
|
|
445933
445730
|
noTimeout: -1,
|
|
445934
445731
|
isPrimaryRenderer: true,
|
|
445935
445732
|
getCurrentEventPriority: () => 99,
|
|
445936
445733
|
getInstanceFromNode: () => null,
|
|
445937
|
-
beforeActiveInstanceBlur: () => {
|
|
445938
|
-
},
|
|
445939
|
-
|
|
445940
|
-
},
|
|
445941
|
-
prepareScopeUpdate: () => {
|
|
445942
|
-
},
|
|
445734
|
+
beforeActiveInstanceBlur: () => {},
|
|
445735
|
+
afterActiveInstanceBlur: () => {},
|
|
445736
|
+
prepareScopeUpdate: () => {},
|
|
445943
445737
|
getInstanceFromScope: () => null,
|
|
445944
|
-
detachDeletedInstance: () => {
|
|
445945
|
-
}
|
|
445738
|
+
detachDeletedInstance: () => {}
|
|
445946
445739
|
};
|
|
445947
445740
|
return hostConfig2;
|
|
445948
445741
|
}
|
|
@@ -446255,8 +446048,7 @@ function createJSCADRenderer(jscad) {
|
|
|
446255
446048
|
const root = reconciler2.createContainer(container, 0, null, false, null, "", (error) => console.error(error), null);
|
|
446256
446049
|
return {
|
|
446257
446050
|
render(element) {
|
|
446258
|
-
reconciler2.updateContainer(element, root, null, () => {
|
|
446259
|
-
});
|
|
446051
|
+
reconciler2.updateContainer(element, root, null, () => {});
|
|
446260
446052
|
}
|
|
446261
446053
|
};
|
|
446262
446054
|
}
|
|
@@ -446499,33 +446291,33 @@ import fs15 from "node:fs";
|
|
|
446499
446291
|
var import_transformation_matrix51 = __toESM2(require_build_commonjs(), 1);
|
|
446500
446292
|
init_dist3();
|
|
446501
446293
|
init_dist3();
|
|
446502
|
-
var
|
|
446294
|
+
var import_debug10 = __toESM2(require_src(), 1);
|
|
446503
446295
|
init_dist3();
|
|
446504
446296
|
var import_transformation_matrix52 = __toESM2(require_build_commonjs(), 1);
|
|
446505
446297
|
init_dist3();
|
|
446506
|
-
var
|
|
446298
|
+
var import_debug11 = __toESM2(require_src(), 1);
|
|
446507
446299
|
init_dist3();
|
|
446508
446300
|
var import_transformation_matrix53 = __toESM2(require_build_commonjs(), 1);
|
|
446509
446301
|
var import_transformation_matrix54 = __toESM2(require_build_commonjs(), 1);
|
|
446510
446302
|
var import_transformation_matrix55 = __toESM2(require_build_commonjs(), 1);
|
|
446511
|
-
var
|
|
446303
|
+
var import_debug12 = __toESM2(require_src(), 1);
|
|
446512
446304
|
var import_transformation_matrix56 = __toESM2(require_build_commonjs(), 1);
|
|
446513
446305
|
var import_transformation_matrix57 = __toESM2(require_build_commonjs(), 1);
|
|
446514
446306
|
var import_transformation_matrix58 = __toESM2(require_build_commonjs(), 1);
|
|
446515
|
-
var
|
|
446516
|
-
var
|
|
446307
|
+
var import_debug13 = __toESM2(require_src(), 1);
|
|
446308
|
+
var import_debug14 = __toESM2(require_src(), 1);
|
|
446517
446309
|
var import_transformation_matrix59 = __toESM2(require_build_commonjs(), 1);
|
|
446518
|
-
var
|
|
446310
|
+
var import_debug15 = __toESM2(require_src(), 1);
|
|
446519
446311
|
var import_transformation_matrix60 = __toESM2(require_build_commonjs(), 1);
|
|
446520
446312
|
init_dist3();
|
|
446521
446313
|
var import_transformation_matrix61 = __toESM2(require_build_commonjs(), 1);
|
|
446522
|
-
var
|
|
446314
|
+
var import_debug16 = __toESM2(require_src(), 1);
|
|
446523
446315
|
var import_transformation_matrix62 = __toESM2(require_build_commonjs(), 1);
|
|
446524
446316
|
var import_transformation_matrix63 = __toESM2(require_build_commonjs(), 1);
|
|
446525
446317
|
init_dist3();
|
|
446526
|
-
var
|
|
446527
|
-
var
|
|
446528
|
-
var
|
|
446318
|
+
var import_debug17 = __toESM2(require_src(), 1);
|
|
446319
|
+
var import_debug18 = __toESM2(require_src(), 1);
|
|
446320
|
+
var import_debug19 = __toESM2(require_src(), 1);
|
|
446529
446321
|
function getComponentValue(sourceComponent) {
|
|
446530
446322
|
if (!sourceComponent)
|
|
446531
446323
|
return "";
|
|
@@ -446926,7 +446718,7 @@ function getCombinedSourcePortName(circuitElements, connectedSourcePortIds) {
|
|
|
446926
446718
|
}
|
|
446927
446719
|
return portInfos.map((p) => p.displayName).join("--");
|
|
446928
446720
|
}
|
|
446929
|
-
var debug6 =
|
|
446721
|
+
var debug6 = import_debug10.default("dsn-converter:processPcbTraces");
|
|
446930
446722
|
var DEFAULT_VIA_DIAMETER = 600;
|
|
446931
446723
|
var DEFAULT_VIA_HOLE = 300;
|
|
446932
446724
|
function createWire(opts) {
|
|
@@ -447310,7 +447102,7 @@ function groupComponents(circuitElements) {
|
|
|
447310
447102
|
}
|
|
447311
447103
|
return Array.from(componentMap.values());
|
|
447312
447104
|
}
|
|
447313
|
-
var
|
|
447105
|
+
var debug24 = import_debug11.default("dsn-converter:mergeDsnSessionIntoDsnPcb");
|
|
447314
447106
|
var stringifyDsnJson = (dsnJson) => {
|
|
447315
447107
|
const indent = " ";
|
|
447316
447108
|
let result = "";
|
|
@@ -447499,14 +447291,14 @@ var convertCircuitJsonToDsnString = (circuitJson) => {
|
|
|
447499
447291
|
const dsnJson = convertCircuitJsonToDsnJson(circuitJson);
|
|
447500
447292
|
return stringifyDsnJson(dsnJson);
|
|
447501
447293
|
};
|
|
447502
|
-
var debug33 =
|
|
447503
|
-
var debug42 =
|
|
447504
|
-
var debug5 =
|
|
447505
|
-
var debug62 =
|
|
447506
|
-
var debug7 =
|
|
447507
|
-
var debug8 =
|
|
447508
|
-
var debug9 =
|
|
447509
|
-
var debug10 =
|
|
447294
|
+
var debug33 = import_debug12.default("dsn-converter:convertPadstacksToSmtpads");
|
|
447295
|
+
var debug42 = import_debug13.default("dsn-converter:convertWiringPathToPcbTraces");
|
|
447296
|
+
var debug5 = import_debug15.default("dsn-converter:convertWiringViaToPcbVias");
|
|
447297
|
+
var debug62 = import_debug14.default("dsn-converter:convertWiresToPcbTraces");
|
|
447298
|
+
var debug7 = import_debug16.default("dsn-converter");
|
|
447299
|
+
var debug8 = import_debug18.default("dsn-converter:getPinNum");
|
|
447300
|
+
var debug9 = import_debug19.default("dsn-converter:getViaCoords");
|
|
447301
|
+
var debug10 = import_debug17.default("dsn-converter:parse-dsn-to-dsn-json");
|
|
447510
447302
|
|
|
447511
447303
|
// node_modules/circuit-json-to-readable-netlist/dist/index.js
|
|
447512
447304
|
init_dist3();
|
|
@@ -447790,9 +447582,10 @@ var registerAuthSetToken = (program3) => {
|
|
|
447790
447582
|
|
|
447791
447583
|
// cli/push/register.ts
|
|
447792
447584
|
var registerPush = (program3) => {
|
|
447793
|
-
program3.command("push").description("Save snippet code to Registry API").argument("[file]", "Path to the snippet file").action(async (filePath) => {
|
|
447585
|
+
program3.command("push").description("Save snippet code to Registry API").argument("[file]", "Path to the snippet file").option("--private", "Make the snippet private").action(async (filePath, options = {}) => {
|
|
447794
447586
|
await pushSnippet({
|
|
447795
447587
|
filePath,
|
|
447588
|
+
isPrivate: options.private ?? false,
|
|
447796
447589
|
onExit: (code) => process.exit(code),
|
|
447797
447590
|
onError: (message) => console.error(message),
|
|
447798
447591
|
onSuccess: (message) => console.log(message)
|