@base44-preview/cli 0.0.47-pr.441.3070a4f → 0.0.48-pr.445.4fa436f
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/cli/index.js +1260 -800
- package/dist/cli/index.js.map +41 -29
- package/package.json +1 -47
package/dist/cli/index.js
CHANGED
|
@@ -9671,12 +9671,12 @@ var require_schema = __commonJS((exports, module) => {
|
|
|
9671
9671
|
var common = require_common3();
|
|
9672
9672
|
var YAMLException = require_exception();
|
|
9673
9673
|
var Type = require_type();
|
|
9674
|
-
function compileList(
|
|
9674
|
+
function compileList(schema6, name2, result) {
|
|
9675
9675
|
var exclude = [];
|
|
9676
|
-
|
|
9676
|
+
schema6.include.forEach(function(includedSchema) {
|
|
9677
9677
|
result = compileList(includedSchema, name2, result);
|
|
9678
9678
|
});
|
|
9679
|
-
|
|
9679
|
+
schema6[name2].forEach(function(currentType) {
|
|
9680
9680
|
result.forEach(function(previousType, previousIndex) {
|
|
9681
9681
|
if (previousType.tag === currentType.tag && previousType.kind === currentType.kind) {
|
|
9682
9682
|
exclude.push(previousIndex);
|
|
@@ -9733,8 +9733,8 @@ var require_schema = __commonJS((exports, module) => {
|
|
|
9733
9733
|
}
|
|
9734
9734
|
schemas3 = common.toArray(schemas3);
|
|
9735
9735
|
types = common.toArray(types);
|
|
9736
|
-
if (!schemas3.every(function(
|
|
9737
|
-
return
|
|
9736
|
+
if (!schemas3.every(function(schema6) {
|
|
9737
|
+
return schema6 instanceof Schema;
|
|
9738
9738
|
})) {
|
|
9739
9739
|
throw new YAMLException("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");
|
|
9740
9740
|
}
|
|
@@ -11755,7 +11755,7 @@ var require_dumper = __commonJS((exports, module) => {
|
|
|
11755
11755
|
"Off",
|
|
11756
11756
|
"OFF"
|
|
11757
11757
|
];
|
|
11758
|
-
function compileStyleMap(
|
|
11758
|
+
function compileStyleMap(schema6, map2) {
|
|
11759
11759
|
var result, keys, index, length, tag, style, type;
|
|
11760
11760
|
if (map2 === null)
|
|
11761
11761
|
return {};
|
|
@@ -11767,7 +11767,7 @@ var require_dumper = __commonJS((exports, module) => {
|
|
|
11767
11767
|
if (tag.slice(0, 2) === "!!") {
|
|
11768
11768
|
tag = "tag:yaml.org,2002:" + tag.slice(2);
|
|
11769
11769
|
}
|
|
11770
|
-
type =
|
|
11770
|
+
type = schema6.compiledTypeMap["fallback"][tag];
|
|
11771
11771
|
if (type && _hasOwnProperty.call(type.styleAliases, style)) {
|
|
11772
11772
|
style = type.styleAliases[style];
|
|
11773
11773
|
}
|
|
@@ -16067,7 +16067,7 @@ var require_lodash = __commonJS((exports, module) => {
|
|
|
16067
16067
|
}
|
|
16068
16068
|
return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, undefined2, comparator) : [];
|
|
16069
16069
|
});
|
|
16070
|
-
function
|
|
16070
|
+
function join12(array2, separator) {
|
|
16071
16071
|
return array2 == null ? "" : nativeJoin.call(array2, separator);
|
|
16072
16072
|
}
|
|
16073
16073
|
function last(array2) {
|
|
@@ -16089,7 +16089,7 @@ var require_lodash = __commonJS((exports, module) => {
|
|
|
16089
16089
|
function nth(array2, n2) {
|
|
16090
16090
|
return array2 && array2.length ? baseNth(array2, toInteger(n2)) : undefined2;
|
|
16091
16091
|
}
|
|
16092
|
-
var
|
|
16092
|
+
var pull4 = baseRest(pullAll);
|
|
16093
16093
|
function pullAll(array2, values2) {
|
|
16094
16094
|
return array2 && array2.length && values2 && values2.length ? basePullAll(array2, values2) : array2;
|
|
16095
16095
|
}
|
|
@@ -17854,7 +17854,7 @@ __p += '`;
|
|
|
17854
17854
|
lodash.pickBy = pickBy;
|
|
17855
17855
|
lodash.property = property;
|
|
17856
17856
|
lodash.propertyOf = propertyOf;
|
|
17857
|
-
lodash.pull =
|
|
17857
|
+
lodash.pull = pull4;
|
|
17858
17858
|
lodash.pullAll = pullAll;
|
|
17859
17859
|
lodash.pullAllBy = pullAllBy;
|
|
17860
17860
|
lodash.pullAllWith = pullAllWith;
|
|
@@ -17999,7 +17999,7 @@ __p += '`;
|
|
|
17999
17999
|
lodash.isUndefined = isUndefined;
|
|
18000
18000
|
lodash.isWeakMap = isWeakMap;
|
|
18001
18001
|
lodash.isWeakSet = isWeakSet;
|
|
18002
|
-
lodash.join =
|
|
18002
|
+
lodash.join = join12;
|
|
18003
18003
|
lodash.kebabCase = kebabCase;
|
|
18004
18004
|
lodash.last = last;
|
|
18005
18005
|
lodash.lastIndexOf = lastIndexOf;
|
|
@@ -18954,7 +18954,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
18954
18954
|
if (value instanceof String || value instanceof Number || value instanceof Boolean || typeof BigInt !== "undefined" && value instanceof BigInt) {
|
|
18955
18955
|
value = value.valueOf();
|
|
18956
18956
|
}
|
|
18957
|
-
const { aliasDuplicateObjects, onAnchor, onTagObj, schema:
|
|
18957
|
+
const { aliasDuplicateObjects, onAnchor, onTagObj, schema: schema9, sourceObjects } = ctx;
|
|
18958
18958
|
let ref = undefined;
|
|
18959
18959
|
if (aliasDuplicateObjects && value && typeof value === "object") {
|
|
18960
18960
|
ref = sourceObjects.get(value);
|
|
@@ -18968,7 +18968,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
18968
18968
|
}
|
|
18969
18969
|
if (tagName?.startsWith("!!"))
|
|
18970
18970
|
tagName = defaultTagPrefix + tagName.slice(2);
|
|
18971
|
-
let tagObj = findTagObject(value, tagName,
|
|
18971
|
+
let tagObj = findTagObject(value, tagName, schema9.tags);
|
|
18972
18972
|
if (!tagObj) {
|
|
18973
18973
|
if (value && typeof value.toJSON === "function") {
|
|
18974
18974
|
value = value.toJSON();
|
|
@@ -18979,7 +18979,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
18979
18979
|
ref.node = node2;
|
|
18980
18980
|
return node2;
|
|
18981
18981
|
}
|
|
18982
|
-
tagObj = value instanceof Map ?
|
|
18982
|
+
tagObj = value instanceof Map ? schema9[identity3.MAP] : (Symbol.iterator in Object(value)) ? schema9[identity3.SEQ] : schema9[identity3.MAP];
|
|
18983
18983
|
}
|
|
18984
18984
|
if (onTagObj) {
|
|
18985
18985
|
onTagObj(tagObj);
|
|
@@ -19002,7 +19002,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
19002
19002
|
var createNode = require_createNode();
|
|
19003
19003
|
var identity3 = require_identity();
|
|
19004
19004
|
var Node2 = require_Node();
|
|
19005
|
-
function collectionFromPath(
|
|
19005
|
+
function collectionFromPath(schema9, path16, value) {
|
|
19006
19006
|
let v = value;
|
|
19007
19007
|
for (let i2 = path16.length - 1;i2 >= 0; --i2) {
|
|
19008
19008
|
const k2 = path16[i2];
|
|
@@ -19020,27 +19020,27 @@ var require_Collection = __commonJS((exports) => {
|
|
|
19020
19020
|
onAnchor: () => {
|
|
19021
19021
|
throw new Error("This should not happen, please report a bug.");
|
|
19022
19022
|
},
|
|
19023
|
-
schema:
|
|
19023
|
+
schema: schema9,
|
|
19024
19024
|
sourceObjects: new Map
|
|
19025
19025
|
});
|
|
19026
19026
|
}
|
|
19027
19027
|
var isEmptyPath = (path16) => path16 == null || typeof path16 === "object" && !!path16[Symbol.iterator]().next().done;
|
|
19028
19028
|
|
|
19029
19029
|
class Collection extends Node2.NodeBase {
|
|
19030
|
-
constructor(type,
|
|
19030
|
+
constructor(type, schema9) {
|
|
19031
19031
|
super(type);
|
|
19032
19032
|
Object.defineProperty(this, "schema", {
|
|
19033
|
-
value:
|
|
19033
|
+
value: schema9,
|
|
19034
19034
|
configurable: true,
|
|
19035
19035
|
enumerable: false,
|
|
19036
19036
|
writable: true
|
|
19037
19037
|
});
|
|
19038
19038
|
}
|
|
19039
|
-
clone(
|
|
19039
|
+
clone(schema9) {
|
|
19040
19040
|
const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
|
|
19041
|
-
if (
|
|
19042
|
-
copy.schema =
|
|
19043
|
-
copy.items = copy.items.map((it3) => identity3.isNode(it3) || identity3.isPair(it3) ? it3.clone(
|
|
19041
|
+
if (schema9)
|
|
19042
|
+
copy.schema = schema9;
|
|
19043
|
+
copy.items = copy.items.map((it3) => identity3.isNode(it3) || identity3.isPair(it3) ? it3.clone(schema9) : it3);
|
|
19044
19044
|
if (this.range)
|
|
19045
19045
|
copy.range = this.range.slice();
|
|
19046
19046
|
return copy;
|
|
@@ -19972,12 +19972,12 @@ var require_Pair = __commonJS((exports) => {
|
|
|
19972
19972
|
this.key = key;
|
|
19973
19973
|
this.value = value;
|
|
19974
19974
|
}
|
|
19975
|
-
clone(
|
|
19975
|
+
clone(schema9) {
|
|
19976
19976
|
let { key, value } = this;
|
|
19977
19977
|
if (identity3.isNode(key))
|
|
19978
|
-
key = key.clone(
|
|
19978
|
+
key = key.clone(schema9);
|
|
19979
19979
|
if (identity3.isNode(value))
|
|
19980
|
-
value = value.clone(
|
|
19980
|
+
value = value.clone(schema9);
|
|
19981
19981
|
return new Pair(key, value);
|
|
19982
19982
|
}
|
|
19983
19983
|
toJSON(_2, ctx) {
|
|
@@ -20162,13 +20162,13 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
20162
20162
|
static get tagName() {
|
|
20163
20163
|
return "tag:yaml.org,2002:map";
|
|
20164
20164
|
}
|
|
20165
|
-
constructor(
|
|
20166
|
-
super(identity3.MAP,
|
|
20165
|
+
constructor(schema9) {
|
|
20166
|
+
super(identity3.MAP, schema9);
|
|
20167
20167
|
this.items = [];
|
|
20168
20168
|
}
|
|
20169
|
-
static from(
|
|
20169
|
+
static from(schema9, obj, ctx) {
|
|
20170
20170
|
const { keepUndefined, replacer } = ctx;
|
|
20171
|
-
const map2 = new this(
|
|
20171
|
+
const map2 = new this(schema9);
|
|
20172
20172
|
const add = (key, value) => {
|
|
20173
20173
|
if (typeof replacer === "function")
|
|
20174
20174
|
value = replacer.call(obj, key, value);
|
|
@@ -20184,8 +20184,8 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
20184
20184
|
for (const key of Object.keys(obj))
|
|
20185
20185
|
add(key, obj[key]);
|
|
20186
20186
|
}
|
|
20187
|
-
if (typeof
|
|
20188
|
-
map2.items.sort(
|
|
20187
|
+
if (typeof schema9.sortMapEntries === "function") {
|
|
20188
|
+
map2.items.sort(schema9.sortMapEntries);
|
|
20189
20189
|
}
|
|
20190
20190
|
return map2;
|
|
20191
20191
|
}
|
|
@@ -20278,7 +20278,7 @@ var require_map2 = __commonJS((exports) => {
|
|
|
20278
20278
|
onError("Expected a mapping for this tag");
|
|
20279
20279
|
return map3;
|
|
20280
20280
|
},
|
|
20281
|
-
createNode: (
|
|
20281
|
+
createNode: (schema9, obj, ctx) => YAMLMap.YAMLMap.from(schema9, obj, ctx)
|
|
20282
20282
|
};
|
|
20283
20283
|
exports.map = map2;
|
|
20284
20284
|
});
|
|
@@ -20296,8 +20296,8 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
20296
20296
|
static get tagName() {
|
|
20297
20297
|
return "tag:yaml.org,2002:seq";
|
|
20298
20298
|
}
|
|
20299
|
-
constructor(
|
|
20300
|
-
super(identity3.SEQ,
|
|
20299
|
+
constructor(schema9) {
|
|
20300
|
+
super(identity3.SEQ, schema9);
|
|
20301
20301
|
this.items = [];
|
|
20302
20302
|
}
|
|
20303
20303
|
add(value) {
|
|
@@ -20351,9 +20351,9 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
20351
20351
|
onComment
|
|
20352
20352
|
});
|
|
20353
20353
|
}
|
|
20354
|
-
static from(
|
|
20354
|
+
static from(schema9, obj, ctx) {
|
|
20355
20355
|
const { replacer } = ctx;
|
|
20356
|
-
const seq = new this(
|
|
20356
|
+
const seq = new this(schema9);
|
|
20357
20357
|
if (obj && Symbol.iterator in Object(obj)) {
|
|
20358
20358
|
let i2 = 0;
|
|
20359
20359
|
for (let it3 of obj) {
|
|
@@ -20390,7 +20390,7 @@ var require_seq2 = __commonJS((exports) => {
|
|
|
20390
20390
|
onError("Expected a sequence for this tag");
|
|
20391
20391
|
return seq2;
|
|
20392
20392
|
},
|
|
20393
|
-
createNode: (
|
|
20393
|
+
createNode: (schema9, obj, ctx) => YAMLSeq.YAMLSeq.from(schema9, obj, ctx)
|
|
20394
20394
|
};
|
|
20395
20395
|
exports.seq = seq;
|
|
20396
20396
|
});
|
|
@@ -20565,7 +20565,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
20565
20565
|
var bool = require_bool2();
|
|
20566
20566
|
var float = require_float2();
|
|
20567
20567
|
var int2 = require_int2();
|
|
20568
|
-
var
|
|
20568
|
+
var schema9 = [
|
|
20569
20569
|
map2.map,
|
|
20570
20570
|
seq.seq,
|
|
20571
20571
|
string4.string,
|
|
@@ -20578,7 +20578,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
20578
20578
|
float.floatExp,
|
|
20579
20579
|
float.float
|
|
20580
20580
|
];
|
|
20581
|
-
exports.schema =
|
|
20581
|
+
exports.schema = schema9;
|
|
20582
20582
|
});
|
|
20583
20583
|
|
|
20584
20584
|
// ../../node_modules/yaml/dist/schema/json/schema.js
|
|
@@ -20641,8 +20641,8 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
20641
20641
|
return str;
|
|
20642
20642
|
}
|
|
20643
20643
|
};
|
|
20644
|
-
var
|
|
20645
|
-
exports.schema =
|
|
20644
|
+
var schema9 = [map2.map, seq.seq].concat(jsonScalars, jsonError);
|
|
20645
|
+
exports.schema = schema9;
|
|
20646
20646
|
});
|
|
20647
20647
|
|
|
20648
20648
|
// ../../node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
@@ -20732,9 +20732,9 @@ ${cn.comment}` : item.comment;
|
|
|
20732
20732
|
onError("Expected a sequence for this tag");
|
|
20733
20733
|
return seq;
|
|
20734
20734
|
}
|
|
20735
|
-
function createPairs(
|
|
20735
|
+
function createPairs(schema9, iterable, ctx) {
|
|
20736
20736
|
const { replacer } = ctx;
|
|
20737
|
-
const pairs2 = new YAMLSeq.YAMLSeq(
|
|
20737
|
+
const pairs2 = new YAMLSeq.YAMLSeq(schema9);
|
|
20738
20738
|
pairs2.tag = "tag:yaml.org,2002:pairs";
|
|
20739
20739
|
let i2 = 0;
|
|
20740
20740
|
if (iterable && Symbol.iterator in Object(iterable))
|
|
@@ -20813,8 +20813,8 @@ var require_omap2 = __commonJS((exports) => {
|
|
|
20813
20813
|
}
|
|
20814
20814
|
return map2;
|
|
20815
20815
|
}
|
|
20816
|
-
static from(
|
|
20817
|
-
const pairs$1 = pairs.createPairs(
|
|
20816
|
+
static from(schema9, iterable, ctx) {
|
|
20817
|
+
const pairs$1 = pairs.createPairs(schema9, iterable, ctx);
|
|
20818
20818
|
const omap2 = new this;
|
|
20819
20819
|
omap2.items = pairs$1.items;
|
|
20820
20820
|
return omap2;
|
|
@@ -20841,7 +20841,7 @@ var require_omap2 = __commonJS((exports) => {
|
|
|
20841
20841
|
}
|
|
20842
20842
|
return Object.assign(new YAMLOMap, pairs$1);
|
|
20843
20843
|
},
|
|
20844
|
-
createNode: (
|
|
20844
|
+
createNode: (schema9, iterable, ctx) => YAMLOMap.from(schema9, iterable, ctx)
|
|
20845
20845
|
};
|
|
20846
20846
|
exports.YAMLOMap = YAMLOMap;
|
|
20847
20847
|
exports.omap = omap;
|
|
@@ -21005,8 +21005,8 @@ var require_set2 = __commonJS((exports) => {
|
|
|
21005
21005
|
var YAMLMap = require_YAMLMap();
|
|
21006
21006
|
|
|
21007
21007
|
class YAMLSet extends YAMLMap.YAMLMap {
|
|
21008
|
-
constructor(
|
|
21009
|
-
super(
|
|
21008
|
+
constructor(schema9) {
|
|
21009
|
+
super(schema9);
|
|
21010
21010
|
this.tag = YAMLSet.tag;
|
|
21011
21011
|
}
|
|
21012
21012
|
add(key) {
|
|
@@ -21046,9 +21046,9 @@ var require_set2 = __commonJS((exports) => {
|
|
|
21046
21046
|
else
|
|
21047
21047
|
throw new Error("Set items must all have null values");
|
|
21048
21048
|
}
|
|
21049
|
-
static from(
|
|
21049
|
+
static from(schema9, iterable, ctx) {
|
|
21050
21050
|
const { replacer } = ctx;
|
|
21051
|
-
const set3 = new this(
|
|
21051
|
+
const set3 = new this(schema9);
|
|
21052
21052
|
if (iterable && Symbol.iterator in Object(iterable))
|
|
21053
21053
|
for (let value of iterable) {
|
|
21054
21054
|
if (typeof replacer === "function")
|
|
@@ -21065,7 +21065,7 @@ var require_set2 = __commonJS((exports) => {
|
|
|
21065
21065
|
nodeClass: YAMLSet,
|
|
21066
21066
|
default: false,
|
|
21067
21067
|
tag: "tag:yaml.org,2002:set",
|
|
21068
|
-
createNode: (
|
|
21068
|
+
createNode: (schema9, iterable, ctx) => YAMLSet.from(schema9, iterable, ctx),
|
|
21069
21069
|
resolve(map2, onError) {
|
|
21070
21070
|
if (identity3.isMap(map2)) {
|
|
21071
21071
|
if (map2.hasAllNullValues(true))
|
|
@@ -21178,7 +21178,7 @@ var require_schema4 = __commonJS((exports) => {
|
|
|
21178
21178
|
var pairs = require_pairs2();
|
|
21179
21179
|
var set2 = require_set2();
|
|
21180
21180
|
var timestamp = require_timestamp2();
|
|
21181
|
-
var
|
|
21181
|
+
var schema9 = [
|
|
21182
21182
|
map2.map,
|
|
21183
21183
|
seq.seq,
|
|
21184
21184
|
string4.string,
|
|
@@ -21201,7 +21201,7 @@ var require_schema4 = __commonJS((exports) => {
|
|
|
21201
21201
|
timestamp.floatTime,
|
|
21202
21202
|
timestamp.timestamp
|
|
21203
21203
|
];
|
|
21204
|
-
exports.schema =
|
|
21204
|
+
exports.schema = schema9;
|
|
21205
21205
|
});
|
|
21206
21206
|
|
|
21207
21207
|
// ../../node_modules/yaml/dist/schema/tags.js
|
|
@@ -21213,7 +21213,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
21213
21213
|
var bool = require_bool2();
|
|
21214
21214
|
var float = require_float2();
|
|
21215
21215
|
var int2 = require_int2();
|
|
21216
|
-
var
|
|
21216
|
+
var schema9 = require_schema2();
|
|
21217
21217
|
var schema$1 = require_schema3();
|
|
21218
21218
|
var binary = require_binary2();
|
|
21219
21219
|
var merge3 = require_merge3();
|
|
@@ -21223,7 +21223,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
21223
21223
|
var set2 = require_set2();
|
|
21224
21224
|
var timestamp = require_timestamp2();
|
|
21225
21225
|
var schemas3 = new Map([
|
|
21226
|
-
["core",
|
|
21226
|
+
["core", schema9.schema],
|
|
21227
21227
|
["failsafe", [map2.map, seq.seq, string4.string]],
|
|
21228
21228
|
["json", schema$1.schema],
|
|
21229
21229
|
["yaml11", schema$2.schema],
|
|
@@ -21305,9 +21305,9 @@ var require_Schema = __commonJS((exports) => {
|
|
|
21305
21305
|
var sortMapEntriesByKey = (a2, b) => a2.key < b.key ? -1 : a2.key > b.key ? 1 : 0;
|
|
21306
21306
|
|
|
21307
21307
|
class Schema {
|
|
21308
|
-
constructor({ compat: compat2, customTags, merge: merge3, resolveKnownTags, schema:
|
|
21308
|
+
constructor({ compat: compat2, customTags, merge: merge3, resolveKnownTags, schema: schema9, sortMapEntries, toStringDefaults }) {
|
|
21309
21309
|
this.compat = Array.isArray(compat2) ? tags.getTags(compat2, "compat") : compat2 ? tags.getTags(null, compat2) : null;
|
|
21310
|
-
this.name = typeof
|
|
21310
|
+
this.name = typeof schema9 === "string" && schema9 || "core";
|
|
21311
21311
|
this.knownTags = resolveKnownTags ? tags.coreKnownTags : {};
|
|
21312
21312
|
this.tags = tags.getTags(customTags, this.name, merge3);
|
|
21313
21313
|
this.toStringOptions = toStringDefaults ?? null;
|
|
@@ -22799,11 +22799,11 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
22799
22799
|
scalar.comment = comment;
|
|
22800
22800
|
return scalar;
|
|
22801
22801
|
}
|
|
22802
|
-
function findScalarTagByName(
|
|
22802
|
+
function findScalarTagByName(schema9, value, tagName, tagToken, onError) {
|
|
22803
22803
|
if (tagName === "!")
|
|
22804
|
-
return
|
|
22804
|
+
return schema9[identity3.SCALAR];
|
|
22805
22805
|
const matchWithTest = [];
|
|
22806
|
-
for (const tag of
|
|
22806
|
+
for (const tag of schema9.tags) {
|
|
22807
22807
|
if (!tag.collection && tag.tag === tagName) {
|
|
22808
22808
|
if (tag.default && tag.test)
|
|
22809
22809
|
matchWithTest.push(tag);
|
|
@@ -22814,18 +22814,18 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
22814
22814
|
for (const tag of matchWithTest)
|
|
22815
22815
|
if (tag.test?.test(value))
|
|
22816
22816
|
return tag;
|
|
22817
|
-
const kt3 =
|
|
22817
|
+
const kt3 = schema9.knownTags[tagName];
|
|
22818
22818
|
if (kt3 && !kt3.collection) {
|
|
22819
|
-
|
|
22819
|
+
schema9.tags.push(Object.assign({}, kt3, { default: false, test: undefined }));
|
|
22820
22820
|
return kt3;
|
|
22821
22821
|
}
|
|
22822
22822
|
onError(tagToken, "TAG_RESOLVE_FAILED", `Unresolved tag: ${tagName}`, tagName !== "tag:yaml.org,2002:str");
|
|
22823
|
-
return
|
|
22823
|
+
return schema9[identity3.SCALAR];
|
|
22824
22824
|
}
|
|
22825
|
-
function findScalarTagByTest({ atKey, directives, schema:
|
|
22826
|
-
const tag =
|
|
22827
|
-
if (
|
|
22828
|
-
const compat2 =
|
|
22825
|
+
function findScalarTagByTest({ atKey, directives, schema: schema9 }, value, token, onError) {
|
|
22826
|
+
const tag = schema9.tags.find((tag2) => (tag2.default === true || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema9[identity3.SCALAR];
|
|
22827
|
+
if (schema9.compat) {
|
|
22828
|
+
const compat2 = schema9.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema9[identity3.SCALAR];
|
|
22829
22829
|
if (tag.tag !== compat2.tag) {
|
|
22830
22830
|
const ts = directives.tagString(tag.tag);
|
|
22831
22831
|
const cs = directives.tagString(compat2.tag);
|
|
@@ -25463,7 +25463,7 @@ var require_main = __commonJS((exports, module) => {
|
|
|
25463
25463
|
return { parsed: parsedAll };
|
|
25464
25464
|
}
|
|
25465
25465
|
}
|
|
25466
|
-
function
|
|
25466
|
+
function config10(options) {
|
|
25467
25467
|
if (_dotenvKey(options).length === 0) {
|
|
25468
25468
|
return DotenvModule.configDotenv(options);
|
|
25469
25469
|
}
|
|
@@ -25534,7 +25534,7 @@ var require_main = __commonJS((exports, module) => {
|
|
|
25534
25534
|
configDotenv,
|
|
25535
25535
|
_configVault,
|
|
25536
25536
|
_parseVault,
|
|
25537
|
-
config:
|
|
25537
|
+
config: config10,
|
|
25538
25538
|
decrypt,
|
|
25539
25539
|
parse: parse9,
|
|
25540
25540
|
populate
|
|
@@ -27503,7 +27503,7 @@ function cleanDoc(doc2) {
|
|
|
27503
27503
|
return mapDoc(doc2, (currentDoc) => cleanDocFn(currentDoc));
|
|
27504
27504
|
}
|
|
27505
27505
|
function replaceEndOfLine(doc2, replacement = literalline) {
|
|
27506
|
-
return mapDoc(doc2, (currentDoc) => typeof currentDoc === "string" ?
|
|
27506
|
+
return mapDoc(doc2, (currentDoc) => typeof currentDoc === "string" ? join19(replacement, currentDoc.split(`
|
|
27507
27507
|
`)) : currentDoc);
|
|
27508
27508
|
}
|
|
27509
27509
|
function canBreakFn(doc2) {
|
|
@@ -27583,7 +27583,7 @@ function indentIfBreak(contents, options) {
|
|
|
27583
27583
|
negate: options.negate
|
|
27584
27584
|
};
|
|
27585
27585
|
}
|
|
27586
|
-
function
|
|
27586
|
+
function join19(separator, docs) {
|
|
27587
27587
|
assertDoc(separator);
|
|
27588
27588
|
assertDocArray(docs);
|
|
27589
27589
|
const parts = [];
|
|
@@ -28294,7 +28294,7 @@ var init_doc = __esm(() => {
|
|
|
28294
28294
|
MODE_FLAT = Symbol("MODE_FLAT");
|
|
28295
28295
|
DOC_FILL_PRINTED_LENGTH = Symbol("DOC_FILL_PRINTED_LENGTH");
|
|
28296
28296
|
builders = {
|
|
28297
|
-
join:
|
|
28297
|
+
join: join19,
|
|
28298
28298
|
line,
|
|
28299
28299
|
softline,
|
|
28300
28300
|
hardline,
|
|
@@ -28412,7 +28412,7 @@ function Vi(t, e2) {
|
|
|
28412
28412
|
}
|
|
28413
28413
|
}
|
|
28414
28414
|
}
|
|
28415
|
-
function cr(t, e2 =
|
|
28415
|
+
function cr(t, e2 = He2) {
|
|
28416
28416
|
return Vi(t, (n2) => typeof n2 == "string" ? v(e2, n2.split(`
|
|
28417
28417
|
`)) : n2);
|
|
28418
28418
|
}
|
|
@@ -28688,7 +28688,7 @@ function Zi(t, e2, n2) {
|
|
|
28688
28688
|
r.indent !== null && o2.push(r.indent.toString()), r.chomping !== "clip" && o2.push(r.chomping === "keep" ? "+" : "-"), gn(r) && o2.push(" ", n2("indicatorComment"));
|
|
28689
28689
|
let a2 = $r(r, { parentIndent: s, isLastDescendant: i2, options: e2 }), c3 = [];
|
|
28690
28690
|
for (let [l, f] of a2.entries())
|
|
28691
|
-
l === 0 && c3.push(N3), c3.push(At3(v(se, f))), l !== a2.length - 1 ? c3.push(f.length === 0 ? N3 : ur(
|
|
28691
|
+
l === 0 && c3.push(N3), c3.push(At3(v(se, f))), l !== a2.length - 1 ? c3.push(f.length === 0 ? N3 : ur(He2)) : r.chomping === "keep" && i2 && c3.push(cn(f.length === 0 ? N3 : He2));
|
|
28692
28692
|
return r.indent === null ? o2.push(pr(_2(e2.tabWidth, c3))) : o2.push(cn(_2(r.indent - 1 + s, c3))), o2;
|
|
28693
28693
|
}
|
|
28694
28694
|
function Pt2(t, e2, n2) {
|
|
@@ -29480,7 +29480,7 @@ var ki, sn, Pi, vi, Ii, _i, ne = (t, e2) => () => (e2 || t((e2 = { exports: {} }
|
|
|
29480
29480
|
for (let s of vi(e2))
|
|
29481
29481
|
!_i.call(t, s) && s !== n2 && sn(t, s, { get: () => e2[s], enumerable: !(r = Pi(e2, s)) || r.enumerable });
|
|
29482
29482
|
return t;
|
|
29483
|
-
}, on6 = (t, e2, n2) => (n2 = t != null ? ki(Ii(t)) : {}, xi(e2 || !t || !t.__esModule ? sn(n2, "default", { value: t, enumerable: true }) : n2, t)), ce, Qr, De, qn, Kn, Ls, Ms, Gn, Ps, Ci, mt3 = (t, e2) => (n2, r, ...s) => n2 | 1 && r == null ? undefined : (e2.call(r) ?? r[t]).apply(r, s), Di, D2, $i, Yi, ht3, Bi = () => {}, je, Qe = "string", Ge2 = "array", dt3 = "cursor", gt3 = "indent", Ae2 = "align", yt3 = "trim", Le2 = "group", Te = "fill", Ce2 = "if-break", Et3 = "indent-if-break", Me = "line-suffix", St3 = "line-suffix-boundary", re = "line", wt3 = "label", ke2 = "break-parent", bt3, Nt2, qi = (t) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t), an, ar, Z2, Ot2, lr, fr, Xe, se, Lt3, Wi, N3, Ki,
|
|
29483
|
+
}, on6 = (t, e2, n2) => (n2 = t != null ? ki(Ii(t)) : {}, xi(e2 || !t || !t.__esModule ? sn(n2, "default", { value: t, enumerable: true }) : n2, t)), ce, Qr, De, qn, Kn, Ls, Ms, Gn, Ps, Ci, mt3 = (t, e2) => (n2, r, ...s) => n2 | 1 && r == null ? undefined : (e2.call(r) ?? r[t]).apply(r, s), Di, D2, $i, Yi, ht3, Bi = () => {}, je, Qe = "string", Ge2 = "array", dt3 = "cursor", gt3 = "indent", Ae2 = "align", yt3 = "trim", Le2 = "group", Te = "fill", Ce2 = "if-break", Et3 = "indent-if-break", Me = "line-suffix", St3 = "line-suffix-boundary", re = "line", wt3 = "label", ke2 = "break-parent", bt3, Nt2, qi = (t) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t), an, ar, Z2, Ot2, lr, fr, Xe, se, Lt3, Wi, N3, Ki, He2, sl, fn, il, ol, hr = (t) => t === `
|
|
29484
29484
|
` || t === "\r" || t === "\u2028" || t === "\u2029", un, pn, mn, dr, gr = "format", yr, Er, Sr, wr = (t) => Sr.test(t), br = (t) => Er.test(t), Nr = (t) => yr.test(t), Or = (t) => `# @${gr}
|
|
29485
29485
|
|
|
29486
29486
|
${t}`, Lr, Cr, Ze2 = null, Gi = 10, Mr, k2, kr, Ji, Pr, tt2 = (t) => t.position.start.offset, vr = (t) => t.position.end.offset, ve2, yn, Yr, Br, Fr, uo, qr, Ur, vt3, po, Vr, ir, sr, J3, Cf, Mf, kf, Pf, vf, If, _f, xf, Rf, vs, Df, $f, me2, Jn, Zn, er = class {
|
|
@@ -32807,7 +32807,7 @@ ${o2.commentBefore}` : i2;
|
|
|
32807
32807
|
Wi = { type: re, hard: true };
|
|
32808
32808
|
N3 = [Wi, Xe];
|
|
32809
32809
|
Ki = { type: re, hard: true, literal: true };
|
|
32810
|
-
|
|
32810
|
+
He2 = [Ki, Xe];
|
|
32811
32811
|
sl = Tt3(/\s/u);
|
|
32812
32812
|
fn = Tt3(" \t");
|
|
32813
32813
|
il = Tt3(",; \t");
|
|
@@ -33667,7 +33667,7 @@ function cc(e2, t, r, n2) {
|
|
|
33667
33667
|
s.push(i2.contents);
|
|
33668
33668
|
break;
|
|
33669
33669
|
case Xe2:
|
|
33670
|
-
case
|
|
33670
|
+
case He3:
|
|
33671
33671
|
case Ve3:
|
|
33672
33672
|
case Pe2:
|
|
33673
33673
|
case $e:
|
|
@@ -33709,7 +33709,7 @@ function ft3(e2, t) {
|
|
|
33709
33709
|
return o2 ? (o2 = o2.map(n2), u2 = o2[0]) : u2 = n2(u2), t({ ...i2, contents: u2, expandedStates: o2 });
|
|
33710
33710
|
}
|
|
33711
33711
|
case Xe2:
|
|
33712
|
-
case
|
|
33712
|
+
case He3:
|
|
33713
33713
|
case Ve3:
|
|
33714
33714
|
case Pe2:
|
|
33715
33715
|
case $e:
|
|
@@ -33783,7 +33783,7 @@ function Dc(e2) {
|
|
|
33783
33783
|
return e2.contents;
|
|
33784
33784
|
break;
|
|
33785
33785
|
case Xe2:
|
|
33786
|
-
case
|
|
33786
|
+
case He3:
|
|
33787
33787
|
case Ve3:
|
|
33788
33788
|
case $e:
|
|
33789
33789
|
if (!e2.contents)
|
|
@@ -33849,7 +33849,7 @@ function Vi2(e2) {
|
|
|
33849
33849
|
}), t;
|
|
33850
33850
|
}
|
|
33851
33851
|
function m(e2) {
|
|
33852
|
-
return de2(e2), { type:
|
|
33852
|
+
return de2(e2), { type: He3, contents: e2 };
|
|
33853
33853
|
}
|
|
33854
33854
|
function xe(e2, t) {
|
|
33855
33855
|
return Ki2(e2), de2(t), { type: Xe2, contents: t, n: e2 };
|
|
@@ -33992,7 +33992,7 @@ function Zr(e2, t, r, n2, s, i2) {
|
|
|
33992
33992
|
p.push({ mode: y2, doc: C2[b2] });
|
|
33993
33993
|
break;
|
|
33994
33994
|
}
|
|
33995
|
-
case
|
|
33995
|
+
case He3:
|
|
33996
33996
|
case Xe2:
|
|
33997
33997
|
case Ve3:
|
|
33998
33998
|
case Pe2:
|
|
@@ -34052,7 +34052,7 @@ function ls(e2, t) {
|
|
|
34052
34052
|
throw new Error("There are too many 'cursor' in doc.");
|
|
34053
34053
|
y2.push(C2 + u2.length);
|
|
34054
34054
|
break;
|
|
34055
|
-
case
|
|
34055
|
+
case He3:
|
|
34056
34056
|
o2.push({ indent: ro2(h2, t), mode: g, doc: S2.contents });
|
|
34057
34057
|
break;
|
|
34058
34058
|
case Xe2:
|
|
@@ -37486,7 +37486,7 @@ var Ba2, jn = (e2, t) => {
|
|
|
37486
37486
|
}, oe = (e2, { originalText: t }) => Yt(t, I3(e2)), Ae3, Se2, xt2, Ue, hi2 = (e2) => e2?.type === "TSAsExpression" && e2.typeAnnotation.type === "TSTypeReference" && e2.typeAnnotation.typeName.type === "Identifier" && e2.typeAnnotation.typeName.name === "const", Cr2, dp, Kt2 = (e2) => {
|
|
37487
37487
|
for (let t of e2.quasis)
|
|
37488
37488
|
delete t.value;
|
|
37489
|
-
}, Bi2, Cp, Ap = (e2, [t]) => t?.type === "ComponentParameter" && t.shorthand && t.name === e2 && t.local !== t.name || t?.type === "MatchObjectPatternProperty" && t.shorthand && t.key === e2 && t.value !== t.key || t?.type === "ObjectProperty" && t.shorthand && t.key === e2 && t.value !== t.key || t?.type === "Property" && t.shorthand && t.key === e2 && !mt4(t) && t.value !== t.key, Tp = (e2, [t]) => !!(e2.type === "FunctionExpression" && t.type === "MethodDefinition" && t.value === e2 && K3(e2).length === 0 && !e2.returnType && !R3(e2.typeParameters) && e2.body), bi2 = (e2, [t]) => t?.typeAnnotation === e2 && hi2(t), xp = (e2, [t, ...r]) => bi2(e2, [t]) || t?.typeName === e2 && bi2(t, r), Pi2, at4, _e2, ue, Qn, Hr, Zn2 = (e2, t) => At4(e2) || !ue(t, w(e2), I3(e2)), Mp, Np, wi2, Xp, Vp, Ri2, nc, Ji2, Gi2, ic, Wi2, Ye = "string", Be = "array", tt3 = "cursor",
|
|
37489
|
+
}, Bi2, Cp, Ap = (e2, [t]) => t?.type === "ComponentParameter" && t.shorthand && t.name === e2 && t.local !== t.name || t?.type === "MatchObjectPatternProperty" && t.shorthand && t.key === e2 && t.value !== t.key || t?.type === "ObjectProperty" && t.shorthand && t.key === e2 && t.value !== t.key || t?.type === "Property" && t.shorthand && t.key === e2 && !mt4(t) && t.value !== t.key, Tp = (e2, [t]) => !!(e2.type === "FunctionExpression" && t.type === "MethodDefinition" && t.value === e2 && K3(e2).length === 0 && !e2.returnType && !R3(e2.typeParameters) && e2.body), bi2 = (e2, [t]) => t?.typeAnnotation === e2 && hi2(t), xp = (e2, [t, ...r]) => bi2(e2, [t]) || t?.typeName === e2 && bi2(t, r), Pi2, at4, _e2, ue, Qn, Hr, Zn2 = (e2, t) => At4(e2) || !ue(t, w(e2), I3(e2)), Mp, Np, wi2, Xp, Vp, Ri2, nc, Ji2, Gi2, ic, Wi2, Ye = "string", Be = "array", tt3 = "cursor", He3 = "indent", Xe2 = "align", rt4 = "trim", Fe2 = "group", Me2 = "fill", be2 = "if-break", Ve3 = "indent-if-break", $e = "line-suffix", Ge3 = "line-suffix-boundary", me3 = "line", Pe2 = "label", Ne2 = "break-parent", Xr, We3, ac = (e2) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e2), is, gt4, qi2, Vr2, de2, Kr, $i2, Ki2, ke3, Tr2, A, f, os3, E, yc, $r2, je2, Ec = "cr", Fc = "crlf", dc = "\r", Cc = `\r
|
|
37490
37490
|
`, Ac = `
|
|
37491
37491
|
`, Tc, xc, gc, as, ve3, ct3, cs, no2, so2, fs20, po2 = (e2) => Oc(e2) || wc(e2) || _c(e2) || oo2(e2), Es = 0, fo2, yo, jc, Co, Gc, Wc, go, qc, Ao, Uc, To, Yc, ho, ko = "format", Io, Fs2, Oo, Qc, ge2, Mo, sl2 = () => true, Et4, pl, cl, ll, ml = (e2) => ll.test(e2), vo, dt4, fl = 0, Ro = (e2) => e2.type === "BinaryExpression" && e2.operator === "|", Fl, dl, Cl, Go = (e2) => e2.match((t) => t.type === "TSTypeAnnotation", (t, r) => (r === "returnType" || r === "typeAnnotation") && (t.type === "TSFunctionType" || t.type === "TSConstructorType")) ? "=>" : e2.match((t) => t.type === "TSTypeAnnotation", (t, r) => r === "typeAnnotation" && (t.type === "TSJSDocNullableType" || t.type === "TSJSDocNonNullableType" || t.type === "TSTypePredicate")) || e2.match((t) => t.type === "TypeAnnotation", (t, r) => r === "typeAnnotation" && t.type === "Identifier", (t, r) => r === "id" && t.type === "DeclareFunction") || e2.match((t) => t.type === "TypeAnnotation", (t, r) => r === "typeAnnotation" && t.type === "Identifier", (t, r) => r === "id" && t.type === "DeclareHook") || e2.match((t) => t.type === "TypeAnnotation", (t, r) => r === "bound" && t.type === "TypeParameter" && t.usesExtendsBound) ? "" : ":", hr2, kl = (e2) => ((e2.type === "ChainExpression" || e2.type === "TSNonNullExpression") && (e2 = e2.expression), M3(e2) && le(e2).length > 0), Vo, Ll, cn2, Yl = ({ node: e2, key: t, parent: r }) => t === "value" && e2.type === "FunctionExpression" && (r.type === "ObjectMethod" || r.type === "ClassMethod" || r.type === "ClassPrivateMethod" || r.type === "MethodDefinition" || r.type === "TSAbstractMethodDefinition" || r.type === "TSDeclareMethod" || r.type === "Property" && mt4(r)), bs = ({ node: e2, parent: t }) => e2.type === "ExpressionStatement" && t.type === "Program" && t.body.length === 1 && (Array.isArray(t.directives) && t.directives.length === 0 || !t.directives), Ls2, Qe2, ws = class {
|
|
37492
37492
|
#e;
|
|
@@ -37685,7 +37685,7 @@ var init_estree = __esm(() => {
|
|
|
37685
37685
|
Gi2 = sc;
|
|
37686
37686
|
ic = k3(["ClassDeclaration", "ClassExpression", "DeclareClass", "DeclareInterface", "InterfaceDeclaration", "TSInterfaceDeclaration"]);
|
|
37687
37687
|
Wi2 = oc;
|
|
37688
|
-
Xr = new Set([tt3,
|
|
37688
|
+
Xr = new Set([tt3, He3, Xe2, rt4, Fe2, Me2, be2, Ve3, $e, Ge3, me3, Pe2, Ne2]);
|
|
37689
37689
|
We3 = uc;
|
|
37690
37690
|
is = class extends Error {
|
|
37691
37691
|
name = "InvalidDocError";
|
|
@@ -38284,7 +38284,7 @@ var Ii3, Be2, Ni3, Li3, Ri3, Vi3, ot4 = (e2, t) => () => (t || e2((t = { exports
|
|
|
38284
38284
|
this.line = t, this.column = i2;
|
|
38285
38285
|
}, be3 = function(t, i2, s) {
|
|
38286
38286
|
this.start = i2, this.end = s, t.sourceFile !== null && (this.source = t.sourceFile);
|
|
38287
|
-
}, Ue2, ct4 = false, oe2 = 1, Z4 = 2, Ke4 = 4, bt5 = 8,
|
|
38287
|
+
}, Ue2, ct4 = false, oe2 = 1, Z4 = 2, Ke4 = 4, bt5 = 8, He4 = 16, St5 = 32, Se3 = 64, _t3 = 128, z4 = 256, ue2 = 512, _e3, xe2 = 0, We4 = 1, K4 = 2, Ct5 = 3, Tt5 = 4, Et5 = 5, A2 = function(t, i2, s) {
|
|
38288
38288
|
this.options = t = Xi3(t), this.sourceFile = t.sourceFile, this.keywords = H4(Fi3[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
|
|
38289
38289
|
var r = "";
|
|
38290
38290
|
t.allowReserved !== true && (r = De3[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (r += " await")), this.reservedWords = H4(r);
|
|
@@ -38671,7 +38671,7 @@ var init_acorn = __esm(() => {
|
|
|
38671
38671
|
U4.allowNewDotTarget.get = function() {
|
|
38672
38672
|
for (var e2 = this.scopeStack.length - 1;e2 >= 0; e2--) {
|
|
38673
38673
|
var t = this.scopeStack[e2], i2 = t.flags;
|
|
38674
|
-
if (i2 & (z4 | ue2) || i2 & Z4 && !(i2 &
|
|
38674
|
+
if (i2 & (z4 | ue2) || i2 & Z4 && !(i2 & He4))
|
|
38675
38675
|
return true;
|
|
38676
38676
|
}
|
|
38677
38677
|
return false;
|
|
@@ -39845,7 +39845,7 @@ var init_acorn = __esm(() => {
|
|
|
39845
39845
|
};
|
|
39846
39846
|
g.parseArrowExpression = function(e2, t, i2, s) {
|
|
39847
39847
|
var r = this.yieldPos, o2 = this.awaitPos, u2 = this.awaitIdentPos;
|
|
39848
|
-
return this.enterScope(Xe3(i2, false) |
|
|
39848
|
+
return this.enterScope(Xe3(i2, false) | He4), this.initFunction(e2), this.options.ecmaVersion >= 8 && (e2.async = !!i2), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e2.params = this.toAssignableList(t, true), this.parseFunctionBody(e2, true, false, s), this.yieldPos = r, this.awaitPos = o2, this.awaitIdentPos = u2, this.finishNode(e2, "ArrowFunctionExpression");
|
|
39849
39849
|
};
|
|
39850
39850
|
g.parseFunctionBody = function(e2, t, i2, s) {
|
|
39851
39851
|
var r = t && this.type !== a3.braceL, o2 = this.strict, u2 = false;
|
|
@@ -39974,7 +39974,7 @@ var init_acorn = __esm(() => {
|
|
|
39974
39974
|
W5.currentThisScope = function() {
|
|
39975
39975
|
for (var e2 = this.scopeStack.length - 1;; e2--) {
|
|
39976
39976
|
var t = this.scopeStack[e2];
|
|
39977
|
-
if (t.flags & (_e3 | ue2 | z4) && !(t.flags &
|
|
39977
|
+
if (t.flags & (_e3 | ue2 | z4) && !(t.flags & He4))
|
|
39978
39978
|
return t;
|
|
39979
39979
|
}
|
|
39980
39980
|
};
|
|
@@ -41313,7 +41313,7 @@ function ze4(t24) {
|
|
|
41313
41313
|
return t24.slice(t24.length - 1);
|
|
41314
41314
|
}
|
|
41315
41315
|
function Ss2(t24) {
|
|
41316
|
-
let e2 = new
|
|
41316
|
+
let e2 = new He5(t24, Cr3), n3 = new Ue3(e2, 0, 0, 0), s = n3.moveBy(t24.length);
|
|
41317
41317
|
return { text: t24, file: e2, start: n3, end: s, sourceSpan: new We5(n3, s) };
|
|
41318
41318
|
}
|
|
41319
41319
|
function Es2() {
|
|
@@ -41657,7 +41657,7 @@ var Ci4, _i4, Ti4, an3 = (t) => {
|
|
|
41657
41657
|
}
|
|
41658
41658
|
return null;
|
|
41659
41659
|
}
|
|
41660
|
-
},
|
|
41660
|
+
}, He5 = class {
|
|
41661
41661
|
content;
|
|
41662
41662
|
url;
|
|
41663
41663
|
constructor(e2, n3) {
|
|
@@ -45554,7 +45554,7 @@ var Hs5, Re5 = (a4, t24) => {
|
|
|
45554
45554
|
return e2;
|
|
45555
45555
|
}
|
|
45556
45556
|
}
|
|
45557
|
-
},
|
|
45557
|
+
}, He6, We6, Ni5, g3, vi5, Di5, Mi4 = (a4) => class extends a4 {
|
|
45558
45558
|
flowPragma = undefined;
|
|
45559
45559
|
getScopeHandler() {
|
|
45560
45560
|
return We6;
|
|
@@ -48784,12 +48784,12 @@ var init_babel = __esm(() => {
|
|
|
48784
48784
|
Ai5 = new Set(At7.strict);
|
|
48785
48785
|
Si5 = new Set(At7.strictBind);
|
|
48786
48786
|
Ei5 = new Set(["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete", "implements", "interface", "let", "package", "private", "protected", "public", "static", "yield", "eval", "arguments", "enum", "await"]);
|
|
48787
|
-
|
|
48787
|
+
He6 = class extends ue4 {
|
|
48788
48788
|
declareFunctions = new Set;
|
|
48789
48789
|
};
|
|
48790
48790
|
We6 = class extends fe4 {
|
|
48791
48791
|
createScope(t24) {
|
|
48792
|
-
return new
|
|
48792
|
+
return new He6(t24);
|
|
48793
48793
|
}
|
|
48794
48794
|
declareName(t24, e2, s) {
|
|
48795
48795
|
let i2 = this.currentScope();
|
|
@@ -52214,7 +52214,7 @@ var init_flow = __esm(() => {
|
|
|
52214
52214
|
(function(a0) {
|
|
52215
52215
|
var ox = 320, Yx = "loc", xr5 = 289, E1 = 70416, S22 = 69748, da3 = 163, Tt8 = 92159, Vr5 = 43587, G1 = "labeled_statement", yo3 = "&=", Et8 = "int_of_string", G32 = 110591, _o3 = 92909, gp2 = 11559, nD2 = "regexp", W52 = 43301, bp2 = 11703, V52 = 122654, ya2 = 255, uD2 = "%ni", $52 = 68252, iD2 = 232, Q52 = 42785, qn4 = "declare_variable", Tp2 = "while", Z52 = 66938, xy = 70301, ry = 124907, Ep2 = 126515, fD2 = 218, Bn3 = "pattern_identifier", ey = 67643, Un3 = "export_source", ty = 216, ny = 64279, cD2 = "Out_of_memory", uy = 113788, sD2 = "comments", iy = 126624, aD2 = "win32", Xn4 = "object_key_bigint_literal", oD2 = 185, Sp2 = 123214, _a4 = "constructor", fy = 69955, Gn4 = "import_declaration", cy = 68437, sy = "Failure", Ap2 = "Unix.Unix_error", ay = 64255, oy = 42539, vy = 110579, Yn3 = "export_default_declaration", zn4 = "jsx_attribute_name", Ip2 = 11727, ly = 43002, Pp2 = 126500, Jn3 = "component_param_pattern", vD = "collect_comments_opt", Kn4 = "match_unary_pattern", lD2 = 321, Hn4 = "keyof_type", pD2 = "Invalid binary/octal ", kD = "range", py = 170, wa2 = "false", ky2 = 43798, mD2 = ", characters ", Wn3 = "object_type_property_getter", my = 65547, hy = 126467, dy = 65007, yy = 42237, _y = 8318, wy = 71215, Vn3 = "object_property_type", $n3 = "type_alias", gy = 67742, Qn3 = "function_body", hD = 304, by = 68111, Cp2 = 120745, Ty = 71959, Np2 = 43880, dD2 = "Match_failure", Zn4 = "type_cast", wo3 = 109, ga = "void", Ey = "generator", Sy = 125124, Ay = 101589, Op2 = 94179, yD2 = ">>>", jp2 = 70404, x7 = "optional_indexed_access_type", $1 = "argument", r7 = "object_property", e7 = "object_type_property", Iy = 67004, Py = 42783, Cy = 68850, _D = "@", Ny = 43741, Oy = 43487, Dp2 = "object", wD = "end", Rp2 = 126571, jy = 71956, gD = 208, Dy = 126566, Ry = 67702, bD = "EEXIST", t72 = "this_expression", TD = 203, Fy = 11507, My = 113807, Fp2 = 119893, Ly = 42735, p6 = "rest", n7 = "null_literal", k6 = "protected", qy = 43615, v22 = 8231, By = 68149, Uy = 73727, Xy = 72348, Gy = 92995, Sv = 224, Yy = 11686, zy = 43013, u7 = "assignment_pattern", Jy = 12329, i7 = "function_type", Y32 = 192, f7 = "jsx_element_name", Ky2 = 70018, ED2 = -57, c7 = "catch_clause_pattern", Mp2 = 126540, s7 = "template_literal", Hy = 120654, Wy = 68497, Vy = 67679, a7 = "readonly_type", $y = 68735, Qy = "<", Lp2 = ": No such file or directory", Zy = 66915, x9 = "chain", SD = "!", o7 = "object_type", r9 = 43712, qp2 = 64297, e9 = 183969, t92 = -105, n9 = 43503, u9 = 67591, Av = 65278, i9 = 67669, v7 = "for_of_assignment_pattern", m6 = "`", f9 = 11502, l7 = "catch_body", c9 = 42191, go3 = -744106340, s9 = 182, Iv = ":", AD = "a string", a9 = 65663, o9 = 66978, v9 = 71947, Bp2 = 43519, l9 = 71086, p9 = 125258, k9 = 12538, p7 = "expression_or_spread", ID = "Printexc.handle_uncaught_exception", Up2 = 69956, Xp2 = 120122, Gp2 = 247, PD = 231, m9 = " : flags Open_rdonly and Open_wronly are not compatible", k7 = "statement_fork_point", CD2 = 710, ND = -692038429, Ue5 = "static", h9 = 55203, d9 = 64324, y9 = 64111, OD = "!==", _9 = 120132, w9 = 124903, h6 = "class", jD = 222, m7 = "pattern_number_literal", ba2 = "kind", g9 = 71903, h7 = "variable_declarator", DD2 = " named `", d7 = "typeof_expression", b9 = 126627, T9 = 70084, RD = 228, Yp2 = 70480, y7 = "class_private_field", E9 = 239, zp2 = 120713, rn3 = 65535, z32 = -26, _7 = "private_name", S9 = 43137, w7 = "remote_identifier", A9 = 70161, g7 = "label_identifier", I9 = "src/parser/statement_parser.ml", P9 = 8335, C9 = 19903, N9 = 64310, Pv = "_", b7 = "for_init_declaration", FD2 = "infer", O9 = 64466, j9 = 43018, MD = "tokens", D9 = 92735, R9 = 66954, F9 = 65473, M9 = 70285, T7 = "sequence", L9 = "compare: functional value", q9 = 69890, d6 = 1000, B9 = 65487, U9 = 42653, LD = "\\\\", qD = "%=", E7 = "match_member_pattern_base", X9 = 72367, S7 = "function_rest_param", BD = "/static/", G9 = 124911, Y9 = 65276, Jp2 = 126558, z9 = 11498, UD = 137, A7 = "export_default_declaration_decl", J9 = "cases", Kp2 = 126602, I7 = "jsx_child", Xe6 = "continue", K9 = 42962, XD = "importKind", e1 = 122, J32 = "Literal", P7 = "pattern_object_property_identifier_key", H9 = 42508, bo3 = "in", W9 = 55238, V9 = 67071, $9 = 70831, Q9 = 72161, Z9 = 67462, GD = "<<=", x_ = 43009, r_ = 66383, Hp2 = 67827, e_ = 72202, t_ = 69839, n_ = 66775, YD = "-=", Cv = 8202, u_ = 70105, i_ = 120538, zD = -92, C7 = "for_in_left_declaration", f_ = "rendersType", Wp2 = 126563, c_ = 70708, Vp2 = 126523, JD2 = 166, N7 = "match_", KD = 202, s_ = 110951, Ta2 = "component", $p2 = 126552, a_ = 66977, o_ = 213, O7 = "enum_member_identifier", HD = 210, j7 = "enum_bigint_body", WD = ">=", v_ = 126495, l_ = "specifiers", p_ = "=", k_ = 65338, y6 = "members", m_ = 123535, h_ = 43702, d_ = 72767, Nv = "get", y_ = 126633, Qp2 = 126536, __ = 94098, w_ = "types", g_ = 113663, VD = "Internal Error: Found private field in object props", D7 = "jsx_element", b_ = 70366, T_ = 110959, Zp2 = 120655, $D = "trailingComments", QD = 282, To3 = 24029, ZD = -100, xR = 144, H22 = "yield", R7 = "binding_pattern", F7 = "typeof_identifier", rR = "ENOTEMPTY", xk = 126468, E_ = 1255, S_ = 120628, M7 = "pattern_object_property_string_literal_key", A_ = 8521, eR = "leadingComments", tR = 8204, Eo3 = "@ ", I_ = 70319, Ea2 = "left", nR = 188, rk = "case", P_ = 19967, ek = 42622, C_ = 43492, N_ = 113770, L7 = "match_instance_pattern_constructor", O_ = 42774, j_ = 183, tk = 8468, q72 = "record_body", B7 = "class_implements", nk = 126579, K32 = "string", uR = 211, r2 = -48, D_ = 69926, R_ = 123213, U7 = "if_consequent_statement", F_ = 124927, H32 = "number", M_ = 126546, L_ = 68119, q_ = 70726, uk = 70750, B_ = 65489, iR = "SpreadElement", fR = "callee", cR = 193, U_ = 70492, X_ = 71934, sR = 164, G_ = 110580, Y_ = 12320, ik = "any", se6 = "/", X72 = "type_guard", w1 = "body", fk = 178, ge6 = "pattern", aR = "comment_bounds", oR = 297, G7 = "binding_type_identifier", z_ = 187, Y7 = "pattern_array_rest_element_pattern", ck = "@])", J_ = 12543, K_ = 11623, vR = "start", H_ = 67871, ae4 = "interface", W_ = 8449, V_ = 67637, $_ = 42961, sk = 120085, Q_ = 126463, lR = "alternate", pR = -1053382366, Z_ = 70143, kR = "--", xw = 68031, z7 = "jsx_expression", J72 = "type_identifier_reference", ak = 11647, rw = "proto", St8 = "identifier", ew = 43696, At8 = "raw", tw = 126529, nw = 11564, ok = 126557, uw = 64911, vk = 67592, iw = 43493, lk = 215, fw = 110588, _6 = 461894857, cw = 92927, sw = 67861, aw = 119980, ow = 43042, mR = -89, vw = 66965, lw = 67391, W32 = "computed", hR = "unreachable jsxtext", pw = 71167, kw = 42559, mw = 72966, dR = 180, hw = 197, pk = 64319, yR = 169, _R = "*", kk = 129, dw = 66335, w6 = "meta", yw = 43388, mk = 94178, ft7 = "optional", hk = "unknown", _w = 120121, ww = 123180, dk = 8469, gw = 68220, wR = "|", bw = 43187, Tw = 94207, Ew = 124895, yk = 120513, Sw = 42527, Ov = 8286, Aw = 94177, g6 = "var", K7 = "component_type_param", Iw = 66421, gR = 285, Pw = 92991, Cw = 68415, H7 = "comment", W72 = "match_pattern_array_element", jv = 244, _k = "^", Nw = 173791, bR = 136, Ow = 42890, jw = "ENOTDIR", Dw = "??", Rw = 43711, Fw = 66303, Mw = 113800, Lw = 42239, qw = 12703, V7 = "variance_opt", $7 = "+", TR = ">>>=", ER = 147, SR = 376, wk = "mixed", Bw = 65613, Uw = 73029, AR = 318, Xw = 68191, IR = "*=", gk = 8487, Gw = 8477, Q7 = "toplevel_statement_list", bk = "never", Tk = "do", So3 = 125, Yw = 72249, PR = "Pervasives.do_at_exit", CR2 = "visit_trailing_comment", Z7 = "jsx_closing_element", xu2 = "jsx_namespaced_name", zw = 124908, Jw = 126651, ru2 = "component_declaration", Kw = 15, eu2 = "interface_type", tu2 = "function_type_return_annotation", Hw = 64109, Ek = 65595, Sk = 126560, Ww = 110927, Ak = 65598, Ik = 8488, nu2 = "`.", NR = 175, Pk = "package", Ck = "else", Nk = 120771, Vw = 68023, OR = "fd ", Dv = 8238, Ok = 888960333, jk = 119965, $w = 42655, uu2 = "match_object_pattern", Qw = 11710, Zw = 119993, iu2 = "boolean_literal", jR = 290, fu2 = "statement_list", cu2 = "function_param", su2 = "match_as_pattern", au2 = "pattern_object_property_bigint_literal_key", Dk = 69959, xg = 120485, DR = 240, rg = 191456, ou2 = "declare_enum", Rk = 120597, Fk = 70281, vu2 = "type_annotation", lu2 = "spread_element", Mk = 126544, eg = 120069, en4 = "key", tg = 43583, ng = "out", ug = `
|
|
52216
52216
|
`, RR = "**=", pu2 = "pattern_object_property_pattern", ig = "e", fg = 72712, FR = "Internal Error: Found object private prop", cg = "ENOENT", sg = -42, ku2 = "jsx_opening_attribute", ag = 67646, mu2 = "component_type", og = 64296, vg = 43887, MR = "Division_by_zero", LR = "EnumDefaultedMember", hu2 = "typeof_member_identifier", lg = 43792, du2 = "match_member_pattern_property", yu2 = "declare_export_declaration_decl", pg = 93026, _u2 = "type_annotation_hint", kg = 42887, mg = 43881, hg = 43761, Lk = 8526, qR = 287, b6 = 119, dg = 43866, yg = 72847, _g = 8348, k1 = 101, wg = 94026, qk = 72272, BR = "src/parser/flow_lexer.ml", gg = 120744, Rv = 8191, V32 = "implies", Bk = 255, Uk = 11711, wu2 = "match_unary_pattern_argument", bg = 71235, UR = 288, Xk = 68116, cr5 = 100, gu2 = "match_expression", bu2 = "enum_body", Gk = 1114111, Tu2 = "assignment", Tg = 71955, Yk = 43260, Eu2 = "pattern_array_e", Eg = 126583, XR = "prefix", Su2 = "class_body", T6 = "shorthand", Sg = 171, Ag = 66256, zk = -97, GR = " =", Ig = 94032, Pg = 42606, Au2 = "match_case", Cg = 71839, Jk = 120134, Ng = 55291, Og = 92862, jg = 43019, Dg = 126543, $32 = "function", Rg = 111355, Fg = 11389, Mg = 70753, Lg = 43249, qg = 64829, Kk = "line", Iu2 = "function_declaration", Hk = "undefined", YR = "([^/]+)", Bg = 110947, Ug = 70002, zR = "Cygwin", Pu2 = "as_expression", Xg = 12591, Wk = 64285, Gg = 2048, Yg = 73112, Vk = 126589, JR = 225, $k = 43259, zg = 72817, Qk = 64318, KR = 172, HR = 209, Cu2 = "match_binding_pattern", Nu2 = " ", Ou2 = "import_source", E6 = "delete", WR = "Enum `", Zk = 126553, Jg = 67001, Fv = "default", Kg = 11630, Hg = 206, ju2 = "enum_bigint_member", Wg = 67504, x8 = 67593, Vg = 113791, VR = "MatchObjectPatternProperty", $g = 69572, Du2 = "typeof_type", $R = 212, QR = "%i", Ru2 = "function_this_param", Qg = 72329, Ao3 = "0x", Mv = 8239, Zg = 75075, ZR = 57343, Fu2 = "pattern_bigint_literal", xb = 12341, xF = 201, Lv = "hook", rF = ": closedir failed", rb = 42959, r8 = 119970, eb = 43560, eF = "||=", Mu2 = "member_private_name", tb = 120570, Lu2 = "object_key_identifier", e8 = 223, tF = "Not_found", qu2 = "record_static_property", nF = 230, Bu2 = "jsx_element_name_member_expression", Uu2 = "string_literal", nb = 120596, ub = 43807, ib = 69687, fb = 63743, t82 = 72192, Xu2 = "member_property", cb = 43262, Gu2 = "class_declaration", uF = "renders*", iF = "%Li", sb = 126578, Yu2 = "jsx_attribute", Q32 = 254, be6 = "empty", S6 = "label", zu2 = "object_internal_slot_property_type", n8 = 120133, ab = 43359, Ge7 = "predicate", fF = "??=", ob = 43697, vb = -43, Ju2 = "default_opt", cF = "the start of a statement", lb = 67826, Ku2 = "record_element", Hu2 = "object_", Wu2 = "class_element", u8 = 11631, i8 = 70855, Vu2 = "opaque_type", $u2 = "number_literal", sF = ", ", f8 = 8319, c8 = 120004, s8 = 133, Qu2 = "type_params", Zu2 = "pattern_object_rest_property", W22 = "import", pb = 72000, kb = 67413, mb = 12343, hb = 70080, xi6 = "intersection_type", l22 = -36, db = 70005, A6 = "properties", yb = 11679, _b = 8483, wb = 110587, aF = 43520, ri6 = "computed_key", oF = 207, ei6 = "class_identifier", gb = "Invalid number ", ti6 = "function_param_pattern", qv = 12288, bb = 113817, Tb = 70730, Eb = 178207, a8 = 71236, Sb = 167, ni6 = "object_indexer_property_type", Ab = 64286, vF = "TypeAnnotation", lF = 220, ui6 = "type_identifier", ii6 = "spread_property", fi6 = "jsx_attribute_value_expression", Ib = 126519, o8 = 70108, v8 = 126, l8 = 42999, Sa = "prototype", Pb = " : flags Open_text and Open_binary are not compatible", pF = "**", p8 = 43823, Cb = ": Not a directory", ci6 = "render_type", k8 = 72349, Z32 = "test", Nb = 43776, Ob = 92879, jb = 11263, kF = 241, Db = 93052, si6 = "nullable_type", Rb = 43704, Fb = 64321, mF = "Property", Mb = 72191, hF = 165, I6 = "instanceof", Lb = 69247, dF = 302, Ye4 = "name", m8 = 126634, qb = 8516, h8 = "typeArguments", Bb = 71127, ai6 = "jsx_spread_attribute", Ub = 66559, Xb = 44031, Gb = 43645, e2 = 8233, Yb = 71494, zb = "opaque", d8 = 72967, Jb = 70106, oi6 = "logical", yF = "@[%s =@ ", P6 = "0o", y8 = 126554, Kb = 71351, _8 = 8484, Hb = 72242, w8 = 120687, xl2 = 252, Wb = 183983, C6 = "%S", vi6 = "function_this_param_type", _F = 292, g8 = "decorators", Vb = 43255, li6 = "catch_clause", ze6 = "-", $b = 67711, wF = ": file descriptor already closed", b8 = 64311, pi6 = "record_declaration", T8 = 120539, Qb = "arguments", E8 = 73062, Zb = 173823, xT = 42124, rT = 72095, eT = 125259, tT = 42969, S8 = 70280, gF = 12520, nT = 69749, uT = 70066, ki6 = "binary", mi6 = "for_in_statement", iT = 43010, bF = "^=", fT = 126570, hi6 = "for_statement", A8 = 126584, di6 = "function_return_annotation", cT = 72144, sT = 8505, TF = -101, yi5 = "class_expression", aT = 120076, oT = 69807, vT = 40981, lT = -24976191, pT = 72768, kT = 126550, I8 = '"', _i6 = "call_type_arg", EF = "f", Bv = "this", P8 = 126628, SF = "===", AF = 56320, wi6 = "declare_module_exports", mT = 120512, p2 = 105, hT = 119974, dT = 71450, yT = 71942, IF = 195, C8 = 120629, PF = "/=", CF = ">>", gi6 = "declare_interface", NF = 4096, bi6 = "pattern_array_rest_element", _T = 71338, N8 = 126520, Ti6 = "as_const_expression", OF = "Popping lex mode from empty stack", jF = "renders?", wT = 68405, Ei6 = "member", Si6 = "class_extends", Uv = 12287, O8 = 126590, gT = 66377, DF = "fields", Io3 = "async", Ai6 = "pattern_array_element", rl2 = 240, RF = 308, bT = 69864, Xv = "readonly", TT = 70460, ET = 120779, ST = 66378, Ii6 = "new_", j8 = 126551, Pi6 = "pattern_object_rest_property_pattern", Ci6 = "for_statement_init", AT = 43595, D8 = 68296, FF = 148, MF = "\x01\x00\x00\x00\x00\x02", IT = 120712, PT = 64217, CT = 69295, LF2 = "||", NT = ";", OT = 70461, jT = 66939, DT = "record", qF = "collect_comments", BF = 279, Ni6 = "generic_type", RT = 68295, FT = 44002, R8 = 72162, Oi6 = "object_call_property_type", F8 = 8305, M8 = 119995, L8 = "with", ji6 = "class_property", UF = "qualification", Di6 = "jsx_attribute_name_namespaced", Ri6 = "if_statement", Fi6 = "typeof_qualified_identifier", XF = 238, MT = 65615, GF = 176, t24 = "expression", q8 = 126559, Mi5 = "jsx_attribute_value", Li6 = "<2>", qi6 = "component_param", B8 = "Map.bal", N62 = 132, LT = 70412, qT = 70440, YF = "<<", U8 = "finally", zF = "v", Bi6 = "syntax_opt", Ui6 = "meta_property", BT = 12447, UT = 67514, X8 = 12448, Xi6 = "object_mapped_type_property", Gv = "operator", JF = "closedir", Gi6 = "unary_expression", XT = 126588, GT = 70851, Yi6 = "export_batch_specifier", el2 = "renders", KF = 226, YT = 73111, HF = 221, rx = "", zT = 66927, JT = 64967, KT = "elements", HT = 67640, WT = 43754, zi6 = "declare_export_declaration", G8 = -26065557, VT = 65855, O6 = "boolean", Aa2 = "typeof", $T = 124902, WF = 139, QT = 65629, VF = 224, ZT = 43123, Y8 = 70449, xE = 12735, Te6 = 107, z8 = 11719, $F = "!=", Ji6 = "call_type_args", tl2 = "asserts", Po3 = -46, rE = "namespace", Ki6 = "match_pattern", Hi6 = "for_of_statement_lhs", J8 = 126504, eE = 69505, K8 = "for", tE = 72703, H8 = 120127, W8 = 43471, nE = 93047, QF = "Undefined_recursive_module", ZF = 2147483647, Wi6 = "template_literal_element", xM = "Unexpected ", uE = 101631, iE = 65497, V8 = 68120, Vi6 = "import_default_specifier", tn4 = "array", rM = "expressions", fE = 110930, eM = 204, $i6 = "while_", Qi6 = "function_rest_param_type", Co3 = 63, cE = 77808, tM = "Unexpected token `", k22 = 114, Zi6 = "pattern_object_p", sE = 65140, aE = 123190, xf2 = "pattern_object_property_number_literal_key", j6 = "enum", rf = "conditional_type", ef = 113, tf = "array_type", nM = "minus", oE = 43790, nf = "do_while", vE = 11567, lE = 11694, D6 = 256, pE = 119976, uf = "component_body", nn4 = 111, kE = 177976, $8 = 67644, mE = 73439, R62 = 951901561, uM = "?", iM = ")", Q8 = 43867, Z8 = 65575, hE = 69445, fM = "FunctionTypeParam", xm2 = 119996, dE = 65019, ff = "conditional", yE = 11505, cM = 135, _E = 71295, wE = 12799, gE = 67382, cf = "type_guard_annotation", sf = "object_key_computed", un4 = 123, af = "pattern_object_property_key", bE = 119892, TE = 67505, EE3 = 66962, of = "with_", SE = 43273, vf2 = "interface_declaration", rm2 = "bool", AE = 71945, IE = "declaration", PE = 11519, F6 = ">", CE = 66771, em2 = "}", sM = 8472, NE = 43014, lf = "declare_function", Gr4 = 127, OE = "RestElement", jE = 190, DE = 8467, aM = "module", tm2 = 126522, oM = "Sys_blocked_io", pf = "jsx_opening_element", kf2 = "object_key_number_literal", mf = "match_instance_pattern", vM = "|=", lM = "mixins", RE = 205, pM = 217, nm2 = "if", kM = "+=", hf = "match_object_pattern_property_key", df = "match_rest_pattern", yf = "export_named_declaration_specifier", um2 = "try", im2 = "_bigarr02", FE = 70479, fn5 = "right", ME = 245, LE = 11718, _f2 = "tuple_labeled_element", mM = "TypeParameterInstantiation", qE = "mkdir", BE = 71999, UE = 870530776, hM = "@[", dM = -908856609, yM = 331416730, XE = 11670, GE = 66735, YE = 43709, fm2 = 43642, zE = 67002, JE = 69375, wf = "function_body_any", KE = 119807, _M = "Assert_failure", gf = "function_identifier", HE = 65479, M62 = 131, Yv = "new", bf = "for_of_left_declaration", WE = 120084, VE = 100343, $E = 73030, cm2 = 70452, sm2 = 134, QE = 253, ZE = 42954, wM = 227, Tf = "jsx_member_expression_object", Ef = "class_property_value", xS = 120144, gM = 314, rS = 66994, nl2 = "set", eS = 126498, Sf = "tuple_element", Af = "arg_list", tS = 65481, nS = 8511, uS = 42964, iS = 11492, am2 = 126555, fS = 71039, cS = "exportKind", If2 = "program", sS = 70187, bM = 173, It7 = "as", zv = 124, TM = "visit_leading_comment", aS = 110575, Pf2 = "class_", oS = 72440, vS = 67897, EM = 235, lS = 8543, SM = 141, Cf2 = 120, Nf = "match_object_pattern_property", L6 = 1024, pS = 101640, AM = 1027, IM = 236, ul2 = 246, PM = "(", kS = 66511, Of = "regexp_literal", mS = 65574, hS = 43513, dS = 43695, CM = "&&", om2 = 11558, yS = 66503, _S = 93071, jf = "pattern_expression", wS = 65381, vm2 = 126538, gS = 12292, Df2 = "import_namespace_specifier", bS = 67583, TS = 120137, ES = 69622, SS = 120770, AS = 71131, Jv = 8287, IS = 110590, PS = 65135, CS = "Fatal error: exception ", q62 = 118, NS = 181, lm2 = 11687, m22 = "camlinternalFormat.ml", OS = 72959, jS = 249, Rf2 = "union_type", NM = 8206, DS = 73064, RS = 70271, FS = 92728, pm2 = 65344, km2 = 11695, Ff = "class_decorator", OM = "the end of an expression statement (`;`)", MS = 177983, LS = 8457, jM = 931, qS = 66499, BS = 94175, DM = "#", US = "Identifier", Mf2 = "for_in_statement_lhs", Lf = "pattern_string_literal", mm2 = 70302, hm2 = 126496, XS = 66461, GS = 82943, dm2 = 8450, YS = 72271, zS = 70853, JS = "of", RM = "Stack_overflow", B6 = "hasUnknownMembers", U62 = "a", qf = "variable_declarator_pattern", KS = 73061, HS = 77711, ym2 = 64317, WS = 73097, FM = 269, Bf = "enum_declaration", VS = 66966, $S = 189, QS = 119964, Uf = "type_param", cn4 = 782176664, _m2 = 65535, MM = -10, ZS = 64433, wm2 = 43815, gm2 = 94031, bm2 = 73065, xA = 69958, LM = 145, Tm2 = "property", Xf = "jsx_children", Gf = "member_property_identifier", rA = 42537, No3 = "const", eA = 70278, Yf = "enum_string_member", X62 = "local", zf = "jsx_element_name_identifier", tA = 68223, Em2 = "\x01\x02", nA = 119967, Sm2 = 119994, uA = 66993, Jf = "jsx_member_expression_identifier", Am2 = "explicitType", iA = 67589, fA = 65597, cA = "exported", sA = 94111, aA = 113775, Kf = "object_spread_property_type", oA = 64847, Hf = "component_identifier", Wf = "class_implements_interface", qM = 162, BM = 243, vA = 12783, UM = `Fatal error: exception %s
|
|
52217
|
-
`, Im2 = 120093, G6 = "column", Vf = "component_rest_param", XM = "methods", lA = 70451, pA = 70312, kA = 69967, Pm2 = 70279, mA = 66463, hA = 92975, Cm2 = 70286, $f2 = "pattern_object_property_computed_key", Qf = "object_key_string_literal", dA = "jsError", Zf = "type_args", yA = 8304, GM = "==", wr5 = 115, xc2 = "declare_component", _A = 120092, wA = 43638, gA = 66811, Ia2 = -87, bA = 43334, TA = 66863, EA = 77823, YM = 143, rc2 = "optional_call", SA = 126562, Nm2 = 70162, ec2 = 104, zM = "static ", AA = 66963, Kv = "await", Om2 = 70107, V22 = "0", IA = 72250, PA = 8507, CA = 100351, jm2 = "AssignmentPattern", tc2 = "type", JM = "%u", NA = "NonNullExpression", nc2 = "function_expression_or_method", OA = 43470, KM = 146, HM = 242, WM = "camlinternalMod.ml", uc2 = "match_or_pattern", jA = 72750, DA = 69414, RA = 65370, ic2 = "syntax", VM = 32752, FA = 42963, $M = "End_of_file", MA = 12294, LA = 8471, QM = "elementType", qA = 43782, ZM = "++", BA = 43641, UA = 71944, fc2 = "record_property", XA = 126601, GA = 78894, xL = -45, Hv = "null", rL = 177, eL = "satisfies", YA = 131071, cc2 = "import_specifier", sc2 = "class_method", ac2 = "type_", zA = 126514, JA = 8454, tL = "inexact", KA = 67807, HA = 8525, WA = 65470, VA = 71352, oc2 = "tuple_spread_element", nL = 219, $A = "abstract", QA = 73458, Je7 = "return", Y6 = 65536, Dm2 = 126548, vc2 = "array_element", ZA = -253313196, xI = 186, Rm2 = "catch", lc2 = "infer_type", rI = 12295, uL = "Invalid legacy octal ", eI = 69762, tI = 43311, nI = 65437, pc2 = "variable_declaration", iL = -696510241, kc2 = "function_params", uI = 64316, fL = 311, Fm2 = 11565, cL = "infinity", iI = "@]", fI = 65908, mc2 = "extends", cI = 66204, sI = 43784, aI = 11742, Mm2 = 126503, Ke7 = "debugger", oI = 70457, z62 = 912068366, vI = 68786, Lm2 = "keyof", qm2 = 69415, lI = 12686, sn4 = 127343600, hc2 = "declare_type_alias", sL = "the", aL = 233, dc2 = "jsx_element_name_namespaced", pI = 72283, kI = 161, yc2 = "class_static_block", _c2 = "function_param_type", Pt7 = 128, mI = -673950933, Bm2 = 126591, oL = "Sys_error", hI = 74649, dI = 74862, J62 = "is", yI = 43738, _I = 68479, vL = 196, Um2 = 70854, wc2 = "enum_boolean_member", Xm2 = 72163, wI = 92783, lL = 281, gc2 = "component_param_name", gI = 68863, an4 = 32768, pL = 2048, bI = 64284, kL = "@{", TI = "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01", Gm2 = 8455, bc2 = "update_expression", mL = 276, EI = 65500, K62 = "from", SI = 68447, Ym2 = 12592, AI = 92766, hL = ">>=", n22 = 110, II = 66431, PI = 43586, Tc2 = "jsx_identifier", CI = " : file already exists", R1 = 128, NI = 71958, OI = 66717, Ec2 = "enum_boolean_body", jI = 64262, Yr5 = "id", Sc2 = "component_renders_annotation", DI = 42888, RI = 8584, FI = 73008, Ac2 = "enum_symbol_body", Ic2 = "declare_namespace", zm2 = 72713, MI = 55215, Pc2 = "object_property_value_type", Cc2 = "match_wildcard_pattern", Nc2 = "for_in_assignment_pattern", Jm2 = 8485, LI = 43395, qI = 229, Pa2 = "true", BI = 43743, Oc2 = "enum_number_member", dL = 234, UI = 72969, yL = "expected *", Ee6 = 102, _L = 200, H62 = "symbol", Wv = "source", jc2 = "tparam_const_modifier", XI = 43714, Dc2 = "jsx_fragment", Rc2 = "jsx_attribute_name_identifier", W62 = "public", GI = 43442, Fc2 = "pattern_object_property", YI = 65786, zI = 70783, JI = 43713, KI = 72160, wL = "*-/", Mc2 = "export_named_specifier", Lc2 = "arrow_function", HI = 122623, Km2 = 70006, gL = "${", WI = 43814, qc2 = "generic_qualified_identifier_type", VI = 199, Bc2 = "jsx_spread_child", Hm2 = 8489, Wm2 = 184, bL = 2047, $I = 66955, Uc2 = "try_catch", QI = 70497, TL = 313, EL = 237, ZI = 67431, xP = 125183, SL = -602162310, on8 = "params", rP = "consequent", eP = 68029, tP = 67829, nP = 68095, Xc2 = "enum_string_body", uP = 93823, iP = 68351, fP = 65495, Gc2 = "declare_module", Yc2 = "match_as_pattern_target", zc2 = "body_expression", cP = 66175, sP = 191, Vm2 = 70441, $m2 = 65141, Qm2 = "&", Jc2 = "super_expression", Zm2 = 126564, aP = 72105, LI0 = "fs",
|
|
52217
|
+
`, Im2 = 120093, G6 = "column", Vf = "component_rest_param", XM = "methods", lA = 70451, pA = 70312, kA = 69967, Pm2 = 70279, mA = 66463, hA = 92975, Cm2 = 70286, $f2 = "pattern_object_property_computed_key", Qf = "object_key_string_literal", dA = "jsError", Zf = "type_args", yA = 8304, GM = "==", wr5 = 115, xc2 = "declare_component", _A = 120092, wA = 43638, gA = 66811, Ia2 = -87, bA = 43334, TA = 66863, EA = 77823, YM = 143, rc2 = "optional_call", SA = 126562, Nm2 = 70162, ec2 = 104, zM = "static ", AA = 66963, Kv = "await", Om2 = 70107, V22 = "0", IA = 72250, PA = 8507, CA = 100351, jm2 = "AssignmentPattern", tc2 = "type", JM = "%u", NA = "NonNullExpression", nc2 = "function_expression_or_method", OA = 43470, KM = 146, HM = 242, WM = "camlinternalMod.ml", uc2 = "match_or_pattern", jA = 72750, DA = 69414, RA = 65370, ic2 = "syntax", VM = 32752, FA = 42963, $M = "End_of_file", MA = 12294, LA = 8471, QM = "elementType", qA = 43782, ZM = "++", BA = 43641, UA = 71944, fc2 = "record_property", XA = 126601, GA = 78894, xL = -45, Hv = "null", rL = 177, eL = "satisfies", YA = 131071, cc2 = "import_specifier", sc2 = "class_method", ac2 = "type_", zA = 126514, JA = 8454, tL = "inexact", KA = 67807, HA = 8525, WA = 65470, VA = 71352, oc2 = "tuple_spread_element", nL = 219, $A = "abstract", QA = 73458, Je7 = "return", Y6 = 65536, Dm2 = 126548, vc2 = "array_element", ZA = -253313196, xI = 186, Rm2 = "catch", lc2 = "infer_type", rI = 12295, uL = "Invalid legacy octal ", eI = 69762, tI = 43311, nI = 65437, pc2 = "variable_declaration", iL = -696510241, kc2 = "function_params", uI = 64316, fL = 311, Fm2 = 11565, cL = "infinity", iI = "@]", fI = 65908, mc2 = "extends", cI = 66204, sI = 43784, aI = 11742, Mm2 = 126503, Ke7 = "debugger", oI = 70457, z62 = 912068366, vI = 68786, Lm2 = "keyof", qm2 = 69415, lI = 12686, sn4 = 127343600, hc2 = "declare_type_alias", sL = "the", aL = 233, dc2 = "jsx_element_name_namespaced", pI = 72283, kI = 161, yc2 = "class_static_block", _c2 = "function_param_type", Pt7 = 128, mI = -673950933, Bm2 = 126591, oL = "Sys_error", hI = 74649, dI = 74862, J62 = "is", yI = 43738, _I = 68479, vL = 196, Um2 = 70854, wc2 = "enum_boolean_member", Xm2 = 72163, wI = 92783, lL = 281, gc2 = "component_param_name", gI = 68863, an4 = 32768, pL = 2048, bI = 64284, kL = "@{", TI = "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01", Gm2 = 8455, bc2 = "update_expression", mL = 276, EI = 65500, K62 = "from", SI = 68447, Ym2 = 12592, AI = 92766, hL = ">>=", n22 = 110, II = 66431, PI = 43586, Tc2 = "jsx_identifier", CI = " : file already exists", R1 = 128, NI = 71958, OI = 66717, Ec2 = "enum_boolean_body", jI = 64262, Yr5 = "id", Sc2 = "component_renders_annotation", DI = 42888, RI = 8584, FI = 73008, Ac2 = "enum_symbol_body", Ic2 = "declare_namespace", zm2 = 72713, MI = 55215, Pc2 = "object_property_value_type", Cc2 = "match_wildcard_pattern", Nc2 = "for_in_assignment_pattern", Jm2 = 8485, LI = 43395, qI = 229, Pa2 = "true", BI = 43743, Oc2 = "enum_number_member", dL = 234, UI = 72969, yL = "expected *", Ee6 = 102, _L = 200, H62 = "symbol", Wv = "source", jc2 = "tparam_const_modifier", XI = 43714, Dc2 = "jsx_fragment", Rc2 = "jsx_attribute_name_identifier", W62 = "public", GI = 43442, Fc2 = "pattern_object_property", YI = 65786, zI = 70783, JI = 43713, KI = 72160, wL = "*-/", Mc2 = "export_named_specifier", Lc2 = "arrow_function", HI = 122623, Km2 = 70006, gL = "${", WI = 43814, qc2 = "generic_qualified_identifier_type", VI = 199, Bc2 = "jsx_spread_child", Hm2 = 8489, Wm2 = 184, bL = 2047, $I = 66955, Uc2 = "try_catch", QI = 70497, TL = 313, EL = 237, ZI = 67431, xP = 125183, SL = -602162310, on8 = "params", rP = "consequent", eP = 68029, tP = 67829, nP = 68095, Xc2 = "enum_string_body", uP = 93823, iP = 68351, fP = 65495, Gc2 = "declare_module", Yc2 = "match_as_pattern_target", zc2 = "body_expression", cP = 66175, sP = 191, Vm2 = 70441, $m2 = 65141, Qm2 = "&", Jc2 = "super_expression", Zm2 = 126564, aP = 72105, LI0 = "fs", He7 = "throw", oP = 68287, vP = 67839, Ca2 = 116, lP = 110882, pP = 69404, kP = 123197, Vv = 65279, il3 = "src/parser/type_parser.ml", mP = 68115, xh = 126547, rh = 126556, hP = 73055, Kc2 = "member_property_expression", Hc2 = "enum_defaulted_member", dP = 43071, yP = 11726, Wc2 = "component_type_rest_param", _P = 68607, Vc2 = "object_key", AL = 160, $22 = "variance", wP = 70655, gP = 70414, fl2 = "super", bP = 123583, TP = 65594, V6 = "method", EP = 73648, $6 = 121, SP = 93951, $c2 = "pattern_array_element_pattern", AP = 43764, IP = 42993, eh = 120145, PP = 74879, IL = 168, th = 8486, CP = 72001, Qc2 = "tagged_template", Zc2 = "module_ref_literal", NP = 65312, Oo2 = "implements", OP = 43700, jP = 120003, PL = "Invalid_argument", xs6 = 16777215, DP = 83526, nh = 69744, uh = 12336, rs5 = "switch_case", CL = -61, es5 = "optional_member", RP = 64274, ih = 64322, fh = 126530, FP = 71998, ch = 72970, MP = 13311, LP = 73647, qP = 120074, cl2 = "let", NL = "global", ts5 = "expression_statement", ns5 = "component_type_params", BP = 512, UP = 69634, XP = 67461, GP = 123627, YP = 64913, OL = "children", jL = "PropertyDefinition", DL = 1026, RL = "%li", us5 = "declare_class", zP = 43258, is5 = "indexed_access_type", JP = 124926, h22 = 112, KP = "b", fs24 = "predicate_expression", cs5 = "if_alternate_statement", Q62 = "private", FL = -594953737, ML = 140, HP = "nan", WP = 72103, sh = 11735, ss5 = "statement", VP = "rmdir", ah = 66512, $P = "match", QP = 198, ZP = 11734, as5 = "import_named_specifier", xC = 69599, rC = 68799, eC = 194559, os7 = "match_array_pattern", LL = 174, vs6 = "function_", ls5 = "bigint_literal", t1 = 248, oh = 67638, vh = 126539, tC = 11557, qL = 214, nC = 5760, We7 = "break", vn3 = "block", ps5 = "match_member_pattern", uC = 123565, iC = 66815, m1 = "value", BL = 1039100673, fC = 69746, cC = 70448, sC = 74751, ks5 = "init", aC = 69551, lh = 65548, ms5 = "jsx_member_expression", ph = 68096, d22 = 108, kh = 126521, oC = 71487, hs5 = "match_statement", vC = 178205, lC = 12548, UL = " : is a directory", ln4 = ".", pC = 12348, sl3 = -835925911, B22 = "typeParameters", kC = 66855, Y1 = "typeAnnotation", $v = "bigint", ds5 = "jsx_attribute_value_literal", mh = 194, XL = "T_JSX_TEXT", mC = 68466, hh = 126537, GL = 67714067, hC = 69487, dh = "export", dC = 43822, yh = 126499, yC = 55242, ys5 = "member_type_identifier", YL = 138, _C = 71679, Qv = 130, wC = 12438, gC = 119969, zL = 298, _h = 12539, bC = 119972, JL = ",", TC = 71423, EC = "index out of bounds", Ct8 = 106, al2 = "%d", KL = "T_RENDERS_QUESTION", wh = 120571, gh = "returnType", SC = 69423, bh = 120070, HL = "%", Z62 = 117, AC = 179, IC = "EBADF", PC = 93759, Th = 64325, _s5 = "component_params", CC = 66517, NC = 67423, OC = 605857695, jC = 43518, WL = 251, ws5 = "for_of_statement", DC = 71983, VL = "~", RC = 12442, Ve7 = "switch", FC = 66207, Eh = 126535, $L = "&&=", MC = 69289, LC = 71723, gs5 = "generic_identifier_type", qC = 126619, bs5 = "object_type_property_setter", BC = 70418, QL = "<=", UC = 125251, XC = 11702, Ts4 = "enum_number_body", ol3 = 250, GC = 124910, YC = 69297, zC = 67455, JC = 42511, Es4 = "ts_satisfies", ZL = 268, KC = 68324, Sh = "an identifier", HC = 126534, Ss4 = 103, WC = 120126, jo2 = 449540197, x42 = "declare", VC = 68899, $C = 126502, As5 = "function_expression", xq = 142, QC = 123135, ZC = 67967, xN = 120487, rN = 120686, Is6 = "export_named_declaration", eN = 66348, Ah = 119981, tN = 12352, Ps6 = "tuple_type", nN = 68680, Ih = "target", Cs4 = "call";
|
|
52218
52218
|
function Ez(x6, r, e6, t25, u6) {
|
|
52219
52219
|
if (t25 <= r)
|
|
52220
52220
|
for (var i6 = 1;i6 <= u6; i6++)
|
|
@@ -54552,7 +54552,7 @@ var init_flow = __esm(() => {
|
|
|
54552
54552
|
function XJ(x6, r, e6, t25, u6, i6, c6, v6) {
|
|
54553
54553
|
return (x6.l >= 0 ? x6.l : x6.l = x6.length) == 7 ? x6(r, e6, t25, u6, i6, c6, v6) : Os5(x6, [r, e6, t25, u6, i6, c6, v6]);
|
|
54554
54554
|
}
|
|
54555
|
-
var D5 = undefined, NN = [t1, cD2, -1], Lq = [t1, oL, -2], mn4 = [t1, sy, -3], Kh = [t1, PL, -4], Ds6 = [t1, tF, -7], qq = [t1, dD2, -8], Bq = [t1, RM, -9], Nr5 = [t1, _M, -11], s4 = [t1, QF, -12], GJ = [4, 0, 0, 0, [12, 45, [4, 0, 0, 0, 0]]], ON = [0, [11, 'File "', [2, 0, [11, '", line ', [4, 0, 0, 0, [11, mD2, [4, 0, 0, 0, [12, 45, [4, 0, 0, 0, [11, ": ", [2, 0, 0]]]]]]]]]], 'File "%s", line %d, characters %d-%d: %s'], dl2 = [0, 0, [0, 0, 0], [0, 0, 0]], Lo3 = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0], Uq = [0, "first_leading", "last_trailing"], Xq = [0, Af, tn4, vc2, tf, Lc2, Ti6, Pu2, Tu2, u7, ls5, ki6, R7, G7, vn3, zc2, iu2, We7, Cs4, _i6, Ji6, l7, li6, c7, Pf2, Su2, Gu2, Ff, Wu2, yi5, Si6, ei6, B7, Wf, sc2, y7, ji6, Ef, yc2, H7, uf, ru2, Hf, qi6, gc2, Jn3, _s5, Sc2, Vf, mu2, K7, ns5, Wc2, ri6, ff, rf, Xe6, Ke7, us5, xc2, ou2, zi6, yu2, lf, gi6, Gc2, wi6, Ic2, hc2, qn4, Ju2, nf, be6, j7, ju2, bu2, Ec2, wc2, Bf, Hc2, O7, Ts4, Oc2, Xc2, Yf, Ac2, Yi6, Yn3, A7, Is6, yf, Mc2, Un3, t24, p7, ts5, Nc2, C7, mi6, Mf2, b7, v7, bf, ws5, Hi6, hi6, Ci6, vs6, Qn3, wf, Iu2, As5, nc2, gf, cu2, ti6, _c2, kc2, S7, Qi6, di6, Ru2, vi6, i7, tu2, gs5, qc2, Ni6, St8, cs5, U7, Ri6, W22, Gn4, Vi6, as5, Df2, Ou2, cc2, is5, lc2, ae4, vf2, eu2, xi6, Yu2, zn4, Rc2, Di6, Mi5, fi6, ds5, I7, Xf, Z7, D7, f7, zf, Bu2, dc2, z7, Dc2, Tc2, ms5, Jf, Tf, xu2, ku2, pf, ai6, Bc2, Hn4, g7, G1, oi6, N7, os7, su2, Yc2, Cu2, Au2, gu2, mf, L7, ps5, E7, du2, uu2, Nf, hf, uc2, Ki6, W72, df, hs5, Kn4, wu2, Cc2, Ei6, Mu2, Xu2, Kc2, Gf, ys5, Ui6, Zc2, Ii6, n7, si6, $u2, Hu2, Oi6, ni6, zu2, Vc2, Xn4, sf, Lu2, kf2, Qf, Xi6, r7, Vn3, Pc2, Kf, o7, e7, Wn3, bs5, Vu2, rc2, x7, es5, ge6, Eu2, Ai6, $c2, bi6, Y7, Fu2, jf, Bn3, m7, Zi6, Fc2, au2, $f2, P7, af, xf2, pu2, M7, Zu2, Pi6, Lf, Ge7, fs24, _7, If2, a7, q72, pi6, Ku2, fc2, qu2, Of, w7, ci6, Je7, T7, lu2, ii6, ss5, k7, fu2, Uu2, Jc2, Ve7, rs5, ic2, Bi6, Qc2, s7, Wi6, t72,
|
|
54555
|
+
var D5 = undefined, NN = [t1, cD2, -1], Lq = [t1, oL, -2], mn4 = [t1, sy, -3], Kh = [t1, PL, -4], Ds6 = [t1, tF, -7], qq = [t1, dD2, -8], Bq = [t1, RM, -9], Nr5 = [t1, _M, -11], s4 = [t1, QF, -12], GJ = [4, 0, 0, 0, [12, 45, [4, 0, 0, 0, 0]]], ON = [0, [11, 'File "', [2, 0, [11, '", line ', [4, 0, 0, 0, [11, mD2, [4, 0, 0, 0, [12, 45, [4, 0, 0, 0, [11, ": ", [2, 0, 0]]]]]]]]]], 'File "%s", line %d, characters %d-%d: %s'], dl2 = [0, 0, [0, 0, 0], [0, 0, 0]], Lo3 = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0], Uq = [0, "first_leading", "last_trailing"], Xq = [0, Af, tn4, vc2, tf, Lc2, Ti6, Pu2, Tu2, u7, ls5, ki6, R7, G7, vn3, zc2, iu2, We7, Cs4, _i6, Ji6, l7, li6, c7, Pf2, Su2, Gu2, Ff, Wu2, yi5, Si6, ei6, B7, Wf, sc2, y7, ji6, Ef, yc2, H7, uf, ru2, Hf, qi6, gc2, Jn3, _s5, Sc2, Vf, mu2, K7, ns5, Wc2, ri6, ff, rf, Xe6, Ke7, us5, xc2, ou2, zi6, yu2, lf, gi6, Gc2, wi6, Ic2, hc2, qn4, Ju2, nf, be6, j7, ju2, bu2, Ec2, wc2, Bf, Hc2, O7, Ts4, Oc2, Xc2, Yf, Ac2, Yi6, Yn3, A7, Is6, yf, Mc2, Un3, t24, p7, ts5, Nc2, C7, mi6, Mf2, b7, v7, bf, ws5, Hi6, hi6, Ci6, vs6, Qn3, wf, Iu2, As5, nc2, gf, cu2, ti6, _c2, kc2, S7, Qi6, di6, Ru2, vi6, i7, tu2, gs5, qc2, Ni6, St8, cs5, U7, Ri6, W22, Gn4, Vi6, as5, Df2, Ou2, cc2, is5, lc2, ae4, vf2, eu2, xi6, Yu2, zn4, Rc2, Di6, Mi5, fi6, ds5, I7, Xf, Z7, D7, f7, zf, Bu2, dc2, z7, Dc2, Tc2, ms5, Jf, Tf, xu2, ku2, pf, ai6, Bc2, Hn4, g7, G1, oi6, N7, os7, su2, Yc2, Cu2, Au2, gu2, mf, L7, ps5, E7, du2, uu2, Nf, hf, uc2, Ki6, W72, df, hs5, Kn4, wu2, Cc2, Ei6, Mu2, Xu2, Kc2, Gf, ys5, Ui6, Zc2, Ii6, n7, si6, $u2, Hu2, Oi6, ni6, zu2, Vc2, Xn4, sf, Lu2, kf2, Qf, Xi6, r7, Vn3, Pc2, Kf, o7, e7, Wn3, bs5, Vu2, rc2, x7, es5, ge6, Eu2, Ai6, $c2, bi6, Y7, Fu2, jf, Bn3, m7, Zi6, Fc2, au2, $f2, P7, af, xf2, pu2, M7, Zu2, Pi6, Lf, Ge7, fs24, _7, If2, a7, q72, pi6, Ku2, fc2, qu2, Of, w7, ci6, Je7, T7, lu2, ii6, ss5, k7, fu2, Uu2, Jc2, Ve7, rs5, ic2, Bi6, Qc2, s7, Wi6, t72, He7, Q7, jc2, Uc2, Es4, Sf, _f2, oc2, Ps6, ac2, $n3, vu2, _u2, Zf, Zn4, X72, cf, ui6, J72, Uf, Qu2, d7, F7, hu2, Fi6, Du2, Gi6, Rf2, bc2, pc2, h7, qf, $22, V7, $i6, of, H22], hn4 = [0, 0, 0];
|
|
54556
54556
|
Dt7(11, s4, QF), Dt7(10, Nr5, _M), Dt7(9, [t1, oM, MM], oM), Dt7(8, Bq, RM), Dt7(7, qq, dD2), Dt7(6, Ds6, tF), Dt7(5, [t1, MR, -6], MR), Dt7(4, [t1, $M, -5], $M), Dt7(3, Kh, PL), Dt7(2, mn4, sy), Dt7(1, Lq, oL), Dt7(0, NN, cD2);
|
|
54557
54557
|
function L1(x6) {
|
|
54558
54558
|
if (typeof x6 == "number")
|
|
@@ -57945,8 +57945,8 @@ var init_flow = __esm(() => {
|
|
|
57945
57945
|
}, 0, r[1]);
|
|
57946
57946
|
};
|
|
57947
57947
|
}
|
|
57948
|
-
var KV = "Array.sub", HV = "first domain already spawned", WV = [0, "camlinternalOO.ml", BF, 50], VV = [0, WM, 72, 5], $V = [0, WM, 81, 2], QV = "/tmp", ZV = ln4, x$ = [0, "src/wtf8.ml", 65, 9], r$ = [0, "src/third-party/sedlex/flow_sedlexing.ml", jS, 4], e$ = "Flow_sedlexing.MalFormed", t$ = O6, n$ = H32, u$ = K32, i$ = H62, f$ = $v, c$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.LibFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.LibFile@ "], s$ = [0, [3, 0, 0], C6], a$ = [0, [17, 0, [12, 41, 0]], ck], o$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.SourceFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.SourceFile@ "], v$ = [0, [3, 0, 0], C6], l$ = [0, [17, 0, [12, 41, 0]], ck], p$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.JsonFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.JsonFile@ "], k$ = [0, [3, 0, 0], C6], m$ = [0, [17, 0, [12, 41, 0]], ck], h$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.ResourceFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.ResourceFile@ "], d$ = [0, [3, 0, 0], C6], y$ = [0, [17, 0, [12, 41, 0]], ck], _$ = [0, 1], w$ = [0, 0], g$ = [0, 1], b$ = [0, 2], T$ = [0, 2], E$ = [0, 0], S$ = [0, 1], A$ = [0, 1], I$ = [0, 1], P$ = [0, 1], C$ = [0, 2], N$ = [0, 1], O$ = [0, 1], j$ = [0, 0, 0], D$ = [0, 0, 0], R$ = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms5, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He6, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], F$ = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He6, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms5, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], M$ = GM, L$ = $F, q$ = SF, B$ = OD, U$ = Qy, X$ = QL, G$ = F6, Y$ = WD, z$ = YF, J$ = CF, K$ = yD2, H$ = $7, W$ = ze6, V$ = _R, $$ = pF, Q$ = se6, Z$ = HL, xQ = wR, rQ = _k, eQ = Qm2, tQ = bo3, nQ = I6, uQ = kM, iQ = YD, fQ = IR, cQ = RR, sQ = PF, aQ = qD, oQ = GD, vQ = hL, lQ = TR, pQ = vM, kQ = bF, mQ = yo3, hQ = fF, dQ = $L, yQ = eF, _Q = g6, wQ = cl2, gQ = No3, bQ = [0, [18, [1, [0, [11, Li6, 0], Li6]], [11, "{ ", 0]], "@[<2>{ "], TQ = "Loc.line", EQ = [0, [18, [1, [0, 0, rx]], [2, 0, [11, GR, [17, [0, Eo3, 1, 0], 0]]]], yF], SQ = [0, [4, 0, 0, 0, 0], al2], AQ = [0, [17, 0, 0], iI], IQ = [0, [12, 59, [17, [0, Eo3, 1, 0], 0]], ";@ "], PQ = G6, CQ = [0, [18, [1, [0, 0, rx]], [2, 0, [11, GR, [17, [0, Eo3, 1, 0], 0]]]], yF], NQ = [0, [4, 0, 0, 0, 0], al2], OQ = [0, [17, 0, 0], iI], jQ = [0, [17, [0, Eo3, 1, 0], [12, So3, [17, 0, 0]]], "@ }@]"], DQ = rx, RQ = "Object literal may not have data and accessor property with the same name", FQ = "Object literal may not have multiple get/set accessors with the same name", MQ = "Unexpected token <. Remember, adjacent JSX elements must be wrapped in an enclosing parent tag", LQ = "`let [` is ambiguous in this position because it is either a `let` binding pattern, or a member expression.", qQ = "Async functions can only be declared at top level or immediately within another function.", BQ = "`await` is an invalid identifier in async functions", UQ = "`await` is not allowed in async function parameters.", XQ = "Computed properties must have a value.", GQ = "Constructor can't be an accessor.", YQ = "Constructor can't be an async function.", zQ = "Constructor can't be a generator.", JQ = "It is sufficient for your declare function to just have a Promise return type.", KQ = "async is an implementation detail and isn't necessary for your declare function statement. ", HQ = "`declare` modifier can only appear on class fields.", WQ = "Unexpected token `=`. Initializers are not allowed in a `declare`.", VQ = "Unexpected token `=`. Initializers are not allowed in a `declare opaque type`.", $Q = "Classes may only have one constructor", QQ = "Rest element must be final element of an array pattern", ZQ = "Cannot export an enum with `export type`, try `export enum E {}` or `module.exports = E;` instead.", xZ = "Enum members are separated with `,`. Replace `;` with `,`.", rZ = "`const` enums are not supported. Flow Enums are designed to allow for inlining, however the inlining itself needs to be part of the build system (whatever you use) rather than Flow itself.", eZ = "Expected an object pattern, array pattern, or an identifier but found an expression instead", tZ = "Missing comma between export specifiers", nZ = "Generators can only be declared at top level or immediately within another function.", uZ = "Getter should have zero parameters", iZ = "A getter cannot have a `this` parameter.", fZ = "Illegal continue statement", cZ = "Illegal return statement", sZ = "Illegal Unicode escape", aZ = "Missing comma between import specifiers", oZ = "It cannot be used with `import type` or `import typeof` statements", vZ = "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. ", lZ = "Explicit inexact syntax cannot appear inside an explicit exact object type", pZ = "Explicit inexact syntax can only appear inside an object type", kZ = "Component params must be an identifier. If you'd like to destructure, you should use `name as {destructure}`", mZ = "A bigint literal must be an integer", hZ = "JSX value should be either an expression or a quoted JSX text", dZ = "Invalid left-hand side in assignment", yZ = "Invalid left-hand side in exponentiation expression", _Z = "Invalid left-hand side in for-in", wZ = "Invalid left-hand side in for-of", gZ = "Invalid optional indexed access. Indexed access uses bracket notation. Use the format `T?.[K]`.", bZ = "Invalid regular expression", TZ = "A bigint literal cannot use exponential notation", EZ = "Tuple spread elements cannot be optional.", SZ = "Tuple variance annotations can only be used with labeled tuple elements, e.g. `[+foo: number]`", AZ = "`typeof` can only be used to get the type of variables.", IZ = "JSX attributes must only be assigned a non-empty expression", PZ = "Literals cannot be used as shorthand properties.", CZ = "Malformed unicode", NZ = "`match` argument must not be empty", OZ = "`match` argument cannot contain spread elements", jZ = "`await` is not yet supported in `match` expressions", DZ = "`yield` is not yet supported in `match` expressions", RZ = "Object pattern can't contain methods", FZ = "Expected at least one type parameter.", MZ = "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.", LZ = "More than one default clause in switch statement", qZ = "Illegal newline after throw", BZ = "Illegal newline before arrow", UZ = "Missing catch or finally after try", XZ = "Const must be initialized", GZ = "Destructuring assignment must be initialized", YZ = "An optional chain may not be used in a `new` expression.", zZ = "Template literals may not be used in an optional chain.", JZ = "Rest parameter must be final parameter of an argument list", KZ = "Private fields may not be deleted.", HZ = "Private fields can only be referenced from within a class.", WZ = "Rest property must be final property of an object pattern", VZ = "Records to not support private elements. Remove the `#`.", $Z = "Setter should have exactly one parameter", QZ = "A setter cannot have a `this` parameter.", ZZ = "Catch variable may not be eval or arguments in strict mode", x00 = "Delete of an unqualified identifier in strict mode.", r00 = "Duplicate data property in object literal not allowed in strict mode", e00 = "Function name may not be eval or arguments in strict mode", t00 = "Assignment to eval or arguments is not allowed in strict mode", n00 = "Postfix increment/decrement may not have eval or arguments operand in strict mode", u00 = "Prefix increment/decrement may not have eval or arguments operand in strict mode", i00 = "Strict mode code may not include a with statement", f00 = "Number literals with leading zeros are not allowed in strict mode.", c00 = "Octal literals are not allowed in strict mode.", s00 = "Strict mode function may not have duplicate parameter names", a00 = "Parameter name eval or arguments is not allowed in strict mode", o00 = 'Illegal "use strict" directive in function with non-simple parameter list', v00 = "Use of reserved word in strict mode", l00 = "Variable name may not be eval or arguments in strict mode", p00 = "You may not access a private field through the `super` keyword.", k00 = "Flow does not support abstract classes.", m00 = "Flow does not support template literal types.", h00 = "A type annotation is required for the `this` parameter.", d00 = "Arrow functions cannot have a `this` parameter; arrow functions automatically bind `this` when declared.", y00 = "Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.", _00 = "The `this` parameter cannot be optional.", w00 = "The `this` parameter must be the first function parameter.", g00 = "A trailing comma is not permitted after the rest element", b00 = "Unexpected end of input", T00 = "Explicit inexact syntax must come at the end of an object type", E00 = "Opaque type aliases are not allowed in untyped mode", S00 = "Unexpected proto modifier", A00 = "Unexpected reserved word", I00 = "Unexpected reserved type", P00 = "Spreading a type is only allowed inside an object type", C00 = "Unexpected static modifier", N00 = "Unexpected `super` outside of a class method", O00 = "`super()` is only valid in a class constructor", j00 = "Type aliases are not allowed in untyped mode", D00 = "Type annotations are not allowed in untyped mode", R00 = "Type declarations are not allowed in untyped mode", F00 = "Type exports are not allowed in untyped mode", M00 = "Type imports are not allowed in untyped mode", L00 = "Interfaces are not allowed in untyped mode", q00 = "Unexpected variance sigil", B00 = "Found a decorator in an unsupported position.", U00 = "Invalid regular expression: missing /", X00 = "Unexpected whitespace between `#` and identifier", G00 = "`yield` is an invalid identifier in generators", Y00 = "Yield expression not allowed in formal parameter", z00 = [0, [11, "Duplicate export for `", [2, 0, [12, 96, 0]]], "Duplicate export for `%s`"], J00 = [0, [11, "Private fields may only be declared once. `#", [2, 0, [11, "` is declared more than once.", 0]]], "Private fields may only be declared once. `#%s` is declared more than once."], K00 = [0, [11, "bigint enum members need to be initialized, e.g. `", [2, 0, [11, " = 1n,` in enum `", [2, 0, [11, nu2, 0]]]]], "bigint enum members need to be initialized, e.g. `%s = 1n,` in enum `%s`."], H00 = [0, [11, "Boolean enum members need to be initialized. Use either `", [2, 0, [11, " = true,` or `", [2, 0, [11, " = false,` in enum `", [2, 0, [11, nu2, 0]]]]]]], "Boolean enum members need to be initialized. Use either `%s = true,` or `%s = false,` in enum `%s`."], W00 = [0, [11, "Enum member names need to be unique, but the name `", [2, 0, [11, "` has already been used before in enum `", [2, 0, [11, nu2, 0]]]]], "Enum member names need to be unique, but the name `%s` has already been used before in enum `%s`."], V00 = [0, [11, WR, [2, 0, [11, "` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.", 0]]], "Enum `%s` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."], $00 = "The `...` must come at the end of the enum body. Remove the trailing comma.", Q00 = "The `...` must come after all enum members. Move it to the end of the enum body.", Z00 = [0, [11, "Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `", [2, 0, [11, nu2, 0]]], "Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `%s`."], xx0 = [0, [11, "Enum type `", [2, 0, [11, "` is not valid. ", [2, 0, 0]]]], "Enum type `%s` is not valid. %s"], rx0 = [0, [11, "Supplied enum type is not valid. ", [2, 0, 0]], "Supplied enum type is not valid. %s"], ex0 = [0, [11, "Enum member names and initializers are separated with `=`. Replace `", [2, 0, [11, ":` with `", [2, 0, [11, " =`.", 0]]]]], "Enum member names and initializers are separated with `=`. Replace `%s:` with `%s =`."], tx0 = [0, [11, WR, [2, 0, [11, "` has type `", [2, 0, [11, "`, so the initializer of `", [2, 0, [11, "` needs to be a ", [2, 0, [11, " literal.", 0]]]]]]]]], "Enum `%s` has type `%s`, so the initializer of `%s` needs to be a %s literal."], nx0 = [0, [11, "Symbol enum members cannot be initialized. Use `", [2, 0, [11, ",` in enum `", [2, 0, [11, nu2, 0]]]]], "Symbol enum members cannot be initialized. Use `%s,` in enum `%s`."], ux0 = [0, [11, "The enum member initializer for `", [2, 0, [11, "` needs to be a literal (either a boolean, number, or string) in enum `", [2, 0, [11, nu2, 0]]]]], "The enum member initializer for `%s` needs to be a literal (either a boolean, number, or string) in enum `%s`."], ix0 = [0, [11, "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `", [2, 0, [11, "`, consider using `", [2, 0, [11, "`, in enum `", [2, 0, [11, nu2, 0]]]]]]], "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%s`, consider using `%s`, in enum `%s`."], fx0 = [0, [11, "Number enum members need to be initialized, e.g. `", [2, 0, [11, " = 1,` in enum `", [2, 0, [11, nu2, 0]]]]], "Number enum members need to be initialized, e.g. `%s = 1,` in enum `%s`."], cx0 = [0, [11, "String enum members need to consistently either all use initializers, or use no initializers, in enum ", [2, 0, [12, 46, 0]]], "String enum members need to consistently either all use initializers, or use no initializers, in enum %s."], sx0 = [0, [11, "Expected corresponding JSX closing tag for ", [2, 0, 0]], "Expected corresponding JSX closing tag for %s"], ax0 = "immediately within another function.", ox0 = "In strict mode code, functions can only be declared at top level or ", vx0 = "inside a block, or as the body of an if statement.", lx0 = "In non-strict mode code, functions can only be declared at top level, ", px0 = " `break` statements are not required in `match` statements, as unlike `switch` statements, `match` statement cases do not fall-through by default.", kx0 = rx, mx0 = [0, [11, "Illegal break statement.", [2, 0, 0]], "Illegal break statement.%s"], hx0 = zM, dx0 = rx, yx0 = XM, _x0 = DF, wx0 = DM, gx0 = [0, [11, "Classes may not have ", [2, 0, [2, 0, [11, DD2, [2, 0, [11, nu2, 0]]]]]], "Classes may not have %s%s named `%s`."], bx0 = "Components use `renders` instead of `:` to annotate the render type of a component.", Tx0 = uM, Ex0 = rx, Sx0 = [0, [11, "String params require local bindings using `as` renaming. You can use `'", [2, 0, [11, "' as ", [2, 0, [2, 0, [11, ": <TYPE>` ", 0]]]]]], "String params require local bindings using `as` renaming. You can use `'%s' as %s%s: <TYPE>` "], Ax0 = "Remove the period.", Ix0 = "Indexed access uses bracket notation.", Px0 = [0, [11, "Invalid indexed access. ", [2, 0, [11, " Use the format `T[K]`.", 0]]], "Invalid indexed access. %s Use the format `T[K]`."], Cx0 = [0, [11, "Invalid flags supplied to RegExp constructor '", [2, 0, [12, 39, 0]]], "Invalid flags supplied to RegExp constructor '%s'"], Nx0 = tn4, Ox0 = Dp2, jx0 = [0, [11, "In match ", [2, 0, [11, " pattern, the rest must be the last element in the pattern", 0]]], "In match %s pattern, the rest must be the last element in the pattern"], Dx0 = [0, [11, "JSX element ", [2, 0, [11, " has no corresponding closing tag.", 0]]], "JSX element %s has no corresponding closing tag."], Rx0 = [0, [11, tM, [2, 0, [11, "`. Parentheses are required to combine `??` with `&&` or `||` expressions.", 0]]], "Unexpected token `%s`. Parentheses are required to combine `??` with `&&` or `||` expressions."], Fx0 = zM, Mx0 = rx, Lx0 = XM, qx0 = A6, Bx0 = [0, [11, "Records may not have ", [2, 0, [2, 0, [11, DD2, [2, 0, [11, nu2, 0]]]]]], "Records may not have %s%s named `%s`."], Ux0 = [0, [2, 0, [11, " '", [2, 0, [11, "' has already been declared", 0]]]], "%s '%s' has already been declared"], Xx0 = rx, Gx0 = k6, Yx0 = " You can try using JavaScript private fields by prepending `#` to the field name.", zx0 = Q62, Jx0 = " Fields and methods are public by default. You can simply omit the `public` keyword.", Kx0 = W62, Hx0 = [0, [11, "Flow does not support using `", [2, 0, [11, "` in classes.", [2, 0, 0]]]], "Flow does not support using `%s` in classes.%s"], Wx0 = [0, [11, "Private fields must be declared before they can be referenced. `#", [2, 0, [11, "` has not been declared.", 0]]], "Private fields must be declared before they can be referenced. `#%s` has not been declared."], Vx0 = [0, [11, xM, [2, 0, 0]], "Unexpected %s"], $x0 = [0, [11, tM, [2, 0, [11, "`. Did you mean `", [2, 0, [11, "`?", 0]]]]], "Unexpected token `%s`. Did you mean `%s`?"], Qx0 = [0, [11, xM, [2, 0, [11, ", expected ", [2, 0, 0]]]], "Unexpected %s, expected %s"], Zx0 = [0, [11, "Undefined label '", [2, 0, [12, 39, 0]]], "Undefined label '%s'"], xr0 = "Parse_error.Error", rr0 = [0, [0, 36, 37], [0, 48, 58], [0, 65, 91], [0, 95, 96], [0, 97, un4], [0, py, Sg], [0, NS, s9], [0, j_, Wm2], [0, xI, z_], [0, Y32, lk], [0, ty, Gp2], [0, t1, 706], [0, CD2, 722], [0, 736, 741], [0, 748, 749], [0, 750, 751], [0, 768, 885], [0, 886, 888], [0, 890, 894], [0, 895, 896], [0, 902, 907], [0, 908, 909], [0, 910, 930], [0, jM, 1014], [0, 1015, 1154], [0, 1155, 1160], [0, 1162, 1328], [0, 1329, 1367], [0, 1369, 1370], [0, 1376, 1417], [0, 1425, 1470], [0, 1471, 1472], [0, 1473, 1475], [0, 1476, 1478], [0, 1479, 1480], [0, 1488, 1515], [0, 1519, 1523], [0, 1552, 1563], [0, 1568, 1642], [0, 1646, 1748], [0, 1749, 1757], [0, 1759, 1769], [0, 1770, 1789], [0, 1791, 1792], [0, 1808, 1867], [0, 1869, 1970], [0, 1984, 2038], [0, 2042, 2043], [0, 2045, 2046], [0, Gg, 2094], [0, 2112, 2140], [0, 2144, 2155], [0, 2208, 2229], [0, 2230, 2238], [0, 2259, 2274], [0, 2275, 2404], [0, 2406, 2416], [0, 2417, 2436], [0, 2437, 2445], [0, 2447, 2449], [0, 2451, 2473], [0, 2474, 2481], [0, 2482, 2483], [0, 2486, 2490], [0, 2492, 2501], [0, 2503, 2505], [0, 2507, 2511], [0, 2519, 2520], [0, 2524, 2526], [0, 2527, 2532], [0, 2534, 2546], [0, 2556, 2557], [0, 2558, 2559], [0, 2561, 2564], [0, 2565, 2571], [0, 2575, 2577], [0, 2579, 2601], [0, 2602, 2609], [0, 2610, 2612], [0, 2613, 2615], [0, 2616, 2618], [0, 2620, 2621], [0, 2622, 2627], [0, 2631, 2633], [0, 2635, 2638], [0, 2641, 2642], [0, 2649, 2653], [0, 2654, 2655], [0, 2662, 2678], [0, 2689, 2692], [0, 2693, 2702], [0, 2703, 2706], [0, 2707, 2729], [0, 2730, 2737], [0, 2738, 2740], [0, 2741, 2746], [0, 2748, 2758], [0, 2759, 2762], [0, 2763, 2766], [0, 2768, 2769], [0, 2784, 2788], [0, 2790, 2800], [0, 2809, 2816], [0, 2817, 2820], [0, 2821, 2829], [0, 2831, 2833], [0, 2835, 2857], [0, 2858, 2865], [0, 2866, 2868], [0, 2869, 2874], [0, 2876, 2885], [0, 2887, 2889], [0, 2891, 2894], [0, 2902, 2904], [0, 2908, 2910], [0, 2911, 2916], [0, 2918, 2928], [0, 2929, 2930], [0, 2946, 2948], [0, 2949, 2955], [0, 2958, 2961], [0, 2962, 2966], [0, 2969, 2971], [0, 2972, 2973], [0, 2974, 2976], [0, 2979, 2981], [0, 2984, 2987], [0, 2990, 3002], [0, 3006, 3011], [0, 3014, 3017], [0, 3018, 3022], [0, 3024, 3025], [0, 3031, 3032], [0, 3046, 3056], [0, 3072, 3085], [0, 3086, 3089], [0, 3090, 3113], [0, 3114, 3130], [0, 3133, 3141], [0, 3142, 3145], [0, 3146, 3150], [0, 3157, 3159], [0, 3160, 3163], [0, 3168, 3172], [0, 3174, 3184], [0, 3200, 3204], [0, 3205, 3213], [0, 3214, 3217], [0, 3218, 3241], [0, 3242, 3252], [0, 3253, 3258], [0, 3260, 3269], [0, 3270, 3273], [0, 3274, 3278], [0, 3285, 3287], [0, 3294, 3295], [0, 3296, 3300], [0, 3302, 3312], [0, 3313, 3315], [0, 3328, 3332], [0, 3333, 3341], [0, 3342, 3345], [0, 3346, 3397], [0, 3398, 3401], [0, 3402, 3407], [0, 3412, 3416], [0, 3423, 3428], [0, 3430, 3440], [0, 3450, 3456], [0, 3458, 3460], [0, 3461, 3479], [0, 3482, 3506], [0, 3507, 3516], [0, 3517, 3518], [0, 3520, 3527], [0, 3530, 3531], [0, 3535, 3541], [0, 3542, 3543], [0, 3544, 3552], [0, 3558, 3568], [0, 3570, 3572], [0, 3585, 3643], [0, 3648, 3663], [0, 3664, 3674], [0, 3713, 3715], [0, 3716, 3717], [0, 3718, 3723], [0, 3724, 3748], [0, 3749, 3750], [0, 3751, 3774], [0, 3776, 3781], [0, 3782, 3783], [0, 3784, 3790], [0, 3792, 3802], [0, 3804, 3808], [0, 3840, 3841], [0, 3864, 3866], [0, 3872, 3882], [0, 3893, 3894], [0, 3895, 3896], [0, 3897, 3898], [0, 3902, 3912], [0, 3913, 3949], [0, 3953, 3973], [0, 3974, 3992], [0, 3993, 4029], [0, 4038, 4039], [0, NF, 4170], [0, 4176, 4254], [0, 4256, 4294], [0, 4295, 4296], [0, 4301, 4302], [0, 4304, 4347], [0, 4348, 4681], [0, 4682, 4686], [0, 4688, 4695], [0, 4696, 4697], [0, 4698, 4702], [0, 4704, 4745], [0, 4746, 4750], [0, 4752, 4785], [0, 4786, 4790], [0, 4792, 4799], [0, 4800, 4801], [0, 4802, 4806], [0, 4808, 4823], [0, 4824, 4881], [0, 4882, 4886], [0, 4888, 4955], [0, 4957, 4960], [0, 4969, 4978], [0, 4992, 5008], [0, 5024, 5110], [0, 5112, 5118], [0, 5121, 5741], [0, 5743, nC], [0, 5761, 5787], [0, 5792, 5867], [0, 5870, 5881], [0, 5888, 5901], [0, 5902, 5909], [0, 5920, 5941], [0, 5952, 5972], [0, 5984, 5997], [0, 5998, 6001], [0, 6002, 6004], [0, 6016, 6100], [0, 6103, 6104], [0, 6108, 6110], [0, 6112, 6122], [0, 6155, 6158], [0, 6160, 6170], [0, 6176, 6265], [0, 6272, 6315], [0, 6320, 6390], [0, 6400, 6431], [0, 6432, 6444], [0, 6448, 6460], [0, 6470, 6510], [0, 6512, 6517], [0, 6528, 6572], [0, 6576, 6602], [0, 6608, 6619], [0, 6656, 6684], [0, 6688, 6751], [0, 6752, 6781], [0, 6783, 6794], [0, 6800, 6810], [0, 6823, 6824], [0, 6832, 6846], [0, 6912, 6988], [0, 6992, 7002], [0, 7019, 7028], [0, 7040, 7156], [0, 7168, 7224], [0, 7232, 7242], [0, 7245, 7294], [0, 7296, 7305], [0, 7312, 7355], [0, 7357, 7360], [0, 7376, 7379], [0, 7380, 7419], [0, 7424, 7674], [0, 7675, 7958], [0, 7960, 7966], [0, 7968, 8006], [0, 8008, 8014], [0, 8016, 8024], [0, 8025, 8026], [0, 8027, 8028], [0, 8029, 8030], [0, 8031, 8062], [0, 8064, 8117], [0, 8118, 8125], [0, 8126, 8127], [0, 8130, 8133], [0, 8134, 8141], [0, 8144, 8148], [0, 8150, 8156], [0, 8160, 8173], [0, 8178, 8181], [0, 8182, 8189], [0, tR, NM], [0, 8255, 8257], [0, 8276, 8277], [0, F8, 8306], [0, f8, 8320], [0, 8336, 8349], [0, 8400, 8413], [0, 8417, 8418], [0, 8421, 8433], [0, dm2, 8451], [0, Gm2, 8456], [0, 8458, tk], [0, dk, 8470], [0, sM, 8478], [0, _8, Jm2], [0, th, gk], [0, Ik, Hm2], [0, 8490, 8506], [0, 8508, 8512], [0, 8517, 8522], [0, Lk, 8527], [0, 8544, 8585], [0, 11264, 11311], [0, 11312, 11359], [0, 11360, 11493], [0, 11499, 11508], [0, 11520, om2], [0, gp2, 11560], [0, Fm2, 11566], [0, 11568, 11624], [0, u8, 11632], [0, ak, 11671], [0, 11680, lm2], [0, 11688, km2], [0, 11696, bp2], [0, 11704, Uk], [0, 11712, z8], [0, 11720, Ip2], [0, 11728, sh], [0, 11736, 11743], [0, 11744, 11776], [0, 12293, 12296], [0, 12321, uh], [0, 12337, 12342], [0, 12344, 12349], [0, 12353, 12439], [0, 12441, X8], [0, 12449, _h], [0, 12540, 12544], [0, 12549, Ym2], [0, 12593, 12687], [0, 12704, 12731], [0, 12784, 12800], [0, 13312, 19894], [0, 19968, 40944], [0, 40960, 42125], [0, 42192, 42238], [0, 42240, 42509], [0, 42512, 42540], [0, 42560, 42608], [0, 42612, ek], [0, 42623, 42738], [0, 42775, 42784], [0, 42786, 42889], [0, 42891, 42944], [0, 42946, 42951], [0, l8, 43048], [0, 43072, 43124], [0, 43136, 43206], [0, 43216, 43226], [0, 43232, 43256], [0, $k, Yk], [0, 43261, 43310], [0, 43312, 43348], [0, 43360, 43389], [0, 43392, 43457], [0, W8, 43482], [0, 43488, Bp2], [0, aF, 43575], [0, 43584, 43598], [0, 43600, 43610], [0, 43616, 43639], [0, fm2, 43715], [0, 43739, 43742], [0, 43744, 43760], [0, 43762, 43767], [0, 43777, 43783], [0, 43785, 43791], [0, 43793, 43799], [0, 43808, wm2], [0, 43816, p8], [0, 43824, Q8], [0, 43868, Np2], [0, 43888, 44011], [0, 44012, 44014], [0, 44016, 44026], [0, 44032, 55204], [0, 55216, 55239], [0, 55243, 55292], [0, 63744, 64110], [0, 64112, 64218], [0, 64256, 64263], [0, 64275, 64280], [0, Wk, qp2], [0, 64298, b8], [0, 64312, ym2], [0, Qk, pk], [0, 64320, ih], [0, 64323, Th], [0, 64326, 64434], [0, 64467, 64830], [0, 64848, 64912], [0, 64914, 64968], [0, 65008, 65020], [0, 65024, 65040], [0, 65056, 65072], [0, 65075, 65077], [0, 65101, 65104], [0, 65136, $m2], [0, 65142, 65277], [0, 65296, 65306], [0, 65313, 65339], [0, 65343, pm2], [0, 65345, 65371], [0, 65382, 65471], [0, 65474, 65480], [0, 65482, 65488], [0, 65490, 65496], [0, 65498, 65501], [0, Y6, lh], [0, 65549, Z8], [0, 65576, Ek], [0, 65596, Ak], [0, 65599, 65614], [0, 65616, 65630], [0, 65664, 65787], [0, 65856, 65909], [0, 66045, 66046], [0, 66176, 66205], [0, 66208, 66257], [0, 66272, 66273], [0, 66304, 66336], [0, 66349, 66379], [0, 66384, 66427], [0, 66432, 66462], [0, 66464, 66500], [0, 66504, ah], [0, 66513, 66518], [0, 66560, 66718], [0, 66720, 66730], [0, 66736, 66772], [0, 66776, 66812], [0, 66816, 66856], [0, 66864, 66916], [0, 67072, 67383], [0, 67392, 67414], [0, 67424, 67432], [0, 67584, 67590], [0, vk, x8], [0, 67594, oh], [0, 67639, 67641], [0, $8, 67645], [0, 67647, 67670], [0, 67680, 67703], [0, 67712, 67743], [0, 67808, Hp2], [0, 67828, 67830], [0, 67840, 67862], [0, 67872, 67898], [0, 67968, 68024], [0, 68030, 68032], [0, ph, 68100], [0, 68101, 68103], [0, 68108, Xk], [0, 68117, V8], [0, 68121, 68150], [0, 68152, 68155], [0, 68159, 68160], [0, 68192, 68221], [0, 68224, 68253], [0, 68288, D8], [0, 68297, 68327], [0, 68352, 68406], [0, 68416, 68438], [0, 68448, 68467], [0, 68480, 68498], [0, 68608, 68681], [0, 68736, 68787], [0, 68800, 68851], [0, 68864, 68904], [0, 68912, 68922], [0, 69376, 69405], [0, qm2, 69416], [0, 69424, 69457], [0, 69600, 69623], [0, 69632, 69703], [0, 69734, nh], [0, 69759, 69819], [0, 69840, 69865], [0, 69872, 69882], [0, 69888, 69941], [0, 69942, 69952], [0, Up2, Dk], [0, 69968, 70004], [0, Km2, 70007], [0, 70016, 70085], [0, 70089, 70093], [0, 70096, Om2], [0, o8, 70109], [0, 70144, Nm2], [0, 70163, 70200], [0, 70206, 70207], [0, 70272, Pm2], [0, S8, Fk], [0, 70282, Cm2], [0, 70287, mm2], [0, 70303, 70313], [0, 70320, 70379], [0, 70384, 70394], [0, 70400, jp2], [0, 70405, 70413], [0, 70415, 70417], [0, 70419, Vm2], [0, 70442, Y8], [0, 70450, cm2], [0, 70453, 70458], [0, 70459, 70469], [0, 70471, 70473], [0, 70475, 70478], [0, Yp2, 70481], [0, 70487, 70488], [0, 70493, 70500], [0, 70502, 70509], [0, 70512, 70517], [0, 70656, 70731], [0, 70736, 70746], [0, uk, 70752], [0, 70784, Um2], [0, i8, 70856], [0, 70864, 70874], [0, 71040, 71094], [0, 71096, 71105], [0, 71128, 71134], [0, 71168, 71233], [0, a8, 71237], [0, 71248, 71258], [0, 71296, 71353], [0, 71360, 71370], [0, 71424, 71451], [0, 71453, 71468], [0, 71472, 71482], [0, 71680, 71739], [0, 71840, 71914], [0, 71935, 71936], [0, 72096, 72104], [0, 72106, 72152], [0, 72154, R8], [0, Xm2, 72165], [0, t82, 72255], [0, 72263, 72264], [0, qk, 72346], [0, k8, 72350], [0, 72384, 72441], [0, 72704, zm2], [0, 72714, 72759], [0, 72760, 72769], [0, 72784, 72794], [0, 72818, 72848], [0, 72850, 72872], [0, 72873, 72887], [0, 72960, d8], [0, 72968, ch], [0, 72971, 73015], [0, 73018, 73019], [0, 73020, 73022], [0, 73023, 73032], [0, 73040, 73050], [0, 73056, E8], [0, 73063, bm2], [0, 73066, 73103], [0, 73104, 73106], [0, 73107, 73113], [0, 73120, 73130], [0, 73440, 73463], [0, 73728, 74650], [0, 74752, 74863], [0, 74880, 75076], [0, 77824, 78895], [0, 82944, 83527], [0, 92160, 92729], [0, 92736, 92767], [0, 92768, 92778], [0, 92880, 92910], [0, 92912, 92917], [0, 92928, 92983], [0, 92992, 92996], [0, 93008, 93018], [0, 93027, 93048], [0, 93053, 93072], [0, 93760, 93824], [0, 93952, 94027], [0, gm2, 94088], [0, 94095, 94112], [0, 94176, mk], [0, Op2, 94180], [0, 94208, 100344], [0, 100352, 101107], [0, 110592, 110879], [0, 110928, 110931], [0, 110948, 110952], [0, 110960, 111356], [0, 113664, 113771], [0, 113776, 113789], [0, 113792, 113801], [0, 113808, 113818], [0, 113821, 113823], [0, 119141, 119146], [0, 119149, 119155], [0, 119163, 119171], [0, 119173, 119180], [0, 119210, 119214], [0, 119362, 119365], [0, 119808, Fp2], [0, 119894, jk], [0, 119966, 119968], [0, r8, 119971], [0, 119973, 119975], [0, 119977, Ah], [0, 119982, Sm2], [0, M8, xm2], [0, 119997, c8], [0, 120005, bh], [0, 120071, 120075], [0, 120077, sk], [0, 120086, Im2], [0, 120094, Xp2], [0, 120123, H8], [0, 120128, n8], [0, Jk, 120135], [0, 120138, eh], [0, 120146, 120486], [0, 120488, yk], [0, 120514, T8], [0, 120540, wh], [0, 120572, Rk], [0, 120598, C8], [0, 120630, Zp2], [0, 120656, w8], [0, 120688, zp2], [0, 120714, Cp2], [0, 120746, Nk], [0, 120772, 120780], [0, 120782, 120832], [0, 121344, 121399], [0, 121403, 121453], [0, 121461, 121462], [0, 121476, 121477], [0, 121499, 121504], [0, 121505, 121520], [0, 122880, 122887], [0, 122888, 122905], [0, 122907, 122914], [0, 122915, 122917], [0, 122918, 122923], [0, 123136, 123181], [0, 123184, 123198], [0, 123200, 123210], [0, Sp2, 123215], [0, 123584, 123642], [0, 124928, 125125], [0, 125136, 125143], [0, 125184, 125260], [0, 125264, 125274], [0, 126464, xk], [0, 126469, hm2], [0, 126497, yh], [0, Pp2, 126501], [0, Mm2, J8], [0, 126505, Ep2], [0, 126516, N8], [0, kh, tm2], [0, Vp2, 126524], [0, fh, 126531], [0, Eh, Qp2], [0, hh, vm2], [0, vh, Mp2], [0, 126541, Mk], [0, 126545, xh], [0, Dm2, 126549], [0, j8, $p2], [0, Zk, y8], [0, am2, rh], [0, ok, Jp2], [0, q8, Sk], [0, 126561, Wp2], [0, Zm2, 126565], [0, 126567, Rp2], [0, 126572, nk], [0, 126580, A8], [0, 126585, Vk], [0, O8, Bm2], [0, 126592, Kp2], [0, 126603, 126620], [0, 126625, P8], [0, 126629, m8], [0, 126635, 126652], [0, 131072, 173783], [0, 173824, 177973], [0, 177984, 178206], [0, 178208, 183970], [0, 183984, 191457], [0, 194560, 195102], [0, 917760, 918000]], er0 = [0, 1, 0], tr0 = [0, 0, [0, 1, 0], [0, 1, 0]], nr0 = sL, ur0 = "end of input", ir0 = U62, fr0 = "template literal part", cr0 = U62, sr0 = nD2, ar0 = sL, or0 = U62, vr0 = H32, lr0 = U62, pr0 = $v, kr0 = U62, mr0 = K32, hr0 = "an", dr0 = St8, yr0 = Nu2, _r0 = [0, [11, "token `", [2, 0, [12, 96, 0]]], "token `%s`"], wr0 = "{", gr0 = em2, br0 = "{|", Tr0 = "|}", Er0 = PM, Sr0 = iM, Ar0 = "[", Ir0 = "]", Pr0 = NT, Cr0 = JL, Nr0 = ln4, Or0 = "=>", jr0 = "...", Dr0 = _D, Rr0 = DM, Fr0 = $32, Mr0 = nm2, Lr0 = bo3, qr0 = I6, Br0 = Je7, Ur0 = Ve7, Xr0 = $P, Gr0 = DT, Yr0 = Bv, zr0 = He6, Jr0 = um2, Kr0 = g6, Hr0 = Tp2, Wr0 = L8, Vr0 = No3, $r0 = cl2, Qr0 = Hv, Zr0 = wa2, x10 = Pa2, r10 = We7, e10 = rk, t102 = Rm2, n10 = Xe6, u10 = Fv, i10 = Tk, f10 = U8, c10 = K8, s10 = h6, a10 = mc2, o10 = Ue5, v10 = Ck, l10 = Yv, p10 = E6, k10 = Aa2, m10 = ga, h10 = j6, d10 = dh, y10 = W22, _10 = fl2, w10 = Oo2, g10 = ae4, b10 = Pk, T10 = Q62, E10 = k6, S10 = W62, A10 = H22, I10 = Ke7, P10 = x42, C10 = tc2, N10 = zb, O10 = JS, j10 = Io3, D10 = Kv, R10 = "%checks", F10 = TR, M10 = hL, L10 = GD, q10 = bF, B10 = vM, U10 = yo3, X10 = qD, G10 = PF, Y10 = IR, z10 = RR, J10 = YD, K10 = kM, H10 = fF, W10 = $L, V10 = eF, $10 = p_, Q10 = "?.", Z10 = Dw, x20 = uM, r20 = Iv, e20 = LF2, t202 = CM, n20 = wR, u20 = _k, i20 = Qm2, f20 = GM, c20 = $F, s20 = SF, a20 = OD, o20 = QL, v20 = WD, l20 = Qy, p20 = F6, k20 = YF, m20 = CF, h20 = yD2, d20 = $7, y20 = ze6, _20 = se6, w20 = _R, g20 = pF, b20 = HL, T20 = SD, E20 = VL, S20 = ZM, A20 = kR, I20 = rx, P20 = ik, C20 = wk, N20 = be6, O20 = H32, j20 = $v, D20 = K32, R20 = ga, F20 = H62, M20 = hk, L20 = bk, q20 = Hk, B20 = Lm2, U20 = Xv, X20 = FD2, G20 = J62, Y20 = tl2, z20 = V32, J20 = jF, K20 = uF, H20 = m6, W20 = m6, V20 = gL, $20 = m6, Q20 = m6, Z20 = em2, xe0 = em2, re0 = gL, ee0 = se6, te0 = se6, ne0 = O6, ue0 = rm2, ie0 = "T_LCURLY", fe0 = "T_RCURLY", ce0 = "T_LCURLYBAR", se0 = "T_RCURLYBAR", ae0 = "T_LPAREN", oe0 = "T_RPAREN", ve0 = "T_LBRACKET", le0 = "T_RBRACKET", pe0 = "T_SEMICOLON", ke0 = "T_COMMA", me0 = "T_PERIOD", he0 = "T_ARROW", de0 = "T_ELLIPSIS", ye0 = "T_AT", _e0 = "T_POUND", we0 = "T_FUNCTION", ge0 = "T_IF", be0 = "T_IN", Te0 = "T_INSTANCEOF", Ee0 = "T_RETURN", Se0 = "T_SWITCH", Ae0 = "T_MATCH", Ie0 = "T_RECORD", Pe0 = "T_THIS", Ce0 = "T_THROW", Ne0 = "T_TRY", Oe0 = "T_VAR", je0 = "T_WHILE", De0 = "T_WITH", Re0 = "T_CONST", Fe0 = "T_LET", Me0 = "T_NULL", Le0 = "T_FALSE", qe0 = "T_TRUE", Be0 = "T_BREAK", Ue0 = "T_CASE", Xe0 = "T_CATCH", Ge0 = "T_CONTINUE", Ye0 = "T_DEFAULT", ze0 = "T_DO", Je0 = "T_FINALLY", Ke0 = "T_FOR", He0 = "T_CLASS", We0 = "T_EXTENDS", Ve0 = "T_STATIC", $e0 = "T_ELSE", Qe0 = "T_NEW", Ze0 = "T_DELETE", xt0 = "T_TYPEOF", rt0 = "T_VOID", et0 = "T_ENUM", tt0 = "T_EXPORT", nt0 = "T_IMPORT", ut0 = "T_SUPER", it0 = "T_IMPLEMENTS", ft0 = "T_INTERFACE", ct0 = "T_PACKAGE", st0 = "T_PRIVATE", at0 = "T_PROTECTED", ot0 = "T_PUBLIC", vt0 = "T_YIELD", lt0 = "T_DEBUGGER", pt0 = "T_DECLARE", kt0 = "T_TYPE", mt0 = "T_OPAQUE", ht0 = "T_OF", dt0 = "T_ASYNC", yt0 = "T_AWAIT", _t0 = "T_CHECKS", wt0 = "T_RSHIFT3_ASSIGN", gt0 = "T_RSHIFT_ASSIGN", bt0 = "T_LSHIFT_ASSIGN", Tt0 = "T_BIT_XOR_ASSIGN", Et0 = "T_BIT_OR_ASSIGN", St0 = "T_BIT_AND_ASSIGN", At0 = "T_MOD_ASSIGN", It0 = "T_DIV_ASSIGN", Pt0 = "T_MULT_ASSIGN", Ct0 = "T_EXP_ASSIGN", Nt0 = "T_MINUS_ASSIGN", Ot0 = "T_PLUS_ASSIGN", jt0 = "T_NULLISH_ASSIGN", Dt0 = "T_AND_ASSIGN", Rt0 = "T_OR_ASSIGN", Ft0 = "T_ASSIGN", Mt0 = "T_PLING_PERIOD", Lt0 = "T_PLING_PLING", qt0 = "T_PLING", Bt0 = "T_COLON", Ut0 = "T_OR", Xt0 = "T_AND", Gt0 = "T_BIT_OR", Yt0 = "T_BIT_XOR", zt0 = "T_BIT_AND", Jt0 = "T_EQUAL", Kt0 = "T_NOT_EQUAL", Ht0 = "T_STRICT_EQUAL", Wt0 = "T_STRICT_NOT_EQUAL", Vt0 = "T_LESS_THAN_EQUAL", $t0 = "T_GREATER_THAN_EQUAL", Qt0 = "T_LESS_THAN", Zt0 = "T_GREATER_THAN", xn0 = "T_LSHIFT", rn0 = "T_RSHIFT", en0 = "T_RSHIFT3", tn0 = "T_PLUS", nn0 = "T_MINUS", un0 = "T_DIV", in0 = "T_MULT", fn0 = "T_EXP", cn0 = "T_MOD", sn0 = "T_NOT", an0 = "T_BIT_NOT", on0 = "T_INCR", vn0 = "T_DECR", ln0 = "T_EOF", pn0 = "T_ANY_TYPE", kn0 = "T_MIXED_TYPE", mn0 = "T_EMPTY_TYPE", hn0 = "T_NUMBER_TYPE", dn0 = "T_BIGINT_TYPE", yn0 = "T_STRING_TYPE", _n0 = "T_VOID_TYPE", wn0 = "T_SYMBOL_TYPE", gn0 = "T_UNKNOWN_TYPE", bn0 = "T_NEVER_TYPE", Tn0 = "T_UNDEFINED_TYPE", En0 = "T_KEYOF", Sn0 = "T_READONLY", An0 = "T_INFER", In0 = "T_IS", Pn0 = "T_ASSERTS", Cn0 = "T_IMPLIES", Nn0 = KL, On0 = KL, jn0 = "T_NUMBER", Dn0 = "T_BIGINT", Rn0 = "T_STRING", Fn0 = "T_TEMPLATE_PART", Mn0 = "T_IDENTIFIER", Ln0 = "T_REGEXP", qn0 = "T_INTERPRETER", Bn0 = "T_ERROR", Un0 = "T_JSX_IDENTIFIER", Xn0 = XL, Gn0 = XL, Yn0 = "T_BOOLEAN_TYPE", zn0 = "T_NUMBER_SINGLETON_TYPE", Jn0 = "T_BIGINT_SINGLETON_TYPE", Kn0 = [0, BR, $S, 9], Hn0 = [0, BR, Hg, 9], Wn0 = wL, Vn0 = "*/", $n0 = wL, Qn0 = "unreachable line_comment", Zn0 = "unreachable string_quote", x70 = "\\", r70 = "unreachable template_part", e70 = `\r
|
|
57949
|
-
`, t70 = ug, n70 = "unreachable regexp_class", u70 = LD, i70 = "unreachable regexp_body", f70 = rx, c70 = rx, s70 = rx, a70 = rx, o70 = hR, v70 = "{'>'}", l70 = F6, p70 = "{'}'}", k70 = em2, m70 = Ao3, h70 = NT, d70 = Qm2, y70 = hR, _70 = Ao3, w70 = NT, g70 = Qm2, b70 = "unreachable type_token wholenumber", T70 = "unreachable type_token wholebigint", E70 = "unreachable type_token floatbigint", S70 = "unreachable type_token scinumber", A70 = "unreachable type_token scibigint", I70 = "unreachable type_token hexnumber", P70 = "unreachable type_token hexbigint", C70 = "unreachable type_token legacyoctnumber", N70 = "unreachable type_token octnumber", O70 = "unreachable type_token octbigint", j70 = "unreachable type_token binnumber", D70 = "unreachable type_token bigbigint", R70 = "unreachable type_token", F70 = yL, M70 = [11, 1], L70 = [11, 0], q70 = "unreachable template_tail", B70 = rx, U70 = rx, X70 = "unreachable jsx_child", G70 = "unreachable jsx_tag", Y70 = [0, hw], z70 = [0, 913], J70 = [0, Y32], K70 = [0, mh], H70 = [0, cR], W70 = [0, QP], V70 = [0, 8747], $70 = [0, gD], Q70 = [0, 916], Z70 = [0, 8225], xu0 = [0, 935], ru0 = [0, VI], eu0 = [0, 914], tu0 = [0, vL], nu0 = [0, IF], uu0 = [0, RE], iu0 = [0, 915], fu0 = [0, TD], cu0 = [0, 919], su0 = [0, 917], au0 = [0, _L], ou0 = [0, KD], vu0 = [0, HR], lu0 = [0, 924], pu0 = [0, 923], ku0 = [0, 922], mu0 = [0, oF], hu0 = [0, 921], du0 = [0, eM], yu0 = [0, Hg], _u0 = [0, xF], wu0 = [0, ty], gu0 = [0, 927], bu0 = [0, 937], Tu0 = [0, HD], Eu0 = [0, $R], Su0 = [0, uR], Au0 = [0, 338], Iu0 = [0, 352], Pu0 = [0, 929], Cu0 = [0, 936], Nu0 = [0, 8243], Ou0 = [0, 928], ju0 = [0, 934], Du0 = [0, qL], Ru0 = [0, o_], Fu0 = [0, 933], Mu0 = [0, pM], Lu0 = [0, nL], qu0 = [0, fD2], Bu0 = [0, 920], Uu0 = [0, 932], Xu0 = [0, jD], Gu0 = [0, dR], Yu0 = [0, KF], zu0 = [0, JR], Ju0 = [0, 918], Ku0 = [0, SR], Hu0 = [0, HF], Wu0 = [0, 926], Vu0 = [0, lF], $u0 = [0, jM], Qu0 = [0, 925], Zu0 = [0, 39], xi0 = [0, 8736], ri0 = [0, 8743], ei0 = [0, 38], ti0 = [0, 945], ni0 = [0, 8501], ui0 = [0, Sv], ii0 = [0, 8226], fi0 = [0, JD2], ci0 = [0, 946], si0 = [0, 8222], ai0 = [0, RD], oi0 = [0, wM], vi0 = [0, 8776], li0 = [0, qI], pi0 = [0, 8773], ki0 = [0, 9827], mi0 = [0, CD2], hi0 = [0, 967], di0 = [0, qM], yi0 = [0, Wm2], _i0 = [0, PD], wi0 = [0, GF], gi0 = [0, 8595], bi0 = [0, 8224], Ti0 = [0, 8659], Ei0 = [0, sR], Si0 = [0, 8746], Ai0 = [0, 8629], Ii0 = [0, yR], Pi0 = [0, 8745], Ci0 = [0, 8195], Ni0 = [0, 8709], Oi0 = [0, iD2], ji0 = [0, dL], Di0 = [0, aL], Ri0 = [0, Gp2], Fi0 = [0, 9830], Mi0 = [0, 8707], Li0 = [0, 8364], qi0 = [0, EM], Bi0 = [0, rl2], Ui0 = [0, 951], Xi0 = [0, 8801], Gi0 = [0, 949], Yi0 = [0, 8194], zi0 = [0, 8805], Ji0 = [0, 947], Ki0 = [0, 8260], Hi0 = [0, jE], Wi0 = [0, nR], Vi0 = [0, $S], $i0 = [0, 8704], Qi0 = [0, XF], Zi0 = [0, EL], xf0 = [0, 8230], rf0 = [0, 9829], ef0 = [0, 8596], tf0 = [0, 8660], nf0 = [0, 62], uf0 = [0, 402], if0 = [0, 948], ff0 = [0, nF], cf0 = [0, E9], sf0 = [0, 8712], af0 = [0, sP], of0 = [0, 953], vf0 = [0, 8734], lf0 = [0, 8465], pf0 = [0, IM], kf0 = [0, 8220], mf0 = [0, 8968], hf0 = [0, 8592], df0 = [0, Sg], yf0 = [0, 10216], _f0 = [0, 955], wf0 = [0, 8656], gf0 = [0, 954], bf0 = [0, 60], Tf0 = [0, 8216], Ef0 = [0, 8249], Sf0 = [0, NM], Af0 = [0, 9674], If0 = [0, 8727], Pf0 = [0, 8970], Cf0 = [0, AL], Nf0 = [0, 8711], Of0 = [0, 956], jf0 = [0, 8722], Df0 = [0, j_], Rf0 = [0, NS], Ff0 = [0, 8212], Mf0 = [0, NR], Lf0 = [0, 8804], qf0 = [0, 957], Bf0 = [0, kF], Uf0 = [0, 8836], Xf0 = [0, 8713], Gf0 = [0, KR], Yf0 = [0, 8715], zf0 = [0, 8800], Jf0 = [0, 8853], Kf0 = [0, 959], Hf0 = [0, 969], Wf0 = [0, 8254], Vf0 = [0, HM], $f0 = [0, 339], Qf0 = [0, jv], Zf0 = [0, BM], xc0 = [0, s9], rc0 = [0, ul2], ec0 = [0, 8855], tc0 = [0, ME], nc0 = [0, t1], uc0 = [0, xI], ic0 = [0, py], fc0 = [0, da3], cc0 = [0, rL], sc0 = [0, 982], ac0 = [0, 960], oc0 = [0, 966], vc0 = [0, 8869], lc0 = [0, 8240], pc0 = [0, 8706], kc0 = [0, 8744], mc0 = [0, 8211], hc0 = [0, 10217], dc0 = [0, 8730], yc0 = [0, 8658], _c0 = [0, 34], wc0 = [0, 968], gc0 = [0, 8733], bc0 = [0, 8719], Tc0 = [0, 961], Ec0 = [0, 8971], Sc0 = [0, LL], Ac0 = [0, 8476], Ic0 = [0, 8221], Pc0 = [0, 8969], Cc0 = [0, 8594], Nc0 = [0, z_], Oc0 = [0, bM], jc0 = [0, Sb], Dc0 = [0, 8901], Rc0 = [0, 353], Fc0 = [0, 8218], Mc0 = [0, 8217], Lc0 = [0, 8250], qc0 = [0, 8835], Bc0 = [0, 8721], Uc0 = [0, 8838], Xc0 = [0, 8834], Gc0 = [0, 9824], Yc0 = [0, 8764], zc0 = [0, 962], Jc0 = [0, 963], Kc0 = [0, 8207], Hc0 = [0, 952], Wc0 = [0, 8756], Vc0 = [0, 964], $c0 = [0, e8], Qc0 = [0, 8839], Zc0 = [0, AC], xs0 = [0, fk], rs0 = [0, ol3], es0 = [0, 8657], ts0 = [0, 8482], ns0 = [0, lk], us0 = [0, 732], is0 = [0, Q32], fs0 = [0, 8201], cs0 = [0, 977], ss0 = [0, sM], as0 = [0, xl2], os0 = [0, 965], vs0 = [0, 978], ls0 = [0, IL], ps0 = [0, jS], ks0 = [0, WL], ms0 = [0, tR], hs0 = [0, 8205], ds0 = [0, 950], ys0 = [0, Bk], _s0 = [0, hF], ws0 = [0, QE], gs0 = [0, 958], bs0 = [0, 8593], Ts0 = [0, oD2], Es0 = [0, 8242], Ss0 = [0, kI], As0 = "unreachable regexp", Is0 = "unreachable token wholenumber", Ps0 = "unreachable token wholebigint", Cs0 = "unreachable token floatbigint", Ns0 = "unreachable token scinumber", Os0 = "unreachable token scibigint", js0 = "unreachable token hexnumber", Ds0 = "unreachable token hexbigint", Rs0 = "unreachable token legacyoctnumber", Fs0 = "unreachable token legacynonoctnumber", Ms0 = "unreachable token octnumber", Ls0 = "unreachable token octbigint", qs0 = "unreachable token bignumber", Bs0 = "unreachable token bigint", Us0 = "unreachable token", Xs0 = yL, Gs0 = [7, "#!"], Ys0 = "expected ?", zs0 = "unreachable string_escape", Js0 = V22, Ks0 = P6, Hs0 = P6, Ws0 = V22, Vs0 = KP, $s0 = EF, Qs0 = "n", Zs0 = "r", xa0 = "t", ra0 = zF, ea0 = P6, ta0 = Ao3, na0 = Ao3, ua0 = "unreachable id_char", ia0 = Ao3, fa0 = Ao3, ca0 = P6, sa0 = uL, aa0 = pD2, oa0 = gb, va0 = [28, "token ILLEGAL"], la0 = [0, [11, "the identifier `", [2, 0, [12, 96, 0]]], "the identifier `%s`"], pa0 = [0, 1], ka0 = [0, 1], ma0 = OF, ha0 = OF, da0 = [0, [11, "an identifier. When exporting a ", [2, 0, [11, " as a named export, you must specify a ", [2, 0, [11, " name. Did you mean `export default ", [2, 0, [11, " ...`?", 0]]]]]]], "an identifier. When exporting a %s as a named export, you must specify a %s name. Did you mean `export default %s ...`?"], ya0 = Sh, _a0 = "Peeking current location when not available", wa0 = [0, "src/parser/parser_env.ml", SR, 9], ga0 = "Internal Error: Tried to add_declared_private with outside of class scope.", ba0 = "Internal Error: `exit_class` called before a matching `enter_class`", Ta0 = rx, Ea0 = [0, 0, 0], Sa0 = [0, 0, 0], Aa0 = "Parser_env.Try.Rollback", Ia0 = rx, Pa0 = rx, Ca0 = [0, H22, of, $i6, CR2, TM, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He6, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms5, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, aR, H7, vD, qF, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], Na0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms5, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He6, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], Oa0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, TM, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, vD, X72, Lu2, Zu2, ms5, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He6, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, qF, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, aR, tn4, h7, Ju2, li6, Zn4, CR2, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], ja0 = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He6, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms5, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], Da0 = $32, Ra0 = nm2, Fa0 = bo3, Ma0 = I6, La0 = Je7, qa0 = Ve7, Ba0 = $P, Ua0 = DT, Xa0 = Bv, Ga0 = He6, Ya0 = um2, za0 = g6, Ja0 = Tp2, Ka0 = L8, Ha0 = No3, Wa0 = cl2, Va0 = Hv, $a0 = wa2, Qa0 = Pa2, Za0 = We7, xo0 = rk, ro0 = Rm2, eo0 = Xe6, to0 = Fv, no0 = Tk, uo0 = U8, io0 = K8, fo0 = h6, co0 = mc2, so0 = Ue5, ao0 = Ck, oo0 = Yv, vo0 = E6, lo0 = Aa2, po0 = ga, ko0 = j6, mo0 = dh, ho0 = W22, do0 = fl2, yo0 = Oo2, _o0 = ae4, wo0 = Pk, go0 = Q62, bo0 = k6, To0 = W62, Eo0 = H22, So0 = Ke7, Ao0 = x42, Io0 = tc2, Po0 = zb, Co0 = JS, No0 = Io3, Oo0 = Kv, jo0 = ik, Do0 = wk, Ro0 = be6, Fo0 = H32, Mo0 = $v, Lo0 = K32, qo0 = ga, Bo0 = H62, Uo0 = hk, Xo0 = bk, Go0 = Hk, Yo0 = Lm2, zo0 = Xv, Jo0 = J62, Ko0 = tl2, Ho0 = V32, Wo0 = O6, Vo0 = rm2, $o0 = [0, Sh], Qo0 = rx, Zo0 = [19, 1], xv0 = [19, 0], rv0 = [0, 0], ev0 = Ta2, tv0 = [0, 0], nv0 = [0, "a type"], uv0 = [0, 0], iv0 = [0, "a number literal type"], fv0 = [0, 0], cv0 = J62, sv0 = tl2, av0 = V32, ov0 = "You should only call render_type after making sure the next token is a renders variant", vv0 = [0, [0, 0, 0, 0, 0]], lv0 = [0, 0, 0, 0], pv0 = [0, 1], kv0 = [0, il3, 1466, 6], mv0 = [0, il3, 1469, 6], hv0 = [0, il3, 1572, 8], dv0 = [0, 1], yv0 = [0, il3, 1589, 8], _v0 = "Can not have both `static` and `proto`", wv0 = Ue5, gv0 = rw, bv0 = [0, 0], Tv0 = [0, "the end of a tuple type (no trailing comma is allowed in inexact tuple type)."], Ev0 = [0, il3, Sv, 15], Sv0 = [0, il3, sP, 15], Av0 = ze6, Iv0 = ze6, Pv0 = Kk, Cv0 = G6, Nv0 = [0, [11, "Failure while looking up ", [2, 0, [11, ". Index: ", [4, 0, 0, 0, [11, ". Length: ", [4, 0, 0, 0, [12, 46, 0]]]]]]], "Failure while looking up %s. Index: %d. Length: %d."], Ov0 = [0, 0, 0, 0], jv0 = "Offset_utils.Offset_lookup_failed", Dv0 = m1, Rv0 = kD, Fv0 = G6, Mv0 = Kk, Lv0 = wD, qv0 = G6, Bv0 = Kk, Uv0 = vR, Xv0 = Yx, Gv0 = "normal", Yv0 = tc2, zv0 = "jsxTag", Jv0 = "jsxChild", Kv0 = "template", Hv0 = nD2, Wv0 = "context", Vv0 = tc2, $v0 = [6, 0], Qv0 = [0, 0], Zv0 = [0, 1], x30 = [0, 4], r30 = [0, 2], e30 = [0, 3], t30 = [0, 0], n30 = ze6, u30 = [0, 0, 0, 0, 0, 0], i30 = [0, 0], f30 = [0, OM], c30 = [0, 1], s30 = [0, 0], a30 = Ta2, o30 = [0, 73], v30 = [0, 84], l30 = aM, p30 = rE, k30 = "exports", m30 = K62, h30 = [0, rx, rx, 0], d30 = [0, AD], y30 = [0, 84], _30 = [0, "a declaration, statement or export specifiers"], w30 = [0, 1], g30 = [0, I9, 1971, 21], b30 = [0, "the keyword `as`"], T30 = [0, 29], E30 = [0, 29], S30 = [0, 0], A30 = [0, 1], I30 = [0, AD], P30 = [0, "the keyword `from`"], C30 = [0, rx, rx, 0], N30 = "Label", O30 = [0, OM], j30 = [0, 0, 0], D30 = [0, 38], R30 = [0, I9, 372, 22], F30 = [0, 37], M30 = [0, I9, 391, 22], L30 = [0, 0], q30 = "the token `;`", B30 = [0, 0], U30 = [0, 0], X30 = FR, G30 = [0, Sh], Y30 = FR, z30 = [28, St8], J30 = Ta2, K30 = [0, 73], H30 = [0, rx, 0], W30 = It7, V30 = [0, rx, 0], $30 = [0, 73], Q30 = [0, 73], Z30 = $32, xl0 = [0, rx, 0], rl0 = [0, 0, 0], el0 = [0, 0, 0], tl0 = [0, [0, 8]], nl0 = [0, [0, 7]], ul0 = [0, [0, 6]], il0 = [0, [0, 10]], fl0 = [0, [0, 9]], cl0 = [0, [0, 11]], sl0 = [0, [0, 5]], al0 = [0, [0, 4]], ol0 = [0, [0, 2]], vl0 = [0, [0, 3]], ll0 = [0, [0, 1]], pl0 = [0, [0, 0]], kl0 = [0, [0, 12]], ml0 = [0, [0, 13]], hl0 = [0, [0, 14]], dl0 = [0, 0], yl0 = [0, 1], _l0 = [0, 0], wl0 = [0, 2], gl0 = [0, 3], bl0 = [0, 7], Tl0 = [0, 6], El0 = [0, 4], Sl0 = [0, 5], Al0 = [0, 1], Il0 = [0, 0], Pl0 = [0, 1], Cl0 = [0, 0], Nl0 = fl2, Ol0 = [0, "either a call or access of `super`"], jl0 = fl2, Dl0 = W22, Rl0 = w6, Fl0 = w6, Ml0 = [0, 2], Ll0 = [0, 0], ql0 = [0, 1], Bl0 = Yv, Ul0 = [0, "the identifier `target`"], Xl0 = [0, 0], Gl0 = [0, 1], Yl0 = [0, 0], zl0 = [0, 0], Jl0 = [0, 2], Kl0 = [0, 2], Hl0 = [0, 1], Wl0 = [0, 73], Vl0 = P6, $l0 = uL, Ql0 = gb, Zl0 = gb, x60 = pD2, r60 = [0, 0], e60 = [0, 1], t60 = [0, 0], n60 = se6, u60 = se6, i60 = [0, "a regular expression"], f60 = rx, c60 = rx, s60 = rx, a60 = [0, 81], o60 = [0, "src/parser/expression_parser.ml", 1550, 17], v60 = [0, "a template literal part"], l60 = [0, [0, rx, rx], 1], p60 = Pv, k60 = [0, 6], m60 = [0, [0, 17, [0, 2]]], h60 = [0, [0, 18, [0, 3]]], d60 = [0, [0, 19, [0, 4]]], y60 = [0, [0, 0, [0, 5]]], _60 = [0, [0, 1, [0, 5]]], w60 = [0, [0, 2, [0, 5]]], g60 = [0, [0, 3, [0, 5]]], b60 = [0, [0, 5, [0, 6]]], T60 = [0, [0, 7, [0, 6]]], E60 = [0, [0, 4, [0, 6]]], S60 = [0, [0, 6, [0, 6]]], A60 = [0, [0, 8, [0, 7]]], I60 = [0, [0, 9, [0, 7]]], P60 = [0, [0, 10, [0, 7]]], C60 = [0, [0, 11, [0, 8]]], N60 = [0, [0, 12, [0, 8]]], O60 = [0, [0, 15, [0, 9]]], j60 = [0, [0, 13, [0, 9]]], D60 = [0, [0, 14, [1, 10]]], R60 = [0, [0, 16, [0, 9]]], F60 = [0, [0, 21, [0, 6]]], M60 = [0, [0, 20, [0, 6]]], L60 = [23, Dw], q60 = [13, "JSX fragment"], B60 = Iv, U60 = ln4, X60 = [0, sn4], G60 = [1, sn4], Y60 = [0, rx, rx, 0], z60 = [0, Sh], J60 = rx, K60 = [0, "a numeric or string literal"], H60 = [0, rx, '""', 0], W60 = [0, 0], V60 = [0, "a number literal"], $60 = [0, [0, 0, V22, 0]], Q60 = [0, 84], Z60 = [21, dM], x40 = [21, R62], r40 = [0, 0, 0], e40 = h6, t40 = [0, rx, 0], n40 = "unexpected PrivateName in Property, expected a PrivateField", u40 = [0, 0, 0], i40 = Sa, f40 = "Must be one of the above", c40 = [0, 1], s40 = [0, 1], a40 = [0, 1], o40 = Sa, v40 = Sa, l40 = p_, p40 = "Internal Error: private name found in object props", k40 = [0, 0, 0, 0], m40 = [0, cF], h40 = [19, [0, 0]], d40 = [0, cF], y40 = ug, _40 = "Nooo: ", w40 = Fv, g40 = "Parser error: No such thing as an expression pattern!", b40 = [0, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], T40 = [0, "src/parser/parser_flow.ml", fk, 28], E40 = [0, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], S40 = kD, A40 = Yx, I40 = $D, P40 = eR, C40 = eR, N40 = $D, O40 = tc2, j40 = sD2, D40 = w1, R40 = m1, F40 = "InterpreterDirective", M40 = "interpreter", L40 = "Program", q40 = w1, B40 = "RecordBody", U40 = m1, X40 = Y1, G40 = en4, Y40 = "RecordStaticProperty", z40 = "defaultValue", J40 = Y1, K40 = en4, H40 = "RecordProperty", W40 = S6, V40 = "BreakStatement", $40 = S6, Q40 = "ContinueStatement", Z40 = "DebuggerStatement", xp0 = Wv, rp0 = "DeclareExportAllDeclaration", ep0 = Wv, tp0 = l_, np0 = IE, up0 = Fv, ip0 = "DeclareExportDeclaration", fp0 = w1, cp0 = Yr5, sp0 = "DeclareModule", ap0 = Y1, op0 = "DeclareModuleExports", vp0 = w1, lp0 = Yr5, pp0 = NL, kp0 = "DeclareNamespace", mp0 = Z32, hp0 = w1, dp0 = "DoWhileStatement", yp0 = "EmptyStatement", _p0 = cS, wp0 = IE, gp0 = "ExportDefaultDeclaration", bp0 = cS, Tp0 = cA, Ep0 = Wv, Sp0 = "ExportAllDeclaration", Ap0 = cS, Ip0 = Wv, Pp0 = l_, Cp0 = IE, Np0 = "ExportNamedDeclaration", Op0 = "directive", jp0 = t24, Dp0 = "ExpressionStatement", Rp0 = w1, Fp0 = "update", Mp0 = Z32, Lp0 = ks5, qp0 = "ForStatement", Bp0 = "each", Up0 = w1, Xp0 = fn5, Gp0 = Ea2, Yp0 = "ForInStatement", zp0 = Kv, Jp0 = w1, Kp0 = fn5, Hp0 = Ea2, Wp0 = "ForOfStatement", Vp0 = lR, $p0 = rP, Qp0 = Z32, Zp0 = "IfStatement", xk0 = tc2, rk0 = Aa2, ek0 = m1, tk0 = XD, nk0 = Wv, uk0 = l_, ik0 = "ImportDeclaration", fk0 = w1, ck0 = S6, sk0 = "LabeledStatement", ak0 = J9, ok0 = $1, vk0 = "MatchStatement", lk0 = "RecordImplements", pk0 = w1, kk0 = Oo2, mk0 = B22, hk0 = Yr5, dk0 = "RecordDeclaration", yk0 = $1, _k0 = "ReturnStatement", wk0 = J9, gk0 = "discriminant", bk0 = "SwitchStatement", Tk0 = $1, Ek0 = "ThrowStatement", Sk0 = "finalizer", Ak0 = "handler", Ik0 = vn3, Pk0 = "TryStatement", Ck0 = w1, Nk0 = Z32, Ok0 = "WhileStatement", jk0 = w1, Dk0 = Dp2, Rk0 = "WithStatement", Fk0 = x9, Mk0 = $1, Lk0 = NA, qk0 = x9, Bk0 = $1, Uk0 = NA, Xk0 = KT, Gk0 = "ArrayExpression", Yk0 = B22, zk0 = gh, Jk0 = t24, Kk0 = Ge7, Hk0 = Ey, Wk0 = Io3, Vk0 = w1, $k0 = on8, Qk0 = Yr5, Zk0 = "ArrowFunctionExpression", x80 = t24, r80 = "AsConstExpression", e80 = Y1, t80 = t24, n80 = "AsExpression", u80 = p_, i80 = fn5, f80 = Ea2, c80 = Gv, s80 = "AssignmentExpression", a80 = fn5, o80 = Ea2, v80 = Gv, l80 = "BinaryExpression", p80 = "CallExpression", k80 = lR, m80 = rP, h80 = Z32, d80 = "ConditionalExpression", y80 = Wv, _80 = "ImportExpression", w80 = LF2, g80 = CM, b80 = Dw, T80 = fn5, E80 = Ea2, S80 = Gv, A80 = "LogicalExpression", I80 = J9, P80 = $1, C80 = "MatchExpression", N80 = "MemberExpression", O80 = Tm2, j80 = w6, D80 = "MetaProperty", R80 = Qb, F80 = h8, M80 = fR, L80 = "NewExpression", q80 = A6, B80 = "ObjectExpression", U80 = ft7, X80 = "OptionalCallExpression", G80 = ft7, Y80 = "OptionalMemberExpression", z80 = rM, J80 = "SequenceExpression", K80 = "Super", H80 = "ThisExpression", W80 = Y1, V80 = t24, $80 = "TypeCastExpression", Q80 = Y1, Z80 = t24, xm0 = "SatisfiesExpression", rm0 = x9, em0 = $1, tm0 = NA, nm0 = ze6, um0 = $7, im0 = SD, fm0 = VL, cm0 = Aa2, sm0 = ga, am0 = E6, om0 = "matched above", vm0 = $1, lm0 = XR, pm0 = Gv, km0 = "UnaryExpression", mm0 = $1, hm0 = "AwaitExpression", dm0 = kR, ym0 = ZM, _m0 = XR, wm0 = $1, gm0 = Gv, bm0 = "UpdateExpression", Tm0 = "delegate", Em0 = $1, Sm0 = "YieldExpression", Am0 = "MatchExpressionCase", Im0 = "guard", Pm0 = w1, Cm0 = ge6, Nm0 = "MatchStatementCase", Om0 = "literal", jm0 = "MatchLiteralPattern", Dm0 = "MatchWildcardPattern", Rm0 = ze6, Fm0 = $7, Mm0 = $1, Lm0 = Gv, qm0 = "MatchUnaryPattern", Bm0 = "MatchObjectPattern", Um0 = "MatchInstanceObjectPattern", Xm0 = DF, Gm0 = _a4, Ym0 = "MatchInstancePattern", zm0 = "patterns", Jm0 = "MatchOrPattern", Km0 = Ih, Hm0 = ge6, Wm0 = "MatchAsPattern", Vm0 = Yr5, $m0 = "MatchIdentifierPattern", Qm0 = Tm2, Zm0 = "base", xh0 = "MatchMemberPattern", rh0 = ba2, eh0 = Yr5, th0 = "MatchBindingPattern", nh0 = p6, uh0 = KT, ih0 = "MatchArrayPattern", fh0 = T6, ch0 = ge6, sh0 = en4, ah0 = VR, oh0 = T6, vh0 = ge6, lh0 = en4, ph0 = VR, kh0 = p6, mh0 = A6, hh0 = $1, dh0 = "MatchRestPattern", yh0 = "Unexpected FunctionDeclaration with BodyExpression", _h0 = "HookDeclaration", wh0 = t24, gh0 = Ge7, bh0 = Ey, Th0 = Io3, Eh0 = "FunctionDeclaration", Sh0 = B22, Ah0 = gh, Ih0 = w1, Ph0 = on8, Ch0 = Yr5, Nh0 = "Unexpected FunctionExpression with BodyExpression", Oh0 = B22, jh0 = gh, Dh0 = t24, Rh0 = Ge7, Fh0 = Ey, Mh0 = Io3, Lh0 = w1, qh0 = on8, Bh0 = Yr5, Uh0 = "FunctionExpression", Xh0 = ft7, Gh0 = Y1, Yh0 = Ye4, zh0 = US, Jh0 = ft7, Kh0 = Y1, Hh0 = Ye4, Wh0 = "PrivateIdentifier", Vh0 = ft7, $h0 = Y1, Qh0 = Ye4, Zh0 = US, xd0 = rP, rd0 = Z32, ed0 = "SwitchCase", td0 = w1, nd0 = "param", ud0 = "CatchClause", id0 = w1, fd0 = "BlockStatement", cd0 = ba2, sd0 = Yr5, ad0 = "DeclareVariable", od0 = "DeclareHook", vd0 = Ge7, ld0 = "DeclareFunction", pd0 = Yr5, kd0 = lM, md0 = Oo2, hd0 = mc2, dd0 = w1, yd0 = B22, _d0 = Yr5, wd0 = "DeclareClass", gd0 = B22, bd0 = f_, Td0 = on8, Ed0 = p6, Sd0 = on8, Ad0 = Yr5, Id0 = "DeclareComponent", Pd0 = B22, Cd0 = f_, Nd0 = p6, Od0 = on8, jd0 = "ComponentTypeAnnotation", Dd0 = ft7, Rd0 = Y1, Fd0 = Ye4, Md0 = "ComponentTypeParameter", Ld0 = w1, qd0 = Yr5, Bd0 = "DeclareEnum", Ud0 = mc2, Xd0 = w1, Gd0 = B22, Yd0 = Yr5, zd0 = "DeclareInterface", Jd0 = m1, Kd0 = tc2, Hd0 = cA, Wd0 = "ExportNamespaceSpecifier", Vd0 = fn5, $d0 = B22, Qd0 = Yr5, Zd0 = "DeclareTypeAlias", x50 = fn5, r50 = B22, e50 = Yr5, t50 = "TypeAlias", n50 = "DeclareOpaqueType", u50 = "OpaqueType", i50 = "supertype", f50 = "upperBound", c50 = "lowerBound", s50 = "impltype", a50 = B22, o50 = Yr5, v50 = "ClassDeclaration", l50 = "ClassExpression", p50 = g8, k50 = Oo2, m50 = "superTypeParameters", h50 = "superClass", d50 = B22, y50 = w1, _50 = Yr5, w50 = t24, g50 = "Decorator", b50 = B22, T50 = Yr5, E50 = "ClassImplements", S50 = w1, A50 = "ClassBody", I50 = w1, P50 = "StaticBlock", C50 = _a4, N50 = V6, O50 = Nv, j50 = nl2, D50 = g8, R50 = W32, F50 = Ue5, M50 = ba2, L50 = m1, q50 = en4, B50 = "MethodDefinition", U50 = x42, X50 = g8, G50 = $22, Y50 = Ue5, z50 = W32, J50 = Y1, K50 = m1, H50 = en4, W50 = jL, V50 = "Internal Error: Private name found in class prop", $50 = x42, Q50 = g8, Z50 = $22, xy0 = Ue5, ry0 = W32, ey0 = Y1, ty0 = m1, ny0 = en4, uy0 = jL, iy0 = B22, fy0 = f_, cy0 = on8, sy0 = Yr5, ay0 = w1, oy0 = "ComponentDeclaration", vy0 = $1, ly0 = OE, py0 = fn5, ky0 = Ea2, my0 = jm2, hy0 = T6, dy0 = X62, yy0 = Ye4, _y0 = "ComponentParameter", wy0 = ks5, gy0 = Yr5, by0 = "EnumBigIntMember", Ty0 = Yr5, Ey0 = LR, Sy0 = ks5, Ay0 = Yr5, Iy0 = "EnumStringMember", Py0 = Yr5, Cy0 = LR, Ny0 = ks5, Oy0 = Yr5, jy0 = "EnumNumberMember", Dy0 = ks5, Ry0 = Yr5, Fy0 = "EnumBooleanMember", My0 = B6, Ly0 = Am2, qy0 = y6, By0 = "EnumBooleanBody", Uy0 = B6, Xy0 = Am2, Gy0 = y6, Yy0 = "EnumNumberBody", zy0 = B6, Jy0 = Am2, Ky0 = y6, Hy0 = "EnumStringBody", Wy0 = B6, Vy0 = y6, $y0 = "EnumSymbolBody", Qy0 = B6, Zy0 = Am2, x90 = y6, r90 = "EnumBigIntBody", e90 = w1, t90 = Yr5, n90 = "EnumDeclaration", u90 = mc2, i90 = w1, f90 = B22, c90 = Yr5, s90 = "InterfaceDeclaration", a90 = B22, o90 = Yr5, v90 = "InterfaceExtends", l90 = Y1, p90 = A6, k90 = "ObjectPattern", m90 = Y1, h90 = KT, d90 = "ArrayPattern", y90 = fn5, _90 = Ea2, w90 = jm2, g90 = Y1, b90 = Ye4, T90 = US, E90 = $1, S90 = OE, A90 = $1, I90 = OE, P90 = fn5, C90 = Ea2, N90 = jm2, O90 = ks5, j90 = ks5, D90 = Nv, R90 = nl2, F90 = VD, M90 = W32, L90 = T6, q90 = V6, B90 = ba2, U90 = m1, X90 = en4, G90 = mF, Y90 = $1, z90 = iR, J90 = fn5, K90 = Ea2, H90 = jm2, W90 = W32, V90 = T6, $90 = V6, Q90 = ba2, Z90 = m1, x_0 = en4, r_0 = mF, e_0 = $1, t_0 = iR, n_0 = At8, u_0 = m1, i_0 = J32, f_0 = rx, c_0 = At8, s_0 = $v, a_0 = m1, o_0 = J32, v_0 = At8, l_0 = m1, p_0 = J32, k_0 = Pa2, m_0 = wa2, h_0 = At8, d_0 = m1, y_0 = J32, __0 = "flags", w_0 = ge6, g_0 = "regex", b_0 = At8, T_0 = m1, E_0 = J32, S_0 = At8, A_0 = m1, I_0 = J32, P_0 = rM, C_0 = "quasis", N_0 = "TemplateLiteral", O_0 = "cooked", j_0 = At8, D_0 = "tail", R_0 = m1, F_0 = "TemplateElement", M_0 = "quasi", L_0 = "tag", q_0 = "TaggedTemplateExpression", B_0 = ba2, U_0 = "declarations", X_0 = "VariableDeclaration", G_0 = ks5, Y_0 = Yr5, z_0 = "VariableDeclarator", J_0 = "plus", K_0 = nM, H_0 = Xv, W_0 = bo3, V_0 = ng, $_0 = "in-out", Q_0 = ba2, Z_0 = "Variance", xw0 = "AnyTypeAnnotation", rw0 = "MixedTypeAnnotation", ew0 = "EmptyTypeAnnotation", tw0 = "VoidTypeAnnotation", nw0 = "NullLiteralTypeAnnotation", uw0 = "SymbolTypeAnnotation", iw0 = "NumberTypeAnnotation", fw0 = "BigIntTypeAnnotation", cw0 = "StringTypeAnnotation", sw0 = "BooleanTypeAnnotation", aw0 = Y1, ow0 = "NullableTypeAnnotation", vw0 = "UnknownTypeAnnotation", lw0 = "NeverTypeAnnotation", pw0 = "UndefinedTypeAnnotation", kw0 = ba2, mw0 = Y1, hw0 = "parameterName", dw0 = "TypePredicate", yw0 = "HookTypeAnnotation", _w0 = "FunctionTypeAnnotation", ww0 = Bv, gw0 = B22, bw0 = p6, Tw0 = gh, Ew0 = on8, Sw0 = ft7, Aw0 = Y1, Iw0 = Ye4, Pw0 = fM, Cw0 = ft7, Nw0 = Y1, Ow0 = Ye4, jw0 = fM, Dw0 = [0, 0, 0, 0, 0], Rw0 = "internalSlots", Fw0 = "callProperties", Mw0 = "indexers", Lw0 = A6, qw0 = "exact", Bw0 = tL, Uw0 = "ObjectTypeAnnotation", Xw0 = VD, Gw0 = "There should not be computed object type property keys", Yw0 = ks5, zw0 = Nv, Jw0 = nl2, Kw0 = ba2, Hw0 = $22, Ww0 = rw, Vw0 = Ue5, $w0 = ft7, Qw0 = V6, Zw0 = m1, xg0 = en4, rg0 = "ObjectTypeProperty", eg0 = $1, tg0 = "ObjectTypeSpreadProperty", ng0 = $22, ug0 = Ue5, ig0 = m1, fg0 = en4, cg0 = Yr5, sg0 = "ObjectTypeIndexer", ag0 = Ue5, og0 = m1, vg0 = "ObjectTypeCallProperty", lg0 = ft7, pg0 = $22, kg0 = "sourceType", mg0 = "propType", hg0 = "keyTparam", dg0 = "ObjectTypeMappedTypeProperty", yg0 = m1, _g0 = V6, wg0 = Ue5, gg0 = ft7, bg0 = Yr5, Tg0 = "ObjectTypeInternalSlot", Eg0 = w1, Sg0 = mc2, Ag0 = "InterfaceTypeAnnotation", Ig0 = QM, Pg0 = "ArrayTypeAnnotation", Cg0 = "falseType", Ng0 = "trueType", Og0 = "extendsType", jg0 = "checkType", Dg0 = "ConditionalTypeAnnotation", Rg0 = "typeParameter", Fg0 = "InferTypeAnnotation", Mg0 = Yr5, Lg0 = UF, qg0 = "QualifiedTypeIdentifier", Bg0 = B22, Ug0 = Yr5, Xg0 = "GenericTypeAnnotation", Gg0 = "indexType", Yg0 = "objectType", zg0 = "IndexedAccessType", Jg0 = ft7, Kg0 = "OptionalIndexedAccessType", Hg0 = w_, Wg0 = "UnionTypeAnnotation", Vg0 = w_, $g0 = "IntersectionTypeAnnotation", Qg0 = h8, Zg0 = $1, xb0 = "TypeofTypeAnnotation", rb0 = Yr5, eb0 = UF, tb0 = "QualifiedTypeofIdentifier", nb0 = $1, ub0 = "KeyofTypeAnnotation", ib0 = el2, fb0 = jF, cb0 = uF, sb0 = Y1, ab0 = Gv, ob0 = "TypeOperator", vb0 = Xv, lb0 = tL, pb0 = "elementTypes", kb0 = "TupleTypeAnnotation", mb0 = ft7, hb0 = $22, db0 = QM, yb0 = S6, _b0 = "TupleTypeLabeledElement", wb0 = Y1, gb0 = S6, bb0 = "TupleTypeSpreadElement", Tb0 = At8, Eb0 = m1, Sb0 = "StringLiteralTypeAnnotation", Ab0 = At8, Ib0 = m1, Pb0 = "NumberLiteralTypeAnnotation", Cb0 = At8, Nb0 = m1, Ob0 = "BigIntLiteralTypeAnnotation", jb0 = Pa2, Db0 = wa2, Rb0 = At8, Fb0 = m1, Mb0 = "BooleanLiteralTypeAnnotation", Lb0 = "ExistsTypeAnnotation", qb0 = Y1, Bb0 = vF, Ub0 = Y1, Xb0 = vF, Gb0 = on8, Yb0 = "TypeParameterDeclaration", zb0 = "usesExtendsBound", Jb0 = Fv, Kb0 = $22, Hb0 = No3, Wb0 = "bound", Vb0 = Ye4, $b0 = "TypeParameter", Qb0 = on8, Zb0 = mM, xT0 = on8, rT0 = mM, eT0 = Pv, tT0 = OL, nT0 = "closingElement", uT0 = "openingElement", iT0 = "JSXElement", fT0 = "closingFragment", cT0 = OL, sT0 = "openingFragment", aT0 = "JSXFragment", oT0 = h8, vT0 = "selfClosing", lT0 = "attributes", pT0 = Ye4, kT0 = "JSXOpeningElement", mT0 = "JSXOpeningFragment", hT0 = Ye4, dT0 = "JSXClosingElement", yT0 = "JSXClosingFragment", _T0 = m1, wT0 = Ye4, gT0 = "JSXAttribute", bT0 = $1, TT0 = "JSXSpreadAttribute", ET0 = "JSXEmptyExpression", ST0 = t24, AT0 = "JSXExpressionContainer", IT0 = t24, PT0 = "JSXSpreadChild", CT0 = At8, NT0 = m1, OT0 = "JSXText", jT0 = Tm2, DT0 = Dp2, RT0 = "JSXMemberExpression", FT0 = Ye4, MT0 = rE, LT0 = "JSXNamespacedName", qT0 = Ye4, BT0 = "JSXIdentifier", UT0 = cA, XT0 = X62, GT0 = "ExportSpecifier", YT0 = X62, zT0 = "ImportDefaultSpecifier", JT0 = X62, KT0 = "ImportNamespaceSpecifier", HT0 = XD, WT0 = X62, VT0 = "imported", $T0 = "ImportSpecifier", QT0 = "Line", ZT0 = "Block", xE0 = m1, rE0 = m1, eE0 = "DeclaredPredicate", tE0 = "InferredPredicate", nE0 = Qb, uE0 = h8, iE0 = fR, fE0 = W32, cE0 = Tm2, sE0 = Dp2, aE0 = "message", oE0 = Yx, vE0 = wD, lE0 = vR, pE0 = Wv, kE0 = G6, mE0 = Kk, hE0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms5, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He6, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], dE0 = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He6, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms5, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], yE0 = [0, Af, tn4, vc2, tf, Lc2, Ti6, Pu2, Tu2, u7, ls5, ki6, R7, G7, vn3, zc2, iu2, We7, Cs4, _i6, Ji6, l7, li6, c7, Pf2, Su2, Gu2, Ff, Wu2, yi5, Si6, ei6, B7, Wf, sc2, y7, ji6, Ef, yc2, H7, uf, ru2, Hf, qi6, gc2, Jn3, _s5, Sc2, Vf, mu2, K7, ns5, Wc2, ri6, ff, rf, Xe6, Ke7, us5, xc2, ou2, zi6, yu2, lf, gi6, Gc2, wi6, Ic2, hc2, qn4, Ju2, nf, be6, j7, ju2, bu2, Ec2, wc2, Bf, Hc2, O7, Ts4, Oc2, Xc2, Yf, Ac2, Yi6, Yn3, A7, Is6, yf, Mc2, Un3, t24, p7, ts5, Nc2, C7, mi6, Mf2, b7, v7, bf, ws5, Hi6, hi6, Ci6, vs6, Qn3, wf, Iu2, As5, nc2, gf, cu2, ti6, _c2, kc2, S7, Qi6, di6, Ru2, vi6, i7, tu2, gs5, qc2, Ni6, St8, cs5, U7, Ri6, W22, Gn4, Vi6, as5, Df2, Ou2, cc2, is5, lc2, ae4, vf2, eu2, xi6, Yu2, zn4, Rc2, Di6, Mi5, fi6, ds5, I7, Xf, Z7, D7, f7, zf, Bu2, dc2, z7, Dc2, Tc2, ms5, Jf, Tf, xu2, ku2, pf, ai6, Bc2, Hn4, g7, G1, oi6, N7, os7, su2, Yc2, Cu2, Au2, gu2, mf, L7, ps5, E7, du2, uu2, Nf, hf, uc2, Ki6, W72, df, hs5, Kn4, wu2, Cc2, Ei6, Mu2, Xu2, Kc2, Gf, ys5, Ui6, Zc2, Ii6, n7, si6, $u2, Hu2, Oi6, ni6, zu2, Vc2, Xn4, sf, Lu2, kf2, Qf, Xi6, r7, Vn3, Pc2, Kf, o7, e7, Wn3, bs5, Vu2, rc2, x7, es5, ge6, Eu2, Ai6, $c2, bi6, Y7, Fu2, jf, Bn3, m7, Zi6, Fc2, au2, $f2, P7, af, xf2, pu2, M7, Zu2, Pi6, Lf, Ge7, fs24, _7, If2, a7, q72, pi6, Ku2, fc2, qu2, Of, w7, ci6, Je7, T7, lu2, ii6, ss5, k7, fu2, Uu2, Jc2, Ve7, rs5, ic2, Bi6, Qc2, s7, Wi6, t72, He6, Q7, jc2, Uc2, Es4, Sf, _f2, oc2, Ps6, ac2, $n3, vu2, _u2, Zf, Zn4, X72, cf, ui6, J72, Uf, Qu2, d7, F7, hu2, Fi6, Du2, Gi6, Rf2, bc2, pc2, h7, qf, $22, V7, $i6, of, H22], _E0 = "Jsoo_runtime.Error.Exn", wE0 = [0, 0], gE0 = "assert_operator", bE0 = "use_strict", TE0 = w_, EE0 = "esproposal_decorators", SE0 = "records", AE0 = "pattern_matching", IE0 = "enums", PE0 = "components", CE0 = "Internal error: ", NE0 = [t1, "CamlinternalLazy.Undefined", js6(0)];
|
|
57948
|
+
var KV = "Array.sub", HV = "first domain already spawned", WV = [0, "camlinternalOO.ml", BF, 50], VV = [0, WM, 72, 5], $V = [0, WM, 81, 2], QV = "/tmp", ZV = ln4, x$ = [0, "src/wtf8.ml", 65, 9], r$ = [0, "src/third-party/sedlex/flow_sedlexing.ml", jS, 4], e$ = "Flow_sedlexing.MalFormed", t$ = O6, n$ = H32, u$ = K32, i$ = H62, f$ = $v, c$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.LibFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.LibFile@ "], s$ = [0, [3, 0, 0], C6], a$ = [0, [17, 0, [12, 41, 0]], ck], o$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.SourceFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.SourceFile@ "], v$ = [0, [3, 0, 0], C6], l$ = [0, [17, 0, [12, 41, 0]], ck], p$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.JsonFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.JsonFile@ "], k$ = [0, [3, 0, 0], C6], m$ = [0, [17, 0, [12, 41, 0]], ck], h$ = [0, [12, 40, [18, [1, [0, [11, Li6, 0], Li6]], [11, "File_key.ResourceFile", [17, [0, Eo3, 1, 0], 0]]]], "(@[<2>File_key.ResourceFile@ "], d$ = [0, [3, 0, 0], C6], y$ = [0, [17, 0, [12, 41, 0]], ck], _$ = [0, 1], w$ = [0, 0], g$ = [0, 1], b$ = [0, 2], T$ = [0, 2], E$ = [0, 0], S$ = [0, 1], A$ = [0, 1], I$ = [0, 1], P$ = [0, 1], C$ = [0, 2], N$ = [0, 1], O$ = [0, 1], j$ = [0, 0, 0], D$ = [0, 0, 0], R$ = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms5, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], F$ = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms5, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], M$ = GM, L$ = $F, q$ = SF, B$ = OD, U$ = Qy, X$ = QL, G$ = F6, Y$ = WD, z$ = YF, J$ = CF, K$ = yD2, H$ = $7, W$ = ze6, V$ = _R, $$ = pF, Q$ = se6, Z$ = HL, xQ = wR, rQ = _k, eQ = Qm2, tQ = bo3, nQ = I6, uQ = kM, iQ = YD, fQ = IR, cQ = RR, sQ = PF, aQ = qD, oQ = GD, vQ = hL, lQ = TR, pQ = vM, kQ = bF, mQ = yo3, hQ = fF, dQ = $L, yQ = eF, _Q = g6, wQ = cl2, gQ = No3, bQ = [0, [18, [1, [0, [11, Li6, 0], Li6]], [11, "{ ", 0]], "@[<2>{ "], TQ = "Loc.line", EQ = [0, [18, [1, [0, 0, rx]], [2, 0, [11, GR, [17, [0, Eo3, 1, 0], 0]]]], yF], SQ = [0, [4, 0, 0, 0, 0], al2], AQ = [0, [17, 0, 0], iI], IQ = [0, [12, 59, [17, [0, Eo3, 1, 0], 0]], ";@ "], PQ = G6, CQ = [0, [18, [1, [0, 0, rx]], [2, 0, [11, GR, [17, [0, Eo3, 1, 0], 0]]]], yF], NQ = [0, [4, 0, 0, 0, 0], al2], OQ = [0, [17, 0, 0], iI], jQ = [0, [17, [0, Eo3, 1, 0], [12, So3, [17, 0, 0]]], "@ }@]"], DQ = rx, RQ = "Object literal may not have data and accessor property with the same name", FQ = "Object literal may not have multiple get/set accessors with the same name", MQ = "Unexpected token <. Remember, adjacent JSX elements must be wrapped in an enclosing parent tag", LQ = "`let [` is ambiguous in this position because it is either a `let` binding pattern, or a member expression.", qQ = "Async functions can only be declared at top level or immediately within another function.", BQ = "`await` is an invalid identifier in async functions", UQ = "`await` is not allowed in async function parameters.", XQ = "Computed properties must have a value.", GQ = "Constructor can't be an accessor.", YQ = "Constructor can't be an async function.", zQ = "Constructor can't be a generator.", JQ = "It is sufficient for your declare function to just have a Promise return type.", KQ = "async is an implementation detail and isn't necessary for your declare function statement. ", HQ = "`declare` modifier can only appear on class fields.", WQ = "Unexpected token `=`. Initializers are not allowed in a `declare`.", VQ = "Unexpected token `=`. Initializers are not allowed in a `declare opaque type`.", $Q = "Classes may only have one constructor", QQ = "Rest element must be final element of an array pattern", ZQ = "Cannot export an enum with `export type`, try `export enum E {}` or `module.exports = E;` instead.", xZ = "Enum members are separated with `,`. Replace `;` with `,`.", rZ = "`const` enums are not supported. Flow Enums are designed to allow for inlining, however the inlining itself needs to be part of the build system (whatever you use) rather than Flow itself.", eZ = "Expected an object pattern, array pattern, or an identifier but found an expression instead", tZ = "Missing comma between export specifiers", nZ = "Generators can only be declared at top level or immediately within another function.", uZ = "Getter should have zero parameters", iZ = "A getter cannot have a `this` parameter.", fZ = "Illegal continue statement", cZ = "Illegal return statement", sZ = "Illegal Unicode escape", aZ = "Missing comma between import specifiers", oZ = "It cannot be used with `import type` or `import typeof` statements", vZ = "The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. ", lZ = "Explicit inexact syntax cannot appear inside an explicit exact object type", pZ = "Explicit inexact syntax can only appear inside an object type", kZ = "Component params must be an identifier. If you'd like to destructure, you should use `name as {destructure}`", mZ = "A bigint literal must be an integer", hZ = "JSX value should be either an expression or a quoted JSX text", dZ = "Invalid left-hand side in assignment", yZ = "Invalid left-hand side in exponentiation expression", _Z = "Invalid left-hand side in for-in", wZ = "Invalid left-hand side in for-of", gZ = "Invalid optional indexed access. Indexed access uses bracket notation. Use the format `T?.[K]`.", bZ = "Invalid regular expression", TZ = "A bigint literal cannot use exponential notation", EZ = "Tuple spread elements cannot be optional.", SZ = "Tuple variance annotations can only be used with labeled tuple elements, e.g. `[+foo: number]`", AZ = "`typeof` can only be used to get the type of variables.", IZ = "JSX attributes must only be assigned a non-empty expression", PZ = "Literals cannot be used as shorthand properties.", CZ = "Malformed unicode", NZ = "`match` argument must not be empty", OZ = "`match` argument cannot contain spread elements", jZ = "`await` is not yet supported in `match` expressions", DZ = "`yield` is not yet supported in `match` expressions", RZ = "Object pattern can't contain methods", FZ = "Expected at least one type parameter.", MZ = "Type parameter declaration needs a default, since a preceding type parameter declaration has a default.", LZ = "More than one default clause in switch statement", qZ = "Illegal newline after throw", BZ = "Illegal newline before arrow", UZ = "Missing catch or finally after try", XZ = "Const must be initialized", GZ = "Destructuring assignment must be initialized", YZ = "An optional chain may not be used in a `new` expression.", zZ = "Template literals may not be used in an optional chain.", JZ = "Rest parameter must be final parameter of an argument list", KZ = "Private fields may not be deleted.", HZ = "Private fields can only be referenced from within a class.", WZ = "Rest property must be final property of an object pattern", VZ = "Records to not support private elements. Remove the `#`.", $Z = "Setter should have exactly one parameter", QZ = "A setter cannot have a `this` parameter.", ZZ = "Catch variable may not be eval or arguments in strict mode", x00 = "Delete of an unqualified identifier in strict mode.", r00 = "Duplicate data property in object literal not allowed in strict mode", e00 = "Function name may not be eval or arguments in strict mode", t00 = "Assignment to eval or arguments is not allowed in strict mode", n00 = "Postfix increment/decrement may not have eval or arguments operand in strict mode", u00 = "Prefix increment/decrement may not have eval or arguments operand in strict mode", i00 = "Strict mode code may not include a with statement", f00 = "Number literals with leading zeros are not allowed in strict mode.", c00 = "Octal literals are not allowed in strict mode.", s00 = "Strict mode function may not have duplicate parameter names", a00 = "Parameter name eval or arguments is not allowed in strict mode", o00 = 'Illegal "use strict" directive in function with non-simple parameter list', v00 = "Use of reserved word in strict mode", l00 = "Variable name may not be eval or arguments in strict mode", p00 = "You may not access a private field through the `super` keyword.", k00 = "Flow does not support abstract classes.", m00 = "Flow does not support template literal types.", h00 = "A type annotation is required for the `this` parameter.", d00 = "Arrow functions cannot have a `this` parameter; arrow functions automatically bind `this` when declared.", y00 = "Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.", _00 = "The `this` parameter cannot be optional.", w00 = "The `this` parameter must be the first function parameter.", g00 = "A trailing comma is not permitted after the rest element", b00 = "Unexpected end of input", T00 = "Explicit inexact syntax must come at the end of an object type", E00 = "Opaque type aliases are not allowed in untyped mode", S00 = "Unexpected proto modifier", A00 = "Unexpected reserved word", I00 = "Unexpected reserved type", P00 = "Spreading a type is only allowed inside an object type", C00 = "Unexpected static modifier", N00 = "Unexpected `super` outside of a class method", O00 = "`super()` is only valid in a class constructor", j00 = "Type aliases are not allowed in untyped mode", D00 = "Type annotations are not allowed in untyped mode", R00 = "Type declarations are not allowed in untyped mode", F00 = "Type exports are not allowed in untyped mode", M00 = "Type imports are not allowed in untyped mode", L00 = "Interfaces are not allowed in untyped mode", q00 = "Unexpected variance sigil", B00 = "Found a decorator in an unsupported position.", U00 = "Invalid regular expression: missing /", X00 = "Unexpected whitespace between `#` and identifier", G00 = "`yield` is an invalid identifier in generators", Y00 = "Yield expression not allowed in formal parameter", z00 = [0, [11, "Duplicate export for `", [2, 0, [12, 96, 0]]], "Duplicate export for `%s`"], J00 = [0, [11, "Private fields may only be declared once. `#", [2, 0, [11, "` is declared more than once.", 0]]], "Private fields may only be declared once. `#%s` is declared more than once."], K00 = [0, [11, "bigint enum members need to be initialized, e.g. `", [2, 0, [11, " = 1n,` in enum `", [2, 0, [11, nu2, 0]]]]], "bigint enum members need to be initialized, e.g. `%s = 1n,` in enum `%s`."], H00 = [0, [11, "Boolean enum members need to be initialized. Use either `", [2, 0, [11, " = true,` or `", [2, 0, [11, " = false,` in enum `", [2, 0, [11, nu2, 0]]]]]]], "Boolean enum members need to be initialized. Use either `%s = true,` or `%s = false,` in enum `%s`."], W00 = [0, [11, "Enum member names need to be unique, but the name `", [2, 0, [11, "` has already been used before in enum `", [2, 0, [11, nu2, 0]]]]], "Enum member names need to be unique, but the name `%s` has already been used before in enum `%s`."], V00 = [0, [11, WR, [2, 0, [11, "` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.", 0]]], "Enum `%s` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers."], $00 = "The `...` must come at the end of the enum body. Remove the trailing comma.", Q00 = "The `...` must come after all enum members. Move it to the end of the enum body.", Z00 = [0, [11, "Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `", [2, 0, [11, nu2, 0]]], "Use one of `boolean`, `number`, `string`, `symbol`, or `bigint` in enum `%s`."], xx0 = [0, [11, "Enum type `", [2, 0, [11, "` is not valid. ", [2, 0, 0]]]], "Enum type `%s` is not valid. %s"], rx0 = [0, [11, "Supplied enum type is not valid. ", [2, 0, 0]], "Supplied enum type is not valid. %s"], ex0 = [0, [11, "Enum member names and initializers are separated with `=`. Replace `", [2, 0, [11, ":` with `", [2, 0, [11, " =`.", 0]]]]], "Enum member names and initializers are separated with `=`. Replace `%s:` with `%s =`."], tx0 = [0, [11, WR, [2, 0, [11, "` has type `", [2, 0, [11, "`, so the initializer of `", [2, 0, [11, "` needs to be a ", [2, 0, [11, " literal.", 0]]]]]]]]], "Enum `%s` has type `%s`, so the initializer of `%s` needs to be a %s literal."], nx0 = [0, [11, "Symbol enum members cannot be initialized. Use `", [2, 0, [11, ",` in enum `", [2, 0, [11, nu2, 0]]]]], "Symbol enum members cannot be initialized. Use `%s,` in enum `%s`."], ux0 = [0, [11, "The enum member initializer for `", [2, 0, [11, "` needs to be a literal (either a boolean, number, or string) in enum `", [2, 0, [11, nu2, 0]]]]], "The enum member initializer for `%s` needs to be a literal (either a boolean, number, or string) in enum `%s`."], ix0 = [0, [11, "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `", [2, 0, [11, "`, consider using `", [2, 0, [11, "`, in enum `", [2, 0, [11, nu2, 0]]]]]]], "Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%s`, consider using `%s`, in enum `%s`."], fx0 = [0, [11, "Number enum members need to be initialized, e.g. `", [2, 0, [11, " = 1,` in enum `", [2, 0, [11, nu2, 0]]]]], "Number enum members need to be initialized, e.g. `%s = 1,` in enum `%s`."], cx0 = [0, [11, "String enum members need to consistently either all use initializers, or use no initializers, in enum ", [2, 0, [12, 46, 0]]], "String enum members need to consistently either all use initializers, or use no initializers, in enum %s."], sx0 = [0, [11, "Expected corresponding JSX closing tag for ", [2, 0, 0]], "Expected corresponding JSX closing tag for %s"], ax0 = "immediately within another function.", ox0 = "In strict mode code, functions can only be declared at top level or ", vx0 = "inside a block, or as the body of an if statement.", lx0 = "In non-strict mode code, functions can only be declared at top level, ", px0 = " `break` statements are not required in `match` statements, as unlike `switch` statements, `match` statement cases do not fall-through by default.", kx0 = rx, mx0 = [0, [11, "Illegal break statement.", [2, 0, 0]], "Illegal break statement.%s"], hx0 = zM, dx0 = rx, yx0 = XM, _x0 = DF, wx0 = DM, gx0 = [0, [11, "Classes may not have ", [2, 0, [2, 0, [11, DD2, [2, 0, [11, nu2, 0]]]]]], "Classes may not have %s%s named `%s`."], bx0 = "Components use `renders` instead of `:` to annotate the render type of a component.", Tx0 = uM, Ex0 = rx, Sx0 = [0, [11, "String params require local bindings using `as` renaming. You can use `'", [2, 0, [11, "' as ", [2, 0, [2, 0, [11, ": <TYPE>` ", 0]]]]]], "String params require local bindings using `as` renaming. You can use `'%s' as %s%s: <TYPE>` "], Ax0 = "Remove the period.", Ix0 = "Indexed access uses bracket notation.", Px0 = [0, [11, "Invalid indexed access. ", [2, 0, [11, " Use the format `T[K]`.", 0]]], "Invalid indexed access. %s Use the format `T[K]`."], Cx0 = [0, [11, "Invalid flags supplied to RegExp constructor '", [2, 0, [12, 39, 0]]], "Invalid flags supplied to RegExp constructor '%s'"], Nx0 = tn4, Ox0 = Dp2, jx0 = [0, [11, "In match ", [2, 0, [11, " pattern, the rest must be the last element in the pattern", 0]]], "In match %s pattern, the rest must be the last element in the pattern"], Dx0 = [0, [11, "JSX element ", [2, 0, [11, " has no corresponding closing tag.", 0]]], "JSX element %s has no corresponding closing tag."], Rx0 = [0, [11, tM, [2, 0, [11, "`. Parentheses are required to combine `??` with `&&` or `||` expressions.", 0]]], "Unexpected token `%s`. Parentheses are required to combine `??` with `&&` or `||` expressions."], Fx0 = zM, Mx0 = rx, Lx0 = XM, qx0 = A6, Bx0 = [0, [11, "Records may not have ", [2, 0, [2, 0, [11, DD2, [2, 0, [11, nu2, 0]]]]]], "Records may not have %s%s named `%s`."], Ux0 = [0, [2, 0, [11, " '", [2, 0, [11, "' has already been declared", 0]]]], "%s '%s' has already been declared"], Xx0 = rx, Gx0 = k6, Yx0 = " You can try using JavaScript private fields by prepending `#` to the field name.", zx0 = Q62, Jx0 = " Fields and methods are public by default. You can simply omit the `public` keyword.", Kx0 = W62, Hx0 = [0, [11, "Flow does not support using `", [2, 0, [11, "` in classes.", [2, 0, 0]]]], "Flow does not support using `%s` in classes.%s"], Wx0 = [0, [11, "Private fields must be declared before they can be referenced. `#", [2, 0, [11, "` has not been declared.", 0]]], "Private fields must be declared before they can be referenced. `#%s` has not been declared."], Vx0 = [0, [11, xM, [2, 0, 0]], "Unexpected %s"], $x0 = [0, [11, tM, [2, 0, [11, "`. Did you mean `", [2, 0, [11, "`?", 0]]]]], "Unexpected token `%s`. Did you mean `%s`?"], Qx0 = [0, [11, xM, [2, 0, [11, ", expected ", [2, 0, 0]]]], "Unexpected %s, expected %s"], Zx0 = [0, [11, "Undefined label '", [2, 0, [12, 39, 0]]], "Undefined label '%s'"], xr0 = "Parse_error.Error", rr0 = [0, [0, 36, 37], [0, 48, 58], [0, 65, 91], [0, 95, 96], [0, 97, un4], [0, py, Sg], [0, NS, s9], [0, j_, Wm2], [0, xI, z_], [0, Y32, lk], [0, ty, Gp2], [0, t1, 706], [0, CD2, 722], [0, 736, 741], [0, 748, 749], [0, 750, 751], [0, 768, 885], [0, 886, 888], [0, 890, 894], [0, 895, 896], [0, 902, 907], [0, 908, 909], [0, 910, 930], [0, jM, 1014], [0, 1015, 1154], [0, 1155, 1160], [0, 1162, 1328], [0, 1329, 1367], [0, 1369, 1370], [0, 1376, 1417], [0, 1425, 1470], [0, 1471, 1472], [0, 1473, 1475], [0, 1476, 1478], [0, 1479, 1480], [0, 1488, 1515], [0, 1519, 1523], [0, 1552, 1563], [0, 1568, 1642], [0, 1646, 1748], [0, 1749, 1757], [0, 1759, 1769], [0, 1770, 1789], [0, 1791, 1792], [0, 1808, 1867], [0, 1869, 1970], [0, 1984, 2038], [0, 2042, 2043], [0, 2045, 2046], [0, Gg, 2094], [0, 2112, 2140], [0, 2144, 2155], [0, 2208, 2229], [0, 2230, 2238], [0, 2259, 2274], [0, 2275, 2404], [0, 2406, 2416], [0, 2417, 2436], [0, 2437, 2445], [0, 2447, 2449], [0, 2451, 2473], [0, 2474, 2481], [0, 2482, 2483], [0, 2486, 2490], [0, 2492, 2501], [0, 2503, 2505], [0, 2507, 2511], [0, 2519, 2520], [0, 2524, 2526], [0, 2527, 2532], [0, 2534, 2546], [0, 2556, 2557], [0, 2558, 2559], [0, 2561, 2564], [0, 2565, 2571], [0, 2575, 2577], [0, 2579, 2601], [0, 2602, 2609], [0, 2610, 2612], [0, 2613, 2615], [0, 2616, 2618], [0, 2620, 2621], [0, 2622, 2627], [0, 2631, 2633], [0, 2635, 2638], [0, 2641, 2642], [0, 2649, 2653], [0, 2654, 2655], [0, 2662, 2678], [0, 2689, 2692], [0, 2693, 2702], [0, 2703, 2706], [0, 2707, 2729], [0, 2730, 2737], [0, 2738, 2740], [0, 2741, 2746], [0, 2748, 2758], [0, 2759, 2762], [0, 2763, 2766], [0, 2768, 2769], [0, 2784, 2788], [0, 2790, 2800], [0, 2809, 2816], [0, 2817, 2820], [0, 2821, 2829], [0, 2831, 2833], [0, 2835, 2857], [0, 2858, 2865], [0, 2866, 2868], [0, 2869, 2874], [0, 2876, 2885], [0, 2887, 2889], [0, 2891, 2894], [0, 2902, 2904], [0, 2908, 2910], [0, 2911, 2916], [0, 2918, 2928], [0, 2929, 2930], [0, 2946, 2948], [0, 2949, 2955], [0, 2958, 2961], [0, 2962, 2966], [0, 2969, 2971], [0, 2972, 2973], [0, 2974, 2976], [0, 2979, 2981], [0, 2984, 2987], [0, 2990, 3002], [0, 3006, 3011], [0, 3014, 3017], [0, 3018, 3022], [0, 3024, 3025], [0, 3031, 3032], [0, 3046, 3056], [0, 3072, 3085], [0, 3086, 3089], [0, 3090, 3113], [0, 3114, 3130], [0, 3133, 3141], [0, 3142, 3145], [0, 3146, 3150], [0, 3157, 3159], [0, 3160, 3163], [0, 3168, 3172], [0, 3174, 3184], [0, 3200, 3204], [0, 3205, 3213], [0, 3214, 3217], [0, 3218, 3241], [0, 3242, 3252], [0, 3253, 3258], [0, 3260, 3269], [0, 3270, 3273], [0, 3274, 3278], [0, 3285, 3287], [0, 3294, 3295], [0, 3296, 3300], [0, 3302, 3312], [0, 3313, 3315], [0, 3328, 3332], [0, 3333, 3341], [0, 3342, 3345], [0, 3346, 3397], [0, 3398, 3401], [0, 3402, 3407], [0, 3412, 3416], [0, 3423, 3428], [0, 3430, 3440], [0, 3450, 3456], [0, 3458, 3460], [0, 3461, 3479], [0, 3482, 3506], [0, 3507, 3516], [0, 3517, 3518], [0, 3520, 3527], [0, 3530, 3531], [0, 3535, 3541], [0, 3542, 3543], [0, 3544, 3552], [0, 3558, 3568], [0, 3570, 3572], [0, 3585, 3643], [0, 3648, 3663], [0, 3664, 3674], [0, 3713, 3715], [0, 3716, 3717], [0, 3718, 3723], [0, 3724, 3748], [0, 3749, 3750], [0, 3751, 3774], [0, 3776, 3781], [0, 3782, 3783], [0, 3784, 3790], [0, 3792, 3802], [0, 3804, 3808], [0, 3840, 3841], [0, 3864, 3866], [0, 3872, 3882], [0, 3893, 3894], [0, 3895, 3896], [0, 3897, 3898], [0, 3902, 3912], [0, 3913, 3949], [0, 3953, 3973], [0, 3974, 3992], [0, 3993, 4029], [0, 4038, 4039], [0, NF, 4170], [0, 4176, 4254], [0, 4256, 4294], [0, 4295, 4296], [0, 4301, 4302], [0, 4304, 4347], [0, 4348, 4681], [0, 4682, 4686], [0, 4688, 4695], [0, 4696, 4697], [0, 4698, 4702], [0, 4704, 4745], [0, 4746, 4750], [0, 4752, 4785], [0, 4786, 4790], [0, 4792, 4799], [0, 4800, 4801], [0, 4802, 4806], [0, 4808, 4823], [0, 4824, 4881], [0, 4882, 4886], [0, 4888, 4955], [0, 4957, 4960], [0, 4969, 4978], [0, 4992, 5008], [0, 5024, 5110], [0, 5112, 5118], [0, 5121, 5741], [0, 5743, nC], [0, 5761, 5787], [0, 5792, 5867], [0, 5870, 5881], [0, 5888, 5901], [0, 5902, 5909], [0, 5920, 5941], [0, 5952, 5972], [0, 5984, 5997], [0, 5998, 6001], [0, 6002, 6004], [0, 6016, 6100], [0, 6103, 6104], [0, 6108, 6110], [0, 6112, 6122], [0, 6155, 6158], [0, 6160, 6170], [0, 6176, 6265], [0, 6272, 6315], [0, 6320, 6390], [0, 6400, 6431], [0, 6432, 6444], [0, 6448, 6460], [0, 6470, 6510], [0, 6512, 6517], [0, 6528, 6572], [0, 6576, 6602], [0, 6608, 6619], [0, 6656, 6684], [0, 6688, 6751], [0, 6752, 6781], [0, 6783, 6794], [0, 6800, 6810], [0, 6823, 6824], [0, 6832, 6846], [0, 6912, 6988], [0, 6992, 7002], [0, 7019, 7028], [0, 7040, 7156], [0, 7168, 7224], [0, 7232, 7242], [0, 7245, 7294], [0, 7296, 7305], [0, 7312, 7355], [0, 7357, 7360], [0, 7376, 7379], [0, 7380, 7419], [0, 7424, 7674], [0, 7675, 7958], [0, 7960, 7966], [0, 7968, 8006], [0, 8008, 8014], [0, 8016, 8024], [0, 8025, 8026], [0, 8027, 8028], [0, 8029, 8030], [0, 8031, 8062], [0, 8064, 8117], [0, 8118, 8125], [0, 8126, 8127], [0, 8130, 8133], [0, 8134, 8141], [0, 8144, 8148], [0, 8150, 8156], [0, 8160, 8173], [0, 8178, 8181], [0, 8182, 8189], [0, tR, NM], [0, 8255, 8257], [0, 8276, 8277], [0, F8, 8306], [0, f8, 8320], [0, 8336, 8349], [0, 8400, 8413], [0, 8417, 8418], [0, 8421, 8433], [0, dm2, 8451], [0, Gm2, 8456], [0, 8458, tk], [0, dk, 8470], [0, sM, 8478], [0, _8, Jm2], [0, th, gk], [0, Ik, Hm2], [0, 8490, 8506], [0, 8508, 8512], [0, 8517, 8522], [0, Lk, 8527], [0, 8544, 8585], [0, 11264, 11311], [0, 11312, 11359], [0, 11360, 11493], [0, 11499, 11508], [0, 11520, om2], [0, gp2, 11560], [0, Fm2, 11566], [0, 11568, 11624], [0, u8, 11632], [0, ak, 11671], [0, 11680, lm2], [0, 11688, km2], [0, 11696, bp2], [0, 11704, Uk], [0, 11712, z8], [0, 11720, Ip2], [0, 11728, sh], [0, 11736, 11743], [0, 11744, 11776], [0, 12293, 12296], [0, 12321, uh], [0, 12337, 12342], [0, 12344, 12349], [0, 12353, 12439], [0, 12441, X8], [0, 12449, _h], [0, 12540, 12544], [0, 12549, Ym2], [0, 12593, 12687], [0, 12704, 12731], [0, 12784, 12800], [0, 13312, 19894], [0, 19968, 40944], [0, 40960, 42125], [0, 42192, 42238], [0, 42240, 42509], [0, 42512, 42540], [0, 42560, 42608], [0, 42612, ek], [0, 42623, 42738], [0, 42775, 42784], [0, 42786, 42889], [0, 42891, 42944], [0, 42946, 42951], [0, l8, 43048], [0, 43072, 43124], [0, 43136, 43206], [0, 43216, 43226], [0, 43232, 43256], [0, $k, Yk], [0, 43261, 43310], [0, 43312, 43348], [0, 43360, 43389], [0, 43392, 43457], [0, W8, 43482], [0, 43488, Bp2], [0, aF, 43575], [0, 43584, 43598], [0, 43600, 43610], [0, 43616, 43639], [0, fm2, 43715], [0, 43739, 43742], [0, 43744, 43760], [0, 43762, 43767], [0, 43777, 43783], [0, 43785, 43791], [0, 43793, 43799], [0, 43808, wm2], [0, 43816, p8], [0, 43824, Q8], [0, 43868, Np2], [0, 43888, 44011], [0, 44012, 44014], [0, 44016, 44026], [0, 44032, 55204], [0, 55216, 55239], [0, 55243, 55292], [0, 63744, 64110], [0, 64112, 64218], [0, 64256, 64263], [0, 64275, 64280], [0, Wk, qp2], [0, 64298, b8], [0, 64312, ym2], [0, Qk, pk], [0, 64320, ih], [0, 64323, Th], [0, 64326, 64434], [0, 64467, 64830], [0, 64848, 64912], [0, 64914, 64968], [0, 65008, 65020], [0, 65024, 65040], [0, 65056, 65072], [0, 65075, 65077], [0, 65101, 65104], [0, 65136, $m2], [0, 65142, 65277], [0, 65296, 65306], [0, 65313, 65339], [0, 65343, pm2], [0, 65345, 65371], [0, 65382, 65471], [0, 65474, 65480], [0, 65482, 65488], [0, 65490, 65496], [0, 65498, 65501], [0, Y6, lh], [0, 65549, Z8], [0, 65576, Ek], [0, 65596, Ak], [0, 65599, 65614], [0, 65616, 65630], [0, 65664, 65787], [0, 65856, 65909], [0, 66045, 66046], [0, 66176, 66205], [0, 66208, 66257], [0, 66272, 66273], [0, 66304, 66336], [0, 66349, 66379], [0, 66384, 66427], [0, 66432, 66462], [0, 66464, 66500], [0, 66504, ah], [0, 66513, 66518], [0, 66560, 66718], [0, 66720, 66730], [0, 66736, 66772], [0, 66776, 66812], [0, 66816, 66856], [0, 66864, 66916], [0, 67072, 67383], [0, 67392, 67414], [0, 67424, 67432], [0, 67584, 67590], [0, vk, x8], [0, 67594, oh], [0, 67639, 67641], [0, $8, 67645], [0, 67647, 67670], [0, 67680, 67703], [0, 67712, 67743], [0, 67808, Hp2], [0, 67828, 67830], [0, 67840, 67862], [0, 67872, 67898], [0, 67968, 68024], [0, 68030, 68032], [0, ph, 68100], [0, 68101, 68103], [0, 68108, Xk], [0, 68117, V8], [0, 68121, 68150], [0, 68152, 68155], [0, 68159, 68160], [0, 68192, 68221], [0, 68224, 68253], [0, 68288, D8], [0, 68297, 68327], [0, 68352, 68406], [0, 68416, 68438], [0, 68448, 68467], [0, 68480, 68498], [0, 68608, 68681], [0, 68736, 68787], [0, 68800, 68851], [0, 68864, 68904], [0, 68912, 68922], [0, 69376, 69405], [0, qm2, 69416], [0, 69424, 69457], [0, 69600, 69623], [0, 69632, 69703], [0, 69734, nh], [0, 69759, 69819], [0, 69840, 69865], [0, 69872, 69882], [0, 69888, 69941], [0, 69942, 69952], [0, Up2, Dk], [0, 69968, 70004], [0, Km2, 70007], [0, 70016, 70085], [0, 70089, 70093], [0, 70096, Om2], [0, o8, 70109], [0, 70144, Nm2], [0, 70163, 70200], [0, 70206, 70207], [0, 70272, Pm2], [0, S8, Fk], [0, 70282, Cm2], [0, 70287, mm2], [0, 70303, 70313], [0, 70320, 70379], [0, 70384, 70394], [0, 70400, jp2], [0, 70405, 70413], [0, 70415, 70417], [0, 70419, Vm2], [0, 70442, Y8], [0, 70450, cm2], [0, 70453, 70458], [0, 70459, 70469], [0, 70471, 70473], [0, 70475, 70478], [0, Yp2, 70481], [0, 70487, 70488], [0, 70493, 70500], [0, 70502, 70509], [0, 70512, 70517], [0, 70656, 70731], [0, 70736, 70746], [0, uk, 70752], [0, 70784, Um2], [0, i8, 70856], [0, 70864, 70874], [0, 71040, 71094], [0, 71096, 71105], [0, 71128, 71134], [0, 71168, 71233], [0, a8, 71237], [0, 71248, 71258], [0, 71296, 71353], [0, 71360, 71370], [0, 71424, 71451], [0, 71453, 71468], [0, 71472, 71482], [0, 71680, 71739], [0, 71840, 71914], [0, 71935, 71936], [0, 72096, 72104], [0, 72106, 72152], [0, 72154, R8], [0, Xm2, 72165], [0, t82, 72255], [0, 72263, 72264], [0, qk, 72346], [0, k8, 72350], [0, 72384, 72441], [0, 72704, zm2], [0, 72714, 72759], [0, 72760, 72769], [0, 72784, 72794], [0, 72818, 72848], [0, 72850, 72872], [0, 72873, 72887], [0, 72960, d8], [0, 72968, ch], [0, 72971, 73015], [0, 73018, 73019], [0, 73020, 73022], [0, 73023, 73032], [0, 73040, 73050], [0, 73056, E8], [0, 73063, bm2], [0, 73066, 73103], [0, 73104, 73106], [0, 73107, 73113], [0, 73120, 73130], [0, 73440, 73463], [0, 73728, 74650], [0, 74752, 74863], [0, 74880, 75076], [0, 77824, 78895], [0, 82944, 83527], [0, 92160, 92729], [0, 92736, 92767], [0, 92768, 92778], [0, 92880, 92910], [0, 92912, 92917], [0, 92928, 92983], [0, 92992, 92996], [0, 93008, 93018], [0, 93027, 93048], [0, 93053, 93072], [0, 93760, 93824], [0, 93952, 94027], [0, gm2, 94088], [0, 94095, 94112], [0, 94176, mk], [0, Op2, 94180], [0, 94208, 100344], [0, 100352, 101107], [0, 110592, 110879], [0, 110928, 110931], [0, 110948, 110952], [0, 110960, 111356], [0, 113664, 113771], [0, 113776, 113789], [0, 113792, 113801], [0, 113808, 113818], [0, 113821, 113823], [0, 119141, 119146], [0, 119149, 119155], [0, 119163, 119171], [0, 119173, 119180], [0, 119210, 119214], [0, 119362, 119365], [0, 119808, Fp2], [0, 119894, jk], [0, 119966, 119968], [0, r8, 119971], [0, 119973, 119975], [0, 119977, Ah], [0, 119982, Sm2], [0, M8, xm2], [0, 119997, c8], [0, 120005, bh], [0, 120071, 120075], [0, 120077, sk], [0, 120086, Im2], [0, 120094, Xp2], [0, 120123, H8], [0, 120128, n8], [0, Jk, 120135], [0, 120138, eh], [0, 120146, 120486], [0, 120488, yk], [0, 120514, T8], [0, 120540, wh], [0, 120572, Rk], [0, 120598, C8], [0, 120630, Zp2], [0, 120656, w8], [0, 120688, zp2], [0, 120714, Cp2], [0, 120746, Nk], [0, 120772, 120780], [0, 120782, 120832], [0, 121344, 121399], [0, 121403, 121453], [0, 121461, 121462], [0, 121476, 121477], [0, 121499, 121504], [0, 121505, 121520], [0, 122880, 122887], [0, 122888, 122905], [0, 122907, 122914], [0, 122915, 122917], [0, 122918, 122923], [0, 123136, 123181], [0, 123184, 123198], [0, 123200, 123210], [0, Sp2, 123215], [0, 123584, 123642], [0, 124928, 125125], [0, 125136, 125143], [0, 125184, 125260], [0, 125264, 125274], [0, 126464, xk], [0, 126469, hm2], [0, 126497, yh], [0, Pp2, 126501], [0, Mm2, J8], [0, 126505, Ep2], [0, 126516, N8], [0, kh, tm2], [0, Vp2, 126524], [0, fh, 126531], [0, Eh, Qp2], [0, hh, vm2], [0, vh, Mp2], [0, 126541, Mk], [0, 126545, xh], [0, Dm2, 126549], [0, j8, $p2], [0, Zk, y8], [0, am2, rh], [0, ok, Jp2], [0, q8, Sk], [0, 126561, Wp2], [0, Zm2, 126565], [0, 126567, Rp2], [0, 126572, nk], [0, 126580, A8], [0, 126585, Vk], [0, O8, Bm2], [0, 126592, Kp2], [0, 126603, 126620], [0, 126625, P8], [0, 126629, m8], [0, 126635, 126652], [0, 131072, 173783], [0, 173824, 177973], [0, 177984, 178206], [0, 178208, 183970], [0, 183984, 191457], [0, 194560, 195102], [0, 917760, 918000]], er0 = [0, 1, 0], tr0 = [0, 0, [0, 1, 0], [0, 1, 0]], nr0 = sL, ur0 = "end of input", ir0 = U62, fr0 = "template literal part", cr0 = U62, sr0 = nD2, ar0 = sL, or0 = U62, vr0 = H32, lr0 = U62, pr0 = $v, kr0 = U62, mr0 = K32, hr0 = "an", dr0 = St8, yr0 = Nu2, _r0 = [0, [11, "token `", [2, 0, [12, 96, 0]]], "token `%s`"], wr0 = "{", gr0 = em2, br0 = "{|", Tr0 = "|}", Er0 = PM, Sr0 = iM, Ar0 = "[", Ir0 = "]", Pr0 = NT, Cr0 = JL, Nr0 = ln4, Or0 = "=>", jr0 = "...", Dr0 = _D, Rr0 = DM, Fr0 = $32, Mr0 = nm2, Lr0 = bo3, qr0 = I6, Br0 = Je7, Ur0 = Ve7, Xr0 = $P, Gr0 = DT, Yr0 = Bv, zr0 = He7, Jr0 = um2, Kr0 = g6, Hr0 = Tp2, Wr0 = L8, Vr0 = No3, $r0 = cl2, Qr0 = Hv, Zr0 = wa2, x10 = Pa2, r10 = We7, e10 = rk, t102 = Rm2, n10 = Xe6, u10 = Fv, i10 = Tk, f10 = U8, c10 = K8, s10 = h6, a10 = mc2, o10 = Ue5, v10 = Ck, l10 = Yv, p10 = E6, k10 = Aa2, m10 = ga, h10 = j6, d10 = dh, y10 = W22, _10 = fl2, w10 = Oo2, g10 = ae4, b10 = Pk, T10 = Q62, E10 = k6, S10 = W62, A10 = H22, I10 = Ke7, P10 = x42, C10 = tc2, N10 = zb, O10 = JS, j10 = Io3, D10 = Kv, R10 = "%checks", F10 = TR, M10 = hL, L10 = GD, q10 = bF, B10 = vM, U10 = yo3, X10 = qD, G10 = PF, Y10 = IR, z10 = RR, J10 = YD, K10 = kM, H10 = fF, W10 = $L, V10 = eF, $10 = p_, Q10 = "?.", Z10 = Dw, x20 = uM, r20 = Iv, e20 = LF2, t202 = CM, n20 = wR, u20 = _k, i20 = Qm2, f20 = GM, c20 = $F, s20 = SF, a20 = OD, o20 = QL, v20 = WD, l20 = Qy, p20 = F6, k20 = YF, m20 = CF, h20 = yD2, d20 = $7, y20 = ze6, _20 = se6, w20 = _R, g20 = pF, b20 = HL, T20 = SD, E20 = VL, S20 = ZM, A20 = kR, I20 = rx, P20 = ik, C20 = wk, N20 = be6, O20 = H32, j20 = $v, D20 = K32, R20 = ga, F20 = H62, M20 = hk, L20 = bk, q20 = Hk, B20 = Lm2, U20 = Xv, X20 = FD2, G20 = J62, Y20 = tl2, z20 = V32, J20 = jF, K20 = uF, H20 = m6, W20 = m6, V20 = gL, $20 = m6, Q20 = m6, Z20 = em2, xe0 = em2, re0 = gL, ee0 = se6, te0 = se6, ne0 = O6, ue0 = rm2, ie0 = "T_LCURLY", fe0 = "T_RCURLY", ce0 = "T_LCURLYBAR", se0 = "T_RCURLYBAR", ae0 = "T_LPAREN", oe0 = "T_RPAREN", ve0 = "T_LBRACKET", le0 = "T_RBRACKET", pe0 = "T_SEMICOLON", ke0 = "T_COMMA", me0 = "T_PERIOD", he0 = "T_ARROW", de0 = "T_ELLIPSIS", ye0 = "T_AT", _e0 = "T_POUND", we0 = "T_FUNCTION", ge0 = "T_IF", be0 = "T_IN", Te0 = "T_INSTANCEOF", Ee0 = "T_RETURN", Se0 = "T_SWITCH", Ae0 = "T_MATCH", Ie0 = "T_RECORD", Pe0 = "T_THIS", Ce0 = "T_THROW", Ne0 = "T_TRY", Oe0 = "T_VAR", je0 = "T_WHILE", De0 = "T_WITH", Re0 = "T_CONST", Fe0 = "T_LET", Me0 = "T_NULL", Le0 = "T_FALSE", qe0 = "T_TRUE", Be0 = "T_BREAK", Ue0 = "T_CASE", Xe0 = "T_CATCH", Ge0 = "T_CONTINUE", Ye0 = "T_DEFAULT", ze0 = "T_DO", Je0 = "T_FINALLY", Ke0 = "T_FOR", He0 = "T_CLASS", We0 = "T_EXTENDS", Ve0 = "T_STATIC", $e0 = "T_ELSE", Qe0 = "T_NEW", Ze0 = "T_DELETE", xt0 = "T_TYPEOF", rt0 = "T_VOID", et0 = "T_ENUM", tt0 = "T_EXPORT", nt0 = "T_IMPORT", ut0 = "T_SUPER", it0 = "T_IMPLEMENTS", ft0 = "T_INTERFACE", ct0 = "T_PACKAGE", st0 = "T_PRIVATE", at0 = "T_PROTECTED", ot0 = "T_PUBLIC", vt0 = "T_YIELD", lt0 = "T_DEBUGGER", pt0 = "T_DECLARE", kt0 = "T_TYPE", mt0 = "T_OPAQUE", ht0 = "T_OF", dt0 = "T_ASYNC", yt0 = "T_AWAIT", _t0 = "T_CHECKS", wt0 = "T_RSHIFT3_ASSIGN", gt0 = "T_RSHIFT_ASSIGN", bt0 = "T_LSHIFT_ASSIGN", Tt0 = "T_BIT_XOR_ASSIGN", Et0 = "T_BIT_OR_ASSIGN", St0 = "T_BIT_AND_ASSIGN", At0 = "T_MOD_ASSIGN", It0 = "T_DIV_ASSIGN", Pt0 = "T_MULT_ASSIGN", Ct0 = "T_EXP_ASSIGN", Nt0 = "T_MINUS_ASSIGN", Ot0 = "T_PLUS_ASSIGN", jt0 = "T_NULLISH_ASSIGN", Dt0 = "T_AND_ASSIGN", Rt0 = "T_OR_ASSIGN", Ft0 = "T_ASSIGN", Mt0 = "T_PLING_PERIOD", Lt0 = "T_PLING_PLING", qt0 = "T_PLING", Bt0 = "T_COLON", Ut0 = "T_OR", Xt0 = "T_AND", Gt0 = "T_BIT_OR", Yt0 = "T_BIT_XOR", zt0 = "T_BIT_AND", Jt0 = "T_EQUAL", Kt0 = "T_NOT_EQUAL", Ht0 = "T_STRICT_EQUAL", Wt0 = "T_STRICT_NOT_EQUAL", Vt0 = "T_LESS_THAN_EQUAL", $t0 = "T_GREATER_THAN_EQUAL", Qt0 = "T_LESS_THAN", Zt0 = "T_GREATER_THAN", xn0 = "T_LSHIFT", rn0 = "T_RSHIFT", en0 = "T_RSHIFT3", tn0 = "T_PLUS", nn0 = "T_MINUS", un0 = "T_DIV", in0 = "T_MULT", fn0 = "T_EXP", cn0 = "T_MOD", sn0 = "T_NOT", an0 = "T_BIT_NOT", on0 = "T_INCR", vn0 = "T_DECR", ln0 = "T_EOF", pn0 = "T_ANY_TYPE", kn0 = "T_MIXED_TYPE", mn0 = "T_EMPTY_TYPE", hn0 = "T_NUMBER_TYPE", dn0 = "T_BIGINT_TYPE", yn0 = "T_STRING_TYPE", _n0 = "T_VOID_TYPE", wn0 = "T_SYMBOL_TYPE", gn0 = "T_UNKNOWN_TYPE", bn0 = "T_NEVER_TYPE", Tn0 = "T_UNDEFINED_TYPE", En0 = "T_KEYOF", Sn0 = "T_READONLY", An0 = "T_INFER", In0 = "T_IS", Pn0 = "T_ASSERTS", Cn0 = "T_IMPLIES", Nn0 = KL, On0 = KL, jn0 = "T_NUMBER", Dn0 = "T_BIGINT", Rn0 = "T_STRING", Fn0 = "T_TEMPLATE_PART", Mn0 = "T_IDENTIFIER", Ln0 = "T_REGEXP", qn0 = "T_INTERPRETER", Bn0 = "T_ERROR", Un0 = "T_JSX_IDENTIFIER", Xn0 = XL, Gn0 = XL, Yn0 = "T_BOOLEAN_TYPE", zn0 = "T_NUMBER_SINGLETON_TYPE", Jn0 = "T_BIGINT_SINGLETON_TYPE", Kn0 = [0, BR, $S, 9], Hn0 = [0, BR, Hg, 9], Wn0 = wL, Vn0 = "*/", $n0 = wL, Qn0 = "unreachable line_comment", Zn0 = "unreachable string_quote", x70 = "\\", r70 = "unreachable template_part", e70 = `\r
|
|
57949
|
+
`, t70 = ug, n70 = "unreachable regexp_class", u70 = LD, i70 = "unreachable regexp_body", f70 = rx, c70 = rx, s70 = rx, a70 = rx, o70 = hR, v70 = "{'>'}", l70 = F6, p70 = "{'}'}", k70 = em2, m70 = Ao3, h70 = NT, d70 = Qm2, y70 = hR, _70 = Ao3, w70 = NT, g70 = Qm2, b70 = "unreachable type_token wholenumber", T70 = "unreachable type_token wholebigint", E70 = "unreachable type_token floatbigint", S70 = "unreachable type_token scinumber", A70 = "unreachable type_token scibigint", I70 = "unreachable type_token hexnumber", P70 = "unreachable type_token hexbigint", C70 = "unreachable type_token legacyoctnumber", N70 = "unreachable type_token octnumber", O70 = "unreachable type_token octbigint", j70 = "unreachable type_token binnumber", D70 = "unreachable type_token bigbigint", R70 = "unreachable type_token", F70 = yL, M70 = [11, 1], L70 = [11, 0], q70 = "unreachable template_tail", B70 = rx, U70 = rx, X70 = "unreachable jsx_child", G70 = "unreachable jsx_tag", Y70 = [0, hw], z70 = [0, 913], J70 = [0, Y32], K70 = [0, mh], H70 = [0, cR], W70 = [0, QP], V70 = [0, 8747], $70 = [0, gD], Q70 = [0, 916], Z70 = [0, 8225], xu0 = [0, 935], ru0 = [0, VI], eu0 = [0, 914], tu0 = [0, vL], nu0 = [0, IF], uu0 = [0, RE], iu0 = [0, 915], fu0 = [0, TD], cu0 = [0, 919], su0 = [0, 917], au0 = [0, _L], ou0 = [0, KD], vu0 = [0, HR], lu0 = [0, 924], pu0 = [0, 923], ku0 = [0, 922], mu0 = [0, oF], hu0 = [0, 921], du0 = [0, eM], yu0 = [0, Hg], _u0 = [0, xF], wu0 = [0, ty], gu0 = [0, 927], bu0 = [0, 937], Tu0 = [0, HD], Eu0 = [0, $R], Su0 = [0, uR], Au0 = [0, 338], Iu0 = [0, 352], Pu0 = [0, 929], Cu0 = [0, 936], Nu0 = [0, 8243], Ou0 = [0, 928], ju0 = [0, 934], Du0 = [0, qL], Ru0 = [0, o_], Fu0 = [0, 933], Mu0 = [0, pM], Lu0 = [0, nL], qu0 = [0, fD2], Bu0 = [0, 920], Uu0 = [0, 932], Xu0 = [0, jD], Gu0 = [0, dR], Yu0 = [0, KF], zu0 = [0, JR], Ju0 = [0, 918], Ku0 = [0, SR], Hu0 = [0, HF], Wu0 = [0, 926], Vu0 = [0, lF], $u0 = [0, jM], Qu0 = [0, 925], Zu0 = [0, 39], xi0 = [0, 8736], ri0 = [0, 8743], ei0 = [0, 38], ti0 = [0, 945], ni0 = [0, 8501], ui0 = [0, Sv], ii0 = [0, 8226], fi0 = [0, JD2], ci0 = [0, 946], si0 = [0, 8222], ai0 = [0, RD], oi0 = [0, wM], vi0 = [0, 8776], li0 = [0, qI], pi0 = [0, 8773], ki0 = [0, 9827], mi0 = [0, CD2], hi0 = [0, 967], di0 = [0, qM], yi0 = [0, Wm2], _i0 = [0, PD], wi0 = [0, GF], gi0 = [0, 8595], bi0 = [0, 8224], Ti0 = [0, 8659], Ei0 = [0, sR], Si0 = [0, 8746], Ai0 = [0, 8629], Ii0 = [0, yR], Pi0 = [0, 8745], Ci0 = [0, 8195], Ni0 = [0, 8709], Oi0 = [0, iD2], ji0 = [0, dL], Di0 = [0, aL], Ri0 = [0, Gp2], Fi0 = [0, 9830], Mi0 = [0, 8707], Li0 = [0, 8364], qi0 = [0, EM], Bi0 = [0, rl2], Ui0 = [0, 951], Xi0 = [0, 8801], Gi0 = [0, 949], Yi0 = [0, 8194], zi0 = [0, 8805], Ji0 = [0, 947], Ki0 = [0, 8260], Hi0 = [0, jE], Wi0 = [0, nR], Vi0 = [0, $S], $i0 = [0, 8704], Qi0 = [0, XF], Zi0 = [0, EL], xf0 = [0, 8230], rf0 = [0, 9829], ef0 = [0, 8596], tf0 = [0, 8660], nf0 = [0, 62], uf0 = [0, 402], if0 = [0, 948], ff0 = [0, nF], cf0 = [0, E9], sf0 = [0, 8712], af0 = [0, sP], of0 = [0, 953], vf0 = [0, 8734], lf0 = [0, 8465], pf0 = [0, IM], kf0 = [0, 8220], mf0 = [0, 8968], hf0 = [0, 8592], df0 = [0, Sg], yf0 = [0, 10216], _f0 = [0, 955], wf0 = [0, 8656], gf0 = [0, 954], bf0 = [0, 60], Tf0 = [0, 8216], Ef0 = [0, 8249], Sf0 = [0, NM], Af0 = [0, 9674], If0 = [0, 8727], Pf0 = [0, 8970], Cf0 = [0, AL], Nf0 = [0, 8711], Of0 = [0, 956], jf0 = [0, 8722], Df0 = [0, j_], Rf0 = [0, NS], Ff0 = [0, 8212], Mf0 = [0, NR], Lf0 = [0, 8804], qf0 = [0, 957], Bf0 = [0, kF], Uf0 = [0, 8836], Xf0 = [0, 8713], Gf0 = [0, KR], Yf0 = [0, 8715], zf0 = [0, 8800], Jf0 = [0, 8853], Kf0 = [0, 959], Hf0 = [0, 969], Wf0 = [0, 8254], Vf0 = [0, HM], $f0 = [0, 339], Qf0 = [0, jv], Zf0 = [0, BM], xc0 = [0, s9], rc0 = [0, ul2], ec0 = [0, 8855], tc0 = [0, ME], nc0 = [0, t1], uc0 = [0, xI], ic0 = [0, py], fc0 = [0, da3], cc0 = [0, rL], sc0 = [0, 982], ac0 = [0, 960], oc0 = [0, 966], vc0 = [0, 8869], lc0 = [0, 8240], pc0 = [0, 8706], kc0 = [0, 8744], mc0 = [0, 8211], hc0 = [0, 10217], dc0 = [0, 8730], yc0 = [0, 8658], _c0 = [0, 34], wc0 = [0, 968], gc0 = [0, 8733], bc0 = [0, 8719], Tc0 = [0, 961], Ec0 = [0, 8971], Sc0 = [0, LL], Ac0 = [0, 8476], Ic0 = [0, 8221], Pc0 = [0, 8969], Cc0 = [0, 8594], Nc0 = [0, z_], Oc0 = [0, bM], jc0 = [0, Sb], Dc0 = [0, 8901], Rc0 = [0, 353], Fc0 = [0, 8218], Mc0 = [0, 8217], Lc0 = [0, 8250], qc0 = [0, 8835], Bc0 = [0, 8721], Uc0 = [0, 8838], Xc0 = [0, 8834], Gc0 = [0, 9824], Yc0 = [0, 8764], zc0 = [0, 962], Jc0 = [0, 963], Kc0 = [0, 8207], Hc0 = [0, 952], Wc0 = [0, 8756], Vc0 = [0, 964], $c0 = [0, e8], Qc0 = [0, 8839], Zc0 = [0, AC], xs0 = [0, fk], rs0 = [0, ol3], es0 = [0, 8657], ts0 = [0, 8482], ns0 = [0, lk], us0 = [0, 732], is0 = [0, Q32], fs0 = [0, 8201], cs0 = [0, 977], ss0 = [0, sM], as0 = [0, xl2], os0 = [0, 965], vs0 = [0, 978], ls0 = [0, IL], ps0 = [0, jS], ks0 = [0, WL], ms0 = [0, tR], hs0 = [0, 8205], ds0 = [0, 950], ys0 = [0, Bk], _s0 = [0, hF], ws0 = [0, QE], gs0 = [0, 958], bs0 = [0, 8593], Ts0 = [0, oD2], Es0 = [0, 8242], Ss0 = [0, kI], As0 = "unreachable regexp", Is0 = "unreachable token wholenumber", Ps0 = "unreachable token wholebigint", Cs0 = "unreachable token floatbigint", Ns0 = "unreachable token scinumber", Os0 = "unreachable token scibigint", js0 = "unreachable token hexnumber", Ds0 = "unreachable token hexbigint", Rs0 = "unreachable token legacyoctnumber", Fs0 = "unreachable token legacynonoctnumber", Ms0 = "unreachable token octnumber", Ls0 = "unreachable token octbigint", qs0 = "unreachable token bignumber", Bs0 = "unreachable token bigint", Us0 = "unreachable token", Xs0 = yL, Gs0 = [7, "#!"], Ys0 = "expected ?", zs0 = "unreachable string_escape", Js0 = V22, Ks0 = P6, Hs0 = P6, Ws0 = V22, Vs0 = KP, $s0 = EF, Qs0 = "n", Zs0 = "r", xa0 = "t", ra0 = zF, ea0 = P6, ta0 = Ao3, na0 = Ao3, ua0 = "unreachable id_char", ia0 = Ao3, fa0 = Ao3, ca0 = P6, sa0 = uL, aa0 = pD2, oa0 = gb, va0 = [28, "token ILLEGAL"], la0 = [0, [11, "the identifier `", [2, 0, [12, 96, 0]]], "the identifier `%s`"], pa0 = [0, 1], ka0 = [0, 1], ma0 = OF, ha0 = OF, da0 = [0, [11, "an identifier. When exporting a ", [2, 0, [11, " as a named export, you must specify a ", [2, 0, [11, " name. Did you mean `export default ", [2, 0, [11, " ...`?", 0]]]]]]], "an identifier. When exporting a %s as a named export, you must specify a %s name. Did you mean `export default %s ...`?"], ya0 = Sh, _a0 = "Peeking current location when not available", wa0 = [0, "src/parser/parser_env.ml", SR, 9], ga0 = "Internal Error: Tried to add_declared_private with outside of class scope.", ba0 = "Internal Error: `exit_class` called before a matching `enter_class`", Ta0 = rx, Ea0 = [0, 0, 0], Sa0 = [0, 0, 0], Aa0 = "Parser_env.Try.Rollback", Ia0 = rx, Pa0 = rx, Ca0 = [0, H22, of, $i6, CR2, TM, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms5, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, aR, H7, vD, qF, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], Na0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms5, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], Oa0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, TM, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, vD, X72, Lu2, Zu2, ms5, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, qF, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, aR, tn4, h7, Ju2, li6, Zn4, CR2, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], ja0 = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms5, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], Da0 = $32, Ra0 = nm2, Fa0 = bo3, Ma0 = I6, La0 = Je7, qa0 = Ve7, Ba0 = $P, Ua0 = DT, Xa0 = Bv, Ga0 = He7, Ya0 = um2, za0 = g6, Ja0 = Tp2, Ka0 = L8, Ha0 = No3, Wa0 = cl2, Va0 = Hv, $a0 = wa2, Qa0 = Pa2, Za0 = We7, xo0 = rk, ro0 = Rm2, eo0 = Xe6, to0 = Fv, no0 = Tk, uo0 = U8, io0 = K8, fo0 = h6, co0 = mc2, so0 = Ue5, ao0 = Ck, oo0 = Yv, vo0 = E6, lo0 = Aa2, po0 = ga, ko0 = j6, mo0 = dh, ho0 = W22, do0 = fl2, yo0 = Oo2, _o0 = ae4, wo0 = Pk, go0 = Q62, bo0 = k6, To0 = W62, Eo0 = H22, So0 = Ke7, Ao0 = x42, Io0 = tc2, Po0 = zb, Co0 = JS, No0 = Io3, Oo0 = Kv, jo0 = ik, Do0 = wk, Ro0 = be6, Fo0 = H32, Mo0 = $v, Lo0 = K32, qo0 = ga, Bo0 = H62, Uo0 = hk, Xo0 = bk, Go0 = Hk, Yo0 = Lm2, zo0 = Xv, Jo0 = J62, Ko0 = tl2, Ho0 = V32, Wo0 = O6, Vo0 = rm2, $o0 = [0, Sh], Qo0 = rx, Zo0 = [19, 1], xv0 = [19, 0], rv0 = [0, 0], ev0 = Ta2, tv0 = [0, 0], nv0 = [0, "a type"], uv0 = [0, 0], iv0 = [0, "a number literal type"], fv0 = [0, 0], cv0 = J62, sv0 = tl2, av0 = V32, ov0 = "You should only call render_type after making sure the next token is a renders variant", vv0 = [0, [0, 0, 0, 0, 0]], lv0 = [0, 0, 0, 0], pv0 = [0, 1], kv0 = [0, il3, 1466, 6], mv0 = [0, il3, 1469, 6], hv0 = [0, il3, 1572, 8], dv0 = [0, 1], yv0 = [0, il3, 1589, 8], _v0 = "Can not have both `static` and `proto`", wv0 = Ue5, gv0 = rw, bv0 = [0, 0], Tv0 = [0, "the end of a tuple type (no trailing comma is allowed in inexact tuple type)."], Ev0 = [0, il3, Sv, 15], Sv0 = [0, il3, sP, 15], Av0 = ze6, Iv0 = ze6, Pv0 = Kk, Cv0 = G6, Nv0 = [0, [11, "Failure while looking up ", [2, 0, [11, ". Index: ", [4, 0, 0, 0, [11, ". Length: ", [4, 0, 0, 0, [12, 46, 0]]]]]]], "Failure while looking up %s. Index: %d. Length: %d."], Ov0 = [0, 0, 0, 0], jv0 = "Offset_utils.Offset_lookup_failed", Dv0 = m1, Rv0 = kD, Fv0 = G6, Mv0 = Kk, Lv0 = wD, qv0 = G6, Bv0 = Kk, Uv0 = vR, Xv0 = Yx, Gv0 = "normal", Yv0 = tc2, zv0 = "jsxTag", Jv0 = "jsxChild", Kv0 = "template", Hv0 = nD2, Wv0 = "context", Vv0 = tc2, $v0 = [6, 0], Qv0 = [0, 0], Zv0 = [0, 1], x30 = [0, 4], r30 = [0, 2], e30 = [0, 3], t30 = [0, 0], n30 = ze6, u30 = [0, 0, 0, 0, 0, 0], i30 = [0, 0], f30 = [0, OM], c30 = [0, 1], s30 = [0, 0], a30 = Ta2, o30 = [0, 73], v30 = [0, 84], l30 = aM, p30 = rE, k30 = "exports", m30 = K62, h30 = [0, rx, rx, 0], d30 = [0, AD], y30 = [0, 84], _30 = [0, "a declaration, statement or export specifiers"], w30 = [0, 1], g30 = [0, I9, 1971, 21], b30 = [0, "the keyword `as`"], T30 = [0, 29], E30 = [0, 29], S30 = [0, 0], A30 = [0, 1], I30 = [0, AD], P30 = [0, "the keyword `from`"], C30 = [0, rx, rx, 0], N30 = "Label", O30 = [0, OM], j30 = [0, 0, 0], D30 = [0, 38], R30 = [0, I9, 372, 22], F30 = [0, 37], M30 = [0, I9, 391, 22], L30 = [0, 0], q30 = "the token `;`", B30 = [0, 0], U30 = [0, 0], X30 = FR, G30 = [0, Sh], Y30 = FR, z30 = [28, St8], J30 = Ta2, K30 = [0, 73], H30 = [0, rx, 0], W30 = It7, V30 = [0, rx, 0], $30 = [0, 73], Q30 = [0, 73], Z30 = $32, xl0 = [0, rx, 0], rl0 = [0, 0, 0], el0 = [0, 0, 0], tl0 = [0, [0, 8]], nl0 = [0, [0, 7]], ul0 = [0, [0, 6]], il0 = [0, [0, 10]], fl0 = [0, [0, 9]], cl0 = [0, [0, 11]], sl0 = [0, [0, 5]], al0 = [0, [0, 4]], ol0 = [0, [0, 2]], vl0 = [0, [0, 3]], ll0 = [0, [0, 1]], pl0 = [0, [0, 0]], kl0 = [0, [0, 12]], ml0 = [0, [0, 13]], hl0 = [0, [0, 14]], dl0 = [0, 0], yl0 = [0, 1], _l0 = [0, 0], wl0 = [0, 2], gl0 = [0, 3], bl0 = [0, 7], Tl0 = [0, 6], El0 = [0, 4], Sl0 = [0, 5], Al0 = [0, 1], Il0 = [0, 0], Pl0 = [0, 1], Cl0 = [0, 0], Nl0 = fl2, Ol0 = [0, "either a call or access of `super`"], jl0 = fl2, Dl0 = W22, Rl0 = w6, Fl0 = w6, Ml0 = [0, 2], Ll0 = [0, 0], ql0 = [0, 1], Bl0 = Yv, Ul0 = [0, "the identifier `target`"], Xl0 = [0, 0], Gl0 = [0, 1], Yl0 = [0, 0], zl0 = [0, 0], Jl0 = [0, 2], Kl0 = [0, 2], Hl0 = [0, 1], Wl0 = [0, 73], Vl0 = P6, $l0 = uL, Ql0 = gb, Zl0 = gb, x60 = pD2, r60 = [0, 0], e60 = [0, 1], t60 = [0, 0], n60 = se6, u60 = se6, i60 = [0, "a regular expression"], f60 = rx, c60 = rx, s60 = rx, a60 = [0, 81], o60 = [0, "src/parser/expression_parser.ml", 1550, 17], v60 = [0, "a template literal part"], l60 = [0, [0, rx, rx], 1], p60 = Pv, k60 = [0, 6], m60 = [0, [0, 17, [0, 2]]], h60 = [0, [0, 18, [0, 3]]], d60 = [0, [0, 19, [0, 4]]], y60 = [0, [0, 0, [0, 5]]], _60 = [0, [0, 1, [0, 5]]], w60 = [0, [0, 2, [0, 5]]], g60 = [0, [0, 3, [0, 5]]], b60 = [0, [0, 5, [0, 6]]], T60 = [0, [0, 7, [0, 6]]], E60 = [0, [0, 4, [0, 6]]], S60 = [0, [0, 6, [0, 6]]], A60 = [0, [0, 8, [0, 7]]], I60 = [0, [0, 9, [0, 7]]], P60 = [0, [0, 10, [0, 7]]], C60 = [0, [0, 11, [0, 8]]], N60 = [0, [0, 12, [0, 8]]], O60 = [0, [0, 15, [0, 9]]], j60 = [0, [0, 13, [0, 9]]], D60 = [0, [0, 14, [1, 10]]], R60 = [0, [0, 16, [0, 9]]], F60 = [0, [0, 21, [0, 6]]], M60 = [0, [0, 20, [0, 6]]], L60 = [23, Dw], q60 = [13, "JSX fragment"], B60 = Iv, U60 = ln4, X60 = [0, sn4], G60 = [1, sn4], Y60 = [0, rx, rx, 0], z60 = [0, Sh], J60 = rx, K60 = [0, "a numeric or string literal"], H60 = [0, rx, '""', 0], W60 = [0, 0], V60 = [0, "a number literal"], $60 = [0, [0, 0, V22, 0]], Q60 = [0, 84], Z60 = [21, dM], x40 = [21, R62], r40 = [0, 0, 0], e40 = h6, t40 = [0, rx, 0], n40 = "unexpected PrivateName in Property, expected a PrivateField", u40 = [0, 0, 0], i40 = Sa, f40 = "Must be one of the above", c40 = [0, 1], s40 = [0, 1], a40 = [0, 1], o40 = Sa, v40 = Sa, l40 = p_, p40 = "Internal Error: private name found in object props", k40 = [0, 0, 0, 0], m40 = [0, cF], h40 = [19, [0, 0]], d40 = [0, cF], y40 = ug, _40 = "Nooo: ", w40 = Fv, g40 = "Parser error: No such thing as an expression pattern!", b40 = [0, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], T40 = [0, "src/parser/parser_flow.ml", fk, 28], E40 = [0, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], S40 = kD, A40 = Yx, I40 = $D, P40 = eR, C40 = eR, N40 = $D, O40 = tc2, j40 = sD2, D40 = w1, R40 = m1, F40 = "InterpreterDirective", M40 = "interpreter", L40 = "Program", q40 = w1, B40 = "RecordBody", U40 = m1, X40 = Y1, G40 = en4, Y40 = "RecordStaticProperty", z40 = "defaultValue", J40 = Y1, K40 = en4, H40 = "RecordProperty", W40 = S6, V40 = "BreakStatement", $40 = S6, Q40 = "ContinueStatement", Z40 = "DebuggerStatement", xp0 = Wv, rp0 = "DeclareExportAllDeclaration", ep0 = Wv, tp0 = l_, np0 = IE, up0 = Fv, ip0 = "DeclareExportDeclaration", fp0 = w1, cp0 = Yr5, sp0 = "DeclareModule", ap0 = Y1, op0 = "DeclareModuleExports", vp0 = w1, lp0 = Yr5, pp0 = NL, kp0 = "DeclareNamespace", mp0 = Z32, hp0 = w1, dp0 = "DoWhileStatement", yp0 = "EmptyStatement", _p0 = cS, wp0 = IE, gp0 = "ExportDefaultDeclaration", bp0 = cS, Tp0 = cA, Ep0 = Wv, Sp0 = "ExportAllDeclaration", Ap0 = cS, Ip0 = Wv, Pp0 = l_, Cp0 = IE, Np0 = "ExportNamedDeclaration", Op0 = "directive", jp0 = t24, Dp0 = "ExpressionStatement", Rp0 = w1, Fp0 = "update", Mp0 = Z32, Lp0 = ks5, qp0 = "ForStatement", Bp0 = "each", Up0 = w1, Xp0 = fn5, Gp0 = Ea2, Yp0 = "ForInStatement", zp0 = Kv, Jp0 = w1, Kp0 = fn5, Hp0 = Ea2, Wp0 = "ForOfStatement", Vp0 = lR, $p0 = rP, Qp0 = Z32, Zp0 = "IfStatement", xk0 = tc2, rk0 = Aa2, ek0 = m1, tk0 = XD, nk0 = Wv, uk0 = l_, ik0 = "ImportDeclaration", fk0 = w1, ck0 = S6, sk0 = "LabeledStatement", ak0 = J9, ok0 = $1, vk0 = "MatchStatement", lk0 = "RecordImplements", pk0 = w1, kk0 = Oo2, mk0 = B22, hk0 = Yr5, dk0 = "RecordDeclaration", yk0 = $1, _k0 = "ReturnStatement", wk0 = J9, gk0 = "discriminant", bk0 = "SwitchStatement", Tk0 = $1, Ek0 = "ThrowStatement", Sk0 = "finalizer", Ak0 = "handler", Ik0 = vn3, Pk0 = "TryStatement", Ck0 = w1, Nk0 = Z32, Ok0 = "WhileStatement", jk0 = w1, Dk0 = Dp2, Rk0 = "WithStatement", Fk0 = x9, Mk0 = $1, Lk0 = NA, qk0 = x9, Bk0 = $1, Uk0 = NA, Xk0 = KT, Gk0 = "ArrayExpression", Yk0 = B22, zk0 = gh, Jk0 = t24, Kk0 = Ge7, Hk0 = Ey, Wk0 = Io3, Vk0 = w1, $k0 = on8, Qk0 = Yr5, Zk0 = "ArrowFunctionExpression", x80 = t24, r80 = "AsConstExpression", e80 = Y1, t80 = t24, n80 = "AsExpression", u80 = p_, i80 = fn5, f80 = Ea2, c80 = Gv, s80 = "AssignmentExpression", a80 = fn5, o80 = Ea2, v80 = Gv, l80 = "BinaryExpression", p80 = "CallExpression", k80 = lR, m80 = rP, h80 = Z32, d80 = "ConditionalExpression", y80 = Wv, _80 = "ImportExpression", w80 = LF2, g80 = CM, b80 = Dw, T80 = fn5, E80 = Ea2, S80 = Gv, A80 = "LogicalExpression", I80 = J9, P80 = $1, C80 = "MatchExpression", N80 = "MemberExpression", O80 = Tm2, j80 = w6, D80 = "MetaProperty", R80 = Qb, F80 = h8, M80 = fR, L80 = "NewExpression", q80 = A6, B80 = "ObjectExpression", U80 = ft7, X80 = "OptionalCallExpression", G80 = ft7, Y80 = "OptionalMemberExpression", z80 = rM, J80 = "SequenceExpression", K80 = "Super", H80 = "ThisExpression", W80 = Y1, V80 = t24, $80 = "TypeCastExpression", Q80 = Y1, Z80 = t24, xm0 = "SatisfiesExpression", rm0 = x9, em0 = $1, tm0 = NA, nm0 = ze6, um0 = $7, im0 = SD, fm0 = VL, cm0 = Aa2, sm0 = ga, am0 = E6, om0 = "matched above", vm0 = $1, lm0 = XR, pm0 = Gv, km0 = "UnaryExpression", mm0 = $1, hm0 = "AwaitExpression", dm0 = kR, ym0 = ZM, _m0 = XR, wm0 = $1, gm0 = Gv, bm0 = "UpdateExpression", Tm0 = "delegate", Em0 = $1, Sm0 = "YieldExpression", Am0 = "MatchExpressionCase", Im0 = "guard", Pm0 = w1, Cm0 = ge6, Nm0 = "MatchStatementCase", Om0 = "literal", jm0 = "MatchLiteralPattern", Dm0 = "MatchWildcardPattern", Rm0 = ze6, Fm0 = $7, Mm0 = $1, Lm0 = Gv, qm0 = "MatchUnaryPattern", Bm0 = "MatchObjectPattern", Um0 = "MatchInstanceObjectPattern", Xm0 = DF, Gm0 = _a4, Ym0 = "MatchInstancePattern", zm0 = "patterns", Jm0 = "MatchOrPattern", Km0 = Ih, Hm0 = ge6, Wm0 = "MatchAsPattern", Vm0 = Yr5, $m0 = "MatchIdentifierPattern", Qm0 = Tm2, Zm0 = "base", xh0 = "MatchMemberPattern", rh0 = ba2, eh0 = Yr5, th0 = "MatchBindingPattern", nh0 = p6, uh0 = KT, ih0 = "MatchArrayPattern", fh0 = T6, ch0 = ge6, sh0 = en4, ah0 = VR, oh0 = T6, vh0 = ge6, lh0 = en4, ph0 = VR, kh0 = p6, mh0 = A6, hh0 = $1, dh0 = "MatchRestPattern", yh0 = "Unexpected FunctionDeclaration with BodyExpression", _h0 = "HookDeclaration", wh0 = t24, gh0 = Ge7, bh0 = Ey, Th0 = Io3, Eh0 = "FunctionDeclaration", Sh0 = B22, Ah0 = gh, Ih0 = w1, Ph0 = on8, Ch0 = Yr5, Nh0 = "Unexpected FunctionExpression with BodyExpression", Oh0 = B22, jh0 = gh, Dh0 = t24, Rh0 = Ge7, Fh0 = Ey, Mh0 = Io3, Lh0 = w1, qh0 = on8, Bh0 = Yr5, Uh0 = "FunctionExpression", Xh0 = ft7, Gh0 = Y1, Yh0 = Ye4, zh0 = US, Jh0 = ft7, Kh0 = Y1, Hh0 = Ye4, Wh0 = "PrivateIdentifier", Vh0 = ft7, $h0 = Y1, Qh0 = Ye4, Zh0 = US, xd0 = rP, rd0 = Z32, ed0 = "SwitchCase", td0 = w1, nd0 = "param", ud0 = "CatchClause", id0 = w1, fd0 = "BlockStatement", cd0 = ba2, sd0 = Yr5, ad0 = "DeclareVariable", od0 = "DeclareHook", vd0 = Ge7, ld0 = "DeclareFunction", pd0 = Yr5, kd0 = lM, md0 = Oo2, hd0 = mc2, dd0 = w1, yd0 = B22, _d0 = Yr5, wd0 = "DeclareClass", gd0 = B22, bd0 = f_, Td0 = on8, Ed0 = p6, Sd0 = on8, Ad0 = Yr5, Id0 = "DeclareComponent", Pd0 = B22, Cd0 = f_, Nd0 = p6, Od0 = on8, jd0 = "ComponentTypeAnnotation", Dd0 = ft7, Rd0 = Y1, Fd0 = Ye4, Md0 = "ComponentTypeParameter", Ld0 = w1, qd0 = Yr5, Bd0 = "DeclareEnum", Ud0 = mc2, Xd0 = w1, Gd0 = B22, Yd0 = Yr5, zd0 = "DeclareInterface", Jd0 = m1, Kd0 = tc2, Hd0 = cA, Wd0 = "ExportNamespaceSpecifier", Vd0 = fn5, $d0 = B22, Qd0 = Yr5, Zd0 = "DeclareTypeAlias", x50 = fn5, r50 = B22, e50 = Yr5, t50 = "TypeAlias", n50 = "DeclareOpaqueType", u50 = "OpaqueType", i50 = "supertype", f50 = "upperBound", c50 = "lowerBound", s50 = "impltype", a50 = B22, o50 = Yr5, v50 = "ClassDeclaration", l50 = "ClassExpression", p50 = g8, k50 = Oo2, m50 = "superTypeParameters", h50 = "superClass", d50 = B22, y50 = w1, _50 = Yr5, w50 = t24, g50 = "Decorator", b50 = B22, T50 = Yr5, E50 = "ClassImplements", S50 = w1, A50 = "ClassBody", I50 = w1, P50 = "StaticBlock", C50 = _a4, N50 = V6, O50 = Nv, j50 = nl2, D50 = g8, R50 = W32, F50 = Ue5, M50 = ba2, L50 = m1, q50 = en4, B50 = "MethodDefinition", U50 = x42, X50 = g8, G50 = $22, Y50 = Ue5, z50 = W32, J50 = Y1, K50 = m1, H50 = en4, W50 = jL, V50 = "Internal Error: Private name found in class prop", $50 = x42, Q50 = g8, Z50 = $22, xy0 = Ue5, ry0 = W32, ey0 = Y1, ty0 = m1, ny0 = en4, uy0 = jL, iy0 = B22, fy0 = f_, cy0 = on8, sy0 = Yr5, ay0 = w1, oy0 = "ComponentDeclaration", vy0 = $1, ly0 = OE, py0 = fn5, ky0 = Ea2, my0 = jm2, hy0 = T6, dy0 = X62, yy0 = Ye4, _y0 = "ComponentParameter", wy0 = ks5, gy0 = Yr5, by0 = "EnumBigIntMember", Ty0 = Yr5, Ey0 = LR, Sy0 = ks5, Ay0 = Yr5, Iy0 = "EnumStringMember", Py0 = Yr5, Cy0 = LR, Ny0 = ks5, Oy0 = Yr5, jy0 = "EnumNumberMember", Dy0 = ks5, Ry0 = Yr5, Fy0 = "EnumBooleanMember", My0 = B6, Ly0 = Am2, qy0 = y6, By0 = "EnumBooleanBody", Uy0 = B6, Xy0 = Am2, Gy0 = y6, Yy0 = "EnumNumberBody", zy0 = B6, Jy0 = Am2, Ky0 = y6, Hy0 = "EnumStringBody", Wy0 = B6, Vy0 = y6, $y0 = "EnumSymbolBody", Qy0 = B6, Zy0 = Am2, x90 = y6, r90 = "EnumBigIntBody", e90 = w1, t90 = Yr5, n90 = "EnumDeclaration", u90 = mc2, i90 = w1, f90 = B22, c90 = Yr5, s90 = "InterfaceDeclaration", a90 = B22, o90 = Yr5, v90 = "InterfaceExtends", l90 = Y1, p90 = A6, k90 = "ObjectPattern", m90 = Y1, h90 = KT, d90 = "ArrayPattern", y90 = fn5, _90 = Ea2, w90 = jm2, g90 = Y1, b90 = Ye4, T90 = US, E90 = $1, S90 = OE, A90 = $1, I90 = OE, P90 = fn5, C90 = Ea2, N90 = jm2, O90 = ks5, j90 = ks5, D90 = Nv, R90 = nl2, F90 = VD, M90 = W32, L90 = T6, q90 = V6, B90 = ba2, U90 = m1, X90 = en4, G90 = mF, Y90 = $1, z90 = iR, J90 = fn5, K90 = Ea2, H90 = jm2, W90 = W32, V90 = T6, $90 = V6, Q90 = ba2, Z90 = m1, x_0 = en4, r_0 = mF, e_0 = $1, t_0 = iR, n_0 = At8, u_0 = m1, i_0 = J32, f_0 = rx, c_0 = At8, s_0 = $v, a_0 = m1, o_0 = J32, v_0 = At8, l_0 = m1, p_0 = J32, k_0 = Pa2, m_0 = wa2, h_0 = At8, d_0 = m1, y_0 = J32, __0 = "flags", w_0 = ge6, g_0 = "regex", b_0 = At8, T_0 = m1, E_0 = J32, S_0 = At8, A_0 = m1, I_0 = J32, P_0 = rM, C_0 = "quasis", N_0 = "TemplateLiteral", O_0 = "cooked", j_0 = At8, D_0 = "tail", R_0 = m1, F_0 = "TemplateElement", M_0 = "quasi", L_0 = "tag", q_0 = "TaggedTemplateExpression", B_0 = ba2, U_0 = "declarations", X_0 = "VariableDeclaration", G_0 = ks5, Y_0 = Yr5, z_0 = "VariableDeclarator", J_0 = "plus", K_0 = nM, H_0 = Xv, W_0 = bo3, V_0 = ng, $_0 = "in-out", Q_0 = ba2, Z_0 = "Variance", xw0 = "AnyTypeAnnotation", rw0 = "MixedTypeAnnotation", ew0 = "EmptyTypeAnnotation", tw0 = "VoidTypeAnnotation", nw0 = "NullLiteralTypeAnnotation", uw0 = "SymbolTypeAnnotation", iw0 = "NumberTypeAnnotation", fw0 = "BigIntTypeAnnotation", cw0 = "StringTypeAnnotation", sw0 = "BooleanTypeAnnotation", aw0 = Y1, ow0 = "NullableTypeAnnotation", vw0 = "UnknownTypeAnnotation", lw0 = "NeverTypeAnnotation", pw0 = "UndefinedTypeAnnotation", kw0 = ba2, mw0 = Y1, hw0 = "parameterName", dw0 = "TypePredicate", yw0 = "HookTypeAnnotation", _w0 = "FunctionTypeAnnotation", ww0 = Bv, gw0 = B22, bw0 = p6, Tw0 = gh, Ew0 = on8, Sw0 = ft7, Aw0 = Y1, Iw0 = Ye4, Pw0 = fM, Cw0 = ft7, Nw0 = Y1, Ow0 = Ye4, jw0 = fM, Dw0 = [0, 0, 0, 0, 0], Rw0 = "internalSlots", Fw0 = "callProperties", Mw0 = "indexers", Lw0 = A6, qw0 = "exact", Bw0 = tL, Uw0 = "ObjectTypeAnnotation", Xw0 = VD, Gw0 = "There should not be computed object type property keys", Yw0 = ks5, zw0 = Nv, Jw0 = nl2, Kw0 = ba2, Hw0 = $22, Ww0 = rw, Vw0 = Ue5, $w0 = ft7, Qw0 = V6, Zw0 = m1, xg0 = en4, rg0 = "ObjectTypeProperty", eg0 = $1, tg0 = "ObjectTypeSpreadProperty", ng0 = $22, ug0 = Ue5, ig0 = m1, fg0 = en4, cg0 = Yr5, sg0 = "ObjectTypeIndexer", ag0 = Ue5, og0 = m1, vg0 = "ObjectTypeCallProperty", lg0 = ft7, pg0 = $22, kg0 = "sourceType", mg0 = "propType", hg0 = "keyTparam", dg0 = "ObjectTypeMappedTypeProperty", yg0 = m1, _g0 = V6, wg0 = Ue5, gg0 = ft7, bg0 = Yr5, Tg0 = "ObjectTypeInternalSlot", Eg0 = w1, Sg0 = mc2, Ag0 = "InterfaceTypeAnnotation", Ig0 = QM, Pg0 = "ArrayTypeAnnotation", Cg0 = "falseType", Ng0 = "trueType", Og0 = "extendsType", jg0 = "checkType", Dg0 = "ConditionalTypeAnnotation", Rg0 = "typeParameter", Fg0 = "InferTypeAnnotation", Mg0 = Yr5, Lg0 = UF, qg0 = "QualifiedTypeIdentifier", Bg0 = B22, Ug0 = Yr5, Xg0 = "GenericTypeAnnotation", Gg0 = "indexType", Yg0 = "objectType", zg0 = "IndexedAccessType", Jg0 = ft7, Kg0 = "OptionalIndexedAccessType", Hg0 = w_, Wg0 = "UnionTypeAnnotation", Vg0 = w_, $g0 = "IntersectionTypeAnnotation", Qg0 = h8, Zg0 = $1, xb0 = "TypeofTypeAnnotation", rb0 = Yr5, eb0 = UF, tb0 = "QualifiedTypeofIdentifier", nb0 = $1, ub0 = "KeyofTypeAnnotation", ib0 = el2, fb0 = jF, cb0 = uF, sb0 = Y1, ab0 = Gv, ob0 = "TypeOperator", vb0 = Xv, lb0 = tL, pb0 = "elementTypes", kb0 = "TupleTypeAnnotation", mb0 = ft7, hb0 = $22, db0 = QM, yb0 = S6, _b0 = "TupleTypeLabeledElement", wb0 = Y1, gb0 = S6, bb0 = "TupleTypeSpreadElement", Tb0 = At8, Eb0 = m1, Sb0 = "StringLiteralTypeAnnotation", Ab0 = At8, Ib0 = m1, Pb0 = "NumberLiteralTypeAnnotation", Cb0 = At8, Nb0 = m1, Ob0 = "BigIntLiteralTypeAnnotation", jb0 = Pa2, Db0 = wa2, Rb0 = At8, Fb0 = m1, Mb0 = "BooleanLiteralTypeAnnotation", Lb0 = "ExistsTypeAnnotation", qb0 = Y1, Bb0 = vF, Ub0 = Y1, Xb0 = vF, Gb0 = on8, Yb0 = "TypeParameterDeclaration", zb0 = "usesExtendsBound", Jb0 = Fv, Kb0 = $22, Hb0 = No3, Wb0 = "bound", Vb0 = Ye4, $b0 = "TypeParameter", Qb0 = on8, Zb0 = mM, xT0 = on8, rT0 = mM, eT0 = Pv, tT0 = OL, nT0 = "closingElement", uT0 = "openingElement", iT0 = "JSXElement", fT0 = "closingFragment", cT0 = OL, sT0 = "openingFragment", aT0 = "JSXFragment", oT0 = h8, vT0 = "selfClosing", lT0 = "attributes", pT0 = Ye4, kT0 = "JSXOpeningElement", mT0 = "JSXOpeningFragment", hT0 = Ye4, dT0 = "JSXClosingElement", yT0 = "JSXClosingFragment", _T0 = m1, wT0 = Ye4, gT0 = "JSXAttribute", bT0 = $1, TT0 = "JSXSpreadAttribute", ET0 = "JSXEmptyExpression", ST0 = t24, AT0 = "JSXExpressionContainer", IT0 = t24, PT0 = "JSXSpreadChild", CT0 = At8, NT0 = m1, OT0 = "JSXText", jT0 = Tm2, DT0 = Dp2, RT0 = "JSXMemberExpression", FT0 = Ye4, MT0 = rE, LT0 = "JSXNamespacedName", qT0 = Ye4, BT0 = "JSXIdentifier", UT0 = cA, XT0 = X62, GT0 = "ExportSpecifier", YT0 = X62, zT0 = "ImportDefaultSpecifier", JT0 = X62, KT0 = "ImportNamespaceSpecifier", HT0 = XD, WT0 = X62, VT0 = "imported", $T0 = "ImportSpecifier", QT0 = "Line", ZT0 = "Block", xE0 = m1, rE0 = m1, eE0 = "DeclaredPredicate", tE0 = "InferredPredicate", nE0 = Qb, uE0 = h8, iE0 = fR, fE0 = W32, cE0 = Tm2, sE0 = Dp2, aE0 = "message", oE0 = Yx, vE0 = wD, lE0 = vR, pE0 = Wv, kE0 = G6, mE0 = Kk, hE0 = [0, ss5, fi6, _c2, Ni6, di6, Cs4, mf, si6, sf, z7, eu2, zc2, _u2, e7, Ve7, bs5, Mc2, W72, hf, Ff, Es4, Xi6, Z7, Ii6, lc2, I7, Ec2, O7, of, Fu2, tu2, Ku2, jc2, hi6, m7, pf, Ic2, Vf, gs5, wc2, ys5, St8, V7, Mf2, $f2, lf, Ji6, ti6, l7, f7, Ac2, Lf, vi6, Hi6, rs5, Vc2, U7, Au2, fu2, Kn4, Ou2, bu2, ai6, Ui6, Si6, ji6, es5, Af, pu2, Ki6, qi6, X72, Lu2, Zu2, ms5, Wf, o7, Ge7, r7, Qi6, x7, Gf, dc2, D7, qc2, G1, ff, $n3, Oc2, E7, Nf, Tc2, g7, kc2, su2, P7, tf, Gc2, Yn3, Mu2, a7, Eu2, vc2, j7, _i6, T7, $22, Pi6, ou2, d7, w7, Ri6, wu2, ki6, Ci6, Q7, Rc2, Wu2, Oi6, ic2, be6, v7, vu2, H22, Hn4, Uc2, zi6, xf2, Du2, $c2, xc2, Yc2, If2, ls5, Gi6, Ef, yu2, $u2, pc2, du2, Xf, Pu2, oc2, xi6, Cc2, Hc2, Nc2, Wn3, yf, Bc2, bi6, mi6, Uf, Ps6, Hf, qf, _f2, ii6, Qu2, Uu2, Rf2, B7, is5, ws5, y7, oi6, S7, ru2, bc2, H7, Hu2, xu2, Sc2, u7, Ei6, Pf2, yi5, Jn3, L7, ps5, Y7, Tf, gc2, Xu2, W22, Je7, F7, J72, Jc2, jf, He7, Ke7, n7, cs5, Vu2, p7, ds5, ge6, iu2, As5, Bf, cc2, sc2, Un3, cu2, Mi5, Ru2, hu2, Ts4, q72, fs24, fc2, Qn3, Vi6, uc2, qu2, Xc2, A7, ns5, ni6, lu2, Xn4, Df2, Pc2, Fc2, ac2, kf2, M7, Vn3, ui6, wi6, uu2, c7, gi6, G7, zn4, Bi6, ju2, Sf, i7, _7, Gn4, Qf, Su2, zu2, zf, ei6, Cu2, vf2, nf, Zf, tn4, h7, Ju2, li6, Zn4, qn4, Bu2, Di6, ri6, ku2, Zi6, Zc2, Yu2, C7, gu2, Jf, cf, s7, Tu2, df, K7, Bn3, Ti6, R7, t24, Ai6, uf, ts5, hs5, Iu2, wf, k7, Xe6, gf, _s5, af, Yi6, hc2, yc2, Wi6, Qc2, vs6, Is6, Fi6, bf, os7, rc2, vn3, as5, Gu2, Dc2, Kf, nc2, us5, pi6, ci6, Yf, We7, Lc2, ae4, N7, rf, $i6, mu2, Of, b7, Wc2, au2, t72, Kc2], dE0 = [0, H22, of, $i6, V7, $22, qf, h7, pc2, bc2, Rf2, Gi6, Du2, Fi6, hu2, F7, d7, Qu2, Uf, J72, ui6, cf, X72, Zn4, Zf, _u2, vu2, $n3, ac2, Ps6, oc2, _f2, Sf, Es4, Uc2, jc2, Q7, He7, t72, Wi6, s7, Qc2, Bi6, ic2, rs5, Ve7, Jc2, Uu2, fu2, k7, ss5, ii6, lu2, T7, Je7, ci6, w7, Of, qu2, fc2, Ku2, pi6, q72, a7, If2, _7, fs24, Ge7, Lf, Pi6, Zu2, M7, pu2, xf2, af, P7, $f2, au2, Fc2, Zi6, m7, Bn3, jf, Fu2, Y7, bi6, $c2, Ai6, Eu2, ge6, es5, x7, rc2, Vu2, bs5, Wn3, e7, o7, Kf, Pc2, Vn3, r7, Xi6, Qf, kf2, Lu2, sf, Xn4, Vc2, zu2, ni6, Oi6, Hu2, $u2, si6, n7, Ii6, Zc2, Ui6, ys5, Gf, Kc2, Xu2, Mu2, Ei6, Cc2, wu2, Kn4, hs5, df, W72, Ki6, uc2, hf, Nf, uu2, du2, E7, ps5, L7, mf, gu2, Au2, Cu2, Yc2, su2, os7, N7, oi6, G1, g7, Hn4, Bc2, ai6, pf, ku2, xu2, Tf, Jf, ms5, Tc2, Dc2, z7, dc2, Bu2, zf, f7, D7, Z7, Xf, I7, ds5, fi6, Mi5, Di6, Rc2, zn4, Yu2, xi6, eu2, vf2, ae4, lc2, is5, cc2, Ou2, Df2, as5, Vi6, Gn4, W22, Ri6, U7, cs5, St8, Ni6, qc2, gs5, tu2, i7, vi6, Ru2, di6, Qi6, S7, kc2, _c2, ti6, cu2, gf, nc2, As5, Iu2, wf, Qn3, vs6, Ci6, hi6, Hi6, ws5, bf, v7, b7, Mf2, mi6, C7, Nc2, ts5, p7, t24, Un3, Mc2, yf, Is6, A7, Yn3, Yi6, Ac2, Yf, Xc2, Oc2, Ts4, O7, Hc2, Bf, wc2, Ec2, bu2, ju2, j7, be6, nf, Ju2, qn4, hc2, Ic2, wi6, Gc2, gi6, lf, yu2, zi6, ou2, xc2, us5, Ke7, Xe6, rf, ff, ri6, Wc2, ns5, K7, mu2, Vf, Sc2, _s5, Jn3, gc2, qi6, Hf, ru2, uf, H7, yc2, Ef, ji6, y7, sc2, Wf, B7, ei6, Si6, yi5, Wu2, Ff, Gu2, Su2, Pf2, c7, li6, l7, Ji6, _i6, Cs4, We7, iu2, zc2, vn3, G7, R7, ki6, ls5, u7, Tu2, Pu2, Ti6, Lc2, tf, vc2, tn4, Af], yE0 = [0, Af, tn4, vc2, tf, Lc2, Ti6, Pu2, Tu2, u7, ls5, ki6, R7, G7, vn3, zc2, iu2, We7, Cs4, _i6, Ji6, l7, li6, c7, Pf2, Su2, Gu2, Ff, Wu2, yi5, Si6, ei6, B7, Wf, sc2, y7, ji6, Ef, yc2, H7, uf, ru2, Hf, qi6, gc2, Jn3, _s5, Sc2, Vf, mu2, K7, ns5, Wc2, ri6, ff, rf, Xe6, Ke7, us5, xc2, ou2, zi6, yu2, lf, gi6, Gc2, wi6, Ic2, hc2, qn4, Ju2, nf, be6, j7, ju2, bu2, Ec2, wc2, Bf, Hc2, O7, Ts4, Oc2, Xc2, Yf, Ac2, Yi6, Yn3, A7, Is6, yf, Mc2, Un3, t24, p7, ts5, Nc2, C7, mi6, Mf2, b7, v7, bf, ws5, Hi6, hi6, Ci6, vs6, Qn3, wf, Iu2, As5, nc2, gf, cu2, ti6, _c2, kc2, S7, Qi6, di6, Ru2, vi6, i7, tu2, gs5, qc2, Ni6, St8, cs5, U7, Ri6, W22, Gn4, Vi6, as5, Df2, Ou2, cc2, is5, lc2, ae4, vf2, eu2, xi6, Yu2, zn4, Rc2, Di6, Mi5, fi6, ds5, I7, Xf, Z7, D7, f7, zf, Bu2, dc2, z7, Dc2, Tc2, ms5, Jf, Tf, xu2, ku2, pf, ai6, Bc2, Hn4, g7, G1, oi6, N7, os7, su2, Yc2, Cu2, Au2, gu2, mf, L7, ps5, E7, du2, uu2, Nf, hf, uc2, Ki6, W72, df, hs5, Kn4, wu2, Cc2, Ei6, Mu2, Xu2, Kc2, Gf, ys5, Ui6, Zc2, Ii6, n7, si6, $u2, Hu2, Oi6, ni6, zu2, Vc2, Xn4, sf, Lu2, kf2, Qf, Xi6, r7, Vn3, Pc2, Kf, o7, e7, Wn3, bs5, Vu2, rc2, x7, es5, ge6, Eu2, Ai6, $c2, bi6, Y7, Fu2, jf, Bn3, m7, Zi6, Fc2, au2, $f2, P7, af, xf2, pu2, M7, Zu2, Pi6, Lf, Ge7, fs24, _7, If2, a7, q72, pi6, Ku2, fc2, qu2, Of, w7, ci6, Je7, T7, lu2, ii6, ss5, k7, fu2, Uu2, Jc2, Ve7, rs5, ic2, Bi6, Qc2, s7, Wi6, t72, He7, Q7, jc2, Uc2, Es4, Sf, _f2, oc2, Ps6, ac2, $n3, vu2, _u2, Zf, Zn4, X72, cf, ui6, J72, Uf, Qu2, d7, F7, hu2, Fi6, Du2, Gi6, Rf2, bc2, pc2, h7, qf, $22, V7, $i6, of, H22], _E0 = "Jsoo_runtime.Error.Exn", wE0 = [0, 0], gE0 = "assert_operator", bE0 = "use_strict", TE0 = w_, EE0 = "esproposal_decorators", SE0 = "records", AE0 = "pattern_matching", IE0 = "enums", PE0 = "components", CE0 = "Internal error: ", NE0 = [t1, "CamlinternalLazy.Undefined", js6(0)];
|
|
57950
57950
|
function OE0(x6, r) {
|
|
57951
57951
|
var e6 = Rx(r) - 1 | 0, t25 = 0;
|
|
57952
57952
|
if (e6 >= 0)
|
|
@@ -68893,7 +68893,7 @@ var init_flow = __esm(() => {
|
|
|
68893
68893
|
return [0, x6, 20];
|
|
68894
68894
|
if (!C4(V0, Bv))
|
|
68895
68895
|
return [0, x6, 23];
|
|
68896
|
-
if (!C4(V0,
|
|
68896
|
+
if (!C4(V0, He7))
|
|
68897
68897
|
return [0, x6, 24];
|
|
68898
68898
|
if (!C4(V0, Pa2))
|
|
68899
68899
|
return [0, x6, 33];
|
|
@@ -69199,7 +69199,7 @@ var init_flow = __esm(() => {
|
|
|
69199
69199
|
if (0 < r) {
|
|
69200
69200
|
var e6 = sx(x6, Bv);
|
|
69201
69201
|
if (0 <= e6) {
|
|
69202
|
-
if (0 < e6 && C4(x6,
|
|
69202
|
+
if (0 < e6 && C4(x6, He7) && C4(x6, Pa2) && C4(x6, um2) && C4(x6, Aa2) && C4(x6, g6) && C4(x6, ga) && C4(x6, Tp2) && C4(x6, L8))
|
|
69203
69203
|
break x;
|
|
69204
69204
|
} else if (C4(x6, W22) && C4(x6, bo3) && C4(x6, I6) && C4(x6, Yv) && C4(x6, Hv) && C4(x6, Je7) && C4(x6, fl2) && C4(x6, Ve7))
|
|
69205
69205
|
break x;
|
|
@@ -83009,7 +83009,7 @@ function xi6(e6) {
|
|
|
83009
83009
|
var Un3, Oe6 = (e2, t24) => {
|
|
83010
83010
|
for (var r in t24)
|
|
83011
83011
|
Un3(e2, r, { get: t24[r], enumerable: true });
|
|
83012
|
-
}, Bn3, Jt6 = (e2, t24) => (r, s, ...n3) => r | 1 && s == null ? undefined : (t24.call(s) ?? s[e2]).apply(s, n3), Mn2, zn4, St8, Gn4, V6, Kn4 = () => {}, Dt7, Ot7 = "string", It7 = "array", $t6 = "cursor", kt8 = "indent", Et8 = "align", Xt6 = "trim", vt8 = "group", wt8 = "fill", Tt8 = "if-break", Zt6 = "indent-if-break", te6 = "line-suffix", ee4 = "line-suffix-boundary", Q7 = "line", re5 = "label", xt6 = "break-parent", ne6, se6, jn3 = (e2) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e2), Ie6, _r5, M7, ae4, Dr5, Or5, Re6, N7, H7, Xn4, ut5, Zn4, Lr5, Ir4, Br5, ts5, es5, oe5,
|
|
83012
|
+
}, Bn3, Jt6 = (e2, t24) => (r, s, ...n3) => r | 1 && s == null ? undefined : (t24.call(s) ?? s[e2]).apply(s, n3), Mn2, zn4, St8, Gn4, V6, Kn4 = () => {}, Dt7, Ot7 = "string", It7 = "array", $t6 = "cursor", kt8 = "indent", Et8 = "align", Xt6 = "trim", vt8 = "group", wt8 = "fill", Tt8 = "if-break", Zt6 = "indent-if-break", te6 = "line-suffix", ee4 = "line-suffix-boundary", Q7 = "line", re5 = "label", xt6 = "break-parent", ne6, se6, jn3 = (e2) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e2), Ie6, _r5, M7, ae4, Dr5, Or5, Re6, N7, H7, Xn4, ut5, Zn4, Lr5, Ir4, Br5, ts5, es5, oe5, He7 = class {
|
|
83013
83013
|
#t;
|
|
83014
83014
|
constructor(t24) {
|
|
83015
83015
|
this.#t = new Set(t24);
|
|
@@ -83644,7 +83644,7 @@ var init_glimmer = __esm(() => {
|
|
|
83644
83644
|
ts5 = Object.freeze({ preferred: Ir4, alternate: Br5 });
|
|
83645
83645
|
es5 = Object.freeze({ preferred: Br5, alternate: Ir4 });
|
|
83646
83646
|
oe5 = rs5;
|
|
83647
|
-
Rr5 =
|
|
83647
|
+
Rr5 = He7;
|
|
83648
83648
|
ns5 = ["\t", `
|
|
83649
83649
|
`, "\f", "\r", " "];
|
|
83650
83650
|
ss5 = new Rr5(ns5);
|
|
@@ -85334,14 +85334,14 @@ function Ct9(e6) {
|
|
|
85334
85334
|
function Xe7(e6) {
|
|
85335
85335
|
return typeof e6 == "object" && e6 !== null;
|
|
85336
85336
|
}
|
|
85337
|
-
function
|
|
85337
|
+
function He8(e6, t24) {
|
|
85338
85338
|
if (!!!e6)
|
|
85339
85339
|
throw new Error(t24 ?? "Unexpected invariant triggered.");
|
|
85340
85340
|
}
|
|
85341
85341
|
function M8(e6, t24) {
|
|
85342
85342
|
let n3 = 0, i2 = 1;
|
|
85343
85343
|
for (let r of e6.body.matchAll(bt9)) {
|
|
85344
|
-
if (typeof r.index == "number" ||
|
|
85344
|
+
if (typeof r.index == "number" || He8(false), r.index >= t24)
|
|
85345
85345
|
break;
|
|
85346
85346
|
n3 = r.index + r[0].length, i2 += 1;
|
|
85347
85347
|
}
|
|
@@ -91235,7 +91235,7 @@ $$`;
|
|
|
91235
91235
|
mr6 = x7((hv, Hu2) => {
|
|
91236
91236
|
var Su2 = xu2(), Lu2 = yu2(), MD = Se9(), UD = Tu2(), Yu2 = Ou2(), YD = Iu2();
|
|
91237
91237
|
Hu2.exports = ep2;
|
|
91238
|
-
var GD = {}.hasOwnProperty,
|
|
91238
|
+
var GD = {}.hasOwnProperty, He9 = String.fromCharCode, zD = Function.prototype, Ru2 = { warning: null, reference: null, text: null, warningContext: null, referenceContext: null, textContext: null, position: {}, additional: null, attribute: false, nonTerminated: true }, WD = 9, Mu2 = 10, VD = 12, jD = 32, Uu2 = 38, $D = 59, HD = 60, KD = 61, XD = 35, JD2 = 88, QD = 120, ZD = 65533, Ke10 = "named", Wt10 = "hexadecimal", Vt10 = "decimal", jt7 = {};
|
|
91239
91239
|
jt7[Wt10] = 16;
|
|
91240
91240
|
jt7[Vt10] = 10;
|
|
91241
91241
|
var Hr5 = {};
|
|
@@ -91262,14 +91262,14 @@ $$`;
|
|
|
91262
91262
|
for (typeof t24 == "string" && (t24 = t24.charCodeAt(0)), I8 = ie8(), k9 = a5 ? Z8 : zD, m5--, D6++;++m5 < D6; )
|
|
91263
91263
|
if (y5 === Mu2 && (h5 = f6[p2] || 1), y5 = e7.charCodeAt(m5), y5 === Uu2) {
|
|
91264
91264
|
if (C6 = e7.charCodeAt(m5 + 1), C6 === WD || C6 === Mu2 || C6 === VD || C6 === jD || C6 === Uu2 || C6 === HD || C6 !== C6 || t24 && C6 === t24) {
|
|
91265
|
-
g5 +=
|
|
91265
|
+
g5 += He9(y5), h5++;
|
|
91266
91266
|
continue;
|
|
91267
91267
|
}
|
|
91268
91268
|
for (P7 = m5 + 1, S5 = P7, L8 = P7, C6 === XD ? (L8 = ++S5, C6 = e7.charCodeAt(L8), C6 === JD2 || C6 === QD ? (N9 = Wt10, L8 = ++S5) : N9 = Vt10) : N9 = Ke10, v8 = "", _8 = "", d4 = "", O6 = Hr5[N9], L8--;++L8 < D6 && (C6 = e7.charCodeAt(L8), !!O6(C6)); )
|
|
91269
|
-
d4 +=
|
|
91270
|
-
b7 = e7.charCodeAt(L8) === $D, b7 && (L8++, A7 = N9 === Ke10 ? YD(d4) : false, A7 && (v8 = d4, _8 = A7)), K10 = 1 + L8 - P7, !b7 && !n3 || (d4 ? N9 === Ke10 ? (b7 && !_8 ? k9(ju2, 1) : (v8 !== d4 && (L8 = S5 + v8.length, K10 = 1 + L8 - S5, b7 = false), b7 || (T6 = v8 ? Gu2 : Wu2, r.attribute ? (C6 = e7.charCodeAt(L8), C6 === KD ? (k9(T6, K10), _8 = null) : Yu2(C6) ? _8 = null : k9(T6, K10)) : k9(T6, K10))), w6 = _8) : (b7 || k9(zu2, K10), w6 = parseInt(d4, jt7[N9]), tp2(w6) ? (k9($u2, K10), w6 =
|
|
91269
|
+
d4 += He9(C6), N9 === Ke10 && GD.call(Su2, d4) && (v8 = d4, _8 = Su2[d4]);
|
|
91270
|
+
b7 = e7.charCodeAt(L8) === $D, b7 && (L8++, A7 = N9 === Ke10 ? YD(d4) : false, A7 && (v8 = d4, _8 = A7)), K10 = 1 + L8 - P7, !b7 && !n3 || (d4 ? N9 === Ke10 ? (b7 && !_8 ? k9(ju2, 1) : (v8 !== d4 && (L8 = S5 + v8.length, K10 = 1 + L8 - S5, b7 = false), b7 || (T6 = v8 ? Gu2 : Wu2, r.attribute ? (C6 = e7.charCodeAt(L8), C6 === KD ? (k9(T6, K10), _8 = null) : Yu2(C6) ? _8 = null : k9(T6, K10)) : k9(T6, K10))), w6 = _8) : (b7 || k9(zu2, K10), w6 = parseInt(d4, jt7[N9]), tp2(w6) ? (k9($u2, K10), w6 = He9(ZD)) : (w6 in Lu2) ? (k9(zt9, K10), w6 = Lu2[w6]) : (B6 = "", np2(w6) && k9(zt9, K10), w6 > 65535 && (w6 -= 65536, B6 += He9(w6 >>> 10 | 55296), w6 = 56320 | w6 & 1023), w6 = B6 + He9(w6))) : N9 !== Ke10 && k9(Vu2, K10)), w6 ? (ve10(), I8 = ie8(), m5 = L8 - 1, h5 += L8 - P7 + 1, E5.push(w6), le7 = ie8(), le7.offset++, u2 && u2.call(s, w6, { start: I8, end: le7 }, e7.slice(P7 - 1, L8)), I8 = le7) : (d4 = e7.slice(P7 - 1, L8), g5 += d4, h5 += d4.length, m5 = L8 - 1);
|
|
91271
91271
|
} else
|
|
91272
|
-
y5 === 10 && (F8++, p2++, h5 = 0), y5 === y5 ? (g5 +=
|
|
91272
|
+
y5 === 10 && (F8++, p2++, h5 = 0), y5 === y5 ? (g5 += He9(y5), h5++) : ve10();
|
|
91273
91273
|
return E5.join("");
|
|
91274
91274
|
function ie8() {
|
|
91275
91275
|
return { line: F8, column: h5, offset: m5 + (c6.offset || 0) };
|
|
@@ -94566,7 +94566,7 @@ function In5(e8, t24, n3) {
|
|
|
94566
94566
|
}
|
|
94567
94567
|
o4 = qn6(e8, t24);
|
|
94568
94568
|
}
|
|
94569
|
-
let f6 =
|
|
94569
|
+
let f6 = He9(e8, t24), c6 = { type: "ImportDeclaration", specifiers: l5, source: o4, attributes: f6 };
|
|
94570
94570
|
return M10(e8, t24 | 32), e8.finishNode(c6, u2);
|
|
94571
94571
|
}
|
|
94572
94572
|
function Tt12(e8, t24, n3) {
|
|
@@ -94624,7 +94624,7 @@ function Pn6(e8, t24, n3) {
|
|
|
94624
94624
|
r(e8, t24);
|
|
94625
94625
|
let g5 = null;
|
|
94626
94626
|
C6(e8, t24, 77932) && (n3 && e8.declareUnboundVariable(e8.tokenValue), g5 = Ce9(e8, t24)), y5(e8, t24, 209011), e8.getToken() !== 134283267 && e8.report(105, "Export"), l5 = O6(e8, t24);
|
|
94627
|
-
let a5 =
|
|
94627
|
+
let a5 = He9(e8, t24), h5 = { type: "ExportAllDeclaration", source: l5, exported: g5, attributes: a5 };
|
|
94628
94628
|
return M10(e8, t24 | 32), e8.finishNode(h5, u2);
|
|
94629
94629
|
}
|
|
94630
94630
|
case 2162700: {
|
|
@@ -94636,7 +94636,7 @@ function Pn6(e8, t24, n3) {
|
|
|
94636
94636
|
let w6;
|
|
94637
94637
|
e8.getToken() === 77932 ? (r(e8, t24), (e8.getToken() & 143360) === 0 && e8.getToken() !== 134283267 && e8.report(106), n3 && (g5.push(e8.tokenValue), d4.push(A7)), w6 = Ce9(e8, t24)) : (n3 && (g5.push(e8.tokenValue), d4.push(e8.tokenValue)), w6 = b7.type === "Literal" ? e8.cloneStringLiteral(b7) : e8.cloneIdentifier(b7)), o4.push(e8.finishNode({ type: "ExportSpecifier", local: b7, exported: w6 }, h5)), e8.getToken() !== 1074790415 && y5(e8, t24, 18);
|
|
94638
94638
|
}
|
|
94639
|
-
y5(e8, t24, 1074790415), C6(e8, t24, 209011) ? (e8.getToken() !== 134283267 && e8.report(105, "Export"), l5 = O6(e8, t24), f6 =
|
|
94639
|
+
y5(e8, t24, 1074790415), C6(e8, t24, 209011) ? (e8.getToken() !== 134283267 && e8.report(105, "Export"), l5 = O6(e8, t24), f6 = He9(e8, t24), n3 && g5.forEach((h5) => e8.declareUnboundVariable(h5))) : (a5 && e8.report(172), n3 && (g5.forEach((h5) => e8.declareUnboundVariable(h5)), d4.forEach((h5) => e8.addBindingToExports(h5)))), M10(e8, t24 | 32);
|
|
94640
94640
|
break;
|
|
94641
94641
|
}
|
|
94642
94642
|
case 132:
|
|
@@ -94964,7 +94964,7 @@ function jt7(e8, t24, n3, u2, o4) {
|
|
|
94964
94964
|
let f6 = { type: "ImportExpression", source: i2, options: l5 };
|
|
94965
94965
|
return y5(e8, t24, 16), e8.finishNode(f6, o4);
|
|
94966
94966
|
}
|
|
94967
|
-
function
|
|
94967
|
+
function He9(e8, t24) {
|
|
94968
94968
|
if (!C6(e8, t24, 20579))
|
|
94969
94969
|
return [];
|
|
94970
94970
|
y5(e8, t24, 2162700);
|
|
@@ -96251,7 +96251,7 @@ function Il3(t25) {
|
|
|
96251
96251
|
if (typeof t25 == "string")
|
|
96252
96252
|
return je10;
|
|
96253
96253
|
if (Array.isArray(t25))
|
|
96254
|
-
return
|
|
96254
|
+
return He10;
|
|
96255
96255
|
if (!t25)
|
|
96256
96256
|
return;
|
|
96257
96257
|
let { type: e8 } = t25;
|
|
@@ -96285,7 +96285,7 @@ function Dl3(t25, e8) {
|
|
|
96285
96285
|
}
|
|
96286
96286
|
function n3(i3) {
|
|
96287
96287
|
switch (ue10(i3)) {
|
|
96288
|
-
case
|
|
96288
|
+
case He10:
|
|
96289
96289
|
return e8(i3.map(r3));
|
|
96290
96290
|
case ae8:
|
|
96291
96291
|
return e8({ ...i3, parts: i3.parts.map(r3) });
|
|
@@ -97378,7 +97378,7 @@ var bl4, Vr7, El4, Sl4, kl4, Tl4, w6 = (t25, e8) => () => (e8 || t25((e8 = { exp
|
|
|
97378
97378
|
for (let n3 of Sl4(e8))
|
|
97379
97379
|
!Tl4.call(t25, n3) && n3 !== s3 && Vr7(t25, n3, { get: () => e8[n3], enumerable: !(r3 = El4(e8, n3)) || r3.enumerable });
|
|
97380
97380
|
return t25;
|
|
97381
|
-
}, Te9 = (t25, e8, s3) => (s3 = t25 != null ? bl4(kl4(t25)) : {}, Al4(e8 || !t25 || !t25.__esModule ? Vr7(s3, "default", { value: t25, enumerable: true }) : s3, t25)), Oi8, as7, zt10, jt8, it10, Ht11, ut9, Me11, ft11, fe10, Hi8, Ki7, hs7, Ue9, Qt10, $e10, ws7, Xt9, er8, tr9, ht11, wo5, xo3, bo4, So3, Oo4, Po4, Io5, qo3, sr9, Uo3, bs7, Es7, nr8, Ss7, As7, Qo3, Jo4, ir9, aa4, ca3, pa4, da4, Rs8, qs8, xa4, _a5, Us8, Fs8, $s7, ke10, B7, fr9, Pa4, Ia3, Ye9, Da4, Ba4, Fa5, Wa4, Ya4, za4, Ha4, Qa4, Ja5, eu3, ru3, fu3, du3, yu4, j9, F9, _u3, Eu4, Tu4, Ou4, Nu3, Ru3, Lu3, Mu3, Uu3, $u3, Gu2, Vu3, ju3, Ku3, Ju4, el4, nl4, _l4, bt13 = (t25, e8) => (s3, r3, ...n3) => s3 | 1 && r3 == null ? undefined : (e8.call(r3) ?? r3[t25]).apply(r3, n3), Ol3, Cl4, E5, Pl3, G10, Rl3 = () => {}, K11, je10 = "string",
|
|
97381
|
+
}, Te9 = (t25, e8, s3) => (s3 = t25 != null ? bl4(kl4(t25)) : {}, Al4(e8 || !t25 || !t25.__esModule ? Vr7(s3, "default", { value: t25, enumerable: true }) : s3, t25)), Oi8, as7, zt10, jt8, it10, Ht11, ut9, Me11, ft11, fe10, Hi8, Ki7, hs7, Ue9, Qt10, $e10, ws7, Xt9, er8, tr9, ht11, wo5, xo3, bo4, So3, Oo4, Po4, Io5, qo3, sr9, Uo3, bs7, Es7, nr8, Ss7, As7, Qo3, Jo4, ir9, aa4, ca3, pa4, da4, Rs8, qs8, xa4, _a5, Us8, Fs8, $s7, ke10, B7, fr9, Pa4, Ia3, Ye9, Da4, Ba4, Fa5, Wa4, Ya4, za4, Ha4, Qa4, Ja5, eu3, ru3, fu3, du3, yu4, j9, F9, _u3, Eu4, Tu4, Ou4, Nu3, Ru3, Lu3, Mu3, Uu3, $u3, Gu2, Vu3, ju3, Ku3, Ju4, el4, nl4, _l4, bt13 = (t25, e8) => (s3, r3, ...n3) => s3 | 1 && r3 == null ? undefined : (e8.call(r3) ?? r3[t25]).apply(r3, n3), Ol3, Cl4, E5, Pl3, G10, Rl3 = () => {}, K11, je10 = "string", He10 = "array", Et13 = "cursor", ie9 = "indent", Ae10 = "align", St12 = "trim", oe9 = "group", ae8 = "fill", me12 = "if-break", kt13 = "indent-if-break", Oe11 = "line-suffix", Tt13 = "line-suffix-boundary", X12 = "line", At13 = "label", Ce10 = "break-parent", Ot12, ue10, ql3 = (t25) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t25), zr7, nn9, $10, ye11, an7, un7, Ne10, C7, M11, Ul3, T6, ce8, cn8, fn8, Wl3, Gl3, pn7, Vl3, hn8, Nt12, jr5, dn7, Pt12, Re11, Ke11 = 3, ge10, Xl3, yn8, wn6, Qe10 = null, Zl3 = 10, vn6, _9, xn7, tc2, _n6, Kr6, Bw, It12, bn6, qt10, P8 = (t25) => t25.source?.startOffset, R11 = (t25) => t25.source?.endOffset, nc3, ic2, Nn5, oc3, An6, ac2, On6, uc2, Pn7, Dn6, Mn5, Bn6 = "format", Un6, Gn7 = (t25) => Fn5(ge10(t25).content), Yn6 = (t25) => $n7(ge10(t25).content), Vn6 = (t25) => {
|
|
97382
97382
|
let { frontMatter: e8, content: s3 } = ge10(t25);
|
|
97383
97383
|
return (e8 ? e8.raw + `
|
|
97384
97384
|
|
|
@@ -102470,7 +102470,7 @@ function cg(e8, t25, a5) {
|
|
|
102470
102470
|
function sf2(e8, t25, a5 = 0, _10, f6, h5, T7) {
|
|
102471
102471
|
var k9 = _10, c6, W12, y6, G11, E6, D7, R12, ue11, be11 = 0, he11 = 0, de11 = 0;
|
|
102472
102472
|
Ct14(k9, h5, T7);
|
|
102473
|
-
var O7 = { getTokenFullStart: () => y6, getStartPos: () => y6, getTokenEnd: () => c6, getTextPos: () => c6, getToken: () => E6, getTokenStart: () => G11, getTokenPos: () => G11, getTokenText: () => k9.substring(G11, c6), getTokenValue: () => D7, hasUnicodeEscape: () => (R12 & 1024) !== 0, hasExtendedUnicodeEscape: () => (R12 & 8) !== 0, hasPrecedingLineBreak: () => (R12 & 1) !== 0, hasPrecedingJSDocComment: () => (R12 & 2) !== 0, hasPrecedingJSDocLeadingAsterisks: () => (R12 & 32768) !== 0, isIdentifier: () => E6 === 80 || E6 > 118, isReservedWord: () => E6 >= 83 && E6 <= 118, isUnterminated: () => (R12 & 4) !== 0, getCommentDirectives: () => ue11, getNumericLiteralFlags: () => R12 & 25584, getTokenFlags: () => R12, reScanGreaterToken: ct11, reScanAsteriskEqualsToken: ar9, reScanSlashToken: dt10, reScanTemplateToken: qt11, reScanTemplateHeadOrNoSubstitutionTemplate: tn8, scanJsxIdentifier: Or7, scanJsxAttributeValue: Vn7, reScanJsxAttributeValue: Ce11, reScanJsxToken: sr10, reScanLessThanToken: mr7, reScanHashToken: hr8, reScanQuestionToken: Fn6, reScanInvalidIdentifier: Bt11, scanJsxToken: zn9, scanJsDocToken: L10, scanJSDocCommentTextToken: yr7, scan: ot10, getText: Qe11, clearCommentDirectives: st10, setText: Ct14, setScriptTarget: lt10, setLanguageVariant: Mr8, setScriptKind: gr7, setJSDocParsingMode: Nn6, setOnError: Tt14, resetTokenState: Wn8, setTextPos: Wn8, setSkipJsDocLeadingAsterisks: wi10, tryScan:
|
|
102473
|
+
var O7 = { getTokenFullStart: () => y6, getStartPos: () => y6, getTokenEnd: () => c6, getTextPos: () => c6, getToken: () => E6, getTokenStart: () => G11, getTokenPos: () => G11, getTokenText: () => k9.substring(G11, c6), getTokenValue: () => D7, hasUnicodeEscape: () => (R12 & 1024) !== 0, hasExtendedUnicodeEscape: () => (R12 & 8) !== 0, hasPrecedingLineBreak: () => (R12 & 1) !== 0, hasPrecedingJSDocComment: () => (R12 & 2) !== 0, hasPrecedingJSDocLeadingAsterisks: () => (R12 & 32768) !== 0, isIdentifier: () => E6 === 80 || E6 > 118, isReservedWord: () => E6 >= 83 && E6 <= 118, isUnterminated: () => (R12 & 4) !== 0, getCommentDirectives: () => ue11, getNumericLiteralFlags: () => R12 & 25584, getTokenFlags: () => R12, reScanGreaterToken: ct11, reScanAsteriskEqualsToken: ar9, reScanSlashToken: dt10, reScanTemplateToken: qt11, reScanTemplateHeadOrNoSubstitutionTemplate: tn8, scanJsxIdentifier: Or7, scanJsxAttributeValue: Vn7, reScanJsxAttributeValue: Ce11, reScanJsxToken: sr10, reScanLessThanToken: mr7, reScanHashToken: hr8, reScanQuestionToken: Fn6, reScanInvalidIdentifier: Bt11, scanJsxToken: zn9, scanJsDocToken: L10, scanJSDocCommentTextToken: yr7, scan: ot10, getText: Qe11, clearCommentDirectives: st10, setText: Ct14, setScriptTarget: lt10, setLanguageVariant: Mr8, setScriptKind: gr7, setJSDocParsingMode: Nn6, setOnError: Tt14, resetTokenState: Wn8, setTextPos: Wn8, setSkipJsDocLeadingAsterisks: wi10, tryScan: He11, lookAhead: Te10, scanRange: fe11 };
|
|
102474
102474
|
return q12.isDebugging && Object.defineProperty(O7, "__debugShowCurrentPositionInText", { get: () => {
|
|
102475
102475
|
let U11 = O7.getText();
|
|
102476
102476
|
return U11.slice(0, O7.getTokenFullStart()) + "║" + U11.slice(O7.getTokenFullStart());
|
|
@@ -103796,7 +103796,7 @@ function sf2(e8, t25, a5 = 0, _10, f6, h5, T7) {
|
|
|
103796
103796
|
function Te10(U11) {
|
|
103797
103797
|
return se11(U11, true);
|
|
103798
103798
|
}
|
|
103799
|
-
function
|
|
103799
|
+
function He11(U11) {
|
|
103800
103800
|
return se11(U11, false);
|
|
103801
103801
|
}
|
|
103802
103802
|
function Qe11() {
|
|
@@ -105173,7 +105173,7 @@ function wf2(e8, t25) {
|
|
|
105173
105173
|
return _10();
|
|
105174
105174
|
}, get converters() {
|
|
105175
105175
|
return f6();
|
|
105176
|
-
}, baseFactory: t25, flags: e8, createNodeArray: de11, createNumericLiteral: V12, createBigIntLiteral: oe10, createStringLiteral: ft12, createStringLiteralFromNode: nr9, createRegularExpressionLiteral: mn8, createLiteralLikeNode: rr8, createIdentifier: We13, createTempVariable: ir10, createLoopVariable: Ir6, createUniqueName: Ot13, getGeneratedNameForNode: Bn7, createPrivateIdentifier: Mt13, createUniquePrivateName: $e11, getGeneratedPrivateNameForNode: qn8, createToken: ot10, createSuper: at12, createThis: Bt11, createNull: Lt12, createTrue: ct11, createFalse: ar9, createModifier: dt10, createModifiersFromModifierFlags: yn9, createQualifiedName: yt12, updateQualifiedName: _n7, createComputedPropertyName: tt12, updateComputedPropertyName: qt11, createTypeParameterDeclaration: tn8, updateTypeParameterDeclaration: sr10, createParameterDeclaration: mr7, updateParameterDeclaration: hr8, createDecorator: Fn6, updateDecorator: zn9, createPropertySignature: Or7, updatePropertySignature: Vn7, createPropertyDeclaration: yr7, updatePropertyDeclaration: L10, createMethodSignature: se11, updateMethodSignature: fe11, createMethodDeclaration: Te10, updateMethodDeclaration:
|
|
105176
|
+
}, baseFactory: t25, flags: e8, createNodeArray: de11, createNumericLiteral: V12, createBigIntLiteral: oe10, createStringLiteral: ft12, createStringLiteralFromNode: nr9, createRegularExpressionLiteral: mn8, createLiteralLikeNode: rr8, createIdentifier: We13, createTempVariable: ir10, createLoopVariable: Ir6, createUniqueName: Ot13, getGeneratedNameForNode: Bn7, createPrivateIdentifier: Mt13, createUniquePrivateName: $e11, getGeneratedPrivateNameForNode: qn8, createToken: ot10, createSuper: at12, createThis: Bt11, createNull: Lt12, createTrue: ct11, createFalse: ar9, createModifier: dt10, createModifiersFromModifierFlags: yn9, createQualifiedName: yt12, updateQualifiedName: _n7, createComputedPropertyName: tt12, updateComputedPropertyName: qt11, createTypeParameterDeclaration: tn8, updateTypeParameterDeclaration: sr10, createParameterDeclaration: mr7, updateParameterDeclaration: hr8, createDecorator: Fn6, updateDecorator: zn9, createPropertySignature: Or7, updatePropertySignature: Vn7, createPropertyDeclaration: yr7, updatePropertyDeclaration: L10, createMethodSignature: se11, updateMethodSignature: fe11, createMethodDeclaration: Te10, updateMethodDeclaration: He11, createConstructorDeclaration: lt10, updateConstructorDeclaration: Mr8, createGetAccessorDeclaration: Nn6, updateGetAccessorDeclaration: Wn8, createSetAccessorDeclaration: U11, updateSetAccessorDeclaration: K12, createCallSignature: xe10, updateCallSignature: Se12, createConstructSignature: we10, updateConstructSignature: me13, createIndexSignature: Ve10, updateIndexSignature: Ze12, createClassStaticBlockDeclaration: st10, updateClassStaticBlockDeclaration: Ct14, createTemplateLiteralTypeSpan: Ye10, updateTemplateLiteralTypeSpan: Ee10, createKeywordTypeNode: gn8, createTypePredicateNode: rt14, updateTypePredicateNode: on12, createTypeReferenceNode: Zr8, updateTypeReferenceNode: M12, createFunctionTypeNode: Ue10, updateFunctionTypeNode: u4, createConstructorTypeNode: Me12, updateConstructorTypeNode: nn10, createTypeQueryNode: Dt12, updateTypeQueryNode: wt13, createTypeLiteralNode: Pt13, updateTypeLiteralNode: Ft13, createArrayTypeNode: Gn8, updateArrayTypeNode: ki10, createTupleTypeNode: cn9, updateTupleTypeNode: H12, createNamedTupleMember: le9, updateNamedTupleMember: qe11, createOptionalTypeNode: ve12, updateOptionalTypeNode: J14, createRestTypeNode: mt12, updateRestTypeNode: xt11, createUnionTypeNode: ql4, updateUnionTypeNode: C_, createIntersectionTypeNode: Lr8, updateIntersectionTypeNode: Le12, createConditionalTypeNode: pt12, updateConditionalTypeNode: Fl3, createInferTypeNode: Yn7, updateInferTypeNode: zl4, createImportTypeNode: _r8, updateImportTypeNode: oa3, createParenthesizedType: Qt11, updateParenthesizedType: At14, createThisTypeNode: P9, createTypeOperatorNode: Gt10, updateTypeOperatorNode: Jr6, createIndexedAccessTypeNode: or9, updateIndexedAccessTypeNode: Ka4, createMappedTypeNode: gt12, updateMappedTypeNode: jt9, createLiteralTypeNode: ei10, updateLiteralTypeNode: br7, createTemplateLiteralType: Wt12, updateTemplateLiteralType: Vl4, createObjectBindingPattern: D_, updateObjectBindingPattern: Wl4, createArrayBindingPattern: jr6, updateArrayBindingPattern: Gl4, createBindingElement: ca4, updateBindingElement: ti10, createArrayLiteralExpression: Za3, updateArrayLiteralExpression: P_, createObjectLiteralExpression: Ei10, updateObjectLiteralExpression: Yl4, createPropertyAccessExpression: e8 & 4 ? (n4, i4) => setEmitFlags(cr8(n4, i4), 262144) : cr8, updatePropertyAccessExpression: Hl4, createPropertyAccessChain: e8 & 4 ? (n4, i4, s4) => setEmitFlags(Ai9(n4, i4, s4), 262144) : Ai9, updatePropertyAccessChain: la3, createElementAccessExpression: Ci8, updateElementAccessExpression: Xl4, createElementAccessChain: O_, updateElementAccessChain: es8, createCallExpression: Di8, updateCallExpression: ua5, createCallChain: ts8, updateCallChain: L_, createNewExpression: bn7, updateNewExpression: ns8, createTaggedTemplateExpression: pa5, updateTaggedTemplateExpression: J_, createTypeAssertion: j_, updateTypeAssertion: R_, createParenthesizedExpression: rs8, updateParenthesizedExpression: U_, createFunctionExpression: is8, updateFunctionExpression: B_, createArrowFunction: as8, updateArrowFunction: q_, createDeleteExpression: F_, updateDeleteExpression: z_, createTypeOfExpression: fa4, updateTypeOfExpression: un8, createVoidExpression: ss9, updateVoidExpression: lr8, createAwaitExpression: V_, updateAwaitExpression: Rr7, createPrefixUnaryExpression: Ur8, updatePrefixUnaryExpression: $l4, createPostfixUnaryExpression: ni10, updatePostfixUnaryExpression: Ql4, createBinaryExpression: da5, updateBinaryExpression: Kl4, createConditionalExpression: G_, updateConditionalExpression: Y_, createTemplateExpression: H_, updateTemplateExpression: Hn8, createTemplateHead: $_, createTemplateMiddle: ma5, createTemplateTail: _s7, createNoSubstitutionTemplateLiteral: eu4, createTemplateLiteralLikeNode: ii10, createYieldExpression: os9, updateYieldExpression: tu3, createSpreadElement: Q_, updateSpreadElement: nu3, createClassExpression: K_, updateClassExpression: cs7, createOmittedExpression: ls7, createExpressionWithTypeArguments: Z_, updateExpressionWithTypeArguments: eo5, createAsExpression: pn8, updateAsExpression: ha2, createNonNullExpression: to5, updateNonNullExpression: no6, createSatisfiesExpression: us8, updateSatisfiesExpression: ro5, createNonNullChain: ps7, updateNonNullChain: In7, createMetaProperty: io5, updateMetaProperty: fs26, createTemplateSpan: Xn9, updateTemplateSpan: ya3, createSemicolonClassElement: ao5, createBlock: Br8, updateBlock: ru4, createVariableStatement: ds7, updateVariableStatement: so5, createEmptyStatement: _o3, createExpressionStatement: Ni9, updateExpressionStatement: oo6, createIfStatement: co5, updateIfStatement: lo5, createDoStatement: uo5, updateDoStatement: po6, createWhileStatement: fo5, updateWhileStatement: iu3, createForStatement: mo3, updateForStatement: ho3, createForInStatement: ms8, updateForInStatement: au3, createForOfStatement: yo3, updateForOfStatement: su3, createContinueStatement: go3, updateContinueStatement: _u4, createBreakStatement: hs8, updateBreakStatement: bo5, createReturnStatement: ys8, updateReturnStatement: ou3, createWithStatement: gs7, updateWithStatement: vo4, createSwitchStatement: bs8, updateSwitchStatement: ai10, createLabeledStatement: To4, updateLabeledStatement: xo4, createThrowStatement: So4, updateThrowStatement: cu3, createTryStatement: wo6, updateTryStatement: lu4, createDebuggerStatement: ko3, createVariableDeclaration: ga2, updateVariableDeclaration: Eo3, createVariableDeclarationList: vs9, updateVariableDeclarationList: uu4, createFunctionDeclaration: Ao3, updateFunctionDeclaration: Ts6, createClassDeclaration: Co3, updateClassDeclaration: ba3, createInterfaceDeclaration: Do3, updateInterfaceDeclaration: Po5, createTypeAliasDeclaration: _t10, updateTypeAliasDeclaration: vr6, createEnumDeclaration: xs8, updateEnumDeclaration: Tr7, createModuleDeclaration: No3, updateModuleDeclaration: kt14, createModuleBlock: xr6, updateModuleBlock: zt11, createCaseBlock: Io6, updateCaseBlock: fu4, createNamespaceExportDeclaration: Oo5, updateNamespaceExportDeclaration: Mo3, createImportEqualsDeclaration: Lo4, updateImportEqualsDeclaration: Jo5, createImportDeclaration: jo4, updateImportDeclaration: Ro3, createImportClause: Uo4, updateImportClause: Bo4, createAssertClause: Ss8, updateAssertClause: mu3, createAssertEntry: Ii8, updateAssertEntry: qo4, createImportTypeAssertionContainer: ws8, updateImportTypeAssertionContainer: Fo3, createImportAttributes: zo4, updateImportAttributes: ks8, createImportAttribute: Vo3, updateImportAttribute: Wo3, createNamespaceImport: Go3, updateNamespaceImport: hu4, createNamespaceExport: Yo4, updateNamespaceExport: yu5, createNamedImports: Ho3, updateNamedImports: Xo3, createImportSpecifier: Sr7, updateImportSpecifier: gu4, createExportAssignment: va4, updateExportAssignment: Oi9, createExportDeclaration: Ta3, updateExportDeclaration: $o3, createNamedExports: Es8, updateNamedExports: bu4, createExportSpecifier: xa5, updateExportSpecifier: vu4, createMissingDeclaration: Tu5, createExternalModuleReference: As8, updateExternalModuleReference: xu3, get createJSDocAllType() {
|
|
105177
105177
|
return c6(313);
|
|
105178
105178
|
}, get createJSDocUnknownType() {
|
|
105179
105179
|
return c6(314);
|
|
@@ -105578,7 +105578,7 @@ function wf2(e8, t25) {
|
|
|
105578
105578
|
}
|
|
105579
105579
|
return Fe11.typeArguments = undefined, Fe11.jsDoc = undefined, Fe11.locals = undefined, Fe11.nextContainer = undefined, Fe11.flowNode = undefined, Fe11.endFlowNode = undefined, Fe11.returnFlowNode = undefined, Fe11;
|
|
105580
105580
|
}
|
|
105581
|
-
function
|
|
105581
|
+
function He11(n4, i4, s4, l5, d4, v8, F10, pe10, Fe11) {
|
|
105582
105582
|
return n4.modifiers !== i4 || n4.asteriskToken !== s4 || n4.name !== l5 || n4.questionToken !== d4 || n4.typeParameters !== v8 || n4.parameters !== F10 || n4.type !== pe10 || n4.body !== Fe11 ? Qe11(Te10(i4, s4, l5, d4, v8, F10, pe10, Fe11), n4) : n4;
|
|
105583
105583
|
}
|
|
105584
105584
|
function Qe11(n4, i4) {
|
|
@@ -107219,10 +107219,10 @@ function wf2(e8, t25) {
|
|
|
107219
107219
|
}
|
|
107220
107220
|
function pr8(n4, i4) {
|
|
107221
107221
|
let s4;
|
|
107222
|
-
return typeof i4 == "number" ? s4 = yn9(i4) : s4 = i4, Ef2(n4) ? sr10(n4, s4, n4.name, n4.constraint, n4.default) : m_(n4) ? hr8(n4, s4, n4.dotDotDotToken, n4.name, n4.questionToken, n4.type, n4.initializer) : Nf2(n4) ? ze11(n4, s4, n4.typeParameters, n4.parameters, n4.type) : C1(n4) ? Vn7(n4, s4, n4.name, n4.questionToken, n4.type) : Wa5(n4) ? L10(n4, s4, n4.name, n4.questionToken ?? n4.exclamationToken, n4.type, n4.initializer) : D1(n4) ? fe11(n4, s4, n4.name, n4.questionToken, n4.typeParameters, n4.parameters, n4.type) : h_(n4) ?
|
|
107222
|
+
return typeof i4 == "number" ? s4 = yn9(i4) : s4 = i4, Ef2(n4) ? sr10(n4, s4, n4.name, n4.constraint, n4.default) : m_(n4) ? hr8(n4, s4, n4.dotDotDotToken, n4.name, n4.questionToken, n4.type, n4.initializer) : Nf2(n4) ? ze11(n4, s4, n4.typeParameters, n4.parameters, n4.type) : C1(n4) ? Vn7(n4, s4, n4.name, n4.questionToken, n4.type) : Wa5(n4) ? L10(n4, s4, n4.name, n4.questionToken ?? n4.exclamationToken, n4.type, n4.initializer) : D1(n4) ? fe11(n4, s4, n4.name, n4.questionToken, n4.typeParameters, n4.parameters, n4.type) : h_(n4) ? He11(n4, s4, n4.asteriskToken, n4.name, n4.questionToken, n4.typeParameters, n4.parameters, n4.type, n4.body) : Af2(n4) ? Mr8(n4, s4, n4.parameters, n4.body) : Tl5(n4) ? Wn8(n4, s4, n4.name, n4.parameters, n4.type, n4.body) : y_(n4) ? K12(n4, s4, n4.name, n4.parameters, n4.body) : Cf3(n4) ? Ze12(n4, s4, n4.parameters, n4.type) : Mf3(n4) ? B_(n4, s4, n4.asteriskToken, n4.name, n4.typeParameters, n4.parameters, n4.type, n4.body) : Lf2(n4) ? q_(n4, s4, n4.typeParameters, n4.parameters, n4.type, n4.equalsGreaterThanToken, n4.body) : xl5(n4) ? cs7(n4, s4, n4.name, n4.typeParameters, n4.heritageClauses, n4.members) : Xa5(n4) ? so5(n4, s4, n4.declarationList) : jf2(n4) ? Ts6(n4, s4, n4.asteriskToken, n4.name, n4.typeParameters, n4.parameters, n4.type, n4.body) : Ga4(n4) ? ba3(n4, s4, n4.name, n4.typeParameters, n4.heritageClauses, n4.members) : T_(n4) ? Po5(n4, s4, n4.name, n4.typeParameters, n4.heritageClauses, n4.members) : Nl5(n4) ? vr6(n4, s4, n4.name, n4.typeParameters, n4.type) : X1(n4) ? Tr7(n4, s4, n4.name, n4.members) : Ti10(n4) ? kt14(n4, s4, n4.name, n4.body) : Rf3(n4) ? Jo5(n4, s4, n4.isTypeOnly, n4.name, n4.moduleReference) : Uf2(n4) ? Ro3(n4, s4, n4.importClause, n4.moduleSpecifier, n4.attributes) : Bf2(n4) ? Oi9(n4, s4, n4.expression) : qf2(n4) ? $o3(n4, s4, n4.isTypeOnly, n4.exportClause, n4.moduleSpecifier, n4.attributes) : q12.assertNever(n4);
|
|
107223
107223
|
}
|
|
107224
107224
|
function Mn6(n4, i4) {
|
|
107225
|
-
return m_(n4) ? hr8(n4, i4, n4.dotDotDotToken, n4.name, n4.questionToken, n4.type, n4.initializer) : Wa5(n4) ? L10(n4, i4, n4.name, n4.questionToken ?? n4.exclamationToken, n4.type, n4.initializer) : h_(n4) ?
|
|
107225
|
+
return m_(n4) ? hr8(n4, i4, n4.dotDotDotToken, n4.name, n4.questionToken, n4.type, n4.initializer) : Wa5(n4) ? L10(n4, i4, n4.name, n4.questionToken ?? n4.exclamationToken, n4.type, n4.initializer) : h_(n4) ? He11(n4, i4, n4.asteriskToken, n4.name, n4.questionToken, n4.typeParameters, n4.parameters, n4.type, n4.body) : Tl5(n4) ? Wn8(n4, i4, n4.name, n4.parameters, n4.type, n4.body) : y_(n4) ? K12(n4, i4, n4.name, n4.parameters, n4.body) : xl5(n4) ? cs7(n4, i4, n4.name, n4.typeParameters, n4.heritageClauses, n4.members) : Ga4(n4) ? ba3(n4, i4, n4.name, n4.typeParameters, n4.heritageClauses, n4.members) : q12.assertNever(n4);
|
|
107226
107226
|
}
|
|
107227
107227
|
function Vr8(n4, i4) {
|
|
107228
107228
|
switch (n4.kind) {
|
|
@@ -107231,7 +107231,7 @@ function wf2(e8, t25) {
|
|
|
107231
107231
|
case 179:
|
|
107232
107232
|
return K12(n4, n4.modifiers, i4, n4.parameters, n4.body);
|
|
107233
107233
|
case 175:
|
|
107234
|
-
return
|
|
107234
|
+
return He11(n4, n4.modifiers, n4.asteriskToken, i4, n4.questionToken, n4.typeParameters, n4.parameters, n4.type, n4.body);
|
|
107235
107235
|
case 174:
|
|
107236
107236
|
return fe11(n4, n4.modifiers, i4, n4.questionToken, n4.typeParameters, n4.parameters, n4.type);
|
|
107237
107237
|
case 173:
|
|
@@ -110085,10 +110085,10 @@ var init_typescript = __esm(() => {
|
|
|
110085
110085
|
_10(3, Qe11);
|
|
110086
110086
|
}
|
|
110087
110087
|
L10.log = Te10;
|
|
110088
|
-
function
|
|
110088
|
+
function He11(Qe11) {
|
|
110089
110089
|
_10(4, Qe11);
|
|
110090
110090
|
}
|
|
110091
|
-
L10.trace =
|
|
110091
|
+
L10.trace = He11;
|
|
110092
110092
|
})(f6 = e8.log || (e8.log = {}));
|
|
110093
110093
|
let h5 = {};
|
|
110094
110094
|
function T7() {
|
|
@@ -110127,10 +110127,10 @@ Node ${Ot13(L10.kind)} was unexpected.`, fe11 || G11);
|
|
|
110127
110127
|
Verbose Debug Information: ` + (typeof fe11 == "string" ? fe11 : fe11())), y6(se11, Te10 || E6));
|
|
110128
110128
|
}
|
|
110129
110129
|
e8.assert = E6;
|
|
110130
|
-
function D7(L10, se11, fe11, Te10,
|
|
110130
|
+
function D7(L10, se11, fe11, Te10, He11) {
|
|
110131
110131
|
if (L10 !== se11) {
|
|
110132
110132
|
let Qe11 = fe11 ? Te10 ? `${fe11} ${Te10}` : fe11 : "";
|
|
110133
|
-
y6(`Expected ${L10} === ${se11}. ${Qe11}`,
|
|
110133
|
+
y6(`Expected ${L10} === ${se11}. ${Qe11}`, He11 || D7);
|
|
110134
110134
|
}
|
|
110135
110135
|
}
|
|
110136
110136
|
e8.assertEqual = D7;
|
|
@@ -110214,17 +110214,17 @@ Verbose Debug Information: ` + (typeof fe11 == "string" ? fe11 : fe11())), y6(se
|
|
|
110214
110214
|
if (L10 === 0)
|
|
110215
110215
|
return Te10.length > 0 && Te10[0][0] === 0 ? Te10[0][1] : "0";
|
|
110216
110216
|
if (fe11) {
|
|
110217
|
-
let
|
|
110217
|
+
let He11 = [], Qe11 = L10;
|
|
110218
110218
|
for (let [st10, Ct14] of Te10) {
|
|
110219
110219
|
if (st10 > L10)
|
|
110220
110220
|
break;
|
|
110221
|
-
st10 !== 0 && st10 & L10 && (
|
|
110221
|
+
st10 !== 0 && st10 & L10 && (He11.push(Ct14), Qe11 &= ~st10);
|
|
110222
110222
|
}
|
|
110223
110223
|
if (Qe11 === 0)
|
|
110224
|
-
return
|
|
110224
|
+
return He11.join("|");
|
|
110225
110225
|
} else
|
|
110226
|
-
for (let [
|
|
110227
|
-
if (
|
|
110226
|
+
for (let [He11, Qe11] of Te10)
|
|
110227
|
+
if (He11 === L10)
|
|
110228
110228
|
return Qe11;
|
|
110229
110229
|
return L10.toString();
|
|
110230
110230
|
}
|
|
@@ -110235,11 +110235,11 @@ Verbose Debug Information: ` + (typeof fe11 == "string" ? fe11 : fe11())), y6(se
|
|
|
110235
110235
|
if (se11)
|
|
110236
110236
|
return se11;
|
|
110237
110237
|
let fe11 = [];
|
|
110238
|
-
for (let
|
|
110239
|
-
let Qe11 = L10[
|
|
110240
|
-
typeof Qe11 == "number" && fe11.push([Qe11,
|
|
110238
|
+
for (let He11 in L10) {
|
|
110239
|
+
let Qe11 = L10[He11];
|
|
110240
|
+
typeof Qe11 == "number" && fe11.push([Qe11, He11]);
|
|
110241
110241
|
}
|
|
110242
|
-
let Te10 = fy(fe11, (
|
|
110242
|
+
let Te10 = fy(fe11, (He11, Qe11) => Sm2(He11[0], Qe11[0]));
|
|
110243
110243
|
return ir10.set(L10, Te10), Te10;
|
|
110244
110244
|
}
|
|
110245
110245
|
function Ot13(L10) {
|
|
@@ -110340,13 +110340,13 @@ Verbose Debug Information: ` + (typeof fe11 == "string" ? fe11 : fe11())), y6(se
|
|
|
110340
110340
|
return;
|
|
110341
110341
|
let L10 = new WeakMap, se11 = new WeakMap;
|
|
110342
110342
|
Object.defineProperties(Et14.getSymbolConstructor().prototype, { __tsDebuggerDisplay: { value() {
|
|
110343
|
-
let Te10 = this.flags & 33554432 ? "TransientSymbol" : "Symbol",
|
|
110344
|
-
return `${Te10} '${Jp2(this)}'${
|
|
110343
|
+
let Te10 = this.flags & 33554432 ? "TransientSymbol" : "Symbol", He11 = this.flags & -33554433;
|
|
110344
|
+
return `${Te10} '${Jp2(this)}'${He11 ? ` (${ot10(He11)})` : ""}`;
|
|
110345
110345
|
} }, __debugFlags: { get() {
|
|
110346
110346
|
return ot10(this.flags);
|
|
110347
110347
|
} } }), Object.defineProperties(Et14.getTypeConstructor().prototype, { __tsDebuggerDisplay: { value() {
|
|
110348
|
-
let Te10 = this.flags & 67359327 ? `IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName ? ` (${this.debugIntrinsicName})` : ""}` : this.flags & 98304 ? "NullableType" : this.flags & 384 ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 ? `LiteralType ${this.value.negative ? "-" : ""}${this.value.base10Value}n` : this.flags & 8192 ? "UniqueESSymbolType" : this.flags & 32 ? "EnumType" : this.flags & 1048576 ? "UnionType" : this.flags & 2097152 ? "IntersectionType" : this.flags & 4194304 ? "IndexType" : this.flags & 8388608 ? "IndexedAccessType" : this.flags & 16777216 ? "ConditionalType" : this.flags & 33554432 ? "SubstitutionType" : this.flags & 262144 ? "TypeParameter" : this.flags & 524288 ? this.objectFlags & 3 ? "InterfaceType" : this.objectFlags & 4 ? "TypeReference" : this.objectFlags & 8 ? "TupleType" : this.objectFlags & 16 ? "AnonymousType" : this.objectFlags & 32 ? "MappedType" : this.objectFlags & 1024 ? "ReverseMappedType" : this.objectFlags & 256 ? "EvolvingArrayType" : "ObjectType" : "Type",
|
|
110349
|
-
return `${Te10}${this.symbol ? ` '${Jp2(this.symbol)}'` : ""}${
|
|
110348
|
+
let Te10 = this.flags & 67359327 ? `IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName ? ` (${this.debugIntrinsicName})` : ""}` : this.flags & 98304 ? "NullableType" : this.flags & 384 ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 ? `LiteralType ${this.value.negative ? "-" : ""}${this.value.base10Value}n` : this.flags & 8192 ? "UniqueESSymbolType" : this.flags & 32 ? "EnumType" : this.flags & 1048576 ? "UnionType" : this.flags & 2097152 ? "IntersectionType" : this.flags & 4194304 ? "IndexType" : this.flags & 8388608 ? "IndexedAccessType" : this.flags & 16777216 ? "ConditionalType" : this.flags & 33554432 ? "SubstitutionType" : this.flags & 262144 ? "TypeParameter" : this.flags & 524288 ? this.objectFlags & 3 ? "InterfaceType" : this.objectFlags & 4 ? "TypeReference" : this.objectFlags & 8 ? "TupleType" : this.objectFlags & 16 ? "AnonymousType" : this.objectFlags & 32 ? "MappedType" : this.objectFlags & 1024 ? "ReverseMappedType" : this.objectFlags & 256 ? "EvolvingArrayType" : "ObjectType" : "Type", He11 = this.flags & 524288 ? this.objectFlags & -1344 : 0;
|
|
110349
|
+
return `${Te10}${this.symbol ? ` '${Jp2(this.symbol)}'` : ""}${He11 ? ` (${Lt12(He11)})` : ""}`;
|
|
110350
110350
|
} }, __debugFlags: { get() {
|
|
110351
110351
|
return at12(this.flags);
|
|
110352
110352
|
} }, __debugObjectFlags: { get() {
|
|
@@ -110376,13 +110376,13 @@ Verbose Debug Information: ` + (typeof fe11 == "string" ? fe11 : fe11())), y6(se
|
|
|
110376
110376
|
return gl5(this);
|
|
110377
110377
|
} }, __debugEmitFlags: { get() {
|
|
110378
110378
|
return $t10(za5(this));
|
|
110379
|
-
} }, __debugGetText: { value(
|
|
110379
|
+
} }, __debugGetText: { value(He11) {
|
|
110380
110380
|
if (Ja6(this))
|
|
110381
110381
|
return "";
|
|
110382
110382
|
let Qe11 = se11.get(this);
|
|
110383
110383
|
if (Qe11 === undefined) {
|
|
110384
110384
|
let st10 = mg(this), Ct14 = st10 && hi10(st10);
|
|
110385
|
-
Qe11 = Ct14 ? Od(Ct14, st10,
|
|
110385
|
+
Qe11 = Ct14 ? Od(Ct14, st10, He11) : "", se11.set(this, Qe11);
|
|
110386
110386
|
}
|
|
110387
110387
|
return Qe11;
|
|
110388
110388
|
} } });
|
|
@@ -110438,10 +110438,10 @@ m2: ${this.mapper2.__debugToString().split(`
|
|
|
110438
110438
|
((u3) => {
|
|
110439
110439
|
u3.lr = "─", u3.ud = "│", u3.dr = "╭", u3.dl = "╮", u3.ul = "╯", u3.ur = "╰", u3.udr = "├", u3.udl = "┤", u3.dlr = "┬", u3.ulr = "┴", u3.udlr = "╫";
|
|
110440
110440
|
})(Te10 || (Te10 = {}));
|
|
110441
|
-
let
|
|
110441
|
+
let He11;
|
|
110442
110442
|
((u3) => {
|
|
110443
110443
|
u3[u3.None = 0] = "None", u3[u3.Up = 1] = "Up", u3[u3.Down = 2] = "Down", u3[u3.Left = 4] = "Left", u3[u3.Right = 8] = "Right", u3[u3.UpDown = 3] = "UpDown", u3[u3.LeftRight = 12] = "LeftRight", u3[u3.UpLeft = 5] = "UpLeft", u3[u3.UpRight = 9] = "UpRight", u3[u3.DownLeft = 6] = "DownLeft", u3[u3.DownRight = 10] = "DownRight", u3[u3.UpDownLeft = 7] = "UpDownLeft", u3[u3.UpDownRight = 11] = "UpDownRight", u3[u3.UpLeftRight = 13] = "UpLeftRight", u3[u3.DownLeftRight = 14] = "DownLeftRight", u3[u3.UpDownLeftRight = 15] = "UpDownLeftRight", u3[u3.NoChildren = 16] = "NoChildren";
|
|
110444
|
-
})(
|
|
110444
|
+
})(He11 || (He11 = {}));
|
|
110445
110445
|
let Qe11 = 2032, st10 = 882, Ct14 = Object.create(null), Tt14 = [], lt10 = [], Mr8 = Se12(L10, new Set);
|
|
110446
110446
|
for (let u3 of Tt14)
|
|
110447
110447
|
u3.text = rt14(u3.flowNode, u3.circular), me13(u3);
|
|
@@ -111304,7 +111304,7 @@ ${Me12.join(`
|
|
|
111304
111304
|
function Te10(o4) {
|
|
111305
111305
|
fe11(o4, 8192);
|
|
111306
111306
|
}
|
|
111307
|
-
function
|
|
111307
|
+
function He11(o4) {
|
|
111308
111308
|
fe11(o4, 16384);
|
|
111309
111309
|
}
|
|
111310
111310
|
function Qe11(o4) {
|
|
@@ -112292,9 +112292,9 @@ ${Me12.join(`
|
|
|
112292
112292
|
}
|
|
112293
112293
|
function fs26(o4, p4) {
|
|
112294
112294
|
let m7 = we10(), g5 = Ye10();
|
|
112295
|
-
|
|
112295
|
+
He11(!!(o4 & 1)), st10(!!(o4 & 2));
|
|
112296
112296
|
let b7 = o4 & 32 ? un8(17, cs7) : un8(16, () => p4 ? us8(g5) : ro5(g5));
|
|
112297
|
-
return
|
|
112297
|
+
return He11(m7), st10(g5), b7;
|
|
112298
112298
|
}
|
|
112299
112299
|
function Xn9(o4) {
|
|
112300
112300
|
if (!J14(21))
|
|
@@ -112943,11 +112943,11 @@ ${Me12.join(`
|
|
|
112943
112943
|
if (u4() !== 27 && u4() !== 100 && u4() !== 86 && xc3() && !No3())
|
|
112944
112944
|
return wa4(16 | (o4 ? 2 : 0));
|
|
112945
112945
|
let m7 = we10();
|
|
112946
|
-
|
|
112946
|
+
He11(false);
|
|
112947
112947
|
let g5 = qt11;
|
|
112948
112948
|
qt11 = false;
|
|
112949
112949
|
let b7 = o4 ? U11(() => zt11(p4)) : K12(() => zt11(p4));
|
|
112950
|
-
return qt11 = g5,
|
|
112950
|
+
return qt11 = g5, He11(m7), b7;
|
|
112951
112951
|
}
|
|
112952
112952
|
function mu3(o4, p4, m7) {
|
|
112953
112953
|
let g5 = pt12(58);
|
|
@@ -113495,7 +113495,7 @@ ${Me12.join(`
|
|
|
113495
113495
|
}
|
|
113496
113496
|
function wa4(o4, p4) {
|
|
113497
113497
|
let m7 = we10();
|
|
113498
|
-
|
|
113498
|
+
He11(!!(o4 & 1));
|
|
113499
113499
|
let g5 = Ye10();
|
|
113500
113500
|
st10(!!(o4 & 2));
|
|
113501
113501
|
let b7 = qt11;
|
|
@@ -113503,7 +113503,7 @@ ${Me12.join(`
|
|
|
113503
113503
|
let N10 = Ze12();
|
|
113504
113504
|
N10 && Qe11(false);
|
|
113505
113505
|
let Q12 = Fr7(!!(o4 & 16), p4);
|
|
113506
|
-
return N10 && Qe11(true), qt11 = b7,
|
|
113506
|
+
return N10 && Qe11(true), qt11 = b7, He11(m7), st10(g5), Q12;
|
|
113507
113507
|
}
|
|
113508
113508
|
function lc3() {
|
|
113509
113509
|
let o4 = M12(), p4 = Ue10();
|
|
@@ -114099,9 +114099,9 @@ ${Me12.join(`
|
|
|
114099
114099
|
}
|
|
114100
114100
|
function Hu3() {
|
|
114101
114101
|
let o4 = we10(), p4 = Ye10();
|
|
114102
|
-
|
|
114102
|
+
He11(false), st10(true);
|
|
114103
114103
|
let m7 = Fr7(false);
|
|
114104
|
-
return
|
|
114104
|
+
return He11(o4), st10(p4), m7;
|
|
114105
114105
|
}
|
|
114106
114106
|
function jc2() {
|
|
114107
114107
|
if (Ye10() && u4() === 135) {
|
|
@@ -115905,11 +115905,11 @@ function chooseDescription(descriptions, printWidth) {
|
|
|
115905
115905
|
return firstWidth > printWidth && firstWidth > secondWidth ? secondDescription : firstDescription;
|
|
115906
115906
|
}
|
|
115907
115907
|
function createSchema(SchemaConstructor, parameters) {
|
|
115908
|
-
const
|
|
115909
|
-
const subSchema = Object.create(
|
|
115908
|
+
const schema10 = new SchemaConstructor(parameters);
|
|
115909
|
+
const subSchema = Object.create(schema10);
|
|
115910
115910
|
for (const handlerKey of HANDLER_KEYS) {
|
|
115911
115911
|
if (handlerKey in parameters) {
|
|
115912
|
-
subSchema[handlerKey] = normalizeHandler(parameters[handlerKey],
|
|
115912
|
+
subSchema[handlerKey] = normalizeHandler(parameters[handlerKey], schema10, Schema2.prototype[handlerKey].length);
|
|
115913
115913
|
}
|
|
115914
115914
|
}
|
|
115915
115915
|
return subSchema;
|
|
@@ -116166,8 +116166,8 @@ async function loadEditorconfigInternal(file2, { shouldCache }) {
|
|
|
116166
116166
|
const directory = path52.dirname(file2);
|
|
116167
116167
|
const root2 = await findProjectRoot2(directory, { shouldCache });
|
|
116168
116168
|
const editorConfig = await import_editorconfig.default.parse(file2, { root: root2 });
|
|
116169
|
-
const
|
|
116170
|
-
return
|
|
116169
|
+
const config11 = editorconfig_to_prettier_default(editorConfig);
|
|
116170
|
+
return config11;
|
|
116171
116171
|
}
|
|
116172
116172
|
function loadEditorconfig(file2, { shouldCache }) {
|
|
116173
116173
|
file2 = path52.resolve(file2);
|
|
@@ -116351,7 +116351,7 @@ function unicodeEscape() {
|
|
|
116351
116351
|
}
|
|
116352
116352
|
return String.fromCodePoint(parseInt(buffer2, 16));
|
|
116353
116353
|
}
|
|
116354
|
-
function
|
|
116354
|
+
function push4() {
|
|
116355
116355
|
let value;
|
|
116356
116356
|
switch (token.type) {
|
|
116357
116357
|
case "punctuator":
|
|
@@ -118157,18 +118157,18 @@ async function loadConfig(configFile) {
|
|
|
118157
118157
|
if (!load2) {
|
|
118158
118158
|
throw new Error(`No loader specified for extension "${extension || "noExt"}"`);
|
|
118159
118159
|
}
|
|
118160
|
-
let
|
|
118161
|
-
if (!
|
|
118160
|
+
let config11 = await load2(configFile);
|
|
118161
|
+
if (!config11) {
|
|
118162
118162
|
return;
|
|
118163
118163
|
}
|
|
118164
|
-
if (typeof
|
|
118165
|
-
|
|
118164
|
+
if (typeof config11 === "string") {
|
|
118165
|
+
config11 = await load_external_config_default(config11, configFile);
|
|
118166
118166
|
}
|
|
118167
|
-
if (typeof
|
|
118168
|
-
throw new TypeError(`Config is only allowed to be an object, but received ${typeof
|
|
118167
|
+
if (typeof config11 !== "object") {
|
|
118168
|
+
throw new TypeError(`Config is only allowed to be an object, but received ${typeof config11} in "${configFile}"`);
|
|
118169
118169
|
}
|
|
118170
|
-
delete
|
|
118171
|
-
return
|
|
118170
|
+
delete config11.$schema;
|
|
118171
|
+
return config11;
|
|
118172
118172
|
}
|
|
118173
118173
|
function clearPrettierConfigCache() {
|
|
118174
118174
|
loadCache.clear();
|
|
@@ -118218,8 +118218,8 @@ async function loadPrettierConfig2(file2, options8) {
|
|
|
118218
118218
|
return;
|
|
118219
118219
|
}
|
|
118220
118220
|
configFile = toPath3(configFile);
|
|
118221
|
-
const
|
|
118222
|
-
return { config:
|
|
118221
|
+
const config11 = await loadPrettierConfig(configFile, { shouldCache });
|
|
118222
|
+
return { config: config11, configFile };
|
|
118223
118223
|
}
|
|
118224
118224
|
async function resolveConfig(fileUrlOrPath, options8) {
|
|
118225
118225
|
options8 = { useCache: true, ...options8 };
|
|
@@ -118246,8 +118246,8 @@ async function resolveConfigFile(fileUrlOrPath) {
|
|
|
118246
118246
|
return result ?? null;
|
|
118247
118247
|
}
|
|
118248
118248
|
function mergeOverrides(configResult, filePath) {
|
|
118249
|
-
const { config:
|
|
118250
|
-
const { overrides, ...options8 } =
|
|
118249
|
+
const { config: config11, configFile } = configResult || {};
|
|
118250
|
+
const { overrides, ...options8 } = config11 || {};
|
|
118251
118251
|
if (filePath && overrides) {
|
|
118252
118252
|
const relativeFilePath = path102.relative(path102.dirname(configFile), filePath);
|
|
118253
118253
|
for (const override of overrides) {
|
|
@@ -119249,9 +119249,9 @@ function optionInfoToSchema(optionInfo, {
|
|
|
119249
119249
|
throw new Error(`Unexpected type ${optionInfo.type}`);
|
|
119250
119250
|
}
|
|
119251
119251
|
if (optionInfo.exception) {
|
|
119252
|
-
parameters.validate = (value,
|
|
119252
|
+
parameters.validate = (value, schema10, utils3) => optionInfo.exception(value) || schema10.validate(value, utils3);
|
|
119253
119253
|
} else {
|
|
119254
|
-
parameters.validate = (value,
|
|
119254
|
+
parameters.validate = (value, schema10, utils3) => value === undefined || schema10.validate(value, utils3);
|
|
119255
119255
|
}
|
|
119256
119256
|
if (optionInfo.redirect) {
|
|
119257
119257
|
handlers.redirect = (value) => !value ? undefined : {
|
|
@@ -119266,7 +119266,7 @@ function optionInfoToSchema(optionInfo, {
|
|
|
119266
119266
|
}
|
|
119267
119267
|
if (isCLI && !optionInfo.array) {
|
|
119268
119268
|
const originalPreprocess = parameters.preprocess || ((x10) => x10);
|
|
119269
|
-
parameters.preprocess = (value,
|
|
119269
|
+
parameters.preprocess = (value, schema10, utils3) => schema10.preprocess(originalPreprocess(Array.isArray(value) ? method_at_default2(0, value, -1) : value), utils3);
|
|
119270
119270
|
}
|
|
119271
119271
|
return optionInfo.array ? ArraySchema.create({
|
|
119272
119272
|
...isCLI ? {
|
|
@@ -120356,16 +120356,16 @@ async function getFileInfo(file2, options8 = {}) {
|
|
|
120356
120356
|
};
|
|
120357
120357
|
}
|
|
120358
120358
|
async function getParser(file2, options8) {
|
|
120359
|
-
let
|
|
120359
|
+
let config11;
|
|
120360
120360
|
if (options8.resolveConfig !== false) {
|
|
120361
|
-
|
|
120361
|
+
config11 = await resolveConfig(file2, {
|
|
120362
120362
|
editorconfig: false
|
|
120363
120363
|
});
|
|
120364
120364
|
}
|
|
120365
|
-
if (
|
|
120366
|
-
return
|
|
120365
|
+
if (config11?.parser) {
|
|
120366
|
+
return config11.parser;
|
|
120367
120367
|
}
|
|
120368
|
-
let plugins = options8.plugins ??
|
|
120368
|
+
let plugins = options8.plugins ?? config11?.plugins ?? [];
|
|
120369
120369
|
plugins = (await Promise.all([load_builtin_plugins_default(), load_plugins_default(plugins)])).flat();
|
|
120370
120370
|
return infer_parser_default({ plugins }, { physicalFile: file2 });
|
|
120371
120371
|
}
|
|
@@ -120843,9 +120843,9 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc,
|
|
|
120843
120843
|
};
|
|
120844
120844
|
applyNormalization();
|
|
120845
120845
|
for (const key2 of Object.keys(this._utils.schemas)) {
|
|
120846
|
-
const
|
|
120846
|
+
const schema10 = this._utils.schemas[key2];
|
|
120847
120847
|
if (!(key2 in newOptions)) {
|
|
120848
|
-
const defaultResult = normalizeDefaultResult(
|
|
120848
|
+
const defaultResult = normalizeDefaultResult(schema10.default(this._utils));
|
|
120849
120849
|
if ("value" in defaultResult) {
|
|
120850
120850
|
restOptionsArray.push({ [key2]: defaultResult.value });
|
|
120851
120851
|
}
|
|
@@ -120856,13 +120856,13 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc,
|
|
|
120856
120856
|
if (!(key2 in newOptions)) {
|
|
120857
120857
|
continue;
|
|
120858
120858
|
}
|
|
120859
|
-
const
|
|
120859
|
+
const schema10 = this._utils.schemas[key2];
|
|
120860
120860
|
const value = newOptions[key2];
|
|
120861
|
-
const newValue =
|
|
120861
|
+
const newValue = schema10.postprocess(value, this._utils);
|
|
120862
120862
|
if (newValue === VALUE_UNCHANGED) {
|
|
120863
120863
|
continue;
|
|
120864
120864
|
}
|
|
120865
|
-
this._applyValidation(newValue, key2,
|
|
120865
|
+
this._applyValidation(newValue, key2, schema10);
|
|
120866
120866
|
newOptions[key2] = newValue;
|
|
120867
120867
|
}
|
|
120868
120868
|
this._applyPostprocess(newOptions);
|
|
@@ -120873,14 +120873,14 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc,
|
|
|
120873
120873
|
const transferredOptionsArray = [];
|
|
120874
120874
|
const { knownKeys, unknownKeys } = this._partitionOptionKeys(options8);
|
|
120875
120875
|
for (const key2 of knownKeys) {
|
|
120876
|
-
const
|
|
120877
|
-
const value =
|
|
120878
|
-
this._applyValidation(value, key2,
|
|
120876
|
+
const schema10 = this._utils.schemas[key2];
|
|
120877
|
+
const value = schema10.preprocess(options8[key2], this._utils);
|
|
120878
|
+
this._applyValidation(value, key2, schema10);
|
|
120879
120879
|
const appendTransferredOptions = ({ from, to: to5 }) => {
|
|
120880
120880
|
transferredOptionsArray.push(typeof to5 === "string" ? { [to5]: from } : { [to5.key]: to5.value });
|
|
120881
120881
|
};
|
|
120882
120882
|
const warnDeprecated = ({ value: currentValue, redirectTo }) => {
|
|
120883
|
-
const deprecatedResult = normalizeDeprecatedResult(
|
|
120883
|
+
const deprecatedResult = normalizeDeprecatedResult(schema10.deprecated(currentValue, this._utils), value, true);
|
|
120884
120884
|
if (deprecatedResult === false) {
|
|
120885
120885
|
return;
|
|
120886
120886
|
}
|
|
@@ -120898,13 +120898,13 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc,
|
|
|
120898
120898
|
}
|
|
120899
120899
|
}
|
|
120900
120900
|
};
|
|
120901
|
-
const forwardResult = normalizeForwardResult(
|
|
120901
|
+
const forwardResult = normalizeForwardResult(schema10.forward(value, this._utils), value);
|
|
120902
120902
|
forwardResult.forEach(appendTransferredOptions);
|
|
120903
|
-
const redirectResult = normalizeRedirectResult(
|
|
120903
|
+
const redirectResult = normalizeRedirectResult(schema10.redirect(value, this._utils), value);
|
|
120904
120904
|
redirectResult.redirect.forEach(appendTransferredOptions);
|
|
120905
120905
|
if ("remain" in redirectResult) {
|
|
120906
120906
|
const remainingValue = redirectResult.remain;
|
|
120907
|
-
newOptions[key2] = key2 in newOptions ?
|
|
120907
|
+
newOptions[key2] = key2 in newOptions ? schema10.overlap(newOptions[key2], remainingValue, this._utils) : remainingValue;
|
|
120908
120908
|
warnDeprecated({ value: remainingValue });
|
|
120909
120909
|
}
|
|
120910
120910
|
for (const { from, to: to5 } of redirectResult.redirect) {
|
|
@@ -120932,8 +120932,8 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc,
|
|
|
120932
120932
|
const [knownKeys, unknownKeys] = partition(Object.keys(options8).filter((key2) => !this._identifyMissing(key2, options8)), (key2) => (key2 in this._utils.schemas));
|
|
120933
120933
|
return { knownKeys, unknownKeys };
|
|
120934
120934
|
}
|
|
120935
|
-
_applyValidation(value, key2,
|
|
120936
|
-
const validateResult = normalizeValidateResult(
|
|
120935
|
+
_applyValidation(value, key2, schema10) {
|
|
120936
|
+
const validateResult = normalizeValidateResult(schema10.validate(value, this._utils), value);
|
|
120937
120937
|
if (validateResult !== true) {
|
|
120938
120938
|
throw this._invalidHandler(key2, validateResult.value, this._utils);
|
|
120939
120939
|
}
|
|
@@ -120975,8 +120975,8 @@ var require2, __filename2, __dirname3, __create2, __defProp3, __getOwnPropDesc,
|
|
|
120975
120975
|
for (const key2 of unknownKeys) {
|
|
120976
120976
|
const value = postprocessed.override[key2];
|
|
120977
120977
|
this._applyUnknownHandler(key2, value, options8, (knownResultKey, knownResultValue) => {
|
|
120978
|
-
const
|
|
120979
|
-
this._applyValidation(knownResultValue, knownResultKey,
|
|
120978
|
+
const schema10 = this._utils.schemas[knownResultKey];
|
|
120979
|
+
this._applyValidation(knownResultValue, knownResultKey, schema10);
|
|
120980
120980
|
options8[knownResultKey] = knownResultValue;
|
|
120981
120981
|
});
|
|
120982
120982
|
}
|
|
@@ -130673,7 +130673,7 @@ globstar while`, file2, fr10, pattern, pr8, swallowee);
|
|
|
130673
130673
|
if (token.type === "eof") {
|
|
130674
130674
|
throw invalidEOF();
|
|
130675
130675
|
}
|
|
130676
|
-
|
|
130676
|
+
push4();
|
|
130677
130677
|
},
|
|
130678
130678
|
beforePropertyName() {
|
|
130679
130679
|
switch (token.type) {
|
|
@@ -130699,7 +130699,7 @@ globstar while`, file2, fr10, pattern, pr8, swallowee);
|
|
|
130699
130699
|
if (token.type === "eof") {
|
|
130700
130700
|
throw invalidEOF();
|
|
130701
130701
|
}
|
|
130702
|
-
|
|
130702
|
+
push4();
|
|
130703
130703
|
},
|
|
130704
130704
|
beforeArrayValue() {
|
|
130705
130705
|
if (token.type === "eof") {
|
|
@@ -130709,7 +130709,7 @@ globstar while`, file2, fr10, pattern, pr8, swallowee);
|
|
|
130709
130709
|
pop();
|
|
130710
130710
|
return;
|
|
130711
130711
|
}
|
|
130712
|
-
|
|
130712
|
+
push4();
|
|
130713
130713
|
},
|
|
130714
130714
|
afterPropertyValue() {
|
|
130715
130715
|
if (token.type === "eof") {
|
|
@@ -133208,7 +133208,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
133208
133208
|
return mapDoc2(doc2, (currentDoc) => cleanDocFn2(currentDoc));
|
|
133209
133209
|
}
|
|
133210
133210
|
function replaceEndOfLine2(doc2, replacement = literalline2) {
|
|
133211
|
-
return mapDoc2(doc2, (currentDoc) => typeof currentDoc === "string" ?
|
|
133211
|
+
return mapDoc2(doc2, (currentDoc) => typeof currentDoc === "string" ? join21(replacement, currentDoc.split(`
|
|
133212
133212
|
`)) : currentDoc);
|
|
133213
133213
|
}
|
|
133214
133214
|
function canBreakFn2(doc2) {
|
|
@@ -133294,7 +133294,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
133294
133294
|
negate: options8.negate
|
|
133295
133295
|
};
|
|
133296
133296
|
}
|
|
133297
|
-
function
|
|
133297
|
+
function join21(separator, docs) {
|
|
133298
133298
|
assertDoc2(separator);
|
|
133299
133299
|
assertDocArray2(docs);
|
|
133300
133300
|
const parts = [];
|
|
@@ -133959,7 +133959,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
133959
133959
|
}
|
|
133960
133960
|
}
|
|
133961
133961
|
var builders2 = {
|
|
133962
|
-
join:
|
|
133962
|
+
join: join21,
|
|
133963
133963
|
line: line3,
|
|
133964
133964
|
softline: softline2,
|
|
133965
133965
|
hardline: hardline4,
|
|
@@ -134689,23 +134689,23 @@ var require_JSONSchema = __commonJS((exports) => {
|
|
|
134689
134689
|
exports.Parent = Symbol("Parent");
|
|
134690
134690
|
exports.Types = Symbol("Types");
|
|
134691
134691
|
exports.Intersection = Symbol("Intersection");
|
|
134692
|
-
exports.getRootSchema = (0, lodash_1.memoize)((
|
|
134693
|
-
const parent =
|
|
134692
|
+
exports.getRootSchema = (0, lodash_1.memoize)((schema10) => {
|
|
134693
|
+
const parent = schema10[exports.Parent];
|
|
134694
134694
|
if (!parent) {
|
|
134695
|
-
return
|
|
134695
|
+
return schema10;
|
|
134696
134696
|
}
|
|
134697
134697
|
return (0, exports.getRootSchema)(parent);
|
|
134698
134698
|
});
|
|
134699
|
-
function isBoolean(
|
|
134700
|
-
return
|
|
134699
|
+
function isBoolean(schema10) {
|
|
134700
|
+
return schema10 === true || schema10 === false;
|
|
134701
134701
|
}
|
|
134702
134702
|
exports.isBoolean = isBoolean;
|
|
134703
|
-
function isPrimitive(
|
|
134704
|
-
return !(0, lodash_1.isPlainObject)(
|
|
134703
|
+
function isPrimitive(schema10) {
|
|
134704
|
+
return !(0, lodash_1.isPlainObject)(schema10);
|
|
134705
134705
|
}
|
|
134706
134706
|
exports.isPrimitive = isPrimitive;
|
|
134707
|
-
function isCompound(
|
|
134708
|
-
return Array.isArray(
|
|
134707
|
+
function isCompound(schema10) {
|
|
134708
|
+
return Array.isArray(schema10.type) || "anyOf" in schema10 || "oneOf" in schema10;
|
|
134709
134709
|
}
|
|
134710
134710
|
exports.isCompound = isCompound;
|
|
134711
134711
|
});
|
|
@@ -134932,9 +134932,9 @@ var require_type2 = __commonJS((exports, module) => {
|
|
|
134932
134932
|
var require_schema5 = __commonJS((exports, module) => {
|
|
134933
134933
|
var YAMLException = require_exception2();
|
|
134934
134934
|
var Type = require_type2();
|
|
134935
|
-
function compileList(
|
|
134935
|
+
function compileList(schema10, name2) {
|
|
134936
134936
|
var result = [];
|
|
134937
|
-
|
|
134937
|
+
schema10[name2].forEach(function(currentType) {
|
|
134938
134938
|
var newIndex = result.length;
|
|
134939
134939
|
result.forEach(function(previousType, previousIndex) {
|
|
134940
134940
|
if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) {
|
|
@@ -136879,7 +136879,7 @@ var require_dumper2 = __commonJS((exports, module) => {
|
|
|
136879
136879
|
"OFF"
|
|
136880
136880
|
];
|
|
136881
136881
|
var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
136882
|
-
function compileStyleMap(
|
|
136882
|
+
function compileStyleMap(schema10, map2) {
|
|
136883
136883
|
var result, keys, index, length, tag, style, type;
|
|
136884
136884
|
if (map2 === null)
|
|
136885
136885
|
return {};
|
|
@@ -136891,7 +136891,7 @@ var require_dumper2 = __commonJS((exports, module) => {
|
|
|
136891
136891
|
if (tag.slice(0, 2) === "!!") {
|
|
136892
136892
|
tag = "tag:yaml.org,2002:" + tag.slice(2);
|
|
136893
136893
|
}
|
|
136894
|
-
type =
|
|
136894
|
+
type = schema10.compiledTypeMap["fallback"][tag];
|
|
136895
136895
|
if (type && _hasOwnProperty.call(type.styleAliases, style)) {
|
|
136896
136896
|
style = type.styleAliases[style];
|
|
136897
136897
|
}
|
|
@@ -137550,11 +137550,11 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
137550
137550
|
function traverseArray(arr, callback, processed) {
|
|
137551
137551
|
arr.forEach((s5, k9) => traverse(s5, callback, processed, k9.toString()));
|
|
137552
137552
|
}
|
|
137553
|
-
function traverseIntersection(
|
|
137554
|
-
if (typeof
|
|
137553
|
+
function traverseIntersection(schema10, callback, processed) {
|
|
137554
|
+
if (typeof schema10 !== "object" || !schema10) {
|
|
137555
137555
|
return;
|
|
137556
137556
|
}
|
|
137557
|
-
const r5 =
|
|
137557
|
+
const r5 = schema10;
|
|
137558
137558
|
const intersection2 = r5[JSONSchema_1.Intersection];
|
|
137559
137559
|
if (!intersection2) {
|
|
137560
137560
|
return;
|
|
@@ -137563,60 +137563,60 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
137563
137563
|
traverseArray(intersection2.allOf, callback, processed);
|
|
137564
137564
|
}
|
|
137565
137565
|
}
|
|
137566
|
-
function traverse(
|
|
137567
|
-
if (processed.has(
|
|
137566
|
+
function traverse(schema10, callback, processed = new Set, key2) {
|
|
137567
|
+
if (processed.has(schema10)) {
|
|
137568
137568
|
return;
|
|
137569
137569
|
}
|
|
137570
|
-
processed.add(
|
|
137571
|
-
callback(
|
|
137572
|
-
if (
|
|
137573
|
-
traverseArray(
|
|
137570
|
+
processed.add(schema10);
|
|
137571
|
+
callback(schema10, key2 !== null && key2 !== undefined ? key2 : null);
|
|
137572
|
+
if (schema10.anyOf) {
|
|
137573
|
+
traverseArray(schema10.anyOf, callback, processed);
|
|
137574
137574
|
}
|
|
137575
|
-
if (
|
|
137576
|
-
traverseArray(
|
|
137575
|
+
if (schema10.allOf) {
|
|
137576
|
+
traverseArray(schema10.allOf, callback, processed);
|
|
137577
137577
|
}
|
|
137578
|
-
if (
|
|
137579
|
-
traverseArray(
|
|
137578
|
+
if (schema10.oneOf) {
|
|
137579
|
+
traverseArray(schema10.oneOf, callback, processed);
|
|
137580
137580
|
}
|
|
137581
|
-
if (
|
|
137582
|
-
traverseObjectKeys(
|
|
137581
|
+
if (schema10.properties) {
|
|
137582
|
+
traverseObjectKeys(schema10.properties, callback, processed);
|
|
137583
137583
|
}
|
|
137584
|
-
if (
|
|
137585
|
-
traverseObjectKeys(
|
|
137584
|
+
if (schema10.patternProperties) {
|
|
137585
|
+
traverseObjectKeys(schema10.patternProperties, callback, processed);
|
|
137586
137586
|
}
|
|
137587
|
-
if (
|
|
137588
|
-
traverse(
|
|
137587
|
+
if (schema10.additionalProperties && typeof schema10.additionalProperties === "object") {
|
|
137588
|
+
traverse(schema10.additionalProperties, callback, processed);
|
|
137589
137589
|
}
|
|
137590
|
-
if (
|
|
137591
|
-
const { items } =
|
|
137590
|
+
if (schema10.items) {
|
|
137591
|
+
const { items } = schema10;
|
|
137592
137592
|
if (Array.isArray(items)) {
|
|
137593
137593
|
traverseArray(items, callback, processed);
|
|
137594
137594
|
} else {
|
|
137595
137595
|
traverse(items, callback, processed);
|
|
137596
137596
|
}
|
|
137597
137597
|
}
|
|
137598
|
-
if (
|
|
137599
|
-
traverse(
|
|
137598
|
+
if (schema10.additionalItems && typeof schema10.additionalItems === "object") {
|
|
137599
|
+
traverse(schema10.additionalItems, callback, processed);
|
|
137600
137600
|
}
|
|
137601
|
-
if (
|
|
137602
|
-
if (Array.isArray(
|
|
137603
|
-
traverseArray(
|
|
137601
|
+
if (schema10.dependencies) {
|
|
137602
|
+
if (Array.isArray(schema10.dependencies)) {
|
|
137603
|
+
traverseArray(schema10.dependencies, callback, processed);
|
|
137604
137604
|
} else {
|
|
137605
|
-
traverseObjectKeys(
|
|
137605
|
+
traverseObjectKeys(schema10.dependencies, callback, processed);
|
|
137606
137606
|
}
|
|
137607
137607
|
}
|
|
137608
|
-
if (
|
|
137609
|
-
traverseObjectKeys(
|
|
137608
|
+
if (schema10.definitions) {
|
|
137609
|
+
traverseObjectKeys(schema10.definitions, callback, processed);
|
|
137610
137610
|
}
|
|
137611
|
-
if (
|
|
137612
|
-
traverseObjectKeys(
|
|
137611
|
+
if (schema10.$defs) {
|
|
137612
|
+
traverseObjectKeys(schema10.$defs, callback, processed);
|
|
137613
137613
|
}
|
|
137614
|
-
if (
|
|
137615
|
-
traverse(
|
|
137614
|
+
if (schema10.not) {
|
|
137615
|
+
traverse(schema10.not, callback, processed);
|
|
137616
137616
|
}
|
|
137617
|
-
traverseIntersection(
|
|
137618
|
-
Object.keys(
|
|
137619
|
-
const child =
|
|
137617
|
+
traverseIntersection(schema10, callback, processed);
|
|
137618
|
+
Object.keys(schema10).filter((key3) => !BLACKLISTED_KEYS.has(key3)).forEach((key3) => {
|
|
137619
|
+
const child = schema10[key3];
|
|
137620
137620
|
if (child && typeof child === "object") {
|
|
137621
137621
|
traverseObjectKeys(child, callback, processed);
|
|
137622
137622
|
}
|
|
@@ -137698,14 +137698,14 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
137698
137698
|
return (_g2 = color()) === null || _g2 === undefined ? undefined : _g2.whiteBright.bgYellow;
|
|
137699
137699
|
}
|
|
137700
137700
|
}
|
|
137701
|
-
function escapeBlockComment(
|
|
137701
|
+
function escapeBlockComment(schema10) {
|
|
137702
137702
|
const replacer = "* /";
|
|
137703
|
-
if (
|
|
137703
|
+
if (schema10 === null || typeof schema10 !== "object") {
|
|
137704
137704
|
return;
|
|
137705
137705
|
}
|
|
137706
|
-
for (const key2 of Object.keys(
|
|
137707
|
-
if (key2 === "description" && typeof
|
|
137708
|
-
|
|
137706
|
+
for (const key2 of Object.keys(schema10)) {
|
|
137707
|
+
if (key2 === "description" && typeof schema10[key2] === "string") {
|
|
137708
|
+
schema10[key2] = schema10[key2].replace(/\*\//g, replacer);
|
|
137709
137709
|
}
|
|
137710
137710
|
}
|
|
137711
137711
|
}
|
|
@@ -137717,45 +137717,45 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
137717
137717
|
return path_1.posix.join(path_1.posix.normalize(outputPath), ...filePathRel);
|
|
137718
137718
|
}
|
|
137719
137719
|
exports.pathTransform = pathTransform;
|
|
137720
|
-
function maybeStripDefault(
|
|
137721
|
-
if (!("default" in
|
|
137722
|
-
return
|
|
137720
|
+
function maybeStripDefault(schema10) {
|
|
137721
|
+
if (!("default" in schema10)) {
|
|
137722
|
+
return schema10;
|
|
137723
137723
|
}
|
|
137724
|
-
switch (
|
|
137724
|
+
switch (schema10.type) {
|
|
137725
137725
|
case "array":
|
|
137726
|
-
if (Array.isArray(
|
|
137727
|
-
return
|
|
137726
|
+
if (Array.isArray(schema10.default)) {
|
|
137727
|
+
return schema10;
|
|
137728
137728
|
}
|
|
137729
137729
|
break;
|
|
137730
137730
|
case "boolean":
|
|
137731
|
-
if (typeof
|
|
137732
|
-
return
|
|
137731
|
+
if (typeof schema10.default === "boolean") {
|
|
137732
|
+
return schema10;
|
|
137733
137733
|
}
|
|
137734
137734
|
break;
|
|
137735
137735
|
case "integer":
|
|
137736
137736
|
case "number":
|
|
137737
|
-
if (typeof
|
|
137738
|
-
return
|
|
137737
|
+
if (typeof schema10.default === "number") {
|
|
137738
|
+
return schema10;
|
|
137739
137739
|
}
|
|
137740
137740
|
break;
|
|
137741
137741
|
case "string":
|
|
137742
|
-
if (typeof
|
|
137743
|
-
return
|
|
137742
|
+
if (typeof schema10.default === "string") {
|
|
137743
|
+
return schema10;
|
|
137744
137744
|
}
|
|
137745
137745
|
break;
|
|
137746
137746
|
case "null":
|
|
137747
|
-
if (
|
|
137748
|
-
return
|
|
137747
|
+
if (schema10.default === null) {
|
|
137748
|
+
return schema10;
|
|
137749
137749
|
}
|
|
137750
137750
|
break;
|
|
137751
137751
|
case "object":
|
|
137752
|
-
if ((0, lodash_1.isPlainObject)(
|
|
137753
|
-
return
|
|
137752
|
+
if ((0, lodash_1.isPlainObject)(schema10.default)) {
|
|
137753
|
+
return schema10;
|
|
137754
137754
|
}
|
|
137755
137755
|
break;
|
|
137756
137756
|
}
|
|
137757
|
-
delete
|
|
137758
|
-
return
|
|
137757
|
+
delete schema10.default;
|
|
137758
|
+
return schema10;
|
|
137759
137759
|
}
|
|
137760
137760
|
exports.maybeStripDefault = maybeStripDefault;
|
|
137761
137761
|
function appendToDescription(existingDescription, ...values) {
|
|
@@ -137769,11 +137769,11 @@ ${values.join(`
|
|
|
137769
137769
|
`);
|
|
137770
137770
|
}
|
|
137771
137771
|
exports.appendToDescription = appendToDescription;
|
|
137772
|
-
function isSchemaLike(
|
|
137773
|
-
if (!(0, lodash_1.isPlainObject)(
|
|
137772
|
+
function isSchemaLike(schema10) {
|
|
137773
|
+
if (!(0, lodash_1.isPlainObject)(schema10)) {
|
|
137774
137774
|
return false;
|
|
137775
137775
|
}
|
|
137776
|
-
const parent =
|
|
137776
|
+
const parent = schema10[JSONSchema_1.Parent];
|
|
137777
137777
|
if (parent === null) {
|
|
137778
137778
|
return true;
|
|
137779
137779
|
}
|
|
@@ -137790,7 +137790,7 @@ ${values.join(`
|
|
|
137790
137790
|
"properties",
|
|
137791
137791
|
"required"
|
|
137792
137792
|
];
|
|
137793
|
-
if (JSON_SCHEMA_KEYWORDS.some((_10) => parent[_10] ===
|
|
137793
|
+
if (JSON_SCHEMA_KEYWORDS.some((_10) => parent[_10] === schema10)) {
|
|
137794
137794
|
return false;
|
|
137795
137795
|
}
|
|
137796
137796
|
return true;
|
|
@@ -138088,13 +138088,13 @@ var require_typesOfSchema = __commonJS((exports) => {
|
|
|
138088
138088
|
exports.typesOfSchema = undefined;
|
|
138089
138089
|
var lodash_1 = require_lodash();
|
|
138090
138090
|
var JSONSchema_1 = require_JSONSchema();
|
|
138091
|
-
function typesOfSchema(
|
|
138092
|
-
if (
|
|
138091
|
+
function typesOfSchema(schema10) {
|
|
138092
|
+
if (schema10.tsType) {
|
|
138093
138093
|
return new Set(["CUSTOM_TYPE"]);
|
|
138094
138094
|
}
|
|
138095
138095
|
const matchedTypes = new Set;
|
|
138096
138096
|
for (const [schemaType, f7] of Object.entries(matchers)) {
|
|
138097
|
-
if (f7(
|
|
138097
|
+
if (f7(schema10)) {
|
|
138098
138098
|
matchedTypes.add(schemaType);
|
|
138099
138099
|
}
|
|
138100
138100
|
}
|
|
@@ -138105,26 +138105,26 @@ var require_typesOfSchema = __commonJS((exports) => {
|
|
|
138105
138105
|
}
|
|
138106
138106
|
exports.typesOfSchema = typesOfSchema;
|
|
138107
138107
|
var matchers = {
|
|
138108
|
-
ALL_OF(
|
|
138109
|
-
return "allOf" in
|
|
138108
|
+
ALL_OF(schema10) {
|
|
138109
|
+
return "allOf" in schema10;
|
|
138110
138110
|
},
|
|
138111
|
-
ANY(
|
|
138112
|
-
if (Object.keys(
|
|
138111
|
+
ANY(schema10) {
|
|
138112
|
+
if (Object.keys(schema10).length === 0) {
|
|
138113
138113
|
return true;
|
|
138114
138114
|
}
|
|
138115
|
-
return
|
|
138115
|
+
return schema10.type === "any";
|
|
138116
138116
|
},
|
|
138117
|
-
ANY_OF(
|
|
138118
|
-
return "anyOf" in
|
|
138117
|
+
ANY_OF(schema10) {
|
|
138118
|
+
return "anyOf" in schema10;
|
|
138119
138119
|
},
|
|
138120
|
-
BOOLEAN(
|
|
138121
|
-
if ("enum" in
|
|
138120
|
+
BOOLEAN(schema10) {
|
|
138121
|
+
if ("enum" in schema10) {
|
|
138122
138122
|
return false;
|
|
138123
138123
|
}
|
|
138124
|
-
if (
|
|
138124
|
+
if (schema10.type === "boolean") {
|
|
138125
138125
|
return true;
|
|
138126
138126
|
}
|
|
138127
|
-
if (!(0, JSONSchema_1.isCompound)(
|
|
138127
|
+
if (!(0, JSONSchema_1.isCompound)(schema10) && typeof schema10.default === "boolean") {
|
|
138128
138128
|
return true;
|
|
138129
138129
|
}
|
|
138130
138130
|
return false;
|
|
@@ -138132,74 +138132,74 @@ var require_typesOfSchema = __commonJS((exports) => {
|
|
|
138132
138132
|
CUSTOM_TYPE() {
|
|
138133
138133
|
return false;
|
|
138134
138134
|
},
|
|
138135
|
-
NAMED_ENUM(
|
|
138136
|
-
return "enum" in
|
|
138135
|
+
NAMED_ENUM(schema10) {
|
|
138136
|
+
return "enum" in schema10 && "tsEnumNames" in schema10;
|
|
138137
138137
|
},
|
|
138138
|
-
NAMED_SCHEMA(
|
|
138139
|
-
return "$id" in
|
|
138138
|
+
NAMED_SCHEMA(schema10) {
|
|
138139
|
+
return "$id" in schema10 && (("patternProperties" in schema10) || ("properties" in schema10));
|
|
138140
138140
|
},
|
|
138141
|
-
NEVER(
|
|
138142
|
-
return
|
|
138141
|
+
NEVER(schema10) {
|
|
138142
|
+
return schema10 === false;
|
|
138143
138143
|
},
|
|
138144
|
-
NULL(
|
|
138145
|
-
return
|
|
138144
|
+
NULL(schema10) {
|
|
138145
|
+
return schema10.type === "null";
|
|
138146
138146
|
},
|
|
138147
|
-
NUMBER(
|
|
138148
|
-
if ("enum" in
|
|
138147
|
+
NUMBER(schema10) {
|
|
138148
|
+
if ("enum" in schema10) {
|
|
138149
138149
|
return false;
|
|
138150
138150
|
}
|
|
138151
|
-
if (
|
|
138151
|
+
if (schema10.type === "integer" || schema10.type === "number") {
|
|
138152
138152
|
return true;
|
|
138153
138153
|
}
|
|
138154
|
-
if (!(0, JSONSchema_1.isCompound)(
|
|
138154
|
+
if (!(0, JSONSchema_1.isCompound)(schema10) && typeof schema10.default === "number") {
|
|
138155
138155
|
return true;
|
|
138156
138156
|
}
|
|
138157
138157
|
return false;
|
|
138158
138158
|
},
|
|
138159
|
-
OBJECT(
|
|
138160
|
-
return
|
|
138159
|
+
OBJECT(schema10) {
|
|
138160
|
+
return schema10.type === "object" && !(0, lodash_1.isPlainObject)(schema10.additionalProperties) && !schema10.allOf && !schema10.anyOf && !schema10.oneOf && !schema10.patternProperties && !schema10.properties && !schema10.required;
|
|
138161
138161
|
},
|
|
138162
|
-
ONE_OF(
|
|
138163
|
-
return "oneOf" in
|
|
138162
|
+
ONE_OF(schema10) {
|
|
138163
|
+
return "oneOf" in schema10;
|
|
138164
138164
|
},
|
|
138165
|
-
REFERENCE(
|
|
138166
|
-
return "$ref" in
|
|
138165
|
+
REFERENCE(schema10) {
|
|
138166
|
+
return "$ref" in schema10;
|
|
138167
138167
|
},
|
|
138168
|
-
STRING(
|
|
138169
|
-
if ("enum" in
|
|
138168
|
+
STRING(schema10) {
|
|
138169
|
+
if ("enum" in schema10) {
|
|
138170
138170
|
return false;
|
|
138171
138171
|
}
|
|
138172
|
-
if (
|
|
138172
|
+
if (schema10.type === "string") {
|
|
138173
138173
|
return true;
|
|
138174
138174
|
}
|
|
138175
|
-
if (!(0, JSONSchema_1.isCompound)(
|
|
138175
|
+
if (!(0, JSONSchema_1.isCompound)(schema10) && typeof schema10.default === "string") {
|
|
138176
138176
|
return true;
|
|
138177
138177
|
}
|
|
138178
138178
|
return false;
|
|
138179
138179
|
},
|
|
138180
|
-
TYPED_ARRAY(
|
|
138181
|
-
if (
|
|
138180
|
+
TYPED_ARRAY(schema10) {
|
|
138181
|
+
if (schema10.type && schema10.type !== "array") {
|
|
138182
138182
|
return false;
|
|
138183
138183
|
}
|
|
138184
|
-
return "items" in
|
|
138184
|
+
return "items" in schema10;
|
|
138185
138185
|
},
|
|
138186
|
-
UNION(
|
|
138187
|
-
return Array.isArray(
|
|
138186
|
+
UNION(schema10) {
|
|
138187
|
+
return Array.isArray(schema10.type);
|
|
138188
138188
|
},
|
|
138189
|
-
UNNAMED_ENUM(
|
|
138190
|
-
if ("tsEnumNames" in
|
|
138189
|
+
UNNAMED_ENUM(schema10) {
|
|
138190
|
+
if ("tsEnumNames" in schema10) {
|
|
138191
138191
|
return false;
|
|
138192
138192
|
}
|
|
138193
|
-
if (
|
|
138193
|
+
if (schema10.type && schema10.type !== "boolean" && schema10.type !== "integer" && schema10.type !== "number" && schema10.type !== "string") {
|
|
138194
138194
|
return false;
|
|
138195
138195
|
}
|
|
138196
|
-
return "enum" in
|
|
138196
|
+
return "enum" in schema10;
|
|
138197
138197
|
},
|
|
138198
138198
|
UNNAMED_SCHEMA() {
|
|
138199
138199
|
return false;
|
|
138200
138200
|
},
|
|
138201
|
-
UNTYPED_ARRAY(
|
|
138202
|
-
return
|
|
138201
|
+
UNTYPED_ARRAY(schema10) {
|
|
138202
|
+
return schema10.type === "array" && !("items" in schema10);
|
|
138203
138203
|
}
|
|
138204
138204
|
};
|
|
138205
138205
|
});
|
|
@@ -138210,10 +138210,10 @@ var require_applySchemaTyping = __commonJS((exports) => {
|
|
|
138210
138210
|
exports.applySchemaTyping = undefined;
|
|
138211
138211
|
var JSONSchema_1 = require_JSONSchema();
|
|
138212
138212
|
var typesOfSchema_1 = require_typesOfSchema();
|
|
138213
|
-
function applySchemaTyping(
|
|
138213
|
+
function applySchemaTyping(schema10) {
|
|
138214
138214
|
var _a7;
|
|
138215
|
-
const types = (0, typesOfSchema_1.typesOfSchema)(
|
|
138216
|
-
Object.defineProperty(
|
|
138215
|
+
const types = (0, typesOfSchema_1.typesOfSchema)(schema10);
|
|
138216
|
+
Object.defineProperty(schema10, JSONSchema_1.Types, {
|
|
138217
138217
|
enumerable: false,
|
|
138218
138218
|
value: types,
|
|
138219
138219
|
writable: false
|
|
@@ -138222,23 +138222,23 @@ var require_applySchemaTyping = __commonJS((exports) => {
|
|
|
138222
138222
|
return;
|
|
138223
138223
|
}
|
|
138224
138224
|
const intersection2 = {
|
|
138225
|
-
[JSONSchema_1.Parent]:
|
|
138225
|
+
[JSONSchema_1.Parent]: schema10,
|
|
138226
138226
|
[JSONSchema_1.Types]: new Set(["ALL_OF"]),
|
|
138227
|
-
$id:
|
|
138228
|
-
description:
|
|
138229
|
-
name:
|
|
138230
|
-
title:
|
|
138231
|
-
allOf: (_a7 =
|
|
138227
|
+
$id: schema10.$id,
|
|
138228
|
+
description: schema10.description,
|
|
138229
|
+
name: schema10.name,
|
|
138230
|
+
title: schema10.title,
|
|
138231
|
+
allOf: (_a7 = schema10.allOf) !== null && _a7 !== undefined ? _a7 : [],
|
|
138232
138232
|
required: [],
|
|
138233
138233
|
additionalProperties: false
|
|
138234
138234
|
};
|
|
138235
138235
|
types.delete("ALL_OF");
|
|
138236
|
-
delete
|
|
138237
|
-
delete
|
|
138238
|
-
delete
|
|
138239
|
-
delete
|
|
138240
|
-
delete
|
|
138241
|
-
Object.defineProperty(
|
|
138236
|
+
delete schema10.allOf;
|
|
138237
|
+
delete schema10.$id;
|
|
138238
|
+
delete schema10.description;
|
|
138239
|
+
delete schema10.name;
|
|
138240
|
+
delete schema10.title;
|
|
138241
|
+
Object.defineProperty(schema10, JSONSchema_1.Intersection, {
|
|
138242
138242
|
enumerable: false,
|
|
138243
138243
|
value: intersection2,
|
|
138244
138244
|
writable: false
|
|
@@ -138256,186 +138256,186 @@ var require_normalizer = __commonJS((exports) => {
|
|
|
138256
138256
|
var applySchemaTyping_1 = require_applySchemaTyping();
|
|
138257
138257
|
var util_1 = __require("util");
|
|
138258
138258
|
var rules = new Map;
|
|
138259
|
-
function hasType(
|
|
138260
|
-
return
|
|
138259
|
+
function hasType(schema10, type) {
|
|
138260
|
+
return schema10.type === type || Array.isArray(schema10.type) && schema10.type.includes(type);
|
|
138261
138261
|
}
|
|
138262
|
-
function isObjectType(
|
|
138263
|
-
return
|
|
138262
|
+
function isObjectType(schema10) {
|
|
138263
|
+
return schema10.properties !== undefined || hasType(schema10, "object") || hasType(schema10, "any");
|
|
138264
138264
|
}
|
|
138265
|
-
function isArrayType(
|
|
138266
|
-
return
|
|
138265
|
+
function isArrayType(schema10) {
|
|
138266
|
+
return schema10.items !== undefined || hasType(schema10, "array") || hasType(schema10, "any");
|
|
138267
138267
|
}
|
|
138268
|
-
function isEnumTypeWithoutTsEnumNames(
|
|
138269
|
-
return
|
|
138268
|
+
function isEnumTypeWithoutTsEnumNames(schema10) {
|
|
138269
|
+
return schema10.type === "string" && schema10.enum !== undefined && schema10.tsEnumNames === undefined;
|
|
138270
138270
|
}
|
|
138271
|
-
rules.set('Remove `type=["null"]` if `enum=[null]`', (
|
|
138272
|
-
if (Array.isArray(
|
|
138273
|
-
|
|
138271
|
+
rules.set('Remove `type=["null"]` if `enum=[null]`', (schema10) => {
|
|
138272
|
+
if (Array.isArray(schema10.enum) && schema10.enum.some((e8) => e8 === null) && Array.isArray(schema10.type) && schema10.type.includes("null")) {
|
|
138273
|
+
schema10.type = schema10.type.filter((type) => type !== "null");
|
|
138274
138274
|
}
|
|
138275
138275
|
});
|
|
138276
|
-
rules.set("Destructure unary types", (
|
|
138277
|
-
if (
|
|
138278
|
-
|
|
138276
|
+
rules.set("Destructure unary types", (schema10) => {
|
|
138277
|
+
if (schema10.type && Array.isArray(schema10.type) && schema10.type.length === 1) {
|
|
138278
|
+
schema10.type = schema10.type[0];
|
|
138279
138279
|
}
|
|
138280
138280
|
});
|
|
138281
|
-
rules.set("Add empty `required` property if none is defined", (
|
|
138282
|
-
if (isObjectType(
|
|
138283
|
-
|
|
138281
|
+
rules.set("Add empty `required` property if none is defined", (schema10) => {
|
|
138282
|
+
if (isObjectType(schema10) && !("required" in schema10)) {
|
|
138283
|
+
schema10.required = [];
|
|
138284
138284
|
}
|
|
138285
138285
|
});
|
|
138286
|
-
rules.set("Transform `required`=false to `required`=[]", (
|
|
138287
|
-
if (
|
|
138288
|
-
|
|
138286
|
+
rules.set("Transform `required`=false to `required`=[]", (schema10) => {
|
|
138287
|
+
if (schema10.required === false) {
|
|
138288
|
+
schema10.required = [];
|
|
138289
138289
|
}
|
|
138290
138290
|
});
|
|
138291
|
-
rules.set("Default additionalProperties", (
|
|
138292
|
-
if (isObjectType(
|
|
138293
|
-
|
|
138291
|
+
rules.set("Default additionalProperties", (schema10, _10, options8) => {
|
|
138292
|
+
if (isObjectType(schema10) && !("additionalProperties" in schema10) && schema10.patternProperties === undefined) {
|
|
138293
|
+
schema10.additionalProperties = options8.additionalProperties;
|
|
138294
138294
|
}
|
|
138295
138295
|
});
|
|
138296
|
-
rules.set("Transform id to $id", (
|
|
138297
|
-
if (!(0, utils_1.isSchemaLike)(
|
|
138296
|
+
rules.set("Transform id to $id", (schema10, fileName) => {
|
|
138297
|
+
if (!(0, utils_1.isSchemaLike)(schema10)) {
|
|
138298
138298
|
return;
|
|
138299
138299
|
}
|
|
138300
|
-
if (
|
|
138301
|
-
throw ReferenceError(`Schema must define either id or $id, not both. Given id=${
|
|
138300
|
+
if (schema10.id && schema10.$id && schema10.id !== schema10.$id) {
|
|
138301
|
+
throw ReferenceError(`Schema must define either id or $id, not both. Given id=${schema10.id}, $id=${schema10.$id} in ${fileName}`);
|
|
138302
138302
|
}
|
|
138303
|
-
if (
|
|
138304
|
-
|
|
138305
|
-
delete
|
|
138303
|
+
if (schema10.id) {
|
|
138304
|
+
schema10.$id = schema10.id;
|
|
138305
|
+
delete schema10.id;
|
|
138306
138306
|
}
|
|
138307
138307
|
});
|
|
138308
|
-
rules.set("Add an $id to anything that needs it", (
|
|
138309
|
-
if (!(0, utils_1.isSchemaLike)(
|
|
138308
|
+
rules.set("Add an $id to anything that needs it", (schema10, fileName, _options, _key, dereferencedPaths) => {
|
|
138309
|
+
if (!(0, utils_1.isSchemaLike)(schema10)) {
|
|
138310
138310
|
return;
|
|
138311
138311
|
}
|
|
138312
|
-
if (!
|
|
138313
|
-
|
|
138312
|
+
if (!schema10.$id && !schema10[JSONSchema_1.Parent]) {
|
|
138313
|
+
schema10.$id = (0, utils_1.toSafeString)((0, utils_1.justName)(fileName));
|
|
138314
138314
|
return;
|
|
138315
138315
|
}
|
|
138316
|
-
if (!isArrayType(
|
|
138316
|
+
if (!isArrayType(schema10) && !isObjectType(schema10)) {
|
|
138317
138317
|
return;
|
|
138318
138318
|
}
|
|
138319
|
-
const dereferencedName = dereferencedPaths.get(
|
|
138320
|
-
if (!
|
|
138321
|
-
|
|
138319
|
+
const dereferencedName = dereferencedPaths.get(schema10);
|
|
138320
|
+
if (!schema10.$id && !schema10.title && dereferencedName) {
|
|
138321
|
+
schema10.$id = (0, utils_1.toSafeString)((0, utils_1.justName)(dereferencedName));
|
|
138322
138322
|
}
|
|
138323
138323
|
if (dereferencedName) {
|
|
138324
|
-
dereferencedPaths.delete(
|
|
138324
|
+
dereferencedPaths.delete(schema10);
|
|
138325
138325
|
}
|
|
138326
138326
|
});
|
|
138327
|
-
rules.set("Escape closing JSDoc comment", (
|
|
138328
|
-
(0, utils_1.escapeBlockComment)(
|
|
138327
|
+
rules.set("Escape closing JSDoc comment", (schema10) => {
|
|
138328
|
+
(0, utils_1.escapeBlockComment)(schema10);
|
|
138329
138329
|
});
|
|
138330
|
-
rules.set("Add JSDoc comments for minItems and maxItems", (
|
|
138331
|
-
if (!isArrayType(
|
|
138330
|
+
rules.set("Add JSDoc comments for minItems and maxItems", (schema10) => {
|
|
138331
|
+
if (!isArrayType(schema10)) {
|
|
138332
138332
|
return;
|
|
138333
138333
|
}
|
|
138334
138334
|
const commentsToAppend = [
|
|
138335
|
-
"minItems" in
|
|
138336
|
-
"maxItems" in
|
|
138335
|
+
"minItems" in schema10 ? `@minItems ${schema10.minItems}` : "",
|
|
138336
|
+
"maxItems" in schema10 ? `@maxItems ${schema10.maxItems}` : ""
|
|
138337
138337
|
].filter(Boolean);
|
|
138338
138338
|
if (commentsToAppend.length) {
|
|
138339
|
-
|
|
138339
|
+
schema10.description = (0, utils_1.appendToDescription)(schema10.description, ...commentsToAppend);
|
|
138340
138340
|
}
|
|
138341
138341
|
});
|
|
138342
|
-
rules.set("Optionally remove maxItems and minItems", (
|
|
138343
|
-
if (!isArrayType(
|
|
138342
|
+
rules.set("Optionally remove maxItems and minItems", (schema10, _fileName, options8) => {
|
|
138343
|
+
if (!isArrayType(schema10)) {
|
|
138344
138344
|
return;
|
|
138345
138345
|
}
|
|
138346
|
-
if ("minItems" in
|
|
138347
|
-
delete
|
|
138346
|
+
if ("minItems" in schema10 && options8.ignoreMinAndMaxItems) {
|
|
138347
|
+
delete schema10.minItems;
|
|
138348
138348
|
}
|
|
138349
|
-
if ("maxItems" in
|
|
138350
|
-
delete
|
|
138349
|
+
if ("maxItems" in schema10 && (options8.ignoreMinAndMaxItems || options8.maxItems === -1)) {
|
|
138350
|
+
delete schema10.maxItems;
|
|
138351
138351
|
}
|
|
138352
138352
|
});
|
|
138353
|
-
rules.set("Normalize schema.minItems", (
|
|
138353
|
+
rules.set("Normalize schema.minItems", (schema10, _fileName, options8) => {
|
|
138354
138354
|
if (options8.ignoreMinAndMaxItems) {
|
|
138355
138355
|
return;
|
|
138356
138356
|
}
|
|
138357
|
-
if (!isArrayType(
|
|
138357
|
+
if (!isArrayType(schema10)) {
|
|
138358
138358
|
return;
|
|
138359
138359
|
}
|
|
138360
|
-
const { minItems } =
|
|
138361
|
-
|
|
138360
|
+
const { minItems } = schema10;
|
|
138361
|
+
schema10.minItems = typeof minItems === "number" ? minItems : 0;
|
|
138362
138362
|
});
|
|
138363
|
-
rules.set("Remove maxItems if it is big enough to likely cause OOMs", (
|
|
138363
|
+
rules.set("Remove maxItems if it is big enough to likely cause OOMs", (schema10, _fileName, options8) => {
|
|
138364
138364
|
if (options8.ignoreMinAndMaxItems || options8.maxItems === -1) {
|
|
138365
138365
|
return;
|
|
138366
138366
|
}
|
|
138367
|
-
if (!isArrayType(
|
|
138367
|
+
if (!isArrayType(schema10)) {
|
|
138368
138368
|
return;
|
|
138369
138369
|
}
|
|
138370
|
-
const { maxItems, minItems } =
|
|
138370
|
+
const { maxItems, minItems } = schema10;
|
|
138371
138371
|
if (maxItems !== undefined && maxItems - minItems > options8.maxItems) {
|
|
138372
|
-
delete
|
|
138372
|
+
delete schema10.maxItems;
|
|
138373
138373
|
}
|
|
138374
138374
|
});
|
|
138375
|
-
rules.set("Normalize schema.items", (
|
|
138375
|
+
rules.set("Normalize schema.items", (schema10, _fileName, options8) => {
|
|
138376
138376
|
if (options8.ignoreMinAndMaxItems) {
|
|
138377
138377
|
return;
|
|
138378
138378
|
}
|
|
138379
|
-
const { maxItems, minItems } =
|
|
138379
|
+
const { maxItems, minItems } = schema10;
|
|
138380
138380
|
const hasMaxItems = typeof maxItems === "number" && maxItems >= 0;
|
|
138381
138381
|
const hasMinItems = typeof minItems === "number" && minItems > 0;
|
|
138382
|
-
if (
|
|
138383
|
-
const items =
|
|
138382
|
+
if (schema10.items && !Array.isArray(schema10.items) && (hasMaxItems || hasMinItems)) {
|
|
138383
|
+
const items = schema10.items;
|
|
138384
138384
|
const newItems = Array(maxItems || minItems || 0).fill(items);
|
|
138385
138385
|
if (!hasMaxItems) {
|
|
138386
|
-
|
|
138386
|
+
schema10.additionalItems = items;
|
|
138387
138387
|
}
|
|
138388
|
-
|
|
138388
|
+
schema10.items = newItems;
|
|
138389
138389
|
}
|
|
138390
|
-
if (Array.isArray(
|
|
138391
|
-
|
|
138390
|
+
if (Array.isArray(schema10.items) && hasMaxItems && maxItems < schema10.items.length) {
|
|
138391
|
+
schema10.items = schema10.items.slice(0, maxItems);
|
|
138392
138392
|
}
|
|
138393
|
-
return
|
|
138393
|
+
return schema10;
|
|
138394
138394
|
});
|
|
138395
|
-
rules.set("Remove extends, if it is empty", (
|
|
138396
|
-
if (!
|
|
138395
|
+
rules.set("Remove extends, if it is empty", (schema10) => {
|
|
138396
|
+
if (!schema10.hasOwnProperty("extends")) {
|
|
138397
138397
|
return;
|
|
138398
138398
|
}
|
|
138399
|
-
if (
|
|
138400
|
-
delete
|
|
138399
|
+
if (schema10.extends == null || Array.isArray(schema10.extends) && schema10.extends.length === 0) {
|
|
138400
|
+
delete schema10.extends;
|
|
138401
138401
|
}
|
|
138402
138402
|
});
|
|
138403
|
-
rules.set("Make extends always an array, if it is defined", (
|
|
138404
|
-
if (
|
|
138403
|
+
rules.set("Make extends always an array, if it is defined", (schema10) => {
|
|
138404
|
+
if (schema10.extends == null) {
|
|
138405
138405
|
return;
|
|
138406
138406
|
}
|
|
138407
|
-
if (!Array.isArray(
|
|
138408
|
-
|
|
138407
|
+
if (!Array.isArray(schema10.extends)) {
|
|
138408
|
+
schema10.extends = [schema10.extends];
|
|
138409
138409
|
}
|
|
138410
138410
|
});
|
|
138411
|
-
rules.set("Transform definitions to $defs", (
|
|
138412
|
-
if (
|
|
138413
|
-
throw ReferenceError(`Schema must define either definitions or $defs, not both. Given id=${
|
|
138411
|
+
rules.set("Transform definitions to $defs", (schema10, fileName) => {
|
|
138412
|
+
if (schema10.definitions && schema10.$defs && !(0, util_1.isDeepStrictEqual)(schema10.definitions, schema10.$defs)) {
|
|
138413
|
+
throw ReferenceError(`Schema must define either definitions or $defs, not both. Given id=${schema10.id} in ${fileName}`);
|
|
138414
138414
|
}
|
|
138415
|
-
if (
|
|
138416
|
-
|
|
138417
|
-
delete
|
|
138415
|
+
if (schema10.definitions) {
|
|
138416
|
+
schema10.$defs = schema10.definitions;
|
|
138417
|
+
delete schema10.definitions;
|
|
138418
138418
|
}
|
|
138419
138419
|
});
|
|
138420
|
-
rules.set("Transform const to singleton enum", (
|
|
138421
|
-
if (
|
|
138422
|
-
|
|
138423
|
-
delete
|
|
138420
|
+
rules.set("Transform const to singleton enum", (schema10) => {
|
|
138421
|
+
if (schema10.const !== undefined) {
|
|
138422
|
+
schema10.enum = [schema10.const];
|
|
138423
|
+
delete schema10.const;
|
|
138424
138424
|
}
|
|
138425
138425
|
});
|
|
138426
|
-
rules.set("Add tsEnumNames to enum types", (
|
|
138426
|
+
rules.set("Add tsEnumNames to enum types", (schema10, _10, options8) => {
|
|
138427
138427
|
var _a7;
|
|
138428
|
-
if (isEnumTypeWithoutTsEnumNames(
|
|
138429
|
-
|
|
138428
|
+
if (isEnumTypeWithoutTsEnumNames(schema10) && options8.inferStringEnumKeysFromValues) {
|
|
138429
|
+
schema10.tsEnumNames = (_a7 = schema10.enum) === null || _a7 === undefined ? undefined : _a7.map(String);
|
|
138430
138430
|
}
|
|
138431
138431
|
});
|
|
138432
|
-
rules.set("Pre-calculate schema types and intersections", (
|
|
138433
|
-
if (
|
|
138434
|
-
(0, applySchemaTyping_1.applySchemaTyping)(
|
|
138432
|
+
rules.set("Pre-calculate schema types and intersections", (schema10) => {
|
|
138433
|
+
if (schema10 !== null && typeof schema10 === "object") {
|
|
138434
|
+
(0, applySchemaTyping_1.applySchemaTyping)(schema10);
|
|
138435
138435
|
}
|
|
138436
138436
|
});
|
|
138437
138437
|
function normalize(rootSchema, dereferencedPaths, filename, options8) {
|
|
138438
|
-
rules.forEach((rule) => (0, utils_1.traverse)(rootSchema, (
|
|
138438
|
+
rules.forEach((rule) => (0, utils_1.traverse)(rootSchema, (schema10, key2) => rule(schema10, filename, options8, key2, dereferencedPaths)));
|
|
138439
138439
|
return rootSchema;
|
|
138440
138440
|
}
|
|
138441
138441
|
exports.normalize = normalize;
|
|
@@ -138517,37 +138517,37 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
138517
138517
|
var AST_1 = require_AST();
|
|
138518
138518
|
var JSONSchema_1 = require_JSONSchema();
|
|
138519
138519
|
var utils_1 = require_utils7();
|
|
138520
|
-
function parse11(
|
|
138521
|
-
if ((0, JSONSchema_1.isPrimitive)(
|
|
138522
|
-
if ((0, JSONSchema_1.isBoolean)(
|
|
138523
|
-
return parseBooleanSchema(
|
|
138520
|
+
function parse11(schema10, options8, keyName, processed = new Map, usedNames = new Set) {
|
|
138521
|
+
if ((0, JSONSchema_1.isPrimitive)(schema10)) {
|
|
138522
|
+
if ((0, JSONSchema_1.isBoolean)(schema10)) {
|
|
138523
|
+
return parseBooleanSchema(schema10, keyName, options8);
|
|
138524
138524
|
}
|
|
138525
|
-
return parseLiteral(
|
|
138525
|
+
return parseLiteral(schema10, keyName);
|
|
138526
138526
|
}
|
|
138527
|
-
const intersection2 =
|
|
138528
|
-
const types =
|
|
138527
|
+
const intersection2 = schema10[JSONSchema_1.Intersection];
|
|
138528
|
+
const types = schema10[JSONSchema_1.Types];
|
|
138529
138529
|
if (intersection2) {
|
|
138530
138530
|
const ast = parseAsTypeWithCache(intersection2, "ALL_OF", options8, keyName, processed, usedNames);
|
|
138531
138531
|
types.forEach((type) => {
|
|
138532
|
-
ast.params.push(parseAsTypeWithCache(
|
|
138532
|
+
ast.params.push(parseAsTypeWithCache(schema10, type, options8, keyName, processed, usedNames));
|
|
138533
138533
|
});
|
|
138534
|
-
(0, utils_1.log)("blue", "parser", "Types:", [...types], "Input:",
|
|
138534
|
+
(0, utils_1.log)("blue", "parser", "Types:", [...types], "Input:", schema10, "Output:", ast);
|
|
138535
138535
|
return ast;
|
|
138536
138536
|
}
|
|
138537
138537
|
if (types.size === 1) {
|
|
138538
138538
|
const type = [...types][0];
|
|
138539
|
-
const ast = parseAsTypeWithCache(
|
|
138540
|
-
(0, utils_1.log)("blue", "parser", "Type:", type, "Input:",
|
|
138539
|
+
const ast = parseAsTypeWithCache(schema10, type, options8, keyName, processed, usedNames);
|
|
138540
|
+
(0, utils_1.log)("blue", "parser", "Type:", type, "Input:", schema10, "Output:", ast);
|
|
138541
138541
|
return ast;
|
|
138542
138542
|
}
|
|
138543
138543
|
throw new ReferenceError("Expected intersection schema. Please file an issue on GitHub.");
|
|
138544
138544
|
}
|
|
138545
138545
|
exports.parse = parse11;
|
|
138546
|
-
function parseAsTypeWithCache(
|
|
138547
|
-
let cachedTypeMap = processed.get(
|
|
138546
|
+
function parseAsTypeWithCache(schema10, type, options8, keyName, processed = new Map, usedNames = new Set) {
|
|
138547
|
+
let cachedTypeMap = processed.get(schema10);
|
|
138548
138548
|
if (!cachedTypeMap) {
|
|
138549
138549
|
cachedTypeMap = new Map;
|
|
138550
|
-
processed.set(
|
|
138550
|
+
processed.set(schema10, cachedTypeMap);
|
|
138551
138551
|
}
|
|
138552
138552
|
const cachedAST = cachedTypeMap.get(type);
|
|
138553
138553
|
if (cachedAST) {
|
|
@@ -138555,10 +138555,10 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
138555
138555
|
}
|
|
138556
138556
|
const ast = {};
|
|
138557
138557
|
cachedTypeMap.set(type, ast);
|
|
138558
|
-
return Object.assign(ast, parseNonLiteral(
|
|
138558
|
+
return Object.assign(ast, parseNonLiteral(schema10, type, options8, keyName, processed, usedNames));
|
|
138559
138559
|
}
|
|
138560
|
-
function parseBooleanSchema(
|
|
138561
|
-
if (
|
|
138560
|
+
function parseBooleanSchema(schema10, keyName, options8) {
|
|
138561
|
+
if (schema10) {
|
|
138562
138562
|
return {
|
|
138563
138563
|
keyName,
|
|
138564
138564
|
type: options8.unknownAny ? "UNKNOWN" : "ANY"
|
|
@@ -138569,157 +138569,157 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
138569
138569
|
type: "NEVER"
|
|
138570
138570
|
};
|
|
138571
138571
|
}
|
|
138572
|
-
function parseLiteral(
|
|
138572
|
+
function parseLiteral(schema10, keyName) {
|
|
138573
138573
|
return {
|
|
138574
138574
|
keyName,
|
|
138575
|
-
params:
|
|
138575
|
+
params: schema10,
|
|
138576
138576
|
type: "LITERAL"
|
|
138577
138577
|
};
|
|
138578
138578
|
}
|
|
138579
|
-
function parseNonLiteral(
|
|
138580
|
-
const definitions = getDefinitionsMemoized((0, JSONSchema_1.getRootSchema)(
|
|
138581
|
-
const keyNameFromDefinition = (0, lodash_1.findKey)(definitions, (_10) => _10 ===
|
|
138579
|
+
function parseNonLiteral(schema10, type, options8, keyName, processed, usedNames) {
|
|
138580
|
+
const definitions = getDefinitionsMemoized((0, JSONSchema_1.getRootSchema)(schema10));
|
|
138581
|
+
const keyNameFromDefinition = (0, lodash_1.findKey)(definitions, (_10) => _10 === schema10);
|
|
138582
138582
|
switch (type) {
|
|
138583
138583
|
case "ALL_OF":
|
|
138584
138584
|
return {
|
|
138585
|
-
comment:
|
|
138586
|
-
deprecated:
|
|
138585
|
+
comment: schema10.description,
|
|
138586
|
+
deprecated: schema10.deprecated,
|
|
138587
138587
|
keyName,
|
|
138588
|
-
standaloneName: standaloneName(
|
|
138589
|
-
params:
|
|
138588
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138589
|
+
params: schema10.allOf.map((_10) => parse11(_10, options8, undefined, processed, usedNames)),
|
|
138590
138590
|
type: "INTERSECTION"
|
|
138591
138591
|
};
|
|
138592
138592
|
case "ANY":
|
|
138593
|
-
return Object.assign(Object.assign({}, options8.unknownAny ? AST_1.T_UNKNOWN : AST_1.T_ANY), { comment:
|
|
138593
|
+
return Object.assign(Object.assign({}, options8.unknownAny ? AST_1.T_UNKNOWN : AST_1.T_ANY), { comment: schema10.description, deprecated: schema10.deprecated, keyName, standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8) });
|
|
138594
138594
|
case "ANY_OF":
|
|
138595
138595
|
return {
|
|
138596
|
-
comment:
|
|
138597
|
-
deprecated:
|
|
138596
|
+
comment: schema10.description,
|
|
138597
|
+
deprecated: schema10.deprecated,
|
|
138598
138598
|
keyName,
|
|
138599
|
-
standaloneName: standaloneName(
|
|
138600
|
-
params:
|
|
138599
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138600
|
+
params: schema10.anyOf.map((_10) => parse11(_10, options8, undefined, processed, usedNames)),
|
|
138601
138601
|
type: "UNION"
|
|
138602
138602
|
};
|
|
138603
138603
|
case "BOOLEAN":
|
|
138604
138604
|
return {
|
|
138605
|
-
comment:
|
|
138606
|
-
deprecated:
|
|
138605
|
+
comment: schema10.description,
|
|
138606
|
+
deprecated: schema10.deprecated,
|
|
138607
138607
|
keyName,
|
|
138608
|
-
standaloneName: standaloneName(
|
|
138608
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138609
138609
|
type: "BOOLEAN"
|
|
138610
138610
|
};
|
|
138611
138611
|
case "CUSTOM_TYPE":
|
|
138612
138612
|
return {
|
|
138613
|
-
comment:
|
|
138614
|
-
deprecated:
|
|
138613
|
+
comment: schema10.description,
|
|
138614
|
+
deprecated: schema10.deprecated,
|
|
138615
138615
|
keyName,
|
|
138616
|
-
params:
|
|
138617
|
-
standaloneName: standaloneName(
|
|
138616
|
+
params: schema10.tsType,
|
|
138617
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138618
138618
|
type: "CUSTOM_TYPE"
|
|
138619
138619
|
};
|
|
138620
138620
|
case "NAMED_ENUM":
|
|
138621
138621
|
return {
|
|
138622
|
-
comment:
|
|
138623
|
-
deprecated:
|
|
138622
|
+
comment: schema10.description,
|
|
138623
|
+
deprecated: schema10.deprecated,
|
|
138624
138624
|
keyName,
|
|
138625
|
-
standaloneName: standaloneName(
|
|
138626
|
-
params:
|
|
138625
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition !== null && keyNameFromDefinition !== undefined ? keyNameFromDefinition : keyName, usedNames, options8),
|
|
138626
|
+
params: schema10.enum.map((_10, n5) => ({
|
|
138627
138627
|
ast: parseLiteral(_10, undefined),
|
|
138628
|
-
keyName:
|
|
138628
|
+
keyName: schema10.tsEnumNames[n5]
|
|
138629
138629
|
})),
|
|
138630
138630
|
type: "ENUM"
|
|
138631
138631
|
};
|
|
138632
138632
|
case "NAMED_SCHEMA":
|
|
138633
|
-
return newInterface(
|
|
138633
|
+
return newInterface(schema10, options8, processed, usedNames, keyName);
|
|
138634
138634
|
case "NEVER":
|
|
138635
138635
|
return {
|
|
138636
|
-
comment:
|
|
138637
|
-
deprecated:
|
|
138636
|
+
comment: schema10.description,
|
|
138637
|
+
deprecated: schema10.deprecated,
|
|
138638
138638
|
keyName,
|
|
138639
|
-
standaloneName: standaloneName(
|
|
138639
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138640
138640
|
type: "NEVER"
|
|
138641
138641
|
};
|
|
138642
138642
|
case "NULL":
|
|
138643
138643
|
return {
|
|
138644
|
-
comment:
|
|
138645
|
-
deprecated:
|
|
138644
|
+
comment: schema10.description,
|
|
138645
|
+
deprecated: schema10.deprecated,
|
|
138646
138646
|
keyName,
|
|
138647
|
-
standaloneName: standaloneName(
|
|
138647
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138648
138648
|
type: "NULL"
|
|
138649
138649
|
};
|
|
138650
138650
|
case "NUMBER":
|
|
138651
138651
|
return {
|
|
138652
|
-
comment:
|
|
138653
|
-
deprecated:
|
|
138652
|
+
comment: schema10.description,
|
|
138653
|
+
deprecated: schema10.deprecated,
|
|
138654
138654
|
keyName,
|
|
138655
|
-
standaloneName: standaloneName(
|
|
138655
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138656
138656
|
type: "NUMBER"
|
|
138657
138657
|
};
|
|
138658
138658
|
case "OBJECT":
|
|
138659
138659
|
return {
|
|
138660
|
-
comment:
|
|
138660
|
+
comment: schema10.description,
|
|
138661
138661
|
keyName,
|
|
138662
|
-
standaloneName: standaloneName(
|
|
138662
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138663
138663
|
type: "OBJECT",
|
|
138664
|
-
deprecated:
|
|
138664
|
+
deprecated: schema10.deprecated
|
|
138665
138665
|
};
|
|
138666
138666
|
case "ONE_OF":
|
|
138667
138667
|
return {
|
|
138668
|
-
comment:
|
|
138669
|
-
deprecated:
|
|
138668
|
+
comment: schema10.description,
|
|
138669
|
+
deprecated: schema10.deprecated,
|
|
138670
138670
|
keyName,
|
|
138671
|
-
standaloneName: standaloneName(
|
|
138672
|
-
params:
|
|
138671
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138672
|
+
params: schema10.oneOf.map((_10) => parse11(_10, options8, undefined, processed, usedNames)),
|
|
138673
138673
|
type: "UNION"
|
|
138674
138674
|
};
|
|
138675
138675
|
case "REFERENCE":
|
|
138676
|
-
throw Error((0, util_1.format)("Refs should have been resolved by the resolver!",
|
|
138676
|
+
throw Error((0, util_1.format)("Refs should have been resolved by the resolver!", schema10));
|
|
138677
138677
|
case "STRING":
|
|
138678
138678
|
return {
|
|
138679
|
-
comment:
|
|
138680
|
-
deprecated:
|
|
138679
|
+
comment: schema10.description,
|
|
138680
|
+
deprecated: schema10.deprecated,
|
|
138681
138681
|
keyName,
|
|
138682
|
-
standaloneName: standaloneName(
|
|
138682
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138683
138683
|
type: "STRING"
|
|
138684
138684
|
};
|
|
138685
138685
|
case "TYPED_ARRAY":
|
|
138686
|
-
if (Array.isArray(
|
|
138687
|
-
const minItems2 =
|
|
138688
|
-
const maxItems2 =
|
|
138686
|
+
if (Array.isArray(schema10.items)) {
|
|
138687
|
+
const minItems2 = schema10.minItems;
|
|
138688
|
+
const maxItems2 = schema10.maxItems;
|
|
138689
138689
|
const arrayType = {
|
|
138690
|
-
comment:
|
|
138691
|
-
deprecated:
|
|
138690
|
+
comment: schema10.description,
|
|
138691
|
+
deprecated: schema10.deprecated,
|
|
138692
138692
|
keyName,
|
|
138693
138693
|
maxItems: maxItems2,
|
|
138694
138694
|
minItems: minItems2,
|
|
138695
|
-
standaloneName: standaloneName(
|
|
138696
|
-
params:
|
|
138695
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138696
|
+
params: schema10.items.map((_10) => parse11(_10, options8, undefined, processed, usedNames)),
|
|
138697
138697
|
type: "TUPLE"
|
|
138698
138698
|
};
|
|
138699
|
-
if (
|
|
138699
|
+
if (schema10.additionalItems === true) {
|
|
138700
138700
|
arrayType.spreadParam = options8.unknownAny ? AST_1.T_UNKNOWN : AST_1.T_ANY;
|
|
138701
|
-
} else if (
|
|
138702
|
-
arrayType.spreadParam = parse11(
|
|
138701
|
+
} else if (schema10.additionalItems) {
|
|
138702
|
+
arrayType.spreadParam = parse11(schema10.additionalItems, options8, undefined, processed, usedNames);
|
|
138703
138703
|
}
|
|
138704
138704
|
return arrayType;
|
|
138705
138705
|
} else {
|
|
138706
138706
|
return {
|
|
138707
|
-
comment:
|
|
138708
|
-
deprecated:
|
|
138707
|
+
comment: schema10.description,
|
|
138708
|
+
deprecated: schema10.deprecated,
|
|
138709
138709
|
keyName,
|
|
138710
|
-
standaloneName: standaloneName(
|
|
138711
|
-
params: parse11(
|
|
138710
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138711
|
+
params: parse11(schema10.items, options8, `{keyNameFromDefinition}Items`, processed, usedNames),
|
|
138712
138712
|
type: "ARRAY"
|
|
138713
138713
|
};
|
|
138714
138714
|
}
|
|
138715
138715
|
case "UNION":
|
|
138716
138716
|
return {
|
|
138717
|
-
comment:
|
|
138718
|
-
deprecated:
|
|
138717
|
+
comment: schema10.description,
|
|
138718
|
+
deprecated: schema10.deprecated,
|
|
138719
138719
|
keyName,
|
|
138720
|
-
standaloneName: standaloneName(
|
|
138721
|
-
params:
|
|
138722
|
-
const member = Object.assign(Object.assign({}, (0, lodash_1.omit)(
|
|
138720
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138721
|
+
params: schema10.type.map((type2) => {
|
|
138722
|
+
const member = Object.assign(Object.assign({}, (0, lodash_1.omit)(schema10, "$id", "description", "title")), { type: type2 });
|
|
138723
138723
|
(0, utils_1.maybeStripDefault)(member);
|
|
138724
138724
|
(0, applySchemaTyping_1.applySchemaTyping)(member);
|
|
138725
138725
|
return parse11(member, options8, undefined, processed, usedNames);
|
|
@@ -138728,80 +138728,80 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
138728
138728
|
};
|
|
138729
138729
|
case "UNNAMED_ENUM":
|
|
138730
138730
|
return {
|
|
138731
|
-
comment:
|
|
138732
|
-
deprecated:
|
|
138731
|
+
comment: schema10.description,
|
|
138732
|
+
deprecated: schema10.deprecated,
|
|
138733
138733
|
keyName,
|
|
138734
|
-
standaloneName: standaloneName(
|
|
138735
|
-
params:
|
|
138734
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138735
|
+
params: schema10.enum.map((_10) => parseLiteral(_10, undefined)),
|
|
138736
138736
|
type: "UNION"
|
|
138737
138737
|
};
|
|
138738
138738
|
case "UNNAMED_SCHEMA":
|
|
138739
|
-
return newInterface(
|
|
138739
|
+
return newInterface(schema10, options8, processed, usedNames, keyName, keyNameFromDefinition);
|
|
138740
138740
|
case "UNTYPED_ARRAY":
|
|
138741
|
-
const minItems =
|
|
138742
|
-
const maxItems = typeof
|
|
138741
|
+
const minItems = schema10.minItems;
|
|
138742
|
+
const maxItems = typeof schema10.maxItems === "number" ? schema10.maxItems : -1;
|
|
138743
138743
|
const params = options8.unknownAny ? AST_1.T_UNKNOWN : AST_1.T_ANY;
|
|
138744
138744
|
if (minItems > 0 || maxItems >= 0) {
|
|
138745
138745
|
return {
|
|
138746
|
-
comment:
|
|
138747
|
-
deprecated:
|
|
138746
|
+
comment: schema10.description,
|
|
138747
|
+
deprecated: schema10.deprecated,
|
|
138748
138748
|
keyName,
|
|
138749
|
-
maxItems:
|
|
138749
|
+
maxItems: schema10.maxItems,
|
|
138750
138750
|
minItems,
|
|
138751
138751
|
params: Array(Math.max(maxItems, minItems) || 0).fill(params),
|
|
138752
138752
|
spreadParam: maxItems >= 0 ? undefined : params,
|
|
138753
|
-
standaloneName: standaloneName(
|
|
138753
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138754
138754
|
type: "TUPLE"
|
|
138755
138755
|
};
|
|
138756
138756
|
}
|
|
138757
138757
|
return {
|
|
138758
|
-
comment:
|
|
138759
|
-
deprecated:
|
|
138758
|
+
comment: schema10.description,
|
|
138759
|
+
deprecated: schema10.deprecated,
|
|
138760
138760
|
keyName,
|
|
138761
138761
|
params,
|
|
138762
|
-
standaloneName: standaloneName(
|
|
138762
|
+
standaloneName: standaloneName(schema10, keyNameFromDefinition, usedNames, options8),
|
|
138763
138763
|
type: "ARRAY"
|
|
138764
138764
|
};
|
|
138765
138765
|
}
|
|
138766
138766
|
}
|
|
138767
|
-
function standaloneName(
|
|
138767
|
+
function standaloneName(schema10, keyNameFromDefinition, usedNames, options8) {
|
|
138768
138768
|
var _a7;
|
|
138769
|
-
const name2 = ((_a7 = options8.customName) === null || _a7 === undefined ? undefined : _a7.call(options8,
|
|
138769
|
+
const name2 = ((_a7 = options8.customName) === null || _a7 === undefined ? undefined : _a7.call(options8, schema10, keyNameFromDefinition)) || schema10.title || schema10.$id || keyNameFromDefinition;
|
|
138770
138770
|
if (name2) {
|
|
138771
138771
|
return (0, utils_1.generateName)(name2, usedNames);
|
|
138772
138772
|
}
|
|
138773
138773
|
}
|
|
138774
|
-
function newInterface(
|
|
138775
|
-
const name2 = standaloneName(
|
|
138774
|
+
function newInterface(schema10, options8, processed, usedNames, keyName, keyNameFromDefinition) {
|
|
138775
|
+
const name2 = standaloneName(schema10, keyNameFromDefinition, usedNames, options8);
|
|
138776
138776
|
return {
|
|
138777
|
-
comment:
|
|
138778
|
-
deprecated:
|
|
138777
|
+
comment: schema10.description,
|
|
138778
|
+
deprecated: schema10.deprecated,
|
|
138779
138779
|
keyName,
|
|
138780
|
-
params: parseSchema(
|
|
138780
|
+
params: parseSchema(schema10, options8, processed, usedNames, name2),
|
|
138781
138781
|
standaloneName: name2,
|
|
138782
|
-
superTypes: parseSuperTypes(
|
|
138782
|
+
superTypes: parseSuperTypes(schema10, options8, processed, usedNames),
|
|
138783
138783
|
type: "INTERFACE"
|
|
138784
138784
|
};
|
|
138785
138785
|
}
|
|
138786
|
-
function parseSuperTypes(
|
|
138787
|
-
const superTypes =
|
|
138786
|
+
function parseSuperTypes(schema10, options8, processed, usedNames) {
|
|
138787
|
+
const superTypes = schema10.extends;
|
|
138788
138788
|
if (!superTypes) {
|
|
138789
138789
|
return [];
|
|
138790
138790
|
}
|
|
138791
138791
|
return superTypes.map((_10) => parse11(_10, options8, undefined, processed, usedNames));
|
|
138792
138792
|
}
|
|
138793
|
-
function parseSchema(
|
|
138794
|
-
let asts = (0, lodash_1.map)(
|
|
138793
|
+
function parseSchema(schema10, options8, processed, usedNames, parentSchemaName) {
|
|
138794
|
+
let asts = (0, lodash_1.map)(schema10.properties, (value, key2) => ({
|
|
138795
138795
|
ast: parse11(value, options8, key2, processed, usedNames),
|
|
138796
138796
|
isPatternProperty: false,
|
|
138797
|
-
isRequired: (0, lodash_1.includes)(
|
|
138797
|
+
isRequired: (0, lodash_1.includes)(schema10.required || [], key2),
|
|
138798
138798
|
isUnreachableDefinition: false,
|
|
138799
138799
|
keyName: key2
|
|
138800
138800
|
}));
|
|
138801
138801
|
let singlePatternProperty = false;
|
|
138802
|
-
if (
|
|
138803
|
-
singlePatternProperty = !
|
|
138804
|
-
asts = asts.concat((0, lodash_1.map)(
|
|
138802
|
+
if (schema10.patternProperties) {
|
|
138803
|
+
singlePatternProperty = !schema10.additionalProperties && Object.keys(schema10.patternProperties).length === 1;
|
|
138804
|
+
asts = asts.concat((0, lodash_1.map)(schema10.patternProperties, (value, key2) => {
|
|
138805
138805
|
const ast = parse11(value, options8, key2, processed, usedNames);
|
|
138806
138806
|
const comment = `This interface was referenced by \`${parentSchemaName}\`'s JSON-Schema definition
|
|
138807
138807
|
via the \`patternProperty\` "${key2.replace("*/", "*\\/")}".`;
|
|
@@ -138811,14 +138811,14 @@ ${comment}` : comment;
|
|
|
138811
138811
|
return {
|
|
138812
138812
|
ast,
|
|
138813
138813
|
isPatternProperty: !singlePatternProperty,
|
|
138814
|
-
isRequired: singlePatternProperty || (0, lodash_1.includes)(
|
|
138814
|
+
isRequired: singlePatternProperty || (0, lodash_1.includes)(schema10.required || [], key2),
|
|
138815
138815
|
isUnreachableDefinition: false,
|
|
138816
138816
|
keyName: singlePatternProperty ? "[k: string]" : key2
|
|
138817
138817
|
};
|
|
138818
138818
|
}));
|
|
138819
138819
|
}
|
|
138820
138820
|
if (options8.unreachableDefinitions) {
|
|
138821
|
-
asts = asts.concat((0, lodash_1.map)(
|
|
138821
|
+
asts = asts.concat((0, lodash_1.map)(schema10.$defs, (value, key2) => {
|
|
138822
138822
|
const ast = parse11(value, options8, key2, processed, usedNames);
|
|
138823
138823
|
const comment = `This interface was referenced by \`${parentSchemaName}\`'s JSON-Schema
|
|
138824
138824
|
via the \`definition\` "${key2}".`;
|
|
@@ -138828,13 +138828,13 @@ ${comment}` : comment;
|
|
|
138828
138828
|
return {
|
|
138829
138829
|
ast,
|
|
138830
138830
|
isPatternProperty: false,
|
|
138831
|
-
isRequired: (0, lodash_1.includes)(
|
|
138831
|
+
isRequired: (0, lodash_1.includes)(schema10.required || [], key2),
|
|
138832
138832
|
isUnreachableDefinition: true,
|
|
138833
138833
|
keyName: key2
|
|
138834
138834
|
};
|
|
138835
138835
|
}));
|
|
138836
138836
|
}
|
|
138837
|
-
switch (
|
|
138837
|
+
switch (schema10.additionalProperties) {
|
|
138838
138838
|
case undefined:
|
|
138839
138839
|
case true:
|
|
138840
138840
|
if (singlePatternProperty) {
|
|
@@ -138851,7 +138851,7 @@ ${comment}` : comment;
|
|
|
138851
138851
|
return asts;
|
|
138852
138852
|
default:
|
|
138853
138853
|
return asts.concat({
|
|
138854
|
-
ast: parse11(
|
|
138854
|
+
ast: parse11(schema10.additionalProperties, options8, "[k: string]", processed, usedNames),
|
|
138855
138855
|
isPatternProperty: false,
|
|
138856
138856
|
isRequired: true,
|
|
138857
138857
|
isUnreachableDefinition: false,
|
|
@@ -138859,22 +138859,22 @@ ${comment}` : comment;
|
|
|
138859
138859
|
});
|
|
138860
138860
|
}
|
|
138861
138861
|
}
|
|
138862
|
-
function getDefinitions(
|
|
138863
|
-
if (processed.has(
|
|
138862
|
+
function getDefinitions(schema10, isSchema = true, processed = new Set) {
|
|
138863
|
+
if (processed.has(schema10)) {
|
|
138864
138864
|
return {};
|
|
138865
138865
|
}
|
|
138866
|
-
processed.add(
|
|
138867
|
-
if (Array.isArray(
|
|
138868
|
-
return
|
|
138866
|
+
processed.add(schema10);
|
|
138867
|
+
if (Array.isArray(schema10)) {
|
|
138868
|
+
return schema10.reduce((prev, cur) => Object.assign(Object.assign({}, prev), getDefinitions(cur, false, processed)), {});
|
|
138869
138869
|
}
|
|
138870
|
-
if ((0, lodash_1.isPlainObject)(
|
|
138871
|
-
return Object.assign(Object.assign({}, isSchema && hasDefinitions(
|
|
138870
|
+
if ((0, lodash_1.isPlainObject)(schema10)) {
|
|
138871
|
+
return Object.assign(Object.assign({}, isSchema && hasDefinitions(schema10) ? schema10.$defs : {}), Object.keys(schema10).reduce((prev, cur) => Object.assign(Object.assign({}, prev), getDefinitions(schema10[cur], false, processed)), {}));
|
|
138872
138872
|
}
|
|
138873
138873
|
return {};
|
|
138874
138874
|
}
|
|
138875
138875
|
var getDefinitionsMemoized = (0, lodash_1.memoize)(getDefinitions);
|
|
138876
|
-
function hasDefinitions(
|
|
138877
|
-
return "$defs" in
|
|
138876
|
+
function hasDefinitions(schema10) {
|
|
138877
|
+
return "$defs" in schema10;
|
|
138878
138878
|
}
|
|
138879
138879
|
});
|
|
138880
138880
|
|
|
@@ -140698,7 +140698,7 @@ var require_normalize_args = __commonJS((exports) => {
|
|
|
140698
140698
|
var options_js_1 = require_options();
|
|
140699
140699
|
function normalizeArgs(_args) {
|
|
140700
140700
|
let path18;
|
|
140701
|
-
let
|
|
140701
|
+
let schema10;
|
|
140702
140702
|
let options8;
|
|
140703
140703
|
let callback;
|
|
140704
140704
|
const args = Array.prototype.slice.call(_args);
|
|
@@ -140708,15 +140708,15 @@ var require_normalize_args = __commonJS((exports) => {
|
|
|
140708
140708
|
if (typeof args[0] === "string") {
|
|
140709
140709
|
path18 = args[0];
|
|
140710
140710
|
if (typeof args[2] === "object") {
|
|
140711
|
-
|
|
140711
|
+
schema10 = args[1];
|
|
140712
140712
|
options8 = args[2];
|
|
140713
140713
|
} else {
|
|
140714
|
-
|
|
140714
|
+
schema10 = undefined;
|
|
140715
140715
|
options8 = args[1];
|
|
140716
140716
|
}
|
|
140717
140717
|
} else {
|
|
140718
140718
|
path18 = "";
|
|
140719
|
-
|
|
140719
|
+
schema10 = args[0];
|
|
140720
140720
|
options8 = args[1];
|
|
140721
140721
|
}
|
|
140722
140722
|
try {
|
|
@@ -140724,12 +140724,12 @@ var require_normalize_args = __commonJS((exports) => {
|
|
|
140724
140724
|
} catch (e8) {
|
|
140725
140725
|
console.error(`JSON Schema Ref Parser: Error normalizing options: ${e8}`);
|
|
140726
140726
|
}
|
|
140727
|
-
if (!options8.mutateInputSchema && typeof
|
|
140728
|
-
|
|
140727
|
+
if (!options8.mutateInputSchema && typeof schema10 === "object") {
|
|
140728
|
+
schema10 = JSON.parse(JSON.stringify(schema10));
|
|
140729
140729
|
}
|
|
140730
140730
|
return {
|
|
140731
140731
|
path: path18,
|
|
140732
|
-
schema:
|
|
140732
|
+
schema: schema10,
|
|
140733
140733
|
options: options8,
|
|
140734
140734
|
callback
|
|
140735
140735
|
};
|
|
@@ -141518,12 +141518,12 @@ var require_resolver = __commonJS((exports) => {
|
|
|
141518
141518
|
var json_schema_ref_parser_1 = require_lib3();
|
|
141519
141519
|
var utils_1 = require_utils7();
|
|
141520
141520
|
function dereference(schema_1, _a7) {
|
|
141521
|
-
return __awaiter(this, arguments, undefined, function* (
|
|
141522
|
-
(0, utils_1.log)("green", "dereferencer", "Dereferencing input schema:", cwd,
|
|
141521
|
+
return __awaiter(this, arguments, undefined, function* (schema10, { cwd, $refOptions }) {
|
|
141522
|
+
(0, utils_1.log)("green", "dereferencer", "Dereferencing input schema:", cwd, schema10);
|
|
141523
141523
|
const parser2 = new json_schema_ref_parser_1.$RefParser;
|
|
141524
141524
|
const dereferencedPaths = new WeakMap;
|
|
141525
|
-
const dereferencedSchema = yield parser2.dereference(cwd,
|
|
141526
|
-
dereferencedPaths.set(
|
|
141525
|
+
const dereferencedSchema = yield parser2.dereference(cwd, schema10, Object.assign(Object.assign({}, $refOptions), { dereference: Object.assign(Object.assign({}, $refOptions.dereference), { onDereference($ref, schema11) {
|
|
141526
|
+
dereferencedPaths.set(schema11, $ref);
|
|
141527
141527
|
} }) }));
|
|
141528
141528
|
return { dereferencedPaths, dereferencedSchema };
|
|
141529
141529
|
});
|
|
@@ -141537,46 +141537,46 @@ var require_validator = __commonJS((exports) => {
|
|
|
141537
141537
|
exports.validate = undefined;
|
|
141538
141538
|
var utils_1 = require_utils7();
|
|
141539
141539
|
var rules = new Map;
|
|
141540
|
-
rules.set("Enum members and tsEnumNames must be of the same length", (
|
|
141541
|
-
if (
|
|
141540
|
+
rules.set("Enum members and tsEnumNames must be of the same length", (schema10) => {
|
|
141541
|
+
if (schema10.enum && schema10.tsEnumNames && schema10.enum.length !== schema10.tsEnumNames.length) {
|
|
141542
141542
|
return false;
|
|
141543
141543
|
}
|
|
141544
141544
|
});
|
|
141545
|
-
rules.set("tsEnumNames must be an array of strings", (
|
|
141546
|
-
if (
|
|
141545
|
+
rules.set("tsEnumNames must be an array of strings", (schema10) => {
|
|
141546
|
+
if (schema10.tsEnumNames && schema10.tsEnumNames.some((_10) => typeof _10 !== "string")) {
|
|
141547
141547
|
return false;
|
|
141548
141548
|
}
|
|
141549
141549
|
});
|
|
141550
|
-
rules.set("When both maxItems and minItems are present, maxItems >= minItems", (
|
|
141551
|
-
const { maxItems, minItems } =
|
|
141550
|
+
rules.set("When both maxItems and minItems are present, maxItems >= minItems", (schema10) => {
|
|
141551
|
+
const { maxItems, minItems } = schema10;
|
|
141552
141552
|
if (typeof maxItems === "number" && typeof minItems === "number") {
|
|
141553
141553
|
return maxItems >= minItems;
|
|
141554
141554
|
}
|
|
141555
141555
|
});
|
|
141556
|
-
rules.set("When maxItems exists, maxItems >= 0", (
|
|
141557
|
-
const { maxItems } =
|
|
141556
|
+
rules.set("When maxItems exists, maxItems >= 0", (schema10) => {
|
|
141557
|
+
const { maxItems } = schema10;
|
|
141558
141558
|
if (typeof maxItems === "number") {
|
|
141559
141559
|
return maxItems >= 0;
|
|
141560
141560
|
}
|
|
141561
141561
|
});
|
|
141562
|
-
rules.set("When minItems exists, minItems >= 0", (
|
|
141563
|
-
const { minItems } =
|
|
141562
|
+
rules.set("When minItems exists, minItems >= 0", (schema10) => {
|
|
141563
|
+
const { minItems } = schema10;
|
|
141564
141564
|
if (typeof minItems === "number") {
|
|
141565
141565
|
return minItems >= 0;
|
|
141566
141566
|
}
|
|
141567
141567
|
});
|
|
141568
|
-
rules.set("deprecated must be a boolean", (
|
|
141569
|
-
const typeOfDeprecated = typeof
|
|
141568
|
+
rules.set("deprecated must be a boolean", (schema10) => {
|
|
141569
|
+
const typeOfDeprecated = typeof schema10.deprecated;
|
|
141570
141570
|
return typeOfDeprecated === "boolean" || typeOfDeprecated === "undefined";
|
|
141571
141571
|
});
|
|
141572
|
-
function validate2(
|
|
141572
|
+
function validate2(schema10, filename) {
|
|
141573
141573
|
const errors5 = [];
|
|
141574
141574
|
rules.forEach((rule, ruleName) => {
|
|
141575
|
-
(0, utils_1.traverse)(
|
|
141576
|
-
if (rule(
|
|
141575
|
+
(0, utils_1.traverse)(schema10, (schema11, key2) => {
|
|
141576
|
+
if (rule(schema11) === false) {
|
|
141577
141577
|
errors5.push(`Error at key "${key2}" in file "${filename}": ${ruleName}`);
|
|
141578
141578
|
}
|
|
141579
|
-
return
|
|
141579
|
+
return schema11;
|
|
141580
141580
|
});
|
|
141581
141581
|
});
|
|
141582
141582
|
return errors5;
|
|
@@ -141590,25 +141590,25 @@ var require_linker = __commonJS((exports) => {
|
|
|
141590
141590
|
exports.link = undefined;
|
|
141591
141591
|
var JSONSchema_1 = require_JSONSchema();
|
|
141592
141592
|
var lodash_1 = require_lodash();
|
|
141593
|
-
function link2(
|
|
141594
|
-
if (!Array.isArray(
|
|
141595
|
-
return
|
|
141593
|
+
function link2(schema10, parent = null) {
|
|
141594
|
+
if (!Array.isArray(schema10) && !(0, lodash_1.isPlainObject)(schema10)) {
|
|
141595
|
+
return schema10;
|
|
141596
141596
|
}
|
|
141597
|
-
if (
|
|
141598
|
-
return
|
|
141597
|
+
if (schema10.hasOwnProperty(JSONSchema_1.Parent)) {
|
|
141598
|
+
return schema10;
|
|
141599
141599
|
}
|
|
141600
|
-
Object.defineProperty(
|
|
141600
|
+
Object.defineProperty(schema10, JSONSchema_1.Parent, {
|
|
141601
141601
|
enumerable: false,
|
|
141602
141602
|
value: parent,
|
|
141603
141603
|
writable: false
|
|
141604
141604
|
});
|
|
141605
|
-
if (Array.isArray(
|
|
141606
|
-
|
|
141605
|
+
if (Array.isArray(schema10)) {
|
|
141606
|
+
schema10.forEach((child) => link2(child, schema10));
|
|
141607
141607
|
}
|
|
141608
|
-
for (const key2 in
|
|
141609
|
-
link2(
|
|
141608
|
+
for (const key2 in schema10) {
|
|
141609
|
+
link2(schema10[key2], schema10);
|
|
141610
141610
|
}
|
|
141611
|
-
return
|
|
141611
|
+
return schema10;
|
|
141612
141612
|
}
|
|
141613
141613
|
exports.link = link2;
|
|
141614
141614
|
});
|
|
@@ -141700,8 +141700,8 @@ var require_src3 = __commonJS((exports) => {
|
|
|
141700
141700
|
unknownAny: true
|
|
141701
141701
|
};
|
|
141702
141702
|
function compileFromFile(filename, options8 = exports.DEFAULT_OPTIONS) {
|
|
141703
|
-
const
|
|
141704
|
-
return compile(
|
|
141703
|
+
const schema10 = parseAsJSONSchema(filename);
|
|
141704
|
+
return compile(schema10, (0, utils_1.stripExtension)(filename), Object.assign({ cwd: (0, path_1.dirname)(filename) }, options8));
|
|
141705
141705
|
}
|
|
141706
141706
|
exports.compileFromFile = compileFromFile;
|
|
141707
141707
|
function parseAsJSONSchema(filename) {
|
|
@@ -141711,7 +141711,7 @@ var require_src3 = __commonJS((exports) => {
|
|
|
141711
141711
|
return (0, utils_1.parseFileAsJSONSchema)(filename, contents.toString());
|
|
141712
141712
|
}
|
|
141713
141713
|
function compile(schema_1, name_1) {
|
|
141714
|
-
return __awaiter(this, arguments, undefined, function* (
|
|
141714
|
+
return __awaiter(this, arguments, undefined, function* (schema10, name2, options8 = {}) {
|
|
141715
141715
|
(0, optionValidator_1.validateOptions)(options8);
|
|
141716
141716
|
const _options = (0, lodash_1.merge)({}, exports.DEFAULT_OPTIONS, options8);
|
|
141717
141717
|
const start = Date.now();
|
|
@@ -141721,7 +141721,7 @@ var require_src3 = __commonJS((exports) => {
|
|
|
141721
141721
|
if (!(0, lodash_1.endsWith)(_options.cwd, "/")) {
|
|
141722
141722
|
_options.cwd += "/";
|
|
141723
141723
|
}
|
|
141724
|
-
const _schema = (0, lodash_1.cloneDeep)(
|
|
141724
|
+
const _schema = (0, lodash_1.cloneDeep)(schema10);
|
|
141725
141725
|
const { dereferencedPaths, dereferencedSchema } = yield (0, resolver_1.dereference)(_schema, _options);
|
|
141726
141726
|
if (process.env.VERBOSE) {
|
|
141727
141727
|
if ((0, util_1.isDeepStrictEqual)(_schema, dereferencedSchema)) {
|
|
@@ -159447,9 +159447,9 @@ var require_stringify5 = __commonJS((exports, module) => {
|
|
|
159447
159447
|
}
|
|
159448
159448
|
};
|
|
159449
159449
|
var isArray = Array.isArray;
|
|
159450
|
-
var
|
|
159450
|
+
var push5 = Array.prototype.push;
|
|
159451
159451
|
var pushToArray = function(arr, valueOrArray) {
|
|
159452
|
-
|
|
159452
|
+
push5.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
|
|
159453
159453
|
};
|
|
159454
159454
|
var toISO = Date.prototype.toISOString;
|
|
159455
159455
|
var defaultFormat = formats["default"];
|
|
@@ -160399,10 +160399,10 @@ var require_view = __commonJS((exports, module) => {
|
|
|
160399
160399
|
var debug = require_src4()("express:view");
|
|
160400
160400
|
var path18 = __require("node:path");
|
|
160401
160401
|
var fs28 = __require("node:fs");
|
|
160402
|
-
var
|
|
160402
|
+
var dirname15 = path18.dirname;
|
|
160403
160403
|
var basename4 = path18.basename;
|
|
160404
160404
|
var extname2 = path18.extname;
|
|
160405
|
-
var
|
|
160405
|
+
var join22 = path18.join;
|
|
160406
160406
|
var resolve6 = path18.resolve;
|
|
160407
160407
|
module.exports = View;
|
|
160408
160408
|
function View(name2, options8) {
|
|
@@ -160438,7 +160438,7 @@ var require_view = __commonJS((exports, module) => {
|
|
|
160438
160438
|
for (var i5 = 0;i5 < roots.length && !path19; i5++) {
|
|
160439
160439
|
var root2 = roots[i5];
|
|
160440
160440
|
var loc = resolve6(root2, name2);
|
|
160441
|
-
var dir =
|
|
160441
|
+
var dir = dirname15(loc);
|
|
160442
160442
|
var file2 = basename4(loc);
|
|
160443
160443
|
path19 = this.resolve(dir, file2);
|
|
160444
160444
|
}
|
|
@@ -160464,12 +160464,12 @@ var require_view = __commonJS((exports, module) => {
|
|
|
160464
160464
|
};
|
|
160465
160465
|
View.prototype.resolve = function resolve7(dir, file2) {
|
|
160466
160466
|
var ext = this.ext;
|
|
160467
|
-
var path19 =
|
|
160467
|
+
var path19 = join22(dir, file2);
|
|
160468
160468
|
var stat2 = tryStat(path19);
|
|
160469
160469
|
if (stat2 && stat2.isFile()) {
|
|
160470
160470
|
return path19;
|
|
160471
160471
|
}
|
|
160472
|
-
path19 =
|
|
160472
|
+
path19 = join22(dir, basename4(file2, ext), "index" + ext);
|
|
160473
160473
|
stat2 = tryStat(path19);
|
|
160474
160474
|
if (stat2 && stat2.isFile()) {
|
|
160475
160475
|
return path19;
|
|
@@ -164164,7 +164164,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164164
164164
|
var Stream2 = __require("stream");
|
|
164165
164165
|
var util2 = __require("util");
|
|
164166
164166
|
var extname2 = path18.extname;
|
|
164167
|
-
var
|
|
164167
|
+
var join22 = path18.join;
|
|
164168
164168
|
var normalize = path18.normalize;
|
|
164169
164169
|
var resolve6 = path18.resolve;
|
|
164170
164170
|
var sep = path18.sep;
|
|
@@ -164336,7 +164336,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164336
164336
|
return res;
|
|
164337
164337
|
}
|
|
164338
164338
|
parts = path19.split(sep);
|
|
164339
|
-
path19 = normalize(
|
|
164339
|
+
path19 = normalize(join22(root2, path19));
|
|
164340
164340
|
} else {
|
|
164341
164341
|
if (UP_PATH_REGEXP.test(path19)) {
|
|
164342
164342
|
debug('malicious path "%s"', path19);
|
|
@@ -164476,7 +164476,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164476
164476
|
return self2.onStatError(err);
|
|
164477
164477
|
return self2.error(404);
|
|
164478
164478
|
}
|
|
164479
|
-
var p4 =
|
|
164479
|
+
var p4 = join22(path19, self2._index[i5]);
|
|
164480
164480
|
debug('stat "%s"', p4);
|
|
164481
164481
|
fs28.stat(p4, function(err2, stat2) {
|
|
164482
164482
|
if (err2)
|
|
@@ -165574,18 +165574,18 @@ var require_common7 = __commonJS((exports) => {
|
|
|
165574
165574
|
retSegs.push.apply(retSegs, lastSegs);
|
|
165575
165575
|
return retSegs.join("?");
|
|
165576
165576
|
};
|
|
165577
|
-
common2.rewriteCookieProperty = function rewriteCookieProperty(header2,
|
|
165577
|
+
common2.rewriteCookieProperty = function rewriteCookieProperty(header2, config11, property) {
|
|
165578
165578
|
if (Array.isArray(header2)) {
|
|
165579
165579
|
return header2.map(function(headerElement) {
|
|
165580
|
-
return rewriteCookieProperty(headerElement,
|
|
165580
|
+
return rewriteCookieProperty(headerElement, config11, property);
|
|
165581
165581
|
});
|
|
165582
165582
|
}
|
|
165583
165583
|
return header2.replace(new RegExp("(;\\s*" + property + "=)([^;]+)", "i"), function(match, prefix, previousValue) {
|
|
165584
165584
|
var newValue;
|
|
165585
|
-
if (previousValue in
|
|
165586
|
-
newValue =
|
|
165587
|
-
} else if ("*" in
|
|
165588
|
-
newValue =
|
|
165585
|
+
if (previousValue in config11) {
|
|
165586
|
+
newValue = config11[previousValue];
|
|
165587
|
+
} else if ("*" in config11) {
|
|
165588
|
+
newValue = config11["*"];
|
|
165589
165589
|
} else {
|
|
165590
165590
|
return match;
|
|
165591
165591
|
}
|
|
@@ -166950,9 +166950,9 @@ var require_router2 = __commonJS((exports) => {
|
|
|
166950
166950
|
var is_plain_object_1 = require_is_plain_object();
|
|
166951
166951
|
var debug_1 = require_debug3();
|
|
166952
166952
|
var debug = debug_1.Debug.extend("router");
|
|
166953
|
-
async function getTarget(req,
|
|
166953
|
+
async function getTarget(req, config11) {
|
|
166954
166954
|
let newTarget;
|
|
166955
|
-
const router =
|
|
166955
|
+
const router = config11.router;
|
|
166956
166956
|
if ((0, is_plain_object_1.isPlainObject)(router)) {
|
|
166957
166957
|
newTarget = getTargetFromProxyTable(req, router);
|
|
166958
166958
|
} else if (typeof router === "function") {
|
|
@@ -191776,7 +191776,7 @@ var require_event_target = __commonJS((exports, module) => {
|
|
|
191776
191776
|
// ../../node_modules/ws/lib/extension.js
|
|
191777
191777
|
var require_extension = __commonJS((exports, module) => {
|
|
191778
191778
|
var { tokenChars } = require_validation();
|
|
191779
|
-
function
|
|
191779
|
+
function push5(dest, name2, elem) {
|
|
191780
191780
|
if (dest[name2] === undefined)
|
|
191781
191781
|
dest[name2] = [elem];
|
|
191782
191782
|
else
|
|
@@ -191811,7 +191811,7 @@ var require_extension = __commonJS((exports, module) => {
|
|
|
191811
191811
|
end = i5;
|
|
191812
191812
|
const name2 = header2.slice(start, end);
|
|
191813
191813
|
if (code2 === 44) {
|
|
191814
|
-
|
|
191814
|
+
push5(offers, name2, params);
|
|
191815
191815
|
params = Object.create(null);
|
|
191816
191816
|
} else {
|
|
191817
191817
|
extensionName = name2;
|
|
@@ -191833,9 +191833,9 @@ var require_extension = __commonJS((exports, module) => {
|
|
|
191833
191833
|
}
|
|
191834
191834
|
if (end === -1)
|
|
191835
191835
|
end = i5;
|
|
191836
|
-
|
|
191836
|
+
push5(params, header2.slice(start, end), true);
|
|
191837
191837
|
if (code2 === 44) {
|
|
191838
|
-
|
|
191838
|
+
push5(offers, extensionName, params);
|
|
191839
191839
|
params = Object.create(null);
|
|
191840
191840
|
extensionName = undefined;
|
|
191841
191841
|
}
|
|
@@ -191887,9 +191887,9 @@ var require_extension = __commonJS((exports, module) => {
|
|
|
191887
191887
|
value = value.replace(/\\/g, "");
|
|
191888
191888
|
mustUnescape = false;
|
|
191889
191889
|
}
|
|
191890
|
-
|
|
191890
|
+
push5(params, paramName, value);
|
|
191891
191891
|
if (code2 === 44) {
|
|
191892
|
-
|
|
191892
|
+
push5(offers, extensionName, params);
|
|
191893
191893
|
params = Object.create(null);
|
|
191894
191894
|
extensionName = undefined;
|
|
191895
191895
|
}
|
|
@@ -191907,16 +191907,16 @@ var require_extension = __commonJS((exports, module) => {
|
|
|
191907
191907
|
end = i5;
|
|
191908
191908
|
const token2 = header2.slice(start, end);
|
|
191909
191909
|
if (extensionName === undefined) {
|
|
191910
|
-
|
|
191910
|
+
push5(offers, token2, params);
|
|
191911
191911
|
} else {
|
|
191912
191912
|
if (paramName === undefined) {
|
|
191913
|
-
|
|
191913
|
+
push5(params, token2, true);
|
|
191914
191914
|
} else if (mustUnescape) {
|
|
191915
|
-
|
|
191915
|
+
push5(params, paramName, token2.replace(/\\/g, ""));
|
|
191916
191916
|
} else {
|
|
191917
|
-
|
|
191917
|
+
push5(params, paramName, token2);
|
|
191918
191918
|
}
|
|
191919
|
-
|
|
191919
|
+
push5(offers, extensionName, params);
|
|
191920
191920
|
}
|
|
191921
191921
|
return offers;
|
|
191922
191922
|
}
|
|
@@ -201140,12 +201140,12 @@ var require_sign2 = __commonJS((exports, module) => {
|
|
|
201140
201140
|
exp: { isValid: isNumber, message: '"exp" should be a number of seconds' },
|
|
201141
201141
|
nbf: { isValid: isNumber, message: '"nbf" should be a number of seconds' }
|
|
201142
201142
|
};
|
|
201143
|
-
function validate2(
|
|
201143
|
+
function validate2(schema10, allowUnknown, object2, parameterName) {
|
|
201144
201144
|
if (!isPlainObject3(object2)) {
|
|
201145
201145
|
throw new Error('Expected "' + parameterName + '" to be a plain object.');
|
|
201146
201146
|
}
|
|
201147
201147
|
Object.keys(object2).forEach(function(key2) {
|
|
201148
|
-
const validator =
|
|
201148
|
+
const validator = schema10[key2];
|
|
201149
201149
|
if (!validator) {
|
|
201150
201150
|
if (!allowUnknown) {
|
|
201151
201151
|
throw new Error('"' + key2 + '" is not allowed in "' + parameterName + '"');
|
|
@@ -214571,7 +214571,7 @@ var require_buffer_list = __commonJS((exports, module) => {
|
|
|
214571
214571
|
}
|
|
214572
214572
|
_createClass(BufferList, [{
|
|
214573
214573
|
key: "push",
|
|
214574
|
-
value: function
|
|
214574
|
+
value: function push5(v10) {
|
|
214575
214575
|
var entry = {
|
|
214576
214576
|
data: v10,
|
|
214577
214577
|
next: null
|
|
@@ -214616,7 +214616,7 @@ var require_buffer_list = __commonJS((exports, module) => {
|
|
|
214616
214616
|
}
|
|
214617
214617
|
}, {
|
|
214618
214618
|
key: "join",
|
|
214619
|
-
value: function
|
|
214619
|
+
value: function join22(s5) {
|
|
214620
214620
|
if (this.length === 0)
|
|
214621
214621
|
return "";
|
|
214622
214622
|
var p4 = this.head;
|
|
@@ -218270,7 +218270,7 @@ var require_dist5 = __commonJS((exports, module) => {
|
|
|
218270
218270
|
});
|
|
218271
218271
|
|
|
218272
218272
|
// src/cli/index.ts
|
|
218273
|
-
import { dirname as
|
|
218273
|
+
import { dirname as dirname19, join as join25 } from "node:path";
|
|
218274
218274
|
import { fileURLToPath as fileURLToPath6 } from "node:url";
|
|
218275
218275
|
|
|
218276
218276
|
// ../../node_modules/@clack/core/dist/index.mjs
|
|
@@ -218794,6 +218794,33 @@ class yt extends x {
|
|
|
218794
218794
|
});
|
|
218795
218795
|
}
|
|
218796
218796
|
}
|
|
218797
|
+
var Mt = class extends x {
|
|
218798
|
+
_mask = "•";
|
|
218799
|
+
get cursor() {
|
|
218800
|
+
return this._cursor;
|
|
218801
|
+
}
|
|
218802
|
+
get masked() {
|
|
218803
|
+
return this.userInput.replaceAll(/./g, this._mask);
|
|
218804
|
+
}
|
|
218805
|
+
get userInputWithCursor() {
|
|
218806
|
+
if (this.state === "submit" || this.state === "cancel")
|
|
218807
|
+
return this.masked;
|
|
218808
|
+
const e = this.userInput;
|
|
218809
|
+
if (this.cursor >= e.length)
|
|
218810
|
+
return `${this.masked}${import_picocolors.default.inverse(import_picocolors.default.hidden("_"))}`;
|
|
218811
|
+
const s = this.masked, i = s.slice(0, this.cursor), r = s.slice(this.cursor);
|
|
218812
|
+
return `${i}${import_picocolors.default.inverse(r[0])}${r.slice(1)}`;
|
|
218813
|
+
}
|
|
218814
|
+
clear() {
|
|
218815
|
+
this._clearUserInput();
|
|
218816
|
+
}
|
|
218817
|
+
constructor({ mask: e, ...s }) {
|
|
218818
|
+
super(s), this._mask = e ?? "•", this.on("userInput", (i) => {
|
|
218819
|
+
this._setValue(i);
|
|
218820
|
+
});
|
|
218821
|
+
}
|
|
218822
|
+
};
|
|
218823
|
+
|
|
218797
218824
|
class Wt extends x {
|
|
218798
218825
|
options;
|
|
218799
218826
|
cursor = 0;
|
|
@@ -219222,6 +219249,35 @@ ${c}
|
|
|
219222
219249
|
${import_picocolors2.default.gray(F + rt2.repeat(n + 2) + pt2)}
|
|
219223
219250
|
`);
|
|
219224
219251
|
};
|
|
219252
|
+
var He = (t) => new Mt({ validate: t.validate, mask: t.mask ?? Nt, signal: t.signal, input: t.input, output: t.output, render() {
|
|
219253
|
+
const r = t.withGuide ?? _.withGuide, s = `${r ? `${import_picocolors2.default.gray(d)}
|
|
219254
|
+
` : ""}${W2(this.state)} ${t.message}
|
|
219255
|
+
`, i = this.userInputWithCursor, a = this.masked;
|
|
219256
|
+
switch (this.state) {
|
|
219257
|
+
case "error": {
|
|
219258
|
+
const o = r ? `${import_picocolors2.default.yellow(d)} ` : "", u = r ? `${import_picocolors2.default.yellow(x2)} ` : "", l = a ?? "";
|
|
219259
|
+
return t.clearOnError && this.clear(), `${s.trim()}
|
|
219260
|
+
${o}${l}
|
|
219261
|
+
${u}${import_picocolors2.default.yellow(this.error)}
|
|
219262
|
+
`;
|
|
219263
|
+
}
|
|
219264
|
+
case "submit": {
|
|
219265
|
+
const o = r ? `${import_picocolors2.default.gray(d)} ` : "", u = a ? import_picocolors2.default.dim(a) : "";
|
|
219266
|
+
return `${s}${o}${u}`;
|
|
219267
|
+
}
|
|
219268
|
+
case "cancel": {
|
|
219269
|
+
const o = r ? `${import_picocolors2.default.gray(d)} ` : "", u = a ? import_picocolors2.default.strikethrough(import_picocolors2.default.dim(a)) : "";
|
|
219270
|
+
return `${s}${o}${u}${a && r ? `
|
|
219271
|
+
${import_picocolors2.default.gray(d)}` : ""}`;
|
|
219272
|
+
}
|
|
219273
|
+
default: {
|
|
219274
|
+
const o = r ? `${import_picocolors2.default.cyan(d)} ` : "", u = r ? import_picocolors2.default.cyan(x2) : "";
|
|
219275
|
+
return `${s}${o}${i}
|
|
219276
|
+
${u}
|
|
219277
|
+
`;
|
|
219278
|
+
}
|
|
219279
|
+
}
|
|
219280
|
+
} }).prompt();
|
|
219225
219281
|
var Ke = import_picocolors2.default.magenta;
|
|
219226
219282
|
var bt2 = ({ indicator: t = "dots", onCancel: r, output: s = process.stdout, cancelMessage: i, errorMessage: a, frames: o = et2 ? ["◒", "◐", "◓", "◑"] : ["•", "o", "O", "0"], delay: u = et2 ? 80 : 120, signal: l, ...n } = {}) => {
|
|
219227
219283
|
const c = ct2();
|
|
@@ -219422,7 +219478,7 @@ var {
|
|
|
219422
219478
|
} = import__.default;
|
|
219423
219479
|
|
|
219424
219480
|
// src/cli/commands/agents/pull.ts
|
|
219425
|
-
import { dirname as dirname7, join as
|
|
219481
|
+
import { dirname as dirname7, join as join12 } from "node:path";
|
|
219426
219482
|
// ../../node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
219427
219483
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
219428
219484
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
@@ -234574,7 +234630,8 @@ var ProjectConfigSchema = exports_external.object({
|
|
|
234574
234630
|
entitiesDir: exports_external.string().optional().default("entities"),
|
|
234575
234631
|
functionsDir: exports_external.string().optional().default("functions"),
|
|
234576
234632
|
agentsDir: exports_external.string().optional().default("agents"),
|
|
234577
|
-
connectorsDir: exports_external.string().optional().default("connectors")
|
|
234633
|
+
connectorsDir: exports_external.string().optional().default("connectors"),
|
|
234634
|
+
authDir: exports_external.string().optional().default("auth")
|
|
234578
234635
|
});
|
|
234579
234636
|
var AppConfigSchema = exports_external.object({
|
|
234580
234637
|
id: exports_external.string().min(1, "id cannot be empty")
|
|
@@ -241506,7 +241563,7 @@ var generateGlobTasks = normalizeArguments(generateTasks);
|
|
|
241506
241563
|
var generateGlobTasksSync = normalizeArgumentsSync(generateTasksSync);
|
|
241507
241564
|
|
|
241508
241565
|
// src/core/project/config.ts
|
|
241509
|
-
import { dirname as dirname5, join as
|
|
241566
|
+
import { dirname as dirname5, join as join8 } from "node:path";
|
|
241510
241567
|
|
|
241511
241568
|
// src/core/resources/agent/schema.ts
|
|
241512
241569
|
var EntityOperationSchema = exports_external.enum(["create", "update", "delete", "read"]);
|
|
@@ -241669,6 +241726,161 @@ var agentResource = {
|
|
|
241669
241726
|
readAll: readAllAgents,
|
|
241670
241727
|
push: pushAgents
|
|
241671
241728
|
};
|
|
241729
|
+
// src/core/resources/auth-config/schema.ts
|
|
241730
|
+
var GoogleOAuthMode = exports_external.enum(["default", "custom"]);
|
|
241731
|
+
var AuthConfigSchema = exports_external.object({
|
|
241732
|
+
enable_username_password: exports_external.boolean(),
|
|
241733
|
+
enable_google_login: exports_external.boolean(),
|
|
241734
|
+
enable_microsoft_login: exports_external.boolean(),
|
|
241735
|
+
enable_facebook_login: exports_external.boolean(),
|
|
241736
|
+
enable_apple_login: exports_external.boolean(),
|
|
241737
|
+
sso_provider_name: exports_external.string().nullable(),
|
|
241738
|
+
enable_sso_login: exports_external.boolean(),
|
|
241739
|
+
google_oauth_mode: GoogleOAuthMode,
|
|
241740
|
+
google_oauth_client_id: exports_external.string().nullable(),
|
|
241741
|
+
use_workspace_sso: exports_external.boolean()
|
|
241742
|
+
}).transform((data) => ({
|
|
241743
|
+
enableUsernamePassword: data.enable_username_password,
|
|
241744
|
+
enableGoogleLogin: data.enable_google_login,
|
|
241745
|
+
enableMicrosoftLogin: data.enable_microsoft_login,
|
|
241746
|
+
enableFacebookLogin: data.enable_facebook_login,
|
|
241747
|
+
enableAppleLogin: data.enable_apple_login,
|
|
241748
|
+
ssoProviderName: data.sso_provider_name,
|
|
241749
|
+
enableSSOLogin: data.enable_sso_login,
|
|
241750
|
+
googleOAuthMode: data.google_oauth_mode,
|
|
241751
|
+
googleOAuthClientId: data.google_oauth_client_id,
|
|
241752
|
+
useWorkspaceSSO: data.use_workspace_sso
|
|
241753
|
+
}));
|
|
241754
|
+
var AuthConfigFileSchema = exports_external.object({
|
|
241755
|
+
enableUsernamePassword: exports_external.boolean(),
|
|
241756
|
+
enableGoogleLogin: exports_external.boolean(),
|
|
241757
|
+
enableMicrosoftLogin: exports_external.boolean(),
|
|
241758
|
+
enableFacebookLogin: exports_external.boolean(),
|
|
241759
|
+
enableAppleLogin: exports_external.boolean(),
|
|
241760
|
+
ssoProviderName: exports_external.string().nullable(),
|
|
241761
|
+
enableSSOLogin: exports_external.boolean(),
|
|
241762
|
+
googleOAuthMode: GoogleOAuthMode,
|
|
241763
|
+
googleOAuthClientId: exports_external.string().nullable(),
|
|
241764
|
+
useWorkspaceSSO: exports_external.boolean()
|
|
241765
|
+
});
|
|
241766
|
+
var AppAuthConfigResponseSchema = exports_external.object({
|
|
241767
|
+
auth_config: AuthConfigSchema
|
|
241768
|
+
}).transform((data) => ({
|
|
241769
|
+
authConfig: data.auth_config
|
|
241770
|
+
}));
|
|
241771
|
+
function hasAnyLoginMethod(config3) {
|
|
241772
|
+
return config3.enableUsernamePassword || config3.enableGoogleLogin || config3.enableMicrosoftLogin || config3.enableFacebookLogin || config3.enableAppleLogin || config3.enableSSOLogin;
|
|
241773
|
+
}
|
|
241774
|
+
function toAuthConfigPayload(config3) {
|
|
241775
|
+
return {
|
|
241776
|
+
enable_username_password: config3.enableUsernamePassword,
|
|
241777
|
+
enable_google_login: config3.enableGoogleLogin,
|
|
241778
|
+
enable_microsoft_login: config3.enableMicrosoftLogin,
|
|
241779
|
+
enable_facebook_login: config3.enableFacebookLogin,
|
|
241780
|
+
enable_apple_login: config3.enableAppleLogin,
|
|
241781
|
+
sso_provider_name: config3.ssoProviderName,
|
|
241782
|
+
enable_sso_login: config3.enableSSOLogin,
|
|
241783
|
+
google_oauth_mode: config3.googleOAuthMode,
|
|
241784
|
+
google_oauth_client_id: config3.googleOAuthClientId,
|
|
241785
|
+
use_workspace_sso: config3.useWorkspaceSSO
|
|
241786
|
+
};
|
|
241787
|
+
}
|
|
241788
|
+
|
|
241789
|
+
// src/core/resources/auth-config/api.ts
|
|
241790
|
+
async function getAuthConfig() {
|
|
241791
|
+
const { id } = getAppConfig();
|
|
241792
|
+
let response;
|
|
241793
|
+
try {
|
|
241794
|
+
response = await base44Client.get(`api/apps/${id}`);
|
|
241795
|
+
} catch (error48) {
|
|
241796
|
+
throw await ApiError.fromHttpError(error48, "fetching auth config");
|
|
241797
|
+
}
|
|
241798
|
+
const result = AppAuthConfigResponseSchema.safeParse(await response.json());
|
|
241799
|
+
if (!result.success) {
|
|
241800
|
+
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
241801
|
+
}
|
|
241802
|
+
return result.data.authConfig;
|
|
241803
|
+
}
|
|
241804
|
+
async function pushAuthConfigToApi(config3) {
|
|
241805
|
+
const { id } = getAppConfig();
|
|
241806
|
+
let response;
|
|
241807
|
+
try {
|
|
241808
|
+
response = await base44Client.put(`api/apps/${id}`, {
|
|
241809
|
+
json: { auth_config: toAuthConfigPayload(config3) }
|
|
241810
|
+
});
|
|
241811
|
+
} catch (error48) {
|
|
241812
|
+
throw await ApiError.fromHttpError(error48, "updating auth config");
|
|
241813
|
+
}
|
|
241814
|
+
const result = AppAuthConfigResponseSchema.safeParse(await response.json());
|
|
241815
|
+
if (!result.success) {
|
|
241816
|
+
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
241817
|
+
}
|
|
241818
|
+
return result.data.authConfig;
|
|
241819
|
+
}
|
|
241820
|
+
// src/core/resources/auth-config/config.ts
|
|
241821
|
+
import { join as join4 } from "node:path";
|
|
241822
|
+
import { isDeepStrictEqual as isDeepStrictEqual2 } from "node:util";
|
|
241823
|
+
var AUTH_CONFIG_FILENAME = `config.${CONFIG_FILE_EXTENSION}`;
|
|
241824
|
+
var DEFAULT_AUTH_CONFIG = {
|
|
241825
|
+
enableUsernamePassword: false,
|
|
241826
|
+
enableGoogleLogin: false,
|
|
241827
|
+
enableMicrosoftLogin: false,
|
|
241828
|
+
enableFacebookLogin: false,
|
|
241829
|
+
enableAppleLogin: false,
|
|
241830
|
+
ssoProviderName: null,
|
|
241831
|
+
enableSSOLogin: false,
|
|
241832
|
+
googleOAuthMode: "default",
|
|
241833
|
+
googleOAuthClientId: null,
|
|
241834
|
+
useWorkspaceSSO: false
|
|
241835
|
+
};
|
|
241836
|
+
function getAuthConfigPath(authDir) {
|
|
241837
|
+
return join4(authDir, AUTH_CONFIG_FILENAME);
|
|
241838
|
+
}
|
|
241839
|
+
async function readAuthConfig(authDir) {
|
|
241840
|
+
const filePath = getAuthConfigPath(authDir);
|
|
241841
|
+
if (!await pathExists(filePath)) {
|
|
241842
|
+
return null;
|
|
241843
|
+
}
|
|
241844
|
+
const parsed = await readJsonFile(filePath);
|
|
241845
|
+
const result = AuthConfigFileSchema.safeParse(parsed);
|
|
241846
|
+
if (!result.success) {
|
|
241847
|
+
throw new SchemaValidationError("Invalid auth config file", result.error, filePath);
|
|
241848
|
+
}
|
|
241849
|
+
return result.data;
|
|
241850
|
+
}
|
|
241851
|
+
async function writeAuthConfig(authDir, config3) {
|
|
241852
|
+
const filePath = getAuthConfigPath(authDir);
|
|
241853
|
+
if (await pathExists(filePath)) {
|
|
241854
|
+
const existing = await readJsonFile(filePath);
|
|
241855
|
+
const existingResult = AuthConfigFileSchema.safeParse(existing);
|
|
241856
|
+
if (existingResult.success && isDeepStrictEqual2(existingResult.data, config3)) {
|
|
241857
|
+
return { written: false };
|
|
241858
|
+
}
|
|
241859
|
+
}
|
|
241860
|
+
await writeJsonFile(filePath, config3);
|
|
241861
|
+
return { written: true };
|
|
241862
|
+
}
|
|
241863
|
+
// src/core/resources/auth-config/pull.ts
|
|
241864
|
+
async function pullAuthConfig() {
|
|
241865
|
+
return await getAuthConfig();
|
|
241866
|
+
}
|
|
241867
|
+
// src/core/resources/auth-config/push.ts
|
|
241868
|
+
async function pushAuthConfig(config3) {
|
|
241869
|
+
if (!config3) {
|
|
241870
|
+
return;
|
|
241871
|
+
}
|
|
241872
|
+
await pushAuthConfigToApi(config3);
|
|
241873
|
+
}
|
|
241874
|
+
// src/core/resources/auth-config/resource.ts
|
|
241875
|
+
var authConfigResource = {
|
|
241876
|
+
readAll: async (dir) => {
|
|
241877
|
+
const config3 = await readAuthConfig(dir);
|
|
241878
|
+
return config3 ? [config3] : [];
|
|
241879
|
+
},
|
|
241880
|
+
push: async (items) => {
|
|
241881
|
+
await pushAuthConfig(items[0] ?? null);
|
|
241882
|
+
}
|
|
241883
|
+
};
|
|
241672
241884
|
// src/core/resources/connector/schema.ts
|
|
241673
241885
|
var GoogleCalendarConnectorSchema = exports_external.object({
|
|
241674
241886
|
type: exports_external.literal("googlecalendar"),
|
|
@@ -241996,8 +242208,8 @@ async function removeStripe() {
|
|
|
241996
242208
|
return result.data;
|
|
241997
242209
|
}
|
|
241998
242210
|
// src/core/resources/connector/config.ts
|
|
241999
|
-
import { join as
|
|
242000
|
-
import { isDeepStrictEqual as
|
|
242211
|
+
import { join as join5 } from "node:path";
|
|
242212
|
+
import { isDeepStrictEqual as isDeepStrictEqual3 } from "node:util";
|
|
242001
242213
|
async function readConnectorFile(connectorPath) {
|
|
242002
242214
|
const parsed = await readJsonFile(connectorPath);
|
|
242003
242215
|
const result = ConnectorResourceSchema.safeParse(parsed);
|
|
@@ -242054,10 +242266,10 @@ async function writeConnectors(connectorsDir, remoteConnectors) {
|
|
|
242054
242266
|
const written = [];
|
|
242055
242267
|
for (const connector of remoteConnectors) {
|
|
242056
242268
|
const existing = typeToEntry.get(connector.type);
|
|
242057
|
-
if (existing &&
|
|
242269
|
+
if (existing && isDeepStrictEqual3(existing.data, connector)) {
|
|
242058
242270
|
continue;
|
|
242059
242271
|
}
|
|
242060
|
-
const filePath = existing?.filePath ??
|
|
242272
|
+
const filePath = existing?.filePath ?? join5(connectorsDir, `${connector.type}.${CONFIG_FILE_EXTENSION}`);
|
|
242061
242273
|
await writeJsonFile(filePath, connector);
|
|
242062
242274
|
written.push(connector.type);
|
|
242063
242275
|
}
|
|
@@ -242541,7 +242753,7 @@ async function fetchFunctionLogs(functionName, filters = {}) {
|
|
|
242541
242753
|
return result.data;
|
|
242542
242754
|
}
|
|
242543
242755
|
// src/core/resources/function/config.ts
|
|
242544
|
-
import { basename as basename2, dirname as dirname3, join as
|
|
242756
|
+
import { basename as basename2, dirname as dirname3, join as join6, relative } from "node:path";
|
|
242545
242757
|
async function readFunctionConfig(configPath) {
|
|
242546
242758
|
const parsed = await readJsonFile(configPath);
|
|
242547
242759
|
const result = FunctionConfigSchema.safeParse(parsed);
|
|
@@ -242551,9 +242763,9 @@ async function readFunctionConfig(configPath) {
|
|
|
242551
242763
|
return result.data;
|
|
242552
242764
|
}
|
|
242553
242765
|
async function readFunction(configPath) {
|
|
242554
|
-
const
|
|
242766
|
+
const config6 = await readFunctionConfig(configPath);
|
|
242555
242767
|
const functionDir = dirname3(configPath);
|
|
242556
|
-
const entryPath =
|
|
242768
|
+
const entryPath = join6(functionDir, config6.entry);
|
|
242557
242769
|
if (!await pathExists(entryPath)) {
|
|
242558
242770
|
throw new InvalidInputError(`Function entry file not found: ${entryPath} (referenced in ${configPath})`, {
|
|
242559
242771
|
hints: [{ message: "Check the 'entry' field in your function config" }]
|
|
@@ -242563,7 +242775,7 @@ async function readFunction(configPath) {
|
|
|
242563
242775
|
cwd: functionDir,
|
|
242564
242776
|
absolute: true
|
|
242565
242777
|
});
|
|
242566
|
-
const functionData = { ...
|
|
242778
|
+
const functionData = { ...config6, entryPath, filePaths };
|
|
242567
242779
|
return functionData;
|
|
242568
242780
|
}
|
|
242569
242781
|
async function readAllFunctions(functionsDir) {
|
|
@@ -242687,28 +242899,28 @@ async function pruneRemovedFunctions(localFunctionNames, options) {
|
|
|
242687
242899
|
return results;
|
|
242688
242900
|
}
|
|
242689
242901
|
// src/core/resources/function/pull.ts
|
|
242690
|
-
import { join as
|
|
242691
|
-
import { isDeepStrictEqual as
|
|
242902
|
+
import { join as join7 } from "node:path";
|
|
242903
|
+
import { isDeepStrictEqual as isDeepStrictEqual4 } from "node:util";
|
|
242692
242904
|
async function writeFunctions(functionsDir, functions) {
|
|
242693
242905
|
const written = [];
|
|
242694
242906
|
const skipped = [];
|
|
242695
242907
|
for (const fn of functions) {
|
|
242696
|
-
const functionDir =
|
|
242697
|
-
const configPath =
|
|
242908
|
+
const functionDir = join7(functionsDir, fn.name);
|
|
242909
|
+
const configPath = join7(functionDir, "function.jsonc");
|
|
242698
242910
|
if (await isFunctionUnchanged(functionDir, fn)) {
|
|
242699
242911
|
skipped.push(fn.name);
|
|
242700
242912
|
continue;
|
|
242701
242913
|
}
|
|
242702
|
-
const
|
|
242914
|
+
const config6 = {
|
|
242703
242915
|
name: fn.name,
|
|
242704
242916
|
entry: fn.entry
|
|
242705
242917
|
};
|
|
242706
242918
|
if (fn.automations.length > 0) {
|
|
242707
|
-
|
|
242919
|
+
config6.automations = fn.automations;
|
|
242708
242920
|
}
|
|
242709
|
-
await writeJsonFile(configPath,
|
|
242921
|
+
await writeJsonFile(configPath, config6);
|
|
242710
242922
|
for (const file2 of fn.files) {
|
|
242711
|
-
await writeFile(
|
|
242923
|
+
await writeFile(join7(functionDir, file2.path), file2.content);
|
|
242712
242924
|
}
|
|
242713
242925
|
written.push(fn.name);
|
|
242714
242926
|
}
|
|
@@ -242718,20 +242930,20 @@ async function isFunctionUnchanged(functionDir, fn) {
|
|
|
242718
242930
|
if (!await pathExists(functionDir)) {
|
|
242719
242931
|
return false;
|
|
242720
242932
|
}
|
|
242721
|
-
const configPath =
|
|
242933
|
+
const configPath = join7(functionDir, "function.jsonc");
|
|
242722
242934
|
try {
|
|
242723
242935
|
const localConfig = await readJsonFile(configPath);
|
|
242724
242936
|
if (localConfig.entry !== fn.entry) {
|
|
242725
242937
|
return false;
|
|
242726
242938
|
}
|
|
242727
|
-
if (!
|
|
242939
|
+
if (!isDeepStrictEqual4(localConfig.automations ?? [], fn.automations)) {
|
|
242728
242940
|
return false;
|
|
242729
242941
|
}
|
|
242730
242942
|
} catch {
|
|
242731
242943
|
return false;
|
|
242732
242944
|
}
|
|
242733
242945
|
for (const file2 of fn.files) {
|
|
242734
|
-
const filePath =
|
|
242946
|
+
const filePath = join7(functionDir, file2.path);
|
|
242735
242947
|
if (!await pathExists(filePath)) {
|
|
242736
242948
|
return false;
|
|
242737
242949
|
}
|
|
@@ -242789,18 +243001,20 @@ async function readProjectConfig(projectRoot) {
|
|
|
242789
243001
|
}
|
|
242790
243002
|
const project = result.data;
|
|
242791
243003
|
const configDir = dirname5(configPath);
|
|
242792
|
-
const [entities, functions, agents, connectors] = await Promise.all([
|
|
242793
|
-
entityResource.readAll(
|
|
242794
|
-
functionResource.readAll(
|
|
242795
|
-
agentResource.readAll(
|
|
242796
|
-
connectorResource.readAll(
|
|
243004
|
+
const [entities, functions, agents, connectors, authConfig] = await Promise.all([
|
|
243005
|
+
entityResource.readAll(join8(configDir, project.entitiesDir)),
|
|
243006
|
+
functionResource.readAll(join8(configDir, project.functionsDir)),
|
|
243007
|
+
agentResource.readAll(join8(configDir, project.agentsDir)),
|
|
243008
|
+
connectorResource.readAll(join8(configDir, project.connectorsDir)),
|
|
243009
|
+
authConfigResource.readAll(join8(configDir, project.authDir))
|
|
242797
243010
|
]);
|
|
242798
243011
|
return {
|
|
242799
243012
|
project: { ...project, root, configPath },
|
|
242800
243013
|
entities,
|
|
242801
243014
|
functions,
|
|
242802
243015
|
agents,
|
|
242803
|
-
connectors
|
|
243016
|
+
connectors,
|
|
243017
|
+
authConfig
|
|
242804
243018
|
};
|
|
242805
243019
|
}
|
|
242806
243020
|
|
|
@@ -242825,9 +243039,9 @@ async function initAppConfig() {
|
|
|
242825
243039
|
if (!projectRoot) {
|
|
242826
243040
|
throw new ConfigNotFoundError("No Base44 project found. Run this command from a project directory with a config.jsonc file.");
|
|
242827
243041
|
}
|
|
242828
|
-
const
|
|
243042
|
+
const config7 = await readAppConfig(projectRoot.root);
|
|
242829
243043
|
const appConfigPath = await findAppConfigPath(projectRoot.root);
|
|
242830
|
-
if (!
|
|
243044
|
+
if (!config7?.id) {
|
|
242831
243045
|
throw new ConfigInvalidError("App not configured. Create a .app.jsonc file or run 'base44 link' to link this project.", appConfigPath, {
|
|
242832
243046
|
hints: [
|
|
242833
243047
|
{
|
|
@@ -242837,7 +243051,7 @@ async function initAppConfig() {
|
|
|
242837
243051
|
]
|
|
242838
243052
|
});
|
|
242839
243053
|
}
|
|
242840
|
-
cache2 = { projectRoot: projectRoot.root, id:
|
|
243054
|
+
cache2 = { projectRoot: projectRoot.root, id: config7.id };
|
|
242841
243055
|
return cache2;
|
|
242842
243056
|
}
|
|
242843
243057
|
function getAppConfig() {
|
|
@@ -242846,8 +243060,8 @@ function getAppConfig() {
|
|
|
242846
243060
|
}
|
|
242847
243061
|
return cache2;
|
|
242848
243062
|
}
|
|
242849
|
-
function setAppConfig(
|
|
242850
|
-
cache2 =
|
|
243063
|
+
function setAppConfig(config7) {
|
|
243064
|
+
cache2 = config7;
|
|
242851
243065
|
}
|
|
242852
243066
|
function generateAppConfigContent(id) {
|
|
242853
243067
|
return `// Base44 App Configuration
|
|
@@ -242978,16 +243192,16 @@ async function getSiteUrl(projectId) {
|
|
|
242978
243192
|
// src/core/project/template.ts
|
|
242979
243193
|
var import_ejs = __toESM(require_ejs(), 1);
|
|
242980
243194
|
var import_front_matter = __toESM(require_front_matter(), 1);
|
|
242981
|
-
import { dirname as dirname6, join as
|
|
243195
|
+
import { dirname as dirname6, join as join10 } from "node:path";
|
|
242982
243196
|
|
|
242983
243197
|
// src/core/assets.ts
|
|
242984
243198
|
import { cpSync, existsSync } from "node:fs";
|
|
242985
243199
|
import { homedir as homedir2 } from "node:os";
|
|
242986
|
-
import { join as
|
|
243200
|
+
import { join as join9 } from "node:path";
|
|
242987
243201
|
// package.json
|
|
242988
243202
|
var package_default = {
|
|
242989
243203
|
name: "base44",
|
|
242990
|
-
version: "0.0.
|
|
243204
|
+
version: "0.0.48",
|
|
242991
243205
|
description: "Base44 CLI - Unified interface for managing Base44 applications",
|
|
242992
243206
|
type: "module",
|
|
242993
243207
|
bin: {
|
|
@@ -243027,6 +243241,7 @@ var package_default = {
|
|
|
243027
243241
|
},
|
|
243028
243242
|
devDependencies: {
|
|
243029
243243
|
"@base44-cli/logger": "workspace:*",
|
|
243244
|
+
"@base44/sdk": "^0.8.23",
|
|
243030
243245
|
"@clack/prompts": "^1.0.1",
|
|
243031
243246
|
"@seald-io/nedb": "^4.1.2",
|
|
243032
243247
|
"@types/bun": "^1.2.15",
|
|
@@ -243077,18 +243292,18 @@ var package_default = {
|
|
|
243077
243292
|
};
|
|
243078
243293
|
|
|
243079
243294
|
// src/core/assets.ts
|
|
243080
|
-
var ASSETS_DIR =
|
|
243295
|
+
var ASSETS_DIR = join9(homedir2(), ".base44", "assets", package_default.version);
|
|
243081
243296
|
function getTemplatesDir() {
|
|
243082
|
-
return
|
|
243297
|
+
return join9(ASSETS_DIR, "templates");
|
|
243083
243298
|
}
|
|
243084
243299
|
function getTemplatesIndexPath() {
|
|
243085
|
-
return
|
|
243300
|
+
return join9(ASSETS_DIR, "templates", "templates.json");
|
|
243086
243301
|
}
|
|
243087
243302
|
function getDenoWrapperPath() {
|
|
243088
|
-
return
|
|
243303
|
+
return join9(ASSETS_DIR, "deno-runtime", "main.ts");
|
|
243089
243304
|
}
|
|
243090
243305
|
function getExecWrapperPath() {
|
|
243091
|
-
return
|
|
243306
|
+
return join9(ASSETS_DIR, "deno-runtime", "exec.ts");
|
|
243092
243307
|
}
|
|
243093
243308
|
function ensureNpmAssets(sourceDir) {
|
|
243094
243309
|
if (existsSync(ASSETS_DIR))
|
|
@@ -243109,23 +243324,23 @@ async function listTemplates() {
|
|
|
243109
243324
|
return result.data.templates;
|
|
243110
243325
|
}
|
|
243111
243326
|
async function renderTemplate(template, destPath, data) {
|
|
243112
|
-
const templateDir =
|
|
243327
|
+
const templateDir = join10(getTemplatesDir(), template.path);
|
|
243113
243328
|
const files = await globby("**/*", {
|
|
243114
243329
|
cwd: templateDir,
|
|
243115
243330
|
dot: true,
|
|
243116
243331
|
onlyFiles: true
|
|
243117
243332
|
});
|
|
243118
243333
|
for (const file2 of files) {
|
|
243119
|
-
const srcPath =
|
|
243334
|
+
const srcPath = join10(templateDir, file2);
|
|
243120
243335
|
try {
|
|
243121
243336
|
if (file2.endsWith(".ejs")) {
|
|
243122
243337
|
const rendered = await import_ejs.default.renderFile(srcPath, data);
|
|
243123
243338
|
const { attributes, body } = import_front_matter.default(rendered);
|
|
243124
|
-
const destFile = attributes.outputFileName ?
|
|
243125
|
-
const destFilePath =
|
|
243339
|
+
const destFile = attributes.outputFileName ? join10(dirname6(file2), attributes.outputFileName) : file2.replace(/\.ejs$/, "");
|
|
243340
|
+
const destFilePath = join10(destPath, destFile);
|
|
243126
243341
|
await writeFile(destFilePath, body);
|
|
243127
243342
|
} else {
|
|
243128
|
-
const destFilePath =
|
|
243343
|
+
const destFilePath = join10(destPath, file2);
|
|
243129
243344
|
await copyFile(srcPath, destFilePath);
|
|
243130
243345
|
}
|
|
243131
243346
|
} catch (error48) {
|
|
@@ -243200,7 +243415,7 @@ async function getSiteFilePaths(outputDir) {
|
|
|
243200
243415
|
// src/core/site/deploy.ts
|
|
243201
243416
|
import { randomUUID } from "node:crypto";
|
|
243202
243417
|
import { tmpdir } from "node:os";
|
|
243203
|
-
import { join as
|
|
243418
|
+
import { join as join11 } from "node:path";
|
|
243204
243419
|
async function deploySite(siteOutputDir) {
|
|
243205
243420
|
if (!await pathExists(siteOutputDir)) {
|
|
243206
243421
|
throw new InvalidInputError(`Output directory does not exist: ${siteOutputDir}. Make sure to build your project first.`, {
|
|
@@ -243217,7 +243432,7 @@ async function deploySite(siteOutputDir) {
|
|
|
243217
243432
|
]
|
|
243218
243433
|
});
|
|
243219
243434
|
}
|
|
243220
|
-
const archivePath =
|
|
243435
|
+
const archivePath = join11(tmpdir(), `base44-site-${randomUUID()}.tar.gz`);
|
|
243221
243436
|
try {
|
|
243222
243437
|
await createArchive(siteOutputDir, archivePath);
|
|
243223
243438
|
return await uploadSite(archivePath);
|
|
@@ -243234,22 +243449,24 @@ async function createArchive(pathToArchive, targetArchivePath) {
|
|
|
243234
243449
|
}
|
|
243235
243450
|
// src/core/project/deploy.ts
|
|
243236
243451
|
function hasResourcesToDeploy(projectData) {
|
|
243237
|
-
const { project, entities, functions, agents, connectors } = projectData;
|
|
243452
|
+
const { project, entities, functions, agents, connectors, authConfig } = projectData;
|
|
243238
243453
|
const hasSite = Boolean(project.site?.outputDirectory);
|
|
243239
243454
|
const hasEntities = entities.length > 0;
|
|
243240
243455
|
const hasFunctions = functions.length > 0;
|
|
243241
243456
|
const hasAgents = agents.length > 0;
|
|
243242
243457
|
const hasConnectors = connectors.length > 0;
|
|
243243
|
-
|
|
243458
|
+
const hasAuthConfig = authConfig.length > 0;
|
|
243459
|
+
return hasEntities || hasFunctions || hasAgents || hasConnectors || hasAuthConfig || hasSite;
|
|
243244
243460
|
}
|
|
243245
243461
|
async function deployAll(projectData, options) {
|
|
243246
|
-
const { project, entities, functions, agents, connectors } = projectData;
|
|
243462
|
+
const { project, entities, functions, agents, connectors, authConfig } = projectData;
|
|
243247
243463
|
await entityResource.push(entities);
|
|
243248
243464
|
await deployFunctionsSequentially(functions, {
|
|
243249
243465
|
onStart: options?.onFunctionStart,
|
|
243250
243466
|
onResult: options?.onFunctionResult
|
|
243251
243467
|
});
|
|
243252
243468
|
await agentResource.push(agents);
|
|
243469
|
+
await authConfigResource.push(authConfig);
|
|
243253
243470
|
const { results: connectorResults } = await pushConnectors(connectors);
|
|
243254
243471
|
if (project.site?.outputDirectory) {
|
|
243255
243472
|
const outputDir = resolve(project.root, project.site.outputDirectory);
|
|
@@ -243436,7 +243653,7 @@ async function getUserInfo(accessToken) {
|
|
|
243436
243653
|
return result.data;
|
|
243437
243654
|
}
|
|
243438
243655
|
// src/cli/commands/auth/login-flow.ts
|
|
243439
|
-
async function generateAndDisplayDeviceCode(log
|
|
243656
|
+
async function generateAndDisplayDeviceCode(log) {
|
|
243440
243657
|
const deviceCodeResponse = await runTask("Generating device code...", async () => {
|
|
243441
243658
|
return await generateDeviceCode();
|
|
243442
243659
|
}, {
|
|
@@ -243447,7 +243664,7 @@ async function generateAndDisplayDeviceCode(log, runTask) {
|
|
|
243447
243664
|
Please confirm this code at: ${deviceCodeResponse.verificationUri}`);
|
|
243448
243665
|
return deviceCodeResponse;
|
|
243449
243666
|
}
|
|
243450
|
-
async function waitForAuthentication(deviceCode, expiresIn, interval
|
|
243667
|
+
async function waitForAuthentication(deviceCode, expiresIn, interval) {
|
|
243451
243668
|
let tokenResponse;
|
|
243452
243669
|
try {
|
|
243453
243670
|
await runTask("Waiting for authentication...", async () => {
|
|
@@ -243487,12 +243704,9 @@ async function saveAuthData(response, userInfo) {
|
|
|
243487
243704
|
name: userInfo.name
|
|
243488
243705
|
});
|
|
243489
243706
|
}
|
|
243490
|
-
async function login({
|
|
243491
|
-
log
|
|
243492
|
-
|
|
243493
|
-
}) {
|
|
243494
|
-
const deviceCodeResponse = await generateAndDisplayDeviceCode(log, runTask);
|
|
243495
|
-
const token = await waitForAuthentication(deviceCodeResponse.deviceCode, deviceCodeResponse.expiresIn, deviceCodeResponse.interval, runTask);
|
|
243707
|
+
async function login({ log }) {
|
|
243708
|
+
const deviceCodeResponse = await generateAndDisplayDeviceCode(log);
|
|
243709
|
+
const token = await waitForAuthentication(deviceCodeResponse.deviceCode, deviceCodeResponse.expiresIn, deviceCodeResponse.interval);
|
|
243496
243710
|
const userInfo = await getUserInfo(token.accessToken);
|
|
243497
243711
|
await saveAuthData(token, userInfo);
|
|
243498
243712
|
return {
|
|
@@ -250225,6 +250439,64 @@ var onPromptCancel = () => {
|
|
|
250225
250439
|
Ne("Operation cancelled.");
|
|
250226
250440
|
throw new CLIExitError(0);
|
|
250227
250441
|
};
|
|
250442
|
+
// src/cli/utils/runTask.ts
|
|
250443
|
+
async function runTask(startMessage, operation, options) {
|
|
250444
|
+
const s = bt2();
|
|
250445
|
+
s.start(startMessage);
|
|
250446
|
+
const updateMessage = (message) => s.message(message);
|
|
250447
|
+
try {
|
|
250448
|
+
const result = await operation(updateMessage);
|
|
250449
|
+
s.stop(options?.successMessage || startMessage);
|
|
250450
|
+
return result;
|
|
250451
|
+
} catch (error48) {
|
|
250452
|
+
s.error(options?.errorMessage || "Failed");
|
|
250453
|
+
throw error48;
|
|
250454
|
+
}
|
|
250455
|
+
}
|
|
250456
|
+
// src/cli/utils/secret-input.ts
|
|
250457
|
+
async function resolveSecret(options) {
|
|
250458
|
+
if (options.fromStdin) {
|
|
250459
|
+
const value = await readStdin();
|
|
250460
|
+
if (value)
|
|
250461
|
+
return value;
|
|
250462
|
+
}
|
|
250463
|
+
if (options.flagValue) {
|
|
250464
|
+
return options.flagValue;
|
|
250465
|
+
}
|
|
250466
|
+
if (options.envVar) {
|
|
250467
|
+
const envValue = process.env[options.envVar];
|
|
250468
|
+
if (envValue)
|
|
250469
|
+
return envValue;
|
|
250470
|
+
}
|
|
250471
|
+
if (!options.isNonInteractive) {
|
|
250472
|
+
const value = await He({
|
|
250473
|
+
message: options.promptMessage,
|
|
250474
|
+
validate: (v) => {
|
|
250475
|
+
if (!v || v.trim().length === 0) {
|
|
250476
|
+
return `${options.name} is required`;
|
|
250477
|
+
}
|
|
250478
|
+
}
|
|
250479
|
+
});
|
|
250480
|
+
if (Ct(value)) {
|
|
250481
|
+
throw new CLIExitError(0);
|
|
250482
|
+
}
|
|
250483
|
+
return value;
|
|
250484
|
+
}
|
|
250485
|
+
throw new InvalidInputError(`Missing required ${options.name}.`, {
|
|
250486
|
+
hints: options.hints ?? [
|
|
250487
|
+
{
|
|
250488
|
+
message: `Provide the ${options.name} via flag, stdin, or environment variable (${options.envVar ?? "N/A"})`
|
|
250489
|
+
}
|
|
250490
|
+
]
|
|
250491
|
+
});
|
|
250492
|
+
}
|
|
250493
|
+
async function readStdin() {
|
|
250494
|
+
const chunks = [];
|
|
250495
|
+
for await (const chunk of process.stdin) {
|
|
250496
|
+
chunks.push(chunk);
|
|
250497
|
+
}
|
|
250498
|
+
return Buffer.concat(chunks).toString("utf-8").trim();
|
|
250499
|
+
}
|
|
250228
250500
|
// src/cli/utils/urls.ts
|
|
250229
250501
|
function getDashboardUrl(projectId) {
|
|
250230
250502
|
const id = projectId ?? getAppConfig().id;
|
|
@@ -250377,12 +250649,11 @@ async function parseEnvFile(filePath) {
|
|
|
250377
250649
|
}
|
|
250378
250650
|
// src/cli/commands/agents/pull.ts
|
|
250379
250651
|
async function pullAgentsAction({
|
|
250380
|
-
log
|
|
250381
|
-
runTask
|
|
250652
|
+
log
|
|
250382
250653
|
}) {
|
|
250383
250654
|
const { project: project2 } = await readProjectConfig();
|
|
250384
250655
|
const configDir = dirname7(project2.configPath);
|
|
250385
|
-
const agentsDir =
|
|
250656
|
+
const agentsDir = join12(configDir, project2.agentsDir);
|
|
250386
250657
|
const remoteAgents = await runTask("Fetching agents from Base44", async () => {
|
|
250387
250658
|
return await fetchAgents();
|
|
250388
250659
|
}, {
|
|
@@ -250414,8 +250685,7 @@ function getAgentsPullCommand() {
|
|
|
250414
250685
|
|
|
250415
250686
|
// src/cli/commands/agents/push.ts
|
|
250416
250687
|
async function pushAgentsAction({
|
|
250417
|
-
log
|
|
250418
|
-
runTask
|
|
250688
|
+
log
|
|
250419
250689
|
}) {
|
|
250420
250690
|
const { agents } = await readProjectConfig();
|
|
250421
250691
|
log.info(agents.length === 0 ? "No local agents found - this will delete all remote agents" : `Found ${agents.length} agents to push`);
|
|
@@ -250445,6 +250715,234 @@ function getAgentsCommand() {
|
|
|
250445
250715
|
return new Command("agents").description("Manage project agents").addCommand(getAgentsPushCommand()).addCommand(getAgentsPullCommand());
|
|
250446
250716
|
}
|
|
250447
250717
|
|
|
250718
|
+
// src/cli/commands/auth/password-login.ts
|
|
250719
|
+
import { dirname as dirname8, join as join13 } from "node:path";
|
|
250720
|
+
function validateAction(action) {
|
|
250721
|
+
if (action !== "enable" && action !== "disable") {
|
|
250722
|
+
throw new InvalidInputError(`Invalid action "${action}". Must be "enable" or "disable".`, {
|
|
250723
|
+
hints: [
|
|
250724
|
+
{
|
|
250725
|
+
message: "Enable password auth: base44 auth password-login enable",
|
|
250726
|
+
command: "base44 auth password-login enable"
|
|
250727
|
+
},
|
|
250728
|
+
{
|
|
250729
|
+
message: "Disable password auth: base44 auth password-login disable",
|
|
250730
|
+
command: "base44 auth password-login disable"
|
|
250731
|
+
}
|
|
250732
|
+
]
|
|
250733
|
+
});
|
|
250734
|
+
}
|
|
250735
|
+
}
|
|
250736
|
+
async function passwordLoginAction({ log }, action) {
|
|
250737
|
+
validateAction(action);
|
|
250738
|
+
const shouldEnable = action === "enable";
|
|
250739
|
+
const { project: project2 } = await readProjectConfig();
|
|
250740
|
+
const configDir = dirname8(project2.configPath);
|
|
250741
|
+
const authDir = join13(configDir, project2.authDir);
|
|
250742
|
+
const updated = await runTask("Updating local auth config", async () => {
|
|
250743
|
+
const current = await readAuthConfig(authDir) ?? DEFAULT_AUTH_CONFIG;
|
|
250744
|
+
const merged = { ...current, enableUsernamePassword: shouldEnable };
|
|
250745
|
+
await writeAuthConfig(authDir, merged);
|
|
250746
|
+
return merged;
|
|
250747
|
+
});
|
|
250748
|
+
if (!shouldEnable && !hasAnyLoginMethod(updated)) {
|
|
250749
|
+
log.warn("Disabling password auth will leave no login methods enabled. Users will be locked out.");
|
|
250750
|
+
}
|
|
250751
|
+
const newStatus = shouldEnable ? "enabled" : "disabled";
|
|
250752
|
+
return {
|
|
250753
|
+
outroMessage: `Username & password authentication ${newStatus} in local config. Run \`base44 auth push\` or \`base44 deploy\` to apply.`
|
|
250754
|
+
};
|
|
250755
|
+
}
|
|
250756
|
+
function getPasswordLoginCommand() {
|
|
250757
|
+
return new Base44Command("password-login").description("Enable or disable username & password authentication").argument("<enable|disable>", "enable or disable password authentication").action(passwordLoginAction);
|
|
250758
|
+
}
|
|
250759
|
+
|
|
250760
|
+
// src/cli/commands/auth/pull.ts
|
|
250761
|
+
import { dirname as dirname9, join as join14 } from "node:path";
|
|
250762
|
+
async function pullAuthAction({ log }) {
|
|
250763
|
+
const { project: project2 } = await readProjectConfig();
|
|
250764
|
+
const configDir = dirname9(project2.configPath);
|
|
250765
|
+
const authDir = join14(configDir, project2.authDir);
|
|
250766
|
+
const remoteConfig = await runTask("Fetching auth config from Base44", async () => {
|
|
250767
|
+
return await pullAuthConfig();
|
|
250768
|
+
}, {
|
|
250769
|
+
successMessage: "Auth config fetched successfully",
|
|
250770
|
+
errorMessage: "Failed to fetch auth config"
|
|
250771
|
+
});
|
|
250772
|
+
const { written } = await runTask("Syncing auth config file", async () => {
|
|
250773
|
+
return await writeAuthConfig(authDir, remoteConfig);
|
|
250774
|
+
}, {
|
|
250775
|
+
successMessage: "Auth config file synced successfully",
|
|
250776
|
+
errorMessage: "Failed to sync auth config file"
|
|
250777
|
+
});
|
|
250778
|
+
if (written) {
|
|
250779
|
+
log.success("Auth config written to local file");
|
|
250780
|
+
} else {
|
|
250781
|
+
log.info("Auth config is already up to date");
|
|
250782
|
+
}
|
|
250783
|
+
return {
|
|
250784
|
+
outroMessage: `Pulled auth config to ${authDir} (overwrites local file)`
|
|
250785
|
+
};
|
|
250786
|
+
}
|
|
250787
|
+
function getAuthPullCommand() {
|
|
250788
|
+
return new Base44Command("pull").description("Pull auth config from Base44 to local file").action(pullAuthAction);
|
|
250789
|
+
}
|
|
250790
|
+
|
|
250791
|
+
// src/cli/commands/auth/push.ts
|
|
250792
|
+
async function pushAuthAction({ isNonInteractive, log }, options) {
|
|
250793
|
+
const { authConfig } = await readProjectConfig();
|
|
250794
|
+
if (authConfig.length === 0) {
|
|
250795
|
+
log.info("No local auth config found");
|
|
250796
|
+
return {
|
|
250797
|
+
outroMessage: "No auth config to push. Run `base44 auth pull` to fetch the remote config first."
|
|
250798
|
+
};
|
|
250799
|
+
}
|
|
250800
|
+
if (!hasAnyLoginMethod(authConfig[0])) {
|
|
250801
|
+
log.warn("This config has no login methods enabled. Pushing it will lock out all users.");
|
|
250802
|
+
}
|
|
250803
|
+
if (!options.yes) {
|
|
250804
|
+
if (isNonInteractive) {
|
|
250805
|
+
throw new InvalidInputError("--yes is required in non-interactive mode");
|
|
250806
|
+
}
|
|
250807
|
+
const shouldPush = await Re({
|
|
250808
|
+
message: "Push auth config to Base44?"
|
|
250809
|
+
});
|
|
250810
|
+
if (Ct(shouldPush) || !shouldPush) {
|
|
250811
|
+
return { outroMessage: "Push cancelled" };
|
|
250812
|
+
}
|
|
250813
|
+
}
|
|
250814
|
+
await runTask("Pushing auth config to Base44", async () => {
|
|
250815
|
+
return await pushAuthConfig(authConfig[0] ?? null);
|
|
250816
|
+
}, {
|
|
250817
|
+
successMessage: "Auth config pushed successfully",
|
|
250818
|
+
errorMessage: "Failed to push auth config"
|
|
250819
|
+
});
|
|
250820
|
+
return {
|
|
250821
|
+
outroMessage: "Auth config pushed to Base44"
|
|
250822
|
+
};
|
|
250823
|
+
}
|
|
250824
|
+
function getAuthPushCommand() {
|
|
250825
|
+
return new Base44Command("push").description("Push local auth config to Base44").option("-y, --yes", "Skip confirmation prompt").action(pushAuthAction);
|
|
250826
|
+
}
|
|
250827
|
+
|
|
250828
|
+
// src/cli/commands/auth/social-login.ts
|
|
250829
|
+
import { dirname as dirname10, join as join15 } from "node:path";
|
|
250830
|
+
var SOCIAL_PROVIDERS = {
|
|
250831
|
+
google: { field: "enableGoogleLogin", label: "Google" },
|
|
250832
|
+
microsoft: { field: "enableMicrosoftLogin", label: "Microsoft" },
|
|
250833
|
+
facebook: { field: "enableFacebookLogin", label: "Facebook" },
|
|
250834
|
+
apple: { field: "enableAppleLogin", label: "Apple" }
|
|
250835
|
+
};
|
|
250836
|
+
var VALID_PROVIDERS = Object.keys(SOCIAL_PROVIDERS);
|
|
250837
|
+
function validateProvider(provider) {
|
|
250838
|
+
if (!(provider in SOCIAL_PROVIDERS)) {
|
|
250839
|
+
throw new InvalidInputError(`Invalid provider "${provider}". Must be one of: ${VALID_PROVIDERS.join(", ")}.`, {
|
|
250840
|
+
hints: VALID_PROVIDERS.map((p) => ({
|
|
250841
|
+
message: `Enable ${SOCIAL_PROVIDERS[p].label} login: base44 auth social-login ${p} enable`,
|
|
250842
|
+
command: `base44 auth social-login ${p} enable`
|
|
250843
|
+
}))
|
|
250844
|
+
});
|
|
250845
|
+
}
|
|
250846
|
+
}
|
|
250847
|
+
function validateAction2(action) {
|
|
250848
|
+
if (action !== "enable" && action !== "disable") {
|
|
250849
|
+
throw new InvalidInputError(`Invalid action "${action}". Must be "enable" or "disable".`, {
|
|
250850
|
+
hints: [
|
|
250851
|
+
{
|
|
250852
|
+
message: "Enable social login: base44 auth social-login <provider> enable",
|
|
250853
|
+
command: "base44 auth social-login <provider> enable"
|
|
250854
|
+
},
|
|
250855
|
+
{
|
|
250856
|
+
message: "Disable social login: base44 auth social-login <provider> disable",
|
|
250857
|
+
command: "base44 auth social-login <provider> disable"
|
|
250858
|
+
}
|
|
250859
|
+
]
|
|
250860
|
+
});
|
|
250861
|
+
}
|
|
250862
|
+
}
|
|
250863
|
+
async function socialLoginAction({ log, isNonInteractive }, provider, action, options) {
|
|
250864
|
+
validateProvider(provider);
|
|
250865
|
+
validateAction2(action);
|
|
250866
|
+
const shouldEnable = action === "enable";
|
|
250867
|
+
const providerInfo = SOCIAL_PROVIDERS[provider];
|
|
250868
|
+
const hasCustomOAuth = Boolean(options.clientId);
|
|
250869
|
+
const { project: project2 } = await readProjectConfig();
|
|
250870
|
+
const configDir = dirname10(project2.configPath);
|
|
250871
|
+
const authDir = join15(configDir, project2.authDir);
|
|
250872
|
+
if (provider !== "google" && (options.clientId || options.clientSecret || options.clientSecretStdin)) {
|
|
250873
|
+
throw new InvalidInputError(`Custom OAuth options are only supported for Google. Use: base44 auth social-login ${provider} ${action}`);
|
|
250874
|
+
}
|
|
250875
|
+
if (provider === "google" && !shouldEnable && hasCustomOAuth) {
|
|
250876
|
+
throw new InvalidInputError("Custom OAuth options cannot be used with disable. To disable Google login: base44 auth social-login google disable");
|
|
250877
|
+
}
|
|
250878
|
+
let clientSecret;
|
|
250879
|
+
if (provider === "google" && shouldEnable && hasCustomOAuth) {
|
|
250880
|
+
clientSecret = await resolveSecret({
|
|
250881
|
+
flagValue: options.clientSecret,
|
|
250882
|
+
fromStdin: options.clientSecretStdin,
|
|
250883
|
+
envVar: "BASE44_GOOGLE_CLIENT_SECRET",
|
|
250884
|
+
promptMessage: "Enter Google OAuth client secret",
|
|
250885
|
+
isNonInteractive,
|
|
250886
|
+
name: "client secret",
|
|
250887
|
+
hints: [
|
|
250888
|
+
{
|
|
250889
|
+
message: "Provide via flag: base44 auth social-login google enable --client-id <id> --client-secret <secret>",
|
|
250890
|
+
command: "base44 auth social-login google enable --client-id <id> --client-secret <secret>"
|
|
250891
|
+
},
|
|
250892
|
+
{
|
|
250893
|
+
message: "Provide via stdin: echo <secret> | base44 auth social-login google enable --client-id <id> --client-secret-stdin"
|
|
250894
|
+
},
|
|
250895
|
+
{
|
|
250896
|
+
message: "Provide via env: BASE44_GOOGLE_CLIENT_SECRET=<secret> base44 auth social-login google enable --client-id <id>"
|
|
250897
|
+
}
|
|
250898
|
+
]
|
|
250899
|
+
});
|
|
250900
|
+
}
|
|
250901
|
+
const updated = await runTask("Updating local auth config", async () => {
|
|
250902
|
+
const current = await readAuthConfig(authDir) ?? DEFAULT_AUTH_CONFIG;
|
|
250903
|
+
const merged = {
|
|
250904
|
+
...current,
|
|
250905
|
+
[providerInfo.field]: shouldEnable
|
|
250906
|
+
};
|
|
250907
|
+
if (provider === "google" && shouldEnable) {
|
|
250908
|
+
if (hasCustomOAuth) {
|
|
250909
|
+
merged.googleOAuthMode = "custom";
|
|
250910
|
+
merged.googleOAuthClientId = options.clientId;
|
|
250911
|
+
} else {
|
|
250912
|
+
merged.googleOAuthMode = "default";
|
|
250913
|
+
merged.googleOAuthClientId = null;
|
|
250914
|
+
}
|
|
250915
|
+
}
|
|
250916
|
+
if (provider === "google" && !shouldEnable) {
|
|
250917
|
+
merged.googleOAuthMode = "default";
|
|
250918
|
+
merged.googleOAuthClientId = null;
|
|
250919
|
+
}
|
|
250920
|
+
await writeAuthConfig(authDir, merged);
|
|
250921
|
+
return merged;
|
|
250922
|
+
});
|
|
250923
|
+
if (clientSecret) {
|
|
250924
|
+
await runTask("Saving client secret", async () => {
|
|
250925
|
+
await setSecrets({ google_oauth_client_secret: clientSecret });
|
|
250926
|
+
});
|
|
250927
|
+
}
|
|
250928
|
+
if (!shouldEnable && !hasAnyLoginMethod(updated)) {
|
|
250929
|
+
log.warn(`Disabling ${providerInfo.label} login will leave no login methods enabled. Users will be locked out.`);
|
|
250930
|
+
}
|
|
250931
|
+
const newStatus = shouldEnable ? "enabled" : "disabled";
|
|
250932
|
+
const oauthNote = provider === "google" && shouldEnable && hasCustomOAuth ? " with custom OAuth" : "";
|
|
250933
|
+
return {
|
|
250934
|
+
outroMessage: `${providerInfo.label} login ${newStatus}${oauthNote} in local config. Run \`base44 auth push\` or \`base44 deploy\` to apply.`
|
|
250935
|
+
};
|
|
250936
|
+
}
|
|
250937
|
+
function getSocialLoginCommand() {
|
|
250938
|
+
return new Base44Command("social-login").description("Enable or disable social login providers (google, microsoft, facebook, apple)").argument("<provider>", "social login provider (google, microsoft, facebook, apple)").argument("<enable|disable>", "enable or disable the provider").option("--client-id <id>", "Google OAuth client ID (enables custom OAuth mode)").option("--client-secret <secret>", "Google OAuth client secret").option("--client-secret-stdin", "Read client secret from stdin").action(socialLoginAction);
|
|
250939
|
+
}
|
|
250940
|
+
|
|
250941
|
+
// src/cli/commands/auth/index.ts
|
|
250942
|
+
function getAuthCommand() {
|
|
250943
|
+
return new Command("auth").description("Manage app authentication settings").addCommand(getPasswordLoginCommand()).addCommand(getSocialLoginCommand()).addCommand(getAuthPullCommand()).addCommand(getAuthPushCommand());
|
|
250944
|
+
}
|
|
250945
|
+
|
|
250448
250946
|
// src/cli/commands/auth/login.ts
|
|
250449
250947
|
function getLoginCommand() {
|
|
250450
250948
|
return new Base44Command("login", {
|
|
@@ -250476,8 +250974,7 @@ function getWhoamiCommand() {
|
|
|
250476
250974
|
|
|
250477
250975
|
// src/cli/commands/connectors/list-available.ts
|
|
250478
250976
|
async function listAvailableAction({
|
|
250479
|
-
log
|
|
250480
|
-
runTask
|
|
250977
|
+
log
|
|
250481
250978
|
}) {
|
|
250482
250979
|
const { integrations } = await runTask("Fetching available integrations from Base44", async () => {
|
|
250483
250980
|
return await listAvailableIntegrations();
|
|
@@ -250504,14 +251001,13 @@ function getConnectorsListAvailableCommand() {
|
|
|
250504
251001
|
}
|
|
250505
251002
|
|
|
250506
251003
|
// src/cli/commands/connectors/pull.ts
|
|
250507
|
-
import { dirname as
|
|
251004
|
+
import { dirname as dirname11, join as join16 } from "node:path";
|
|
250508
251005
|
async function pullConnectorsAction({
|
|
250509
|
-
log
|
|
250510
|
-
runTask
|
|
251006
|
+
log
|
|
250511
251007
|
}) {
|
|
250512
251008
|
const { project: project2 } = await readProjectConfig();
|
|
250513
|
-
const configDir =
|
|
250514
|
-
const connectorsDir =
|
|
251009
|
+
const configDir = dirname11(project2.configPath);
|
|
251010
|
+
const connectorsDir = join16(configDir, project2.connectorsDir);
|
|
250515
251011
|
const remoteConnectors = await runTask("Fetching connectors from Base44", async () => {
|
|
250516
251012
|
return await pullAllConnectors();
|
|
250517
251013
|
}, {
|
|
@@ -251296,8 +251792,7 @@ function printSummary(results, oauthOutcomes, log) {
|
|
|
251296
251792
|
}
|
|
251297
251793
|
async function pushConnectorsAction({
|
|
251298
251794
|
isNonInteractive,
|
|
251299
|
-
log
|
|
251300
|
-
runTask
|
|
251795
|
+
log
|
|
251301
251796
|
}) {
|
|
251302
251797
|
const { connectors } = await readProjectConfig();
|
|
251303
251798
|
if (connectors.length === 0) {
|
|
@@ -251351,8 +251846,7 @@ function getDashboardCommand() {
|
|
|
251351
251846
|
|
|
251352
251847
|
// src/cli/commands/entities/push.ts
|
|
251353
251848
|
async function pushEntitiesAction({
|
|
251354
|
-
log
|
|
251355
|
-
runTask
|
|
251849
|
+
log
|
|
251356
251850
|
}) {
|
|
251357
251851
|
const { entities } = await readProjectConfig();
|
|
251358
251852
|
if (entities.length === 0) {
|
|
@@ -251382,7 +251876,7 @@ function getEntitiesPushCommand() {
|
|
|
251382
251876
|
}
|
|
251383
251877
|
|
|
251384
251878
|
// src/cli/commands/functions/delete.ts
|
|
251385
|
-
async function deleteFunctionsAction(
|
|
251879
|
+
async function deleteFunctionsAction(_ctx, names) {
|
|
251386
251880
|
let deleted = 0;
|
|
251387
251881
|
let notFound = 0;
|
|
251388
251882
|
let errors5 = 0;
|
|
@@ -251545,8 +252039,7 @@ function getDeployCommand() {
|
|
|
251545
252039
|
|
|
251546
252040
|
// src/cli/commands/functions/list.ts
|
|
251547
252041
|
async function listFunctionsAction({
|
|
251548
|
-
log
|
|
251549
|
-
runTask
|
|
252042
|
+
log
|
|
251550
252043
|
}) {
|
|
251551
252044
|
const { functions } = await runTask("Fetching functions...", async () => listDeployedFunctions(), { errorMessage: "Failed to fetch functions" });
|
|
251552
252045
|
if (functions.length === 0) {
|
|
@@ -251566,11 +252059,11 @@ function getListCommand() {
|
|
|
251566
252059
|
}
|
|
251567
252060
|
|
|
251568
252061
|
// src/cli/commands/functions/pull.ts
|
|
251569
|
-
import { dirname as
|
|
251570
|
-
async function pullFunctionsAction({ log
|
|
252062
|
+
import { dirname as dirname12, join as join17 } from "node:path";
|
|
252063
|
+
async function pullFunctionsAction({ log }, name2) {
|
|
251571
252064
|
const { project: project2 } = await readProjectConfig();
|
|
251572
|
-
const configDir =
|
|
251573
|
-
const functionsDir =
|
|
252065
|
+
const configDir = dirname12(project2.configPath);
|
|
252066
|
+
const functionsDir = join17(configDir, project2.functionsDir);
|
|
251574
252067
|
const remoteFunctions = await runTask("Fetching functions from Base44", async () => {
|
|
251575
252068
|
const { functions } = await listDeployedFunctions();
|
|
251576
252069
|
return functions;
|
|
@@ -251613,7 +252106,7 @@ function getFunctionsCommand() {
|
|
|
251613
252106
|
}
|
|
251614
252107
|
|
|
251615
252108
|
// src/cli/commands/project/create.ts
|
|
251616
|
-
import { basename as basename3, join as
|
|
252109
|
+
import { basename as basename3, join as join18, resolve as resolve2 } from "node:path";
|
|
251617
252110
|
var import_kebabCase = __toESM(require_kebabCase(), 1);
|
|
251618
252111
|
var DEFAULT_TEMPLATE_ID = "backend-only";
|
|
251619
252112
|
async function getTemplateById(templateId) {
|
|
@@ -251633,7 +252126,7 @@ function validateNonInteractiveFlags(command2) {
|
|
|
251633
252126
|
command2.error("--path requires a project name argument. Usage: base44 create <name> --path <path>");
|
|
251634
252127
|
}
|
|
251635
252128
|
}
|
|
251636
|
-
async function createInteractive(options,
|
|
252129
|
+
async function createInteractive(options, log) {
|
|
251637
252130
|
const templates = await listTemplates();
|
|
251638
252131
|
const templateOptions = templates.map((t) => ({
|
|
251639
252132
|
value: t,
|
|
@@ -251675,10 +252168,10 @@ async function createInteractive(options, ctx) {
|
|
|
251675
252168
|
deploy: options.deploy,
|
|
251676
252169
|
skills: options.skills,
|
|
251677
252170
|
isInteractive: true
|
|
251678
|
-
},
|
|
252171
|
+
}, log);
|
|
251679
252172
|
}
|
|
251680
|
-
async function createNonInteractive(options,
|
|
251681
|
-
|
|
252173
|
+
async function createNonInteractive(options, log) {
|
|
252174
|
+
log.info(`Creating a new project at ${resolve2(options.path)}`);
|
|
251682
252175
|
const template2 = await getTemplateById(options.template ?? DEFAULT_TEMPLATE_ID);
|
|
251683
252176
|
return await executeCreate({
|
|
251684
252177
|
template: template2,
|
|
@@ -251687,7 +252180,7 @@ async function createNonInteractive(options, ctx) {
|
|
|
251687
252180
|
deploy: options.deploy,
|
|
251688
252181
|
skills: options.skills,
|
|
251689
252182
|
isInteractive: false
|
|
251690
|
-
},
|
|
252183
|
+
}, log);
|
|
251691
252184
|
}
|
|
251692
252185
|
async function executeCreate({
|
|
251693
252186
|
template: template2,
|
|
@@ -251697,7 +252190,7 @@ async function executeCreate({
|
|
|
251697
252190
|
deploy: deploy5,
|
|
251698
252191
|
skills,
|
|
251699
252192
|
isInteractive
|
|
251700
|
-
},
|
|
252193
|
+
}, log) {
|
|
251701
252194
|
const name2 = rawName.trim();
|
|
251702
252195
|
const resolvedPath = resolve2(projectPath);
|
|
251703
252196
|
const { projectId } = await runTask("Setting up your project...", async () => {
|
|
@@ -251750,7 +252243,7 @@ async function executeCreate({
|
|
|
251750
252243
|
updateMessage("Building project...");
|
|
251751
252244
|
await execa({ cwd: resolvedPath, shell: true })`${buildCommand}`;
|
|
251752
252245
|
updateMessage("Deploying site...");
|
|
251753
|
-
return await deploySite(
|
|
252246
|
+
return await deploySite(join18(resolvedPath, outputDirectory));
|
|
251754
252247
|
}, {
|
|
251755
252248
|
successMessage: theme.colors.base44Orange("Site deployed successfully"),
|
|
251756
252249
|
errorMessage: "Failed to deploy site"
|
|
@@ -251779,7 +252272,7 @@ async function executeCreate({
|
|
|
251779
252272
|
}
|
|
251780
252273
|
return { outroMessage: "Your project is set up and ready to use" };
|
|
251781
252274
|
}
|
|
251782
|
-
async function createAction({ log,
|
|
252275
|
+
async function createAction({ log, isNonInteractive }, name2, options) {
|
|
251783
252276
|
if (name2 && !options.path) {
|
|
251784
252277
|
options.path = `./${import_kebabCase.default(name2)}`;
|
|
251785
252278
|
}
|
|
@@ -251793,11 +252286,10 @@ async function createAction({ log, runTask, isNonInteractive }, name2, options)
|
|
|
251793
252286
|
]
|
|
251794
252287
|
});
|
|
251795
252288
|
}
|
|
251796
|
-
const ctx = { log, runTask };
|
|
251797
252289
|
if (skipPrompts) {
|
|
251798
|
-
return await createNonInteractive({ name: options.name ?? name2, ...options },
|
|
252290
|
+
return await createNonInteractive({ name: options.name ?? name2, ...options }, log);
|
|
251799
252291
|
}
|
|
251800
|
-
return await createInteractive({ name: name2, ...options },
|
|
252292
|
+
return await createInteractive({ name: name2, ...options }, log);
|
|
251801
252293
|
}
|
|
251802
252294
|
function getCreateCommand() {
|
|
251803
252295
|
return new Base44Command("create", {
|
|
@@ -251821,7 +252313,7 @@ async function deployAction({ isNonInteractive, log }, options = {}) {
|
|
|
251821
252313
|
outroMessage: "No resources found to deploy"
|
|
251822
252314
|
};
|
|
251823
252315
|
}
|
|
251824
|
-
const { project: project2, entities, functions, agents, connectors } = projectData;
|
|
252316
|
+
const { project: project2, entities, functions, agents, connectors, authConfig } = projectData;
|
|
251825
252317
|
const summaryLines = [];
|
|
251826
252318
|
if (entities.length > 0) {
|
|
251827
252319
|
summaryLines.push(` - ${entities.length} ${entities.length === 1 ? "entity" : "entities"}`);
|
|
@@ -251835,6 +252327,9 @@ async function deployAction({ isNonInteractive, log }, options = {}) {
|
|
|
251835
252327
|
if (connectors.length > 0) {
|
|
251836
252328
|
summaryLines.push(` - ${connectors.length} ${connectors.length === 1 ? "connector" : "connectors"}`);
|
|
251837
252329
|
}
|
|
252330
|
+
if (authConfig.length > 0) {
|
|
252331
|
+
summaryLines.push(" - Auth config");
|
|
252332
|
+
}
|
|
251838
252333
|
if (project2.site?.outputDirectory) {
|
|
251839
252334
|
summaryLines.push(` - Site from ${project2.site.outputDirectory}`);
|
|
251840
252335
|
}
|
|
@@ -251974,7 +252469,7 @@ async function promptForExistingProject(linkableProjects) {
|
|
|
251974
252469
|
return selectedProject;
|
|
251975
252470
|
}
|
|
251976
252471
|
async function link(ctx, options) {
|
|
251977
|
-
const { log,
|
|
252472
|
+
const { log, isNonInteractive } = ctx;
|
|
251978
252473
|
const skipPrompts = !!options.create || !!options.projectId;
|
|
251979
252474
|
if (!skipPrompts && isNonInteractive) {
|
|
251980
252475
|
throw new InvalidInputError("--create with --name, or --projectId, is required in non-interactive mode");
|
|
@@ -252170,7 +252665,7 @@ function getLogsCommand() {
|
|
|
252170
252665
|
}
|
|
252171
252666
|
|
|
252172
252667
|
// src/cli/commands/secrets/delete.ts
|
|
252173
|
-
async function deleteSecretAction(
|
|
252668
|
+
async function deleteSecretAction(_ctx, key) {
|
|
252174
252669
|
await runTask(`Deleting secret "${key}"`, async () => {
|
|
252175
252670
|
return await deleteSecret(key);
|
|
252176
252671
|
}, {
|
|
@@ -252187,8 +252682,7 @@ function getSecretsDeleteCommand() {
|
|
|
252187
252682
|
|
|
252188
252683
|
// src/cli/commands/secrets/list.ts
|
|
252189
252684
|
async function listSecretsAction({
|
|
252190
|
-
log
|
|
252191
|
-
runTask
|
|
252685
|
+
log
|
|
252192
252686
|
}) {
|
|
252193
252687
|
const secrets = await runTask("Fetching secrets from Base44", async () => {
|
|
252194
252688
|
return await listSecrets();
|
|
@@ -252239,7 +252733,7 @@ function validateInput(entries, options) {
|
|
|
252239
252733
|
throw new InvalidInputError("Provide KEY=VALUE pairs or --env-file, but not both.");
|
|
252240
252734
|
}
|
|
252241
252735
|
}
|
|
252242
|
-
async function setSecretsAction({ log
|
|
252736
|
+
async function setSecretsAction({ log }, entries, options) {
|
|
252243
252737
|
validateInput(entries, options);
|
|
252244
252738
|
let secrets;
|
|
252245
252739
|
if (options.envFile) {
|
|
@@ -252273,7 +252767,7 @@ function getSecretsCommand() {
|
|
|
252273
252767
|
|
|
252274
252768
|
// src/cli/commands/site/deploy.ts
|
|
252275
252769
|
import { resolve as resolve4 } from "node:path";
|
|
252276
|
-
async function deployAction2({ isNonInteractive
|
|
252770
|
+
async function deployAction2({ isNonInteractive }, options) {
|
|
252277
252771
|
if (isNonInteractive && !options.yes) {
|
|
252278
252772
|
throw new InvalidInputError("--yes is required in non-interactive mode");
|
|
252279
252773
|
}
|
|
@@ -252384,9 +252878,9 @@ async function generateContent(input) {
|
|
|
252384
252878
|
`);
|
|
252385
252879
|
}
|
|
252386
252880
|
async function compileEntity(entity2) {
|
|
252387
|
-
const { name: name2, ...
|
|
252881
|
+
const { name: name2, ...schema10 } = entity2;
|
|
252388
252882
|
const jsonSchema = {
|
|
252389
|
-
...
|
|
252883
|
+
...schema10,
|
|
252390
252884
|
title: name2,
|
|
252391
252885
|
additionalProperties: false
|
|
252392
252886
|
};
|
|
@@ -252413,10 +252907,10 @@ function toPascalCase(name2) {
|
|
|
252413
252907
|
return name2.split(/[-_\s]+/).map((w8) => w8.charAt(0).toUpperCase() + w8.slice(1)).join("");
|
|
252414
252908
|
}
|
|
252415
252909
|
// src/core/types/update-project.ts
|
|
252416
|
-
import { join as
|
|
252910
|
+
import { join as join21 } from "node:path";
|
|
252417
252911
|
var TYPES_INCLUDE_PATH = `${PROJECT_SUBDIR}/${TYPES_OUTPUT_SUBDIR}/*.d.ts`;
|
|
252418
252912
|
async function updateProjectConfig(projectRoot) {
|
|
252419
|
-
const tsconfigPath =
|
|
252913
|
+
const tsconfigPath = join21(projectRoot, "tsconfig.json");
|
|
252420
252914
|
if (!await pathExists(tsconfigPath)) {
|
|
252421
252915
|
return false;
|
|
252422
252916
|
}
|
|
@@ -252437,9 +252931,7 @@ async function updateProjectConfig(projectRoot) {
|
|
|
252437
252931
|
}
|
|
252438
252932
|
// src/cli/commands/types/generate.ts
|
|
252439
252933
|
var TYPES_FILE_PATH = "base44/.types/types.d.ts";
|
|
252440
|
-
async function generateTypesAction({
|
|
252441
|
-
runTask
|
|
252442
|
-
}) {
|
|
252934
|
+
async function generateTypesAction(_ctx) {
|
|
252443
252935
|
const { entities, functions, agents, connectors, project: project2 } = await readProjectConfig();
|
|
252444
252936
|
await runTask("Generating types", async () => {
|
|
252445
252937
|
await generateTypesFile({ entities, functions, agents, connectors });
|
|
@@ -252461,7 +252953,7 @@ function getTypesCommand() {
|
|
|
252461
252953
|
// src/cli/dev/dev-server/main.ts
|
|
252462
252954
|
var import_cors = __toESM(require_lib4(), 1);
|
|
252463
252955
|
var import_express5 = __toESM(require_express(), 1);
|
|
252464
|
-
import { dirname as
|
|
252956
|
+
import { dirname as dirname17, join as join24 } from "node:path";
|
|
252465
252957
|
|
|
252466
252958
|
// ../../node_modules/get-port/index.js
|
|
252467
252959
|
import net from "node:net";
|
|
@@ -252482,8 +252974,8 @@ var getLocalHosts = () => {
|
|
|
252482
252974
|
const interfaces = os9.networkInterfaces();
|
|
252483
252975
|
const results = new Set([undefined, "0.0.0.0"]);
|
|
252484
252976
|
for (const _interface of Object.values(interfaces)) {
|
|
252485
|
-
for (const
|
|
252486
|
-
results.add(
|
|
252977
|
+
for (const config11 of _interface) {
|
|
252978
|
+
results.add(config11.address);
|
|
252487
252979
|
}
|
|
252488
252980
|
}
|
|
252489
252981
|
return results;
|
|
@@ -253077,22 +253569,22 @@ class Database {
|
|
|
253077
253569
|
this.schemas.clear();
|
|
253078
253570
|
}
|
|
253079
253571
|
validate(entityName, record2, partial2 = false) {
|
|
253080
|
-
const
|
|
253081
|
-
if (!
|
|
253572
|
+
const schema10 = this.schemas.get(this.normalizeName(entityName));
|
|
253573
|
+
if (!schema10) {
|
|
253082
253574
|
throw new Error(`Entity "${entityName}" not found`);
|
|
253083
253575
|
}
|
|
253084
|
-
return this.validator.validate(record2,
|
|
253576
|
+
return this.validator.validate(record2, schema10, partial2);
|
|
253085
253577
|
}
|
|
253086
253578
|
prepareRecord(entityName, record2, partial2 = false) {
|
|
253087
|
-
const
|
|
253088
|
-
if (!
|
|
253579
|
+
const schema10 = this.schemas.get(this.normalizeName(entityName));
|
|
253580
|
+
if (!schema10) {
|
|
253089
253581
|
throw new Error(`Entity "${entityName}" not found`);
|
|
253090
253582
|
}
|
|
253091
|
-
const filteredRecord = this.validator.filterFields(record2,
|
|
253583
|
+
const filteredRecord = this.validator.filterFields(record2, schema10);
|
|
253092
253584
|
if (partial2) {
|
|
253093
253585
|
return filteredRecord;
|
|
253094
253586
|
}
|
|
253095
|
-
return this.validator.applyDefaults(filteredRecord,
|
|
253587
|
+
return this.validator.applyDefaults(filteredRecord, schema10);
|
|
253096
253588
|
}
|
|
253097
253589
|
normalizeName(entityName) {
|
|
253098
253590
|
return entityName.toLowerCase();
|
|
@@ -254274,9 +254766,9 @@ class NodeFsHandler {
|
|
|
254274
254766
|
if (this.fsw.closed) {
|
|
254275
254767
|
return;
|
|
254276
254768
|
}
|
|
254277
|
-
const
|
|
254769
|
+
const dirname16 = sp2.dirname(file2);
|
|
254278
254770
|
const basename5 = sp2.basename(file2);
|
|
254279
|
-
const parent = this.fsw._getWatchedDir(
|
|
254771
|
+
const parent = this.fsw._getWatchedDir(dirname16);
|
|
254280
254772
|
let prevStats = stats;
|
|
254281
254773
|
if (parent.has(basename5))
|
|
254282
254774
|
return;
|
|
@@ -254303,7 +254795,7 @@ class NodeFsHandler {
|
|
|
254303
254795
|
prevStats = newStats2;
|
|
254304
254796
|
}
|
|
254305
254797
|
} catch (error48) {
|
|
254306
|
-
this.fsw._remove(
|
|
254798
|
+
this.fsw._remove(dirname16, basename5);
|
|
254307
254799
|
}
|
|
254308
254800
|
} else if (parent.has(basename5)) {
|
|
254309
254801
|
const at13 = newStats.atimeMs;
|
|
@@ -255324,8 +255816,8 @@ async function createDevServer(options8) {
|
|
|
255324
255816
|
broadcastEntityEvent(io6, appId, entityName, event);
|
|
255325
255817
|
};
|
|
255326
255818
|
const base44ConfigWatcher = new WatchBase44({
|
|
255327
|
-
functions:
|
|
255328
|
-
entities:
|
|
255819
|
+
functions: join24(dirname17(project2.configPath), project2.functionsDir),
|
|
255820
|
+
entities: join24(dirname17(project2.configPath), project2.entitiesDir)
|
|
255329
255821
|
}, devLogger);
|
|
255330
255822
|
base44ConfigWatcher.on("change", async (name2) => {
|
|
255331
255823
|
try {
|
|
@@ -255430,7 +255922,7 @@ async function runScript(options8) {
|
|
|
255430
255922
|
}
|
|
255431
255923
|
}
|
|
255432
255924
|
// src/cli/commands/exec.ts
|
|
255433
|
-
function
|
|
255925
|
+
function readStdin2() {
|
|
255434
255926
|
return new Promise((resolve8, reject) => {
|
|
255435
255927
|
let data = "";
|
|
255436
255928
|
process.stdin.setEncoding("utf-8");
|
|
@@ -255453,7 +255945,7 @@ async function execAction(isNonInteractive) {
|
|
|
255453
255945
|
if (!isNonInteractive) {
|
|
255454
255946
|
throw noInputError;
|
|
255455
255947
|
}
|
|
255456
|
-
const code2 = await
|
|
255948
|
+
const code2 = await readStdin2();
|
|
255457
255949
|
if (!code2.trim()) {
|
|
255458
255950
|
throw noInputError;
|
|
255459
255951
|
}
|
|
@@ -255479,7 +255971,7 @@ Examples:
|
|
|
255479
255971
|
import { resolve as resolve8 } from "node:path";
|
|
255480
255972
|
var import_kebabCase2 = __toESM(require_kebabCase(), 1);
|
|
255481
255973
|
async function eject(ctx, options8) {
|
|
255482
|
-
const { log,
|
|
255974
|
+
const { log, isNonInteractive } = ctx;
|
|
255483
255975
|
if (isNonInteractive && !options8.projectId) {
|
|
255484
255976
|
throw new InvalidInputError("--project-id is required in non-interactive mode");
|
|
255485
255977
|
}
|
|
@@ -255599,6 +256091,7 @@ function createProgram(context) {
|
|
|
255599
256091
|
program2.addCommand(getConnectorsCommand());
|
|
255600
256092
|
program2.addCommand(getFunctionsCommand());
|
|
255601
256093
|
program2.addCommand(getSecretsCommand());
|
|
256094
|
+
program2.addCommand(getAuthCommand(), { hidden: true });
|
|
255602
256095
|
program2.addCommand(getSiteCommand());
|
|
255603
256096
|
program2.addCommand(getTypesCommand());
|
|
255604
256097
|
program2.addCommand(getExecCommand());
|
|
@@ -255612,7 +256105,7 @@ var import_detect_agent = __toESM(require_dist5(), 1);
|
|
|
255612
256105
|
import { release, type } from "node:os";
|
|
255613
256106
|
|
|
255614
256107
|
// ../../node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
255615
|
-
import { dirname as
|
|
256108
|
+
import { dirname as dirname18, posix, sep } from "path";
|
|
255616
256109
|
function createModulerModifier() {
|
|
255617
256110
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
255618
256111
|
return async (frames) => {
|
|
@@ -255621,7 +256114,7 @@ function createModulerModifier() {
|
|
|
255621
256114
|
return frames;
|
|
255622
256115
|
};
|
|
255623
256116
|
}
|
|
255624
|
-
function createGetModuleFromFilename(basePath = process.argv[1] ?
|
|
256117
|
+
function createGetModuleFromFilename(basePath = process.argv[1] ? dirname18(process.argv[1]) : process.cwd(), isWindows5 = sep === "\\") {
|
|
255625
256118
|
const normalizedBase = isWindows5 ? normalizeWindowsPath2(basePath) : basePath;
|
|
255626
256119
|
return (filename) => {
|
|
255627
256120
|
if (!filename)
|
|
@@ -259809,52 +260302,19 @@ function addCommandInfoToErrorReporter(program2, errorReporter) {
|
|
|
259809
260302
|
});
|
|
259810
260303
|
});
|
|
259811
260304
|
}
|
|
259812
|
-
// src/cli/utils/runTask.ts
|
|
259813
|
-
function createInteractiveRunTask() {
|
|
259814
|
-
return async (startMessage, operation, options8) => {
|
|
259815
|
-
const s5 = bt2();
|
|
259816
|
-
s5.start(startMessage);
|
|
259817
|
-
const updateMessage = (message) => s5.message(message);
|
|
259818
|
-
try {
|
|
259819
|
-
const result = await operation(updateMessage);
|
|
259820
|
-
s5.stop(options8?.successMessage || startMessage);
|
|
259821
|
-
return result;
|
|
259822
|
-
} catch (error48) {
|
|
259823
|
-
s5.error(options8?.errorMessage || "Failed");
|
|
259824
|
-
throw error48;
|
|
259825
|
-
}
|
|
259826
|
-
};
|
|
259827
|
-
}
|
|
259828
|
-
function createSimpleRunTask(log) {
|
|
259829
|
-
return async (startMessage, operation, options8) => {
|
|
259830
|
-
log.info(startMessage);
|
|
259831
|
-
const updateMessage = (message) => log.info(message);
|
|
259832
|
-
try {
|
|
259833
|
-
const result = await operation(updateMessage);
|
|
259834
|
-
log.success(options8?.successMessage || startMessage);
|
|
259835
|
-
return result;
|
|
259836
|
-
} catch (error48) {
|
|
259837
|
-
log.error(options8?.errorMessage || "Failed");
|
|
259838
|
-
throw error48;
|
|
259839
|
-
}
|
|
259840
|
-
};
|
|
259841
|
-
}
|
|
259842
|
-
|
|
259843
260305
|
// src/cli/index.ts
|
|
259844
|
-
var __dirname4 =
|
|
260306
|
+
var __dirname4 = dirname19(fileURLToPath6(import.meta.url));
|
|
259845
260307
|
async function runCLI(options8) {
|
|
259846
|
-
ensureNpmAssets(
|
|
260308
|
+
ensureNpmAssets(join25(__dirname4, "../assets"));
|
|
259847
260309
|
const errorReporter = new ErrorReporter;
|
|
259848
260310
|
errorReporter.registerProcessErrorHandlers();
|
|
259849
260311
|
const isNonInteractive = !process.stdin.isTTY || !process.stdout.isTTY;
|
|
259850
260312
|
const log = isNonInteractive ? new SimpleLogger : new ClackLogger;
|
|
259851
|
-
const runTask = isNonInteractive ? createSimpleRunTask(log) : createInteractiveRunTask();
|
|
259852
260313
|
const context = {
|
|
259853
260314
|
errorReporter,
|
|
259854
260315
|
isNonInteractive,
|
|
259855
260316
|
distribution: options8?.distribution ?? "npm",
|
|
259856
|
-
log
|
|
259857
|
-
runTask
|
|
260317
|
+
log
|
|
259858
260318
|
};
|
|
259859
260319
|
const program2 = createProgram(context);
|
|
259860
260320
|
try {
|
|
@@ -259880,4 +260340,4 @@ export {
|
|
|
259880
260340
|
CLIExitError
|
|
259881
260341
|
};
|
|
259882
260342
|
|
|
259883
|
-
//# debugId=
|
|
260343
|
+
//# debugId=598E133C9D56418664756E2164756E21
|