@base44-preview/cli 0.0.50-pr.481.8015345 → 0.0.50-pr.484.031bd45
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 +1121 -946
- package/dist/cli/index.js.map +24 -21
- package/package.json +1 -1
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(schema7, name2, result) {
|
|
9675
9675
|
var exclude = [];
|
|
9676
|
-
|
|
9676
|
+
schema7.include.forEach(function(includedSchema) {
|
|
9677
9677
|
result = compileList(includedSchema, name2, result);
|
|
9678
9678
|
});
|
|
9679
|
-
|
|
9679
|
+
schema7[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(schema7) {
|
|
9737
|
+
return schema7 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(schema7, 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 = schema7.compiledTypeMap["fallback"][tag];
|
|
11771
11771
|
if (type && _hasOwnProperty.call(type.styleAliases, style)) {
|
|
11772
11772
|
style = type.styleAliases[style];
|
|
11773
11773
|
}
|
|
@@ -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: schema10, 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, schema10.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 ? schema10[identity3.MAP] : (Symbol.iterator in Object(value)) ? schema10[identity3.SEQ] : schema10[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(schema10, 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: schema10,
|
|
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, schema10) {
|
|
19031
19031
|
super(type);
|
|
19032
19032
|
Object.defineProperty(this, "schema", {
|
|
19033
|
-
value:
|
|
19033
|
+
value: schema10,
|
|
19034
19034
|
configurable: true,
|
|
19035
19035
|
enumerable: false,
|
|
19036
19036
|
writable: true
|
|
19037
19037
|
});
|
|
19038
19038
|
}
|
|
19039
|
-
clone(
|
|
19039
|
+
clone(schema10) {
|
|
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 (schema10)
|
|
19042
|
+
copy.schema = schema10;
|
|
19043
|
+
copy.items = copy.items.map((it3) => identity3.isNode(it3) || identity3.isPair(it3) ? it3.clone(schema10) : 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(schema10) {
|
|
19976
19976
|
let { key, value } = this;
|
|
19977
19977
|
if (identity3.isNode(key))
|
|
19978
|
-
key = key.clone(
|
|
19978
|
+
key = key.clone(schema10);
|
|
19979
19979
|
if (identity3.isNode(value))
|
|
19980
|
-
value = value.clone(
|
|
19980
|
+
value = value.clone(schema10);
|
|
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(schema10) {
|
|
20166
|
+
super(identity3.MAP, schema10);
|
|
20167
20167
|
this.items = [];
|
|
20168
20168
|
}
|
|
20169
|
-
static from(
|
|
20169
|
+
static from(schema10, obj, ctx) {
|
|
20170
20170
|
const { keepUndefined, replacer } = ctx;
|
|
20171
|
-
const map2 = new this(
|
|
20171
|
+
const map2 = new this(schema10);
|
|
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 schema10.sortMapEntries === "function") {
|
|
20188
|
+
map2.items.sort(schema10.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: (schema10, obj, ctx) => YAMLMap.YAMLMap.from(schema10, 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(schema10) {
|
|
20300
|
+
super(identity3.SEQ, schema10);
|
|
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(schema10, obj, ctx) {
|
|
20355
20355
|
const { replacer } = ctx;
|
|
20356
|
-
const seq = new this(
|
|
20356
|
+
const seq = new this(schema10);
|
|
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: (schema10, obj, ctx) => YAMLSeq.YAMLSeq.from(schema10, 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 schema10 = [
|
|
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 = schema10;
|
|
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 schema10 = [map2.map, seq.seq].concat(jsonScalars, jsonError);
|
|
20645
|
+
exports.schema = schema10;
|
|
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(schema10, iterable, ctx) {
|
|
20736
20736
|
const { replacer } = ctx;
|
|
20737
|
-
const pairs2 = new YAMLSeq.YAMLSeq(
|
|
20737
|
+
const pairs2 = new YAMLSeq.YAMLSeq(schema10);
|
|
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(schema10, iterable, ctx) {
|
|
20817
|
+
const pairs$1 = pairs.createPairs(schema10, 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: (schema10, iterable, ctx) => YAMLOMap.from(schema10, 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(schema10) {
|
|
21009
|
+
super(schema10);
|
|
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(schema10, iterable, ctx) {
|
|
21050
21050
|
const { replacer } = ctx;
|
|
21051
|
-
const set3 = new this(
|
|
21051
|
+
const set3 = new this(schema10);
|
|
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: (schema10, iterable, ctx) => YAMLSet.from(schema10, 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 schema10 = [
|
|
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 = schema10;
|
|
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 schema10 = 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", schema10.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: schema10, 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 schema10 === "string" && schema10 || "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(schema10, value, tagName, tagToken, onError) {
|
|
22803
22803
|
if (tagName === "!")
|
|
22804
|
-
return
|
|
22804
|
+
return schema10[identity3.SCALAR];
|
|
22805
22805
|
const matchWithTest = [];
|
|
22806
|
-
for (const tag of
|
|
22806
|
+
for (const tag of schema10.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 = schema10.knownTags[tagName];
|
|
22818
22818
|
if (kt3 && !kt3.collection) {
|
|
22819
|
-
|
|
22819
|
+
schema10.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 schema10[identity3.SCALAR];
|
|
22824
22824
|
}
|
|
22825
|
-
function findScalarTagByTest({ atKey, directives, schema:
|
|
22826
|
-
const tag =
|
|
22827
|
-
if (
|
|
22828
|
-
const compat2 =
|
|
22825
|
+
function findScalarTagByTest({ atKey, directives, schema: schema10 }, value, token, onError) {
|
|
22826
|
+
const tag = schema10.tags.find((tag2) => (tag2.default === true || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema10[identity3.SCALAR];
|
|
22827
|
+
if (schema10.compat) {
|
|
22828
|
+
const compat2 = schema10.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema10[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);
|
|
@@ -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" ? join20(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 join20(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: join20,
|
|
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) {
|
|
@@ -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" ? join22(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 join22(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: join22,
|
|
133963
133963
|
line: line3,
|
|
133964
133964
|
softline: softline2,
|
|
133965
133965
|
hardline: hardline4,
|
|
@@ -134614,11 +134614,11 @@ var require_prettier = __commonJS((exports, module) => {
|
|
|
134614
134614
|
var require_formatter = __commonJS((exports) => {
|
|
134615
134615
|
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P9, generator) {
|
|
134616
134616
|
function adopt(value) {
|
|
134617
|
-
return value instanceof P9 ? value : new P9(function(
|
|
134618
|
-
|
|
134617
|
+
return value instanceof P9 ? value : new P9(function(resolve8) {
|
|
134618
|
+
resolve8(value);
|
|
134619
134619
|
});
|
|
134620
134620
|
}
|
|
134621
|
-
return new (P9 || (P9 = Promise))(function(
|
|
134621
|
+
return new (P9 || (P9 = Promise))(function(resolve8, reject) {
|
|
134622
134622
|
function fulfilled(value) {
|
|
134623
134623
|
try {
|
|
134624
134624
|
step(generator.next(value));
|
|
@@ -134634,7 +134634,7 @@ var require_formatter = __commonJS((exports) => {
|
|
|
134634
134634
|
}
|
|
134635
134635
|
}
|
|
134636
134636
|
function step(result) {
|
|
134637
|
-
result.done ?
|
|
134637
|
+
result.done ? resolve8(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
134638
134638
|
}
|
|
134639
134639
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
134640
134640
|
});
|
|
@@ -139287,7 +139287,7 @@ var require_url = __commonJS((exports) => {
|
|
|
139287
139287
|
};
|
|
139288
139288
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
139289
139289
|
exports.parse = undefined;
|
|
139290
|
-
exports.resolve =
|
|
139290
|
+
exports.resolve = resolve8;
|
|
139291
139291
|
exports.cwd = cwd;
|
|
139292
139292
|
exports.getProtocol = getProtocol;
|
|
139293
139293
|
exports.getExtension = getExtension;
|
|
@@ -139315,7 +139315,7 @@ var require_url = __commonJS((exports) => {
|
|
|
139315
139315
|
var urlDecodePatterns = [/%23/g, "#", /%24/g, "$", /%26/g, "&", /%2C/g, ",", /%40/g, "@"];
|
|
139316
139316
|
var parse11 = (u4) => new URL(u4);
|
|
139317
139317
|
exports.parse = parse11;
|
|
139318
|
-
function
|
|
139318
|
+
function resolve8(from, to5) {
|
|
139319
139319
|
const fromUrl = new URL((0, convert_path_to_posix_1.default)(from), "https://aaa.nonexistanturl.com");
|
|
139320
139320
|
const resolvedUrl = new URL((0, convert_path_to_posix_1.default)(to5), fromUrl);
|
|
139321
139321
|
const endSpaces = to5.match(/(\s*)$/)?.[1] || "";
|
|
@@ -139451,7 +139451,7 @@ var require_url = __commonJS((exports) => {
|
|
|
139451
139451
|
}
|
|
139452
139452
|
function relative4(from, to5) {
|
|
139453
139453
|
if (!isFileSystemPath(from) || !isFileSystemPath(to5)) {
|
|
139454
|
-
return
|
|
139454
|
+
return resolve8(from, to5);
|
|
139455
139455
|
}
|
|
139456
139456
|
const fromDir = path_1.default.dirname(stripHash(from));
|
|
139457
139457
|
const toPath4 = stripHash(to5);
|
|
@@ -140127,7 +140127,7 @@ var require_plugins = __commonJS((exports) => {
|
|
|
140127
140127
|
let plugin;
|
|
140128
140128
|
let lastError;
|
|
140129
140129
|
let index = 0;
|
|
140130
|
-
return new Promise((
|
|
140130
|
+
return new Promise((resolve8, reject) => {
|
|
140131
140131
|
runNextPlugin();
|
|
140132
140132
|
function runNextPlugin() {
|
|
140133
140133
|
plugin = plugins[index++];
|
|
@@ -140155,7 +140155,7 @@ var require_plugins = __commonJS((exports) => {
|
|
|
140155
140155
|
}
|
|
140156
140156
|
}
|
|
140157
140157
|
function onSuccess(result) {
|
|
140158
|
-
|
|
140158
|
+
resolve8({
|
|
140159
140159
|
plugin,
|
|
140160
140160
|
result
|
|
140161
140161
|
});
|
|
@@ -141488,11 +141488,11 @@ var require_lib3 = __commonJS((exports) => {
|
|
|
141488
141488
|
var require_resolver = __commonJS((exports) => {
|
|
141489
141489
|
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P9, generator) {
|
|
141490
141490
|
function adopt(value) {
|
|
141491
|
-
return value instanceof P9 ? value : new P9(function(
|
|
141492
|
-
|
|
141491
|
+
return value instanceof P9 ? value : new P9(function(resolve8) {
|
|
141492
|
+
resolve8(value);
|
|
141493
141493
|
});
|
|
141494
141494
|
}
|
|
141495
|
-
return new (P9 || (P9 = Promise))(function(
|
|
141495
|
+
return new (P9 || (P9 = Promise))(function(resolve8, reject) {
|
|
141496
141496
|
function fulfilled(value) {
|
|
141497
141497
|
try {
|
|
141498
141498
|
step(generator.next(value));
|
|
@@ -141508,7 +141508,7 @@ var require_resolver = __commonJS((exports) => {
|
|
|
141508
141508
|
}
|
|
141509
141509
|
}
|
|
141510
141510
|
function step(result) {
|
|
141511
|
-
result.done ?
|
|
141511
|
+
result.done ? resolve8(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
141512
141512
|
}
|
|
141513
141513
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
141514
141514
|
});
|
|
@@ -141629,11 +141629,11 @@ var require_optionValidator = __commonJS((exports) => {
|
|
|
141629
141629
|
var require_src3 = __commonJS((exports) => {
|
|
141630
141630
|
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P9, generator) {
|
|
141631
141631
|
function adopt(value) {
|
|
141632
|
-
return value instanceof P9 ? value : new P9(function(
|
|
141633
|
-
|
|
141632
|
+
return value instanceof P9 ? value : new P9(function(resolve8) {
|
|
141633
|
+
resolve8(value);
|
|
141634
141634
|
});
|
|
141635
141635
|
}
|
|
141636
|
-
return new (P9 || (P9 = Promise))(function(
|
|
141636
|
+
return new (P9 || (P9 = Promise))(function(resolve8, reject) {
|
|
141637
141637
|
function fulfilled(value) {
|
|
141638
141638
|
try {
|
|
141639
141639
|
step(generator.next(value));
|
|
@@ -141649,7 +141649,7 @@ var require_src3 = __commonJS((exports) => {
|
|
|
141649
141649
|
}
|
|
141650
141650
|
}
|
|
141651
141651
|
function step(result) {
|
|
141652
|
-
result.done ?
|
|
141652
|
+
result.done ? resolve8(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
141653
141653
|
}
|
|
141654
141654
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
141655
141655
|
});
|
|
@@ -147274,11 +147274,11 @@ var require_raw_body = __commonJS((exports, module) => {
|
|
|
147274
147274
|
if (done) {
|
|
147275
147275
|
return readStream(stream, encoding, length, limit, wrap(done));
|
|
147276
147276
|
}
|
|
147277
|
-
return new Promise(function executor(
|
|
147277
|
+
return new Promise(function executor(resolve8, reject) {
|
|
147278
147278
|
readStream(stream, encoding, length, limit, function onRead2(err, buf) {
|
|
147279
147279
|
if (err)
|
|
147280
147280
|
return reject(err);
|
|
147281
|
-
|
|
147281
|
+
resolve8(buf);
|
|
147282
147282
|
});
|
|
147283
147283
|
});
|
|
147284
147284
|
}
|
|
@@ -160399,11 +160399,11 @@ 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 dirname16 = path18.dirname;
|
|
160403
160403
|
var basename4 = path18.basename;
|
|
160404
160404
|
var extname2 = path18.extname;
|
|
160405
|
-
var
|
|
160406
|
-
var
|
|
160405
|
+
var join23 = path18.join;
|
|
160406
|
+
var resolve8 = path18.resolve;
|
|
160407
160407
|
module.exports = View;
|
|
160408
160408
|
function View(name2, options8) {
|
|
160409
160409
|
var opts = options8 || {};
|
|
@@ -160437,8 +160437,8 @@ var require_view = __commonJS((exports, module) => {
|
|
|
160437
160437
|
debug('lookup "%s"', name2);
|
|
160438
160438
|
for (var i5 = 0;i5 < roots.length && !path19; i5++) {
|
|
160439
160439
|
var root2 = roots[i5];
|
|
160440
|
-
var loc =
|
|
160441
|
-
var dir =
|
|
160440
|
+
var loc = resolve8(root2, name2);
|
|
160441
|
+
var dir = dirname16(loc);
|
|
160442
160442
|
var file2 = basename4(loc);
|
|
160443
160443
|
path19 = this.resolve(dir, file2);
|
|
160444
160444
|
}
|
|
@@ -160462,14 +160462,14 @@ var require_view = __commonJS((exports, module) => {
|
|
|
160462
160462
|
});
|
|
160463
160463
|
sync = false;
|
|
160464
160464
|
};
|
|
160465
|
-
View.prototype.resolve = function
|
|
160465
|
+
View.prototype.resolve = function resolve9(dir, file2) {
|
|
160466
160466
|
var ext = this.ext;
|
|
160467
|
-
var path19 =
|
|
160467
|
+
var path19 = join23(dir, file2);
|
|
160468
160468
|
var stat2 = tryStat(path19);
|
|
160469
160469
|
if (stat2 && stat2.isFile()) {
|
|
160470
160470
|
return path19;
|
|
160471
160471
|
}
|
|
160472
|
-
path19 =
|
|
160472
|
+
path19 = join23(dir, basename4(file2, ext), "index" + ext);
|
|
160473
160473
|
stat2 = tryStat(path19);
|
|
160474
160474
|
if (stat2 && stat2.isFile()) {
|
|
160475
160475
|
return path19;
|
|
@@ -162621,7 +162621,7 @@ var require_application = __commonJS((exports, module) => {
|
|
|
162621
162621
|
var compileETag = require_utils10().compileETag;
|
|
162622
162622
|
var compileQueryParser = require_utils10().compileQueryParser;
|
|
162623
162623
|
var compileTrust = require_utils10().compileTrust;
|
|
162624
|
-
var
|
|
162624
|
+
var resolve8 = __require("node:path").resolve;
|
|
162625
162625
|
var once9 = require_once();
|
|
162626
162626
|
var Router = require_router();
|
|
162627
162627
|
var slice = Array.prototype.slice;
|
|
@@ -162675,7 +162675,7 @@ var require_application = __commonJS((exports, module) => {
|
|
|
162675
162675
|
this.mountpath = "/";
|
|
162676
162676
|
this.locals.settings = this.settings;
|
|
162677
162677
|
this.set("view", View);
|
|
162678
|
-
this.set("views",
|
|
162678
|
+
this.set("views", resolve8("views"));
|
|
162679
162679
|
this.set("jsonp callback name", "callback");
|
|
162680
162680
|
if (env3 === "production") {
|
|
162681
162681
|
this.enable("view cache");
|
|
@@ -164164,9 +164164,9 @@ 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 join23 = path18.join;
|
|
164168
164168
|
var normalize2 = path18.normalize;
|
|
164169
|
-
var
|
|
164169
|
+
var resolve8 = path18.resolve;
|
|
164170
164170
|
var sep = path18.sep;
|
|
164171
164171
|
var BYTES_RANGE_REGEXP = /^ *bytes=/;
|
|
164172
164172
|
var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1000;
|
|
@@ -164195,7 +164195,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164195
164195
|
this._maxage = opts.maxAge || opts.maxage;
|
|
164196
164196
|
this._maxage = typeof this._maxage === "string" ? ms8(this._maxage) : Number(this._maxage);
|
|
164197
164197
|
this._maxage = !isNaN(this._maxage) ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE) : 0;
|
|
164198
|
-
this._root = opts.root ?
|
|
164198
|
+
this._root = opts.root ? resolve8(opts.root) : null;
|
|
164199
164199
|
}
|
|
164200
164200
|
util2.inherits(SendStream, Stream2);
|
|
164201
164201
|
SendStream.prototype.error = function error48(status, err) {
|
|
@@ -164336,7 +164336,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164336
164336
|
return res;
|
|
164337
164337
|
}
|
|
164338
164338
|
parts = path19.split(sep);
|
|
164339
|
-
path19 = normalize2(
|
|
164339
|
+
path19 = normalize2(join23(root2, path19));
|
|
164340
164340
|
} else {
|
|
164341
164341
|
if (UP_PATH_REGEXP.test(path19)) {
|
|
164342
164342
|
debug('malicious path "%s"', path19);
|
|
@@ -164344,7 +164344,7 @@ var require_send = __commonJS((exports, module) => {
|
|
|
164344
164344
|
return res;
|
|
164345
164345
|
}
|
|
164346
164346
|
parts = normalize2(path19).split(sep);
|
|
164347
|
-
path19 =
|
|
164347
|
+
path19 = resolve8(path19);
|
|
164348
164348
|
}
|
|
164349
164349
|
if (containsDotFile(parts)) {
|
|
164350
164350
|
debug('%s dotfile "%s"', this._dotfiles, 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 = join23(path19, self2._index[i5]);
|
|
164480
164480
|
debug('stat "%s"', p4);
|
|
164481
164481
|
fs28.stat(p4, function(err2, stat2) {
|
|
164482
164482
|
if (err2)
|
|
@@ -164672,7 +164672,7 @@ var require_response = __commonJS((exports, module) => {
|
|
|
164672
164672
|
var cookie = require_cookie();
|
|
164673
164673
|
var send = require_send();
|
|
164674
164674
|
var extname2 = path18.extname;
|
|
164675
|
-
var
|
|
164675
|
+
var resolve8 = path18.resolve;
|
|
164676
164676
|
var vary = require_vary();
|
|
164677
164677
|
var { Buffer: Buffer7 } = __require("node:buffer");
|
|
164678
164678
|
var res = Object.create(http.ServerResponse.prototype);
|
|
@@ -164881,7 +164881,7 @@ var require_response = __commonJS((exports, module) => {
|
|
|
164881
164881
|
}
|
|
164882
164882
|
opts = Object.create(opts);
|
|
164883
164883
|
opts.headers = headers;
|
|
164884
|
-
var fullPath = !opts.root ?
|
|
164884
|
+
var fullPath = !opts.root ? resolve8(path19) : path19;
|
|
164885
164885
|
return this.sendFile(fullPath, opts, done);
|
|
164886
164886
|
};
|
|
164887
164887
|
res.contentType = res.type = function contentType(type) {
|
|
@@ -165142,7 +165142,7 @@ var require_serve_static = __commonJS((exports, module) => {
|
|
|
165142
165142
|
var encodeUrl = require_encodeurl();
|
|
165143
165143
|
var escapeHtml = require_escape_html();
|
|
165144
165144
|
var parseUrl = require_parseurl();
|
|
165145
|
-
var
|
|
165145
|
+
var resolve8 = __require("path").resolve;
|
|
165146
165146
|
var send = require_send();
|
|
165147
165147
|
var url3 = __require("url");
|
|
165148
165148
|
module.exports = serveStatic;
|
|
@@ -165161,7 +165161,7 @@ var require_serve_static = __commonJS((exports, module) => {
|
|
|
165161
165161
|
throw new TypeError("option setHeaders must be function");
|
|
165162
165162
|
}
|
|
165163
165163
|
opts.maxage = opts.maxage || opts.maxAge || 0;
|
|
165164
|
-
opts.root =
|
|
165164
|
+
opts.root = resolve8(root2);
|
|
165165
165165
|
var onDirectory = redirect ? createRedirectDirectoryListener() : createNotFoundDirectoryListener();
|
|
165166
165166
|
return function serveStatic2(req, res, next) {
|
|
165167
165167
|
if (req.method !== "GET" && req.method !== "HEAD") {
|
|
@@ -168535,8 +168535,8 @@ var require_executor = __commonJS((exports, module) => {
|
|
|
168535
168535
|
}
|
|
168536
168536
|
resetBuffer() {
|
|
168537
168537
|
this.buffer = new Waterfall;
|
|
168538
|
-
this.buffer.chain(new Promise((
|
|
168539
|
-
this._triggerBuffer =
|
|
168538
|
+
this.buffer.chain(new Promise((resolve8) => {
|
|
168539
|
+
this._triggerBuffer = resolve8;
|
|
168540
168540
|
}));
|
|
168541
168541
|
if (this.ready)
|
|
168542
168542
|
this._triggerBuffer();
|
|
@@ -169556,7 +169556,7 @@ var require_storage = __commonJS((exports, module) => {
|
|
|
169556
169556
|
throw e8;
|
|
169557
169557
|
}
|
|
169558
169558
|
};
|
|
169559
|
-
var writeFileLinesAsync = (filename, lines, mode = DEFAULT_FILE_MODE) => new Promise((
|
|
169559
|
+
var writeFileLinesAsync = (filename, lines, mode = DEFAULT_FILE_MODE) => new Promise((resolve8, reject) => {
|
|
169560
169560
|
try {
|
|
169561
169561
|
const stream = writeFileStream(filename, { mode });
|
|
169562
169562
|
const readable2 = Readable6.from(lines);
|
|
@@ -169573,7 +169573,7 @@ var require_storage = __commonJS((exports, module) => {
|
|
|
169573
169573
|
if (err)
|
|
169574
169574
|
reject(err);
|
|
169575
169575
|
else
|
|
169576
|
-
|
|
169576
|
+
resolve8();
|
|
169577
169577
|
});
|
|
169578
169578
|
});
|
|
169579
169579
|
readable2.on("error", (err) => {
|
|
@@ -169744,7 +169744,7 @@ var require_persistence = __commonJS((exports, module) => {
|
|
|
169744
169744
|
return { data: tdata, indexes };
|
|
169745
169745
|
}
|
|
169746
169746
|
treatRawStreamAsync(rawStream) {
|
|
169747
|
-
return new Promise((
|
|
169747
|
+
return new Promise((resolve8, reject) => {
|
|
169748
169748
|
const dataById = {};
|
|
169749
169749
|
const indexes = {};
|
|
169750
169750
|
let corruptItems = 0;
|
|
@@ -169787,7 +169787,7 @@ var require_persistence = __commonJS((exports, module) => {
|
|
|
169787
169787
|
}
|
|
169788
169788
|
}
|
|
169789
169789
|
const data = Object.values(dataById);
|
|
169790
|
-
|
|
169790
|
+
resolve8({ data, indexes });
|
|
169791
169791
|
});
|
|
169792
169792
|
lineStream.on("error", function(err) {
|
|
169793
169793
|
reject(err, null);
|
|
@@ -195398,13 +195398,13 @@ var require_broadcast_operator = __commonJS((exports) => {
|
|
|
195398
195398
|
return true;
|
|
195399
195399
|
}
|
|
195400
195400
|
emitWithAck(ev2, ...args) {
|
|
195401
|
-
return new Promise((
|
|
195401
|
+
return new Promise((resolve8, reject) => {
|
|
195402
195402
|
args.push((err, responses) => {
|
|
195403
195403
|
if (err) {
|
|
195404
195404
|
err.responses = responses;
|
|
195405
195405
|
return reject(err);
|
|
195406
195406
|
} else {
|
|
195407
|
-
return
|
|
195407
|
+
return resolve8(responses);
|
|
195408
195408
|
}
|
|
195409
195409
|
});
|
|
195410
195410
|
this.emit(ev2, ...args);
|
|
@@ -195592,12 +195592,12 @@ var require_socket2 = __commonJS((exports) => {
|
|
|
195592
195592
|
}
|
|
195593
195593
|
emitWithAck(ev2, ...args) {
|
|
195594
195594
|
const withErr = this.flags.timeout !== undefined;
|
|
195595
|
-
return new Promise((
|
|
195595
|
+
return new Promise((resolve8, reject) => {
|
|
195596
195596
|
args.push((arg1, arg2) => {
|
|
195597
195597
|
if (withErr) {
|
|
195598
|
-
return arg1 ? reject(arg1) :
|
|
195598
|
+
return arg1 ? reject(arg1) : resolve8(arg2);
|
|
195599
195599
|
} else {
|
|
195600
|
-
return
|
|
195600
|
+
return resolve8(arg1);
|
|
195601
195601
|
}
|
|
195602
195602
|
});
|
|
195603
195603
|
this.emit(ev2, ...args);
|
|
@@ -196052,13 +196052,13 @@ var require_namespace = __commonJS((exports) => {
|
|
|
196052
196052
|
return true;
|
|
196053
196053
|
}
|
|
196054
196054
|
serverSideEmitWithAck(ev2, ...args) {
|
|
196055
|
-
return new Promise((
|
|
196055
|
+
return new Promise((resolve8, reject) => {
|
|
196056
196056
|
args.push((err, responses) => {
|
|
196057
196057
|
if (err) {
|
|
196058
196058
|
err.responses = responses;
|
|
196059
196059
|
return reject(err);
|
|
196060
196060
|
} else {
|
|
196061
|
-
return
|
|
196061
|
+
return resolve8(responses);
|
|
196062
196062
|
}
|
|
196063
196063
|
});
|
|
196064
196064
|
this.serverSideEmit(ev2, ...args);
|
|
@@ -196742,7 +196742,7 @@ var require_cluster_adapter = __commonJS((exports) => {
|
|
|
196742
196742
|
return localSockets;
|
|
196743
196743
|
}
|
|
196744
196744
|
const requestId = randomId();
|
|
196745
|
-
return new Promise((
|
|
196745
|
+
return new Promise((resolve8, reject) => {
|
|
196746
196746
|
const timeout3 = setTimeout(() => {
|
|
196747
196747
|
const storedRequest2 = this.requests.get(requestId);
|
|
196748
196748
|
if (storedRequest2) {
|
|
@@ -196752,7 +196752,7 @@ var require_cluster_adapter = __commonJS((exports) => {
|
|
|
196752
196752
|
}, opts.flags.timeout || DEFAULT_TIMEOUT);
|
|
196753
196753
|
const storedRequest = {
|
|
196754
196754
|
type: MessageType.FETCH_SOCKETS,
|
|
196755
|
-
resolve:
|
|
196755
|
+
resolve: resolve8,
|
|
196756
196756
|
timeout: timeout3,
|
|
196757
196757
|
current: 0,
|
|
196758
196758
|
expected: expectedResponseCount,
|
|
@@ -196962,7 +196962,7 @@ var require_cluster_adapter = __commonJS((exports) => {
|
|
|
196962
196962
|
return localSockets;
|
|
196963
196963
|
}
|
|
196964
196964
|
const requestId = randomId();
|
|
196965
|
-
return new Promise((
|
|
196965
|
+
return new Promise((resolve8, reject) => {
|
|
196966
196966
|
const timeout3 = setTimeout(() => {
|
|
196967
196967
|
const storedRequest2 = this.customRequests.get(requestId);
|
|
196968
196968
|
if (storedRequest2) {
|
|
@@ -196972,7 +196972,7 @@ var require_cluster_adapter = __commonJS((exports) => {
|
|
|
196972
196972
|
}, opts.flags.timeout || DEFAULT_TIMEOUT);
|
|
196973
196973
|
const storedRequest = {
|
|
196974
196974
|
type: MessageType.FETCH_SOCKETS,
|
|
196975
|
-
resolve:
|
|
196975
|
+
resolve: resolve8,
|
|
196976
196976
|
timeout: timeout3,
|
|
196977
196977
|
missingUids: new Set([...this.nodesMap.keys()]),
|
|
196978
196978
|
responses: localSockets
|
|
@@ -197701,13 +197701,13 @@ var require_dist4 = __commonJS((exports, module) => {
|
|
|
197701
197701
|
this.engine.close();
|
|
197702
197702
|
(0, uws_1.restoreAdapter)();
|
|
197703
197703
|
if (this.httpServer) {
|
|
197704
|
-
return new Promise((
|
|
197704
|
+
return new Promise((resolve8) => {
|
|
197705
197705
|
this.httpServer.close((err) => {
|
|
197706
197706
|
fn9 && fn9(err);
|
|
197707
197707
|
if (err) {
|
|
197708
197708
|
debug("server was not running");
|
|
197709
197709
|
}
|
|
197710
|
-
|
|
197710
|
+
resolve8();
|
|
197711
197711
|
});
|
|
197712
197712
|
});
|
|
197713
197713
|
} else {
|
|
@@ -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 join23(s5) {
|
|
214620
214620
|
if (this.length === 0)
|
|
214621
214621
|
return "";
|
|
214622
214622
|
var p4 = this.head;
|
|
@@ -215914,14 +215914,14 @@ var require_async_iterator = __commonJS((exports, module) => {
|
|
|
215914
215914
|
};
|
|
215915
215915
|
}
|
|
215916
215916
|
function readAndResolve(iter) {
|
|
215917
|
-
var
|
|
215918
|
-
if (
|
|
215917
|
+
var resolve8 = iter[kLastResolve];
|
|
215918
|
+
if (resolve8 !== null) {
|
|
215919
215919
|
var data = iter[kStream].read();
|
|
215920
215920
|
if (data !== null) {
|
|
215921
215921
|
iter[kLastPromise] = null;
|
|
215922
215922
|
iter[kLastResolve] = null;
|
|
215923
215923
|
iter[kLastReject] = null;
|
|
215924
|
-
|
|
215924
|
+
resolve8(createIterResult(data, false));
|
|
215925
215925
|
}
|
|
215926
215926
|
}
|
|
215927
215927
|
}
|
|
@@ -215929,13 +215929,13 @@ var require_async_iterator = __commonJS((exports, module) => {
|
|
|
215929
215929
|
process.nextTick(readAndResolve, iter);
|
|
215930
215930
|
}
|
|
215931
215931
|
function wrapForNext(lastPromise, iter) {
|
|
215932
|
-
return function(
|
|
215932
|
+
return function(resolve8, reject) {
|
|
215933
215933
|
lastPromise.then(function() {
|
|
215934
215934
|
if (iter[kEnded]) {
|
|
215935
|
-
|
|
215935
|
+
resolve8(createIterResult(undefined, true));
|
|
215936
215936
|
return;
|
|
215937
215937
|
}
|
|
215938
|
-
iter[kHandlePromise](
|
|
215938
|
+
iter[kHandlePromise](resolve8, reject);
|
|
215939
215939
|
}, reject);
|
|
215940
215940
|
};
|
|
215941
215941
|
}
|
|
@@ -215954,12 +215954,12 @@ var require_async_iterator = __commonJS((exports, module) => {
|
|
|
215954
215954
|
return Promise.resolve(createIterResult(undefined, true));
|
|
215955
215955
|
}
|
|
215956
215956
|
if (this[kStream].destroyed) {
|
|
215957
|
-
return new Promise(function(
|
|
215957
|
+
return new Promise(function(resolve8, reject) {
|
|
215958
215958
|
process.nextTick(function() {
|
|
215959
215959
|
if (_this[kError]) {
|
|
215960
215960
|
reject(_this[kError]);
|
|
215961
215961
|
} else {
|
|
215962
|
-
|
|
215962
|
+
resolve8(createIterResult(undefined, true));
|
|
215963
215963
|
}
|
|
215964
215964
|
});
|
|
215965
215965
|
});
|
|
@@ -215982,13 +215982,13 @@ var require_async_iterator = __commonJS((exports, module) => {
|
|
|
215982
215982
|
return this;
|
|
215983
215983
|
}), _defineProperty(_Object$setPrototypeO, "return", function _return() {
|
|
215984
215984
|
var _this2 = this;
|
|
215985
|
-
return new Promise(function(
|
|
215985
|
+
return new Promise(function(resolve8, reject) {
|
|
215986
215986
|
_this2[kStream].destroy(null, function(err) {
|
|
215987
215987
|
if (err) {
|
|
215988
215988
|
reject(err);
|
|
215989
215989
|
return;
|
|
215990
215990
|
}
|
|
215991
|
-
|
|
215991
|
+
resolve8(createIterResult(undefined, true));
|
|
215992
215992
|
});
|
|
215993
215993
|
});
|
|
215994
215994
|
}), _Object$setPrototypeO), AsyncIteratorPrototype);
|
|
@@ -216010,15 +216010,15 @@ var require_async_iterator = __commonJS((exports, module) => {
|
|
|
216010
216010
|
value: stream._readableState.endEmitted,
|
|
216011
216011
|
writable: true
|
|
216012
216012
|
}), _defineProperty(_Object$create, kHandlePromise, {
|
|
216013
|
-
value: function value(
|
|
216013
|
+
value: function value(resolve8, reject) {
|
|
216014
216014
|
var data = iterator[kStream].read();
|
|
216015
216015
|
if (data) {
|
|
216016
216016
|
iterator[kLastPromise] = null;
|
|
216017
216017
|
iterator[kLastResolve] = null;
|
|
216018
216018
|
iterator[kLastReject] = null;
|
|
216019
|
-
|
|
216019
|
+
resolve8(createIterResult(data, false));
|
|
216020
216020
|
} else {
|
|
216021
|
-
iterator[kLastResolve] =
|
|
216021
|
+
iterator[kLastResolve] = resolve8;
|
|
216022
216022
|
iterator[kLastReject] = reject;
|
|
216023
216023
|
}
|
|
216024
216024
|
},
|
|
@@ -216037,12 +216037,12 @@ var require_async_iterator = __commonJS((exports, module) => {
|
|
|
216037
216037
|
iterator[kError] = err;
|
|
216038
216038
|
return;
|
|
216039
216039
|
}
|
|
216040
|
-
var
|
|
216041
|
-
if (
|
|
216040
|
+
var resolve8 = iterator[kLastResolve];
|
|
216041
|
+
if (resolve8 !== null) {
|
|
216042
216042
|
iterator[kLastPromise] = null;
|
|
216043
216043
|
iterator[kLastResolve] = null;
|
|
216044
216044
|
iterator[kLastReject] = null;
|
|
216045
|
-
|
|
216045
|
+
resolve8(createIterResult(undefined, true));
|
|
216046
216046
|
}
|
|
216047
216047
|
iterator[kEnded] = true;
|
|
216048
216048
|
});
|
|
@@ -216054,7 +216054,7 @@ var require_async_iterator = __commonJS((exports, module) => {
|
|
|
216054
216054
|
|
|
216055
216055
|
// ../../node_modules/readable-stream/lib/internal/streams/from.js
|
|
216056
216056
|
var require_from = __commonJS((exports, module) => {
|
|
216057
|
-
function asyncGeneratorStep(gen,
|
|
216057
|
+
function asyncGeneratorStep(gen, resolve8, reject, _next, _throw, key2, arg) {
|
|
216058
216058
|
try {
|
|
216059
216059
|
var info = gen[key2](arg);
|
|
216060
216060
|
var value = info.value;
|
|
@@ -216063,7 +216063,7 @@ var require_from = __commonJS((exports, module) => {
|
|
|
216063
216063
|
return;
|
|
216064
216064
|
}
|
|
216065
216065
|
if (info.done) {
|
|
216066
|
-
|
|
216066
|
+
resolve8(value);
|
|
216067
216067
|
} else {
|
|
216068
216068
|
Promise.resolve(value).then(_next, _throw);
|
|
216069
216069
|
}
|
|
@@ -216071,13 +216071,13 @@ var require_from = __commonJS((exports, module) => {
|
|
|
216071
216071
|
function _asyncToGenerator(fn9) {
|
|
216072
216072
|
return function() {
|
|
216073
216073
|
var self2 = this, args = arguments;
|
|
216074
|
-
return new Promise(function(
|
|
216074
|
+
return new Promise(function(resolve8, reject) {
|
|
216075
216075
|
var gen = fn9.apply(self2, args);
|
|
216076
216076
|
function _next(value) {
|
|
216077
|
-
asyncGeneratorStep(gen,
|
|
216077
|
+
asyncGeneratorStep(gen, resolve8, reject, _next, _throw, "next", value);
|
|
216078
216078
|
}
|
|
216079
216079
|
function _throw(err) {
|
|
216080
|
-
asyncGeneratorStep(gen,
|
|
216080
|
+
asyncGeneratorStep(gen, resolve8, reject, _next, _throw, "throw", err);
|
|
216081
216081
|
}
|
|
216082
216082
|
_next(undefined);
|
|
216083
216083
|
});
|
|
@@ -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 dirname20, join as join26 } 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();
|
|
@@ -219926,8 +219982,7 @@ var theme = {
|
|
|
219926
219982
|
bold: source_default.bold,
|
|
219927
219983
|
dim: source_default.dim,
|
|
219928
219984
|
error: source_default.red,
|
|
219929
|
-
warn: source_default.yellow
|
|
219930
|
-
info: source_default.cyan
|
|
219985
|
+
warn: source_default.yellow
|
|
219931
219986
|
},
|
|
219932
219987
|
format: {
|
|
219933
219988
|
errorContext(ctx) {
|
|
@@ -235042,8 +235097,8 @@ var TOKEN_REFRESH_BUFFER_MS = 60 * 1000;
|
|
|
235042
235097
|
var refreshPromise = null;
|
|
235043
235098
|
async function readAuth() {
|
|
235044
235099
|
try {
|
|
235045
|
-
const
|
|
235046
|
-
const result = AuthDataSchema.safeParse(
|
|
235100
|
+
const parsed = await readJsonFile(getAuthFilePath());
|
|
235101
|
+
const result = AuthDataSchema.safeParse(parsed);
|
|
235047
235102
|
if (!result.success) {
|
|
235048
235103
|
throw new SchemaValidationError("Invalid authentication data", result.error, getAuthFilePath());
|
|
235049
235104
|
}
|
|
@@ -241731,6 +241786,19 @@ var AppAuthConfigResponseSchema = exports_external.object({
|
|
|
241731
241786
|
function hasAnyLoginMethod(config3) {
|
|
241732
241787
|
return config3.enableUsernamePassword || config3.enableGoogleLogin || config3.enableMicrosoftLogin || config3.enableFacebookLogin || config3.enableAppleLogin || config3.enableSSOLogin;
|
|
241733
241788
|
}
|
|
241789
|
+
var SOCIAL_PROVIDERS = {
|
|
241790
|
+
google: {
|
|
241791
|
+
field: "enableGoogleLogin",
|
|
241792
|
+
customOAuth: {
|
|
241793
|
+
modeField: "googleOAuthMode",
|
|
241794
|
+
clientIdField: "googleOAuthClientId",
|
|
241795
|
+
secretKey: "google_oauth_client_secret"
|
|
241796
|
+
}
|
|
241797
|
+
},
|
|
241798
|
+
microsoft: { field: "enableMicrosoftLogin" },
|
|
241799
|
+
facebook: { field: "enableFacebookLogin" },
|
|
241800
|
+
apple: { field: "enableAppleLogin" }
|
|
241801
|
+
};
|
|
241734
241802
|
function toAuthConfigPayload(config3) {
|
|
241735
241803
|
return {
|
|
241736
241804
|
enable_username_password: config3.enableUsernamePassword,
|
|
@@ -241841,6 +241909,251 @@ var authConfigResource = {
|
|
|
241841
241909
|
await pushAuthConfig(items[0] ?? null);
|
|
241842
241910
|
}
|
|
241843
241911
|
};
|
|
241912
|
+
// src/core/resources/secret/schema.ts
|
|
241913
|
+
var ListSecretsResponseSchema = exports_external.record(exports_external.string(), exports_external.string());
|
|
241914
|
+
var SetSecretsResponseSchema = exports_external.object({
|
|
241915
|
+
success: exports_external.boolean()
|
|
241916
|
+
});
|
|
241917
|
+
var DeleteSecretResponseSchema = exports_external.object({
|
|
241918
|
+
success: exports_external.boolean()
|
|
241919
|
+
});
|
|
241920
|
+
|
|
241921
|
+
// src/core/resources/secret/api.ts
|
|
241922
|
+
async function listSecrets() {
|
|
241923
|
+
const appClient = getAppClient();
|
|
241924
|
+
let response;
|
|
241925
|
+
try {
|
|
241926
|
+
response = await appClient.get("secrets");
|
|
241927
|
+
} catch (error48) {
|
|
241928
|
+
throw await ApiError.fromHttpError(error48, "listing secrets");
|
|
241929
|
+
}
|
|
241930
|
+
const result = ListSecretsResponseSchema.safeParse(await response.json());
|
|
241931
|
+
if (!result.success) {
|
|
241932
|
+
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
241933
|
+
}
|
|
241934
|
+
return result.data;
|
|
241935
|
+
}
|
|
241936
|
+
async function setSecrets(secrets) {
|
|
241937
|
+
const appClient = getAppClient();
|
|
241938
|
+
let response;
|
|
241939
|
+
try {
|
|
241940
|
+
response = await appClient.post("secrets", {
|
|
241941
|
+
json: secrets,
|
|
241942
|
+
timeout: false
|
|
241943
|
+
});
|
|
241944
|
+
} catch (error48) {
|
|
241945
|
+
throw await ApiError.fromHttpError(error48, "setting secrets");
|
|
241946
|
+
}
|
|
241947
|
+
const result = SetSecretsResponseSchema.safeParse(await response.json());
|
|
241948
|
+
if (!result.success) {
|
|
241949
|
+
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
241950
|
+
}
|
|
241951
|
+
return result.data;
|
|
241952
|
+
}
|
|
241953
|
+
async function deleteSecret(name2) {
|
|
241954
|
+
const appClient = getAppClient();
|
|
241955
|
+
let response;
|
|
241956
|
+
try {
|
|
241957
|
+
response = await appClient.delete("secrets", {
|
|
241958
|
+
searchParams: { secret_name: name2 },
|
|
241959
|
+
timeout: false
|
|
241960
|
+
});
|
|
241961
|
+
} catch (error48) {
|
|
241962
|
+
throw await ApiError.fromHttpError(error48, "deleting secret");
|
|
241963
|
+
}
|
|
241964
|
+
const result = DeleteSecretResponseSchema.safeParse(await response.json());
|
|
241965
|
+
if (!result.success) {
|
|
241966
|
+
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
241967
|
+
}
|
|
241968
|
+
return result.data;
|
|
241969
|
+
}
|
|
241970
|
+
// src/core/resources/auth-config/social-login.ts
|
|
241971
|
+
async function updateSocialLoginConfig(authDir, provider, enable, customOAuth) {
|
|
241972
|
+
const providerInfo = SOCIAL_PROVIDERS[provider];
|
|
241973
|
+
const current = await readAuthConfig(authDir) ?? DEFAULT_AUTH_CONFIG;
|
|
241974
|
+
const merged = {
|
|
241975
|
+
...current,
|
|
241976
|
+
[providerInfo.field]: enable,
|
|
241977
|
+
...enable && {
|
|
241978
|
+
enableSSOLogin: false,
|
|
241979
|
+
ssoProviderName: null
|
|
241980
|
+
}
|
|
241981
|
+
};
|
|
241982
|
+
if (providerInfo.customOAuth) {
|
|
241983
|
+
const oauth = providerInfo.customOAuth;
|
|
241984
|
+
if (enable && customOAuth) {
|
|
241985
|
+
merged[oauth.modeField] = "custom";
|
|
241986
|
+
merged[oauth.clientIdField] = customOAuth.clientId;
|
|
241987
|
+
} else {
|
|
241988
|
+
merged[oauth.modeField] = "default";
|
|
241989
|
+
merged[oauth.clientIdField] = null;
|
|
241990
|
+
}
|
|
241991
|
+
}
|
|
241992
|
+
await writeAuthConfig(authDir, merged);
|
|
241993
|
+
return { config: merged, enabled: enable };
|
|
241994
|
+
}
|
|
241995
|
+
async function pushCustomOAuthSecret(provider, clientSecret) {
|
|
241996
|
+
const providerInfo = SOCIAL_PROVIDERS[provider];
|
|
241997
|
+
if (!providerInfo.customOAuth) {
|
|
241998
|
+
return;
|
|
241999
|
+
}
|
|
242000
|
+
await setSecrets({
|
|
242001
|
+
[providerInfo.customOAuth.secretKey]: clientSecret
|
|
242002
|
+
});
|
|
242003
|
+
}
|
|
242004
|
+
// src/core/resources/auth-config/sso.ts
|
|
242005
|
+
var KNOWN_SSO_PROVIDERS = [
|
|
242006
|
+
"google",
|
|
242007
|
+
"microsoft",
|
|
242008
|
+
"github",
|
|
242009
|
+
"okta",
|
|
242010
|
+
"custom"
|
|
242011
|
+
];
|
|
242012
|
+
var BASE_SSO_SCOPE = "openid email profile";
|
|
242013
|
+
var SSO_PROVIDER_SCHEMAS = {
|
|
242014
|
+
google: {
|
|
242015
|
+
requiredKeys: [],
|
|
242016
|
+
defaults: {
|
|
242017
|
+
sso_scope: BASE_SSO_SCOPE,
|
|
242018
|
+
sso_discovery_url: "https://accounts.google.com/.well-known/openid-configuration"
|
|
242019
|
+
}
|
|
242020
|
+
},
|
|
242021
|
+
microsoft: {
|
|
242022
|
+
requiredKeys: ["sso_tenant_id"],
|
|
242023
|
+
defaults: {
|
|
242024
|
+
sso_scope: BASE_SSO_SCOPE
|
|
242025
|
+
},
|
|
242026
|
+
deriveDefaults: (options) => {
|
|
242027
|
+
const tenantId = options.sso_tenant_id;
|
|
242028
|
+
if (tenantId) {
|
|
242029
|
+
return {
|
|
242030
|
+
sso_discovery_url: `https://login.microsoftonline.com/${tenantId}/v2.0/.well-known/openid-configuration`
|
|
242031
|
+
};
|
|
242032
|
+
}
|
|
242033
|
+
return {};
|
|
242034
|
+
}
|
|
242035
|
+
},
|
|
242036
|
+
github: {
|
|
242037
|
+
requiredKeys: [],
|
|
242038
|
+
defaults: {
|
|
242039
|
+
sso_scope: "user:email",
|
|
242040
|
+
sso_auth_endpoint: "https://github.com/login/oauth/authorize",
|
|
242041
|
+
sso_token_endpoint: "https://github.com/login/oauth/access_token",
|
|
242042
|
+
sso_userinfo_endpoint: "https://api.github.com/user"
|
|
242043
|
+
}
|
|
242044
|
+
},
|
|
242045
|
+
okta: {
|
|
242046
|
+
requiredKeys: ["sso_okta_domain"],
|
|
242047
|
+
defaults: {
|
|
242048
|
+
sso_scope: BASE_SSO_SCOPE
|
|
242049
|
+
},
|
|
242050
|
+
deriveDefaults: (options) => {
|
|
242051
|
+
const domain2 = options.sso_okta_domain;
|
|
242052
|
+
if (domain2) {
|
|
242053
|
+
return {
|
|
242054
|
+
sso_discovery_url: `https://${domain2}/.well-known/openid-configuration`
|
|
242055
|
+
};
|
|
242056
|
+
}
|
|
242057
|
+
return {};
|
|
242058
|
+
}
|
|
242059
|
+
},
|
|
242060
|
+
custom: {
|
|
242061
|
+
requiredKeys: [
|
|
242062
|
+
"sso_auth_endpoint",
|
|
242063
|
+
"sso_token_endpoint",
|
|
242064
|
+
"sso_userinfo_endpoint",
|
|
242065
|
+
"sso_jwks_uri"
|
|
242066
|
+
],
|
|
242067
|
+
optionalKeys: ["sso_discovery_url"],
|
|
242068
|
+
defaults: {
|
|
242069
|
+
sso_scope: BASE_SSO_SCOPE
|
|
242070
|
+
}
|
|
242071
|
+
}
|
|
242072
|
+
};
|
|
242073
|
+
var ALL_SSO_SECRET_KEYS = [
|
|
242074
|
+
"sso_name",
|
|
242075
|
+
"sso_client_id",
|
|
242076
|
+
"sso_client_secret",
|
|
242077
|
+
"sso_scope",
|
|
242078
|
+
"sso_discovery_url",
|
|
242079
|
+
"sso_tenant_id",
|
|
242080
|
+
"sso_auth_endpoint",
|
|
242081
|
+
"sso_token_endpoint",
|
|
242082
|
+
"sso_userinfo_endpoint",
|
|
242083
|
+
"sso_okta_domain",
|
|
242084
|
+
"sso_jwks_uri"
|
|
242085
|
+
];
|
|
242086
|
+
async function updateSSOConfig(authDir, provider, enable) {
|
|
242087
|
+
const current = await readAuthConfig(authDir) ?? DEFAULT_AUTH_CONFIG;
|
|
242088
|
+
const merged = {
|
|
242089
|
+
...current,
|
|
242090
|
+
enableSSOLogin: enable,
|
|
242091
|
+
ssoProviderName: enable && provider ? provider : null,
|
|
242092
|
+
...enable && {
|
|
242093
|
+
enableGoogleLogin: false,
|
|
242094
|
+
enableMicrosoftLogin: false,
|
|
242095
|
+
enableFacebookLogin: false,
|
|
242096
|
+
enableAppleLogin: false
|
|
242097
|
+
}
|
|
242098
|
+
};
|
|
242099
|
+
await writeAuthConfig(authDir, merged);
|
|
242100
|
+
return merged;
|
|
242101
|
+
}
|
|
242102
|
+
var OPTION_TO_SECRET_KEY = {
|
|
242103
|
+
scope: "sso_scope",
|
|
242104
|
+
discoveryUrl: "sso_discovery_url",
|
|
242105
|
+
tenantId: "sso_tenant_id",
|
|
242106
|
+
oktaDomain: "sso_okta_domain",
|
|
242107
|
+
authEndpoint: "sso_auth_endpoint",
|
|
242108
|
+
tokenEndpoint: "sso_token_endpoint",
|
|
242109
|
+
userinfoEndpoint: "sso_userinfo_endpoint",
|
|
242110
|
+
jwksUri: "sso_jwks_uri"
|
|
242111
|
+
};
|
|
242112
|
+
function buildSSOSecrets(provider, options) {
|
|
242113
|
+
const schema3 = SSO_PROVIDER_SCHEMAS[provider];
|
|
242114
|
+
const secrets = {};
|
|
242115
|
+
secrets.sso_name = options.ssoName ?? provider;
|
|
242116
|
+
secrets.sso_client_id = options.clientId;
|
|
242117
|
+
secrets.sso_client_secret = options.clientSecret;
|
|
242118
|
+
for (const [optionKey, secretKey] of Object.entries(OPTION_TO_SECRET_KEY)) {
|
|
242119
|
+
const value = options[optionKey];
|
|
242120
|
+
if (typeof value === "string" && value.length > 0) {
|
|
242121
|
+
secrets[secretKey] = value;
|
|
242122
|
+
}
|
|
242123
|
+
}
|
|
242124
|
+
if (schema3.deriveDefaults) {
|
|
242125
|
+
const derived = schema3.deriveDefaults(secrets);
|
|
242126
|
+
for (const [key, val] of Object.entries(derived)) {
|
|
242127
|
+
if (!secrets[key]) {
|
|
242128
|
+
secrets[key] = val;
|
|
242129
|
+
}
|
|
242130
|
+
}
|
|
242131
|
+
}
|
|
242132
|
+
for (const [key, val] of Object.entries(schema3.defaults)) {
|
|
242133
|
+
if (!secrets[key]) {
|
|
242134
|
+
secrets[key] = val;
|
|
242135
|
+
}
|
|
242136
|
+
}
|
|
242137
|
+
const missing = [];
|
|
242138
|
+
for (const key of schema3.requiredKeys) {
|
|
242139
|
+
if (!secrets[key]) {
|
|
242140
|
+
missing.push(key);
|
|
242141
|
+
}
|
|
242142
|
+
}
|
|
242143
|
+
if (provider === "custom" && !options.ssoName) {
|
|
242144
|
+
missing.push("sso_name");
|
|
242145
|
+
}
|
|
242146
|
+
if (missing.length > 0) {
|
|
242147
|
+
throw new InvalidInputError(`Missing required fields for ${provider}: ${missing.join(", ")}`);
|
|
242148
|
+
}
|
|
242149
|
+
return Object.fromEntries(Object.entries(secrets).filter(([, v]) => v.length > 0));
|
|
242150
|
+
}
|
|
242151
|
+
async function pushSSOSecrets(secrets) {
|
|
242152
|
+
await setSecrets(secrets);
|
|
242153
|
+
}
|
|
242154
|
+
async function deleteSSOSecrets() {
|
|
242155
|
+
await Promise.allSettled(ALL_SSO_SECRET_KEYS.map((key) => deleteSecret(key)));
|
|
242156
|
+
}
|
|
241844
242157
|
// src/core/resources/connector/schema.ts
|
|
241845
242158
|
var GoogleCalendarConnectorSchema = exports_external.object({
|
|
241846
242159
|
type: exports_external.literal("googlecalendar"),
|
|
@@ -242595,11 +242908,51 @@ var EntityAutomationSchema = AutomationBaseSchema.extend({
|
|
|
242595
242908
|
entity_name: exports_external.string().min(1, "Entity name cannot be empty"),
|
|
242596
242909
|
event_types: exports_external.array(exports_external.enum(["create", "update", "delete"])).min(1, "At least one event type is required")
|
|
242597
242910
|
});
|
|
242911
|
+
var KnownConditionOperators = [
|
|
242912
|
+
"equals",
|
|
242913
|
+
"not_equals",
|
|
242914
|
+
"gt",
|
|
242915
|
+
"gte",
|
|
242916
|
+
"lt",
|
|
242917
|
+
"lte",
|
|
242918
|
+
"contains",
|
|
242919
|
+
"not_contains",
|
|
242920
|
+
"starts_with",
|
|
242921
|
+
"ends_with",
|
|
242922
|
+
"in_list",
|
|
242923
|
+
"not_in_list",
|
|
242924
|
+
"exists",
|
|
242925
|
+
"not_exists",
|
|
242926
|
+
"is_empty",
|
|
242927
|
+
"is_not_empty"
|
|
242928
|
+
];
|
|
242929
|
+
var ConditionOperatorSchema = exports_external.union([
|
|
242930
|
+
exports_external.enum(KnownConditionOperators),
|
|
242931
|
+
exports_external.string().min(1)
|
|
242932
|
+
]);
|
|
242933
|
+
var TriggerConditionSchema = exports_external.object({
|
|
242934
|
+
field: exports_external.string().min(1),
|
|
242935
|
+
operator: ConditionOperatorSchema,
|
|
242936
|
+
value: exports_external.unknown().nullable().optional()
|
|
242937
|
+
});
|
|
242938
|
+
var TriggerLogicSchema = exports_external.enum(["and", "or"]);
|
|
242939
|
+
var TriggerConditionGroupSchema = exports_external.lazy(() => exports_external.object({
|
|
242940
|
+
logic: TriggerLogicSchema.optional(),
|
|
242941
|
+
conditions: exports_external.array(exports_external.union([TriggerConditionSchema, TriggerConditionGroupSchema])).min(1)
|
|
242942
|
+
}));
|
|
242943
|
+
var ConnectorAutomationSchema = AutomationBaseSchema.extend({
|
|
242944
|
+
type: exports_external.literal("connector"),
|
|
242945
|
+
integration_type: IntegrationTypeSchema,
|
|
242946
|
+
events: exports_external.array(exports_external.string()),
|
|
242947
|
+
resource_id: exports_external.string().nullable().optional(),
|
|
242948
|
+
trigger_conditions: TriggerConditionGroupSchema.nullable().optional()
|
|
242949
|
+
});
|
|
242598
242950
|
var AutomationSchema = exports_external.union([
|
|
242599
242951
|
ScheduledOneTimeSchema,
|
|
242600
242952
|
ScheduledCronSchema,
|
|
242601
242953
|
ScheduledSimpleSchema,
|
|
242602
|
-
EntityAutomationSchema
|
|
242954
|
+
EntityAutomationSchema,
|
|
242955
|
+
ConnectorAutomationSchema
|
|
242603
242956
|
]);
|
|
242604
242957
|
var FunctionConfigSchema = exports_external.object({
|
|
242605
242958
|
name: FunctionNameSchema,
|
|
@@ -243211,12 +243564,10 @@ var package_default = {
|
|
|
243211
243564
|
"@types/ejs": "^3.1.5",
|
|
243212
243565
|
"@types/express": "^5.0.6",
|
|
243213
243566
|
"@types/json-schema": "^7.0.15",
|
|
243214
|
-
"@types/jsonwebtoken": "^9.0.10",
|
|
243215
243567
|
"@types/lodash": "^4.17.24",
|
|
243216
243568
|
"@types/multer": "^2.0.0",
|
|
243217
243569
|
"@types/node": "^22.10.5",
|
|
243218
243570
|
"@vercel/detect-agent": "^1.1.0",
|
|
243219
|
-
outdent: "^0.8.0",
|
|
243220
243571
|
chalk: "^5.6.2",
|
|
243221
243572
|
chokidar: "^5.0.0",
|
|
243222
243573
|
commander: "^12.1.0",
|
|
@@ -243231,7 +243582,6 @@ var package_default = {
|
|
|
243231
243582
|
globby: "^16.1.0",
|
|
243232
243583
|
"http-proxy-middleware": "^3.0.5",
|
|
243233
243584
|
"json-schema-to-typescript": "^15.0.4",
|
|
243234
|
-
jsonwebtoken: "^9.0.3",
|
|
243235
243585
|
json5: "^2.2.3",
|
|
243236
243586
|
ky: "^1.14.2",
|
|
243237
243587
|
lodash: "^4.17.23",
|
|
@@ -243247,7 +243597,6 @@ var package_default = {
|
|
|
243247
243597
|
typescript: "^5.7.2",
|
|
243248
243598
|
vitest: "^4.0.16",
|
|
243249
243599
|
yaml: "^2.8.2",
|
|
243250
|
-
qs: "^6.12.3",
|
|
243251
243600
|
zod: "^4.3.5"
|
|
243252
243601
|
},
|
|
243253
243602
|
engines: {
|
|
@@ -250406,6 +250755,85 @@ var onPromptCancel = () => {
|
|
|
250406
250755
|
Ne("Operation cancelled.");
|
|
250407
250756
|
throw new CLIExitError(0);
|
|
250408
250757
|
};
|
|
250758
|
+
// src/cli/utils/runTask.ts
|
|
250759
|
+
function createInteractiveRunTask() {
|
|
250760
|
+
return async (startMessage, operation, options) => {
|
|
250761
|
+
const s = bt2();
|
|
250762
|
+
s.start(startMessage);
|
|
250763
|
+
const updateMessage = (message) => s.message(message);
|
|
250764
|
+
try {
|
|
250765
|
+
const result = await operation(updateMessage);
|
|
250766
|
+
s.stop(options?.successMessage || startMessage);
|
|
250767
|
+
return result;
|
|
250768
|
+
} catch (error48) {
|
|
250769
|
+
s.error(options?.errorMessage || "Failed");
|
|
250770
|
+
throw error48;
|
|
250771
|
+
}
|
|
250772
|
+
};
|
|
250773
|
+
}
|
|
250774
|
+
function createSimpleRunTask(log) {
|
|
250775
|
+
return async (startMessage, operation, options) => {
|
|
250776
|
+
log.info(startMessage);
|
|
250777
|
+
const updateMessage = (message) => log.info(message);
|
|
250778
|
+
try {
|
|
250779
|
+
const result = await operation(updateMessage);
|
|
250780
|
+
log.success(options?.successMessage || startMessage);
|
|
250781
|
+
return result;
|
|
250782
|
+
} catch (error48) {
|
|
250783
|
+
log.error(options?.errorMessage || "Failed");
|
|
250784
|
+
throw error48;
|
|
250785
|
+
}
|
|
250786
|
+
};
|
|
250787
|
+
}
|
|
250788
|
+
// src/cli/utils/stdin.ts
|
|
250789
|
+
async function readStdin(flagName = "--stdin") {
|
|
250790
|
+
if (process.stdin.isTTY) {
|
|
250791
|
+
throw new InvalidInputError(`${flagName} requires piped input (e.g., echo <value> | base44 ...)`);
|
|
250792
|
+
}
|
|
250793
|
+
const chunks = [];
|
|
250794
|
+
for await (const chunk of process.stdin) {
|
|
250795
|
+
chunks.push(chunk);
|
|
250796
|
+
}
|
|
250797
|
+
return Buffer.concat(chunks).toString("utf-8").trim();
|
|
250798
|
+
}
|
|
250799
|
+
|
|
250800
|
+
// src/cli/utils/secret-input.ts
|
|
250801
|
+
async function resolveSecret(options) {
|
|
250802
|
+
if (options.fromStdin) {
|
|
250803
|
+
const value = await readStdin("--client-secret-stdin");
|
|
250804
|
+
if (value)
|
|
250805
|
+
return value;
|
|
250806
|
+
}
|
|
250807
|
+
if (options.flagValue) {
|
|
250808
|
+
return options.flagValue;
|
|
250809
|
+
}
|
|
250810
|
+
if (options.envVar) {
|
|
250811
|
+
const envValue = process.env[options.envVar];
|
|
250812
|
+
if (envValue)
|
|
250813
|
+
return envValue;
|
|
250814
|
+
}
|
|
250815
|
+
if (!options.isNonInteractive) {
|
|
250816
|
+
const value = await He({
|
|
250817
|
+
message: options.promptMessage,
|
|
250818
|
+
validate: (v) => {
|
|
250819
|
+
if (!v || v.trim().length === 0) {
|
|
250820
|
+
return `${options.name} is required`;
|
|
250821
|
+
}
|
|
250822
|
+
}
|
|
250823
|
+
});
|
|
250824
|
+
if (Ct(value)) {
|
|
250825
|
+
throw new CLIExitError(0);
|
|
250826
|
+
}
|
|
250827
|
+
return value;
|
|
250828
|
+
}
|
|
250829
|
+
throw new InvalidInputError(`Missing required ${options.name}.`, {
|
|
250830
|
+
hints: options.hints ?? [
|
|
250831
|
+
{
|
|
250832
|
+
message: `Provide the ${options.name} via flag, stdin, or environment variable (${options.envVar ?? "N/A"})`
|
|
250833
|
+
}
|
|
250834
|
+
]
|
|
250835
|
+
});
|
|
250836
|
+
}
|
|
250409
250837
|
// src/cli/utils/urls.ts
|
|
250410
250838
|
function getDashboardUrl(projectId) {
|
|
250411
250839
|
const id = projectId ?? getAppConfig().id;
|
|
@@ -250478,64 +250906,6 @@ function formatYaml(data, options = {}) {
|
|
|
250478
250906
|
const replacer = stripEmpty ? stripEmptyReplacer : undefined;
|
|
250479
250907
|
return $stringify(data, replacer, { indent: YAML_INDENT }).trimEnd();
|
|
250480
250908
|
}
|
|
250481
|
-
// src/core/resources/secret/schema.ts
|
|
250482
|
-
var ListSecretsResponseSchema = exports_external.record(exports_external.string(), exports_external.string());
|
|
250483
|
-
var SetSecretsResponseSchema = exports_external.object({
|
|
250484
|
-
success: exports_external.boolean()
|
|
250485
|
-
});
|
|
250486
|
-
var DeleteSecretResponseSchema = exports_external.object({
|
|
250487
|
-
success: exports_external.boolean()
|
|
250488
|
-
});
|
|
250489
|
-
|
|
250490
|
-
// src/core/resources/secret/api.ts
|
|
250491
|
-
async function listSecrets() {
|
|
250492
|
-
const appClient = getAppClient();
|
|
250493
|
-
let response;
|
|
250494
|
-
try {
|
|
250495
|
-
response = await appClient.get("secrets");
|
|
250496
|
-
} catch (error48) {
|
|
250497
|
-
throw await ApiError.fromHttpError(error48, "listing secrets");
|
|
250498
|
-
}
|
|
250499
|
-
const result = ListSecretsResponseSchema.safeParse(await response.json());
|
|
250500
|
-
if (!result.success) {
|
|
250501
|
-
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
250502
|
-
}
|
|
250503
|
-
return result.data;
|
|
250504
|
-
}
|
|
250505
|
-
async function setSecrets(secrets) {
|
|
250506
|
-
const appClient = getAppClient();
|
|
250507
|
-
let response;
|
|
250508
|
-
try {
|
|
250509
|
-
response = await appClient.post("secrets", {
|
|
250510
|
-
json: secrets,
|
|
250511
|
-
timeout: false
|
|
250512
|
-
});
|
|
250513
|
-
} catch (error48) {
|
|
250514
|
-
throw await ApiError.fromHttpError(error48, "setting secrets");
|
|
250515
|
-
}
|
|
250516
|
-
const result = SetSecretsResponseSchema.safeParse(await response.json());
|
|
250517
|
-
if (!result.success) {
|
|
250518
|
-
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
250519
|
-
}
|
|
250520
|
-
return result.data;
|
|
250521
|
-
}
|
|
250522
|
-
async function deleteSecret(name2) {
|
|
250523
|
-
const appClient = getAppClient();
|
|
250524
|
-
let response;
|
|
250525
|
-
try {
|
|
250526
|
-
response = await appClient.delete("secrets", {
|
|
250527
|
-
searchParams: { secret_name: name2 },
|
|
250528
|
-
timeout: false
|
|
250529
|
-
});
|
|
250530
|
-
} catch (error48) {
|
|
250531
|
-
throw await ApiError.fromHttpError(error48, "deleting secret");
|
|
250532
|
-
}
|
|
250533
|
-
const result = DeleteSecretResponseSchema.safeParse(await response.json());
|
|
250534
|
-
if (!result.success) {
|
|
250535
|
-
throw new SchemaValidationError("Invalid response from server", result.error);
|
|
250536
|
-
}
|
|
250537
|
-
return result.data;
|
|
250538
|
-
}
|
|
250539
250909
|
// src/core/utils/dependencies.ts
|
|
250540
250910
|
import { spawnSync as spawnSync2 } from "node:child_process";
|
|
250541
250911
|
function verifyDenoInstalled(context) {
|
|
@@ -250559,18 +250929,18 @@ async function parseEnvFile(filePath) {
|
|
|
250559
250929
|
// src/cli/commands/agents/pull.ts
|
|
250560
250930
|
async function pullAgentsAction({
|
|
250561
250931
|
log,
|
|
250562
|
-
runTask
|
|
250932
|
+
runTask: runTask2
|
|
250563
250933
|
}) {
|
|
250564
250934
|
const { project: project2 } = await readProjectConfig();
|
|
250565
250935
|
const configDir = dirname7(project2.configPath);
|
|
250566
250936
|
const agentsDir = join12(configDir, project2.agentsDir);
|
|
250567
|
-
const remoteAgents = await
|
|
250937
|
+
const remoteAgents = await runTask2("Fetching agents from Base44", async () => {
|
|
250568
250938
|
return await fetchAgents();
|
|
250569
250939
|
}, {
|
|
250570
250940
|
successMessage: "Agents fetched successfully",
|
|
250571
250941
|
errorMessage: "Failed to fetch agents"
|
|
250572
250942
|
});
|
|
250573
|
-
const { written, deleted } = await
|
|
250943
|
+
const { written, deleted } = await runTask2("Syncing agent files", async () => {
|
|
250574
250944
|
return await writeAgents(agentsDir, remoteAgents.items);
|
|
250575
250945
|
}, {
|
|
250576
250946
|
successMessage: "Agent files synced successfully",
|
|
@@ -250596,11 +250966,11 @@ function getAgentsPullCommand() {
|
|
|
250596
250966
|
// src/cli/commands/agents/push.ts
|
|
250597
250967
|
async function pushAgentsAction({
|
|
250598
250968
|
log,
|
|
250599
|
-
runTask
|
|
250969
|
+
runTask: runTask2
|
|
250600
250970
|
}) {
|
|
250601
250971
|
const { agents } = await readProjectConfig();
|
|
250602
250972
|
log.info(agents.length === 0 ? "No local agents found - this will delete all remote agents" : `Found ${agents.length} agents to push`);
|
|
250603
|
-
const result = await
|
|
250973
|
+
const result = await runTask2("Pushing agents to Base44", async () => {
|
|
250604
250974
|
return await pushAgents(agents);
|
|
250605
250975
|
}, {
|
|
250606
250976
|
successMessage: "Agents pushed successfully",
|
|
@@ -250628,29 +250998,12 @@ function getAgentsCommand() {
|
|
|
250628
250998
|
|
|
250629
250999
|
// src/cli/commands/auth/password-login.ts
|
|
250630
251000
|
import { dirname as dirname8, join as join13 } from "node:path";
|
|
250631
|
-
function
|
|
250632
|
-
if (action !== "enable" && action !== "disable") {
|
|
250633
|
-
throw new InvalidInputError(`Invalid action "${action}". Must be "enable" or "disable".`, {
|
|
250634
|
-
hints: [
|
|
250635
|
-
{
|
|
250636
|
-
message: "Enable password auth: base44 auth password-login enable",
|
|
250637
|
-
command: "base44 auth password-login enable"
|
|
250638
|
-
},
|
|
250639
|
-
{
|
|
250640
|
-
message: "Disable password auth: base44 auth password-login disable",
|
|
250641
|
-
command: "base44 auth password-login disable"
|
|
250642
|
-
}
|
|
250643
|
-
]
|
|
250644
|
-
});
|
|
250645
|
-
}
|
|
250646
|
-
}
|
|
250647
|
-
async function passwordLoginAction({ log, runTask }, action) {
|
|
250648
|
-
validateAction(action);
|
|
251001
|
+
async function passwordLoginAction({ log, runTask: runTask2 }, action) {
|
|
250649
251002
|
const shouldEnable = action === "enable";
|
|
250650
251003
|
const { project: project2 } = await readProjectConfig();
|
|
250651
251004
|
const configDir = dirname8(project2.configPath);
|
|
250652
251005
|
const authDir = join13(configDir, project2.authDir);
|
|
250653
|
-
const updated = await
|
|
251006
|
+
const updated = await runTask2("Updating local auth config", async () => {
|
|
250654
251007
|
const current = await readAuthConfig(authDir) ?? DEFAULT_AUTH_CONFIG;
|
|
250655
251008
|
const merged = { ...current, enableUsernamePassword: shouldEnable };
|
|
250656
251009
|
await writeAuthConfig(authDir, merged);
|
|
@@ -250665,25 +251018,25 @@ async function passwordLoginAction({ log, runTask }, action) {
|
|
|
250665
251018
|
};
|
|
250666
251019
|
}
|
|
250667
251020
|
function getPasswordLoginCommand() {
|
|
250668
|
-
return new Base44Command("password-login").description("Enable or disable username & password authentication").
|
|
251021
|
+
return new Base44Command("password-login").description("Enable or disable username & password authentication").addArgument(new Argument("<action>", "enable or disable password authentication").choices(["enable", "disable"])).action(passwordLoginAction);
|
|
250669
251022
|
}
|
|
250670
251023
|
|
|
250671
251024
|
// src/cli/commands/auth/pull.ts
|
|
250672
251025
|
import { dirname as dirname9, join as join14 } from "node:path";
|
|
250673
251026
|
async function pullAuthAction({
|
|
250674
251027
|
log,
|
|
250675
|
-
runTask
|
|
251028
|
+
runTask: runTask2
|
|
250676
251029
|
}) {
|
|
250677
251030
|
const { project: project2 } = await readProjectConfig();
|
|
250678
251031
|
const configDir = dirname9(project2.configPath);
|
|
250679
251032
|
const authDir = join14(configDir, project2.authDir);
|
|
250680
|
-
const remoteConfig = await
|
|
251033
|
+
const remoteConfig = await runTask2("Fetching auth config from Base44", async () => {
|
|
250681
251034
|
return await pullAuthConfig();
|
|
250682
251035
|
}, {
|
|
250683
251036
|
successMessage: "Auth config fetched successfully",
|
|
250684
251037
|
errorMessage: "Failed to fetch auth config"
|
|
250685
251038
|
});
|
|
250686
|
-
const { written } = await
|
|
251039
|
+
const { written } = await runTask2("Syncing auth config file", async () => {
|
|
250687
251040
|
return await writeAuthConfig(authDir, remoteConfig);
|
|
250688
251041
|
}, {
|
|
250689
251042
|
successMessage: "Auth config file synced successfully",
|
|
@@ -250703,7 +251056,7 @@ function getAuthPullCommand() {
|
|
|
250703
251056
|
}
|
|
250704
251057
|
|
|
250705
251058
|
// src/cli/commands/auth/push.ts
|
|
250706
|
-
async function pushAuthAction({ isNonInteractive, log, runTask }, options) {
|
|
251059
|
+
async function pushAuthAction({ isNonInteractive, log, runTask: runTask2 }, options) {
|
|
250707
251060
|
const { authConfig } = await readProjectConfig();
|
|
250708
251061
|
if (authConfig.length === 0) {
|
|
250709
251062
|
log.info("No local auth config found");
|
|
@@ -250725,7 +251078,7 @@ async function pushAuthAction({ isNonInteractive, log, runTask }, options) {
|
|
|
250725
251078
|
return { outroMessage: "Push cancelled" };
|
|
250726
251079
|
}
|
|
250727
251080
|
}
|
|
250728
|
-
await
|
|
251081
|
+
await runTask2("Pushing auth config to Base44", async () => {
|
|
250729
251082
|
return await pushAuthConfig(authConfig[0] ?? null);
|
|
250730
251083
|
}, {
|
|
250731
251084
|
successMessage: "Auth config pushed successfully",
|
|
@@ -250739,9 +251092,263 @@ function getAuthPushCommand() {
|
|
|
250739
251092
|
return new Base44Command("push").description("Push local auth config to Base44").option("-y, --yes", "Skip confirmation prompt").action(pushAuthAction);
|
|
250740
251093
|
}
|
|
250741
251094
|
|
|
251095
|
+
// src/cli/commands/auth/social-login.ts
|
|
251096
|
+
import { dirname as dirname10, join as join15, resolve as resolve2 } from "node:path";
|
|
251097
|
+
var PROVIDER_LABELS = {
|
|
251098
|
+
google: "Google",
|
|
251099
|
+
microsoft: "Microsoft",
|
|
251100
|
+
facebook: "Facebook",
|
|
251101
|
+
apple: "Apple"
|
|
251102
|
+
};
|
|
251103
|
+
var VALID_PROVIDER_NAMES = Object.keys(SOCIAL_PROVIDERS);
|
|
251104
|
+
var PROVIDER_OAUTH_CLI = {
|
|
251105
|
+
google: {
|
|
251106
|
+
envVar: "google_oauth_client_secret",
|
|
251107
|
+
promptMessage: "Enter Google OAuth client secret"
|
|
251108
|
+
}
|
|
251109
|
+
};
|
|
251110
|
+
function hasSecretOptions(options) {
|
|
251111
|
+
return Boolean(options.clientSecret || options.clientSecretStdin || options.envFile);
|
|
251112
|
+
}
|
|
251113
|
+
function hasCustomOAuthOptions(options) {
|
|
251114
|
+
return Boolean(options.clientId || hasSecretOptions(options));
|
|
251115
|
+
}
|
|
251116
|
+
async function socialLoginAction({ log, isNonInteractive, runTask: runTask2 }, provider, action, options) {
|
|
251117
|
+
const shouldEnable = action === "enable";
|
|
251118
|
+
const providerInfo = SOCIAL_PROVIDERS[provider];
|
|
251119
|
+
const label = PROVIDER_LABELS[provider];
|
|
251120
|
+
const hasOAuthOptions = hasCustomOAuthOptions(options);
|
|
251121
|
+
if (hasOAuthOptions && !providerInfo.customOAuth) {
|
|
251122
|
+
throw new InvalidInputError(`Custom OAuth options are only supported for providers with custom OAuth (e.g., google). Use: base44 auth social-login ${provider} ${action}`);
|
|
251123
|
+
}
|
|
251124
|
+
if (hasOAuthOptions && !shouldEnable) {
|
|
251125
|
+
throw new InvalidInputError(`Custom OAuth options cannot be used with disable. To disable ${label} login: base44 auth social-login ${provider} disable`);
|
|
251126
|
+
}
|
|
251127
|
+
if (hasSecretOptions(options) && !options.clientId) {
|
|
251128
|
+
throw new InvalidInputError(`--client-id is required when providing a client secret. Use: base44 auth social-login ${provider} enable --client-id <id> --client-secret <secret>`);
|
|
251129
|
+
}
|
|
251130
|
+
const oauth = providerInfo.customOAuth;
|
|
251131
|
+
const oauthCli = PROVIDER_OAUTH_CLI[provider];
|
|
251132
|
+
const useCustomOAuth = shouldEnable && hasOAuthOptions && oauth != null;
|
|
251133
|
+
let clientSecret;
|
|
251134
|
+
if (useCustomOAuth && oauth && oauthCli && hasSecretOptions(options)) {
|
|
251135
|
+
if (options.envFile) {
|
|
251136
|
+
const secrets = await parseEnvFile(resolve2(options.envFile));
|
|
251137
|
+
const value = secrets[oauthCli.envVar];
|
|
251138
|
+
if (!value) {
|
|
251139
|
+
throw new InvalidInputError(`Key "${oauthCli.envVar}" not found in ${options.envFile}.`);
|
|
251140
|
+
}
|
|
251141
|
+
clientSecret = value;
|
|
251142
|
+
} else {
|
|
251143
|
+
clientSecret = await resolveSecret({
|
|
251144
|
+
flagValue: options.clientSecret,
|
|
251145
|
+
fromStdin: options.clientSecretStdin,
|
|
251146
|
+
envVar: oauthCli.envVar,
|
|
251147
|
+
promptMessage: oauthCli.promptMessage,
|
|
251148
|
+
isNonInteractive,
|
|
251149
|
+
name: "client secret",
|
|
251150
|
+
hints: [
|
|
251151
|
+
{
|
|
251152
|
+
message: `Provide via flag: base44 auth social-login ${provider} enable --client-id <id> --client-secret <secret>`,
|
|
251153
|
+
command: `base44 auth social-login ${provider} enable --client-id <id> --client-secret <secret>`
|
|
251154
|
+
},
|
|
251155
|
+
{
|
|
251156
|
+
message: `Provide via stdin: echo <secret> | base44 auth social-login ${provider} enable --client-id <id> --client-secret-stdin`
|
|
251157
|
+
},
|
|
251158
|
+
{
|
|
251159
|
+
message: `Provide via env: ${oauthCli.envVar}=<secret> base44 auth social-login ${provider} enable --client-id <id>`
|
|
251160
|
+
}
|
|
251161
|
+
]
|
|
251162
|
+
});
|
|
251163
|
+
}
|
|
251164
|
+
}
|
|
251165
|
+
const { project: project2 } = await readProjectConfig();
|
|
251166
|
+
const configDir = dirname10(project2.configPath);
|
|
251167
|
+
const authDir = join15(configDir, project2.authDir);
|
|
251168
|
+
const { config: updated } = await runTask2("Updating local auth config", async () => updateSocialLoginConfig(authDir, provider, shouldEnable, useCustomOAuth && options.clientId ? { clientId: options.clientId } : undefined));
|
|
251169
|
+
if (clientSecret) {
|
|
251170
|
+
await runTask2("Saving client secret", async () => pushCustomOAuthSecret(provider, clientSecret));
|
|
251171
|
+
}
|
|
251172
|
+
if (!shouldEnable && !hasAnyLoginMethod(updated)) {
|
|
251173
|
+
log.warn(`Disabling ${label} login will leave no login methods enabled. Users will be locked out.`);
|
|
251174
|
+
}
|
|
251175
|
+
const newStatus = shouldEnable ? "enabled" : "disabled";
|
|
251176
|
+
const oauthNote = useCustomOAuth ? " with custom OAuth" : "";
|
|
251177
|
+
let outroMessage = `${label} login ${newStatus}${oauthNote} in local config. Run \`base44 auth push\` or \`base44 deploy\` to apply.`;
|
|
251178
|
+
if (useCustomOAuth && !clientSecret) {
|
|
251179
|
+
outroMessage += `
|
|
251180
|
+
Remember to push the client secret separately: base44 secrets set --env-file <path>`;
|
|
251181
|
+
}
|
|
251182
|
+
return { outroMessage };
|
|
251183
|
+
}
|
|
251184
|
+
function getSocialLoginCommand() {
|
|
251185
|
+
return new Base44Command("social-login").description("Enable or disable social login providers (google, microsoft, facebook, apple)").addArgument(new Argument("<provider>", "social login provider").choices(VALID_PROVIDER_NAMES)).addArgument(new Argument("<action>", "enable or disable the provider").choices([
|
|
251186
|
+
"enable",
|
|
251187
|
+
"disable"
|
|
251188
|
+
])).option("--client-id <id>", "custom OAuth client ID (Google only)").option("--client-secret <secret>", "custom OAuth client secret (Google only)").option("--client-secret-stdin", "read client secret from stdin (Google only)").option("--env-file <path>", "read client secret from a .env file (Google only)").action(socialLoginAction);
|
|
251189
|
+
}
|
|
251190
|
+
|
|
251191
|
+
// src/cli/commands/auth/sso.ts
|
|
251192
|
+
import { dirname as dirname11, join as join16, resolve as resolve3 } from "node:path";
|
|
251193
|
+
var SSOConfigFileSchema = exports_external.object({
|
|
251194
|
+
provider: exports_external.enum(["google", "microsoft", "github", "okta", "custom"]),
|
|
251195
|
+
clientId: exports_external.string(),
|
|
251196
|
+
clientSecret: exports_external.string(),
|
|
251197
|
+
scope: exports_external.string().optional(),
|
|
251198
|
+
discoveryUrl: exports_external.string().optional(),
|
|
251199
|
+
tenantId: exports_external.string().optional(),
|
|
251200
|
+
oktaDomain: exports_external.string().optional(),
|
|
251201
|
+
authEndpoint: exports_external.string().optional(),
|
|
251202
|
+
tokenEndpoint: exports_external.string().optional(),
|
|
251203
|
+
userinfoEndpoint: exports_external.string().optional(),
|
|
251204
|
+
jwksUri: exports_external.string().optional(),
|
|
251205
|
+
ssoName: exports_external.string().optional()
|
|
251206
|
+
});
|
|
251207
|
+
async function loadSSOConfigFile(filePath) {
|
|
251208
|
+
const resolved = resolve3(filePath);
|
|
251209
|
+
const raw2 = await readJsonFile(resolved);
|
|
251210
|
+
const result = SSOConfigFileSchema.safeParse(raw2);
|
|
251211
|
+
if (!result.success) {
|
|
251212
|
+
const issues = result.error.issues.map((i2) => ` ${i2.path.join(".")}: ${i2.message}`).join(`
|
|
251213
|
+
`);
|
|
251214
|
+
throw new InvalidInputError(`Invalid SSO config file ${filePath}:
|
|
251215
|
+
${issues}`);
|
|
251216
|
+
}
|
|
251217
|
+
return result.data;
|
|
251218
|
+
}
|
|
251219
|
+
function mergeFileWithFlags(fileConfig, options) {
|
|
251220
|
+
return {
|
|
251221
|
+
provider: options.provider ?? fileConfig.provider,
|
|
251222
|
+
clientId: options.clientId ?? fileConfig.clientId,
|
|
251223
|
+
clientSecret: options.clientSecret ?? fileConfig.clientSecret,
|
|
251224
|
+
clientSecretStdin: options.clientSecretStdin,
|
|
251225
|
+
envFile: options.envFile,
|
|
251226
|
+
scope: options.scope ?? fileConfig.scope,
|
|
251227
|
+
discoveryUrl: options.discoveryUrl ?? fileConfig.discoveryUrl,
|
|
251228
|
+
tenantId: options.tenantId ?? fileConfig.tenantId,
|
|
251229
|
+
oktaDomain: options.oktaDomain ?? fileConfig.oktaDomain,
|
|
251230
|
+
authEndpoint: options.authEndpoint ?? fileConfig.authEndpoint,
|
|
251231
|
+
tokenEndpoint: options.tokenEndpoint ?? fileConfig.tokenEndpoint,
|
|
251232
|
+
userinfoEndpoint: options.userinfoEndpoint ?? fileConfig.userinfoEndpoint,
|
|
251233
|
+
jwksUri: options.jwksUri ?? fileConfig.jwksUri,
|
|
251234
|
+
ssoName: options.ssoName ?? fileConfig.ssoName
|
|
251235
|
+
};
|
|
251236
|
+
}
|
|
251237
|
+
function validateProvider(provider) {
|
|
251238
|
+
if (!provider) {
|
|
251239
|
+
throw new InvalidInputError("Missing --provider.", {
|
|
251240
|
+
hints: [
|
|
251241
|
+
{
|
|
251242
|
+
message: `Valid providers: ${KNOWN_SSO_PROVIDERS.join(", ")}`,
|
|
251243
|
+
command: "base44 auth sso enable --provider google --client-id <id> --client-secret <secret>"
|
|
251244
|
+
}
|
|
251245
|
+
]
|
|
251246
|
+
});
|
|
251247
|
+
}
|
|
251248
|
+
if (!KNOWN_SSO_PROVIDERS.includes(provider)) {
|
|
251249
|
+
throw new InvalidInputError(`Unknown provider "${provider}". Valid providers: ${KNOWN_SSO_PROVIDERS.join(", ")}`);
|
|
251250
|
+
}
|
|
251251
|
+
return provider;
|
|
251252
|
+
}
|
|
251253
|
+
async function ssoEnableAction({ isNonInteractive, log, runTask: runTask2 }, options) {
|
|
251254
|
+
let merged = options;
|
|
251255
|
+
if (options.file) {
|
|
251256
|
+
const fileConfig = await loadSSOConfigFile(options.file);
|
|
251257
|
+
merged = mergeFileWithFlags(fileConfig, options);
|
|
251258
|
+
}
|
|
251259
|
+
const provider = validateProvider(merged.provider);
|
|
251260
|
+
if (!merged.clientId) {
|
|
251261
|
+
throw new InvalidInputError("Missing --client-id.", {
|
|
251262
|
+
hints: [
|
|
251263
|
+
{
|
|
251264
|
+
message: `Example: base44 auth sso enable --provider ${provider} --client-id <id> --client-secret <secret>`,
|
|
251265
|
+
command: `base44 auth sso enable --provider ${provider} --client-id <id> --client-secret <secret>`
|
|
251266
|
+
}
|
|
251267
|
+
]
|
|
251268
|
+
});
|
|
251269
|
+
}
|
|
251270
|
+
let clientSecret;
|
|
251271
|
+
if (merged.envFile && !merged.clientSecret) {
|
|
251272
|
+
const secrets2 = await parseEnvFile(resolve3(merged.envFile));
|
|
251273
|
+
const value = secrets2.sso_client_secret;
|
|
251274
|
+
if (!value) {
|
|
251275
|
+
throw new InvalidInputError(`Key "sso_client_secret" not found in ${merged.envFile}.`);
|
|
251276
|
+
}
|
|
251277
|
+
clientSecret = value;
|
|
251278
|
+
} else {
|
|
251279
|
+
clientSecret = await resolveSecret({
|
|
251280
|
+
flagValue: merged.clientSecret,
|
|
251281
|
+
fromStdin: merged.clientSecretStdin,
|
|
251282
|
+
envVar: "sso_client_secret",
|
|
251283
|
+
promptMessage: "Enter SSO client secret",
|
|
251284
|
+
isNonInteractive,
|
|
251285
|
+
name: "client secret",
|
|
251286
|
+
hints: [
|
|
251287
|
+
{
|
|
251288
|
+
message: `Provide via flag: base44 auth sso enable --provider ${provider} --client-id <id> --client-secret <secret>`,
|
|
251289
|
+
command: `base44 auth sso enable --provider ${provider} --client-id <id> --client-secret <secret>`
|
|
251290
|
+
},
|
|
251291
|
+
{
|
|
251292
|
+
message: `Provide via stdin: echo <secret> | base44 auth sso enable --provider ${provider} --client-id <id> --client-secret-stdin`
|
|
251293
|
+
},
|
|
251294
|
+
{
|
|
251295
|
+
message: `Provide via env: sso_client_secret=<secret> base44 auth sso enable --provider ${provider} --client-id <id>`
|
|
251296
|
+
}
|
|
251297
|
+
]
|
|
251298
|
+
});
|
|
251299
|
+
}
|
|
251300
|
+
const secretOptions = {
|
|
251301
|
+
clientId: merged.clientId,
|
|
251302
|
+
clientSecret,
|
|
251303
|
+
scope: merged.scope,
|
|
251304
|
+
discoveryUrl: merged.discoveryUrl,
|
|
251305
|
+
tenantId: merged.tenantId,
|
|
251306
|
+
oktaDomain: merged.oktaDomain,
|
|
251307
|
+
authEndpoint: merged.authEndpoint,
|
|
251308
|
+
tokenEndpoint: merged.tokenEndpoint,
|
|
251309
|
+
userinfoEndpoint: merged.userinfoEndpoint,
|
|
251310
|
+
jwksUri: merged.jwksUri,
|
|
251311
|
+
ssoName: merged.ssoName
|
|
251312
|
+
};
|
|
251313
|
+
const secrets = buildSSOSecrets(provider, secretOptions);
|
|
251314
|
+
const { project: project2 } = await readProjectConfig();
|
|
251315
|
+
const configDir = dirname11(project2.configPath);
|
|
251316
|
+
const authDir = join16(configDir, project2.authDir);
|
|
251317
|
+
await runTask2("Updating local auth config", async () => updateSSOConfig(authDir, provider, true));
|
|
251318
|
+
await runTask2("Saving SSO credentials", async () => pushSSOSecrets(secrets));
|
|
251319
|
+
return {
|
|
251320
|
+
outroMessage: `SSO configured with ${provider} in local config. Run \`base44 auth push\` or \`base44 deploy\` to apply.`
|
|
251321
|
+
};
|
|
251322
|
+
}
|
|
251323
|
+
async function ssoDisableAction({
|
|
251324
|
+
log,
|
|
251325
|
+
runTask: runTask2
|
|
251326
|
+
}) {
|
|
251327
|
+
const { project: project2 } = await readProjectConfig();
|
|
251328
|
+
const configDir = dirname11(project2.configPath);
|
|
251329
|
+
const authDir = join16(configDir, project2.authDir);
|
|
251330
|
+
await runTask2("Updating local auth config", async () => updateSSOConfig(authDir, null, false));
|
|
251331
|
+
await runTask2("Removing SSO credentials", async () => deleteSSOSecrets());
|
|
251332
|
+
return {
|
|
251333
|
+
outroMessage: "SSO disabled in local config and credentials removed. Run `base44 auth push` or `base44 deploy` to apply."
|
|
251334
|
+
};
|
|
251335
|
+
}
|
|
251336
|
+
async function ssoAction(context, action, options) {
|
|
251337
|
+
if (action === "disable") {
|
|
251338
|
+
return ssoDisableAction(context);
|
|
251339
|
+
}
|
|
251340
|
+
return ssoEnableAction(context, options);
|
|
251341
|
+
}
|
|
251342
|
+
function getSSOCommand() {
|
|
251343
|
+
return new Base44Command("sso").description("Configure SSO identity provider (google, microsoft, github, okta, custom)").addArgument(new Argument("<action>", "enable or disable SSO").choices([
|
|
251344
|
+
"enable",
|
|
251345
|
+
"disable"
|
|
251346
|
+
])).option("--provider <provider>", "SSO provider: google, microsoft, github, okta, custom").option("--client-id <id>", "OAuth client ID").option("--client-secret <secret>", "OAuth client secret").option("--client-secret-stdin", "Read client secret from stdin").option("--env-file <path>", "Read client secret from a .env file (key: sso_client_secret)").option("--file <path>", "JSON config file with all SSO settings").option("--scope <scope>", "OAuth scope (defaults per provider)").option("--discovery-url <url>", "OIDC discovery URL").option("--tenant-id <id>", "Microsoft tenant ID (required for microsoft)").option("--okta-domain <domain>", "Okta domain (required for okta)").option("--auth-endpoint <url>", "Authorization endpoint (required for custom)").option("--token-endpoint <url>", "Token endpoint (required for custom)").option("--userinfo-endpoint <url>", "Userinfo endpoint (required for custom)").option("--jwks-uri <url>", "JWKS URI (required for custom)").option("--sso-name <name>", "Provider display name (required for custom)").action(ssoAction);
|
|
251347
|
+
}
|
|
251348
|
+
|
|
250742
251349
|
// src/cli/commands/auth/index.ts
|
|
250743
251350
|
function getAuthCommand() {
|
|
250744
|
-
return new Command("auth").description("Manage app authentication settings").addCommand(getPasswordLoginCommand()).addCommand(getAuthPullCommand()).addCommand(getAuthPushCommand());
|
|
251351
|
+
return new Command("auth").description("Manage app authentication settings").addCommand(getPasswordLoginCommand()).addCommand(getSocialLoginCommand()).addCommand(getSSOCommand()).addCommand(getAuthPullCommand()).addCommand(getAuthPushCommand());
|
|
250745
251352
|
}
|
|
250746
251353
|
|
|
250747
251354
|
// src/cli/commands/auth/login.ts
|
|
@@ -250776,9 +251383,9 @@ function getWhoamiCommand() {
|
|
|
250776
251383
|
// src/cli/commands/connectors/list-available.ts
|
|
250777
251384
|
async function listAvailableAction({
|
|
250778
251385
|
log,
|
|
250779
|
-
runTask
|
|
251386
|
+
runTask: runTask2
|
|
250780
251387
|
}) {
|
|
250781
|
-
const { integrations } = await
|
|
251388
|
+
const { integrations } = await runTask2("Fetching available integrations from Base44", async () => {
|
|
250782
251389
|
return await listAvailableIntegrations();
|
|
250783
251390
|
}, {
|
|
250784
251391
|
successMessage: "Available integrations fetched successfully",
|
|
@@ -250803,21 +251410,21 @@ function getConnectorsListAvailableCommand() {
|
|
|
250803
251410
|
}
|
|
250804
251411
|
|
|
250805
251412
|
// src/cli/commands/connectors/pull.ts
|
|
250806
|
-
import { dirname as
|
|
251413
|
+
import { dirname as dirname12, join as join17 } from "node:path";
|
|
250807
251414
|
async function pullConnectorsAction({
|
|
250808
251415
|
log,
|
|
250809
|
-
runTask
|
|
251416
|
+
runTask: runTask2
|
|
250810
251417
|
}) {
|
|
250811
251418
|
const { project: project2 } = await readProjectConfig();
|
|
250812
|
-
const configDir =
|
|
250813
|
-
const connectorsDir =
|
|
250814
|
-
const remoteConnectors = await
|
|
251419
|
+
const configDir = dirname12(project2.configPath);
|
|
251420
|
+
const connectorsDir = join17(configDir, project2.connectorsDir);
|
|
251421
|
+
const remoteConnectors = await runTask2("Fetching connectors from Base44", async () => {
|
|
250815
251422
|
return await pullAllConnectors();
|
|
250816
251423
|
}, {
|
|
250817
251424
|
successMessage: "Connectors fetched successfully",
|
|
250818
251425
|
errorMessage: "Failed to fetch connectors"
|
|
250819
251426
|
});
|
|
250820
|
-
const { written, deleted } = await
|
|
251427
|
+
const { written, deleted } = await runTask2("Syncing connector files", async () => {
|
|
250821
251428
|
return await writeConnectors(connectorsDir, remoteConnectors);
|
|
250822
251429
|
}, {
|
|
250823
251430
|
successMessage: "Connector files synced successfully",
|
|
@@ -251339,19 +251946,19 @@ var baseOpen = async (options) => {
|
|
|
251339
251946
|
}
|
|
251340
251947
|
const subprocess = childProcess3.spawn(command2, cliArguments, childProcessOptions);
|
|
251341
251948
|
if (options.wait) {
|
|
251342
|
-
return new Promise((
|
|
251949
|
+
return new Promise((resolve4, reject) => {
|
|
251343
251950
|
subprocess.once("error", reject);
|
|
251344
251951
|
subprocess.once("close", (exitCode) => {
|
|
251345
251952
|
if (!options.allowNonzeroExitCode && exitCode !== 0) {
|
|
251346
251953
|
reject(new Error(`Exited with code ${exitCode}`));
|
|
251347
251954
|
return;
|
|
251348
251955
|
}
|
|
251349
|
-
|
|
251956
|
+
resolve4(subprocess);
|
|
251350
251957
|
});
|
|
251351
251958
|
});
|
|
251352
251959
|
}
|
|
251353
251960
|
if (isFallbackAttempt) {
|
|
251354
|
-
return new Promise((
|
|
251961
|
+
return new Promise((resolve4, reject) => {
|
|
251355
251962
|
subprocess.once("error", reject);
|
|
251356
251963
|
subprocess.once("spawn", () => {
|
|
251357
251964
|
subprocess.once("close", (exitCode) => {
|
|
@@ -251361,17 +251968,17 @@ var baseOpen = async (options) => {
|
|
|
251361
251968
|
return;
|
|
251362
251969
|
}
|
|
251363
251970
|
subprocess.unref();
|
|
251364
|
-
|
|
251971
|
+
resolve4(subprocess);
|
|
251365
251972
|
});
|
|
251366
251973
|
});
|
|
251367
251974
|
});
|
|
251368
251975
|
}
|
|
251369
251976
|
subprocess.unref();
|
|
251370
|
-
return new Promise((
|
|
251977
|
+
return new Promise((resolve4, reject) => {
|
|
251371
251978
|
subprocess.once("error", reject);
|
|
251372
251979
|
subprocess.once("spawn", () => {
|
|
251373
251980
|
subprocess.off("error", reject);
|
|
251374
|
-
|
|
251981
|
+
resolve4(subprocess);
|
|
251375
251982
|
});
|
|
251376
251983
|
});
|
|
251377
251984
|
};
|
|
@@ -251596,7 +252203,7 @@ function printSummary(results, oauthOutcomes, log) {
|
|
|
251596
252203
|
async function pushConnectorsAction({
|
|
251597
252204
|
isNonInteractive,
|
|
251598
252205
|
log,
|
|
251599
|
-
runTask
|
|
252206
|
+
runTask: runTask2
|
|
251600
252207
|
}) {
|
|
251601
252208
|
const { connectors } = await readProjectConfig();
|
|
251602
252209
|
if (connectors.length === 0) {
|
|
@@ -251605,7 +252212,7 @@ async function pushConnectorsAction({
|
|
|
251605
252212
|
const connectorNames = connectors.map((c3) => c3.type).join(", ");
|
|
251606
252213
|
log.info(`Found ${connectors.length} connectors to push: ${connectorNames}`);
|
|
251607
252214
|
}
|
|
251608
|
-
const { results } = await
|
|
252215
|
+
const { results } = await runTask2("Pushing connectors to Base44", async () => {
|
|
251609
252216
|
return await pushConnectors(connectors);
|
|
251610
252217
|
});
|
|
251611
252218
|
const needsOAuth = filterPendingOAuth(results);
|
|
@@ -251651,7 +252258,7 @@ function getDashboardCommand() {
|
|
|
251651
252258
|
// src/cli/commands/entities/push.ts
|
|
251652
252259
|
async function pushEntitiesAction({
|
|
251653
252260
|
log,
|
|
251654
|
-
runTask
|
|
252261
|
+
runTask: runTask2
|
|
251655
252262
|
}) {
|
|
251656
252263
|
const { entities } = await readProjectConfig();
|
|
251657
252264
|
if (entities.length === 0) {
|
|
@@ -251659,7 +252266,7 @@ async function pushEntitiesAction({
|
|
|
251659
252266
|
}
|
|
251660
252267
|
const entityNames = entities.map((e2) => e2.name).join(", ");
|
|
251661
252268
|
log.info(`Found ${entities.length} entities to push: ${entityNames}`);
|
|
251662
|
-
const result = await
|
|
252269
|
+
const result = await runTask2("Pushing entities to Base44", async () => {
|
|
251663
252270
|
return await pushEntities(entities);
|
|
251664
252271
|
}, {
|
|
251665
252272
|
successMessage: "Entities pushed successfully",
|
|
@@ -251681,13 +252288,13 @@ function getEntitiesPushCommand() {
|
|
|
251681
252288
|
}
|
|
251682
252289
|
|
|
251683
252290
|
// src/cli/commands/functions/delete.ts
|
|
251684
|
-
async function deleteFunctionsAction({ runTask }, names) {
|
|
252291
|
+
async function deleteFunctionsAction({ runTask: runTask2 }, names) {
|
|
251685
252292
|
let deleted = 0;
|
|
251686
252293
|
let notFound = 0;
|
|
251687
252294
|
let errors5 = 0;
|
|
251688
252295
|
for (const name2 of names) {
|
|
251689
252296
|
try {
|
|
251690
|
-
await
|
|
252297
|
+
await runTask2(`Deleting ${name2}...`, () => deleteSingleFunction(name2), {
|
|
251691
252298
|
successMessage: `${name2} deleted`,
|
|
251692
252299
|
errorMessage: `Failed to delete ${name2}`
|
|
251693
252300
|
});
|
|
@@ -251845,9 +252452,9 @@ function getDeployCommand() {
|
|
|
251845
252452
|
// src/cli/commands/functions/list.ts
|
|
251846
252453
|
async function listFunctionsAction({
|
|
251847
252454
|
log,
|
|
251848
|
-
runTask
|
|
252455
|
+
runTask: runTask2
|
|
251849
252456
|
}) {
|
|
251850
|
-
const { functions } = await
|
|
252457
|
+
const { functions } = await runTask2("Fetching functions...", async () => listDeployedFunctions(), { errorMessage: "Failed to fetch functions" });
|
|
251851
252458
|
if (functions.length === 0) {
|
|
251852
252459
|
return { outroMessage: "No functions on remote" };
|
|
251853
252460
|
}
|
|
@@ -251865,12 +252472,12 @@ function getListCommand() {
|
|
|
251865
252472
|
}
|
|
251866
252473
|
|
|
251867
252474
|
// src/cli/commands/functions/pull.ts
|
|
251868
|
-
import { dirname as
|
|
251869
|
-
async function pullFunctionsAction({ log, runTask }, name2) {
|
|
252475
|
+
import { dirname as dirname13, join as join18 } from "node:path";
|
|
252476
|
+
async function pullFunctionsAction({ log, runTask: runTask2 }, name2) {
|
|
251870
252477
|
const { project: project2 } = await readProjectConfig();
|
|
251871
|
-
const configDir =
|
|
251872
|
-
const functionsDir =
|
|
251873
|
-
const remoteFunctions = await
|
|
252478
|
+
const configDir = dirname13(project2.configPath);
|
|
252479
|
+
const functionsDir = join18(configDir, project2.functionsDir);
|
|
252480
|
+
const remoteFunctions = await runTask2("Fetching functions from Base44", async () => {
|
|
251874
252481
|
const { functions } = await listDeployedFunctions();
|
|
251875
252482
|
return functions;
|
|
251876
252483
|
}, {
|
|
@@ -251886,7 +252493,7 @@ async function pullFunctionsAction({ log, runTask }, name2) {
|
|
|
251886
252493
|
if (toPull.length === 0) {
|
|
251887
252494
|
return { outroMessage: "No functions found on remote" };
|
|
251888
252495
|
}
|
|
251889
|
-
const { written, skipped } = await
|
|
252496
|
+
const { written, skipped } = await runTask2("Writing function files", async () => {
|
|
251890
252497
|
return await writeFunctions(functionsDir, toPull);
|
|
251891
252498
|
}, {
|
|
251892
252499
|
successMessage: "Function files written successfully",
|
|
@@ -251912,7 +252519,7 @@ function getFunctionsCommand() {
|
|
|
251912
252519
|
}
|
|
251913
252520
|
|
|
251914
252521
|
// src/cli/commands/project/create.ts
|
|
251915
|
-
import { basename as basename3, join as
|
|
252522
|
+
import { basename as basename3, join as join19, resolve as resolve4 } from "node:path";
|
|
251916
252523
|
var import_kebabCase = __toESM(require_kebabCase(), 1);
|
|
251917
252524
|
var DEFAULT_TEMPLATE_ID = "backend-only";
|
|
251918
252525
|
async function getTemplateById(templateId) {
|
|
@@ -251977,7 +252584,7 @@ async function createInteractive(options, ctx) {
|
|
|
251977
252584
|
}, ctx);
|
|
251978
252585
|
}
|
|
251979
252586
|
async function createNonInteractive(options, ctx) {
|
|
251980
|
-
ctx.log.info(`Creating a new project at ${
|
|
252587
|
+
ctx.log.info(`Creating a new project at ${resolve4(options.path)}`);
|
|
251981
252588
|
const template2 = await getTemplateById(options.template ?? DEFAULT_TEMPLATE_ID);
|
|
251982
252589
|
return await executeCreate({
|
|
251983
252590
|
template: template2,
|
|
@@ -251996,10 +252603,10 @@ async function executeCreate({
|
|
|
251996
252603
|
deploy: deploy5,
|
|
251997
252604
|
skills,
|
|
251998
252605
|
isInteractive
|
|
251999
|
-
}, { log, runTask }) {
|
|
252606
|
+
}, { log, runTask: runTask2 }) {
|
|
252000
252607
|
const name2 = rawName.trim();
|
|
252001
|
-
const resolvedPath =
|
|
252002
|
-
const { projectId } = await
|
|
252608
|
+
const resolvedPath = resolve4(projectPath);
|
|
252609
|
+
const { projectId } = await runTask2("Setting up your project...", async () => {
|
|
252003
252610
|
return await createProjectFiles({
|
|
252004
252611
|
name: name2,
|
|
252005
252612
|
description: description?.trim(),
|
|
@@ -252024,7 +252631,7 @@ async function executeCreate({
|
|
|
252024
252631
|
shouldPushEntities = !!deploy5;
|
|
252025
252632
|
}
|
|
252026
252633
|
if (shouldPushEntities) {
|
|
252027
|
-
await
|
|
252634
|
+
await runTask2(`Pushing ${entities.length} data models to Base44...`, async () => {
|
|
252028
252635
|
await pushEntities(entities);
|
|
252029
252636
|
}, {
|
|
252030
252637
|
successMessage: theme.colors.base44Orange("Data models pushed successfully"),
|
|
@@ -252044,12 +252651,12 @@ async function executeCreate({
|
|
|
252044
252651
|
shouldDeploy = !!deploy5;
|
|
252045
252652
|
}
|
|
252046
252653
|
if (shouldDeploy && installCommand && buildCommand && outputDirectory) {
|
|
252047
|
-
const { appUrl } = await
|
|
252654
|
+
const { appUrl } = await runTask2("Installing dependencies...", async (updateMessage) => {
|
|
252048
252655
|
await execa({ cwd: resolvedPath, shell: true })`${installCommand}`;
|
|
252049
252656
|
updateMessage("Building project...");
|
|
252050
252657
|
await execa({ cwd: resolvedPath, shell: true })`${buildCommand}`;
|
|
252051
252658
|
updateMessage("Deploying site...");
|
|
252052
|
-
return await deploySite(
|
|
252659
|
+
return await deploySite(join19(resolvedPath, outputDirectory));
|
|
252053
252660
|
}, {
|
|
252054
252661
|
successMessage: theme.colors.base44Orange("Site deployed successfully"),
|
|
252055
252662
|
errorMessage: "Failed to deploy site"
|
|
@@ -252060,7 +252667,7 @@ async function executeCreate({
|
|
|
252060
252667
|
const shouldAddSkills = skills;
|
|
252061
252668
|
if (shouldAddSkills) {
|
|
252062
252669
|
try {
|
|
252063
|
-
await
|
|
252670
|
+
await runTask2("Installing AI agent skills...", async () => {
|
|
252064
252671
|
await execa("npx", ["-y", "skills", "add", "base44/skills", "-y"], {
|
|
252065
252672
|
cwd: resolvedPath,
|
|
252066
252673
|
shell: true
|
|
@@ -252078,7 +252685,7 @@ async function executeCreate({
|
|
|
252078
252685
|
}
|
|
252079
252686
|
return { outroMessage: "Your project is set up and ready to use" };
|
|
252080
252687
|
}
|
|
252081
|
-
async function createAction({ log, runTask, isNonInteractive }, name2, options) {
|
|
252688
|
+
async function createAction({ log, runTask: runTask2, isNonInteractive }, name2, options) {
|
|
252082
252689
|
if (name2 && !options.path) {
|
|
252083
252690
|
options.path = `./${import_kebabCase.default(name2)}`;
|
|
252084
252691
|
}
|
|
@@ -252092,7 +252699,7 @@ async function createAction({ log, runTask, isNonInteractive }, name2, options)
|
|
|
252092
252699
|
]
|
|
252093
252700
|
});
|
|
252094
252701
|
}
|
|
252095
|
-
const ctx = { log, runTask };
|
|
252702
|
+
const ctx = { log, runTask: runTask2 };
|
|
252096
252703
|
if (skipPrompts) {
|
|
252097
252704
|
return await createNonInteractive({ name: options.name ?? name2, ...options }, ctx);
|
|
252098
252705
|
}
|
|
@@ -252276,7 +252883,7 @@ async function promptForExistingProject(linkableProjects) {
|
|
|
252276
252883
|
return selectedProject;
|
|
252277
252884
|
}
|
|
252278
252885
|
async function link(ctx, options) {
|
|
252279
|
-
const { log, runTask, isNonInteractive } = ctx;
|
|
252886
|
+
const { log, runTask: runTask2, isNonInteractive } = ctx;
|
|
252280
252887
|
const skipPrompts = !!options.create || !!options.projectId;
|
|
252281
252888
|
if (!skipPrompts && isNonInteractive) {
|
|
252282
252889
|
throw new InvalidInputError("--create with --name, or --projectId, is required in non-interactive mode");
|
|
@@ -252297,7 +252904,7 @@ async function link(ctx, options) {
|
|
|
252297
252904
|
let finalProjectId;
|
|
252298
252905
|
const action = options.projectId ? "choose" : options.create ? "create" : await promptForLinkAction();
|
|
252299
252906
|
if (action === "choose") {
|
|
252300
|
-
const projects = await
|
|
252907
|
+
const projects = await runTask2("Fetching projects...", async () => listProjects(), {
|
|
252301
252908
|
successMessage: "Projects fetched",
|
|
252302
252909
|
errorMessage: "Failed to fetch projects"
|
|
252303
252910
|
});
|
|
@@ -252323,7 +252930,7 @@ async function link(ctx, options) {
|
|
|
252323
252930
|
const selectedProject = await promptForExistingProject(linkableProjects);
|
|
252324
252931
|
projectId = selectedProject.id;
|
|
252325
252932
|
}
|
|
252326
|
-
await
|
|
252933
|
+
await runTask2("Linking project...", async () => {
|
|
252327
252934
|
await writeAppConfig(projectRoot.root, projectId);
|
|
252328
252935
|
setAppConfig({ id: projectId, projectRoot: projectRoot.root });
|
|
252329
252936
|
}, {
|
|
@@ -252334,7 +252941,7 @@ async function link(ctx, options) {
|
|
|
252334
252941
|
}
|
|
252335
252942
|
if (action === "create") {
|
|
252336
252943
|
const { name: name2, description } = options.create ? { name: options.name.trim(), description: options.description?.trim() } : await promptForNewProjectDetails();
|
|
252337
|
-
const { projectId } = await
|
|
252944
|
+
const { projectId } = await runTask2("Creating project on Base44...", async () => {
|
|
252338
252945
|
return await createProject(name2, description);
|
|
252339
252946
|
}, {
|
|
252340
252947
|
successMessage: "Project created successfully",
|
|
@@ -252472,8 +253079,8 @@ function getLogsCommand() {
|
|
|
252472
253079
|
}
|
|
252473
253080
|
|
|
252474
253081
|
// src/cli/commands/secrets/delete.ts
|
|
252475
|
-
async function deleteSecretAction({ runTask }, key) {
|
|
252476
|
-
await
|
|
253082
|
+
async function deleteSecretAction({ runTask: runTask2 }, key) {
|
|
253083
|
+
await runTask2(`Deleting secret "${key}"`, async () => {
|
|
252477
253084
|
return await deleteSecret(key);
|
|
252478
253085
|
}, {
|
|
252479
253086
|
successMessage: `Secret "${key}" deleted`,
|
|
@@ -252490,9 +253097,9 @@ function getSecretsDeleteCommand() {
|
|
|
252490
253097
|
// src/cli/commands/secrets/list.ts
|
|
252491
253098
|
async function listSecretsAction({
|
|
252492
253099
|
log,
|
|
252493
|
-
runTask
|
|
253100
|
+
runTask: runTask2
|
|
252494
253101
|
}) {
|
|
252495
|
-
const secrets = await
|
|
253102
|
+
const secrets = await runTask2("Fetching secrets from Base44", async () => {
|
|
252496
253103
|
return await listSecrets();
|
|
252497
253104
|
}, {
|
|
252498
253105
|
successMessage: "Secrets fetched successfully",
|
|
@@ -252514,7 +253121,7 @@ function getSecretsListCommand() {
|
|
|
252514
253121
|
}
|
|
252515
253122
|
|
|
252516
253123
|
// src/cli/commands/secrets/set.ts
|
|
252517
|
-
import { resolve as
|
|
253124
|
+
import { resolve as resolve5 } from "node:path";
|
|
252518
253125
|
function parseEntries(entries) {
|
|
252519
253126
|
const secrets = {};
|
|
252520
253127
|
for (const entry of entries) {
|
|
@@ -252541,11 +253148,11 @@ function validateInput(entries, options) {
|
|
|
252541
253148
|
throw new InvalidInputError("Provide KEY=VALUE pairs or --env-file, but not both.");
|
|
252542
253149
|
}
|
|
252543
253150
|
}
|
|
252544
|
-
async function setSecretsAction({ log, runTask }, entries, options) {
|
|
253151
|
+
async function setSecretsAction({ log, runTask: runTask2 }, entries, options) {
|
|
252545
253152
|
validateInput(entries, options);
|
|
252546
253153
|
let secrets;
|
|
252547
253154
|
if (options.envFile) {
|
|
252548
|
-
secrets = await parseEnvFile(
|
|
253155
|
+
secrets = await parseEnvFile(resolve5(options.envFile));
|
|
252549
253156
|
if (Object.keys(secrets).length === 0) {
|
|
252550
253157
|
throw new InvalidInputError("The env file contains no valid KEY=VALUE entries.");
|
|
252551
253158
|
}
|
|
@@ -252553,7 +253160,7 @@ async function setSecretsAction({ log, runTask }, entries, options) {
|
|
|
252553
253160
|
secrets = parseEntries(entries);
|
|
252554
253161
|
}
|
|
252555
253162
|
const names = Object.keys(secrets);
|
|
252556
|
-
await
|
|
253163
|
+
await runTask2(`Setting ${names.length} secrets`, async () => {
|
|
252557
253164
|
return await setSecrets(secrets);
|
|
252558
253165
|
}, {
|
|
252559
253166
|
successMessage: `${names.length} secrets set successfully`,
|
|
@@ -252574,8 +253181,8 @@ function getSecretsCommand() {
|
|
|
252574
253181
|
}
|
|
252575
253182
|
|
|
252576
253183
|
// src/cli/commands/site/deploy.ts
|
|
252577
|
-
import { resolve as
|
|
252578
|
-
async function deployAction2({ isNonInteractive, runTask }, options) {
|
|
253184
|
+
import { resolve as resolve6 } from "node:path";
|
|
253185
|
+
async function deployAction2({ isNonInteractive, runTask: runTask2 }, options) {
|
|
252579
253186
|
if (isNonInteractive && !options.yes) {
|
|
252580
253187
|
throw new InvalidInputError("--yes is required in non-interactive mode");
|
|
252581
253188
|
}
|
|
@@ -252589,7 +253196,7 @@ async function deployAction2({ isNonInteractive, runTask }, options) {
|
|
|
252589
253196
|
]
|
|
252590
253197
|
});
|
|
252591
253198
|
}
|
|
252592
|
-
const outputDir =
|
|
253199
|
+
const outputDir = resolve6(project2.root, project2.site.outputDirectory);
|
|
252593
253200
|
if (!options.yes) {
|
|
252594
253201
|
const shouldDeploy = await Re({
|
|
252595
253202
|
message: `Deploy site from ${project2.site.outputDirectory}?`
|
|
@@ -252598,7 +253205,7 @@ async function deployAction2({ isNonInteractive, runTask }, options) {
|
|
|
252598
253205
|
return { outroMessage: "Deployment cancelled" };
|
|
252599
253206
|
}
|
|
252600
253207
|
}
|
|
252601
|
-
const result = await
|
|
253208
|
+
const result = await runTask2("Creating archive and deploying site...", async () => {
|
|
252602
253209
|
return await deploySite(outputDir);
|
|
252603
253210
|
}, {
|
|
252604
253211
|
successMessage: "Site deployed successfully",
|
|
@@ -252715,10 +253322,10 @@ function toPascalCase(name2) {
|
|
|
252715
253322
|
return name2.split(/[-_\s]+/).map((w8) => w8.charAt(0).toUpperCase() + w8.slice(1)).join("");
|
|
252716
253323
|
}
|
|
252717
253324
|
// src/core/types/update-project.ts
|
|
252718
|
-
import { join as
|
|
253325
|
+
import { join as join22 } from "node:path";
|
|
252719
253326
|
var TYPES_INCLUDE_PATH = `${PROJECT_SUBDIR}/${TYPES_OUTPUT_SUBDIR}/*.d.ts`;
|
|
252720
253327
|
async function updateProjectConfig(projectRoot) {
|
|
252721
|
-
const tsconfigPath =
|
|
253328
|
+
const tsconfigPath = join22(projectRoot, "tsconfig.json");
|
|
252722
253329
|
if (!await pathExists(tsconfigPath)) {
|
|
252723
253330
|
return false;
|
|
252724
253331
|
}
|
|
@@ -252740,10 +253347,10 @@ async function updateProjectConfig(projectRoot) {
|
|
|
252740
253347
|
// src/cli/commands/types/generate.ts
|
|
252741
253348
|
var TYPES_FILE_PATH = "base44/.types/types.d.ts";
|
|
252742
253349
|
async function generateTypesAction({
|
|
252743
|
-
runTask
|
|
253350
|
+
runTask: runTask2
|
|
252744
253351
|
}) {
|
|
252745
253352
|
const { entities, functions, agents, connectors, project: project2 } = await readProjectConfig();
|
|
252746
|
-
await
|
|
253353
|
+
await runTask2("Generating types", async () => {
|
|
252747
253354
|
await generateTypesFile({ entities, functions, agents, connectors });
|
|
252748
253355
|
});
|
|
252749
253356
|
const tsconfigUpdated = await updateProjectConfig(project2.root);
|
|
@@ -252760,13 +253367,10 @@ function getTypesCommand() {
|
|
|
252760
253367
|
return new Command("types").description("Manage TypeScript type generation").addCommand(getTypesGenerateCommand());
|
|
252761
253368
|
}
|
|
252762
253369
|
|
|
252763
|
-
// src/cli/commands/dev.ts
|
|
252764
|
-
import process21 from "node:process";
|
|
252765
|
-
|
|
252766
253370
|
// src/cli/dev/dev-server/main.ts
|
|
252767
253371
|
var import_cors = __toESM(require_lib4(), 1);
|
|
252768
|
-
var
|
|
252769
|
-
import { dirname as
|
|
253372
|
+
var import_express5 = __toESM(require_express(), 1);
|
|
253373
|
+
import { dirname as dirname18, join as join25 } from "node:path";
|
|
252770
253374
|
|
|
252771
253375
|
// ../../node_modules/get-port/index.js
|
|
252772
253376
|
import net from "node:net";
|
|
@@ -252793,14 +253397,14 @@ var getLocalHosts = () => {
|
|
|
252793
253397
|
}
|
|
252794
253398
|
return results;
|
|
252795
253399
|
};
|
|
252796
|
-
var checkAvailablePort = (options8) => new Promise((
|
|
253400
|
+
var checkAvailablePort = (options8) => new Promise((resolve8, reject) => {
|
|
252797
253401
|
const server = net.createServer();
|
|
252798
253402
|
server.unref();
|
|
252799
253403
|
server.on("error", reject);
|
|
252800
253404
|
server.listen(options8, () => {
|
|
252801
253405
|
const { port } = server.address();
|
|
252802
253406
|
server.close(() => {
|
|
252803
|
-
|
|
253407
|
+
resolve8(port);
|
|
252804
253408
|
});
|
|
252805
253409
|
});
|
|
252806
253410
|
});
|
|
@@ -253054,7 +253658,7 @@ class FunctionManager {
|
|
|
253054
253658
|
});
|
|
253055
253659
|
}
|
|
253056
253660
|
waitForReady(name2, runningFunc) {
|
|
253057
|
-
return new Promise((
|
|
253661
|
+
return new Promise((resolve8, reject) => {
|
|
253058
253662
|
runningFunc.process.on("exit", (code2) => {
|
|
253059
253663
|
if (!runningFunc.ready) {
|
|
253060
253664
|
clearTimeout(timeout3);
|
|
@@ -253077,7 +253681,7 @@ class FunctionManager {
|
|
|
253077
253681
|
runningFunc.ready = true;
|
|
253078
253682
|
clearTimeout(timeout3);
|
|
253079
253683
|
runningFunc.process.stdout?.off("data", onData);
|
|
253080
|
-
|
|
253684
|
+
resolve8(runningFunc.port);
|
|
253081
253685
|
}
|
|
253082
253686
|
};
|
|
253083
253687
|
runningFunc.process.stdout?.on("data", onData);
|
|
@@ -253329,9 +253933,7 @@ class Validator {
|
|
|
253329
253933
|
}
|
|
253330
253934
|
|
|
253331
253935
|
// src/cli/dev/dev-server/db/database.ts
|
|
253332
|
-
var PRIVATE_COLLECTION_PREFIX = "$";
|
|
253333
253936
|
var USER_COLLECTION = "user";
|
|
253334
|
-
var PRIVATE_USER_COLLECTION = PRIVATE_COLLECTION_PREFIX + USER_COLLECTION;
|
|
253335
253937
|
|
|
253336
253938
|
class Database {
|
|
253337
253939
|
collections = new Map;
|
|
@@ -253353,7 +253955,6 @@ class Database {
|
|
|
253353
253955
|
this.schemas.set(USER_COLLECTION, this.buildUserSchema(userEntity));
|
|
253354
253956
|
const collection = new import_nedb.default;
|
|
253355
253957
|
this.collections.set(USER_COLLECTION, collection);
|
|
253356
|
-
this.collections.set(PRIVATE_USER_COLLECTION, new import_nedb.default);
|
|
253357
253958
|
const userInfo = await readAuth();
|
|
253358
253959
|
const now = getNowISOTimestamp();
|
|
253359
253960
|
await collection.insertAsync({
|
|
@@ -253394,13 +253995,8 @@ class Database {
|
|
|
253394
253995
|
getCollection(name2) {
|
|
253395
253996
|
return this.collections.get(this.normalizeName(name2));
|
|
253396
253997
|
}
|
|
253397
|
-
getSchema(entityName) {
|
|
253398
|
-
return this.schemas.get(this.normalizeName(entityName));
|
|
253399
|
-
}
|
|
253400
253998
|
getCollectionNames() {
|
|
253401
|
-
return Array.from(this.collections.keys())
|
|
253402
|
-
return !name2.startsWith(PRIVATE_COLLECTION_PREFIX);
|
|
253403
|
-
});
|
|
253999
|
+
return Array.from(this.collections.keys());
|
|
253404
254000
|
}
|
|
253405
254001
|
dropAll() {
|
|
253406
254002
|
for (const collection of this.collections.values()) {
|
|
@@ -253464,340 +254060,15 @@ function broadcastEntityEvent(io6, appId, entityName, event) {
|
|
|
253464
254060
|
});
|
|
253465
254061
|
}
|
|
253466
254062
|
|
|
253467
|
-
// src/cli/dev/dev-server/routes/auth-router.ts
|
|
253468
|
-
var import_express2 = __toESM(require_express(), 1);
|
|
253469
|
-
var import_jsonwebtoken = __toESM(require_jsonwebtoken(), 1);
|
|
253470
|
-
import { randomInt } from "node:crypto";
|
|
253471
|
-
var LOCAL_DEV_SECRET = "LOCAL_DEV_SECRET";
|
|
253472
|
-
var TEN_MINUTES = 10 * 60 * 1000;
|
|
253473
|
-
var generateCode = () => {
|
|
253474
|
-
return randomInt(1e5, 1e6).toString();
|
|
253475
|
-
};
|
|
253476
|
-
var createJwtToken = (email3) => {
|
|
253477
|
-
return import_jsonwebtoken.default.sign({ sub: email3 }, LOCAL_DEV_SECRET, {
|
|
253478
|
-
expiresIn: "360d"
|
|
253479
|
-
});
|
|
253480
|
-
};
|
|
253481
|
-
var LoginBody = object({ email: email2(), password: string2() });
|
|
253482
|
-
var VerifyOtpBody = object({ email: email2(), otp_code: string2() });
|
|
253483
|
-
function createAuthRouter(db2, logger2) {
|
|
253484
|
-
const router = import_express2.Router({ mergeParams: true });
|
|
253485
|
-
const parseBody = import_express2.json();
|
|
253486
|
-
router.post("/login", parseBody, async (req, res) => {
|
|
253487
|
-
const { email: email3, password } = LoginBody.parse(req.body);
|
|
253488
|
-
const result = await db2.getCollection(USER_COLLECTION)?.findOneAsync({ email: email3 });
|
|
253489
|
-
if (result) {
|
|
253490
|
-
const privateUserData = await db2.getCollection(PRIVATE_USER_COLLECTION)?.findOneAsync({ email: email3 });
|
|
253491
|
-
if (result.role === "admin" || privateUserData?.password === password) {
|
|
253492
|
-
res.json({
|
|
253493
|
-
access_token: createJwtToken(email3),
|
|
253494
|
-
success: true,
|
|
253495
|
-
user: {}
|
|
253496
|
-
});
|
|
253497
|
-
} else {
|
|
253498
|
-
res.status(400).json({
|
|
253499
|
-
detail: "Invalid email or password",
|
|
253500
|
-
error_type: "HTTPException",
|
|
253501
|
-
message: "Invalid email or password",
|
|
253502
|
-
request_id: null,
|
|
253503
|
-
traceback: ""
|
|
253504
|
-
});
|
|
253505
|
-
}
|
|
253506
|
-
return;
|
|
253507
|
-
}
|
|
253508
|
-
res.status(401).json({ error: "Unauthorized" });
|
|
253509
|
-
});
|
|
253510
|
-
router.post("/register", parseBody, async (req, res) => {
|
|
253511
|
-
const { email: email3, password } = LoginBody.parse(req.body);
|
|
253512
|
-
if ((password || "").length < 8) {
|
|
253513
|
-
res.status(400).json({
|
|
253514
|
-
detail: "Password must be at least 8 characters long",
|
|
253515
|
-
error_type: "HTTPException",
|
|
253516
|
-
message: "Password must be at least 8 characters long",
|
|
253517
|
-
request_id: null,
|
|
253518
|
-
traceback: ""
|
|
253519
|
-
});
|
|
253520
|
-
return;
|
|
253521
|
-
}
|
|
253522
|
-
const result = await db2.getCollection(USER_COLLECTION)?.findOneAsync({ email: email3 });
|
|
253523
|
-
if (result) {
|
|
253524
|
-
res.status(400).json({
|
|
253525
|
-
detail: "A user with this email already exists",
|
|
253526
|
-
error_type: "HTTPException",
|
|
253527
|
-
message: "A user with this email already exists",
|
|
253528
|
-
request_id: null,
|
|
253529
|
-
traceback: ""
|
|
253530
|
-
});
|
|
253531
|
-
return;
|
|
253532
|
-
}
|
|
253533
|
-
const privateUserCollection = db2.getCollection(PRIVATE_USER_COLLECTION);
|
|
253534
|
-
const privateUserData = await privateUserCollection?.findOneAsync({
|
|
253535
|
-
email: email3
|
|
253536
|
-
});
|
|
253537
|
-
const otpCode = generateCode();
|
|
253538
|
-
const id2 = privateUserData ? privateUserData.id : nanoid3();
|
|
253539
|
-
if (!privateUserData) {
|
|
253540
|
-
await privateUserCollection?.insertAsync({
|
|
253541
|
-
id: id2,
|
|
253542
|
-
email: email3,
|
|
253543
|
-
otpCode,
|
|
253544
|
-
password,
|
|
253545
|
-
createdAt: Date.now()
|
|
253546
|
-
});
|
|
253547
|
-
} else {
|
|
253548
|
-
await privateUserCollection?.updateAsync({
|
|
253549
|
-
email: email3
|
|
253550
|
-
}, {
|
|
253551
|
-
$set: {
|
|
253552
|
-
otpCode,
|
|
253553
|
-
createdAt: Date.now()
|
|
253554
|
-
}
|
|
253555
|
-
});
|
|
253556
|
-
}
|
|
253557
|
-
logger2.log(theme.styles.info(`
|
|
253558
|
-
In order to complete registration use this verification code: ${otpCode}
|
|
253559
|
-
`));
|
|
253560
|
-
res.json({
|
|
253561
|
-
id: id2,
|
|
253562
|
-
message: "Registration successful. Please check your email for the verification code.",
|
|
253563
|
-
otp_expires_in_minutes: 10
|
|
253564
|
-
});
|
|
253565
|
-
});
|
|
253566
|
-
router.post("/verify-otp", parseBody, async (req, res) => {
|
|
253567
|
-
const { email: email3, otp_code } = VerifyOtpBody.parse(req.body);
|
|
253568
|
-
const privateUserCollection = db2.getCollection(PRIVATE_USER_COLLECTION);
|
|
253569
|
-
const privateUserData = await privateUserCollection?.findOneAsync({
|
|
253570
|
-
email: email3
|
|
253571
|
-
});
|
|
253572
|
-
if (!privateUserData || privateUserData.otpCode !== otp_code) {
|
|
253573
|
-
const appId = req.params.appId;
|
|
253574
|
-
res.status(500).json({
|
|
253575
|
-
detail: `{'email': '${email3}', 'app_id': '${appId}}'} -> Object not found`,
|
|
253576
|
-
error_type: "ObjectNotFoundError",
|
|
253577
|
-
message: `{'email': '${email3}', 'app_id': '${appId}}'} -> Object not found`,
|
|
253578
|
-
request_id: null,
|
|
253579
|
-
traceback: ""
|
|
253580
|
-
});
|
|
253581
|
-
return;
|
|
253582
|
-
}
|
|
253583
|
-
if (+Date.now() - privateUserData.createdAt > TEN_MINUTES) {
|
|
253584
|
-
res.status(400).json({
|
|
253585
|
-
detail: "Verification code has expired",
|
|
253586
|
-
error_type: "HTTPException",
|
|
253587
|
-
message: "Verification code has expired",
|
|
253588
|
-
request_id: null,
|
|
253589
|
-
traceback: ""
|
|
253590
|
-
});
|
|
253591
|
-
} else {
|
|
253592
|
-
await privateUserCollection?.updateAsync({
|
|
253593
|
-
email: email3
|
|
253594
|
-
}, {
|
|
253595
|
-
$unset: { otpCode: true }
|
|
253596
|
-
});
|
|
253597
|
-
const collection = db2.getCollection(USER_COLLECTION);
|
|
253598
|
-
const now = getNowISOTimestamp();
|
|
253599
|
-
const nameFromEmailMatch = /^([^@]+)/.exec(email3);
|
|
253600
|
-
const fullName = nameFromEmailMatch ? nameFromEmailMatch[1] : email3;
|
|
253601
|
-
await collection?.insertAsync({
|
|
253602
|
-
id: privateUserData.id,
|
|
253603
|
-
email: email3,
|
|
253604
|
-
full_name: fullName,
|
|
253605
|
-
is_service: false,
|
|
253606
|
-
is_verified: true,
|
|
253607
|
-
disabled: null,
|
|
253608
|
-
role: "user",
|
|
253609
|
-
collaborator_role: "editor",
|
|
253610
|
-
created_date: now,
|
|
253611
|
-
updated_date: now
|
|
253612
|
-
});
|
|
253613
|
-
res.json({
|
|
253614
|
-
id: privateUserData.id,
|
|
253615
|
-
access_token: createJwtToken(email3),
|
|
253616
|
-
message: "Email verified successfully. You are now logged in.",
|
|
253617
|
-
success: true
|
|
253618
|
-
});
|
|
253619
|
-
}
|
|
253620
|
-
});
|
|
253621
|
-
return router;
|
|
253622
|
-
}
|
|
253623
|
-
|
|
253624
254063
|
// src/cli/dev/dev-server/routes/entities/entities-router.ts
|
|
253625
|
-
var
|
|
253626
|
-
var import_jsonwebtoken3 = __toESM(require_jsonwebtoken(), 1);
|
|
253627
|
-
|
|
253628
|
-
// src/cli/dev/dev-server/db/rls.ts
|
|
253629
|
-
function resolveTemplate(value, user) {
|
|
253630
|
-
return value.replace(/\{\{user\.([\w.]+)\}\}/g, (_match, path18) => {
|
|
253631
|
-
if (path18.startsWith("data.")) {
|
|
253632
|
-
return String(user[path18.slice(5)] ?? "");
|
|
253633
|
-
}
|
|
253634
|
-
return String(user[path18] ?? "");
|
|
253635
|
-
});
|
|
253636
|
-
}
|
|
253637
|
-
function getRecordField(key2, record2) {
|
|
253638
|
-
if (key2.startsWith("data.")) {
|
|
253639
|
-
return record2[key2.slice(5)];
|
|
253640
|
-
}
|
|
253641
|
-
return record2[key2];
|
|
253642
|
-
}
|
|
253643
|
-
function evaluateOperator(recordValue, operator) {
|
|
253644
|
-
for (const [op2, opValue] of Object.entries(operator)) {
|
|
253645
|
-
switch (op2) {
|
|
253646
|
-
case "$in":
|
|
253647
|
-
if (!Array.isArray(opValue) || !opValue.includes(recordValue))
|
|
253648
|
-
return false;
|
|
253649
|
-
break;
|
|
253650
|
-
case "$nin":
|
|
253651
|
-
if (Array.isArray(opValue) && opValue.includes(recordValue))
|
|
253652
|
-
return false;
|
|
253653
|
-
break;
|
|
253654
|
-
case "$ne":
|
|
253655
|
-
if (recordValue === opValue)
|
|
253656
|
-
return false;
|
|
253657
|
-
break;
|
|
253658
|
-
case "$all":
|
|
253659
|
-
if (!Array.isArray(recordValue) || !Array.isArray(opValue))
|
|
253660
|
-
return false;
|
|
253661
|
-
if (!opValue.every((v10) => recordValue.includes(v10)))
|
|
253662
|
-
return false;
|
|
253663
|
-
break;
|
|
253664
|
-
}
|
|
253665
|
-
}
|
|
253666
|
-
return true;
|
|
253667
|
-
}
|
|
253668
|
-
function evaluateUserCondition(condition, user) {
|
|
253669
|
-
for (const [key2, expected] of Object.entries(condition)) {
|
|
253670
|
-
const userValue = key2.startsWith("data.") ? user[key2.slice(5)] : user[key2];
|
|
253671
|
-
if (typeof expected === "object" && expected !== null) {
|
|
253672
|
-
if (!evaluateOperator(userValue, expected))
|
|
253673
|
-
return false;
|
|
253674
|
-
} else {
|
|
253675
|
-
if (userValue !== expected)
|
|
253676
|
-
return false;
|
|
253677
|
-
}
|
|
253678
|
-
}
|
|
253679
|
-
return true;
|
|
253680
|
-
}
|
|
253681
|
-
function evaluateCondition(condition, record2, user) {
|
|
253682
|
-
for (const [key2, value] of Object.entries(condition)) {
|
|
253683
|
-
if (key2 === "user_condition") {
|
|
253684
|
-
if (!evaluateUserCondition(value, user))
|
|
253685
|
-
return false;
|
|
253686
|
-
continue;
|
|
253687
|
-
}
|
|
253688
|
-
if (key2 === "$or") {
|
|
253689
|
-
const conditions = value;
|
|
253690
|
-
if (!conditions.some((c8) => evaluateCondition(c8, record2, user)))
|
|
253691
|
-
return false;
|
|
253692
|
-
continue;
|
|
253693
|
-
}
|
|
253694
|
-
if (key2 === "$and") {
|
|
253695
|
-
const conditions = value;
|
|
253696
|
-
if (!conditions.every((c8) => evaluateCondition(c8, record2, user)))
|
|
253697
|
-
return false;
|
|
253698
|
-
continue;
|
|
253699
|
-
}
|
|
253700
|
-
if (key2 === "$nor") {
|
|
253701
|
-
const conditions = value;
|
|
253702
|
-
if (conditions.some((c8) => evaluateCondition(c8, record2, user)))
|
|
253703
|
-
return false;
|
|
253704
|
-
continue;
|
|
253705
|
-
}
|
|
253706
|
-
const recordValue = getRecordField(key2, record2);
|
|
253707
|
-
const resolvedValue = typeof value === "string" ? resolveTemplate(value, user) : value;
|
|
253708
|
-
if (typeof resolvedValue === "object" && resolvedValue !== null) {
|
|
253709
|
-
if (!evaluateOperator(recordValue, resolvedValue))
|
|
253710
|
-
return false;
|
|
253711
|
-
} else {
|
|
253712
|
-
if (recordValue !== resolvedValue)
|
|
253713
|
-
return false;
|
|
253714
|
-
}
|
|
253715
|
-
}
|
|
253716
|
-
return true;
|
|
253717
|
-
}
|
|
253718
|
-
function checkRLS(rule, record2, user) {
|
|
253719
|
-
if (rule === undefined)
|
|
253720
|
-
return true;
|
|
253721
|
-
if (typeof rule === "boolean")
|
|
253722
|
-
return rule;
|
|
253723
|
-
if (!user)
|
|
253724
|
-
return false;
|
|
253725
|
-
return evaluateCondition(rule, record2, user);
|
|
253726
|
-
}
|
|
253727
|
-
function applyFLS(record2, schema10, user, operation) {
|
|
253728
|
-
const result = {};
|
|
253729
|
-
for (const [key2, value] of Object.entries(record2)) {
|
|
253730
|
-
const rule = schema10.properties[key2]?.rls?.[operation];
|
|
253731
|
-
if (!rule || checkRLS(rule, record2, user)) {
|
|
253732
|
-
result[key2] = value;
|
|
253733
|
-
}
|
|
253734
|
-
}
|
|
253735
|
-
return result;
|
|
253736
|
-
}
|
|
253737
|
-
|
|
253738
|
-
// src/cli/dev/dev-server/db/entity-queries.ts
|
|
253739
|
-
function parseSort(sort) {
|
|
253740
|
-
if (!sort) {
|
|
253741
|
-
return;
|
|
253742
|
-
}
|
|
253743
|
-
if (sort.startsWith("-")) {
|
|
253744
|
-
return { [sort.slice(1)]: -1 };
|
|
253745
|
-
}
|
|
253746
|
-
return { [sort]: 1 };
|
|
253747
|
-
}
|
|
253748
|
-
function parseFields(fields) {
|
|
253749
|
-
if (!fields) {
|
|
253750
|
-
return;
|
|
253751
|
-
}
|
|
253752
|
-
const projection = {};
|
|
253753
|
-
for (const field of fields.split(",")) {
|
|
253754
|
-
const trimmed = field.trim();
|
|
253755
|
-
if (trimmed) {
|
|
253756
|
-
projection[trimmed] = 1;
|
|
253757
|
-
}
|
|
253758
|
-
}
|
|
253759
|
-
return Object.keys(projection).length > 0 ? projection : undefined;
|
|
253760
|
-
}
|
|
253761
|
-
var queryEntity = async (collection, reqQuery) => {
|
|
253762
|
-
const { sort, limit, skip: skip2, fields, q: q13 } = reqQuery;
|
|
253763
|
-
let query = {};
|
|
253764
|
-
if (q13 && typeof q13 === "string") {
|
|
253765
|
-
try {
|
|
253766
|
-
query = JSON.parse(q13);
|
|
253767
|
-
} catch {
|
|
253768
|
-
throw new InvalidInputError("Invalid query parameter 'q'");
|
|
253769
|
-
}
|
|
253770
|
-
}
|
|
253771
|
-
let cursor3 = collection.findAsync(query);
|
|
253772
|
-
const sortObj = parseSort(sort);
|
|
253773
|
-
if (sortObj) {
|
|
253774
|
-
cursor3 = cursor3.sort(sortObj);
|
|
253775
|
-
}
|
|
253776
|
-
if (skip2) {
|
|
253777
|
-
const skipNum = Number.parseInt(skip2, 10);
|
|
253778
|
-
if (!Number.isNaN(skipNum)) {
|
|
253779
|
-
cursor3 = cursor3.skip(skipNum);
|
|
253780
|
-
}
|
|
253781
|
-
}
|
|
253782
|
-
if (limit) {
|
|
253783
|
-
const limitNum = Number.parseInt(limit, 10);
|
|
253784
|
-
if (!Number.isNaN(limitNum)) {
|
|
253785
|
-
cursor3 = cursor3.limit(limitNum);
|
|
253786
|
-
}
|
|
253787
|
-
}
|
|
253788
|
-
const projection = parseFields(fields);
|
|
253789
|
-
if (projection) {
|
|
253790
|
-
cursor3 = cursor3.projection(projection);
|
|
253791
|
-
}
|
|
253792
|
-
return cursor3;
|
|
253793
|
-
};
|
|
254064
|
+
var import_express3 = __toESM(require_express(), 1);
|
|
253794
254065
|
|
|
253795
254066
|
// src/cli/dev/dev-server/routes/entities/entities-user-router.ts
|
|
253796
|
-
var
|
|
253797
|
-
var
|
|
254067
|
+
var import_express2 = __toESM(require_express(), 1);
|
|
254068
|
+
var import_jsonwebtoken = __toESM(require_jsonwebtoken(), 1);
|
|
253798
254069
|
function createUserRouter(db2, logger2) {
|
|
253799
|
-
const router =
|
|
253800
|
-
const parseBody =
|
|
254070
|
+
const router = import_express2.Router({ mergeParams: true });
|
|
254071
|
+
const parseBody = import_express2.json();
|
|
253801
254072
|
function withAuth(handler) {
|
|
253802
254073
|
return async (req, res) => {
|
|
253803
254074
|
const auth2 = req.headers.authorization;
|
|
@@ -253806,13 +254077,13 @@ function createUserRouter(db2, logger2) {
|
|
|
253806
254077
|
return;
|
|
253807
254078
|
}
|
|
253808
254079
|
try {
|
|
253809
|
-
const { payload } =
|
|
253810
|
-
const
|
|
253811
|
-
if (!
|
|
254080
|
+
const { payload } = import_jsonwebtoken.default.decode(auth2.replace("Bearer ", ""), { complete: true }) ?? {};
|
|
254081
|
+
const result = await db2.getCollection(USER_COLLECTION)?.findOneAsync({ email: payload?.sub });
|
|
254082
|
+
if (!result) {
|
|
253812
254083
|
res.status(404).json({ error: "Unable to read data for the current user" });
|
|
253813
254084
|
return;
|
|
253814
254085
|
}
|
|
253815
|
-
await handler(req, res,
|
|
254086
|
+
await handler(req, res, result);
|
|
253816
254087
|
} catch {
|
|
253817
254088
|
res.status(401).json({ error: "Unauthorized" });
|
|
253818
254089
|
}
|
|
@@ -253839,28 +254110,6 @@ function createUserRouter(db2, logger2) {
|
|
|
253839
254110
|
...req.body
|
|
253840
254111
|
});
|
|
253841
254112
|
}));
|
|
253842
|
-
router.get("/", withAuth(async (req, res, currentUser) => {
|
|
253843
|
-
const collection = db2.getCollection(USER_COLLECTION);
|
|
253844
|
-
if (!collection) {
|
|
253845
|
-
res.status(404).json({ error: `Entity "${USER_COLLECTION}" not found` });
|
|
253846
|
-
return;
|
|
253847
|
-
}
|
|
253848
|
-
try {
|
|
253849
|
-
if (currentUser.role === "admin") {
|
|
253850
|
-
const result = await queryEntity(collection, req.query);
|
|
253851
|
-
res.json(stripInternalFields(result));
|
|
253852
|
-
} else {
|
|
253853
|
-
res.json([stripInternalFields(currentUser)]);
|
|
253854
|
-
}
|
|
253855
|
-
} catch (error48) {
|
|
253856
|
-
if (error48 instanceof InvalidInputError) {
|
|
253857
|
-
res.status(400).json({ error: error48.message });
|
|
253858
|
-
} else {
|
|
253859
|
-
logger2.error(`Error in GET /${USER_COLLECTION}:`, error48);
|
|
253860
|
-
res.status(500).json({ error: "Internal server error" });
|
|
253861
|
-
}
|
|
253862
|
-
}
|
|
253863
|
-
}));
|
|
253864
254113
|
router.post("/bulk", async (_req, res) => {
|
|
253865
254114
|
res.json({});
|
|
253866
254115
|
});
|
|
@@ -253910,9 +254159,31 @@ function createUserRouter(db2, logger2) {
|
|
|
253910
254159
|
}
|
|
253911
254160
|
|
|
253912
254161
|
// src/cli/dev/dev-server/routes/entities/entities-router.ts
|
|
254162
|
+
function parseSort(sort) {
|
|
254163
|
+
if (!sort) {
|
|
254164
|
+
return;
|
|
254165
|
+
}
|
|
254166
|
+
if (sort.startsWith("-")) {
|
|
254167
|
+
return { [sort.slice(1)]: -1 };
|
|
254168
|
+
}
|
|
254169
|
+
return { [sort]: 1 };
|
|
254170
|
+
}
|
|
254171
|
+
function parseFields(fields) {
|
|
254172
|
+
if (!fields) {
|
|
254173
|
+
return;
|
|
254174
|
+
}
|
|
254175
|
+
const projection = {};
|
|
254176
|
+
for (const field of fields.split(",")) {
|
|
254177
|
+
const trimmed = field.trim();
|
|
254178
|
+
if (trimmed) {
|
|
254179
|
+
projection[trimmed] = 1;
|
|
254180
|
+
}
|
|
254181
|
+
}
|
|
254182
|
+
return Object.keys(projection).length > 0 ? projection : undefined;
|
|
254183
|
+
}
|
|
253913
254184
|
async function createEntityRoutes(db2, logger2, broadcast) {
|
|
253914
|
-
const router =
|
|
253915
|
-
const parseBody =
|
|
254185
|
+
const router = import_express3.Router({ mergeParams: true });
|
|
254186
|
+
const parseBody = import_express3.json();
|
|
253916
254187
|
function withCollection(handler) {
|
|
253917
254188
|
return async (req, res) => {
|
|
253918
254189
|
const collection = db2.getCollection(req.params.entityName);
|
|
@@ -253920,13 +254191,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
253920
254191
|
res.status(404).json({ error: `Entity "${req.params.entityName}" not found` });
|
|
253921
254192
|
return;
|
|
253922
254193
|
}
|
|
253923
|
-
|
|
253924
|
-
try {
|
|
253925
|
-
const auth2 = req.headers.authorization || "";
|
|
253926
|
-
const { payload } = import_jsonwebtoken3.default.decode(auth2.replace("Bearer ", ""), { complete: true }) ?? {};
|
|
253927
|
-
currentUser = await db2.getCollection(USER_COLLECTION)?.findOneAsync({ email: payload?.sub });
|
|
253928
|
-
} catch {}
|
|
253929
|
-
await handler(req, res, collection, currentUser);
|
|
254194
|
+
await handler(req, res, collection);
|
|
253930
254195
|
};
|
|
253931
254196
|
}
|
|
253932
254197
|
function emit(appId, entityName, type, data) {
|
|
@@ -253946,7 +254211,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
253946
254211
|
}
|
|
253947
254212
|
const userRouter = createUserRouter(db2, logger2);
|
|
253948
254213
|
router.use("/User", userRouter);
|
|
253949
|
-
router.get("/:entityName/:id", withCollection(async (req, res, collection
|
|
254214
|
+
router.get("/:entityName/:id", withCollection(async (req, res, collection) => {
|
|
253950
254215
|
const { entityName, id: id2 } = req.params;
|
|
253951
254216
|
try {
|
|
253952
254217
|
const doc2 = await collection.findOneAsync({ id: id2 });
|
|
@@ -253954,70 +254219,63 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
253954
254219
|
res.status(404).json({ error: `Record with id "${id2}" not found` });
|
|
253955
254220
|
return;
|
|
253956
254221
|
}
|
|
253957
|
-
|
|
253958
|
-
if (!checkRLS(schema10?.rls?.read, doc2, currentUser)) {
|
|
253959
|
-
res.status(403).json({ error: "Permission denied" });
|
|
253960
|
-
return;
|
|
253961
|
-
}
|
|
253962
|
-
let result = stripInternalFields(doc2);
|
|
253963
|
-
if (schema10) {
|
|
253964
|
-
result = applyFLS(result, schema10, currentUser, "read");
|
|
253965
|
-
}
|
|
253966
|
-
res.json(result);
|
|
254222
|
+
res.json(stripInternalFields(doc2));
|
|
253967
254223
|
} catch (error48) {
|
|
253968
254224
|
logger2.error(`Error in GET /${entityName}/${id2}:`, error48);
|
|
253969
254225
|
res.status(500).json({ error: "Internal server error" });
|
|
253970
254226
|
}
|
|
253971
254227
|
}));
|
|
253972
|
-
router.get("/:entityName", withCollection(async (req, res, collection
|
|
254228
|
+
router.get("/:entityName", withCollection(async (req, res, collection) => {
|
|
253973
254229
|
const { entityName } = req.params;
|
|
253974
254230
|
try {
|
|
253975
|
-
const
|
|
253976
|
-
|
|
253977
|
-
|
|
253978
|
-
|
|
254231
|
+
const { sort, limit, skip: skip2, fields, q: q13 } = req.query;
|
|
254232
|
+
let query = {};
|
|
254233
|
+
if (q13 && typeof q13 === "string") {
|
|
254234
|
+
try {
|
|
254235
|
+
query = JSON.parse(q13);
|
|
254236
|
+
} catch {
|
|
254237
|
+
res.status(400).json({ error: "Invalid query parameter 'q'" });
|
|
254238
|
+
return;
|
|
254239
|
+
}
|
|
253979
254240
|
}
|
|
253980
|
-
let
|
|
253981
|
-
|
|
253982
|
-
|
|
254241
|
+
let cursor3 = collection.findAsync(query);
|
|
254242
|
+
const sortObj = parseSort(sort);
|
|
254243
|
+
if (sortObj) {
|
|
254244
|
+
cursor3 = cursor3.sort(sortObj);
|
|
253983
254245
|
}
|
|
253984
|
-
if (
|
|
253985
|
-
|
|
254246
|
+
if (skip2) {
|
|
254247
|
+
const skipNum = Number.parseInt(skip2, 10);
|
|
254248
|
+
if (!Number.isNaN(skipNum)) {
|
|
254249
|
+
cursor3 = cursor3.skip(skipNum);
|
|
254250
|
+
}
|
|
253986
254251
|
}
|
|
253987
|
-
|
|
253988
|
-
|
|
253989
|
-
|
|
253990
|
-
|
|
253991
|
-
|
|
253992
|
-
|
|
253993
|
-
|
|
254252
|
+
if (limit) {
|
|
254253
|
+
const limitNum = Number.parseInt(limit, 10);
|
|
254254
|
+
if (!Number.isNaN(limitNum)) {
|
|
254255
|
+
cursor3 = cursor3.limit(limitNum);
|
|
254256
|
+
}
|
|
254257
|
+
}
|
|
254258
|
+
const projection = parseFields(fields);
|
|
254259
|
+
if (projection) {
|
|
254260
|
+
cursor3 = cursor3.projection(projection);
|
|
253994
254261
|
}
|
|
254262
|
+
const docs = await cursor3;
|
|
254263
|
+
res.json(stripInternalFields(docs));
|
|
254264
|
+
} catch (error48) {
|
|
254265
|
+
logger2.error(`Error in GET /${entityName}:`, error48);
|
|
254266
|
+
res.status(500).json({ error: "Internal server error" });
|
|
253995
254267
|
}
|
|
253996
254268
|
}));
|
|
253997
|
-
router.post("/:entityName", parseBody, withCollection(async (req, res, collection
|
|
254269
|
+
router.post("/:entityName", parseBody, withCollection(async (req, res, collection) => {
|
|
253998
254270
|
const { appId, entityName } = req.params;
|
|
253999
254271
|
try {
|
|
254000
254272
|
const now = new Date().toISOString();
|
|
254001
254273
|
const { _id, ...body } = req.body;
|
|
254002
|
-
const
|
|
254003
|
-
if (!checkRLS(schema10?.rls?.create, {
|
|
254004
|
-
...body,
|
|
254005
|
-
created_by: currentUser?.email,
|
|
254006
|
-
created_by_id: currentUser?.id
|
|
254007
|
-
}, currentUser)) {
|
|
254008
|
-
res.status(403).json({ error: "Permission denied" });
|
|
254009
|
-
return;
|
|
254010
|
-
}
|
|
254011
|
-
let filteredBody = db2.prepareRecord(entityName, body);
|
|
254012
|
-
if (schema10) {
|
|
254013
|
-
filteredBody = applyFLS(filteredBody, schema10, currentUser, "write");
|
|
254014
|
-
}
|
|
254274
|
+
const filteredBody = db2.prepareRecord(entityName, body);
|
|
254015
254275
|
db2.validate(entityName, filteredBody);
|
|
254016
254276
|
const record2 = {
|
|
254017
254277
|
...filteredBody,
|
|
254018
254278
|
id: nanoid3(),
|
|
254019
|
-
created_by: currentUser?.email,
|
|
254020
|
-
created_by_id: currentUser?.id,
|
|
254021
254279
|
created_date: now,
|
|
254022
254280
|
updated_date: now
|
|
254023
254281
|
};
|
|
@@ -254033,7 +254291,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
254033
254291
|
res.status(500).json({ error: "Internal server error" });
|
|
254034
254292
|
}
|
|
254035
254293
|
}));
|
|
254036
|
-
router.post("/:entityName/bulk", parseBody, withCollection(async (req, res, collection
|
|
254294
|
+
router.post("/:entityName/bulk", parseBody, withCollection(async (req, res, collection) => {
|
|
254037
254295
|
const { appId, entityName } = req.params;
|
|
254038
254296
|
if (!Array.isArray(req.body)) {
|
|
254039
254297
|
res.status(400).json({ error: "Request body must be an array" });
|
|
@@ -254041,27 +254299,13 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
254041
254299
|
}
|
|
254042
254300
|
try {
|
|
254043
254301
|
const now = new Date().toISOString();
|
|
254044
|
-
const schema10 = db2.getSchema(entityName);
|
|
254045
254302
|
const records = [];
|
|
254046
254303
|
for (const record2 of req.body) {
|
|
254047
|
-
|
|
254048
|
-
...record2,
|
|
254049
|
-
created_by: currentUser?.email,
|
|
254050
|
-
created_by_id: currentUser?.id
|
|
254051
|
-
}, currentUser)) {
|
|
254052
|
-
res.status(403).json({ error: "Permission denied" });
|
|
254053
|
-
return;
|
|
254054
|
-
}
|
|
254055
|
-
let filteredRecord = db2.prepareRecord(entityName, record2);
|
|
254056
|
-
if (schema10) {
|
|
254057
|
-
filteredRecord = applyFLS(filteredRecord, schema10, currentUser, "write");
|
|
254058
|
-
}
|
|
254304
|
+
const filteredRecord = db2.prepareRecord(entityName, record2);
|
|
254059
254305
|
db2.validate(entityName, filteredRecord);
|
|
254060
254306
|
records.push({
|
|
254061
254307
|
...filteredRecord,
|
|
254062
254308
|
id: nanoid3(),
|
|
254063
|
-
created_by: currentUser?.email,
|
|
254064
|
-
created_by_id: currentUser?.id,
|
|
254065
254309
|
created_date: now,
|
|
254066
254310
|
updated_date: now
|
|
254067
254311
|
});
|
|
@@ -254078,26 +254322,11 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
254078
254322
|
res.status(500).json({ error: "Internal server error" });
|
|
254079
254323
|
}
|
|
254080
254324
|
}));
|
|
254081
|
-
router.put("/:entityName/:id", parseBody, withCollection(async (req, res, collection
|
|
254325
|
+
router.put("/:entityName/:id", parseBody, withCollection(async (req, res, collection) => {
|
|
254082
254326
|
const { appId, entityName, id: id2 } = req.params;
|
|
254083
254327
|
const { id: _id, created_date: _created_date, ...body } = req.body;
|
|
254084
254328
|
try {
|
|
254085
|
-
const
|
|
254086
|
-
if (schema10?.rls?.update !== undefined) {
|
|
254087
|
-
const existing = await collection.findOneAsync({ id: id2 });
|
|
254088
|
-
if (!existing) {
|
|
254089
|
-
res.status(404).json({ error: `Record with id "${id2}" not found` });
|
|
254090
|
-
return;
|
|
254091
|
-
}
|
|
254092
|
-
if (!checkRLS(schema10.rls.update, existing, currentUser)) {
|
|
254093
|
-
res.status(403).json({ error: "Permission denied" });
|
|
254094
|
-
return;
|
|
254095
|
-
}
|
|
254096
|
-
}
|
|
254097
|
-
let filteredBody = db2.prepareRecord(entityName, body, true);
|
|
254098
|
-
if (schema10) {
|
|
254099
|
-
filteredBody = applyFLS(filteredBody, schema10, currentUser, "write");
|
|
254100
|
-
}
|
|
254329
|
+
const filteredBody = db2.prepareRecord(entityName, body, true);
|
|
254101
254330
|
db2.validate(entityName, filteredBody, true);
|
|
254102
254331
|
const updateData = {
|
|
254103
254332
|
...filteredBody,
|
|
@@ -254120,48 +254349,30 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
254120
254349
|
res.status(500).json({ error: "Internal server error" });
|
|
254121
254350
|
}
|
|
254122
254351
|
}));
|
|
254123
|
-
router.delete("/:entityName/:id", withCollection(async (req, res, collection
|
|
254352
|
+
router.delete("/:entityName/:id", withCollection(async (req, res, collection) => {
|
|
254124
254353
|
const { appId, entityName, id: id2 } = req.params;
|
|
254125
254354
|
try {
|
|
254126
254355
|
const doc2 = await collection.findOneAsync({ id: id2 });
|
|
254127
|
-
|
|
254356
|
+
const numRemoved = await collection.removeAsync({ id: id2 }, { multi: false });
|
|
254357
|
+
if (numRemoved === 0) {
|
|
254128
254358
|
res.status(404).json({ error: `Record with id "${id2}" not found` });
|
|
254129
254359
|
return;
|
|
254130
254360
|
}
|
|
254131
|
-
|
|
254132
|
-
|
|
254133
|
-
res.status(403).json({ error: "Permission denied" });
|
|
254134
|
-
return;
|
|
254361
|
+
if (doc2) {
|
|
254362
|
+
emit(appId, entityName, "delete", stripInternalFields(doc2));
|
|
254135
254363
|
}
|
|
254136
|
-
await collection.removeAsync({ id: id2 }, { multi: false });
|
|
254137
|
-
emit(appId, entityName, "delete", stripInternalFields(doc2));
|
|
254138
254364
|
res.json({ success: true });
|
|
254139
254365
|
} catch (error48) {
|
|
254140
254366
|
logger2.error(`Error in DELETE /${entityName}/${id2}:`, error48);
|
|
254141
254367
|
res.status(500).json({ error: "Internal server error" });
|
|
254142
254368
|
}
|
|
254143
254369
|
}));
|
|
254144
|
-
router.delete("/:entityName", parseBody, withCollection(async (req, res, collection
|
|
254370
|
+
router.delete("/:entityName", parseBody, withCollection(async (req, res, collection) => {
|
|
254145
254371
|
const { entityName } = req.params;
|
|
254146
254372
|
try {
|
|
254147
254373
|
const query = req.body || {};
|
|
254148
|
-
const
|
|
254149
|
-
|
|
254150
|
-
if (rlsDelete !== undefined && rlsDelete !== true) {
|
|
254151
|
-
if (rlsDelete === false) {
|
|
254152
|
-
res.status(403).json({ error: "Permission denied" });
|
|
254153
|
-
return;
|
|
254154
|
-
}
|
|
254155
|
-
const docs = await collection.findAsync(query);
|
|
254156
|
-
const allowedIds = docs.filter((doc2) => checkRLS(rlsDelete, doc2, currentUser)).map((doc2) => doc2.id);
|
|
254157
|
-
const numRemoved = await collection.removeAsync({ id: { $in: allowedIds } }, { multi: true });
|
|
254158
|
-
res.json({ success: true, deleted: numRemoved });
|
|
254159
|
-
} else {
|
|
254160
|
-
const numRemoved = await collection.removeAsync(query, {
|
|
254161
|
-
multi: true
|
|
254162
|
-
});
|
|
254163
|
-
res.json({ success: true, deleted: numRemoved });
|
|
254164
|
-
}
|
|
254374
|
+
const numRemoved = await collection.removeAsync(query, { multi: true });
|
|
254375
|
+
res.json({ success: true, deleted: numRemoved });
|
|
254165
254376
|
} catch (error48) {
|
|
254166
254377
|
logger2.error(`Error in DELETE /${entityName}:`, error48);
|
|
254167
254378
|
res.status(500).json({ error: "Internal server error" });
|
|
@@ -254171,7 +254382,7 @@ async function createEntityRoutes(db2, logger2, broadcast) {
|
|
|
254171
254382
|
}
|
|
254172
254383
|
|
|
254173
254384
|
// src/cli/dev/dev-server/routes/integrations.ts
|
|
254174
|
-
var
|
|
254385
|
+
var import_express4 = __toESM(require_express(), 1);
|
|
254175
254386
|
var import_multer = __toESM(require_multer(), 1);
|
|
254176
254387
|
import { createHash, randomUUID as randomUUID4 } from "node:crypto";
|
|
254177
254388
|
import fs28 from "node:fs";
|
|
@@ -254180,8 +254391,8 @@ function createFileToken(fileUri) {
|
|
|
254180
254391
|
return createHash("sha256").update(fileUri).digest("hex");
|
|
254181
254392
|
}
|
|
254182
254393
|
function createIntegrationRoutes(mediaFilesDir, baseUrl, remoteProxy, logger2) {
|
|
254183
|
-
const router =
|
|
254184
|
-
const parseBody =
|
|
254394
|
+
const router = import_express4.Router({ mergeParams: true });
|
|
254395
|
+
const parseBody = import_express4.json();
|
|
254185
254396
|
const privateFilesDir = path18.join(mediaFilesDir, "private");
|
|
254186
254397
|
fs28.mkdirSync(mediaFilesDir, { recursive: true });
|
|
254187
254398
|
fs28.mkdirSync(privateFilesDir, { recursive: true });
|
|
@@ -254251,7 +254462,7 @@ function createIntegrationRoutes(mediaFilesDir, baseUrl, remoteProxy, logger2) {
|
|
|
254251
254462
|
return router;
|
|
254252
254463
|
}
|
|
254253
254464
|
function createCustomIntegrationRoutes(remoteProxy, logger2) {
|
|
254254
|
-
const router =
|
|
254465
|
+
const router = import_express4.Router({ mergeParams: true });
|
|
254255
254466
|
router.post("/:slug/:operationId", (req, res, next) => {
|
|
254256
254467
|
logger2.warn(`"${req.originalUrl}" is not supported in local development, passing call to production`);
|
|
254257
254468
|
req.url = req.originalUrl;
|
|
@@ -254992,9 +255203,9 @@ class NodeFsHandler {
|
|
|
254992
255203
|
if (this.fsw.closed) {
|
|
254993
255204
|
return;
|
|
254994
255205
|
}
|
|
254995
|
-
const
|
|
255206
|
+
const dirname17 = sp2.dirname(file2);
|
|
254996
255207
|
const basename5 = sp2.basename(file2);
|
|
254997
|
-
const parent = this.fsw._getWatchedDir(
|
|
255208
|
+
const parent = this.fsw._getWatchedDir(dirname17);
|
|
254998
255209
|
let prevStats = stats;
|
|
254999
255210
|
if (parent.has(basename5))
|
|
255000
255211
|
return;
|
|
@@ -255021,7 +255232,7 @@ class NodeFsHandler {
|
|
|
255021
255232
|
prevStats = newStats2;
|
|
255022
255233
|
}
|
|
255023
255234
|
} catch (error48) {
|
|
255024
|
-
this.fsw._remove(
|
|
255235
|
+
this.fsw._remove(dirname17, basename5);
|
|
255025
255236
|
}
|
|
255026
255237
|
} else if (parent.has(basename5)) {
|
|
255027
255238
|
const at13 = newStats.atimeMs;
|
|
@@ -255110,7 +255321,7 @@ class NodeFsHandler {
|
|
|
255110
255321
|
this._addToNodeFs(path19, initialAdd, wh2, depth + 1);
|
|
255111
255322
|
}
|
|
255112
255323
|
}).on(EV.ERROR, this._boundHandleError);
|
|
255113
|
-
return new Promise((
|
|
255324
|
+
return new Promise((resolve9, reject) => {
|
|
255114
255325
|
if (!stream)
|
|
255115
255326
|
return reject();
|
|
255116
255327
|
stream.once(STR_END, () => {
|
|
@@ -255119,7 +255330,7 @@ class NodeFsHandler {
|
|
|
255119
255330
|
return;
|
|
255120
255331
|
}
|
|
255121
255332
|
const wasThrottled = throttler ? throttler.clear() : false;
|
|
255122
|
-
|
|
255333
|
+
resolve9(undefined);
|
|
255123
255334
|
previous.getChildren().filter((item) => {
|
|
255124
255335
|
return item !== directory && !current.has(item);
|
|
255125
255336
|
}).forEach((item) => {
|
|
@@ -255964,7 +256175,7 @@ async function createDevServer(options8) {
|
|
|
255964
256175
|
const port = userPort ?? await getPorts({ port: DEFAULT_PORT });
|
|
255965
256176
|
const baseUrl = `http://localhost:${port}`;
|
|
255966
256177
|
const { functions, entities, project: project2 } = await options8.loadResources();
|
|
255967
|
-
const app =
|
|
256178
|
+
const app = import_express5.default();
|
|
255968
256179
|
const remoteProxy = import_http_proxy_middleware2.createProxyMiddleware({
|
|
255969
256180
|
target: BASE44_APP_URL,
|
|
255970
256181
|
changeOrigin: true
|
|
@@ -255996,8 +256207,6 @@ async function createDevServer(options8) {
|
|
|
255996
256207
|
let emitEntityEvent = () => {};
|
|
255997
256208
|
const entityRoutes = await createEntityRoutes(db2, devLogger, (...args) => emitEntityEvent(...args));
|
|
255998
256209
|
app.use("/api/apps/:appId/entities", entityRoutes);
|
|
255999
|
-
const authRouter = createAuthRouter(db2, devLogger);
|
|
256000
|
-
app.use("/api/apps/:appId/auth", authRouter);
|
|
256001
256210
|
const { path: mediaFilesDir } = await $dir();
|
|
256002
256211
|
app.use("/media/private/:fileUri", (req, res, next) => {
|
|
256003
256212
|
const { fileUri } = req.params;
|
|
@@ -256017,18 +256226,16 @@ async function createDevServer(options8) {
|
|
|
256017
256226
|
}
|
|
256018
256227
|
next();
|
|
256019
256228
|
});
|
|
256020
|
-
app.use("/media",
|
|
256229
|
+
app.use("/media", import_express5.default.static(mediaFilesDir));
|
|
256021
256230
|
const integrationRoutes = createIntegrationRoutes(mediaFilesDir, baseUrl, remoteProxy, devLogger);
|
|
256022
256231
|
app.use("/api/apps/:appId/integration-endpoints", integrationRoutes);
|
|
256023
256232
|
const customIntegrationRoutes = createCustomIntegrationRoutes(remoteProxy, devLogger);
|
|
256024
256233
|
app.use("/api/apps/:appId/integrations/custom", customIntegrationRoutes);
|
|
256025
256234
|
app.use((req, res, next) => {
|
|
256026
|
-
|
|
256027
|
-
devLogger.warn(`"${req.originalUrl}" is not supported in local development, passing call to production`);
|
|
256028
|
-
}
|
|
256235
|
+
devLogger.warn(`"${req.originalUrl}" is not supported in local development, passing call to production`);
|
|
256029
256236
|
remoteProxy(req, res, next);
|
|
256030
256237
|
});
|
|
256031
|
-
const server = await new Promise((
|
|
256238
|
+
const server = await new Promise((resolve10, reject) => {
|
|
256032
256239
|
const s5 = app.listen(port, "127.0.0.1", (err) => {
|
|
256033
256240
|
if (err) {
|
|
256034
256241
|
if ("code" in err && err.code === "EADDRINUSE") {
|
|
@@ -256037,7 +256244,7 @@ async function createDevServer(options8) {
|
|
|
256037
256244
|
reject(err);
|
|
256038
256245
|
}
|
|
256039
256246
|
} else {
|
|
256040
|
-
|
|
256247
|
+
resolve10(s5);
|
|
256041
256248
|
}
|
|
256042
256249
|
});
|
|
256043
256250
|
});
|
|
@@ -256046,8 +256253,8 @@ async function createDevServer(options8) {
|
|
|
256046
256253
|
broadcastEntityEvent(io6, appId, entityName, event);
|
|
256047
256254
|
};
|
|
256048
256255
|
const base44ConfigWatcher = new WatchBase44({
|
|
256049
|
-
functions:
|
|
256050
|
-
entities:
|
|
256256
|
+
functions: join25(dirname18(project2.configPath), project2.functionsDir),
|
|
256257
|
+
entities: join25(dirname18(project2.configPath), project2.entitiesDir)
|
|
256051
256258
|
}, devLogger);
|
|
256052
256259
|
base44ConfigWatcher.on("change", async (name2) => {
|
|
256053
256260
|
try {
|
|
@@ -256096,7 +256303,6 @@ async function devAction({ log }, options8) {
|
|
|
256096
256303
|
const { port: resolvedPort } = await createDevServer({
|
|
256097
256304
|
log,
|
|
256098
256305
|
port,
|
|
256099
|
-
cwd: process21.cwd(),
|
|
256100
256306
|
denoWrapperPath: getDenoWrapperPath(),
|
|
256101
256307
|
loadResources: async () => {
|
|
256102
256308
|
const { functions, entities, project: project2 } = await readProjectConfig();
|
|
@@ -256153,14 +256359,14 @@ async function runScript(options8) {
|
|
|
256153
256359
|
}
|
|
256154
256360
|
}
|
|
256155
256361
|
// src/cli/commands/exec.ts
|
|
256156
|
-
function
|
|
256157
|
-
return new Promise((
|
|
256362
|
+
function readStdin2() {
|
|
256363
|
+
return new Promise((resolve10, reject) => {
|
|
256158
256364
|
let data = "";
|
|
256159
256365
|
process.stdin.setEncoding("utf-8");
|
|
256160
256366
|
process.stdin.on("data", (chunk) => {
|
|
256161
256367
|
data += chunk;
|
|
256162
256368
|
});
|
|
256163
|
-
process.stdin.on("end", () =>
|
|
256369
|
+
process.stdin.on("end", () => resolve10(data));
|
|
256164
256370
|
process.stdin.on("error", reject);
|
|
256165
256371
|
});
|
|
256166
256372
|
}
|
|
@@ -256176,7 +256382,7 @@ async function execAction(isNonInteractive) {
|
|
|
256176
256382
|
if (!isNonInteractive) {
|
|
256177
256383
|
throw noInputError;
|
|
256178
256384
|
}
|
|
256179
|
-
const code2 = await
|
|
256385
|
+
const code2 = await readStdin2();
|
|
256180
256386
|
if (!code2.trim()) {
|
|
256181
256387
|
throw noInputError;
|
|
256182
256388
|
}
|
|
@@ -256199,10 +256405,10 @@ Examples:
|
|
|
256199
256405
|
}
|
|
256200
256406
|
|
|
256201
256407
|
// src/cli/commands/project/eject.ts
|
|
256202
|
-
import { resolve as
|
|
256408
|
+
import { resolve as resolve10 } from "node:path";
|
|
256203
256409
|
var import_kebabCase2 = __toESM(require_kebabCase(), 1);
|
|
256204
256410
|
async function eject(ctx, options8) {
|
|
256205
|
-
const { log, runTask, isNonInteractive } = ctx;
|
|
256411
|
+
const { log, runTask: runTask2, isNonInteractive } = ctx;
|
|
256206
256412
|
if (isNonInteractive && !options8.projectId) {
|
|
256207
256413
|
throw new InvalidInputError("--project-id is required in non-interactive mode");
|
|
256208
256414
|
}
|
|
@@ -256255,8 +256461,8 @@ async function eject(ctx, options8) {
|
|
|
256255
256461
|
Ne("Operation cancelled.");
|
|
256256
256462
|
throw new CLIExitError(0);
|
|
256257
256463
|
}
|
|
256258
|
-
const resolvedPath =
|
|
256259
|
-
await
|
|
256464
|
+
const resolvedPath = resolve10(selectedPath);
|
|
256465
|
+
await runTask2("Downloading your project's code...", async (updateMessage) => {
|
|
256260
256466
|
await createProjectFilesForExistingProject({
|
|
256261
256467
|
projectId,
|
|
256262
256468
|
projectPath: resolvedPath
|
|
@@ -256280,7 +256486,7 @@ async function eject(ctx, options8) {
|
|
|
256280
256486
|
message: "Would you like to deploy your project now?"
|
|
256281
256487
|
});
|
|
256282
256488
|
if (!Ct(shouldDeploy) && shouldDeploy) {
|
|
256283
|
-
await
|
|
256489
|
+
await runTask2("Installing dependencies...", async (updateMessage) => {
|
|
256284
256490
|
await execa({ cwd: resolvedPath, shell: true })`${installCommand}`;
|
|
256285
256491
|
updateMessage("Building project...");
|
|
256286
256492
|
await execa({ cwd: resolvedPath, shell: true })`${buildCommand}`;
|
|
@@ -256336,7 +256542,7 @@ var import_detect_agent = __toESM(require_dist5(), 1);
|
|
|
256336
256542
|
import { release, type } from "node:os";
|
|
256337
256543
|
|
|
256338
256544
|
// ../../node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
256339
|
-
import { dirname as
|
|
256545
|
+
import { dirname as dirname19, posix, sep } from "path";
|
|
256340
256546
|
function createModulerModifier() {
|
|
256341
256547
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
256342
256548
|
return async (frames) => {
|
|
@@ -256345,7 +256551,7 @@ function createModulerModifier() {
|
|
|
256345
256551
|
return frames;
|
|
256346
256552
|
};
|
|
256347
256553
|
}
|
|
256348
|
-
function createGetModuleFromFilename(basePath = process.argv[1] ?
|
|
256554
|
+
function createGetModuleFromFilename(basePath = process.argv[1] ? dirname19(process.argv[1]) : process.cwd(), isWindows5 = sep === "\\") {
|
|
256349
256555
|
const normalizedBase = isWindows5 ? normalizeWindowsPath2(basePath) : basePath;
|
|
256350
256556
|
return (filename) => {
|
|
256351
256557
|
if (!filename)
|
|
@@ -258623,14 +258829,14 @@ async function addSourceContext(frames) {
|
|
|
258623
258829
|
return frames;
|
|
258624
258830
|
}
|
|
258625
258831
|
function getContextLinesFromFile(path19, ranges, output) {
|
|
258626
|
-
return new Promise((
|
|
258832
|
+
return new Promise((resolve11) => {
|
|
258627
258833
|
const stream = createReadStream2(path19);
|
|
258628
258834
|
const lineReaded = createInterface2({
|
|
258629
258835
|
input: stream
|
|
258630
258836
|
});
|
|
258631
258837
|
function destroyStreamAndResolve() {
|
|
258632
258838
|
stream.destroy();
|
|
258633
|
-
|
|
258839
|
+
resolve11();
|
|
258634
258840
|
}
|
|
258635
258841
|
let lineNumber = 0;
|
|
258636
258842
|
let currentRangeIndex = 0;
|
|
@@ -259742,15 +259948,15 @@ class PostHogBackendClient extends PostHogCoreStateless {
|
|
|
259742
259948
|
return true;
|
|
259743
259949
|
if (this.featureFlagsPoller === undefined)
|
|
259744
259950
|
return false;
|
|
259745
|
-
return new Promise((
|
|
259951
|
+
return new Promise((resolve11) => {
|
|
259746
259952
|
const timeout3 = setTimeout(() => {
|
|
259747
259953
|
cleanup();
|
|
259748
|
-
|
|
259954
|
+
resolve11(false);
|
|
259749
259955
|
}, timeoutMs);
|
|
259750
259956
|
const cleanup = this._events.on("localEvaluationFlagsLoaded", (count2) => {
|
|
259751
259957
|
clearTimeout(timeout3);
|
|
259752
259958
|
cleanup();
|
|
259753
|
-
|
|
259959
|
+
resolve11(count2 > 0);
|
|
259754
259960
|
});
|
|
259755
259961
|
});
|
|
259756
259962
|
}
|
|
@@ -260533,52 +260739,21 @@ function addCommandInfoToErrorReporter(program2, errorReporter) {
|
|
|
260533
260739
|
});
|
|
260534
260740
|
});
|
|
260535
260741
|
}
|
|
260536
|
-
// src/cli/utils/runTask.ts
|
|
260537
|
-
function createInteractiveRunTask() {
|
|
260538
|
-
return async (startMessage, operation, options8) => {
|
|
260539
|
-
const s5 = bt2();
|
|
260540
|
-
s5.start(startMessage);
|
|
260541
|
-
const updateMessage = (message) => s5.message(message);
|
|
260542
|
-
try {
|
|
260543
|
-
const result = await operation(updateMessage);
|
|
260544
|
-
s5.stop(options8?.successMessage || startMessage);
|
|
260545
|
-
return result;
|
|
260546
|
-
} catch (error48) {
|
|
260547
|
-
s5.error(options8?.errorMessage || "Failed");
|
|
260548
|
-
throw error48;
|
|
260549
|
-
}
|
|
260550
|
-
};
|
|
260551
|
-
}
|
|
260552
|
-
function createSimpleRunTask(log) {
|
|
260553
|
-
return async (startMessage, operation, options8) => {
|
|
260554
|
-
log.info(startMessage);
|
|
260555
|
-
const updateMessage = (message) => log.info(message);
|
|
260556
|
-
try {
|
|
260557
|
-
const result = await operation(updateMessage);
|
|
260558
|
-
log.success(options8?.successMessage || startMessage);
|
|
260559
|
-
return result;
|
|
260560
|
-
} catch (error48) {
|
|
260561
|
-
log.error(options8?.errorMessage || "Failed");
|
|
260562
|
-
throw error48;
|
|
260563
|
-
}
|
|
260564
|
-
};
|
|
260565
|
-
}
|
|
260566
|
-
|
|
260567
260742
|
// src/cli/index.ts
|
|
260568
|
-
var __dirname4 =
|
|
260743
|
+
var __dirname4 = dirname20(fileURLToPath6(import.meta.url));
|
|
260569
260744
|
async function runCLI(options8) {
|
|
260570
|
-
ensureNpmAssets(
|
|
260745
|
+
ensureNpmAssets(join26(__dirname4, "../assets"));
|
|
260571
260746
|
const errorReporter = new ErrorReporter;
|
|
260572
260747
|
errorReporter.registerProcessErrorHandlers();
|
|
260573
260748
|
const isNonInteractive = !process.stdin.isTTY || !process.stdout.isTTY;
|
|
260574
260749
|
const log = isNonInteractive ? new SimpleLogger : new ClackLogger;
|
|
260575
|
-
const
|
|
260750
|
+
const runTask2 = isNonInteractive ? createSimpleRunTask(log) : createInteractiveRunTask();
|
|
260576
260751
|
const context = {
|
|
260577
260752
|
errorReporter,
|
|
260578
260753
|
isNonInteractive,
|
|
260579
260754
|
distribution: options8?.distribution ?? "npm",
|
|
260580
260755
|
log,
|
|
260581
|
-
runTask
|
|
260756
|
+
runTask: runTask2
|
|
260582
260757
|
};
|
|
260583
260758
|
const program2 = createProgram(context);
|
|
260584
260759
|
try {
|
|
@@ -260604,4 +260779,4 @@ export {
|
|
|
260604
260779
|
CLIExitError
|
|
260605
260780
|
};
|
|
260606
260781
|
|
|
260607
|
-
//# debugId=
|
|
260782
|
+
//# debugId=0E9D3CB9AD716D0D64756E2164756E21
|